source: vendor/google/apiclient-services/src/SQLAdmin/ImportContext.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: 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 ImportContext extends \Google\Model
21{
22 protected $bakImportOptionsType = ImportContextBakImportOptions::class;
23 protected $bakImportOptionsDataType = '';
24 protected $csvImportOptionsType = ImportContextCsvImportOptions::class;
25 protected $csvImportOptionsDataType = '';
26 /**
27 * @var string
28 */
29 public $database;
30 /**
31 * @var string
32 */
33 public $fileType;
34 /**
35 * @var string
36 */
37 public $importUser;
38 /**
39 * @var string
40 */
41 public $kind;
42 protected $sqlImportOptionsType = ImportContextSqlImportOptions::class;
43 protected $sqlImportOptionsDataType = '';
44 /**
45 * @var string
46 */
47 public $uri;
48
49 /**
50 * @param ImportContextBakImportOptions
51 */
52 public function setBakImportOptions(ImportContextBakImportOptions $bakImportOptions)
53 {
54 $this->bakImportOptions = $bakImportOptions;
55 }
56 /**
57 * @return ImportContextBakImportOptions
58 */
59 public function getBakImportOptions()
60 {
61 return $this->bakImportOptions;
62 }
63 /**
64 * @param ImportContextCsvImportOptions
65 */
66 public function setCsvImportOptions(ImportContextCsvImportOptions $csvImportOptions)
67 {
68 $this->csvImportOptions = $csvImportOptions;
69 }
70 /**
71 * @return ImportContextCsvImportOptions
72 */
73 public function getCsvImportOptions()
74 {
75 return $this->csvImportOptions;
76 }
77 /**
78 * @param string
79 */
80 public function setDatabase($database)
81 {
82 $this->database = $database;
83 }
84 /**
85 * @return string
86 */
87 public function getDatabase()
88 {
89 return $this->database;
90 }
91 /**
92 * @param string
93 */
94 public function setFileType($fileType)
95 {
96 $this->fileType = $fileType;
97 }
98 /**
99 * @return string
100 */
101 public function getFileType()
102 {
103 return $this->fileType;
104 }
105 /**
106 * @param string
107 */
108 public function setImportUser($importUser)
109 {
110 $this->importUser = $importUser;
111 }
112 /**
113 * @return string
114 */
115 public function getImportUser()
116 {
117 return $this->importUser;
118 }
119 /**
120 * @param string
121 */
122 public function setKind($kind)
123 {
124 $this->kind = $kind;
125 }
126 /**
127 * @return string
128 */
129 public function getKind()
130 {
131 return $this->kind;
132 }
133 /**
134 * @param ImportContextSqlImportOptions
135 */
136 public function setSqlImportOptions(ImportContextSqlImportOptions $sqlImportOptions)
137 {
138 $this->sqlImportOptions = $sqlImportOptions;
139 }
140 /**
141 * @return ImportContextSqlImportOptions
142 */
143 public function getSqlImportOptions()
144 {
145 return $this->sqlImportOptions;
146 }
147 /**
148 * @param string
149 */
150 public function setUri($uri)
151 {
152 $this->uri = $uri;
153 }
154 /**
155 * @return string
156 */
157 public function getUri()
158 {
159 return $this->uri;
160 }
161}
162
163// Adding a class alias for backwards compatibility with the previous class name.
164class_alias(ImportContext::class, 'Google_Service_SQLAdmin_ImportContext');
Note: See TracBrowser for help on using the repository browser.