Record Class PutCustomEffectsData
java.lang.Object
java.lang.Record
live.crowdcontrol.cc4j.websocket.http.PutCustomEffectsData
public record PutCustomEffectsData(@NotNull String gamePackID, @NotNull List<CustomEffectsOperation> operations)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPutCustomEffectsData(@NotNull String gamePackID, @NotNull List<CustomEffectsOperation> operations) Creates an instance of aPutCustomEffectsDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NotNull StringReturns the value of thegamePackIDrecord component.final inthashCode()Returns a hash code value for this object.@NotNull List<CustomEffectsOperation> Returns the value of theoperationsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PutCustomEffectsData
public PutCustomEffectsData(@NotNull @NotNull String gamePackID, @NotNull @NotNull List<CustomEffectsOperation> operations) Creates an instance of aPutCustomEffectsDatarecord class.- Parameters:
gamePackID- the value for thegamePackIDrecord componentoperations- the value for theoperationsrecord component
-
-
Method Details
-
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. -
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. -
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). -
gamePackID
Returns the value of thegamePackIDrecord component.- Returns:
- the value of the
gamePackIDrecord component
-
operations
Returns the value of theoperationsrecord component.- Returns:
- the value of the
operationsrecord component
-