@Generated(value="Generated by https://konfigthis.com") public class VerifyAuthorizationResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VerifyAuthorizationResponse.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AUTHORIZATION |
static String |
SERIALIZED_NAME_AUTHORIZATION_AMOUNT |
static String |
SERIALIZED_NAME_IS_AUTHORIZED |
| Constructor and Description |
|---|
VerifyAuthorizationResponse() |
| Modifier and Type | Method and Description |
|---|---|
VerifyAuthorizationResponse |
authorization(AuthorizationModel authorization) |
VerifyAuthorizationResponse |
authorizationAmount(Double authorizationAmount) |
VerifyAuthorizationResponse |
authorizationAmount(Integer authorizationAmount) |
boolean |
equals(Object o) |
static VerifyAuthorizationResponse |
fromJson(String jsonString)
Create an instance of VerifyAuthorizationResponse given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
AuthorizationModel |
getAuthorization()
Get authorization
|
Double |
getAuthorizationAmount()
Get authorizationAmount
|
Boolean |
getIsAuthorized()
Get isAuthorized
|
int |
hashCode() |
VerifyAuthorizationResponse |
isAuthorized(Boolean isAuthorized) |
VerifyAuthorizationResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAuthorization(AuthorizationModel authorization) |
void |
setAuthorizationAmount(Double authorizationAmount) |
void |
setIsAuthorized(Boolean isAuthorized) |
String |
toJson()
Convert an instance of VerifyAuthorizationResponse to an JSON string
|
String |
toString() |
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_IS_AUTHORIZED
public static final String SERIALIZED_NAME_AUTHORIZATION_AMOUNT
public static final String SERIALIZED_NAME_AUTHORIZATION
public VerifyAuthorizationResponse isAuthorized(Boolean isAuthorized)
public void setIsAuthorized(Boolean isAuthorized)
public VerifyAuthorizationResponse authorizationAmount(Double authorizationAmount)
public VerifyAuthorizationResponse authorizationAmount(Integer authorizationAmount)
@Nullable public Double getAuthorizationAmount()
public void setAuthorizationAmount(Double authorizationAmount)
public VerifyAuthorizationResponse authorization(AuthorizationModel authorization)
@Nullable public AuthorizationModel getAuthorization()
public void setAuthorization(AuthorizationModel authorization)
public VerifyAuthorizationResponse putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to VerifyAuthorizationResponsepublic static VerifyAuthorizationResponse fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VerifyAuthorizationResponsepublic String toJson()
Copyright © 2023. All rights reserved.