Record Class UniqueGiftBackdropColors
java.lang.Object
java.lang.Record
org.teleight.teleightbots.api.objects.UniqueGiftBackdropColors
- All Implemented Interfaces:
Serializable, ApiResult
-
Constructor Summary
ConstructorsConstructorDescriptionUniqueGiftBackdropColors(@NotNull Color centerColor, @NotNull Color edgeColor, @NotNull Color symbolColor, @NotNull Color textColor) Creates an instance of aUniqueGiftBackdropColorsrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull ColorReturns the value of thecenterColorrecord component.@NotNull ColorReturns the value of theedgeColorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull ColorReturns the value of thesymbolColorrecord component.@NotNull ColorReturns the value of thetextColorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UniqueGiftBackdropColors
public UniqueGiftBackdropColors(@NotNull @NotNull Color centerColor, @NotNull @NotNull Color edgeColor, @NotNull @NotNull Color symbolColor, @NotNull @NotNull Color textColor) Creates an instance of aUniqueGiftBackdropColorsrecord class.- Parameters:
centerColor- the value for thecenterColorrecord componentedgeColor- the value for theedgeColorrecord componentsymbolColor- the value for thesymbolColorrecord componenttextColor- the value for thetextColorrecord 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). -
centerColor
Returns the value of thecenterColorrecord component.- Returns:
- the value of the
centerColorrecord component
-
edgeColor
Returns the value of theedgeColorrecord component.- Returns:
- the value of the
edgeColorrecord component
-
symbolColor
Returns the value of thesymbolColorrecord component.- Returns:
- the value of the
symbolColorrecord component
-
textColor
Returns the value of thetextColorrecord component.- Returns:
- the value of the
textColorrecord component
-