Skip to content

Latest commit

 

History

History
212 lines (115 loc) · 6.56 KB

PostClientRequest.md

File metadata and controls

212 lines (115 loc) · 6.56 KB

PostClientRequest

Properties

Name Type Description Notes
Id Pointer to string The OAuth Client ID. This is used to identify the client, and is a publicly known value (it is not a secret). [optional] [readonly]
Label string The name of this application. This will be presented to users when they are asked to grant it access to their Account.
Public Pointer to bool If this is a public or private OAuth Client. Public clients have a slightly different authentication workflow than private clients. See the OAuth spec for more details. [optional] [default to false]
RedirectUri string The location a successful log in from login.linode.com should be redirected to for this client. The receiver of this redirect should be ready to accept an OAuth exchange code and finish the OAuth exchange.
Secret Pointer to string The OAuth Client secret, used in the OAuth exchange. This is returned as `<REDACTED>` except when an OAuth Client is created or its secret is reset. This is a secret, and should not be shared or disclosed publicly. [optional] [readonly]
Status Pointer to string The status of this application. `active` by default. [optional] [readonly]
ThumbnailUrl Pointer to NullableString The URL where this client's thumbnail may be viewed, or `null` if this client does not have a thumbnail set. [optional] [readonly]

Methods

NewPostClientRequest

func NewPostClientRequest(label string, redirectUri string, ) *PostClientRequest

NewPostClientRequest instantiates a new PostClientRequest 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

NewPostClientRequestWithDefaults

func NewPostClientRequestWithDefaults() *PostClientRequest

NewPostClientRequestWithDefaults instantiates a new PostClientRequest 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

GetId

func (o *PostClientRequest) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *PostClientRequest) GetIdOk() (*string, bool)

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

SetId

func (o *PostClientRequest) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *PostClientRequest) HasId() bool

HasId returns a boolean if a field has been set.

GetLabel

func (o *PostClientRequest) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

func (o *PostClientRequest) GetLabelOk() (*string, bool)

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

SetLabel

func (o *PostClientRequest) SetLabel(v string)

SetLabel sets Label field to given value.

GetPublic

func (o *PostClientRequest) GetPublic() bool

GetPublic returns the Public field if non-nil, zero value otherwise.

GetPublicOk

func (o *PostClientRequest) GetPublicOk() (*bool, bool)

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

SetPublic

func (o *PostClientRequest) SetPublic(v bool)

SetPublic sets Public field to given value.

HasPublic

func (o *PostClientRequest) HasPublic() bool

HasPublic returns a boolean if a field has been set.

GetRedirectUri

func (o *PostClientRequest) GetRedirectUri() string

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

GetRedirectUriOk

func (o *PostClientRequest) 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 *PostClientRequest) SetRedirectUri(v string)

SetRedirectUri sets RedirectUri field to given value.

GetSecret

func (o *PostClientRequest) GetSecret() string

GetSecret returns the Secret field if non-nil, zero value otherwise.

GetSecretOk

func (o *PostClientRequest) GetSecretOk() (*string, bool)

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

SetSecret

func (o *PostClientRequest) SetSecret(v string)

SetSecret sets Secret field to given value.

HasSecret

func (o *PostClientRequest) HasSecret() bool

HasSecret returns a boolean if a field has been set.

GetStatus

func (o *PostClientRequest) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *PostClientRequest) GetStatusOk() (*string, bool)

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

SetStatus

func (o *PostClientRequest) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *PostClientRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetThumbnailUrl

func (o *PostClientRequest) GetThumbnailUrl() string

GetThumbnailUrl returns the ThumbnailUrl field if non-nil, zero value otherwise.

GetThumbnailUrlOk

func (o *PostClientRequest) GetThumbnailUrlOk() (*string, bool)

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

SetThumbnailUrl

func (o *PostClientRequest) SetThumbnailUrl(v string)

SetThumbnailUrl sets ThumbnailUrl field to given value.

HasThumbnailUrl

func (o *PostClientRequest) HasThumbnailUrl() bool

HasThumbnailUrl returns a boolean if a field has been set.

SetThumbnailUrlNil

func (o *PostClientRequest) SetThumbnailUrlNil(b bool)

SetThumbnailUrlNil sets the value for ThumbnailUrl to be an explicit nil

UnsetThumbnailUrl

func (o *PostClientRequest) UnsetThumbnailUrl()

UnsetThumbnailUrl ensures that no value is present for ThumbnailUrl, not even an explicit nil

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