ragie_ruby_sdk 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c6ebb33f969cdda8bede5a2a03f146f59a212aef57ebd80e83ee2e2bf5bb103
4
- data.tar.gz: aed0edbe06f163f6b4332a8a9d3e6b20a6d0426f3be38f1c9322425dcb9dfa37
3
+ metadata.gz: 870e904f43a6746ec80aecdf350316763ffe38f0180d98167099e46809b118d2
4
+ data.tar.gz: 03c2f40f6fee3add0a7a9f9a562318c257cccd5166dcdb6a13c1af5320858348
5
5
  SHA512:
6
- metadata.gz: e596672386421b84c5e43d941c4bb50c2efc66e06411a294d559a77c7bf3d5a2f2732b23bad67e6fb84baffd3388e2927c768f619f42b86d9b5e4246f84bc885
7
- data.tar.gz: c6dccf54a6854c059e240c6f936e2079be1e88689e0cc1950f6aa71cb05b42d65623e2c663d7f7c7049010308f6d8cc1342e62b049bd2b6c2732bea0a17a7c1c
6
+ metadata.gz: 4c98dd6eb041ae77d6074a08274c7c06537fb9b09f4b3b2076d7ca4cc0e1c51d41112f34e4964ec189baee424259ded47115dc500608c052690e3d85054fdc68
7
+ data.tar.gz: 12c6da57b2ffd2c8542341e18fb7e3159f7d4477c8dd588d43225cd2f328dc3c95e2acb3c5f514f85e02d8fdc85718b91dc7db507eb2f1f7db51d0db8e9bcaed
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0.0
10
- - Package version: 1.0.9
10
+ - Package version: 1.0.10
11
11
  - Generator version: 7.16.0-SNAPSHOT
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
 
@@ -24,16 +24,16 @@ gem build ragie_ruby_sdk.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ragie_ruby_sdk-1.0.9.gem
27
+ gem install ./ragie_ruby_sdk-1.0.10.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ragie_ruby_sdk-1.0.9.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ragie_ruby_sdk-1.0.10.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ragie_ruby_sdk', '~> 1.0.9'
36
+ gem 'ragie_ruby_sdk', '~> 1.0.10'
37
37
 
38
38
  ### Install from Git
39
39
 
data/docs/IntercomData.md CHANGED
@@ -4,12 +4,16 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **admins** | **Boolean** | | |
8
- | **tickets** | **Boolean** | | |
9
- | **contacts** | **Boolean** | | |
10
- | **ticket_attachments** | **Boolean** | | |
11
- | **ticket_comments** | **Boolean** | | |
12
- | **ticket_notes** | **Boolean** | | |
7
+ | **articles_help_center** | **Boolean** | | [optional][default to false] |
8
+ | **admins** | **Boolean** | | [optional][default to false] |
9
+ | **contacts** | **Boolean** | | [optional][default to false] |
10
+ | **conversations** | **Boolean** | | [optional][default to false] |
11
+ | **conversation_attachments** | **Boolean** | | [optional][default to false] |
12
+ | **conversation_notes** | **Boolean** | | [optional][default to false] |
13
+ | **tickets** | **Boolean** | | [optional][default to false] |
14
+ | **ticket_attachments** | **Boolean** | | [optional][default to false] |
15
+ | **ticket_comments** | **Boolean** | | [optional][default to false] |
16
+ | **ticket_notes** | **Boolean** | | [optional][default to false] |
13
17
 
14
18
  ## Example
15
19
 
@@ -17,9 +21,13 @@
17
21
  require 'ragie_ruby_sdk'
18
22
 
19
23
  instance = RagieRubySdk::IntercomData.new(
24
+ articles_help_center: null,
20
25
  admins: null,
21
- tickets: null,
22
26
  contacts: null,
27
+ conversations: null,
28
+ conversation_attachments: null,
29
+ conversation_notes: null,
30
+ tickets: null,
23
31
  ticket_attachments: null,
24
32
  ticket_comments: null,
25
33
  ticket_notes: null
@@ -15,12 +15,20 @@ require 'time'
15
15
 
16
16
  module RagieRubySdk
17
17
  class IntercomData
18
- attr_accessor :admins
18
+ attr_accessor :articles_help_center
19
19
 
20
- attr_accessor :tickets
20
+ attr_accessor :admins
21
21
 
22
22
  attr_accessor :contacts
23
23
 
24
+ attr_accessor :conversations
25
+
26
+ attr_accessor :conversation_attachments
27
+
28
+ attr_accessor :conversation_notes
29
+
30
+ attr_accessor :tickets
31
+
24
32
  attr_accessor :ticket_attachments
25
33
 
26
34
  attr_accessor :ticket_comments
@@ -30,9 +38,13 @@ module RagieRubySdk
30
38
  # Attribute mapping from ruby-style variable name to JSON key.
31
39
  def self.attribute_map
32
40
  {
41
+ :'articles_help_center' => :'articles_help_center',
33
42
  :'admins' => :'admins',
34
- :'tickets' => :'tickets',
35
43
  :'contacts' => :'contacts',
44
+ :'conversations' => :'conversations',
45
+ :'conversation_attachments' => :'conversation_attachments',
46
+ :'conversation_notes' => :'conversation_notes',
47
+ :'tickets' => :'tickets',
36
48
  :'ticket_attachments' => :'ticket_attachments',
37
49
  :'ticket_comments' => :'ticket_comments',
38
50
  :'ticket_notes' => :'ticket_notes'
@@ -52,9 +64,13 @@ module RagieRubySdk
52
64
  # Attribute type mapping.
53
65
  def self.openapi_types
54
66
  {
67
+ :'articles_help_center' => :'Boolean',
55
68
  :'admins' => :'Boolean',
56
- :'tickets' => :'Boolean',
57
69
  :'contacts' => :'Boolean',
70
+ :'conversations' => :'Boolean',
71
+ :'conversation_attachments' => :'Boolean',
72
+ :'conversation_notes' => :'Boolean',
73
+ :'tickets' => :'Boolean',
58
74
  :'ticket_attachments' => :'Boolean',
59
75
  :'ticket_comments' => :'Boolean',
60
76
  :'ticket_notes' => :'Boolean'
@@ -83,40 +99,64 @@ module RagieRubySdk
83
99
  h[k.to_sym] = v
84
100
  }
85
101
 
86
- if attributes.key?(:'admins')
87
- self.admins = attributes[:'admins']
102
+ if attributes.key?(:'articles_help_center')
103
+ self.articles_help_center = attributes[:'articles_help_center']
88
104
  else
89
- self.admins = nil
105
+ self.articles_help_center = false
90
106
  end
91
107
 
92
- if attributes.key?(:'tickets')
93
- self.tickets = attributes[:'tickets']
108
+ if attributes.key?(:'admins')
109
+ self.admins = attributes[:'admins']
94
110
  else
95
- self.tickets = nil
111
+ self.admins = false
96
112
  end
97
113
 
98
114
  if attributes.key?(:'contacts')
99
115
  self.contacts = attributes[:'contacts']
100
116
  else
101
- self.contacts = nil
117
+ self.contacts = false
118
+ end
119
+
120
+ if attributes.key?(:'conversations')
121
+ self.conversations = attributes[:'conversations']
122
+ else
123
+ self.conversations = false
124
+ end
125
+
126
+ if attributes.key?(:'conversation_attachments')
127
+ self.conversation_attachments = attributes[:'conversation_attachments']
128
+ else
129
+ self.conversation_attachments = false
130
+ end
131
+
132
+ if attributes.key?(:'conversation_notes')
133
+ self.conversation_notes = attributes[:'conversation_notes']
134
+ else
135
+ self.conversation_notes = false
136
+ end
137
+
138
+ if attributes.key?(:'tickets')
139
+ self.tickets = attributes[:'tickets']
140
+ else
141
+ self.tickets = false
102
142
  end
103
143
 
104
144
  if attributes.key?(:'ticket_attachments')
105
145
  self.ticket_attachments = attributes[:'ticket_attachments']
106
146
  else
107
- self.ticket_attachments = nil
147
+ self.ticket_attachments = false
108
148
  end
109
149
 
110
150
  if attributes.key?(:'ticket_comments')
111
151
  self.ticket_comments = attributes[:'ticket_comments']
112
152
  else
113
- self.ticket_comments = nil
153
+ self.ticket_comments = false
114
154
  end
115
155
 
116
156
  if attributes.key?(:'ticket_notes')
117
157
  self.ticket_notes = attributes[:'ticket_notes']
118
158
  else
119
- self.ticket_notes = nil
159
+ self.ticket_notes = false
120
160
  end
121
161
  end
122
162
 
@@ -125,30 +165,6 @@ module RagieRubySdk
125
165
  def list_invalid_properties
126
166
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
127
167
  invalid_properties = Array.new
128
- if @admins.nil?
129
- invalid_properties.push('invalid value for "admins", admins cannot be nil.')
130
- end
131
-
132
- if @tickets.nil?
133
- invalid_properties.push('invalid value for "tickets", tickets cannot be nil.')
134
- end
135
-
136
- if @contacts.nil?
137
- invalid_properties.push('invalid value for "contacts", contacts cannot be nil.')
138
- end
139
-
140
- if @ticket_attachments.nil?
141
- invalid_properties.push('invalid value for "ticket_attachments", ticket_attachments cannot be nil.')
142
- end
143
-
144
- if @ticket_comments.nil?
145
- invalid_properties.push('invalid value for "ticket_comments", ticket_comments cannot be nil.')
146
- end
147
-
148
- if @ticket_notes.nil?
149
- invalid_properties.push('invalid value for "ticket_notes", ticket_notes cannot be nil.')
150
- end
151
-
152
168
  invalid_properties
153
169
  end
154
170
 
@@ -156,83 +172,21 @@ module RagieRubySdk
156
172
  # @return true if the model is valid
157
173
  def valid?
158
174
  warn '[DEPRECATED] the `valid?` method is obsolete'
159
- return false if @admins.nil?
160
- return false if @tickets.nil?
161
- return false if @contacts.nil?
162
- return false if @ticket_attachments.nil?
163
- return false if @ticket_comments.nil?
164
- return false if @ticket_notes.nil?
165
175
  true
166
176
  end
167
177
 
168
- # Custom attribute writer method with validation
169
- # @param [Object] admins Value to be assigned
170
- def admins=(admins)
171
- if admins.nil?
172
- fail ArgumentError, 'admins cannot be nil'
173
- end
174
-
175
- @admins = admins
176
- end
177
-
178
- # Custom attribute writer method with validation
179
- # @param [Object] tickets Value to be assigned
180
- def tickets=(tickets)
181
- if tickets.nil?
182
- fail ArgumentError, 'tickets cannot be nil'
183
- end
184
-
185
- @tickets = tickets
186
- end
187
-
188
- # Custom attribute writer method with validation
189
- # @param [Object] contacts Value to be assigned
190
- def contacts=(contacts)
191
- if contacts.nil?
192
- fail ArgumentError, 'contacts cannot be nil'
193
- end
194
-
195
- @contacts = contacts
196
- end
197
-
198
- # Custom attribute writer method with validation
199
- # @param [Object] ticket_attachments Value to be assigned
200
- def ticket_attachments=(ticket_attachments)
201
- if ticket_attachments.nil?
202
- fail ArgumentError, 'ticket_attachments cannot be nil'
203
- end
204
-
205
- @ticket_attachments = ticket_attachments
206
- end
207
-
208
- # Custom attribute writer method with validation
209
- # @param [Object] ticket_comments Value to be assigned
210
- def ticket_comments=(ticket_comments)
211
- if ticket_comments.nil?
212
- fail ArgumentError, 'ticket_comments cannot be nil'
213
- end
214
-
215
- @ticket_comments = ticket_comments
216
- end
217
-
218
- # Custom attribute writer method with validation
219
- # @param [Object] ticket_notes Value to be assigned
220
- def ticket_notes=(ticket_notes)
221
- if ticket_notes.nil?
222
- fail ArgumentError, 'ticket_notes cannot be nil'
223
- end
224
-
225
- @ticket_notes = ticket_notes
226
- end
227
-
228
178
  # Checks equality by comparing each attribute.
229
179
  # @param [Object] Object to be compared
230
180
  def ==(o)
231
181
  return true if self.equal?(o)
232
182
  self.class == o.class &&
183
+ articles_help_center == o.articles_help_center &&
233
184
  admins == o.admins &&
234
- tickets == o.tickets &&
235
185
  contacts == o.contacts &&
186
+ conversations == o.conversations &&
187
+ conversation_attachments == o.conversation_attachments &&
188
+ conversation_notes == o.conversation_notes &&
189
+ tickets == o.tickets &&
236
190
  ticket_attachments == o.ticket_attachments &&
237
191
  ticket_comments == o.ticket_comments &&
238
192
  ticket_notes == o.ticket_notes
@@ -247,7 +201,7 @@ module RagieRubySdk
247
201
  # Calculates hash code according to all attributes.
248
202
  # @return [Integer] Hash code
249
203
  def hash
250
- [admins, tickets, contacts, ticket_attachments, ticket_comments, ticket_notes].hash
204
+ [articles_help_center, admins, contacts, conversations, conversation_attachments, conversation_notes, tickets, ticket_attachments, ticket_comments, ticket_notes].hash
251
205
  end
252
206
 
253
207
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.16.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module RagieRubySdk
14
- VERSION = '1.0.10'
14
+ VERSION = '1.0.11'
15
15
  end
@@ -27,13 +27,13 @@ describe RagieRubySdk::IntercomData do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "admins"' do
30
+ describe 'test attribute "articles_help_center"' do
31
31
  it 'should work' do
32
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
33
  end
34
34
  end
35
35
 
36
- describe 'test attribute "tickets"' do
36
+ describe 'test attribute "admins"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
39
  end
@@ -45,6 +45,30 @@ describe RagieRubySdk::IntercomData do
45
45
  end
46
46
  end
47
47
 
48
+ describe 'test attribute "conversations"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "conversation_attachments"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "conversation_notes"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "tickets"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
48
72
  describe 'test attribute "ticket_attachments"' do
49
73
  it 'should work' do
50
74
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ragie_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator