forked from microsoftgraph/msgraph-sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAudio.php
More file actions
476 lines (460 loc) · 10.5 KB
/
Copy pathAudio.php
File metadata and controls
476 lines (460 loc) · 10.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Audio File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright © Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @version GIT: 1.4.0
* @link https://graph.microsoft.io/
*/
namespace Microsoft\Graph\Model;
/**
* Audio class
*
* @category Model
* @package Microsoft.Graph
* @copyright © Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @version Release: 1.4.0
* @link https://graph.microsoft.io/
*/
class Audio extends Entity
{
/**
* Gets the album
* The title of the album for this audio file.
*
* @return string The album
*/
public function getAlbum()
{
if (array_key_exists("album", $this->_propDict)) {
return $this->_propDict["album"];
} else {
return null;
}
}
/**
* Sets the album
* The title of the album for this audio file.
*
* @param string $val The value of the album
*
* @return Audio
*/
public function setAlbum($val)
{
$this->_propDict["album"] = $val;
return $this;
}
/**
* Gets the albumArtist
* The artist named on the album for the audio file.
*
* @return string The albumArtist
*/
public function getAlbumArtist()
{
if (array_key_exists("albumArtist", $this->_propDict)) {
return $this->_propDict["albumArtist"];
} else {
return null;
}
}
/**
* Sets the albumArtist
* The artist named on the album for the audio file.
*
* @param string $val The value of the albumArtist
*
* @return Audio
*/
public function setAlbumArtist($val)
{
$this->_propDict["albumArtist"] = $val;
return $this;
}
/**
* Gets the artist
* The performing artist for the audio file.
*
* @return string The artist
*/
public function getArtist()
{
if (array_key_exists("artist", $this->_propDict)) {
return $this->_propDict["artist"];
} else {
return null;
}
}
/**
* Sets the artist
* The performing artist for the audio file.
*
* @param string $val The value of the artist
*
* @return Audio
*/
public function setArtist($val)
{
$this->_propDict["artist"] = $val;
return $this;
}
/**
* Gets the bitrate
* Bitrate expressed in kbps.
*
* @return int The bitrate
*/
public function getBitrate()
{
if (array_key_exists("bitrate", $this->_propDict)) {
return $this->_propDict["bitrate"];
} else {
return null;
}
}
/**
* Sets the bitrate
* Bitrate expressed in kbps.
*
* @param int $val The value of the bitrate
*
* @return Audio
*/
public function setBitrate($val)
{
$this->_propDict["bitrate"] = $val;
return $this;
}
/**
* Gets the composers
* The name of the composer of the audio file.
*
* @return string The composers
*/
public function getComposers()
{
if (array_key_exists("composers", $this->_propDict)) {
return $this->_propDict["composers"];
} else {
return null;
}
}
/**
* Sets the composers
* The name of the composer of the audio file.
*
* @param string $val The value of the composers
*
* @return Audio
*/
public function setComposers($val)
{
$this->_propDict["composers"] = $val;
return $this;
}
/**
* Gets the copyright
* Copyright information for the audio file.
*
* @return string The copyright
*/
public function getCopyright()
{
if (array_key_exists("copyright", $this->_propDict)) {
return $this->_propDict["copyright"];
} else {
return null;
}
}
/**
* Sets the copyright
* Copyright information for the audio file.
*
* @param string $val The value of the copyright
*
* @return Audio
*/
public function setCopyright($val)
{
$this->_propDict["copyright"] = $val;
return $this;
}
/**
* Gets the disc
* The number of the disc this audio file came from.
*
* @return int The disc
*/
public function getDisc()
{
if (array_key_exists("disc", $this->_propDict)) {
return $this->_propDict["disc"];
} else {
return null;
}
}
/**
* Sets the disc
* The number of the disc this audio file came from.
*
* @param int $val The value of the disc
*
* @return Audio
*/
public function setDisc($val)
{
$this->_propDict["disc"] = $val;
return $this;
}
/**
* Gets the discCount
* The total number of discs in this album.
*
* @return int The discCount
*/
public function getDiscCount()
{
if (array_key_exists("discCount", $this->_propDict)) {
return $this->_propDict["discCount"];
} else {
return null;
}
}
/**
* Sets the discCount
* The total number of discs in this album.
*
* @param int $val The value of the discCount
*
* @return Audio
*/
public function setDiscCount($val)
{
$this->_propDict["discCount"] = $val;
return $this;
}
/**
* Gets the duration
* Duration of the audio file, expressed in milliseconds
*
* @return int The duration
*/
public function getDuration()
{
if (array_key_exists("duration", $this->_propDict)) {
return $this->_propDict["duration"];
} else {
return null;
}
}
/**
* Sets the duration
* Duration of the audio file, expressed in milliseconds
*
* @param int $val The value of the duration
*
* @return Audio
*/
public function setDuration($val)
{
$this->_propDict["duration"] = $val;
return $this;
}
/**
* Gets the genre
* The genre of this audio file.
*
* @return string The genre
*/
public function getGenre()
{
if (array_key_exists("genre", $this->_propDict)) {
return $this->_propDict["genre"];
} else {
return null;
}
}
/**
* Sets the genre
* The genre of this audio file.
*
* @param string $val The value of the genre
*
* @return Audio
*/
public function setGenre($val)
{
$this->_propDict["genre"] = $val;
return $this;
}
/**
* Gets the hasDrm
* Indicates if the file is protected with digital rights management.
*
* @return bool The hasDrm
*/
public function getHasDrm()
{
if (array_key_exists("hasDrm", $this->_propDict)) {
return $this->_propDict["hasDrm"];
} else {
return null;
}
}
/**
* Sets the hasDrm
* Indicates if the file is protected with digital rights management.
*
* @param bool $val The value of the hasDrm
*
* @return Audio
*/
public function setHasDrm($val)
{
$this->_propDict["hasDrm"] = $val;
return $this;
}
/**
* Gets the isVariableBitrate
* Indicates if the file is encoded with a variable bitrate.
*
* @return bool The isVariableBitrate
*/
public function getIsVariableBitrate()
{
if (array_key_exists("isVariableBitrate", $this->_propDict)) {
return $this->_propDict["isVariableBitrate"];
} else {
return null;
}
}
/**
* Sets the isVariableBitrate
* Indicates if the file is encoded with a variable bitrate.
*
* @param bool $val The value of the isVariableBitrate
*
* @return Audio
*/
public function setIsVariableBitrate($val)
{
$this->_propDict["isVariableBitrate"] = $val;
return $this;
}
/**
* Gets the title
* The title of the audio file.
*
* @return string The title
*/
public function getTitle()
{
if (array_key_exists("title", $this->_propDict)) {
return $this->_propDict["title"];
} else {
return null;
}
}
/**
* Sets the title
* The title of the audio file.
*
* @param string $val The value of the title
*
* @return Audio
*/
public function setTitle($val)
{
$this->_propDict["title"] = $val;
return $this;
}
/**
* Gets the track
* The number of the track on the original disc for this audio file.
*
* @return int The track
*/
public function getTrack()
{
if (array_key_exists("track", $this->_propDict)) {
return $this->_propDict["track"];
} else {
return null;
}
}
/**
* Sets the track
* The number of the track on the original disc for this audio file.
*
* @param int $val The value of the track
*
* @return Audio
*/
public function setTrack($val)
{
$this->_propDict["track"] = $val;
return $this;
}
/**
* Gets the trackCount
* The total number of tracks on the original disc for this audio file.
*
* @return int The trackCount
*/
public function getTrackCount()
{
if (array_key_exists("trackCount", $this->_propDict)) {
return $this->_propDict["trackCount"];
} else {
return null;
}
}
/**
* Sets the trackCount
* The total number of tracks on the original disc for this audio file.
*
* @param int $val The value of the trackCount
*
* @return Audio
*/
public function setTrackCount($val)
{
$this->_propDict["trackCount"] = $val;
return $this;
}
/**
* Gets the year
* The year the audio file was recorded.
*
* @return int The year
*/
public function getYear()
{
if (array_key_exists("year", $this->_propDict)) {
return $this->_propDict["year"];
} else {
return null;
}
}
/**
* Sets the year
* The year the audio file was recorded.
*
* @param int $val The value of the year
*
* @return Audio
*/
public function setYear($val)
{
$this->_propDict["year"] = $val;
return $this;
}
}