Package com.adyen.model.management
Class PaginationLinks
- java.lang.Object
-
- com.adyen.model.management.PaginationLinks
-
public class PaginationLinks extends Object
PaginationLinks
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaginationLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_FIRSTstatic StringSERIALIZED_NAME_LASTstatic StringSERIALIZED_NAME_NEXTstatic StringSERIALIZED_NAME_PREVstatic StringSERIALIZED_NAME_SELF
-
Constructor Summary
Constructors Constructor Description PaginationLinks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)PaginationLinksfirst(LinksElement first)static PaginationLinksfromJson(String jsonString)Create an instance of PaginationLinks given an JSON stringLinksElementgetFirst()Get firstLinksElementgetLast()Get lastLinksElementgetNext()Get nextLinksElementgetPrev()Get prevLinksElementgetSelf()Get selfinthashCode()PaginationLinkslast(LinksElement last)PaginationLinksnext(LinksElement next)PaginationLinksprev(LinksElement prev)PaginationLinksself(LinksElement self)voidsetFirst(LinksElement first)voidsetLast(LinksElement last)voidsetNext(LinksElement next)voidsetPrev(LinksElement prev)voidsetSelf(LinksElement self)StringtoJson()Convert an instance of PaginationLinks 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_FIRST
public static final String SERIALIZED_NAME_FIRST
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST
public static final String SERIALIZED_NAME_LAST
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NEXT
public static final String SERIALIZED_NAME_NEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PREV
public static final String SERIALIZED_NAME_PREV
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
-
Method Detail
-
first
public PaginationLinks first(LinksElement first)
-
getFirst
public LinksElement getFirst()
Get first- Returns:
- first
-
setFirst
public void setFirst(LinksElement first)
-
last
public PaginationLinks last(LinksElement last)
-
getLast
public LinksElement getLast()
Get last- Returns:
- last
-
setLast
public void setLast(LinksElement last)
-
next
public PaginationLinks next(LinksElement next)
-
getNext
public LinksElement getNext()
Get next- Returns:
- next
-
setNext
public void setNext(LinksElement next)
-
prev
public PaginationLinks prev(LinksElement prev)
-
getPrev
public LinksElement getPrev()
Get prev- Returns:
- prev
-
setPrev
public void setPrev(LinksElement prev)
-
self
public PaginationLinks self(LinksElement self)
-
getSelf
public LinksElement getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(LinksElement self)
-
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 PaginationLinks
-
fromJson
public static PaginationLinks fromJson(String jsonString) throws IOException
Create an instance of PaginationLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaginationLinks
- Throws:
IOException- if the JSON string is invalid with respect to PaginationLinks
-
toJson
public String toJson()
Convert an instance of PaginationLinks to an JSON string- Returns:
- JSON string
-
-