Sha256: c3576198c904b620e36df4c4bb28d6532b5ae14e32d6bdb8b83b630ff766277b

Contents?: true

Size: 917 Bytes

Versions: 3

Compression:

Stored size: 917 Bytes

Contents

# frozen_string_literal: true

module DjiMqttConnect
  module Thing::Product
    # https://developer.dji.com/doc/cloud-api-tutorial/en/server-api-reference/mqtt/thing-model/gateway/dock/organization.html#device-bind-to-organization
    class AirportOrganizationBindRequestsMessage < RequestsMessage
      attribute :_method, Types::String.enum("airport_organization_bind")

      attribute :data do
        attribute :bind_devices, Types::Array do
          attribute :device_binding_code, Types::String | Types::Nil
          attribute :organization_id, Types::String | Types::Nil
          attribute :device_callsign, Types::String | Types::Nil
          attribute :sn, Types::String | Types::Nil
          attribute :device_model_key, Types::String
          attribute :device_nonce, Types::String | Types::Nil
          attribute :device_secret, Types::String | Types::Nil
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.24.1 lib/dji_mqtt_connect/messages/thing/product/requests/airport_organization_bind.rb
dji_mqtt_connect-0.1.24 lib/dji_mqtt_connect/messages/thing/product/requests/airport_organization_bind.rb
dji_mqtt_connect-0.1.23.3 lib/dji_mqtt_connect/messages/thing/product/requests/airport_organization_bind.rb