GetMethod200Response class
Constructors
- GetMethod200Response({required MethodDetail data, required int cost, required int creditsRemaining, required int rateLimitLimit, required int rateLimitRemaining, required int rateLimitReset, required GetMethod200ResponseMeteringEnum metering, required String requestId})
- Returns a new GetMethod200Response instance.
Properties
- cost ↔ int
-
Credits this call costs.
getter/setter pair
- creditsRemaining ↔ int
-
Wallet balance after the call. Unchanged while metering is preview.
getter/setter pair
- data ↔ MethodDetail
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- metering ↔ GetMethod200ResponseMeteringEnum
-
Whether cost was actually deducted.
getter/setter pair
- rateLimitLimit ↔ int
-
Ceiling for the current window. Also returned as X-RateLimit-Limit.
getter/setter pair
- rateLimitRemaining ↔ int
-
Calls left in the current window for this key. Also returned as X-RateLimit-Remaining.
getter/setter pair
- rateLimitReset ↔ int
-
Unix seconds at which the window resets to full ceiling. Also returned as X-RateLimit-Reset.
getter/setter pair
- requestId ↔ String
-
Also returned in the x-request-id header.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → GetMethod200Response? -
Returns a new GetMethod200Response instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< GetMethod200Response> -
mapFromJson(
dynamic json) → Map< String, GetMethod200Response> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< GetMethod200Response> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.