# 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::V2019_01_01 module Models # # Changing set of properties depending on the entity type. # class AlertEntity include MsRestAzure # @return Unmatched properties from the message are deserialized this # collection attr_accessor :additional_properties # @return [String] Type of entity attr_accessor :type # # Mapper for AlertEntity class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AlertEntity', type: { name: 'Composite', class_name: 'AlertEntity', model_properties: { additional_properties: { client_side_validation: true, required: false, type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end end end end