[f9c482b] | 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\Apigee;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudApigeeV1TlsInfo extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'protocols';
|
---|
| 23 | /**
|
---|
| 24 | * @var string[]
|
---|
| 25 | */
|
---|
| 26 | public $ciphers;
|
---|
| 27 | /**
|
---|
| 28 | * @var bool
|
---|
| 29 | */
|
---|
| 30 | public $clientAuthEnabled;
|
---|
| 31 | protected $commonNameType = GoogleCloudApigeeV1TlsInfoCommonName::class;
|
---|
| 32 | protected $commonNameDataType = '';
|
---|
| 33 | /**
|
---|
| 34 | * @var bool
|
---|
| 35 | */
|
---|
| 36 | public $enabled;
|
---|
| 37 | /**
|
---|
| 38 | * @var bool
|
---|
| 39 | */
|
---|
| 40 | public $enforce;
|
---|
| 41 | /**
|
---|
| 42 | * @var bool
|
---|
| 43 | */
|
---|
| 44 | public $ignoreValidationErrors;
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $keyAlias;
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $keyStore;
|
---|
| 53 | /**
|
---|
| 54 | * @var string[]
|
---|
| 55 | */
|
---|
| 56 | public $protocols;
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $trustStore;
|
---|
| 61 |
|
---|
| 62 | /**
|
---|
| 63 | * @param string[]
|
---|
| 64 | */
|
---|
| 65 | public function setCiphers($ciphers)
|
---|
| 66 | {
|
---|
| 67 | $this->ciphers = $ciphers;
|
---|
| 68 | }
|
---|
| 69 | /**
|
---|
| 70 | * @return string[]
|
---|
| 71 | */
|
---|
| 72 | public function getCiphers()
|
---|
| 73 | {
|
---|
| 74 | return $this->ciphers;
|
---|
| 75 | }
|
---|
| 76 | /**
|
---|
| 77 | * @param bool
|
---|
| 78 | */
|
---|
| 79 | public function setClientAuthEnabled($clientAuthEnabled)
|
---|
| 80 | {
|
---|
| 81 | $this->clientAuthEnabled = $clientAuthEnabled;
|
---|
| 82 | }
|
---|
| 83 | /**
|
---|
| 84 | * @return bool
|
---|
| 85 | */
|
---|
| 86 | public function getClientAuthEnabled()
|
---|
| 87 | {
|
---|
| 88 | return $this->clientAuthEnabled;
|
---|
| 89 | }
|
---|
| 90 | /**
|
---|
| 91 | * @param GoogleCloudApigeeV1TlsInfoCommonName
|
---|
| 92 | */
|
---|
| 93 | public function setCommonName(GoogleCloudApigeeV1TlsInfoCommonName $commonName)
|
---|
| 94 | {
|
---|
| 95 | $this->commonName = $commonName;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @return GoogleCloudApigeeV1TlsInfoCommonName
|
---|
| 99 | */
|
---|
| 100 | public function getCommonName()
|
---|
| 101 | {
|
---|
| 102 | return $this->commonName;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @param bool
|
---|
| 106 | */
|
---|
| 107 | public function setEnabled($enabled)
|
---|
| 108 | {
|
---|
| 109 | $this->enabled = $enabled;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @return bool
|
---|
| 113 | */
|
---|
| 114 | public function getEnabled()
|
---|
| 115 | {
|
---|
| 116 | return $this->enabled;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @param bool
|
---|
| 120 | */
|
---|
| 121 | public function setEnforce($enforce)
|
---|
| 122 | {
|
---|
| 123 | $this->enforce = $enforce;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @return bool
|
---|
| 127 | */
|
---|
| 128 | public function getEnforce()
|
---|
| 129 | {
|
---|
| 130 | return $this->enforce;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @param bool
|
---|
| 134 | */
|
---|
| 135 | public function setIgnoreValidationErrors($ignoreValidationErrors)
|
---|
| 136 | {
|
---|
| 137 | $this->ignoreValidationErrors = $ignoreValidationErrors;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @return bool
|
---|
| 141 | */
|
---|
| 142 | public function getIgnoreValidationErrors()
|
---|
| 143 | {
|
---|
| 144 | return $this->ignoreValidationErrors;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @param string
|
---|
| 148 | */
|
---|
| 149 | public function setKeyAlias($keyAlias)
|
---|
| 150 | {
|
---|
| 151 | $this->keyAlias = $keyAlias;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @return string
|
---|
| 155 | */
|
---|
| 156 | public function getKeyAlias()
|
---|
| 157 | {
|
---|
| 158 | return $this->keyAlias;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @param string
|
---|
| 162 | */
|
---|
| 163 | public function setKeyStore($keyStore)
|
---|
| 164 | {
|
---|
| 165 | $this->keyStore = $keyStore;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @return string
|
---|
| 169 | */
|
---|
| 170 | public function getKeyStore()
|
---|
| 171 | {
|
---|
| 172 | return $this->keyStore;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @param string[]
|
---|
| 176 | */
|
---|
| 177 | public function setProtocols($protocols)
|
---|
| 178 | {
|
---|
| 179 | $this->protocols = $protocols;
|
---|
| 180 | }
|
---|
| 181 | /**
|
---|
| 182 | * @return string[]
|
---|
| 183 | */
|
---|
| 184 | public function getProtocols()
|
---|
| 185 | {
|
---|
| 186 | return $this->protocols;
|
---|
| 187 | }
|
---|
| 188 | /**
|
---|
| 189 | * @param string
|
---|
| 190 | */
|
---|
| 191 | public function setTrustStore($trustStore)
|
---|
| 192 | {
|
---|
| 193 | $this->trustStore = $trustStore;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @return string
|
---|
| 197 | */
|
---|
| 198 | public function getTrustStore()
|
---|
| 199 | {
|
---|
| 200 | return $this->trustStore;
|
---|
| 201 | }
|
---|
| 202 | }
|
---|
| 203 |
|
---|
| 204 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 205 | class_alias(GoogleCloudApigeeV1TlsInfo::class, 'Google_Service_Apigee_GoogleCloudApigeeV1TlsInfo');
|
---|