Class ModelRetrieveResponse.Builder
-
- All Implemented Interfaces:
public final class ModelRetrieveResponse.BuilderA builder for ModelRetrieveResponse.
-
-
Method Summary
-
-
Method Detail
-
name
final ModelRetrieveResponse.Builder name(String name)
-
name
final ModelRetrieveResponse.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
source
final ModelRetrieveResponse.Builder source(String source)
-
source
final ModelRetrieveResponse.Builder source(JsonField<String> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
modelId
final ModelRetrieveResponse.Builder modelId(String modelId)
-
modelId
final ModelRetrieveResponse.Builder modelId(JsonField<String> modelId)
Sets Builder.modelId to an arbitrary JSON value.
You should usually call Builder.modelId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tenantId
final ModelRetrieveResponse.Builder tenantId(String tenantId)
-
tenantId
final ModelRetrieveResponse.Builder tenantId(JsonField<String> tenantId)
Sets Builder.tenantId to an arbitrary JSON value.
You should usually call Builder.tenantId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
versions
final ModelRetrieveResponse.Builder versions(List<ModelRetrieveResponse.Version> versions)
-
versions
final ModelRetrieveResponse.Builder versions(JsonField<List<ModelRetrieveResponse.Version>> versions)
Sets Builder.versions to an arbitrary JSON value.
You should usually call Builder.versions with a well-typed
List<Version>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addVersion
final ModelRetrieveResponse.Builder addVersion(ModelRetrieveResponse.Version version)
-
additionalProperties
final ModelRetrieveResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ModelRetrieveResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ModelRetrieveResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ModelRetrieveResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ModelRetrieveResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ModelRetrieveResponse build()
Returns an immutable instance of ModelRetrieveResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name() .source()
-
-
-
-