Record Class ExtensionTabDataDto
java.lang.Object
java.lang.Record
com.djrapitops.plan.delivery.domain.datatransfer.extension.ExtensionTabDataDto
public record ExtensionTabDataDto(@Nullable TabInformationDto tabInformation, List<ExtensionValueDataDto> values, List<ExtensionTableDataDto> tableData, List<ExtensionStatisticsDataDto> statisticsData, List<String> graphNames)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionTabDataDto(@Nullable TabInformationDto tabInformation, List<ExtensionValueDataDto> values, List<ExtensionTableDataDto> tableData, List<ExtensionStatisticsDataDto> statisticsData, List<String> graphNames) Creates an instance of aExtensionTabDataDtorecord class.ExtensionTabDataDto(ExtensionTabData extensionTabData) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegraphNamesrecord component.final inthashCode()Returns a hash code value for this object.static Optional<ExtensionValueDataDto> mapToValue(ExtensionTabData tabData, String key) Returns the value of thestatisticsDatarecord component.@Nullable TabInformationDtoReturns the value of thetabInformationrecord component.Returns the value of thetableDatarecord component.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
ExtensionTabDataDto
-
ExtensionTabDataDto
public ExtensionTabDataDto(@Nullable TabInformationDto tabInformation, List<ExtensionValueDataDto> values, List<ExtensionTableDataDto> tableData, List<ExtensionStatisticsDataDto> statisticsData, List<String> graphNames) Creates an instance of aExtensionTabDataDtorecord class.- Parameters:
tabInformation- the value for thetabInformationrecord componentvalues- the value for thevaluesrecord componenttableData- the value for thetableDatarecord componentstatisticsData- the value for thestatisticsDatarecord componentgraphNames- the value for thegraphNamesrecord component
-
-
Method Details
-
mapToValue
-
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). -
tabInformation
Returns the value of thetabInformationrecord component.- Returns:
- the value of the
tabInformationrecord component
-
values
Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-
tableData
Returns the value of thetableDatarecord component.- Returns:
- the value of the
tableDatarecord component
-
statisticsData
Returns the value of thestatisticsDatarecord component.- Returns:
- the value of the
statisticsDatarecord component
-
graphNames
-