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
18namespace Google\Service\Transcoder;
19
20class 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 $denoiseType = Denoise::class;
31  protected $denoiseDataType = '';
32  protected $padType = Pad::class;
33  protected $padDataType = '';
34
35  /**
36   * @param Audio
37   */
38  public function setAudio(Audio $audio)
39  {
40    $this->audio = $audio;
41  }
42  /**
43   * @return Audio
44   */
45  public function getAudio()
46  {
47    return $this->audio;
48  }
49  /**
50   * @param Color
51   */
52  public function setColor(Color $color)
53  {
54    $this->color = $color;
55  }
56  /**
57   * @return Color
58   */
59  public function getColor()
60  {
61    return $this->color;
62  }
63  /**
64   * @param Crop
65   */
66  public function setCrop(Crop $crop)
67  {
68    $this->crop = $crop;
69  }
70  /**
71   * @return Crop
72   */
73  public function getCrop()
74  {
75    return $this->crop;
76  }
77  /**
78   * @param Deblock
79   */
80  public function setDeblock(Deblock $deblock)
81  {
82    $this->deblock = $deblock;
83  }
84  /**
85   * @return Deblock
86   */
87  public function getDeblock()
88  {
89    return $this->deblock;
90  }
91  /**
92   * @param Denoise
93   */
94  public function setDenoise(Denoise $denoise)
95  {
96    $this->denoise = $denoise;
97  }
98  /**
99   * @return Denoise
100   */
101  public function getDenoise()
102  {
103    return $this->denoise;
104  }
105  /**
106   * @param Pad
107   */
108  public function setPad(Pad $pad)
109  {
110    $this->pad = $pad;
111  }
112  /**
113   * @return Pad
114   */
115  public function getPad()
116  {
117    return $this->pad;
118  }
119}
120
121// Adding a class alias for backwards compatibility with the previous class name.
122class_alias(PreprocessingConfig::class, 'Google_Service_Transcoder_PreprocessingConfig');
123