Sha256: 9571a111227268ad8032e668e73b2abc6e60f76ef49a42917761b700a361dde9

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 Bytes

Contents

# frozen_string_literal: true

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

      attribute :data do
        attribute :flight_id, Types::FlightID
      end

      # All the flight IDs in the message
      def flight_ids
        [data.flight_id]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.25.1 lib/dji_mqtt_connect/messages/thing/product/events/highest_priority_upload_flighttask_media.rb
dji_mqtt_connect-0.1.25 lib/dji_mqtt_connect/messages/thing/product/events/highest_priority_upload_flighttask_media.rb