PathItemObjectV2 class
Path item object representing the operations available on a single path.
- Inheritance
-
- Object
- OpenApiObject<
Map< String, dynamic> > - OpenApiPathItem<
Map< String, dynamic> , ParameterObjectV2, OperationObjectV2> - PathItemObjectV2
Constructors
-
PathItemObjectV2({String? ref, List<
ParameterObjectV2> ? parameters, required Map<String, OperationObjectV2> operations}) - Creates a PathItemObjectV2 with the given parameters.
- PathItemObjectV2.fromMap(Map map)
-
Creates a PathItemObjectV2 from a map.
factory
Properties
-
extensions
→ Map<
String, dynamic> ? -
Vendor-specific extension fields (
x-*) merged into the object.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
-
operations
→ Map<
String, OperationObjectV2> -
A map of HTTP methods to their corresponding operation objects.
finalinherited
-
parameters
→ List<
ParameterObjectV2> ? -
A list of parameters that are applicable for all the operations described under this path.
finalinherited
- ref → String?
-
A reference to an external definition of the path item.
finalinherited
- 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