Sha256: cb9a1f6b26a792a0534fac2a5f332963b14b2eb55e754420cd797c0f4595e428

Contents?: true

Size: 645 Bytes

Versions: 8

Compression:

Stored size: 645 Bytes

Contents

# frozen_string_literal: true

module DjiMqttConnect
  module Thing::Product
    class AlarmStateSwitchServicesReplyMessage < ServicesReplyMessage
      attribute :_method, Types::String.enum("alarm_state_switch")

      attribute :data do
        attribute :result, Types::Integer

        attribute :output do
          include Mixins::ServicesOutputStatusChecks

          # {"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
          attribute :status, Types::ServicesOutputStatus
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.16.2 lib/dji_mqtt_connect/messages/thing/product/services_reply/alarm_state_switch.rb
dji_mqtt_connect-0.1.16.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/alarm_state_switch.rb
dji_mqtt_connect-0.1.16 lib/dji_mqtt_connect/messages/thing/product/services_reply/alarm_state_switch.rb
dji_mqtt_connect-0.1.15.2 lib/dji_mqtt_connect/messages/thing/product/services_reply/alarm_state_switch.rb
dji_mqtt_connect-0.1.15.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/alarm_state_switch.rb
dji_mqtt_connect-0.1.15 lib/dji_mqtt_connect/messages/thing/product/services_reply/alarm_state_switch.rb
dji_mqtt_connect-0.1.14.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/alarm_state_switch.rb
dji_mqtt_connect-0.1.14 lib/dji_mqtt_connect/messages/thing/product/services_reply/alarm_state_switch.rb