Name | Type | Description | Notes |
---|---|---|---|
CapacityMb | Pointer to int64 | Maximum capacity of this datastore, in MB. | [optional] |
DatacenterId | Pointer to string | Datacenter id for this datastore. | [optional] |
DiskType | Pointer to string | Disk type of the datastore. * SSD: Solid State Drive disk type. * NON_SSD: NON-Solid State Drive disk type. * UNKNOWN: Unknown disk type. * NON_VMFS: NON-VMFS disk type. | [optional] |
FileSystemType | Pointer to string | File system type of the datastore. * VMFS: Virtual Machine File System. * NFS: Network File System. * VSAN: vSAN File System. * VVOL: Virtual Volumes. * UNKNOWN: Unknown File System type. | [optional] |
FreeSpaceMb | Pointer to int64 | Available capacity of this datastore, in MB. | [optional] |
HostOrClusterId | Pointer to string | Host or Cluster id for this datastore. | [optional] |
Id | Pointer to string | Unique ID representing the datastore. | [optional] |
IncompatibleReasons | Pointer to []string | Reasons that may preclude this Datastore from being used in desktop pool/farm. | [optional] |
LocalDatastore | Pointer to bool | Indicates if this datastore is local to a single host. | [optional] |
Name | Pointer to string | Datastore name. | [optional] |
NumberOfVms | Pointer to int32 | Indicates the number of virtual machines the datastore has for desktop pool/farm when applicable | [optional] |
Path | Pointer to string | Datastore path. | [optional] |
VcenterId | Pointer to string | Virtual Center id for this datastore. | [optional] |
VmfsMajorVersion | Pointer to string | The VMFS major version number. | [optional] |
func NewDatastoreInfo() *DatastoreInfo
NewDatastoreInfo instantiates a new DatastoreInfo 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 NewDatastoreInfoWithDefaults() *DatastoreInfo
NewDatastoreInfoWithDefaults instantiates a new DatastoreInfo 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 *DatastoreInfo) GetCapacityMb() int64
GetCapacityMb returns the CapacityMb field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetCapacityMbOk() (*int64, bool)
GetCapacityMbOk returns a tuple with the CapacityMb field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetCapacityMb(v int64)
SetCapacityMb sets CapacityMb field to given value.
func (o *DatastoreInfo) HasCapacityMb() bool
HasCapacityMb returns a boolean if a field has been set.
func (o *DatastoreInfo) GetDatacenterId() string
GetDatacenterId returns the DatacenterId field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetDatacenterId(v string)
SetDatacenterId sets DatacenterId field to given value.
func (o *DatastoreInfo) HasDatacenterId() bool
HasDatacenterId returns a boolean if a field has been set.
func (o *DatastoreInfo) GetDiskType() string
GetDiskType returns the DiskType field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetDiskTypeOk() (*string, bool)
GetDiskTypeOk returns a tuple with the DiskType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetDiskType(v string)
SetDiskType sets DiskType field to given value.
func (o *DatastoreInfo) HasDiskType() bool
HasDiskType returns a boolean if a field has been set.
func (o *DatastoreInfo) GetFileSystemType() string
GetFileSystemType returns the FileSystemType field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetFileSystemTypeOk() (*string, bool)
GetFileSystemTypeOk returns a tuple with the FileSystemType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetFileSystemType(v string)
SetFileSystemType sets FileSystemType field to given value.
func (o *DatastoreInfo) HasFileSystemType() bool
HasFileSystemType returns a boolean if a field has been set.
func (o *DatastoreInfo) GetFreeSpaceMb() int64
GetFreeSpaceMb returns the FreeSpaceMb field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetFreeSpaceMbOk() (*int64, bool)
GetFreeSpaceMbOk returns a tuple with the FreeSpaceMb field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetFreeSpaceMb(v int64)
SetFreeSpaceMb sets FreeSpaceMb field to given value.
func (o *DatastoreInfo) HasFreeSpaceMb() bool
HasFreeSpaceMb returns a boolean if a field has been set.
func (o *DatastoreInfo) GetHostOrClusterId() string
GetHostOrClusterId returns the HostOrClusterId field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetHostOrClusterIdOk() (*string, bool)
GetHostOrClusterIdOk returns a tuple with the HostOrClusterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetHostOrClusterId(v string)
SetHostOrClusterId sets HostOrClusterId field to given value.
func (o *DatastoreInfo) HasHostOrClusterId() bool
HasHostOrClusterId returns a boolean if a field has been set.
func (o *DatastoreInfo) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *DatastoreInfo) 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.
func (o *DatastoreInfo) SetId(v string)
SetId sets Id field to given value.
func (o *DatastoreInfo) HasId() bool
HasId returns a boolean if a field has been set.
func (o *DatastoreInfo) GetIncompatibleReasons() []string
GetIncompatibleReasons returns the IncompatibleReasons field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetIncompatibleReasonsOk() (*[]string, bool)
GetIncompatibleReasonsOk returns a tuple with the IncompatibleReasons field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetIncompatibleReasons(v []string)
SetIncompatibleReasons sets IncompatibleReasons field to given value.
func (o *DatastoreInfo) HasIncompatibleReasons() bool
HasIncompatibleReasons returns a boolean if a field has been set.
func (o *DatastoreInfo) GetLocalDatastore() bool
GetLocalDatastore returns the LocalDatastore field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetLocalDatastoreOk() (*bool, bool)
GetLocalDatastoreOk returns a tuple with the LocalDatastore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetLocalDatastore(v bool)
SetLocalDatastore sets LocalDatastore field to given value.
func (o *DatastoreInfo) HasLocalDatastore() bool
HasLocalDatastore returns a boolean if a field has been set.
func (o *DatastoreInfo) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *DatastoreInfo) 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.
func (o *DatastoreInfo) SetName(v string)
SetName sets Name field to given value.
func (o *DatastoreInfo) HasName() bool
HasName returns a boolean if a field has been set.
func (o *DatastoreInfo) GetNumberOfVms() int32
GetNumberOfVms returns the NumberOfVms field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetNumberOfVmsOk() (*int32, bool)
GetNumberOfVmsOk returns a tuple with the NumberOfVms field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetNumberOfVms(v int32)
SetNumberOfVms sets NumberOfVms field to given value.
func (o *DatastoreInfo) HasNumberOfVms() bool
HasNumberOfVms returns a boolean if a field has been set.
func (o *DatastoreInfo) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetPath(v string)
SetPath sets Path field to given value.
func (o *DatastoreInfo) HasPath() bool
HasPath returns a boolean if a field has been set.
func (o *DatastoreInfo) GetVcenterId() string
GetVcenterId returns the VcenterId field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetVcenterIdOk() (*string, bool)
GetVcenterIdOk returns a tuple with the VcenterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetVcenterId(v string)
SetVcenterId sets VcenterId field to given value.
func (o *DatastoreInfo) HasVcenterId() bool
HasVcenterId returns a boolean if a field has been set.
func (o *DatastoreInfo) GetVmfsMajorVersion() string
GetVmfsMajorVersion returns the VmfsMajorVersion field if non-nil, zero value otherwise.
func (o *DatastoreInfo) GetVmfsMajorVersionOk() (*string, bool)
GetVmfsMajorVersionOk returns a tuple with the VmfsMajorVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatastoreInfo) SetVmfsMajorVersion(v string)
SetVmfsMajorVersion sets VmfsMajorVersion field to given value.
func (o *DatastoreInfo) HasVmfsMajorVersion() bool
HasVmfsMajorVersion returns a boolean if a field has been set.