bursar.GrantSubscriptionCycleOptions
class bursar.GrantSubscriptionCycleOptions(*, bucket='subscription', expires_at=None, ttl_days=None, plan_key=None, idempotency_key, metadata=None)
Bases: _CreditsServiceModel
- Parameters:
- bucket (str)
- expires_at (datetime | None)
- ttl_days (Annotated *[*int | None , Strict *(*strict=True ) , Ge *(*ge=1 ) ])
- plan_key (str | None)
- idempotency_key (Annotated *[*str , BeforeValidator *(*func=~bursar.shared.idempotency.require_stable_key , json_schema_input_type=PydanticUndefined ) , Strict *(*strict=True ) ])
- metadata (CreditMetadata | None)
model_config = {'arbitrary_types_allowed': True, 'extra': 'forbid'}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].