Sha256: 24cf85c31916d636d502c7f44bb02a6ec80285774794de5f9d2a0ba6f5c0ffaa

Contents?: true

Size: 648 Bytes

Versions: 2

Compression:

Stored size: 648 Bytes

Contents

# frozen_string_literal: true

module DjiMqttConnect
  module Thing::Product
    class TakeoffToPointProgressEventsMessage < EventsMessage
      attribute :_method, Types::String.enum("takeoff_to_point_progress")

      attribute :data do
        include Mixins::ResultMessage

        attribute :result, Types::ResultCode

        attribute :flight_id, Types::String
        attribute :remaining_distance, Types::Integer
        attribute :remaining_time, Types::Integer
        attribute :status, Types::String
        attribute :track_id, Types::String | Types::Nil
        attribute :way_point_index, Types::Integer
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.24.1 lib/dji_mqtt_connect/messages/thing/product/events/takeoff_to_point_progress.rb
dji_mqtt_connect-0.1.24 lib/dji_mqtt_connect/messages/thing/product/events/takeoff_to_point_progress.rb