Sha256: f69ce084a4f01ef3a0e73d7119e7505b01a360588f076a23a96ef2e04733e6e5
Contents?: true
Size: 1.08 KB
Versions: 12
Compression:
Stored size: 1.08 KB
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product # https://developer.dji.com/doc/cloud-api-tutorial/en/server-api-reference/mqtt/thing-model/gateway/dock/organization.html#search-for-the-organization-information-that-device-bound-to class AirportOrganizationGetRequestsReplyMessage < Message def self.build_for(airport_organization_get_message, output:, result: 0) new( _method: airport_organization_get_message._method, tid: airport_organization_get_message.tid, bid: airport_organization_get_message.bid, timestamp: current_timestamp, data: { result: result, output: output } ) end attribute :tid, Types::UUID attribute :bid, Types::UUID attribute :timestamp, Types::Timestamp attribute :_method, Types::String.enum("airport_organization_get") attribute :data do attribute :result, Types::Integer attribute :output do attribute :organization_name, Types::String end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems