phrase 3.6.0 → 3.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/README.md +4 -3
  4. data/docs/CommentCreateParameters.md +5 -3
  5. data/docs/CommentCreateParameters1.md +19 -0
  6. data/docs/CommentRepliesApi.md +6 -8
  7. data/docs/CommentsApi.md +2 -6
  8. data/docs/JobCommentCreateParameters.md +3 -1
  9. data/docs/JobCommentUpdateParameters.md +3 -1
  10. data/docs/JobCommentsApi.md +6 -6
  11. data/docs/JobLocalesApi.md +6 -6
  12. data/docs/KeyCreateParameters.md +3 -1
  13. data/docs/KeyUpdateParameters.md +1 -1
  14. data/docs/ProjectCreateParameters.md +1 -1
  15. data/docs/ProjectUpdateParameters.md +1 -1
  16. data/docs/ScreenshotUpdateParameters.md +1 -1
  17. data/docs/UploadsApi.md +2 -2
  18. data/lib/phrase/api/comment_replies_api.rb +12 -10
  19. data/lib/phrase/api/comments_api.rb +0 -6
  20. data/lib/phrase/api/job_comments_api.rb +6 -6
  21. data/lib/phrase/api/job_locales_api.rb +6 -6
  22. data/lib/phrase/api/uploads_api.rb +2 -2
  23. data/lib/phrase/models/comment_create_parameters.rb +25 -8
  24. data/lib/phrase/models/comment_create_parameters1.rb +212 -0
  25. data/lib/phrase/models/job_comment_create_parameters.rb +14 -4
  26. data/lib/phrase/models/job_comment_update_parameters.rb +14 -4
  27. data/lib/phrase/models/key_create_parameters.rb +11 -1
  28. data/lib/phrase/version.rb +1 -1
  29. data/lib/phrase.rb +1 -0
  30. data/spec/api/comment_replies_api_spec.rb +1 -2
  31. data/spec/api/comments_api_spec.rb +0 -2
  32. data/spec/api/job_comments_api_spec.rb +3 -3
  33. data/spec/api/job_locales_api_spec.rb +3 -3
  34. data/spec/models/comment_create_parameters1_spec.rb +35 -0
  35. data/spec/models/comment_create_parameters_spec.rb +7 -1
  36. data/spec/models/job_comment_create_parameters_spec.rb +6 -0
  37. data/spec/models/job_comment_update_parameters_spec.rb +6 -0
  38. data/spec/models/key_create_parameters_spec.rb +6 -0
  39. metadata +247 -243
@@ -2,25 +2,30 @@ require 'date'
2
2
 
3
3
  module Phrase
4
4
  class CommentCreateParameters
5
+ # Comment message
6
+ attr_accessor :message
7
+
5
8
  # specify the branch to use
6
9
  attr_accessor :branch
7
10
 
8
- # Comment message
9
- attr_accessor :message
11
+ # specify the locales for the comment
12
+ attr_accessor :locale_ids
10
13
 
11
14
  # Attribute mapping from ruby-style variable name to JSON key.
12
15
  def self.attribute_map
13
16
  {
17
+ :'message' => :'message',
14
18
  :'branch' => :'branch',
15
- :'message' => :'message'
19
+ :'locale_ids' => :'locale_ids'
16
20
  }
17
21
  end
18
22
 
19
23
  # Attribute type mapping.
20
24
  def self.openapi_types
21
25
  {
26
+ :'message' => :'String',
22
27
  :'branch' => :'String',
23
- :'message' => :'String'
28
+ :'locale_ids' => :'Array<String>'
24
29
  }
25
30
  end
26
31
 
@@ -45,12 +50,18 @@ module Phrase
45
50
  h[k.to_sym] = v
46
51
  }
47
52
 
53
+ if attributes.key?(:'message')
54
+ self.message = attributes[:'message']
55
+ end
56
+
48
57
  if attributes.key?(:'branch')
49
58
  self.branch = attributes[:'branch']
50
59
  end
51
60
 
52
- if attributes.key?(:'message')
53
- self.message = attributes[:'message']
61
+ if attributes.key?(:'locale_ids')
62
+ if (value = attributes[:'locale_ids']).is_a?(Array)
63
+ self.locale_ids = value
64
+ end
54
65
  end
55
66
  end
56
67
 
@@ -58,12 +69,17 @@ module Phrase
58
69
  # @return Array for valid properties with the reasons
59
70
  def list_invalid_properties
60
71
  invalid_properties = Array.new
72
+ if @message.nil?
73
+ invalid_properties.push('invalid value for "message", message cannot be nil.')
74
+ end
75
+
61
76
  invalid_properties
62
77
  end
63
78
 
64
79
  # Check to see if the all the properties in the model are valid
65
80
  # @return true if the model is valid
66
81
  def valid?
82
+ return false if @message.nil?
67
83
  true
68
84
  end
69
85
 
@@ -72,8 +88,9 @@ module Phrase
72
88
  def ==(o)
73
89
  return true if self.equal?(o)
74
90
  self.class == o.class &&
91
+ message == o.message &&
75
92
  branch == o.branch &&
76
- message == o.message
93
+ locale_ids == o.locale_ids
77
94
  end
78
95
 
79
96
  # @see the `==` method
@@ -85,7 +102,7 @@ module Phrase
85
102
  # Calculates hash code according to all attributes.
86
103
  # @return [Integer] Hash code
87
104
  def hash
88
- [branch, message].hash
105
+ [message, branch, locale_ids].hash
89
106
  end
90
107
 
91
108
  # Builds the object from hash
@@ -0,0 +1,212 @@
1
+ require 'date'
2
+
3
+ module Phrase
4
+ class CommentCreateParameters1
5
+ # Reply message body
6
+ attr_accessor :message
7
+
8
+ # Specify the branch to use
9
+ attr_accessor :branch
10
+
11
+ # Attribute mapping from ruby-style variable name to JSON key.
12
+ def self.attribute_map
13
+ {
14
+ :'message' => :'message',
15
+ :'branch' => :'branch'
16
+ }
17
+ end
18
+
19
+ # Attribute type mapping.
20
+ def self.openapi_types
21
+ {
22
+ :'message' => :'String',
23
+ :'branch' => :'String'
24
+ }
25
+ end
26
+
27
+ # List of attributes with nullable: true
28
+ def self.openapi_nullable
29
+ Set.new([
30
+ ])
31
+ end
32
+
33
+ # Initializes the object
34
+ # @param [Hash] attributes Model attributes in the form of hash
35
+ def initialize(attributes = {})
36
+ if (!attributes.is_a?(Hash))
37
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::CommentCreateParameters1` initialize method"
38
+ end
39
+
40
+ # check to see if the attribute exists and convert string to symbol for hash key
41
+ attributes = attributes.each_with_object({}) { |(k, v), h|
42
+ if (!self.class.attribute_map.key?(k.to_sym))
43
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::CommentCreateParameters1`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
44
+ end
45
+ h[k.to_sym] = v
46
+ }
47
+
48
+ if attributes.key?(:'message')
49
+ self.message = attributes[:'message']
50
+ end
51
+
52
+ if attributes.key?(:'branch')
53
+ self.branch = attributes[:'branch']
54
+ end
55
+ end
56
+
57
+ # Show invalid properties with the reasons. Usually used together with valid?
58
+ # @return Array for valid properties with the reasons
59
+ def list_invalid_properties
60
+ invalid_properties = Array.new
61
+ if @message.nil?
62
+ invalid_properties.push('invalid value for "message", message cannot be nil.')
63
+ end
64
+
65
+ invalid_properties
66
+ end
67
+
68
+ # Check to see if the all the properties in the model are valid
69
+ # @return true if the model is valid
70
+ def valid?
71
+ return false if @message.nil?
72
+ true
73
+ end
74
+
75
+ # Checks equality by comparing each attribute.
76
+ # @param [Object] Object to be compared
77
+ def ==(o)
78
+ return true if self.equal?(o)
79
+ self.class == o.class &&
80
+ message == o.message &&
81
+ branch == o.branch
82
+ end
83
+
84
+ # @see the `==` method
85
+ # @param [Object] Object to be compared
86
+ def eql?(o)
87
+ self == o
88
+ end
89
+
90
+ # Calculates hash code according to all attributes.
91
+ # @return [Integer] Hash code
92
+ def hash
93
+ [message, branch].hash
94
+ end
95
+
96
+ # Builds the object from hash
97
+ # @param [Hash] attributes Model attributes in the form of hash
98
+ # @return [Object] Returns the model itself
99
+ def self.build_from_hash(attributes)
100
+ new.build_from_hash(attributes)
101
+ end
102
+
103
+ # Builds the object from hash
104
+ # @param [Hash] attributes Model attributes in the form of hash
105
+ # @return [Object] Returns the model itself
106
+ def build_from_hash(attributes)
107
+ return nil unless attributes.is_a?(Hash)
108
+ self.class.openapi_types.each_pair do |key, type|
109
+ if type =~ /\AArray<(.*)>/i
110
+ # check to ensure the input is an array given that the attribute
111
+ # is documented as an array but the input is not
112
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
113
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
114
+ end
115
+ elsif !attributes[self.class.attribute_map[key]].nil?
116
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
117
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
118
+ end
119
+
120
+ self
121
+ end
122
+
123
+ # Deserializes the data based on type
124
+ # @param string type Data type
125
+ # @param string value Value to be deserialized
126
+ # @return [Object] Deserialized data
127
+ def _deserialize(type, value)
128
+ case type.to_sym
129
+ when :DateTime
130
+ DateTime.parse(value)
131
+ when :Date
132
+ Date.parse(value)
133
+ when :Time
134
+ Time.parse(value)
135
+ when :String
136
+ value.to_s
137
+ when :Integer
138
+ value.to_i
139
+ when :Float
140
+ value.to_f
141
+ when :Boolean
142
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
143
+ true
144
+ else
145
+ false
146
+ end
147
+ when :Object
148
+ # generic object (usually a Hash), return directly
149
+ value
150
+ when /\AArray<(?<inner_type>.+)>\z/
151
+ inner_type = Regexp.last_match[:inner_type]
152
+ value.map { |v| _deserialize(inner_type, v) }
153
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
154
+ k_type = Regexp.last_match[:k_type]
155
+ v_type = Regexp.last_match[:v_type]
156
+ {}.tap do |hash|
157
+ value.each do |k, v|
158
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
159
+ end
160
+ end
161
+ else # model
162
+ Phrase.const_get(type).build_from_hash(value)
163
+ end
164
+ end
165
+
166
+ # Returns the string representation of the object
167
+ # @return [String] String presentation of the object
168
+ def to_s
169
+ to_hash.to_s
170
+ end
171
+
172
+ # to_body is an alias to to_hash (backward compatibility)
173
+ # @return [Hash] Returns the object in the form of hash
174
+ def to_body
175
+ to_hash
176
+ end
177
+
178
+ # Returns the object in the form of hash
179
+ # @return [Hash] Returns the object in the form of hash
180
+ def to_hash
181
+ hash = {}
182
+ self.class.attribute_map.each_pair do |attr, param|
183
+ value = self.send(attr)
184
+ if value.nil?
185
+ is_nullable = self.class.openapi_nullable.include?(attr)
186
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
187
+ end
188
+
189
+ hash[param] = _to_hash(value)
190
+ end
191
+ hash
192
+ end
193
+
194
+ # Outputs non-array value in the form of hash
195
+ # For object, use to_hash. Otherwise, just return the value
196
+ # @param [Object] value Any valid value
197
+ # @return [Hash] Returns the value in the form of hash
198
+ def _to_hash(value)
199
+ if value.is_a?(Array)
200
+ value.compact.map { |v| _to_hash(v) }
201
+ elsif value.is_a?(Hash)
202
+ {}.tap do |hash|
203
+ value.each { |k, v| hash[k] = _to_hash(v) }
204
+ end
205
+ elsif value.respond_to? :to_hash
206
+ value.to_hash
207
+ else
208
+ value
209
+ end
210
+ end
211
+ end
212
+ end
@@ -5,17 +5,22 @@ module Phrase
5
5
  # Job comment message
6
6
  attr_accessor :message
7
7
 
8
+ # Branch name for the job
9
+ attr_accessor :branch
10
+
8
11
  # Attribute mapping from ruby-style variable name to JSON key.
9
12
  def self.attribute_map
10
13
  {
11
- :'message' => :'message'
14
+ :'message' => :'message',
15
+ :'branch' => :'branch'
12
16
  }
13
17
  end
14
18
 
15
19
  # Attribute type mapping.
16
20
  def self.openapi_types
17
21
  {
18
- :'message' => :'String'
22
+ :'message' => :'String',
23
+ :'branch' => :'String'
19
24
  }
20
25
  end
21
26
 
@@ -43,6 +48,10 @@ module Phrase
43
48
  if attributes.key?(:'message')
44
49
  self.message = attributes[:'message']
45
50
  end
51
+
52
+ if attributes.key?(:'branch')
53
+ self.branch = attributes[:'branch']
54
+ end
46
55
  end
47
56
 
48
57
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -63,7 +72,8 @@ module Phrase
63
72
  def ==(o)
64
73
  return true if self.equal?(o)
65
74
  self.class == o.class &&
66
- message == o.message
75
+ message == o.message &&
76
+ branch == o.branch
67
77
  end
68
78
 
69
79
  # @see the `==` method
@@ -75,7 +85,7 @@ module Phrase
75
85
  # Calculates hash code according to all attributes.
76
86
  # @return [Integer] Hash code
77
87
  def hash
78
- [message].hash
88
+ [message, branch].hash
79
89
  end
80
90
 
81
91
  # Builds the object from hash
@@ -5,17 +5,22 @@ module Phrase
5
5
  # Comment message
6
6
  attr_accessor :message
7
7
 
8
+ # Branch name for the job
9
+ attr_accessor :branch
10
+
8
11
  # Attribute mapping from ruby-style variable name to JSON key.
9
12
  def self.attribute_map
10
13
  {
11
- :'message' => :'message'
14
+ :'message' => :'message',
15
+ :'branch' => :'branch'
12
16
  }
13
17
  end
14
18
 
15
19
  # Attribute type mapping.
16
20
  def self.openapi_types
17
21
  {
18
- :'message' => :'String'
22
+ :'message' => :'String',
23
+ :'branch' => :'String'
19
24
  }
20
25
  end
21
26
 
@@ -43,6 +48,10 @@ module Phrase
43
48
  if attributes.key?(:'message')
44
49
  self.message = attributes[:'message']
45
50
  end
51
+
52
+ if attributes.key?(:'branch')
53
+ self.branch = attributes[:'branch']
54
+ end
46
55
  end
47
56
 
48
57
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -63,7 +72,8 @@ module Phrase
63
72
  def ==(o)
64
73
  return true if self.equal?(o)
65
74
  self.class == o.class &&
66
- message == o.message
75
+ message == o.message &&
76
+ branch == o.branch
67
77
  end
68
78
 
69
79
  # @see the `==` method
@@ -75,7 +85,7 @@ module Phrase
75
85
  # Calculates hash code according to all attributes.
76
86
  # @return [Integer] Hash code
77
87
  def hash
78
- [message].hash
88
+ [message, branch].hash
79
89
  end
80
90
 
81
91
  # Builds the object from hash
@@ -38,6 +38,9 @@ module Phrase
38
38
  # Creates a translation in the default locale with the specified content
39
39
  attr_accessor :default_translation_content
40
40
 
41
+ # Indicates whether the key should be autotranslated to other locales based on the copy provided in `default_translation_content`.
42
+ attr_accessor :autotranslate
43
+
41
44
  # Indicates whether the key should be exported with \"xml:space=preserve\". Supported by several XML-based formats.
42
45
  attr_accessor :xml_space_preserve
43
46
 
@@ -68,6 +71,7 @@ module Phrase
68
71
  :'remove_screenshot' => :'remove_screenshot',
69
72
  :'unformatted' => :'unformatted',
70
73
  :'default_translation_content' => :'default_translation_content',
74
+ :'autotranslate' => :'autotranslate',
71
75
  :'xml_space_preserve' => :'xml_space_preserve',
72
76
  :'original_file' => :'original_file',
73
77
  :'localized_format_string' => :'localized_format_string',
@@ -91,6 +95,7 @@ module Phrase
91
95
  :'remove_screenshot' => :'Boolean',
92
96
  :'unformatted' => :'Boolean',
93
97
  :'default_translation_content' => :'String',
98
+ :'autotranslate' => :'Boolean',
94
99
  :'xml_space_preserve' => :'Boolean',
95
100
  :'original_file' => :'String',
96
101
  :'localized_format_string' => :'String',
@@ -168,6 +173,10 @@ module Phrase
168
173
  self.default_translation_content = attributes[:'default_translation_content']
169
174
  end
170
175
 
176
+ if attributes.key?(:'autotranslate')
177
+ self.autotranslate = attributes[:'autotranslate']
178
+ end
179
+
171
180
  if attributes.key?(:'xml_space_preserve')
172
181
  self.xml_space_preserve = attributes[:'xml_space_preserve']
173
182
  end
@@ -224,6 +233,7 @@ module Phrase
224
233
  remove_screenshot == o.remove_screenshot &&
225
234
  unformatted == o.unformatted &&
226
235
  default_translation_content == o.default_translation_content &&
236
+ autotranslate == o.autotranslate &&
227
237
  xml_space_preserve == o.xml_space_preserve &&
228
238
  original_file == o.original_file &&
229
239
  localized_format_string == o.localized_format_string &&
@@ -240,7 +250,7 @@ module Phrase
240
250
  # Calculates hash code according to all attributes.
241
251
  # @return [Integer] Hash code
242
252
  def hash
243
- [branch, name, description, plural, name_plural, data_type, tags, max_characters_allowed, screenshot, remove_screenshot, unformatted, default_translation_content, xml_space_preserve, original_file, localized_format_string, localized_format_key, custom_metadata].hash
253
+ [branch, name, description, plural, name_plural, data_type, tags, max_characters_allowed, screenshot, remove_screenshot, unformatted, default_translation_content, autotranslate, xml_space_preserve, original_file, localized_format_string, localized_format_key, custom_metadata].hash
244
254
  end
245
255
 
246
256
  # Builds the object from hash
@@ -1,3 +1,3 @@
1
1
  module Phrase
2
- VERSION = '3.6.0'
2
+ VERSION = '3.7.1'
3
3
  end
data/lib/phrase.rb CHANGED
@@ -31,6 +31,7 @@ require 'phrase/models/branch_name'
31
31
  require 'phrase/models/branch_update_parameters'
32
32
  require 'phrase/models/comment'
33
33
  require 'phrase/models/comment_create_parameters'
34
+ require 'phrase/models/comment_create_parameters1'
34
35
  require 'phrase/models/comment_mark_read_parameters'
35
36
  require 'phrase/models/comment_reaction'
36
37
  require 'phrase/models/comment_update_parameters'
@@ -48,10 +48,9 @@ describe 'CommentRepliesApi' do
48
48
  # @param project_id Project ID
49
49
  # @param key_id Translation Key ID
50
50
  # @param comment_id Comment ID
51
+ # @param comment_create_parameters1
51
52
  # @param [Hash] opts the optional parameters
52
53
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
53
- # @option opts [String] :branch specify the branch to use
54
- # @option opts [String] :message specify the message for the comment
55
54
  # @return [Comment]
56
55
  describe 'reply_create test' do
57
56
  it 'should work' do
@@ -28,8 +28,6 @@ describe 'CommentsApi' do
28
28
  # @param comment_create_parameters
29
29
  # @param [Hash] opts the optional parameters
30
30
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
31
- # @option opts [String] :message specify the message for the comment
32
- # @option opts [Array<String>] :locale_ids specify the locales for the comment
33
31
  # @return [Comment]
34
32
  describe 'comment_create test' do
35
33
  it 'should work' do
@@ -43,7 +43,7 @@ describe 'JobCommentsApi' do
43
43
  # @param id ID
44
44
  # @param [Hash] opts the optional parameters
45
45
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
46
- # @option opts [String] :branch specify the branch to use
46
+ # @option opts [String] :branch Branch to use
47
47
  # @return [nil]
48
48
  describe 'job_comment_delete test' do
49
49
  it 'should work' do
@@ -59,7 +59,7 @@ describe 'JobCommentsApi' do
59
59
  # @param id ID
60
60
  # @param [Hash] opts the optional parameters
61
61
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
62
- # @option opts [String] :branch specify the branch to use
62
+ # @option opts [String] :branch Branch to use
63
63
  # @return [JobComment]
64
64
  describe 'job_comment_show test' do
65
65
  it 'should work' do
@@ -90,7 +90,7 @@ describe 'JobCommentsApi' do
90
90
  # @param job_id Job ID
91
91
  # @param [Hash] opts the optional parameters
92
92
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
93
- # @option opts [String] :branch specify the branch to use
93
+ # @option opts [String] :branch Branch to use
94
94
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
95
95
  # @return [Array<JobComment>]
96
96
  describe 'job_comments_list test' do
@@ -60,7 +60,7 @@ describe 'JobLocalesApi' do
60
60
  # @param id ID
61
61
  # @param [Hash] opts the optional parameters
62
62
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
63
- # @option opts [String] :branch specify the branch to use
63
+ # @option opts [String] :branch Branch to use
64
64
  # @return [nil]
65
65
  describe 'job_locale_delete test' do
66
66
  it 'should work' do
@@ -92,7 +92,7 @@ describe 'JobLocalesApi' do
92
92
  # @param id ID
93
93
  # @param [Hash] opts the optional parameters
94
94
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
95
- # @option opts [String] :branch specify the branch to use
95
+ # @option opts [String] :branch Branch to use
96
96
  # @return [JobLocale]
97
97
  describe 'job_locale_show test' do
98
98
  it 'should work' do
@@ -140,7 +140,7 @@ describe 'JobLocalesApi' do
140
140
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
141
141
  # @option opts [Integer] :page Page number
142
142
  # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
143
- # @option opts [String] :branch specify the branch to use
143
+ # @option opts [String] :branch Branch to use
144
144
  # @return [Array<JobLocale>]
145
145
  describe 'job_locales_list test' do
146
146
  it 'should work' do
@@ -0,0 +1,35 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::CommentCreateParameters1
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'CommentCreateParameters1' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::CommentCreateParameters1.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of CommentCreateParameters1' do
19
+ it 'should create an instance of CommentCreateParameters1' do
20
+ expect(@instance).to be_instance_of(Phrase::CommentCreateParameters1)
21
+ end
22
+ end
23
+ describe 'test attribute "message"' do
24
+ it 'should work' do
25
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ end
27
+ end
28
+
29
+ describe 'test attribute "branch"' do
30
+ it 'should work' do
31
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ end
33
+ end
34
+
35
+ end
@@ -20,13 +20,19 @@ describe 'CommentCreateParameters' do
20
20
  expect(@instance).to be_instance_of(Phrase::CommentCreateParameters)
21
21
  end
22
22
  end
23
+ describe 'test attribute "message"' do
24
+ it 'should work' do
25
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ end
27
+ end
28
+
23
29
  describe 'test attribute "branch"' do
24
30
  it 'should work' do
25
31
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
32
  end
27
33
  end
28
34
 
29
- describe 'test attribute "message"' do
35
+ describe 'test attribute "locale_ids"' do
30
36
  it 'should work' do
31
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
38
  end
@@ -26,4 +26,10 @@ describe 'JobCommentCreateParameters' do
26
26
  end
27
27
  end
28
28
 
29
+ describe 'test attribute "branch"' do
30
+ it 'should work' do
31
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ end
33
+ end
34
+
29
35
  end
@@ -26,4 +26,10 @@ describe 'JobCommentUpdateParameters' do
26
26
  end
27
27
  end
28
28
 
29
+ describe 'test attribute "branch"' do
30
+ it 'should work' do
31
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ end
33
+ end
34
+
29
35
  end
@@ -92,6 +92,12 @@ describe 'KeyCreateParameters' do
92
92
  end
93
93
  end
94
94
 
95
+ describe 'test attribute "autotranslate"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
95
101
  describe 'test attribute "xml_space_preserve"' do
96
102
  it 'should work' do
97
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers