Class GetModelResponse
java.lang.Object
org.opensearch.client.opensearch.ml.GetModelResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetModelResponse.Builder,GetModelResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetModelResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GetModelResponse.Builder,GetModelResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetModelResponse> Json deserializer forGetModelResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe algorithm.static GetModelResponse.Builderbuilder()final LongThe created time.booleaninthashCode()final BooleanisHidden()Whether the model is hidden.final LongThe last registered time.final LongThe last updated time.final ModelConfigAPI name:model_configfinal StringThe model content hash value.final LongThe model content size in bytes.final ModelFormatAPI name:model_formatfinal StringThe model group ID.final StringRequired - The model state.final StringThe model version.final Stringname()The model name.static GetModelResponsevoidserialize(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 LongThe total chunks.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 forGetModelResponse
-
-
Method Details
-
of
public static GetModelResponse of(Function<GetModelResponse.Builder, ObjectBuilder<GetModelResponse>> fn) -
algorithm
The algorithm.API name:
algorithm -
createdTime
The created time.API name:
created_time -
isHidden
Whether the model is hidden.API name:
is_hidden -
lastRegisteredTime
The last registered time.API name:
last_registered_time -
lastUpdatedTime
The last updated time.API name:
last_updated_time -
modelConfig
API name:model_config -
modelContentHashValue
The model content hash value.API name:
model_content_hash_value -
modelContentSizeInBytes
The model content size in bytes.API name:
model_content_size_in_bytes -
modelFormat
API name:model_format -
modelGroupId
The model group ID.API name:
model_group_id -
modelState
Required - The model state.API name:
model_state -
modelVersion
The model version.API name:
model_version -
name
The model name.API name:
name -
totalChunks
The total chunks.API name:
total_chunks -
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<GetModelResponse.Builder,GetModelResponse> - Returns:
- a new builder instance.
-
builder
-
setupGetModelResponseDeserializer
protected static void setupGetModelResponseDeserializer(ObjectDeserializer<GetModelResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-