Package model
Class SubscriptionScheduleLinks
- java.lang.Object
-
- model.SubscriptionScheduleLinks
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SubscriptionScheduleLinks 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 classSubscriptionScheduleLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AMOUNTSstatic StringSERIALIZED_NAME_SELF
-
Constructor Summary
Constructors Constructor Description SubscriptionScheduleLinks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionScheduleLinksamounts(SubscriptionScheduleLinksAmounts amounts)booleanequals(Object o)static SubscriptionScheduleLinksfromJson(String jsonString)Create an instance of SubscriptionScheduleLinks given an JSON stringSubscriptionScheduleLinksAmountsgetAmounts()Get amountsIdentityLinksSelfgetSelf()Get selfinthashCode()SubscriptionScheduleLinksself(IdentityLinksSelf self)voidsetAmounts(SubscriptionScheduleLinksAmounts amounts)voidsetSelf(IdentityLinksSelf self)StringtoJson()Convert an instance of SubscriptionScheduleLinks 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_AMOUNTS
public static final String SERIALIZED_NAME_AMOUNTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
self
public SubscriptionScheduleLinks self(IdentityLinksSelf self)
-
getSelf
@Nullable public IdentityLinksSelf getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(IdentityLinksSelf self)
-
amounts
public SubscriptionScheduleLinks amounts(SubscriptionScheduleLinksAmounts amounts)
-
getAmounts
@Nullable public SubscriptionScheduleLinksAmounts getAmounts()
Get amounts- Returns:
- amounts
-
setAmounts
public void setAmounts(SubscriptionScheduleLinksAmounts amounts)
-
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 SubscriptionScheduleLinks
-
fromJson
public static SubscriptionScheduleLinks fromJson(String jsonString) throws IOException
Create an instance of SubscriptionScheduleLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubscriptionScheduleLinks
- Throws:
IOException- if the JSON string is invalid with respect to SubscriptionScheduleLinks
-
toJson
public String toJson()
Convert an instance of SubscriptionScheduleLinks to an JSON string- Returns:
- JSON string
-
-