Skip to content

Latest commit

 

History

History
208 lines (111 loc) · 5.42 KB

File metadata and controls

208 lines (111 loc) · 5.42 KB

Client

Properties

Name Type Description Notes
Links map[string]Link The location and content type of related resources
Name string Client name
Description Pointer to string Client description [optional]
AccountId string The account ID the client is registered under
ClientId string The client's unique ID
ClientSecret Pointer to string The client secret. This will only be shown upon creation. [optional]
RedirectUri string The client's redirect URI
CreationDate int64

Methods

NewClient

func NewClient(links map[string]Link, name string, accountId string, clientId string, redirectUri string, creationDate int64, ) *Client

NewClient instantiates a new Client object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewClientWithDefaults

func NewClientWithDefaults() *Client

NewClientWithDefaults instantiates a new Client object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetLinks

func (o *Client) GetLinks() map[string]Link

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *Client) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLinks

func (o *Client) SetLinks(v map[string]Link)

SetLinks sets Links field to given value.

GetName

func (o *Client) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Client) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *Client) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *Client) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Client) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *Client) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Client) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetAccountId

func (o *Client) GetAccountId() string

GetAccountId returns the AccountId field if non-nil, zero value otherwise.

GetAccountIdOk

func (o *Client) GetAccountIdOk() (*string, bool)

GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccountId

func (o *Client) SetAccountId(v string)

SetAccountId sets AccountId field to given value.

GetClientId

func (o *Client) GetClientId() string

GetClientId returns the ClientId field if non-nil, zero value otherwise.

GetClientIdOk

func (o *Client) GetClientIdOk() (*string, bool)

GetClientIdOk returns a tuple with the ClientId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClientId

func (o *Client) SetClientId(v string)

SetClientId sets ClientId field to given value.

GetClientSecret

func (o *Client) GetClientSecret() string

GetClientSecret returns the ClientSecret field if non-nil, zero value otherwise.

GetClientSecretOk

func (o *Client) GetClientSecretOk() (*string, bool)

GetClientSecretOk returns a tuple with the ClientSecret field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClientSecret

func (o *Client) SetClientSecret(v string)

SetClientSecret sets ClientSecret field to given value.

HasClientSecret

func (o *Client) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

GetRedirectUri

func (o *Client) GetRedirectUri() string

GetRedirectUri returns the RedirectUri field if non-nil, zero value otherwise.

GetRedirectUriOk

func (o *Client) GetRedirectUriOk() (*string, bool)

GetRedirectUriOk returns a tuple with the RedirectUri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRedirectUri

func (o *Client) SetRedirectUri(v string)

SetRedirectUri sets RedirectUri field to given value.

GetCreationDate

func (o *Client) GetCreationDate() int64

GetCreationDate returns the CreationDate field if non-nil, zero value otherwise.

GetCreationDateOk

func (o *Client) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreationDate

func (o *Client) SetCreationDate(v int64)

SetCreationDate sets CreationDate field to given value.

[Back to Model list] [Back to API list] [Back to README]