Sha256: db7fff8d6b6e17a9cc333c52339c9ef56461ab31d96e8b948b9c2c596e426e45
Contents?: true
Size: 1.31 KB
Versions: 28
Compression:
Stored size: 1.31 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/log.html#inform-of-file-uploading-progress class FileuploadProgressEventsMessage < EventsMessage attribute :_method, Types::String.enum("fileupload_progress") attribute :data do attribute :output do attribute :ext do attribute :files, Types::Array do # {"0":"Aircraft","3":"DJI Dock"} attribute :module, Types::Coercible::Integer.enum(0, 3) attribute :size, Types::Integer attribute :device_sn, Types::String attribute :key, Types::String attribute? :fingerprint, Types::String attribute :progress do attribute :current_step, Types::Integer attribute? :total_step, Types::Integer attribute :progress, Types::Integer attribute? :finish_time, Types::Timestamp attribute :upload_rate, Types::Integer attribute? :result, Types::Integer attribute :status, Types::String end end end attribute :status, Types::String end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems