Skip to content

Latest commit

 

History

History
480 lines (263 loc) · 14.5 KB

MoBaseMo.md

File metadata and controls

480 lines (263 loc) · 14.5 KB

MoBaseMo

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. The enum values provides the list of concrete types that can be instantiated from this abstract type.
ObjectType string The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
AccountMoid Pointer to string The Account ID for this managed object. [optional] [readonly]
CreateTime Pointer to time.Time The time when this managed object was created. [optional] [readonly]
DomainGroupMoid Pointer to string The DomainGroup ID for this managed object. [optional] [readonly]
ModTime Pointer to time.Time The time when this managed object was last modified. [optional] [readonly]
Moid Pointer to string The unique identifier of this Managed Object instance. [optional]
Owners Pointer to []string [optional]
SharedScope Pointer to string Intersight provides pre-built workflows, tasks and policies to end users through global catalogs. Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs. [optional] [readonly]
Tags Pointer to []MoTag [optional]
VersionContext Pointer to NullableMoVersionContext [optional]
Ancestors Pointer to []MoBaseMoRelationship An array of relationships to moBaseMo resources. [optional] [readonly]
Parent Pointer to NullableMoBaseMoRelationship [optional]
PermissionResources Pointer to []MoBaseMoRelationship An array of relationships to moBaseMo resources. [optional] [readonly]
DisplayNames Pointer to map[string][]string A set of display names for the MO resource. These names are calculated based on other properties of the MO and potentially properties of Ancestor MOs. Displaynames are intended as a way to provide a normalized user appropriate name for an MO, especially for MOs which do not have a 'Name' property, which is the case for much of the inventory discovered from managed targets. There are a limited number of keys, currently 'short' and 'hierarchical'. The value is an array and clients should use the first element of the array. [optional] [readonly]

Methods

NewMoBaseMo

func NewMoBaseMo(classId string, objectType string, ) *MoBaseMo

NewMoBaseMo instantiates a new MoBaseMo 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

NewMoBaseMoWithDefaults

func NewMoBaseMoWithDefaults() *MoBaseMo

NewMoBaseMoWithDefaults instantiates a new MoBaseMo 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 *MoBaseMo) GetClassId() string

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

GetClassIdOk

func (o *MoBaseMo) 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 *MoBaseMo) SetClassId(v string)

SetClassId sets ClassId field to given value.

GetObjectType

func (o *MoBaseMo) GetObjectType() string

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

GetObjectTypeOk

func (o *MoBaseMo) 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 *MoBaseMo) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetAccountMoid

func (o *MoBaseMo) GetAccountMoid() string

GetAccountMoid returns the AccountMoid field if non-nil, zero value otherwise.

GetAccountMoidOk

func (o *MoBaseMo) GetAccountMoidOk() (*string, bool)

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

SetAccountMoid

func (o *MoBaseMo) SetAccountMoid(v string)

SetAccountMoid sets AccountMoid field to given value.

HasAccountMoid

func (o *MoBaseMo) HasAccountMoid() bool

HasAccountMoid returns a boolean if a field has been set.

GetCreateTime

func (o *MoBaseMo) GetCreateTime() time.Time

GetCreateTime returns the CreateTime field if non-nil, zero value otherwise.

GetCreateTimeOk

func (o *MoBaseMo) GetCreateTimeOk() (*time.Time, bool)

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

SetCreateTime

func (o *MoBaseMo) SetCreateTime(v time.Time)

SetCreateTime sets CreateTime field to given value.

HasCreateTime

func (o *MoBaseMo) HasCreateTime() bool

HasCreateTime returns a boolean if a field has been set.

GetDomainGroupMoid

func (o *MoBaseMo) GetDomainGroupMoid() string

GetDomainGroupMoid returns the DomainGroupMoid field if non-nil, zero value otherwise.

GetDomainGroupMoidOk

func (o *MoBaseMo) GetDomainGroupMoidOk() (*string, bool)

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

SetDomainGroupMoid

func (o *MoBaseMo) SetDomainGroupMoid(v string)

SetDomainGroupMoid sets DomainGroupMoid field to given value.

HasDomainGroupMoid

func (o *MoBaseMo) HasDomainGroupMoid() bool

HasDomainGroupMoid returns a boolean if a field has been set.

GetModTime

func (o *MoBaseMo) GetModTime() time.Time

GetModTime returns the ModTime field if non-nil, zero value otherwise.

GetModTimeOk

func (o *MoBaseMo) GetModTimeOk() (*time.Time, bool)

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

SetModTime

func (o *MoBaseMo) SetModTime(v time.Time)

SetModTime sets ModTime field to given value.

HasModTime

func (o *MoBaseMo) HasModTime() bool

HasModTime returns a boolean if a field has been set.

GetMoid

func (o *MoBaseMo) GetMoid() string

GetMoid returns the Moid field if non-nil, zero value otherwise.

GetMoidOk

func (o *MoBaseMo) GetMoidOk() (*string, bool)

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

SetMoid

func (o *MoBaseMo) SetMoid(v string)

SetMoid sets Moid field to given value.

HasMoid

func (o *MoBaseMo) HasMoid() bool

HasMoid returns a boolean if a field has been set.

GetOwners

func (o *MoBaseMo) GetOwners() []string

GetOwners returns the Owners field if non-nil, zero value otherwise.

GetOwnersOk

func (o *MoBaseMo) GetOwnersOk() (*[]string, bool)

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

SetOwners

func (o *MoBaseMo) SetOwners(v []string)

SetOwners sets Owners field to given value.

HasOwners

func (o *MoBaseMo) HasOwners() bool

HasOwners returns a boolean if a field has been set.

SetOwnersNil

func (o *MoBaseMo) SetOwnersNil(b bool)

SetOwnersNil sets the value for Owners to be an explicit nil

UnsetOwners

func (o *MoBaseMo) UnsetOwners()

UnsetOwners ensures that no value is present for Owners, not even an explicit nil

GetSharedScope

func (o *MoBaseMo) GetSharedScope() string

GetSharedScope returns the SharedScope field if non-nil, zero value otherwise.

GetSharedScopeOk

func (o *MoBaseMo) GetSharedScopeOk() (*string, bool)

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

SetSharedScope

func (o *MoBaseMo) SetSharedScope(v string)

SetSharedScope sets SharedScope field to given value.

HasSharedScope

func (o *MoBaseMo) HasSharedScope() bool

HasSharedScope returns a boolean if a field has been set.

GetTags

func (o *MoBaseMo) GetTags() []MoTag

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *MoBaseMo) GetTagsOk() (*[]MoTag, bool)

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

SetTags

func (o *MoBaseMo) SetTags(v []MoTag)

SetTags sets Tags field to given value.

HasTags

func (o *MoBaseMo) HasTags() bool

HasTags returns a boolean if a field has been set.

SetTagsNil

func (o *MoBaseMo) SetTagsNil(b bool)

SetTagsNil sets the value for Tags to be an explicit nil

UnsetTags

func (o *MoBaseMo) UnsetTags()

UnsetTags ensures that no value is present for Tags, not even an explicit nil

GetVersionContext

func (o *MoBaseMo) GetVersionContext() MoVersionContext

GetVersionContext returns the VersionContext field if non-nil, zero value otherwise.

GetVersionContextOk

func (o *MoBaseMo) GetVersionContextOk() (*MoVersionContext, bool)

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

SetVersionContext

func (o *MoBaseMo) SetVersionContext(v MoVersionContext)

SetVersionContext sets VersionContext field to given value.

HasVersionContext

func (o *MoBaseMo) HasVersionContext() bool

HasVersionContext returns a boolean if a field has been set.

SetVersionContextNil

func (o *MoBaseMo) SetVersionContextNil(b bool)

SetVersionContextNil sets the value for VersionContext to be an explicit nil

UnsetVersionContext

func (o *MoBaseMo) UnsetVersionContext()

UnsetVersionContext ensures that no value is present for VersionContext, not even an explicit nil

GetAncestors

func (o *MoBaseMo) GetAncestors() []MoBaseMoRelationship

GetAncestors returns the Ancestors field if non-nil, zero value otherwise.

GetAncestorsOk

func (o *MoBaseMo) GetAncestorsOk() (*[]MoBaseMoRelationship, bool)

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

SetAncestors

func (o *MoBaseMo) SetAncestors(v []MoBaseMoRelationship)

SetAncestors sets Ancestors field to given value.

HasAncestors

func (o *MoBaseMo) HasAncestors() bool

HasAncestors returns a boolean if a field has been set.

SetAncestorsNil

func (o *MoBaseMo) SetAncestorsNil(b bool)

SetAncestorsNil sets the value for Ancestors to be an explicit nil

UnsetAncestors

func (o *MoBaseMo) UnsetAncestors()

UnsetAncestors ensures that no value is present for Ancestors, not even an explicit nil

GetParent

func (o *MoBaseMo) GetParent() MoBaseMoRelationship

GetParent returns the Parent field if non-nil, zero value otherwise.

GetParentOk

func (o *MoBaseMo) GetParentOk() (*MoBaseMoRelationship, bool)

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

SetParent

func (o *MoBaseMo) SetParent(v MoBaseMoRelationship)

SetParent sets Parent field to given value.

HasParent

func (o *MoBaseMo) HasParent() bool

HasParent returns a boolean if a field has been set.

SetParentNil

func (o *MoBaseMo) SetParentNil(b bool)

SetParentNil sets the value for Parent to be an explicit nil

UnsetParent

func (o *MoBaseMo) UnsetParent()

UnsetParent ensures that no value is present for Parent, not even an explicit nil

GetPermissionResources

func (o *MoBaseMo) GetPermissionResources() []MoBaseMoRelationship

GetPermissionResources returns the PermissionResources field if non-nil, zero value otherwise.

GetPermissionResourcesOk

func (o *MoBaseMo) GetPermissionResourcesOk() (*[]MoBaseMoRelationship, bool)

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

SetPermissionResources

func (o *MoBaseMo) SetPermissionResources(v []MoBaseMoRelationship)

SetPermissionResources sets PermissionResources field to given value.

HasPermissionResources

func (o *MoBaseMo) HasPermissionResources() bool

HasPermissionResources returns a boolean if a field has been set.

SetPermissionResourcesNil

func (o *MoBaseMo) SetPermissionResourcesNil(b bool)

SetPermissionResourcesNil sets the value for PermissionResources to be an explicit nil

UnsetPermissionResources

func (o *MoBaseMo) UnsetPermissionResources()

UnsetPermissionResources ensures that no value is present for PermissionResources, not even an explicit nil

GetDisplayNames

func (o *MoBaseMo) GetDisplayNames() map[string][]string

GetDisplayNames returns the DisplayNames field if non-nil, zero value otherwise.

GetDisplayNamesOk

func (o *MoBaseMo) GetDisplayNamesOk() (*map[string][]string, bool)

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

SetDisplayNames

func (o *MoBaseMo) SetDisplayNames(v map[string][]string)

SetDisplayNames sets DisplayNames field to given value.

HasDisplayNames

func (o *MoBaseMo) HasDisplayNames() bool

HasDisplayNames returns a boolean if a field has been set.

SetDisplayNamesNil

func (o *MoBaseMo) SetDisplayNamesNil(b bool)

SetDisplayNamesNil sets the value for DisplayNames to be an explicit nil

UnsetDisplayNames

func (o *MoBaseMo) UnsetDisplayNames()

UnsetDisplayNames ensures that no value is present for DisplayNames, not even an explicit nil

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