lws 6.2.2.1 → 6.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/lws/apps/auth.rb +10 -108
- data/lib/lws/apps/corporate_website.rb +0 -60
- data/lib/lws/apps/digital_signage.rb +0 -384
- data/lib/lws/apps/generic.rb +20 -0
- data/lib/lws/apps/maps.rb +0 -36
- data/lib/lws/apps/presence.rb +0 -60
- data/lib/lws/apps/resource.rb +7 -35
- data/lib/lws/apps/ticket.rb +0 -63
- data/lib/lws/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19a64229c67667d2f4be7cc06ef40cdb06433cb71ccea6699dadc9c288ce0ab2
|
4
|
+
data.tar.gz: fe728933b84bd16634c2bff02b6633897708d28def2bd5c2d66e069bab0de5c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83a4ae6fa730a5039dcd360276c3c94e85d34b884f8ce16343ce7a18ea65e3c583efc1574610cdd5152d8a1e0e4c8a6cc3e3818b0aa3811f55769478915d1833
|
7
|
+
data.tar.gz: 432272f9aae23ca1925a3ac1e2546146dcab56391808bcfd6fe625a6efb996b0449c72bf7fdce962b663e87007b26f97afc7cccdf346c413cc5fb0559f99f983
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,13 @@ Up until v6.1.0, we used the standard Gem version numbering starting at v0.0.1.
|
|
4
4
|
From v6.1.0 on the version will follow the API version of LWS in the major/minor
|
5
5
|
part of te version.
|
6
6
|
|
7
|
+
## v6.2.3
|
8
|
+
|
9
|
+
* Move common attributes to the generic model and add `url`/`url_html` (#12004)
|
10
|
+
* Add password expiration attributes to the `Company` and `User` model of
|
11
|
+
the Auth app
|
12
|
+
* Add new attributes to the `Collection` model of the Resource app
|
13
|
+
|
7
14
|
## v6.2.2.1
|
8
15
|
|
9
16
|
* Add missing dependency on net-http-persistent in the gemspec file
|
data/lib/lws/apps/auth.rb
CHANGED
@@ -40,10 +40,6 @@ module LWS::Auth
|
|
40
40
|
class Account < LWS::Generic::Model
|
41
41
|
use_api LWS::Auth.api
|
42
42
|
|
43
|
-
# @!attribute id [r]
|
44
|
-
# @return [Integer] the (unique) ID of the account
|
45
|
-
attribute :id
|
46
|
-
|
47
43
|
# @!attribute avatar_url
|
48
44
|
# @return [String] the avatar URL of the account
|
49
45
|
attribute :avatar_url
|
@@ -87,24 +83,12 @@ module LWS::Auth
|
|
87
83
|
# @!attribute users
|
88
84
|
# @return [Array<User>] the users that are assigned to the account
|
89
85
|
has_many :users
|
90
|
-
|
91
|
-
# @!attribute created_at [r]
|
92
|
-
# @return [String] the timestamp of when the account was created
|
93
|
-
attribute :created_at
|
94
|
-
|
95
|
-
# @!attribute updated_at [r]
|
96
|
-
# @return [String] the timestamp of when the account was last updated
|
97
|
-
attribute :updated_at
|
98
86
|
end
|
99
87
|
|
100
88
|
# = The app class
|
101
89
|
class App < LWS::Generic::Model
|
102
90
|
use_api LWS::Auth.api
|
103
91
|
|
104
|
-
# @!attribute id [r]
|
105
|
-
# @return [Integer] the (unique) ID of the account
|
106
|
-
attribute :id
|
107
|
-
|
108
92
|
# @!attribute accounts
|
109
93
|
# @return [Array<Account>] the accounts using the app
|
110
94
|
has_many :accounts
|
@@ -146,24 +130,12 @@ module LWS::Auth
|
|
146
130
|
# @!attribute url
|
147
131
|
# @return [String] the web location (URL) of the app
|
148
132
|
attribute :url
|
149
|
-
|
150
|
-
# @!attribute created_at [r]
|
151
|
-
# @return [String] the timestamp of when the app was created
|
152
|
-
attribute :created_at
|
153
|
-
|
154
|
-
# @!attribute updated_at [r]
|
155
|
-
# @return [String] the timestamp of when the app was last updated
|
156
|
-
attribute :updated_at
|
157
133
|
end
|
158
134
|
|
159
135
|
# = The company class
|
160
136
|
class Company < LWS::Generic::Model
|
161
137
|
use_api LWS::Auth.api
|
162
138
|
|
163
|
-
# @!attribute id [r]
|
164
|
-
# @return [Integer] the (unique) ID of the company
|
165
|
-
attribute :id
|
166
|
-
|
167
139
|
# @!attribute accounts
|
168
140
|
# @return [Array<Account>] the accounts that are assigned to the company
|
169
141
|
has_many :accounts
|
@@ -234,6 +206,11 @@ module LWS::Auth
|
|
234
206
|
# @return [Integer, nil] the ID of the parenty company
|
235
207
|
attribute :parent_id
|
236
208
|
|
209
|
+
# @attribute password_expire
|
210
|
+
# @return [Integer] the number of days a password is valid for
|
211
|
+
# accounts of this company (0 is disabled)
|
212
|
+
attribute :password_expire
|
213
|
+
|
237
214
|
# @!attribute telephone_number
|
238
215
|
# @return [String] the telephone number of the company
|
239
216
|
# (at least 2 characters long)
|
@@ -252,14 +229,6 @@ module LWS::Auth
|
|
252
229
|
# @return [String] the zip code of the company
|
253
230
|
# (at least 2 characters long)
|
254
231
|
attribute :zip_code
|
255
|
-
|
256
|
-
# @!attribute created_at [r]
|
257
|
-
# @return [String] the timestamp of when the company was created
|
258
|
-
attribute :created_at
|
259
|
-
|
260
|
-
# @!attribute updated_at [r]
|
261
|
-
# @return [String] the timestamp of when the company was last updated
|
262
|
-
attribute :updated_at
|
263
232
|
end
|
264
233
|
|
265
234
|
# = The contract class
|
@@ -267,10 +236,6 @@ module LWS::Auth
|
|
267
236
|
use_api LWS::Auth.api
|
268
237
|
uri "companies/:company_id/contracts(/:id)"
|
269
238
|
|
270
|
-
# @!attribute id [r]
|
271
|
-
# @return [Integer] the (unique) ID of the contract
|
272
|
-
attribute :id
|
273
|
-
|
274
239
|
# @!attribute company
|
275
240
|
# @return [Company] the company that has the contract
|
276
241
|
belongs_to :company
|
@@ -286,14 +251,6 @@ module LWS::Auth
|
|
286
251
|
# @!attribute start_date
|
287
252
|
# @return [String] the start date of the contract (date/time string)
|
288
253
|
attribute :start_date
|
289
|
-
|
290
|
-
# @!attribute created_at [r]
|
291
|
-
# @return [String] the timestamp of when the contract was created
|
292
|
-
attribute :created_at
|
293
|
-
|
294
|
-
# @!attribute updated_at [r]
|
295
|
-
# @return [String] the timestamp of when the contract was last updated
|
296
|
-
attribute :updated_at
|
297
254
|
end
|
298
255
|
|
299
256
|
# = The device class
|
@@ -304,10 +261,6 @@ module LWS::Auth
|
|
304
261
|
use_api LWS::Auth.api
|
305
262
|
uri "accounts/:account_id/devices(/:id)"
|
306
263
|
|
307
|
-
# @!attribute id [r]
|
308
|
-
# @return [Integer] the (unique) ID of the device
|
309
|
-
attribute :id
|
310
|
-
|
311
264
|
# @!attribute account
|
312
265
|
# @return [Account] the account that the device belongs to
|
313
266
|
belongs_to :account
|
@@ -323,14 +276,6 @@ module LWS::Auth
|
|
323
276
|
# @!attribute tokens
|
324
277
|
# @return [Array<Token>] the tokens available for the device
|
325
278
|
attribute :tokens
|
326
|
-
|
327
|
-
# @!attribute created_at [r]
|
328
|
-
# @return [String] the timestamp of when the device was created
|
329
|
-
attribute :created_at
|
330
|
-
|
331
|
-
# @!attribute updated_at [r]
|
332
|
-
# @return [String] the timestamp of when the device was last updated
|
333
|
-
attribute :updated_at
|
334
279
|
end
|
335
280
|
|
336
281
|
# = The license class
|
@@ -338,10 +283,6 @@ module LWS::Auth
|
|
338
283
|
use_api LWS::Auth.api
|
339
284
|
uri "companies/:company_id/licenses(/:id)"
|
340
285
|
|
341
|
-
# @!attribute id [r]
|
342
|
-
# @return [Integer] the (unique) ID of the license
|
343
|
-
attribute :id
|
344
|
-
|
345
286
|
# @!attribute app
|
346
287
|
# @return [App] the app the license is for
|
347
288
|
belongs_to :app
|
@@ -381,14 +322,6 @@ module LWS::Auth
|
|
381
322
|
# @!attribute sku
|
382
323
|
# @return [String] the stock-keeping unit of the license
|
383
324
|
attribute :sku
|
384
|
-
|
385
|
-
# @!attribute created_at [r]
|
386
|
-
# @return [String] the timestamp of when the license was created
|
387
|
-
attribute :created_at
|
388
|
-
|
389
|
-
# @!attribute updated_at [r]
|
390
|
-
# @return [String] the timestamp of when the license was last updated
|
391
|
-
attribute :updated_at
|
392
325
|
end
|
393
326
|
|
394
327
|
|
@@ -396,10 +329,6 @@ module LWS::Auth
|
|
396
329
|
class Token < LWS::Generic::Model
|
397
330
|
use_api LWS::Auth.api
|
398
331
|
|
399
|
-
# @!attribute id [r]
|
400
|
-
# @return [Integer] the (unique) ID of the token
|
401
|
-
attribute :id
|
402
|
-
|
403
332
|
# @!attribute account
|
404
333
|
# @return [Account] the account the token belongs to (through either
|
405
334
|
# the user or the device)
|
@@ -456,14 +385,6 @@ module LWS::Auth
|
|
456
385
|
# @!attribute user_id
|
457
386
|
# @return [Integer, nil] the ID of the user the token belongs to
|
458
387
|
attribute :user_id
|
459
|
-
|
460
|
-
# @!attribute created_at [r]
|
461
|
-
# @return [String] the timestamp of when the token was created
|
462
|
-
attribute :created_at
|
463
|
-
|
464
|
-
# @!attribute updated_at [r]
|
465
|
-
# @return [String] the timestamp of when the token was last updated
|
466
|
-
attribute :updated_at
|
467
388
|
end
|
468
389
|
|
469
390
|
# = The usage report class
|
@@ -471,10 +392,6 @@ module LWS::Auth
|
|
471
392
|
use_api LWS::Auth.api
|
472
393
|
uri "companies/:company_id/reports(/:id)"
|
473
394
|
|
474
|
-
# @!attribute id [r]
|
475
|
-
# @return [Integer] the (unique) ID of the usage report
|
476
|
-
attribute :id
|
477
|
-
|
478
395
|
# @!attribute company
|
479
396
|
# @return [Company] the company that the usage report is for
|
480
397
|
belongs_to :company
|
@@ -487,14 +404,6 @@ module LWS::Auth
|
|
487
404
|
# @return [String, nil] the (partial) HTML document of the usage report.
|
488
405
|
# (The value is +nil+ until the report has been successfully generated.)
|
489
406
|
attribute :object
|
490
|
-
|
491
|
-
# @!attribute created_at [r]
|
492
|
-
# @return [String] the timestamp of when the usage report was created
|
493
|
-
attribute :created_at
|
494
|
-
|
495
|
-
# @!attribute updated_at [r]
|
496
|
-
# @return [String] the timestamp of when the usage report was last updated
|
497
|
-
attribute :updated_at
|
498
407
|
end
|
499
408
|
|
500
409
|
# = The user class
|
@@ -505,10 +414,6 @@ module LWS::Auth
|
|
505
414
|
use_api LWS::Auth.api
|
506
415
|
uri "accounts/:account_id/users(/:id)"
|
507
416
|
|
508
|
-
# @!attribute id [r]
|
509
|
-
# @return [Integer] the (unique) ID of the user
|
510
|
-
attribute :id
|
511
|
-
|
512
417
|
# @!attribute account
|
513
418
|
# @return [Account] the account that the user belongs to
|
514
419
|
belongs_to :account
|
@@ -546,18 +451,15 @@ module LWS::Auth
|
|
546
451
|
# is not +"lws"+.)
|
547
452
|
attribute :password_digest
|
548
453
|
|
454
|
+
# @attribute password_expires_at
|
455
|
+
# @return [String, nil] the timestamp on which the password of the user
|
456
|
+
# expires.
|
457
|
+
attribute :password_expires_at
|
458
|
+
|
549
459
|
# @!attribute use_for_communication
|
550
460
|
# @return [Boolean] whether the email address (see {#email}) of
|
551
461
|
# the user is/will be used to send messages/announcements
|
552
462
|
attribute :use_for_communication
|
553
|
-
|
554
|
-
# @!attribute created_at [r]
|
555
|
-
# @return [String] the timestamp of when the user was created
|
556
|
-
attribute :created_at
|
557
|
-
|
558
|
-
# @!attribute updated_at [r]
|
559
|
-
# @return [String] the timestamp of when the user was last updated
|
560
|
-
attribute :updated_at
|
561
463
|
end
|
562
464
|
|
563
465
|
end
|
@@ -40,10 +40,6 @@ module LWS::CorporateWebsite
|
|
40
40
|
use_api LWS::CorporateWebsite.api
|
41
41
|
uri "pages/:page_id/articles(/:id)"
|
42
42
|
|
43
|
-
# @!attribute id [r]
|
44
|
-
# @return [Integer] the (unique) ID of the article
|
45
|
-
attribute :id
|
46
|
-
|
47
43
|
# @!attribute body
|
48
44
|
# @return [String, nil] the body of the article
|
49
45
|
attribute :body
|
@@ -100,24 +96,12 @@ module LWS::CorporateWebsite
|
|
100
96
|
# @!attribute title
|
101
97
|
# @return [String, nil] the title of the article
|
102
98
|
attribute :title
|
103
|
-
|
104
|
-
# @!attribute created_at [r]
|
105
|
-
# @return [String] the timestamp of when the article was created
|
106
|
-
attribute :created_at
|
107
|
-
|
108
|
-
# @!attribute updated_at [r]
|
109
|
-
# @return [String] the timestamp of when the article was last updated
|
110
|
-
attribute :updated_at
|
111
99
|
end
|
112
100
|
|
113
101
|
# = The opening hours class
|
114
102
|
class OfficeTime < LWS::Generic::Model
|
115
103
|
use_api LWS::CorporateWebsite.api
|
116
104
|
|
117
|
-
# @!attribute id [r]
|
118
|
-
# @return [Integer] the (unique) ID of the office time
|
119
|
-
attribute :id
|
120
|
-
|
121
105
|
# @!attribute announce
|
122
106
|
# @return [String, nil] the date/time when the special office times
|
123
107
|
# need to be announced on
|
@@ -142,24 +126,12 @@ module LWS::CorporateWebsite
|
|
142
126
|
# @!attribute start
|
143
127
|
# @return [String] the start date/time of the special office times
|
144
128
|
attribute :start
|
145
|
-
|
146
|
-
# @!attribute created_at [r]
|
147
|
-
# @return [String] the timestamp of when the office time was created
|
148
|
-
attribute :created_at
|
149
|
-
|
150
|
-
# @!attribute updated_at [r]
|
151
|
-
# @return [String] the timestamp of when the office time was last updated
|
152
|
-
attribute :updated_at
|
153
129
|
end
|
154
130
|
|
155
131
|
# = The page class
|
156
132
|
class Page < LWS::Generic::Model
|
157
133
|
use_api LWS::CorporateWebsite.api
|
158
134
|
|
159
|
-
# @!attribute id [r]
|
160
|
-
# @return [Integer] the (unique) ID of the page
|
161
|
-
attribute :id
|
162
|
-
|
163
135
|
# @!attribute articles
|
164
136
|
# @return [Array<Article>] the articles that are part of the page
|
165
137
|
has_many :articles,
|
@@ -196,24 +168,12 @@ module LWS::CorporateWebsite
|
|
196
168
|
# @!attribute youtube_link
|
197
169
|
# @return [String, nil] the URL of a YouTube video used for the page
|
198
170
|
attribute :youtube_link
|
199
|
-
|
200
|
-
# @!attribute created_at [r]
|
201
|
-
# @return [String] the timestamp of when the page was created
|
202
|
-
attribute :created_at
|
203
|
-
|
204
|
-
# @!attribute updated_at [r]
|
205
|
-
# @return [String] the timestamp of when the page was last updated
|
206
|
-
attribute :updated_at
|
207
171
|
end
|
208
172
|
|
209
173
|
# = The social page class
|
210
174
|
class SocialPage < LWS::Generic::Model
|
211
175
|
use_api LWS::CorporateWebsite.api
|
212
176
|
|
213
|
-
# @!attribute id [r]
|
214
|
-
# @return [Integer] the (unique) ID of the social page
|
215
|
-
attribute :id
|
216
|
-
|
217
177
|
# @!attribute account
|
218
178
|
# @return [LWS::Auth::Account] the account used for posting the social page
|
219
179
|
belongs_to :account, class_name: "LWS::Auth::Account"
|
@@ -241,24 +201,12 @@ module LWS::CorporateWebsite
|
|
241
201
|
# @!attribute uid_type
|
242
202
|
# @return ["personal", "page"] the social page UID type
|
243
203
|
attribute :uid_type
|
244
|
-
|
245
|
-
# @!attribute created_at [r]
|
246
|
-
# @return [String] the timestamp of when the social page was created
|
247
|
-
attribute :created_at
|
248
|
-
|
249
|
-
# @!attribute updated_at [r]
|
250
|
-
# @return [String] the timestamp of when the social page was last updated
|
251
|
-
attribute :updated_at
|
252
204
|
end
|
253
205
|
|
254
206
|
# = The social post class
|
255
207
|
class SocialPost < LWS::Generic::Model
|
256
208
|
use_api LWS::CorporateWebsite.api
|
257
209
|
|
258
|
-
# @!attribute id [r]
|
259
|
-
# @return [Integer] the (unique) ID of the social post
|
260
|
-
attribute :id
|
261
|
-
|
262
210
|
# @!attribute article
|
263
211
|
# @return [Article] the article associated with the social post
|
264
212
|
belongs_to :article
|
@@ -286,13 +234,5 @@ module LWS::CorporateWebsite
|
|
286
234
|
# @!attribute title
|
287
235
|
# @return [String] the title of the social post
|
288
236
|
attribute :title
|
289
|
-
|
290
|
-
# @!attribute created_at [r]
|
291
|
-
# @return [String] the timestamp of when the social post was created
|
292
|
-
attribute :created_at
|
293
|
-
|
294
|
-
# @!attribute updated_at [r]
|
295
|
-
# @return [String] the timestamp of when the social post was last updated
|
296
|
-
attribute :updated_at
|
297
237
|
end
|
298
238
|
end
|
@@ -39,10 +39,6 @@ module LWS::DigitalSignage
|
|
39
39
|
class Channel < LWS::Generic::Model
|
40
40
|
use_api LWS::DigitalSignage.api
|
41
41
|
|
42
|
-
# @!attribute id [r]
|
43
|
-
# @return [Integer] the (unique) ID of the channel
|
44
|
-
attribute :id
|
45
|
-
|
46
42
|
# @!attribute bandwidth
|
47
43
|
# @return [Integer] the bandwidth limit for the channel (bytes per second)
|
48
44
|
attribute :bandwidth
|
@@ -124,14 +120,6 @@ module LWS::DigitalSignage
|
|
124
120
|
# @!attribute volume
|
125
121
|
# @return [Integer] the audio volume setting of the channel (percentage)
|
126
122
|
attribute :volume
|
127
|
-
|
128
|
-
# @!attribute created_at [r]
|
129
|
-
# @return [String] the timestamp of when the channel was created
|
130
|
-
attribute :created_at
|
131
|
-
|
132
|
-
# @!attribute updated_at [r]
|
133
|
-
# @return [String] the timestamp of when the channel was last updated
|
134
|
-
attribute :updated_at
|
135
123
|
end
|
136
124
|
|
137
125
|
# = The channel group class
|
@@ -139,10 +127,6 @@ module LWS::DigitalSignage
|
|
139
127
|
use_api LWS::DigitalSignage.api
|
140
128
|
uri "channel/groups(/:id)"
|
141
129
|
|
142
|
-
# @!attribute id [r]
|
143
|
-
# @return [Integer] the (unique) ID of the channel group
|
144
|
-
attribute :id
|
145
|
-
|
146
130
|
# @!attribute channels
|
147
131
|
# @return [Array<Channel>] the channels that are part of the channel group
|
148
132
|
has_many :channels, class_name: "LWS::DigitalSignage::Channel",
|
@@ -179,14 +163,6 @@ module LWS::DigitalSignage
|
|
179
163
|
# @return [Array<Channel::TimeScheduleOverride>] the time schedule overrides of the channel group
|
180
164
|
has_many :time_schedule_overrides, class_name: "LWS::DigitalSignage::Channel::TimeScheduleOverride",
|
181
165
|
uri: "channel/groups/:group_id/time_schedule_overrides(/:id)"
|
182
|
-
|
183
|
-
# @!attribute created_at [r]
|
184
|
-
# @return [String] the timestamp of when the channel group was created
|
185
|
-
attribute :created_at
|
186
|
-
|
187
|
-
# @!attribute updated_at [r]
|
188
|
-
# @return [String] the timestamp of when the channel group was last updated
|
189
|
-
attribute :updated_at
|
190
166
|
end
|
191
167
|
|
192
168
|
# = The channel group tag class
|
@@ -197,10 +173,6 @@ module LWS::DigitalSignage
|
|
197
173
|
class Channel::Group::Tag < LWS::Generic::Model
|
198
174
|
use_api LWS::DigitalSignage.api
|
199
175
|
|
200
|
-
# @!attribute id [r]
|
201
|
-
# @return [Integer] the (unique) ID of the display
|
202
|
-
attribute :id
|
203
|
-
|
204
176
|
# @!attribute group
|
205
177
|
# @return [Channel::Group] the channel group associated with the tag
|
206
178
|
belongs_to :group, class_names: "LWS::DigitalSignage::Channel::Group",
|
@@ -222,14 +194,6 @@ module LWS::DigitalSignage
|
|
222
194
|
# @!attribute value
|
223
195
|
# @return [String, nil] the value of the channel group tag
|
224
196
|
attribute :value
|
225
|
-
|
226
|
-
# @!attribute created_at [r]
|
227
|
-
# @return [String] the timestamp of when the channel group was created
|
228
|
-
attribute :created_at
|
229
|
-
|
230
|
-
# @!attribute updated_at [r]
|
231
|
-
# @return [String] the timestamp of when the channel group was last updated
|
232
|
-
attribute :updated_at
|
233
197
|
end
|
234
198
|
|
235
199
|
# = The channel tag class
|
@@ -239,10 +203,6 @@ module LWS::DigitalSignage
|
|
239
203
|
class Channel::Tag < LWS::Generic::Model
|
240
204
|
use_api LWS::DigitalSignage.api
|
241
205
|
|
242
|
-
# @!attribute id [r]
|
243
|
-
# @return [Integer] the (unique) ID of the channel tag
|
244
|
-
attribute :id
|
245
|
-
|
246
206
|
# @!attribute channel
|
247
207
|
# @return [Channel] the channel associated with the tag
|
248
208
|
belongs_to :channel, class_name: "LWS::DigitalSignage::Channel"
|
@@ -263,14 +223,6 @@ module LWS::DigitalSignage
|
|
263
223
|
# @!attribute value
|
264
224
|
# @return [String, nil] the value of the channel tag
|
265
225
|
attribute :value
|
266
|
-
|
267
|
-
# @!attribute created_at [r]
|
268
|
-
# @return [String] the timestamp of when the channel was created
|
269
|
-
attribute :created_at
|
270
|
-
|
271
|
-
# @!attribute updated_at [r]
|
272
|
-
# @return [String] the timestamp of when the channel was last updated
|
273
|
-
attribute :updated_at
|
274
226
|
end
|
275
227
|
|
276
228
|
# = The channel time schedule class
|
@@ -278,10 +230,6 @@ module LWS::DigitalSignage
|
|
278
230
|
use_api LWS::DigitalSignage.api
|
279
231
|
uri "channel/time_schedules(/:id)"
|
280
232
|
|
281
|
-
# @!attribute id [r]
|
282
|
-
# @return [Integer] the (unique) ID of the channel time schedule
|
283
|
-
attribute :id
|
284
|
-
|
285
233
|
# @!attribute company
|
286
234
|
# @return [LWS::Auth::Company] the company the channel time schedule belongs to
|
287
235
|
belongs_to :company, class_name: "LWS::Auth::Company"
|
@@ -304,14 +252,6 @@ module LWS::DigitalSignage
|
|
304
252
|
# @!attribute name
|
305
253
|
# @return [String] the name of the channel time schedule
|
306
254
|
attribute :name
|
307
|
-
|
308
|
-
# @!attribute created_at [r]
|
309
|
-
# @return [String] the timestamp of when the channel time schedule was created
|
310
|
-
attribute :created_at
|
311
|
-
|
312
|
-
# @!attribute updated_at [r]
|
313
|
-
# @return [String] the timestamp of when the channel time schedule was last updated
|
314
|
-
attribute :updated_at
|
315
255
|
end
|
316
256
|
|
317
257
|
# = The channel time schedule day class
|
@@ -323,10 +263,6 @@ module LWS::DigitalSignage
|
|
323
263
|
use_api LWS::DigitalSignage.api
|
324
264
|
uri "channel/time_schedules/:time_schedule_id/days(/:id)"
|
325
265
|
|
326
|
-
# @!attribute id [r]
|
327
|
-
# @return [Integer] the (unique) ID of the channel time schedule day
|
328
|
-
attribute :id
|
329
|
-
|
330
266
|
# @!attribute day
|
331
267
|
# @return [Integer] the ID of the day of the channel time schedule
|
332
268
|
# (0 = Sunday, 1 = Monday, ..., 6 = Saturday)
|
@@ -348,14 +284,6 @@ module LWS::DigitalSignage
|
|
348
284
|
# @!attribute wakeup
|
349
285
|
# @return [String] the wakeup time of the channel
|
350
286
|
attribute :wakeup
|
351
|
-
|
352
|
-
# @!attribute created_at [r]
|
353
|
-
# @return [String] the timestamp of when the channel time schedule day was created
|
354
|
-
attribute :created_at
|
355
|
-
|
356
|
-
# @!attribute updated_at [r]
|
357
|
-
# @return [String] the timestamp of when the channel time schedule day was last updated
|
358
|
-
attribute :updated_at
|
359
287
|
end
|
360
288
|
|
361
289
|
# = The channel time override schedule class
|
@@ -363,10 +291,6 @@ module LWS::DigitalSignage
|
|
363
291
|
use_api LWS::DigitalSignage.api
|
364
292
|
uri "channel/time_schedule_overrides(/:id)"
|
365
293
|
|
366
|
-
# @!attribute id [r]
|
367
|
-
# @return [Integer] the (unique) ID of the channel time schedule override
|
368
|
-
attribute :id
|
369
|
-
|
370
294
|
# @!attribute channels
|
371
295
|
# @return [Array<Channel>] the channels using the time schedule override
|
372
296
|
has_many :channels, class_name: "LWS::DigitalSignage::Channel",
|
@@ -404,24 +328,12 @@ module LWS::DigitalSignage
|
|
404
328
|
# @!attribute wakeup
|
405
329
|
# @return [String] the wakeup time of the channel
|
406
330
|
attribute :wakeup
|
407
|
-
|
408
|
-
# @!attribute created_at [r]
|
409
|
-
# @return [String] the timestamp of when the channel time schedule override was created
|
410
|
-
attribute :created_at
|
411
|
-
|
412
|
-
# @!attribute updated_at [r]
|
413
|
-
# @return [String] the timestamp of when the channel time schedule override was last updated
|
414
|
-
attribute :updated_at
|
415
331
|
end
|
416
332
|
|
417
333
|
# = The display class
|
418
334
|
class Display < LWS::Generic::Model
|
419
335
|
use_api LWS::DigitalSignage.api
|
420
336
|
|
421
|
-
# @!attribute id [r]
|
422
|
-
# @return [Integer] the (unique) ID of the display
|
423
|
-
attribute :id
|
424
|
-
|
425
337
|
# @!attribute aspect_ratio
|
426
338
|
# @return [String, nil] the aspect ratio of the display
|
427
339
|
attribute :aspect_ratio
|
@@ -486,14 +398,6 @@ module LWS::DigitalSignage
|
|
486
398
|
# @!attribute stop_bits
|
487
399
|
# @return [String] the stop bits setting of the RS232 connection to the display
|
488
400
|
attribute :stop_bits
|
489
|
-
|
490
|
-
# @!attribute created_at [r]
|
491
|
-
# @return [String] the timestamp of when the display was created
|
492
|
-
attribute :created_at
|
493
|
-
|
494
|
-
# @!attribute updated_at [r]
|
495
|
-
# @return [String] the timestamp of when the display was last updated
|
496
|
-
attribute :updated_at
|
497
401
|
end
|
498
402
|
|
499
403
|
# = The display input class
|
@@ -504,10 +408,6 @@ module LWS::DigitalSignage
|
|
504
408
|
use_api LWS::DigitalSignage.api
|
505
409
|
uri "displays/:display_id/inputs(/:id)"
|
506
410
|
|
507
|
-
# @!attribute id [r]
|
508
|
-
# @return [Integer] the (unique) ID of the display input
|
509
|
-
attribute :id
|
510
|
-
|
511
411
|
# @!attribute command
|
512
412
|
# @return [String, nil] the command to send to select the display input
|
513
413
|
attribute :command
|
@@ -537,14 +437,6 @@ module LWS::DigitalSignage
|
|
537
437
|
# @!attribute name
|
538
438
|
# @return [String] the name of the display input
|
539
439
|
attribute :name
|
540
|
-
|
541
|
-
# @!attribute created_at [r]
|
542
|
-
# @return [String] the timestamp of when the display input was created
|
543
|
-
attribute :created_at
|
544
|
-
|
545
|
-
# @!attribute updated_at [r]
|
546
|
-
# @return [String] the timestamp of when the display input was last updated
|
547
|
-
attribute :updated_at
|
548
440
|
end
|
549
441
|
|
550
442
|
# = The display resolution class
|
@@ -552,10 +444,6 @@ module LWS::DigitalSignage
|
|
552
444
|
use_api LWS::DigitalSignage.api
|
553
445
|
uri "display/resolutions(/:id)"
|
554
446
|
|
555
|
-
# @!attribute id [r]
|
556
|
-
# @return [Integer] the (unique) ID of the display resolution
|
557
|
-
attribute :id
|
558
|
-
|
559
447
|
# @!attribute aspect_ratio [r]
|
560
448
|
# The aspect ratio is recalculated immediately when the width and/or
|
561
449
|
# height of the resolution changes.
|
@@ -586,24 +474,12 @@ module LWS::DigitalSignage
|
|
586
474
|
# @!attribute width
|
587
475
|
# @return [Integer] the width of the resolution
|
588
476
|
attribute :width
|
589
|
-
|
590
|
-
# @!attribute created_at [r]
|
591
|
-
# @return [String] the timestamp of when the display resolution was created
|
592
|
-
attribute :created_at
|
593
|
-
|
594
|
-
# @!attribute updated_at [r]
|
595
|
-
# @return [String] the timestamp of when the display resolution was last updated
|
596
|
-
attribute :updated_at
|
597
477
|
end
|
598
478
|
|
599
479
|
# = The player class
|
600
480
|
class Player < LWS::Generic::Model
|
601
481
|
use_api LWS::DigitalSignage.api
|
602
482
|
|
603
|
-
# @!attribute id [r]
|
604
|
-
# @return [Integer] the (unique) ID of the player
|
605
|
-
attribute :id
|
606
|
-
|
607
483
|
# @!attribute channel
|
608
484
|
# @return [Channel] the channel of the player
|
609
485
|
belongs_to :channel, class_name: "LWS::DigitalSignage::Channel"
|
@@ -705,14 +581,6 @@ module LWS::DigitalSignage
|
|
705
581
|
# @!attribute tags
|
706
582
|
# @return [Array<Player::Tag>] the tags of the player
|
707
583
|
has_many :tags, class_name: "LWS::DigitalSignage::Player::Tag"
|
708
|
-
|
709
|
-
# @!attribute created_at [r]
|
710
|
-
# @return [String] the timestamp of when the player was created
|
711
|
-
attribute :created_at
|
712
|
-
|
713
|
-
# @!attribute updated_at [r]
|
714
|
-
# @return [String] the timestamp of when the player was last updated
|
715
|
-
attribute :updated_at
|
716
584
|
end
|
717
585
|
|
718
586
|
# = The player component class
|
@@ -720,10 +588,6 @@ module LWS::DigitalSignage
|
|
720
588
|
use_api LWS::DigitalSignage.api
|
721
589
|
uri "player/components(/:id)"
|
722
590
|
|
723
|
-
# @!attribute id [r]
|
724
|
-
# @return [Integer] the (unique) ID of the player component
|
725
|
-
attribute :id
|
726
|
-
|
727
591
|
# @!attribute description
|
728
592
|
# @return [String, nil] the description of the player component
|
729
593
|
attribute :description
|
@@ -755,14 +619,6 @@ module LWS::DigitalSignage
|
|
755
619
|
# @!attribute supplier_id
|
756
620
|
# @return [Integer] the ID of the supplier of the component part
|
757
621
|
attribute :supplier_id
|
758
|
-
|
759
|
-
# @!attribute created_at [r]
|
760
|
-
# @return [String] the timestamp of when the player component was created
|
761
|
-
attribute :created_at
|
762
|
-
|
763
|
-
# @!attribute updated_at [r]
|
764
|
-
# @return [String] the timestamp of when the player component was last updated
|
765
|
-
attribute :updated_at
|
766
622
|
end
|
767
623
|
|
768
624
|
# = The player component part class
|
@@ -774,10 +630,6 @@ module LWS::DigitalSignage
|
|
774
630
|
use_api LWS::DigitalSignage.api
|
775
631
|
uri "players/components/:component_id/parts(/:id)"
|
776
632
|
|
777
|
-
# @!attribute id [r]
|
778
|
-
# @return [Integer] the (unique) ID of the player component part
|
779
|
-
attribute :id
|
780
|
-
|
781
633
|
# @!attribute component
|
782
634
|
# @return [Player::Component] the player component that uses the part
|
783
635
|
belongs_to :component, class_name: "LWS::DigitalSignage::Player::Component",
|
@@ -798,14 +650,6 @@ module LWS::DigitalSignage
|
|
798
650
|
# @!attribute serial_number
|
799
651
|
# @return [String] the serial number of the player component part
|
800
652
|
attribute :serial_number
|
801
|
-
|
802
|
-
# @!attribute created_at [r]
|
803
|
-
# @return [String] the timestamp of when the player component part was created
|
804
|
-
attribute :created_at
|
805
|
-
|
806
|
-
# @!attribute updated_at [r]
|
807
|
-
# @return [String] the timestamp of when the player component part was last updated
|
808
|
-
attribute :updated_at
|
809
653
|
end
|
810
654
|
|
811
655
|
# = The player configuration class
|
@@ -813,10 +657,6 @@ module LWS::DigitalSignage
|
|
813
657
|
use_api LWS::DigitalSignage.api
|
814
658
|
uri "player/configurations(/:id)"
|
815
659
|
|
816
|
-
# @!attribute id [r]
|
817
|
-
# @return [Integer] the (unique) ID of the player configuration
|
818
|
-
attribute :id
|
819
|
-
|
820
660
|
# @!attribute company
|
821
661
|
# @return [LWS::Auth::Company] the company the player configuration belongs to
|
822
662
|
belongs_to :company, class_name: "LWS::Auth::Company"
|
@@ -853,14 +693,6 @@ module LWS::DigitalSignage
|
|
853
693
|
# @return [Player::Configuration::Setting] the settings of the player configuration
|
854
694
|
has_many :settings, class_name: "LWS::DigitalSignage::Player::Configuration::Setting",
|
855
695
|
uri: "player/configurations/:configuration_id/settings(/:id)"
|
856
|
-
|
857
|
-
# @!attribute created_at [r]
|
858
|
-
# @return [String] the timestamp of when the player configuration was created
|
859
|
-
attribute :created_at
|
860
|
-
|
861
|
-
# @!attribute updated_at [r]
|
862
|
-
# @return [String] the timestamp of when the player configuration was last updated
|
863
|
-
attribute :updated_at
|
864
696
|
end
|
865
697
|
|
866
698
|
# = The player configuration setting class
|
@@ -872,10 +704,6 @@ module LWS::DigitalSignage
|
|
872
704
|
use_api LWS::DigitalSignage.api
|
873
705
|
uri "player/configurations/:configuration_id/settings(/:id)"
|
874
706
|
|
875
|
-
# @!attribute id [r]
|
876
|
-
# @return [Integer] the (unique) ID of the player configuration setting
|
877
|
-
attribute :id
|
878
|
-
|
879
707
|
# @!attribute configuration
|
880
708
|
# @return [Player::Configuration] the player configuration the setting
|
881
709
|
# is defined in
|
@@ -898,14 +726,6 @@ module LWS::DigitalSignage
|
|
898
726
|
# @!attribute value
|
899
727
|
# @return [String, nil] the value of the player configuration setting
|
900
728
|
attribute :value
|
901
|
-
|
902
|
-
# @!attribute created_at [r]
|
903
|
-
# @return [String] the timestamp of when the player configuration setting was created
|
904
|
-
attribute :created_at
|
905
|
-
|
906
|
-
# @!attribute updated_at [r]
|
907
|
-
# @return [String] the timestamp of when the player configuration setting was last updated
|
908
|
-
attribute :updated_at
|
909
729
|
end
|
910
730
|
|
911
731
|
# = The player feedback class
|
@@ -916,10 +736,6 @@ module LWS::DigitalSignage
|
|
916
736
|
use_api LWS::DigitalSignage.api
|
917
737
|
uri "players/:player_id/feedbacks(/:id)"
|
918
738
|
|
919
|
-
# @!attribute id [r]
|
920
|
-
# @return [Integer] the (unique) ID of the player feedback
|
921
|
-
attribute :id
|
922
|
-
|
923
739
|
# @!attribute player
|
924
740
|
# @return [Player] the player the feedback is originating from
|
925
741
|
belongs_to :player, class_name: "LWS::DigitalSignage::Player"
|
@@ -944,14 +760,6 @@ module LWS::DigitalSignage
|
|
944
760
|
# FIXME: Chained associations don't work yet in Spyke (#89)
|
945
761
|
has_many :results, class_name: "LWS::DigitalSignage::Player::Feedback::Result",
|
946
762
|
uri: "players/:player_id/feedbacks/:feedback_id/results(/:id)"
|
947
|
-
|
948
|
-
# @!attribute created_at [r]
|
949
|
-
# @return [String] the timestamp of when the player feedback was created
|
950
|
-
attribute :created_at
|
951
|
-
|
952
|
-
# @!attribute updated_at [r]
|
953
|
-
# @return [String] the timestamp of when the player feedback was last updated
|
954
|
-
attribute :updated_at
|
955
763
|
end
|
956
764
|
|
957
765
|
# = The player feedback result class
|
@@ -963,10 +771,6 @@ module LWS::DigitalSignage
|
|
963
771
|
use_api LWS::DigitalSignage.api
|
964
772
|
uri "players/:player_id/feedbacks/:feedback_id/results(/:id)"
|
965
773
|
|
966
|
-
# @!attribute id [r]
|
967
|
-
# @return [Integer] the (unique) ID of the player feedback result
|
968
|
-
attribute :id
|
969
|
-
|
970
774
|
# @!attribute feedback
|
971
775
|
# @return [Player::Feedback] the player feedback the result is a part of
|
972
776
|
belongs_to :feedback, class_name: "LWS::DigitalSignage::Player::Feedback",
|
@@ -991,14 +795,6 @@ module LWS::DigitalSignage
|
|
991
795
|
# @!attribute value
|
992
796
|
# @return [String] the value of the player feedback result
|
993
797
|
attribute :value
|
994
|
-
|
995
|
-
# @!attribute created_at [r]
|
996
|
-
# @return [String] the timestamp of when the player feedback result was created
|
997
|
-
attribute :created_at
|
998
|
-
|
999
|
-
# @!attribute updated_at [r]
|
1000
|
-
# @return [String] the timestamp of when the player feedback result was last updated
|
1001
|
-
attribute :updated_at
|
1002
798
|
end
|
1003
799
|
|
1004
800
|
# = The player log class
|
@@ -1009,10 +805,6 @@ module LWS::DigitalSignage
|
|
1009
805
|
use_api LWS::DigitalSignage.api
|
1010
806
|
uri "players/:player_id/logs(/:id)"
|
1011
807
|
|
1012
|
-
# @!attribute id [r]
|
1013
|
-
# @return [Integer] the (unique) ID of the player log
|
1014
|
-
attribute :id
|
1015
|
-
|
1016
808
|
# @!attribute log_object
|
1017
809
|
# @return [String] the URL of the player log object
|
1018
810
|
attribute :log_object
|
@@ -1028,14 +820,6 @@ module LWS::DigitalSignage
|
|
1028
820
|
# @!attribute processed
|
1029
821
|
# @return [Boolean] whether the player log has been processed
|
1030
822
|
attribute :processed
|
1031
|
-
|
1032
|
-
# @!attribute created_at [r]
|
1033
|
-
# @return [String] the timestamp of when the player log was created
|
1034
|
-
attribute :created_at
|
1035
|
-
|
1036
|
-
# @!attribute updated_at [r]
|
1037
|
-
# @return [String] the timestamp of when the player log was last updated
|
1038
|
-
attribute :updated_at
|
1039
823
|
end
|
1040
824
|
|
1041
825
|
# = The player model
|
@@ -1043,10 +827,6 @@ module LWS::DigitalSignage
|
|
1043
827
|
use_api LWS::DigitalSignage.api
|
1044
828
|
uri "player/models(/:id)"
|
1045
829
|
|
1046
|
-
# @!attribute id [r]
|
1047
|
-
# @return [Integer] the (unique) ID of the player model
|
1048
|
-
attribute :id
|
1049
|
-
|
1050
830
|
# @!attribute branches
|
1051
831
|
# @return [Array<Player::Os::Branch>] the player OS branches allowed for
|
1052
832
|
# the player model
|
@@ -1117,14 +897,6 @@ module LWS::DigitalSignage
|
|
1117
897
|
# @return [Integer, nil] the warning temperature threshold (°C) for the
|
1118
898
|
# player model
|
1119
899
|
attribute :temperature_warning
|
1120
|
-
|
1121
|
-
# @!attribute created_at [r]
|
1122
|
-
# @return [String] the timestamp of when the player model was created
|
1123
|
-
attribute :created_at
|
1124
|
-
|
1125
|
-
# @!attribute updated_at [r]
|
1126
|
-
# @return [String] the timestamp of when the player model was last updated
|
1127
|
-
attribute :updated_at
|
1128
900
|
end
|
1129
901
|
|
1130
902
|
# = The player model capability class
|
@@ -1136,10 +908,6 @@ module LWS::DigitalSignage
|
|
1136
908
|
use_api LWS::DigitalSignage.api
|
1137
909
|
uri "player/models/:model_id/capabilities(/:id)"
|
1138
910
|
|
1139
|
-
# @!attribute id [r]
|
1140
|
-
# @return [Integer] the (unique) ID of the player model capability
|
1141
|
-
attribute :id
|
1142
|
-
|
1143
911
|
# @!attribute key
|
1144
912
|
# @return [String] the key of the player model capability
|
1145
913
|
attribute :key
|
@@ -1156,14 +924,6 @@ module LWS::DigitalSignage
|
|
1156
924
|
# @!attribute value
|
1157
925
|
# @return [String] the value of the player model capability
|
1158
926
|
attribute :value
|
1159
|
-
|
1160
|
-
# @!attribute created_at [r]
|
1161
|
-
# @return [String] the timestamp of when the player model capability was created
|
1162
|
-
attribute :created_at
|
1163
|
-
|
1164
|
-
# @!attribute updated_at [r]
|
1165
|
-
# @return [String] the timestamp of when the player model capability was last updated
|
1166
|
-
attribute :updated_at
|
1167
927
|
end
|
1168
928
|
|
1169
929
|
# = The player notification
|
@@ -1174,10 +934,6 @@ module LWS::DigitalSignage
|
|
1174
934
|
use_api LWS::DigitalSignage.api
|
1175
935
|
uri "players/:player_id/notifications(/:id)"
|
1176
936
|
|
1177
|
-
# @!attribute id [r]
|
1178
|
-
# @return [Integer] the (unique) ID of the player notification
|
1179
|
-
attribute :id
|
1180
|
-
|
1181
937
|
# @!attribute key
|
1182
938
|
# @return [String] the key of the player notification
|
1183
939
|
attribute :key
|
@@ -1202,14 +958,6 @@ module LWS::DigitalSignage
|
|
1202
958
|
# @!attribute value
|
1203
959
|
# @return [String] the value of the player notification
|
1204
960
|
attribute :value
|
1205
|
-
|
1206
|
-
# @!attribute created_at [r]
|
1207
|
-
# @return [String] the timestamp of when the player notification was created
|
1208
|
-
attribute :created_at
|
1209
|
-
|
1210
|
-
# @!attribute updated_at [r]
|
1211
|
-
# @return [String] the timestamp of when the player notification was last updated
|
1212
|
-
attribute :updated_at
|
1213
961
|
end
|
1214
962
|
|
1215
963
|
# = The player OS module
|
@@ -1220,10 +968,6 @@ module LWS::DigitalSignage
|
|
1220
968
|
use_api LWS::DigitalSignage.api
|
1221
969
|
uri "player/os/branches(/:id)"
|
1222
970
|
|
1223
|
-
# @!attribute id [r]
|
1224
|
-
# @return [Integer] the (unique) ID of the player OS branch
|
1225
|
-
attribute :id
|
1226
|
-
|
1227
971
|
# @!attribute models
|
1228
972
|
# @return [Array<Player::Model>] the player models that allow the player
|
1229
973
|
# OS branch to be used
|
@@ -1253,14 +997,6 @@ module LWS::DigitalSignage
|
|
1253
997
|
# @!attribute slug [r]
|
1254
998
|
# @return [String] the slug(ified name) of the player OS branch
|
1255
999
|
attribute :slug
|
1256
|
-
|
1257
|
-
# @!attribute created_at [r]
|
1258
|
-
# @return [String] the timestamp of when the player OS branch was created
|
1259
|
-
attribute :created_at
|
1260
|
-
|
1261
|
-
# @!attribute updated_at [r]
|
1262
|
-
# @return [String] the timestamp of when the player OS branch was last updated
|
1263
|
-
attribute :updated_at
|
1264
1000
|
end
|
1265
1001
|
|
1266
1002
|
# = The player OS branch release class
|
@@ -1272,10 +1008,6 @@ module LWS::DigitalSignage
|
|
1272
1008
|
use_api LWS::DigitalSignage.api
|
1273
1009
|
uri "player/os/branches/:branch_id/releases(/:id)"
|
1274
1010
|
|
1275
|
-
# @!attribute id [r]
|
1276
|
-
# @return [Integer] the (unique) ID of the player OS branch release
|
1277
|
-
attribute :id
|
1278
|
-
|
1279
1011
|
# @!attribute branch
|
1280
1012
|
# @return [Player::Os::Branch] the player OS branch the release is for
|
1281
1013
|
belongs_to :branch, class_name: "LWS::DigitalSignage::Player::Os::Branch",
|
@@ -1342,14 +1074,6 @@ module LWS::DigitalSignage
|
|
1342
1074
|
# @!attribute version
|
1343
1075
|
# @return [String] the version of the release
|
1344
1076
|
attribute :version
|
1345
|
-
|
1346
|
-
# @!attribute created_at [r]
|
1347
|
-
# @return [String] the timestamp of when the player OS branch release was created
|
1348
|
-
attribute :created_at
|
1349
|
-
|
1350
|
-
# @!attribute updated_at [r]
|
1351
|
-
# @return [String] the timestamp of when the player OS branch release was last updated
|
1352
|
-
attribute :updated_at
|
1353
1077
|
end
|
1354
1078
|
|
1355
1079
|
# = The player OS package class
|
@@ -1357,10 +1081,6 @@ module LWS::DigitalSignage
|
|
1357
1081
|
use_api LWS::DigitalSignage.api
|
1358
1082
|
uri "player/os/packages(/:id)"
|
1359
1083
|
|
1360
|
-
# @!attribute id [r]
|
1361
|
-
# @return [Integer] the (unique) ID of the player OS package
|
1362
|
-
attribute :id
|
1363
|
-
|
1364
1084
|
# @!attribute name
|
1365
1085
|
# @return [String] the name of the player OS package
|
1366
1086
|
attribute :name
|
@@ -1376,14 +1096,6 @@ module LWS::DigitalSignage
|
|
1376
1096
|
# player OS package present in branches
|
1377
1097
|
has_many :versions, class_name: "LWS::DigitalSignage::Player::Os::Package::Version",
|
1378
1098
|
uri: "player/os/packages/:package_id/versions(/:id)"
|
1379
|
-
|
1380
|
-
# @!attribute created_at [r]
|
1381
|
-
# @return [String] the timestamp of when the player OS package was created
|
1382
|
-
attribute :created_at
|
1383
|
-
|
1384
|
-
# @!attribute updated_at [r]
|
1385
|
-
# @return [String] the timestamp of when the player OS package was last updated
|
1386
|
-
attribute :updated_at
|
1387
1099
|
end
|
1388
1100
|
|
1389
1101
|
# = The player OS package version class
|
@@ -1395,10 +1107,6 @@ module LWS::DigitalSignage
|
|
1395
1107
|
use_api LWS::DigitalSignage.api
|
1396
1108
|
uri "player/os/packages/:package_id/versions(/:id)"
|
1397
1109
|
|
1398
|
-
# @!attribute id [r]
|
1399
|
-
# @return [Integer] the (unique) ID of the player OS package version
|
1400
|
-
attribute :id
|
1401
|
-
|
1402
1110
|
# @!attribute number
|
1403
1111
|
# @return [String] the number of the player OS package version
|
1404
1112
|
attribute :number
|
@@ -1419,14 +1127,6 @@ module LWS::DigitalSignage
|
|
1419
1127
|
has_many :branch_releases, class_name: "LWS::DigitalSignage::Player::Os::Branch::Release",
|
1420
1128
|
foreign_key: :branch_release_id,
|
1421
1129
|
uri: "player/os/branches/:branch_id/releases/:id"
|
1422
|
-
|
1423
|
-
# @!attribute created_at [r]
|
1424
|
-
# @return [String] the timestamp of when the player OS package version was created
|
1425
|
-
attribute :created_at
|
1426
|
-
|
1427
|
-
# @!attribute updated_at [r]
|
1428
|
-
# @return [String] the timestamp of when the player OS package version was last updated
|
1429
|
-
attribute :updated_at
|
1430
1130
|
end
|
1431
1131
|
|
1432
1132
|
# = The player OS package version change class
|
@@ -1438,10 +1138,6 @@ module LWS::DigitalSignage
|
|
1438
1138
|
use_api LWS::DigitalSignage.api
|
1439
1139
|
uri "player/os/packages/:package_id/version_changes(/:id)"
|
1440
1140
|
|
1441
|
-
# @!attribute id [r]
|
1442
|
-
# @return [Integer] the (unique) ID of the player OS package version change
|
1443
|
-
attribute :id
|
1444
|
-
|
1445
1141
|
# @!attribute branch_release
|
1446
1142
|
# @return [Player::Os::Branch::Release] the branch release the player OS
|
1447
1143
|
# package version change is included in
|
@@ -1511,14 +1207,6 @@ module LWS::DigitalSignage
|
|
1511
1207
|
# @return [Integer, nil] the ID of the version the player OS package was
|
1512
1208
|
# after the change
|
1513
1209
|
attribute :to_version_id
|
1514
|
-
|
1515
|
-
# @!attribute created_at [r]
|
1516
|
-
# @return [String] the timestamp of when the player OS package version change was created
|
1517
|
-
attribute :created_at
|
1518
|
-
|
1519
|
-
# @!attribute updated_at [r]
|
1520
|
-
# @return [String] the timestamp of when the player OS package version change was last updated
|
1521
|
-
attribute :updated_at
|
1522
1210
|
end
|
1523
1211
|
|
1524
1212
|
# = The player OS release channel class
|
@@ -1526,10 +1214,6 @@ module LWS::DigitalSignage
|
|
1526
1214
|
use_api LWS::DigitalSignage.api
|
1527
1215
|
uri "player/os/release_channels(/:id)"
|
1528
1216
|
|
1529
|
-
# @!attribute id [r]
|
1530
|
-
# @return [Integer] the (unique) ID of the player OS release channel
|
1531
|
-
attribute :id
|
1532
|
-
|
1533
1217
|
# @!attribute branches
|
1534
1218
|
# @return [Array<Player::Os::Branch>] the branches that belong to the
|
1535
1219
|
# player OS release channel
|
@@ -1548,14 +1232,6 @@ module LWS::DigitalSignage
|
|
1548
1232
|
# @!attribute slug [r]
|
1549
1233
|
# @return [String] the slug(ified name) of the player OS release channel
|
1550
1234
|
attribute :slug
|
1551
|
-
|
1552
|
-
# @!attribute created_at [r]
|
1553
|
-
# @return [String] the timestamp of when the player OS release channel was created
|
1554
|
-
attribute :created_at
|
1555
|
-
|
1556
|
-
# @!attribute updated_at [r]
|
1557
|
-
# @return [String] the timestamp of when the player OS release channel was last updated
|
1558
|
-
attribute :updated_at
|
1559
1235
|
end
|
1560
1236
|
|
1561
1237
|
# = The predefined player configuration
|
@@ -1563,10 +1239,6 @@ module LWS::DigitalSignage
|
|
1563
1239
|
use_api LWS::DigitalSignage.api
|
1564
1240
|
uri "player/predefined_configurations(/:id)"
|
1565
1241
|
|
1566
|
-
# @!attribute id [r]
|
1567
|
-
# @return [Integer] the (unique) ID of the predefined player configuration
|
1568
|
-
attribute :id
|
1569
|
-
|
1570
1242
|
# @!attribute company
|
1571
1243
|
# @return [LWS::Auth::Company] the company the predefined player configuration belongs to
|
1572
1244
|
belongs_to :company, class_name: "LWS::Auth::Company"
|
@@ -1594,14 +1266,6 @@ module LWS::DigitalSignage
|
|
1594
1266
|
# predefined player configuration
|
1595
1267
|
has_many :settings, class_name: "LWS::DigitalSignage::Player::PredefinedConfiguration::Setting",
|
1596
1268
|
uri: "player/predefined_configurations/:predefined_configuration_id/settings(/:id)"
|
1597
|
-
|
1598
|
-
# @!attribute created_at [r]
|
1599
|
-
# @return [String] the timestamp of when the predefined player configuration was created
|
1600
|
-
attribute :created_at
|
1601
|
-
|
1602
|
-
# @!attribute updated_at [r]
|
1603
|
-
# @return [String] the timestamp of when the predefined player configuration was last updated
|
1604
|
-
attribute :updated_at
|
1605
1269
|
end
|
1606
1270
|
|
1607
1271
|
# = The predefined player configuration setting class
|
@@ -1613,10 +1277,6 @@ module LWS::DigitalSignage
|
|
1613
1277
|
use_api LWS::DigitalSignage.api
|
1614
1278
|
uri "player/predefined_configurations/:configuration_id/settings(/:id)"
|
1615
1279
|
|
1616
|
-
# @!attribute id [r]
|
1617
|
-
# @return [Integer] the (unique) ID of the predefined player configuration setting
|
1618
|
-
attribute :id
|
1619
|
-
|
1620
1280
|
# @!attribute key
|
1621
1281
|
# @return [String] the key of the predefined player configuration setting
|
1622
1282
|
attribute :key
|
@@ -1639,14 +1299,6 @@ module LWS::DigitalSignage
|
|
1639
1299
|
# @!attribute value
|
1640
1300
|
# @return [String, nil] the value of the predefined player configuration setting
|
1641
1301
|
attribute :value
|
1642
|
-
|
1643
|
-
# @!attribute created_at [r]
|
1644
|
-
# @return [String] the timestamp of when the predefined player configuration setting was created
|
1645
|
-
attribute :created_at
|
1646
|
-
|
1647
|
-
# @!attribute updated_at [r]
|
1648
|
-
# @return [String] the timestamp of when the predefined player configuration setting was last updated
|
1649
|
-
attribute :updated_at
|
1650
1302
|
end
|
1651
1303
|
|
1652
1304
|
# = The player request class
|
@@ -1657,10 +1309,6 @@ module LWS::DigitalSignage
|
|
1657
1309
|
use_api LWS::DigitalSignage.api
|
1658
1310
|
uri "players/:player_id/requests(/:id)"
|
1659
1311
|
|
1660
|
-
# @!attribute id [r]
|
1661
|
-
# @return [Integer] the (unique) ID of the player request
|
1662
|
-
attribute :id
|
1663
|
-
|
1664
1312
|
# @!attribute action
|
1665
1313
|
# @return ["unknown", "send_logs", "clear_logs", "clear_content",
|
1666
1314
|
# "clear_layouts", "send_screenshot", "reboot", "retrieve_playlist",
|
@@ -1730,14 +1378,6 @@ module LWS::DigitalSignage
|
|
1730
1378
|
# @return [Integer, nil] the ID of the player screenshot as a response to
|
1731
1379
|
# the action request +"send_screenshot"+
|
1732
1380
|
attribute :screenshot_id
|
1733
|
-
|
1734
|
-
# @!attribute created_at [r]
|
1735
|
-
# @return [String] the timestamp of when the player request was created
|
1736
|
-
attribute :created_at
|
1737
|
-
|
1738
|
-
# @!attribute updated_at [r]
|
1739
|
-
# @return [String] the timestamp of when the player request was last updated
|
1740
|
-
attribute :updated_at
|
1741
1381
|
end
|
1742
1382
|
|
1743
1383
|
# = The player screenshot class
|
@@ -1748,10 +1388,6 @@ module LWS::DigitalSignage
|
|
1748
1388
|
use_api LWS::DigitalSignage.api
|
1749
1389
|
uri "players/:player_id/screenshots(/:id)"
|
1750
1390
|
|
1751
|
-
# @!attribute id [r]
|
1752
|
-
# @return [Integer] the (unique) ID of the player screenshot
|
1753
|
-
attribute :id
|
1754
|
-
|
1755
1391
|
# @!attribute player
|
1756
1392
|
# @return [Player] the player the screenshot is made by
|
1757
1393
|
belongs_to :player, class_name: "LWS::DigitalSignage::Player"
|
@@ -1763,14 +1399,6 @@ module LWS::DigitalSignage
|
|
1763
1399
|
# @!attribute screenshot_object
|
1764
1400
|
# @return [String] the URL of the player screenshot object
|
1765
1401
|
attribute :screenshot_object
|
1766
|
-
|
1767
|
-
# @!attribute created_at [r]
|
1768
|
-
# @return [String] the timestamp of when the player screenshot was created
|
1769
|
-
attribute :created_at
|
1770
|
-
|
1771
|
-
# @!attribute updated_at [r]
|
1772
|
-
# @return [String] the timestamp of when the player screenshot was last updated
|
1773
|
-
attribute :updated_at
|
1774
1402
|
end
|
1775
1403
|
|
1776
1404
|
# = The player tag class
|
@@ -1781,10 +1409,6 @@ module LWS::DigitalSignage
|
|
1781
1409
|
use_api LWS::DigitalSignage.api
|
1782
1410
|
uri "players/:player_id/tags(/:id)"
|
1783
1411
|
|
1784
|
-
# @!attribute id [r]
|
1785
|
-
# @return [Integer] the (unique) ID of the player tag
|
1786
|
-
attribute :id
|
1787
|
-
|
1788
1412
|
# @!attribute key
|
1789
1413
|
# @return [String] the key of the player tag
|
1790
1414
|
attribute :key
|
@@ -1805,14 +1429,6 @@ module LWS::DigitalSignage
|
|
1805
1429
|
# @!attribute value
|
1806
1430
|
# @return [String, nil] the value of the player tag
|
1807
1431
|
attribute :value
|
1808
|
-
|
1809
|
-
# @!attribute created_at [r]
|
1810
|
-
# @return [String] the timestamp of when the player was created
|
1811
|
-
attribute :created_at
|
1812
|
-
|
1813
|
-
# @!attribute updated_at [r]
|
1814
|
-
# @return [String] the timestamp of when the player was last updated
|
1815
|
-
attribute :updated_at
|
1816
1432
|
end
|
1817
1433
|
|
1818
1434
|
end
|