Package com.adyen.model.management
Class ListCompanyUsersResponse
- java.lang.Object
-
- com.adyen.model.management.ListCompanyUsersResponse
-
public class ListCompanyUsersResponse extends Object
ListCompanyUsersResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListCompanyUsersResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DATAstatic StringSERIALIZED_NAME_ITEMS_TOTALstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_PAGES_TOTAL
-
Constructor Summary
Constructors Constructor Description ListCompanyUsersResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCompanyUsersResponseaddDataItem(CompanyUser dataItem)ListCompanyUsersResponsedata(List<CompanyUser> data)booleanequals(Object o)static ListCompanyUsersResponsefromJson(String jsonString)Create an instance of ListCompanyUsersResponse given an JSON stringList<CompanyUser>getData()The list of users.IntegergetItemsTotal()Total number of items.PaginationLinksgetLinks()Get linksIntegergetPagesTotal()Total number of pages.inthashCode()ListCompanyUsersResponseitemsTotal(Integer itemsTotal)ListCompanyUsersResponselinks(PaginationLinks links)ListCompanyUsersResponsepagesTotal(Integer pagesTotal)voidsetData(List<CompanyUser> data)voidsetItemsTotal(Integer itemsTotal)voidsetLinks(PaginationLinks links)voidsetPagesTotal(Integer pagesTotal)StringtoJson()Convert an instance of ListCompanyUsersResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATA
public static final String SERIALIZED_NAME_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ITEMS_TOTAL
public static final String SERIALIZED_NAME_ITEMS_TOTAL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAGES_TOTAL
public static final String SERIALIZED_NAME_PAGES_TOTAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
links
public ListCompanyUsersResponse links(PaginationLinks links)
-
getLinks
public PaginationLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(PaginationLinks links)
-
data
public ListCompanyUsersResponse data(List<CompanyUser> data)
-
addDataItem
public ListCompanyUsersResponse addDataItem(CompanyUser dataItem)
-
getData
public List<CompanyUser> getData()
The list of users.- Returns:
- data
-
setData
public void setData(List<CompanyUser> data)
-
itemsTotal
public ListCompanyUsersResponse itemsTotal(Integer itemsTotal)
-
getItemsTotal
public Integer getItemsTotal()
Total number of items.- Returns:
- itemsTotal
-
setItemsTotal
public void setItemsTotal(Integer itemsTotal)
-
pagesTotal
public ListCompanyUsersResponse pagesTotal(Integer pagesTotal)
-
getPagesTotal
public Integer getPagesTotal()
Total number of pages.- Returns:
- pagesTotal
-
setPagesTotal
public void setPagesTotal(Integer pagesTotal)
-
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 ListCompanyUsersResponse
-
fromJson
public static ListCompanyUsersResponse fromJson(String jsonString) throws IOException
Create an instance of ListCompanyUsersResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListCompanyUsersResponse
- Throws:
IOException- if the JSON string is invalid with respect to ListCompanyUsersResponse
-
toJson
public String toJson()
Convert an instance of ListCompanyUsersResponse to an JSON string- Returns:
- JSON string
-
-