Class ResponseCompactionItem
-
- All Implemented Interfaces:
public final class ResponseCompactionItemA compaction item generated by the
v1/responses/compactAPI.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseCompactionItem.BuilderA builder for ResponseCompactionItem.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the compaction item. final StringencryptedContent()The encrypted content that was produced by compaction. final JsonValue_type()The type of the item. final Optional<String>createdBy()The identifier of the actor that created the item. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_encryptedContent()Returns the raw JSON value of encryptedContent. final JsonField<String>_createdBy()Returns the raw JSON value of createdBy. final Map<String, JsonValue>_additionalProperties()final ResponseCompactionItem.BuildertoBuilder()final ResponseCompactionItemvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseCompactionItem.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseCompactionItem. -
-
Method Detail
-
encryptedContent
final String encryptedContent()
The encrypted content that was produced by compaction.
-
_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).
-
_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.
-
_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.
-
_createdBy
final JsonField<String> _createdBy()
Returns the raw JSON value of createdBy.
Unlike createdBy, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseCompactionItem.Builder toBuilder()
-
validate
final ResponseCompactionItem 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 ResponseCompactionItem.Builder builder()
Returns a mutable builder for constructing an instance of ResponseCompactionItem.
The following fields are required:
.id() .encryptedContent()
-
-
-
-