ItemsObjectV2 class

Items object representing the type of items in an array.

Inheritance
Implementers

Constructors

ItemsObjectV2({required OpenApiType type, Object? items, String? collectionFormat, Object? defaultValue, num? maximum, bool? exclusiveMaximum, num? minimum, bool? exclusiveMinimum, int? maxLength, int? minLength, String? pattern, int? maxItems, int? minItems, bool? uniqueItems, List<Object>? enumValues, num? multipleOf, String? ref})
Creates an ItemsObjectV2 with the given parameters.
ItemsObjectV2.fromMap(Map value)
Creates an ItemsObjectV2 from a map.
factory

Properties

collectionFormat String?
The format of the array (e.g., "csv", "ssv", "tsv", "pipes", "multi").
final
defaultValue Object?
The default value of the items.
final
enumValues List<Object>?
An enumeration of possible values for the items.
final
exclusiveMaximum bool?
Indicates whether the maximum value is exclusive.
final
exclusiveMinimum bool?
Indicates whether the minimum value is exclusive.
final
extensions Map<String, dynamic>?
Vendor-specific extension fields (x-*) merged into the object.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
items Object?
The schema defining the type of items in the array.
final
maximum num?
The maximum value of the items.
final
maxItems int?
The maximum number of items in the array.
final
maxLength int?
The maximum length of the items.
final
minimum num?
The minimum value of the items.
final
minItems int?
The minimum number of items in the array.
final
minLength int?
The minimum length of the items.
final
multipleOf num?
A number that the items must be a multiple of.
final
pattern String?
A regular expression pattern that the items must match.
final
ref String?
A reference to an external definition of the items.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type OpenApiType
The type of the items (e.g., "string", "number", "integer", "boolean", "array").
final
uniqueItems bool?
Indicates whether the items in the array must be unique.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts the OpenApiObject to a map.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited