<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\CloudIAP;

class AccessSettings extends \Google\Model
{
  protected $allowedDomainsSettingsType = AllowedDomainsSettings::class;
  protected $allowedDomainsSettingsDataType = '';
  public $allowedDomainsSettings;
  protected $corsSettingsType = CorsSettings::class;
  protected $corsSettingsDataType = '';
  public $corsSettings;
  protected $gcipSettingsType = GcipSettings::class;
  protected $gcipSettingsDataType = '';
  public $gcipSettings;
  protected $oauthSettingsType = OAuthSettings::class;
  protected $oauthSettingsDataType = '';
  public $oauthSettings;
  protected $policyDelegationSettingsType = PolicyDelegationSettings::class;
  protected $policyDelegationSettingsDataType = '';
  public $policyDelegationSettings;
  protected $reauthSettingsType = ReauthSettings::class;
  protected $reauthSettingsDataType = '';
  public $reauthSettings;

  /**
   * @param AllowedDomainsSettings
   */
  public function setAllowedDomainsSettings(AllowedDomainsSettings $allowedDomainsSettings)
  {
    $this->allowedDomainsSettings = $allowedDomainsSettings;
  }
  /**
   * @return AllowedDomainsSettings
   */
  public function getAllowedDomainsSettings()
  {
    return $this->allowedDomainsSettings;
  }
  /**
   * @param CorsSettings
   */
  public function setCorsSettings(CorsSettings $corsSettings)
  {
    $this->corsSettings = $corsSettings;
  }
  /**
   * @return CorsSettings
   */
  public function getCorsSettings()
  {
    return $this->corsSettings;
  }
  /**
   * @param GcipSettings
   */
  public function setGcipSettings(GcipSettings $gcipSettings)
  {
    $this->gcipSettings = $gcipSettings;
  }
  /**
   * @return GcipSettings
   */
  public function getGcipSettings()
  {
    return $this->gcipSettings;
  }
  /**
   * @param OAuthSettings
   */
  public function setOauthSettings(OAuthSettings $oauthSettings)
  {
    $this->oauthSettings = $oauthSettings;
  }
  /**
   * @return OAuthSettings
   */
  public function getOauthSettings()
  {
    return $this->oauthSettings;
  }
  /**
   * @param PolicyDelegationSettings
   */
  public function setPolicyDelegationSettings(PolicyDelegationSettings $policyDelegationSettings)
  {
    $this->policyDelegationSettings = $policyDelegationSettings;
  }
  /**
   * @return PolicyDelegationSettings
   */
  public function getPolicyDelegationSettings()
  {
    return $this->policyDelegationSettings;
  }
  /**
   * @param ReauthSettings
   */
  public function setReauthSettings(ReauthSettings $reauthSettings)
  {
    $this->reauthSettings = $reauthSettings;
  }
  /**
   * @return ReauthSettings
   */
  public function getReauthSettings()
  {
    return $this->reauthSettings;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSettings::class, 'Google_Service_CloudIAP_AccessSettings');
