Skip to content

Latest commit

 

History

History
471 lines (256 loc) · 14.5 KB

HypervisorResponseModel.md

File metadata and controls

471 lines (256 loc) · 14.5 KB

HypervisorResponseModel

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]
ConnectionType HypervisorConnectionType
Addresses []string Addresses that can be used to contact the required hypervisor. All the addresses are considered equivalent, that is, all of the addresses provide access to the same virtual machines, snapshots, network, and storage.
InMaintenanceMode bool Indicates whether the hypervisor is in maintenance mode, which disables all communication between XenApp & XenDesktop and the Hypervisor.
Unentitled Pointer to bool Indicates whether is UnEntitled. [optional]
PluginId string The class name for the Citrix Managed Machine library that is used to access the hypervisor.
Scopes []ScopeResponseModel The list of administrative scopes that the connection is a part of. The scopes control which administrators are able to work with the connection.
Tenants Pointer to []RefResponseModel The tenant(s) that the hypervisor is assigned to. If `null`, the hypervisor is not assigned to tenants, and may be used by any tenant, including future added tenants. [optional]
UsesCloudInfrastructure bool Indicates whether the hypervisor uses cloud infrastructure.
Zone RefResponseModel
Fault Pointer to HypervisorFaultResponseModel [optional]
CustomProperties Pointer to NullableString CustomProperties of hypervisor connection [optional]
Uid Pointer to NullableInt32 The broker id. [optional]
IsVirtual Pointer to bool If this connection is virtual. [optional]

Methods

NewHypervisorResponseModel

func NewHypervisorResponseModel(connectionType HypervisorConnectionType, addresses []string, inMaintenanceMode bool, pluginId string, scopes []ScopeResponseModel, usesCloudInfrastructure bool, zone RefResponseModel, ) *HypervisorResponseModel

NewHypervisorResponseModel instantiates a new HypervisorResponseModel 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

NewHypervisorResponseModelWithDefaults

func NewHypervisorResponseModelWithDefaults() *HypervisorResponseModel

NewHypervisorResponseModelWithDefaults instantiates a new HypervisorResponseModel 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 *HypervisorResponseModel) GetId() string

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

GetIdOk

func (o *HypervisorResponseModel) 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 *HypervisorResponseModel) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *HypervisorResponseModel) HasId() bool

HasId returns a boolean if a field has been set.

SetIdNil

func (o *HypervisorResponseModel) SetIdNil(b bool)

SetIdNil sets the value for Id to be an explicit nil

UnsetId

func (o *HypervisorResponseModel) UnsetId()

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

GetName

func (o *HypervisorResponseModel) GetName() string

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

GetNameOk

func (o *HypervisorResponseModel) 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 *HypervisorResponseModel) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *HypervisorResponseModel) HasName() bool

HasName returns a boolean if a field has been set.

SetNameNil

func (o *HypervisorResponseModel) SetNameNil(b bool)

SetNameNil sets the value for Name to be an explicit nil

UnsetName

func (o *HypervisorResponseModel) UnsetName()

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

GetXDPath

func (o *HypervisorResponseModel) GetXDPath() string

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

GetXDPathOk

func (o *HypervisorResponseModel) 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 *HypervisorResponseModel) SetXDPath(v string)

SetXDPath sets XDPath field to given value.

HasXDPath

func (o *HypervisorResponseModel) HasXDPath() bool

HasXDPath returns a boolean if a field has been set.

SetXDPathNil

func (o *HypervisorResponseModel) SetXDPathNil(b bool)

SetXDPathNil sets the value for XDPath to be an explicit nil

UnsetXDPath

func (o *HypervisorResponseModel) UnsetXDPath()

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

GetConnectionType

func (o *HypervisorResponseModel) GetConnectionType() HypervisorConnectionType

GetConnectionType returns the ConnectionType field if non-nil, zero value otherwise.

GetConnectionTypeOk

func (o *HypervisorResponseModel) GetConnectionTypeOk() (*HypervisorConnectionType, bool)

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

SetConnectionType

func (o *HypervisorResponseModel) SetConnectionType(v HypervisorConnectionType)

SetConnectionType sets ConnectionType field to given value.

GetAddresses

func (o *HypervisorResponseModel) GetAddresses() []string

GetAddresses returns the Addresses field if non-nil, zero value otherwise.

GetAddressesOk

func (o *HypervisorResponseModel) GetAddressesOk() (*[]string, bool)

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

SetAddresses

func (o *HypervisorResponseModel) SetAddresses(v []string)

SetAddresses sets Addresses field to given value.

GetInMaintenanceMode

func (o *HypervisorResponseModel) GetInMaintenanceMode() bool

GetInMaintenanceMode returns the InMaintenanceMode field if non-nil, zero value otherwise.

GetInMaintenanceModeOk

func (o *HypervisorResponseModel) GetInMaintenanceModeOk() (*bool, bool)

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

SetInMaintenanceMode

func (o *HypervisorResponseModel) SetInMaintenanceMode(v bool)

SetInMaintenanceMode sets InMaintenanceMode field to given value.

GetUnentitled

func (o *HypervisorResponseModel) GetUnentitled() bool

GetUnentitled returns the Unentitled field if non-nil, zero value otherwise.

GetUnentitledOk

func (o *HypervisorResponseModel) GetUnentitledOk() (*bool, bool)

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

SetUnentitled

func (o *HypervisorResponseModel) SetUnentitled(v bool)

SetUnentitled sets Unentitled field to given value.

HasUnentitled

func (o *HypervisorResponseModel) HasUnentitled() bool

HasUnentitled returns a boolean if a field has been set.

GetPluginId

func (o *HypervisorResponseModel) GetPluginId() string

GetPluginId returns the PluginId field if non-nil, zero value otherwise.

GetPluginIdOk

func (o *HypervisorResponseModel) GetPluginIdOk() (*string, bool)

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

SetPluginId

func (o *HypervisorResponseModel) SetPluginId(v string)

SetPluginId sets PluginId field to given value.

GetScopes

func (o *HypervisorResponseModel) GetScopes() []ScopeResponseModel

GetScopes returns the Scopes field if non-nil, zero value otherwise.

GetScopesOk

func (o *HypervisorResponseModel) GetScopesOk() (*[]ScopeResponseModel, bool)

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

SetScopes

func (o *HypervisorResponseModel) SetScopes(v []ScopeResponseModel)

SetScopes sets Scopes field to given value.

GetTenants

func (o *HypervisorResponseModel) GetTenants() []RefResponseModel

GetTenants returns the Tenants field if non-nil, zero value otherwise.

GetTenantsOk

func (o *HypervisorResponseModel) GetTenantsOk() (*[]RefResponseModel, bool)

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

SetTenants

func (o *HypervisorResponseModel) SetTenants(v []RefResponseModel)

SetTenants sets Tenants field to given value.

HasTenants

func (o *HypervisorResponseModel) HasTenants() bool

HasTenants returns a boolean if a field has been set.

SetTenantsNil

func (o *HypervisorResponseModel) SetTenantsNil(b bool)

SetTenantsNil sets the value for Tenants to be an explicit nil

UnsetTenants

func (o *HypervisorResponseModel) UnsetTenants()

UnsetTenants ensures that no value is present for Tenants, not even an explicit nil

GetUsesCloudInfrastructure

func (o *HypervisorResponseModel) GetUsesCloudInfrastructure() bool

GetUsesCloudInfrastructure returns the UsesCloudInfrastructure field if non-nil, zero value otherwise.

GetUsesCloudInfrastructureOk

func (o *HypervisorResponseModel) GetUsesCloudInfrastructureOk() (*bool, bool)

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

SetUsesCloudInfrastructure

func (o *HypervisorResponseModel) SetUsesCloudInfrastructure(v bool)

SetUsesCloudInfrastructure sets UsesCloudInfrastructure field to given value.

GetZone

func (o *HypervisorResponseModel) GetZone() RefResponseModel

GetZone returns the Zone field if non-nil, zero value otherwise.

GetZoneOk

func (o *HypervisorResponseModel) GetZoneOk() (*RefResponseModel, bool)

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

SetZone

func (o *HypervisorResponseModel) SetZone(v RefResponseModel)

SetZone sets Zone field to given value.

GetFault

func (o *HypervisorResponseModel) GetFault() HypervisorFaultResponseModel

GetFault returns the Fault field if non-nil, zero value otherwise.

GetFaultOk

func (o *HypervisorResponseModel) GetFaultOk() (*HypervisorFaultResponseModel, bool)

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

SetFault

func (o *HypervisorResponseModel) SetFault(v HypervisorFaultResponseModel)

SetFault sets Fault field to given value.

HasFault

func (o *HypervisorResponseModel) HasFault() bool

HasFault returns a boolean if a field has been set.

GetCustomProperties

func (o *HypervisorResponseModel) GetCustomProperties() string

GetCustomProperties returns the CustomProperties field if non-nil, zero value otherwise.

GetCustomPropertiesOk

func (o *HypervisorResponseModel) GetCustomPropertiesOk() (*string, bool)

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

SetCustomProperties

func (o *HypervisorResponseModel) SetCustomProperties(v string)

SetCustomProperties sets CustomProperties field to given value.

HasCustomProperties

func (o *HypervisorResponseModel) HasCustomProperties() bool

HasCustomProperties returns a boolean if a field has been set.

SetCustomPropertiesNil

func (o *HypervisorResponseModel) SetCustomPropertiesNil(b bool)

SetCustomPropertiesNil sets the value for CustomProperties to be an explicit nil

UnsetCustomProperties

func (o *HypervisorResponseModel) UnsetCustomProperties()

UnsetCustomProperties ensures that no value is present for CustomProperties, not even an explicit nil

GetUid

func (o *HypervisorResponseModel) GetUid() int32

GetUid returns the Uid field if non-nil, zero value otherwise.

GetUidOk

func (o *HypervisorResponseModel) GetUidOk() (*int32, bool)

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

SetUid

func (o *HypervisorResponseModel) SetUid(v int32)

SetUid sets Uid field to given value.

HasUid

func (o *HypervisorResponseModel) HasUid() bool

HasUid returns a boolean if a field has been set.

SetUidNil

func (o *HypervisorResponseModel) SetUidNil(b bool)

SetUidNil sets the value for Uid to be an explicit nil

UnsetUid

func (o *HypervisorResponseModel) UnsetUid()

UnsetUid ensures that no value is present for Uid, not even an explicit nil

GetIsVirtual

func (o *HypervisorResponseModel) GetIsVirtual() bool

GetIsVirtual returns the IsVirtual field if non-nil, zero value otherwise.

GetIsVirtualOk

func (o *HypervisorResponseModel) GetIsVirtualOk() (*bool, bool)

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

SetIsVirtual

func (o *HypervisorResponseModel) SetIsVirtual(v bool)

SetIsVirtual sets IsVirtual field to given value.

HasIsVirtual

func (o *HypervisorResponseModel) HasIsVirtual() bool

HasIsVirtual returns a boolean if a field has been set.

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