Class: Azure::Security::Mgmt::V2020_08_06_preview::Models::MacAddress
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_08_06_preview::Models::MacAddress
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-08-06-preview/generated/azure_mgmt_security/models/mac_address.rb
Overview
MAC Address information
Instance Attribute Summary collapse
-
#address ⇒ String
MAC address.
-
#detection_time ⇒ DateTime
Detection time of the mac address.
-
#relation_to_ip_status ⇒ RelationToIpStatus
to the ip address is certain or a guess.
-
#significance ⇒ MacSignificance
secondary MAC address of the device.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MacAddress class as Ruby Hash.
Instance Attribute Details
#address ⇒ String
Returns MAC address.
16 17 18 |
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/mac_address.rb', line 16 def address @address end |
#detection_time ⇒ DateTime
Returns Detection time of the mac address.
19 20 21 |
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/mac_address.rb', line 19 def detection_time @detection_time end |
#relation_to_ip_status ⇒ RelationToIpStatus
to the ip address is certain or a guess. Possible values include: ‘Guess’, ‘Certain’
29 30 31 |
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/mac_address.rb', line 29 def relation_to_ip_status @relation_to_ip_status end |
#significance ⇒ MacSignificance
secondary MAC address of the device. Possible values include: ‘Primary’, ‘Secondary’
24 25 26 |
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/mac_address.rb', line 24 def significance @significance end |
Class Method Details
.mapper ⇒ Object
Mapper for MacAddress class as Ruby Hash. This will be used for serialization/deserialization.
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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/mac_address.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MacAddress', type: { name: 'Composite', class_name: 'MacAddress', model_properties: { address: { client_side_validation: true, required: false, read_only: true, serialized_name: 'address', type: { name: 'String' } }, detection_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'detectionTime', type: { name: 'DateTime' } }, significance: { client_side_validation: true, required: false, read_only: true, serialized_name: 'significance', type: { name: 'String' } }, relation_to_ip_status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'relationToIpStatus', type: { name: 'String' } } } } } end |