phrase 2.25.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +6 -5
  4. data/docs/AuthorizationCreateParameters.md +1 -1
  5. data/docs/AuthorizationsApi.md +1 -1
  6. data/docs/BlacklistedKeyCreateParameters.md +1 -1
  7. data/docs/BlacklistedKeysApi.md +1 -1
  8. data/docs/BranchCreateParameters.md +1 -1
  9. data/docs/BranchesApi.md +1 -1
  10. data/docs/DistributionCreateParameters.md +2 -2
  11. data/docs/DistributionsApi.md +1 -1
  12. data/docs/FigmaAttachmentCreateParameters.md +1 -1
  13. data/docs/FigmaAttachmentsApi.md +1 -1
  14. data/docs/GlossariesApi.md +1 -1
  15. data/docs/GlossaryCreateParameters.md +1 -1
  16. data/docs/GlossaryTermCreateParameters.md +1 -1
  17. data/docs/GlossaryTermTranslationCreateParameters.md +2 -2
  18. data/docs/GlossaryTermTranslationsApi.md +1 -1
  19. data/docs/GlossaryTermsApi.md +1 -1
  20. data/docs/ICUApi.md +4 -4
  21. data/docs/InvitationCreateParameters.md +2 -2
  22. data/docs/InvitationsApi.md +1 -1
  23. data/docs/JobCreateParameters.md +1 -1
  24. data/docs/JobsApi.md +1 -1
  25. data/docs/KeyCreateParameters.md +2 -2
  26. data/docs/KeyLink.md +7 -7
  27. data/docs/KeyLinksBatchDestroyParameters.md +3 -1
  28. data/docs/KeyUpdateParameters.md +1 -1
  29. data/docs/KeysApi.md +1 -1
  30. data/docs/LinkedKeysApi.md +4 -6
  31. data/docs/LocaleCreateParameters.md +3 -3
  32. data/docs/LocaleUpdateParameters.md +1 -1
  33. data/docs/LocalesApi.md +3 -3
  34. data/docs/OrderCreateParameters.md +4 -4
  35. data/docs/OrdersApi.md +1 -1
  36. data/docs/ProjectCreateParameters.md +2 -2
  37. data/docs/ProjectUpdateParameters.md +1 -1
  38. data/docs/ProjectsApi.md +1 -1
  39. data/docs/ScreenshotMarkerCreateParameters.md +1 -1
  40. data/docs/ScreenshotMarkersApi.md +1 -1
  41. data/docs/ScreenshotUpdateParameters.md +1 -1
  42. data/docs/SpaceCreateParameters.md +1 -1
  43. data/docs/SpacesApi.md +2 -2
  44. data/docs/SpacesProjectsCreateParameters.md +1 -1
  45. data/docs/StyleGuidesApi.md +1 -1
  46. data/docs/StyleguideCreateParameters.md +1 -1
  47. data/docs/TagCreateParameters.md +1 -1
  48. data/docs/TagsApi.md +1 -1
  49. data/docs/TeamCreateParameters.md +1 -1
  50. data/docs/TeamsApi.md +4 -4
  51. data/docs/TeamsProjectsCreateParameters.md +1 -1
  52. data/docs/TeamsSpacesCreateParameters.md +1 -1
  53. data/docs/TeamsUsersCreateParameters.md +1 -1
  54. data/docs/TranslationCreateParameters.md +1 -1
  55. data/docs/TranslationDetails.md +3 -1
  56. data/docs/TranslationParent.md +19 -0
  57. data/docs/UploadsApi.md +10 -10
  58. data/docs/VariableCreateParameters.md +1 -1
  59. data/docs/VariablesApi.md +1 -1
  60. data/docs/WebhookCreateParameters.md +1 -1
  61. data/docs/WebhooksApi.md +1 -1
  62. data/lib/phrase/api/icu_api.rb +4 -4
  63. data/lib/phrase/api/linked_keys_api.rb +2 -5
  64. data/lib/phrase/api/locales_api.rb +2 -2
  65. data/lib/phrase/api/uploads_api.rb +26 -14
  66. data/lib/phrase/models/authorization_create_parameters.rb +5 -0
  67. data/lib/phrase/models/blacklisted_key_create_parameters.rb +5 -0
  68. data/lib/phrase/models/branch_create_parameters.rb +5 -0
  69. data/lib/phrase/models/distribution_create_parameters.rb +10 -0
  70. data/lib/phrase/models/figma_attachment_create_parameters.rb +5 -0
  71. data/lib/phrase/models/glossary_create_parameters.rb +5 -0
  72. data/lib/phrase/models/glossary_term_create_parameters.rb +5 -0
  73. data/lib/phrase/models/glossary_term_translation_create_parameters.rb +10 -0
  74. data/lib/phrase/models/invitation_create_parameters.rb +10 -0
  75. data/lib/phrase/models/job_create_parameters.rb +5 -0
  76. data/lib/phrase/models/key_create_parameters.rb +5 -0
  77. data/lib/phrase/models/key_link.rb +0 -35
  78. data/lib/phrase/models/key_links_batch_destroy_parameters.rb +16 -4
  79. data/lib/phrase/models/locale_create_parameters.rb +11 -1
  80. data/lib/phrase/models/locale_update_parameters.rb +1 -1
  81. data/lib/phrase/models/order_create_parameters.rb +12 -2
  82. data/lib/phrase/models/project_create_parameters.rb +5 -0
  83. data/lib/phrase/models/screenshot_marker_create_parameters.rb +5 -0
  84. data/lib/phrase/models/space_create_parameters.rb +5 -0
  85. data/lib/phrase/models/spaces_projects_create_parameters.rb +5 -0
  86. data/lib/phrase/models/styleguide_create_parameters.rb +5 -0
  87. data/lib/phrase/models/tag_create_parameters.rb +5 -0
  88. data/lib/phrase/models/team_create_parameters.rb +5 -0
  89. data/lib/phrase/models/teams_projects_create_parameters.rb +5 -0
  90. data/lib/phrase/models/teams_spaces_create_parameters.rb +5 -0
  91. data/lib/phrase/models/teams_users_create_parameters.rb +5 -0
  92. data/lib/phrase/models/translation_create_parameters.rb +1 -1
  93. data/lib/phrase/models/translation_details.rb +13 -4
  94. data/lib/phrase/models/translation_parent.rb +205 -0
  95. data/lib/phrase/models/variable_create_parameters.rb +5 -0
  96. data/lib/phrase/models/webhook_create_parameters.rb +5 -0
  97. data/lib/phrase/version.rb +1 -1
  98. data/lib/phrase.rb +1 -0
  99. data/spec/api/icu_api_spec.rb +2 -2
  100. data/spec/api/linked_keys_api_spec.rb +1 -2
  101. data/spec/api/locales_api_spec.rb +1 -1
  102. data/spec/api/uploads_api_spec.rb +2 -2
  103. data/spec/models/key_links_batch_destroy_parameters_spec.rb +6 -0
  104. data/spec/models/translation_details_spec.rb +6 -0
  105. data/spec/models/translation_parent_spec.rb +35 -0
  106. metadata +240 -236
@@ -58,12 +58,22 @@ module Phrase
58
58
  # @return Array for valid properties with the reasons
59
59
  def list_invalid_properties
60
60
  invalid_properties = Array.new
61
+ if @locale_code.nil?
62
+ invalid_properties.push('invalid value for "locale_code", locale_code cannot be nil.')
63
+ end
64
+
65
+ if @content.nil?
66
+ invalid_properties.push('invalid value for "content", content cannot be nil.')
67
+ end
68
+
61
69
  invalid_properties
62
70
  end
63
71
 
64
72
  # Check to see if the all the properties in the model are valid
65
73
  # @return true if the model is valid
66
74
  def valid?
75
+ return false if @locale_code.nil?
76
+ return false if @content.nil?
67
77
  true
68
78
  end
69
79
 
@@ -120,12 +120,22 @@ module Phrase
120
120
  # @return Array for valid properties with the reasons
121
121
  def list_invalid_properties
122
122
  invalid_properties = Array.new
123
+ if @email.nil?
124
+ invalid_properties.push('invalid value for "email", email cannot be nil.')
125
+ end
126
+
127
+ if @role.nil?
128
+ invalid_properties.push('invalid value for "role", role cannot be nil.')
129
+ end
130
+
123
131
  invalid_properties
124
132
  end
125
133
 
126
134
  # Check to see if the all the properties in the model are valid
127
135
  # @return true if the model is valid
128
136
  def valid?
137
+ return false if @email.nil?
138
+ return false if @role.nil?
129
139
  true
130
140
  end
131
141
 
@@ -126,12 +126,17 @@ module Phrase
126
126
  # @return Array for valid properties with the reasons
127
127
  def list_invalid_properties
128
128
  invalid_properties = Array.new
129
+ if @name.nil?
130
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
131
+ end
132
+
129
133
  invalid_properties
130
134
  end
131
135
 
132
136
  # Check to see if the all the properties in the model are valid
133
137
  # @return true if the model is valid
134
138
  def valid?
139
+ return false if @name.nil?
135
140
  true
136
141
  end
137
142
 
@@ -193,12 +193,17 @@ module Phrase
193
193
  # @return Array for valid properties with the reasons
194
194
  def list_invalid_properties
195
195
  invalid_properties = Array.new
196
+ if @name.nil?
197
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
198
+ end
199
+
196
200
  invalid_properties
197
201
  end
198
202
 
199
203
  # Check to see if the all the properties in the model are valid
200
204
  # @return true if the model is valid
201
205
  def valid?
206
+ return false if @name.nil?
202
207
  true
203
208
  end
204
209
 
@@ -101,47 +101,12 @@ module Phrase
101
101
  # @return Array for valid properties with the reasons
102
102
  def list_invalid_properties
103
103
  invalid_properties = Array.new
104
- if @created_at.nil?
105
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
106
- end
107
-
108
- if @updated_at.nil?
109
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
110
- end
111
-
112
- if @created_by.nil?
113
- invalid_properties.push('invalid value for "created_by", created_by cannot be nil.')
114
- end
115
-
116
- if @updated_by.nil?
117
- invalid_properties.push('invalid value for "updated_by", updated_by cannot be nil.')
118
- end
119
-
120
- if @account.nil?
121
- invalid_properties.push('invalid value for "account", account cannot be nil.')
122
- end
123
-
124
- if @parent.nil?
125
- invalid_properties.push('invalid value for "parent", parent cannot be nil.')
126
- end
127
-
128
- if @children.nil?
129
- invalid_properties.push('invalid value for "children", children cannot be nil.')
130
- end
131
-
132
104
  invalid_properties
133
105
  end
134
106
 
135
107
  # Check to see if the all the properties in the model are valid
136
108
  # @return true if the model is valid
137
109
  def valid?
138
- return false if @created_at.nil?
139
- return false if @updated_at.nil?
140
- return false if @created_by.nil?
141
- return false if @updated_by.nil?
142
- return false if @account.nil?
143
- return false if @parent.nil?
144
- return false if @children.nil?
145
110
  true
146
111
  end
147
112
 
@@ -5,17 +5,22 @@ module Phrase
5
5
  # The IDs of the child keys to unlink from the parent key.
6
6
  attr_accessor :child_key_ids
7
7
 
8
+ # Whether to unlink the parent key as well and unmark it as linked-key.
9
+ attr_accessor :unlink_parent
10
+
8
11
  # Attribute mapping from ruby-style variable name to JSON key.
9
12
  def self.attribute_map
10
13
  {
11
- :'child_key_ids' => :'child_key_ids'
14
+ :'child_key_ids' => :'child_key_ids',
15
+ :'unlink_parent' => :'unlink_parent'
12
16
  }
13
17
  end
14
18
 
15
19
  # Attribute type mapping.
16
20
  def self.openapi_types
17
21
  {
18
- :'child_key_ids' => :'Array<String>'
22
+ :'child_key_ids' => :'Array<String>',
23
+ :'unlink_parent' => :'Boolean'
19
24
  }
20
25
  end
21
26
 
@@ -45,6 +50,12 @@ module Phrase
45
50
  self.child_key_ids = value
46
51
  end
47
52
  end
53
+
54
+ if attributes.key?(:'unlink_parent')
55
+ self.unlink_parent = attributes[:'unlink_parent']
56
+ else
57
+ self.unlink_parent = false
58
+ end
48
59
  end
49
60
 
50
61
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -70,7 +81,8 @@ module Phrase
70
81
  def ==(o)
71
82
  return true if self.equal?(o)
72
83
  self.class == o.class &&
73
- child_key_ids == o.child_key_ids
84
+ child_key_ids == o.child_key_ids &&
85
+ unlink_parent == o.unlink_parent
74
86
  end
75
87
 
76
88
  # @see the `==` method
@@ -82,7 +94,7 @@ module Phrase
82
94
  # Calculates hash code according to all attributes.
83
95
  # @return [Integer] Hash code
84
96
  def hash
85
- [child_key_ids].hash
97
+ [child_key_ids, unlink_parent].hash
86
98
  end
87
99
 
88
100
  # Builds the object from hash
@@ -20,7 +20,7 @@ module Phrase
20
20
  # Indicates whether locale is a RTL (Right-to-Left) locale.
21
21
  attr_accessor :rtl
22
22
 
23
- # Source locale. Can be the name or public id of the locale. Preferred is the public id.
23
+ # Source locale. Can be the name or id of the locale. Preferred is id.
24
24
  attr_accessor :source_locale_id
25
25
 
26
26
  # Fallback locale for empty translations. Can be a locale name or id.
@@ -139,12 +139,22 @@ module Phrase
139
139
  # @return Array for valid properties with the reasons
140
140
  def list_invalid_properties
141
141
  invalid_properties = Array.new
142
+ if @name.nil?
143
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
144
+ end
145
+
146
+ if @code.nil?
147
+ invalid_properties.push('invalid value for "code", code cannot be nil.')
148
+ end
149
+
142
150
  invalid_properties
143
151
  end
144
152
 
145
153
  # Check to see if the all the properties in the model are valid
146
154
  # @return true if the model is valid
147
155
  def valid?
156
+ return false if @name.nil?
157
+ return false if @code.nil?
148
158
  true
149
159
  end
150
160
 
@@ -20,7 +20,7 @@ module Phrase
20
20
  # Indicates whether locale is a RTL (Right-to-Left) locale.
21
21
  attr_accessor :rtl
22
22
 
23
- # Source locale. Can be the name or public id of the locale. Preferred is the public id.
23
+ # Source locale. Can be the name or id of the locale. Preferred is id.
24
24
  attr_accessor :source_locale_id
25
25
 
26
26
  # Fallback locale for empty translations. Can be a locale name or id.
@@ -11,10 +11,10 @@ module Phrase
11
11
  # Name of the LSP that should process this order. Can be one of gengo, textmaster.
12
12
  attr_accessor :lsp
13
13
 
14
- # Source locale for the order. Can be the name or public id of the source locale. Preferred is the public id.
14
+ # Source locale for the order. Can be the name or id of the source locale. Preferred is id.
15
15
  attr_accessor :source_locale_id
16
16
 
17
- # List of target locales you want the source content translate to. Can be the name or public id of the target locales. Preferred is the public id.
17
+ # List of target locales you want the source content translate to. Can be the name or id of the target locales. Preferred is id.
18
18
  attr_accessor :target_locale_ids
19
19
 
20
20
  # Name of the quality level, availability depends on the LSP. Can be one of: standard, pro (for orders processed by Gengo) and one of regular, premium, enterprise (for orders processed by TextMaster)
@@ -177,12 +177,22 @@ module Phrase
177
177
  # @return Array for valid properties with the reasons
178
178
  def list_invalid_properties
179
179
  invalid_properties = Array.new
180
+ if @name.nil?
181
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
182
+ end
183
+
184
+ if @lsp.nil?
185
+ invalid_properties.push('invalid value for "lsp", lsp cannot be nil.')
186
+ end
187
+
180
188
  invalid_properties
181
189
  end
182
190
 
183
191
  # Check to see if the all the properties in the model are valid
184
192
  # @return true if the model is valid
185
193
  def valid?
194
+ return false if @name.nil?
195
+ return false if @lsp.nil?
186
196
  true
187
197
  end
188
198
 
@@ -274,12 +274,17 @@ module Phrase
274
274
  # @return Array for valid properties with the reasons
275
275
  def list_invalid_properties
276
276
  invalid_properties = Array.new
277
+ if @name.nil?
278
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
279
+ end
280
+
277
281
  invalid_properties
278
282
  end
279
283
 
280
284
  # Check to see if the all the properties in the model are valid
281
285
  # @return true if the model is valid
282
286
  def valid?
287
+ return false if @name.nil?
283
288
  true
284
289
  end
285
290
 
@@ -67,12 +67,17 @@ module Phrase
67
67
  # @return Array for valid properties with the reasons
68
68
  def list_invalid_properties
69
69
  invalid_properties = Array.new
70
+ if @key_id.nil?
71
+ invalid_properties.push('invalid value for "key_id", key_id cannot be nil.')
72
+ end
73
+
70
74
  invalid_properties
71
75
  end
72
76
 
73
77
  # Check to see if the all the properties in the model are valid
74
78
  # @return true if the model is valid
75
79
  def valid?
80
+ return false if @key_id.nil?
76
81
  true
77
82
  end
78
83
 
@@ -49,12 +49,17 @@ module Phrase
49
49
  # @return Array for valid properties with the reasons
50
50
  def list_invalid_properties
51
51
  invalid_properties = Array.new
52
+ if @name.nil?
53
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
54
+ end
55
+
52
56
  invalid_properties
53
57
  end
54
58
 
55
59
  # Check to see if the all the properties in the model are valid
56
60
  # @return true if the model is valid
57
61
  def valid?
62
+ return false if @name.nil?
58
63
  true
59
64
  end
60
65
 
@@ -49,12 +49,17 @@ module Phrase
49
49
  # @return Array for valid properties with the reasons
50
50
  def list_invalid_properties
51
51
  invalid_properties = Array.new
52
+ if @id.nil?
53
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
54
+ end
55
+
52
56
  invalid_properties
53
57
  end
54
58
 
55
59
  # Check to see if the all the properties in the model are valid
56
60
  # @return true if the model is valid
57
61
  def valid?
62
+ return false if @id.nil?
58
63
  true
59
64
  end
60
65
 
@@ -157,12 +157,17 @@ module Phrase
157
157
  # @return Array for valid properties with the reasons
158
158
  def list_invalid_properties
159
159
  invalid_properties = Array.new
160
+ if @title.nil?
161
+ invalid_properties.push('invalid value for "title", title cannot be nil.')
162
+ end
163
+
160
164
  invalid_properties
161
165
  end
162
166
 
163
167
  # Check to see if the all the properties in the model are valid
164
168
  # @return true if the model is valid
165
169
  def valid?
170
+ return false if @title.nil?
166
171
  true
167
172
  end
168
173
 
@@ -58,12 +58,17 @@ module Phrase
58
58
  # @return Array for valid properties with the reasons
59
59
  def list_invalid_properties
60
60
  invalid_properties = Array.new
61
+ if @name.nil?
62
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
63
+ end
64
+
61
65
  invalid_properties
62
66
  end
63
67
 
64
68
  # Check to see if the all the properties in the model are valid
65
69
  # @return true if the model is valid
66
70
  def valid?
71
+ return false if @name.nil?
67
72
  true
68
73
  end
69
74
 
@@ -49,12 +49,17 @@ module Phrase
49
49
  # @return Array for valid properties with the reasons
50
50
  def list_invalid_properties
51
51
  invalid_properties = Array.new
52
+ if @name.nil?
53
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
54
+ end
55
+
52
56
  invalid_properties
53
57
  end
54
58
 
55
59
  # Check to see if the all the properties in the model are valid
56
60
  # @return true if the model is valid
57
61
  def valid?
62
+ return false if @name.nil?
58
63
  true
59
64
  end
60
65
 
@@ -49,12 +49,17 @@ module Phrase
49
49
  # @return Array for valid properties with the reasons
50
50
  def list_invalid_properties
51
51
  invalid_properties = Array.new
52
+ if @id.nil?
53
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
54
+ end
55
+
52
56
  invalid_properties
53
57
  end
54
58
 
55
59
  # Check to see if the all the properties in the model are valid
56
60
  # @return true if the model is valid
57
61
  def valid?
62
+ return false if @id.nil?
58
63
  true
59
64
  end
60
65
 
@@ -49,12 +49,17 @@ module Phrase
49
49
  # @return Array for valid properties with the reasons
50
50
  def list_invalid_properties
51
51
  invalid_properties = Array.new
52
+ if @id.nil?
53
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
54
+ end
55
+
52
56
  invalid_properties
53
57
  end
54
58
 
55
59
  # Check to see if the all the properties in the model are valid
56
60
  # @return true if the model is valid
57
61
  def valid?
62
+ return false if @id.nil?
58
63
  true
59
64
  end
60
65
 
@@ -49,12 +49,17 @@ module Phrase
49
49
  # @return Array for valid properties with the reasons
50
50
  def list_invalid_properties
51
51
  invalid_properties = Array.new
52
+ if @id.nil?
53
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
54
+ end
55
+
52
56
  invalid_properties
53
57
  end
54
58
 
55
59
  # Check to see if the all the properties in the model are valid
56
60
  # @return true if the model is valid
57
61
  def valid?
62
+ return false if @id.nil?
58
63
  true
59
64
  end
60
65
 
@@ -5,7 +5,7 @@ module Phrase
5
5
  # specify the branch to use
6
6
  attr_accessor :branch
7
7
 
8
- # Locale. Can be the name or public id of the locale. Preferred is the public id.
8
+ # Locale. Can be the name or id of the locale. Preferred is id
9
9
  attr_accessor :locale_id
10
10
 
11
11
  # Key
@@ -28,6 +28,8 @@ module Phrase
28
28
 
29
29
  attr_accessor :word_count
30
30
 
31
+ attr_accessor :linked_translation
32
+
31
33
  # Attribute mapping from ruby-style variable name to JSON key.
32
34
  def self.attribute_map
33
35
  {
@@ -43,7 +45,8 @@ module Phrase
43
45
  :'created_at' => :'created_at',
44
46
  :'updated_at' => :'updated_at',
45
47
  :'user' => :'user',
46
- :'word_count' => :'word_count'
48
+ :'word_count' => :'word_count',
49
+ :'linked_translation' => :'linked_translation'
47
50
  }
48
51
  end
49
52
 
@@ -62,7 +65,8 @@ module Phrase
62
65
  :'created_at' => :'DateTime',
63
66
  :'updated_at' => :'DateTime',
64
67
  :'user' => :'UserPreview',
65
- :'word_count' => :'Integer'
68
+ :'word_count' => :'Integer',
69
+ :'linked_translation' => :'TranslationParent'
66
70
  }
67
71
  end
68
72
 
@@ -147,6 +151,10 @@ module Phrase
147
151
  if attributes.key?(:'word_count')
148
152
  self.word_count = attributes[:'word_count']
149
153
  end
154
+
155
+ if attributes.key?(:'linked_translation')
156
+ self.linked_translation = attributes[:'linked_translation']
157
+ end
150
158
  end
151
159
 
152
160
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -179,7 +187,8 @@ module Phrase
179
187
  created_at == o.created_at &&
180
188
  updated_at == o.updated_at &&
181
189
  user == o.user &&
182
- word_count == o.word_count
190
+ word_count == o.word_count &&
191
+ linked_translation == o.linked_translation
183
192
  end
184
193
 
185
194
  # @see the `==` method
@@ -191,7 +200,7 @@ module Phrase
191
200
  # Calculates hash code according to all attributes.
192
201
  # @return [Integer] Hash code
193
202
  def hash
194
- [id, content, unverified, excluded, plural_suffix, key, locale, placeholders, state, created_at, updated_at, user, word_count].hash
203
+ [id, content, unverified, excluded, plural_suffix, key, locale, placeholders, state, created_at, updated_at, user, word_count, linked_translation].hash
195
204
  end
196
205
 
197
206
  # Builds the object from hash