[f9c482b] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\Transcoder;
|
---|
| 19 |
|
---|
| 20 | class DrmSystems extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $clearkeyType = Clearkey::class;
|
---|
| 23 | protected $clearkeyDataType = '';
|
---|
| 24 | protected $fairplayType = Fairplay::class;
|
---|
| 25 | protected $fairplayDataType = '';
|
---|
| 26 | protected $playreadyType = Playready::class;
|
---|
| 27 | protected $playreadyDataType = '';
|
---|
| 28 | protected $widevineType = Widevine::class;
|
---|
| 29 | protected $widevineDataType = '';
|
---|
| 30 |
|
---|
| 31 | /**
|
---|
| 32 | * @param Clearkey
|
---|
| 33 | */
|
---|
| 34 | public function setClearkey(Clearkey $clearkey)
|
---|
| 35 | {
|
---|
| 36 | $this->clearkey = $clearkey;
|
---|
| 37 | }
|
---|
| 38 | /**
|
---|
| 39 | * @return Clearkey
|
---|
| 40 | */
|
---|
| 41 | public function getClearkey()
|
---|
| 42 | {
|
---|
| 43 | return $this->clearkey;
|
---|
| 44 | }
|
---|
| 45 | /**
|
---|
| 46 | * @param Fairplay
|
---|
| 47 | */
|
---|
| 48 | public function setFairplay(Fairplay $fairplay)
|
---|
| 49 | {
|
---|
| 50 | $this->fairplay = $fairplay;
|
---|
| 51 | }
|
---|
| 52 | /**
|
---|
| 53 | * @return Fairplay
|
---|
| 54 | */
|
---|
| 55 | public function getFairplay()
|
---|
| 56 | {
|
---|
| 57 | return $this->fairplay;
|
---|
| 58 | }
|
---|
| 59 | /**
|
---|
| 60 | * @param Playready
|
---|
| 61 | */
|
---|
| 62 | public function setPlayready(Playready $playready)
|
---|
| 63 | {
|
---|
| 64 | $this->playready = $playready;
|
---|
| 65 | }
|
---|
| 66 | /**
|
---|
| 67 | * @return Playready
|
---|
| 68 | */
|
---|
| 69 | public function getPlayready()
|
---|
| 70 | {
|
---|
| 71 | return $this->playready;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @param Widevine
|
---|
| 75 | */
|
---|
| 76 | public function setWidevine(Widevine $widevine)
|
---|
| 77 | {
|
---|
| 78 | $this->widevine = $widevine;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @return Widevine
|
---|
| 82 | */
|
---|
| 83 | public function getWidevine()
|
---|
| 84 | {
|
---|
| 85 | return $this->widevine;
|
---|
| 86 | }
|
---|
| 87 | }
|
---|
| 88 |
|
---|
| 89 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 90 | class_alias(DrmSystems::class, 'Google_Service_Transcoder_DrmSystems');
|
---|