Package Avalara.SDK.model.EInvoicing.V1
Class SubscriptionListResponse
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.SubscriptionListResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class SubscriptionListResponse extends Object
SubscriptionListResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscriptionListResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AT_NEXT_LINKstatic StringSERIALIZED_NAME_RECORDSET_COUNTstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description SubscriptionListResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionListResponseaddValueItem(SubscriptionDetail valueItem)SubscriptionListResponseatNextLink(String atNextLink)booleanequals(Object o)static SubscriptionListResponsefromJson(String jsonString)Create an instance of SubscriptionListResponse given an JSON stringStringgetAtNextLink()The URL to the next page of results.IntegergetRecordsetCount()The total count of records in the dataset.List<SubscriptionDetail>getValue()The list of subscriptions.inthashCode()SubscriptionListResponserecordsetCount(Integer recordsetCount)voidsetAtNextLink(String atNextLink)voidsetRecordsetCount(Integer recordsetCount)voidsetValue(List<SubscriptionDetail> value)StringtoJson()Convert an instance of SubscriptionListResponse to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundSubscriptionListResponsevalue(List<SubscriptionDetail> value)
-
-
-
Field Detail
-
SERIALIZED_NAME_RECORDSET_COUNT
public static final String SERIALIZED_NAME_RECORDSET_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AT_NEXT_LINK
public static final String SERIALIZED_NAME_AT_NEXT_LINK
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
recordsetCount
public SubscriptionListResponse recordsetCount(Integer recordsetCount)
-
getRecordsetCount
@Nullable public Integer getRecordsetCount()
The total count of records in the dataset.- Returns:
- recordsetCount
-
setRecordsetCount
public void setRecordsetCount(Integer recordsetCount)
-
atNextLink
public SubscriptionListResponse atNextLink(String atNextLink)
-
getAtNextLink
@Nullable public String getAtNextLink()
The URL to the next page of results.- Returns:
- atNextLink
-
setAtNextLink
public void setAtNextLink(String atNextLink)
-
value
public SubscriptionListResponse value(List<SubscriptionDetail> value)
-
addValueItem
public SubscriptionListResponse addValueItem(SubscriptionDetail valueItem)
-
getValue
@Nullable public List<SubscriptionDetail> getValue()
The list of subscriptions.- Returns:
- value
-
setValue
public void setValue(List<SubscriptionDetail> value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to SubscriptionListResponse
-
fromJson
public static SubscriptionListResponse fromJson(String jsonString) throws IOException
Create an instance of SubscriptionListResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubscriptionListResponse
- Throws:
IOException- if the JSON string is invalid with respect to SubscriptionListResponse
-
toJson
public String toJson()
Convert an instance of SubscriptionListResponse to an JSON string- Returns:
- JSON string
-
-