UsagePlanKey class

Represents a usage plan key to identify a plan customer.

To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected ApiKey.
"
Create and Use Usage Plans

Constructors

UsagePlanKey({String? id, String? name, String? type, String? value})
UsagePlanKey.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
The Id of a usage plan key.
final
name String?
The name of a usage plan key.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
The type of a usage plan key. Currently, the valid key type is API_KEY.
final
value String?
The value of a usage plan key.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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