Package com.boldsign.model
Class VerificationDataRequest
- java.lang.Object
-
- com.boldsign.model.VerificationDataRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class VerificationDataRequest extends Object
VerificationDataRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVerificationDataRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COUNTRY_CODEstatic StringSERIALIZED_NAME_EMAIL_IDstatic StringSERIALIZED_NAME_ON_BEHALF_OFstatic StringSERIALIZED_NAME_ORDERstatic StringSERIALIZED_NAME_PHONE_NUMBER
-
Constructor Summary
Constructors Constructor Description VerificationDataRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VerificationDataRequestcountryCode(String countryCode)Map<String,Object>createFormData()VerificationDataRequestemailId(String emailId)booleanequals(Object o)static VerificationDataRequestfromJson(String jsonString)Create an instance of VerificationDataRequest given an JSON stringStringgetCountryCode()Get countryCodeStringgetEmailId()Get emailIdStringgetOnBehalfOf()Get onBehalfOfIntegergetOrder()Get orderStringgetPhoneNumber()Get phoneNumberinthashCode()VerificationDataRequestonBehalfOf(String onBehalfOf)VerificationDataRequestorder(Integer order)VerificationDataRequestphoneNumber(String phoneNumber)voidsetCountryCode(String countryCode)voidsetEmailId(String emailId)voidsetOnBehalfOf(String onBehalfOf)voidsetOrder(Integer order)voidsetPhoneNumber(String phoneNumber)StringtoJson()Convert an instance of VerificationDataRequest to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_EMAIL_ID
public static final String SERIALIZED_NAME_EMAIL_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRY_CODE
public static final String SERIALIZED_NAME_COUNTRY_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PHONE_NUMBER
public static final String SERIALIZED_NAME_PHONE_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ORDER
public static final String SERIALIZED_NAME_ORDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ON_BEHALF_OF
public static final String SERIALIZED_NAME_ON_BEHALF_OF
- See Also:
- Constant Field Values
-
-
Method Detail
-
emailId
public VerificationDataRequest emailId(String emailId)
-
setEmailId
public void setEmailId(String emailId)
-
countryCode
public VerificationDataRequest countryCode(String countryCode)
-
setCountryCode
public void setCountryCode(String countryCode)
-
phoneNumber
public VerificationDataRequest phoneNumber(String phoneNumber)
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
-
order
public VerificationDataRequest order(Integer order)
-
setOrder
public void setOrder(Integer order)
-
onBehalfOf
public VerificationDataRequest onBehalfOf(String onBehalfOf)
-
setOnBehalfOf
public void setOnBehalfOf(String onBehalfOf)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to VerificationDataRequest
-
fromJson
public static VerificationDataRequest fromJson(String jsonString) throws IOException
Create an instance of VerificationDataRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VerificationDataRequest
- Throws:
IOException- if the JSON string is invalid with respect to VerificationDataRequest
-
toJson
public String toJson()
Convert an instance of VerificationDataRequest to an JSON string- Returns:
- JSON string
-
-