Sha256: 27d957225b5a759ef618b4a4191092bdd95f51829ab62e004a4faa4134e7e3da

Contents?: true

Size: 630 Bytes

Versions: 8

Compression:

Stored size: 630 Bytes

Contents

# frozen_string_literal: true

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

      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/cover_open.rb
dji_mqtt_connect-0.1.16.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/cover_open.rb
dji_mqtt_connect-0.1.16 lib/dji_mqtt_connect/messages/thing/product/services_reply/cover_open.rb
dji_mqtt_connect-0.1.15.2 lib/dji_mqtt_connect/messages/thing/product/services_reply/cover_open.rb
dji_mqtt_connect-0.1.15.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/cover_open.rb
dji_mqtt_connect-0.1.15 lib/dji_mqtt_connect/messages/thing/product/services_reply/cover_open.rb
dji_mqtt_connect-0.1.14.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/cover_open.rb
dji_mqtt_connect-0.1.14 lib/dji_mqtt_connect/messages/thing/product/services_reply/cover_open.rb