org.jclouds.digitalocean.domain
Class BaseResponse
java.lang.Object
org.jclouds.digitalocean.domain.BaseResponse
public class BaseResponse
- extends Object
Information of an error.
- Author:
- Sergi Castro, Ignasi Barrera
BaseResponse
@ConstructorProperties(value={"status","error_message","message"})
public BaseResponse(BaseResponse.Status status,
@Nullable
String message,
@Nullable
String details)
getStatus
public BaseResponse.Status getStatus()
getMessage
public String getMessage()
getDetails
public String getDetails()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.