Sha256: 78cd7086e2f8f62395e369e67acc6dbd62645f3843ab06342d4d789a7cf84981
Contents?: true
Size: 904 Bytes
Versions: 30
Compression:
Stored size: 904 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class ConfigRequestsReplyMessage < Message def self.build_for(config_request_message, data:) new( _method: config_request_message._method, data: data, tid: config_request_message.tid, bid: config_request_message.bid, timestamp: current_timestamp, gateway: config_request_message.gateway ) end attribute :tid, Types::UUID attribute :bid, Types::UUID attribute :timestamp, Types::Timestamp attribute :gateway, Types::String attribute :_method, Types::String.enum("config") attribute :data do attribute :ntp_server_host, Types::String attribute :app_id, Types::String attribute :app_key, Types::String attribute :app_license, Types::String end end end end
Version data entries
30 entries across 30 versions & 1 rubygems