files.com 1.0.213 → 1.0.214
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/automation_run.md +7 -0
- data/lib/files.com/models/automation_run.rb +14 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 682d65badf2f2b5959e33732aea8568c7686419a82b901412e6c2167686d567a
|
4
|
+
data.tar.gz: eb56721186431afe8bcd29333fe61ccf4d4ab0812c713e7cb6fab8984237c865
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d43bd7d7c0af088126dc40bae4ddb9540f357832503f630ab94908dd2048ef9c79a0282df2ae7d02acdc6ffc2bb5254a8786bad238b48a19db5ee38cb76b3b1b
|
7
|
+
data.tar.gz: 4a653db334f7bfb293e13863fdf2159550bd691eb659def6cb751844dc247d9b0f562228e530f22e0eee49725dc9fcdf168fd8df60a650dfa32e04bffe1247e6
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.214
|
data/docs/automation_run.md
CHANGED
@@ -32,4 +32,11 @@ Files::AutomationRun.list(
|
|
32
32
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
33
33
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
34
34
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
35
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `status`.
|
36
|
+
* `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `status`.
|
37
|
+
* `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `status`.
|
38
|
+
* `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `status`.
|
39
|
+
* `filter_like` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `status`.
|
40
|
+
* `filter_lt` (object): If set, return records where the specifiied field is less than the supplied value. Valid fields are `status`.
|
41
|
+
* `filter_lteq` (object): If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `status`.
|
35
42
|
* `automation_id` (int64): Required - ID of the associated Automation.
|
@@ -28,11 +28,25 @@ module Files
|
|
28
28
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
29
29
|
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
30
30
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
31
|
+
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `status`.
|
32
|
+
# filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `status`.
|
33
|
+
# filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `status`.
|
34
|
+
# filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `status`.
|
35
|
+
# filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `status`.
|
36
|
+
# filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `status`.
|
37
|
+
# filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `status`.
|
31
38
|
# automation_id (required) - int64 - ID of the associated Automation.
|
32
39
|
def self.list(params = {}, options = {})
|
33
40
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
34
41
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
35
42
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
43
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params.dig(:sort_by) and !params.dig(:sort_by).is_a?(Hash)
|
44
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params.dig(:filter) and !params.dig(:filter).is_a?(Hash)
|
45
|
+
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params.dig(:filter_gt) and !params.dig(:filter_gt).is_a?(Hash)
|
46
|
+
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params.dig(:filter_gteq) and !params.dig(:filter_gteq).is_a?(Hash)
|
47
|
+
raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params.dig(:filter_like) and !params.dig(:filter_like).is_a?(Hash)
|
48
|
+
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params.dig(:filter_lt) and !params.dig(:filter_lt).is_a?(Hash)
|
49
|
+
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params.dig(:filter_lteq) and !params.dig(:filter_lteq).is_a?(Hash)
|
36
50
|
raise InvalidParameterError.new("Bad parameter: automation_id must be an Integer") if params.dig(:automation_id) and !params.dig(:automation_id).is_a?(Integer)
|
37
51
|
raise MissingParameterError.new("Parameter missing: automation_id") unless params.dig(:automation_id)
|
38
52
|
|