Sha256: 7a7e079a7e149c362ded1d498f30433a07be6acda12fedc2cd46bcf4c9595788
Contents?: true
Size: 1.41 KB
Versions: 9
Compression:
Stored size: 1.41 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 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 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