# 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 # # The information type. # class InformationType include MsRestAzure # @return [String] The name of the information type. attr_accessor :display_name # @return [String] The description of the information type. attr_accessor :description # @return [Integer] The order of the information type. attr_accessor :order # @return The recommended label id to be associated with this information # type. attr_accessor :recommended_label_id # @return [Boolean] Indicates whether the information type is enabled or # not. attr_accessor :enabled # @return [Boolean] Indicates whether the information type is custom or # not. attr_accessor :custom # @return [Array] The information type # keywords. attr_accessor :keywords # # Mapper for InformationType class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'InformationType', type: { name: 'Composite', class_name: 'InformationType', model_properties: { display_name: { client_side_validation: true, required: false, serialized_name: 'displayName', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } }, order: { client_side_validation: true, required: false, serialized_name: 'order', type: { name: 'Number' } }, recommended_label_id: { client_side_validation: true, required: false, serialized_name: 'recommendedLabelId', type: { name: 'String' } }, enabled: { client_side_validation: true, required: false, serialized_name: 'enabled', type: { name: 'Boolean' } }, custom: { client_side_validation: true, required: false, serialized_name: 'custom', type: { name: 'Boolean' } }, keywords: { client_side_validation: true, required: false, serialized_name: 'keywords', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'InformationProtectionKeywordElementType', type: { name: 'Composite', class_name: 'InformationProtectionKeyword' } } } } } } } end end end end