Interface InvalidScopeError
- All Superinterfaces:
ErrorObject
The requested scope is invalid, unknown, malformed, or exceeds the scope granted by the resource owner.
Example to create an instance using the builder pattern
InvalidScopeError invalidScopeError = InvalidScopeError.builder()
.message("{message}")
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidScopeErrorBuilder
builder()
builder factory method for InvalidScopeErrorstatic InvalidScopeErrorBuilder
builder
(InvalidScopeError template) create builder for InvalidScopeError instancestatic InvalidScopeError
deepCopy
(InvalidScopeError template) factory method to create a deep copy of InvalidScopeErrorstatic InvalidScopeError
of()
factory methodstatic InvalidScopeError
of
(InvalidScopeError template) factory method to create a shallow copy InvalidScopeErrorstatic com.fasterxml.jackson.core.type.TypeReference<InvalidScopeError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withInvalidScopeError
(Function<InvalidScopeError, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.errors.ErrorObject
getCode, getMessage, setMessage, withErrorObject
-
Field Details
-
INVALID_SCOPE
discriminator value for InvalidScopeError- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of InvalidScopeError
-
of
factory method to create a shallow copy InvalidScopeError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of InvalidScopeError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for InvalidScopeError- Returns:
- builder
-
builder
create builder for InvalidScopeError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withInvalidScopeError
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-