public class BaseResponse extends Object
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getMsg()
returns the message of the error encountered.
|
Optional<String> |
getOperationID()
returns a unique ID generated to identify a specific operation.
|
APIStatus |
getStatus()
returns the status of the operation.
|
Optional<String> |
getType()
returns the type of error encountered.
|
Optional<UserInput[]> |
getUserInputs()
returns the UserInputs required for this operation, which are the further information
required from the user before the job can be completed.
|
boolean |
isSuccess()
returns true if request is successful and false otherwise.
|
public APIStatus getStatus()
public boolean isSuccess()
public Optional<String> getOperationID()
public Optional<UserInput[]> getUserInputs()
public Optional<String> getType()
Copyright © 2021–2022 Dapi. All rights reserved.