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\Vault; 19 20class ExportOptions extends \Google\Model 21{ 22 protected $driveOptionsType = DriveExportOptions::class; 23 protected $driveOptionsDataType = ''; 24 protected $groupsOptionsType = GroupsExportOptions::class; 25 protected $groupsOptionsDataType = ''; 26 protected $hangoutsChatOptionsType = HangoutsChatExportOptions::class; 27 protected $hangoutsChatOptionsDataType = ''; 28 protected $mailOptionsType = MailExportOptions::class; 29 protected $mailOptionsDataType = ''; 30 /** 31 * @var string 32 */ 33 public $region; 34 protected $voiceOptionsType = VoiceExportOptions::class; 35 protected $voiceOptionsDataType = ''; 36 37 /** 38 * @param DriveExportOptions 39 */ 40 public function setDriveOptions(DriveExportOptions $driveOptions) 41 { 42 $this->driveOptions = $driveOptions; 43 } 44 /** 45 * @return DriveExportOptions 46 */ 47 public function getDriveOptions() 48 { 49 return $this->driveOptions; 50 } 51 /** 52 * @param GroupsExportOptions 53 */ 54 public function setGroupsOptions(GroupsExportOptions $groupsOptions) 55 { 56 $this->groupsOptions = $groupsOptions; 57 } 58 /** 59 * @return GroupsExportOptions 60 */ 61 public function getGroupsOptions() 62 { 63 return $this->groupsOptions; 64 } 65 /** 66 * @param HangoutsChatExportOptions 67 */ 68 public function setHangoutsChatOptions(HangoutsChatExportOptions $hangoutsChatOptions) 69 { 70 $this->hangoutsChatOptions = $hangoutsChatOptions; 71 } 72 /** 73 * @return HangoutsChatExportOptions 74 */ 75 public function getHangoutsChatOptions() 76 { 77 return $this->hangoutsChatOptions; 78 } 79 /** 80 * @param MailExportOptions 81 */ 82 public function setMailOptions(MailExportOptions $mailOptions) 83 { 84 $this->mailOptions = $mailOptions; 85 } 86 /** 87 * @return MailExportOptions 88 */ 89 public function getMailOptions() 90 { 91 return $this->mailOptions; 92 } 93 /** 94 * @param string 95 */ 96 public function setRegion($region) 97 { 98 $this->region = $region; 99 } 100 /** 101 * @return string 102 */ 103 public function getRegion() 104 { 105 return $this->region; 106 } 107 /** 108 * @param VoiceExportOptions 109 */ 110 public function setVoiceOptions(VoiceExportOptions $voiceOptions) 111 { 112 $this->voiceOptions = $voiceOptions; 113 } 114 /** 115 * @return VoiceExportOptions 116 */ 117 public function getVoiceOptions() 118 { 119 return $this->voiceOptions; 120 } 121} 122 123// Adding a class alias for backwards compatibility with the previous class name. 124class_alias(ExportOptions::class, 'Google_Service_Vault_ExportOptions'); 125