Package com.adyen.model.management
Class ListExternalTerminalActionsResponse
- java.lang.Object
-
- com.adyen.model.management.ListExternalTerminalActionsResponse
-
public class ListExternalTerminalActionsResponse extends Object
ListExternalTerminalActionsResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListExternalTerminalActionsResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DATA
-
Constructor Summary
Constructors Constructor Description ListExternalTerminalActionsResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListExternalTerminalActionsResponseaddDataItem(ExternalTerminalAction dataItem)ListExternalTerminalActionsResponsedata(List<ExternalTerminalAction> data)booleanequals(Object o)static ListExternalTerminalActionsResponsefromJson(String jsonString)Create an instance of ListExternalTerminalActionsResponse given an JSON stringList<ExternalTerminalAction>getData()The list of terminal actions.inthashCode()voidsetData(List<ExternalTerminalAction> data)StringtoJson()Convert an instance of ListExternalTerminalActionsResponse 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 ListExternalTerminalActionsResponse data(List<ExternalTerminalAction> data)
-
addDataItem
public ListExternalTerminalActionsResponse addDataItem(ExternalTerminalAction dataItem)
-
getData
public List<ExternalTerminalAction> getData()
The list of terminal actions.- Returns:
- data
-
setData
public void setData(List<ExternalTerminalAction> data)
-
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 ListExternalTerminalActionsResponse
-
fromJson
public static ListExternalTerminalActionsResponse fromJson(String jsonString) throws IOException
Create an instance of ListExternalTerminalActionsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListExternalTerminalActionsResponse
- Throws:
IOException- if the JSON string is invalid with respect to ListExternalTerminalActionsResponse
-
toJson
public String toJson()
Convert an instance of ListExternalTerminalActionsResponse to an JSON string- Returns:
- JSON string
-
-