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 IacApiErrorcode(String code)IacApiErrordetail(String detail)booleanequals(Object o)StringgetCode()Application-specific error codeStringgetDetail()Detailed description of the errorStringgetSource()Indicates the part of the request document that caused the errorStringgetStatus()HTTP status codeinthashCode()voidsetCode(String code)voidsetDetail(String detail)voidsetSource(String source)voidsetStatus(String status)IacApiErrorsource(String source)IacApiErrorstatus(String status)StringtoString()
-
-
-
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)
-
-