Package model
Class Name
- java.lang.Object
-
- model.Name
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Name extends Object
Name
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static className.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_FIRST_NAMEstatic StringSERIALIZED_NAME_FULL_NAMEstatic StringSERIALIZED_NAME_LAST_NAMEstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description Name()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)NamefirstName(String firstName)static NamefromJson(String jsonString)Create an instance of Name given an JSON stringNamefullName(String fullName)StringgetFirstName()The first name of the `Payment Instrument` owner.StringgetFullName()The full name of the `Payment Instrument` owner.StringgetLastName()The last name of the `Payment Instrument` owner.StringgetValue()Get valueinthashCode()NamelastName(String lastName)voidsetFirstName(String firstName)voidsetFullName(String fullName)voidsetLastName(String lastName)voidsetValue(String value)StringtoJson()Convert an instance of Name to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundNamevalue(String value)
-
-
-
Field Detail
-
SERIALIZED_NAME_FIRST_NAME
public static final String SERIALIZED_NAME_FIRST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FULL_NAME
public static final String SERIALIZED_NAME_FULL_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_NAME
public static final String SERIALIZED_NAME_LAST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFirstName
@Nullable public String getFirstName()
The first name of the `Payment Instrument` owner.- Returns:
- firstName
-
setFirstName
public void setFirstName(String firstName)
-
getFullName
@Nullable public String getFullName()
The full name of the `Payment Instrument` owner.- Returns:
- fullName
-
setFullName
public void setFullName(String fullName)
-
getLastName
@Nullable public String getLastName()
The last name of the `Payment Instrument` owner.- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
-
setValue
public void setValue(String value)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Name
-
fromJson
public static Name fromJson(String jsonString) throws IOException
Create an instance of Name given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Name
- Throws:
IOException- if the JSON string is invalid with respect to Name
-
toJson
public String toJson()
Convert an instance of Name to an JSON string- Returns:
- JSON string
-
-