Record Class ExtensionDataDto
java.lang.Object
java.lang.Record
com.djrapitops.plan.delivery.domain.datatransfer.extension.ExtensionDataDto
public record ExtensionDataDto(ExtensionInformationDto extensionInformation, List<ExtensionTabDataDto> tabs, boolean onlyGenericTab, boolean wide)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionDataDto(ExtensionInformationDto extensionInformation, List<ExtensionTabDataDto> tabs, boolean onlyGenericTab, boolean wide) Creates an instance of aExtensionDataDtorecord class.ExtensionDataDto(ExtensionData extensionData) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theextensionInformationrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theonlyGenericTabrecord component.tabs()Returns the value of thetabsrecord component.final StringtoString()Returns a string representation of this record class.booleanwide()Returns the value of thewiderecord component.
-
Constructor Details
-
ExtensionDataDto
-
ExtensionDataDto
public ExtensionDataDto(ExtensionInformationDto extensionInformation, List<ExtensionTabDataDto> tabs, boolean onlyGenericTab, boolean wide) Creates an instance of aExtensionDataDtorecord class.- Parameters:
extensionInformation- the value for theextensionInformationrecord componenttabs- the value for thetabsrecord componentonlyGenericTab- the value for theonlyGenericTabrecord componentwide- the value for thewiderecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
extensionInformation
Returns the value of theextensionInformationrecord component.- Returns:
- the value of the
extensionInformationrecord component
-
tabs
Returns the value of thetabsrecord component.- Returns:
- the value of the
tabsrecord component
-
onlyGenericTab
public boolean onlyGenericTab()Returns the value of theonlyGenericTabrecord component.- Returns:
- the value of the
onlyGenericTabrecord component
-
wide
public boolean wide()Returns the value of thewiderecord component.- Returns:
- the value of the
widerecord component
-