Name | Type | Description | Notes |
---|---|---|---|
ServiceId | int64 | ||
OrganizationId | int64 | ||
ApiServerId | int64 | ||
Description | string |
func NewCreateServiceTokenRequest(serviceId int64, organizationId int64, apiServerId int64, description string, ) *CreateServiceTokenRequest
NewCreateServiceTokenRequest instantiates a new CreateServiceTokenRequest 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 NewCreateServiceTokenRequestWithDefaults() *CreateServiceTokenRequest
NewCreateServiceTokenRequestWithDefaults instantiates a new CreateServiceTokenRequest 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 *CreateServiceTokenRequest) GetServiceId() int64
GetServiceId returns the ServiceId field if non-nil, zero value otherwise.
func (o *CreateServiceTokenRequest) GetServiceIdOk() (*int64, bool)
GetServiceIdOk returns a tuple with the ServiceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceTokenRequest) SetServiceId(v int64)
SetServiceId sets ServiceId field to given value.
func (o *CreateServiceTokenRequest) GetOrganizationId() int64
GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.
func (o *CreateServiceTokenRequest) GetOrganizationIdOk() (*int64, bool)
GetOrganizationIdOk returns a tuple with the OrganizationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceTokenRequest) SetOrganizationId(v int64)
SetOrganizationId sets OrganizationId field to given value.
func (o *CreateServiceTokenRequest) GetApiServerId() int64
GetApiServerId returns the ApiServerId field if non-nil, zero value otherwise.
func (o *CreateServiceTokenRequest) GetApiServerIdOk() (*int64, bool)
GetApiServerIdOk returns a tuple with the ApiServerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceTokenRequest) SetApiServerId(v int64)
SetApiServerId sets ApiServerId field to given value.
func (o *CreateServiceTokenRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateServiceTokenRequest) 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 *CreateServiceTokenRequest) SetDescription(v string)
SetDescription sets Description field to given value.