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\GKEHub;
19
20class MembershipFeatureState extends \Google\Model
21{
22  protected $appdevexperienceType = AppDevExperienceFeatureState::class;
23  protected $appdevexperienceDataType = '';
24  protected $configmanagementType = ConfigManagementMembershipState::class;
25  protected $configmanagementDataType = '';
26  protected $servicemeshType = ServiceMeshMembershipState::class;
27  protected $servicemeshDataType = '';
28  protected $stateType = FeatureState::class;
29  protected $stateDataType = '';
30
31  /**
32   * @param AppDevExperienceFeatureState
33   */
34  public function setAppdevexperience(AppDevExperienceFeatureState $appdevexperience)
35  {
36    $this->appdevexperience = $appdevexperience;
37  }
38  /**
39   * @return AppDevExperienceFeatureState
40   */
41  public function getAppdevexperience()
42  {
43    return $this->appdevexperience;
44  }
45  /**
46   * @param ConfigManagementMembershipState
47   */
48  public function setConfigmanagement(ConfigManagementMembershipState $configmanagement)
49  {
50    $this->configmanagement = $configmanagement;
51  }
52  /**
53   * @return ConfigManagementMembershipState
54   */
55  public function getConfigmanagement()
56  {
57    return $this->configmanagement;
58  }
59  /**
60   * @param ServiceMeshMembershipState
61   */
62  public function setServicemesh(ServiceMeshMembershipState $servicemesh)
63  {
64    $this->servicemesh = $servicemesh;
65  }
66  /**
67   * @return ServiceMeshMembershipState
68   */
69  public function getServicemesh()
70  {
71    return $this->servicemesh;
72  }
73  /**
74   * @param FeatureState
75   */
76  public function setState(FeatureState $state)
77  {
78    $this->state = $state;
79  }
80  /**
81   * @return FeatureState
82   */
83  public function getState()
84  {
85    return $this->state;
86  }
87}
88
89// Adding a class alias for backwards compatibility with the previous class name.
90class_alias(MembershipFeatureState::class, 'Google_Service_GKEHub_MembershipFeatureState');
91