Package com.adyen.model.transfers
Class Links
- java.lang.Object
-
- com.adyen.model.transfers.Links
-
public class Links extends Object
Links
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_NEXTstatic StringSERIALIZED_NAME_PREV
-
Constructor Summary
Constructors Constructor Description Links()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static LinksfromJson(String jsonString)Create an instance of Links given an JSON stringLinkgetNext()Get nextLinkgetPrev()Get previnthashCode()Linksnext(Link next)Linksprev(Link prev)voidsetNext(Link next)voidsetPrev(Link prev)StringtoJson()Convert an instance of Links 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_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
-
-
Method Detail
-
getNext
public Link getNext()
Get next- Returns:
- next
-
setNext
public void setNext(Link next)
-
getPrev
public Link getPrev()
Get prev- Returns:
- prev
-
setPrev
public void setPrev(Link prev)
-
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 Links
-
fromJson
public static Links fromJson(String jsonString) throws IOException
Create an instance of Links given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Links
- Throws:
IOException- if the JSON string is invalid with respect to Links
-
toJson
public String toJson()
Convert an instance of Links to an JSON string- Returns:
- JSON string
-
-