source: vendor/google/apiclient-services/src/WorkloadManager/SapDiscoveryComponent.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.7 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\WorkloadManager;
19
20class SapDiscoveryComponent extends \Google\Collection
21{
22 protected $collection_key = 'resources';
23 protected $applicationPropertiesType = SapDiscoveryComponentApplicationProperties::class;
24 protected $applicationPropertiesDataType = '';
25 protected $databasePropertiesType = SapDiscoveryComponentDatabaseProperties::class;
26 protected $databasePropertiesDataType = '';
27 /**
28 * @var string[]
29 */
30 public $haHosts;
31 /**
32 * @var string
33 */
34 public $hostProject;
35 protected $replicationSitesType = SapDiscoveryComponent::class;
36 protected $replicationSitesDataType = 'array';
37 protected $resourcesType = SapDiscoveryResource::class;
38 protected $resourcesDataType = 'array';
39 /**
40 * @var string
41 */
42 public $sid;
43 /**
44 * @var string
45 */
46 public $topologyType;
47
48 /**
49 * @param SapDiscoveryComponentApplicationProperties
50 */
51 public function setApplicationProperties(SapDiscoveryComponentApplicationProperties $applicationProperties)
52 {
53 $this->applicationProperties = $applicationProperties;
54 }
55 /**
56 * @return SapDiscoveryComponentApplicationProperties
57 */
58 public function getApplicationProperties()
59 {
60 return $this->applicationProperties;
61 }
62 /**
63 * @param SapDiscoveryComponentDatabaseProperties
64 */
65 public function setDatabaseProperties(SapDiscoveryComponentDatabaseProperties $databaseProperties)
66 {
67 $this->databaseProperties = $databaseProperties;
68 }
69 /**
70 * @return SapDiscoveryComponentDatabaseProperties
71 */
72 public function getDatabaseProperties()
73 {
74 return $this->databaseProperties;
75 }
76 /**
77 * @param string[]
78 */
79 public function setHaHosts($haHosts)
80 {
81 $this->haHosts = $haHosts;
82 }
83 /**
84 * @return string[]
85 */
86 public function getHaHosts()
87 {
88 return $this->haHosts;
89 }
90 /**
91 * @param string
92 */
93 public function setHostProject($hostProject)
94 {
95 $this->hostProject = $hostProject;
96 }
97 /**
98 * @return string
99 */
100 public function getHostProject()
101 {
102 return $this->hostProject;
103 }
104 /**
105 * @param SapDiscoveryComponent[]
106 */
107 public function setReplicationSites($replicationSites)
108 {
109 $this->replicationSites = $replicationSites;
110 }
111 /**
112 * @return SapDiscoveryComponent[]
113 */
114 public function getReplicationSites()
115 {
116 return $this->replicationSites;
117 }
118 /**
119 * @param SapDiscoveryResource[]
120 */
121 public function setResources($resources)
122 {
123 $this->resources = $resources;
124 }
125 /**
126 * @return SapDiscoveryResource[]
127 */
128 public function getResources()
129 {
130 return $this->resources;
131 }
132 /**
133 * @param string
134 */
135 public function setSid($sid)
136 {
137 $this->sid = $sid;
138 }
139 /**
140 * @return string
141 */
142 public function getSid()
143 {
144 return $this->sid;
145 }
146 /**
147 * @param string
148 */
149 public function setTopologyType($topologyType)
150 {
151 $this->topologyType = $topologyType;
152 }
153 /**
154 * @return string
155 */
156 public function getTopologyType()
157 {
158 return $this->topologyType;
159 }
160}
161
162// Adding a class alias for backwards compatibility with the previous class name.
163class_alias(SapDiscoveryComponent::class, 'Google_Service_WorkloadManager_SapDiscoveryComponent');
Note: See TracBrowser for help on using the repository browser.