Debian Codegraph @

stripe/v2/billing/_meter_event_session.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from stripe._stripe_object import StripeObject
4 from typing import ClassVar
5 from typing_extensions import Literal
6
7
8 class MeterEventSession(StripeObject):
9 """
10 A Meter Event Session is an authentication session for the high-throughput meter event API. Meter Event Sessions provide temporary authentication tokens with expiration times, enabling secure and efficient bulk submission of usage events.
11 """
12
13 OBJECT_NAME: ClassVar[Literal["v2.billing.meter_event_session"]] = (
14 "v2.billing.meter_event_session"
15 )
16 authentication_token: str
17 """
18 The authentication token for this session. Use this token when calling the
19 high-throughput meter event API.
20 """
21 created: str
22 """
23 The creation time of this session.
24 """
25 expires_at: str
26 """
27 The time at which this session will expire.
28 """
29 id: str
30 """
31 The unique id of this auth session.
32 """
33 livemode: bool
34 """
35 Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
36 """
37 object: Literal["v2.billing.meter_event_session"]
38 """
39 String representing the object's type. Objects of the same type share the same value of the object field.
40 """