Class: DjiMqttConnect::Thing::Product::SimSlotSwitchServicesMessage
- Inherits:
-
ServicesMessage
- Object
- Dry::Struct
- Message
- ServicesMessage
- DjiMqttConnect::Thing::Product::SimSlotSwitchServicesMessage
- Defined in:
- lib/dji_mqtt_connect/messages/thing/product/services/sim_slot_switch.rb
Overview
Constant Summary collapse
- SIM_SLOT_PHYSICAL =
1- SIM_SLOT_ESIM =
2
Class Method Summary collapse
Methods inherited from ServicesMessage
#flight_ids, #humanized_summary, #humanized_summary_interpolation
Methods inherited from Message
current_timestamp, generate_bid, generate_tid, #to_s
Class Method Details
.build(data:, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp) ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/dji_mqtt_connect/messages/thing/product/services/sim_slot_switch.rb', line 11 def self.build(data:, bid: generate_bid, tid: generate_tid, timestamp: ) new( bid: bid, tid: tid, data: data, timestamp: , _method: "sim_slot_switch" ) end |