Name | Type | Description | Notes |
---|---|---|---|
Description | string | description of the service account. | |
Name | string | name of the service account. | |
Roles | []BuiltInRole | roles that are assigned to the service account. |
func NewCreateServiceAccountRequest(description string, name string, roles []BuiltInRole, ) *CreateServiceAccountRequest
NewCreateServiceAccountRequest instantiates a new CreateServiceAccountRequest 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 NewCreateServiceAccountRequestWithDefaults() *CreateServiceAccountRequest
NewCreateServiceAccountRequestWithDefaults instantiates a new CreateServiceAccountRequest 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 *CreateServiceAccountRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateServiceAccountRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateServiceAccountRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateServiceAccountRequest) SetName(v string)
SetName sets Name field to given value.
func (o *CreateServiceAccountRequest) GetRoles() []BuiltInRole
GetRoles returns the Roles field if non-nil, zero value otherwise.
func (o *CreateServiceAccountRequest) SetRoles(v []BuiltInRole)
SetRoles sets Roles field to given value.