Name | Type | Description | Notes |
---|---|---|---|
Id | string | The Rudder node unique identifier in /opt/rudder/etc/uuid.hive | |
Hostname | string | The fully qualified name of the node | |
Status | string | Target status of the node | |
Os | Os | ||
PolicyServerId | Pointer to string | The policy server ID for that node. By default, "root" | [optional] |
MachineType | string | The kind of machine for the node (use vm for a generic VM) | |
State | Pointer to string | Node lifecycle state. Can only be specified when status=accepted. If not specified, enable is used | [optional] |
PolicyMode | Pointer to string | The policy mode for the node. Can only be specified when status=accepted. If not specified, the default (global) mode will be used | [optional] |
AgentKey | Pointer to AgentKey | [optional] | |
Properties | []NodeFullPropertiesInner | Node properties (either set by user or filled by third party sources) | |
IpAddresses | []string | an array of IPs. | |
Timezone | Pointer to Timezone | [optional] |
func NewNodeAddInner(id string, hostname string, status string, os Os, machineType string, properties []NodeFullPropertiesInner, ipAddresses []string, ) *NodeAddInner
NewNodeAddInner instantiates a new NodeAddInner 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 NewNodeAddInnerWithDefaults() *NodeAddInner
NewNodeAddInnerWithDefaults instantiates a new NodeAddInner 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 *NodeAddInner) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *NodeAddInner) 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 *NodeAddInner) SetId(v string)
SetId sets Id field to given value.
func (o *NodeAddInner) GetHostname() string
GetHostname returns the Hostname field if non-nil, zero value otherwise.
func (o *NodeAddInner) GetHostnameOk() (*string, bool)
GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeAddInner) SetHostname(v string)
SetHostname sets Hostname field to given value.
func (o *NodeAddInner) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *NodeAddInner) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeAddInner) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *NodeAddInner) GetOs() Os
GetOs returns the Os field if non-nil, zero value otherwise.
func (o *NodeAddInner) GetOsOk() (*Os, bool)
GetOsOk returns a tuple with the Os field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeAddInner) SetOs(v Os)
SetOs sets Os field to given value.
func (o *NodeAddInner) GetPolicyServerId() string
GetPolicyServerId returns the PolicyServerId field if non-nil, zero value otherwise.
func (o *NodeAddInner) GetPolicyServerIdOk() (*string, bool)
GetPolicyServerIdOk returns a tuple with the PolicyServerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeAddInner) SetPolicyServerId(v string)
SetPolicyServerId sets PolicyServerId field to given value.
func (o *NodeAddInner) HasPolicyServerId() bool
HasPolicyServerId returns a boolean if a field has been set.
func (o *NodeAddInner) GetMachineType() string
GetMachineType returns the MachineType field if non-nil, zero value otherwise.
func (o *NodeAddInner) GetMachineTypeOk() (*string, bool)
GetMachineTypeOk returns a tuple with the MachineType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeAddInner) SetMachineType(v string)
SetMachineType sets MachineType field to given value.
func (o *NodeAddInner) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *NodeAddInner) 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 *NodeAddInner) SetState(v string)
SetState sets State field to given value.
func (o *NodeAddInner) HasState() bool
HasState returns a boolean if a field has been set.
func (o *NodeAddInner) GetPolicyMode() string
GetPolicyMode returns the PolicyMode field if non-nil, zero value otherwise.
func (o *NodeAddInner) GetPolicyModeOk() (*string, bool)
GetPolicyModeOk returns a tuple with the PolicyMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeAddInner) SetPolicyMode(v string)
SetPolicyMode sets PolicyMode field to given value.
func (o *NodeAddInner) HasPolicyMode() bool
HasPolicyMode returns a boolean if a field has been set.
func (o *NodeAddInner) GetAgentKey() AgentKey
GetAgentKey returns the AgentKey field if non-nil, zero value otherwise.
func (o *NodeAddInner) GetAgentKeyOk() (*AgentKey, bool)
GetAgentKeyOk returns a tuple with the AgentKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeAddInner) SetAgentKey(v AgentKey)
SetAgentKey sets AgentKey field to given value.
func (o *NodeAddInner) HasAgentKey() bool
HasAgentKey returns a boolean if a field has been set.
func (o *NodeAddInner) GetProperties() []NodeFullPropertiesInner
GetProperties returns the Properties field if non-nil, zero value otherwise.
func (o *NodeAddInner) GetPropertiesOk() (*[]NodeFullPropertiesInner, bool)
GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeAddInner) SetProperties(v []NodeFullPropertiesInner)
SetProperties sets Properties field to given value.
func (o *NodeAddInner) GetIpAddresses() []string
GetIpAddresses returns the IpAddresses field if non-nil, zero value otherwise.
func (o *NodeAddInner) GetIpAddressesOk() (*[]string, bool)
GetIpAddressesOk returns a tuple with the IpAddresses field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeAddInner) SetIpAddresses(v []string)
SetIpAddresses sets IpAddresses field to given value.
func (o *NodeAddInner) GetTimezone() Timezone
GetTimezone returns the Timezone field if non-nil, zero value otherwise.
func (o *NodeAddInner) GetTimezoneOk() (*Timezone, bool)
GetTimezoneOk returns a tuple with the Timezone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NodeAddInner) SetTimezone(v Timezone)
SetTimezone sets Timezone field to given value.
func (o *NodeAddInner) HasTimezone() bool
HasTimezone returns a boolean if a field has been set.