Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 3.08 KB

ServiceAccount.md

File metadata and controls

108 lines (59 loc) · 3.08 KB

ServiceAccount

Properties

Name Type Description Notes
OwnerId Pointer to string The owner of the service account. [optional]
Status Pointer to string The status of the service account. * ACTIVE: The service account credentials are working properly. * ERROR: The service account credentials are not working. * UNKNOWN: Status of the service account credentials is unknown. [optional]
Username Pointer to string The username of the service account. [optional]

Methods

NewServiceAccount

func NewServiceAccount() *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

GetOwnerId

func (o *ServiceAccount) GetOwnerId() string

GetOwnerId returns the OwnerId field if non-nil, zero value otherwise.

GetOwnerIdOk

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

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

SetOwnerId

func (o *ServiceAccount) SetOwnerId(v string)

SetOwnerId sets OwnerId field to given value.

HasOwnerId

func (o *ServiceAccount) HasOwnerId() bool

HasOwnerId returns a boolean if a field has been set.

GetStatus

func (o *ServiceAccount) GetStatus() string

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

GetStatusOk

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

SetStatus sets Status field to given value.

HasStatus

func (o *ServiceAccount) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetUsername

func (o *ServiceAccount) GetUsername() string

GetUsername returns the Username field if non-nil, zero value otherwise.

GetUsernameOk

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

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

SetUsername

func (o *ServiceAccount) SetUsername(v string)

SetUsername sets Username field to given value.

HasUsername

func (o *ServiceAccount) HasUsername() bool

HasUsername returns a boolean if a field has been set.

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