3535from typing import Any
3636
3737from ..models import Empty
38+ from ..models import BusinessRulesDataSchema
39+ from ..models import BusinessRulesDataSchemaListing
40+ from ..models import BusinessRulesSchemaCreateRequest
41+ from ..models import BusinessRulesSchemaUpdateRequest
3842from ..models import CopyDecisionTableRequest
3943from ..models import Coretype
4044from ..models import CoretypeListing
4145from ..models import CreateDecisionTableRequest
4246from ..models import CreateDecisionTableRowRequest
43- from ..models import DataSchema
44- from ..models import DataSchemaListing
4547from ..models import DecisionTable
4648from ..models import DecisionTableExecutionRequest
4749from ..models import DecisionTableExecutionResponse
@@ -1019,7 +1021,7 @@ def get_businessrules_decisiontables_search(self, **kwargs) -> 'DecisionTableLis
10191021 callback = params .get ('callback' ))
10201022 return response
10211023
1022- def get_businessrules_schema (self , schema_id : str , ** kwargs ) -> 'DataSchema ' :
1024+ def get_businessrules_schema (self , schema_id : str , ** kwargs ) -> 'BusinessRulesDataSchema ' :
10231025 """
10241026 Get a schema
10251027
@@ -1036,7 +1038,7 @@ def get_businessrules_schema(self, schema_id: str, **kwargs) -> 'DataSchema':
10361038 :param callback function: The callback function
10371039 for asynchronous request. (optional)
10381040 :param str schema_id: Schema ID (required)
1039- :return: DataSchema
1041+ :return: BusinessRulesDataSchema
10401042 If the method is called asynchronously,
10411043 returns the request thread.
10421044 """
@@ -1093,12 +1095,12 @@ def get_businessrules_schema(self, schema_id: str, **kwargs) -> 'DataSchema':
10931095 body = body_params ,
10941096 post_params = form_params ,
10951097 files = local_var_files ,
1096- response_type = 'DataSchema ' ,
1098+ response_type = 'BusinessRulesDataSchema ' ,
10971099 auth_settings = auth_settings ,
10981100 callback = params .get ('callback' ))
10991101 return response
11001102
1101- def get_businessrules_schemas (self , ** kwargs ) -> 'DataSchemaListing ' :
1103+ def get_businessrules_schemas (self , ** kwargs ) -> 'BusinessRulesDataSchemaListing ' :
11021104 """
11031105 Get a list of schemas.
11041106
@@ -1114,7 +1116,7 @@ def get_businessrules_schemas(self, **kwargs) -> 'DataSchemaListing':
11141116
11151117 :param callback function: The callback function
11161118 for asynchronous request. (optional)
1117- :return: DataSchemaListing
1119+ :return: BusinessRulesDataSchemaListing
11181120 If the method is called asynchronously,
11191121 returns the request thread.
11201122 """
@@ -1166,7 +1168,7 @@ def get_businessrules_schemas(self, **kwargs) -> 'DataSchemaListing':
11661168 body = body_params ,
11671169 post_params = form_params ,
11681170 files = local_var_files ,
1169- response_type = 'DataSchemaListing ' ,
1171+ response_type = 'BusinessRulesDataSchemaListing ' ,
11701172 auth_settings = auth_settings ,
11711173 callback = params .get ('callback' ))
11721174 return response
@@ -2197,7 +2199,7 @@ def post_businessrules_decisiontables(self, body: 'CreateDecisionTableRequest',
21972199 callback = params .get ('callback' ))
21982200 return response
21992201
2200- def post_businessrules_schemas (self , body : 'DataSchema ' , ** kwargs ) -> 'DataSchema ' :
2202+ def post_businessrules_schemas (self , body : 'BusinessRulesSchemaCreateRequest ' , ** kwargs ) -> 'BusinessRulesDataSchema ' :
22012203 """
22022204 Create a schema
22032205
@@ -2213,8 +2215,8 @@ def post_businessrules_schemas(self, body: 'DataSchema', **kwargs) -> 'DataSchem
22132215
22142216 :param callback function: The callback function
22152217 for asynchronous request. (optional)
2216- :param DataSchema body: Schema (required)
2217- :return: DataSchema
2218+ :param BusinessRulesSchemaCreateRequest body: Business Rules Schema Create Request (required)
2219+ :return: BusinessRulesDataSchema
22182220 If the method is called asynchronously,
22192221 returns the request thread.
22202222 """
@@ -2271,7 +2273,7 @@ def post_businessrules_schemas(self, body: 'DataSchema', **kwargs) -> 'DataSchem
22712273 body = body_params ,
22722274 post_params = form_params ,
22732275 files = local_var_files ,
2274- response_type = 'DataSchema ' ,
2276+ response_type = 'BusinessRulesDataSchema ' ,
22752277 auth_settings = auth_settings ,
22762278 callback = params .get ('callback' ))
22772279 return response
@@ -2458,7 +2460,7 @@ def put_businessrules_decisiontable_version_row(self, table_id: str, table_versi
24582460 callback = params .get ('callback' ))
24592461 return response
24602462
2461- def put_businessrules_schema (self , schema_id : str , body : 'DataSchema ' , ** kwargs ) -> 'DataSchema ' :
2463+ def put_businessrules_schema (self , schema_id : str , body : 'BusinessRulesSchemaUpdateRequest ' , ** kwargs ) -> 'BusinessRulesDataSchema ' :
24622464 """
24632465 Update a schema
24642466
@@ -2475,8 +2477,8 @@ def put_businessrules_schema(self, schema_id: str, body: 'DataSchema', **kwargs)
24752477 :param callback function: The callback function
24762478 for asynchronous request. (optional)
24772479 :param str schema_id: Schema ID (required)
2478- :param DataSchema body: Data Schema (required)
2479- :return: DataSchema
2480+ :param BusinessRulesSchemaUpdateRequest body: Business Rules Schema Update Request (required)
2481+ :return: BusinessRulesDataSchema
24802482 If the method is called asynchronously,
24812483 returns the request thread.
24822484 """
@@ -2538,7 +2540,7 @@ def put_businessrules_schema(self, schema_id: str, body: 'DataSchema', **kwargs)
25382540 body = body_params ,
25392541 post_params = form_params ,
25402542 files = local_var_files ,
2541- response_type = 'DataSchema ' ,
2543+ response_type = 'BusinessRulesDataSchema ' ,
25422544 auth_settings = auth_settings ,
25432545 callback = params .get ('callback' ))
25442546 return response
0 commit comments