Class InnerErrorModel
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.InnerErrorModel
-
public class InnerErrorModel extends Object
An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
-
-
Constructor Summary
Constructors Constructor Description InnerErrorModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcode()Get the code value.InnerErrorModelinnerError()Get the innerError value.InnerErrorModelwithCode(String code)Set the code value.InnerErrorModelwithInnerError(InnerErrorModel innerError)Set the innerError value.
-
-
-
Method Detail
-
code
public String code()
Get the code value.- Returns:
- the code value
-
withCode
public InnerErrorModel withCode(String code)
Set the code value.- Parameters:
code- the code value to set- Returns:
- the InnerErrorModel object itself.
-
innerError
public InnerErrorModel innerError()
Get the innerError value.- Returns:
- the innerError value
-
withInnerError
public InnerErrorModel withInnerError(InnerErrorModel innerError)
Set the innerError value.- Parameters:
innerError- the innerError value to set- Returns:
- the InnerErrorModel object itself.
-
-