diff --git a/api/client/python/src/openmeter/_operations/_operations.py b/api/client/python/src/openmeter/_operations/_operations.py index 5c4ffaf8f..65927570a 100644 --- a/api/client/python/src/openmeter/_operations/_operations.py +++ b/api/client/python/src/openmeter/_operations/_operations.py @@ -3767,11 +3767,11 @@ def list_subjects(self, **kwargs: Any) -> List[JSON]: # response body for status code(s): 200 response == [ { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. }, @@ -3846,11 +3846,11 @@ def upsert_subject(self, body: List[JSON], *, content_type: str = "application/j # JSON input template you can fill out and use as your body input. body = [ { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. }, @@ -3861,11 +3861,11 @@ def upsert_subject(self, body: List[JSON], *, content_type: str = "application/j # response body for status code(s): 200 response == [ { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. }, @@ -3899,11 +3899,11 @@ def upsert_subject(self, body: IO[bytes], *, content_type: str = "application/js # response body for status code(s): 200 response == [ { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. }, @@ -3934,11 +3934,11 @@ def upsert_subject(self, body: Union[List[JSON], IO[bytes]], **kwargs: Any) -> L # response body for status code(s): 200 response == [ { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. }, @@ -4021,11 +4021,11 @@ def get_subject(self, subject_id_or_key: str, **kwargs: Any) -> JSON: # response body for status code(s): 200 response == { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. }, diff --git a/api/client/python/src/openmeter/aio/_operations/_operations.py b/api/client/python/src/openmeter/aio/_operations/_operations.py index 90b3c9a5c..b3e96ea05 100644 --- a/api/client/python/src/openmeter/aio/_operations/_operations.py +++ b/api/client/python/src/openmeter/aio/_operations/_operations.py @@ -2494,11 +2494,11 @@ async def list_subjects(self, **kwargs: Any) -> List[JSON]: # response body for status code(s): 200 response == [ { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. }, @@ -2575,11 +2575,11 @@ async def upsert_subject( # JSON input template you can fill out and use as your body input. body = [ { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. }, @@ -2590,11 +2590,11 @@ async def upsert_subject( # response body for status code(s): 200 response == [ { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. }, @@ -2630,11 +2630,11 @@ async def upsert_subject( # response body for status code(s): 200 response == [ { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. }, @@ -2665,11 +2665,11 @@ async def upsert_subject(self, body: Union[List[JSON], IO[bytes]], **kwargs: Any # response body for status code(s): 200 response == [ { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. }, @@ -2752,11 +2752,11 @@ async def get_subject(self, subject_id_or_key: str, **kwargs: Any) -> JSON: # response body for status code(s): 200 response == { + "id": "str", # Required. "key": "str", # Required. "currentPeriodEnd": "2020-02-20 00:00:00", # Optional. "currentPeriodStart": "2020-02-20 00:00:00", # Optional. "displayName": "str", # Optional. - "id": "str", # Optional. "metadata": { "str": {} # Optional. Dictionary of :code:``. },