Package cloud.dnation.hetznerclient
Class ActionDetail
- java.lang.Object
-
- cloud.dnation.hetznerclient.IdentifiableResource
-
- cloud.dnation.hetznerclient.ActionDetail
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-29T09:46:38.528060Z[Etc/UTC]") public class ActionDetail extends IdentifiableResourceActionDetail
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_COMMANDstatic StringSERIALIZED_NAME_ERRORstatic StringSERIALIZED_NAME_STATUS-
Fields inherited from class cloud.dnation.hetznerclient.IdentifiableResource
SERIALIZED_NAME_ID
-
-
Constructor Summary
Constructors Constructor Description ActionDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionDetailcommand(String command)booleanequals(Object o)ActionDetailerror(ErrorDetail error)StringgetCommand()Command executed in the ActionErrorDetailgetError()Get errorStringgetStatus()Status of the ActioninthashCode()voidsetCommand(String command)voidsetError(ErrorDetail error)voidsetStatus(String status)ActionDetailstatus(String status)StringtoString()-
Methods inherited from class cloud.dnation.hetznerclient.IdentifiableResource
getId, id, setId
-
-
-
-
Field Detail
-
SERIALIZED_NAME_COMMAND
public static final String SERIALIZED_NAME_COMMAND
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR
public static final String SERIALIZED_NAME_ERROR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
command
public ActionDetail command(String command)
-
getCommand
@Nullable public String getCommand()
Command executed in the Action- Returns:
- command
-
setCommand
public void setCommand(String command)
-
error
public ActionDetail error(ErrorDetail error)
-
getError
@Nullable public ErrorDetail getError()
Get error- Returns:
- error
-
setError
public void setError(ErrorDetail error)
-
status
public ActionDetail status(String status)
-
getStatus
@Nullable public String getStatus()
Status of the Action- Returns:
- status
-
setStatus
public void setStatus(String status)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classIdentifiableResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classIdentifiableResource
-
toString
public String toString()
- Overrides:
toStringin classIdentifiableResource
-
-