java.lang.Object
java.lang.Record
it.auties.whatsapp4j.response.impl.json.FeaturesInformation
- Record Components:
url
- a flag used to determine whether URLs can be shown???flags
- unknown
A json model that contains information about the features available to the user linked with this session
This record should only be used by
UserInformationResponse
-
Constructor Summary
ConstructorDescriptionFeaturesInformation(boolean url, String flags)
Creates an instance of aFeaturesInformation
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.flags()
Returns the value of theflags
record component.int
hashCode()
Returns a hash code value for this object.toString()
Returns a string representation of this record class.boolean
url()
Returns the value of theurl
record component.
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
url
public boolean url()Returns the value of theurl
record component.- Returns:
- the value of the
url
record component
-
flags
Returns the value of theflags
record component.- Returns:
- the value of the
flags
record component
-