Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to NullableInt32 | Unique id for the agent | [optional] [readonly] |
NodeId | Pointer to NullableString | Id of the node where the agent is installed | [optional] |
AssetId | Pointer to NullableInt32 | ID of the corresponding asset | [optional] |
Class | Pointer to NullableAgentClass | [optional] | |
Description | Pointer to NullableString | Descriptive text for the agent | [optional] |
Enable | Pointer to bool | Is the agent enabled or not | [optional] [default to false] |
Config | Pointer to map[string]interface{} | Individual configuration depending on agent class | [optional] |
func NewAgent() *Agent
NewAgent instantiates a new Agent 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 NewAgentWithDefaults() *Agent
NewAgentWithDefaults instantiates a new Agent 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 *Agent) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Agent) GetIdOk() (*int32, 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 *Agent) SetId(v int32)
SetId sets Id field to given value.
func (o *Agent) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Agent) SetIdNil(b bool)
SetIdNil sets the value for Id to be an explicit nil
func (o *Agent) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (o *Agent) GetNodeId() string
GetNodeId returns the NodeId field if non-nil, zero value otherwise.
func (o *Agent) GetNodeIdOk() (*string, bool)
GetNodeIdOk returns a tuple with the NodeId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetNodeId(v string)
SetNodeId sets NodeId field to given value.
func (o *Agent) HasNodeId() bool
HasNodeId returns a boolean if a field has been set.
func (o *Agent) SetNodeIdNil(b bool)
SetNodeIdNil sets the value for NodeId to be an explicit nil
func (o *Agent) UnsetNodeId()
UnsetNodeId ensures that no value is present for NodeId, not even an explicit nil
func (o *Agent) GetAssetId() int32
GetAssetId returns the AssetId field if non-nil, zero value otherwise.
func (o *Agent) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetAssetId(v int32)
SetAssetId sets AssetId field to given value.
func (o *Agent) HasAssetId() bool
HasAssetId returns a boolean if a field has been set.
func (o *Agent) SetAssetIdNil(b bool)
SetAssetIdNil sets the value for AssetId to be an explicit nil
func (o *Agent) UnsetAssetId()
UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil
func (o *Agent) GetClass() AgentClass
GetClass returns the Class field if non-nil, zero value otherwise.
func (o *Agent) GetClassOk() (*AgentClass, bool)
GetClassOk returns a tuple with the Class field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetClass(v AgentClass)
SetClass sets Class field to given value.
func (o *Agent) HasClass() bool
HasClass returns a boolean if a field has been set.
func (o *Agent) SetClassNil(b bool)
SetClassNil sets the value for Class to be an explicit nil
func (o *Agent) UnsetClass()
UnsetClass ensures that no value is present for Class, not even an explicit nil
func (o *Agent) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Agent) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Agent) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Agent) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *Agent) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *Agent) GetEnable() bool
GetEnable returns the Enable field if non-nil, zero value otherwise.
func (o *Agent) GetEnableOk() (*bool, bool)
GetEnableOk returns a tuple with the Enable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetEnable(v bool)
SetEnable sets Enable field to given value.
func (o *Agent) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (o *Agent) GetConfig() map[string]interface{}
GetConfig returns the Config field if non-nil, zero value otherwise.
func (o *Agent) GetConfigOk() (*map[string]interface{}, bool)
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetConfig(v map[string]interface{})
SetConfig sets Config field to given value.
func (o *Agent) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (o *Agent) SetConfigNil(b bool)
SetConfigNil sets the value for Config to be an explicit nil
func (o *Agent) UnsetConfig()
UnsetConfig ensures that no value is present for Config, not even an explicit nil