Class: DjiMqttConnect::Thing::Product::FileuploadStartServicesMessage
- Inherits:
-
ServicesMessage
- Object
- Dry::Struct
- Message
- ServicesMessage
- DjiMqttConnect::Thing::Product::FileuploadStartServicesMessage
- Defined in:
- lib/dji_mqtt_connect/messages/thing/product/services/fileupload_start.rb
Overview
Requests the upload of the given log files to the provided storage credentials https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/log.html#initiate-the-upload-of-log-files
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
8 9 10 11 12 13 14 15 16 |
# File 'lib/dji_mqtt_connect/messages/thing/product/services/fileupload_start.rb', line 8 def self.build(data:, bid: generate_bid, tid: generate_tid, timestamp: ) new( _method: "fileupload_start", bid: bid, tid: tid, timestamp: , data: data ) end |