Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
Name | Pointer to string | [optional] [readonly] | |
NumId | Pointer to string | [optional] [readonly] | |
Parent | Pointer to string | [optional] [readonly] | |
Registry | Pointer to string | [optional] [readonly] | |
Blocked | Pointer to bool | [optional] | |
Capresent | Pointer to bool | [optional] [readonly] | |
Subscription | Pointer to string | [optional] [readonly] | |
CreatedOn | Pointer to string | [optional] [readonly] | |
UpdatedOn | Pointer to string | [optional] [readonly] | |
Credentials | Pointer to []DeviceCredential | [optional] | |
Gateway | Pointer to []string | [optional] | |
GatewayConfig | Pointer to GatewayConfig | [optional] | |
IsGateway | Pointer to bool | [optional] | |
DeviceErrors | Pointer to string | [optional] [readonly] | |
ClientOnline | Pointer to bool | [optional] [readonly] | |
LastConfigAckTime | Pointer to string | [optional] [readonly] | |
LastConfigSendTime | Pointer to string | [optional] [readonly] | |
LastErrorStatus | Pointer to ErrorStatus | [optional] | |
LastErrorTime | Pointer to string | [optional] [readonly] | |
LastEventTime | Pointer to string | [optional] [readonly] | |
LastHeartbeatTime | Pointer to string | [optional] [readonly] | |
LastStateTime | Pointer to string | [optional] [readonly] | |
LogLevel | Pointer to LogLevel | [optional] | |
Metadata | Pointer to map[string]string | [optional] | |
Config | Pointer to DeviceConfig | [optional] | |
State | Pointer to DeviceState | [optional] | |
Policy | Pointer to Policy | [optional] | |
TcpUdpModelDetails | Pointer to DeviceTcpUdpModelDetails | [optional] | |
TcpUdpModelId | Pointer to float32 | [optional] | |
IsTcpUdpDevice | Pointer to bool | [optional] |
func NewDevice(id string, ) *Device
NewDevice instantiates a new Device 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 NewDeviceWithDefaults() *Device
NewDeviceWithDefaults instantiates a new Device 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 *Device) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Device) 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 *Device) SetId(v string)
SetId sets Id field to given value.
func (o *Device) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Device) 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 *Device) SetName(v string)
SetName sets Name field to given value.
func (o *Device) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Device) GetNumId() string
GetNumId returns the NumId field if non-nil, zero value otherwise.
func (o *Device) GetNumIdOk() (*string, bool)
GetNumIdOk returns a tuple with the NumId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetNumId(v string)
SetNumId sets NumId field to given value.
func (o *Device) HasNumId() bool
HasNumId returns a boolean if a field has been set.
func (o *Device) GetParent() string
GetParent returns the Parent field if non-nil, zero value otherwise.
func (o *Device) GetParentOk() (*string, bool)
GetParentOk returns a tuple with the Parent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetParent(v string)
SetParent sets Parent field to given value.
func (o *Device) HasParent() bool
HasParent returns a boolean if a field has been set.
func (o *Device) GetRegistry() string
GetRegistry returns the Registry field if non-nil, zero value otherwise.
func (o *Device) GetRegistryOk() (*string, bool)
GetRegistryOk returns a tuple with the Registry field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetRegistry(v string)
SetRegistry sets Registry field to given value.
func (o *Device) HasRegistry() bool
HasRegistry returns a boolean if a field has been set.
func (o *Device) GetBlocked() bool
GetBlocked returns the Blocked field if non-nil, zero value otherwise.
func (o *Device) GetBlockedOk() (*bool, bool)
GetBlockedOk returns a tuple with the Blocked field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetBlocked(v bool)
SetBlocked sets Blocked field to given value.
func (o *Device) HasBlocked() bool
HasBlocked returns a boolean if a field has been set.
func (o *Device) GetCapresent() bool
GetCapresent returns the Capresent field if non-nil, zero value otherwise.
func (o *Device) GetCapresentOk() (*bool, bool)
GetCapresentOk returns a tuple with the Capresent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetCapresent(v bool)
SetCapresent sets Capresent field to given value.
func (o *Device) HasCapresent() bool
HasCapresent returns a boolean if a field has been set.
func (o *Device) GetSubscription() string
GetSubscription returns the Subscription field if non-nil, zero value otherwise.
func (o *Device) GetSubscriptionOk() (*string, bool)
GetSubscriptionOk returns a tuple with the Subscription field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetSubscription(v string)
SetSubscription sets Subscription field to given value.
func (o *Device) HasSubscription() bool
HasSubscription returns a boolean if a field has been set.
func (o *Device) GetCreatedOn() string
GetCreatedOn returns the CreatedOn field if non-nil, zero value otherwise.
func (o *Device) GetCreatedOnOk() (*string, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetCreatedOn(v string)
SetCreatedOn sets CreatedOn field to given value.
func (o *Device) HasCreatedOn() bool
HasCreatedOn returns a boolean if a field has been set.
func (o *Device) GetUpdatedOn() string
GetUpdatedOn returns the UpdatedOn field if non-nil, zero value otherwise.
func (o *Device) GetUpdatedOnOk() (*string, bool)
GetUpdatedOnOk returns a tuple with the UpdatedOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetUpdatedOn(v string)
SetUpdatedOn sets UpdatedOn field to given value.
func (o *Device) HasUpdatedOn() bool
HasUpdatedOn returns a boolean if a field has been set.
func (o *Device) GetCredentials() []DeviceCredential
GetCredentials returns the Credentials field if non-nil, zero value otherwise.
func (o *Device) GetCredentialsOk() (*[]DeviceCredential, bool)
GetCredentialsOk returns a tuple with the Credentials field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetCredentials(v []DeviceCredential)
SetCredentials sets Credentials field to given value.
func (o *Device) HasCredentials() bool
HasCredentials returns a boolean if a field has been set.
func (o *Device) GetGateway() []string
GetGateway returns the Gateway field if non-nil, zero value otherwise.
func (o *Device) GetGatewayOk() (*[]string, bool)
GetGatewayOk returns a tuple with the Gateway field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetGateway(v []string)
SetGateway sets Gateway field to given value.
func (o *Device) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (o *Device) GetGatewayConfig() GatewayConfig
GetGatewayConfig returns the GatewayConfig field if non-nil, zero value otherwise.
func (o *Device) GetGatewayConfigOk() (*GatewayConfig, bool)
GetGatewayConfigOk returns a tuple with the GatewayConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetGatewayConfig(v GatewayConfig)
SetGatewayConfig sets GatewayConfig field to given value.
func (o *Device) HasGatewayConfig() bool
HasGatewayConfig returns a boolean if a field has been set.
func (o *Device) GetIsGateway() bool
GetIsGateway returns the IsGateway field if non-nil, zero value otherwise.
func (o *Device) GetIsGatewayOk() (*bool, bool)
GetIsGatewayOk returns a tuple with the IsGateway field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetIsGateway(v bool)
SetIsGateway sets IsGateway field to given value.
func (o *Device) HasIsGateway() bool
HasIsGateway returns a boolean if a field has been set.
func (o *Device) GetDeviceErrors() string
GetDeviceErrors returns the DeviceErrors field if non-nil, zero value otherwise.
func (o *Device) GetDeviceErrorsOk() (*string, bool)
GetDeviceErrorsOk returns a tuple with the DeviceErrors field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetDeviceErrors(v string)
SetDeviceErrors sets DeviceErrors field to given value.
func (o *Device) HasDeviceErrors() bool
HasDeviceErrors returns a boolean if a field has been set.
func (o *Device) GetClientOnline() bool
GetClientOnline returns the ClientOnline field if non-nil, zero value otherwise.
func (o *Device) GetClientOnlineOk() (*bool, bool)
GetClientOnlineOk returns a tuple with the ClientOnline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetClientOnline(v bool)
SetClientOnline sets ClientOnline field to given value.
func (o *Device) HasClientOnline() bool
HasClientOnline returns a boolean if a field has been set.
func (o *Device) GetLastConfigAckTime() string
GetLastConfigAckTime returns the LastConfigAckTime field if non-nil, zero value otherwise.
func (o *Device) GetLastConfigAckTimeOk() (*string, bool)
GetLastConfigAckTimeOk returns a tuple with the LastConfigAckTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetLastConfigAckTime(v string)
SetLastConfigAckTime sets LastConfigAckTime field to given value.
func (o *Device) HasLastConfigAckTime() bool
HasLastConfigAckTime returns a boolean if a field has been set.
func (o *Device) GetLastConfigSendTime() string
GetLastConfigSendTime returns the LastConfigSendTime field if non-nil, zero value otherwise.
func (o *Device) GetLastConfigSendTimeOk() (*string, bool)
GetLastConfigSendTimeOk returns a tuple with the LastConfigSendTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetLastConfigSendTime(v string)
SetLastConfigSendTime sets LastConfigSendTime field to given value.
func (o *Device) HasLastConfigSendTime() bool
HasLastConfigSendTime returns a boolean if a field has been set.
func (o *Device) GetLastErrorStatus() ErrorStatus
GetLastErrorStatus returns the LastErrorStatus field if non-nil, zero value otherwise.
func (o *Device) GetLastErrorStatusOk() (*ErrorStatus, bool)
GetLastErrorStatusOk returns a tuple with the LastErrorStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetLastErrorStatus(v ErrorStatus)
SetLastErrorStatus sets LastErrorStatus field to given value.
func (o *Device) HasLastErrorStatus() bool
HasLastErrorStatus returns a boolean if a field has been set.
func (o *Device) GetLastErrorTime() string
GetLastErrorTime returns the LastErrorTime field if non-nil, zero value otherwise.
func (o *Device) GetLastErrorTimeOk() (*string, bool)
GetLastErrorTimeOk returns a tuple with the LastErrorTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetLastErrorTime(v string)
SetLastErrorTime sets LastErrorTime field to given value.
func (o *Device) HasLastErrorTime() bool
HasLastErrorTime returns a boolean if a field has been set.
func (o *Device) GetLastEventTime() string
GetLastEventTime returns the LastEventTime field if non-nil, zero value otherwise.
func (o *Device) GetLastEventTimeOk() (*string, bool)
GetLastEventTimeOk returns a tuple with the LastEventTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetLastEventTime(v string)
SetLastEventTime sets LastEventTime field to given value.
func (o *Device) HasLastEventTime() bool
HasLastEventTime returns a boolean if a field has been set.
func (o *Device) GetLastHeartbeatTime() string
GetLastHeartbeatTime returns the LastHeartbeatTime field if non-nil, zero value otherwise.
func (o *Device) GetLastHeartbeatTimeOk() (*string, bool)
GetLastHeartbeatTimeOk returns a tuple with the LastHeartbeatTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetLastHeartbeatTime(v string)
SetLastHeartbeatTime sets LastHeartbeatTime field to given value.
func (o *Device) HasLastHeartbeatTime() bool
HasLastHeartbeatTime returns a boolean if a field has been set.
func (o *Device) GetLastStateTime() string
GetLastStateTime returns the LastStateTime field if non-nil, zero value otherwise.
func (o *Device) GetLastStateTimeOk() (*string, bool)
GetLastStateTimeOk returns a tuple with the LastStateTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetLastStateTime(v string)
SetLastStateTime sets LastStateTime field to given value.
func (o *Device) HasLastStateTime() bool
HasLastStateTime returns a boolean if a field has been set.
func (o *Device) GetLogLevel() LogLevel
GetLogLevel returns the LogLevel field if non-nil, zero value otherwise.
func (o *Device) GetLogLevelOk() (*LogLevel, bool)
GetLogLevelOk returns a tuple with the LogLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetLogLevel(v LogLevel)
SetLogLevel sets LogLevel field to given value.
func (o *Device) HasLogLevel() bool
HasLogLevel returns a boolean if a field has been set.
func (o *Device) GetMetadata() map[string]string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *Device) GetMetadataOk() (*map[string]string, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetMetadata(v map[string]string)
SetMetadata sets Metadata field to given value.
func (o *Device) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *Device) GetConfig() DeviceConfig
GetConfig returns the Config field if non-nil, zero value otherwise.
func (o *Device) GetConfigOk() (*DeviceConfig, 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 *Device) SetConfig(v DeviceConfig)
SetConfig sets Config field to given value.
func (o *Device) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (o *Device) GetState() DeviceState
GetState returns the State field if non-nil, zero value otherwise.
func (o *Device) GetStateOk() (*DeviceState, 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 *Device) SetState(v DeviceState)
SetState sets State field to given value.
func (o *Device) HasState() bool
HasState returns a boolean if a field has been set.
func (o *Device) GetPolicy() Policy
GetPolicy returns the Policy field if non-nil, zero value otherwise.
func (o *Device) GetPolicyOk() (*Policy, bool)
GetPolicyOk returns a tuple with the Policy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetPolicy(v Policy)
SetPolicy sets Policy field to given value.
func (o *Device) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (o *Device) GetTcpUdpModelDetails() DeviceTcpUdpModelDetails
GetTcpUdpModelDetails returns the TcpUdpModelDetails field if non-nil, zero value otherwise.
func (o *Device) GetTcpUdpModelDetailsOk() (*DeviceTcpUdpModelDetails, bool)
GetTcpUdpModelDetailsOk returns a tuple with the TcpUdpModelDetails field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetTcpUdpModelDetails(v DeviceTcpUdpModelDetails)
SetTcpUdpModelDetails sets TcpUdpModelDetails field to given value.
func (o *Device) HasTcpUdpModelDetails() bool
HasTcpUdpModelDetails returns a boolean if a field has been set.
func (o *Device) GetTcpUdpModelId() float32
GetTcpUdpModelId returns the TcpUdpModelId field if non-nil, zero value otherwise.
func (o *Device) GetTcpUdpModelIdOk() (*float32, bool)
GetTcpUdpModelIdOk returns a tuple with the TcpUdpModelId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetTcpUdpModelId(v float32)
SetTcpUdpModelId sets TcpUdpModelId field to given value.
func (o *Device) HasTcpUdpModelId() bool
HasTcpUdpModelId returns a boolean if a field has been set.
func (o *Device) GetIsTcpUdpDevice() bool
GetIsTcpUdpDevice returns the IsTcpUdpDevice field if non-nil, zero value otherwise.
func (o *Device) GetIsTcpUdpDeviceOk() (*bool, bool)
GetIsTcpUdpDeviceOk returns a tuple with the IsTcpUdpDevice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetIsTcpUdpDevice(v bool)
SetIsTcpUdpDevice sets IsTcpUdpDevice field to given value.
func (o *Device) HasIsTcpUdpDevice() bool
HasIsTcpUdpDevice returns a boolean if a field has been set.