Skip to content

Latest commit

 

History

History
133 lines (74 loc) · 4.02 KB

File metadata and controls

133 lines (74 loc) · 4.02 KB

CollectionMetadata

Properties

Name Type Description Notes
Ctime time.Time Creation Time: UTC date and time when the resource was created. If this is a system created resource, this will be a fixed time unaffected by user actions. [readonly]
Etime Pointer to NullableTime Expiry Time: UTC date and time when the resource will be removed automatically by the system and become unavailable. [optional] [readonly]
Mtime time.Time Last Modification Time: UTC date and time when the resource was last updated. For a resource that cannot be modified, this will be the same as `ctime`. [readonly]
Total int32 Collection metadata: Total number of items present in the collection. [readonly]

Methods

NewCollectionMetadata

func NewCollectionMetadata(ctime time.Time, mtime time.Time, total int32, ) *CollectionMetadata

NewCollectionMetadata instantiates a new CollectionMetadata 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

NewCollectionMetadataWithDefaults

func NewCollectionMetadataWithDefaults() *CollectionMetadata

NewCollectionMetadataWithDefaults instantiates a new CollectionMetadata 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

GetCtime

func (o *CollectionMetadata) GetCtime() time.Time

GetCtime returns the Ctime field if non-nil, zero value otherwise.

GetCtimeOk

func (o *CollectionMetadata) GetCtimeOk() (*time.Time, bool)

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

SetCtime

func (o *CollectionMetadata) SetCtime(v time.Time)

SetCtime sets Ctime field to given value.

GetEtime

func (o *CollectionMetadata) GetEtime() time.Time

GetEtime returns the Etime field if non-nil, zero value otherwise.

GetEtimeOk

func (o *CollectionMetadata) GetEtimeOk() (*time.Time, bool)

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

SetEtime

func (o *CollectionMetadata) SetEtime(v time.Time)

SetEtime sets Etime field to given value.

HasEtime

func (o *CollectionMetadata) HasEtime() bool

HasEtime returns a boolean if a field has been set.

SetEtimeNil

func (o *CollectionMetadata) SetEtimeNil(b bool)

SetEtimeNil sets the value for Etime to be an explicit nil

UnsetEtime

func (o *CollectionMetadata) UnsetEtime()

UnsetEtime ensures that no value is present for Etime, not even an explicit nil

GetMtime

func (o *CollectionMetadata) GetMtime() time.Time

GetMtime returns the Mtime field if non-nil, zero value otherwise.

GetMtimeOk

func (o *CollectionMetadata) GetMtimeOk() (*time.Time, bool)

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

SetMtime

func (o *CollectionMetadata) SetMtime(v time.Time)

SetMtime sets Mtime field to given value.

GetTotal

func (o *CollectionMetadata) GetTotal() int32

GetTotal returns the Total field if non-nil, zero value otherwise.

GetTotalOk

func (o *CollectionMetadata) GetTotalOk() (*int32, bool)

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

SetTotal

func (o *CollectionMetadata) SetTotal(v int32)

SetTotal sets Total field to given value.

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