[e3d4e0a] | 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\CloudBuild;
|
---|
| 19 |
|
---|
| 20 | class Connection extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string[]
|
---|
| 24 | */
|
---|
| 25 | public $annotations;
|
---|
| 26 | protected $bitbucketCloudConfigType = BitbucketCloudConfig::class;
|
---|
| 27 | protected $bitbucketCloudConfigDataType = '';
|
---|
| 28 | protected $bitbucketDataCenterConfigType = BitbucketDataCenterConfig::class;
|
---|
| 29 | protected $bitbucketDataCenterConfigDataType = '';
|
---|
| 30 | /**
|
---|
| 31 | * @var string
|
---|
| 32 | */
|
---|
| 33 | public $createTime;
|
---|
| 34 | /**
|
---|
| 35 | * @var bool
|
---|
| 36 | */
|
---|
| 37 | public $disabled;
|
---|
| 38 | /**
|
---|
| 39 | * @var string
|
---|
| 40 | */
|
---|
| 41 | public $etag;
|
---|
| 42 | protected $githubConfigType = GitHubConfig::class;
|
---|
| 43 | protected $githubConfigDataType = '';
|
---|
| 44 | protected $githubEnterpriseConfigType = GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig::class;
|
---|
| 45 | protected $githubEnterpriseConfigDataType = '';
|
---|
| 46 | protected $gitlabConfigType = GoogleDevtoolsCloudbuildV2GitLabConfig::class;
|
---|
| 47 | protected $gitlabConfigDataType = '';
|
---|
| 48 | protected $installationStateType = InstallationState::class;
|
---|
| 49 | protected $installationStateDataType = '';
|
---|
| 50 | /**
|
---|
| 51 | * @var string
|
---|
| 52 | */
|
---|
| 53 | public $name;
|
---|
| 54 | /**
|
---|
| 55 | * @var bool
|
---|
| 56 | */
|
---|
| 57 | public $reconciling;
|
---|
| 58 | /**
|
---|
| 59 | * @var string
|
---|
| 60 | */
|
---|
| 61 | public $updateTime;
|
---|
| 62 |
|
---|
| 63 | /**
|
---|
| 64 | * @param string[]
|
---|
| 65 | */
|
---|
| 66 | public function setAnnotations($annotations)
|
---|
| 67 | {
|
---|
| 68 | $this->annotations = $annotations;
|
---|
| 69 | }
|
---|
| 70 | /**
|
---|
| 71 | * @return string[]
|
---|
| 72 | */
|
---|
| 73 | public function getAnnotations()
|
---|
| 74 | {
|
---|
| 75 | return $this->annotations;
|
---|
| 76 | }
|
---|
| 77 | /**
|
---|
| 78 | * @param BitbucketCloudConfig
|
---|
| 79 | */
|
---|
| 80 | public function setBitbucketCloudConfig(BitbucketCloudConfig $bitbucketCloudConfig)
|
---|
| 81 | {
|
---|
| 82 | $this->bitbucketCloudConfig = $bitbucketCloudConfig;
|
---|
| 83 | }
|
---|
| 84 | /**
|
---|
| 85 | * @return BitbucketCloudConfig
|
---|
| 86 | */
|
---|
| 87 | public function getBitbucketCloudConfig()
|
---|
| 88 | {
|
---|
| 89 | return $this->bitbucketCloudConfig;
|
---|
| 90 | }
|
---|
| 91 | /**
|
---|
| 92 | * @param BitbucketDataCenterConfig
|
---|
| 93 | */
|
---|
| 94 | public function setBitbucketDataCenterConfig(BitbucketDataCenterConfig $bitbucketDataCenterConfig)
|
---|
| 95 | {
|
---|
| 96 | $this->bitbucketDataCenterConfig = $bitbucketDataCenterConfig;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @return BitbucketDataCenterConfig
|
---|
| 100 | */
|
---|
| 101 | public function getBitbucketDataCenterConfig()
|
---|
| 102 | {
|
---|
| 103 | return $this->bitbucketDataCenterConfig;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @param string
|
---|
| 107 | */
|
---|
| 108 | public function setCreateTime($createTime)
|
---|
| 109 | {
|
---|
| 110 | $this->createTime = $createTime;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @return string
|
---|
| 114 | */
|
---|
| 115 | public function getCreateTime()
|
---|
| 116 | {
|
---|
| 117 | return $this->createTime;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @param bool
|
---|
| 121 | */
|
---|
| 122 | public function setDisabled($disabled)
|
---|
| 123 | {
|
---|
| 124 | $this->disabled = $disabled;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @return bool
|
---|
| 128 | */
|
---|
| 129 | public function getDisabled()
|
---|
| 130 | {
|
---|
| 131 | return $this->disabled;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @param string
|
---|
| 135 | */
|
---|
| 136 | public function setEtag($etag)
|
---|
| 137 | {
|
---|
| 138 | $this->etag = $etag;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @return string
|
---|
| 142 | */
|
---|
| 143 | public function getEtag()
|
---|
| 144 | {
|
---|
| 145 | return $this->etag;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @param GitHubConfig
|
---|
| 149 | */
|
---|
| 150 | public function setGithubConfig(GitHubConfig $githubConfig)
|
---|
| 151 | {
|
---|
| 152 | $this->githubConfig = $githubConfig;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @return GitHubConfig
|
---|
| 156 | */
|
---|
| 157 | public function getGithubConfig()
|
---|
| 158 | {
|
---|
| 159 | return $this->githubConfig;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @param GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig
|
---|
| 163 | */
|
---|
| 164 | public function setGithubEnterpriseConfig(GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig $githubEnterpriseConfig)
|
---|
| 165 | {
|
---|
| 166 | $this->githubEnterpriseConfig = $githubEnterpriseConfig;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @return GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig
|
---|
| 170 | */
|
---|
| 171 | public function getGithubEnterpriseConfig()
|
---|
| 172 | {
|
---|
| 173 | return $this->githubEnterpriseConfig;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @param GoogleDevtoolsCloudbuildV2GitLabConfig
|
---|
| 177 | */
|
---|
| 178 | public function setGitlabConfig(GoogleDevtoolsCloudbuildV2GitLabConfig $gitlabConfig)
|
---|
| 179 | {
|
---|
| 180 | $this->gitlabConfig = $gitlabConfig;
|
---|
| 181 | }
|
---|
| 182 | /**
|
---|
| 183 | * @return GoogleDevtoolsCloudbuildV2GitLabConfig
|
---|
| 184 | */
|
---|
| 185 | public function getGitlabConfig()
|
---|
| 186 | {
|
---|
| 187 | return $this->gitlabConfig;
|
---|
| 188 | }
|
---|
| 189 | /**
|
---|
| 190 | * @param InstallationState
|
---|
| 191 | */
|
---|
| 192 | public function setInstallationState(InstallationState $installationState)
|
---|
| 193 | {
|
---|
| 194 | $this->installationState = $installationState;
|
---|
| 195 | }
|
---|
| 196 | /**
|
---|
| 197 | * @return InstallationState
|
---|
| 198 | */
|
---|
| 199 | public function getInstallationState()
|
---|
| 200 | {
|
---|
| 201 | return $this->installationState;
|
---|
| 202 | }
|
---|
| 203 | /**
|
---|
| 204 | * @param string
|
---|
| 205 | */
|
---|
| 206 | public function setName($name)
|
---|
| 207 | {
|
---|
| 208 | $this->name = $name;
|
---|
| 209 | }
|
---|
| 210 | /**
|
---|
| 211 | * @return string
|
---|
| 212 | */
|
---|
| 213 | public function getName()
|
---|
| 214 | {
|
---|
| 215 | return $this->name;
|
---|
| 216 | }
|
---|
| 217 | /**
|
---|
| 218 | * @param bool
|
---|
| 219 | */
|
---|
| 220 | public function setReconciling($reconciling)
|
---|
| 221 | {
|
---|
| 222 | $this->reconciling = $reconciling;
|
---|
| 223 | }
|
---|
| 224 | /**
|
---|
| 225 | * @return bool
|
---|
| 226 | */
|
---|
| 227 | public function getReconciling()
|
---|
| 228 | {
|
---|
| 229 | return $this->reconciling;
|
---|
| 230 | }
|
---|
| 231 | /**
|
---|
| 232 | * @param string
|
---|
| 233 | */
|
---|
| 234 | public function setUpdateTime($updateTime)
|
---|
| 235 | {
|
---|
| 236 | $this->updateTime = $updateTime;
|
---|
| 237 | }
|
---|
| 238 | /**
|
---|
| 239 | * @return string
|
---|
| 240 | */
|
---|
| 241 | public function getUpdateTime()
|
---|
| 242 | {
|
---|
| 243 | return $this->updateTime;
|
---|
| 244 | }
|
---|
| 245 | }
|
---|
| 246 |
|
---|
| 247 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 248 | class_alias(Connection::class, 'Google_Service_CloudBuild_Connection');
|
---|