Sha256: 1175794ffd4a25bbdd7b9690d91ff3c3f509ca0cf155aa7cfeb638e28034aed7

Contents?: true

Size: 770 Bytes

Versions: 2

Compression:

Stored size: 770 Bytes

Contents

# frozen_string_literal: true

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

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

        attribute :output do
          # {"sent":"sent","in_progress":"in progress","ok":"success","paused":"paused","rejected":"rejected","failed":"failed","canceled":"canceled or stopped","timeout":"timeout"}
          attribute :status, Types::String.enum(
            "sent",
            "in_progress",
            "ok",
            "paused",
            "rejected",
            "failed",
            "canceled",
            "timeout"
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.13.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/debug_mode_close.rb
dji_mqtt_connect-0.1.13 lib/dji_mqtt_connect/messages/thing/product/services_reply/debug_mode_close.rb