Package Avalara.SDK.model.EInvoicing.V1
Class BatchSearchListResponse
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.BatchSearchListResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class BatchSearchListResponse extends Object
Response schema for listing batch search details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBatchSearchListResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AT_NEXT_LINKstatic StringSERIALIZED_NAME_AT_RECORD_SET_COUNTstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description BatchSearchListResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchSearchListResponseaddValueItem(BatchSearch valueItem)BatchSearchListResponseatNextLink(String atNextLink)BatchSearchListResponseatRecordSetCount(Integer atRecordSetCount)booleanequals(Object o)static BatchSearchListResponsefromJson(String jsonString)Create an instance of BatchSearchListResponse given an JSON stringStringgetAtNextLink()Next LinkIntegergetAtRecordSetCount()The count of records in the result set.List<BatchSearch>getValue()List of batch search records.inthashCode()voidsetAtNextLink(String atNextLink)voidsetAtRecordSetCount(Integer atRecordSetCount)voidsetValue(List<BatchSearch> value)StringtoJson()Convert an instance of BatchSearchListResponse to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundBatchSearchListResponsevalue(List<BatchSearch> value)
-
-
-
Field Detail
-
SERIALIZED_NAME_AT_RECORD_SET_COUNT
public static final String SERIALIZED_NAME_AT_RECORD_SET_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 BatchSearchListResponse atRecordSetCount(Integer atRecordSetCount)
-
getAtRecordSetCount
@Nullable public Integer getAtRecordSetCount()
The count of records in the result set.- Returns:
- atRecordSetCount
-
setAtRecordSetCount
public void setAtRecordSetCount(Integer atRecordSetCount)
-
atNextLink
public BatchSearchListResponse atNextLink(String atNextLink)
-
setAtNextLink
public void setAtNextLink(String atNextLink)
-
value
public BatchSearchListResponse value(List<BatchSearch> value)
-
addValueItem
public BatchSearchListResponse addValueItem(BatchSearch valueItem)
-
getValue
@Nullable public List<BatchSearch> getValue()
List of batch search records.- Returns:
- value
-
setValue
public void setValue(List<BatchSearch> 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 BatchSearchListResponse
-
fromJson
public static BatchSearchListResponse fromJson(String jsonString) throws IOException
Create an instance of BatchSearchListResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BatchSearchListResponse
- Throws:
IOException- if the JSON string is invalid with respect to BatchSearchListResponse
-
toJson
public String toJson()
Convert an instance of BatchSearchListResponse to an JSON string- Returns:
- JSON string
-
-