Package io.prismacloud.iac.commons.model
Class IacApiError
- java.lang.Object
-
- io.prismacloud.iac.commons.model.IacApiError
-
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2021-01-26T11:29:52.304914+05:30[Asia/Kolkata]") public class IacApiError extends Object
IacApiError
-
-
Constructor Summary
Constructors Constructor Description IacApiError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IacApiError
code(String code)
IacApiError
detail(String detail)
boolean
equals(Object o)
String
getCode()
Application-specific error codeString
getDetail()
Detailed description of the errorString
getSource()
Indicates the part of the request document that caused the errorString
getStatus()
HTTP status codeint
hashCode()
void
setCode(String code)
void
setDetail(String detail)
void
setSource(String source)
void
setStatus(String status)
IacApiError
source(String source)
IacApiError
status(String status)
String
toString()
-
-
-
Method Detail
-
status
public IacApiError status(String status)
-
getStatus
public String getStatus()
HTTP status code- Returns:
- status
-
setStatus
public void setStatus(String status)
-
code
public IacApiError code(String code)
-
getCode
public String getCode()
Application-specific error code- Returns:
- code
-
setCode
public void setCode(String code)
-
detail
public IacApiError detail(String detail)
-
getDetail
public String getDetail()
Detailed description of the error- Returns:
- detail
-
setDetail
public void setDetail(String detail)
-
source
public IacApiError source(String source)
-
getSource
public String getSource()
Indicates the part of the request document that caused the error- Returns:
- source
-
setSource
public void setSource(String source)
-
-