Skip to content

Commit 012cafa

Browse files
author
Phrase
committed
Deploying from phrase/openapi@081db68d
1 parent b88a031 commit 012cafa

9 files changed

+68
-10
lines changed

docs/UploadSummary.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Name | Type | Description | Notes
1111
**translations_updated** | **int** | | [optional]
1212
**tags_created** | **int** | | [optional]
1313
**translation_keys_ignored** | **int** | | [optional]
14+
**processed_translations** | **int** | | [optional]
15+
**upload_total_translations** | **int** | | [optional]
1416

1517
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1618

phrase_api/models/upload_summary.py

Lines changed: 55 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ class UploadSummary(object):
3939
'translations_created': 'int',
4040
'translations_updated': 'int',
4141
'tags_created': 'int',
42-
'translation_keys_ignored': 'int'
42+
'translation_keys_ignored': 'int',
43+
'processed_translations': 'int',
44+
'upload_total_translations': 'int'
4345
}
4446

4547
attribute_map = {
@@ -50,10 +52,12 @@ class UploadSummary(object):
5052
'translations_created': 'translations_created',
5153
'translations_updated': 'translations_updated',
5254
'tags_created': 'tags_created',
53-
'translation_keys_ignored': 'translation_keys_ignored'
55+
'translation_keys_ignored': 'translation_keys_ignored',
56+
'processed_translations': 'processed_translations',
57+
'upload_total_translations': 'upload_total_translations'
5458
}
5559

56-
def __init__(self, locales_created=None, translation_keys_created=None, translation_keys_updated=None, translation_keys_unmentioned=None, translations_created=None, translations_updated=None, tags_created=None, translation_keys_ignored=None, local_vars_configuration=None): # noqa: E501
60+
def __init__(self, locales_created=None, translation_keys_created=None, translation_keys_updated=None, translation_keys_unmentioned=None, translations_created=None, translations_updated=None, tags_created=None, translation_keys_ignored=None, processed_translations=None, upload_total_translations=None, local_vars_configuration=None): # noqa: E501
5761
"""UploadSummary - a model defined in OpenAPI""" # noqa: E501
5862
if local_vars_configuration is None:
5963
local_vars_configuration = Configuration()
@@ -67,6 +71,8 @@ def __init__(self, locales_created=None, translation_keys_created=None, translat
6771
self._translations_updated = None
6872
self._tags_created = None
6973
self._translation_keys_ignored = None
74+
self._processed_translations = None
75+
self._upload_total_translations = None
7076
self.discriminator = None
7177

7278
if locales_created is not None:
@@ -85,6 +91,10 @@ def __init__(self, locales_created=None, translation_keys_created=None, translat
8591
self.tags_created = tags_created
8692
if translation_keys_ignored is not None:
8793
self.translation_keys_ignored = translation_keys_ignored
94+
if processed_translations is not None:
95+
self.processed_translations = processed_translations
96+
if upload_total_translations is not None:
97+
self.upload_total_translations = upload_total_translations
8898

8999
@property
90100
def locales_created(self):
@@ -254,6 +264,48 @@ def translation_keys_ignored(self, translation_keys_ignored):
254264

255265
self._translation_keys_ignored = translation_keys_ignored
256266

267+
@property
268+
def processed_translations(self):
269+
"""Gets the processed_translations of this UploadSummary. # noqa: E501
270+
271+
272+
:return: The processed_translations of this UploadSummary. # noqa: E501
273+
:rtype: int
274+
"""
275+
return self._processed_translations
276+
277+
@processed_translations.setter
278+
def processed_translations(self, processed_translations):
279+
"""Sets the processed_translations of this UploadSummary.
280+
281+
282+
:param processed_translations: The processed_translations of this UploadSummary. # noqa: E501
283+
:type: int
284+
"""
285+
286+
self._processed_translations = processed_translations
287+
288+
@property
289+
def upload_total_translations(self):
290+
"""Gets the upload_total_translations of this UploadSummary. # noqa: E501
291+
292+
293+
:return: The upload_total_translations of this UploadSummary. # noqa: E501
294+
:rtype: int
295+
"""
296+
return self._upload_total_translations
297+
298+
@upload_total_translations.setter
299+
def upload_total_translations(self, upload_total_translations):
300+
"""Sets the upload_total_translations of this UploadSummary.
301+
302+
303+
:param upload_total_translations: The upload_total_translations of this UploadSummary. # noqa: E501
304+
:type: int
305+
"""
306+
307+
self._upload_total_translations = upload_total_translations
308+
257309
def to_dict(self):
258310
"""Returns the model properties as a dict"""
259311
result = {}

test/test_key_create_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def make_instance(self, include_optional):
4545
data_type = 'number',
4646
tags = 'awesome-feature,needs-proofreading',
4747
max_characters_allowed = 140,
48-
screenshot = '[B@5ed48fd4',
48+
screenshot = '[B@7150439c',
4949
remove_screenshot = True,
5050
unformatted = True,
5151
default_translation_content = 'Default translation content',

test/test_key_update_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def make_instance(self, include_optional):
4545
data_type = 'number',
4646
tags = 'awesome-feature,needs-proofreading',
4747
max_characters_allowed = 140,
48-
screenshot = '[B@11186a22',
48+
screenshot = '[B@4e928f86',
4949
remove_screenshot = True,
5050
unformatted = True,
5151
xml_space_preserve = True,

test/test_project_create_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def make_instance(self, include_optional):
4141
main_format = 'yml',
4242
media = 'Python',
4343
shares_translation_memory = True,
44-
project_image = '[B@14b620e5',
44+
project_image = '[B@6571c72e',
4545
remove_project_image = True,
4646
account_id = 'abcd1234',
4747
point_of_contact = 'abcd1234',

test/test_project_update_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def make_instance(self, include_optional):
4343
main_format = 'yml',
4444
media = 'Python',
4545
shares_translation_memory = True,
46-
project_image = '[B@4a96541',
46+
project_image = '[B@1145d71f',
4747
remove_project_image = False,
4848
workflow = 'review',
4949
machine_translation_enabled = True,

test/test_screenshot_update_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def make_instance(self, include_optional):
4040
branch = 'my-feature-branch',
4141
name = 'A screenshot name',
4242
description = 'A screenshot description',
43-
filename = '[B@7bc02941'
43+
filename = '[B@1af3bf5b'
4444
)
4545
else :
4646
return ScreenshotUpdateParameters(

test/test_upload.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ def make_instance(self, include_optional):
5454
translations_created = 56,
5555
translations_updated = 56,
5656
tags_created = 56,
57-
translation_keys_ignored = 56, ),
57+
translation_keys_ignored = 56,
58+
processed_translations = 56,
59+
upload_total_translations = 56, ),
5860
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
5961
updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f')
6062
)

test/test_upload_summary.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ def make_instance(self, include_optional):
4444
translations_created = 56,
4545
translations_updated = 56,
4646
tags_created = 56,
47-
translation_keys_ignored = 56
47+
translation_keys_ignored = 56,
48+
processed_translations = 56,
49+
upload_total_translations = 56
4850
)
4951
else :
5052
return UploadSummary(

0 commit comments

Comments
 (0)