Package com.intercom.api.types
Class Error.ErrorsItem.Builder
java.lang.Object
com.intercom.api.types.Error.ErrorsItem.Builder
- All Implemented Interfaces:
Error.ErrorsItem._FinalStage,Error.ErrorsItem.CodeStage
- Enclosing class:
Error.ErrorsItem
public static final class Error.ErrorsItem.Builder
extends Object
implements Error.ErrorsItem.CodeStage, Error.ErrorsItem._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()A string indicating the kind of error, used to further qualify the HTTP response codeOptional.from(Error.ErrorsItem other) Optional.
-
Method Details
-
from
- Specified by:
fromin interfaceError.ErrorsItem.CodeStage
-
code
A string indicating the kind of error, used to further qualify the HTTP response code
- Specified by:
codein interfaceError.ErrorsItem.CodeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
field
Optional. Used to identify a particular field or query parameter that was in error.
- Specified by:
fieldin interfaceError.ErrorsItem._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
field
- Specified by:
fieldin interfaceError.ErrorsItem._FinalStage
-
message
Optional. Human readable description of the error.
- Specified by:
messagein interfaceError.ErrorsItem._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
message
- Specified by:
messagein interfaceError.ErrorsItem._FinalStage
-
build
- Specified by:
buildin interfaceError.ErrorsItem._FinalStage
-