# 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::Security::Mgmt::V2020_08_06_preview module Models # # MAC Address information # class MacAddress include MsRestAzure # @return [String] MAC address attr_accessor :address # @return [DateTime] Detection time of the mac address. attr_accessor :detection_time # @return [MacSignificance] Indicates whether this is the primary # secondary MAC address of the device. Possible values include: # 'Primary', 'Secondary' attr_accessor :significance # @return [RelationToIpStatus] Indicates whether the relation of the mac # to the ip address is certain or a guess. Possible values include: # 'Guess', 'Certain' attr_accessor :relation_to_ip_status # # Mapper for MacAddress class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end