Gateway models
Request and response types for the Gateway API.
models
Classes:
-
Coordinates– -
CreateGatewaysResponse– -
GatewayActivationInfo– -
GatewayCreate– -
GatewayCreateResponse– -
GatewayDevice– -
GatewayDeviceResponse– -
GatewayError– -
GatewayEvent– -
GatewayEventField– -
GatewayEventsResponse– -
GatewayGpsSyncStatus– -
GatewayInstance– -
GatewayIsmBand– -
GatewayLocationType– -
GatewayPatch– -
GatewayStatistics– -
GatewayTimeSyncStatus– -
GatewayUpdate– -
GatewaysConnectionResponse– -
GatewaysHealthResponse– -
InterfaceState– -
InterfaceStatistics– -
LocationType– -
MachineqapiGatewayConnectionState– -
MachineqapiGatewayHealthState– -
MachineqapiGatewayManufacturer– -
MachineqapiGatewayResponse–
Coordinates
CreateGatewaysResponse
GatewayActivationInfo
GatewayCreate
Bases: BaseModelWithConfig
Attributes:
-
ICCID(str | None) –ICCID for cellular backhaul. This field is optional if CellularEnabled is true. <20 digit number>.
-
IMEI(str | None) –IMEI for cellular backhaul. This field is optional if CellularEnabled is true.
-
antenna_gain(str) – -
cellular_enabled(bool | None) – -
coordinates(Coordinates) – -
gateway_profile(str) – -
gps_enabled(bool | None) – -
location_type(LocationType) – -
mac_address(str) – -
name(str) – -
node_id(str) –
ICCID
class-attribute
instance-attribute
ICCID: str | None = Field(
default=None,
serialization_alias="ICCID",
validation_alias="ICCID",
max_length=20,
min_length=20,
)
ICCID for cellular backhaul. This field is optional if CellularEnabled is true. <20 digit number>.
IMEI
class-attribute
instance-attribute
IMEI: str | None = None
IMEI for cellular backhaul. This field is optional if CellularEnabled is true. <15 digit numbers, multiple entries separated by a comma> (eg. "123451234512345,123451234512345").
gps_enabled
class-attribute
instance-attribute
gps_enabled: bool | None = Field(
default=None, alias="GPSEnabled"
)
GatewayCreateResponse
GatewayDevice
Bases: BaseModelWithConfig
Attributes:
-
deveui(str) – -
last_uplink(datetime) – -
name(str) – -
statistics(str) –
GatewayDeviceResponse
GatewayError
GatewayEvent
GatewayEventField
Attributes:
-
BACKHAUL– -
BACKHAUL_CONNECTED– -
BACKHAUL_DISCONNECTED– -
NS_CONNECT– -
ONLINE_STATUS– -
PACKET_FORWARDER– -
PACKET_FORWARDER_CONNECTED– -
PACKET_FORWARDER_DISCONNECTED– -
PUSH_RF_CONFIG– -
REBOOT_TIME– -
UNKNOWN–
BACKHAUL
class-attribute
instance-attribute
BACKHAUL = 'BACKHAUL'
BACKHAUL_CONNECTED
class-attribute
instance-attribute
BACKHAUL_CONNECTED = 'BACKHAUL_CONNECTED'
BACKHAUL_DISCONNECTED
class-attribute
instance-attribute
BACKHAUL_DISCONNECTED = 'BACKHAUL_DISCONNECTED'
NS_CONNECT
class-attribute
instance-attribute
NS_CONNECT = 'NS_CONNECT'
ONLINE_STATUS
class-attribute
instance-attribute
ONLINE_STATUS = 'ONLINE_STATUS'
PACKET_FORWARDER
class-attribute
instance-attribute
PACKET_FORWARDER = 'PACKET_FORWARDER'
PACKET_FORWARDER_CONNECTED
class-attribute
instance-attribute
PACKET_FORWARDER_CONNECTED = 'PACKET_FORWARDER_CONNECTED'
PACKET_FORWARDER_DISCONNECTED
class-attribute
instance-attribute
PACKET_FORWARDER_DISCONNECTED = (
"PACKET_FORWARDER_DISCONNECTED"
)
PUSH_RF_CONFIG
class-attribute
instance-attribute
PUSH_RF_CONFIG = 'PUSH_RF_CONFIG'
REBOOT_TIME
class-attribute
instance-attribute
REBOOT_TIME = 'REBOOT_TIME'
UNKNOWN
class-attribute
instance-attribute
UNKNOWN = 'UNKNOWN'
GatewayEventsResponse
GatewayGpsSyncStatus
Attributes:
LOCKED
class-attribute
instance-attribute
LOCKED = 'LOCKED'
LOCKING_OR_NO_SIGNAL
class-attribute
instance-attribute
LOCKING_OR_NO_SIGNAL = 'LOCKING_OR_NO_SIGNAL'
GatewayInstance
Bases: BaseModelWithConfig
Attributes:
-
ICCID(str) – -
IMEI(str) – -
antenna_gain(str) – -
cellular_enabled(bool) – -
coordinates(Coordinates) – -
created_at(datetime) – -
gateway_profile(str) – -
gps_enabled(bool) – -
id(str) – -
location_type(LocationType) – -
mac_address(str) – -
manufacturer(MachineqapiGatewayManufacturer) – -
model(str) – -
name(str) – -
node_id(str) – -
rf_region(str) – -
statistics(GatewayStatistics | None) – -
updated_at(datetime) – -
updated_by(str) –
GatewayIsmBand
Attributes:
AS923
class-attribute
instance-attribute
AS923 = 'AS923'
AU915
class-attribute
instance-attribute
AU915 = 'AU915'
CN470
class-attribute
instance-attribute
CN470 = 'CN470'
CN779
class-attribute
instance-attribute
CN779 = 'CN779'
EU433
class-attribute
instance-attribute
EU433 = 'EU433'
EU868
class-attribute
instance-attribute
EU868 = 'EU868'
IN865
class-attribute
instance-attribute
IN865 = 'IN865'
KR920
class-attribute
instance-attribute
KR920 = 'KR920'
RU864
class-attribute
instance-attribute
RU864 = 'RU864'
SG920
class-attribute
instance-attribute
SG920 = 'SG920'
TW920
class-attribute
instance-attribute
TW920 = 'TW920'
US915
class-attribute
instance-attribute
US915 = 'US915'
GatewayLocationType
Attributes:
LOCATION_ADMINISTRATIVELY
class-attribute
instance-attribute
LOCATION_ADMINISTRATIVELY = 'LOCATION_ADMINISTRATIVELY'
LOCATION_GPS
class-attribute
instance-attribute
LOCATION_GPS = 'LOCATION_GPS'
LOCATION_UNKNOWN
class-attribute
instance-attribute
LOCATION_UNKNOWN = 'LOCATION_UNKNOWN'
GatewayPatch
Bases: BaseModelWithConfig
Attributes:
-
ICCID(str | None) –ICCID for cellular backhaul. This field is optional if CellularEnabled is true. <20 digit number>.
-
IMEI(str | None) –IMEI for cellular backhaul. This field is optional if CellularEnabled is true.
-
antenna_gain(str | None) – -
cellular_enabled(bool | None) – -
coordinates(Coordinates | None) – -
gateway_profile(str | None) – -
gps_enabled(bool | None) – -
location_type(LocationType | None) – -
name(str | None) – -
rf_region(str | None) –
ICCID
class-attribute
instance-attribute
ICCID: str | None = Field(
default=None,
serialization_alias="ICCID",
validation_alias="ICCID",
max_length=20,
min_length=20,
)
ICCID for cellular backhaul. This field is optional if CellularEnabled is true. <20 digit number>.
IMEI
class-attribute
instance-attribute
IMEI: str | None = None
IMEI for cellular backhaul. This field is optional if CellularEnabled is true. <15 digit numbers, multiple entries separated by a comma> (eg. "123451234512345,123451234512345").
gps_enabled
class-attribute
instance-attribute
gps_enabled: bool | None = Field(
default=None, alias="GPSEnabled"
)
GatewayStatistics
Bases: BaseModelWithConfig
Attributes:
-
VSWR(int) – -
cell_provider(str) – -
cell_rssi(int) – -
connection_state(MachineqapiGatewayConnectionState) – -
cpu_percent(int) – -
downlink_packet_per_hour(int) – -
free_mem_kb(int) – -
gps_sync_status(GatewayGpsSyncStatus) – -
health_state(MachineqapiGatewayHealthState) – -
interface_statistics(list[InterfaceStatistics]) – -
is_rx2_activated(bool) – -
ism_band(GatewayIsmBand) – -
last_downlink_time(datetime | None) – -
last_geo_altitude(float) – -
last_geo_latitude(float) – -
last_geo_longitude(float) – -
last_geo_valid(bool) – -
last_reporting_time(datetime | None) – -
last_system_reboot(datetime | None) – -
last_uplink_time(datetime | None) – -
location_type(GatewayLocationType) – -
lrr_cnx(bool) – -
model(str) – -
radio_error(str) – -
rf_region_id(str) – -
secure_backhaul_active(bool) – -
secure_backhaul_enabled(bool) – -
software_version(str) – -
time_sync_status(GatewayTimeSyncStatus) – -
tx_power(int) – -
uplink_packet_per_hour(int) – -
wifi_ssid(str) –
is_rx2_activated
class-attribute
instance-attribute
is_rx2_activated: bool = Field(alias='IsRX2Activated')
GatewayTimeSyncStatus
GatewayUpdate
Bases: BaseModelWithConfig
Attributes:
-
ICCID(str | None) –ICCID for cellular backhaul. This field is optional if CellularEnabled is true. <20 digit number>.
-
IMEI(str | None) –IMEI for cellular backhaul. This field is optional if CellularEnabled is true.
-
antenna_gain(str) – -
cellular_enabled(bool | None) – -
coordinates(Coordinates | None) – -
gateway_profile(str) – -
gps_enabled(bool | None) – -
location_type(LocationType) – -
name(str) –
ICCID
class-attribute
instance-attribute
ICCID: str | None = Field(
default=None,
serialization_alias="ICCID",
validation_alias="ICCID",
max_length=20,
min_length=20,
)
ICCID for cellular backhaul. This field is optional if CellularEnabled is true. <20 digit number>.
IMEI
class-attribute
instance-attribute
IMEI: str | None = None
IMEI for cellular backhaul. This field is optional if CellularEnabled is true. <15 digit numbers, multiple entries separated by a comma> (eg. "123451234512345,123451234512345").
gps_enabled
class-attribute
instance-attribute
gps_enabled: bool | None = Field(
default=None, alias="GPSEnabled"
)
GatewaysConnectionResponse
Bases: BaseModelWithConfig
Attributes:
-
connected(list[GatewayInstance]) – -
disconnected(list[GatewayInstance]) – -
never_connected(list[GatewayInstance]) –
GatewaysHealthResponse
Bases: BaseModelWithConfig
Attributes:
-
active(list[GatewayInstance]) – -
connect_error(list[GatewayInstance]) – -
initializing(list[GatewayInstance]) – -
rf_error(list[GatewayInstance]) –
InterfaceState
Attributes:
-
DOWN– -
IF_UNKNOWN– -
UP_LINKDOWN– -
UP_NETWORKDOWN– -
UP_NOIP– -
UP_NOSIGNAL– -
UP_RUNNING– -
UP_RUNNING_USED–
DOWN
class-attribute
instance-attribute
DOWN = 'DOWN'
IF_UNKNOWN
class-attribute
instance-attribute
IF_UNKNOWN = 'IF_UNKNOWN'
UP_LINKDOWN
class-attribute
instance-attribute
UP_LINKDOWN = 'UP_LINKDOWN'
UP_NETWORKDOWN
class-attribute
instance-attribute
UP_NETWORKDOWN = 'UP_NETWORKDOWN'
UP_NOIP
class-attribute
instance-attribute
UP_NOIP = 'UP_NOIP'
UP_NOSIGNAL
class-attribute
instance-attribute
UP_NOSIGNAL = 'UP_NOSIGNAL'
UP_RUNNING
class-attribute
instance-attribute
UP_RUNNING = 'UP_RUNNING'
UP_RUNNING_USED
class-attribute
instance-attribute
UP_RUNNING_USED = 'UP_RUNNING_USED'
InterfaceStatistics
LocationType
MachineqapiGatewayConnectionState
Attributes:
-
CNX– -
CNX_UNKNOWN– -
DISC– -
NEVERCNX–
CNX
class-attribute
instance-attribute
CNX = 'CNX'
CNX_UNKNOWN
class-attribute
instance-attribute
CNX_UNKNOWN = 'CNX_UNKNOWN'
DISC
class-attribute
instance-attribute
DISC = 'DISC'
NEVERCNX
class-attribute
instance-attribute
NEVERCNX = 'NEVERCNX'
MachineqapiGatewayHealthState
Attributes:
-
ACTIVE– -
BACKHAUL_CNX_ERROR– -
HEALTH_UNKNOWN– -
INIT– -
RF_ERROR–
ACTIVE
class-attribute
instance-attribute
ACTIVE = 'ACTIVE'
BACKHAUL_CNX_ERROR
class-attribute
instance-attribute
BACKHAUL_CNX_ERROR = 'BACKHAUL_CNX_ERROR'
HEALTH_UNKNOWN
class-attribute
instance-attribute
HEALTH_UNKNOWN = 'HEALTH_UNKNOWN'
INIT
class-attribute
instance-attribute
INIT = 'INIT'
RF_ERROR
class-attribute
instance-attribute
RF_ERROR = 'RF_ERROR'
MachineqapiGatewayManufacturer
Attributes:
-
COMCAST– -
MULTITECH– -
TEKTELIC– -
UNKNOWN_MFR–
COMCAST
class-attribute
instance-attribute
COMCAST = 'COMCAST'
MULTITECH
class-attribute
instance-attribute
MULTITECH = 'MULTITECH'
TEKTELIC
class-attribute
instance-attribute
TEKTELIC = 'TEKTELIC'
UNKNOWN_MFR
class-attribute
instance-attribute
UNKNOWN_MFR = 'UNKNOWN_MFR'