Skip to content

Commit

Permalink
[sherlock-build] generated from 69e61d5
Browse files Browse the repository at this point in the history
  • Loading branch information
broadbot committed Nov 19, 2024
1 parent 69e61d5 commit ae3dff6
Show file tree
Hide file tree
Showing 37 changed files with 163 additions and 23 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions sherlock-go-client/client/models/sherlock_environment_v3.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sherlock-python-client/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.10.0-SNAPSHOT
7.11.0-SNAPSHOT
4 changes: 2 additions & 2 deletions sherlock-python-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Note: this API will try to load and return associations in responses, so clients
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: development
- Package version: v1.6.13
- Generator version: 7.10.0-SNAPSHOT
- Package version: v1.6.14
- Generator version: 7.11.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
## Requirements.
Expand Down
6 changes: 4 additions & 2 deletions sherlock-python-client/docs/EnvironmentsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Method | HTTP request | Description


# **api_environments_v3_get**
> List[SherlockEnvironmentV3] api_environments_v3_get(auto_populate_chart_releases=auto_populate_chart_releases, base=base, base_domain=base_domain, created_at=created_at, default_cluster=default_cluster, default_namespace=default_namespace, delete_after=delete_after, description=description, enable_janitor=enable_janitor, helmfile_ref=helmfile_ref, id=id, lifecycle=lifecycle, name=name, name_prefixes_domain=name_prefixes_domain, offline=offline, offline_schedule_begin_enabled=offline_schedule_begin_enabled, offline_schedule_begin_time=offline_schedule_begin_time, offline_schedule_end_enabled=offline_schedule_end_enabled, offline_schedule_end_time=offline_schedule_end_time, offline_schedule_end_weekends=offline_schedule_end_weekends, owner=owner, pact_identifier=pact_identifier, pagerduty_integration=pagerduty_integration, prevent_deletion=prevent_deletion, required_role=required_role, requires_suitability=requires_suitability, template_environment=template_environment, unique_resource_prefix=unique_resource_prefix, updated_at=updated_at, values_name=values_name, limit=limit, offset=offset)
> List[SherlockEnvironmentV3] api_environments_v3_get(auto_populate_chart_releases=auto_populate_chart_releases, base=base, base_domain=base_domain, created_at=created_at, default_cluster=default_cluster, default_namespace=default_namespace, delete_after=delete_after, description=description, enable_janitor=enable_janitor, helmfile_ref=helmfile_ref, id=id, lifecycle=lifecycle, name=name, name_prefixes_domain=name_prefixes_domain, offline=offline, offline_schedule_begin_enabled=offline_schedule_begin_enabled, offline_schedule_begin_time=offline_schedule_begin_time, offline_schedule_end_enabled=offline_schedule_end_enabled, offline_schedule_end_time=offline_schedule_end_time, offline_schedule_end_weekends=offline_schedule_end_weekends, owner=owner, pact_identifier=pact_identifier, pagerduty_integration=pagerduty_integration, prevent_deletion=prevent_deletion, required_role=required_role, requires_suitability=requires_suitability, service_banner_bucket=service_banner_bucket, template_environment=template_environment, unique_resource_prefix=unique_resource_prefix, updated_at=updated_at, values_name=values_name, limit=limit, offset=offset)

List Environments matching a filter

Expand Down Expand Up @@ -64,6 +64,7 @@ with sherlock_python_client.ApiClient(configuration) as api_client:
prevent_deletion = False # bool | Used to protect specific BEEs from deletion (thelma checks this field) (optional) (default to False)
required_role = 'required_role_example' # str | If present, requires membership in the given role for mutations. Set to an empty string to clear. (optional)
requires_suitability = True # bool | (optional)
service_banner_bucket = 'service_banner_bucket_example' # str | (optional)
template_environment = 'template_environment_example' # str | Required for dynamic environments (optional)
unique_resource_prefix = 'unique_resource_prefix_example' # str | When creating, will be calculated if left empty (optional)
updated_at = '2013-10-20T19:20:30+01:00' # datetime | (optional)
Expand All @@ -73,7 +74,7 @@ with sherlock_python_client.ApiClient(configuration) as api_client:

try:
# List Environments matching a filter
api_response = api_instance.api_environments_v3_get(auto_populate_chart_releases=auto_populate_chart_releases, base=base, base_domain=base_domain, created_at=created_at, default_cluster=default_cluster, default_namespace=default_namespace, delete_after=delete_after, description=description, enable_janitor=enable_janitor, helmfile_ref=helmfile_ref, id=id, lifecycle=lifecycle, name=name, name_prefixes_domain=name_prefixes_domain, offline=offline, offline_schedule_begin_enabled=offline_schedule_begin_enabled, offline_schedule_begin_time=offline_schedule_begin_time, offline_schedule_end_enabled=offline_schedule_end_enabled, offline_schedule_end_time=offline_schedule_end_time, offline_schedule_end_weekends=offline_schedule_end_weekends, owner=owner, pact_identifier=pact_identifier, pagerduty_integration=pagerduty_integration, prevent_deletion=prevent_deletion, required_role=required_role, requires_suitability=requires_suitability, template_environment=template_environment, unique_resource_prefix=unique_resource_prefix, updated_at=updated_at, values_name=values_name, limit=limit, offset=offset)
api_response = api_instance.api_environments_v3_get(auto_populate_chart_releases=auto_populate_chart_releases, base=base, base_domain=base_domain, created_at=created_at, default_cluster=default_cluster, default_namespace=default_namespace, delete_after=delete_after, description=description, enable_janitor=enable_janitor, helmfile_ref=helmfile_ref, id=id, lifecycle=lifecycle, name=name, name_prefixes_domain=name_prefixes_domain, offline=offline, offline_schedule_begin_enabled=offline_schedule_begin_enabled, offline_schedule_begin_time=offline_schedule_begin_time, offline_schedule_end_enabled=offline_schedule_end_enabled, offline_schedule_end_time=offline_schedule_end_time, offline_schedule_end_weekends=offline_schedule_end_weekends, owner=owner, pact_identifier=pact_identifier, pagerduty_integration=pagerduty_integration, prevent_deletion=prevent_deletion, required_role=required_role, requires_suitability=requires_suitability, service_banner_bucket=service_banner_bucket, template_environment=template_environment, unique_resource_prefix=unique_resource_prefix, updated_at=updated_at, values_name=values_name, limit=limit, offset=offset)
print("The response of EnvironmentsApi->api_environments_v3_get:\n")
pprint(api_response)
except Exception as e:
Expand Down Expand Up @@ -113,6 +114,7 @@ Name | Type | Description | Notes
**prevent_deletion** | **bool**| Used to protect specific BEEs from deletion (thelma checks this field) | [optional] [default to False]
**required_role** | **str**| If present, requires membership in the given role for mutations. Set to an empty string to clear. | [optional]
**requires_suitability** | **bool**| | [optional]
**service_banner_bucket** | **str**| | [optional]
**template_environment** | **str**| Required for dynamic environments | [optional]
**unique_resource_prefix** | **str**| When creating, will be calculated if left empty | [optional]
**updated_at** | **datetime**| | [optional]
Expand Down
1 change: 1 addition & 0 deletions sherlock-python-client/docs/SherlockEnvironmentV3.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Name | Type | Description | Notes
**required_role** | **str** | If present, requires membership in the given role for mutations. Set to an empty string to clear. | [optional]
**required_role_info** | [**SherlockRoleV3**](SherlockRoleV3.md) | | [optional]
**requires_suitability** | **bool** | | [optional]
**service_banner_bucket** | **str** | | [optional]
**template_environment** | **str** | Required for dynamic environments | [optional]
**template_environment_info** | **object** | | [optional]
**unique_resource_prefix** | **str** | When creating, will be calculated if left empty | [optional]
Expand Down
1 change: 1 addition & 0 deletions sherlock-python-client/docs/SherlockEnvironmentV3Create.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Name | Type | Description | Notes
**prevent_deletion** | **bool** | Used to protect specific BEEs from deletion (thelma checks this field) | [optional] [default to False]
**required_role** | **str** | If present, requires membership in the given role for mutations. Set to an empty string to clear. | [optional]
**requires_suitability** | **bool** | | [optional]
**service_banner_bucket** | **str** | | [optional]
**template_environment** | **str** | Required for dynamic environments | [optional]
**unique_resource_prefix** | **str** | When creating, will be calculated if left empty | [optional]
**values_name** | **str** | When creating, defaults to template name or environment name | [optional]
Expand Down
1 change: 1 addition & 0 deletions sherlock-python-client/docs/SherlockEnvironmentV3Edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Name | Type | Description | Notes
**prevent_deletion** | **bool** | Used to protect specific BEEs from deletion (thelma checks this field) | [optional] [default to False]
**required_role** | **str** | If present, requires membership in the given role for mutations. Set to an empty string to clear. | [optional]
**requires_suitability** | **bool** | | [optional]
**service_banner_bucket** | **str** | | [optional]

## Example

Expand Down
2 changes: 1 addition & 1 deletion sherlock-python-client/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sherlock_python_client"
version = "v1.6.13"
version = "v1.6.14"
description = "Sherlock"
authors = ["DSP DevOps <[email protected]>"]
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion sherlock-python-client/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "sherlock-python-client"
VERSION = "v1.6.13"
VERSION = "v1.6.14"
PYTHON_REQUIRES = ">= 3.8"
REQUIRES = [
"urllib3 >= 1.25.3, < 3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sherlock-python-client/sherlock_python_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "v1.6.13"
__version__ = "v1.6.14"

# import apis into sdk package
from sherlock_python_client.api.app_versions_api import AppVersionsApi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def api_environments_v3_get(
prevent_deletion: Annotated[Optional[StrictBool], Field(description="Used to protect specific BEEs from deletion (thelma checks this field)")] = None,
required_role: Annotated[Optional[StrictStr], Field(description="If present, requires membership in the given role for mutations. Set to an empty string to clear.")] = None,
requires_suitability: Optional[StrictBool] = None,
service_banner_bucket: Optional[StrictStr] = None,
template_environment: Annotated[Optional[StrictStr], Field(description="Required for dynamic environments")] = None,
unique_resource_prefix: Annotated[Optional[StrictStr], Field(description="When creating, will be calculated if left empty")] = None,
updated_at: Optional[datetime] = None,
Expand Down Expand Up @@ -147,6 +148,8 @@ def api_environments_v3_get(
:type required_role: str
:param requires_suitability:
:type requires_suitability: bool
:param service_banner_bucket:
:type service_banner_bucket: str
:param template_environment: Required for dynamic environments
:type template_environment: str
:param unique_resource_prefix: When creating, will be calculated if left empty
Expand Down Expand Up @@ -208,6 +211,7 @@ def api_environments_v3_get(
prevent_deletion=prevent_deletion,
required_role=required_role,
requires_suitability=requires_suitability,
service_banner_bucket=service_banner_bucket,
template_environment=template_environment,
unique_resource_prefix=unique_resource_prefix,
updated_at=updated_at,
Expand Down Expand Up @@ -269,6 +273,7 @@ def api_environments_v3_get_with_http_info(
prevent_deletion: Annotated[Optional[StrictBool], Field(description="Used to protect specific BEEs from deletion (thelma checks this field)")] = None,
required_role: Annotated[Optional[StrictStr], Field(description="If present, requires membership in the given role for mutations. Set to an empty string to clear.")] = None,
requires_suitability: Optional[StrictBool] = None,
service_banner_bucket: Optional[StrictStr] = None,
template_environment: Annotated[Optional[StrictStr], Field(description="Required for dynamic environments")] = None,
unique_resource_prefix: Annotated[Optional[StrictStr], Field(description="When creating, will be calculated if left empty")] = None,
updated_at: Optional[datetime] = None,
Expand Down Expand Up @@ -344,6 +349,8 @@ def api_environments_v3_get_with_http_info(
:type required_role: str
:param requires_suitability:
:type requires_suitability: bool
:param service_banner_bucket:
:type service_banner_bucket: str
:param template_environment: Required for dynamic environments
:type template_environment: str
:param unique_resource_prefix: When creating, will be calculated if left empty
Expand Down Expand Up @@ -405,6 +412,7 @@ def api_environments_v3_get_with_http_info(
prevent_deletion=prevent_deletion,
required_role=required_role,
requires_suitability=requires_suitability,
service_banner_bucket=service_banner_bucket,
template_environment=template_environment,
unique_resource_prefix=unique_resource_prefix,
updated_at=updated_at,
Expand Down Expand Up @@ -466,6 +474,7 @@ def api_environments_v3_get_without_preload_content(
prevent_deletion: Annotated[Optional[StrictBool], Field(description="Used to protect specific BEEs from deletion (thelma checks this field)")] = None,
required_role: Annotated[Optional[StrictStr], Field(description="If present, requires membership in the given role for mutations. Set to an empty string to clear.")] = None,
requires_suitability: Optional[StrictBool] = None,
service_banner_bucket: Optional[StrictStr] = None,
template_environment: Annotated[Optional[StrictStr], Field(description="Required for dynamic environments")] = None,
unique_resource_prefix: Annotated[Optional[StrictStr], Field(description="When creating, will be calculated if left empty")] = None,
updated_at: Optional[datetime] = None,
Expand Down Expand Up @@ -541,6 +550,8 @@ def api_environments_v3_get_without_preload_content(
:type required_role: str
:param requires_suitability:
:type requires_suitability: bool
:param service_banner_bucket:
:type service_banner_bucket: str
:param template_environment: Required for dynamic environments
:type template_environment: str
:param unique_resource_prefix: When creating, will be calculated if left empty
Expand Down Expand Up @@ -602,6 +613,7 @@ def api_environments_v3_get_without_preload_content(
prevent_deletion=prevent_deletion,
required_role=required_role,
requires_suitability=requires_suitability,
service_banner_bucket=service_banner_bucket,
template_environment=template_environment,
unique_resource_prefix=unique_resource_prefix,
updated_at=updated_at,
Expand Down Expand Up @@ -658,6 +670,7 @@ def _api_environments_v3_get_serialize(
prevent_deletion,
required_role,
requires_suitability,
service_banner_bucket,
template_environment,
unique_resource_prefix,
updated_at,
Expand Down Expand Up @@ -826,6 +839,10 @@ def _api_environments_v3_get_serialize(

_query_params.append(('requiresSuitability', requires_suitability))

if service_banner_bucket is not None:

_query_params.append(('serviceBannerBucket', service_banner_bucket))

if template_environment is not None:

_query_params.append(('templateEnvironment', template_environment))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/v1.6.13/python'
self.user_agent = 'OpenAPI-Generator/v1.6.14/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def to_debug_report(self) -> str:
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: development\n"\
"SDK Package Version: v1.6.13".\
"SDK Package Version: v1.6.14".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self) -> List[HostSetting]:
Expand Down
Loading

0 comments on commit ae3dff6

Please sign in to comment.