Class GetAgentResponse
java.lang.Object
org.opensearch.client.opensearch.ml.GetAgentResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetAgentResponse.Builder,GetAgentResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetAgentResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GetAgentResponse.Builder,GetAgentResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetAgentResponse> Json deserializer forGetAgentResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic GetAgentResponse.Builderbuilder()final LongThe created time.final StringThe agent description.booleaninthashCode()final BooleanisHidden()Whether the agent is hidden.final LongThe last updated time.final Stringname()API name:namestatic GetAgentResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.tools()API name:toolsfinal Stringtype()The agent type.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 forGetAgentResponse
-
-
Method Details
-
of
public static GetAgentResponse of(Function<GetAgentResponse.Builder, ObjectBuilder<GetAgentResponse>> fn) -
createdTime
The created time.API name:
created_time -
description
The agent description.API name:
description -
isHidden
Whether the agent is hidden.API name:
is_hidden -
lastUpdatedTime
The last updated time.API name:
last_updated_time -
name
API name:name -
tools
API name:tools -
type
The agent type.API name:
type -
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<GetAgentResponse.Builder,GetAgentResponse> - Returns:
- a new builder instance.
-
builder
-
setupGetAgentResponseDeserializer
protected static void setupGetAgentResponseDeserializer(ObjectDeserializer<GetAgentResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-