Sha256: 9a49683c97787cadeae24224f6236192172b02b4689d2f847cb465684f5f029f
Contents?: true
Size: 1.5 KB
Versions: 18
Compression:
Stored size: 1.5 KB
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product # https://developer.dji.com/doc/cloud-api-tutorial/en/server-api-reference/mqtt/thing-model/gateway/dock/file.html#obtain-upload-temporary-credentials class StorageConfigGetRequestsReplyMessage < Message def self.build_for(storage_config_get_message, output:, result: 0) new( _method: storage_config_get_message._method, tid: storage_config_get_message.tid, bid: storage_config_get_message.bid, timestamp: current_timestamp, data: { result: result, output: output } ) end attribute :tid, Types::UUID attribute :bid, Types::UUID attribute :timestamp, Types::Timestamp attribute :_method, Types::String.enum("storage_config_get") attribute :data do include Mixins::ResultMessage attribute :result, Types::ResultCode attribute :output do attribute :bucket, Types::String attribute :credentials do attribute :access_key_id, Types::String attribute :access_key_secret, Types::String attribute :expire, Types::Integer.constrained(gt: 0) attribute :security_token, Types::String end attribute :endpoint, Types::String attribute :provider, Types::String attribute :region, Types::String attribute :object_key_prefix, Types::String end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems