HeaderObjectV3 class

Header object representing a header in a response.

Inheritance

Constructors

HeaderObjectV3({String? description, bool? required, bool? deprecated, bool? allowEmptyValue, String? style, bool? explode, bool? allowReserved, Object? schema, Object? example, Map<String, OpenApiObject<Map>>? examples, Map<String, MediaTypeObjectV3>? content})
Creates a HeaderObjectV3 with the given parameters.
HeaderObjectV3.fromMap(Map map)
Creates a HeaderObjectV3 from a map.
factory

Properties

allowEmptyValue bool?
Whether the parameter allows empty values.
finalinherited
allowReserved bool?
Whether the parameter allows reserved characters.
finalinherited
content Map<String, MediaTypeObjectV3>?
A map of media types to their corresponding media type objects.
finalinherited
deprecated bool?
Whether the parameter is deprecated.
finalinherited
description String?
An optional description of the parameter.
finalinherited
example Object?
An example of the parameter's potential value.
finalinherited
examples Map<String, OpenApiObject<Map>>?
Examples of the parameter's potential values.
finalinherited
explode bool?
Whether the parameter should be exploded.
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
required bool?
Whether the parameter is required.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema Object?
The schema defining the type used for the parameter.
finalinherited
style String?
The style of the parameter.
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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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