Package model
Class SubscriptionAmountList
- java.lang.Object
-
- model.SubscriptionAmountList
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SubscriptionAmountList extends Object
SubscriptionAmountList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscriptionAmountList.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 SubscriptionAmountList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionAmountListembedded(SubscriptionAmountListEmbedded embedded)booleanequals(Object o)static SubscriptionAmountListfromJson(String jsonString)Create an instance of SubscriptionAmountList given an JSON stringSubscriptionAmountListEmbeddedgetEmbedded()Get embeddedListLinksgetLinks()Get linksUsersListPagegetPage()Get pageinthashCode()SubscriptionAmountListlinks(ListLinks links)SubscriptionAmountListpage(UsersListPage page)voidsetEmbedded(SubscriptionAmountListEmbedded embedded)voidsetLinks(ListLinks links)voidsetPage(UsersListPage page)StringtoJson()Convert an instance of SubscriptionAmountList 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 SubscriptionAmountList page(UsersListPage page)
-
getPage
@Nullable public UsersListPage getPage()
Get page- Returns:
- page
-
setPage
public void setPage(UsersListPage page)
-
embedded
public SubscriptionAmountList embedded(SubscriptionAmountListEmbedded embedded)
-
getEmbedded
@Nullable public SubscriptionAmountListEmbedded getEmbedded()
Get embedded- Returns:
- embedded
-
setEmbedded
public void setEmbedded(SubscriptionAmountListEmbedded embedded)
-
links
public SubscriptionAmountList 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 SubscriptionAmountList
-
fromJson
public static SubscriptionAmountList fromJson(String jsonString) throws IOException
Create an instance of SubscriptionAmountList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubscriptionAmountList
- Throws:
IOException- if the JSON string is invalid with respect to SubscriptionAmountList
-
toJson
public String toJson()
Convert an instance of SubscriptionAmountList to an JSON string- Returns:
- JSON string
-
-