OpenRouterUpdateApiKeyRequest class

Constructors

OpenRouterUpdateApiKeyRequest({String? name, bool? disabled, bool? includeByokInLimit, double? limit, OpenRouterApiKeyLimitReset? limitReset, bool clearLimit = false, bool clearLimitReset = false})
const
OpenRouterUpdateApiKeyRequest.oneTimeUseBurn({String? name, bool? disabled, bool? includeByokInLimit, required double limit})
factory
OpenRouterUpdateApiKeyRequest.recurring({String? name, bool? disabled, bool? includeByokInLimit, required double limit, required OpenRouterApiKeyLimitReset limitReset})
factory
OpenRouterUpdateApiKeyRequest.unlimited({String? name, bool? disabled, bool? includeByokInLimit})
factory

Properties

clearLimit bool
final
clearLimitReset bool
final
disabled bool?
final
hashCode int
The hash code for this object.
no setterinherited
includeByokInLimit bool?
final
limit double?
final
limitReset OpenRouterApiKeyLimitReset?
final
name String?
final
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
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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