Class CreatePitResponse
- java.lang.Object
-
- org.opensearch.client.opensearch.core.pit.CreatePitResponse
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class CreatePitResponse extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreatePitResponse.Builderbuilder forCreatePitResponse
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CreatePitResponse>_DESERIALIZERJson deserializer forCreatePitResponse
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LongcreationTime()Required - API name:creation_timestatic CreatePitResponseof(java.util.function.Function<CreatePitResponse.Builder,ObjectBuilder<CreatePitResponse>> fn)java.lang.StringpitId()Required - API name:pit_dvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupCreatePitResponseDeserializer(ObjectDeserializer<CreatePitResponse.Builder> op)ShardStatisticsshards()Required - API name:_shards
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<CreatePitResponse> _DESERIALIZER
Json deserializer forCreatePitResponse
-
-
Method Detail
-
of
public static CreatePitResponse of(java.util.function.Function<CreatePitResponse.Builder,ObjectBuilder<CreatePitResponse>> fn)
-
pitId
public final java.lang.String pitId()
Required - API name:pit_d
-
shards
public final ShardStatistics shards()
Required - API name:_shards
-
creationTime
public final java.lang.Long creationTime()
Required - API name:creation_time
-
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)
-
setupCreatePitResponseDeserializer
protected static void setupCreatePitResponseDeserializer(ObjectDeserializer<CreatePitResponse.Builder> op)
-
-