Package Avalara.SDK.model.A1099.V2
Class EntryStatusResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.EntryStatusResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class EntryStatusResponse extends Object
Represents the entry status information for a W9 form.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntryStatusResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_TIME
-
Constructor Summary
Constructors Constructor Description EntryStatusResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static EntryStatusResponsefromJson(String jsonString)Create an instance of EntryStatusResponse given an JSON stringStringgetStatus()The form status.OffsetDateTimegetTime()The timestamp for the latest status update.inthashCode()voidsetStatus(String status)voidsetTime(OffsetDateTime time)EntryStatusResponsestatus(String status)EntryStatusResponsetime(OffsetDateTime time)StringtoJson()Convert an instance of EntryStatusResponse 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_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIME
public static final String SERIALIZED_NAME_TIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
status
public EntryStatusResponse status(String status)
-
setStatus
public void setStatus(String status)
-
time
public EntryStatusResponse time(OffsetDateTime time)
-
getTime
@Nullable public OffsetDateTime getTime()
The timestamp for the latest status update.- Returns:
- time
-
setTime
public void setTime(OffsetDateTime time)
-
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 EntryStatusResponse
-
fromJson
public static EntryStatusResponse fromJson(String jsonString) throws IOException
Create an instance of EntryStatusResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EntryStatusResponse
- Throws:
IOException- if the JSON string is invalid with respect to EntryStatusResponse
-
toJson
public String toJson()
Convert an instance of EntryStatusResponse to an JSON string- Returns:
- JSON string
-
-