RouteCandidate class
Constructors
-
RouteCandidate({String? account, bool? available, String? billing, num? headroomPct, String? host, String? kind, String? linkId, String? machine, String? plan, String? provider, String? reason})
-
Returns a new RouteCandidate instance.
Properties
-
account
↔ String?
-
Account is the provider-side account identifier.
getter/setter pair
-
available
↔ bool?
-
Available reports whether the candidate is routable right now.
getter/setter pair
-
billing
↔ String?
-
Billing is the cost consequence of dialing this candidate: plan (the user's own subscription) or commerce (the metered gateway path).
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
headroomPct
↔ num?
-
HeadroomPct is the remaining rate-limit capacity, 0..100. A link with no snapshot counts as full headroom.
getter/setter pair
-
host
↔ String?
-
Host is that machine's hostname label.
getter/setter pair
-
kind
↔ String?
-
Kind is how the account authenticates: subscription or apikey.
getter/setter pair
-
linkId
↔ String?
-
LinkID is the underlying link's opaque handle.
getter/setter pair
-
machine
↔ String?
-
Machine is the machine the account is signed in on.
getter/setter pair
-
plan
↔ String?
-
Plan is the provider plan label the account is on.
getter/setter pair
-
provider
↔ String?
-
Provider is the AI provider the candidate account belongs to.
getter/setter pair
-
reason
↔ String?
-
Reason says why the candidate is not routable, when Available is false.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited