Class UploadStartParams.Body
-
- All Implemented Interfaces:
public final class UploadStartParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUploadStartParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringmodelName()Model name final StringmodelVersion()Model version final StringrequestingEntity()Requesting entity final Optional<String>locationAlias()Requested location alias final Optional<String>origin()Specifies the platform or service where the model originated before being scanned final Optional<UploadStartParams.RequestSource>requestSource()Identifies the system that requested the scan final JsonField<String>_modelName()Returns the raw JSON value of modelName. final JsonField<String>_modelVersion()Returns the raw JSON value of modelVersion. final JsonField<String>_requestingEntity()Returns the raw JSON value of requestingEntity. final JsonField<String>_locationAlias()Returns the raw JSON value of locationAlias. final JsonField<String>_origin()Returns the raw JSON value of origin. final JsonField<UploadStartParams.RequestSource>_requestSource()Returns the raw JSON value of requestSource. final Map<String, JsonValue>_additionalProperties()final UploadStartParams.Body.BuildertoBuilder()final UploadStartParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UploadStartParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
modelVersion
final String modelVersion()
Model version
-
requestingEntity
final String requestingEntity()
Requesting entity
-
locationAlias
final Optional<String> locationAlias()
Requested location alias
-
origin
final Optional<String> origin()
Specifies the platform or service where the model originated before being scanned
-
requestSource
final Optional<UploadStartParams.RequestSource> requestSource()
Identifies the system that requested the scan
-
_modelName
final JsonField<String> _modelName()
Returns the raw JSON value of modelName.
Unlike modelName, this method doesn't throw if the JSON field has an unexpected type.
-
_modelVersion
final JsonField<String> _modelVersion()
Returns the raw JSON value of modelVersion.
Unlike modelVersion, this method doesn't throw if the JSON field has an unexpected type.
-
_requestingEntity
final JsonField<String> _requestingEntity()
Returns the raw JSON value of requestingEntity.
Unlike requestingEntity, this method doesn't throw if the JSON field has an unexpected type.
-
_locationAlias
final JsonField<String> _locationAlias()
Returns the raw JSON value of locationAlias.
Unlike locationAlias, this method doesn't throw if the JSON field has an unexpected type.
-
_origin
final JsonField<String> _origin()
Returns the raw JSON value of origin.
Unlike origin, this method doesn't throw if the JSON field has an unexpected type.
-
_requestSource
final JsonField<UploadStartParams.RequestSource> _requestSource()
Returns the raw JSON value of requestSource.
Unlike requestSource, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UploadStartParams.Body.Builder toBuilder()
-
validate
final UploadStartParams.Body 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 UploadStartParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.modelName() .modelVersion() .requestingEntity()
-
-
-
-