@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class GravatarUrl extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GravatarUrl.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_HASH |
static String |
SERIALIZED_NAME_URL |
Constructor and Description |
---|
GravatarUrl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static GravatarUrl |
fromJson(String jsonString)
Create an instance of GravatarUrl given an JSON string
|
String |
getHash()
Get hash
|
String |
getUrl()
Get url
|
GravatarUrl |
hash(String hash) |
int |
hashCode() |
void |
setHash(String hash) |
void |
setUrl(String url) |
String |
toJson()
Convert an instance of GravatarUrl to an JSON string
|
String |
toString() |
GravatarUrl |
url(String url) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_URL
public static final String SERIALIZED_NAME_HASH
public GravatarUrl url(String url)
public void setUrl(String url)
public GravatarUrl hash(String hash)
public void setHash(String hash)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to GravatarUrlpublic static GravatarUrl fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to GravatarUrlpublic String toJson()
Copyright © 2023. All rights reserved.