Name | Type | Description | Notes |
---|---|---|---|
CreatedAt | time.Time | Creation timestamp in UTC in RFC3339 format. | |
CreatedBy | string | Identifier of the user who created the resource. | |
ModifiedAt | time.Time | Last modification timestamp in UTC. | |
ModifiedBy | string | Identifier of the user who last modified the resource. |
func NewMetadataModel(createdAt time.Time, createdBy string, modifiedAt time.Time, modifiedBy string, ) *MetadataModel
NewMetadataModel instantiates a new MetadataModel 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 NewMetadataModelWithDefaults() *MetadataModel
NewMetadataModelWithDefaults instantiates a new MetadataModel 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 *MetadataModel) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *MetadataModel) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetadataModel) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *MetadataModel) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *MetadataModel) 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 *MetadataModel) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *MetadataModel) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.
func (o *MetadataModel) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetadataModel) SetModifiedAt(v time.Time)
SetModifiedAt sets ModifiedAt field to given value.
func (o *MetadataModel) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.
func (o *MetadataModel) GetModifiedByOk() (*string, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetadataModel) SetModifiedBy(v string)
SetModifiedBy sets ModifiedBy field to given value.