Class PatchOperation
- java.lang.Object
-
- com.courier.api.resources.users.tokens.types.PatchOperation
-
public final class PatchOperation extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePatchOperation._FinalStagestatic classPatchOperation.Builderstatic interfacePatchOperation.OpStagestatic interfacePatchOperation.PathStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatchOperation.OpStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetOp()java.lang.StringgetPath()java.util.Optional<java.lang.String>getValue()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getOp
public java.lang.String getOp()
- Returns:
- The operation to perform.
-
getPath
public java.lang.String getPath()
- Returns:
- The JSON path specifying the part of the profile to operate on.
-
getValue
public java.util.Optional<java.lang.String> getValue()
- Returns:
- The value for the operation.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static PatchOperation.OpStage builder()
-
-