Package Avalara.SDK.model.EInvoicing.V1
Class DocumentListResponse
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.DocumentListResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class DocumentListResponse extends Object
Returns the requested list of documents
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentListResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AT_NEXT_LINKstatic StringSERIALIZED_NAME_AT_RECORDSET_COUNTstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description DocumentListResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentListResponseaddValueItem(DocumentSummary valueItem)DocumentListResponseatNextLink(String atNextLink)DocumentListResponseatRecordsetCount(String atRecordsetCount)booleanequals(Object o)static DocumentListResponsefromJson(String jsonString)Create an instance of DocumentListResponse given an JSON stringStringgetAtNextLink()Get atNextLinkStringgetAtRecordsetCount()Count of collections for the given date rangeList<DocumentSummary>getValue()Array of documents matching query parametersinthashCode()voidsetAtNextLink(String atNextLink)voidsetAtRecordsetCount(String atRecordsetCount)voidsetValue(List<DocumentSummary> value)StringtoJson()Convert an instance of DocumentListResponse to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundDocumentListResponsevalue(List<DocumentSummary> value)
-
-
-
Field Detail
-
SERIALIZED_NAME_AT_RECORDSET_COUNT
public static final String SERIALIZED_NAME_AT_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
-
atRecordsetCount
public DocumentListResponse atRecordsetCount(String atRecordsetCount)
-
getAtRecordsetCount
@Nullable public String getAtRecordsetCount()
Count of collections for the given date range- Returns:
- atRecordsetCount
-
setAtRecordsetCount
public void setAtRecordsetCount(String atRecordsetCount)
-
atNextLink
public DocumentListResponse atNextLink(String atNextLink)
-
setAtNextLink
public void setAtNextLink(String atNextLink)
-
value
public DocumentListResponse value(List<DocumentSummary> value)
-
addValueItem
public DocumentListResponse addValueItem(DocumentSummary valueItem)
-
getValue
@Nonnull public List<DocumentSummary> getValue()
Array of documents matching query parameters- Returns:
- value
-
setValue
public void setValue(List<DocumentSummary> 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 DocumentListResponse
-
fromJson
public static DocumentListResponse fromJson(String jsonString) throws IOException
Create an instance of DocumentListResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentListResponse
- Throws:
IOException- if the JSON string is invalid with respect to DocumentListResponse
-
toJson
public String toJson()
Convert an instance of DocumentListResponse to an JSON string- Returns:
- JSON string
-
-