public class ApplicationKvRecordPatchRequest extends PatchRequest
value, even when it is null.
Use it with path /ttl and a null value to remove the TTL and make the record permanent
(a plain PatchRequest omits null values from the request body).
Prefer it over a plain PatchRequest for records that may be secret: toString() shows the
value only for the /ttl path and masks it for any other path, while Object.toString()
prints the value as is.
Note: the client omits null-valued entries inside maps when serializing the request, e.g. {"a": null, "b": 1} is sent as {"b": 1}; null elements inside lists are kept.
| Constructor and Description |
|---|
ApplicationKvRecordPatchRequest() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Only the value of the
/ttl operation is shown. |
public java.lang.String toString()
/ttl operation is shown. The value of any other path (including /value,
unexpected paths and a null path) may belong to a secret record, so it is maskedtoString in class java.lang.Object