Sha256: 747dabcffefe3d1bd25e1dec6c75b194c3196f5f38642e84964a81863f4c02d0
Contents?: true
Size: 1.21 KB
Versions: 16
Compression:
Stored size: 1.21 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: Time.now.strftime("%s%L").to_i, 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
16 entries across 16 versions & 1 rubygems