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
18class Google_Service_PolyService_Format extends Google_Collection
19{
20  protected $collection_key = 'resources';
21  protected $formatComplexityType = 'Google_Service_PolyService_FormatComplexity';
22  protected $formatComplexityDataType = '';
23  public $formatType;
24  protected $resourcesType = 'Google_Service_PolyService_PolyFile';
25  protected $resourcesDataType = 'array';
26  protected $rootType = 'Google_Service_PolyService_PolyFile';
27  protected $rootDataType = '';
28
29  /**
30   * @param Google_Service_PolyService_FormatComplexity
31   */
32  public function setFormatComplexity(Google_Service_PolyService_FormatComplexity $formatComplexity)
33  {
34    $this->formatComplexity = $formatComplexity;
35  }
36  /**
37   * @return Google_Service_PolyService_FormatComplexity
38   */
39  public function getFormatComplexity()
40  {
41    return $this->formatComplexity;
42  }
43  public function setFormatType($formatType)
44  {
45    $this->formatType = $formatType;
46  }
47  public function getFormatType()
48  {
49    return $this->formatType;
50  }
51  /**
52   * @param Google_Service_PolyService_PolyFile[]
53   */
54  public function setResources($resources)
55  {
56    $this->resources = $resources;
57  }
58  /**
59   * @return Google_Service_PolyService_PolyFile[]
60   */
61  public function getResources()
62  {
63    return $this->resources;
64  }
65  /**
66   * @param Google_Service_PolyService_PolyFile
67   */
68  public function setRoot(Google_Service_PolyService_PolyFile $root)
69  {
70    $this->root = $root;
71  }
72  /**
73   * @return Google_Service_PolyService_PolyFile
74   */
75  public function getRoot()
76  {
77    return $this->root;
78  }
79}
80