Package Avalara.SDK.model.EInvoicing.V1
Class MandateDataInputFieldNamespace
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.MandateDataInputFieldNamespace
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class MandateDataInputFieldNamespace extends Object
The namespace of the UBL element
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMandateDataInputFieldNamespace.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PREFIXstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description MandateDataInputFieldNamespace()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static MandateDataInputFieldNamespacefromJson(String jsonString)Create an instance of MandateDataInputFieldNamespace given an JSON stringStringgetPrefix()The namespace prefix for the UBL ElementStringgetValue()Get valueinthashCode()MandateDataInputFieldNamespaceprefix(String prefix)voidsetPrefix(String prefix)voidsetValue(String value)StringtoJson()Convert an instance of MandateDataInputFieldNamespace to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundMandateDataInputFieldNamespacevalue(String value)
-
-
-
Field Detail
-
SERIALIZED_NAME_PREFIX
public static final String SERIALIZED_NAME_PREFIX
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
prefix
public MandateDataInputFieldNamespace prefix(String prefix)
-
getPrefix
@Nullable public String getPrefix()
The namespace prefix for the UBL Element- Returns:
- prefix
-
setPrefix
public void setPrefix(String prefix)
-
value
public MandateDataInputFieldNamespace 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 MandateDataInputFieldNamespace
-
fromJson
public static MandateDataInputFieldNamespace fromJson(String jsonString) throws IOException
Create an instance of MandateDataInputFieldNamespace given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MandateDataInputFieldNamespace
- Throws:
IOException- if the JSON string is invalid with respect to MandateDataInputFieldNamespace
-
toJson
public String toJson()
Convert an instance of MandateDataInputFieldNamespace to an JSON string- Returns:
- JSON string
-
-