Record Class InputProfilePhotoStatic
java.lang.Object
java.lang.Record
org.teleight.teleightbots.api.objects.InputProfilePhotoStatic
- All Implemented Interfaces:
Serializable, ApiResult, InputProfilePhoto
public record InputProfilePhotoStatic(@NotNull InputFile photo)
extends Record
implements InputProfilePhoto
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface InputProfilePhoto
TYPE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionInputProfilePhotoStatic(@NotNull InputFile photo) Creates an instance of aInputProfilePhotoStaticrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static @NotNull InputProfilePhotoStatic.Builder@NotNull InputFilephoto()Returns the value of thephotorecord component.final StringtoString()Returns a string representation of this record class.type()
-
Constructor Details
-
InputProfilePhotoStatic
Creates an instance of aInputProfilePhotoStaticrecord class.- Parameters:
photo- the value for thephotorecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
photo
Returns the value of thephotorecord component.- Returns:
- the value of the
photorecord component
-