Sha256: ca6e979150cac252ce14662513249174579540ebfbd98ec959827eaaa0097572
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 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 include Mixins::ResultMessage 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
2 entries across 2 versions & 1 rubygems