Package com.adyen.model.management
Class ListTerminalsResponse
- java.lang.Object
-
- com.adyen.model.management.ListTerminalsResponse
-
public class ListTerminalsResponse extends Object
ListTerminalsResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListTerminalsResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DATA
-
Constructor Summary
Constructors Constructor Description ListTerminalsResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTerminalsResponseaddDataItem(Terminal dataItem)ListTerminalsResponsedata(List<Terminal> data)booleanequals(Object o)static ListTerminalsResponsefromJson(String jsonString)Create an instance of ListTerminalsResponse given an JSON stringList<Terminal>getData()The list of terminals.inthashCode()voidsetData(List<Terminal> data)StringtoJson()Convert an instance of ListTerminalsResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
data
public ListTerminalsResponse data(List<Terminal> data)
-
addDataItem
public ListTerminalsResponse addDataItem(Terminal dataItem)
-
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 ListTerminalsResponse
-
fromJson
public static ListTerminalsResponse fromJson(String jsonString) throws IOException
Create an instance of ListTerminalsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListTerminalsResponse
- Throws:
IOException- if the JSON string is invalid with respect to ListTerminalsResponse
-
toJson
public String toJson()
Convert an instance of ListTerminalsResponse to an JSON string- Returns:
- JSON string
-
-