Class ContainerFileCitationBody
-
- All Implemented Interfaces:
public final class ContainerFileCitationBody
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContainerFileCitationBody.BuilderA builder for ContainerFileCitationBody.
-
Method Summary
Modifier and Type Method Description final StringcontainerId()The ID of the container file. final LongendIndex()The index of the last character of the container file citation in the message. final StringfileId()The ID of the file. final Stringfilename()The filename of the container file cited. final LongstartIndex()The index of the first character of the container file citation in the message. final JsonValue_type()The type of the container file citation. final JsonField<String>_containerId()Returns the raw JSON value of containerId. final JsonField<Long>_endIndex()Returns the raw JSON value of endIndex. final JsonField<String>_fileId()Returns the raw JSON value of fileId. final JsonField<String>_filename()Returns the raw JSON value of filename. final JsonField<Long>_startIndex()Returns the raw JSON value of startIndex. final Map<String, JsonValue>_additionalProperties()final ContainerFileCitationBody.BuildertoBuilder()final ContainerFileCitationBodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContainerFileCitationBody.Builderbuilder()Returns a mutable builder for constructing an instance of ContainerFileCitationBody. -
-
Method Detail
-
containerId
final String containerId()
The ID of the container file.
-
endIndex
final Long endIndex()
The index of the last character of the container file citation in the message.
-
startIndex
final Long startIndex()
The index of the first character of the container file citation in the message.
-
_type
final JsonValue _type()
The type of the container file citation. Always
container_file_citation.Expected to always return the following:
JsonValue.from("container_file_citation")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_containerId
final JsonField<String> _containerId()
Returns the raw JSON value of containerId.
Unlike containerId, this method doesn't throw if the JSON field has an unexpected type.
-
_endIndex
final JsonField<Long> _endIndex()
Returns the raw JSON value of endIndex.
Unlike endIndex, this method doesn't throw if the JSON field has an unexpected type.
-
_fileId
final JsonField<String> _fileId()
Returns the raw JSON value of fileId.
Unlike fileId, this method doesn't throw if the JSON field has an unexpected type.
-
_filename
final JsonField<String> _filename()
Returns the raw JSON value of filename.
Unlike filename, this method doesn't throw if the JSON field has an unexpected type.
-
_startIndex
final JsonField<Long> _startIndex()
Returns the raw JSON value of startIndex.
Unlike startIndex, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ContainerFileCitationBody.Builder toBuilder()
-
validate
final ContainerFileCitationBody validate()
-
builder
final static ContainerFileCitationBody.Builder builder()
Returns a mutable builder for constructing an instance of ContainerFileCitationBody.
The following fields are required:
.containerId() .endIndex() .fileId() .filename() .startIndex()
-
-
-
-