Package Avalara.SDK.model.EInvoicing.V1
Class DirectorySearchResponse
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.DirectorySearchResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class DirectorySearchResponse extends Object
Response schema for directory search results
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDirectorySearchResponse.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 DirectorySearchResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectorySearchResponseaddValueItem(DirectorySearchResponseValueInner valueItem)DirectorySearchResponseatNextLink(String atNextLink)DirectorySearchResponseatRecordSetCount(Integer atRecordSetCount)booleanequals(Object o)static DirectorySearchResponsefromJson(String jsonString)Create an instance of DirectorySearchResponse given an JSON stringStringgetAtNextLink()The next page link to get the next set of results.IntegergetAtRecordSetCount()The count of records in the result setList<DirectorySearchResponseValueInner>getValue()Get valueinthashCode()voidsetAtNextLink(String atNextLink)voidsetAtRecordSetCount(Integer atRecordSetCount)voidsetValue(List<DirectorySearchResponseValueInner> value)StringtoJson()Convert an instance of DirectorySearchResponse to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundDirectorySearchResponsevalue(List<DirectorySearchResponseValueInner> 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 DirectorySearchResponse 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 DirectorySearchResponse atNextLink(String atNextLink)
-
getAtNextLink
@Nullable public String getAtNextLink()
The next page link to get the next set of results.- Returns:
- atNextLink
-
setAtNextLink
public void setAtNextLink(String atNextLink)
-
value
public DirectorySearchResponse value(List<DirectorySearchResponseValueInner> value)
-
addValueItem
public DirectorySearchResponse addValueItem(DirectorySearchResponseValueInner valueItem)
-
getValue
@Nullable public List<DirectorySearchResponseValueInner> getValue()
Get value- Returns:
- value
-
setValue
public void setValue(List<DirectorySearchResponseValueInner> 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 DirectorySearchResponse
-
fromJson
public static DirectorySearchResponse fromJson(String jsonString) throws IOException
Create an instance of DirectorySearchResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DirectorySearchResponse
- Throws:
IOException- if the JSON string is invalid with respect to DirectorySearchResponse
-
toJson
public String toJson()
Convert an instance of DirectorySearchResponse to an JSON string- Returns:
- JSON string
-
-