GoogleCloudAiplatformV1Schema class
Schema is used to define the format of input/output data.
Represents a select subset of an OpenAPI 3.0 schema object. More fields may be added in the future as needed.
Constructors
-
GoogleCloudAiplatformV1Schema({Object? default_, String? description, List<
String> ? enum_, Object? example, String? format, GoogleCloudAiplatformV1Schema? items, String? maxItems, String? maxLength, String? maxProperties, double? maximum, String? minItems, String? minLength, String? minProperties, double? minimum, bool? nullable, String? pattern, Map<String, GoogleCloudAiplatformV1Schema> ? properties, List<String> ? required, String? title, String? type}) - GoogleCloudAiplatformV1Schema.fromJson(Map json_)
Properties
- default_ ↔ Object?
-
Default value of the data.
getter/setter pair
- description ↔ String?
-
The description of the data.
getter/setter pair
-
enum_
↔ List<
String> ? -
Possible values of the element of Type.STRING with enum format.
getter/setter pair
- example ↔ Object?
-
Example of the object.
getter/setter pair
- format ↔ String?
-
The format of the data.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- items ↔ GoogleCloudAiplatformV1Schema?
-
SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY.
getter/setter pair
- maximum ↔ double?
-
Maximum value of the Type.INTEGER and Type.NUMBER
getter/setter pair
- maxItems ↔ String?
-
Maximum number of the elements for Type.ARRAY.
getter/setter pair
- maxLength ↔ String?
-
Maximum length of the Type.STRING
getter/setter pair
- maxProperties ↔ String?
-
Maximum number of the properties for Type.OBJECT.
getter/setter pair
- minimum ↔ double?
-
SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the
Type.INTEGER and Type.NUMBER
getter/setter pair
- minItems ↔ String?
-
Minimum number of the elements for Type.ARRAY.
getter/setter pair
- minLength ↔ String?
-
SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING
getter/setter pair
- minProperties ↔ String?
-
Minimum number of the properties for Type.OBJECT.
getter/setter pair
- nullable ↔ bool?
-
Indicates if the value may be null.
getter/setter pair
- pattern ↔ String?
-
Pattern of the Type.STRING to restrict a string to a regular expression.
getter/setter pair
-
properties
↔ Map<
String, GoogleCloudAiplatformV1Schema> ? -
SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT.
getter/setter pair
-
required
↔ List<
String> ? -
Required properties of Type.OBJECT.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
The title of the Schema.
getter/setter pair
- type ↔ String?
-
The type of the data.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited