Package com.adyen.model.management
Class GenerateClientKeyResponse
- java.lang.Object
-
- com.adyen.model.management.GenerateClientKeyResponse
-
public class GenerateClientKeyResponse extends Object
GenerateClientKeyResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerateClientKeyResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CLIENT_KEY
-
Constructor Summary
Constructors Constructor Description GenerateClientKeyResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateClientKeyResponseclientKey(String clientKey)booleanequals(Object o)static GenerateClientKeyResponsefromJson(String jsonString)Create an instance of GenerateClientKeyResponse given an JSON stringStringgetClientKey()Generated client keyinthashCode()voidsetClientKey(String clientKey)StringtoJson()Convert an instance of GenerateClientKeyResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
clientKey
public GenerateClientKeyResponse clientKey(String clientKey)
-
getClientKey
public String getClientKey()
Generated client key- Returns:
- clientKey
-
setClientKey
public void setClientKey(String clientKey)
-
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 GenerateClientKeyResponse
-
fromJson
public static GenerateClientKeyResponse fromJson(String jsonString) throws IOException
Create an instance of GenerateClientKeyResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GenerateClientKeyResponse
- Throws:
IOException- if the JSON string is invalid with respect to GenerateClientKeyResponse
-
toJson
public String toJson()
Convert an instance of GenerateClientKeyResponse to an JSON string- Returns:
- JSON string
-
-