Name | Type | Description | Notes |
---|---|---|---|
ClassId | string | The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. | [default to "mo.VersionContext"] |
ObjectType | string | The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. | [default to "mo.VersionContext"] |
InterestedMos | Pointer to []MoMoRef | [optional] | |
MarkedForDeletion | Pointer to bool | The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy. | [optional] [readonly] [default to false] |
RefMo | Pointer to MoMoRef | [optional] | |
Timestamp | Pointer to time.Time | The time this versioned Managed Object was created. | [optional] [readonly] |
Version | Pointer to string | The version of the Managed Object, e.g. an incrementing number or a hash id. | [optional] [readonly] |
VersionType | Pointer to string | Specifies type of version. Currently the only supported value is "Configured" that is used to keep track of snapshots of policies and profiles that are intended to be configured to target endpoints. * `Modified` - Version created every time an object is modified. * `Configured` - Version created every time an object is configured to the service profile. * `Deployed` - Version created for objects related to a service profile when it is deployed. | [optional] [readonly] [default to "Modified"] |
func NewMoVersionContext(classId string, objectType string, ) *MoVersionContext
NewMoVersionContext instantiates a new MoVersionContext 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 NewMoVersionContextWithDefaults() *MoVersionContext
NewMoVersionContextWithDefaults instantiates a new MoVersionContext 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 *MoVersionContext) GetClassId() string
GetClassId returns the ClassId field if non-nil, zero value otherwise.
func (o *MoVersionContext) GetClassIdOk() (*string, bool)
GetClassIdOk returns a tuple with the ClassId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MoVersionContext) SetClassId(v string)
SetClassId sets ClassId field to given value.
func (o *MoVersionContext) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
func (o *MoVersionContext) GetObjectTypeOk() (*string, bool)
GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MoVersionContext) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
func (o *MoVersionContext) GetInterestedMos() []MoMoRef
GetInterestedMos returns the InterestedMos field if non-nil, zero value otherwise.
func (o *MoVersionContext) GetInterestedMosOk() (*[]MoMoRef, bool)
GetInterestedMosOk returns a tuple with the InterestedMos field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MoVersionContext) SetInterestedMos(v []MoMoRef)
SetInterestedMos sets InterestedMos field to given value.
func (o *MoVersionContext) HasInterestedMos() bool
HasInterestedMos returns a boolean if a field has been set.
func (o *MoVersionContext) SetInterestedMosNil(b bool)
SetInterestedMosNil sets the value for InterestedMos to be an explicit nil
func (o *MoVersionContext) UnsetInterestedMos()
UnsetInterestedMos ensures that no value is present for InterestedMos, not even an explicit nil
func (o *MoVersionContext) GetMarkedForDeletion() bool
GetMarkedForDeletion returns the MarkedForDeletion field if non-nil, zero value otherwise.
func (o *MoVersionContext) GetMarkedForDeletionOk() (*bool, bool)
GetMarkedForDeletionOk returns a tuple with the MarkedForDeletion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MoVersionContext) SetMarkedForDeletion(v bool)
SetMarkedForDeletion sets MarkedForDeletion field to given value.
func (o *MoVersionContext) HasMarkedForDeletion() bool
HasMarkedForDeletion returns a boolean if a field has been set.
func (o *MoVersionContext) GetRefMo() MoMoRef
GetRefMo returns the RefMo field if non-nil, zero value otherwise.
func (o *MoVersionContext) GetRefMoOk() (*MoMoRef, bool)
GetRefMoOk returns a tuple with the RefMo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MoVersionContext) SetRefMo(v MoMoRef)
SetRefMo sets RefMo field to given value.
func (o *MoVersionContext) HasRefMo() bool
HasRefMo returns a boolean if a field has been set.
func (o *MoVersionContext) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
func (o *MoVersionContext) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MoVersionContext) SetTimestamp(v time.Time)
SetTimestamp sets Timestamp field to given value.
func (o *MoVersionContext) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (o *MoVersionContext) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *MoVersionContext) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MoVersionContext) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *MoVersionContext) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *MoVersionContext) GetVersionType() string
GetVersionType returns the VersionType field if non-nil, zero value otherwise.
func (o *MoVersionContext) GetVersionTypeOk() (*string, bool)
GetVersionTypeOk returns a tuple with the VersionType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MoVersionContext) SetVersionType(v string)
SetVersionType sets VersionType field to given value.
func (o *MoVersionContext) HasVersionType() bool
HasVersionType returns a boolean if a field has been set.