Interface InsufficientScopeError

All Superinterfaces:
ErrorObject

public interface InsufficientScopeError extends ErrorObject
InsufficientScopeError
Example to create an instance using the builder pattern

     InsufficientScopeError insufficientScopeError = InsufficientScopeError.builder()
             .message("{message}")
             .build()
 
  • Field Details

    • INSUFFICIENT_SCOPE

      static final String 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

      default <T> T withInsufficientScopeError(Function<InsufficientScopeError,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<InsufficientScopeError> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference