Package com.adyen.model.balanceplatform
Class SearchRegisteredDevicesResponse
- java.lang.Object
-
- com.adyen.model.balanceplatform.SearchRegisteredDevicesResponse
-
public class SearchRegisteredDevicesResponse extends Object
SearchRegisteredDevicesResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DATAstatic StringJSON_PROPERTY_ITEMS_TOTALstatic StringJSON_PROPERTY_LINKstatic StringJSON_PROPERTY_PAGES_TOTAL
-
Constructor Summary
Constructors Constructor Description SearchRegisteredDevicesResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchRegisteredDevicesResponseaddDataItem(Device dataItem)SearchRegisteredDevicesResponsedata(List<Device> data)booleanequals(Object o)Return true if this SearchRegisteredDevicesResponse object is equal to o.static SearchRegisteredDevicesResponsefromJson(String jsonString)Create an instance of SearchRegisteredDevicesResponse given an JSON stringList<Device>getData()Contains a list of registered SCA devices and their corresponding details.IntegergetItemsTotal()The total amount of registered SCA devices that match the query parameters.LinkgetLink()Get linkIntegergetPagesTotal()The total amount of list pages.inthashCode()SearchRegisteredDevicesResponseitemsTotal(Integer itemsTotal)SearchRegisteredDevicesResponselink(Link link)SearchRegisteredDevicesResponsepagesTotal(Integer pagesTotal)voidsetData(List<Device> data)Contains a list of registered SCA devices and their corresponding details.voidsetItemsTotal(Integer itemsTotal)The total amount of registered SCA devices that match the query parameters.voidsetLink(Link link)linkvoidsetPagesTotal(Integer pagesTotal)The total amount of list pages.StringtoJson()Convert an instance of SearchRegisteredDevicesResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ITEMS_TOTAL
public static final String JSON_PROPERTY_ITEMS_TOTAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LINK
public static final String JSON_PROPERTY_LINK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGES_TOTAL
public static final String JSON_PROPERTY_PAGES_TOTAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
data
public SearchRegisteredDevicesResponse data(List<Device> data)
-
addDataItem
public SearchRegisteredDevicesResponse addDataItem(Device dataItem)
-
getData
public List<Device> getData()
Contains a list of registered SCA devices and their corresponding details.- Returns:
- data
-
setData
public void setData(List<Device> data)
Contains a list of registered SCA devices and their corresponding details.- Parameters:
data-
-
itemsTotal
public SearchRegisteredDevicesResponse itemsTotal(Integer itemsTotal)
-
getItemsTotal
public Integer getItemsTotal()
The total amount of registered SCA devices that match the query parameters.- Returns:
- itemsTotal
-
setItemsTotal
public void setItemsTotal(Integer itemsTotal)
The total amount of registered SCA devices that match the query parameters.- Parameters:
itemsTotal-
-
link
public SearchRegisteredDevicesResponse link(Link link)
-
getLink
public Link getLink()
Get link- Returns:
- link
-
setLink
public void setLink(Link link)
link- Parameters:
link-
-
pagesTotal
public SearchRegisteredDevicesResponse pagesTotal(Integer pagesTotal)
-
getPagesTotal
public Integer getPagesTotal()
The total amount of list pages.- Returns:
- pagesTotal
-
setPagesTotal
public void setPagesTotal(Integer pagesTotal)
The total amount of list pages.- Parameters:
pagesTotal-
-
equals
public boolean equals(Object o)
Return true if this SearchRegisteredDevicesResponse object is equal to o.
-
fromJson
public static SearchRegisteredDevicesResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SearchRegisteredDevicesResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SearchRegisteredDevicesResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SearchRegisteredDevicesResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SearchRegisteredDevicesResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-