Package Avalara.SDK.model.EInvoicing.V1
Class DocumentFetchRequestDataInner
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.DocumentFetchRequestDataInner
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class DocumentFetchRequestDataInner extends Object
DocumentFetchRequestDataInner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentFetchRequestDataInner.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_KEYstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description DocumentFetchRequestDataInner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static DocumentFetchRequestDataInnerfromJson(String jsonString)Create an instance of DocumentFetchRequestDataInner given an JSON stringStringgetKey()Descriptor of the identifierStringgetValue()Value of the identifierinthashCode()DocumentFetchRequestDataInnerkey(String key)voidsetKey(String key)voidsetValue(String value)StringtoJson()Convert an instance of DocumentFetchRequestDataInner to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundDocumentFetchRequestDataInnervalue(String value)
-
-
-
Field Detail
-
SERIALIZED_NAME_KEY
public static final String SERIALIZED_NAME_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
key
public DocumentFetchRequestDataInner key(String key)
-
setKey
public void setKey(String key)
-
value
public DocumentFetchRequestDataInner value(String value)
-
setValue
public void setValue(String 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 DocumentFetchRequestDataInner
-
fromJson
public static DocumentFetchRequestDataInner fromJson(String jsonString) throws IOException
Create an instance of DocumentFetchRequestDataInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentFetchRequestDataInner
- Throws:
IOException- if the JSON string is invalid with respect to DocumentFetchRequestDataInner
-
toJson
public String toJson()
Convert an instance of DocumentFetchRequestDataInner to an JSON string- Returns:
- JSON string
-
-