Sha256: d44c19f6ec9993e33eebd5b12876eea1cea3d2f1e9346f671752de0b87ed3dbe
Contents?: true
Size: 848 Bytes
Versions: 12
Compression:
Stored size: 848 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Sys::Product class UpdateTopoStatusReplyMessage < Message # Builds a reply for an update_topo status message # a result of 0 means we approve of this action def self.build_for(update_topo_status_message, result: 0) new( _method: update_topo_status_message._method, tid: update_topo_status_message.tid, bid: update_topo_status_message.bid, timestamp: current_timestamp, data: { result: result } ) end attribute :_method, Types::String.enum("update_topo") attribute :tid, Types::UUID attribute :bid, Types::UUID attribute :timestamp, Types::Timestamp attribute :data do attribute :result, Types::Integer end end end end
Version data entries
12 entries across 12 versions & 1 rubygems