Package model
Class MerchantsList
- java.lang.Object
-
- model.MerchantsList
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class MerchantsList extends Object
MerchantsList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMerchantsList.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EMBEDDEDstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_PAGE
-
Constructor Summary
Constructors Constructor Description MerchantsList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MerchantsListembedded(MerchantsListEmbedded embedded)booleanequals(Object o)static MerchantsListfromJson(String jsonString)Create an instance of MerchantsList given an JSON stringMerchantsListEmbeddedgetEmbedded()Get embeddedListLinksgetLinks()Get linksPageCursorgetPage()Get pageinthashCode()MerchantsListlinks(ListLinks links)MerchantsListpage(PageCursor page)voidsetEmbedded(MerchantsListEmbedded embedded)voidsetLinks(ListLinks links)voidsetPage(PageCursor page)StringtoJson()Convert an instance of MerchantsList 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_PAGE
public static final String SERIALIZED_NAME_PAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMBEDDED
public static final String SERIALIZED_NAME_EMBEDDED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
page
public MerchantsList page(PageCursor page)
-
getPage
@Nullable public PageCursor getPage()
Get page- Returns:
- page
-
setPage
public void setPage(PageCursor page)
-
embedded
public MerchantsList embedded(MerchantsListEmbedded embedded)
-
getEmbedded
@Nullable public MerchantsListEmbedded getEmbedded()
Get embedded- Returns:
- embedded
-
setEmbedded
public void setEmbedded(MerchantsListEmbedded embedded)
-
links
public MerchantsList links(ListLinks links)
-
setLinks
public void setLinks(ListLinks links)
-
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 MerchantsList
-
fromJson
public static MerchantsList fromJson(String jsonString) throws IOException
Create an instance of MerchantsList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MerchantsList
- Throws:
IOException- if the JSON string is invalid with respect to MerchantsList
-
toJson
public String toJson()
Convert an instance of MerchantsList to an JSON string- Returns:
- JSON string
-
-