Class: Azure::Network::Mgmt::V2018_08_01::Models::DeviceProperties
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2018_08_01::Models::DeviceProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-08-01/generated/azure_mgmt_network/models/device_properties.rb
Overview
List of properties of the device.
Instance Attribute Summary collapse
-
#device_model ⇒ String
Model of the device.
-
#device_vendor ⇒ String
Name of the device Vendor.
-
#link_speed_in_mbps ⇒ Integer
Link speed.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeviceProperties class as Ruby Hash.
Instance Attribute Details
#device_model ⇒ String
Returns Model of the device.
19 20 21 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/device_properties.rb', line 19 def device_model @device_model end |
#device_vendor ⇒ String
Returns Name of the device Vendor.
16 17 18 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/device_properties.rb', line 16 def device_vendor @device_vendor end |
#link_speed_in_mbps ⇒ Integer
Returns Link speed.
22 23 24 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/device_properties.rb', line 22 def link_speed_in_mbps @link_speed_in_mbps end |
Class Method Details
.mapper ⇒ Object
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/2018-08-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 |