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 | 1602 | public function __construct() |
|
27 | |||
28 | /** |
||
29 | * @return PhoneNumberDesc |
||
30 | */ |
||
31 | 1602 | public function clear() |
|
40 | |||
41 | /** |
||
42 | * @return array |
||
43 | */ |
||
44 | 3614 | public function getPossibleLength() |
|
48 | |||
49 | /** |
||
50 | * @param array $possibleLength |
||
51 | */ |
||
52 | 1592 | public function setPossibleLength($possibleLength) |
|
56 | |||
57 | 11 | public function addPossibleLength($possibleLength) |
|
63 | |||
64 | 1602 | public function clearPossibleLength() |
|
68 | |||
69 | /** |
||
70 | * @return array |
||
71 | */ |
||
72 | 3562 | public function getPossibleLengthLocalOnly() |
|
76 | |||
77 | /** |
||
78 | * @param array $possibleLengthLocalOnly |
||
79 | */ |
||
80 | 1577 | public function setPossibleLengthLocalOnly($possibleLengthLocalOnly) |
|
84 | |||
85 | 9 | public function addPossibleLengthLocalOnly($possibleLengthLocalOnly) |
|
91 | |||
92 | 1602 | public function clearPossibleLengthLocalOnly() |
|
96 | |||
97 | /** |
||
98 | * @return boolean |
||
99 | */ |
||
100 | 494 | public function hasNationalNumberPattern() |
|
104 | |||
105 | /** |
||
106 | * @return string |
||
107 | */ |
||
108 | 3185 | public function getNationalNumberPattern() |
|
112 | |||
113 | /** |
||
114 | * @param string $value |
||
115 | * @return PhoneNumberDesc |
||
116 | */ |
||
117 | 1583 | public function setNationalNumberPattern($value) |
|
124 | |||
125 | /** |
||
126 | * @return PhoneNumberDesc |
||
127 | */ |
||
128 | 1602 | public function clearNationalNumberPattern() |
|
134 | |||
135 | /** |
||
136 | * @return string |
||
137 | */ |
||
138 | 5597 | public function hasExampleNumber() |
|
142 | |||
143 | /** |
||
144 | * @return string |
||
145 | */ |
||
146 | 3326 | public function getExampleNumber() |
|
150 | |||
151 | /** |
||
152 | * @param string $value |
||
153 | * @return PhoneNumberDesc |
||
154 | */ |
||
155 | 1577 | public function setExampleNumber($value) |
|
162 | |||
163 | /** |
||
164 | * @return PhoneNumberDesc |
||
165 | */ |
||
166 | 1602 | public function clearExampleNumber() |
|
173 | |||
174 | /** |
||
175 | * @param PhoneNumberDesc $other |
||
176 | * @return PhoneNumberDesc |
||
177 | */ |
||
178 | 6 | 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 | 483 | public function toArray() |
|
220 | |||
221 | /** |
||
222 | * @param array $input |
||
223 | * @return PhoneNumberDesc |
||
224 | */ |
||
225 | 1570 | public function fromArray(array $input) |
|
238 | } |
||
239 |