Skip to content

Latest commit

 

History

History
611 lines (332 loc) · 21.4 KB

HypervisorGpuTypeResourceResponseModel.md

File metadata and controls

611 lines (332 loc) · 21.4 KB

HypervisorGpuTypeResourceResponseModel

Properties

Name Type Description Notes
Id Pointer to NullableString Id of the resource. [optional]
Name Pointer to NullableString Name of the resource. [optional]
XDPath Pointer to NullableString XenApp & XenDesktop path to the resource on the hypervisor. An example value is: `XDHyp:\Connections\{{hypervisor name}}\{{vm name}}.vm\{{snapshot name}}.snapshot` or `XDHyp:\HostingUnits\{{resource pool name}}\{{resource name}}.{{resource type}}` [optional]
RelativePath Pointer to NullableString Path to the object, relative to the resource pool from which it was queried. `{{vm name}}.vm/{{snapshot name}}.snapshot` [optional]
FullRelativePath Pointer to NullableString Full path to the resource, including the hypervisor, relative to the root of the API. Example: `Hypervisors/{{hypervisor id}}/ResourcePools/{{resource pool id}}/Resources/{{RelativePath}}` [optional]
ResourceType string Type of resource.
ObjectTypeName Pointer to NullableString The type name of the hypervisor resource object. [optional]
ResourceContainer Pointer to HypervisorResourceRefResponseModel [optional]
ResourcePoolXDPath Pointer to NullableString Citrix Apps and Desktops path to the resource on the ResourcePool. An example value is: `XDHyp:\HostingUnits\{{resource pool name}}\{{resource name}}.{{resource type}}` This value [optional]
FullName string Name of the resource, with the type concatenated. i.e. "name.type".
IsContainer bool Indicates whether the resource is a container.
Children Pointer to []HypervisorResourceResponseModel Child resources, when the resource is a container. [optional]
IsMachine bool Indicates whether the resource is a machine.
IsSnapshotable bool Indicates whether the resource can have a snapshot taken.
AllResourcesRelativePath string Path to the resource, relative to the special "AllResources" resource pool associated with the hypervisor.
ResourcePool HypervisorResourcePoolRefResponseModel
IsSymLink bool Indicates whether the object is a valid symbolic link.
AdditionalData Pointer to []NameValueStringPairModel Additional data about the object in the form of key-value pairs. [optional]
Enabled bool Indicates whether the GPU type is enabled on the hypervisor.
FrameBufferSizeMB int32 Frame Buffer Size in MB
HasDedicatedResource bool Indicates whether the GPU type has resources dedicated to it.

Methods

NewHypervisorGpuTypeResourceResponseModel

func NewHypervisorGpuTypeResourceResponseModel(resourceType string, fullName string, isContainer bool, isMachine bool, isSnapshotable bool, allResourcesRelativePath string, resourcePool HypervisorResourcePoolRefResponseModel, isSymLink bool, enabled bool, frameBufferSizeMB int32, hasDedicatedResource bool, ) *HypervisorGpuTypeResourceResponseModel

NewHypervisorGpuTypeResourceResponseModel instantiates a new HypervisorGpuTypeResourceResponseModel 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

NewHypervisorGpuTypeResourceResponseModelWithDefaults

func NewHypervisorGpuTypeResourceResponseModelWithDefaults() *HypervisorGpuTypeResourceResponseModel

NewHypervisorGpuTypeResourceResponseModelWithDefaults instantiates a new HypervisorGpuTypeResourceResponseModel 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

GetId

func (o *HypervisorGpuTypeResourceResponseModel) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *HypervisorGpuTypeResourceResponseModel) GetIdOk() (*string, bool)

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

SetId

func (o *HypervisorGpuTypeResourceResponseModel) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *HypervisorGpuTypeResourceResponseModel) HasId() bool

HasId returns a boolean if a field has been set.

SetIdNil

func (o *HypervisorGpuTypeResourceResponseModel) SetIdNil(b bool)

SetIdNil sets the value for Id to be an explicit nil

UnsetId

func (o *HypervisorGpuTypeResourceResponseModel) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

GetName

func (o *HypervisorGpuTypeResourceResponseModel) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *HypervisorGpuTypeResourceResponseModel) GetNameOk() (*string, bool)

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

SetName

func (o *HypervisorGpuTypeResourceResponseModel) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *HypervisorGpuTypeResourceResponseModel) HasName() bool

HasName returns a boolean if a field has been set.

SetNameNil

func (o *HypervisorGpuTypeResourceResponseModel) SetNameNil(b bool)

SetNameNil sets the value for Name to be an explicit nil

UnsetName

func (o *HypervisorGpuTypeResourceResponseModel) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

GetXDPath

func (o *HypervisorGpuTypeResourceResponseModel) GetXDPath() string

GetXDPath returns the XDPath field if non-nil, zero value otherwise.

GetXDPathOk

func (o *HypervisorGpuTypeResourceResponseModel) GetXDPathOk() (*string, bool)

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

SetXDPath

func (o *HypervisorGpuTypeResourceResponseModel) SetXDPath(v string)

SetXDPath sets XDPath field to given value.

HasXDPath

func (o *HypervisorGpuTypeResourceResponseModel) HasXDPath() bool

HasXDPath returns a boolean if a field has been set.

SetXDPathNil

func (o *HypervisorGpuTypeResourceResponseModel) SetXDPathNil(b bool)

SetXDPathNil sets the value for XDPath to be an explicit nil

UnsetXDPath

func (o *HypervisorGpuTypeResourceResponseModel) UnsetXDPath()

UnsetXDPath ensures that no value is present for XDPath, not even an explicit nil

GetRelativePath

func (o *HypervisorGpuTypeResourceResponseModel) GetRelativePath() string

GetRelativePath returns the RelativePath field if non-nil, zero value otherwise.

GetRelativePathOk

func (o *HypervisorGpuTypeResourceResponseModel) GetRelativePathOk() (*string, bool)

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

SetRelativePath

func (o *HypervisorGpuTypeResourceResponseModel) SetRelativePath(v string)

SetRelativePath sets RelativePath field to given value.

HasRelativePath

func (o *HypervisorGpuTypeResourceResponseModel) HasRelativePath() bool

HasRelativePath returns a boolean if a field has been set.

SetRelativePathNil

func (o *HypervisorGpuTypeResourceResponseModel) SetRelativePathNil(b bool)

SetRelativePathNil sets the value for RelativePath to be an explicit nil

UnsetRelativePath

func (o *HypervisorGpuTypeResourceResponseModel) UnsetRelativePath()

UnsetRelativePath ensures that no value is present for RelativePath, not even an explicit nil

GetFullRelativePath

func (o *HypervisorGpuTypeResourceResponseModel) GetFullRelativePath() string

GetFullRelativePath returns the FullRelativePath field if non-nil, zero value otherwise.

GetFullRelativePathOk

func (o *HypervisorGpuTypeResourceResponseModel) GetFullRelativePathOk() (*string, bool)

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

SetFullRelativePath

func (o *HypervisorGpuTypeResourceResponseModel) SetFullRelativePath(v string)

SetFullRelativePath sets FullRelativePath field to given value.

HasFullRelativePath

func (o *HypervisorGpuTypeResourceResponseModel) HasFullRelativePath() bool

HasFullRelativePath returns a boolean if a field has been set.

SetFullRelativePathNil

func (o *HypervisorGpuTypeResourceResponseModel) SetFullRelativePathNil(b bool)

SetFullRelativePathNil sets the value for FullRelativePath to be an explicit nil

UnsetFullRelativePath

func (o *HypervisorGpuTypeResourceResponseModel) UnsetFullRelativePath()

UnsetFullRelativePath ensures that no value is present for FullRelativePath, not even an explicit nil

GetResourceType

func (o *HypervisorGpuTypeResourceResponseModel) GetResourceType() string

GetResourceType returns the ResourceType field if non-nil, zero value otherwise.

GetResourceTypeOk

func (o *HypervisorGpuTypeResourceResponseModel) GetResourceTypeOk() (*string, bool)

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

SetResourceType

func (o *HypervisorGpuTypeResourceResponseModel) SetResourceType(v string)

SetResourceType sets ResourceType field to given value.

GetObjectTypeName

func (o *HypervisorGpuTypeResourceResponseModel) GetObjectTypeName() string

GetObjectTypeName returns the ObjectTypeName field if non-nil, zero value otherwise.

GetObjectTypeNameOk

func (o *HypervisorGpuTypeResourceResponseModel) GetObjectTypeNameOk() (*string, bool)

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

SetObjectTypeName

func (o *HypervisorGpuTypeResourceResponseModel) SetObjectTypeName(v string)

SetObjectTypeName sets ObjectTypeName field to given value.

HasObjectTypeName

func (o *HypervisorGpuTypeResourceResponseModel) HasObjectTypeName() bool

HasObjectTypeName returns a boolean if a field has been set.

SetObjectTypeNameNil

func (o *HypervisorGpuTypeResourceResponseModel) SetObjectTypeNameNil(b bool)

SetObjectTypeNameNil sets the value for ObjectTypeName to be an explicit nil

UnsetObjectTypeName

func (o *HypervisorGpuTypeResourceResponseModel) UnsetObjectTypeName()

UnsetObjectTypeName ensures that no value is present for ObjectTypeName, not even an explicit nil

GetResourceContainer

func (o *HypervisorGpuTypeResourceResponseModel) GetResourceContainer() HypervisorResourceRefResponseModel

GetResourceContainer returns the ResourceContainer field if non-nil, zero value otherwise.

GetResourceContainerOk

func (o *HypervisorGpuTypeResourceResponseModel) GetResourceContainerOk() (*HypervisorResourceRefResponseModel, bool)

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

SetResourceContainer

func (o *HypervisorGpuTypeResourceResponseModel) SetResourceContainer(v HypervisorResourceRefResponseModel)

SetResourceContainer sets ResourceContainer field to given value.

HasResourceContainer

func (o *HypervisorGpuTypeResourceResponseModel) HasResourceContainer() bool

HasResourceContainer returns a boolean if a field has been set.

GetResourcePoolXDPath

func (o *HypervisorGpuTypeResourceResponseModel) GetResourcePoolXDPath() string

GetResourcePoolXDPath returns the ResourcePoolXDPath field if non-nil, zero value otherwise.

GetResourcePoolXDPathOk

func (o *HypervisorGpuTypeResourceResponseModel) GetResourcePoolXDPathOk() (*string, bool)

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

SetResourcePoolXDPath

func (o *HypervisorGpuTypeResourceResponseModel) SetResourcePoolXDPath(v string)

SetResourcePoolXDPath sets ResourcePoolXDPath field to given value.

HasResourcePoolXDPath

func (o *HypervisorGpuTypeResourceResponseModel) HasResourcePoolXDPath() bool

HasResourcePoolXDPath returns a boolean if a field has been set.

SetResourcePoolXDPathNil

func (o *HypervisorGpuTypeResourceResponseModel) SetResourcePoolXDPathNil(b bool)

SetResourcePoolXDPathNil sets the value for ResourcePoolXDPath to be an explicit nil

UnsetResourcePoolXDPath

func (o *HypervisorGpuTypeResourceResponseModel) UnsetResourcePoolXDPath()

UnsetResourcePoolXDPath ensures that no value is present for ResourcePoolXDPath, not even an explicit nil

GetFullName

func (o *HypervisorGpuTypeResourceResponseModel) GetFullName() string

GetFullName returns the FullName field if non-nil, zero value otherwise.

GetFullNameOk

func (o *HypervisorGpuTypeResourceResponseModel) GetFullNameOk() (*string, bool)

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

SetFullName

func (o *HypervisorGpuTypeResourceResponseModel) SetFullName(v string)

SetFullName sets FullName field to given value.

GetIsContainer

func (o *HypervisorGpuTypeResourceResponseModel) GetIsContainer() bool

GetIsContainer returns the IsContainer field if non-nil, zero value otherwise.

GetIsContainerOk

func (o *HypervisorGpuTypeResourceResponseModel) GetIsContainerOk() (*bool, bool)

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

SetIsContainer

func (o *HypervisorGpuTypeResourceResponseModel) SetIsContainer(v bool)

SetIsContainer sets IsContainer field to given value.

GetChildren

func (o *HypervisorGpuTypeResourceResponseModel) GetChildren() []HypervisorResourceResponseModel

GetChildren returns the Children field if non-nil, zero value otherwise.

GetChildrenOk

func (o *HypervisorGpuTypeResourceResponseModel) GetChildrenOk() (*[]HypervisorResourceResponseModel, bool)

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

SetChildren

func (o *HypervisorGpuTypeResourceResponseModel) SetChildren(v []HypervisorResourceResponseModel)

SetChildren sets Children field to given value.

HasChildren

func (o *HypervisorGpuTypeResourceResponseModel) HasChildren() bool

HasChildren returns a boolean if a field has been set.

SetChildrenNil

func (o *HypervisorGpuTypeResourceResponseModel) SetChildrenNil(b bool)

SetChildrenNil sets the value for Children to be an explicit nil

UnsetChildren

func (o *HypervisorGpuTypeResourceResponseModel) UnsetChildren()

UnsetChildren ensures that no value is present for Children, not even an explicit nil

GetIsMachine

func (o *HypervisorGpuTypeResourceResponseModel) GetIsMachine() bool

GetIsMachine returns the IsMachine field if non-nil, zero value otherwise.

GetIsMachineOk

func (o *HypervisorGpuTypeResourceResponseModel) GetIsMachineOk() (*bool, bool)

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

SetIsMachine

func (o *HypervisorGpuTypeResourceResponseModel) SetIsMachine(v bool)

SetIsMachine sets IsMachine field to given value.

GetIsSnapshotable

func (o *HypervisorGpuTypeResourceResponseModel) GetIsSnapshotable() bool

GetIsSnapshotable returns the IsSnapshotable field if non-nil, zero value otherwise.

GetIsSnapshotableOk

func (o *HypervisorGpuTypeResourceResponseModel) GetIsSnapshotableOk() (*bool, bool)

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

SetIsSnapshotable

func (o *HypervisorGpuTypeResourceResponseModel) SetIsSnapshotable(v bool)

SetIsSnapshotable sets IsSnapshotable field to given value.

GetAllResourcesRelativePath

func (o *HypervisorGpuTypeResourceResponseModel) GetAllResourcesRelativePath() string

GetAllResourcesRelativePath returns the AllResourcesRelativePath field if non-nil, zero value otherwise.

GetAllResourcesRelativePathOk

func (o *HypervisorGpuTypeResourceResponseModel) GetAllResourcesRelativePathOk() (*string, bool)

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

SetAllResourcesRelativePath

func (o *HypervisorGpuTypeResourceResponseModel) SetAllResourcesRelativePath(v string)

SetAllResourcesRelativePath sets AllResourcesRelativePath field to given value.

GetResourcePool

func (o *HypervisorGpuTypeResourceResponseModel) GetResourcePool() HypervisorResourcePoolRefResponseModel

GetResourcePool returns the ResourcePool field if non-nil, zero value otherwise.

GetResourcePoolOk

func (o *HypervisorGpuTypeResourceResponseModel) GetResourcePoolOk() (*HypervisorResourcePoolRefResponseModel, bool)

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

SetResourcePool

func (o *HypervisorGpuTypeResourceResponseModel) SetResourcePool(v HypervisorResourcePoolRefResponseModel)

SetResourcePool sets ResourcePool field to given value.

GetIsSymLink

func (o *HypervisorGpuTypeResourceResponseModel) GetIsSymLink() bool

GetIsSymLink returns the IsSymLink field if non-nil, zero value otherwise.

GetIsSymLinkOk

func (o *HypervisorGpuTypeResourceResponseModel) GetIsSymLinkOk() (*bool, bool)

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

SetIsSymLink

func (o *HypervisorGpuTypeResourceResponseModel) SetIsSymLink(v bool)

SetIsSymLink sets IsSymLink field to given value.

GetAdditionalData

func (o *HypervisorGpuTypeResourceResponseModel) GetAdditionalData() []NameValueStringPairModel

GetAdditionalData returns the AdditionalData field if non-nil, zero value otherwise.

GetAdditionalDataOk

func (o *HypervisorGpuTypeResourceResponseModel) GetAdditionalDataOk() (*[]NameValueStringPairModel, bool)

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

SetAdditionalData

func (o *HypervisorGpuTypeResourceResponseModel) SetAdditionalData(v []NameValueStringPairModel)

SetAdditionalData sets AdditionalData field to given value.

HasAdditionalData

func (o *HypervisorGpuTypeResourceResponseModel) HasAdditionalData() bool

HasAdditionalData returns a boolean if a field has been set.

SetAdditionalDataNil

func (o *HypervisorGpuTypeResourceResponseModel) SetAdditionalDataNil(b bool)

SetAdditionalDataNil sets the value for AdditionalData to be an explicit nil

UnsetAdditionalData

func (o *HypervisorGpuTypeResourceResponseModel) UnsetAdditionalData()

UnsetAdditionalData ensures that no value is present for AdditionalData, not even an explicit nil

GetEnabled

func (o *HypervisorGpuTypeResourceResponseModel) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *HypervisorGpuTypeResourceResponseModel) GetEnabledOk() (*bool, bool)

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

SetEnabled

func (o *HypervisorGpuTypeResourceResponseModel) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

GetFrameBufferSizeMB

func (o *HypervisorGpuTypeResourceResponseModel) GetFrameBufferSizeMB() int32

GetFrameBufferSizeMB returns the FrameBufferSizeMB field if non-nil, zero value otherwise.

GetFrameBufferSizeMBOk

func (o *HypervisorGpuTypeResourceResponseModel) GetFrameBufferSizeMBOk() (*int32, bool)

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

SetFrameBufferSizeMB

func (o *HypervisorGpuTypeResourceResponseModel) SetFrameBufferSizeMB(v int32)

SetFrameBufferSizeMB sets FrameBufferSizeMB field to given value.

GetHasDedicatedResource

func (o *HypervisorGpuTypeResourceResponseModel) GetHasDedicatedResource() bool

GetHasDedicatedResource returns the HasDedicatedResource field if non-nil, zero value otherwise.

GetHasDedicatedResourceOk

func (o *HypervisorGpuTypeResourceResponseModel) GetHasDedicatedResourceOk() (*bool, bool)

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

SetHasDedicatedResource

func (o *HypervisorGpuTypeResourceResponseModel) SetHasDedicatedResource(v bool)

SetHasDedicatedResource sets HasDedicatedResource field to given value.

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