files.com 1.0.225 → 1.0.229

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. data/docs/action_notification_export_result.md +1 -1
  4. data/docs/api_key.md +7 -7
  5. data/docs/app.md +8 -8
  6. data/docs/as2_key.md +1 -1
  7. data/docs/automation.md +7 -7
  8. data/docs/automation_run.md +7 -7
  9. data/docs/bandwidth_snapshot.md +7 -7
  10. data/docs/behavior.md +21 -16
  11. data/docs/bundle.md +25 -9
  12. data/docs/bundle_download.md +7 -7
  13. data/docs/bundle_recipient.md +7 -7
  14. data/docs/bundle_registration.md +2 -2
  15. data/docs/clickwrap.md +1 -1
  16. data/docs/dns_record.md +1 -1
  17. data/docs/external_event.md +7 -7
  18. data/docs/file_comment.md +1 -1
  19. data/docs/form_field_set.md +1 -1
  20. data/docs/group.md +7 -7
  21. data/docs/group_user.md +1 -1
  22. data/docs/history.md +11 -11
  23. data/docs/history_export_result.md +1 -1
  24. data/docs/inbox_recipient.md +7 -7
  25. data/docs/inbox_registration.md +2 -2
  26. data/docs/inbox_upload.md +7 -7
  27. data/docs/invoice.md +1 -1
  28. data/docs/ip_address.md +2 -2
  29. data/docs/lock.md +1 -1
  30. data/docs/message.md +1 -1
  31. data/docs/message_comment.md +1 -1
  32. data/docs/message_comment_reaction.md +1 -1
  33. data/docs/message_reaction.md +1 -1
  34. data/docs/notification.md +7 -7
  35. data/docs/payment.md +1 -1
  36. data/docs/permission.md +7 -7
  37. data/docs/priority.md +1 -1
  38. data/docs/project.md +1 -1
  39. data/docs/public_key.md +1 -1
  40. data/docs/remote_server.md +1 -1
  41. data/docs/request.md +2 -2
  42. data/docs/settings_change.md +11 -7
  43. data/docs/sso_strategy.md +1 -1
  44. data/docs/sync_job.md +1 -1
  45. data/docs/usage_daily_snapshot.md +7 -7
  46. data/docs/usage_snapshot.md +1 -1
  47. data/docs/user.md +7 -7
  48. data/docs/user_cipher_use.md +1 -1
  49. data/docs/user_request.md +1 -1
  50. data/lib/files.com/models/action_notification_export_result.rb +1 -1
  51. data/lib/files.com/models/api_key.rb +7 -7
  52. data/lib/files.com/models/app.rb +8 -8
  53. data/lib/files.com/models/as2_key.rb +1 -1
  54. data/lib/files.com/models/automation.rb +7 -7
  55. data/lib/files.com/models/automation_run.rb +7 -7
  56. data/lib/files.com/models/bandwidth_snapshot.rb +7 -7
  57. data/lib/files.com/models/behavior.rb +27 -15
  58. data/lib/files.com/models/bundle.rb +48 -7
  59. data/lib/files.com/models/bundle_download.rb +7 -7
  60. data/lib/files.com/models/bundle_recipient.rb +7 -7
  61. data/lib/files.com/models/bundle_registration.rb +2 -2
  62. data/lib/files.com/models/clickwrap.rb +1 -1
  63. data/lib/files.com/models/dns_record.rb +1 -1
  64. data/lib/files.com/models/external_event.rb +7 -7
  65. data/lib/files.com/models/file_comment.rb +1 -1
  66. data/lib/files.com/models/form_field_set.rb +1 -1
  67. data/lib/files.com/models/group.rb +7 -7
  68. data/lib/files.com/models/group_user.rb +1 -1
  69. data/lib/files.com/models/history.rb +11 -11
  70. data/lib/files.com/models/history_export_result.rb +1 -1
  71. data/lib/files.com/models/inbox_recipient.rb +7 -7
  72. data/lib/files.com/models/inbox_registration.rb +2 -2
  73. data/lib/files.com/models/inbox_upload.rb +7 -7
  74. data/lib/files.com/models/invoice.rb +1 -1
  75. data/lib/files.com/models/ip_address.rb +2 -2
  76. data/lib/files.com/models/lock.rb +1 -1
  77. data/lib/files.com/models/message.rb +1 -1
  78. data/lib/files.com/models/message_comment.rb +1 -1
  79. data/lib/files.com/models/message_comment_reaction.rb +1 -1
  80. data/lib/files.com/models/message_reaction.rb +1 -1
  81. data/lib/files.com/models/notification.rb +7 -7
  82. data/lib/files.com/models/payment.rb +1 -1
  83. data/lib/files.com/models/permission.rb +7 -7
  84. data/lib/files.com/models/priority.rb +1 -1
  85. data/lib/files.com/models/project.rb +1 -1
  86. data/lib/files.com/models/public_key.rb +1 -1
  87. data/lib/files.com/models/remote_server.rb +1 -1
  88. data/lib/files.com/models/request.rb +2 -2
  89. data/lib/files.com/models/settings_change.rb +12 -7
  90. data/lib/files.com/models/sso_strategy.rb +1 -1
  91. data/lib/files.com/models/sync_job.rb +1 -1
  92. data/lib/files.com/models/usage_daily_snapshot.rb +7 -7
  93. data/lib/files.com/models/usage_snapshot.rb +1 -1
  94. data/lib/files.com/models/user.rb +7 -7
  95. data/lib/files.com/models/user_cipher_use.rb +1 -1
  96. data/lib/files.com/models/user_request.rb +1 -1
  97. metadata +2 -2
@@ -81,6 +81,15 @@ module Files
81
81
  @attributes[:attachment_file] = value
82
82
  end
83
83
 
84
+ # boolean - If true, will delete the file stored in attachment
85
+ def attachment_delete
86
+ @attributes[:attachment_delete]
87
+ end
88
+
89
+ def attachment_delete=(value)
90
+ @attributes[:attachment_delete] = value
91
+ end
92
+
84
93
  # Parameters:
85
94
  # value - string - The value of the folder behavior. Can be a integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
86
95
  # attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
@@ -88,6 +97,7 @@ module Files
88
97
  # description - string - Description for this behavior.
89
98
  # behavior - string - Behavior type.
90
99
  # path - string - Folder behaviors path.
100
+ # attachment_delete - boolean - If true, will delete the file stored in attachment
91
101
  def update(params = {})
92
102
  params ||= {}
93
103
  params[:id] = @attributes[:id]
@@ -127,15 +137,15 @@ module Files
127
137
  end
128
138
 
129
139
  # Parameters:
130
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
140
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
131
141
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
132
142
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `behavior`.
133
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `behavior`.
134
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `behavior`.
135
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `behavior`.
136
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `behavior`.
137
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `behavior`.
138
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `behavior`.
143
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
144
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `behavior`.
145
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `behavior`.
146
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
147
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `behavior`.
148
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `behavior`.
139
149
  # behavior - string - If set, only shows folder behaviors matching this behavior type.
140
150
  def self.list(params = {}, options = {})
141
151
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -175,15 +185,15 @@ module Files
175
185
  end
176
186
 
177
187
  # Parameters:
178
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
188
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
179
189
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
180
190
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `behavior`.
181
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `behavior`.
182
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `behavior`.
183
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `behavior`.
184
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `behavior`.
185
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `behavior`.
186
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `behavior`.
191
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
192
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `behavior`.
193
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `behavior`.
194
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
195
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `behavior`.
196
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `behavior`.
187
197
  # path (required) - string - Path to operate on.
188
198
  # recursive - string - Show behaviors above this path?
189
199
  # behavior - string - DEPRECATED: If set only shows folder behaviors matching this behavior type. Use `filter[behavior]` instead.
@@ -256,6 +266,7 @@ module Files
256
266
  # description - string - Description for this behavior.
257
267
  # behavior - string - Behavior type.
258
268
  # path - string - Folder behaviors path.
269
+ # attachment_delete - boolean - If true, will delete the file stored in attachment
259
270
  def self.update(id, params = {}, options = {})
260
271
  params ||= {}
261
272
  params[:id] = id
@@ -264,7 +275,8 @@ module Files
264
275
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
265
276
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params.dig(:description) and !params.dig(:description).is_a?(String)
266
277
  raise InvalidParameterError.new("Bad parameter: behavior must be an String") if params.dig(:behavior) and !params.dig(:behavior).is_a?(String)
267
- raise InvalidParameterError.new("Bad parameter: path must be one of String, Integer, Hash") if params.dig(:path) and [ String, Integer, Hash ].none? { |klass| params.dig(:path).is_a?(klass) }
278
+ raise InvalidParameterError.new("Bad parameter: path must be an String") if params.dig(:path) and !params.dig(:path).is_a?(String)
279
+ raise InvalidParameterError.new("Bad parameter: attachment_delete must be one of String, Integer, Hash") if params.dig(:attachment_delete) and [ String, Integer, Hash ].none? { |klass| params.dig(:attachment_delete).is_a?(klass) }
268
280
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
269
281
 
270
282
  response, options = Api.send_request("/behaviors/#{params[:id]}", :patch, params, options)
@@ -167,6 +167,24 @@ module Files
167
167
  @attributes[:inbox_id] = value
168
168
  end
169
169
 
170
+ # Preview watermark image applied to all bundle items.
171
+ def watermark_attachment
172
+ @attributes[:watermark_attachment]
173
+ end
174
+
175
+ def watermark_attachment=(value)
176
+ @attributes[:watermark_attachment] = value
177
+ end
178
+
179
+ # object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
180
+ def watermark_value
181
+ @attributes[:watermark_value]
182
+ end
183
+
184
+ def watermark_value=(value)
185
+ @attributes[:watermark_value] = value
186
+ end
187
+
170
188
  # boolean - Does this bundle have an associated inbox?
171
189
  def has_inbox
172
190
  @attributes[:has_inbox]
@@ -203,6 +221,24 @@ module Files
203
221
  @attributes[:form_field_set_id] = value
204
222
  end
205
223
 
224
+ # file - Preview watermark image applied to all bundle items.
225
+ def watermark_attachment_file
226
+ @attributes[:watermark_attachment_file]
227
+ end
228
+
229
+ def watermark_attachment_file=(value)
230
+ @attributes[:watermark_attachment_file] = value
231
+ end
232
+
233
+ # boolean - If true, will delete the file stored in watermark_attachment
234
+ def watermark_attachment_delete
235
+ @attributes[:watermark_attachment_delete]
236
+ end
237
+
238
+ def watermark_attachment_delete=(value)
239
+ @attributes[:watermark_attachment_delete] = value
240
+ end
241
+
206
242
  # Send email(s) with a link to bundle
207
243
  #
208
244
  # Parameters:
@@ -236,6 +272,8 @@ module Files
236
272
  # preview_only - boolean - Restrict users to previewing files only?
237
273
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
238
274
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
275
+ # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
276
+ # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
239
277
  def update(params = {})
240
278
  params ||= {}
241
279
  params[:id] = @attributes[:id]
@@ -281,15 +319,15 @@ module Files
281
319
 
282
320
  # Parameters:
283
321
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
284
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
322
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
285
323
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
286
324
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `code`.
287
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
288
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `created_at`.
289
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `created_at`.
290
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
291
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `created_at`.
292
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `created_at`.
325
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
326
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
327
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
328
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
329
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
330
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
293
331
  def self.list(params = {}, options = {})
294
332
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
295
333
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -342,6 +380,7 @@ module Files
342
380
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
343
381
  # inbox_id - int64 - ID of the associated inbox, if available.
344
382
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
383
+ # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
345
384
  def self.create(params = {}, options = {})
346
385
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
347
386
  raise InvalidParameterError.new("Bad parameter: paths must be an Array") if params.dig(:paths) and !params.dig(:paths).is_a?(Array)
@@ -393,6 +432,8 @@ module Files
393
432
  # preview_only - boolean - Restrict users to previewing files only?
394
433
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
395
434
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
435
+ # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
436
+ # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
396
437
  def self.update(id, params = {}, options = {})
397
438
  params ||= {}
398
439
  params[:id] = id
@@ -29,15 +29,15 @@ module Files
29
29
  end
30
30
 
31
31
  # Parameters:
32
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
32
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
33
33
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
34
34
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at`.
35
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
36
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `created_at`.
37
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `created_at`.
38
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
39
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `created_at`.
40
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `created_at`.
35
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
36
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
37
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
38
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
39
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
40
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
41
41
  # bundle_id - int64 - Bundle ID
42
42
  # bundle_registration_id - int64 - BundleRegistration ID
43
43
  def self.list(params = {}, options = {})
@@ -92,15 +92,15 @@ module Files
92
92
 
93
93
  # Parameters:
94
94
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
95
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
95
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
96
96
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
97
97
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `has_registrations`.
98
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `has_registrations`.
99
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `has_registrations`.
100
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
101
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `has_registrations`.
102
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `has_registrations`.
103
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `has_registrations`.
98
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
99
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `has_registrations`.
100
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
101
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
102
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `has_registrations`.
103
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `has_registrations`.
104
104
  # bundle_id (required) - int64 - List recipients for the bundle with this ID.
105
105
  def self.list(params = {}, options = {})
106
106
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
@@ -49,7 +49,7 @@ module Files
49
49
  @attributes[:form_field_set_id]
50
50
  end
51
51
 
52
- # string - Data for form field set with form field ids as keys and user data as values
52
+ # object - Data for form field set with form field ids as keys and user data as values
53
53
  def form_field_data
54
54
  @attributes[:form_field_data]
55
55
  end
@@ -71,7 +71,7 @@ module Files
71
71
 
72
72
  # Parameters:
73
73
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
74
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
74
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
75
75
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
76
76
  # bundle_id - int64 - ID of the associated Bundle
77
77
  def self.list(params = {}, options = {})
@@ -108,7 +108,7 @@ module Files
108
108
  end
109
109
 
110
110
  # Parameters:
111
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
111
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
112
112
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
113
113
  def self.list(params = {}, options = {})
114
114
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -30,7 +30,7 @@ module Files
30
30
  end
31
31
 
32
32
  # Parameters:
33
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
33
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
34
34
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
35
35
  def self.list(params = {}, options = {})
36
36
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -114,15 +114,15 @@ module Files
114
114
  end
115
115
 
116
116
  # Parameters:
117
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
117
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
118
118
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
119
119
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `event_type`, `created_at` or `status`.
120
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
121
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
122
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
123
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
124
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
125
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
120
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
121
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
122
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
123
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
124
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
125
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
126
126
  def self.list(params = {}, options = {})
127
127
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
128
128
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
@@ -83,7 +83,7 @@ module Files
83
83
  end
84
84
 
85
85
  # Parameters:
86
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
86
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
87
87
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
88
88
  # path (required) - string - Path to operate on.
89
89
  def self.list_for(path, params = {}, options = {})
@@ -124,7 +124,7 @@ module Files
124
124
 
125
125
  # Parameters:
126
126
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
127
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
127
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
128
128
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
129
129
  def self.list(params = {}, options = {})
130
130
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
@@ -106,15 +106,15 @@ module Files
106
106
  end
107
107
 
108
108
  # Parameters:
109
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
109
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
110
110
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
111
111
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `name`.
112
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `name`.
113
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `name`.
114
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `name`.
115
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `name`.
116
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `name`.
117
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `name`.
112
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
113
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `name`.
114
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `name`.
115
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
116
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `name`.
117
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `name`.
118
118
  # ids - string - Comma-separated list of group ids to include in results.
119
119
  def self.list(params = {}, options = {})
120
120
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -113,7 +113,7 @@ module Files
113
113
 
114
114
  # Parameters:
115
115
  # user_id - int64 - User ID. If provided, will return group_users of this user.
116
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
116
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
117
117
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
118
118
  # group_id - int64 - Group ID. If provided, will return group_users of this group.
119
119
  def self.list(params = {}, options = {})
@@ -78,7 +78,7 @@ module Files
78
78
  # start_at - string - Leave blank or set to a date/time to filter earlier entries.
79
79
  # end_at - string - Leave blank or set to a date/time to filter later entries.
80
80
  # display - string - Display format. Leave blank or set to `full` or `parent`.
81
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
81
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
82
82
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
83
83
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
84
84
  # path (required) - string - Path to operate on.
@@ -103,7 +103,7 @@ module Files
103
103
  # start_at - string - Leave blank or set to a date/time to filter earlier entries.
104
104
  # end_at - string - Leave blank or set to a date/time to filter later entries.
105
105
  # display - string - Display format. Leave blank or set to `full` or `parent`.
106
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
106
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
107
107
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
108
108
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
109
109
  # path (required) - string - Path to operate on.
@@ -128,7 +128,7 @@ module Files
128
128
  # start_at - string - Leave blank or set to a date/time to filter earlier entries.
129
129
  # end_at - string - Leave blank or set to a date/time to filter later entries.
130
130
  # display - string - Display format. Leave blank or set to `full` or `parent`.
131
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
131
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
132
132
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
133
133
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
134
134
  # user_id (required) - int64 - User ID.
@@ -153,7 +153,7 @@ module Files
153
153
  # start_at - string - Leave blank or set to a date/time to filter earlier entries.
154
154
  # end_at - string - Leave blank or set to a date/time to filter later entries.
155
155
  # display - string - Display format. Leave blank or set to `full` or `parent`.
156
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
156
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
157
157
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
158
158
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
159
159
  def self.list_logins(params = {}, options = {})
@@ -173,15 +173,15 @@ module Files
173
173
  # start_at - string - Leave blank or set to a date/time to filter earlier entries.
174
174
  # end_at - string - Leave blank or set to a date/time to filter later entries.
175
175
  # display - string - Display format. Leave blank or set to `full` or `parent`.
176
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
176
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
177
177
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
178
178
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `path`, `folder`, `user_id` or `created_at`.
179
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
180
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `user_id`, `folder` or `path`.
181
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
182
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
183
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `user_id`, `folder` or `path`.
184
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
179
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
180
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `user_id`, `folder` or `path`.
181
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
182
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
183
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `user_id`, `folder` or `path`.
184
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
185
185
  def self.list(params = {}, options = {})
186
186
  raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params.dig(:start_at) and !params.dig(:start_at).is_a?(String)
187
187
  raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params.dig(:end_at) and !params.dig(:end_at).is_a?(String)
@@ -126,7 +126,7 @@ module Files
126
126
 
127
127
  # Parameters:
128
128
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
129
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
129
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
130
130
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
131
131
  # history_export_id (required) - int64 - ID of the associated history export.
132
132
  def self.list(params = {}, options = {})
@@ -92,15 +92,15 @@ module Files
92
92
 
93
93
  # Parameters:
94
94
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
95
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
95
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
96
96
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
97
97
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `has_registrations`.
98
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `has_registrations`.
99
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `has_registrations`.
100
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
101
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `has_registrations`.
102
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `has_registrations`.
103
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `has_registrations`.
98
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
99
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `has_registrations`.
100
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
101
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
102
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `has_registrations`.
103
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `has_registrations`.
104
104
  # inbox_id (required) - int64 - List recipients for the inbox with this ID.
105
105
  def self.list(params = {}, options = {})
106
106
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
@@ -39,7 +39,7 @@ module Files
39
39
  @attributes[:form_field_set_id]
40
40
  end
41
41
 
42
- # string - Data for form field set with form field ids as keys and user data as values
42
+ # object - Data for form field set with form field ids as keys and user data as values
43
43
  def form_field_data
44
44
  @attributes[:form_field_data]
45
45
  end
@@ -60,7 +60,7 @@ module Files
60
60
  end
61
61
 
62
62
  # Parameters:
63
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
63
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
64
64
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
65
65
  # folder_behavior_id - int64 - ID of the associated Inbox.
66
66
  def self.list(params = {}, options = {})
@@ -24,15 +24,15 @@ module Files
24
24
  end
25
25
 
26
26
  # Parameters:
27
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
27
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
28
28
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
29
29
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at`.
30
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
31
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `created_at`.
32
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `created_at`.
33
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
34
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `created_at`.
35
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `created_at`.
30
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
31
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
32
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
33
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
34
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
35
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
36
36
  # inbox_registration_id - int64 - InboxRegistration ID
37
37
  # inbox_id - int64 - Inbox ID
38
38
  def self.list(params = {}, options = {})
@@ -80,7 +80,7 @@ module Files
80
80
  end
81
81
 
82
82
  # Parameters:
83
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
83
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
84
84
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
85
85
  def self.list(params = {}, options = {})
86
86
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -30,7 +30,7 @@ module Files
30
30
  end
31
31
 
32
32
  # Parameters:
33
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
33
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
34
34
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
35
35
  def self.list(params = {}, options = {})
36
36
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -46,7 +46,7 @@ module Files
46
46
  end
47
47
 
48
48
  # Parameters:
49
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
49
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
50
50
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
51
51
  def self.get_reserved(params = {}, options = {})
52
52
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -141,7 +141,7 @@ module Files
141
141
  end
142
142
 
143
143
  # Parameters:
144
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
144
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
145
145
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
146
146
  # path (required) - string - Path to operate on.
147
147
  # include_children - boolean - Include locks from children objects?
@@ -108,7 +108,7 @@ module Files
108
108
 
109
109
  # Parameters:
110
110
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
111
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
111
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
112
112
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
113
113
  # project_id (required) - int64 - Project for which to return messages.
114
114
  def self.list(params = {}, options = {})
@@ -84,7 +84,7 @@ module Files
84
84
 
85
85
  # Parameters:
86
86
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
87
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
87
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
88
88
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
89
89
  # message_id (required) - int64 - Message comment to return comments for.
90
90
  def self.list(params = {}, options = {})
@@ -61,7 +61,7 @@ module Files
61
61
 
62
62
  # Parameters:
63
63
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
64
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
64
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
65
65
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
66
66
  # message_comment_id (required) - int64 - Message comment to return reactions for.
67
67
  def self.list(params = {}, options = {})
@@ -61,7 +61,7 @@ module Files
61
61
 
62
62
  # Parameters:
63
63
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
64
- # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
64
+ # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
65
65
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
66
66
  # message_id (required) - int64 - Message to return reactions for.
67
67
  def self.list(params = {}, options = {})