Envelope class
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
↔ Object?
-
The payload. An array on list routes, an object on single-entity routes.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
metering
↔ EnvelopeMeteringEnum
-
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