Skip to content

Commit

Permalink
[bot] Updated client based on openapi-ca3e2ac/clientgen (#365)
Browse files Browse the repository at this point in the history
Co-authored-by: API Engineering <api-engineering@digitalocean.com>
  • Loading branch information
digitalocean-engineering and API Engineering authored Oct 15, 2024
1 parent e150ec8 commit e7d4377
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 57 deletions.
2 changes: 1 addition & 1 deletion DO_OPENAPI_COMMIT_SHA.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b93070a
ca3e2ac
84 changes: 56 additions & 28 deletions src/pydo/aio/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1712,7 +1712,8 @@ async def list(self, *, per_page: int = 20, page: int = 1, **kwargs: Any) -> JSO
"slug": "str" # A human-readable string that is used
as a unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string
that is used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the
resource that the action is associated with.
"resource_type": "str", # Optional. The type of resource
Expand Down Expand Up @@ -1835,7 +1836,8 @@ async def get(self, action_id: int, **kwargs: Any) -> JSON:
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource
that the action is associated with.
"resource_type": "str", # Optional. The type of resource that the
Expand Down Expand Up @@ -109850,7 +109852,8 @@ async def list(
"slug": "str" # A human-readable string that is used
as a unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string
that is used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the
resource that the action is associated with.
"resource_type": "str", # Optional. The type of resource
Expand Down Expand Up @@ -110074,7 +110077,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource
that the action is associated with.
"resource_type": "str", # Optional. The type of resource that the
Expand Down Expand Up @@ -110211,7 +110215,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource
that the action is associated with.
"resource_type": "str", # Optional. The type of resource that the
Expand Down Expand Up @@ -110347,7 +110352,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource
that the action is associated with.
"resource_type": "str", # Optional. The type of resource that the
Expand Down Expand Up @@ -110542,7 +110548,8 @@ async def post_by_tag(
"slug": "str" # A human-readable string that is used
as a unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string
that is used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the
resource that the action is associated with.
"resource_type": "str", # Optional. The type of resource
Expand Down Expand Up @@ -110631,7 +110638,8 @@ async def post_by_tag(
"slug": "str" # A human-readable string that is used
as a unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string
that is used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the
resource that the action is associated with.
"resource_type": "str", # Optional. The type of resource
Expand Down Expand Up @@ -110720,7 +110728,8 @@ async def post_by_tag(
"slug": "str" # A human-readable string that is used
as a unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string
that is used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the
resource that the action is associated with.
"resource_type": "str", # Optional. The type of resource
Expand Down Expand Up @@ -110862,7 +110871,8 @@ async def get(self, droplet_id: int, action_id: int, **kwargs: Any) -> JSON:
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource
that the action is associated with.
"resource_type": "str", # Optional. The type of resource that the
Expand Down Expand Up @@ -117985,7 +117995,8 @@ async def list(self, image_id: int, **kwargs: Any) -> JSON:
"slug": "str" # A human-readable string that is used
as a unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string
that is used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the
resource that the action is associated with.
"resource_type": "str", # Optional. The type of resource
Expand Down Expand Up @@ -118161,7 +118172,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a unique
identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is used as a
unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource that the
action is associated with.
"resource_type": "str", # Optional. The type of resource that the action is
Expand Down Expand Up @@ -118251,7 +118263,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a unique
identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is used as a
unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource that the
action is associated with.
"resource_type": "str", # Optional. The type of resource that the action is
Expand Down Expand Up @@ -118339,7 +118352,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a unique
identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is used as a
unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource that the
action is associated with.
"resource_type": "str", # Optional. The type of resource that the action is
Expand Down Expand Up @@ -118501,7 +118515,8 @@ async def get(self, image_id: int, action_id: int, **kwargs: Any) -> JSON:
"slug": "str" # A human-readable string that is used as a unique
identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is used as a
unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource that the
action is associated with.
"resource_type": "str", # Optional. The type of resource that the action is
Expand Down Expand Up @@ -141348,7 +141363,8 @@ async def list(self, reserved_ip: str, **kwargs: Any) -> JSON:
"slug": "str" # A human-readable string that is used
as a unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string
that is used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the
resource that the action is associated with.
"resource_type": "str", # Optional. The type of resource
Expand Down Expand Up @@ -141527,7 +141543,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource
that the action is associated with.
"resource_type": "str", # Optional. The type of resource that the
Expand Down Expand Up @@ -141621,7 +141638,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource
that the action is associated with.
"resource_type": "str", # Optional. The type of resource that the
Expand Down Expand Up @@ -141714,7 +141732,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource
that the action is associated with.
"resource_type": "str", # Optional. The type of resource that the
Expand Down Expand Up @@ -141881,7 +141900,8 @@ async def get(self, reserved_ip: str, action_id: int, **kwargs: Any) -> JSON:
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional. A unique identifier for the resource
that the action is associated with.
"resource_type": "str", # Optional. The type of resource that the
Expand Down Expand Up @@ -145018,7 +145038,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional.
"resource_type": "str", # Optional. The type of resource that the
action is associated with.
Expand Down Expand Up @@ -145143,7 +145164,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional.
"resource_type": "str", # Optional. The type of resource that the
action is associated with.
Expand Down Expand Up @@ -145267,7 +145289,8 @@ async def post(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional.
"resource_type": "str", # Optional. The type of resource that the
action is associated with.
Expand Down Expand Up @@ -145437,7 +145460,8 @@ async def list(
"slug": "str" # A human-readable string that is used
as a unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string
that is used as a unique identifier for each region.
"resource_id": 0, # Optional.
"resource_type": "str", # Optional. The type of resource
that the action is associated with.
Expand Down Expand Up @@ -145667,7 +145691,8 @@ async def post_by_id(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional.
"resource_type": "str", # Optional. The type of resource that the
action is associated with.
Expand Down Expand Up @@ -145810,7 +145835,8 @@ async def post_by_id(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional.
"resource_type": "str", # Optional. The type of resource that the
action is associated with.
Expand Down Expand Up @@ -145952,7 +145978,8 @@ async def post_by_id(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional.
"resource_type": "str", # Optional. The type of resource that the
action is associated with.
Expand Down Expand Up @@ -146127,7 +146154,8 @@ async def get(
"slug": "str" # A human-readable string that is used as a
unique identifier for each region. Required.
},
"region_slug": {}, # Optional. Any object.
"region_slug": "str", # Optional. A human-readable string that is
used as a unique identifier for each region.
"resource_id": 0, # Optional.
"resource_type": "str", # Optional. The type of resource that the
action is associated with.
Expand Down
Loading

0 comments on commit e7d4377

Please sign in to comment.