説明なし

PhoneNumber.php 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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_PhoneNumber extends Google_Model
  18. {
  19. public $canonicalForm;
  20. public $formattedType;
  21. protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
  22. protected $metadataDataType = '';
  23. public $type;
  24. public $value;
  25. public function setCanonicalForm($canonicalForm)
  26. {
  27. $this->canonicalForm = $canonicalForm;
  28. }
  29. public function getCanonicalForm()
  30. {
  31. return $this->canonicalForm;
  32. }
  33. public function setFormattedType($formattedType)
  34. {
  35. $this->formattedType = $formattedType;
  36. }
  37. public function getFormattedType()
  38. {
  39. return $this->formattedType;
  40. }
  41. /**
  42. * @param Google_Service_PeopleService_FieldMetadata
  43. */
  44. public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
  45. {
  46. $this->metadata = $metadata;
  47. }
  48. /**
  49. * @return Google_Service_PeopleService_FieldMetadata
  50. */
  51. public function getMetadata()
  52. {
  53. return $this->metadata;
  54. }
  55. public function setType($type)
  56. {
  57. $this->type = $type;
  58. }
  59. public function getType()
  60. {
  61. return $this->type;
  62. }
  63. public function setValue($value)
  64. {
  65. $this->value = $value;
  66. }
  67. public function getValue()
  68. {
  69. return $this->value;
  70. }
  71. }