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] |
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
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
func (o *MoBaseMo) GetClassId() string
GetClassId returns the ClassId field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetClassId(v string)
SetClassId sets ClassId field to given value.
func (o *MoBaseMo) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
func (o *MoBaseMo) GetAccountMoid() string
GetAccountMoid returns the AccountMoid field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetAccountMoid(v string)
SetAccountMoid sets AccountMoid field to given value.
func (o *MoBaseMo) HasAccountMoid() bool
HasAccountMoid returns a boolean if a field has been set.
func (o *MoBaseMo) GetCreateTime() time.Time
GetCreateTime returns the CreateTime field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetCreateTime(v time.Time)
SetCreateTime sets CreateTime field to given value.
func (o *MoBaseMo) HasCreateTime() bool
HasCreateTime returns a boolean if a field has been set.
func (o *MoBaseMo) GetDomainGroupMoid() string
GetDomainGroupMoid returns the DomainGroupMoid field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetDomainGroupMoid(v string)
SetDomainGroupMoid sets DomainGroupMoid field to given value.
func (o *MoBaseMo) HasDomainGroupMoid() bool
HasDomainGroupMoid returns a boolean if a field has been set.
func (o *MoBaseMo) GetModTime() time.Time
GetModTime returns the ModTime field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetModTime(v time.Time)
SetModTime sets ModTime field to given value.
func (o *MoBaseMo) HasModTime() bool
HasModTime returns a boolean if a field has been set.
func (o *MoBaseMo) GetMoid() string
GetMoid returns the Moid field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetMoid(v string)
SetMoid sets Moid field to given value.
func (o *MoBaseMo) HasMoid() bool
HasMoid returns a boolean if a field has been set.
func (o *MoBaseMo) GetOwners() []string
GetOwners returns the Owners field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetOwners(v []string)
SetOwners sets Owners field to given value.
func (o *MoBaseMo) HasOwners() bool
HasOwners returns a boolean if a field has been set.
func (o *MoBaseMo) SetOwnersNil(b bool)
SetOwnersNil sets the value for Owners to be an explicit nil
func (o *MoBaseMo) UnsetOwners()
UnsetOwners ensures that no value is present for Owners, not even an explicit nil
func (o *MoBaseMo) GetSharedScope() string
GetSharedScope returns the SharedScope field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetSharedScope(v string)
SetSharedScope sets SharedScope field to given value.
func (o *MoBaseMo) HasSharedScope() bool
HasSharedScope returns a boolean if a field has been set.
func (o *MoBaseMo) GetTags() []MoTag
GetTags returns the Tags field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetTags(v []MoTag)
SetTags sets Tags field to given value.
func (o *MoBaseMo) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *MoBaseMo) SetTagsNil(b bool)
SetTagsNil sets the value for Tags to be an explicit nil
func (o *MoBaseMo) UnsetTags()
UnsetTags ensures that no value is present for Tags, not even an explicit nil
func (o *MoBaseMo) GetVersionContext() MoVersionContext
GetVersionContext returns the VersionContext field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetVersionContext(v MoVersionContext)
SetVersionContext sets VersionContext field to given value.
func (o *MoBaseMo) HasVersionContext() bool
HasVersionContext returns a boolean if a field has been set.
func (o *MoBaseMo) SetVersionContextNil(b bool)
SetVersionContextNil sets the value for VersionContext to be an explicit nil
func (o *MoBaseMo) UnsetVersionContext()
UnsetVersionContext ensures that no value is present for VersionContext, not even an explicit nil
func (o *MoBaseMo) GetAncestors() []MoBaseMoRelationship
GetAncestors returns the Ancestors field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetAncestors(v []MoBaseMoRelationship)
SetAncestors sets Ancestors field to given value.
func (o *MoBaseMo) HasAncestors() bool
HasAncestors returns a boolean if a field has been set.
func (o *MoBaseMo) SetAncestorsNil(b bool)
SetAncestorsNil sets the value for Ancestors to be an explicit nil
func (o *MoBaseMo) UnsetAncestors()
UnsetAncestors ensures that no value is present for Ancestors, not even an explicit nil
func (o *MoBaseMo) GetParent() MoBaseMoRelationship
GetParent returns the Parent field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetParent(v MoBaseMoRelationship)
SetParent sets Parent field to given value.
func (o *MoBaseMo) HasParent() bool
HasParent returns a boolean if a field has been set.
func (o *MoBaseMo) SetParentNil(b bool)
SetParentNil sets the value for Parent to be an explicit nil
func (o *MoBaseMo) UnsetParent()
UnsetParent ensures that no value is present for Parent, not even an explicit nil
func (o *MoBaseMo) GetPermissionResources() []MoBaseMoRelationship
GetPermissionResources returns the PermissionResources field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetPermissionResources(v []MoBaseMoRelationship)
SetPermissionResources sets PermissionResources field to given value.
func (o *MoBaseMo) HasPermissionResources() bool
HasPermissionResources returns a boolean if a field has been set.
func (o *MoBaseMo) SetPermissionResourcesNil(b bool)
SetPermissionResourcesNil sets the value for PermissionResources to be an explicit nil
func (o *MoBaseMo) UnsetPermissionResources()
UnsetPermissionResources ensures that no value is present for PermissionResources, not even an explicit nil
func (o *MoBaseMo) GetDisplayNames() map[string][]string
GetDisplayNames returns the DisplayNames field if non-nil, zero value otherwise.
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.
func (o *MoBaseMo) SetDisplayNames(v map[string][]string)
SetDisplayNames sets DisplayNames field to given value.
func (o *MoBaseMo) HasDisplayNames() bool
HasDisplayNames returns a boolean if a field has been set.
func (o *MoBaseMo) SetDisplayNamesNil(b bool)
SetDisplayNamesNil sets the value for DisplayNames to be an explicit nil
func (o *MoBaseMo) UnsetDisplayNames()
UnsetDisplayNames ensures that no value is present for DisplayNames, not even an explicit nil