files.com 1.0.125 → 1.0.126

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfa34129d6329335d7a9b4e2ba3cd49af79efd898a53c18b6b67e3db6c47d10c
4
- data.tar.gz: eebdf00c2b5b09259af307e379490a7aaa86adea23f9fbc7650dfd649e34eb1d
3
+ metadata.gz: 203e10058f232c82f9aab4122aa5d99e0d984cef6ddce45503703cf35dc3ad72
4
+ data.tar.gz: 8f84839cd7256c532669e0a2500fb5c7429b754822cab4675113919fdce1cabf
5
5
  SHA512:
6
- metadata.gz: d1054505c8630377faab11beb693421a42c382bc7513934da4e53ae4c670085aafa35c98eb0b840d90305beccf3bd9c800015953bc77ab6abc5eb89211ff5e4f
7
- data.tar.gz: 1c1d35d0bf0d4e85b66a7d3b56a09c2994d079b822fd479ff8fa0e08649255269b2093340a4f6f35a7959f1c6060cea9d9d429e4eeac4b94742c681179f4267d
6
+ metadata.gz: 5a3a384c546820836c47b8a58955a08d6c8b7e55a24b39ab083d76deada2c36e4929809dc3783cdac88bec003c77ae757d2c852bc60c6d9f445a617b7459b49d
7
+ data.tar.gz: 51392695363317328c9416d161412e8dd92eafbd2e149bcdba5eb28ef679a63916bd9c24a520831c2485af7026259a8ddec1fc8ed34fe1375145408a71618976
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.125
1
+ 1.0.126
@@ -6,22 +6,9 @@
6
6
  {
7
7
  "id": 1,
8
8
  "automation": "create_folder",
9
- "source": "",
10
- "destination": "",
11
- "destination_replace_from": "",
12
- "destination_replace_to": "",
9
+ "trigger": "realtime",
13
10
  "interval": "week",
14
11
  "next_process_on": "2020-01-01",
15
- "path": "",
16
- "realtime": true,
17
- "user_id": 1,
18
- "user_ids": [
19
-
20
- ],
21
- "group_ids": [
22
-
23
- ],
24
- "trigger": "realtime",
25
12
  "schedule": {
26
13
  "days_of_week": [
27
14
  0,
@@ -33,25 +20,36 @@
33
20
  "14:30"
34
21
  ],
35
22
  "time_zone": "Eastern Time (US & Canada)"
36
- }
23
+ },
24
+ "source": "",
25
+ "destination": "",
26
+ "destination_replace_from": "",
27
+ "destination_replace_to": "",
28
+ "path": "",
29
+ "user_id": 1,
30
+ "user_ids": [
31
+
32
+ ],
33
+ "group_ids": [
34
+
35
+ ]
37
36
  }
38
37
  ```
39
38
 
40
39
  * `id` (int64): Automation ID
41
40
  * `automation` (string): Automation type
41
+ * `trigger` (string): How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
42
+ * `interval` (string): If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
43
+ * `next_process_on` (string): If trigger is `daily`, date this automation will next run.
44
+ * `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
42
45
  * `source` (string): Source Path
43
46
  * `destination` (string): Destination Path
44
47
  * `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
45
48
  * `destination_replace_to` (string): If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
46
- * `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
47
- * `next_process_on` (string): Date this automation will next run.
48
49
  * `path` (string): Path on which this Automation runs. Supports globs. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
49
- * `realtime` (boolean): Does this automation run in real time? This is a read-only property based on automation type.
50
50
  * `user_id` (int64): User ID of the Automation's creator.
51
51
  * `user_ids` (array): IDs of Users for the Automation (i.e. who to Request File from)
52
52
  * `group_ids` (array): IDs of Groups for the Automation (i.e. who to Request File from)
53
- * `trigger` (string): How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
54
- * `schedule` (object): Custom schedule description for when the automation should be run.
55
53
 
56
54
 
57
55
  ---
@@ -27,6 +27,42 @@ module Files
27
27
  @attributes[:automation] = value
28
28
  end
29
29
 
30
+ # string - How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
31
+ def trigger
32
+ @attributes[:trigger]
33
+ end
34
+
35
+ def trigger=(value)
36
+ @attributes[:trigger] = value
37
+ end
38
+
39
+ # string - If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
40
+ def interval
41
+ @attributes[:interval]
42
+ end
43
+
44
+ def interval=(value)
45
+ @attributes[:interval] = value
46
+ end
47
+
48
+ # string - If trigger is `daily`, date this automation will next run.
49
+ def next_process_on
50
+ @attributes[:next_process_on]
51
+ end
52
+
53
+ def next_process_on=(value)
54
+ @attributes[:next_process_on] = value
55
+ end
56
+
57
+ # object - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
58
+ def schedule
59
+ @attributes[:schedule]
60
+ end
61
+
62
+ def schedule=(value)
63
+ @attributes[:schedule] = value
64
+ end
65
+
30
66
  # string - Source Path
31
67
  def source
32
68
  @attributes[:source]
@@ -63,24 +99,6 @@ module Files
63
99
  @attributes[:destination_replace_to] = value
64
100
  end
65
101
 
66
- # string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
67
- def interval
68
- @attributes[:interval]
69
- end
70
-
71
- def interval=(value)
72
- @attributes[:interval] = value
73
- end
74
-
75
- # string - Date this automation will next run.
76
- def next_process_on
77
- @attributes[:next_process_on]
78
- end
79
-
80
- def next_process_on=(value)
81
- @attributes[:next_process_on] = value
82
- end
83
-
84
102
  # string - Path on which this Automation runs. Supports globs. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
85
103
  def path
86
104
  @attributes[:path]
@@ -90,15 +108,6 @@ module Files
90
108
  @attributes[:path] = value
91
109
  end
92
110
 
93
- # boolean - Does this automation run in real time? This is a read-only property based on automation type.
94
- def realtime
95
- @attributes[:realtime]
96
- end
97
-
98
- def realtime=(value)
99
- @attributes[:realtime] = value
100
- end
101
-
102
111
  # int64 - User ID of the Automation's creator.
103
112
  def user_id
104
113
  @attributes[:user_id]
@@ -126,24 +135,6 @@ module Files
126
135
  @attributes[:group_ids] = value
127
136
  end
128
137
 
129
- # string - How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
130
- def trigger
131
- @attributes[:trigger]
132
- end
133
-
134
- def trigger=(value)
135
- @attributes[:trigger] = value
136
- end
137
-
138
- # object - Custom schedule description for when the automation should be run.
139
- def schedule
140
- @attributes[:schedule]
141
- end
142
-
143
- def schedule=(value)
144
- @attributes[:schedule] = value
145
- end
146
-
147
138
  # Parameters:
148
139
  # automation (required) - string - Automation type
149
140
  # source - string - Source Path
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.125
4
+ version: 1.0.126
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-19 00:00:00.000000000 Z
11
+ date: 2020-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable