Sha256: a4e76bd2fde10441744b80557b2f89a8c1eaaca96001e5d00dc276a8839ddbc3

Contents?: true

Size: 1.76 KB

Versions: 26

Compression:

Stored size: 1.76 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Network::Mgmt::V2018_10_01
  module Models
    #
    # List of properties of the device.
    #
    class DeviceProperties

      include MsRestAzure

      # @return [String] Name of the device Vendor.
      attr_accessor :device_vendor

      # @return [String] Model of the device.
      attr_accessor :device_model

      # @return [Integer] Link speed.
      attr_accessor :link_speed_in_mbps


      #
      # Mapper for DeviceProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DeviceProperties',
          type: {
            name: 'Composite',
            class_name: 'DeviceProperties',
            model_properties: {
              device_vendor: {
                client_side_validation: true,
                required: false,
                serialized_name: 'deviceVendor',
                type: {
                  name: 'String'
                }
              },
              device_model: {
                client_side_validation: true,
                required: false,
                serialized_name: 'deviceModel',
                type: {
                  name: 'String'
                }
              },
              link_speed_in_mbps: {
                client_side_validation: true,
                required: false,
                serialized_name: 'linkSpeedInMbps',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
azure_mgmt_network2-0.27.0 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network2-0.26.1 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.26.1 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.26.0 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.25.0 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.24.1 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.24.0 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.23.4 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.23.3 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.23.2 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.23.1 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.23.0 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.22.0 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.21.0 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.20.0 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.19.1 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.19.0 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.18.9 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.18.8 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb
azure_mgmt_network-0.18.7 lib/2018-10-01/generated/azure_mgmt_network/models/device_properties.rb