Sha256: 72bda45b7afcbe053083139c61f55a0336911c8dfecebb2cb7c861ff63755094

Contents?: true

Size: 680 Bytes

Versions: 20

Compression:

Stored size: 680 Bytes

Contents

# frozen_string_literal: true

module DjiMqttConnect
  module Thing::Product
    class ReturnHomeServicesReplyMessage < ServicesReplyMessage
      attribute :_method, Types::String.enum("return_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

20 entries across 20 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.25.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.25 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.24.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.24 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.23.3 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.23.2 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.23.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.23 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.22.2 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.22.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.22 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.21 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.20.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.20 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.19.2 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.19.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.19 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.18 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.17.1 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
dji_mqtt_connect-0.1.17 lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb