Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 3.41 KB

CreateServiceTokenRequest.md

File metadata and controls

114 lines (61 loc) · 3.41 KB

CreateServiceTokenRequest

Properties

Name Type Description Notes
ServiceId int64
OrganizationId int64
ApiServerId int64
Description string

Methods

NewCreateServiceTokenRequest

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

NewCreateServiceTokenRequestWithDefaults

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

GetServiceId

func (o *CreateServiceTokenRequest) GetServiceId() int64

GetServiceId returns the ServiceId field if non-nil, zero value otherwise.

GetServiceIdOk

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.

SetServiceId

func (o *CreateServiceTokenRequest) SetServiceId(v int64)

SetServiceId sets ServiceId field to given value.

GetOrganizationId

func (o *CreateServiceTokenRequest) GetOrganizationId() int64

GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.

GetOrganizationIdOk

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.

SetOrganizationId

func (o *CreateServiceTokenRequest) SetOrganizationId(v int64)

SetOrganizationId sets OrganizationId field to given value.

GetApiServerId

func (o *CreateServiceTokenRequest) GetApiServerId() int64

GetApiServerId returns the ApiServerId field if non-nil, zero value otherwise.

GetApiServerIdOk

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.

SetApiServerId

func (o *CreateServiceTokenRequest) SetApiServerId(v int64)

SetApiServerId sets ApiServerId field to given value.

GetDescription

func (o *CreateServiceTokenRequest) GetDescription() string

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

GetDescriptionOk

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.

SetDescription

func (o *CreateServiceTokenRequest) SetDescription(v string)

SetDescription sets Description field to given value.

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