source: vendor/google/apiclient-services/src/SQLAdmin/ExportContext.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload new project files

  • Property mode set to 100644
File size: 3.4 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\SQLAdmin;
19
20class ExportContext extends \Google\Collection
21{
22 protected $collection_key = 'databases';
23 protected $bakExportOptionsType = ExportContextBakExportOptions::class;
24 protected $bakExportOptionsDataType = '';
25 protected $csvExportOptionsType = ExportContextCsvExportOptions::class;
26 protected $csvExportOptionsDataType = '';
27 /**
28 * @var string[]
29 */
30 public $databases;
31 /**
32 * @var string
33 */
34 public $fileType;
35 /**
36 * @var string
37 */
38 public $kind;
39 /**
40 * @var bool
41 */
42 public $offload;
43 protected $sqlExportOptionsType = ExportContextSqlExportOptions::class;
44 protected $sqlExportOptionsDataType = '';
45 /**
46 * @var string
47 */
48 public $uri;
49
50 /**
51 * @param ExportContextBakExportOptions
52 */
53 public function setBakExportOptions(ExportContextBakExportOptions $bakExportOptions)
54 {
55 $this->bakExportOptions = $bakExportOptions;
56 }
57 /**
58 * @return ExportContextBakExportOptions
59 */
60 public function getBakExportOptions()
61 {
62 return $this->bakExportOptions;
63 }
64 /**
65 * @param ExportContextCsvExportOptions
66 */
67 public function setCsvExportOptions(ExportContextCsvExportOptions $csvExportOptions)
68 {
69 $this->csvExportOptions = $csvExportOptions;
70 }
71 /**
72 * @return ExportContextCsvExportOptions
73 */
74 public function getCsvExportOptions()
75 {
76 return $this->csvExportOptions;
77 }
78 /**
79 * @param string[]
80 */
81 public function setDatabases($databases)
82 {
83 $this->databases = $databases;
84 }
85 /**
86 * @return string[]
87 */
88 public function getDatabases()
89 {
90 return $this->databases;
91 }
92 /**
93 * @param string
94 */
95 public function setFileType($fileType)
96 {
97 $this->fileType = $fileType;
98 }
99 /**
100 * @return string
101 */
102 public function getFileType()
103 {
104 return $this->fileType;
105 }
106 /**
107 * @param string
108 */
109 public function setKind($kind)
110 {
111 $this->kind = $kind;
112 }
113 /**
114 * @return string
115 */
116 public function getKind()
117 {
118 return $this->kind;
119 }
120 /**
121 * @param bool
122 */
123 public function setOffload($offload)
124 {
125 $this->offload = $offload;
126 }
127 /**
128 * @return bool
129 */
130 public function getOffload()
131 {
132 return $this->offload;
133 }
134 /**
135 * @param ExportContextSqlExportOptions
136 */
137 public function setSqlExportOptions(ExportContextSqlExportOptions $sqlExportOptions)
138 {
139 $this->sqlExportOptions = $sqlExportOptions;
140 }
141 /**
142 * @return ExportContextSqlExportOptions
143 */
144 public function getSqlExportOptions()
145 {
146 return $this->sqlExportOptions;
147 }
148 /**
149 * @param string
150 */
151 public function setUri($uri)
152 {
153 $this->uri = $uri;
154 }
155 /**
156 * @return string
157 */
158 public function getUri()
159 {
160 return $this->uri;
161 }
162}
163
164// Adding a class alias for backwards compatibility with the previous class name.
165class_alias(ExportContext::class, 'Google_Service_SQLAdmin_ExportContext');
Note: See TracBrowser for help on using the repository browser.