Sha256: 375957773d2c1a641748c98950d6d09153f8dd77b307ba1dfcd206bec7db3dec
Contents?: true
Size: 1.43 KB
Versions: 9
Compression:
Stored size: 1.43 KB
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class FileUploadCallbackEventsMessage < EventsMessage attribute :_method, Types::String.enum("file_upload_callback") attribute :data do include Mixins::ResultMessage attribute :result, Types::ResultCode attribute :file do attribute :object_key, Types::String attribute :path, Types::String | Types::Nil attribute :name, Types::String attribute :ext do attribute :flight_id, Types::String attribute :drone_model_key, Types::String attribute :payload_model_key, Types::String # {"0":"No","1":"Yes"} attribute :is_original, Types::Bool end attribute :metadata do attribute :gimbal_yaw_degree, Types::JSON::Decimal attribute :absolute_altitude, Types::JSON::Decimal attribute :relative_altitude, Types::JSON::Decimal attribute :created_time, Types::JSON::DateTime | Types::Nil attribute :shoot_position do include Mixins::LatitudeConditional include Mixins::LongitudeConditional attribute :lat, Types::Latitude attribute :lng, Types::Longitude alias_method :latitude, :lat alias_method :longitude, :lng end end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems