Package model
Class SubscriptionAmountLinks
java.lang.Object
model.SubscriptionAmountLinks
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SubscriptionAmountLinksCreate an instance of SubscriptionAmountLinks given an JSON stringGet schedulegetSelf()Get selfinthashCode()schedule(SubscriptionAmountLinksSchedule schedule) self(IdentityLinksSelf self) voidsetSchedule(SubscriptionAmountLinksSchedule schedule) voidsetSelf(IdentityLinksSelf self) toJson()Convert an instance of SubscriptionAmountLinks to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_SELF
- See Also:
-
SERIALIZED_NAME_SCHEDULE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SubscriptionAmountLinks
public SubscriptionAmountLinks()
-
-
Method Details
-
self
-
getSelf
Get self- Returns:
- self
-
setSelf
-
schedule
-
getSchedule
Get schedule- Returns:
- schedule
-
setSchedule
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates 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
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
Convert an instance of SubscriptionAmountLinks to an JSON string- Returns:
- JSON string
-