class Azure::Security::Mgmt::V2017_08_01_preview::Models::InformationType

The information type.

Attributes

custom[RW]

@return [Boolean] Indicates whether the information type is custom or not.

description[RW]

@return [String] The description of the information type.

display_name[RW]

@return [String] The name of the information type.

enabled[RW]

@return [Boolean] Indicates whether the information type is enabled or not.

keywords[RW]

@return [Array<InformationProtectionKeyword>] The information type keywords.

order[RW]

@return [Integer] The order of the information type.

Private Class Methods

mapper() click to toggle source

Mapper for InformationType class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_type.rb, line 45
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