Class GeojsonUploadPutResponse
java.lang.Object
org.opensearch.client.opensearch.geospatial.GeojsonUploadPutResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GeojsonUploadPutResponse.Builder,GeojsonUploadPutResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GeojsonUploadPutResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GeojsonUploadPutResponse.Builder,GeojsonUploadPutResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GeojsonUploadPutResponse> Json deserializer forGeojsonUploadPutResponse -
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 GeojsonUploadPutResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal 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 forGeojsonUploadPutResponse
-
-
Method Details
-
of
public static GeojsonUploadPutResponse of(Function<GeojsonUploadPutResponse.Builder, ObjectBuilder<GeojsonUploadPutResponse>> 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<GeojsonUploadPutResponse.Builder,GeojsonUploadPutResponse> - Returns:
- a new builder instance.
-
builder
-
setupGeojsonUploadPutResponseDeserializer
protected static void setupGeojsonUploadPutResponseDeserializer(ObjectDeserializer<GeojsonUploadPutResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-