Sha256: a2f2fb2d587402ae0077fb6da1a305a62cf4987c96da58d283c3427c433d5283
Contents?: true
Size: 1.4 KB
Versions: 30
Compression:
Stored size: 1.4 KB
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class FileuploadStartServicesMessage < ServicesMessage def self.build(data:, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp) new( _method: "fileupload_start", bid: bid, tid: tid, timestamp: timestamp, data: data ) end attribute :_method, Types::String.enum("fileupload_start") attribute :data do attribute :endpoint, Types::String attribute :bucket, Types::String attribute :region, 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 :params do attribute :files, Types::Array do attribute :list, Types::Array do attribute :boot_index, Types::Integer attribute :end_time, Types::Timestamp attribute :size, Types::Integer attribute :start_time, Types::Timestamp end attribute :module, Types::Coercible::String.enum("0", "3") attribute :object_key, Types::String end end attribute :provider, Types::String end end end end
Version data entries
30 entries across 30 versions & 1 rubygems