Sha256: 7c8a0ede2ac4fb32131f2e2dd2d2eef4291d9e0fc3c728d79ddcd1f8b3227a3a
Contents?: true
Size: 794 Bytes
Versions: 28
Compression:
Stored size: 794 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product # Cancel wayline task # https://developer.dji.com/doc/cloud-api-tutorial/en/server-api-reference/mqtt/thing-model/gateway/dock/wayline.html#cancel-wayline-task class FlighttaskUndoServicesMessage < ServicesMessage def self.build(flight_ids:, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp) new( bid: bid, tid: tid, timestamp: timestamp, _method: "flighttask_undo", data: { flight_ids: flight_ids } ) end attribute :_method, Types::String.enum("flighttask_undo") attribute :data do attribute :flight_ids, Types::Array.of(Types::String) end end end end
Version data entries
28 entries across 28 versions & 1 rubygems