78 lines
2.1 KiB
Markdown
78 lines
2.1 KiB
Markdown
# OneShotAccessBase
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**Uses** | Pointer to **int32** | | [optional] [default to 1]
|
|
**EndsAt** | **time.Time** | |
|
|
|
|
## Methods
|
|
|
|
### NewOneShotAccessBase
|
|
|
|
`func NewOneShotAccessBase(endsAt time.Time, ) *OneShotAccessBase`
|
|
|
|
NewOneShotAccessBase instantiates a new OneShotAccessBase 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
|
|
|
|
### NewOneShotAccessBaseWithDefaults
|
|
|
|
`func NewOneShotAccessBaseWithDefaults() *OneShotAccessBase`
|
|
|
|
NewOneShotAccessBaseWithDefaults instantiates a new OneShotAccessBase 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
|
|
|
|
### GetUses
|
|
|
|
`func (o *OneShotAccessBase) GetUses() int32`
|
|
|
|
GetUses returns the Uses field if non-nil, zero value otherwise.
|
|
|
|
### GetUsesOk
|
|
|
|
`func (o *OneShotAccessBase) GetUsesOk() (*int32, bool)`
|
|
|
|
GetUsesOk returns a tuple with the Uses field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetUses
|
|
|
|
`func (o *OneShotAccessBase) SetUses(v int32)`
|
|
|
|
SetUses sets Uses field to given value.
|
|
|
|
### HasUses
|
|
|
|
`func (o *OneShotAccessBase) HasUses() bool`
|
|
|
|
HasUses returns a boolean if a field has been set.
|
|
|
|
### GetEndsAt
|
|
|
|
`func (o *OneShotAccessBase) GetEndsAt() time.Time`
|
|
|
|
GetEndsAt returns the EndsAt field if non-nil, zero value otherwise.
|
|
|
|
### GetEndsAtOk
|
|
|
|
`func (o *OneShotAccessBase) GetEndsAtOk() (*time.Time, bool)`
|
|
|
|
GetEndsAtOk returns a tuple with the EndsAt field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetEndsAt
|
|
|
|
`func (o *OneShotAccessBase) SetEndsAt(v time.Time)`
|
|
|
|
SetEndsAt sets EndsAt field to given value.
|
|
|
|
|
|
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|