Class UserRealm
java.lang.Object
co.elastic.clients.elasticsearch.security.get_token.UserRealm
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class UserRealm extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserRealm.Builder
Builder forUserRealm
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<UserRealm>
_DESERIALIZER
Json deserializer forUserRealm
-
Constructor Summary
Constructors Constructor Description UserRealm(UserRealm.Builder builder)
UserRealm(java.util.function.Function<UserRealm.Builder,UserRealm.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
name()
Required - API name:name
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
setupUserRealmDeserializer(DelegatingDeserializer<UserRealm.Builder> op)
java.lang.String
type()
Required - API name:type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forUserRealm
-
-
Constructor Details
-
UserRealm
-
UserRealm
-
-
Method Details
-
name
public java.lang.String name()Required - API name:name
-
type
public java.lang.String type()Required - API name:type
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupUserRealmDeserializer
-