ContextRule class
A context rule provides information about the context for an individual API element.
Constructors
-
ContextRule({Input<
List< ? allowedRequestExtensions, Input<String> >List< ? allowedResponseExtensions, Input<String> >List< ? provided, Input<String> >List< ? requested, Input<String> >String> ? selector}) -
Creates a new ContextRule.
allowedRequestExtensionsA list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.allowedResponseExtensionsA list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.providedA list of full type names of provided contexts.requestedA list of full type names of requested contexts.selectorSelects the methods to which this rule applies. Refer to selector for syntax details.const -
ContextRule.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowedRequestExtensions
→ Input<
List< ?String> > -
A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
final
-
allowedResponseExtensions
→ Input<
List< ?String> > -
A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
provided
→ Input<
List< ?String> > -
A list of full type names of provided contexts.
final
-
requested
→ Input<
List< ?String> > -
A list of full type names of requested contexts.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selector
→ Input<
String> ? -
Selects the methods to which this rule applies. Refer to selector for syntax details.
final
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