Class FileCountSnapshotStats
- java.lang.Object
-
- org.opensearch.client.opensearch.snapshot.FileCountSnapshotStats
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class FileCountSnapshotStats extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileCountSnapshotStats.BuilderBuilder forFileCountSnapshotStats.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FileCountSnapshotStats>_DESERIALIZERJson deserializer forFileCountSnapshotStats
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intfileCount()Required - API name:file_countstatic FileCountSnapshotStatsof(java.util.function.Function<FileCountSnapshotStats.Builder,ObjectBuilder<FileCountSnapshotStats>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupFileCountSnapshotStatsDeserializer(ObjectDeserializer<FileCountSnapshotStats.Builder> op)longsizeInBytes()Required - API name:size_in_bytes
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<FileCountSnapshotStats> _DESERIALIZER
Json deserializer forFileCountSnapshotStats
-
-
Method Detail
-
of
public static FileCountSnapshotStats of(java.util.function.Function<FileCountSnapshotStats.Builder,ObjectBuilder<FileCountSnapshotStats>> fn)
-
fileCount
public final int fileCount()
Required - API name:file_count
-
sizeInBytes
public final long sizeInBytes()
Required - API name:size_in_bytes
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupFileCountSnapshotStatsDeserializer
protected static void setupFileCountSnapshotStatsDeserializer(ObjectDeserializer<FileCountSnapshotStats.Builder> op)
-
-