Name | Type | Description | Notes |
---|---|---|---|
ActivationType | string | LoRa device activation type | |
AppEUI | string | Application identifier (AppEUI) | |
ConnectivityOptions | LoraConnectivityOptions | ||
ConnectivityPlan | Pointer to string | Device connectivity plan. | [optional] |
CreationTs | Pointer to string | Date/time of the device creation | [optional] [readonly] |
DevEUI | string | LoRa End-device identifier (DevEUI) | |
DeviceStatus | string | Device status | |
Encoding | string | LoRa encoder | |
LastActivationTs | Pointer to string | Date/time of the last activation | [optional] [readonly] |
LastBatteryLevel | Pointer to int32 | Last battery level returned by the device (0: external power source, 1..254: 1=min / 254 = max, 255 : NA) | [optional] [readonly] |
LastCommunicationTs | Pointer to string | Date/time of the last communication | [optional] [readonly] |
LastDeactivationTs | Pointer to string | Date/time of the last deactivation | [optional] [readonly] |
LastDlFcnt | Pointer to int32 | Frame counter of the last downlink | [optional] [readonly] |
LastSignalLevel | Pointer to int32 | Signal level of the last uplink (between 0 to 5) | [optional] [readonly] |
LastUlFcnt | Pointer to int32 | Frame counter of the last uplink | [optional] [readonly] |
Location | Pointer to LoraDeviceLocation | [optional] | |
Name | string | LoRa device name | |
Profile | string | LoRa device profile | |
Tags | Pointer to []string | List of tags, used to tag uplink from this device | [optional] |
UpdateTs | Pointer to string | Date/time of the last device modification | [optional] [readonly] |
func NewLoraDevice(activationType string, appEUI string, connectivityOptions LoraConnectivityOptions, devEUI string, deviceStatus string, encoding string, name string, profile string, ) *LoraDevice
NewLoraDevice instantiates a new LoraDevice 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 NewLoraDeviceWithDefaults() *LoraDevice
NewLoraDeviceWithDefaults instantiates a new LoraDevice 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 *LoraDevice) GetActivationType() string
GetActivationType returns the ActivationType field if non-nil, zero value otherwise.
func (o *LoraDevice) GetActivationTypeOk() (*string, bool)
GetActivationTypeOk returns a tuple with the ActivationType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetActivationType(v string)
SetActivationType sets ActivationType field to given value.
func (o *LoraDevice) GetAppEUI() string
GetAppEUI returns the AppEUI field if non-nil, zero value otherwise.
func (o *LoraDevice) GetAppEUIOk() (*string, bool)
GetAppEUIOk returns a tuple with the AppEUI field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetAppEUI(v string)
SetAppEUI sets AppEUI field to given value.
func (o *LoraDevice) GetConnectivityOptions() LoraConnectivityOptions
GetConnectivityOptions returns the ConnectivityOptions field if non-nil, zero value otherwise.
func (o *LoraDevice) GetConnectivityOptionsOk() (*LoraConnectivityOptions, bool)
GetConnectivityOptionsOk returns a tuple with the ConnectivityOptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetConnectivityOptions(v LoraConnectivityOptions)
SetConnectivityOptions sets ConnectivityOptions field to given value.
func (o *LoraDevice) GetConnectivityPlan() string
GetConnectivityPlan returns the ConnectivityPlan field if non-nil, zero value otherwise.
func (o *LoraDevice) GetConnectivityPlanOk() (*string, bool)
GetConnectivityPlanOk returns a tuple with the ConnectivityPlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetConnectivityPlan(v string)
SetConnectivityPlan sets ConnectivityPlan field to given value.
func (o *LoraDevice) HasConnectivityPlan() bool
HasConnectivityPlan returns a boolean if a field has been set.
func (o *LoraDevice) GetCreationTs() string
GetCreationTs returns the CreationTs field if non-nil, zero value otherwise.
func (o *LoraDevice) GetCreationTsOk() (*string, bool)
GetCreationTsOk returns a tuple with the CreationTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetCreationTs(v string)
SetCreationTs sets CreationTs field to given value.
func (o *LoraDevice) HasCreationTs() bool
HasCreationTs returns a boolean if a field has been set.
func (o *LoraDevice) GetDevEUI() string
GetDevEUI returns the DevEUI field if non-nil, zero value otherwise.
func (o *LoraDevice) GetDevEUIOk() (*string, bool)
GetDevEUIOk returns a tuple with the DevEUI field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetDevEUI(v string)
SetDevEUI sets DevEUI field to given value.
func (o *LoraDevice) GetDeviceStatus() string
GetDeviceStatus returns the DeviceStatus field if non-nil, zero value otherwise.
func (o *LoraDevice) GetDeviceStatusOk() (*string, bool)
GetDeviceStatusOk returns a tuple with the DeviceStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetDeviceStatus(v string)
SetDeviceStatus sets DeviceStatus field to given value.
func (o *LoraDevice) GetEncoding() string
GetEncoding returns the Encoding field if non-nil, zero value otherwise.
func (o *LoraDevice) GetEncodingOk() (*string, bool)
GetEncodingOk returns a tuple with the Encoding field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetEncoding(v string)
SetEncoding sets Encoding field to given value.
func (o *LoraDevice) GetLastActivationTs() string
GetLastActivationTs returns the LastActivationTs field if non-nil, zero value otherwise.
func (o *LoraDevice) GetLastActivationTsOk() (*string, bool)
GetLastActivationTsOk returns a tuple with the LastActivationTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetLastActivationTs(v string)
SetLastActivationTs sets LastActivationTs field to given value.
func (o *LoraDevice) HasLastActivationTs() bool
HasLastActivationTs returns a boolean if a field has been set.
func (o *LoraDevice) GetLastBatteryLevel() int32
GetLastBatteryLevel returns the LastBatteryLevel field if non-nil, zero value otherwise.
func (o *LoraDevice) GetLastBatteryLevelOk() (*int32, bool)
GetLastBatteryLevelOk returns a tuple with the LastBatteryLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetLastBatteryLevel(v int32)
SetLastBatteryLevel sets LastBatteryLevel field to given value.
func (o *LoraDevice) HasLastBatteryLevel() bool
HasLastBatteryLevel returns a boolean if a field has been set.
func (o *LoraDevice) GetLastCommunicationTs() string
GetLastCommunicationTs returns the LastCommunicationTs field if non-nil, zero value otherwise.
func (o *LoraDevice) GetLastCommunicationTsOk() (*string, bool)
GetLastCommunicationTsOk returns a tuple with the LastCommunicationTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetLastCommunicationTs(v string)
SetLastCommunicationTs sets LastCommunicationTs field to given value.
func (o *LoraDevice) HasLastCommunicationTs() bool
HasLastCommunicationTs returns a boolean if a field has been set.
func (o *LoraDevice) GetLastDeactivationTs() string
GetLastDeactivationTs returns the LastDeactivationTs field if non-nil, zero value otherwise.
func (o *LoraDevice) GetLastDeactivationTsOk() (*string, bool)
GetLastDeactivationTsOk returns a tuple with the LastDeactivationTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetLastDeactivationTs(v string)
SetLastDeactivationTs sets LastDeactivationTs field to given value.
func (o *LoraDevice) HasLastDeactivationTs() bool
HasLastDeactivationTs returns a boolean if a field has been set.
func (o *LoraDevice) GetLastDlFcnt() int32
GetLastDlFcnt returns the LastDlFcnt field if non-nil, zero value otherwise.
func (o *LoraDevice) GetLastDlFcntOk() (*int32, bool)
GetLastDlFcntOk returns a tuple with the LastDlFcnt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetLastDlFcnt(v int32)
SetLastDlFcnt sets LastDlFcnt field to given value.
func (o *LoraDevice) HasLastDlFcnt() bool
HasLastDlFcnt returns a boolean if a field has been set.
func (o *LoraDevice) GetLastSignalLevel() int32
GetLastSignalLevel returns the LastSignalLevel field if non-nil, zero value otherwise.
func (o *LoraDevice) GetLastSignalLevelOk() (*int32, bool)
GetLastSignalLevelOk returns a tuple with the LastSignalLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetLastSignalLevel(v int32)
SetLastSignalLevel sets LastSignalLevel field to given value.
func (o *LoraDevice) HasLastSignalLevel() bool
HasLastSignalLevel returns a boolean if a field has been set.
func (o *LoraDevice) GetLastUlFcnt() int32
GetLastUlFcnt returns the LastUlFcnt field if non-nil, zero value otherwise.
func (o *LoraDevice) GetLastUlFcntOk() (*int32, bool)
GetLastUlFcntOk returns a tuple with the LastUlFcnt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetLastUlFcnt(v int32)
SetLastUlFcnt sets LastUlFcnt field to given value.
func (o *LoraDevice) HasLastUlFcnt() bool
HasLastUlFcnt returns a boolean if a field has been set.
func (o *LoraDevice) GetLocation() LoraDeviceLocation
GetLocation returns the Location field if non-nil, zero value otherwise.
func (o *LoraDevice) GetLocationOk() (*LoraDeviceLocation, bool)
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetLocation(v LoraDeviceLocation)
SetLocation sets Location field to given value.
func (o *LoraDevice) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *LoraDevice) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *LoraDevice) 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 *LoraDevice) SetName(v string)
SetName sets Name field to given value.
func (o *LoraDevice) GetProfile() string
GetProfile returns the Profile field if non-nil, zero value otherwise.
func (o *LoraDevice) GetProfileOk() (*string, bool)
GetProfileOk returns a tuple with the Profile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetProfile(v string)
SetProfile sets Profile field to given value.
func (o *LoraDevice) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *LoraDevice) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *LoraDevice) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *LoraDevice) GetUpdateTs() string
GetUpdateTs returns the UpdateTs field if non-nil, zero value otherwise.
func (o *LoraDevice) GetUpdateTsOk() (*string, bool)
GetUpdateTsOk returns a tuple with the UpdateTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoraDevice) SetUpdateTs(v string)
SetUpdateTs sets UpdateTs field to given value.
func (o *LoraDevice) HasUpdateTs() bool
HasUpdateTs returns a boolean if a field has been set.