files.com 1.1.92 → 1.1.94

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. data/docs/action_notification_export_result.md +3 -0
  4. data/docs/api_key.md +8 -2
  5. data/docs/api_request_log.md +4 -1
  6. data/docs/app.md +4 -1
  7. data/docs/as2_incoming_message.md +3 -0
  8. data/docs/as2_outgoing_message.md +3 -0
  9. data/docs/as2_partner.md +56 -41
  10. data/docs/as2_station.md +4 -1
  11. data/docs/automation.md +21 -4
  12. data/docs/automation_log.md +4 -1
  13. data/docs/automation_run.md +3 -0
  14. data/docs/bandwidth_snapshot.md +4 -1
  15. data/docs/behavior.md +32 -25
  16. data/docs/bundle.md +5 -8
  17. data/docs/bundle_action.md +4 -0
  18. data/docs/bundle_download.md +3 -0
  19. data/docs/bundle_notification.md +4 -1
  20. data/docs/bundle_recipient.md +3 -0
  21. data/docs/bundle_registration.md +3 -0
  22. data/docs/clickwrap.md +4 -1
  23. data/docs/dns_record.md +4 -1
  24. data/docs/email_incoming_message.md +4 -1
  25. data/docs/email_log.md +4 -1
  26. data/docs/exavault_api_request_log.md +4 -1
  27. data/docs/external_event.md +4 -1
  28. data/docs/file_comment.md +4 -1
  29. data/docs/file_migration.md +1 -1
  30. data/docs/file_migration_log.md +4 -1
  31. data/docs/folder.md +2 -0
  32. data/docs/form_field_set.md +4 -1
  33. data/docs/ftp_action_log.md +4 -1
  34. data/docs/gpg_key.md +4 -1
  35. data/docs/group.md +4 -1
  36. data/docs/group_user.md +3 -0
  37. data/docs/history.md +25 -5
  38. data/docs/history_export_result.md +4 -0
  39. data/docs/inbox_recipient.md +3 -0
  40. data/docs/inbox_registration.md +3 -0
  41. data/docs/inbox_upload.md +3 -0
  42. data/docs/invoice.md +4 -1
  43. data/docs/ip_address.md +16 -4
  44. data/docs/lock.md +6 -3
  45. data/docs/message.md +3 -0
  46. data/docs/message_comment.md +3 -0
  47. data/docs/message_comment_reaction.md +3 -0
  48. data/docs/message_reaction.md +3 -0
  49. data/docs/notification.md +4 -1
  50. data/docs/payment.md +4 -1
  51. data/docs/permission.md +3 -0
  52. data/docs/priority.md +4 -1
  53. data/docs/project.md +4 -1
  54. data/docs/public_hosting_request_log.md +4 -1
  55. data/docs/public_key.md +4 -1
  56. data/docs/remote_bandwidth_snapshot.md +4 -1
  57. data/docs/remote_server.md +4 -1
  58. data/docs/request.md +6 -0
  59. data/docs/settings_change.md +4 -1
  60. data/docs/sftp_action_log.md +4 -1
  61. data/docs/sftp_host_key.md +4 -1
  62. data/docs/share_group.md +4 -1
  63. data/docs/site.md +4 -0
  64. data/docs/snapshot.md +4 -1
  65. data/docs/sso_strategy.md +5 -2
  66. data/docs/sync_log.md +4 -1
  67. data/docs/usage_daily_snapshot.md +4 -1
  68. data/docs/usage_snapshot.md +4 -1
  69. data/docs/user.md +8 -5
  70. data/docs/user_cipher_use.md +4 -1
  71. data/docs/user_request.md +4 -1
  72. data/docs/web_dav_action_log.md +4 -1
  73. data/lib/files.com/models/action_notification_export_result.rb +4 -0
  74. data/lib/files.com/models/api_key.rb +15 -0
  75. data/lib/files.com/models/api_request_log.rb +4 -0
  76. data/lib/files.com/models/app.rb +4 -0
  77. data/lib/files.com/models/as2_incoming_message.rb +4 -0
  78. data/lib/files.com/models/as2_outgoing_message.rb +4 -0
  79. data/lib/files.com/models/as2_partner.rb +68 -34
  80. data/lib/files.com/models/as2_station.rb +4 -0
  81. data/lib/files.com/models/automation.rb +25 -4
  82. data/lib/files.com/models/automation_log.rb +4 -0
  83. data/lib/files.com/models/automation_run.rb +4 -0
  84. data/lib/files.com/models/bandwidth_snapshot.rb +4 -0
  85. data/lib/files.com/models/behavior.rb +32 -25
  86. data/lib/files.com/models/bundle.rb +5 -4
  87. data/lib/files.com/models/bundle_action.rb +4 -0
  88. data/lib/files.com/models/bundle_download.rb +4 -0
  89. data/lib/files.com/models/bundle_notification.rb +4 -0
  90. data/lib/files.com/models/bundle_recipient.rb +4 -0
  91. data/lib/files.com/models/bundle_registration.rb +4 -0
  92. data/lib/files.com/models/clickwrap.rb +4 -0
  93. data/lib/files.com/models/dns_record.rb +4 -0
  94. data/lib/files.com/models/email_incoming_message.rb +4 -0
  95. data/lib/files.com/models/email_log.rb +4 -0
  96. data/lib/files.com/models/exavault_api_request_log.rb +4 -0
  97. data/lib/files.com/models/external_event.rb +4 -0
  98. data/lib/files.com/models/file_comment.rb +4 -0
  99. data/lib/files.com/models/file_migration.rb +1 -1
  100. data/lib/files.com/models/file_migration_log.rb +4 -0
  101. data/lib/files.com/models/folder.rb +2 -0
  102. data/lib/files.com/models/form_field_set.rb +4 -0
  103. data/lib/files.com/models/ftp_action_log.rb +4 -0
  104. data/lib/files.com/models/gpg_key.rb +4 -0
  105. data/lib/files.com/models/group.rb +4 -0
  106. data/lib/files.com/models/group_user.rb +4 -0
  107. data/lib/files.com/models/history.rb +20 -0
  108. data/lib/files.com/models/history_export_result.rb +4 -0
  109. data/lib/files.com/models/inbox_recipient.rb +4 -0
  110. data/lib/files.com/models/inbox_registration.rb +4 -0
  111. data/lib/files.com/models/inbox_upload.rb +4 -0
  112. data/lib/files.com/models/invoice.rb +4 -0
  113. data/lib/files.com/models/ip_address.rb +16 -0
  114. data/lib/files.com/models/lock.rb +7 -3
  115. data/lib/files.com/models/message.rb +4 -0
  116. data/lib/files.com/models/message_comment.rb +4 -0
  117. data/lib/files.com/models/message_comment_reaction.rb +4 -0
  118. data/lib/files.com/models/message_reaction.rb +4 -0
  119. data/lib/files.com/models/notification.rb +5 -1
  120. data/lib/files.com/models/payment.rb +4 -0
  121. data/lib/files.com/models/permission.rb +4 -0
  122. data/lib/files.com/models/priority.rb +4 -0
  123. data/lib/files.com/models/project.rb +4 -0
  124. data/lib/files.com/models/public_hosting_request_log.rb +4 -0
  125. data/lib/files.com/models/public_key.rb +4 -0
  126. data/lib/files.com/models/remote_bandwidth_snapshot.rb +4 -0
  127. data/lib/files.com/models/remote_server.rb +4 -0
  128. data/lib/files.com/models/request.rb +8 -0
  129. data/lib/files.com/models/settings_change.rb +4 -0
  130. data/lib/files.com/models/sftp_action_log.rb +4 -0
  131. data/lib/files.com/models/sftp_host_key.rb +4 -0
  132. data/lib/files.com/models/share_group.rb +4 -0
  133. data/lib/files.com/models/site.rb +6 -0
  134. data/lib/files.com/models/snapshot.rb +4 -0
  135. data/lib/files.com/models/sso_strategy.rb +5 -1
  136. data/lib/files.com/models/sync_log.rb +4 -0
  137. data/lib/files.com/models/usage_daily_snapshot.rb +4 -0
  138. data/lib/files.com/models/usage_snapshot.rb +4 -0
  139. data/lib/files.com/models/user.rb +8 -4
  140. data/lib/files.com/models/user_cipher_use.rb +4 -0
  141. data/lib/files.com/models/user_request.rb +4 -0
  142. data/lib/files.com/models/web_dav_action_log.rb +4 -0
  143. data/lib/files.com/version.rb +1 -1
  144. metadata +2 -2
@@ -80,6 +80,8 @@ module Files
80
80
  # display - string - Display format. Leave blank or set to `full` or `parent`.
81
81
  # 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.
82
82
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
83
+ # action - string
84
+ # page - int64
83
85
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[user_id]=desc`). Valid fields are `user_id` and `created_at`.
84
86
  # path (required) - string - Path to operate on.
85
87
  def self.list_for_file(path, params = {}, options = {})
@@ -90,6 +92,8 @@ module Files
90
92
  raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
91
93
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
92
94
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
95
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
96
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
93
97
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
94
98
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
95
99
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
@@ -105,6 +109,8 @@ module Files
105
109
  # display - string - Display format. Leave blank or set to `full` or `parent`.
106
110
  # 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.
107
111
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
112
+ # action - string
113
+ # page - int64
108
114
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[user_id]=desc`). Valid fields are `user_id` and `created_at`.
109
115
  # path (required) - string - Path to operate on.
110
116
  def self.list_for_folder(path, params = {}, options = {})
@@ -115,6 +121,8 @@ module Files
115
121
  raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
116
122
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
117
123
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
124
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
125
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
118
126
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
119
127
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
120
128
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
@@ -130,6 +138,8 @@ module Files
130
138
  # display - string - Display format. Leave blank or set to `full` or `parent`.
131
139
  # 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.
132
140
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
141
+ # action - string
142
+ # page - int64
133
143
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[user_id]=desc`). Valid fields are `user_id` and `created_at`.
134
144
  # user_id (required) - int64 - User ID.
135
145
  def self.list_for_user(user_id, params = {}, options = {})
@@ -140,6 +150,8 @@ module Files
140
150
  raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
141
151
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
142
152
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
153
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
154
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
143
155
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
144
156
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
145
157
  raise MissingParameterError.new("Parameter missing: user_id") unless params[:user_id]
@@ -155,6 +167,8 @@ module Files
155
167
  # display - string - Display format. Leave blank or set to `full` or `parent`.
156
168
  # 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.
157
169
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
170
+ # action - string
171
+ # page - int64
158
172
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[user_id]=desc`). Valid fields are `user_id` and `created_at`.
159
173
  def self.list_logins(params = {}, options = {})
160
174
  raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
@@ -162,6 +176,8 @@ module Files
162
176
  raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
163
177
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
164
178
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
179
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
180
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
165
181
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
166
182
 
167
183
  List.new(Action, params) do
@@ -175,6 +191,8 @@ module Files
175
191
  # display - string - Display format. Leave blank or set to `full` or `parent`.
176
192
  # 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.
177
193
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
194
+ # action - string
195
+ # page - int64
178
196
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[path]=desc`). Valid fields are `path`, `folder`, `user_id` or `created_at`.
179
197
  # 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
198
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
@@ -184,6 +202,8 @@ module Files
184
202
  raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
185
203
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
186
204
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
205
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
206
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
187
207
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
188
208
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
189
209
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
@@ -138,11 +138,15 @@ module Files
138
138
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
139
139
  # 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.
140
140
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
141
+ # action - string
142
+ # page - int64
141
143
  # history_export_id (required) - int64 - ID of the associated history export.
142
144
  def self.list(params = {}, options = {})
143
145
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
144
146
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
145
147
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
148
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
149
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
146
150
  raise InvalidParameterError.new("Bad parameter: history_export_id must be an Integer") if params[:history_export_id] and !params[:history_export_id].is_a?(Integer)
147
151
  raise MissingParameterError.new("Parameter missing: history_export_id") unless params[:history_export_id]
148
152
 
@@ -86,12 +86,16 @@ module Files
86
86
  # Parameters:
87
87
  # 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.
88
88
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
89
+ # action - string
90
+ # page - int64
89
91
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[has_registrations]=desc`). Valid fields are `has_registrations`.
90
92
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
91
93
  # inbox_id (required) - int64 - List recipients for the inbox with this ID.
92
94
  def self.list(params = {}, options = {})
93
95
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
94
96
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
97
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
98
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
95
99
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
96
100
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
97
101
  raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
@@ -72,10 +72,14 @@ module Files
72
72
  # Parameters:
73
73
  # 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.
74
74
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
75
+ # action - string
76
+ # page - int64
75
77
  # folder_behavior_id - int64 - ID of the associated Inbox.
76
78
  def self.list(params = {}, options = {})
77
79
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
78
80
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
81
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
82
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
79
83
  raise InvalidParameterError.new("Bad parameter: folder_behavior_id must be an Integer") if params[:folder_behavior_id] and !params[:folder_behavior_id].is_a?(Integer)
80
84
 
81
85
  List.new(InboxRegistration, params) do
@@ -27,6 +27,8 @@ module Files
27
27
  # Parameters:
28
28
  # 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.
29
29
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
30
+ # action - string
31
+ # page - int64
30
32
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at`.
31
33
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
32
34
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
@@ -38,6 +40,8 @@ module Files
38
40
  def self.list(params = {}, options = {})
39
41
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
40
42
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
43
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
44
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
41
45
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
42
46
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
43
47
  raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
@@ -77,9 +77,13 @@ module Files
77
77
  # Parameters:
78
78
  # 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.
79
79
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
80
+ # action - string
81
+ # page - int64
80
82
  def self.list(params = {}, options = {})
81
83
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
82
84
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
85
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
86
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
83
87
 
84
88
  List.new(AccountLineItem, params) do
85
89
  Api.send_request("/invoices", :get, params, options)
@@ -32,9 +32,13 @@ module Files
32
32
  # Parameters:
33
33
  # 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.
34
34
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
35
+ # action - string
36
+ # page - int64
35
37
  def self.list(params = {}, options = {})
36
38
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
37
39
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
40
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
41
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
38
42
 
39
43
  List.new(IpAddress, params) do
40
44
  Api.send_request("/ip_addresses", :get, params, options)
@@ -48,9 +52,13 @@ module Files
48
52
  # Parameters:
49
53
  # 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.
50
54
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
55
+ # action - string
56
+ # page - int64
51
57
  def self.get_smartfile_reserved(params = {}, options = {})
52
58
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
53
59
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
60
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
61
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
54
62
 
55
63
  List.new(PublicIpAddress, params) do
56
64
  Api.send_request("/ip_addresses/smartfile-reserved", :get, params, options)
@@ -60,9 +68,13 @@ module Files
60
68
  # Parameters:
61
69
  # 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.
62
70
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
71
+ # action - string
72
+ # page - int64
63
73
  def self.get_exavault_reserved(params = {}, options = {})
64
74
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
65
75
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
76
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
77
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
66
78
 
67
79
  List.new(PublicIpAddress, params) do
68
80
  Api.send_request("/ip_addresses/exavault-reserved", :get, params, options)
@@ -72,9 +84,13 @@ module Files
72
84
  # Parameters:
73
85
  # 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.
74
86
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
87
+ # action - string
88
+ # page - int64
75
89
  def self.get_reserved(params = {}, options = {})
76
90
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
77
91
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
92
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
93
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
78
94
 
79
95
  List.new(PublicIpAddress, params) do
80
96
  Api.send_request("/ip_addresses/reserved", :get, params, options)
@@ -27,7 +27,7 @@ module Files
27
27
  @attributes[:timeout] = value
28
28
  end
29
29
 
30
- # string - DEPRECATED: Lock depth
30
+ # string
31
31
  def depth
32
32
  @attributes[:depth]
33
33
  end
@@ -54,7 +54,7 @@ module Files
54
54
  @attributes[:owner] = value
55
55
  end
56
56
 
57
- # string - DEPRECATED: Lock scope
57
+ # string
58
58
  def scope
59
59
  @attributes[:scope]
60
60
  end
@@ -81,7 +81,7 @@ module Files
81
81
  @attributes[:token] = value
82
82
  end
83
83
 
84
- # string - DEPRECATED: Lock type
84
+ # string
85
85
  def type
86
86
  @attributes[:type]
87
87
  end
@@ -145,6 +145,8 @@ module Files
145
145
  # Parameters:
146
146
  # 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.
147
147
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
148
+ # action - string
149
+ # page - int64
148
150
  # path (required) - string - Path to operate on.
149
151
  # include_children - boolean - Include locks from children objects?
150
152
  def self.list_for(path, params = {}, options = {})
@@ -152,6 +154,8 @@ module Files
152
154
  params[:path] = path
153
155
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
154
156
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
157
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
158
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
155
159
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
156
160
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
157
161
 
@@ -113,11 +113,15 @@ module Files
113
113
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
114
114
  # 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.
115
115
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
116
+ # action - string
117
+ # page - int64
116
118
  # project_id (required) - int64 - Project for which to return messages.
117
119
  def self.list(params = {}, options = {})
118
120
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
119
121
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
120
122
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
123
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
124
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
121
125
  raise InvalidParameterError.new("Bad parameter: project_id must be an Integer") if params[:project_id] and !params[:project_id].is_a?(Integer)
122
126
  raise MissingParameterError.new("Parameter missing: project_id") unless params[:project_id]
123
127
 
@@ -89,11 +89,15 @@ module Files
89
89
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
90
90
  # 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.
91
91
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
92
+ # action - string
93
+ # page - int64
92
94
  # message_id (required) - int64 - Message comment to return comments for.
93
95
  def self.list(params = {}, options = {})
94
96
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
95
97
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
96
98
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
99
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
100
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
97
101
  raise InvalidParameterError.new("Bad parameter: message_id must be an Integer") if params[:message_id] and !params[:message_id].is_a?(Integer)
98
102
  raise MissingParameterError.new("Parameter missing: message_id") unless params[:message_id]
99
103
 
@@ -66,11 +66,15 @@ module Files
66
66
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
67
67
  # 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.
68
68
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
69
+ # action - string
70
+ # page - int64
69
71
  # message_comment_id (required) - int64 - Message comment to return reactions for.
70
72
  def self.list(params = {}, options = {})
71
73
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
72
74
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
73
75
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
76
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
77
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
74
78
  raise InvalidParameterError.new("Bad parameter: message_comment_id must be an Integer") if params[:message_comment_id] and !params[:message_comment_id].is_a?(Integer)
75
79
  raise MissingParameterError.new("Parameter missing: message_comment_id") unless params[:message_comment_id]
76
80
 
@@ -66,11 +66,15 @@ module Files
66
66
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
67
67
  # 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.
68
68
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
69
+ # action - string
70
+ # page - int64
69
71
  # message_id (required) - int64 - Message to return reactions for.
70
72
  def self.list(params = {}, options = {})
71
73
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
72
74
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
73
75
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
76
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
77
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
74
78
  raise InvalidParameterError.new("Bad parameter: message_id must be an Integer") if params[:message_id] and !params[:message_id].is_a?(Integer)
75
79
  raise MissingParameterError.new("Parameter missing: message_id") unless params[:message_id]
76
80
 
@@ -263,9 +263,11 @@ module Files
263
263
  end
264
264
 
265
265
  # Parameters:
266
- # user_id - int64 - DEPRECATED: Show notifications for this User ID. Use `filter[user_id]` instead.
266
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
267
267
  # 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.
268
268
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
269
+ # action - string
270
+ # page - int64
269
271
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[path]=desc`). Valid fields are `path`, `user_id` or `group_id`.
270
272
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `user_id` or `group_id`.
271
273
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
@@ -276,6 +278,8 @@ module Files
276
278
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
277
279
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
278
280
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
281
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
282
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
279
283
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
280
284
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
281
285
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
@@ -77,9 +77,13 @@ module Files
77
77
  # Parameters:
78
78
  # 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.
79
79
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
80
+ # action - string
81
+ # page - int64
80
82
  def self.list(params = {}, options = {})
81
83
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
82
84
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
85
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
86
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
83
87
 
84
88
  List.new(AccountLineItem, params) do
85
89
  Api.send_request("/payments", :get, params, options)
@@ -110,6 +110,8 @@ module Files
110
110
  # Parameters:
111
111
  # 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.
112
112
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
113
+ # action - string
114
+ # page - int64
113
115
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[group_id]=desc`). Valid fields are `group_id`, `path`, `user_id` or `permission`.
114
116
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ user_id, path ]` or `[ user_id, group_id, path ]`.
115
117
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
@@ -120,6 +122,8 @@ module Files
120
122
  def self.list(params = {}, options = {})
121
123
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
122
124
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
125
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
126
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
123
127
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
124
128
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
125
129
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
@@ -22,12 +22,16 @@ module Files
22
22
  # Parameters:
23
23
  # 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.
24
24
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
25
+ # action - string
26
+ # page - int64
25
27
  # path (required) - string - The path to query for priorities
26
28
  def self.list(path, params = {}, options = {})
27
29
  params ||= {}
28
30
  params[:path] = path
29
31
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
30
32
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
33
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
34
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
31
35
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
32
36
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
33
37
 
@@ -70,9 +70,13 @@ module Files
70
70
  # Parameters:
71
71
  # 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.
72
72
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
73
+ # action - string
74
+ # page - int64
73
75
  def self.list(params = {}, options = {})
74
76
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
75
77
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
78
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
79
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
76
80
 
77
81
  List.new(Project, params) do
78
82
  Api.send_request("/projects", :get, params, options)
@@ -52,11 +52,15 @@ module Files
52
52
  # Parameters:
53
53
  # 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.
54
54
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
55
+ # action - string
56
+ # page - int64
55
57
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `path`, `remote_ip` or `success`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, path ]`, `[ start_date, remote_ip ]`, `[ start_date, success ]`, `[ end_date, path ]`, `[ end_date, remote_ip ]`, `[ end_date, success ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ remote_ip, success ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, remote_ip ]`, `[ start_date, end_date, success ]`, `[ start_date, path, remote_ip ]`, `[ start_date, path, success ]`, `[ start_date, remote_ip, success ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, success ]`, `[ end_date, remote_ip, success ]`, `[ path, remote_ip, success ]`, `[ start_date, end_date, path, remote_ip ]`, `[ start_date, end_date, path, success ]`, `[ start_date, end_date, remote_ip, success ]`, `[ start_date, path, remote_ip, success ]` or `[ end_date, path, remote_ip, success ]`.
56
58
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, path ]`, `[ start_date, remote_ip ]`, `[ start_date, success ]`, `[ end_date, path ]`, `[ end_date, remote_ip ]`, `[ end_date, success ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ remote_ip, success ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, remote_ip ]`, `[ start_date, end_date, success ]`, `[ start_date, path, remote_ip ]`, `[ start_date, path, success ]`, `[ start_date, remote_ip, success ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, success ]`, `[ end_date, remote_ip, success ]`, `[ path, remote_ip, success ]`, `[ start_date, end_date, path, remote_ip ]`, `[ start_date, end_date, path, success ]`, `[ start_date, end_date, remote_ip, success ]`, `[ start_date, path, remote_ip, success ]` or `[ end_date, path, remote_ip, success ]`.
57
59
  def self.list(params = {}, options = {})
58
60
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
59
61
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
62
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
63
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
60
64
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
61
65
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
62
66
 
@@ -121,10 +121,14 @@ module Files
121
121
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
122
122
  # 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.
123
123
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
124
+ # action - string
125
+ # page - int64
124
126
  def self.list(params = {}, options = {})
125
127
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
126
128
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
127
129
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
130
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
131
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
128
132
 
129
133
  List.new(PublicKey, params) do
130
134
  Api.send_request("/public_keys", :get, params, options)
@@ -37,6 +37,8 @@ module Files
37
37
  # Parameters:
38
38
  # 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.
39
39
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
40
+ # action - string
41
+ # page - int64
40
42
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[logged_at]=desc`). Valid fields are `logged_at`.
41
43
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
42
44
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
@@ -46,6 +48,8 @@ module Files
46
48
  def self.list(params = {}, options = {})
47
49
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
48
50
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
51
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
52
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
49
53
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
50
54
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
51
55
  raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
@@ -864,9 +864,13 @@ module Files
864
864
  # Parameters:
865
865
  # 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.
866
866
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
867
+ # action - string
868
+ # page - int64
867
869
  def self.list(params = {}, options = {})
868
870
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
869
871
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
872
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
873
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
870
874
 
871
875
  List.new(RemoteServer, params) do
872
876
  Api.send_request("/remote_servers", :get, params, options)
@@ -110,12 +110,16 @@ module Files
110
110
  # Parameters:
111
111
  # 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.
112
112
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
113
+ # action - string
114
+ # page - int64
113
115
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[destination]=desc`). Valid fields are `destination`.
114
116
  # mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
115
117
  # path - string - Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
116
118
  def self.list(params = {}, options = {})
117
119
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
118
120
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
121
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
122
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
119
123
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
120
124
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
121
125
 
@@ -131,6 +135,8 @@ module Files
131
135
  # Parameters:
132
136
  # 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.
133
137
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
138
+ # action - string
139
+ # page - int64
134
140
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[destination]=desc`). Valid fields are `destination`.
135
141
  # mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
136
142
  # path (required) - string - Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
@@ -139,6 +145,8 @@ module Files
139
145
  params[:path] = path
140
146
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
141
147
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
148
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
149
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
142
150
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
143
151
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
144
152
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
@@ -42,11 +42,15 @@ module Files
42
42
  # Parameters:
43
43
  # 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.
44
44
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
45
+ # action - string
46
+ # page - int64
45
47
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[api_key_id]=desc`). Valid fields are `api_key_id`, `created_at` or `user_id`.
46
48
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
47
49
  def self.list(params = {}, options = {})
48
50
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
49
51
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
52
+ raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
53
+ raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params[:page] and !params[:page].is_a?(Integer)
50
54
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
51
55
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
52
56