Package com.reign.api.tenor.responses
Record Class Gif
java.lang.Object
java.lang.Record
com.reign.api.tenor.responses.Gif
- 
Constructor SummaryConstructorsConstructorDescriptionGif(String id, MediaContainer[] media, String itemUrl) Creates an instance of aGifrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getGif()getMp4()final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.itemUrl()Returns the value of theitemUrlrecord component.media()Returns the value of themediarecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
GifCreates an instance of aGifrecord class.- Parameters:
- id- the value for the- idrecord component
- media- the value for the- mediarecord component
- itemUrl- the value for the- itemUrlrecord component
 
 
- 
- 
Method Details- 
getMp4
- 
getTinyGif
- 
getMediumGif
- 
getGif
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
idReturns the value of theidrecord component.- Returns:
- the value of the idrecord component
 
- 
mediaReturns the value of themediarecord component.- Returns:
- the value of the mediarecord component
 
- 
itemUrlReturns the value of theitemUrlrecord component.- Returns:
- the value of the itemUrlrecord component
 
 
-