ContextRuleResponse class

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

Constructors

ContextRuleResponse({required Input<List<String>> allowedRequestExtensions, required Input<List<String>> allowedResponseExtensions, required Input<List<String>> provided, required Input<List<String>> requested, required Input<String> selector})
Creates a new ContextRuleResponse. 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
ContextRuleResponse.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