Package com.merative.acd.v1.model
Class ServiceError
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.merative.acd.v1.model.ServiceError
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ServiceError extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object representing an HTTP response with an error.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ServiceError.Level
error severity level.
-
Constructor Summary
Constructors Constructor Description ServiceError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getArtifact()
Gets the artifact.java.lang.Long
getCode()
Gets the code.java.lang.String
getCorrelationId()
Gets the correlationId.java.lang.String
getDescription()
Gets the description.java.lang.String
getHref()
Gets the href.java.lang.String
getLevel()
Gets the level.java.lang.String
getMessage()
Gets the message.java.lang.String
getMoreInfo()
Gets the moreInfo.
-
-
-
Method Detail
-
getCode
public java.lang.Long getCode()
Gets the code. respone code.- Returns:
- the code
-
getMessage
public java.lang.String getMessage()
Gets the message. response error message.- Returns:
- the message
-
getLevel
public java.lang.String getLevel()
Gets the level. error severity level.- Returns:
- the level
-
getDescription
public java.lang.String getDescription()
Gets the description. error description.- Returns:
- the description
-
getMoreInfo
public java.lang.String getMoreInfo()
Gets the moreInfo. additional error information.- Returns:
- the moreInfo
-
getCorrelationId
public java.lang.String getCorrelationId()
Gets the correlationId. error message correlation identifier.- Returns:
- the correlationId
-
getArtifact
public java.lang.String getArtifact()
Gets the artifact.- Returns:
- the artifact
-
getHref
public java.lang.String getHref()
Gets the href.- Returns:
- the href
-
-