Package Avalara.SDK.model.EInvoicing.V1
Class DataInputField
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.DataInputField
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class DataInputField extends Object
The Data Input Field
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataInputField.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCEPTED_VALUESstatic StringSERIALIZED_NAME_APPLICABLE_DOCUMENT_ROOTSstatic StringSERIALIZED_NAME_CONDITIONAL_FORstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_DOCUMENTATION_LINKstatic StringSERIALIZED_NAME_EXAMPLE_OR_FIXED_VALUEstatic StringSERIALIZED_NAME_FIELD_IDstatic StringSERIALIZED_NAME_FIELD_NAMEstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_IS_SEGMENTstatic StringSERIALIZED_NAME_NAMESPACEstatic StringSERIALIZED_NAME_NOT_USED_FORstatic StringSERIALIZED_NAME_OPTIONAL_FORstatic StringSERIALIZED_NAME_PATHstatic StringSERIALIZED_NAME_REQUIRED_FOR
-
Constructor Summary
Constructors Constructor Description DataInputField()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FIELD_ID
public static final String SERIALIZED_NAME_FIELD_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICABLE_DOCUMENT_ROOTS
public static final String SERIALIZED_NAME_APPLICABLE_DOCUMENT_ROOTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PATH
public static final String SERIALIZED_NAME_PATH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAMESPACE
public static final String SERIALIZED_NAME_NAMESPACE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FIELD_NAME
public static final String SERIALIZED_NAME_FIELD_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXAMPLE_OR_FIXED_VALUE
public static final String SERIALIZED_NAME_EXAMPLE_OR_FIXED_VALUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCEPTED_VALUES
public static final String SERIALIZED_NAME_ACCEPTED_VALUES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENTATION_LINK
public static final String SERIALIZED_NAME_DOCUMENTATION_LINK
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_SEGMENT
public static final String SERIALIZED_NAME_IS_SEGMENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REQUIRED_FOR
public static final String SERIALIZED_NAME_REQUIRED_FOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONDITIONAL_FOR
public static final String SERIALIZED_NAME_CONDITIONAL_FOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NOT_USED_FOR
public static final String SERIALIZED_NAME_NOT_USED_FOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OPTIONAL_FOR
public static final String SERIALIZED_NAME_OPTIONAL_FOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public DataInputField id(String id)
-
setId
public void setId(String id)
-
fieldId
public DataInputField fieldId(String fieldId)
-
setFieldId
public void setFieldId(String fieldId)
-
applicableDocumentRoots
public DataInputField applicableDocumentRoots(List<Object> applicableDocumentRoots)
-
addApplicableDocumentRootsItem
public DataInputField addApplicableDocumentRootsItem(Object applicableDocumentRootsItem)
-
getApplicableDocumentRoots
@Nullable public List<Object> getApplicableDocumentRoots()
Get applicableDocumentRoots- Returns:
- applicableDocumentRoots
-
setApplicableDocumentRoots
public void setApplicableDocumentRoots(List<Object> applicableDocumentRoots)
-
path
public DataInputField path(String path)
-
setPath
public void setPath(String path)
-
namespace
public DataInputField namespace(String namespace)
-
setNamespace
public void setNamespace(String namespace)
-
fieldName
public DataInputField fieldName(String fieldName)
-
setFieldName
public void setFieldName(String fieldName)
-
exampleOrFixedValue
public DataInputField exampleOrFixedValue(String exampleOrFixedValue)
-
getExampleOrFixedValue
@Nullable public String getExampleOrFixedValue()
An example of the content for this field- Returns:
- exampleOrFixedValue
-
setExampleOrFixedValue
public void setExampleOrFixedValue(String exampleOrFixedValue)
-
acceptedValues
public DataInputField acceptedValues(Object acceptedValues)
-
getAcceptedValues
@Nullable public Object getAcceptedValues()
An object representing the acceptable values for this field- Returns:
- acceptedValues
-
setAcceptedValues
public void setAcceptedValues(Object acceptedValues)
-
documentationLink
public DataInputField documentationLink(String documentationLink)
-
getDocumentationLink
@Nullable public String getDocumentationLink()
An example of the content for this field- Returns:
- documentationLink
-
setDocumentationLink
public void setDocumentationLink(String documentationLink)
-
description
public DataInputField description(String description)
-
getDescription
@Nullable public String getDescription()
A description of this field- Returns:
- description
-
setDescription
public void setDescription(String description)
-
isSegment
public DataInputField isSegment(Boolean isSegment)
-
getIsSegment
@Nullable public Boolean getIsSegment()
Is this a segment of the schema- Returns:
- isSegment
-
setIsSegment
public void setIsSegment(Boolean isSegment)
-
requiredFor
public DataInputField requiredFor(DataInputFieldRequiredFor requiredFor)
-
getRequiredFor
@Nullable public DataInputFieldRequiredFor getRequiredFor()
Get requiredFor- Returns:
- requiredFor
-
setRequiredFor
public void setRequiredFor(DataInputFieldRequiredFor requiredFor)
-
conditionalFor
public DataInputField conditionalFor(List<ConditionalForField> conditionalFor)
-
addConditionalForItem
public DataInputField addConditionalForItem(ConditionalForField conditionalForItem)
-
getConditionalFor
@Nullable public List<ConditionalForField> getConditionalFor()
Get conditionalFor- Returns:
- conditionalFor
-
setConditionalFor
public void setConditionalFor(List<ConditionalForField> conditionalFor)
-
notUsedFor
public DataInputField notUsedFor(DataInputFieldNotUsedFor notUsedFor)
-
getNotUsedFor
@Nullable public DataInputFieldNotUsedFor getNotUsedFor()
Get notUsedFor- Returns:
- notUsedFor
-
setNotUsedFor
public void setNotUsedFor(DataInputFieldNotUsedFor notUsedFor)
-
optionalFor
public DataInputField optionalFor(DataInputFieldOptionalFor optionalFor)
-
getOptionalFor
@Nullable public DataInputFieldOptionalFor getOptionalFor()
Get optionalFor- Returns:
- optionalFor
-
setOptionalFor
public void setOptionalFor(DataInputFieldOptionalFor optionalFor)
-
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 DataInputField
-
fromJson
public static DataInputField fromJson(String jsonString) throws IOException
Create an instance of DataInputField given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DataInputField
- Throws:
IOException- if the JSON string is invalid with respect to DataInputField
-
toJson
public String toJson()
Convert an instance of DataInputField to an JSON string- Returns:
- JSON string
-
-