Sha256: 16f2689c73ef751ddb3cce01b5f834797ca1b2e6d313a9c70916971078fe7b15
Contents?: true
Size: 902 Bytes
Versions: 5
Compression:
Stored size: 902 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 < Message 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 :tid, Types::UUID attribute :bid, Types::UUID attribute :timestamp, Types::Timestamp attribute :_method, Types::String.enum("offline_map_get") attribute :data do attribute :result, Types::ResultCode end end end end
Version data entries
5 entries across 5 versions & 1 rubygems