Skip to content

Latest commit

 

History

History
275 lines (148 loc) · 6.84 KB

ServiceAccount.md

File metadata and controls

275 lines (148 loc) · 6.84 KB

ServiceAccount

Properties

Name Type Description Notes
Id string server generated unique id of the service account
Kind string
Href string
Name Pointer to string [optional]
Description Pointer to string [optional]
ClientId Pointer to string [optional]
ClientSecret Pointer to string [optional]
Owner Pointer to string [optional]
CreatedBy Pointer to string [optional]
CreatedAt Pointer to time.Time [optional]

Methods

NewServiceAccount

func NewServiceAccount(id string, kind string, href string, ) *ServiceAccount

NewServiceAccount instantiates a new ServiceAccount 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

NewServiceAccountWithDefaults

func NewServiceAccountWithDefaults() *ServiceAccount

NewServiceAccountWithDefaults instantiates a new ServiceAccount 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 *ServiceAccount) GetId() string

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

GetIdOk

func (o *ServiceAccount) 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 *ServiceAccount) SetId(v string)

SetId sets Id field to given value.

GetKind

func (o *ServiceAccount) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *ServiceAccount) GetKindOk() (*string, bool)

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

SetKind

func (o *ServiceAccount) SetKind(v string)

SetKind sets Kind field to given value.

GetHref

func (o *ServiceAccount) GetHref() string

GetHref returns the Href field if non-nil, zero value otherwise.

GetHrefOk

func (o *ServiceAccount) GetHrefOk() (*string, bool)

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

SetHref

func (o *ServiceAccount) SetHref(v string)

SetHref sets Href field to given value.

GetName

func (o *ServiceAccount) GetName() string

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

GetNameOk

func (o *ServiceAccount) 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 *ServiceAccount) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *ServiceAccount) HasName() bool

HasName returns a boolean if a field has been set.

GetDescription

func (o *ServiceAccount) GetDescription() string

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

GetDescriptionOk

func (o *ServiceAccount) 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 *ServiceAccount) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ServiceAccount) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetClientId

func (o *ServiceAccount) GetClientId() string

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

GetClientIdOk

func (o *ServiceAccount) 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 *ServiceAccount) SetClientId(v string)

SetClientId sets ClientId field to given value.

HasClientId

func (o *ServiceAccount) HasClientId() bool

HasClientId returns a boolean if a field has been set.

GetClientSecret

func (o *ServiceAccount) GetClientSecret() string

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

GetClientSecretOk

func (o *ServiceAccount) 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 *ServiceAccount) SetClientSecret(v string)

SetClientSecret sets ClientSecret field to given value.

HasClientSecret

func (o *ServiceAccount) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

GetOwner

func (o *ServiceAccount) GetOwner() string

GetOwner returns the Owner field if non-nil, zero value otherwise.

GetOwnerOk

func (o *ServiceAccount) GetOwnerOk() (*string, bool)

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

SetOwner

func (o *ServiceAccount) SetOwner(v string)

SetOwner sets Owner field to given value.

HasOwner

func (o *ServiceAccount) HasOwner() bool

HasOwner returns a boolean if a field has been set.

GetCreatedBy

func (o *ServiceAccount) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *ServiceAccount) GetCreatedByOk() (*string, bool)

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

SetCreatedBy

func (o *ServiceAccount) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

HasCreatedBy

func (o *ServiceAccount) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

GetCreatedAt

func (o *ServiceAccount) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *ServiceAccount) GetCreatedAtOk() (*time.Time, bool)

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

SetCreatedAt

func (o *ServiceAccount) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *ServiceAccount) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

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