Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.28 KB

File metadata and controls

82 lines (45 loc) · 2.28 KB

CreateLeaseRequest

Properties

Name Type Description Notes
Description Pointer to string [optional]
Ttl Pointer to int64 seconds lease will be valid [optional]

Methods

NewCreateLeaseRequest

func NewCreateLeaseRequest() *CreateLeaseRequest

NewCreateLeaseRequest instantiates a new CreateLeaseRequest 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

NewCreateLeaseRequestWithDefaults

func NewCreateLeaseRequestWithDefaults() *CreateLeaseRequest

NewCreateLeaseRequestWithDefaults instantiates a new CreateLeaseRequest 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

GetDescription

func (o *CreateLeaseRequest) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *CreateLeaseRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetTtl

func (o *CreateLeaseRequest) GetTtl() int64

GetTtl returns the Ttl field if non-nil, zero value otherwise.

GetTtlOk

func (o *CreateLeaseRequest) GetTtlOk() (*int64, bool)

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

SetTtl

func (o *CreateLeaseRequest) SetTtl(v int64)

SetTtl sets Ttl field to given value.

HasTtl

func (o *CreateLeaseRequest) HasTtl() bool

HasTtl returns a boolean if a field has been set.

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