ParameterPath class abstract

Inheritance

Constructors

ParameterPath.new({String? name, String? description, bool? deprecated, String? style, bool? explode, bool? allowReserved, String? example, Schema? schema, @JsonKey(name: '\$ref') @_ParamRefConverter() String? ref})
const
factory
ParameterPath.fromJson(Map<String, dynamic> json)
factory

Properties

allowReserved bool?
no setter
copyWith → _$$ParameterPathImplCopyWith<_$ParameterPathImpl>
Create a copy of Parameter with the given fields replaced by the non-null parameter values.
no setter
deprecated bool?
no setter
description String?
no setter
example String?
no setter
explode bool?
no setter
hashCode int
The hash code for this object.
no setterinherited
name String?
no setter
ref String?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema Schema?
no setter
style String?
no setter

Methods

dereference({required Map<String, Parameter>? components}) Parameter
inherited
map<TResult extends Object?>({required TResult cookie(ParameterCookie value), required TResult header(ParameterHeader value), required TResult query(ParameterQuery value), required TResult path(ParameterPath value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? cookie(ParameterCookie value)?, TResult? header(ParameterHeader value)?, TResult? query(ParameterQuery value)?, TResult? path(ParameterPath value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult cookie(ParameterCookie value)?, TResult header(ParameterHeader value)?, TResult query(ParameterQuery value)?, TResult path(ParameterPath value)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this Parameter to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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