Record Class NumbersInfo

java.lang.Object
java.lang.Record
org.apache.syncope.common.lib.info.NumbersInfo
All Implemented Interfaces:
Serializable, BaseBean

public record NumbersInfo(long totalUsers, Map<String,Long> usersByRealm, Map<String,Long> usersByStatus, long totalGroups, Map<String,Long> groupsByRealm, String anyType1, long totalAny1, Map<String,Long> any1ByRealm, String anyType2, long totalAny2, Map<String,Long> any2ByRealm, long totalResources, long totalRoles, Map<String,Boolean> confCompleteness) extends Record implements BaseBean
See Also:
  • Constructor Details

    • NumbersInfo

      public NumbersInfo(long totalUsers, Map<String,Long> usersByRealm, Map<String,Long> usersByStatus, long totalGroups, Map<String,Long> groupsByRealm, String anyType1, long totalAny1, Map<String,Long> any1ByRealm, String anyType2, long totalAny2, Map<String,Long> any2ByRealm, long totalResources, long totalRoles, Map<String,Boolean> confCompleteness)
      Creates an instance of a NumbersInfo record class.
      Parameters:
      totalUsers - the value for the totalUsers record component
      usersByRealm - the value for the usersByRealm record component
      usersByStatus - the value for the usersByStatus record component
      totalGroups - the value for the totalGroups record component
      groupsByRealm - the value for the groupsByRealm record component
      anyType1 - the value for the anyType1 record component
      totalAny1 - the value for the totalAny1 record component
      any1ByRealm - the value for the any1ByRealm record component
      anyType2 - the value for the anyType2 record component
      totalAny2 - the value for the totalAny2 record component
      any2ByRealm - the value for the any2ByRealm record component
      totalResources - the value for the totalResources record component
      totalRoles - the value for the totalRoles record component
      confCompleteness - the value for the confCompleteness record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • totalUsers

      public long totalUsers()
      Returns the value of the totalUsers record component.
      Returns:
      the value of the totalUsers record component
    • usersByRealm

      public Map<String,Long> usersByRealm()
      Returns the value of the usersByRealm record component.
      Returns:
      the value of the usersByRealm record component
    • usersByStatus

      public Map<String,Long> usersByStatus()
      Returns the value of the usersByStatus record component.
      Returns:
      the value of the usersByStatus record component
    • totalGroups

      public long totalGroups()
      Returns the value of the totalGroups record component.
      Returns:
      the value of the totalGroups record component
    • groupsByRealm

      public Map<String,Long> groupsByRealm()
      Returns the value of the groupsByRealm record component.
      Returns:
      the value of the groupsByRealm record component
    • anyType1

      public String anyType1()
      Returns the value of the anyType1 record component.
      Returns:
      the value of the anyType1 record component
    • totalAny1

      public long totalAny1()
      Returns the value of the totalAny1 record component.
      Returns:
      the value of the totalAny1 record component
    • any1ByRealm

      public Map<String,Long> any1ByRealm()
      Returns the value of the any1ByRealm record component.
      Returns:
      the value of the any1ByRealm record component
    • anyType2

      public String anyType2()
      Returns the value of the anyType2 record component.
      Returns:
      the value of the anyType2 record component
    • totalAny2

      public long totalAny2()
      Returns the value of the totalAny2 record component.
      Returns:
      the value of the totalAny2 record component
    • any2ByRealm

      public Map<String,Long> any2ByRealm()
      Returns the value of the any2ByRealm record component.
      Returns:
      the value of the any2ByRealm record component
    • totalResources

      public long totalResources()
      Returns the value of the totalResources record component.
      Returns:
      the value of the totalResources record component
    • totalRoles

      public long totalRoles()
      Returns the value of the totalRoles record component.
      Returns:
      the value of the totalRoles record component
    • confCompleteness

      public Map<String,Boolean> confCompleteness()
      Returns the value of the confCompleteness record component.
      Returns:
      the value of the confCompleteness record component