Package Avalara.SDK.model.EInvoicing.V1
Class MandatesResponse
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.MandatesResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class MandatesResponse extends Object
Mandate list response schema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMandatesResponse.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 MandatesResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MandatesResponseaddValueItem(Mandate valueItem)MandatesResponseatNextLink(String atNextLink)MandatesResponseatRecordsetCount(BigDecimal atRecordsetCount)booleanequals(Object o)static MandatesResponsefromJson(String jsonString)Create an instance of MandatesResponse given an JSON stringStringgetAtNextLink()Get atNextLinkBigDecimalgetAtRecordsetCount()Total count of resultsList<Mandate>getValue()Mandates schemainthashCode()voidsetAtNextLink(String atNextLink)voidsetAtRecordsetCount(BigDecimal atRecordsetCount)voidsetValue(List<Mandate> value)StringtoJson()Convert an instance of MandatesResponse to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundMandatesResponsevalue(List<Mandate> 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 MandatesResponse atRecordsetCount(BigDecimal atRecordsetCount)
-
getAtRecordsetCount
@Nullable public BigDecimal getAtRecordsetCount()
Total count of results- Returns:
- atRecordsetCount
-
setAtRecordsetCount
public void setAtRecordsetCount(BigDecimal atRecordsetCount)
-
atNextLink
public MandatesResponse atNextLink(String atNextLink)
-
setAtNextLink
public void setAtNextLink(String atNextLink)
-
value
public MandatesResponse value(List<Mandate> value)
-
addValueItem
public MandatesResponse addValueItem(Mandate valueItem)
-
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 MandatesResponse
-
fromJson
public static MandatesResponse fromJson(String jsonString) throws IOException
Create an instance of MandatesResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MandatesResponse
- Throws:
IOException- if the JSON string is invalid with respect to MandatesResponse
-
toJson
public String toJson()
Convert an instance of MandatesResponse to an JSON string- Returns:
- JSON string
-
-