Class GeojsonUploadPostResponse
java.lang.Object
org.opensearch.client.opensearch.geospatial.GeojsonUploadPostResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GeojsonUploadPostResponse.Builder,GeojsonUploadPostResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GeojsonUploadPostResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GeojsonUploadPostResponse.Builder,GeojsonUploadPostResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GeojsonUploadPostResponse> Json deserializer forGeojsonUploadPostResponse -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanfinal booleanerrors()Required - Whether there were any errors.final intfailure()Required - Number of features that failed to upload.inthashCode()static GeojsonUploadPostResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupGeojsonUploadPostResponseDeserializer(ObjectDeserializer<GeojsonUploadPostResponse.Builder> op) final intsuccess()Required - Number of features successfully uploaded.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final longtook()Required - API name:tookfinal inttotal()Required - Total number of features processed.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forGeojsonUploadPostResponse
-
-
Method Details
-
of
public static GeojsonUploadPostResponse of(Function<GeojsonUploadPostResponse.Builder, ObjectBuilder<GeojsonUploadPostResponse>> fn) -
errors
public final boolean errors()Required - Whether there were any errors.API name:
errors -
failure
public final int failure()Required - Number of features that failed to upload.API name:
failure -
success
public final int success()Required - Number of features successfully uploaded.API name:
success -
took
public final long took()Required - API name:took -
total
public final int total()Required - Total number of features processed.API name:
total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GeojsonUploadPostResponse.Builder,GeojsonUploadPostResponse> - Returns:
- a new builder instance.
-
builder
-
setupGeojsonUploadPostResponseDeserializer
protected static void setupGeojsonUploadPostResponseDeserializer(ObjectDeserializer<GeojsonUploadPostResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-