source: vendor/google/apiclient-services/src/PolyService/Format.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 2.3 KB
Line 
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\PolyService;
19
20class Format extends \Google\Collection
21{
22 protected $collection_key = 'resources';
23 /**
24 * @var FormatComplexity
25 */
26 public $formatComplexity;
27 protected $formatComplexityType = FormatComplexity::class;
28 protected $formatComplexityDataType = '';
29 /**
30 * @var string
31 */
32 public $formatType;
33 /**
34 * @var PolyFile[]
35 */
36 public $resources;
37 protected $resourcesType = PolyFile::class;
38 protected $resourcesDataType = 'array';
39 /**
40 * @var PolyFile
41 */
42 public $root;
43 protected $rootType = PolyFile::class;
44 protected $rootDataType = '';
45
46 /**
47 * @param FormatComplexity
48 */
49 public function setFormatComplexity(FormatComplexity $formatComplexity)
50 {
51 $this->formatComplexity = $formatComplexity;
52 }
53 /**
54 * @return FormatComplexity
55 */
56 public function getFormatComplexity()
57 {
58 return $this->formatComplexity;
59 }
60 /**
61 * @param string
62 */
63 public function setFormatType($formatType)
64 {
65 $this->formatType = $formatType;
66 }
67 /**
68 * @return string
69 */
70 public function getFormatType()
71 {
72 return $this->formatType;
73 }
74 /**
75 * @param PolyFile[]
76 */
77 public function setResources($resources)
78 {
79 $this->resources = $resources;
80 }
81 /**
82 * @return PolyFile[]
83 */
84 public function getResources()
85 {
86 return $this->resources;
87 }
88 /**
89 * @param PolyFile
90 */
91 public function setRoot(PolyFile $root)
92 {
93 $this->root = $root;
94 }
95 /**
96 * @return PolyFile
97 */
98 public function getRoot()
99 {
100 return $this->root;
101 }
102}
103
104// Adding a class alias for backwards compatibility with the previous class name.
105class_alias(Format::class, 'Google_Service_PolyService_Format');
Note: See TracBrowser for help on using the repository browser.