11# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22
3+ from typing import TYPE_CHECKING , Dict
34from datetime import datetime
45from typing_extensions import Literal
56
7+ from pydantic import Field as FieldInfo
8+
69from .._models import BaseModel
710
811__all__ = ["Group" ]
@@ -17,20 +20,6 @@ class Group(BaseModel):
1720 id : str
1821 """The Group identifier."""
1922
20- ach_debit_status : Literal ["disabled" , "enabled" ]
21- """If the Group is allowed to create ACH debits.
22-
23- - `disabled` - The Group cannot make ACH debits.
24- - `enabled` - The Group can make ACH debits.
25- """
26-
27- activation_status : Literal ["unactivated" , "activated" ]
28- """If the Group is activated or not.
29-
30- - `unactivated` - The Group is not activated.
31- - `activated` - The Group is activated.
32- """
33-
3423 created_at : datetime
3524 """
3625 The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Group
@@ -42,3 +31,15 @@ class Group(BaseModel):
4231
4332 For this resource it will always be `group`.
4433 """
34+
35+ if TYPE_CHECKING :
36+ # Some versions of Pydantic <2.8.0 have a bug and don’t allow assigning a
37+ # value to this field, so for compatibility we avoid doing it at runtime.
38+ __pydantic_extra__ : Dict [str , object ] = FieldInfo (init = False ) # pyright: ignore[reportIncompatibleVariableOverride]
39+
40+ # Stub to indicate that arbitrary properties are accepted.
41+ # To access properties that are not valid identifiers you can use `getattr`, e.g.
42+ # `getattr(obj, '$type')`
43+ def __getattr__ (self , attr : str ) -> object : ...
44+ else :
45+ __pydantic_extra__ : Dict [str , object ]
0 commit comments