Class GetModelGroupResponse
java.lang.Object
org.opensearch.client.opensearch.ml.GetModelGroupResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetModelGroupResponse.Builder,GetModelGroupResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetModelGroupResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GetModelGroupResponse.Builder,GetModelGroupResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetModelGroupResponse> Json deserializer forGetModelGroupResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringaccess()Required - The model group access.builder()final LongAPI name:created_timefinal StringRequired - The model group description.booleaninthashCode()final LongAPI name:last_updated_timefinal intRequired - The latest version.final Stringname()Required - The model group name.static GetModelGroupResponsefinal Ownerowner()API name:ownervoidserialize(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.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 forGetModelGroupResponse
-
-
Method Details
-
of
public static GetModelGroupResponse of(Function<GetModelGroupResponse.Builder, ObjectBuilder<GetModelGroupResponse>> fn) -
access
Required - The model group access.API name:
access -
createdTime
API name:created_time -
description
Required - The model group description.API name:
description -
lastUpdatedTime
API name:last_updated_time -
latestVersion
public final int latestVersion()Required - The latest version.API name:
latest_version -
name
Required - The model group name.API name:
name -
owner
API name:owner -
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<GetModelGroupResponse.Builder,GetModelGroupResponse> - Returns:
- a new builder instance.
-
builder
-
setupGetModelGroupResponseDeserializer
protected static void setupGetModelGroupResponseDeserializer(ObjectDeserializer<GetModelGroupResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-