# 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::V2017_08_01_preview module Models # # A List custom alert rule. # class ListCustomAlertRule < CustomAlertRule include MsRestAzure def initialize @ruleType = "ListCustomAlertRule" end attr_accessor :ruleType # @return [ValueType] The value type of the items in the list. Possible # values include: 'IpCidr', 'String' attr_accessor :value_type # # Mapper for ListCustomAlertRule class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ListCustomAlertRule', type: { name: 'Composite', class_name: 'ListCustomAlertRule', model_properties: { display_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'displayName', type: { name: 'String' } }, description: { client_side_validation: true, required: false, read_only: true, serialized_name: 'description', type: { name: 'String' } }, is_enabled: { client_side_validation: true, required: true, serialized_name: 'isEnabled', type: { name: 'Boolean' } }, ruleType: { client_side_validation: true, required: true, serialized_name: 'ruleType', type: { name: 'String' } }, value_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'valueType', type: { name: 'String' } } } } } end end end end