ModelArgs class
The set of arguments for Model. The set of arguments for Model.
Constructors
-
ModelArgs({required Input<
String> apiId, required Input<String> contentType, Input<String?> ? description, Input<String?> ? name, Input<String?> ? region, required Input<String> schema}) -
Creates a new ModelArgs.
apiIdAPI identifier.contentTypeContent-type for the model, for example,application/json. Must be between 1 and 256 characters in length.descriptionDescription of the model. Must be between 1 and 128 characters in length.nameName of the model. Must be alphanumeric. Must be between 1 and 128 characters in length.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.schemaSchema for the model. This should be a JSON schema draft 4 model. Must be less than or equal to 32768 characters in length.const -
ModelArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
apiId
→ Input<
String> -
API identifier.
final
-
contentType
→ Input<
String> -
Content-type for the model, for example,
application/json. Must be between 1 and 256 characters in length.final -
description
→ Input<
String?> ? -
Description of the model. Must be between 1 and 128 characters in length.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the model. Must be alphanumeric. Must be between 1 and 128 characters in length.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schema
→ Input<
String> -
Schema for the model. This should be a JSON schema draft 4 model. Must be less than or equal to 32768 characters in length.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited