# 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::Policy::Mgmt::V2019_09_01
  module Models
    #
    # The policy definition group.
    #
    class PolicyDefinitionGroup

      include MsRestAzure

      # @return [String] The name of the group.
      attr_accessor :name

      # @return [String] The group's display name.
      attr_accessor :display_name

      # @return [String] The group's category.
      attr_accessor :category

      # @return [String] The group's description.
      attr_accessor :description

      # @return [String] A resource ID of a resource that contains additional
      # metadata about the group.
      attr_accessor :additional_metadata_id


      #
      # Mapper for PolicyDefinitionGroup class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PolicyDefinitionGroup',
          type: {
            name: 'Composite',
            class_name: 'PolicyDefinitionGroup',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              display_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'displayName',
                type: {
                  name: 'String'
                }
              },
              category: {
                client_side_validation: true,
                required: false,
                serialized_name: 'category',
                type: {
                  name: 'String'
                }
              },
              description: {
                client_side_validation: true,
                required: false,
                serialized_name: 'description',
                type: {
                  name: 'String'
                }
              },
              additional_metadata_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'additionalMetadataId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
