HeaderObjectV2 class

Header object representing a single header in a response.

Inheritance

Constructors

HeaderObjectV2({String? description, 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 a HeaderObjectV2 with the given parameters.
HeaderObjectV2.fromMap(Map map)
Creates a HeaderObjectV2 from a map.
factory

Properties

collectionFormat → String?
The format of the array (e.g., "csv", "ssv", "tsv", "pipes", "multi").
finalinherited
defaultValue → Object?
The default value of the items.
finalinherited
description → String?
A brief description of the header.
final
enumValues → List<Object>?
An enumeration of possible values for the items.
finalinherited
exclusiveMaximum → bool?
Indicates whether the maximum value is exclusive.
finalinherited
exclusiveMinimum → bool?
Indicates whether the minimum value is exclusive.
finalinherited
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.
finalinherited
maximum → num?
The maximum value of the items.
finalinherited
maxItems → int?
The maximum number of items in the array.
finalinherited
maxLength → int?
The maximum length of the items.
finalinherited
minimum → num?
The minimum value of the items.
finalinherited
minItems → int?
The minimum number of items in the array.
finalinherited
minLength → int?
The minimum length of the items.
finalinherited
multipleOf → num?
A number that the items must be a multiple of.
finalinherited
pattern → String?
A regular expression pattern that the items must match.
finalinherited
ref → String?
A reference to an external definition of the items.
finalinherited
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").
finalinherited
uniqueItems → bool?
Indicates whether the items in the array must be unique.
finalinherited

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