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
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidScopeErrorBuilderbuilder()builder factory method for InvalidScopeErrorstatic InvalidScopeErrorBuilderbuilder(InvalidScopeError template) create builder for InvalidScopeError instancecopyDeep()static InvalidScopeErrordeepCopy(InvalidScopeError template) factory method to create a deep copy of InvalidScopeErrorstatic InvalidScopeErrorof()factory methodstatic InvalidScopeErrorof(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> TwithInvalidScopeError(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
-
copyDeep
InvalidScopeError copyDeep()- Specified by:
copyDeepin interfaceErrorObject
-
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
-