Class: Azure::Network::Mgmt::V2019_11_01::Models::DeviceProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/device_properties.rb

Overview

List of properties of the device.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#device_modelString

Returns Model of the device.

Returns:

  • (String)

    Model of the device.


19
20
21
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/device_properties.rb', line 19

def device_model
  @device_model
end

#device_vendorString

Returns Name of the device Vendor.

Returns:

  • (String)

    Name of the device Vendor.


16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/device_properties.rb', line 16

def device_vendor
  @device_vendor
end

Returns Link speed.

Returns:

  • (Integer)

    Link speed.


22
23
24
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/device_properties.rb', line 22

def link_speed_in_mbps
  @link_speed_in_mbps
end

Class Method Details

.mapperObject

Mapper for DeviceProperties class as Ruby Hash. This will be used for serialization/deserialization.


29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/device_properties.rb', line 29

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