Interface InsufficientScopeError
- All Superinterfaces:
ErrorObject
InsufficientScopeError
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InsufficientScopeError insufficientScopeError = InsufficientScopeError.builder()
.message("{message}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for InsufficientScopeError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for InsufficientScopeErrorbuilder
(InsufficientScopeError template) create builder for InsufficientScopeError instancestatic InsufficientScopeError
deepCopy
(InsufficientScopeError template) factory method to create a deep copy of InsufficientScopeErrorstatic InsufficientScopeError
of()
factory methodstatic InsufficientScopeError
of
(InsufficientScopeError template) factory method to create a shallow copy InsufficientScopeErrorstatic com.fasterxml.jackson.core.type.TypeReference<InsufficientScopeError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.error.ErrorObject
getCode, getMessage, setMessage, setValue, values, withErrorObject
-
Field Details
-
INSUFFICIENT_SCOPE
discriminator value for InsufficientScopeError- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of InsufficientScopeError
-
of
factory method to create a shallow copy InsufficientScopeError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of InsufficientScopeError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for InsufficientScopeError- Returns:
- builder
-
builder
create builder for InsufficientScopeError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withInsufficientScopeError
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
-