ResponseObjectV3 class

Response object representing a response in an operation.

Inheritance

Constructors

ResponseObjectV3({String? description, Map<String, MediaTypeObjectV3>? content, Map<String, OpenApiObject<Map>>? headers, Map<String, OpenApiObject<Map>>? links})
Creates a ResponseObjectV3 with the given parameters.
ResponseObjectV3.fromMap(Map data)
Creates a ResponseObjectV3 from a map.
factory

Properties

content Map<String, MediaTypeObjectV3>?
A map of media types to media type objects.
getter/setter pair
description String?
A description of the response.
getter/setter pair
extensions Map<String, dynamic>?
Vendor-specific extension fields (x-*) merged into the object.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, OpenApiObject<Map>>?
A map of headers for the response.
getter/setter pair
A map of links for the response.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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