Name | Type | Description | Notes |
---|---|---|---|
Class | Pointer to NullableAgentClass | [optional] | |
Id | Pointer to NullableInt32 | Unique id for the device | [optional] [readonly] |
AgentId | Pointer to NullableInt32 | The id of the agent the device belongs to | [optional] [readonly] |
Enable | Pointer to bool | Is the device enabled or not | [optional] [default to false] |
Port | Pointer to NullableInt32 | Port of device | [optional] |
Certificate | Pointer to NullableString | Certificate of device | [optional] |
Key | Pointer to NullableString | Key for device | [optional] |
Timeout | Pointer to NullableInt32 | Time in seconds | [optional] |
Reconnect | Pointer to NullableInt32 | Reconnect | [optional] |
Manufacturer | Pointer to NullableString | [optional] | |
Model | Pointer to NullableString | [optional] | |
Address | Pointer to NullableInt32 | [optional] | |
SecAddress | Pointer to NullableString | [optional] | |
Raster | Pointer to NullableString | [optional] | |
MaxFail | Pointer to NullableInt32 | [optional] [default to 4] | |
MaxRetry | Pointer to NullableInt32 | [optional] [default to 3] | |
SendNke | Pointer to NullableBool | [optional] [default to false] | |
AppResetSubcode | Pointer to NullableInt32 | [optional] | |
MultiFrames | Pointer to NullableInt32 | [optional] [default to 0] |
func NewAgentDevice() *AgentDevice
NewAgentDevice instantiates a new AgentDevice 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 NewAgentDeviceWithDefaults() *AgentDevice
NewAgentDeviceWithDefaults instantiates a new AgentDevice 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 *AgentDevice) GetClass() AgentClass
GetClass returns the Class field if non-nil, zero value otherwise.
func (o *AgentDevice) 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 *AgentDevice) SetClass(v AgentClass)
SetClass sets Class field to given value.
func (o *AgentDevice) HasClass() bool
HasClass returns a boolean if a field has been set.
func (o *AgentDevice) SetClassNil(b bool)
SetClassNil sets the value for Class to be an explicit nil
func (o *AgentDevice) UnsetClass()
UnsetClass ensures that no value is present for Class, not even an explicit nil
func (o *AgentDevice) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *AgentDevice) 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 *AgentDevice) SetId(v int32)
SetId sets Id field to given value.
func (o *AgentDevice) HasId() bool
HasId returns a boolean if a field has been set.
func (o *AgentDevice) SetIdNil(b bool)
SetIdNil sets the value for Id to be an explicit nil
func (o *AgentDevice) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (o *AgentDevice) GetAgentId() int32
GetAgentId returns the AgentId field if non-nil, zero value otherwise.
func (o *AgentDevice) GetAgentIdOk() (*int32, bool)
GetAgentIdOk returns a tuple with the AgentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetAgentId(v int32)
SetAgentId sets AgentId field to given value.
func (o *AgentDevice) HasAgentId() bool
HasAgentId returns a boolean if a field has been set.
func (o *AgentDevice) SetAgentIdNil(b bool)
SetAgentIdNil sets the value for AgentId to be an explicit nil
func (o *AgentDevice) UnsetAgentId()
UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil
func (o *AgentDevice) GetEnable() bool
GetEnable returns the Enable field if non-nil, zero value otherwise.
func (o *AgentDevice) 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 *AgentDevice) SetEnable(v bool)
SetEnable sets Enable field to given value.
func (o *AgentDevice) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (o *AgentDevice) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *AgentDevice) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetPort(v int32)
SetPort sets Port field to given value.
func (o *AgentDevice) HasPort() bool
HasPort returns a boolean if a field has been set.
func (o *AgentDevice) SetPortNil(b bool)
SetPortNil sets the value for Port to be an explicit nil
func (o *AgentDevice) UnsetPort()
UnsetPort ensures that no value is present for Port, not even an explicit nil
func (o *AgentDevice) GetCertificate() string
GetCertificate returns the Certificate field if non-nil, zero value otherwise.
func (o *AgentDevice) GetCertificateOk() (*string, bool)
GetCertificateOk returns a tuple with the Certificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetCertificate(v string)
SetCertificate sets Certificate field to given value.
func (o *AgentDevice) HasCertificate() bool
HasCertificate returns a boolean if a field has been set.
func (o *AgentDevice) SetCertificateNil(b bool)
SetCertificateNil sets the value for Certificate to be an explicit nil
func (o *AgentDevice) UnsetCertificate()
UnsetCertificate ensures that no value is present for Certificate, not even an explicit nil
func (o *AgentDevice) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *AgentDevice) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetKey(v string)
SetKey sets Key field to given value.
func (o *AgentDevice) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *AgentDevice) SetKeyNil(b bool)
SetKeyNil sets the value for Key to be an explicit nil
func (o *AgentDevice) UnsetKey()
UnsetKey ensures that no value is present for Key, not even an explicit nil
func (o *AgentDevice) GetTimeout() int32
GetTimeout returns the Timeout field if non-nil, zero value otherwise.
func (o *AgentDevice) GetTimeoutOk() (*int32, bool)
GetTimeoutOk returns a tuple with the Timeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetTimeout(v int32)
SetTimeout sets Timeout field to given value.
func (o *AgentDevice) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (o *AgentDevice) SetTimeoutNil(b bool)
SetTimeoutNil sets the value for Timeout to be an explicit nil
func (o *AgentDevice) UnsetTimeout()
UnsetTimeout ensures that no value is present for Timeout, not even an explicit nil
func (o *AgentDevice) GetReconnect() int32
GetReconnect returns the Reconnect field if non-nil, zero value otherwise.
func (o *AgentDevice) GetReconnectOk() (*int32, bool)
GetReconnectOk returns a tuple with the Reconnect field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetReconnect(v int32)
SetReconnect sets Reconnect field to given value.
func (o *AgentDevice) HasReconnect() bool
HasReconnect returns a boolean if a field has been set.
func (o *AgentDevice) SetReconnectNil(b bool)
SetReconnectNil sets the value for Reconnect to be an explicit nil
func (o *AgentDevice) UnsetReconnect()
UnsetReconnect ensures that no value is present for Reconnect, not even an explicit nil
func (o *AgentDevice) GetManufacturer() string
GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise.
func (o *AgentDevice) GetManufacturerOk() (*string, bool)
GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetManufacturer(v string)
SetManufacturer sets Manufacturer field to given value.
func (o *AgentDevice) HasManufacturer() bool
HasManufacturer returns a boolean if a field has been set.
func (o *AgentDevice) SetManufacturerNil(b bool)
SetManufacturerNil sets the value for Manufacturer to be an explicit nil
func (o *AgentDevice) UnsetManufacturer()
UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil
func (o *AgentDevice) GetModel() string
GetModel returns the Model field if non-nil, zero value otherwise.
func (o *AgentDevice) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetModel(v string)
SetModel sets Model field to given value.
func (o *AgentDevice) HasModel() bool
HasModel returns a boolean if a field has been set.
func (o *AgentDevice) SetModelNil(b bool)
SetModelNil sets the value for Model to be an explicit nil
func (o *AgentDevice) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
func (o *AgentDevice) GetAddress() int32
GetAddress returns the Address field if non-nil, zero value otherwise.
func (o *AgentDevice) GetAddressOk() (*int32, bool)
GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetAddress(v int32)
SetAddress sets Address field to given value.
func (o *AgentDevice) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (o *AgentDevice) SetAddressNil(b bool)
SetAddressNil sets the value for Address to be an explicit nil
func (o *AgentDevice) UnsetAddress()
UnsetAddress ensures that no value is present for Address, not even an explicit nil
func (o *AgentDevice) GetSecAddress() string
GetSecAddress returns the SecAddress field if non-nil, zero value otherwise.
func (o *AgentDevice) GetSecAddressOk() (*string, bool)
GetSecAddressOk returns a tuple with the SecAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetSecAddress(v string)
SetSecAddress sets SecAddress field to given value.
func (o *AgentDevice) HasSecAddress() bool
HasSecAddress returns a boolean if a field has been set.
func (o *AgentDevice) SetSecAddressNil(b bool)
SetSecAddressNil sets the value for SecAddress to be an explicit nil
func (o *AgentDevice) UnsetSecAddress()
UnsetSecAddress ensures that no value is present for SecAddress, not even an explicit nil
func (o *AgentDevice) GetRaster() string
GetRaster returns the Raster field if non-nil, zero value otherwise.
func (o *AgentDevice) GetRasterOk() (*string, bool)
GetRasterOk returns a tuple with the Raster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetRaster(v string)
SetRaster sets Raster field to given value.
func (o *AgentDevice) HasRaster() bool
HasRaster returns a boolean if a field has been set.
func (o *AgentDevice) SetRasterNil(b bool)
SetRasterNil sets the value for Raster to be an explicit nil
func (o *AgentDevice) UnsetRaster()
UnsetRaster ensures that no value is present for Raster, not even an explicit nil
func (o *AgentDevice) GetMaxFail() int32
GetMaxFail returns the MaxFail field if non-nil, zero value otherwise.
func (o *AgentDevice) GetMaxFailOk() (*int32, bool)
GetMaxFailOk returns a tuple with the MaxFail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetMaxFail(v int32)
SetMaxFail sets MaxFail field to given value.
func (o *AgentDevice) HasMaxFail() bool
HasMaxFail returns a boolean if a field has been set.
func (o *AgentDevice) SetMaxFailNil(b bool)
SetMaxFailNil sets the value for MaxFail to be an explicit nil
func (o *AgentDevice) UnsetMaxFail()
UnsetMaxFail ensures that no value is present for MaxFail, not even an explicit nil
func (o *AgentDevice) GetMaxRetry() int32
GetMaxRetry returns the MaxRetry field if non-nil, zero value otherwise.
func (o *AgentDevice) GetMaxRetryOk() (*int32, bool)
GetMaxRetryOk returns a tuple with the MaxRetry field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetMaxRetry(v int32)
SetMaxRetry sets MaxRetry field to given value.
func (o *AgentDevice) HasMaxRetry() bool
HasMaxRetry returns a boolean if a field has been set.
func (o *AgentDevice) SetMaxRetryNil(b bool)
SetMaxRetryNil sets the value for MaxRetry to be an explicit nil
func (o *AgentDevice) UnsetMaxRetry()
UnsetMaxRetry ensures that no value is present for MaxRetry, not even an explicit nil
func (o *AgentDevice) GetSendNke() bool
GetSendNke returns the SendNke field if non-nil, zero value otherwise.
func (o *AgentDevice) GetSendNkeOk() (*bool, bool)
GetSendNkeOk returns a tuple with the SendNke field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetSendNke(v bool)
SetSendNke sets SendNke field to given value.
func (o *AgentDevice) HasSendNke() bool
HasSendNke returns a boolean if a field has been set.
func (o *AgentDevice) SetSendNkeNil(b bool)
SetSendNkeNil sets the value for SendNke to be an explicit nil
func (o *AgentDevice) UnsetSendNke()
UnsetSendNke ensures that no value is present for SendNke, not even an explicit nil
func (o *AgentDevice) GetAppResetSubcode() int32
GetAppResetSubcode returns the AppResetSubcode field if non-nil, zero value otherwise.
func (o *AgentDevice) GetAppResetSubcodeOk() (*int32, bool)
GetAppResetSubcodeOk returns a tuple with the AppResetSubcode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetAppResetSubcode(v int32)
SetAppResetSubcode sets AppResetSubcode field to given value.
func (o *AgentDevice) HasAppResetSubcode() bool
HasAppResetSubcode returns a boolean if a field has been set.
func (o *AgentDevice) SetAppResetSubcodeNil(b bool)
SetAppResetSubcodeNil sets the value for AppResetSubcode to be an explicit nil
func (o *AgentDevice) UnsetAppResetSubcode()
UnsetAppResetSubcode ensures that no value is present for AppResetSubcode, not even an explicit nil
func (o *AgentDevice) GetMultiFrames() int32
GetMultiFrames returns the MultiFrames field if non-nil, zero value otherwise.
func (o *AgentDevice) GetMultiFramesOk() (*int32, bool)
GetMultiFramesOk returns a tuple with the MultiFrames field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentDevice) SetMultiFrames(v int32)
SetMultiFrames sets MultiFrames field to given value.
func (o *AgentDevice) HasMultiFrames() bool
HasMultiFrames returns a boolean if a field has been set.
func (o *AgentDevice) SetMultiFramesNil(b bool)
SetMultiFramesNil sets the value for MultiFrames to be an explicit nil
func (o *AgentDevice) UnsetMultiFrames()
UnsetMultiFrames ensures that no value is present for MultiFrames, not even an explicit nil