@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class Name extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Name.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_FAMILY_NAME |
static String |
SERIALIZED_NAME_GIVEN_NAME |
| Constructor and Description |
|---|
Name() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Name |
familyName(String familyName) |
static Name |
fromJson(String jsonString)
Create an instance of Name given an JSON string
|
String |
getFamilyName()
Get familyName
|
String |
getGivenName()
Get givenName
|
Name |
givenName(String givenName) |
int |
hashCode() |
void |
setFamilyName(String familyName) |
void |
setGivenName(String givenName) |
String |
toJson()
Convert an instance of Name to an JSON string
|
String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final String SERIALIZED_NAME_GIVEN_NAME
public static final String SERIALIZED_NAME_FAMILY_NAME
public void setGivenName(String givenName)
public void setFamilyName(String familyName)
public static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws IOException
jsonElement - JSON ElementIOException - if the JSON Element is invalid with respect to Namepublic static Name fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to Namepublic String toJson()
Copyright © 2024. All rights reserved.