RestoreMetadata

Properties

NameTypeDescriptionNotes

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]

RestoreTime

Pointer to time.Time

The time the snapshot was dumped from the replica set.

[optional]

RestoredSnapshotId

Pointer to string

The ID of the snapshot that was restored.

[optional]

Methods

NewRestoreMetadata

func NewRestoreMetadata(state string, ) *RestoreMetadata

NewRestoreMetadata instantiates a new RestoreMetadata 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

NewRestoreMetadataWithDefaults

func NewRestoreMetadataWithDefaults() *RestoreMetadata

NewRestoreMetadataWithDefaults instantiates a new RestoreMetadata 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 *RestoreMetadata) GetCreatedDate() time.Time

GetCreatedDate returns the CreatedDate field if non-nil, zero value otherwise.

GetCreatedDateOk

func (o *RestoreMetadata) 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 *RestoreMetadata) SetCreatedDate(v time.Time)

SetCreatedDate sets CreatedDate field to given value.

HasCreatedDate

func (o *RestoreMetadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

GetCreatedBy

func (o *RestoreMetadata) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *RestoreMetadata) 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 *RestoreMetadata) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

HasCreatedBy

func (o *RestoreMetadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

GetCreatedByUserId

func (o *RestoreMetadata) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field if non-nil, zero value otherwise.

GetCreatedByUserIdOk

func (o *RestoreMetadata) 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 *RestoreMetadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets CreatedByUserId field to given value.

HasCreatedByUserId

func (o *RestoreMetadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

GetLastModifiedDate

func (o *RestoreMetadata) GetLastModifiedDate() time.Time

GetLastModifiedDate returns the LastModifiedDate field if non-nil, zero value otherwise.

GetLastModifiedDateOk

func (o *RestoreMetadata) 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 *RestoreMetadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets LastModifiedDate field to given value.

HasLastModifiedDate

func (o *RestoreMetadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

GetLastModifiedBy

func (o *RestoreMetadata) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field if non-nil, zero value otherwise.

GetLastModifiedByOk

func (o *RestoreMetadata) 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 *RestoreMetadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets LastModifiedBy field to given value.

HasLastModifiedBy

func (o *RestoreMetadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

GetLastModifiedByUserId

func (o *RestoreMetadata) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field if non-nil, zero value otherwise.

GetLastModifiedByUserIdOk

func (o *RestoreMetadata) 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 *RestoreMetadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets LastModifiedByUserId field to given value.

HasLastModifiedByUserId

func (o *RestoreMetadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

GetResourceURN

func (o *RestoreMetadata) GetResourceURN() string

GetResourceURN returns the ResourceURN field if non-nil, zero value otherwise.

GetResourceURNOk

func (o *RestoreMetadata) 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 *RestoreMetadata) SetResourceURN(v string)

SetResourceURN sets ResourceURN field to given value.

HasResourceURN

func (o *RestoreMetadata) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

GetState

func (o *RestoreMetadata) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *RestoreMetadata) 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 *RestoreMetadata) SetState(v string)

SetState sets State field to given value.

GetMessage

func (o *RestoreMetadata) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

func (o *RestoreMetadata) 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 *RestoreMetadata) SetMessage(v string)

SetMessage sets Message field to given value.

HasMessage

func (o *RestoreMetadata) HasMessage() bool

HasMessage returns a boolean if a field has been set.

GetRestoreTime

func (o *RestoreMetadata) GetRestoreTime() time.Time

GetRestoreTime returns the RestoreTime field if non-nil, zero value otherwise.

GetRestoreTimeOk

func (o *RestoreMetadata) GetRestoreTimeOk() (*time.Time, bool)

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

SetRestoreTime

func (o *RestoreMetadata) SetRestoreTime(v time.Time)

SetRestoreTime sets RestoreTime field to given value.

HasRestoreTime

func (o *RestoreMetadata) HasRestoreTime() bool

HasRestoreTime returns a boolean if a field has been set.

GetRestoredSnapshotId

func (o *RestoreMetadata) GetRestoredSnapshotId() string

GetRestoredSnapshotId returns the RestoredSnapshotId field if non-nil, zero value otherwise.

GetRestoredSnapshotIdOk

func (o *RestoreMetadata) GetRestoredSnapshotIdOk() (*string, bool)

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

SetRestoredSnapshotId

func (o *RestoreMetadata) SetRestoredSnapshotId(v string)

SetRestoredSnapshotId sets RestoredSnapshotId field to given value.

HasRestoredSnapshotId

func (o *RestoreMetadata) HasRestoredSnapshotId() bool

HasRestoredSnapshotId returns a boolean if a field has been set.

Last updated