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 18class Google_Service_PeopleService_ContactGroup extends Google_Collection 19{ 20 protected $collection_key = 'memberResourceNames'; 21 public $etag; 22 public $formattedName; 23 public $groupType; 24 public $memberCount; 25 public $memberResourceNames; 26 protected $metadataType = 'Google_Service_PeopleService_ContactGroupMetadata'; 27 protected $metadataDataType = ''; 28 public $name; 29 public $resourceName; 30 31 public function setEtag($etag) 32 { 33 $this->etag = $etag; 34 } 35 public function getEtag() 36 { 37 return $this->etag; 38 } 39 public function setFormattedName($formattedName) 40 { 41 $this->formattedName = $formattedName; 42 } 43 public function getFormattedName() 44 { 45 return $this->formattedName; 46 } 47 public function setGroupType($groupType) 48 { 49 $this->groupType = $groupType; 50 } 51 public function getGroupType() 52 { 53 return $this->groupType; 54 } 55 public function setMemberCount($memberCount) 56 { 57 $this->memberCount = $memberCount; 58 } 59 public function getMemberCount() 60 { 61 return $this->memberCount; 62 } 63 public function setMemberResourceNames($memberResourceNames) 64 { 65 $this->memberResourceNames = $memberResourceNames; 66 } 67 public function getMemberResourceNames() 68 { 69 return $this->memberResourceNames; 70 } 71 /** 72 * @param Google_Service_PeopleService_ContactGroupMetadata 73 */ 74 public function setMetadata(Google_Service_PeopleService_ContactGroupMetadata $metadata) 75 { 76 $this->metadata = $metadata; 77 } 78 /** 79 * @return Google_Service_PeopleService_ContactGroupMetadata 80 */ 81 public function getMetadata() 82 { 83 return $this->metadata; 84 } 85 public function setName($name) 86 { 87 $this->name = $name; 88 } 89 public function getName() 90 { 91 return $this->name; 92 } 93 public function setResourceName($resourceName) 94 { 95 $this->resourceName = $resourceName; 96 } 97 public function getResourceName() 98 { 99 return $this->resourceName; 100 } 101} 102