Package model
Class SubscriptionAmountLinks
- java.lang.Object
-
- model.SubscriptionAmountLinks
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SubscriptionAmountLinks extends Object
For your convenience, every response includes several URLs which link to resources relevant to the request. You can use these `_links` to make your follow-up requests and quickly access relevant IDs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscriptionAmountLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_SCHEDULEstatic StringSERIALIZED_NAME_SELF
-
Constructor Summary
Constructors Constructor Description SubscriptionAmountLinks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static SubscriptionAmountLinksfromJson(String jsonString)Create an instance of SubscriptionAmountLinks given an JSON stringSubscriptionAmountLinksSchedulegetSchedule()Get scheduleIdentityLinksSelfgetSelf()Get selfinthashCode()SubscriptionAmountLinksschedule(SubscriptionAmountLinksSchedule schedule)SubscriptionAmountLinksself(IdentityLinksSelf self)voidsetSchedule(SubscriptionAmountLinksSchedule schedule)voidsetSelf(IdentityLinksSelf self)StringtoJson()Convert an instance of SubscriptionAmountLinks 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_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SCHEDULE
public static final String SERIALIZED_NAME_SCHEDULE
- See Also:
- Constant Field Values
-
-
Method Detail
-
self
public SubscriptionAmountLinks self(IdentityLinksSelf self)
-
getSelf
@Nullable public IdentityLinksSelf getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(IdentityLinksSelf self)
-
schedule
public SubscriptionAmountLinks schedule(SubscriptionAmountLinksSchedule schedule)
-
getSchedule
@Nullable public SubscriptionAmountLinksSchedule getSchedule()
Get schedule- Returns:
- schedule
-
setSchedule
public void setSchedule(SubscriptionAmountLinksSchedule schedule)
-
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 SubscriptionAmountLinks
-
fromJson
public static SubscriptionAmountLinks fromJson(String jsonString) throws IOException
Create an instance of SubscriptionAmountLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubscriptionAmountLinks
- Throws:
IOException- if the JSON string is invalid with respect to SubscriptionAmountLinks
-
toJson
public String toJson()
Convert an instance of SubscriptionAmountLinks to an JSON string- Returns:
- JSON string
-
-