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 |
|
---|
18 | namespace Google\Service\MigrationCenterAPI;
|
---|
19 |
|
---|
20 | class DatabaseDeploymentDetails extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $aggregatedStatsType = DatabaseDeploymentDetailsAggregatedStats::class;
|
---|
23 | protected $aggregatedStatsDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $edition;
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $generatedId;
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $manualUniqueId;
|
---|
36 | protected $mysqlType = MysqlDatabaseDeployment::class;
|
---|
37 | protected $mysqlDataType = '';
|
---|
38 | protected $postgresqlType = PostgreSqlDatabaseDeployment::class;
|
---|
39 | protected $postgresqlDataType = '';
|
---|
40 | protected $sqlServerType = SqlServerDatabaseDeployment::class;
|
---|
41 | protected $sqlServerDataType = '';
|
---|
42 | protected $topologyType = DatabaseDeploymentTopology::class;
|
---|
43 | protected $topologyDataType = '';
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $version;
|
---|
48 |
|
---|
49 | /**
|
---|
50 | * @param DatabaseDeploymentDetailsAggregatedStats
|
---|
51 | */
|
---|
52 | public function setAggregatedStats(DatabaseDeploymentDetailsAggregatedStats $aggregatedStats)
|
---|
53 | {
|
---|
54 | $this->aggregatedStats = $aggregatedStats;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @return DatabaseDeploymentDetailsAggregatedStats
|
---|
58 | */
|
---|
59 | public function getAggregatedStats()
|
---|
60 | {
|
---|
61 | return $this->aggregatedStats;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @param string
|
---|
65 | */
|
---|
66 | public function setEdition($edition)
|
---|
67 | {
|
---|
68 | $this->edition = $edition;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @return string
|
---|
72 | */
|
---|
73 | public function getEdition()
|
---|
74 | {
|
---|
75 | return $this->edition;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @param string
|
---|
79 | */
|
---|
80 | public function setGeneratedId($generatedId)
|
---|
81 | {
|
---|
82 | $this->generatedId = $generatedId;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @return string
|
---|
86 | */
|
---|
87 | public function getGeneratedId()
|
---|
88 | {
|
---|
89 | return $this->generatedId;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @param string
|
---|
93 | */
|
---|
94 | public function setManualUniqueId($manualUniqueId)
|
---|
95 | {
|
---|
96 | $this->manualUniqueId = $manualUniqueId;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @return string
|
---|
100 | */
|
---|
101 | public function getManualUniqueId()
|
---|
102 | {
|
---|
103 | return $this->manualUniqueId;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @param MysqlDatabaseDeployment
|
---|
107 | */
|
---|
108 | public function setMysql(MysqlDatabaseDeployment $mysql)
|
---|
109 | {
|
---|
110 | $this->mysql = $mysql;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @return MysqlDatabaseDeployment
|
---|
114 | */
|
---|
115 | public function getMysql()
|
---|
116 | {
|
---|
117 | return $this->mysql;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @param PostgreSqlDatabaseDeployment
|
---|
121 | */
|
---|
122 | public function setPostgresql(PostgreSqlDatabaseDeployment $postgresql)
|
---|
123 | {
|
---|
124 | $this->postgresql = $postgresql;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @return PostgreSqlDatabaseDeployment
|
---|
128 | */
|
---|
129 | public function getPostgresql()
|
---|
130 | {
|
---|
131 | return $this->postgresql;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @param SqlServerDatabaseDeployment
|
---|
135 | */
|
---|
136 | public function setSqlServer(SqlServerDatabaseDeployment $sqlServer)
|
---|
137 | {
|
---|
138 | $this->sqlServer = $sqlServer;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @return SqlServerDatabaseDeployment
|
---|
142 | */
|
---|
143 | public function getSqlServer()
|
---|
144 | {
|
---|
145 | return $this->sqlServer;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @param DatabaseDeploymentTopology
|
---|
149 | */
|
---|
150 | public function setTopology(DatabaseDeploymentTopology $topology)
|
---|
151 | {
|
---|
152 | $this->topology = $topology;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @return DatabaseDeploymentTopology
|
---|
156 | */
|
---|
157 | public function getTopology()
|
---|
158 | {
|
---|
159 | return $this->topology;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @param string
|
---|
163 | */
|
---|
164 | public function setVersion($version)
|
---|
165 | {
|
---|
166 | $this->version = $version;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @return string
|
---|
170 | */
|
---|
171 | public function getVersion()
|
---|
172 | {
|
---|
173 | return $this->version;
|
---|
174 | }
|
---|
175 | }
|
---|
176 |
|
---|
177 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
178 | class_alias(DatabaseDeploymentDetails::class, 'Google_Service_MigrationCenterAPI_DatabaseDeploymentDetails');
|
---|