Record Class ExtensionStatisticsDataDto
java.lang.Object
java.lang.Record
com.djrapitops.plan.delivery.domain.datatransfer.extension.ExtensionStatisticsDataDto
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionStatisticsDataDto(ExtensionStatisticsData statisticsData) ExtensionStatisticsDataDto(String providerName, StatisticsDto statistics, IconDto icon, String tableColor, String tableColorClass) Creates an instance of aExtensionStatisticsDataDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.icon()Returns the value of theiconrecord component.Returns the value of theproviderNamerecord component.Returns the value of thestatisticsrecord component.Returns the value of thetableColorrecord component.Returns the value of thetableColorClassrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExtensionStatisticsDataDto
-
ExtensionStatisticsDataDto
public ExtensionStatisticsDataDto(String providerName, StatisticsDto statistics, IconDto icon, String tableColor, String tableColorClass) Creates an instance of aExtensionStatisticsDataDtorecord class.- Parameters:
providerName- the value for theproviderNamerecord componentstatistics- the value for thestatisticsrecord componenticon- the value for theiconrecord componenttableColor- the value for thetableColorrecord componenttableColorClass- the value for thetableColorClassrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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. All components in this record class are compared withObjects::equals(Object,Object). -
providerName
Returns the value of theproviderNamerecord component.- Returns:
- the value of the
providerNamerecord component
-
statistics
Returns the value of thestatisticsrecord component.- Returns:
- the value of the
statisticsrecord component
-
icon
Returns the value of theiconrecord component.- Returns:
- the value of the
iconrecord component
-
tableColor
Returns the value of thetableColorrecord component.- Returns:
- the value of the
tableColorrecord component
-
tableColorClass
Returns the value of thetableColorClassrecord component.- Returns:
- the value of the
tableColorClassrecord component
-