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 java.lang.Object implements PlainJsonSerializable, ToCopyableBuilder<GetMemoryResponse.Builder,GetMemoryResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetMemoryResponse.BuilderBuilder forGetMemoryResponse.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetMemoryResponse>_DESERIALIZERJson deserializer forGetMemoryResponse
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,JsonData>additionalInfo()API name:additional_infostatic GetMemoryResponse.Builderbuilder()java.lang.StringcreateTime()The create time.booleanequals(java.lang.Object o)inthashCode()java.lang.StringmemoryId()API name:memory_idjava.lang.Stringname()API name:namestatic GetMemoryResponseof(java.util.function.Function<GetMemoryResponse.Builder,ObjectBuilder<GetMemoryResponse>> 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 voidsetupGetMemoryResponseDeserializer(ObjectDeserializer<GetMemoryResponse.Builder> op)GetMemoryResponse.BuildertoBuilder()Create a new builderToCopyableBuilderthat is initialised with the current state of this object.java.lang.Stringtype()API name:typejava.lang.StringupdatedTime()The updated time.java.lang.Stringuser()The username of the user.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Methods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<GetMemoryResponse> _DESERIALIZER
Json deserializer forGetMemoryResponse
-
-
Method Detail
-
of
public static GetMemoryResponse of(java.util.function.Function<GetMemoryResponse.Builder,ObjectBuilder<GetMemoryResponse>> fn)
-
additionalInfo
@Nonnull public final java.util.Map<java.lang.String,JsonData> additionalInfo()
API name:additional_info
-
createTime
@Nullable public final java.lang.String createTime()
The create time.API name:
create_time
-
memoryId
@Nullable public final java.lang.String memoryId()
API name:memory_id
-
name
@Nullable public final java.lang.String name()
API name:name
-
type
@Nullable public final java.lang.String type()
API name:type
-
updatedTime
@Nullable public final java.lang.String updatedTime()
The updated time.API name:
updated_time
-
user
@Nullable public final java.lang.String user()
The username of the user.API name:
user
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
toBuilder
@Nonnull public GetMemoryResponse.Builder 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
@Nonnull public static GetMemoryResponse.Builder builder()
-
setupGetMemoryResponseDeserializer
protected static void setupGetMemoryResponseDeserializer(ObjectDeserializer<GetMemoryResponse.Builder> op)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-