Açıklama Yok

ImClient.php 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. class Google_Service_PeopleService_ImClient extends Google_Model
  18. {
  19. public $formattedProtocol;
  20. public $formattedType;
  21. protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
  22. protected $metadataDataType = '';
  23. public $protocol;
  24. public $type;
  25. public $username;
  26. public function setFormattedProtocol($formattedProtocol)
  27. {
  28. $this->formattedProtocol = $formattedProtocol;
  29. }
  30. public function getFormattedProtocol()
  31. {
  32. return $this->formattedProtocol;
  33. }
  34. public function setFormattedType($formattedType)
  35. {
  36. $this->formattedType = $formattedType;
  37. }
  38. public function getFormattedType()
  39. {
  40. return $this->formattedType;
  41. }
  42. /**
  43. * @param Google_Service_PeopleService_FieldMetadata
  44. */
  45. public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
  46. {
  47. $this->metadata = $metadata;
  48. }
  49. /**
  50. * @return Google_Service_PeopleService_FieldMetadata
  51. */
  52. public function getMetadata()
  53. {
  54. return $this->metadata;
  55. }
  56. public function setProtocol($protocol)
  57. {
  58. $this->protocol = $protocol;
  59. }
  60. public function getProtocol()
  61. {
  62. return $this->protocol;
  63. }
  64. public function setType($type)
  65. {
  66. $this->type = $type;
  67. }
  68. public function getType()
  69. {
  70. return $this->type;
  71. }
  72. public function setUsername($username)
  73. {
  74. $this->username = $username;
  75. }
  76. public function getUsername()
  77. {
  78. return $this->username;
  79. }
  80. }