Name | Type | Description | Notes |
---|---|---|---|
Details | NodeInstanceData | ||
DetailsJson | Pointer to string | Node details (as a JSON object) | [optional] [readonly] |
InUse | Pointer to bool | True if the node is in use <b style="color:#ff0000">Deprecated since YBA version 2024.1.0.0.</b> Use NodeInstance.state instead | [optional] |
InstanceName | Pointer to string | The node instance's name | [optional] |
InstanceTypeCode | Pointer to string | The node's type code | [optional] |
ManuallyDecommissioned | Pointer to bool | Manually set to decommissioned state by user | [optional] [readonly] |
NodeName | Pointer to string | The node's name in a universe | [optional] [readonly] |
NodeUuid | Pointer to string | The node's UUID | [optional] [readonly] |
State | Pointer to string | State of on-prem node | [optional] [readonly] |
ZoneUuid | Pointer to string | The availability zone's UUID | [optional] |
func NewNodeInstance(details NodeInstanceData, ) *NodeInstance
NewNodeInstance instantiates a new NodeInstance 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 NewNodeInstanceWithDefaults() *NodeInstance
NewNodeInstanceWithDefaults instantiates a new NodeInstance 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 *NodeInstance) GetDetails() NodeInstanceData
GetDetails returns the Details field if non-nil, zero value otherwise.
func (o *NodeInstance) GetDetailsOk() (*NodeInstanceData, bool)
GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeInstance) SetDetails(v NodeInstanceData)
SetDetails sets Details field to given value.
func (o *NodeInstance) GetDetailsJson() string
GetDetailsJson returns the DetailsJson field if non-nil, zero value otherwise.
func (o *NodeInstance) GetDetailsJsonOk() (*string, bool)
GetDetailsJsonOk returns a tuple with the DetailsJson field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeInstance) SetDetailsJson(v string)
SetDetailsJson sets DetailsJson field to given value.
func (o *NodeInstance) HasDetailsJson() bool
HasDetailsJson returns a boolean if a field has been set.
func (o *NodeInstance) GetInUse() bool
GetInUse returns the InUse field if non-nil, zero value otherwise.
func (o *NodeInstance) GetInUseOk() (*bool, bool)
GetInUseOk returns a tuple with the InUse field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeInstance) SetInUse(v bool)
SetInUse sets InUse field to given value.
func (o *NodeInstance) HasInUse() bool
HasInUse returns a boolean if a field has been set.
func (o *NodeInstance) GetInstanceName() string
GetInstanceName returns the InstanceName field if non-nil, zero value otherwise.
func (o *NodeInstance) GetInstanceNameOk() (*string, bool)
GetInstanceNameOk returns a tuple with the InstanceName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeInstance) SetInstanceName(v string)
SetInstanceName sets InstanceName field to given value.
func (o *NodeInstance) HasInstanceName() bool
HasInstanceName returns a boolean if a field has been set.
func (o *NodeInstance) GetInstanceTypeCode() string
GetInstanceTypeCode returns the InstanceTypeCode field if non-nil, zero value otherwise.
func (o *NodeInstance) GetInstanceTypeCodeOk() (*string, bool)
GetInstanceTypeCodeOk returns a tuple with the InstanceTypeCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeInstance) SetInstanceTypeCode(v string)
SetInstanceTypeCode sets InstanceTypeCode field to given value.
func (o *NodeInstance) HasInstanceTypeCode() bool
HasInstanceTypeCode returns a boolean if a field has been set.
func (o *NodeInstance) GetManuallyDecommissioned() bool
GetManuallyDecommissioned returns the ManuallyDecommissioned field if non-nil, zero value otherwise.
func (o *NodeInstance) GetManuallyDecommissionedOk() (*bool, bool)
GetManuallyDecommissionedOk returns a tuple with the ManuallyDecommissioned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeInstance) SetManuallyDecommissioned(v bool)
SetManuallyDecommissioned sets ManuallyDecommissioned field to given value.
func (o *NodeInstance) HasManuallyDecommissioned() bool
HasManuallyDecommissioned returns a boolean if a field has been set.
func (o *NodeInstance) GetNodeName() string
GetNodeName returns the NodeName field if non-nil, zero value otherwise.
func (o *NodeInstance) GetNodeNameOk() (*string, bool)
GetNodeNameOk returns a tuple with the NodeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeInstance) SetNodeName(v string)
SetNodeName sets NodeName field to given value.
func (o *NodeInstance) HasNodeName() bool
HasNodeName returns a boolean if a field has been set.
func (o *NodeInstance) GetNodeUuid() string
GetNodeUuid returns the NodeUuid field if non-nil, zero value otherwise.
func (o *NodeInstance) GetNodeUuidOk() (*string, bool)
GetNodeUuidOk returns a tuple with the NodeUuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeInstance) SetNodeUuid(v string)
SetNodeUuid sets NodeUuid field to given value.
func (o *NodeInstance) HasNodeUuid() bool
HasNodeUuid returns a boolean if a field has been set.
func (o *NodeInstance) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *NodeInstance) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeInstance) SetState(v string)
SetState sets State field to given value.
func (o *NodeInstance) HasState() bool
HasState returns a boolean if a field has been set.
func (o *NodeInstance) GetZoneUuid() string
GetZoneUuid returns the ZoneUuid field if non-nil, zero value otherwise.
func (o *NodeInstance) GetZoneUuidOk() (*string, bool)
GetZoneUuidOk returns a tuple with the ZoneUuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeInstance) SetZoneUuid(v string)
SetZoneUuid sets ZoneUuid field to given value.
func (o *NodeInstance) HasZoneUuid() bool
HasZoneUuid returns a boolean if a field has been set.