SnapshotMetadata
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewSnapshotMetadata(state string, replicasetId string, datacenterId string, ) *SnapshotMetadata
NewSnapshotMetadata instantiates a new SnapshotMetadata 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 NewSnapshotMetadataWithDefaults() *SnapshotMetadata
NewSnapshotMetadataWithDefaults instantiates a new SnapshotMetadata 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 *SnapshotMetadata) GetCreatedDate() time.Time
GetCreatedDate returns the CreatedDate field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetCreatedDate(v time.Time)
SetCreatedDate sets CreatedDate field to given value.
func (o *SnapshotMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (o *SnapshotMetadata) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *SnapshotMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (o *SnapshotMetadata) GetCreatedByUserId() string
GetCreatedByUserId returns the CreatedByUserId field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId sets CreatedByUserId field to given value.
func (o *SnapshotMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (o *SnapshotMetadata) GetLastModifiedDate() time.Time
GetLastModifiedDate returns the LastModifiedDate field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets LastModifiedDate field to given value.
func (o *SnapshotMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (o *SnapshotMetadata) GetLastModifiedBy() string
GetLastModifiedBy returns the LastModifiedBy field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy sets LastModifiedBy field to given value.
func (o *SnapshotMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (o *SnapshotMetadata) GetLastModifiedByUserId() string
GetLastModifiedByUserId returns the LastModifiedByUserId field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets LastModifiedByUserId field to given value.
func (o *SnapshotMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (o *SnapshotMetadata) GetResourceURN() string
GetResourceURN returns the ResourceURN field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetResourceURN(v string)
SetResourceURN sets ResourceURN field to given value.
func (o *SnapshotMetadata) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (o *SnapshotMetadata) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetState(v string)
SetState sets State field to given value.
func (o *SnapshotMetadata) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *SnapshotMetadata) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (o *SnapshotMetadata) GetReplicasetId() string
GetReplicasetId returns the ReplicasetId field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetReplicasetIdOk() (*string, bool)
GetReplicasetIdOk returns a tuple with the ReplicasetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetReplicasetId(v string)
SetReplicasetId sets ReplicasetId field to given value.
func (o *SnapshotMetadata) GetSnapshotTime() time.Time
GetSnapshotTime returns the SnapshotTime field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetSnapshotTimeOk() (*time.Time, bool)
GetSnapshotTimeOk returns a tuple with the SnapshotTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetSnapshotTime(v time.Time)
SetSnapshotTime sets SnapshotTime field to given value.
func (o *SnapshotMetadata) HasSnapshotTime() bool
HasSnapshotTime returns a boolean if a field has been set.
func (o *SnapshotMetadata) GetDatacenterId() string
GetDatacenterId returns the DatacenterId field if non-nil, zero value otherwise.
func (o *SnapshotMetadata) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotMetadata) SetDatacenterId(v string)
SetDatacenterId sets DatacenterId field to given value.
CreatedDate
Pointer to time.Time
The ISO 8601 creation timestamp.
[optional] [readonly]
CreatedBy
Pointer to string
Unique name of the identity that created the resource.
[optional] [readonly]
CreatedByUserId
Pointer to string
Unique id of the identity that created the resource.
[optional] [readonly]
LastModifiedDate
Pointer to time.Time
The ISO 8601 modified timestamp.
[optional] [readonly]
LastModifiedBy
Pointer to string
Unique name of the identity that last modified the resource.
[optional] [readonly]
LastModifiedByUserId
Pointer to string
Unique id of the identity that last modified the resource.
[optional] [readonly]
ResourceURN
Pointer to string
Unique name of the resource.
[optional] [readonly]
State
string
Message
Pointer to string
A human readable message describing the current state. In case of an error, the message will contain a detailed error message.
[optional]
ReplicasetId
string
The ID of the In-Memory DB replica set the snapshot is taken from.
SnapshotTime
Pointer to time.Time
The time the snapshot was dumped from the replica set.
[optional]
DatacenterId
string
The ID of the datacenter the snapshot was created in. Please mind, that the snapshot is not available in other datacenters.