1 | <?php |
||
8 | class PhoneNumberDesc |
||
9 | { |
||
10 | protected $hasNationalNumberPattern = false; |
||
11 | protected $nationalNumberPattern = ""; |
||
12 | protected $hasExampleNumber = false; |
||
13 | protected $exampleNumber = ""; |
||
14 | /** |
||
15 | * @var array |
||
16 | */ |
||
17 | protected $possibleLength; |
||
18 | /** |
||
19 | * @var array |
||
20 | */ |
||
21 | protected $possibleLengthLocalOnly; |
||
22 | |||
23 | public function __construct() |
||
27 | |||
28 | /** |
||
29 | * @return PhoneNumberDesc |
||
30 | */ |
||
31 | public function clear() |
||
40 | |||
41 | /** |
||
42 | * @return array |
||
43 | */ |
||
44 | public function getPossibleLength() |
||
48 | |||
49 | /** |
||
50 | * @param array $possibleLength |
||
51 | */ |
||
52 | public function setPossibleLength($possibleLength) |
||
56 | |||
57 | public function addPossibleLength($possibleLength) |
||
63 | |||
64 | public function clearPossibleLength() |
||
68 | |||
69 | /** |
||
70 | * @return array |
||
71 | */ |
||
72 | public function getPossibleLengthLocalOnly() |
||
76 | |||
77 | /** |
||
78 | * @param array $possibleLengthLocalOnly |
||
79 | */ |
||
80 | public function setPossibleLengthLocalOnly($possibleLengthLocalOnly) |
||
84 | |||
85 | public function addPossibleLengthLocalOnly($possibleLengthLocalOnly) |
||
91 | |||
92 | public function clearPossibleLengthLocalOnly() |
||
96 | |||
97 | /** |
||
98 | * @return boolean |
||
99 | */ |
||
100 | public function hasNationalNumberPattern() |
||
104 | |||
105 | /** |
||
106 | * @return string |
||
107 | */ |
||
108 | public function getNationalNumberPattern() |
||
112 | |||
113 | /** |
||
114 | * @param string $value |
||
115 | * @return PhoneNumberDesc |
||
116 | */ |
||
117 | public function setNationalNumberPattern($value) |
||
124 | |||
125 | /** |
||
126 | * @return PhoneNumberDesc |
||
127 | */ |
||
128 | public function clearNationalNumberPattern() |
||
134 | |||
135 | /** |
||
136 | * @return string |
||
137 | */ |
||
138 | public function hasExampleNumber() |
||
142 | |||
143 | /** |
||
144 | * @return string |
||
145 | */ |
||
146 | public function getExampleNumber() |
||
150 | |||
151 | /** |
||
152 | * @param string $value |
||
153 | * @return PhoneNumberDesc |
||
154 | */ |
||
155 | public function setExampleNumber($value) |
||
162 | |||
163 | /** |
||
164 | * @return PhoneNumberDesc |
||
165 | */ |
||
166 | public function clearExampleNumber() |
||
173 | |||
174 | /** |
||
175 | * @param PhoneNumberDesc $other |
||
176 | * @return PhoneNumberDesc |
||
177 | */ |
||
178 | public function mergeFrom(PhoneNumberDesc $other) |
||
191 | |||
192 | /** |
||
193 | * @param PhoneNumberDesc $other |
||
194 | * @return boolean |
||
195 | */ |
||
196 | public function exactlySameAs(PhoneNumberDesc $other) |
||
201 | |||
202 | /** |
||
203 | * @return array |
||
204 | */ |
||
205 | public function toArray() |
||
220 | |||
221 | /** |
||
222 | * @param array $input |
||
223 | * @return PhoneNumberDesc |
||
224 | */ |
||
225 | public function fromArray(array $input) |
||
238 | } |
||
239 |