Sha256: e852940a6c35ac1b1dcb78eab157eb7e3c9dade29bf15c309cbe2e6a00900353
Contents?: true
Size: 890 Bytes
Versions: 18
Compression:
Stored size: 890 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 include Mixins::ResultMessage attribute :result, Types::ResultCode end end end end
Version data entries
18 entries across 18 versions & 1 rubygems