ContextRule class

A context rule provides information about the context for an individual API element.

Constructors

ContextRule({Input<List<String>>? allowedRequestExtensions, Input<List<String>>? allowedResponseExtensions, Input<List<String>>? provided, Input<List<String>>? requested, Input<String>? selector})
Creates a new ContextRule. allowedRequestExtensions A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. allowedResponseExtensions A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client. provided A list of full type names of provided contexts. requested A list of full type names of requested contexts. selector Selects 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