Record Class Link.FlairRichtext
java.lang.Object
java.lang.Record
io.github.yvasyliev.forwarder.telegram.reddit.dto.Link.FlairRichtext
- Record Components:
emoji- the emoji associated with the flairurl- the URL associated with the flair, if anytype- the type of the flair (e.g., emoji, text)
- Enclosing class:
Link
-
Constructor Summary
ConstructorsConstructorDescriptionFlairRichtext(String emoji, URL url, String type) Creates an instance of aFlairRichtextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionemoji()Returns the value of theemojirecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.url()Returns the value of theurlrecord component.
-
Constructor Details
-
FlairRichtext
-
-
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). -
emoji
-
url
-
type
-