summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-14 18:01:12 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-14 18:01:12 -0700
commit1e0e890284978dc7379db707ed1fa2c902e297c6 (patch)
tree41c4cb8115f96fed9ec802382a2ab98b2fc487e5
parentc995fe9ef26cadf8401bd1993184321d6a8802ac (diff)
downloadfatcat-1e0e890284978dc7379db707ed1fa2c902e297c6.tar.gz
fatcat-1e0e890284978dc7379db707ed1fa2c902e297c6.zip
python codegen
-rw-r--r--python_client/README.md77
-rw-r--r--python_client/fatcat_client/__init__.py7
-rw-r--r--python_client/fatcat_client/api/default_api.py1260
-rw-r--r--python_client/fatcat_client/models/__init__.py7
-rw-r--r--python_client/fatcat_client/models/container_auto_batch.py143
-rw-r--r--python_client/fatcat_client/models/creator_auto_batch.py143
-rw-r--r--python_client/fatcat_client/models/file_auto_batch.py143
-rw-r--r--python_client/fatcat_client/models/fileset_auto_batch.py143
-rw-r--r--python_client/fatcat_client/models/release_auto_batch.py143
-rw-r--r--python_client/fatcat_client/models/webcapture_auto_batch.py143
-rw-r--r--python_client/fatcat_client/models/work_auto_batch.py143
-rw-r--r--python_client/tests/codegen/test_container_auto_batch.py40
-rw-r--r--python_client/tests/codegen/test_creator_auto_batch.py40
-rw-r--r--python_client/tests/codegen/test_default_api.py28
-rw-r--r--python_client/tests/codegen/test_file_auto_batch.py40
-rw-r--r--python_client/tests/codegen/test_fileset_auto_batch.py40
-rw-r--r--python_client/tests/codegen/test_release_auto_batch.py40
-rw-r--r--python_client/tests/codegen/test_webcapture_auto_batch.py40
-rw-r--r--python_client/tests/codegen/test_work_auto_batch.py40
19 files changed, 1953 insertions, 707 deletions
diff --git a/python_client/README.md b/python_client/README.md
index f1313d99..3fd874d1 100644
--- a/python_client/README.md
+++ b/python_client/README.md
@@ -76,36 +76,36 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**accept_editgroup**](docs/DefaultApi.md#accept_editgroup) | **POST** /editgroup/{editgroup_id}/accept |
*DefaultApi* | [**auth_check**](docs/DefaultApi.md#auth_check) | **GET** /auth/check |
*DefaultApi* | [**auth_oidc**](docs/DefaultApi.md#auth_oidc) | **POST** /auth/oidc |
-*DefaultApi* | [**create_container**](docs/DefaultApi.md#create_container) | **POST** /container |
-*DefaultApi* | [**create_container_batch**](docs/DefaultApi.md#create_container_batch) | **POST** /container/batch |
-*DefaultApi* | [**create_creator**](docs/DefaultApi.md#create_creator) | **POST** /creator |
-*DefaultApi* | [**create_creator_batch**](docs/DefaultApi.md#create_creator_batch) | **POST** /creator/batch |
+*DefaultApi* | [**create_container**](docs/DefaultApi.md#create_container) | **POST** /editgroup/{editgroup_id}/container |
+*DefaultApi* | [**create_container_auto_batch**](docs/DefaultApi.md#create_container_auto_batch) | **POST** /editgroup/auto/container/batch |
+*DefaultApi* | [**create_creator**](docs/DefaultApi.md#create_creator) | **POST** /editgroup/{editgroup_id}/creator |
+*DefaultApi* | [**create_creator_auto_batch**](docs/DefaultApi.md#create_creator_auto_batch) | **POST** /editgroup/auto/creator/batch |
*DefaultApi* | [**create_editgroup**](docs/DefaultApi.md#create_editgroup) | **POST** /editgroup |
*DefaultApi* | [**create_editgroup_annotation**](docs/DefaultApi.md#create_editgroup_annotation) | **POST** /editgroup/{editgroup_id}/annotation |
-*DefaultApi* | [**create_file**](docs/DefaultApi.md#create_file) | **POST** /file |
-*DefaultApi* | [**create_file_batch**](docs/DefaultApi.md#create_file_batch) | **POST** /file/batch |
-*DefaultApi* | [**create_fileset**](docs/DefaultApi.md#create_fileset) | **POST** /fileset |
-*DefaultApi* | [**create_fileset_batch**](docs/DefaultApi.md#create_fileset_batch) | **POST** /fileset/batch |
-*DefaultApi* | [**create_release**](docs/DefaultApi.md#create_release) | **POST** /release |
-*DefaultApi* | [**create_release_batch**](docs/DefaultApi.md#create_release_batch) | **POST** /release/batch |
-*DefaultApi* | [**create_webcapture**](docs/DefaultApi.md#create_webcapture) | **POST** /webcapture |
-*DefaultApi* | [**create_webcapture_batch**](docs/DefaultApi.md#create_webcapture_batch) | **POST** /webcapture/batch |
-*DefaultApi* | [**create_work**](docs/DefaultApi.md#create_work) | **POST** /work |
-*DefaultApi* | [**create_work_batch**](docs/DefaultApi.md#create_work_batch) | **POST** /work/batch |
-*DefaultApi* | [**delete_container**](docs/DefaultApi.md#delete_container) | **DELETE** /container/{ident} |
-*DefaultApi* | [**delete_container_edit**](docs/DefaultApi.md#delete_container_edit) | **DELETE** /container/edit/{edit_id} |
-*DefaultApi* | [**delete_creator**](docs/DefaultApi.md#delete_creator) | **DELETE** /creator/{ident} |
-*DefaultApi* | [**delete_creator_edit**](docs/DefaultApi.md#delete_creator_edit) | **DELETE** /creator/edit/{edit_id} |
-*DefaultApi* | [**delete_file**](docs/DefaultApi.md#delete_file) | **DELETE** /file/{ident} |
-*DefaultApi* | [**delete_file_edit**](docs/DefaultApi.md#delete_file_edit) | **DELETE** /file/edit/{edit_id} |
-*DefaultApi* | [**delete_fileset**](docs/DefaultApi.md#delete_fileset) | **DELETE** /fileset/{ident} |
-*DefaultApi* | [**delete_fileset_edit**](docs/DefaultApi.md#delete_fileset_edit) | **DELETE** /fileset/edit/{edit_id} |
-*DefaultApi* | [**delete_release**](docs/DefaultApi.md#delete_release) | **DELETE** /release/{ident} |
-*DefaultApi* | [**delete_release_edit**](docs/DefaultApi.md#delete_release_edit) | **DELETE** /release/edit/{edit_id} |
-*DefaultApi* | [**delete_webcapture**](docs/DefaultApi.md#delete_webcapture) | **DELETE** /webcapture/{ident} |
-*DefaultApi* | [**delete_webcapture_edit**](docs/DefaultApi.md#delete_webcapture_edit) | **DELETE** /webcapture/edit/{edit_id} |
-*DefaultApi* | [**delete_work**](docs/DefaultApi.md#delete_work) | **DELETE** /work/{ident} |
-*DefaultApi* | [**delete_work_edit**](docs/DefaultApi.md#delete_work_edit) | **DELETE** /work/edit/{edit_id} |
+*DefaultApi* | [**create_file**](docs/DefaultApi.md#create_file) | **POST** /editgroup/{editgroup_id}/file |
+*DefaultApi* | [**create_file_auto_batch**](docs/DefaultApi.md#create_file_auto_batch) | **POST** /editgroup/auto/file/batch |
+*DefaultApi* | [**create_fileset**](docs/DefaultApi.md#create_fileset) | **POST** /editgroup/{editgroup_id}/fileset |
+*DefaultApi* | [**create_fileset_auto_batch**](docs/DefaultApi.md#create_fileset_auto_batch) | **POST** /editgroup/auto/fileset/batch |
+*DefaultApi* | [**create_release**](docs/DefaultApi.md#create_release) | **POST** /editgroup/{editgroup_id}/release |
+*DefaultApi* | [**create_release_auto_batch**](docs/DefaultApi.md#create_release_auto_batch) | **POST** /editgroup/auto/release/batch |
+*DefaultApi* | [**create_webcapture**](docs/DefaultApi.md#create_webcapture) | **POST** /editgroup/{editgroup_id}/webcapture |
+*DefaultApi* | [**create_webcapture_auto_batch**](docs/DefaultApi.md#create_webcapture_auto_batch) | **POST** /editgroup/auto/webcapture/batch |
+*DefaultApi* | [**create_work**](docs/DefaultApi.md#create_work) | **POST** /editgroup/{editgroup_id}/work |
+*DefaultApi* | [**create_work_auto_batch**](docs/DefaultApi.md#create_work_auto_batch) | **POST** /editgroup/auto/work/batch |
+*DefaultApi* | [**delete_container**](docs/DefaultApi.md#delete_container) | **DELETE** /editgroup/{editgroup_id}/container/{ident} |
+*DefaultApi* | [**delete_container_edit**](docs/DefaultApi.md#delete_container_edit) | **DELETE** /editgroup/{editgroup_id}/container/edit/{edit_id} |
+*DefaultApi* | [**delete_creator**](docs/DefaultApi.md#delete_creator) | **DELETE** /editgroup/{editgroup_id}/creator/{ident} |
+*DefaultApi* | [**delete_creator_edit**](docs/DefaultApi.md#delete_creator_edit) | **DELETE** /editgroup/{editgroup_id}/creator/edit/{edit_id} |
+*DefaultApi* | [**delete_file**](docs/DefaultApi.md#delete_file) | **DELETE** /editgroup/{editgroup_id}/file/{ident} |
+*DefaultApi* | [**delete_file_edit**](docs/DefaultApi.md#delete_file_edit) | **DELETE** /editgroup/{editgroup_id}/file/edit/{edit_id} |
+*DefaultApi* | [**delete_fileset**](docs/DefaultApi.md#delete_fileset) | **DELETE** /editgroup/{editgroup_id}/fileset/{ident} |
+*DefaultApi* | [**delete_fileset_edit**](docs/DefaultApi.md#delete_fileset_edit) | **DELETE** /editgroup/{editgroup_id}/fileset/edit/{edit_id} |
+*DefaultApi* | [**delete_release**](docs/DefaultApi.md#delete_release) | **DELETE** /editgroup/{editgroup_id}/release/{ident} |
+*DefaultApi* | [**delete_release_edit**](docs/DefaultApi.md#delete_release_edit) | **DELETE** /editgroup/{editgroup_id}/release/edit/{edit_id} |
+*DefaultApi* | [**delete_webcapture**](docs/DefaultApi.md#delete_webcapture) | **DELETE** /editgroup/{editgroup_id}/webcapture/{ident} |
+*DefaultApi* | [**delete_webcapture_edit**](docs/DefaultApi.md#delete_webcapture_edit) | **DELETE** /editgroup/{editgroup_id}/webcapture/edit/{edit_id} |
+*DefaultApi* | [**delete_work**](docs/DefaultApi.md#delete_work) | **DELETE** /editgroup/{editgroup_id}/work/{ident} |
+*DefaultApi* | [**delete_work_edit**](docs/DefaultApi.md#delete_work_edit) | **DELETE** /editgroup/{editgroup_id}/work/edit/{edit_id} |
*DefaultApi* | [**get_changelog**](docs/DefaultApi.md#get_changelog) | **GET** /changelog |
*DefaultApi* | [**get_changelog_entry**](docs/DefaultApi.md#get_changelog_entry) | **GET** /changelog/{index} |
*DefaultApi* | [**get_container**](docs/DefaultApi.md#get_container) | **GET** /container/{ident} |
@@ -158,15 +158,15 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**lookup_creator**](docs/DefaultApi.md#lookup_creator) | **GET** /creator/lookup |
*DefaultApi* | [**lookup_file**](docs/DefaultApi.md#lookup_file) | **GET** /file/lookup |
*DefaultApi* | [**lookup_release**](docs/DefaultApi.md#lookup_release) | **GET** /release/lookup |
-*DefaultApi* | [**update_container**](docs/DefaultApi.md#update_container) | **PUT** /container/{ident} |
-*DefaultApi* | [**update_creator**](docs/DefaultApi.md#update_creator) | **PUT** /creator/{ident} |
+*DefaultApi* | [**update_container**](docs/DefaultApi.md#update_container) | **PUT** /editgroup/{editgroup_id}/container/{ident} |
+*DefaultApi* | [**update_creator**](docs/DefaultApi.md#update_creator) | **PUT** /editgroup/{editgroup_id}/creator/{ident} |
*DefaultApi* | [**update_editgroup**](docs/DefaultApi.md#update_editgroup) | **PUT** /editgroup/{editgroup_id} |
*DefaultApi* | [**update_editor**](docs/DefaultApi.md#update_editor) | **PUT** /editor/{editor_id} |
-*DefaultApi* | [**update_file**](docs/DefaultApi.md#update_file) | **PUT** /file/{ident} |
-*DefaultApi* | [**update_fileset**](docs/DefaultApi.md#update_fileset) | **PUT** /fileset/{ident} |
-*DefaultApi* | [**update_release**](docs/DefaultApi.md#update_release) | **PUT** /release/{ident} |
-*DefaultApi* | [**update_webcapture**](docs/DefaultApi.md#update_webcapture) | **PUT** /webcapture/{ident} |
-*DefaultApi* | [**update_work**](docs/DefaultApi.md#update_work) | **PUT** /work/{ident} |
+*DefaultApi* | [**update_file**](docs/DefaultApi.md#update_file) | **PUT** /editgroup/{editgroup_id}/file/{ident} |
+*DefaultApi* | [**update_fileset**](docs/DefaultApi.md#update_fileset) | **PUT** /editgroup/{editgroup_id}/fileset/{ident} |
+*DefaultApi* | [**update_release**](docs/DefaultApi.md#update_release) | **PUT** /editgroup/{editgroup_id}/release/{ident} |
+*DefaultApi* | [**update_webcapture**](docs/DefaultApi.md#update_webcapture) | **PUT** /editgroup/{editgroup_id}/webcapture/{ident} |
+*DefaultApi* | [**update_work**](docs/DefaultApi.md#update_work) | **PUT** /editgroup/{editgroup_id}/work/{ident} |
## Documentation For Models
@@ -174,7 +174,9 @@ Class | Method | HTTP request | Description
- [AuthOidc](docs/AuthOidc.md)
- [AuthOidcResult](docs/AuthOidcResult.md)
- [ChangelogEntry](docs/ChangelogEntry.md)
+ - [ContainerAutoBatch](docs/ContainerAutoBatch.md)
- [ContainerEntity](docs/ContainerEntity.md)
+ - [CreatorAutoBatch](docs/CreatorAutoBatch.md)
- [CreatorEntity](docs/CreatorEntity.md)
- [Editgroup](docs/Editgroup.md)
- [EditgroupAnnotation](docs/EditgroupAnnotation.md)
@@ -183,20 +185,25 @@ Class | Method | HTTP request | Description
- [EntityEdit](docs/EntityEdit.md)
- [EntityHistoryEntry](docs/EntityHistoryEntry.md)
- [ErrorResponse](docs/ErrorResponse.md)
+ - [FileAutoBatch](docs/FileAutoBatch.md)
- [FileEntity](docs/FileEntity.md)
- [FileUrl](docs/FileUrl.md)
+ - [FilesetAutoBatch](docs/FilesetAutoBatch.md)
- [FilesetEntity](docs/FilesetEntity.md)
- [FilesetFile](docs/FilesetFile.md)
- [FilesetUrl](docs/FilesetUrl.md)
- [ReleaseAbstract](docs/ReleaseAbstract.md)
+ - [ReleaseAutoBatch](docs/ReleaseAutoBatch.md)
- [ReleaseContrib](docs/ReleaseContrib.md)
- [ReleaseEntity](docs/ReleaseEntity.md)
- [ReleaseExtIds](docs/ReleaseExtIds.md)
- [ReleaseRef](docs/ReleaseRef.md)
- [Success](docs/Success.md)
+ - [WebcaptureAutoBatch](docs/WebcaptureAutoBatch.md)
- [WebcaptureCdxLine](docs/WebcaptureCdxLine.md)
- [WebcaptureEntity](docs/WebcaptureEntity.md)
- [WebcaptureUrl](docs/WebcaptureUrl.md)
+ - [WorkAutoBatch](docs/WorkAutoBatch.md)
- [WorkEntity](docs/WorkEntity.md)
diff --git a/python_client/fatcat_client/__init__.py b/python_client/fatcat_client/__init__.py
index 089caf1f..2363d14d 100644
--- a/python_client/fatcat_client/__init__.py
+++ b/python_client/fatcat_client/__init__.py
@@ -25,7 +25,9 @@ from fatcat_client.configuration import Configuration
from fatcat_client.models.auth_oidc import AuthOidc
from fatcat_client.models.auth_oidc_result import AuthOidcResult
from fatcat_client.models.changelog_entry import ChangelogEntry
+from fatcat_client.models.container_auto_batch import ContainerAutoBatch
from fatcat_client.models.container_entity import ContainerEntity
+from fatcat_client.models.creator_auto_batch import CreatorAutoBatch
from fatcat_client.models.creator_entity import CreatorEntity
from fatcat_client.models.editgroup import Editgroup
from fatcat_client.models.editgroup_annotation import EditgroupAnnotation
@@ -34,18 +36,23 @@ from fatcat_client.models.editor import Editor
from fatcat_client.models.entity_edit import EntityEdit
from fatcat_client.models.entity_history_entry import EntityHistoryEntry
from fatcat_client.models.error_response import ErrorResponse
+from fatcat_client.models.file_auto_batch import FileAutoBatch
from fatcat_client.models.file_entity import FileEntity
from fatcat_client.models.file_url import FileUrl
+from fatcat_client.models.fileset_auto_batch import FilesetAutoBatch
from fatcat_client.models.fileset_entity import FilesetEntity
from fatcat_client.models.fileset_file import FilesetFile
from fatcat_client.models.fileset_url import FilesetUrl
from fatcat_client.models.release_abstract import ReleaseAbstract
+from fatcat_client.models.release_auto_batch import ReleaseAutoBatch
from fatcat_client.models.release_contrib import ReleaseContrib
from fatcat_client.models.release_entity import ReleaseEntity
from fatcat_client.models.release_ext_ids import ReleaseExtIds
from fatcat_client.models.release_ref import ReleaseRef
from fatcat_client.models.success import Success
+from fatcat_client.models.webcapture_auto_batch import WebcaptureAutoBatch
from fatcat_client.models.webcapture_cdx_line import WebcaptureCdxLine
from fatcat_client.models.webcapture_entity import WebcaptureEntity
from fatcat_client.models.webcapture_url import WebcaptureUrl
+from fatcat_client.models.work_auto_batch import WorkAutoBatch
from fatcat_client.models.work_entity import WorkEntity
diff --git a/python_client/fatcat_client/api/default_api.py b/python_client/fatcat_client/api/default_api.py
index 61efa2a0..0a2329e8 100644
--- a/python_client/fatcat_client/api/default_api.py
+++ b/python_client/fatcat_client/api/default_api.py
@@ -328,45 +328,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_container(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_container(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_container # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_container(entity, editgroup_id, async=True)
+ >>> thread = api.create_container(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param ContainerEntity entity: (required)
:param str editgroup_id: (required)
+ :param ContainerEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_container_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ return self.create_container_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
else:
- (data) = self.create_container_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.create_container_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
return data
- def create_container_with_http_info(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_container_with_http_info(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_container # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_container_with_http_info(entity, editgroup_id, async=True)
+ >>> thread = api.create_container_with_http_info(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param ContainerEntity entity: (required)
:param str editgroup_id: (required)
+ :param ContainerEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -381,22 +381,22 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity' is set
- if ('entity' not in params or
- params['entity'] is None):
- raise ValueError("Missing the required parameter `entity` when calling `create_container`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `create_container`") # noqa: E501
+ # verify the required parameter 'entity' is set
+ if ('entity' not in params or
+ params['entity'] is None):
+ raise ValueError("Missing the required parameter `entity` when calling `create_container`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -418,7 +418,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/container', 'POST',
+ '/editgroup/{editgroup_id}/container', 'POST',
path_params,
query_params,
header_params,
@@ -433,51 +433,43 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_container_batch(self, entity_list, **kwargs): # noqa: E501
- """create_container_batch # noqa: E501
+ def create_container_auto_batch(self, auto_batch, **kwargs): # noqa: E501
+ """create_container_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_container_batch(entity_list, async=True)
+ >>> thread = api.create_container_auto_batch(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[ContainerEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param ContainerAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_container_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ return self.create_container_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
else:
- (data) = self.create_container_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ (data) = self.create_container_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
return data
- def create_container_batch_with_http_info(self, entity_list, **kwargs): # noqa: E501
- """create_container_batch # noqa: E501
+ def create_container_auto_batch_with_http_info(self, auto_batch, **kwargs): # noqa: E501
+ """create_container_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_container_batch_with_http_info(entity_list, async=True)
+ >>> thread = api.create_container_auto_batch_with_http_info(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[ContainerEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param ContainerAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity_list', 'autoaccept', 'editgroup_id', 'description', 'extra'] # noqa: E501
+ all_params = ['auto_batch'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -488,28 +480,20 @@ class DefaultApi(object):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
- " to method create_container_batch" % key
+ " to method create_container_auto_batch" % key
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity_list' is set
- if ('entity_list' not in params or
- params['entity_list'] is None):
- raise ValueError("Missing the required parameter `entity_list` when calling `create_container_batch`") # noqa: E501
+ # verify the required parameter 'auto_batch' is set
+ if ('auto_batch' not in params or
+ params['auto_batch'] is None):
+ raise ValueError("Missing the required parameter `auto_batch` when calling `create_container_auto_batch`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
- if 'autoaccept' in params:
- query_params.append(('autoaccept', params['autoaccept'])) # noqa: E501
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
- if 'description' in params:
- query_params.append(('description', params['description'])) # noqa: E501
- if 'extra' in params:
- query_params.append(('extra', params['extra'])) # noqa: E501
header_params = {}
@@ -517,8 +501,8 @@ class DefaultApi(object):
local_var_files = {}
body_params = None
- if 'entity_list' in params:
- body_params = params['entity_list']
+ if 'auto_batch' in params:
+ body_params = params['auto_batch']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
@@ -531,14 +515,14 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/container/batch', 'POST',
+ '/editgroup/auto/container/batch', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
- response_type='list[EntityEdit]', # noqa: E501
+ response_type='Editgroup', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
@@ -546,45 +530,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_creator(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_creator(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_creator # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_creator(entity, editgroup_id, async=True)
+ >>> thread = api.create_creator(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param CreatorEntity entity: (required)
:param str editgroup_id: (required)
+ :param CreatorEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_creator_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ return self.create_creator_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
else:
- (data) = self.create_creator_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.create_creator_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
return data
- def create_creator_with_http_info(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_creator_with_http_info(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_creator # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_creator_with_http_info(entity, editgroup_id, async=True)
+ >>> thread = api.create_creator_with_http_info(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param CreatorEntity entity: (required)
:param str editgroup_id: (required)
+ :param CreatorEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -599,22 +583,22 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity' is set
- if ('entity' not in params or
- params['entity'] is None):
- raise ValueError("Missing the required parameter `entity` when calling `create_creator`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `create_creator`") # noqa: E501
+ # verify the required parameter 'entity' is set
+ if ('entity' not in params or
+ params['entity'] is None):
+ raise ValueError("Missing the required parameter `entity` when calling `create_creator`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -636,7 +620,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/creator', 'POST',
+ '/editgroup/{editgroup_id}/creator', 'POST',
path_params,
query_params,
header_params,
@@ -651,51 +635,43 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_creator_batch(self, entity_list, **kwargs): # noqa: E501
- """create_creator_batch # noqa: E501
+ def create_creator_auto_batch(self, auto_batch, **kwargs): # noqa: E501
+ """create_creator_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_creator_batch(entity_list, async=True)
+ >>> thread = api.create_creator_auto_batch(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[CreatorEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param CreatorAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_creator_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ return self.create_creator_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
else:
- (data) = self.create_creator_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ (data) = self.create_creator_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
return data
- def create_creator_batch_with_http_info(self, entity_list, **kwargs): # noqa: E501
- """create_creator_batch # noqa: E501
+ def create_creator_auto_batch_with_http_info(self, auto_batch, **kwargs): # noqa: E501
+ """create_creator_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_creator_batch_with_http_info(entity_list, async=True)
+ >>> thread = api.create_creator_auto_batch_with_http_info(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[CreatorEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param CreatorAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity_list', 'autoaccept', 'editgroup_id', 'description', 'extra'] # noqa: E501
+ all_params = ['auto_batch'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -706,28 +682,20 @@ class DefaultApi(object):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
- " to method create_creator_batch" % key
+ " to method create_creator_auto_batch" % key
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity_list' is set
- if ('entity_list' not in params or
- params['entity_list'] is None):
- raise ValueError("Missing the required parameter `entity_list` when calling `create_creator_batch`") # noqa: E501
+ # verify the required parameter 'auto_batch' is set
+ if ('auto_batch' not in params or
+ params['auto_batch'] is None):
+ raise ValueError("Missing the required parameter `auto_batch` when calling `create_creator_auto_batch`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
- if 'autoaccept' in params:
- query_params.append(('autoaccept', params['autoaccept'])) # noqa: E501
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
- if 'description' in params:
- query_params.append(('description', params['description'])) # noqa: E501
- if 'extra' in params:
- query_params.append(('extra', params['extra'])) # noqa: E501
header_params = {}
@@ -735,8 +703,8 @@ class DefaultApi(object):
local_var_files = {}
body_params = None
- if 'entity_list' in params:
- body_params = params['entity_list']
+ if 'auto_batch' in params:
+ body_params = params['auto_batch']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
@@ -749,14 +717,14 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/creator/batch', 'POST',
+ '/editgroup/auto/creator/batch', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
- response_type='list[EntityEdit]', # noqa: E501
+ response_type='Editgroup', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
@@ -974,45 +942,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_file(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_file(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_file # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_file(entity, editgroup_id, async=True)
+ >>> thread = api.create_file(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param FileEntity entity: (required)
:param str editgroup_id: (required)
+ :param FileEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_file_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ return self.create_file_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
else:
- (data) = self.create_file_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.create_file_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
return data
- def create_file_with_http_info(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_file_with_http_info(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_file # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_file_with_http_info(entity, editgroup_id, async=True)
+ >>> thread = api.create_file_with_http_info(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param FileEntity entity: (required)
:param str editgroup_id: (required)
+ :param FileEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -1027,22 +995,22 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity' is set
- if ('entity' not in params or
- params['entity'] is None):
- raise ValueError("Missing the required parameter `entity` when calling `create_file`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `create_file`") # noqa: E501
+ # verify the required parameter 'entity' is set
+ if ('entity' not in params or
+ params['entity'] is None):
+ raise ValueError("Missing the required parameter `entity` when calling `create_file`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -1064,7 +1032,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/file', 'POST',
+ '/editgroup/{editgroup_id}/file', 'POST',
path_params,
query_params,
header_params,
@@ -1079,51 +1047,43 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_file_batch(self, entity_list, **kwargs): # noqa: E501
- """create_file_batch # noqa: E501
+ def create_file_auto_batch(self, auto_batch, **kwargs): # noqa: E501
+ """create_file_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_file_batch(entity_list, async=True)
+ >>> thread = api.create_file_auto_batch(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[FileEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param FileAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_file_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ return self.create_file_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
else:
- (data) = self.create_file_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ (data) = self.create_file_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
return data
- def create_file_batch_with_http_info(self, entity_list, **kwargs): # noqa: E501
- """create_file_batch # noqa: E501
+ def create_file_auto_batch_with_http_info(self, auto_batch, **kwargs): # noqa: E501
+ """create_file_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_file_batch_with_http_info(entity_list, async=True)
+ >>> thread = api.create_file_auto_batch_with_http_info(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[FileEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param FileAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity_list', 'autoaccept', 'editgroup_id', 'description', 'extra'] # noqa: E501
+ all_params = ['auto_batch'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -1134,28 +1094,20 @@ class DefaultApi(object):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
- " to method create_file_batch" % key
+ " to method create_file_auto_batch" % key
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity_list' is set
- if ('entity_list' not in params or
- params['entity_list'] is None):
- raise ValueError("Missing the required parameter `entity_list` when calling `create_file_batch`") # noqa: E501
+ # verify the required parameter 'auto_batch' is set
+ if ('auto_batch' not in params or
+ params['auto_batch'] is None):
+ raise ValueError("Missing the required parameter `auto_batch` when calling `create_file_auto_batch`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
- if 'autoaccept' in params:
- query_params.append(('autoaccept', params['autoaccept'])) # noqa: E501
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
- if 'description' in params:
- query_params.append(('description', params['description'])) # noqa: E501
- if 'extra' in params:
- query_params.append(('extra', params['extra'])) # noqa: E501
header_params = {}
@@ -1163,8 +1115,8 @@ class DefaultApi(object):
local_var_files = {}
body_params = None
- if 'entity_list' in params:
- body_params = params['entity_list']
+ if 'auto_batch' in params:
+ body_params = params['auto_batch']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
@@ -1177,14 +1129,14 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/file/batch', 'POST',
+ '/editgroup/auto/file/batch', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
- response_type='list[EntityEdit]', # noqa: E501
+ response_type='Editgroup', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
@@ -1192,45 +1144,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_fileset(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_fileset(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_fileset # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_fileset(entity, editgroup_id, async=True)
+ >>> thread = api.create_fileset(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param FilesetEntity entity: (required)
:param str editgroup_id: (required)
+ :param FilesetEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_fileset_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ return self.create_fileset_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
else:
- (data) = self.create_fileset_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.create_fileset_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
return data
- def create_fileset_with_http_info(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_fileset_with_http_info(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_fileset # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_fileset_with_http_info(entity, editgroup_id, async=True)
+ >>> thread = api.create_fileset_with_http_info(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param FilesetEntity entity: (required)
:param str editgroup_id: (required)
+ :param FilesetEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -1245,22 +1197,22 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity' is set
- if ('entity' not in params or
- params['entity'] is None):
- raise ValueError("Missing the required parameter `entity` when calling `create_fileset`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `create_fileset`") # noqa: E501
+ # verify the required parameter 'entity' is set
+ if ('entity' not in params or
+ params['entity'] is None):
+ raise ValueError("Missing the required parameter `entity` when calling `create_fileset`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -1282,7 +1234,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/fileset', 'POST',
+ '/editgroup/{editgroup_id}/fileset', 'POST',
path_params,
query_params,
header_params,
@@ -1297,51 +1249,43 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_fileset_batch(self, entity_list, **kwargs): # noqa: E501
- """create_fileset_batch # noqa: E501
+ def create_fileset_auto_batch(self, auto_batch, **kwargs): # noqa: E501
+ """create_fileset_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_fileset_batch(entity_list, async=True)
+ >>> thread = api.create_fileset_auto_batch(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[FilesetEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param FilesetAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_fileset_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ return self.create_fileset_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
else:
- (data) = self.create_fileset_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ (data) = self.create_fileset_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
return data
- def create_fileset_batch_with_http_info(self, entity_list, **kwargs): # noqa: E501
- """create_fileset_batch # noqa: E501
+ def create_fileset_auto_batch_with_http_info(self, auto_batch, **kwargs): # noqa: E501
+ """create_fileset_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_fileset_batch_with_http_info(entity_list, async=True)
+ >>> thread = api.create_fileset_auto_batch_with_http_info(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[FilesetEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param FilesetAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity_list', 'autoaccept', 'editgroup_id', 'description', 'extra'] # noqa: E501
+ all_params = ['auto_batch'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -1352,28 +1296,20 @@ class DefaultApi(object):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
- " to method create_fileset_batch" % key
+ " to method create_fileset_auto_batch" % key
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity_list' is set
- if ('entity_list' not in params or
- params['entity_list'] is None):
- raise ValueError("Missing the required parameter `entity_list` when calling `create_fileset_batch`") # noqa: E501
+ # verify the required parameter 'auto_batch' is set
+ if ('auto_batch' not in params or
+ params['auto_batch'] is None):
+ raise ValueError("Missing the required parameter `auto_batch` when calling `create_fileset_auto_batch`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
- if 'autoaccept' in params:
- query_params.append(('autoaccept', params['autoaccept'])) # noqa: E501
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
- if 'description' in params:
- query_params.append(('description', params['description'])) # noqa: E501
- if 'extra' in params:
- query_params.append(('extra', params['extra'])) # noqa: E501
header_params = {}
@@ -1381,8 +1317,8 @@ class DefaultApi(object):
local_var_files = {}
body_params = None
- if 'entity_list' in params:
- body_params = params['entity_list']
+ if 'auto_batch' in params:
+ body_params = params['auto_batch']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
@@ -1395,14 +1331,14 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/fileset/batch', 'POST',
+ '/editgroup/auto/fileset/batch', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
- response_type='list[EntityEdit]', # noqa: E501
+ response_type='Editgroup', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
@@ -1410,45 +1346,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_release(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_release(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_release # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_release(entity, editgroup_id, async=True)
+ >>> thread = api.create_release(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param ReleaseEntity entity: (required)
:param str editgroup_id: (required)
+ :param ReleaseEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_release_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ return self.create_release_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
else:
- (data) = self.create_release_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.create_release_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
return data
- def create_release_with_http_info(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_release_with_http_info(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_release # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_release_with_http_info(entity, editgroup_id, async=True)
+ >>> thread = api.create_release_with_http_info(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param ReleaseEntity entity: (required)
:param str editgroup_id: (required)
+ :param ReleaseEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -1463,22 +1399,22 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity' is set
- if ('entity' not in params or
- params['entity'] is None):
- raise ValueError("Missing the required parameter `entity` when calling `create_release`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `create_release`") # noqa: E501
+ # verify the required parameter 'entity' is set
+ if ('entity' not in params or
+ params['entity'] is None):
+ raise ValueError("Missing the required parameter `entity` when calling `create_release`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -1500,7 +1436,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/release', 'POST',
+ '/editgroup/{editgroup_id}/release', 'POST',
path_params,
query_params,
header_params,
@@ -1515,51 +1451,43 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_release_batch(self, entity_list, **kwargs): # noqa: E501
- """create_release_batch # noqa: E501
+ def create_release_auto_batch(self, auto_batch, **kwargs): # noqa: E501
+ """create_release_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_release_batch(entity_list, async=True)
+ >>> thread = api.create_release_auto_batch(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[ReleaseEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param ReleaseAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_release_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ return self.create_release_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
else:
- (data) = self.create_release_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ (data) = self.create_release_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
return data
- def create_release_batch_with_http_info(self, entity_list, **kwargs): # noqa: E501
- """create_release_batch # noqa: E501
+ def create_release_auto_batch_with_http_info(self, auto_batch, **kwargs): # noqa: E501
+ """create_release_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_release_batch_with_http_info(entity_list, async=True)
+ >>> thread = api.create_release_auto_batch_with_http_info(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[ReleaseEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param ReleaseAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity_list', 'autoaccept', 'editgroup_id', 'description', 'extra'] # noqa: E501
+ all_params = ['auto_batch'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -1570,28 +1498,20 @@ class DefaultApi(object):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
- " to method create_release_batch" % key
+ " to method create_release_auto_batch" % key
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity_list' is set
- if ('entity_list' not in params or
- params['entity_list'] is None):
- raise ValueError("Missing the required parameter `entity_list` when calling `create_release_batch`") # noqa: E501
+ # verify the required parameter 'auto_batch' is set
+ if ('auto_batch' not in params or
+ params['auto_batch'] is None):
+ raise ValueError("Missing the required parameter `auto_batch` when calling `create_release_auto_batch`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
- if 'autoaccept' in params:
- query_params.append(('autoaccept', params['autoaccept'])) # noqa: E501
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
- if 'description' in params:
- query_params.append(('description', params['description'])) # noqa: E501
- if 'extra' in params:
- query_params.append(('extra', params['extra'])) # noqa: E501
header_params = {}
@@ -1599,8 +1519,8 @@ class DefaultApi(object):
local_var_files = {}
body_params = None
- if 'entity_list' in params:
- body_params = params['entity_list']
+ if 'auto_batch' in params:
+ body_params = params['auto_batch']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
@@ -1613,14 +1533,14 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/release/batch', 'POST',
+ '/editgroup/auto/release/batch', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
- response_type='list[EntityEdit]', # noqa: E501
+ response_type='Editgroup', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
@@ -1628,45 +1548,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_webcapture(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_webcapture(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_webcapture # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_webcapture(entity, editgroup_id, async=True)
+ >>> thread = api.create_webcapture(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param WebcaptureEntity entity: (required)
:param str editgroup_id: (required)
+ :param WebcaptureEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_webcapture_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ return self.create_webcapture_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
else:
- (data) = self.create_webcapture_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.create_webcapture_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
return data
- def create_webcapture_with_http_info(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_webcapture_with_http_info(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_webcapture # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_webcapture_with_http_info(entity, editgroup_id, async=True)
+ >>> thread = api.create_webcapture_with_http_info(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param WebcaptureEntity entity: (required)
:param str editgroup_id: (required)
+ :param WebcaptureEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -1681,22 +1601,22 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity' is set
- if ('entity' not in params or
- params['entity'] is None):
- raise ValueError("Missing the required parameter `entity` when calling `create_webcapture`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `create_webcapture`") # noqa: E501
+ # verify the required parameter 'entity' is set
+ if ('entity' not in params or
+ params['entity'] is None):
+ raise ValueError("Missing the required parameter `entity` when calling `create_webcapture`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -1718,7 +1638,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/webcapture', 'POST',
+ '/editgroup/{editgroup_id}/webcapture', 'POST',
path_params,
query_params,
header_params,
@@ -1733,51 +1653,43 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_webcapture_batch(self, entity_list, **kwargs): # noqa: E501
- """create_webcapture_batch # noqa: E501
+ def create_webcapture_auto_batch(self, auto_batch, **kwargs): # noqa: E501
+ """create_webcapture_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_webcapture_batch(entity_list, async=True)
+ >>> thread = api.create_webcapture_auto_batch(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[WebcaptureEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param WebcaptureAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_webcapture_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ return self.create_webcapture_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
else:
- (data) = self.create_webcapture_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ (data) = self.create_webcapture_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
return data
- def create_webcapture_batch_with_http_info(self, entity_list, **kwargs): # noqa: E501
- """create_webcapture_batch # noqa: E501
+ def create_webcapture_auto_batch_with_http_info(self, auto_batch, **kwargs): # noqa: E501
+ """create_webcapture_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_webcapture_batch_with_http_info(entity_list, async=True)
+ >>> thread = api.create_webcapture_auto_batch_with_http_info(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[WebcaptureEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param WebcaptureAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity_list', 'autoaccept', 'editgroup_id', 'description', 'extra'] # noqa: E501
+ all_params = ['auto_batch'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -1788,28 +1700,20 @@ class DefaultApi(object):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
- " to method create_webcapture_batch" % key
+ " to method create_webcapture_auto_batch" % key
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity_list' is set
- if ('entity_list' not in params or
- params['entity_list'] is None):
- raise ValueError("Missing the required parameter `entity_list` when calling `create_webcapture_batch`") # noqa: E501
+ # verify the required parameter 'auto_batch' is set
+ if ('auto_batch' not in params or
+ params['auto_batch'] is None):
+ raise ValueError("Missing the required parameter `auto_batch` when calling `create_webcapture_auto_batch`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
- if 'autoaccept' in params:
- query_params.append(('autoaccept', params['autoaccept'])) # noqa: E501
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
- if 'description' in params:
- query_params.append(('description', params['description'])) # noqa: E501
- if 'extra' in params:
- query_params.append(('extra', params['extra'])) # noqa: E501
header_params = {}
@@ -1817,8 +1721,8 @@ class DefaultApi(object):
local_var_files = {}
body_params = None
- if 'entity_list' in params:
- body_params = params['entity_list']
+ if 'auto_batch' in params:
+ body_params = params['auto_batch']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
@@ -1831,14 +1735,14 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/webcapture/batch', 'POST',
+ '/editgroup/auto/webcapture/batch', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
- response_type='list[EntityEdit]', # noqa: E501
+ response_type='Editgroup', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
@@ -1846,45 +1750,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_work(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_work(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_work # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_work(entity, editgroup_id, async=True)
+ >>> thread = api.create_work(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param WorkEntity entity: (required)
:param str editgroup_id: (required)
+ :param WorkEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_work_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ return self.create_work_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
else:
- (data) = self.create_work_with_http_info(entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.create_work_with_http_info(editgroup_id, entity, **kwargs) # noqa: E501
return data
- def create_work_with_http_info(self, entity, editgroup_id, **kwargs): # noqa: E501
+ def create_work_with_http_info(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_work # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_work_with_http_info(entity, editgroup_id, async=True)
+ >>> thread = api.create_work_with_http_info(editgroup_id, entity, async=True)
>>> result = thread.get()
:param async bool
- :param WorkEntity entity: (required)
:param str editgroup_id: (required)
+ :param WorkEntity entity: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -1899,22 +1803,22 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity' is set
- if ('entity' not in params or
- params['entity'] is None):
- raise ValueError("Missing the required parameter `entity` when calling `create_work`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `create_work`") # noqa: E501
+ # verify the required parameter 'entity' is set
+ if ('entity' not in params or
+ params['entity'] is None):
+ raise ValueError("Missing the required parameter `entity` when calling `create_work`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -1936,7 +1840,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/work', 'POST',
+ '/editgroup/{editgroup_id}/work', 'POST',
path_params,
query_params,
header_params,
@@ -1951,51 +1855,43 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def create_work_batch(self, entity_list, **kwargs): # noqa: E501
- """create_work_batch # noqa: E501
+ def create_work_auto_batch(self, auto_batch, **kwargs): # noqa: E501
+ """create_work_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_work_batch(entity_list, async=True)
+ >>> thread = api.create_work_auto_batch(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[WorkEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param WorkAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.create_work_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ return self.create_work_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
else:
- (data) = self.create_work_batch_with_http_info(entity_list, **kwargs) # noqa: E501
+ (data) = self.create_work_auto_batch_with_http_info(auto_batch, **kwargs) # noqa: E501
return data
- def create_work_batch_with_http_info(self, entity_list, **kwargs): # noqa: E501
- """create_work_batch # noqa: E501
+ def create_work_auto_batch_with_http_info(self, auto_batch, **kwargs): # noqa: E501
+ """create_work_auto_batch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.create_work_batch_with_http_info(entity_list, async=True)
+ >>> thread = api.create_work_auto_batch_with_http_info(auto_batch, async=True)
>>> result = thread.get()
:param async bool
- :param list[WorkEntity] entity_list: (required)
- :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once
- :param str editgroup_id: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)
- :param str description:
- :param str extra:
- :return: list[EntityEdit]
+ :param WorkAutoBatch auto_batch: (required)
+ :return: Editgroup
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['entity_list', 'autoaccept', 'editgroup_id', 'description', 'extra'] # noqa: E501
+ all_params = ['auto_batch'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -2006,28 +1902,20 @@ class DefaultApi(object):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
- " to method create_work_batch" % key
+ " to method create_work_auto_batch" % key
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'entity_list' is set
- if ('entity_list' not in params or
- params['entity_list'] is None):
- raise ValueError("Missing the required parameter `entity_list` when calling `create_work_batch`") # noqa: E501
+ # verify the required parameter 'auto_batch' is set
+ if ('auto_batch' not in params or
+ params['auto_batch'] is None):
+ raise ValueError("Missing the required parameter `auto_batch` when calling `create_work_auto_batch`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
- if 'autoaccept' in params:
- query_params.append(('autoaccept', params['autoaccept'])) # noqa: E501
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
- if 'description' in params:
- query_params.append(('description', params['description'])) # noqa: E501
- if 'extra' in params:
- query_params.append(('extra', params['extra'])) # noqa: E501
header_params = {}
@@ -2035,8 +1923,8 @@ class DefaultApi(object):
local_var_files = {}
body_params = None
- if 'entity_list' in params:
- body_params = params['entity_list']
+ if 'auto_batch' in params:
+ body_params = params['auto_batch']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
@@ -2049,14 +1937,14 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/work/batch', 'POST',
+ '/editgroup/auto/work/batch', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
- response_type='list[EntityEdit]', # noqa: E501
+ response_type='Editgroup', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
@@ -2064,45 +1952,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_container(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_container(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_container # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_container(ident, editgroup_id, async=True)
+ >>> thread = api.delete_container(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_container_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ return self.delete_container_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
else:
- (data) = self.delete_container_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.delete_container_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
return data
- def delete_container_with_http_info(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_container_with_http_info(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_container # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_container_with_http_info(ident, editgroup_id, async=True)
+ >>> thread = api.delete_container_with_http_info(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -2117,24 +2005,24 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'ident' is set
- if ('ident' not in params or
- params['ident'] is None):
- raise ValueError("Missing the required parameter `ident` when calling `delete_container`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_container`") # noqa: E501
+ # verify the required parameter 'ident' is set
+ if ('ident' not in params or
+ params['ident'] is None):
+ raise ValueError("Missing the required parameter `ident` when calling `delete_container`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -2154,7 +2042,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/container/{ident}', 'DELETE',
+ '/editgroup/{editgroup_id}/container/{ident}', 'DELETE',
path_params,
query_params,
header_params,
@@ -2169,15 +2057,16 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_container_edit(self, edit_id, **kwargs): # noqa: E501
+ def delete_container_edit(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_container_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_container_edit(edit_id, async=True)
+ >>> thread = api.delete_container_edit(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
@@ -2185,27 +2074,28 @@ class DefaultApi(object):
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_container_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ return self.delete_container_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
else:
- (data) = self.delete_container_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ (data) = self.delete_container_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
return data
- def delete_container_edit_with_http_info(self, edit_id, **kwargs): # noqa: E501
+ def delete_container_edit_with_http_info(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_container_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_container_edit_with_http_info(edit_id, async=True)
+ >>> thread = api.delete_container_edit_with_http_info(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['edit_id'] # noqa: E501
+ all_params = ['editgroup_id', 'edit_id'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -2220,6 +2110,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_container_edit`") # noqa: E501
# verify the required parameter 'edit_id' is set
if ('edit_id' not in params or
params['edit_id'] is None):
@@ -2236,6 +2130,8 @@ class DefaultApi(object):
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'edit_id' in params:
path_params['edit_id'] = params['edit_id'] # noqa: E501
@@ -2259,7 +2155,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/container/edit/{edit_id}', 'DELETE',
+ '/editgroup/{editgroup_id}/container/edit/{edit_id}', 'DELETE',
path_params,
query_params,
header_params,
@@ -2274,45 +2170,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_creator(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_creator(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_creator # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_creator(ident, editgroup_id, async=True)
+ >>> thread = api.delete_creator(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_creator_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ return self.delete_creator_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
else:
- (data) = self.delete_creator_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.delete_creator_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
return data
- def delete_creator_with_http_info(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_creator_with_http_info(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_creator # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_creator_with_http_info(ident, editgroup_id, async=True)
+ >>> thread = api.delete_creator_with_http_info(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -2327,24 +2223,24 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'ident' is set
- if ('ident' not in params or
- params['ident'] is None):
- raise ValueError("Missing the required parameter `ident` when calling `delete_creator`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_creator`") # noqa: E501
+ # verify the required parameter 'ident' is set
+ if ('ident' not in params or
+ params['ident'] is None):
+ raise ValueError("Missing the required parameter `ident` when calling `delete_creator`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -2364,7 +2260,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/creator/{ident}', 'DELETE',
+ '/editgroup/{editgroup_id}/creator/{ident}', 'DELETE',
path_params,
query_params,
header_params,
@@ -2379,15 +2275,16 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_creator_edit(self, edit_id, **kwargs): # noqa: E501
+ def delete_creator_edit(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_creator_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_creator_edit(edit_id, async=True)
+ >>> thread = api.delete_creator_edit(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
@@ -2395,27 +2292,28 @@ class DefaultApi(object):
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_creator_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ return self.delete_creator_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
else:
- (data) = self.delete_creator_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ (data) = self.delete_creator_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
return data
- def delete_creator_edit_with_http_info(self, edit_id, **kwargs): # noqa: E501
+ def delete_creator_edit_with_http_info(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_creator_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_creator_edit_with_http_info(edit_id, async=True)
+ >>> thread = api.delete_creator_edit_with_http_info(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['edit_id'] # noqa: E501
+ all_params = ['editgroup_id', 'edit_id'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -2430,6 +2328,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_creator_edit`") # noqa: E501
# verify the required parameter 'edit_id' is set
if ('edit_id' not in params or
params['edit_id'] is None):
@@ -2446,6 +2348,8 @@ class DefaultApi(object):
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'edit_id' in params:
path_params['edit_id'] = params['edit_id'] # noqa: E501
@@ -2469,7 +2373,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/creator/edit/{edit_id}', 'DELETE',
+ '/editgroup/{editgroup_id}/creator/edit/{edit_id}', 'DELETE',
path_params,
query_params,
header_params,
@@ -2484,45 +2388,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_file(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_file(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_file # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_file(ident, editgroup_id, async=True)
+ >>> thread = api.delete_file(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_file_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ return self.delete_file_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
else:
- (data) = self.delete_file_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.delete_file_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
return data
- def delete_file_with_http_info(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_file_with_http_info(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_file # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_file_with_http_info(ident, editgroup_id, async=True)
+ >>> thread = api.delete_file_with_http_info(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -2537,24 +2441,24 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'ident' is set
- if ('ident' not in params or
- params['ident'] is None):
- raise ValueError("Missing the required parameter `ident` when calling `delete_file`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_file`") # noqa: E501
+ # verify the required parameter 'ident' is set
+ if ('ident' not in params or
+ params['ident'] is None):
+ raise ValueError("Missing the required parameter `ident` when calling `delete_file`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -2574,7 +2478,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/file/{ident}', 'DELETE',
+ '/editgroup/{editgroup_id}/file/{ident}', 'DELETE',
path_params,
query_params,
header_params,
@@ -2589,15 +2493,16 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_file_edit(self, edit_id, **kwargs): # noqa: E501
+ def delete_file_edit(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_file_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_file_edit(edit_id, async=True)
+ >>> thread = api.delete_file_edit(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
@@ -2605,27 +2510,28 @@ class DefaultApi(object):
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_file_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ return self.delete_file_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
else:
- (data) = self.delete_file_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ (data) = self.delete_file_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
return data
- def delete_file_edit_with_http_info(self, edit_id, **kwargs): # noqa: E501
+ def delete_file_edit_with_http_info(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_file_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_file_edit_with_http_info(edit_id, async=True)
+ >>> thread = api.delete_file_edit_with_http_info(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['edit_id'] # noqa: E501
+ all_params = ['editgroup_id', 'edit_id'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -2640,6 +2546,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_file_edit`") # noqa: E501
# verify the required parameter 'edit_id' is set
if ('edit_id' not in params or
params['edit_id'] is None):
@@ -2656,6 +2566,8 @@ class DefaultApi(object):
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'edit_id' in params:
path_params['edit_id'] = params['edit_id'] # noqa: E501
@@ -2679,7 +2591,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/file/edit/{edit_id}', 'DELETE',
+ '/editgroup/{editgroup_id}/file/edit/{edit_id}', 'DELETE',
path_params,
query_params,
header_params,
@@ -2694,45 +2606,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_fileset(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_fileset(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_fileset # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_fileset(ident, editgroup_id, async=True)
+ >>> thread = api.delete_fileset(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_fileset_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ return self.delete_fileset_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
else:
- (data) = self.delete_fileset_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.delete_fileset_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
return data
- def delete_fileset_with_http_info(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_fileset_with_http_info(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_fileset # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_fileset_with_http_info(ident, editgroup_id, async=True)
+ >>> thread = api.delete_fileset_with_http_info(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -2747,24 +2659,24 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'ident' is set
- if ('ident' not in params or
- params['ident'] is None):
- raise ValueError("Missing the required parameter `ident` when calling `delete_fileset`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_fileset`") # noqa: E501
+ # verify the required parameter 'ident' is set
+ if ('ident' not in params or
+ params['ident'] is None):
+ raise ValueError("Missing the required parameter `ident` when calling `delete_fileset`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -2784,7 +2696,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/fileset/{ident}', 'DELETE',
+ '/editgroup/{editgroup_id}/fileset/{ident}', 'DELETE',
path_params,
query_params,
header_params,
@@ -2799,15 +2711,16 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_fileset_edit(self, edit_id, **kwargs): # noqa: E501
+ def delete_fileset_edit(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_fileset_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_fileset_edit(edit_id, async=True)
+ >>> thread = api.delete_fileset_edit(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
@@ -2815,27 +2728,28 @@ class DefaultApi(object):
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_fileset_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ return self.delete_fileset_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
else:
- (data) = self.delete_fileset_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ (data) = self.delete_fileset_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
return data
- def delete_fileset_edit_with_http_info(self, edit_id, **kwargs): # noqa: E501
+ def delete_fileset_edit_with_http_info(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_fileset_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_fileset_edit_with_http_info(edit_id, async=True)
+ >>> thread = api.delete_fileset_edit_with_http_info(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['edit_id'] # noqa: E501
+ all_params = ['editgroup_id', 'edit_id'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -2850,6 +2764,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_fileset_edit`") # noqa: E501
# verify the required parameter 'edit_id' is set
if ('edit_id' not in params or
params['edit_id'] is None):
@@ -2866,6 +2784,8 @@ class DefaultApi(object):
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'edit_id' in params:
path_params['edit_id'] = params['edit_id'] # noqa: E501
@@ -2889,7 +2809,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/fileset/edit/{edit_id}', 'DELETE',
+ '/editgroup/{editgroup_id}/fileset/edit/{edit_id}', 'DELETE',
path_params,
query_params,
header_params,
@@ -2904,45 +2824,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_release(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_release(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_release # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_release(ident, editgroup_id, async=True)
+ >>> thread = api.delete_release(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_release_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ return self.delete_release_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
else:
- (data) = self.delete_release_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.delete_release_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
return data
- def delete_release_with_http_info(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_release_with_http_info(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_release # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_release_with_http_info(ident, editgroup_id, async=True)
+ >>> thread = api.delete_release_with_http_info(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -2957,24 +2877,24 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'ident' is set
- if ('ident' not in params or
- params['ident'] is None):
- raise ValueError("Missing the required parameter `ident` when calling `delete_release`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_release`") # noqa: E501
+ # verify the required parameter 'ident' is set
+ if ('ident' not in params or
+ params['ident'] is None):
+ raise ValueError("Missing the required parameter `ident` when calling `delete_release`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -2994,7 +2914,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/release/{ident}', 'DELETE',
+ '/editgroup/{editgroup_id}/release/{ident}', 'DELETE',
path_params,
query_params,
header_params,
@@ -3009,15 +2929,16 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_release_edit(self, edit_id, **kwargs): # noqa: E501
+ def delete_release_edit(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_release_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_release_edit(edit_id, async=True)
+ >>> thread = api.delete_release_edit(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
@@ -3025,27 +2946,28 @@ class DefaultApi(object):
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_release_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ return self.delete_release_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
else:
- (data) = self.delete_release_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ (data) = self.delete_release_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
return data
- def delete_release_edit_with_http_info(self, edit_id, **kwargs): # noqa: E501
+ def delete_release_edit_with_http_info(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_release_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_release_edit_with_http_info(edit_id, async=True)
+ >>> thread = api.delete_release_edit_with_http_info(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['edit_id'] # noqa: E501
+ all_params = ['editgroup_id', 'edit_id'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -3060,6 +2982,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_release_edit`") # noqa: E501
# verify the required parameter 'edit_id' is set
if ('edit_id' not in params or
params['edit_id'] is None):
@@ -3076,6 +3002,8 @@ class DefaultApi(object):
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'edit_id' in params:
path_params['edit_id'] = params['edit_id'] # noqa: E501
@@ -3099,7 +3027,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/release/edit/{edit_id}', 'DELETE',
+ '/editgroup/{editgroup_id}/release/edit/{edit_id}', 'DELETE',
path_params,
query_params,
header_params,
@@ -3114,45 +3042,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_webcapture(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_webcapture(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_webcapture # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_webcapture(ident, editgroup_id, async=True)
+ >>> thread = api.delete_webcapture(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_webcapture_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ return self.delete_webcapture_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
else:
- (data) = self.delete_webcapture_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.delete_webcapture_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
return data
- def delete_webcapture_with_http_info(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_webcapture_with_http_info(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_webcapture # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_webcapture_with_http_info(ident, editgroup_id, async=True)
+ >>> thread = api.delete_webcapture_with_http_info(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -3167,24 +3095,24 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'ident' is set
- if ('ident' not in params or
- params['ident'] is None):
- raise ValueError("Missing the required parameter `ident` when calling `delete_webcapture`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_webcapture`") # noqa: E501
+ # verify the required parameter 'ident' is set
+ if ('ident' not in params or
+ params['ident'] is None):
+ raise ValueError("Missing the required parameter `ident` when calling `delete_webcapture`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -3204,7 +3132,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/webcapture/{ident}', 'DELETE',
+ '/editgroup/{editgroup_id}/webcapture/{ident}', 'DELETE',
path_params,
query_params,
header_params,
@@ -3219,15 +3147,16 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_webcapture_edit(self, edit_id, **kwargs): # noqa: E501
+ def delete_webcapture_edit(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_webcapture_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_webcapture_edit(edit_id, async=True)
+ >>> thread = api.delete_webcapture_edit(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
@@ -3235,27 +3164,28 @@ class DefaultApi(object):
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_webcapture_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ return self.delete_webcapture_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
else:
- (data) = self.delete_webcapture_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ (data) = self.delete_webcapture_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
return data
- def delete_webcapture_edit_with_http_info(self, edit_id, **kwargs): # noqa: E501
+ def delete_webcapture_edit_with_http_info(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_webcapture_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_webcapture_edit_with_http_info(edit_id, async=True)
+ >>> thread = api.delete_webcapture_edit_with_http_info(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['edit_id'] # noqa: E501
+ all_params = ['editgroup_id', 'edit_id'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -3270,6 +3200,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_webcapture_edit`") # noqa: E501
# verify the required parameter 'edit_id' is set
if ('edit_id' not in params or
params['edit_id'] is None):
@@ -3286,6 +3220,8 @@ class DefaultApi(object):
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'edit_id' in params:
path_params['edit_id'] = params['edit_id'] # noqa: E501
@@ -3309,7 +3245,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/webcapture/edit/{edit_id}', 'DELETE',
+ '/editgroup/{editgroup_id}/webcapture/edit/{edit_id}', 'DELETE',
path_params,
query_params,
header_params,
@@ -3324,45 +3260,45 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_work(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_work(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_work # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_work(ident, editgroup_id, async=True)
+ >>> thread = api.delete_work(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_work_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ return self.delete_work_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
else:
- (data) = self.delete_work_with_http_info(ident, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.delete_work_with_http_info(editgroup_id, ident, **kwargs) # noqa: E501
return data
- def delete_work_with_http_info(self, ident, editgroup_id, **kwargs): # noqa: E501
+ def delete_work_with_http_info(self, editgroup_id, ident, **kwargs): # noqa: E501
"""delete_work # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_work_with_http_info(ident, editgroup_id, async=True)
+ >>> thread = api.delete_work_with_http_info(editgroup_id, ident, async=True)
>>> result = thread.get()
:param async bool
- :param str ident: (required)
:param str editgroup_id: (required)
+ :param str ident: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -3377,24 +3313,24 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
- # verify the required parameter 'ident' is set
- if ('ident' not in params or
- params['ident'] is None):
- raise ValueError("Missing the required parameter `ident` when calling `delete_work`") # noqa: E501
# verify the required parameter 'editgroup_id' is set
if ('editgroup_id' not in params or
params['editgroup_id'] is None):
raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_work`") # noqa: E501
+ # verify the required parameter 'ident' is set
+ if ('ident' not in params or
+ params['ident'] is None):
+ raise ValueError("Missing the required parameter `ident` when calling `delete_work`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -3414,7 +3350,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/work/{ident}', 'DELETE',
+ '/editgroup/{editgroup_id}/work/{ident}', 'DELETE',
path_params,
query_params,
header_params,
@@ -3429,15 +3365,16 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def delete_work_edit(self, edit_id, **kwargs): # noqa: E501
+ def delete_work_edit(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_work_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_work_edit(edit_id, async=True)
+ >>> thread = api.delete_work_edit(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
@@ -3445,27 +3382,28 @@ class DefaultApi(object):
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.delete_work_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ return self.delete_work_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
else:
- (data) = self.delete_work_edit_with_http_info(edit_id, **kwargs) # noqa: E501
+ (data) = self.delete_work_edit_with_http_info(editgroup_id, edit_id, **kwargs) # noqa: E501
return data
- def delete_work_edit_with_http_info(self, edit_id, **kwargs): # noqa: E501
+ def delete_work_edit_with_http_info(self, editgroup_id, edit_id, **kwargs): # noqa: E501
"""delete_work_edit # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.delete_work_edit_with_http_info(edit_id, async=True)
+ >>> thread = api.delete_work_edit_with_http_info(editgroup_id, edit_id, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str edit_id: UUID (lower-case, dash-separated, hex-encoded 128-bit) (required)
:return: Success
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['edit_id'] # noqa: E501
+ all_params = ['editgroup_id', 'edit_id'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -3480,6 +3418,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `delete_work_edit`") # noqa: E501
# verify the required parameter 'edit_id' is set
if ('edit_id' not in params or
params['edit_id'] is None):
@@ -3496,6 +3438,8 @@ class DefaultApi(object):
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'edit_id' in params:
path_params['edit_id'] = params['edit_id'] # noqa: E501
@@ -3519,7 +3463,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/work/edit/{edit_id}', 'DELETE',
+ '/editgroup/{editgroup_id}/work/edit/{edit_id}', 'DELETE',
path_params,
query_params,
header_params,
@@ -9014,47 +8958,47 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def update_container(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_container(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_container # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_container(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_container(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param ContainerEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.update_container_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ return self.update_container_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
else:
- (data) = self.update_container_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.update_container_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
return data
- def update_container_with_http_info(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_container_with_http_info(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_container # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_container_with_http_info(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_container_with_http_info(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param ContainerEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -9069,6 +9013,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `update_container`") # noqa: E501
# verify the required parameter 'ident' is set
if ('ident' not in params or
params['ident'] is None):
@@ -9077,20 +9025,16 @@ class DefaultApi(object):
if ('entity' not in params or
params['entity'] is None):
raise ValueError("Missing the required parameter `entity` when calling `update_container`") # noqa: E501
- # verify the required parameter 'editgroup_id' is set
- if ('editgroup_id' not in params or
- params['editgroup_id'] is None):
- raise ValueError("Missing the required parameter `editgroup_id` when calling `update_container`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -9112,7 +9056,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/container/{ident}', 'PUT',
+ '/editgroup/{editgroup_id}/container/{ident}', 'PUT',
path_params,
query_params,
header_params,
@@ -9127,47 +9071,47 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def update_creator(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_creator(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_creator # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_creator(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_creator(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param CreatorEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.update_creator_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ return self.update_creator_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
else:
- (data) = self.update_creator_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.update_creator_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
return data
- def update_creator_with_http_info(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_creator_with_http_info(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_creator # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_creator_with_http_info(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_creator_with_http_info(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param CreatorEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -9182,6 +9126,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `update_creator`") # noqa: E501
# verify the required parameter 'ident' is set
if ('ident' not in params or
params['ident'] is None):
@@ -9190,20 +9138,16 @@ class DefaultApi(object):
if ('entity' not in params or
params['entity'] is None):
raise ValueError("Missing the required parameter `entity` when calling `update_creator`") # noqa: E501
- # verify the required parameter 'editgroup_id' is set
- if ('editgroup_id' not in params or
- params['editgroup_id'] is None):
- raise ValueError("Missing the required parameter `editgroup_id` when calling `update_creator`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -9225,7 +9169,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/creator/{ident}', 'PUT',
+ '/editgroup/{editgroup_id}/creator/{ident}', 'PUT',
path_params,
query_params,
header_params,
@@ -9462,47 +9406,47 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def update_file(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_file(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_file # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_file(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_file(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param FileEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.update_file_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ return self.update_file_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
else:
- (data) = self.update_file_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.update_file_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
return data
- def update_file_with_http_info(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_file_with_http_info(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_file # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_file_with_http_info(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_file_with_http_info(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param FileEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -9517,6 +9461,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `update_file`") # noqa: E501
# verify the required parameter 'ident' is set
if ('ident' not in params or
params['ident'] is None):
@@ -9525,20 +9473,16 @@ class DefaultApi(object):
if ('entity' not in params or
params['entity'] is None):
raise ValueError("Missing the required parameter `entity` when calling `update_file`") # noqa: E501
- # verify the required parameter 'editgroup_id' is set
- if ('editgroup_id' not in params or
- params['editgroup_id'] is None):
- raise ValueError("Missing the required parameter `editgroup_id` when calling `update_file`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -9560,7 +9504,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/file/{ident}', 'PUT',
+ '/editgroup/{editgroup_id}/file/{ident}', 'PUT',
path_params,
query_params,
header_params,
@@ -9575,47 +9519,47 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def update_fileset(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_fileset(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_fileset # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_fileset(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_fileset(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param FilesetEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.update_fileset_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ return self.update_fileset_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
else:
- (data) = self.update_fileset_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.update_fileset_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
return data
- def update_fileset_with_http_info(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_fileset_with_http_info(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_fileset # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_fileset_with_http_info(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_fileset_with_http_info(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param FilesetEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -9630,6 +9574,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `update_fileset`") # noqa: E501
# verify the required parameter 'ident' is set
if ('ident' not in params or
params['ident'] is None):
@@ -9638,20 +9586,16 @@ class DefaultApi(object):
if ('entity' not in params or
params['entity'] is None):
raise ValueError("Missing the required parameter `entity` when calling `update_fileset`") # noqa: E501
- # verify the required parameter 'editgroup_id' is set
- if ('editgroup_id' not in params or
- params['editgroup_id'] is None):
- raise ValueError("Missing the required parameter `editgroup_id` when calling `update_fileset`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -9673,7 +9617,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/fileset/{ident}', 'PUT',
+ '/editgroup/{editgroup_id}/fileset/{ident}', 'PUT',
path_params,
query_params,
header_params,
@@ -9688,47 +9632,47 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def update_release(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_release(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_release # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_release(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_release(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param ReleaseEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.update_release_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ return self.update_release_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
else:
- (data) = self.update_release_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.update_release_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
return data
- def update_release_with_http_info(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_release_with_http_info(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_release # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_release_with_http_info(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_release_with_http_info(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param ReleaseEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -9743,6 +9687,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `update_release`") # noqa: E501
# verify the required parameter 'ident' is set
if ('ident' not in params or
params['ident'] is None):
@@ -9751,20 +9699,16 @@ class DefaultApi(object):
if ('entity' not in params or
params['entity'] is None):
raise ValueError("Missing the required parameter `entity` when calling `update_release`") # noqa: E501
- # verify the required parameter 'editgroup_id' is set
- if ('editgroup_id' not in params or
- params['editgroup_id'] is None):
- raise ValueError("Missing the required parameter `editgroup_id` when calling `update_release`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -9786,7 +9730,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/release/{ident}', 'PUT',
+ '/editgroup/{editgroup_id}/release/{ident}', 'PUT',
path_params,
query_params,
header_params,
@@ -9801,47 +9745,47 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def update_webcapture(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_webcapture(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_webcapture # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_webcapture(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_webcapture(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param WebcaptureEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.update_webcapture_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ return self.update_webcapture_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
else:
- (data) = self.update_webcapture_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.update_webcapture_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
return data
- def update_webcapture_with_http_info(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_webcapture_with_http_info(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_webcapture # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_webcapture_with_http_info(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_webcapture_with_http_info(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param WebcaptureEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -9856,6 +9800,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `update_webcapture`") # noqa: E501
# verify the required parameter 'ident' is set
if ('ident' not in params or
params['ident'] is None):
@@ -9864,20 +9812,16 @@ class DefaultApi(object):
if ('entity' not in params or
params['entity'] is None):
raise ValueError("Missing the required parameter `entity` when calling `update_webcapture`") # noqa: E501
- # verify the required parameter 'editgroup_id' is set
- if ('editgroup_id' not in params or
- params['editgroup_id'] is None):
- raise ValueError("Missing the required parameter `editgroup_id` when calling `update_webcapture`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -9899,7 +9843,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/webcapture/{ident}', 'PUT',
+ '/editgroup/{editgroup_id}/webcapture/{ident}', 'PUT',
path_params,
query_params,
header_params,
@@ -9914,47 +9858,47 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
- def update_work(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_work(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_work # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_work(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_work(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param WorkEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
- return self.update_work_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ return self.update_work_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
else:
- (data) = self.update_work_with_http_info(ident, entity, editgroup_id, **kwargs) # noqa: E501
+ (data) = self.update_work_with_http_info(editgroup_id, ident, entity, **kwargs) # noqa: E501
return data
- def update_work_with_http_info(self, ident, entity, editgroup_id, **kwargs): # noqa: E501
+ def update_work_with_http_info(self, editgroup_id, ident, entity, **kwargs): # noqa: E501
"""update_work # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
- >>> thread = api.update_work_with_http_info(ident, entity, editgroup_id, async=True)
+ >>> thread = api.update_work_with_http_info(editgroup_id, ident, entity, async=True)
>>> result = thread.get()
:param async bool
+ :param str editgroup_id: (required)
:param str ident: (required)
:param WorkEntity entity: (required)
- :param str editgroup_id: (required)
:return: EntityEdit
If the method is called asynchronously,
returns the request thread.
"""
- all_params = ['ident', 'entity', 'editgroup_id'] # noqa: E501
+ all_params = ['editgroup_id', 'ident', 'entity'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -9969,6 +9913,10 @@ class DefaultApi(object):
)
params[key] = val
del params['kwargs']
+ # verify the required parameter 'editgroup_id' is set
+ if ('editgroup_id' not in params or
+ params['editgroup_id'] is None):
+ raise ValueError("Missing the required parameter `editgroup_id` when calling `update_work`") # noqa: E501
# verify the required parameter 'ident' is set
if ('ident' not in params or
params['ident'] is None):
@@ -9977,20 +9925,16 @@ class DefaultApi(object):
if ('entity' not in params or
params['entity'] is None):
raise ValueError("Missing the required parameter `entity` when calling `update_work`") # noqa: E501
- # verify the required parameter 'editgroup_id' is set
- if ('editgroup_id' not in params or
- params['editgroup_id'] is None):
- raise ValueError("Missing the required parameter `editgroup_id` when calling `update_work`") # noqa: E501
collection_formats = {}
path_params = {}
+ if 'editgroup_id' in params:
+ path_params['editgroup_id'] = params['editgroup_id'] # noqa: E501
if 'ident' in params:
path_params['ident'] = params['ident'] # noqa: E501
query_params = []
- if 'editgroup_id' in params:
- query_params.append(('editgroup_id', params['editgroup_id'])) # noqa: E501
header_params = {}
@@ -10012,7 +9956,7 @@ class DefaultApi(object):
auth_settings = ['Bearer'] # noqa: E501
return self.api_client.call_api(
- '/work/{ident}', 'PUT',
+ '/editgroup/{editgroup_id}/work/{ident}', 'PUT',
path_params,
query_params,
header_params,
diff --git a/python_client/fatcat_client/models/__init__.py b/python_client/fatcat_client/models/__init__.py
index ce36c999..40cb8ee5 100644
--- a/python_client/fatcat_client/models/__init__.py
+++ b/python_client/fatcat_client/models/__init__.py
@@ -18,7 +18,9 @@ from __future__ import absolute_import
from fatcat_client.models.auth_oidc import AuthOidc
from fatcat_client.models.auth_oidc_result import AuthOidcResult
from fatcat_client.models.changelog_entry import ChangelogEntry
+from fatcat_client.models.container_auto_batch import ContainerAutoBatch
from fatcat_client.models.container_entity import ContainerEntity
+from fatcat_client.models.creator_auto_batch import CreatorAutoBatch
from fatcat_client.models.creator_entity import CreatorEntity
from fatcat_client.models.editgroup import Editgroup
from fatcat_client.models.editgroup_annotation import EditgroupAnnotation
@@ -27,18 +29,23 @@ from fatcat_client.models.editor import Editor
from fatcat_client.models.entity_edit import EntityEdit
from fatcat_client.models.entity_history_entry import EntityHistoryEntry
from fatcat_client.models.error_response import ErrorResponse
+from fatcat_client.models.file_auto_batch import FileAutoBatch
from fatcat_client.models.file_entity import FileEntity
from fatcat_client.models.file_url import FileUrl
+from fatcat_client.models.fileset_auto_batch import FilesetAutoBatch
from fatcat_client.models.fileset_entity import FilesetEntity
from fatcat_client.models.fileset_file import FilesetFile
from fatcat_client.models.fileset_url import FilesetUrl
from fatcat_client.models.release_abstract import ReleaseAbstract
+from fatcat_client.models.release_auto_batch import ReleaseAutoBatch
from fatcat_client.models.release_contrib import ReleaseContrib
from fatcat_client.models.release_entity import ReleaseEntity
from fatcat_client.models.release_ext_ids import ReleaseExtIds
from fatcat_client.models.release_ref import ReleaseRef
from fatcat_client.models.success import Success
+from fatcat_client.models.webcapture_auto_batch import WebcaptureAutoBatch
from fatcat_client.models.webcapture_cdx_line import WebcaptureCdxLine
from fatcat_client.models.webcapture_entity import WebcaptureEntity
from fatcat_client.models.webcapture_url import WebcaptureUrl
+from fatcat_client.models.work_auto_batch import WorkAutoBatch
from fatcat_client.models.work_entity import WorkEntity
diff --git a/python_client/fatcat_client/models/container_auto_batch.py b/python_client/fatcat_client/models/container_auto_batch.py
new file mode 100644
index 00000000..b8b2bf2b
--- /dev/null
+++ b/python_client/fatcat_client/models/container_auto_batch.py
@@ -0,0 +1,143 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+import pprint
+import re # noqa: F401
+
+import six
+
+from fatcat_client.models.container_entity import ContainerEntity # noqa: F401,E501
+from fatcat_client.models.editgroup import Editgroup # noqa: F401,E501
+
+
+class ContainerAutoBatch(object):
+ """NOTE: This class is auto generated by the swagger code generator program.
+
+ Do not edit the class manually.
+ """
+
+ """
+ Attributes:
+ swagger_types (dict): The key is attribute name
+ and the value is attribute type.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ """
+ swagger_types = {
+ 'editgroup': 'Editgroup',
+ 'entity_list': 'list[ContainerEntity]'
+ }
+
+ attribute_map = {
+ 'editgroup': 'editgroup',
+ 'entity_list': 'entity_list'
+ }
+
+ def __init__(self, editgroup=None, entity_list=None): # noqa: E501
+ """ContainerAutoBatch - a model defined in Swagger""" # noqa: E501
+
+ self._editgroup = None
+ self._entity_list = None
+ self.discriminator = None
+
+ self.editgroup = editgroup
+ self.entity_list = entity_list
+
+ @property
+ def editgroup(self):
+ """Gets the editgroup of this ContainerAutoBatch. # noqa: E501
+
+
+ :return: The editgroup of this ContainerAutoBatch. # noqa: E501
+ :rtype: Editgroup
+ """
+ return self._editgroup
+
+ @editgroup.setter
+ def editgroup(self, editgroup):
+ """Sets the editgroup of this ContainerAutoBatch.
+
+
+ :param editgroup: The editgroup of this ContainerAutoBatch. # noqa: E501
+ :type: Editgroup
+ """
+ if editgroup is None:
+ raise ValueError("Invalid value for `editgroup`, must not be `None`") # noqa: E501
+
+ self._editgroup = editgroup
+
+ @property
+ def entity_list(self):
+ """Gets the entity_list of this ContainerAutoBatch. # noqa: E501
+
+
+ :return: The entity_list of this ContainerAutoBatch. # noqa: E501
+ :rtype: list[ContainerEntity]
+ """
+ return self._entity_list
+
+ @entity_list.setter
+ def entity_list(self, entity_list):
+ """Sets the entity_list of this ContainerAutoBatch.
+
+
+ :param entity_list: The entity_list of this ContainerAutoBatch. # noqa: E501
+ :type: list[ContainerEntity]
+ """
+ if entity_list is None:
+ raise ValueError("Invalid value for `entity_list`, must not be `None`") # noqa: E501
+
+ self._entity_list = entity_list
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ for attr, _ in six.iteritems(self.swagger_types):
+ value = getattr(self, attr)
+ if isinstance(value, list):
+ result[attr] = list(map(
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
+ value
+ ))
+ elif hasattr(value, "to_dict"):
+ result[attr] = value.to_dict()
+ elif isinstance(value, dict):
+ result[attr] = dict(map(
+ lambda item: (item[0], item[1].to_dict())
+ if hasattr(item[1], "to_dict") else item,
+ value.items()
+ ))
+ else:
+ result[attr] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, ContainerAutoBatch):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/python_client/fatcat_client/models/creator_auto_batch.py b/python_client/fatcat_client/models/creator_auto_batch.py
new file mode 100644
index 00000000..96b335da
--- /dev/null
+++ b/python_client/fatcat_client/models/creator_auto_batch.py
@@ -0,0 +1,143 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+import pprint
+import re # noqa: F401
+
+import six
+
+from fatcat_client.models.creator_entity import CreatorEntity # noqa: F401,E501
+from fatcat_client.models.editgroup import Editgroup # noqa: F401,E501
+
+
+class CreatorAutoBatch(object):
+ """NOTE: This class is auto generated by the swagger code generator program.
+
+ Do not edit the class manually.
+ """
+
+ """
+ Attributes:
+ swagger_types (dict): The key is attribute name
+ and the value is attribute type.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ """
+ swagger_types = {
+ 'editgroup': 'Editgroup',
+ 'entity_list': 'list[CreatorEntity]'
+ }
+
+ attribute_map = {
+ 'editgroup': 'editgroup',
+ 'entity_list': 'entity_list'
+ }
+
+ def __init__(self, editgroup=None, entity_list=None): # noqa: E501
+ """CreatorAutoBatch - a model defined in Swagger""" # noqa: E501
+
+ self._editgroup = None
+ self._entity_list = None
+ self.discriminator = None
+
+ self.editgroup = editgroup
+ self.entity_list = entity_list
+
+ @property
+ def editgroup(self):
+ """Gets the editgroup of this CreatorAutoBatch. # noqa: E501
+
+
+ :return: The editgroup of this CreatorAutoBatch. # noqa: E501
+ :rtype: Editgroup
+ """
+ return self._editgroup
+
+ @editgroup.setter
+ def editgroup(self, editgroup):
+ """Sets the editgroup of this CreatorAutoBatch.
+
+
+ :param editgroup: The editgroup of this CreatorAutoBatch. # noqa: E501
+ :type: Editgroup
+ """
+ if editgroup is None:
+ raise ValueError("Invalid value for `editgroup`, must not be `None`") # noqa: E501
+
+ self._editgroup = editgroup
+
+ @property
+ def entity_list(self):
+ """Gets the entity_list of this CreatorAutoBatch. # noqa: E501
+
+
+ :return: The entity_list of this CreatorAutoBatch. # noqa: E501
+ :rtype: list[CreatorEntity]
+ """
+ return self._entity_list
+
+ @entity_list.setter
+ def entity_list(self, entity_list):
+ """Sets the entity_list of this CreatorAutoBatch.
+
+
+ :param entity_list: The entity_list of this CreatorAutoBatch. # noqa: E501
+ :type: list[CreatorEntity]
+ """
+ if entity_list is None:
+ raise ValueError("Invalid value for `entity_list`, must not be `None`") # noqa: E501
+
+ self._entity_list = entity_list
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ for attr, _ in six.iteritems(self.swagger_types):
+ value = getattr(self, attr)
+ if isinstance(value, list):
+ result[attr] = list(map(
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
+ value
+ ))
+ elif hasattr(value, "to_dict"):
+ result[attr] = value.to_dict()
+ elif isinstance(value, dict):
+ result[attr] = dict(map(
+ lambda item: (item[0], item[1].to_dict())
+ if hasattr(item[1], "to_dict") else item,
+ value.items()
+ ))
+ else:
+ result[attr] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, CreatorAutoBatch):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/python_client/fatcat_client/models/file_auto_batch.py b/python_client/fatcat_client/models/file_auto_batch.py
new file mode 100644
index 00000000..cc4f4e04
--- /dev/null
+++ b/python_client/fatcat_client/models/file_auto_batch.py
@@ -0,0 +1,143 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+import pprint
+import re # noqa: F401
+
+import six
+
+from fatcat_client.models.editgroup import Editgroup # noqa: F401,E501
+from fatcat_client.models.file_entity import FileEntity # noqa: F401,E501
+
+
+class FileAutoBatch(object):
+ """NOTE: This class is auto generated by the swagger code generator program.
+
+ Do not edit the class manually.
+ """
+
+ """
+ Attributes:
+ swagger_types (dict): The key is attribute name
+ and the value is attribute type.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ """
+ swagger_types = {
+ 'editgroup': 'Editgroup',
+ 'entity_list': 'list[FileEntity]'
+ }
+
+ attribute_map = {
+ 'editgroup': 'editgroup',
+ 'entity_list': 'entity_list'
+ }
+
+ def __init__(self, editgroup=None, entity_list=None): # noqa: E501
+ """FileAutoBatch - a model defined in Swagger""" # noqa: E501
+
+ self._editgroup = None
+ self._entity_list = None
+ self.discriminator = None
+
+ self.editgroup = editgroup
+ self.entity_list = entity_list
+
+ @property
+ def editgroup(self):
+ """Gets the editgroup of this FileAutoBatch. # noqa: E501
+
+
+ :return: The editgroup of this FileAutoBatch. # noqa: E501
+ :rtype: Editgroup
+ """
+ return self._editgroup
+
+ @editgroup.setter
+ def editgroup(self, editgroup):
+ """Sets the editgroup of this FileAutoBatch.
+
+
+ :param editgroup: The editgroup of this FileAutoBatch. # noqa: E501
+ :type: Editgroup
+ """
+ if editgroup is None:
+ raise ValueError("Invalid value for `editgroup`, must not be `None`") # noqa: E501
+
+ self._editgroup = editgroup
+
+ @property
+ def entity_list(self):
+ """Gets the entity_list of this FileAutoBatch. # noqa: E501
+
+
+ :return: The entity_list of this FileAutoBatch. # noqa: E501
+ :rtype: list[FileEntity]
+ """
+ return self._entity_list
+
+ @entity_list.setter
+ def entity_list(self, entity_list):
+ """Sets the entity_list of this FileAutoBatch.
+
+
+ :param entity_list: The entity_list of this FileAutoBatch. # noqa: E501
+ :type: list[FileEntity]
+ """
+ if entity_list is None:
+ raise ValueError("Invalid value for `entity_list`, must not be `None`") # noqa: E501
+
+ self._entity_list = entity_list
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ for attr, _ in six.iteritems(self.swagger_types):
+ value = getattr(self, attr)
+ if isinstance(value, list):
+ result[attr] = list(map(
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
+ value
+ ))
+ elif hasattr(value, "to_dict"):
+ result[attr] = value.to_dict()
+ elif isinstance(value, dict):
+ result[attr] = dict(map(
+ lambda item: (item[0], item[1].to_dict())
+ if hasattr(item[1], "to_dict") else item,
+ value.items()
+ ))
+ else:
+ result[attr] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, FileAutoBatch):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/python_client/fatcat_client/models/fileset_auto_batch.py b/python_client/fatcat_client/models/fileset_auto_batch.py
new file mode 100644
index 00000000..969f8de6
--- /dev/null
+++ b/python_client/fatcat_client/models/fileset_auto_batch.py
@@ -0,0 +1,143 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+import pprint
+import re # noqa: F401
+
+import six
+
+from fatcat_client.models.editgroup import Editgroup # noqa: F401,E501
+from fatcat_client.models.fileset_entity import FilesetEntity # noqa: F401,E501
+
+
+class FilesetAutoBatch(object):
+ """NOTE: This class is auto generated by the swagger code generator program.
+
+ Do not edit the class manually.
+ """
+
+ """
+ Attributes:
+ swagger_types (dict): The key is attribute name
+ and the value is attribute type.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ """
+ swagger_types = {
+ 'editgroup': 'Editgroup',
+ 'entity_list': 'list[FilesetEntity]'
+ }
+
+ attribute_map = {
+ 'editgroup': 'editgroup',
+ 'entity_list': 'entity_list'
+ }
+
+ def __init__(self, editgroup=None, entity_list=None): # noqa: E501
+ """FilesetAutoBatch - a model defined in Swagger""" # noqa: E501
+
+ self._editgroup = None
+ self._entity_list = None
+ self.discriminator = None
+
+ self.editgroup = editgroup
+ self.entity_list = entity_list
+
+ @property
+ def editgroup(self):
+ """Gets the editgroup of this FilesetAutoBatch. # noqa: E501
+
+
+ :return: The editgroup of this FilesetAutoBatch. # noqa: E501
+ :rtype: Editgroup
+ """
+ return self._editgroup
+
+ @editgroup.setter
+ def editgroup(self, editgroup):
+ """Sets the editgroup of this FilesetAutoBatch.
+
+
+ :param editgroup: The editgroup of this FilesetAutoBatch. # noqa: E501
+ :type: Editgroup
+ """
+ if editgroup is None:
+ raise ValueError("Invalid value for `editgroup`, must not be `None`") # noqa: E501
+
+ self._editgroup = editgroup
+
+ @property
+ def entity_list(self):
+ """Gets the entity_list of this FilesetAutoBatch. # noqa: E501
+
+
+ :return: The entity_list of this FilesetAutoBatch. # noqa: E501
+ :rtype: list[FilesetEntity]
+ """
+ return self._entity_list
+
+ @entity_list.setter
+ def entity_list(self, entity_list):
+ """Sets the entity_list of this FilesetAutoBatch.
+
+
+ :param entity_list: The entity_list of this FilesetAutoBatch. # noqa: E501
+ :type: list[FilesetEntity]
+ """
+ if entity_list is None:
+ raise ValueError("Invalid value for `entity_list`, must not be `None`") # noqa: E501
+
+ self._entity_list = entity_list
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ for attr, _ in six.iteritems(self.swagger_types):
+ value = getattr(self, attr)
+ if isinstance(value, list):
+ result[attr] = list(map(
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
+ value
+ ))
+ elif hasattr(value, "to_dict"):
+ result[attr] = value.to_dict()
+ elif isinstance(value, dict):
+ result[attr] = dict(map(
+ lambda item: (item[0], item[1].to_dict())
+ if hasattr(item[1], "to_dict") else item,
+ value.items()
+ ))
+ else:
+ result[attr] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, FilesetAutoBatch):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/python_client/fatcat_client/models/release_auto_batch.py b/python_client/fatcat_client/models/release_auto_batch.py
new file mode 100644
index 00000000..a80718bb
--- /dev/null
+++ b/python_client/fatcat_client/models/release_auto_batch.py
@@ -0,0 +1,143 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+import pprint
+import re # noqa: F401
+
+import six
+
+from fatcat_client.models.editgroup import Editgroup # noqa: F401,E501
+from fatcat_client.models.release_entity import ReleaseEntity # noqa: F401,E501
+
+
+class ReleaseAutoBatch(object):
+ """NOTE: This class is auto generated by the swagger code generator program.
+
+ Do not edit the class manually.
+ """
+
+ """
+ Attributes:
+ swagger_types (dict): The key is attribute name
+ and the value is attribute type.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ """
+ swagger_types = {
+ 'editgroup': 'Editgroup',
+ 'entity_list': 'list[ReleaseEntity]'
+ }
+
+ attribute_map = {
+ 'editgroup': 'editgroup',
+ 'entity_list': 'entity_list'
+ }
+
+ def __init__(self, editgroup=None, entity_list=None): # noqa: E501
+ """ReleaseAutoBatch - a model defined in Swagger""" # noqa: E501
+
+ self._editgroup = None
+ self._entity_list = None
+ self.discriminator = None
+
+ self.editgroup = editgroup
+ self.entity_list = entity_list
+
+ @property
+ def editgroup(self):
+ """Gets the editgroup of this ReleaseAutoBatch. # noqa: E501
+
+
+ :return: The editgroup of this ReleaseAutoBatch. # noqa: E501
+ :rtype: Editgroup
+ """
+ return self._editgroup
+
+ @editgroup.setter
+ def editgroup(self, editgroup):
+ """Sets the editgroup of this ReleaseAutoBatch.
+
+
+ :param editgroup: The editgroup of this ReleaseAutoBatch. # noqa: E501
+ :type: Editgroup
+ """
+ if editgroup is None:
+ raise ValueError("Invalid value for `editgroup`, must not be `None`") # noqa: E501
+
+ self._editgroup = editgroup
+
+ @property
+ def entity_list(self):
+ """Gets the entity_list of this ReleaseAutoBatch. # noqa: E501
+
+
+ :return: The entity_list of this ReleaseAutoBatch. # noqa: E501
+ :rtype: list[ReleaseEntity]
+ """
+ return self._entity_list
+
+ @entity_list.setter
+ def entity_list(self, entity_list):
+ """Sets the entity_list of this ReleaseAutoBatch.
+
+
+ :param entity_list: The entity_list of this ReleaseAutoBatch. # noqa: E501
+ :type: list[ReleaseEntity]
+ """
+ if entity_list is None:
+ raise ValueError("Invalid value for `entity_list`, must not be `None`") # noqa: E501
+
+ self._entity_list = entity_list
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ for attr, _ in six.iteritems(self.swagger_types):
+ value = getattr(self, attr)
+ if isinstance(value, list):
+ result[attr] = list(map(
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
+ value
+ ))
+ elif hasattr(value, "to_dict"):
+ result[attr] = value.to_dict()
+ elif isinstance(value, dict):
+ result[attr] = dict(map(
+ lambda item: (item[0], item[1].to_dict())
+ if hasattr(item[1], "to_dict") else item,
+ value.items()
+ ))
+ else:
+ result[attr] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, ReleaseAutoBatch):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/python_client/fatcat_client/models/webcapture_auto_batch.py b/python_client/fatcat_client/models/webcapture_auto_batch.py
new file mode 100644
index 00000000..579ec21e
--- /dev/null
+++ b/python_client/fatcat_client/models/webcapture_auto_batch.py
@@ -0,0 +1,143 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+import pprint
+import re # noqa: F401
+
+import six
+
+from fatcat_client.models.editgroup import Editgroup # noqa: F401,E501
+from fatcat_client.models.webcapture_entity import WebcaptureEntity # noqa: F401,E501
+
+
+class WebcaptureAutoBatch(object):
+ """NOTE: This class is auto generated by the swagger code generator program.
+
+ Do not edit the class manually.
+ """
+
+ """
+ Attributes:
+ swagger_types (dict): The key is attribute name
+ and the value is attribute type.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ """
+ swagger_types = {
+ 'editgroup': 'Editgroup',
+ 'entity_list': 'list[WebcaptureEntity]'
+ }
+
+ attribute_map = {
+ 'editgroup': 'editgroup',
+ 'entity_list': 'entity_list'
+ }
+
+ def __init__(self, editgroup=None, entity_list=None): # noqa: E501
+ """WebcaptureAutoBatch - a model defined in Swagger""" # noqa: E501
+
+ self._editgroup = None
+ self._entity_list = None
+ self.discriminator = None
+
+ self.editgroup = editgroup
+ self.entity_list = entity_list
+
+ @property
+ def editgroup(self):
+ """Gets the editgroup of this WebcaptureAutoBatch. # noqa: E501
+
+
+ :return: The editgroup of this WebcaptureAutoBatch. # noqa: E501
+ :rtype: Editgroup
+ """
+ return self._editgroup
+
+ @editgroup.setter
+ def editgroup(self, editgroup):
+ """Sets the editgroup of this WebcaptureAutoBatch.
+
+
+ :param editgroup: The editgroup of this WebcaptureAutoBatch. # noqa: E501
+ :type: Editgroup
+ """
+ if editgroup is None:
+ raise ValueError("Invalid value for `editgroup`, must not be `None`") # noqa: E501
+
+ self._editgroup = editgroup
+
+ @property
+ def entity_list(self):
+ """Gets the entity_list of this WebcaptureAutoBatch. # noqa: E501
+
+
+ :return: The entity_list of this WebcaptureAutoBatch. # noqa: E501
+ :rtype: list[WebcaptureEntity]
+ """
+ return self._entity_list
+
+ @entity_list.setter
+ def entity_list(self, entity_list):
+ """Sets the entity_list of this WebcaptureAutoBatch.
+
+
+ :param entity_list: The entity_list of this WebcaptureAutoBatch. # noqa: E501
+ :type: list[WebcaptureEntity]
+ """
+ if entity_list is None:
+ raise ValueError("Invalid value for `entity_list`, must not be `None`") # noqa: E501
+
+ self._entity_list = entity_list
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ for attr, _ in six.iteritems(self.swagger_types):
+ value = getattr(self, attr)
+ if isinstance(value, list):
+ result[attr] = list(map(
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
+ value
+ ))
+ elif hasattr(value, "to_dict"):
+ result[attr] = value.to_dict()
+ elif isinstance(value, dict):
+ result[attr] = dict(map(
+ lambda item: (item[0], item[1].to_dict())
+ if hasattr(item[1], "to_dict") else item,
+ value.items()
+ ))
+ else:
+ result[attr] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, WebcaptureAutoBatch):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/python_client/fatcat_client/models/work_auto_batch.py b/python_client/fatcat_client/models/work_auto_batch.py
new file mode 100644
index 00000000..2ae4c9a8
--- /dev/null
+++ b/python_client/fatcat_client/models/work_auto_batch.py
@@ -0,0 +1,143 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+import pprint
+import re # noqa: F401
+
+import six
+
+from fatcat_client.models.editgroup import Editgroup # noqa: F401,E501
+from fatcat_client.models.work_entity import WorkEntity # noqa: F401,E501
+
+
+class WorkAutoBatch(object):
+ """NOTE: This class is auto generated by the swagger code generator program.
+
+ Do not edit the class manually.
+ """
+
+ """
+ Attributes:
+ swagger_types (dict): The key is attribute name
+ and the value is attribute type.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ """
+ swagger_types = {
+ 'editgroup': 'Editgroup',
+ 'entity_list': 'list[WorkEntity]'
+ }
+
+ attribute_map = {
+ 'editgroup': 'editgroup',
+ 'entity_list': 'entity_list'
+ }
+
+ def __init__(self, editgroup=None, entity_list=None): # noqa: E501
+ """WorkAutoBatch - a model defined in Swagger""" # noqa: E501
+
+ self._editgroup = None
+ self._entity_list = None
+ self.discriminator = None
+
+ self.editgroup = editgroup
+ self.entity_list = entity_list
+
+ @property
+ def editgroup(self):
+ """Gets the editgroup of this WorkAutoBatch. # noqa: E501
+
+
+ :return: The editgroup of this WorkAutoBatch. # noqa: E501
+ :rtype: Editgroup
+ """
+ return self._editgroup
+
+ @editgroup.setter
+ def editgroup(self, editgroup):
+ """Sets the editgroup of this WorkAutoBatch.
+
+
+ :param editgroup: The editgroup of this WorkAutoBatch. # noqa: E501
+ :type: Editgroup
+ """
+ if editgroup is None:
+ raise ValueError("Invalid value for `editgroup`, must not be `None`") # noqa: E501
+
+ self._editgroup = editgroup
+
+ @property
+ def entity_list(self):
+ """Gets the entity_list of this WorkAutoBatch. # noqa: E501
+
+
+ :return: The entity_list of this WorkAutoBatch. # noqa: E501
+ :rtype: list[WorkEntity]
+ """
+ return self._entity_list
+
+ @entity_list.setter
+ def entity_list(self, entity_list):
+ """Sets the entity_list of this WorkAutoBatch.
+
+
+ :param entity_list: The entity_list of this WorkAutoBatch. # noqa: E501
+ :type: list[WorkEntity]
+ """
+ if entity_list is None:
+ raise ValueError("Invalid value for `entity_list`, must not be `None`") # noqa: E501
+
+ self._entity_list = entity_list
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ for attr, _ in six.iteritems(self.swagger_types):
+ value = getattr(self, attr)
+ if isinstance(value, list):
+ result[attr] = list(map(
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
+ value
+ ))
+ elif hasattr(value, "to_dict"):
+ result[attr] = value.to_dict()
+ elif isinstance(value, dict):
+ result[attr] = dict(map(
+ lambda item: (item[0], item[1].to_dict())
+ if hasattr(item[1], "to_dict") else item,
+ value.items()
+ ))
+ else:
+ result[attr] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, WorkAutoBatch):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/python_client/tests/codegen/test_container_auto_batch.py b/python_client/tests/codegen/test_container_auto_batch.py
new file mode 100644
index 00000000..e7579c97
--- /dev/null
+++ b/python_client/tests/codegen/test_container_auto_batch.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.container_auto_batch import ContainerAutoBatch # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestContainerAutoBatch(unittest.TestCase):
+ """ContainerAutoBatch unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testContainerAutoBatch(self):
+ """Test ContainerAutoBatch"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.container_auto_batch.ContainerAutoBatch() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_creator_auto_batch.py b/python_client/tests/codegen/test_creator_auto_batch.py
new file mode 100644
index 00000000..9a5d2535
--- /dev/null
+++ b/python_client/tests/codegen/test_creator_auto_batch.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.creator_auto_batch import CreatorAutoBatch # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestCreatorAutoBatch(unittest.TestCase):
+ """CreatorAutoBatch unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testCreatorAutoBatch(self):
+ """Test CreatorAutoBatch"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.creator_auto_batch.CreatorAutoBatch() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_default_api.py b/python_client/tests/codegen/test_default_api.py
index c27ee581..f5490261 100644
--- a/python_client/tests/codegen/test_default_api.py
+++ b/python_client/tests/codegen/test_default_api.py
@@ -53,8 +53,8 @@ class TestDefaultApi(unittest.TestCase):
"""
pass
- def test_create_container_batch(self):
- """Test case for create_container_batch
+ def test_create_container_auto_batch(self):
+ """Test case for create_container_auto_batch
"""
pass
@@ -65,8 +65,8 @@ class TestDefaultApi(unittest.TestCase):
"""
pass
- def test_create_creator_batch(self):
- """Test case for create_creator_batch
+ def test_create_creator_auto_batch(self):
+ """Test case for create_creator_auto_batch
"""
pass
@@ -89,8 +89,8 @@ class TestDefaultApi(unittest.TestCase):
"""
pass
- def test_create_file_batch(self):
- """Test case for create_file_batch
+ def test_create_file_auto_batch(self):
+ """Test case for create_file_auto_batch
"""
pass
@@ -101,8 +101,8 @@ class TestDefaultApi(unittest.TestCase):
"""
pass
- def test_create_fileset_batch(self):
- """Test case for create_fileset_batch
+ def test_create_fileset_auto_batch(self):
+ """Test case for create_fileset_auto_batch
"""
pass
@@ -113,8 +113,8 @@ class TestDefaultApi(unittest.TestCase):
"""
pass
- def test_create_release_batch(self):
- """Test case for create_release_batch
+ def test_create_release_auto_batch(self):
+ """Test case for create_release_auto_batch
"""
pass
@@ -125,8 +125,8 @@ class TestDefaultApi(unittest.TestCase):
"""
pass
- def test_create_webcapture_batch(self):
- """Test case for create_webcapture_batch
+ def test_create_webcapture_auto_batch(self):
+ """Test case for create_webcapture_auto_batch
"""
pass
@@ -137,8 +137,8 @@ class TestDefaultApi(unittest.TestCase):
"""
pass
- def test_create_work_batch(self):
- """Test case for create_work_batch
+ def test_create_work_auto_batch(self):
+ """Test case for create_work_auto_batch
"""
pass
diff --git a/python_client/tests/codegen/test_file_auto_batch.py b/python_client/tests/codegen/test_file_auto_batch.py
new file mode 100644
index 00000000..9c71c589
--- /dev/null
+++ b/python_client/tests/codegen/test_file_auto_batch.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.file_auto_batch import FileAutoBatch # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestFileAutoBatch(unittest.TestCase):
+ """FileAutoBatch unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testFileAutoBatch(self):
+ """Test FileAutoBatch"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.file_auto_batch.FileAutoBatch() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_fileset_auto_batch.py b/python_client/tests/codegen/test_fileset_auto_batch.py
new file mode 100644
index 00000000..f84857c4
--- /dev/null
+++ b/python_client/tests/codegen/test_fileset_auto_batch.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.fileset_auto_batch import FilesetAutoBatch # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestFilesetAutoBatch(unittest.TestCase):
+ """FilesetAutoBatch unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testFilesetAutoBatch(self):
+ """Test FilesetAutoBatch"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.fileset_auto_batch.FilesetAutoBatch() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_release_auto_batch.py b/python_client/tests/codegen/test_release_auto_batch.py
new file mode 100644
index 00000000..7c930b27
--- /dev/null
+++ b/python_client/tests/codegen/test_release_auto_batch.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.release_auto_batch import ReleaseAutoBatch # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestReleaseAutoBatch(unittest.TestCase):
+ """ReleaseAutoBatch unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testReleaseAutoBatch(self):
+ """Test ReleaseAutoBatch"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.release_auto_batch.ReleaseAutoBatch() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_webcapture_auto_batch.py b/python_client/tests/codegen/test_webcapture_auto_batch.py
new file mode 100644
index 00000000..823fd2c1
--- /dev/null
+++ b/python_client/tests/codegen/test_webcapture_auto_batch.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.webcapture_auto_batch import WebcaptureAutoBatch # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestWebcaptureAutoBatch(unittest.TestCase):
+ """WebcaptureAutoBatch unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testWebcaptureAutoBatch(self):
+ """Test WebcaptureAutoBatch"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.webcapture_auto_batch.WebcaptureAutoBatch() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_work_auto_batch.py b/python_client/tests/codegen/test_work_auto_batch.py
new file mode 100644
index 00000000..0e38869c
--- /dev/null
+++ b/python_client/tests/codegen/test_work_auto_batch.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.2.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.work_auto_batch import WorkAutoBatch # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestWorkAutoBatch(unittest.TestCase):
+ """WorkAutoBatch unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testWorkAutoBatch(self):
+ """Test WorkAutoBatch"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.work_auto_batch.WorkAutoBatch() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()