Record Class InputProfilePhotoAnimated
java.lang.Object
java.lang.Record
org.teleight.teleightbots.api.objects.InputProfilePhotoAnimated
- All Implemented Interfaces:
Serializable, ApiResult, InputProfilePhoto
public record InputProfilePhotoAnimated(@NotNull InputFile animation, float mainFrameTimestamp)
extends Record
implements InputProfilePhoto
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface InputProfilePhoto
TYPE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionInputProfilePhotoAnimated(@NotNull InputFile animation, float mainFrameTimestamp) Creates an instance of aInputProfilePhotoAnimatedrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull InputFileReturns the value of theanimationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.floatReturns the value of themainFrameTimestamprecord component.static @NotNull InputProfilePhotoAnimated.Builderfinal StringtoString()Returns a string representation of this record class.type()
-
Constructor Details
-
InputProfilePhotoAnimated
Creates an instance of aInputProfilePhotoAnimatedrecord class.- Parameters:
animation- the value for theanimationrecord componentmainFrameTimestamp- the value for themainFrameTimestamprecord component
-
-
Method Details
-
ofBuilder
-
type
- Specified by:
typein interfaceInputProfilePhoto
-
toBuilder
-
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. -
animation
Returns the value of theanimationrecord component.- Returns:
- the value of the
animationrecord component
-
mainFrameTimestamp
public float mainFrameTimestamp()Returns the value of themainFrameTimestamprecord component.- Returns:
- the value of the
mainFrameTimestamprecord component
-