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.GenericModelObject representing an HTTP response with an error.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceError.Levelerror severity level.
-
Constructor Summary
Constructors Constructor Description ServiceError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArtifact()Gets the artifact.java.lang.LonggetCode()Gets the code.java.lang.StringgetCorrelationId()Gets the correlationId.java.lang.StringgetDescription()Gets the description.java.lang.StringgetHref()Gets the href.java.lang.StringgetLevel()Gets the level.java.lang.StringgetMessage()Gets the message.java.lang.StringgetMoreInfo()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
-
-