Package org.openapitools.client.model
Class ScanCloudStorageJobStatusResult
java.lang.Object
org.openapitools.client.model.ScanCloudStorageJobStatusResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-01-27T23:59:36.607801Z[Etc/UTC]",
comments="Generator version: 7.12.0")
public class ScanCloudStorageJobStatusResult
extends Object
Status of the scan cloud storage job
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasyncJobID(String asyncJobID) asyncJobStatus(String asyncJobStatus) booleanerrorMessage(String errorMessage) Create an instance of ScanCloudStorageJobStatusResult given an JSON stringJob ID of the async batch jobReturns the job status of the Async Job, if applicable.Error message (if any)Duration of a completed jobGet resultTru eif the operation to check the status of the job was successful, false otherwiseinthashCode()jobDuration(String jobDuration) voidsetAsyncJobID(String asyncJobID) voidsetAsyncJobStatus(String asyncJobStatus) voidsetErrorMessage(String errorMessage) voidsetJobDuration(String jobDuration) voidvoidsetSuccessful(Boolean successful) successful(Boolean successful) toJson()Convert an instance of ScanCloudStorageJobStatusResult to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_SUCCESSFUL
- See Also:
-
SERIALIZED_NAME_ASYNC_JOB_STATUS
- See Also:
-
SERIALIZED_NAME_ASYNC_JOB_I_D
- See Also:
-
SERIALIZED_NAME_RESULT
- See Also:
-
SERIALIZED_NAME_JOB_DURATION
- See Also:
-
SERIALIZED_NAME_ERROR_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ScanCloudStorageJobStatusResult
public ScanCloudStorageJobStatusResult()
-
-
Method Details
-
successful
-
getSuccessful
Tru eif the operation to check the status of the job was successful, false otherwise- Returns:
- successful
-
setSuccessful
-
asyncJobStatus
-
getAsyncJobStatus
Returns the job status of the Async Job, if applicable. Possible states are STARTED and COMPLETED- Returns:
- asyncJobStatus
-
setAsyncJobStatus
-
asyncJobID
-
getAsyncJobID
Job ID of the async batch job- Returns:
- asyncJobID
-
setAsyncJobID
-
result
-
getResult
Get result- Returns:
- result
-
setResult
-
jobDuration
-
getJobDuration
Duration of a completed job- Returns:
- jobDuration
-
setJobDuration
-
errorMessage
-
getErrorMessage
Error message (if any)- Returns:
- errorMessage
-
setErrorMessage
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates 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 ScanCloudStorageJobStatusResult
-
fromJson
Create an instance of ScanCloudStorageJobStatusResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ScanCloudStorageJobStatusResult
- Throws:
IOException- if the JSON string is invalid with respect to ScanCloudStorageJobStatusResult
-
toJson
Convert an instance of ScanCloudStorageJobStatusResult to an JSON string- Returns:
- JSON string
-