files.com 1.1.769 → 1.1.771

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.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. data/docs/remote_server.md +8 -0
  4. data/lib/files.com/models/action_log.rb +5 -0
  5. data/lib/files.com/models/action_notification_export.rb +10 -0
  6. data/lib/files.com/models/action_notification_export_result.rb +5 -0
  7. data/lib/files.com/models/ai_assistant_personality.rb +24 -0
  8. data/lib/files.com/models/ai_task.rb +29 -0
  9. data/lib/files.com/models/api_key.rb +37 -0
  10. data/lib/files.com/models/api_request_log.rb +5 -0
  11. data/lib/files.com/models/app.rb +5 -0
  12. data/lib/files.com/models/as2_incoming_message.rb +5 -0
  13. data/lib/files.com/models/as2_outgoing_message.rb +5 -0
  14. data/lib/files.com/models/as2_partner.rb +24 -0
  15. data/lib/files.com/models/as2_station.rb +24 -0
  16. data/lib/files.com/models/automation.rb +38 -0
  17. data/lib/files.com/models/automation_log.rb +5 -0
  18. data/lib/files.com/models/automation_run.rb +25 -0
  19. data/lib/files.com/models/bandwidth_snapshot.rb +5 -0
  20. data/lib/files.com/models/behavior.rb +34 -0
  21. data/lib/files.com/models/bundle.rb +29 -0
  22. data/lib/files.com/models/bundle_action.rb +5 -0
  23. data/lib/files.com/models/bundle_download.rb +5 -0
  24. data/lib/files.com/models/bundle_notification.rb +24 -0
  25. data/lib/files.com/models/bundle_recipient.rb +10 -0
  26. data/lib/files.com/models/bundle_registration.rb +5 -0
  27. data/lib/files.com/models/chat_session.rb +10 -0
  28. data/lib/files.com/models/child_site_management_policy.rb +24 -0
  29. data/lib/files.com/models/clickwrap.rb +24 -0
  30. data/lib/files.com/models/custom_domain.rb +29 -0
  31. data/lib/files.com/models/desktop_configuration_profile.rb +24 -0
  32. data/lib/files.com/models/dns_record.rb +5 -0
  33. data/lib/files.com/models/email_incoming_message.rb +5 -0
  34. data/lib/files.com/models/email_log.rb +5 -0
  35. data/lib/files.com/models/event_channel.rb +24 -0
  36. data/lib/files.com/models/event_delivery_attempt.rb +10 -0
  37. data/lib/files.com/models/event_record.rb +10 -0
  38. data/lib/files.com/models/event_subscription.rb +24 -0
  39. data/lib/files.com/models/event_target.rb +24 -0
  40. data/lib/files.com/models/exavault_api_request_log.rb +5 -0
  41. data/lib/files.com/models/expectation.rb +29 -0
  42. data/lib/files.com/models/expectation_evaluation.rb +10 -0
  43. data/lib/files.com/models/expectation_incident.rb +25 -0
  44. data/lib/files.com/models/external_event.rb +15 -0
  45. data/lib/files.com/models/file.rb +70 -0
  46. data/lib/files.com/models/file_comment.rb +19 -0
  47. data/lib/files.com/models/file_comment_reaction.rb +9 -0
  48. data/lib/files.com/models/file_migration.rb +5 -0
  49. data/lib/files.com/models/file_migration_log.rb +5 -0
  50. data/lib/files.com/models/folder.rb +10 -0
  51. data/lib/files.com/models/form_field_set.rb +24 -0
  52. data/lib/files.com/models/ftp_action_log.rb +5 -0
  53. data/lib/files.com/models/gpg_key.rb +24 -0
  54. data/lib/files.com/models/group.rb +24 -0
  55. data/lib/files.com/models/group_user.rb +20 -0
  56. data/lib/files.com/models/history.rb +25 -0
  57. data/lib/files.com/models/history_export.rb +10 -0
  58. data/lib/files.com/models/history_export_result.rb +5 -0
  59. data/lib/files.com/models/holiday_calendar.rb +24 -0
  60. data/lib/files.com/models/holiday_region.rb +5 -0
  61. data/lib/files.com/models/inbound_s3_log.rb +5 -0
  62. data/lib/files.com/models/inbox_recipient.rb +10 -0
  63. data/lib/files.com/models/inbox_registration.rb +5 -0
  64. data/lib/files.com/models/inbox_upload.rb +5 -0
  65. data/lib/files.com/models/integration_centric_profile.rb +24 -0
  66. data/lib/files.com/models/invoice.rb +10 -0
  67. data/lib/files.com/models/ip_address.rb +20 -0
  68. data/lib/files.com/models/key_lifecycle_rule.rb +24 -0
  69. data/lib/files.com/models/lock.rb +15 -0
  70. data/lib/files.com/models/metadata_category.rb +29 -0
  71. data/lib/files.com/models/notification.rb +24 -0
  72. data/lib/files.com/models/outbound_connection_log.rb +5 -0
  73. data/lib/files.com/models/partner.rb +24 -0
  74. data/lib/files.com/models/partner_channel.rb +24 -0
  75. data/lib/files.com/models/partner_channel_template.rb +24 -0
  76. data/lib/files.com/models/partner_site.rb +4 -0
  77. data/lib/files.com/models/partner_site_request.rb +29 -0
  78. data/lib/files.com/models/payment.rb +10 -0
  79. data/lib/files.com/models/pending_work_event.rb +10 -0
  80. data/lib/files.com/models/permission.rb +14 -0
  81. data/lib/files.com/models/public_hosting_request_log.rb +5 -0
  82. data/lib/files.com/models/public_key.rb +24 -0
  83. data/lib/files.com/models/remote_bandwidth_snapshot.rb +5 -0
  84. data/lib/files.com/models/remote_mount_backend.rb +29 -0
  85. data/lib/files.com/models/remote_server.rb +54 -0
  86. data/lib/files.com/models/remote_server_credential.rb +24 -0
  87. data/lib/files.com/models/request.rb +19 -0
  88. data/lib/files.com/models/restore.rb +10 -0
  89. data/lib/files.com/models/schedule.rb +24 -0
  90. data/lib/files.com/models/scheduled_export.rb +24 -0
  91. data/lib/files.com/models/scim_log.rb +10 -0
  92. data/lib/files.com/models/secret.rb +24 -0
  93. data/lib/files.com/models/session.rb +9 -0
  94. data/lib/files.com/models/settings_change.rb +5 -0
  95. data/lib/files.com/models/sftp_action_log.rb +5 -0
  96. data/lib/files.com/models/sftp_host_key.rb +24 -0
  97. data/lib/files.com/models/share_group.rb +24 -0
  98. data/lib/files.com/models/siem_http_destination.rb +29 -0
  99. data/lib/files.com/models/siem_http_destination_event.rb +10 -0
  100. data/lib/files.com/models/site.rb +13 -0
  101. data/lib/files.com/models/site_subdomain_redirect.rb +14 -0
  102. data/lib/files.com/models/snapshot.rb +29 -0
  103. data/lib/files.com/models/sso_event.rb +10 -0
  104. data/lib/files.com/models/sso_strategy.rb +15 -0
  105. data/lib/files.com/models/style.rb +14 -0
  106. data/lib/files.com/models/sync.rb +34 -0
  107. data/lib/files.com/models/sync_log.rb +5 -0
  108. data/lib/files.com/models/sync_run.rb +10 -0
  109. data/lib/files.com/models/usage_daily_snapshot.rb +5 -0
  110. data/lib/files.com/models/usage_snapshot.rb +5 -0
  111. data/lib/files.com/models/user.rb +40 -0
  112. data/lib/files.com/models/user_additional_email_recipient.rb +24 -0
  113. data/lib/files.com/models/user_cipher_use.rb +5 -0
  114. data/lib/files.com/models/user_lifecycle_rule.rb +24 -0
  115. data/lib/files.com/models/user_request.rb +19 -0
  116. data/lib/files.com/models/user_security_event.rb +10 -0
  117. data/lib/files.com/models/user_sftp_client_use.rb +5 -0
  118. data/lib/files.com/models/web_dav_action_log.rb +5 -0
  119. data/lib/files.com/models/webhook_test.rb +5 -0
  120. data/lib/files.com/models/workspace.rb +24 -0
  121. data/lib/files.com/version.rb +1 -1
  122. metadata +2 -2
@@ -67,6 +67,11 @@ module Files
67
67
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ status ]`, `[ created_at ]` or `[ status, created_at ]`.
68
68
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ status ]`, `[ created_at ]` or `[ status, created_at ]`.
69
69
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ status ]`, `[ created_at ]` or `[ status, created_at ]`.
70
+ #
71
+ # params:: Hash of API operation parameter values.
72
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
73
+ #
74
+ # Returns a Files::List of Files::EmailLog objects.
70
75
  def self.list(params = {}, options = {})
71
76
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
72
77
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -125,6 +125,11 @@ module Files
125
125
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
126
126
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled`, `default_channel` or `workspace_id`.
127
127
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled`, `default_channel` or `workspace_id`. Valid field combinations are `[ workspace_id, enabled ]` and `[ workspace_id, default_channel ]`.
128
+ #
129
+ # params:: Hash of API operation parameter values.
130
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
131
+ #
132
+ # Returns a Files::List of Files::EventChannel objects.
128
133
  def self.list(params = {}, options = {})
129
134
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
130
135
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -142,6 +147,11 @@ module Files
142
147
 
143
148
  # Parameters:
144
149
  # id (required) - int64 - Event Channel ID.
150
+ #
151
+ # params:: Hash of API operation parameter values.
152
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
153
+ #
154
+ # Returns a Files::EventChannel.
145
155
  def self.find(id, params = {}, options = {})
146
156
  params ||= {}
147
157
  params[:id] = id
@@ -162,6 +172,11 @@ module Files
162
172
  # description - string - Event Channel description.
163
173
  # enabled - boolean - Whether this Event Channel can dispatch events.
164
174
  # default_channel - boolean - Whether this Event Channel is the default destination for newly published events.
175
+ #
176
+ # params:: Hash of API operation parameter values.
177
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
178
+ #
179
+ # Returns a Files::EventChannel.
165
180
  def self.create(params = {}, options = {})
166
181
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
167
182
  raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
@@ -178,6 +193,11 @@ module Files
178
193
  # description - string - Event Channel description.
179
194
  # enabled - boolean - Whether this Event Channel can dispatch events.
180
195
  # default_channel - boolean - Whether this Event Channel is the default destination for newly published events.
196
+ #
197
+ # params:: Hash of API operation parameter values.
198
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
199
+ #
200
+ # Returns a Files::EventChannel.
181
201
  def self.update(id, params = {}, options = {})
182
202
  params ||= {}
183
203
  params[:id] = id
@@ -191,6 +211,10 @@ module Files
191
211
  EventChannel.new(response.data, options)
192
212
  end
193
213
 
214
+ # params:: Hash of API operation parameter values.
215
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
216
+ #
217
+ # Returns nil.
194
218
  def self.delete(id, params = {}, options = {})
195
219
  params ||= {}
196
220
  params[:id] = id
@@ -89,6 +89,11 @@ module Files
89
89
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
90
90
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `status`, `event_record_id`, `event_target_id` or `workspace_id`.
91
91
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id`, `event_record_id` or `event_target_id`. Valid field combinations are `[ workspace_id, status ]`, `[ workspace_id, event_record_id ]` or `[ workspace_id, event_target_id ]`.
92
+ #
93
+ # params:: Hash of API operation parameter values.
94
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
95
+ #
96
+ # Returns a Files::List of Files::EventDeliveryAttempt objects.
92
97
  def self.list(params = {}, options = {})
93
98
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
94
99
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -106,6 +111,11 @@ module Files
106
111
 
107
112
  # Parameters:
108
113
  # id (required) - int64 - Event Delivery Attempt ID.
114
+ #
115
+ # params:: Hash of API operation parameter values.
116
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
117
+ #
118
+ # Returns a Files::EventDeliveryAttempt.
109
119
  def self.find(id, params = {}, options = {})
110
120
  params ||= {}
111
121
  params[:id] = id
@@ -94,6 +94,11 @@ module Files
94
94
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `event_type`.
95
95
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
96
96
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
97
+ #
98
+ # params:: Hash of API operation parameter values.
99
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
100
+ #
101
+ # Returns a Files::List of Files::EventRecord objects.
97
102
  def self.list(params = {}, options = {})
98
103
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
99
104
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -116,6 +121,11 @@ module Files
116
121
 
117
122
  # Parameters:
118
123
  # id (required) - int64 - Event Record ID.
124
+ #
125
+ # params:: Hash of API operation parameter values.
126
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
127
+ #
128
+ # Returns a Files::EventRecord.
119
129
  def self.find(id, params = {}, options = {})
120
130
  params ||= {}
121
131
  params[:id] = id
@@ -199,6 +199,11 @@ module Files
199
199
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
200
200
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled`, `event_channel_id` or `workspace_id`.
201
201
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled`, `event_channel_id` or `workspace_id`. Valid field combinations are `[ enabled, event_channel_id ]`, `[ workspace_id, enabled ]` or `[ workspace_id, enabled, event_channel_id ]`.
202
+ #
203
+ # params:: Hash of API operation parameter values.
204
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
205
+ #
206
+ # Returns a Files::List of Files::EventSubscription objects.
202
207
  def self.list(params = {}, options = {})
203
208
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
204
209
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -216,6 +221,11 @@ module Files
216
221
 
217
222
  # Parameters:
218
223
  # id (required) - int64 - Event Subscription ID.
224
+ #
225
+ # params:: Hash of API operation parameter values.
226
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
227
+ #
228
+ # Returns a Files::EventSubscription.
219
229
  def self.find(id, params = {}, options = {})
220
230
  params ||= {}
221
231
  params[:id] = id
@@ -243,6 +253,11 @@ module Files
243
253
  # filter - object - Structured event payload filter.
244
254
  # delivery_policy - object - Event Subscription delivery policy.
245
255
  # event_target_ids - array(int64) - Event Target IDs this subscription sends to.
256
+ #
257
+ # params:: Hash of API operation parameter values.
258
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
259
+ #
260
+ # Returns a Files::EventSubscription.
246
261
  def self.create(params = {}, options = {})
247
262
  raise InvalidParameterError.new("Bad parameter: event_channel_id must be an Integer") if params[:event_channel_id] and !params[:event_channel_id].is_a?(Integer)
248
263
  raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
@@ -272,6 +287,11 @@ module Files
272
287
  # filter - object - Structured event payload filter.
273
288
  # delivery_policy - object - Event Subscription delivery policy.
274
289
  # event_target_ids - array(int64) - Event Target IDs this subscription sends to.
290
+ #
291
+ # params:: Hash of API operation parameter values.
292
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
293
+ #
294
+ # Returns a Files::EventSubscription.
275
295
  def self.update(id, params = {}, options = {})
276
296
  params ||= {}
277
297
  params[:id] = id
@@ -291,6 +311,10 @@ module Files
291
311
  EventSubscription.new(response.data, options)
292
312
  end
293
313
 
314
+ # params:: Hash of API operation parameter values.
315
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
316
+ #
317
+ # Returns nil.
294
318
  def self.delete(id, params = {}, options = {})
295
319
  params ||= {}
296
320
  params[:id] = id
@@ -143,6 +143,11 @@ module Files
143
143
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
144
144
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled` or `workspace_id`.
145
145
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled`, `target_type` or `workspace_id`. Valid field combinations are `[ enabled, target_type ]`, `[ workspace_id, enabled ]` or `[ workspace_id, enabled, target_type ]`.
146
+ #
147
+ # params:: Hash of API operation parameter values.
148
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
149
+ #
150
+ # Returns a Files::List of Files::EventTarget objects.
146
151
  def self.list(params = {}, options = {})
147
152
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
148
153
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -160,6 +165,11 @@ module Files
160
165
 
161
166
  # Parameters:
162
167
  # id (required) - int64 - Event Target ID.
168
+ #
169
+ # params:: Hash of API operation parameter values.
170
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
171
+ #
172
+ # Returns a Files::EventTarget.
163
173
  def self.find(id, params = {}, options = {})
164
174
  params ||= {}
165
175
  params[:id] = id
@@ -182,6 +192,11 @@ module Files
182
192
  # config (required) - object - Event Target configuration. Folder targets accept path and format (json or csv).
183
193
  # delivery_policy - object - Event Target delivery policy. Email and folder targets support batch_interval in seconds, between 600 and 86400.
184
194
  # target_type (required) - string - Event Target type.
195
+ #
196
+ # params:: Hash of API operation parameter values.
197
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
198
+ #
199
+ # Returns a Files::EventTarget.
185
200
  def self.create(params = {}, options = {})
186
201
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
187
202
  raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
@@ -203,6 +218,11 @@ module Files
203
218
  # enabled - boolean - Whether this Event Target can receive events.
204
219
  # config - object - Event Target configuration. Folder targets accept path and format (json or csv).
205
220
  # delivery_policy - object - Event Target delivery policy. Email and folder targets support batch_interval in seconds, between 600 and 86400.
221
+ #
222
+ # params:: Hash of API operation parameter values.
223
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
224
+ #
225
+ # Returns a Files::EventTarget.
206
226
  def self.update(id, params = {}, options = {})
207
227
  params ||= {}
208
228
  params[:id] = id
@@ -217,6 +237,10 @@ module Files
217
237
  EventTarget.new(response.data, options)
218
238
  end
219
239
 
240
+ # params:: Hash of API operation parameter values.
241
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
242
+ #
243
+ # Returns nil.
220
244
  def self.delete(id, params = {}, options = {})
221
245
  params ||= {}
222
246
  params[:id] = id
@@ -78,6 +78,11 @@ module Files
78
78
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `request_ip` and `request_method`. Valid field combinations are `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, created_at ]`, `[ success, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, created_at ]`, `[ request_method, success, created_at ]` or `[ request_ip, request_method, success, created_at ]`.
79
79
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, created_at ]`, `[ success, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, created_at ]`, `[ request_method, success, created_at ]` or `[ request_ip, request_method, success, created_at ]`.
80
80
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, created_at ]`, `[ success, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, created_at ]`, `[ request_method, success, created_at ]` or `[ request_ip, request_method, success, created_at ]`.
81
+ #
82
+ # params:: Hash of API operation parameter values.
83
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
84
+ #
85
+ # Returns a Files::List of Files::ExavaultApiRequestLog objects.
81
86
  def self.list(params = {}, options = {})
82
87
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
83
88
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -357,6 +357,11 @@ module Files
357
357
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
358
358
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name` or `disabled`.
359
359
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled` and `workspace_id`. Valid field combinations are `[ workspace_id, disabled ]`.
360
+ #
361
+ # params:: Hash of API operation parameter values.
362
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
363
+ #
364
+ # Returns a Files::List of Files::Expectation objects.
360
365
  def self.list(params = {}, options = {})
361
366
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
362
367
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -374,6 +379,11 @@ module Files
374
379
 
375
380
  # Parameters:
376
381
  # id (required) - int64 - Expectation ID.
382
+ #
383
+ # params:: Hash of API operation parameter values.
384
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
385
+ #
386
+ # Returns a Files::Expectation.
377
387
  def self.find(id, params = {}, options = {})
378
388
  params ||= {}
379
389
  params[:id] = id
@@ -410,6 +420,11 @@ module Files
410
420
  # max_open_interval - int64 - Hard-stop duration in seconds for unscheduled expectations.
411
421
  # criteria - object - Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
412
422
  # workspace_id - int64 - Workspace ID. `0` means the default workspace.
423
+ #
424
+ # params:: Hash of API operation parameter values.
425
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
426
+ #
427
+ # Returns a Files::Expectation.
413
428
  def self.create(params = {}, options = {})
414
429
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
415
430
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
@@ -437,6 +452,11 @@ module Files
437
452
  end
438
453
 
439
454
  # Manually open an Expectation window
455
+ #
456
+ # params:: Hash of API operation parameter values.
457
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
458
+ #
459
+ # Returns a Files::ExpectationEvaluation.
440
460
  def self.trigger_evaluation(id, params = {}, options = {})
441
461
  params ||= {}
442
462
  params[:id] = id
@@ -469,6 +489,11 @@ module Files
469
489
  # max_open_interval - int64 - Hard-stop duration in seconds for unscheduled expectations.
470
490
  # criteria - object - Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
471
491
  # workspace_id - int64 - Workspace ID. `0` means the default workspace.
492
+ #
493
+ # params:: Hash of API operation parameter values.
494
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
495
+ #
496
+ # Returns a Files::Expectation.
472
497
  def self.update(id, params = {}, options = {})
473
498
  params ||= {}
474
499
  params[:id] = id
@@ -499,6 +524,10 @@ module Files
499
524
  Expectation.new(response.data, options)
500
525
  end
501
526
 
527
+ # params:: Hash of API operation parameter values.
528
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
529
+ #
530
+ # Returns nil.
502
531
  def self.delete(id, params = {}, options = {})
503
532
  params ||= {}
504
533
  params[:id] = id
@@ -104,6 +104,11 @@ module Files
104
104
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
105
105
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `expectation_id`.
106
106
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expectation_id` and `workspace_id`. Valid field combinations are `[ workspace_id, expectation_id ]`.
107
+ #
108
+ # params:: Hash of API operation parameter values.
109
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
110
+ #
111
+ # Returns a Files::List of Files::ExpectationEvaluation objects.
107
112
  def self.list(params = {}, options = {})
108
113
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
109
114
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -121,6 +126,11 @@ module Files
121
126
 
122
127
  # Parameters:
123
128
  # id (required) - int64 - Expectation Evaluation ID.
129
+ #
130
+ # params:: Hash of API operation parameter values.
131
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
132
+ #
133
+ # Returns a Files::ExpectationEvaluation.
124
134
  def self.find(id, params = {}, options = {})
125
135
  params ||= {}
126
136
  params[:id] = id
@@ -127,6 +127,11 @@ module Files
127
127
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
128
128
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `expectation_id`.
129
129
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expectation_id` and `workspace_id`. Valid field combinations are `[ workspace_id, expectation_id ]`.
130
+ #
131
+ # params:: Hash of API operation parameter values.
132
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
133
+ #
134
+ # Returns a Files::List of Files::ExpectationIncident objects.
130
135
  def self.list(params = {}, options = {})
131
136
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
132
137
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -144,6 +149,11 @@ module Files
144
149
 
145
150
  # Parameters:
146
151
  # id (required) - int64 - Expectation Incident ID.
152
+ #
153
+ # params:: Hash of API operation parameter values.
154
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
155
+ #
156
+ # Returns a Files::ExpectationIncident.
147
157
  def self.find(id, params = {}, options = {})
148
158
  params ||= {}
149
159
  params[:id] = id
@@ -159,6 +169,11 @@ module Files
159
169
  end
160
170
 
161
171
  # Resolve an expectation incident
172
+ #
173
+ # params:: Hash of API operation parameter values.
174
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
175
+ #
176
+ # Returns a Files::ExpectationIncident.
162
177
  def self.resolve(id, params = {}, options = {})
163
178
  params ||= {}
164
179
  params[:id] = id
@@ -173,6 +188,11 @@ module Files
173
188
  #
174
189
  # Parameters:
175
190
  # snoozed_until (required) - string - Time until which the incident should remain snoozed.
191
+ #
192
+ # params:: Hash of API operation parameter values.
193
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
194
+ #
195
+ # Returns a Files::ExpectationIncident.
176
196
  def self.snooze(id, params = {}, options = {})
177
197
  params ||= {}
178
198
  params[:id] = id
@@ -186,6 +206,11 @@ module Files
186
206
  end
187
207
 
188
208
  # Acknowledge an expectation incident
209
+ #
210
+ # params:: Hash of API operation parameter values.
211
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
212
+ #
213
+ # Returns a Files::ExpectationIncident.
189
214
  def self.acknowledge(id, params = {}, options = {})
190
215
  params ||= {}
191
216
  params[:id] = id
@@ -79,6 +79,11 @@ module Files
79
79
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
80
80
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
81
81
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
82
+ #
83
+ # params:: Hash of API operation parameter values.
84
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
85
+ #
86
+ # Returns a Files::List of Files::ExternalEvent objects.
82
87
  def self.list(params = {}, options = {})
83
88
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
84
89
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -100,6 +105,11 @@ module Files
100
105
 
101
106
  # Parameters:
102
107
  # id (required) - int64 - External Event ID.
108
+ #
109
+ # params:: Hash of API operation parameter values.
110
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
111
+ #
112
+ # Returns a Files::ExternalEvent.
103
113
  def self.find(id, params = {}, options = {})
104
114
  params ||= {}
105
115
  params[:id] = id
@@ -117,6 +127,11 @@ module Files
117
127
  # Parameters:
118
128
  # status (required) - string - Status of event.
119
129
  # body (required) - string - Event body
130
+ #
131
+ # params:: Hash of API operation parameter values.
132
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
133
+ #
134
+ # Returns a Files::ExternalEvent.
120
135
  def self.create(params = {}, options = {})
121
136
  raise InvalidParameterError.new("Bad parameter: status must be an String") if params[:status] and !params[:status].is_a?(String)
122
137
  raise InvalidParameterError.new("Bad parameter: body must be an String") if params[:body] and !params[:body].is_a?(String)
@@ -1314,6 +1314,11 @@ module Files
1314
1314
  # with_previews - boolean - Include file preview information?
1315
1315
  # with_priority_color - boolean - Include file priority color information?
1316
1316
  # with_direct_connection_info - boolean - Include optional direct connection information for a direct Agent transfer attempt?
1317
+ #
1318
+ # params:: Hash of API operation parameter values.
1319
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1320
+ #
1321
+ # Returns a Files::File.
1317
1322
  def self.download(path, params = {}, options = {})
1318
1323
  params ||= {}
1319
1324
  params[:path] = path
@@ -1345,6 +1350,11 @@ module Files
1345
1350
  # with_rename - boolean - Allow file rename instead of overwrite?
1346
1351
  # buffered_upload - boolean - If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
1347
1352
  # with_direct_connection_info - boolean - Include optional direct connection information for a direct Agent transfer attempt?
1353
+ #
1354
+ # params:: Hash of API operation parameter values.
1355
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1356
+ #
1357
+ # Returns a Files::File.
1348
1358
  def self.create(path, params = {}, options = {})
1349
1359
  params ||= {}
1350
1360
  params[:path] = path
@@ -1369,6 +1379,11 @@ module Files
1369
1379
  # custom_metadata - object - Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
1370
1380
  # provided_mtime - string - Modified time of file.
1371
1381
  # priority_color - string - Priority/Bookmark color of file.
1382
+ #
1383
+ # params:: Hash of API operation parameter values.
1384
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1385
+ #
1386
+ # Returns a Files::File.
1372
1387
  def self.update(path, params = {}, options = {})
1373
1388
  params ||= {}
1374
1389
  params[:path] = path
@@ -1384,6 +1399,11 @@ module Files
1384
1399
 
1385
1400
  # Parameters:
1386
1401
  # recursive - boolean - If true, will recursively delete folders. Otherwise, will error on non-empty folders.
1402
+ #
1403
+ # params:: Hash of API operation parameter values.
1404
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1405
+ #
1406
+ # Returns nil.
1387
1407
  def self.delete(path, params = {}, options = {})
1388
1408
  params ||= {}
1389
1409
  params[:path] = path
@@ -1404,6 +1424,11 @@ module Files
1404
1424
  # preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
1405
1425
  # with_previews - boolean - Include file preview information?
1406
1426
  # with_priority_color - boolean - Include file priority color information?
1427
+ #
1428
+ # params:: Hash of API operation parameter values.
1429
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1430
+ #
1431
+ # Returns a Files::File.
1407
1432
  def self.find(path, params = {}, options = {})
1408
1433
  params ||= {}
1409
1434
  params[:path] = path
@@ -1420,6 +1445,11 @@ module Files
1420
1445
  end
1421
1446
 
1422
1447
  # List the contents of a ZIP file
1448
+ #
1449
+ # params:: Hash of API operation parameter values.
1450
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1451
+ #
1452
+ # Returns an Array of Files::ZipListEntry objects.
1423
1453
  def self.zip_list_contents(path, params = {}, options = {})
1424
1454
  params ||= {}
1425
1455
  params[:path] = path
@@ -1439,6 +1469,11 @@ module Files
1439
1469
  # copy_behaviors - boolean - If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
1440
1470
  # structure - boolean - Copy structure only?
1441
1471
  # overwrite - boolean - Overwrite existing file(s) in the destination?
1472
+ #
1473
+ # params:: Hash of API operation parameter values.
1474
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1475
+ #
1476
+ # Returns a Files::FileAction.
1442
1477
  def self.copy(path, params = {}, options = {})
1443
1478
  params ||= {}
1444
1479
  params[:path] = path
@@ -1456,6 +1491,11 @@ module Files
1456
1491
  # Parameters:
1457
1492
  # destination (required) - string - Move destination path.
1458
1493
  # overwrite - boolean - Overwrite existing file(s) in the destination?
1494
+ #
1495
+ # params:: Hash of API operation parameter values.
1496
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1497
+ #
1498
+ # Returns a Files::FileAction.
1459
1499
  def self.move(path, params = {}, options = {})
1460
1500
  params ||= {}
1461
1501
  params[:path] = path
@@ -1478,6 +1518,11 @@ module Files
1478
1518
  # width - int64 - Maximum output width for image_convert.
1479
1519
  # height - int64 - Maximum output height for image_convert.
1480
1520
  # overwrite - boolean - Overwrite existing file in the destination?
1521
+ #
1522
+ # params:: Hash of API operation parameter values.
1523
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1524
+ #
1525
+ # Returns a Files::FileAction.
1481
1526
  def self.transform(path, params = {}, options = {})
1482
1527
  params ||= {}
1483
1528
  params[:path] = path
@@ -1506,6 +1551,11 @@ module Files
1506
1551
  # use_all_private_keys - boolean - Use every accessible private GPG key in the source workspace for decryption.
1507
1552
  # ignore_mdc_error - boolean - Ignore errors from the MDC (modification detection code) check.
1508
1553
  # overwrite - boolean - Overwrite existing file in the destination?
1554
+ #
1555
+ # params:: Hash of API operation parameter values.
1556
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1557
+ #
1558
+ # Returns a Files::FileAction.
1509
1559
  def self.gpg_decrypt(path, params = {}, options = {})
1510
1560
  params ||= {}
1511
1561
  params[:path] = path
@@ -1529,6 +1579,11 @@ module Files
1529
1579
  # signing_key_id - int64 - Optional GPG Key ID to sign with.
1530
1580
  # armor - boolean - Output ASCII-armored encrypted data.
1531
1581
  # overwrite - boolean - Overwrite existing file in the destination?
1582
+ #
1583
+ # params:: Hash of API operation parameter values.
1584
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1585
+ #
1586
+ # Returns a Files::FileAction.
1532
1587
  def self.gpg_encrypt(path, params = {}, options = {})
1533
1588
  params ||= {}
1534
1589
  params[:path] = path
@@ -1550,6 +1605,11 @@ module Files
1550
1605
  # destination (required) - string - Destination folder path for extracted files.
1551
1606
  # filename - string - Optional single entry filename to extract.
1552
1607
  # overwrite - boolean - Overwrite existing files in the destination?
1608
+ #
1609
+ # params:: Hash of API operation parameter values.
1610
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1611
+ #
1612
+ # Returns a Files::FileAction.
1553
1613
  def self.unzip(path, params = {}, options = {})
1554
1614
  params ||= {}
1555
1615
  params[:path] = path
@@ -1567,6 +1627,11 @@ module Files
1567
1627
  # paths (required) - array(string) - Paths to include in the ZIP.
1568
1628
  # destination (required) - string - Destination file path for the ZIP.
1569
1629
  # overwrite - boolean - Overwrite existing file in the destination?
1630
+ #
1631
+ # params:: Hash of API operation parameter values.
1632
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1633
+ #
1634
+ # Returns a Files::FileAction.
1570
1635
  def self.zip(params = {}, options = {})
1571
1636
  raise InvalidParameterError.new("Bad parameter: paths must be an Array") if params[:paths] and !params[:paths].is_a?(Array)
1572
1637
  raise InvalidParameterError.new("Bad parameter: destination must be an String") if params[:destination] and !params[:destination].is_a?(String)
@@ -1589,6 +1654,11 @@ module Files
1589
1654
  # with_rename - boolean - Allow file rename instead of overwrite?
1590
1655
  # buffered_upload - boolean - If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
1591
1656
  # with_direct_connection_info - boolean - Include optional direct connection information for a direct Agent transfer attempt?
1657
+ #
1658
+ # params:: Hash of API operation parameter values.
1659
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
1660
+ #
1661
+ # Returns an Array of Files::FileUploadPart objects.
1592
1662
  def self.begin_upload(path, params = {}, options = {})
1593
1663
  params ||= {}
1594
1664
  params[:path] = path
@@ -91,6 +91,11 @@ module Files
91
91
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
92
92
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
93
93
  # path (required) - string - Path to operate on.
94
+ #
95
+ # params:: Hash of API operation parameter values.
96
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
97
+ #
98
+ # Returns a Files::List of Files::FileComment objects.
94
99
  def self.list_for(path, params = {}, options = {})
95
100
  params ||= {}
96
101
  params[:path] = path
@@ -107,6 +112,11 @@ module Files
107
112
  # Parameters:
108
113
  # body (required) - string - Comment body.
109
114
  # path (required) - string - File path.
115
+ #
116
+ # params:: Hash of API operation parameter values.
117
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
118
+ #
119
+ # Returns a Files::FileComment.
110
120
  def self.create(params = {}, options = {})
111
121
  raise InvalidParameterError.new("Bad parameter: body must be an String") if params[:body] and !params[:body].is_a?(String)
112
122
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
@@ -119,6 +129,11 @@ module Files
119
129
 
120
130
  # Parameters:
121
131
  # body (required) - string - Comment body.
132
+ #
133
+ # params:: Hash of API operation parameter values.
134
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
135
+ #
136
+ # Returns a Files::FileComment.
122
137
  def self.update(id, params = {}, options = {})
123
138
  params ||= {}
124
139
  params[:id] = id
@@ -131,6 +146,10 @@ module Files
131
146
  FileComment.new(response.data, options)
132
147
  end
133
148
 
149
+ # params:: Hash of API operation parameter values.
150
+ # options:: Hash of optional request configuration passed to Files::Api.send_request.
151
+ #
152
+ # Returns nil.
134
153
  def self.delete(id, params = {}, options = {})
135
154
  params ||= {}
136
155
  params[:id] = id