[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\FirebaseHosting;
|
---|
| 19 |
|
---|
| 20 | class CustomDomainMetadata extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'liveMigrationSteps';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $certState;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $hostState;
|
---|
| 31 | protected $issuesType = Status::class;
|
---|
| 32 | protected $issuesDataType = 'array';
|
---|
| 33 | protected $liveMigrationStepsType = LiveMigrationStep::class;
|
---|
| 34 | protected $liveMigrationStepsDataType = 'array';
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $ownershipState;
|
---|
| 39 | protected $quickSetupUpdatesType = DnsUpdates::class;
|
---|
| 40 | protected $quickSetupUpdatesDataType = '';
|
---|
| 41 |
|
---|
| 42 | /**
|
---|
| 43 | * @param string
|
---|
| 44 | */
|
---|
| 45 | public function setCertState($certState)
|
---|
| 46 | {
|
---|
| 47 | $this->certState = $certState;
|
---|
| 48 | }
|
---|
| 49 | /**
|
---|
| 50 | * @return string
|
---|
| 51 | */
|
---|
| 52 | public function getCertState()
|
---|
| 53 | {
|
---|
| 54 | return $this->certState;
|
---|
| 55 | }
|
---|
| 56 | /**
|
---|
| 57 | * @param string
|
---|
| 58 | */
|
---|
| 59 | public function setHostState($hostState)
|
---|
| 60 | {
|
---|
| 61 | $this->hostState = $hostState;
|
---|
| 62 | }
|
---|
| 63 | /**
|
---|
| 64 | * @return string
|
---|
| 65 | */
|
---|
| 66 | public function getHostState()
|
---|
| 67 | {
|
---|
| 68 | return $this->hostState;
|
---|
| 69 | }
|
---|
| 70 | /**
|
---|
| 71 | * @param Status[]
|
---|
| 72 | */
|
---|
| 73 | public function setIssues($issues)
|
---|
| 74 | {
|
---|
| 75 | $this->issues = $issues;
|
---|
| 76 | }
|
---|
| 77 | /**
|
---|
| 78 | * @return Status[]
|
---|
| 79 | */
|
---|
| 80 | public function getIssues()
|
---|
| 81 | {
|
---|
| 82 | return $this->issues;
|
---|
| 83 | }
|
---|
| 84 | /**
|
---|
| 85 | * @param LiveMigrationStep[]
|
---|
| 86 | */
|
---|
| 87 | public function setLiveMigrationSteps($liveMigrationSteps)
|
---|
| 88 | {
|
---|
| 89 | $this->liveMigrationSteps = $liveMigrationSteps;
|
---|
| 90 | }
|
---|
| 91 | /**
|
---|
| 92 | * @return LiveMigrationStep[]
|
---|
| 93 | */
|
---|
| 94 | public function getLiveMigrationSteps()
|
---|
| 95 | {
|
---|
| 96 | return $this->liveMigrationSteps;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @param string
|
---|
| 100 | */
|
---|
| 101 | public function setOwnershipState($ownershipState)
|
---|
| 102 | {
|
---|
| 103 | $this->ownershipState = $ownershipState;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @return string
|
---|
| 107 | */
|
---|
| 108 | public function getOwnershipState()
|
---|
| 109 | {
|
---|
| 110 | return $this->ownershipState;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @param DnsUpdates
|
---|
| 114 | */
|
---|
| 115 | public function setQuickSetupUpdates(DnsUpdates $quickSetupUpdates)
|
---|
| 116 | {
|
---|
| 117 | $this->quickSetupUpdates = $quickSetupUpdates;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @return DnsUpdates
|
---|
| 121 | */
|
---|
| 122 | public function getQuickSetupUpdates()
|
---|
| 123 | {
|
---|
| 124 | return $this->quickSetupUpdates;
|
---|
| 125 | }
|
---|
| 126 | }
|
---|
| 127 |
|
---|
| 128 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 129 | class_alias(CustomDomainMetadata::class, 'Google_Service_FirebaseHosting_CustomDomainMetadata');
|
---|