Name | Type | Description | Notes |
---|---|---|---|
Id | string | クライアントUUID | |
Name | string | クライアント名 | |
Description | string | 説明 | |
DeveloperId | string | クライアント開発者UUID | |
Scopes | []OAuth2Scope | 要求スコープの配列 | |
Confidential | bool | confidential client なら true, public client なら false |
func NewOAuth2Client(id string, name string, description string, developerId string, scopes []OAuth2Scope, confidential bool, ) *OAuth2Client
NewOAuth2Client instantiates a new OAuth2Client 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
func NewOAuth2ClientWithDefaults() *OAuth2Client
NewOAuth2ClientWithDefaults instantiates a new OAuth2Client 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
func (o *OAuth2Client) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *OAuth2Client) 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.
func (o *OAuth2Client) SetId(v string)
SetId sets Id field to given value.
func (o *OAuth2Client) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *OAuth2Client) 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.
func (o *OAuth2Client) SetName(v string)
SetName sets Name field to given value.
func (o *OAuth2Client) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *OAuth2Client) 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.
func (o *OAuth2Client) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *OAuth2Client) GetDeveloperId() string
GetDeveloperId returns the DeveloperId field if non-nil, zero value otherwise.
func (o *OAuth2Client) GetDeveloperIdOk() (*string, bool)
GetDeveloperIdOk returns a tuple with the DeveloperId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuth2Client) SetDeveloperId(v string)
SetDeveloperId sets DeveloperId field to given value.
func (o *OAuth2Client) GetScopes() []OAuth2Scope
GetScopes returns the Scopes field if non-nil, zero value otherwise.
func (o *OAuth2Client) GetScopesOk() (*[]OAuth2Scope, bool)
GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuth2Client) SetScopes(v []OAuth2Scope)
SetScopes sets Scopes field to given value.
func (o *OAuth2Client) GetConfidential() bool
GetConfidential returns the Confidential field if non-nil, zero value otherwise.
func (o *OAuth2Client) GetConfidentialOk() (*bool, bool)
GetConfidentialOk returns a tuple with the Confidential field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuth2Client) SetConfidential(v bool)
SetConfidential sets Confidential field to given value.