Sha256: ead9402224b4f6ec62ffe553f821dc3b716f964707961a41d6a61ab6e902eb99
Contents?: true
Size: 1.24 KB
Versions: 18
Compression:
Stored size: 1.24 KB
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class AirportBindStatusRequestsReplyMessage < Message def self.build_for(airport_bind_status_message, bind_status:, result: 0) new( _method: airport_bind_status_message._method, tid: airport_bind_status_message.tid, bid: airport_bind_status_message.bid, timestamp: current_timestamp, data: { result: result, output: { bind_status: bind_status } } ) end attribute :tid, Types::UUID attribute :bid, Types::UUID attribute :timestamp, Types::Timestamp attribute :_method, Types::String.enum("airport_bind_status") attribute :data do include Mixins::ResultMessage attribute :result, Types::ResultCode attribute :output do attribute :bind_status, Types::Array do attribute :sn, Types::String attribute :is_device_bind_organization, Types::Bool attribute :organization_id, Types::String attribute :organization_name, Types::String attribute :device_callsign, Types::String end end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems