Sha256: 3fff0a0005dd25a7aa3045c10e38eee19267e8e690cd666eee667bc6ec4aa49c
Contents?: true
Size: 1.18 KB
Versions: 14
Compression:
Stored size: 1.18 KB
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/custom_fly_area.html#get-custom-flight-area-file class FlightAreasGetRequestsReplyMessage < Message def self.build_for(flight_areas_get, files:, result: 0) new( _method: flight_areas_get._method, data: { result: result, output: { files: files } }, tid: flight_areas_get.tid, bid: flight_areas_get.bid, timestamp: current_timestamp ) end attribute :tid, Types::UUID attribute :bid, Types::UUID attribute :timestamp, Types::Timestamp attribute :_method, Types::String.enum("flight_areas_get") attribute :data do attribute :result, Types::ResultCode attribute :output do attribute :files, Types::Array do attribute :name, Types::String attribute :url, Types::String attribute :checksum, Types::String attribute :size, Types::Integer end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems