SnapshotMetadata
Properties
Name | Type | Description | Notes |
---|---|---|---|
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. |
Methods
NewSnapshotMetadata
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
NewSnapshotMetadataWithDefaults
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
GetCreatedDate
func (o *SnapshotMetadata) GetCreatedDate() time.Time
GetCreatedDate returns the CreatedDate field if non-nil, zero value otherwise.
GetCreatedDateOk
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.
SetCreatedDate
func (o *SnapshotMetadata) SetCreatedDate(v time.Time)
SetCreatedDate sets CreatedDate field to given value.
HasCreatedDate
func (o *SnapshotMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
GetCreatedBy
func (o *SnapshotMetadata) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
GetCreatedByOk
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.
SetCreatedBy
func (o *SnapshotMetadata) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
HasCreatedBy
func (o *SnapshotMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
GetCreatedByUserId
func (o *SnapshotMetadata) GetCreatedByUserId() string
GetCreatedByUserId returns the CreatedByUserId field if non-nil, zero value otherwise.
GetCreatedByUserIdOk
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.
SetCreatedByUserId
func (o *SnapshotMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId sets CreatedByUserId field to given value.
HasCreatedByUserId
func (o *SnapshotMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
GetLastModifiedDate
func (o *SnapshotMetadata) GetLastModifiedDate() time.Time
GetLastModifiedDate returns the LastModifiedDate field if non-nil, zero value otherwise.
GetLastModifiedDateOk
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.
SetLastModifiedDate
func (o *SnapshotMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets LastModifiedDate field to given value.
HasLastModifiedDate
func (o *SnapshotMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
GetLastModifiedBy
func (o *SnapshotMetadata) GetLastModifiedBy() string
GetLastModifiedBy returns the LastModifiedBy field if non-nil, zero value otherwise.
GetLastModifiedByOk
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.
SetLastModifiedBy
func (o *SnapshotMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy sets LastModifiedBy field to given value.
HasLastModifiedBy
func (o *SnapshotMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
GetLastModifiedByUserId
func (o *SnapshotMetadata) GetLastModifiedByUserId() string
GetLastModifiedByUserId returns the LastModifiedByUserId field if non-nil, zero value otherwise.
GetLastModifiedByUserIdOk
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.
SetLastModifiedByUserId
func (o *SnapshotMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets LastModifiedByUserId field to given value.
HasLastModifiedByUserId
func (o *SnapshotMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
GetResourceURN
func (o *SnapshotMetadata) GetResourceURN() string
GetResourceURN returns the ResourceURN field if non-nil, zero value otherwise.
GetResourceURNOk
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.
SetResourceURN
func (o *SnapshotMetadata) SetResourceURN(v string)
SetResourceURN sets ResourceURN field to given value.
HasResourceURN
func (o *SnapshotMetadata) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
GetState
func (o *SnapshotMetadata) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
GetStateOk
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.
SetState
func (o *SnapshotMetadata) SetState(v string)
SetState sets State field to given value.
GetMessage
func (o *SnapshotMetadata) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
GetMessageOk
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.
SetMessage
func (o *SnapshotMetadata) SetMessage(v string)
SetMessage sets Message field to given value.
HasMessage
func (o *SnapshotMetadata) HasMessage() bool
HasMessage returns a boolean if a field has been set.
GetReplicasetId
func (o *SnapshotMetadata) GetReplicasetId() string
GetReplicasetId returns the ReplicasetId field if non-nil, zero value otherwise.
GetReplicasetIdOk
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.
SetReplicasetId
func (o *SnapshotMetadata) SetReplicasetId(v string)
SetReplicasetId sets ReplicasetId field to given value.
GetSnapshotTime
func (o *SnapshotMetadata) GetSnapshotTime() time.Time
GetSnapshotTime returns the SnapshotTime field if non-nil, zero value otherwise.
GetSnapshotTimeOk
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.
SetSnapshotTime
func (o *SnapshotMetadata) SetSnapshotTime(v time.Time)
SetSnapshotTime sets SnapshotTime field to given value.
HasSnapshotTime
func (o *SnapshotMetadata) HasSnapshotTime() bool
HasSnapshotTime returns a boolean if a field has been set.
GetDatacenterId
func (o *SnapshotMetadata) GetDatacenterId() string
GetDatacenterId returns the DatacenterId field if non-nil, zero value otherwise.
GetDatacenterIdOk
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.
SetDatacenterId
func (o *SnapshotMetadata) SetDatacenterId(v string)
SetDatacenterId sets DatacenterId field to given value.
Last updated