[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 PreprocessingConfig extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $audioType = Audio::class;
|
---|
| 23 | protected $audioDataType = '';
|
---|
| 24 | protected $colorType = Color::class;
|
---|
| 25 | protected $colorDataType = '';
|
---|
| 26 | protected $cropType = Crop::class;
|
---|
| 27 | protected $cropDataType = '';
|
---|
| 28 | protected $deblockType = Deblock::class;
|
---|
| 29 | protected $deblockDataType = '';
|
---|
| 30 | protected $deinterlaceType = Deinterlace::class;
|
---|
| 31 | protected $deinterlaceDataType = '';
|
---|
| 32 | protected $denoiseType = Denoise::class;
|
---|
| 33 | protected $denoiseDataType = '';
|
---|
| 34 | protected $padType = Pad::class;
|
---|
| 35 | protected $padDataType = '';
|
---|
| 36 |
|
---|
| 37 | /**
|
---|
| 38 | * @param Audio
|
---|
| 39 | */
|
---|
| 40 | public function setAudio(Audio $audio)
|
---|
| 41 | {
|
---|
| 42 | $this->audio = $audio;
|
---|
| 43 | }
|
---|
| 44 | /**
|
---|
| 45 | * @return Audio
|
---|
| 46 | */
|
---|
| 47 | public function getAudio()
|
---|
| 48 | {
|
---|
| 49 | return $this->audio;
|
---|
| 50 | }
|
---|
| 51 | /**
|
---|
| 52 | * @param Color
|
---|
| 53 | */
|
---|
| 54 | public function setColor(Color $color)
|
---|
| 55 | {
|
---|
| 56 | $this->color = $color;
|
---|
| 57 | }
|
---|
| 58 | /**
|
---|
| 59 | * @return Color
|
---|
| 60 | */
|
---|
| 61 | public function getColor()
|
---|
| 62 | {
|
---|
| 63 | return $this->color;
|
---|
| 64 | }
|
---|
| 65 | /**
|
---|
| 66 | * @param Crop
|
---|
| 67 | */
|
---|
| 68 | public function setCrop(Crop $crop)
|
---|
| 69 | {
|
---|
| 70 | $this->crop = $crop;
|
---|
| 71 | }
|
---|
| 72 | /**
|
---|
| 73 | * @return Crop
|
---|
| 74 | */
|
---|
| 75 | public function getCrop()
|
---|
| 76 | {
|
---|
| 77 | return $this->crop;
|
---|
| 78 | }
|
---|
| 79 | /**
|
---|
| 80 | * @param Deblock
|
---|
| 81 | */
|
---|
| 82 | public function setDeblock(Deblock $deblock)
|
---|
| 83 | {
|
---|
| 84 | $this->deblock = $deblock;
|
---|
| 85 | }
|
---|
| 86 | /**
|
---|
| 87 | * @return Deblock
|
---|
| 88 | */
|
---|
| 89 | public function getDeblock()
|
---|
| 90 | {
|
---|
| 91 | return $this->deblock;
|
---|
| 92 | }
|
---|
| 93 | /**
|
---|
| 94 | * @param Deinterlace
|
---|
| 95 | */
|
---|
| 96 | public function setDeinterlace(Deinterlace $deinterlace)
|
---|
| 97 | {
|
---|
| 98 | $this->deinterlace = $deinterlace;
|
---|
| 99 | }
|
---|
| 100 | /**
|
---|
| 101 | * @return Deinterlace
|
---|
| 102 | */
|
---|
| 103 | public function getDeinterlace()
|
---|
| 104 | {
|
---|
| 105 | return $this->deinterlace;
|
---|
| 106 | }
|
---|
| 107 | /**
|
---|
| 108 | * @param Denoise
|
---|
| 109 | */
|
---|
| 110 | public function setDenoise(Denoise $denoise)
|
---|
| 111 | {
|
---|
| 112 | $this->denoise = $denoise;
|
---|
| 113 | }
|
---|
| 114 | /**
|
---|
| 115 | * @return Denoise
|
---|
| 116 | */
|
---|
| 117 | public function getDenoise()
|
---|
| 118 | {
|
---|
| 119 | return $this->denoise;
|
---|
| 120 | }
|
---|
| 121 | /**
|
---|
| 122 | * @param Pad
|
---|
| 123 | */
|
---|
| 124 | public function setPad(Pad $pad)
|
---|
| 125 | {
|
---|
| 126 | $this->pad = $pad;
|
---|
| 127 | }
|
---|
| 128 | /**
|
---|
| 129 | * @return Pad
|
---|
| 130 | */
|
---|
| 131 | public function getPad()
|
---|
| 132 | {
|
---|
| 133 | return $this->pad;
|
---|
| 134 | }
|
---|
| 135 | }
|
---|
| 136 |
|
---|
| 137 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 138 | class_alias(PreprocessingConfig::class, 'Google_Service_Transcoder_PreprocessingConfig');
|
---|