Class GravatarProfileVerifiedAccount
java.lang.Object
com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileVerifiedAccount
Represents a verified account profile for a Gravatar user.
-
Constructor Summary
ConstructorsConstructorDescriptionGravatarProfileVerifiedAccount(String serviceType, String serviceLabel, String serviceIcon, String url) Constructs a new GravatarProfileVerifiedAccount. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the provided object is equal to this.Returns the URL to the service's icon.Returns the label or name of the service.Returns the type of the service.getUrl()Returns the URL to the user's profile on the service.inthashCode()Returns a hashcode for this object.toString()Returns a string representation of this object.
-
Constructor Details
-
GravatarProfileVerifiedAccount
public GravatarProfileVerifiedAccount(String serviceType, String serviceLabel, String serviceIcon, String url) Constructs a new GravatarProfileVerifiedAccount.- Parameters:
serviceType- the type of the serviceserviceLabel- the label or name of the serviceserviceIcon- the URL to the service's iconurl- the URL to the user's profile on the service- Throws:
NullPointerException- if any parameter is null
-
-
Method Details
-
getServiceType
Returns the type of the service.- Returns:
- the type of the service
-
getServiceLabel
Returns the label or name of the service.- Returns:
- the label or name of the service
-
getServiceIcon
Returns the URL to the service's icon.- Returns:
- the URL to the service's icon
-
getUrl
Returns the URL to the user's profile on the service.- Returns:
- the URL to the user's profile on the service
-
equals
Returns whether the provided object is equal to this. -
hashCode
public int hashCode()Returns a hashcode for this object. -
toString
Returns a string representation of this object.
-