Sha256: 15653ee36997a2b0fdb0b46de630db1f4043b3442dba80ffd2cec53c000b3e61

Contents?: true

Size: 697 Bytes

Versions: 2

Compression:

Stored size: 697 Bytes

Contents

# frozen_string_literal: true

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

      attribute :data do
        include Mixins::ResultMessage

        attribute :result, Types::ResultCode

        attribute? :output do
          include Mixins::ServicesOutputStatusChecks

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.25.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_specific_home.rb
dji_mqtt_connect-0.1.25 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_specific_home.rb