Sha256: a3d1cb64447077143e613692d91bdd1a6b3b5e8ef95e38eea53c1a7825e29e9a

Contents?: true

Size: 629 Bytes

Versions: 2

Compression:

Stored size: 629 Bytes

Contents

# frozen_string_literal: true

module DjiMqttConnect
  module Thing::Product
    # Resume wayline task
    # https://developer.dji.com/doc/cloud-api-tutorial/en/server-api-reference/mqtt/thing-model/gateway/dock/wayline.html#resume-wayline-task
    class FlighttaskRecoveryServicesMessage < ServicesMessage
      def self.build(bid: generate_bid, tid: generate_tid, timestamp: current_timestamp)
        new(
          bid: bid,
          tid: tid,
          timestamp: timestamp,
          _method: "flighttask_recovery"
        )
      end

      attribute :_method, Types::String.enum("flighttask_recovery")
    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/services/flighttask_recovery.rb
dji_mqtt_connect-0.1.25 lib/dji_mqtt_connect/messages/thing/product/services/flighttask_recovery.rb