From 7dbfef13e95b9807c52e45a7669a2f8e014e1452 Mon Sep 17 00:00:00 2001 From: digitalocean-engineering Date: Wed, 11 Oct 2023 13:32:48 -0400 Subject: [PATCH] [bot] Updated client based on openapi-9d239ea/clientgen (#235) Co-authored-by: API Engineering --- DO_OPENAPI_COMMIT_SHA.txt | 2 +- src/pydo/aio/operations/_operations.py | 30 +++++++++++++++++--------- src/pydo/operations/_operations.py | 30 +++++++++++++++++--------- 3 files changed, 41 insertions(+), 21 deletions(-) diff --git a/DO_OPENAPI_COMMIT_SHA.txt b/DO_OPENAPI_COMMIT_SHA.txt index 38b68b24..bca2d4e8 100644 --- a/DO_OPENAPI_COMMIT_SHA.txt +++ b/DO_OPENAPI_COMMIT_SHA.txt @@ -1 +1 @@ -bc1bc43 +9d239ea diff --git a/src/pydo/aio/operations/_operations.py b/src/pydo/aio/operations/_operations.py index c5ad934d..15682558 100644 --- a/src/pydo/aio/operations/_operations.py +++ b/src/pydo/aio/operations/_operations.py @@ -117802,7 +117802,8 @@ async def list_alerts( "notifications": { "email": [ "str" # An email to notify on an alert - trigger. Required. + trigger. The Email has to be one that is verified on that + DigitalOcean account. Required. ], "slack": [ { @@ -117960,7 +117961,8 @@ async def create_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. Required. + "str" # An email to notify on an alert trigger. The Email + has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ { @@ -117990,7 +117992,8 @@ async def create_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -118070,7 +118073,8 @@ async def create_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -118146,7 +118150,8 @@ async def create_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -118292,7 +118297,8 @@ async def get_alert(self, check_id: str, alert_id: str, **kwargs: Any) -> JSON: "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -118434,7 +118440,8 @@ async def update_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. Required. + "str" # An email to notify on an alert trigger. The Email + has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ { @@ -118464,7 +118471,8 @@ async def update_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -118539,7 +118547,8 @@ async def update_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -118608,7 +118617,8 @@ async def update_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ diff --git a/src/pydo/operations/_operations.py b/src/pydo/operations/_operations.py index 83602d72..6eda2635 100644 --- a/src/pydo/operations/_operations.py +++ b/src/pydo/operations/_operations.py @@ -124545,7 +124545,8 @@ def list_alerts( "notifications": { "email": [ "str" # An email to notify on an alert - trigger. Required. + trigger. The Email has to be one that is verified on that + DigitalOcean account. Required. ], "slack": [ { @@ -124703,7 +124704,8 @@ def create_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. Required. + "str" # An email to notify on an alert trigger. The Email + has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ { @@ -124733,7 +124735,8 @@ def create_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -124813,7 +124816,8 @@ def create_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -124887,7 +124891,8 @@ def create_alert(self, check_id: str, body: Union[JSON, IO], **kwargs: Any) -> J "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -125033,7 +125038,8 @@ def get_alert(self, check_id: str, alert_id: str, **kwargs: Any) -> JSON: "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -125175,7 +125181,8 @@ def update_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. Required. + "str" # An email to notify on an alert trigger. The Email + has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ { @@ -125205,7 +125212,8 @@ def update_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -125280,7 +125288,8 @@ def update_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [ @@ -125349,7 +125358,8 @@ def update_alert( "name": "str", # Optional. A human-friendly display name. "notifications": { "email": [ - "str" # An email to notify on an alert trigger. + "str" # An email to notify on an alert trigger. The + Email has to be one that is verified on that DigitalOcean account. Required. ], "slack": [