Sha256: 80b8a70e5c7ef3ebcb3be00e059f65d34126fa5fb1d442feb95e7f0cf11432f5
Contents?: true
Size: 800 Bytes
Versions: 2
Compression:
Stored size: 800 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product # Live Stop Push # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock1/live.html class LiveStopPushServicesMessage < ServicesMessage def self.build(data:, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp) new( bid: bid, tid: tid, data: data, timestamp: timestamp, _method: "live_stop_push" ) end attribute :tid, Types::UUID attribute :bid, Types::UUID attribute :timestamp, Types::Timestamp attribute :_method, Types::String.enum("live_stop_push") attribute :data do attribute :video_id, Types::String end end end end
Version data entries
2 entries across 2 versions & 1 rubygems