Package Avalara.SDK.model.A1099.V2
Class PaginatedQueryResultModelCompanyResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.PaginatedQueryResultModelCompanyResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class PaginatedQueryResultModelCompanyResponse extends Object
Generic paginated model to wrap query response data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaginatedQueryResultModelCompanyResponse.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 PaginatedQueryResultModelCompanyResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaginatedQueryResultModelCompanyResponseaddValueItem(CompanyResponse valueItem)PaginatedQueryResultModelCompanyResponseatNextLink(String atNextLink)PaginatedQueryResultModelCompanyResponseatRecordsetCount(Integer atRecordsetCount)booleanequals(Object o)static PaginatedQueryResultModelCompanyResponsefromJson(String jsonString)Create an instance of PaginatedQueryResultModelCompanyResponse given an JSON stringStringgetAtNextLink()Get atNextLinkIntegergetAtRecordsetCount()Get atRecordsetCountList<CompanyResponse>getValue()Get valueinthashCode()voidsetAtNextLink(String atNextLink)voidsetAtRecordsetCount(Integer atRecordsetCount)voidsetValue(List<CompanyResponse> value)StringtoJson()Convert an instance of PaginatedQueryResultModelCompanyResponse to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundPaginatedQueryResultModelCompanyResponsevalue(List<CompanyResponse> value)
-
-
-
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 PaginatedQueryResultModelCompanyResponse atRecordsetCount(Integer atRecordsetCount)
-
getAtRecordsetCount
@Nullable public Integer getAtRecordsetCount()
Get atRecordsetCount- Returns:
- atRecordsetCount
-
setAtRecordsetCount
public void setAtRecordsetCount(Integer atRecordsetCount)
-
value
public PaginatedQueryResultModelCompanyResponse value(List<CompanyResponse> value)
-
addValueItem
public PaginatedQueryResultModelCompanyResponse addValueItem(CompanyResponse valueItem)
-
getValue
@Nullable public List<CompanyResponse> getValue()
Get value- Returns:
- value
-
setValue
public void setValue(List<CompanyResponse> value)
-
atNextLink
public PaginatedQueryResultModelCompanyResponse 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 PaginatedQueryResultModelCompanyResponse
-
fromJson
public static PaginatedQueryResultModelCompanyResponse fromJson(String jsonString) throws IOException
Create an instance of PaginatedQueryResultModelCompanyResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaginatedQueryResultModelCompanyResponse
- Throws:
IOException- if the JSON string is invalid with respect to PaginatedQueryResultModelCompanyResponse
-
toJson
public String toJson()
Convert an instance of PaginatedQueryResultModelCompanyResponse to an JSON string- Returns:
- JSON string
-
-