# 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::ADHybridHealthService::Mgmt::V2014_01_01
  module Models
    #
    # The bad password login attempt details.
    #
    class ErrorReportUsersEntry

      include MsRestAzure

      # @return [String] The user ID value.
      attr_accessor :user_id

      # @return [String] The Ip address corresponding to the last error event.
      attr_accessor :ip_address

      # @return [DateTime] The date and time when the last error event was
      # logged.
      attr_accessor :last_updated

      # @return [String] The list of unique IP addresses.
      attr_accessor :unique_ip_addresses

      # @return [Integer] The total count of specific error events.
      attr_accessor :total_error_attempts


      #
      # Mapper for ErrorReportUsersEntry class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ErrorReportUsersEntry',
          type: {
            name: 'Composite',
            class_name: 'ErrorReportUsersEntry',
            model_properties: {
              user_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'userId',
                type: {
                  name: 'String'
                }
              },
              ip_address: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ipAddress',
                type: {
                  name: 'String'
                }
              },
              last_updated: {
                client_side_validation: true,
                required: false,
                serialized_name: 'lastUpdated',
                type: {
                  name: 'DateTime'
                }
              },
              unique_ip_addresses: {
                client_side_validation: true,
                required: false,
                serialized_name: 'uniqueIpAddresses',
                type: {
                  name: 'String'
                }
              },
              total_error_attempts: {
                client_side_validation: true,
                required: false,
                serialized_name: 'totalErrorAttempts',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
