Class GetInfluencersResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetInfluencersResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GetInfluencersResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetInfluencersResponse.BuilderBuilder forGetInfluencersResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetInfluencersResponse>_DESERIALIZERJson deserializer forGetInfluencersResponse -
Method Summary
Modifier and Type Method Description longcount()Required - API name:countjava.util.List<Influencer>influencers()Required - Array of influencer objectsstatic GetInfluencersResponseof(java.util.function.Function<GetInfluencersResponse.Builder,ObjectBuilder<GetInfluencersResponse>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGetInfluencersResponseDeserializer(ObjectDeserializer<GetInfluencersResponse.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetInfluencersResponse
-
-
Method Details
-
of
public static GetInfluencersResponse of(java.util.function.Function<GetInfluencersResponse.Builder,ObjectBuilder<GetInfluencersResponse>> fn) -
count
public final long count()Required - API name:count -
influencers
Required - Array of influencer objectsAPI name:
influencers -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGetInfluencersResponseDeserializer
protected static void setupGetInfluencersResponseDeserializer(ObjectDeserializer<GetInfluencersResponse.Builder> op)
-