Package Avalara.SDK.model.A1099.V2
Class PaginatedQueryResultModelW9FormBaseResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.PaginatedQueryResultModelW9FormBaseResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class PaginatedQueryResultModelW9FormBaseResponse extends Object
Generic paginated model to wrap query response data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaginatedQueryResultModelW9FormBaseResponse.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 PaginatedQueryResultModelW9FormBaseResponse()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_AT_RECORDSET_COUNT
public static final String SERIALIZED_NAME_AT_RECORDSET_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AT_NEXT_LINK
public static final String SERIALIZED_NAME_AT_NEXT_LINK
- See Also:
- Constant Field Values
-
-
Method Detail
-
atRecordsetCount
public PaginatedQueryResultModelW9FormBaseResponse atRecordsetCount(Integer atRecordsetCount)
-
getAtRecordsetCount
@Nullable public Integer getAtRecordsetCount()
Get atRecordsetCount- Returns:
- atRecordsetCount
-
setAtRecordsetCount
public void setAtRecordsetCount(Integer atRecordsetCount)
-
value
public PaginatedQueryResultModelW9FormBaseResponse value(List<CreateW9Form201Response> value)
-
addValueItem
public PaginatedQueryResultModelW9FormBaseResponse addValueItem(CreateW9Form201Response valueItem)
-
getValue
@Nullable public List<CreateW9Form201Response> getValue()
Get value- Returns:
- value
-
setValue
public void setValue(List<CreateW9Form201Response> value)
-
atNextLink
public PaginatedQueryResultModelW9FormBaseResponse atNextLink(String atNextLink)
-
setAtNextLink
public void setAtNextLink(String atNextLink)
-
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 PaginatedQueryResultModelW9FormBaseResponse
-
fromJson
public static PaginatedQueryResultModelW9FormBaseResponse fromJson(String jsonString) throws IOException
Create an instance of PaginatedQueryResultModelW9FormBaseResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaginatedQueryResultModelW9FormBaseResponse
- Throws:
IOException- if the JSON string is invalid with respect to PaginatedQueryResultModelW9FormBaseResponse
-
toJson
public String toJson()
Convert an instance of PaginatedQueryResultModelW9FormBaseResponse to an JSON string- Returns:
- JSON string
-
-