@@ -766,7 +766,7 @@ def delete_flows(self, id, **kwargs):
766766 def delete_flows_datatable (self , datatable_id , ** kwargs ):
767767 """
768768 deletes a specific datatable by id
769- deletes an entire datatable (including schema and data) with a given datatableId )
769+ deletes an entire datatable (including schema and data) with a given id )
770770
771771 This method makes a synchronous HTTP request by default. To make an
772772 asynchronous HTTP request, please define a `callback` function
@@ -3738,7 +3738,7 @@ def get_flows(self, type, **kwargs):
37383738
37393739 def get_flows_datatable (self , datatable_id , ** kwargs ):
37403740 """
3741- Returns a specific datatable by datatableId
3741+ Returns a specific datatable by id
37423742 Given a datableid returns the schema associated with it.
37433743
37443744 This method makes a synchronous HTTP request by default. To make an
@@ -3752,13 +3752,13 @@ def get_flows_datatable(self, datatable_id, **kwargs):
37523752 :param callback function: The callback function
37533753 for asynchronous request. (optional)
37543754 :param str datatable_id: id of datatable (required)
3755- :param bool showbrief: If true returns a shortened version of the schema including the name, id and description]
3756- :return: JsonSchemaDocument
3755+ :param str expand: Expand instructions for the result
3756+ :return: DataTable
37573757 If the method is called asynchronously,
37583758 returns the request thread.
37593759 """
37603760
3761- all_params = ['datatable_id' , 'showbrief ' ]
3761+ all_params = ['datatable_id' , 'expand ' ]
37623762 all_params .append ('callback' )
37633763
37643764 params = locals ()
@@ -3782,8 +3782,8 @@ def get_flows_datatable(self, datatable_id, **kwargs):
37823782 path_params ['datatableId' ] = params ['datatable_id' ]
37833783
37843784 query_params = {}
3785- if 'showbrief ' in params :
3786- query_params ['showbrief ' ] = params ['showbrief ' ]
3785+ if 'expand ' in params :
3786+ query_params ['expand ' ] = params ['expand ' ]
37873787
37883788 header_params = {}
37893789
@@ -3812,7 +3812,7 @@ def get_flows_datatable(self, datatable_id, **kwargs):
38123812 body = body_params ,
38133813 post_params = form_params ,
38143814 files = local_var_files ,
3815- response_type = 'JsonSchemaDocument ' ,
3815+ response_type = 'DataTable ' ,
38163816 auth_settings = auth_settings ,
38173817 callback = params .get ('callback' ))
38183818 return response
@@ -3920,13 +3920,15 @@ def get_flows_datatable_rows(self, datatable_id, **kwargs):
39203920 :param callback function: The callback function
39213921 for asynchronous request. (optional)
39223922 :param str datatable_id: id of datatable (required)
3923+ :param int page_size: Page size
3924+ :param int page_number: Page number
39233925 :param bool showbrief: If true returns just the key value of the row
3924- :return: list[dict(str, object)]
3926+ :return: DataTableRowEntityListing
39253927 If the method is called asynchronously,
39263928 returns the request thread.
39273929 """
39283930
3929- all_params = ['datatable_id' , 'showbrief' ]
3931+ all_params = ['datatable_id' , 'page_size' , 'page_number' , ' showbrief' ]
39303932 all_params .append ('callback' )
39313933
39323934 params = locals ()
@@ -3950,6 +3952,10 @@ def get_flows_datatable_rows(self, datatable_id, **kwargs):
39503952 path_params ['datatableId' ] = params ['datatable_id' ]
39513953
39523954 query_params = {}
3955+ if 'page_size' in params :
3956+ query_params ['pageSize' ] = params ['page_size' ]
3957+ if 'page_number' in params :
3958+ query_params ['pageNumber' ] = params ['page_number' ]
39533959 if 'showbrief' in params :
39543960 query_params ['showbrief' ] = params ['showbrief' ]
39553961
@@ -3980,7 +3986,7 @@ def get_flows_datatable_rows(self, datatable_id, **kwargs):
39803986 body = body_params ,
39813987 post_params = form_params ,
39823988 files = local_var_files ,
3983- response_type = 'list[dict(str, object)] ' ,
3989+ response_type = 'DataTableRowEntityListing ' ,
39843990 auth_settings = auth_settings ,
39853991 callback = params .get ('callback' ))
39863992 return response
@@ -4000,13 +4006,17 @@ def get_flows_datatables(self, **kwargs):
40004006
40014007 :param callback function: The callback function
40024008 for asynchronous request. (optional)
4003- :param bool showbrief: If true, returns a shortened version of the schema including the name, id and description
4004- :return: list[JsonSchemaDocument]
4009+ :param str expand: Expand instructions for the result
4010+ :param int page_size: Page size
4011+ :param int page_number: Page number
4012+ :param str sort_by: Sort by
4013+ :param str sort_order: Sort order
4014+ :return: DataTablesDomainEntityListing
40054015 If the method is called asynchronously,
40064016 returns the request thread.
40074017 """
40084018
4009- all_params = ['showbrief ' ]
4019+ all_params = ['expand' , 'page_size' , 'page_number' , 'sort_by' , 'sort_order ' ]
40104020 all_params .append ('callback' )
40114021
40124022 params = locals ()
@@ -4025,8 +4035,16 @@ def get_flows_datatables(self, **kwargs):
40254035 path_params = {}
40264036
40274037 query_params = {}
4028- if 'showbrief' in params :
4029- query_params ['showbrief' ] = params ['showbrief' ]
4038+ if 'expand' in params :
4039+ query_params ['expand' ] = params ['expand' ]
4040+ if 'page_size' in params :
4041+ query_params ['pageSize' ] = params ['page_size' ]
4042+ if 'page_number' in params :
4043+ query_params ['pageNumber' ] = params ['page_number' ]
4044+ if 'sort_by' in params :
4045+ query_params ['sortBy' ] = params ['sort_by' ]
4046+ if 'sort_order' in params :
4047+ query_params ['sortOrder' ] = params ['sort_order' ]
40304048
40314049 header_params = {}
40324050
@@ -4055,7 +4073,7 @@ def get_flows_datatables(self, **kwargs):
40554073 body = body_params ,
40564074 post_params = form_params ,
40574075 files = local_var_files ,
4058- response_type = 'list[JsonSchemaDocument] ' ,
4076+ response_type = 'DataTablesDomainEntityListing ' ,
40594077 auth_settings = auth_settings ,
40604078 callback = params .get ('callback' ))
40614079 return response
@@ -5476,8 +5494,8 @@ def post_flows_datatables(self, body, **kwargs):
54765494
54775495 :param callback function: The callback function
54785496 for asynchronous request. (optional)
5479- :param JsonSchemaDocument body: datatable json-schema (required)
5480- :return: JsonSchemaDocument
5497+ :param DataTable body: datatable json-schema (required)
5498+ :return: DataTable
54815499 If the method is called asynchronously,
54825500 returns the request thread.
54835501 """
@@ -5534,7 +5552,7 @@ def post_flows_datatables(self, body, **kwargs):
55345552 body = body_params ,
55355553 post_params = form_params ,
55365554 files = local_var_files ,
5537- response_type = 'JsonSchemaDocument ' ,
5555+ response_type = 'DataTable ' ,
55385556 auth_settings = auth_settings ,
55395557 callback = params .get ('callback' ))
55405558 return response
@@ -6120,8 +6138,8 @@ def put_flow(self, flow_id, **kwargs):
61206138
61216139 def put_flows_datatable (self , datatable_id , ** kwargs ):
61226140 """
6123- Updates a specific datatable by datatableId
6124- Updates a schema for a datatable with the given datatableId - updates are additive only, no changes or removals of existing fields.
6141+ Updates a specific datatable by id
6142+ Updates a schema for a datatable with the given id - updates are additive only, no changes or removals of existing fields.
61256143
61266144 This method makes a synchronous HTTP request by default. To make an
61276145 asynchronous HTTP request, please define a `callback` function
@@ -6134,14 +6152,14 @@ def put_flows_datatable(self, datatable_id, **kwargs):
61346152 :param callback function: The callback function
61356153 for asynchronous request. (optional)
61366154 :param str datatable_id: id of datatable (required)
6137- :param bool showbrief: If true returns a shortened version of the schema including the name, id and description
6138- :param JsonSchemaDocument body: datatable json-schema
6139- :return: JsonSchemaDocument
6155+ :param str expand: Expand instructions for the result
6156+ :param DataTable body: datatable json-schema
6157+ :return: DataTable
61406158 If the method is called asynchronously,
61416159 returns the request thread.
61426160 """
61436161
6144- all_params = ['datatable_id' , 'showbrief ' , 'body' ]
6162+ all_params = ['datatable_id' , 'expand ' , 'body' ]
61456163 all_params .append ('callback' )
61466164
61476165 params = locals ()
@@ -6165,8 +6183,8 @@ def put_flows_datatable(self, datatable_id, **kwargs):
61656183 path_params ['datatableId' ] = params ['datatable_id' ]
61666184
61676185 query_params = {}
6168- if 'showbrief ' in params :
6169- query_params ['showbrief ' ] = params ['showbrief ' ]
6186+ if 'expand ' in params :
6187+ query_params ['expand ' ] = params ['expand ' ]
61706188
61716189 header_params = {}
61726190
@@ -6197,7 +6215,7 @@ def put_flows_datatable(self, datatable_id, **kwargs):
61976215 body = body_params ,
61986216 post_params = form_params ,
61996217 files = local_var_files ,
6200- response_type = 'JsonSchemaDocument ' ,
6218+ response_type = 'DataTable ' ,
62016219 auth_settings = auth_settings ,
62026220 callback = params .get ('callback' ))
62036221 return response
0 commit comments