Package com.exoscale.sdk.model
Class Operation
- java.lang.Object
-
- com.exoscale.sdk.model.Operation
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class Operation extends Object
Operation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Operation.ReasonEnum
Operation failure reasonstatic class
Operation.StateEnum
Operation status
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_MESSAGE
static String
JSON_PROPERTY_REASON
static String
JSON_PROPERTY_REFERENCE
static String
JSON_PROPERTY_STATE
-
Constructor Summary
Constructors Constructor Description Operation()
Operation(UUID id, Operation.ReasonEnum reason, String message, Operation.StateEnum state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this operation object is equal to o.UUID
getId()
Operation IDString
getMessage()
Operation messageOperation.ReasonEnum
getReason()
Operation failure reasonOperationReference
getReference()
Get referenceOperation.StateEnum
getState()
Operation statusint
hashCode()
Operation
reference(OperationReference reference)
void
setReference(OperationReference reference)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE
public static final String JSON_PROPERTY_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Operation
public Operation()
-
Operation
public Operation(UUID id, Operation.ReasonEnum reason, String message, Operation.StateEnum state)
-
-
Method Detail
-
getId
@Nullable public UUID getId()
Operation ID- Returns:
- id
-
getReason
@Nullable public Operation.ReasonEnum getReason()
Operation failure reason- Returns:
- reason
-
reference
public Operation reference(OperationReference reference)
-
getReference
@Nullable public OperationReference getReference()
Get reference- Returns:
- reference
-
setReference
public void setReference(OperationReference reference)
-
getMessage
@Nullable public String getMessage()
Operation message- Returns:
- message
-
getState
@Nullable public Operation.StateEnum getState()
Operation status- Returns:
- state
-
equals
public boolean equals(Object o)
Return true if this operation object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-