Class ResponseCompactionItemParam
-
- All Implemented Interfaces:
public final class ResponseCompactionItemParamA compaction item generated by the
v1/responses/compactAPI.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseCompactionItemParam.BuilderA builder for ResponseCompactionItemParam.
-
Method Summary
Modifier and Type Method Description final StringencryptedContent()The encrypted content of the compaction summary. final JsonValue_type()The type of the item. final Optional<String>id()The ID of the compaction item. final JsonField<String>_encryptedContent()Returns the raw JSON value of encryptedContent. final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final ResponseCompactionItemParam.BuildertoBuilder()final ResponseCompactionItemParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseCompactionItemParam.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseCompactionItemParam. -
-
Method Detail
-
encryptedContent
final String encryptedContent()
The encrypted content of the compaction summary.
-
_type
final JsonValue _type()
The type of the item. Always
compaction.Expected to always return the following:
JsonValue.from("compaction")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_encryptedContent
final JsonField<String> _encryptedContent()
Returns the raw JSON value of encryptedContent.
Unlike encryptedContent, this method doesn't throw if the JSON field has an unexpected type.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseCompactionItemParam.Builder toBuilder()
-
validate
final ResponseCompactionItemParam validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ResponseCompactionItemParam.Builder builder()
Returns a mutable builder for constructing an instance of ResponseCompactionItemParam.
The following fields are required:
.encryptedContent()
-
-
-
-