Skip to content

Latest commit

 

History

History
238 lines (129 loc) · 7.66 KB

MoVersionContext.md

File metadata and controls

238 lines (129 loc) · 7.66 KB

MoVersionContext

Properties

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"]

Methods

NewMoVersionContext

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

NewMoVersionContextWithDefaults

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

GetClassId

func (o *MoVersionContext) GetClassId() string

GetClassId returns the ClassId field if non-nil, zero value otherwise.

GetClassIdOk

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.

SetClassId

func (o *MoVersionContext) SetClassId(v string)

SetClassId sets ClassId field to given value.

GetObjectType

func (o *MoVersionContext) GetObjectType() string

GetObjectType returns the ObjectType field if non-nil, zero value otherwise.

GetObjectTypeOk

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.

SetObjectType

func (o *MoVersionContext) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetInterestedMos

func (o *MoVersionContext) GetInterestedMos() []MoMoRef

GetInterestedMos returns the InterestedMos field if non-nil, zero value otherwise.

GetInterestedMosOk

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.

SetInterestedMos

func (o *MoVersionContext) SetInterestedMos(v []MoMoRef)

SetInterestedMos sets InterestedMos field to given value.

HasInterestedMos

func (o *MoVersionContext) HasInterestedMos() bool

HasInterestedMos returns a boolean if a field has been set.

SetInterestedMosNil

func (o *MoVersionContext) SetInterestedMosNil(b bool)

SetInterestedMosNil sets the value for InterestedMos to be an explicit nil

UnsetInterestedMos

func (o *MoVersionContext) UnsetInterestedMos()

UnsetInterestedMos ensures that no value is present for InterestedMos, not even an explicit nil

GetMarkedForDeletion

func (o *MoVersionContext) GetMarkedForDeletion() bool

GetMarkedForDeletion returns the MarkedForDeletion field if non-nil, zero value otherwise.

GetMarkedForDeletionOk

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.

SetMarkedForDeletion

func (o *MoVersionContext) SetMarkedForDeletion(v bool)

SetMarkedForDeletion sets MarkedForDeletion field to given value.

HasMarkedForDeletion

func (o *MoVersionContext) HasMarkedForDeletion() bool

HasMarkedForDeletion returns a boolean if a field has been set.

GetRefMo

func (o *MoVersionContext) GetRefMo() MoMoRef

GetRefMo returns the RefMo field if non-nil, zero value otherwise.

GetRefMoOk

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.

SetRefMo

func (o *MoVersionContext) SetRefMo(v MoMoRef)

SetRefMo sets RefMo field to given value.

HasRefMo

func (o *MoVersionContext) HasRefMo() bool

HasRefMo returns a boolean if a field has been set.

GetTimestamp

func (o *MoVersionContext) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.

GetTimestampOk

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.

SetTimestamp

func (o *MoVersionContext) SetTimestamp(v time.Time)

SetTimestamp sets Timestamp field to given value.

HasTimestamp

func (o *MoVersionContext) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

GetVersion

func (o *MoVersionContext) GetVersion() string

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

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.

SetVersion

func (o *MoVersionContext) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *MoVersionContext) HasVersion() bool

HasVersion returns a boolean if a field has been set.

GetVersionType

func (o *MoVersionContext) GetVersionType() string

GetVersionType returns the VersionType field if non-nil, zero value otherwise.

GetVersionTypeOk

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.

SetVersionType

func (o *MoVersionContext) SetVersionType(v string)

SetVersionType sets VersionType field to given value.

HasVersionType

func (o *MoVersionContext) HasVersionType() bool

HasVersionType returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]