RequestBodyV3 class

Request body object representing a request body in an operation.

Inheritance

Constructors

RequestBodyV3({String? description, bool? required, Map<String, MediaTypeObjectV3>? content, Map<String, dynamic>? extensions})
Creates a RequestBodyV3 with the given parameters.
const
RequestBodyV3.fromMap(Map data)
Creates a RequestBodyV3 from a map.
factory

Properties

content Map<String, MediaTypeObjectV3>?
A map of media types to media type objects.
final
description String?
A description of the request body.
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
required bool?
Whether the request body is required.
final
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