Class ModelRetrieveResponse
-
- All Implemented Interfaces:
public final class ModelRetrieveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModelRetrieveResponse.BuilderA builder for ModelRetrieveResponse.
public final classModelRetrieveResponse.Version
-
Method Summary
Modifier and Type Method Description final Stringname()final Stringsource()final Optional<String>modelId()final Optional<String>tenantId()final Optional<List<ModelRetrieveResponse.Version>>versions()final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_source()Returns the raw JSON value of source. final JsonField<String>_modelId()Returns the raw JSON value of modelId. final JsonField<String>_tenantId()Returns the raw JSON value of tenantId. final JsonField<List<ModelRetrieveResponse.Version>>_versions()Returns the raw JSON value of versions. final Map<String, JsonValue>_additionalProperties()final ModelRetrieveResponse.BuildertoBuilder()final ModelRetrieveResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ModelRetrieveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of ModelRetrieveResponse. -
-
Method Detail
-
versions
final Optional<List<ModelRetrieveResponse.Version>> versions()
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_source
final JsonField<String> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_modelId
final JsonField<String> _modelId()
Returns the raw JSON value of modelId.
Unlike modelId, this method doesn't throw if the JSON field has an unexpected type.
-
_tenantId
final JsonField<String> _tenantId()
Returns the raw JSON value of tenantId.
Unlike tenantId, this method doesn't throw if the JSON field has an unexpected type.
-
_versions
final JsonField<List<ModelRetrieveResponse.Version>> _versions()
Returns the raw JSON value of versions.
Unlike versions, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ModelRetrieveResponse.Builder toBuilder()
-
validate
final ModelRetrieveResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ModelRetrieveResponse.Builder builder()
Returns a mutable builder for constructing an instance of ModelRetrieveResponse.
The following fields are required:
.name() .source()
-
-
-
-