# 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::Authorization::Mgmt::V2018_07_01_preview
  module Models
    #
    # Deny Assignments filter
    #
    class DenyAssignmentFilter

      include MsRestAzure

      # @return [String] Return deny assignment with specified name.
      attr_accessor :deny_assignment_name

      # @return [String] Return all deny assignments where the specified
      # principal is listed in the principals list of deny assignments.
      attr_accessor :principal_id

      # @return [String] Return all deny assignments where the specified
      # principal is listed either in the principals list or exclude principals
      # list of deny assignments.
      attr_accessor :gdpr_export_principal_id


      #
      # Mapper for DenyAssignmentFilter class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DenyAssignmentFilter',
          type: {
            name: 'Composite',
            class_name: 'DenyAssignmentFilter',
            model_properties: {
              deny_assignment_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'denyAssignmentName',
                type: {
                  name: 'String'
                }
              },
              principal_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'principalId',
                type: {
                  name: 'String'
                }
              },
              gdpr_export_principal_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'gdprExportPrincipalId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
