@@ -43,9 +43,9 @@ class TranslationDetails(object):
4343 'state' : 'str' ,
4444 'created_at' : 'datetime' ,
4545 'updated_at' : 'datetime' ,
46+ 'linked_translation' : 'TranslationParent' ,
4647 'user' : 'UserPreview' ,
47- 'word_count' : 'int' ,
48- 'linked_translation' : 'TranslationParent'
48+ 'word_count' : 'int'
4949 }
5050
5151 attribute_map = {
@@ -60,12 +60,12 @@ class TranslationDetails(object):
6060 'state' : 'state' ,
6161 'created_at' : 'created_at' ,
6262 'updated_at' : 'updated_at' ,
63+ 'linked_translation' : 'linked_translation' ,
6364 'user' : 'user' ,
64- 'word_count' : 'word_count' ,
65- 'linked_translation' : 'linked_translation'
65+ 'word_count' : 'word_count'
6666 }
6767
68- def __init__ (self , id = None , content = None , unverified = None , excluded = None , plural_suffix = None , key = None , locale = None , placeholders = None , state = None , created_at = None , updated_at = None , user = None , word_count = None , linked_translation = None , local_vars_configuration = None ): # noqa: E501
68+ def __init__ (self , id = None , content = None , unverified = None , excluded = None , plural_suffix = None , key = None , locale = None , placeholders = None , state = None , created_at = None , updated_at = None , linked_translation = None , user = None , word_count = None , local_vars_configuration = None ): # noqa: E501
6969 """TranslationDetails - a model defined in OpenAPI""" # noqa: E501
7070 if local_vars_configuration is None :
7171 local_vars_configuration = Configuration ()
@@ -82,9 +82,9 @@ def __init__(self, id=None, content=None, unverified=None, excluded=None, plural
8282 self ._state = None
8383 self ._created_at = None
8484 self ._updated_at = None
85+ self ._linked_translation = None
8586 self ._user = None
8687 self ._word_count = None
87- self ._linked_translation = None
8888 self .discriminator = None
8989
9090 if id is not None :
@@ -109,12 +109,12 @@ def __init__(self, id=None, content=None, unverified=None, excluded=None, plural
109109 self .created_at = created_at
110110 if updated_at is not None :
111111 self .updated_at = updated_at
112+ if linked_translation is not None :
113+ self .linked_translation = linked_translation
112114 if user is not None :
113115 self .user = user
114116 if word_count is not None :
115117 self .word_count = word_count
116- if linked_translation is not None :
117- self .linked_translation = linked_translation
118118
119119 @property
120120 def id (self ):
@@ -347,6 +347,27 @@ def updated_at(self, updated_at):
347347
348348 self ._updated_at = updated_at
349349
350+ @property
351+ def linked_translation (self ):
352+ """Gets the linked_translation of this TranslationDetails. # noqa: E501
353+
354+
355+ :return: The linked_translation of this TranslationDetails. # noqa: E501
356+ :rtype: TranslationParent
357+ """
358+ return self ._linked_translation
359+
360+ @linked_translation .setter
361+ def linked_translation (self , linked_translation ):
362+ """Sets the linked_translation of this TranslationDetails.
363+
364+
365+ :param linked_translation: The linked_translation of this TranslationDetails. # noqa: E501
366+ :type: TranslationParent
367+ """
368+
369+ self ._linked_translation = linked_translation
370+
350371 @property
351372 def user (self ):
352373 """Gets the user of this TranslationDetails. # noqa: E501
@@ -389,27 +410,6 @@ def word_count(self, word_count):
389410
390411 self ._word_count = word_count
391412
392- @property
393- def linked_translation (self ):
394- """Gets the linked_translation of this TranslationDetails. # noqa: E501
395-
396-
397- :return: The linked_translation of this TranslationDetails. # noqa: E501
398- :rtype: TranslationParent
399- """
400- return self ._linked_translation
401-
402- @linked_translation .setter
403- def linked_translation (self , linked_translation ):
404- """Sets the linked_translation of this TranslationDetails.
405-
406-
407- :param linked_translation: The linked_translation of this TranslationDetails. # noqa: E501
408- :type: TranslationParent
409- """
410-
411- self ._linked_translation = linked_translation
412-
413413 def to_dict (self ):
414414 """Returns the model properties as a dict"""
415415 result = {}
0 commit comments