HttpRouteQueryParameterMatch class
Specifications to match a query parameter in the request.
Constructors
-
HttpRouteQueryParameterMatch({Input<
String> ? exactMatch, Input<bool> ? presentMatch, Input<String> ? queryParameter, Input<String> ? regexMatch}) -
Creates a new HttpRouteQueryParameterMatch.
exactMatchThe value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.presentMatchSpecifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.queryParameterThe name of the query parameter to match.regexMatchThe value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.const -
HttpRouteQueryParameterMatch.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
exactMatch
→ Input<
String> ? -
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
presentMatch
→ Input<
bool> ? -
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
final
-
queryParameter
→ Input<
String> ? -
The name of the query parameter to match.
final
-
regexMatch
→ Input<
String> ? -
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
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> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited