Package Avalara.SDK.model.A1099.V2
Class W8ImyFormMinimalRequest
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.W8ImyFormMinimalRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class W8ImyFormMinimalRequest extends Object
W8ImyFormMinimalRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classW8ImyFormMinimalRequest.CustomTypeAdapterFactorystatic classW8ImyFormMinimalRequest.TypeEnumThe form type (always \"w8imy\" for this model).
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COMPANY_IDstatic StringSERIALIZED_NAME_EMAILstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_REFERENCE_IDstatic StringSERIALIZED_NAME_REFERENCE_NUMBERstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description W8ImyFormMinimalRequest()W8ImyFormMinimalRequest(W8ImyFormMinimalRequest.TypeEnum type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description W8ImyFormMinimalRequestcompanyId(String companyId)W8ImyFormMinimalRequestemail(String email)booleanequals(Object o)static W8ImyFormMinimalRequestfromJson(String jsonString)Create an instance of W8ImyFormMinimalRequest given an JSON stringStringgetCompanyId()The ID of the associated company.StringgetEmail()The email address of the individual associated with the form.StringgetName()The name of the individual or entity associated with the form.StringgetReferenceId()A reference identifier for the form.StringgetReferenceNumber()A reference number for the form.W8ImyFormMinimalRequest.TypeEnumgetType()The form type (always \"w8imy\" for this model).inthashCode()W8ImyFormMinimalRequestname(String name)W8ImyFormMinimalRequestreferenceId(String referenceId)W8ImyFormMinimalRequestreferenceNumber(String referenceNumber)voidsetCompanyId(String companyId)voidsetEmail(String email)voidsetName(String name)voidsetReferenceId(String referenceId)voidsetReferenceNumber(String referenceNumber)StringtoJson()Convert an instance of W8ImyFormMinimalRequest to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFERENCE_NUMBER
public static final String SERIALIZED_NAME_REFERENCE_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPANY_ID
public static final String SERIALIZED_NAME_COMPANY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFERENCE_ID
public static final String SERIALIZED_NAME_REFERENCE_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
W8ImyFormMinimalRequest
public W8ImyFormMinimalRequest()
-
W8ImyFormMinimalRequest
public W8ImyFormMinimalRequest(W8ImyFormMinimalRequest.TypeEnum type)
-
-
Method Detail
-
getType
@Nullable public W8ImyFormMinimalRequest.TypeEnum getType()
The form type (always \"w8imy\" for this model).- Returns:
- type
-
email
public W8ImyFormMinimalRequest email(String email)
-
getEmail
@Nonnull public String getEmail()
The email address of the individual associated with the form.- Returns:
-
setEmail
public void setEmail(String email)
-
name
public W8ImyFormMinimalRequest name(String name)
-
getName
@Nonnull public String getName()
The name of the individual or entity associated with the form.- Returns:
- name
-
setName
public void setName(String name)
-
referenceNumber
public W8ImyFormMinimalRequest referenceNumber(String referenceNumber)
-
getReferenceNumber
@Nullable public String getReferenceNumber()
A reference number for the form.- Returns:
- referenceNumber
-
setReferenceNumber
public void setReferenceNumber(String referenceNumber)
-
companyId
public W8ImyFormMinimalRequest companyId(String companyId)
-
getCompanyId
@Nonnull public String getCompanyId()
The ID of the associated company.- Returns:
- companyId
-
setCompanyId
public void setCompanyId(String companyId)
-
referenceId
public W8ImyFormMinimalRequest referenceId(String referenceId)
-
getReferenceId
@Nullable public String getReferenceId()
A reference identifier for the form.- Returns:
- referenceId
-
setReferenceId
public void setReferenceId(String referenceId)
-
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 W8ImyFormMinimalRequest
-
fromJson
public static W8ImyFormMinimalRequest fromJson(String jsonString) throws IOException
Create an instance of W8ImyFormMinimalRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of W8ImyFormMinimalRequest
- Throws:
IOException- if the JSON string is invalid with respect to W8ImyFormMinimalRequest
-
toJson
public String toJson()
Convert an instance of W8ImyFormMinimalRequest to an JSON string- Returns:
- JSON string
-
-