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