Class GetMemoryResponse
java.lang.Object
org.opensearch.client.opensearch.ml.GetMemoryResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetMemoryResponse.Builder,GetMemoryResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetMemoryResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GetMemoryResponse.Builder,GetMemoryResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetMemoryResponse> Json deserializer forGetMemoryResponse -
Method Summary
Modifier and TypeMethodDescriptionAPI name:additional_infostatic GetMemoryResponse.Builderbuilder()final StringThe create time.booleaninthashCode()final StringmemoryId()API name:memory_idfinal Stringname()API name:namestatic GetMemoryResponsevoidserialize(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.final Stringtype()API name:typefinal StringThe updated time.final Stringuser()The username of the user.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 forGetMemoryResponse
-
-
Method Details
-
of
public static GetMemoryResponse of(Function<GetMemoryResponse.Builder, ObjectBuilder<GetMemoryResponse>> fn) -
additionalInfo
API name:additional_info -
createTime
The create time.API name:
create_time -
memoryId
API name:memory_id -
name
API name:name -
type
API name:type -
updatedTime
The updated time.API name:
updated_time -
user
The username of the user.API name:
user -
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<GetMemoryResponse.Builder,GetMemoryResponse> - Returns:
- a new builder instance.
-
builder
-
setupGetMemoryResponseDeserializer
protected static void setupGetMemoryResponseDeserializer(ObjectDeserializer<GetMemoryResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-