Sha256: 6725daedd1f4dd3233cbab7ddecce0393f74c9995e671c5c8f4eb089f775e2c3
Contents?: true
Size: 1.2 KB
Versions: 12
Compression:
Stored size: 1.2 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 attribute :result, Types::Integer 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
12 entries across 12 versions & 1 rubygems