public final class Patch extends Operation
| Modifier and Type | Class and Description |
|---|---|
static class |
Patch.Builder
Builder to help construct the Patch.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
allocateToResource(Resource.Builder resourceBuilder)
Allocates the Patch operation type to the given Resource Builder.
|
boolean |
equals(Object o) |
static Patch |
fromAnnotation(Patch patch,
ApiDescription descriptor,
Class<?> relativeType)
Builds a Patch object from the data stored in the annotation.
|
PatchOperation[] |
getOperations()
Getter for supported Patch operations.
|
int |
hashCode() |
static Patch.Builder |
patch()
Creates a new builder for Patch.
|
getApiErrors, getDescription, getParameters, getStability, getSupportedLocalespublic PatchOperation[] getOperations()
public static final Patch.Builder patch()
protected void allocateToResource(Resource.Builder resourceBuilder)
allocateToResource in class OperationresourceBuilder - - Resource Builder to add the operationpublic static Patch fromAnnotation(Patch patch, ApiDescription descriptor, Class<?> relativeType)
patch - Patch annotation that holds the datadescriptor - The root descriptor to add definitions to.relativeType - The type relative to which schema resources should be resolved.Copyright © 2025 Open Identity Platform Community. All rights reserved.