Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

codegen latest version #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.24
2.4.39
163 changes: 94 additions & 69 deletions README.md

Large diffs are not rendered by default.

60 changes: 58 additions & 2 deletions cloudcheckr_cmx_client/__init__.py

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions cloudcheckr_cmx_client/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@
from cloudcheckr_cmx_client.api.azure_credentials_api import AzureCredentialsApi
from cloudcheckr_cmx_client.api.client_access_keys_api import ClientAccessKeysApi
from cloudcheckr_cmx_client.api.clients_api import ClientsApi
from cloudcheckr_cmx_client.api.cost_queries__beta_release_api import CostQueriesBetaReleaseApi
from cloudcheckr_cmx_client.api.credentials_api import CredentialsApi
from cloudcheckr_cmx_client.api.custom_theme_settings_api import CustomThemeSettingsApi
from cloudcheckr_cmx_client.api.customers_api import CustomersApi
from cloudcheckr_cmx_client.api.dashboard_api import DashboardApi
from cloudcheckr_cmx_client.api.dashboard_data_api import DashboardDataApi
from cloudcheckr_cmx_client.api.dimensions__beta_release_api import DimensionsBetaReleaseApi
from cloudcheckr_cmx_client.api.google_credentials_api import GoogleCredentialsApi
from cloudcheckr_cmx_client.api.map_to_payer_credentials_api import MapToPayerCredentialsApi
from cloudcheckr_cmx_client.api.permission_sets_api import PermissionSetsApi
from cloudcheckr_cmx_client.api.permissions_api import PermissionsApi
from cloudcheckr_cmx_client.api.roles_api import RolesApi
Expand Down
101 changes: 49 additions & 52 deletions cloudcheckr_cmx_client/api/account_attributes_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""


from __future__ import absolute_import

import re # noqa: F401
Expand Down Expand Up @@ -41,10 +42,10 @@ def attach_account_attribute(self, customer_id, attribute_name, value, **kwargs)
>>> result = thread.get()

:param async_req bool
:param str customer_id: (required)
:param str attribute_name: (required)
:param str value: (required)
:param BulkAccountAttributeAssignmentRequestModel body:
:param str customer_id: (required)
:param str attribute_name: (required)
:param str value: (required)
:param BulkAccountAttributeAssignmentRequestModel request:
:return: BulkAccountAssignmentResponseModelAccountAttributeAssignmentResponseModel
If the method is called asynchronously,
returns the request thread.
Expand All @@ -65,16 +66,16 @@ def attach_account_attribute_with_http_info(self, customer_id, attribute_name, v
>>> result = thread.get()

:param async_req bool
:param str customer_id: (required)
:param str attribute_name: (required)
:param str value: (required)
:param BulkAccountAttributeAssignmentRequestModel body:
:param str customer_id: (required)
:param str attribute_name: (required)
:param str value: (required)
:param BulkAccountAttributeAssignmentRequestModel request:
:return: BulkAccountAssignmentResponseModelAccountAttributeAssignmentResponseModel
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['customer_id', 'attribute_name', 'value', 'body'] # noqa: E501
all_params = ['customer_id', 'attribute_name', 'value', 'request'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand All @@ -90,16 +91,16 @@ def attach_account_attribute_with_http_info(self, customer_id, attribute_name, v
params[key] = val
del params['kwargs']
# verify the required parameter 'customer_id' is set
if ('customer_id' not in params or
params['customer_id'] is None):
if self.api_client.client_side_validation and ('customer_id' not in params or
params['customer_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `customer_id` when calling `attach_account_attribute`") # noqa: E501
# verify the required parameter 'attribute_name' is set
if ('attribute_name' not in params or
params['attribute_name'] is None):
if self.api_client.client_side_validation and ('attribute_name' not in params or
params['attribute_name'] is None): # noqa: E501
raise ValueError("Missing the required parameter `attribute_name` when calling `attach_account_attribute`") # noqa: E501
# verify the required parameter 'value' is set
if ('value' not in params or
params['value'] is None):
if self.api_client.client_side_validation and ('value' not in params or
params['value'] is None): # noqa: E501
raise ValueError("Missing the required parameter `value` when calling `attach_account_attribute`") # noqa: E501

collection_formats = {}
Expand All @@ -120,8 +121,8 @@ def attach_account_attribute_with_http_info(self, customer_id, attribute_name, v
local_var_files = {}

body_params = None
if 'body' in params:
body_params = params['body']
if 'request' in params:
body_params = params['request']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['text/plain', 'application/json', 'text/json']) # noqa: E501
Expand Down Expand Up @@ -158,8 +159,8 @@ def delete_account_attribute(self, customer_id, attribute_name, **kwargs): # no
>>> result = thread.get()

:param async_req bool
:param str customer_id: (required)
:param str attribute_name: (required)
:param str customer_id: (required)
:param str attribute_name: (required)
:return: None
If the method is called asynchronously,
returns the request thread.
Expand All @@ -180,8 +181,8 @@ def delete_account_attribute_with_http_info(self, customer_id, attribute_name, *
>>> result = thread.get()

:param async_req bool
:param str customer_id: (required)
:param str attribute_name: (required)
:param str customer_id: (required)
:param str attribute_name: (required)
:return: None
If the method is called asynchronously,
returns the request thread.
Expand All @@ -203,12 +204,12 @@ def delete_account_attribute_with_http_info(self, customer_id, attribute_name, *
params[key] = val
del params['kwargs']
# verify the required parameter 'customer_id' is set
if ('customer_id' not in params or
params['customer_id'] is None):
if self.api_client.client_side_validation and ('customer_id' not in params or
params['customer_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `customer_id` when calling `delete_account_attribute`") # noqa: E501
# verify the required parameter 'attribute_name' is set
if ('attribute_name' not in params or
params['attribute_name'] is None):
if self.api_client.client_side_validation and ('attribute_name' not in params or
params['attribute_name'] is None): # noqa: E501
raise ValueError("Missing the required parameter `attribute_name` when calling `delete_account_attribute`") # noqa: E501

collection_formats = {}
Expand All @@ -227,10 +228,6 @@ def delete_account_attribute_with_http_info(self, customer_id, attribute_name, *
local_var_files = {}

body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501

# Authentication setting
auth_settings = ['oauth'] # noqa: E501

Expand Down Expand Up @@ -259,8 +256,8 @@ def get_account_attribute(self, customer_id, attribute_name, **kwargs): # noqa:
>>> result = thread.get()

:param async_req bool
:param str customer_id: (required)
:param str attribute_name: (required)
:param str customer_id: (required)
:param str attribute_name: (required)
:return: AccountAttributeResponseModel
If the method is called asynchronously,
returns the request thread.
Expand All @@ -281,8 +278,8 @@ def get_account_attribute_with_http_info(self, customer_id, attribute_name, **kw
>>> result = thread.get()

:param async_req bool
:param str customer_id: (required)
:param str attribute_name: (required)
:param str customer_id: (required)
:param str attribute_name: (required)
:return: AccountAttributeResponseModel
If the method is called asynchronously,
returns the request thread.
Expand All @@ -304,12 +301,12 @@ def get_account_attribute_with_http_info(self, customer_id, attribute_name, **kw
params[key] = val
del params['kwargs']
# verify the required parameter 'customer_id' is set
if ('customer_id' not in params or
params['customer_id'] is None):
if self.api_client.client_side_validation and ('customer_id' not in params or
params['customer_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `customer_id` when calling `get_account_attribute`") # noqa: E501
# verify the required parameter 'attribute_name' is set
if ('attribute_name' not in params or
params['attribute_name'] is None):
if self.api_client.client_side_validation and ('attribute_name' not in params or
params['attribute_name'] is None): # noqa: E501
raise ValueError("Missing the required parameter `attribute_name` when calling `get_account_attribute`") # noqa: E501

collection_formats = {}
Expand Down Expand Up @@ -360,8 +357,8 @@ def list_account_attributes(self, customer_id, **kwargs): # noqa: E501
>>> result = thread.get()

:param async_req bool
:param str customer_id: (required)
:param bool include_values:
:param str customer_id: (required)
:param bool include_values:
:param str search: finds all resources that match the specified value
:param int page_size: number of items to include in the response
:param str pagination_key: key used to fetch the next page of items
Expand All @@ -386,8 +383,8 @@ def list_account_attributes_with_http_info(self, customer_id, **kwargs): # noqa
>>> result = thread.get()

:param async_req bool
:param str customer_id: (required)
:param bool include_values:
:param str customer_id: (required)
:param bool include_values:
:param str search: finds all resources that match the specified value
:param int page_size: number of items to include in the response
:param str pagination_key: key used to fetch the next page of items
Expand All @@ -413,8 +410,8 @@ def list_account_attributes_with_http_info(self, customer_id, **kwargs): # noqa
params[key] = val
del params['kwargs']
# verify the required parameter 'customer_id' is set
if ('customer_id' not in params or
params['customer_id'] is None):
if self.api_client.client_side_validation and ('customer_id' not in params or
params['customer_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `customer_id` when calling `list_account_attributes`") # noqa: E501

collection_formats = {}
Expand Down Expand Up @@ -473,8 +470,8 @@ def update_account_attribute(self, customer_id, **kwargs): # noqa: E501
>>> result = thread.get()

:param async_req bool
:param str customer_id: (required)
:param UpdateRequestAccountAttributeRequestModel body:
:param str customer_id: (required)
:param UpdateRequestAccountAttributeRequestModel request:
:return: AccountAttributeResponseModel
If the method is called asynchronously,
returns the request thread.
Expand All @@ -495,14 +492,14 @@ def update_account_attribute_with_http_info(self, customer_id, **kwargs): # noq
>>> result = thread.get()

:param async_req bool
:param str customer_id: (required)
:param UpdateRequestAccountAttributeRequestModel body:
:param str customer_id: (required)
:param UpdateRequestAccountAttributeRequestModel request:
:return: AccountAttributeResponseModel
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['customer_id', 'body'] # noqa: E501
all_params = ['customer_id', 'request'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand All @@ -518,8 +515,8 @@ def update_account_attribute_with_http_info(self, customer_id, **kwargs): # noq
params[key] = val
del params['kwargs']
# verify the required parameter 'customer_id' is set
if ('customer_id' not in params or
params['customer_id'] is None):
if self.api_client.client_side_validation and ('customer_id' not in params or
params['customer_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `customer_id` when calling `update_account_attribute`") # noqa: E501

collection_formats = {}
Expand All @@ -536,8 +533,8 @@ def update_account_attribute_with_http_info(self, customer_id, **kwargs): # noq
local_var_files = {}

body_params = None
if 'body' in params:
body_params = params['body']
if 'request' in params:
body_params = params['request']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['text/plain', 'application/json', 'text/json']) # noqa: E501
Expand Down
Loading