phrase 2.3.1 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -3
  3. data/docs/Distribution.md +2 -0
  4. data/docs/DistributionCreateParameters.md +2 -0
  5. data/docs/DistributionUpdateParameters.md +2 -0
  6. data/docs/ICUApi.md +70 -0
  7. data/docs/Icu.md +17 -0
  8. data/docs/IcuSkeletonParameters.md +23 -0
  9. data/docs/Invitation.md +2 -0
  10. data/docs/InvitationCreateParameters.md +2 -0
  11. data/docs/InvitationUpdateParameters.md +2 -0
  12. data/docs/JobLocaleCompleteReviewParameters.md +17 -0
  13. data/docs/JobLocaleUpdateParameters.md +3 -1
  14. data/docs/JobLocalesApi.md +68 -0
  15. data/docs/JobLocalesCreateParameters.md +4 -2
  16. data/docs/Member.md +6 -0
  17. data/docs/Project.md +2 -0
  18. data/docs/ProjectDetails.md +2 -0
  19. data/docs/ProjectLocales.md +2 -0
  20. data/docs/ProjectMemberSpecific.md +27 -0
  21. data/docs/ReleaseCreateParameters.md +2 -0
  22. data/docs/Team1.md +23 -0
  23. data/docs/UserPreview.md +3 -1
  24. data/lib/phrase/api/icu_api.rb +78 -0
  25. data/lib/phrase/api/job_locales_api.rb +86 -0
  26. data/lib/phrase/models/distribution.rb +12 -1
  27. data/lib/phrase/models/distribution_create_parameters.rb +13 -1
  28. data/lib/phrase/models/distribution_update_parameters.rb +13 -1
  29. data/lib/phrase/models/icu.rb +195 -0
  30. data/lib/phrase/models/icu_skeleton_parameters.rb +227 -0
  31. data/lib/phrase/models/invitation.rb +12 -1
  32. data/lib/phrase/models/invitation_create_parameters.rb +13 -1
  33. data/lib/phrase/models/invitation_update_parameters.rb +13 -1
  34. data/lib/phrase/models/job_locale_complete_review_parameters.rb +195 -0
  35. data/lib/phrase/models/job_locale_update_parameters.rb +16 -4
  36. data/lib/phrase/models/job_locales_create_parameters.rb +17 -5
  37. data/lib/phrase/models/member.rb +30 -1
  38. data/lib/phrase/models/project.rb +10 -1
  39. data/lib/phrase/models/project_details.rb +10 -1
  40. data/lib/phrase/models/project_locales.rb +11 -2
  41. data/lib/phrase/models/project_member_specific.rb +239 -0
  42. data/lib/phrase/models/release_create_parameters.rb +13 -1
  43. data/lib/phrase/models/team1.rb +221 -0
  44. data/lib/phrase/models/user_preview.rb +13 -4
  45. data/lib/phrase/response.rb +1 -1
  46. data/lib/phrase/version.rb +1 -1
  47. data/lib/phrase.rb +6 -0
  48. data/phrase.gemspec +2 -2
  49. data/spec/api/icu_api_spec.rb +36 -0
  50. data/spec/api/job_locales_api_spec.rb +16 -0
  51. data/spec/models/distribution_create_parameters_spec.rb +6 -0
  52. data/spec/models/distribution_spec.rb +6 -0
  53. data/spec/models/distribution_update_parameters_spec.rb +6 -0
  54. data/spec/models/icu_skeleton_parameters_spec.rb +47 -0
  55. data/spec/models/icu_spec.rb +29 -0
  56. data/spec/models/invitation_create_parameters_spec.rb +6 -0
  57. data/spec/models/invitation_spec.rb +6 -0
  58. data/spec/models/invitation_update_parameters_spec.rb +6 -0
  59. data/spec/models/job_locale_complete_review_parameters_spec.rb +29 -0
  60. data/spec/models/job_locale_update_parameters_spec.rb +6 -0
  61. data/spec/models/job_locales_create_parameters_spec.rb +6 -0
  62. data/spec/models/member_spec.rb +18 -0
  63. data/spec/models/project_details_spec.rb +6 -0
  64. data/spec/models/project_locales_spec.rb +6 -0
  65. data/spec/models/project_member_specific_spec.rb +59 -0
  66. data/spec/models/project_spec.rb +6 -0
  67. data/spec/models/release_create_parameters_spec.rb +6 -0
  68. data/spec/models/team1_spec.rb +47 -0
  69. data/spec/models/user_preview_spec.rb +6 -0
  70. metadata +221 -197
@@ -0,0 +1,221 @@
1
+ require 'date'
2
+
3
+ module Phrase
4
+ class Team1
5
+ attr_accessor :id
6
+
7
+ attr_accessor :name
8
+
9
+ attr_accessor :created_at
10
+
11
+ attr_accessor :updated_at
12
+
13
+ # Attribute mapping from ruby-style variable name to JSON key.
14
+ def self.attribute_map
15
+ {
16
+ :'id' => :'id',
17
+ :'name' => :'name',
18
+ :'created_at' => :'created_at',
19
+ :'updated_at' => :'updated_at'
20
+ }
21
+ end
22
+
23
+ # Attribute type mapping.
24
+ def self.openapi_types
25
+ {
26
+ :'id' => :'String',
27
+ :'name' => :'String',
28
+ :'created_at' => :'DateTime',
29
+ :'updated_at' => :'DateTime'
30
+ }
31
+ end
32
+
33
+ # List of attributes with nullable: true
34
+ def self.openapi_nullable
35
+ Set.new([
36
+ ])
37
+ end
38
+
39
+ # Initializes the object
40
+ # @param [Hash] attributes Model attributes in the form of hash
41
+ def initialize(attributes = {})
42
+ if (!attributes.is_a?(Hash))
43
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::Team1` initialize method"
44
+ end
45
+
46
+ # check to see if the attribute exists and convert string to symbol for hash key
47
+ attributes = attributes.each_with_object({}) { |(k, v), h|
48
+ if (!self.class.attribute_map.key?(k.to_sym))
49
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::Team1`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
50
+ end
51
+ h[k.to_sym] = v
52
+ }
53
+
54
+ if attributes.key?(:'id')
55
+ self.id = attributes[:'id']
56
+ end
57
+
58
+ if attributes.key?(:'name')
59
+ self.name = attributes[:'name']
60
+ end
61
+
62
+ if attributes.key?(:'created_at')
63
+ self.created_at = attributes[:'created_at']
64
+ end
65
+
66
+ if attributes.key?(:'updated_at')
67
+ self.updated_at = attributes[:'updated_at']
68
+ end
69
+ end
70
+
71
+ # Show invalid properties with the reasons. Usually used together with valid?
72
+ # @return Array for valid properties with the reasons
73
+ def list_invalid_properties
74
+ invalid_properties = Array.new
75
+ invalid_properties
76
+ end
77
+
78
+ # Check to see if the all the properties in the model are valid
79
+ # @return true if the model is valid
80
+ def valid?
81
+ true
82
+ end
83
+
84
+ # Checks equality by comparing each attribute.
85
+ # @param [Object] Object to be compared
86
+ def ==(o)
87
+ return true if self.equal?(o)
88
+ self.class == o.class &&
89
+ id == o.id &&
90
+ name == o.name &&
91
+ created_at == o.created_at &&
92
+ updated_at == o.updated_at
93
+ end
94
+
95
+ # @see the `==` method
96
+ # @param [Object] Object to be compared
97
+ def eql?(o)
98
+ self == o
99
+ end
100
+
101
+ # Calculates hash code according to all attributes.
102
+ # @return [Integer] Hash code
103
+ def hash
104
+ [id, name, created_at, updated_at].hash
105
+ end
106
+
107
+ # Builds the object from hash
108
+ # @param [Hash] attributes Model attributes in the form of hash
109
+ # @return [Object] Returns the model itself
110
+ def self.build_from_hash(attributes)
111
+ new.build_from_hash(attributes)
112
+ end
113
+
114
+ # Builds the object from hash
115
+ # @param [Hash] attributes Model attributes in the form of hash
116
+ # @return [Object] Returns the model itself
117
+ def build_from_hash(attributes)
118
+ return nil unless attributes.is_a?(Hash)
119
+ self.class.openapi_types.each_pair do |key, type|
120
+ if type =~ /\AArray<(.*)>/i
121
+ # check to ensure the input is an array given that the attribute
122
+ # is documented as an array but the input is not
123
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
124
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
125
+ end
126
+ elsif !attributes[self.class.attribute_map[key]].nil?
127
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
128
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
129
+ end
130
+
131
+ self
132
+ end
133
+
134
+ # Deserializes the data based on type
135
+ # @param string type Data type
136
+ # @param string value Value to be deserialized
137
+ # @return [Object] Deserialized data
138
+ def _deserialize(type, value)
139
+ case type.to_sym
140
+ when :DateTime
141
+ DateTime.parse(value)
142
+ when :Date
143
+ Date.parse(value)
144
+ when :String
145
+ value.to_s
146
+ when :Integer
147
+ value.to_i
148
+ when :Float
149
+ value.to_f
150
+ when :Boolean
151
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
152
+ true
153
+ else
154
+ false
155
+ end
156
+ when :Object
157
+ # generic object (usually a Hash), return directly
158
+ value
159
+ when /\AArray<(?<inner_type>.+)>\z/
160
+ inner_type = Regexp.last_match[:inner_type]
161
+ value.map { |v| _deserialize(inner_type, v) }
162
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
163
+ k_type = Regexp.last_match[:k_type]
164
+ v_type = Regexp.last_match[:v_type]
165
+ {}.tap do |hash|
166
+ value.each do |k, v|
167
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
168
+ end
169
+ end
170
+ else # model
171
+ Phrase.const_get(type).build_from_hash(value)
172
+ end
173
+ end
174
+
175
+ # Returns the string representation of the object
176
+ # @return [String] String presentation of the object
177
+ def to_s
178
+ to_hash.to_s
179
+ end
180
+
181
+ # to_body is an alias to to_hash (backward compatibility)
182
+ # @return [Hash] Returns the object in the form of hash
183
+ def to_body
184
+ to_hash
185
+ end
186
+
187
+ # Returns the object in the form of hash
188
+ # @return [Hash] Returns the object in the form of hash
189
+ def to_hash
190
+ hash = {}
191
+ self.class.attribute_map.each_pair do |attr, param|
192
+ value = self.send(attr)
193
+ if value.nil?
194
+ is_nullable = self.class.openapi_nullable.include?(attr)
195
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
196
+ end
197
+
198
+ hash[param] = _to_hash(value)
199
+ end
200
+ hash
201
+ end
202
+
203
+ # Outputs non-array value in the form of hash
204
+ # For object, use to_hash. Otherwise, just return the value
205
+ # @param [Object] value Any valid value
206
+ # @return [Hash] Returns the value in the form of hash
207
+ def _to_hash(value)
208
+ if value.is_a?(Array)
209
+ value.compact.map { |v| _to_hash(v) }
210
+ elsif value.is_a?(Hash)
211
+ {}.tap do |hash|
212
+ value.each { |k, v| hash[k] = _to_hash(v) }
213
+ end
214
+ elsif value.respond_to? :to_hash
215
+ value.to_hash
216
+ else
217
+ value
218
+ end
219
+ end
220
+ end
221
+ end
@@ -8,12 +8,15 @@ module Phrase
8
8
 
9
9
  attr_accessor :name
10
10
 
11
+ attr_accessor :gravatar_uid
12
+
11
13
  # Attribute mapping from ruby-style variable name to JSON key.
12
14
  def self.attribute_map
13
15
  {
14
16
  :'id' => :'id',
15
17
  :'username' => :'username',
16
- :'name' => :'name'
18
+ :'name' => :'name',
19
+ :'gravatar_uid' => :'gravatar_uid'
17
20
  }
18
21
  end
19
22
 
@@ -22,7 +25,8 @@ module Phrase
22
25
  {
23
26
  :'id' => :'String',
24
27
  :'username' => :'String',
25
- :'name' => :'String'
28
+ :'name' => :'String',
29
+ :'gravatar_uid' => :'String'
26
30
  }
27
31
  end
28
32
 
@@ -58,6 +62,10 @@ module Phrase
58
62
  if attributes.key?(:'name')
59
63
  self.name = attributes[:'name']
60
64
  end
65
+
66
+ if attributes.key?(:'gravatar_uid')
67
+ self.gravatar_uid = attributes[:'gravatar_uid']
68
+ end
61
69
  end
62
70
 
63
71
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -80,7 +88,8 @@ module Phrase
80
88
  self.class == o.class &&
81
89
  id == o.id &&
82
90
  username == o.username &&
83
- name == o.name
91
+ name == o.name &&
92
+ gravatar_uid == o.gravatar_uid
84
93
  end
85
94
 
86
95
  # @see the `==` method
@@ -92,7 +101,7 @@ module Phrase
92
101
  # Calculates hash code according to all attributes.
93
102
  # @return [Integer] Hash code
94
103
  def hash
95
- [id, username, name].hash
104
+ [id, username, name, gravatar_uid].hash
96
105
  end
97
106
 
98
107
  # Builds the object from hash
@@ -10,7 +10,7 @@ module Phrase
10
10
  link_headers = headers["link"]
11
11
  if link_headers
12
12
  @paginated = true
13
- parsed_links = LinkHeaderParser.parse(link_headers, base: 'https://api.phrase.com').by_relation_type
13
+ parsed_links = LinkHeaderParser.parse(link_headers, base: 'https://api.phrase.com').group_by_relation_type
14
14
  next_page_link = parsed_links[:next]&.first
15
15
  if next_page_link
16
16
  @next_page = CGI.parse(URI.parse(next_page_link.target_uri).query)["page"]&.first&.to_i
@@ -1,3 +1,3 @@
1
1
  module Phrase
2
- VERSION = '2.3.1'
2
+ VERSION = '2.6.0'
3
3
  end
data/lib/phrase.rb CHANGED
@@ -58,6 +58,8 @@ require 'phrase/models/glossary_term_translation_create_parameters'
58
58
  require 'phrase/models/glossary_term_translation_update_parameters'
59
59
  require 'phrase/models/glossary_term_update_parameters'
60
60
  require 'phrase/models/glossary_update_parameters'
61
+ require 'phrase/models/icu'
62
+ require 'phrase/models/icu_skeleton_parameters'
61
63
  require 'phrase/models/inline_response422'
62
64
  require 'phrase/models/inline_response422_errors'
63
65
  require 'phrase/models/invitation'
@@ -72,6 +74,7 @@ require 'phrase/models/job_details1'
72
74
  require 'phrase/models/job_keys_create_parameters'
73
75
  require 'phrase/models/job_locale'
74
76
  require 'phrase/models/job_locale_complete_parameters'
77
+ require 'phrase/models/job_locale_complete_review_parameters'
75
78
  require 'phrase/models/job_locale_reopen_parameters'
76
79
  require 'phrase/models/job_locale_update_parameters'
77
80
  require 'phrase/models/job_locales_create_parameters'
@@ -120,6 +123,7 @@ require 'phrase/models/project_details'
120
123
  require 'phrase/models/project_details1'
121
124
  require 'phrase/models/project_locales'
122
125
  require 'phrase/models/project_locales1'
126
+ require 'phrase/models/project_member_specific'
123
127
  require 'phrase/models/project_short'
124
128
  require 'phrase/models/project_update_parameters'
125
129
  require 'phrase/models/release'
@@ -152,6 +156,7 @@ require 'phrase/models/tag_with_stats1'
152
156
  require 'phrase/models/tag_with_stats1_statistics'
153
157
  require 'phrase/models/tag_with_stats1_statistics1'
154
158
  require 'phrase/models/team'
159
+ require 'phrase/models/team1'
155
160
  require 'phrase/models/team_create_parameters'
156
161
  require 'phrase/models/team_detail'
157
162
  require 'phrase/models/team_update_parameters'
@@ -208,6 +213,7 @@ require 'phrase/api/git_lab_sync_api'
208
213
  require 'phrase/api/glossaries_api'
209
214
  require 'phrase/api/glossary_term_translations_api'
210
215
  require 'phrase/api/glossary_terms_api'
216
+ require 'phrase/api/icu_api'
211
217
  require 'phrase/api/invitations_api'
212
218
  require 'phrase/api/job_locales_api'
213
219
  require 'phrase/api/job_template_locales_api'
data/phrase.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.summary = "You can collaborate on language file translation with your team or order translations through our platform. The API allows you to import locale files, download locale files, tag keys or interact in other ways with the localization data stored in Phrase for your account."
14
14
  s.description = "Phrase is a translation management platform for software projects."
15
15
  s.license = 'MIT'
16
- s.required_ruby_version = ">= 1.9"
16
+ s.required_ruby_version = ">= 2.6.0"
17
17
 
18
18
  s.metadata = {
19
19
  "bug_tracker_uri" => "https://github.com/phrase/phrase-ruby/issues",
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
 
23
23
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
24
24
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
25
- s.add_runtime_dependency 'link-header-parser', '~>1.0'
25
+ s.add_runtime_dependency 'link-header-parser', '~> 4.0'
26
26
 
27
27
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
28
28
 
@@ -0,0 +1,36 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ # Unit tests for Phrase::ICUApi
5
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
6
+ # Please update as you see appropriate
7
+ describe 'ICUApi' do
8
+ before do
9
+ # run before each test
10
+ @api_instance = Phrase::ICUApi.new
11
+ end
12
+
13
+ after do
14
+ # run after each test
15
+ end
16
+
17
+ describe 'test an instance of ICUApi' do
18
+ it 'should create an instance of ICUApi' do
19
+ expect(@api_instance).to be_instance_of(Phrase::ICUApi)
20
+ end
21
+ end
22
+
23
+ # unit tests for icu_skeleton
24
+ # Build icu skeletons
25
+ # Returns icu skeletons for multiple locale codes based on a source content.
26
+ # @param icu_skeleton_parameters
27
+ # @param [Hash] opts the optional parameters
28
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
29
+ # @return [Icu]
30
+ describe 'icu_skeleton test' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
33
+ end
34
+ end
35
+
36
+ end
@@ -36,6 +36,22 @@ describe 'JobLocalesApi' do
36
36
  end
37
37
  end
38
38
 
39
+ # unit tests for job_locale_complete_review
40
+ # Review a job locale
41
+ # Mark job locale as reviewed.
42
+ # @param project_id Project ID
43
+ # @param job_id Job ID
44
+ # @param id ID
45
+ # @param job_locale_complete_review_parameters
46
+ # @param [Hash] opts the optional parameters
47
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
48
+ # @return [JobLocale]
49
+ describe 'job_locale_complete_review test' do
50
+ it 'should work' do
51
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
52
+ end
53
+ end
54
+
39
55
  # unit tests for job_locale_delete
40
56
  # Delete a job locale
41
57
  # Delete an existing job locale.
@@ -38,6 +38,12 @@ describe 'DistributionCreateParameters' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "locale_ids"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  describe 'test attribute "format_options"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'Distribution' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "locales"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "releases"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,6 +38,12 @@ describe 'DistributionUpdateParameters' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "locale_ids"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  describe 'test attribute "format_options"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,47 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::IcuSkeletonParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'IcuSkeletonParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::IcuSkeletonParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of IcuSkeletonParameters' do
19
+ it 'should create an instance of IcuSkeletonParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::IcuSkeletonParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "content"' 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 "locale_codes"' 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
+ describe 'test attribute "keep_content"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "zero_form_enabled"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::Icu
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'Icu' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::Icu.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of Icu' do
19
+ it 'should create an instance of Icu' do
20
+ expect(@instance).to be_instance_of(Phrase::Icu)
21
+ end
22
+ end
23
+ describe 'test attribute "locale_code"' 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
+ end
@@ -50,6 +50,12 @@ describe 'InvitationCreateParameters' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "team_ids"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  describe 'test attribute "default_locale_codes"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -98,6 +98,12 @@ describe 'Invitation' do
98
98
  end
99
99
  end
100
100
 
101
+ describe 'test attribute "teams"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
101
107
  describe 'test attribute "project_role"' do
102
108
  it 'should work' do
103
109
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'InvitationUpdateParameters' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "team_ids"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "default_locale_codes"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::JobLocaleCompleteReviewParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'JobLocaleCompleteReviewParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::JobLocaleCompleteReviewParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of JobLocaleCompleteReviewParameters' do
19
+ it 'should create an instance of JobLocaleCompleteReviewParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::JobLocaleCompleteReviewParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "branch"' 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
+ end
@@ -38,4 +38,10 @@ describe 'JobLocaleUpdateParameters' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "reviewer_ids"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  end
@@ -38,4 +38,10 @@ describe 'JobLocalesCreateParameters' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "reviewer_ids"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  end
@@ -38,6 +38,18 @@ describe 'Member' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "created_at"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "last_activity_at"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
41
53
  describe 'test attribute "role"' do
42
54
  it 'should work' do
43
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,6 +74,12 @@ describe 'Member' do
62
74
  end
63
75
  end
64
76
 
77
+ describe 'test attribute "teams"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
65
83
  describe 'test attribute "spaces"' do
66
84
  it 'should work' do
67
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,6 +62,12 @@ describe 'ProjectDetails' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "point_of_contact"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
65
71
  describe 'test attribute "created_at"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers