Class IndicesBlockStatus
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.add_block.IndicesBlockStatus
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class IndicesBlockStatus extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndicesBlockStatus.Builder
Builder forIndicesBlockStatus
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndicesBlockStatus>
_DESERIALIZER
Json deserializer forIndicesBlockStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
blocked()
Required - API name:blocked
java.lang.String
name()
Required - API name:name
static IndicesBlockStatus
of(java.util.function.Function<IndicesBlockStatus.Builder,ObjectBuilder<IndicesBlockStatus>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupIndicesBlockStatusDeserializer(ObjectDeserializer<IndicesBlockStatus.Builder> op)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<IndicesBlockStatus> _DESERIALIZER
Json deserializer forIndicesBlockStatus
-
-
Method Detail
-
of
public static IndicesBlockStatus of(java.util.function.Function<IndicesBlockStatus.Builder,ObjectBuilder<IndicesBlockStatus>> fn)
-
name
public final java.lang.String name()
Required - API name:name
-
blocked
public final boolean blocked()
Required - API name:blocked
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupIndicesBlockStatusDeserializer
protected static void setupIndicesBlockStatusDeserializer(ObjectDeserializer<IndicesBlockStatus.Builder> op)
-
-