smplkit 3.0.106 → 3.0.108

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3b8dc995421893ac031513a7fbb1f0005a5180314216cf5b8159e60d76d3424
4
- data.tar.gz: 1cce423bb15b75b9e94157d7669a3675489a0c6bf7ab996011648d56a076d88d
3
+ metadata.gz: 47685fa09e972b27d7b8adcdf114e76df9c499d35b150b83699656bc5ea06211
4
+ data.tar.gz: b5a1c2f7d36f7b4515028a11981076cb9e3c301492d63f8ab64b2cf47be661a8
5
5
  SHA512:
6
- metadata.gz: 6d7fcf01e05a2440c1f6bba6c0916ba4bdbaf2af78308289a54ee99aea27f8bc6055ae3c561f3930536bb983cb372b9a80751c62288114b4afa6e4951598afe6
7
- data.tar.gz: 0b1e714e296bf9e01915185f0b1a2a79108c20503590862e2215647bfd4a782bb254d6278f8bfa233651716d1e1f66bf855498fa02ad60ab9bde1efbed4e0bbd
6
+ metadata.gz: a59fe2640fc510e199f2b113c5626d4c9393db1caf3b29c7f12cde7a8d1cec877375712a87a26d510462b3d01fb45802551504bfd086b08c79af68b579f44a2f
7
+ data.tar.gz: 50a342dd528444f3fa4004e2007cfe891038746a3ec8ffe1d24b3ca7450be45b1ebb1d2f60236111c264cb34ba1e1a6152068234c83d56d436a32747a18b1a49
@@ -215,6 +215,7 @@ module SmplkitGeneratedClient::Jobs
215
215
  # List this account's jobs, newest first.
216
216
  # @param [Hash] opts the optional parameters
217
217
  # @option opts [Boolean] :filter_enabled
218
+ # @option opts [Boolean] :filter_recurring
218
219
  # @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error. (default to 1)
219
220
  # @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error. (default to 1000)
220
221
  # @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`. (default to false)
@@ -228,6 +229,7 @@ module SmplkitGeneratedClient::Jobs
228
229
  # List this account's jobs, newest first.
229
230
  # @param [Hash] opts the optional parameters
230
231
  # @option opts [Boolean] :filter_enabled
232
+ # @option opts [Boolean] :filter_recurring
231
233
  # @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error. (default to 1)
232
234
  # @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error. (default to 1000)
233
235
  # @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`. (default to false)
@@ -242,6 +244,7 @@ module SmplkitGeneratedClient::Jobs
242
244
  # query parameters
243
245
  query_params = opts[:query_params] || {}
244
246
  query_params[:'filter[enabled]'] = opts[:'filter_enabled'] if !opts[:'filter_enabled'].nil?
247
+ query_params[:'filter[recurring]'] = opts[:'filter_recurring'] if !opts[:'filter_recurring'].nil?
245
248
  query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
246
249
  query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
247
250
  query_params[:'meta[total]'] = opts[:'meta_total'] if !opts[:'meta_total'].nil?
@@ -40,6 +40,9 @@ module SmplkitGeneratedClient::Jobs
40
40
  # The next scheduled fire time. `null` once a one-off job has fired.
41
41
  attr_accessor :next_run_at
42
42
 
43
+ # Whether the job runs on a repeating schedule. `true` for a cron schedule; `false` for a one-off datetime or `now` schedule, which runs a single time. Derived from `schedule`.
44
+ attr_accessor :recurring
45
+
43
46
  # When the job was created.
44
47
  attr_accessor :created_at
45
48
 
@@ -85,6 +88,7 @@ module SmplkitGeneratedClient::Jobs
85
88
  :'configuration' => :'configuration',
86
89
  :'concurrency_policy' => :'concurrency_policy',
87
90
  :'next_run_at' => :'next_run_at',
91
+ :'recurring' => :'recurring',
88
92
  :'created_at' => :'created_at',
89
93
  :'updated_at' => :'updated_at',
90
94
  :'deleted_at' => :'deleted_at',
@@ -113,6 +117,7 @@ module SmplkitGeneratedClient::Jobs
113
117
  :'configuration' => :'JobHttpConfiguration',
114
118
  :'concurrency_policy' => :'String',
115
119
  :'next_run_at' => :'Time',
120
+ :'recurring' => :'Boolean',
116
121
  :'created_at' => :'Time',
117
122
  :'updated_at' => :'Time',
118
123
  :'deleted_at' => :'Time',
@@ -125,6 +130,7 @@ module SmplkitGeneratedClient::Jobs
125
130
  Set.new([
126
131
  :'description',
127
132
  :'next_run_at',
133
+ :'recurring',
128
134
  :'created_at',
129
135
  :'updated_at',
130
136
  :'deleted_at',
@@ -192,6 +198,10 @@ module SmplkitGeneratedClient::Jobs
192
198
  self.next_run_at = attributes[:'next_run_at']
193
199
  end
194
200
 
201
+ if attributes.key?(:'recurring')
202
+ self.recurring = attributes[:'recurring']
203
+ end
204
+
195
205
  if attributes.key?(:'created_at')
196
206
  self.created_at = attributes[:'created_at']
197
207
  end
@@ -339,6 +349,7 @@ module SmplkitGeneratedClient::Jobs
339
349
  configuration == o.configuration &&
340
350
  concurrency_policy == o.concurrency_policy &&
341
351
  next_run_at == o.next_run_at &&
352
+ recurring == o.recurring &&
342
353
  created_at == o.created_at &&
343
354
  updated_at == o.updated_at &&
344
355
  deleted_at == o.deleted_at &&
@@ -354,7 +365,7 @@ module SmplkitGeneratedClient::Jobs
354
365
  # Calculates hash code according to all attributes.
355
366
  # @return [Integer] Hash code
356
367
  def hash
357
- [name, description, enabled, type, schedule, configuration, concurrency_policy, next_run_at, created_at, updated_at, deleted_at, version].hash
368
+ [name, description, enabled, type, schedule, configuration, concurrency_policy, next_run_at, recurring, created_at, updated_at, deleted_at, version].hash
358
369
  end
359
370
 
360
371
  # Builds the object from hash
@@ -73,6 +73,7 @@ describe 'JobsApi' do
73
73
  # List this account's jobs, newest first.
74
74
  # @param [Hash] opts the optional parameters
75
75
  # @option opts [Boolean] :filter_enabled
76
+ # @option opts [Boolean] :filter_recurring
76
77
  # @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
77
78
  # @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
78
79
  # @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
@@ -83,6 +83,12 @@ describe SmplkitGeneratedClient::Jobs::Job do
83
83
  end
84
84
  end
85
85
 
86
+ describe 'test attribute "recurring"' do
87
+ it 'should work' do
88
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
89
+ end
90
+ end
91
+
86
92
  describe 'test attribute "created_at"' do
87
93
  it 'should work' do
88
94
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smplkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.106
4
+ version: 3.0.108
5
5
  platform: ruby
6
6
  authors:
7
7
  - Smpl Solutions LLC