Sha256: 3c2b2100bfac9f0199c7fb2065dfc9f63d903ff932fec2b5b6a7e2bfeb1c8f41
Contents?: true
Size: 841 Bytes
Versions: 5
Compression:
Stored size: 841 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product # https://developer.dji.com/doc/cloud-api-tutorial/en/faq.html#why-does-the-third-party-platform-experience-prolonged-wait-time-when-executing-one-key-takeoff-or-wayline-missions-on-the-dock class OfflineMapGetRequestsReplyMessage < RequestsReplyMessage def self.build_for(offline_map_get, result: 0) new( _method: offline_map_get._method, data: { result: result }, tid: offline_map_get.tid, bid: offline_map_get.bid, timestamp: current_timestamp ) end attribute :_method, Types::String.enum("offline_map_get") attribute :data do include Mixins::ResultMessage attribute :result, Types::ResultCode end end end end
Version data entries
5 entries across 5 versions & 1 rubygems