Skip to content

Commit b438e74

Browse files
author
Phrase
committed
1 parent 5826d85 commit b438e74

8 files changed

Lines changed: 9 additions & 37 deletions

docs/LocalePreview1.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**name** | **str** | | [optional]
77
**code** | **str** | | [optional]
8-
**project** | [**ProjectShort**](ProjectShort.md) | | [optional]
98

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

phrase_api/models/locale_preview1.py

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -33,33 +33,28 @@ class LocalePreview1(object):
3333
"""
3434
openapi_types = {
3535
'name': 'str',
36-
'code': 'str',
37-
'project': 'ProjectShort'
36+
'code': 'str'
3837
}
3938

4039
attribute_map = {
4140
'name': 'name',
42-
'code': 'code',
43-
'project': 'project'
41+
'code': 'code'
4442
}
4543

46-
def __init__(self, name=None, code=None, project=None, local_vars_configuration=None): # noqa: E501
44+
def __init__(self, name=None, code=None, local_vars_configuration=None): # noqa: E501
4745
"""LocalePreview1 - a model defined in OpenAPI""" # noqa: E501
4846
if local_vars_configuration is None:
4947
local_vars_configuration = Configuration()
5048
self.local_vars_configuration = local_vars_configuration
5149

5250
self._name = None
5351
self._code = None
54-
self._project = None
5552
self.discriminator = None
5653

5754
if name is not None:
5855
self.name = name
5956
if code is not None:
6057
self.code = code
61-
if project is not None:
62-
self.project = project
6358

6459
@property
6560
def name(self):
@@ -103,27 +98,6 @@ def code(self, code):
10398

10499
self._code = code
105100

106-
@property
107-
def project(self):
108-
"""Gets the project of this LocalePreview1. # noqa: E501
109-
110-
111-
:return: The project of this LocalePreview1. # noqa: E501
112-
:rtype: ProjectShort
113-
"""
114-
return self._project
115-
116-
@project.setter
117-
def project(self, project):
118-
"""Sets the project of this LocalePreview1.
119-
120-
121-
:param project: The project of this LocalePreview1. # noqa: E501
122-
:type: ProjectShort
123-
"""
124-
125-
self._project = project
126-
127101
def to_dict(self):
128102
"""Returns the model properties as a dict"""
129103
result = {}

test/test_key_create_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def make_instance(self, include_optional):
4646
data_type = 'number',
4747
tags = 'awesome-feature,needs-proofreading',
4848
max_characters_allowed = 140,
49-
screenshot = '[B@4193b8a5',
49+
screenshot = '[B@1408e09a',
5050
remove_screenshot = True,
5151
unformatted = True,
5252
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
@@ -46,7 +46,7 @@ def make_instance(self, include_optional):
4646
data_type = 'number',
4747
tags = 'awesome-feature,needs-proofreading',
4848
max_characters_allowed = 140,
49-
screenshot = '[B@2de1a93d',
49+
screenshot = '[B@60d14dca',
5050
remove_screenshot = True,
5151
unformatted = True,
5252
xml_space_preserve = True,

test/test_locale_preview1.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ def make_instance(self, include_optional):
3838
if include_optional :
3939
return LocalePreview1(
4040
name = '',
41-
code = '',
42-
project = {"id":"abcd1234cdef1234abcd1234cdef1234","name":"My Android Project","main_format":"xml","created_at":"2015-01-28T09:52:53Z","updated_at":"2015-01-28T09:52:53Z"}
41+
code = ''
4342
)
4443
else :
4544
return LocalePreview1(

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@2540ad71',
44+
project_image = '[B@14d25248',
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@53e7ef2d',
46+
project_image = '[B@cff1a53',
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@6198bac2'
43+
filename = '[B@12cea099'
4444
)
4545
else :
4646
return ScreenshotUpdateParameters(

0 commit comments

Comments
 (0)