OpenRouterUpdateApiKeyRequest.oneTimeUseBurn constructor

OpenRouterUpdateApiKeyRequest.oneTimeUseBurn({
  1. String? name,
  2. bool? disabled,
  3. bool? includeByokInLimit,
  4. required double limit,
})

Implementation

factory OpenRouterUpdateApiKeyRequest.oneTimeUseBurn({
  String? name,
  bool? disabled,
  bool? includeByokInLimit,
  required double limit,
}) => OpenRouterUpdateApiKeyRequest(
  name: name,
  disabled: disabled,
  includeByokInLimit: includeByokInLimit,
  limit: limit,
  clearLimitReset: true,
);