GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 242750...218147 )
by
unknown
05:58
created

GetInputSearch   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 79
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 6
eloc 19
c 1
b 0
f 0
dl 0
loc 79
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A withText() 0 6 1
A withServiceCode() 0 6 1
A withDefaultDistrict() 0 6 1
A withDefaultProvince() 0 6 1
A withAppKey() 0 6 1
A withDefaultCity() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\AddressPurification\V20191118;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ClassifyPOI classifyPOI(array $options = [])
9
 * @method CompleteAddress completeAddress(array $options = [])
10
 * @method CorrectAddress correctAddress(array $options = [])
11
 * @method ExtractAddress extractAddress(array $options = [])
12
 * @method ExtractExpress extractExpress(array $options = [])
13
 * @method ExtractName extractName(array $options = [])
14
 * @method ExtractPhone extractPhone(array $options = [])
15
 * @method GetAddressBlockMapping getAddressBlockMapping(array $options = [])
16
 * @method GetAddressDivisionCode getAddressDivisionCode(array $options = [])
17
 * @method GetAddressEvaluate getAddressEvaluate(array $options = [])
18
 * @method GetAddressGeocode getAddressGeocode(array $options = [])
19
 * @method GetAddressSearch getAddressSearch(array $options = [])
20
 * @method GetAddressSimilarity getAddressSimilarity(array $options = [])
21
 * @method GetInputSearch getInputSearch(array $options = [])
22
 * @method GetZipcode getZipcode(array $options = [])
23
 * @method PredictPOI predictPOI(array $options = [])
24
 * @method StructureAddress structureAddress(array $options = [])
25
 * @method TransferCoord transferCoord(array $options = [])
26
 * @method UpdateProject updateProject(array $options = [])
27
 */
28
class AddressPurificationApiResolver extends ApiResolver
29
{
30
}
31
32
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
33
{
34
    /** @var string */
35
    public $product = 'address-purification';
36
37
    /** @var string */
38
    public $version = '2019-11-18';
39
40
    /** @var string */
41
    public $method = 'POST';
42
43
    /** @var string */
44
    public $serviceCode = 'addrp';
45
}
46
47
/**
48
 * @method string getDefaultProvince()
49
 * @method string getServiceCode()
50
 * @method string getDefaultCity()
51
 * @method string getDefaultDistrict()
52
 * @method string getAppKey()
53
 * @method string getText()
54
 */
55
class ClassifyPOI extends Rpc
56
{
57
58
    /**
59
     * @param string $value
60
     *
61
     * @return $this
62
     */
63
    public function withDefaultProvince($value)
64
    {
65
        $this->data['DefaultProvince'] = $value;
66
        $this->options['form_params']['DefaultProvince'] = $value;
67
68
        return $this;
69
    }
70
71
    /**
72
     * @param string $value
73
     *
74
     * @return $this
75
     */
76
    public function withServiceCode($value)
77
    {
78
        $this->data['ServiceCode'] = $value;
79
        $this->options['form_params']['ServiceCode'] = $value;
80
81
        return $this;
82
    }
83
84
    /**
85
     * @param string $value
86
     *
87
     * @return $this
88
     */
89
    public function withDefaultCity($value)
90
    {
91
        $this->data['DefaultCity'] = $value;
92
        $this->options['form_params']['DefaultCity'] = $value;
93
94
        return $this;
95
    }
96
97
    /**
98
     * @param string $value
99
     *
100
     * @return $this
101
     */
102
    public function withDefaultDistrict($value)
103
    {
104
        $this->data['DefaultDistrict'] = $value;
105
        $this->options['form_params']['DefaultDistrict'] = $value;
106
107
        return $this;
108
    }
109
110
    /**
111
     * @param string $value
112
     *
113
     * @return $this
114
     */
115
    public function withAppKey($value)
116
    {
117
        $this->data['AppKey'] = $value;
118
        $this->options['form_params']['AppKey'] = $value;
119
120
        return $this;
121
    }
122
123
    /**
124
     * @param string $value
125
     *
126
     * @return $this
127
     */
128
    public function withText($value)
129
    {
130
        $this->data['Text'] = $value;
131
        $this->options['form_params']['Text'] = $value;
132
133
        return $this;
134
    }
135
}
136
137
/**
138
 * @method string getDefaultProvince()
139
 * @method string getServiceCode()
140
 * @method string getDefaultCity()
141
 * @method string getDefaultDistrict()
142
 * @method string getAppKey()
143
 * @method string getText()
144
 */
145
class CompleteAddress extends Rpc
146
{
147
148
    /**
149
     * @param string $value
150
     *
151
     * @return $this
152
     */
153
    public function withDefaultProvince($value)
154
    {
155
        $this->data['DefaultProvince'] = $value;
156
        $this->options['form_params']['DefaultProvince'] = $value;
157
158
        return $this;
159
    }
160
161
    /**
162
     * @param string $value
163
     *
164
     * @return $this
165
     */
166
    public function withServiceCode($value)
167
    {
168
        $this->data['ServiceCode'] = $value;
169
        $this->options['form_params']['ServiceCode'] = $value;
170
171
        return $this;
172
    }
173
174
    /**
175
     * @param string $value
176
     *
177
     * @return $this
178
     */
179
    public function withDefaultCity($value)
180
    {
181
        $this->data['DefaultCity'] = $value;
182
        $this->options['form_params']['DefaultCity'] = $value;
183
184
        return $this;
185
    }
186
187
    /**
188
     * @param string $value
189
     *
190
     * @return $this
191
     */
192
    public function withDefaultDistrict($value)
193
    {
194
        $this->data['DefaultDistrict'] = $value;
195
        $this->options['form_params']['DefaultDistrict'] = $value;
196
197
        return $this;
198
    }
199
200
    /**
201
     * @param string $value
202
     *
203
     * @return $this
204
     */
205
    public function withAppKey($value)
206
    {
207
        $this->data['AppKey'] = $value;
208
        $this->options['form_params']['AppKey'] = $value;
209
210
        return $this;
211
    }
212
213
    /**
214
     * @param string $value
215
     *
216
     * @return $this
217
     */
218
    public function withText($value)
219
    {
220
        $this->data['Text'] = $value;
221
        $this->options['form_params']['Text'] = $value;
222
223
        return $this;
224
    }
225
}
226
227
/**
228
 * @method string getDefaultProvince()
229
 * @method string getServiceCode()
230
 * @method string getDefaultCity()
231
 * @method string getDefaultDistrict()
232
 * @method string getAppKey()
233
 * @method string getText()
234
 */
235
class CorrectAddress extends Rpc
236
{
237
238
    /**
239
     * @param string $value
240
     *
241
     * @return $this
242
     */
243
    public function withDefaultProvince($value)
244
    {
245
        $this->data['DefaultProvince'] = $value;
246
        $this->options['form_params']['DefaultProvince'] = $value;
247
248
        return $this;
249
    }
250
251
    /**
252
     * @param string $value
253
     *
254
     * @return $this
255
     */
256
    public function withServiceCode($value)
257
    {
258
        $this->data['ServiceCode'] = $value;
259
        $this->options['form_params']['ServiceCode'] = $value;
260
261
        return $this;
262
    }
263
264
    /**
265
     * @param string $value
266
     *
267
     * @return $this
268
     */
269
    public function withDefaultCity($value)
270
    {
271
        $this->data['DefaultCity'] = $value;
272
        $this->options['form_params']['DefaultCity'] = $value;
273
274
        return $this;
275
    }
276
277
    /**
278
     * @param string $value
279
     *
280
     * @return $this
281
     */
282
    public function withDefaultDistrict($value)
283
    {
284
        $this->data['DefaultDistrict'] = $value;
285
        $this->options['form_params']['DefaultDistrict'] = $value;
286
287
        return $this;
288
    }
289
290
    /**
291
     * @param string $value
292
     *
293
     * @return $this
294
     */
295
    public function withAppKey($value)
296
    {
297
        $this->data['AppKey'] = $value;
298
        $this->options['form_params']['AppKey'] = $value;
299
300
        return $this;
301
    }
302
303
    /**
304
     * @param string $value
305
     *
306
     * @return $this
307
     */
308
    public function withText($value)
309
    {
310
        $this->data['Text'] = $value;
311
        $this->options['form_params']['Text'] = $value;
312
313
        return $this;
314
    }
315
}
316
317
/**
318
 * @method string getDefaultProvince()
319
 * @method string getServiceCode()
320
 * @method string getDefaultCity()
321
 * @method string getDefaultDistrict()
322
 * @method string getAppKey()
323
 * @method string getText()
324
 */
325
class ExtractAddress extends Rpc
326
{
327
328
    /**
329
     * @param string $value
330
     *
331
     * @return $this
332
     */
333
    public function withDefaultProvince($value)
334
    {
335
        $this->data['DefaultProvince'] = $value;
336
        $this->options['form_params']['DefaultProvince'] = $value;
337
338
        return $this;
339
    }
340
341
    /**
342
     * @param string $value
343
     *
344
     * @return $this
345
     */
346
    public function withServiceCode($value)
347
    {
348
        $this->data['ServiceCode'] = $value;
349
        $this->options['form_params']['ServiceCode'] = $value;
350
351
        return $this;
352
    }
353
354
    /**
355
     * @param string $value
356
     *
357
     * @return $this
358
     */
359
    public function withDefaultCity($value)
360
    {
361
        $this->data['DefaultCity'] = $value;
362
        $this->options['form_params']['DefaultCity'] = $value;
363
364
        return $this;
365
    }
366
367
    /**
368
     * @param string $value
369
     *
370
     * @return $this
371
     */
372
    public function withDefaultDistrict($value)
373
    {
374
        $this->data['DefaultDistrict'] = $value;
375
        $this->options['form_params']['DefaultDistrict'] = $value;
376
377
        return $this;
378
    }
379
380
    /**
381
     * @param string $value
382
     *
383
     * @return $this
384
     */
385
    public function withAppKey($value)
386
    {
387
        $this->data['AppKey'] = $value;
388
        $this->options['form_params']['AppKey'] = $value;
389
390
        return $this;
391
    }
392
393
    /**
394
     * @param string $value
395
     *
396
     * @return $this
397
     */
398
    public function withText($value)
399
    {
400
        $this->data['Text'] = $value;
401
        $this->options['form_params']['Text'] = $value;
402
403
        return $this;
404
    }
405
}
406
407
/**
408
 * @method string getDefaultProvince()
409
 * @method string getServiceCode()
410
 * @method string getDefaultCity()
411
 * @method string getDefaultDistrict()
412
 * @method string getAppKey()
413
 * @method string getText()
414
 */
415
class ExtractExpress extends Rpc
416
{
417
418
    /**
419
     * @param string $value
420
     *
421
     * @return $this
422
     */
423
    public function withDefaultProvince($value)
424
    {
425
        $this->data['DefaultProvince'] = $value;
426
        $this->options['form_params']['DefaultProvince'] = $value;
427
428
        return $this;
429
    }
430
431
    /**
432
     * @param string $value
433
     *
434
     * @return $this
435
     */
436
    public function withServiceCode($value)
437
    {
438
        $this->data['ServiceCode'] = $value;
439
        $this->options['form_params']['ServiceCode'] = $value;
440
441
        return $this;
442
    }
443
444
    /**
445
     * @param string $value
446
     *
447
     * @return $this
448
     */
449
    public function withDefaultCity($value)
450
    {
451
        $this->data['DefaultCity'] = $value;
452
        $this->options['form_params']['DefaultCity'] = $value;
453
454
        return $this;
455
    }
456
457
    /**
458
     * @param string $value
459
     *
460
     * @return $this
461
     */
462
    public function withDefaultDistrict($value)
463
    {
464
        $this->data['DefaultDistrict'] = $value;
465
        $this->options['form_params']['DefaultDistrict'] = $value;
466
467
        return $this;
468
    }
469
470
    /**
471
     * @param string $value
472
     *
473
     * @return $this
474
     */
475
    public function withAppKey($value)
476
    {
477
        $this->data['AppKey'] = $value;
478
        $this->options['form_params']['AppKey'] = $value;
479
480
        return $this;
481
    }
482
483
    /**
484
     * @param string $value
485
     *
486
     * @return $this
487
     */
488
    public function withText($value)
489
    {
490
        $this->data['Text'] = $value;
491
        $this->options['form_params']['Text'] = $value;
492
493
        return $this;
494
    }
495
}
496
497
/**
498
 * @method string getDefaultProvince()
499
 * @method string getServiceCode()
500
 * @method string getDefaultCity()
501
 * @method string getDefaultDistrict()
502
 * @method string getAppKey()
503
 * @method string getText()
504
 */
505
class ExtractName extends Rpc
506
{
507
508
    /**
509
     * @param string $value
510
     *
511
     * @return $this
512
     */
513
    public function withDefaultProvince($value)
514
    {
515
        $this->data['DefaultProvince'] = $value;
516
        $this->options['form_params']['DefaultProvince'] = $value;
517
518
        return $this;
519
    }
520
521
    /**
522
     * @param string $value
523
     *
524
     * @return $this
525
     */
526
    public function withServiceCode($value)
527
    {
528
        $this->data['ServiceCode'] = $value;
529
        $this->options['form_params']['ServiceCode'] = $value;
530
531
        return $this;
532
    }
533
534
    /**
535
     * @param string $value
536
     *
537
     * @return $this
538
     */
539
    public function withDefaultCity($value)
540
    {
541
        $this->data['DefaultCity'] = $value;
542
        $this->options['form_params']['DefaultCity'] = $value;
543
544
        return $this;
545
    }
546
547
    /**
548
     * @param string $value
549
     *
550
     * @return $this
551
     */
552
    public function withDefaultDistrict($value)
553
    {
554
        $this->data['DefaultDistrict'] = $value;
555
        $this->options['form_params']['DefaultDistrict'] = $value;
556
557
        return $this;
558
    }
559
560
    /**
561
     * @param string $value
562
     *
563
     * @return $this
564
     */
565
    public function withAppKey($value)
566
    {
567
        $this->data['AppKey'] = $value;
568
        $this->options['form_params']['AppKey'] = $value;
569
570
        return $this;
571
    }
572
573
    /**
574
     * @param string $value
575
     *
576
     * @return $this
577
     */
578
    public function withText($value)
579
    {
580
        $this->data['Text'] = $value;
581
        $this->options['form_params']['Text'] = $value;
582
583
        return $this;
584
    }
585
}
586
587
/**
588
 * @method string getDefaultProvince()
589
 * @method string getServiceCode()
590
 * @method string getDefaultCity()
591
 * @method string getDefaultDistrict()
592
 * @method string getAppKey()
593
 * @method string getText()
594
 */
595
class ExtractPhone extends Rpc
596
{
597
598
    /**
599
     * @param string $value
600
     *
601
     * @return $this
602
     */
603
    public function withDefaultProvince($value)
604
    {
605
        $this->data['DefaultProvince'] = $value;
606
        $this->options['form_params']['DefaultProvince'] = $value;
607
608
        return $this;
609
    }
610
611
    /**
612
     * @param string $value
613
     *
614
     * @return $this
615
     */
616
    public function withServiceCode($value)
617
    {
618
        $this->data['ServiceCode'] = $value;
619
        $this->options['form_params']['ServiceCode'] = $value;
620
621
        return $this;
622
    }
623
624
    /**
625
     * @param string $value
626
     *
627
     * @return $this
628
     */
629
    public function withDefaultCity($value)
630
    {
631
        $this->data['DefaultCity'] = $value;
632
        $this->options['form_params']['DefaultCity'] = $value;
633
634
        return $this;
635
    }
636
637
    /**
638
     * @param string $value
639
     *
640
     * @return $this
641
     */
642
    public function withDefaultDistrict($value)
643
    {
644
        $this->data['DefaultDistrict'] = $value;
645
        $this->options['form_params']['DefaultDistrict'] = $value;
646
647
        return $this;
648
    }
649
650
    /**
651
     * @param string $value
652
     *
653
     * @return $this
654
     */
655
    public function withAppKey($value)
656
    {
657
        $this->data['AppKey'] = $value;
658
        $this->options['form_params']['AppKey'] = $value;
659
660
        return $this;
661
    }
662
663
    /**
664
     * @param string $value
665
     *
666
     * @return $this
667
     */
668
    public function withText($value)
669
    {
670
        $this->data['Text'] = $value;
671
        $this->options['form_params']['Text'] = $value;
672
673
        return $this;
674
    }
675
}
676
677
/**
678
 * @method string getDefaultProvince()
679
 * @method string getServiceCode()
680
 * @method string getDefaultCity()
681
 * @method string getDefaultDistrict()
682
 * @method string getAppKey()
683
 * @method string getText()
684
 */
685
class GetAddressBlockMapping extends Rpc
686
{
687
688
    /**
689
     * @param string $value
690
     *
691
     * @return $this
692
     */
693
    public function withDefaultProvince($value)
694
    {
695
        $this->data['DefaultProvince'] = $value;
696
        $this->options['form_params']['DefaultProvince'] = $value;
697
698
        return $this;
699
    }
700
701
    /**
702
     * @param string $value
703
     *
704
     * @return $this
705
     */
706
    public function withServiceCode($value)
707
    {
708
        $this->data['ServiceCode'] = $value;
709
        $this->options['form_params']['ServiceCode'] = $value;
710
711
        return $this;
712
    }
713
714
    /**
715
     * @param string $value
716
     *
717
     * @return $this
718
     */
719
    public function withDefaultCity($value)
720
    {
721
        $this->data['DefaultCity'] = $value;
722
        $this->options['form_params']['DefaultCity'] = $value;
723
724
        return $this;
725
    }
726
727
    /**
728
     * @param string $value
729
     *
730
     * @return $this
731
     */
732
    public function withDefaultDistrict($value)
733
    {
734
        $this->data['DefaultDistrict'] = $value;
735
        $this->options['form_params']['DefaultDistrict'] = $value;
736
737
        return $this;
738
    }
739
740
    /**
741
     * @param string $value
742
     *
743
     * @return $this
744
     */
745
    public function withAppKey($value)
746
    {
747
        $this->data['AppKey'] = $value;
748
        $this->options['form_params']['AppKey'] = $value;
749
750
        return $this;
751
    }
752
753
    /**
754
     * @param string $value
755
     *
756
     * @return $this
757
     */
758
    public function withText($value)
759
    {
760
        $this->data['Text'] = $value;
761
        $this->options['form_params']['Text'] = $value;
762
763
        return $this;
764
    }
765
}
766
767
/**
768
 * @method string getDefaultProvince()
769
 * @method string getServiceCode()
770
 * @method string getDefaultCity()
771
 * @method string getDefaultDistrict()
772
 * @method string getAppKey()
773
 * @method string getText()
774
 */
775
class GetAddressDivisionCode extends Rpc
776
{
777
778
    /**
779
     * @param string $value
780
     *
781
     * @return $this
782
     */
783
    public function withDefaultProvince($value)
784
    {
785
        $this->data['DefaultProvince'] = $value;
786
        $this->options['form_params']['DefaultProvince'] = $value;
787
788
        return $this;
789
    }
790
791
    /**
792
     * @param string $value
793
     *
794
     * @return $this
795
     */
796
    public function withServiceCode($value)
797
    {
798
        $this->data['ServiceCode'] = $value;
799
        $this->options['form_params']['ServiceCode'] = $value;
800
801
        return $this;
802
    }
803
804
    /**
805
     * @param string $value
806
     *
807
     * @return $this
808
     */
809
    public function withDefaultCity($value)
810
    {
811
        $this->data['DefaultCity'] = $value;
812
        $this->options['form_params']['DefaultCity'] = $value;
813
814
        return $this;
815
    }
816
817
    /**
818
     * @param string $value
819
     *
820
     * @return $this
821
     */
822
    public function withDefaultDistrict($value)
823
    {
824
        $this->data['DefaultDistrict'] = $value;
825
        $this->options['form_params']['DefaultDistrict'] = $value;
826
827
        return $this;
828
    }
829
830
    /**
831
     * @param string $value
832
     *
833
     * @return $this
834
     */
835
    public function withAppKey($value)
836
    {
837
        $this->data['AppKey'] = $value;
838
        $this->options['form_params']['AppKey'] = $value;
839
840
        return $this;
841
    }
842
843
    /**
844
     * @param string $value
845
     *
846
     * @return $this
847
     */
848
    public function withText($value)
849
    {
850
        $this->data['Text'] = $value;
851
        $this->options['form_params']['Text'] = $value;
852
853
        return $this;
854
    }
855
}
856
857
/**
858
 * @method string getDefaultProvince()
859
 * @method string getServiceCode()
860
 * @method string getDefaultCity()
861
 * @method string getDefaultDistrict()
862
 * @method string getAppKey()
863
 * @method string getText()
864
 */
865
class GetAddressEvaluate extends Rpc
866
{
867
868
    /**
869
     * @param string $value
870
     *
871
     * @return $this
872
     */
873
    public function withDefaultProvince($value)
874
    {
875
        $this->data['DefaultProvince'] = $value;
876
        $this->options['form_params']['DefaultProvince'] = $value;
877
878
        return $this;
879
    }
880
881
    /**
882
     * @param string $value
883
     *
884
     * @return $this
885
     */
886
    public function withServiceCode($value)
887
    {
888
        $this->data['ServiceCode'] = $value;
889
        $this->options['form_params']['ServiceCode'] = $value;
890
891
        return $this;
892
    }
893
894
    /**
895
     * @param string $value
896
     *
897
     * @return $this
898
     */
899
    public function withDefaultCity($value)
900
    {
901
        $this->data['DefaultCity'] = $value;
902
        $this->options['form_params']['DefaultCity'] = $value;
903
904
        return $this;
905
    }
906
907
    /**
908
     * @param string $value
909
     *
910
     * @return $this
911
     */
912
    public function withDefaultDistrict($value)
913
    {
914
        $this->data['DefaultDistrict'] = $value;
915
        $this->options['form_params']['DefaultDistrict'] = $value;
916
917
        return $this;
918
    }
919
920
    /**
921
     * @param string $value
922
     *
923
     * @return $this
924
     */
925
    public function withAppKey($value)
926
    {
927
        $this->data['AppKey'] = $value;
928
        $this->options['form_params']['AppKey'] = $value;
929
930
        return $this;
931
    }
932
933
    /**
934
     * @param string $value
935
     *
936
     * @return $this
937
     */
938
    public function withText($value)
939
    {
940
        $this->data['Text'] = $value;
941
        $this->options['form_params']['Text'] = $value;
942
943
        return $this;
944
    }
945
}
946
947
/**
948
 * @method string getDefaultProvince()
949
 * @method string getServiceCode()
950
 * @method string getDefaultCity()
951
 * @method string getDefaultDistrict()
952
 * @method string getAppKey()
953
 * @method string getText()
954
 */
955
class GetAddressGeocode extends Rpc
956
{
957
958
    /**
959
     * @param string $value
960
     *
961
     * @return $this
962
     */
963
    public function withDefaultProvince($value)
964
    {
965
        $this->data['DefaultProvince'] = $value;
966
        $this->options['form_params']['DefaultProvince'] = $value;
967
968
        return $this;
969
    }
970
971
    /**
972
     * @param string $value
973
     *
974
     * @return $this
975
     */
976
    public function withServiceCode($value)
977
    {
978
        $this->data['ServiceCode'] = $value;
979
        $this->options['form_params']['ServiceCode'] = $value;
980
981
        return $this;
982
    }
983
984
    /**
985
     * @param string $value
986
     *
987
     * @return $this
988
     */
989
    public function withDefaultCity($value)
990
    {
991
        $this->data['DefaultCity'] = $value;
992
        $this->options['form_params']['DefaultCity'] = $value;
993
994
        return $this;
995
    }
996
997
    /**
998
     * @param string $value
999
     *
1000
     * @return $this
1001
     */
1002
    public function withDefaultDistrict($value)
1003
    {
1004
        $this->data['DefaultDistrict'] = $value;
1005
        $this->options['form_params']['DefaultDistrict'] = $value;
1006
1007
        return $this;
1008
    }
1009
1010
    /**
1011
     * @param string $value
1012
     *
1013
     * @return $this
1014
     */
1015
    public function withAppKey($value)
1016
    {
1017
        $this->data['AppKey'] = $value;
1018
        $this->options['form_params']['AppKey'] = $value;
1019
1020
        return $this;
1021
    }
1022
1023
    /**
1024
     * @param string $value
1025
     *
1026
     * @return $this
1027
     */
1028
    public function withText($value)
1029
    {
1030
        $this->data['Text'] = $value;
1031
        $this->options['form_params']['Text'] = $value;
1032
1033
        return $this;
1034
    }
1035
}
1036
1037
/**
1038
 * @method string getDefaultProvince()
1039
 * @method string getServiceCode()
1040
 * @method string getDefaultCity()
1041
 * @method string getDefaultDistrict()
1042
 * @method string getAppKey()
1043
 * @method string getText()
1044
 */
1045
class GetAddressSearch extends Rpc
1046
{
1047
1048
    /**
1049
     * @param string $value
1050
     *
1051
     * @return $this
1052
     */
1053
    public function withDefaultProvince($value)
1054
    {
1055
        $this->data['DefaultProvince'] = $value;
1056
        $this->options['form_params']['DefaultProvince'] = $value;
1057
1058
        return $this;
1059
    }
1060
1061
    /**
1062
     * @param string $value
1063
     *
1064
     * @return $this
1065
     */
1066
    public function withServiceCode($value)
1067
    {
1068
        $this->data['ServiceCode'] = $value;
1069
        $this->options['form_params']['ServiceCode'] = $value;
1070
1071
        return $this;
1072
    }
1073
1074
    /**
1075
     * @param string $value
1076
     *
1077
     * @return $this
1078
     */
1079
    public function withDefaultCity($value)
1080
    {
1081
        $this->data['DefaultCity'] = $value;
1082
        $this->options['form_params']['DefaultCity'] = $value;
1083
1084
        return $this;
1085
    }
1086
1087
    /**
1088
     * @param string $value
1089
     *
1090
     * @return $this
1091
     */
1092
    public function withDefaultDistrict($value)
1093
    {
1094
        $this->data['DefaultDistrict'] = $value;
1095
        $this->options['form_params']['DefaultDistrict'] = $value;
1096
1097
        return $this;
1098
    }
1099
1100
    /**
1101
     * @param string $value
1102
     *
1103
     * @return $this
1104
     */
1105
    public function withAppKey($value)
1106
    {
1107
        $this->data['AppKey'] = $value;
1108
        $this->options['form_params']['AppKey'] = $value;
1109
1110
        return $this;
1111
    }
1112
1113
    /**
1114
     * @param string $value
1115
     *
1116
     * @return $this
1117
     */
1118
    public function withText($value)
1119
    {
1120
        $this->data['Text'] = $value;
1121
        $this->options['form_params']['Text'] = $value;
1122
1123
        return $this;
1124
    }
1125
}
1126
1127
/**
1128
 * @method string getDefaultProvince()
1129
 * @method string getServiceCode()
1130
 * @method string getDefaultCity()
1131
 * @method string getDefaultDistrict()
1132
 * @method string getAppKey()
1133
 * @method string getText()
1134
 */
1135
class GetAddressSimilarity extends Rpc
1136
{
1137
1138
    /**
1139
     * @param string $value
1140
     *
1141
     * @return $this
1142
     */
1143
    public function withDefaultProvince($value)
1144
    {
1145
        $this->data['DefaultProvince'] = $value;
1146
        $this->options['form_params']['DefaultProvince'] = $value;
1147
1148
        return $this;
1149
    }
1150
1151
    /**
1152
     * @param string $value
1153
     *
1154
     * @return $this
1155
     */
1156
    public function withServiceCode($value)
1157
    {
1158
        $this->data['ServiceCode'] = $value;
1159
        $this->options['form_params']['ServiceCode'] = $value;
1160
1161
        return $this;
1162
    }
1163
1164
    /**
1165
     * @param string $value
1166
     *
1167
     * @return $this
1168
     */
1169
    public function withDefaultCity($value)
1170
    {
1171
        $this->data['DefaultCity'] = $value;
1172
        $this->options['form_params']['DefaultCity'] = $value;
1173
1174
        return $this;
1175
    }
1176
1177
    /**
1178
     * @param string $value
1179
     *
1180
     * @return $this
1181
     */
1182
    public function withDefaultDistrict($value)
1183
    {
1184
        $this->data['DefaultDistrict'] = $value;
1185
        $this->options['form_params']['DefaultDistrict'] = $value;
1186
1187
        return $this;
1188
    }
1189
1190
    /**
1191
     * @param string $value
1192
     *
1193
     * @return $this
1194
     */
1195
    public function withAppKey($value)
1196
    {
1197
        $this->data['AppKey'] = $value;
1198
        $this->options['form_params']['AppKey'] = $value;
1199
1200
        return $this;
1201
    }
1202
1203
    /**
1204
     * @param string $value
1205
     *
1206
     * @return $this
1207
     */
1208
    public function withText($value)
1209
    {
1210
        $this->data['Text'] = $value;
1211
        $this->options['form_params']['Text'] = $value;
1212
1213
        return $this;
1214
    }
1215
}
1216
1217
/**
1218
 * @method string getDefaultProvince()
1219
 * @method string getServiceCode()
1220
 * @method string getDefaultCity()
1221
 * @method string getDefaultDistrict()
1222
 * @method string getAppKey()
1223
 * @method string getText()
1224
 */
1225
class GetInputSearch extends Rpc
1226
{
1227
1228
    /**
1229
     * @param string $value
1230
     *
1231
     * @return $this
1232
     */
1233
    public function withDefaultProvince($value)
1234
    {
1235
        $this->data['DefaultProvince'] = $value;
1236
        $this->options['form_params']['DefaultProvince'] = $value;
1237
1238
        return $this;
1239
    }
1240
1241
    /**
1242
     * @param string $value
1243
     *
1244
     * @return $this
1245
     */
1246
    public function withServiceCode($value)
1247
    {
1248
        $this->data['ServiceCode'] = $value;
1249
        $this->options['form_params']['ServiceCode'] = $value;
1250
1251
        return $this;
1252
    }
1253
1254
    /**
1255
     * @param string $value
1256
     *
1257
     * @return $this
1258
     */
1259
    public function withDefaultCity($value)
1260
    {
1261
        $this->data['DefaultCity'] = $value;
1262
        $this->options['form_params']['DefaultCity'] = $value;
1263
1264
        return $this;
1265
    }
1266
1267
    /**
1268
     * @param string $value
1269
     *
1270
     * @return $this
1271
     */
1272
    public function withDefaultDistrict($value)
1273
    {
1274
        $this->data['DefaultDistrict'] = $value;
1275
        $this->options['form_params']['DefaultDistrict'] = $value;
1276
1277
        return $this;
1278
    }
1279
1280
    /**
1281
     * @param string $value
1282
     *
1283
     * @return $this
1284
     */
1285
    public function withAppKey($value)
1286
    {
1287
        $this->data['AppKey'] = $value;
1288
        $this->options['form_params']['AppKey'] = $value;
1289
1290
        return $this;
1291
    }
1292
1293
    /**
1294
     * @param string $value
1295
     *
1296
     * @return $this
1297
     */
1298
    public function withText($value)
1299
    {
1300
        $this->data['Text'] = $value;
1301
        $this->options['form_params']['Text'] = $value;
1302
1303
        return $this;
1304
    }
1305
}
1306
1307
/**
1308
 * @method string getDefaultProvince()
1309
 * @method string getServiceCode()
1310
 * @method string getDefaultCity()
1311
 * @method string getDefaultDistrict()
1312
 * @method string getAppKey()
1313
 * @method string getText()
1314
 */
1315
class GetZipcode extends Rpc
1316
{
1317
1318
    /**
1319
     * @param string $value
1320
     *
1321
     * @return $this
1322
     */
1323
    public function withDefaultProvince($value)
1324
    {
1325
        $this->data['DefaultProvince'] = $value;
1326
        $this->options['form_params']['DefaultProvince'] = $value;
1327
1328
        return $this;
1329
    }
1330
1331
    /**
1332
     * @param string $value
1333
     *
1334
     * @return $this
1335
     */
1336
    public function withServiceCode($value)
1337
    {
1338
        $this->data['ServiceCode'] = $value;
1339
        $this->options['form_params']['ServiceCode'] = $value;
1340
1341
        return $this;
1342
    }
1343
1344
    /**
1345
     * @param string $value
1346
     *
1347
     * @return $this
1348
     */
1349
    public function withDefaultCity($value)
1350
    {
1351
        $this->data['DefaultCity'] = $value;
1352
        $this->options['form_params']['DefaultCity'] = $value;
1353
1354
        return $this;
1355
    }
1356
1357
    /**
1358
     * @param string $value
1359
     *
1360
     * @return $this
1361
     */
1362
    public function withDefaultDistrict($value)
1363
    {
1364
        $this->data['DefaultDistrict'] = $value;
1365
        $this->options['form_params']['DefaultDistrict'] = $value;
1366
1367
        return $this;
1368
    }
1369
1370
    /**
1371
     * @param string $value
1372
     *
1373
     * @return $this
1374
     */
1375
    public function withAppKey($value)
1376
    {
1377
        $this->data['AppKey'] = $value;
1378
        $this->options['form_params']['AppKey'] = $value;
1379
1380
        return $this;
1381
    }
1382
1383
    /**
1384
     * @param string $value
1385
     *
1386
     * @return $this
1387
     */
1388
    public function withText($value)
1389
    {
1390
        $this->data['Text'] = $value;
1391
        $this->options['form_params']['Text'] = $value;
1392
1393
        return $this;
1394
    }
1395
}
1396
1397
/**
1398
 * @method string getDefaultProvince()
1399
 * @method string getServiceCode()
1400
 * @method string getDefaultCity()
1401
 * @method string getDefaultDistrict()
1402
 * @method string getAppKey()
1403
 * @method string getText()
1404
 */
1405
class PredictPOI extends Rpc
1406
{
1407
1408
    /**
1409
     * @param string $value
1410
     *
1411
     * @return $this
1412
     */
1413
    public function withDefaultProvince($value)
1414
    {
1415
        $this->data['DefaultProvince'] = $value;
1416
        $this->options['form_params']['DefaultProvince'] = $value;
1417
1418
        return $this;
1419
    }
1420
1421
    /**
1422
     * @param string $value
1423
     *
1424
     * @return $this
1425
     */
1426
    public function withServiceCode($value)
1427
    {
1428
        $this->data['ServiceCode'] = $value;
1429
        $this->options['form_params']['ServiceCode'] = $value;
1430
1431
        return $this;
1432
    }
1433
1434
    /**
1435
     * @param string $value
1436
     *
1437
     * @return $this
1438
     */
1439
    public function withDefaultCity($value)
1440
    {
1441
        $this->data['DefaultCity'] = $value;
1442
        $this->options['form_params']['DefaultCity'] = $value;
1443
1444
        return $this;
1445
    }
1446
1447
    /**
1448
     * @param string $value
1449
     *
1450
     * @return $this
1451
     */
1452
    public function withDefaultDistrict($value)
1453
    {
1454
        $this->data['DefaultDistrict'] = $value;
1455
        $this->options['form_params']['DefaultDistrict'] = $value;
1456
1457
        return $this;
1458
    }
1459
1460
    /**
1461
     * @param string $value
1462
     *
1463
     * @return $this
1464
     */
1465
    public function withAppKey($value)
1466
    {
1467
        $this->data['AppKey'] = $value;
1468
        $this->options['form_params']['AppKey'] = $value;
1469
1470
        return $this;
1471
    }
1472
1473
    /**
1474
     * @param string $value
1475
     *
1476
     * @return $this
1477
     */
1478
    public function withText($value)
1479
    {
1480
        $this->data['Text'] = $value;
1481
        $this->options['form_params']['Text'] = $value;
1482
1483
        return $this;
1484
    }
1485
}
1486
1487
/**
1488
 * @method string getDefaultProvince()
1489
 * @method string getServiceCode()
1490
 * @method string getDefaultCity()
1491
 * @method string getDefaultDistrict()
1492
 * @method string getAppKey()
1493
 * @method string getText()
1494
 */
1495
class StructureAddress extends Rpc
1496
{
1497
1498
    /**
1499
     * @param string $value
1500
     *
1501
     * @return $this
1502
     */
1503
    public function withDefaultProvince($value)
1504
    {
1505
        $this->data['DefaultProvince'] = $value;
1506
        $this->options['form_params']['DefaultProvince'] = $value;
1507
1508
        return $this;
1509
    }
1510
1511
    /**
1512
     * @param string $value
1513
     *
1514
     * @return $this
1515
     */
1516
    public function withServiceCode($value)
1517
    {
1518
        $this->data['ServiceCode'] = $value;
1519
        $this->options['form_params']['ServiceCode'] = $value;
1520
1521
        return $this;
1522
    }
1523
1524
    /**
1525
     * @param string $value
1526
     *
1527
     * @return $this
1528
     */
1529
    public function withDefaultCity($value)
1530
    {
1531
        $this->data['DefaultCity'] = $value;
1532
        $this->options['form_params']['DefaultCity'] = $value;
1533
1534
        return $this;
1535
    }
1536
1537
    /**
1538
     * @param string $value
1539
     *
1540
     * @return $this
1541
     */
1542
    public function withDefaultDistrict($value)
1543
    {
1544
        $this->data['DefaultDistrict'] = $value;
1545
        $this->options['form_params']['DefaultDistrict'] = $value;
1546
1547
        return $this;
1548
    }
1549
1550
    /**
1551
     * @param string $value
1552
     *
1553
     * @return $this
1554
     */
1555
    public function withAppKey($value)
1556
    {
1557
        $this->data['AppKey'] = $value;
1558
        $this->options['form_params']['AppKey'] = $value;
1559
1560
        return $this;
1561
    }
1562
1563
    /**
1564
     * @param string $value
1565
     *
1566
     * @return $this
1567
     */
1568
    public function withText($value)
1569
    {
1570
        $this->data['Text'] = $value;
1571
        $this->options['form_params']['Text'] = $value;
1572
1573
        return $this;
1574
    }
1575
}
1576
1577
/**
1578
 * @method string getDefaultProvince()
1579
 * @method string getSrcCoord()
1580
 * @method string getDefaultCity()
1581
 * @method string getText()
1582
 * @method string getServiceCode()
1583
 * @method string getDefaultDistrict()
1584
 * @method string getAppKey()
1585
 */
1586
class TransferCoord extends Rpc
1587
{
1588
1589
    /**
1590
     * @param string $value
1591
     *
1592
     * @return $this
1593
     */
1594
    public function withDefaultProvince($value)
1595
    {
1596
        $this->data['DefaultProvince'] = $value;
1597
        $this->options['form_params']['DefaultProvince'] = $value;
1598
1599
        return $this;
1600
    }
1601
1602
    /**
1603
     * @param string $value
1604
     *
1605
     * @return $this
1606
     */
1607
    public function withSrcCoord($value)
1608
    {
1609
        $this->data['SrcCoord'] = $value;
1610
        $this->options['form_params']['SrcCoord'] = $value;
1611
1612
        return $this;
1613
    }
1614
1615
    /**
1616
     * @param string $value
1617
     *
1618
     * @return $this
1619
     */
1620
    public function withDefaultCity($value)
1621
    {
1622
        $this->data['DefaultCity'] = $value;
1623
        $this->options['form_params']['DefaultCity'] = $value;
1624
1625
        return $this;
1626
    }
1627
1628
    /**
1629
     * @param string $value
1630
     *
1631
     * @return $this
1632
     */
1633
    public function withText($value)
1634
    {
1635
        $this->data['Text'] = $value;
1636
        $this->options['form_params']['Text'] = $value;
1637
1638
        return $this;
1639
    }
1640
1641
    /**
1642
     * @param string $value
1643
     *
1644
     * @return $this
1645
     */
1646
    public function withServiceCode($value)
1647
    {
1648
        $this->data['ServiceCode'] = $value;
1649
        $this->options['form_params']['ServiceCode'] = $value;
1650
1651
        return $this;
1652
    }
1653
1654
    /**
1655
     * @param string $value
1656
     *
1657
     * @return $this
1658
     */
1659
    public function withDefaultDistrict($value)
1660
    {
1661
        $this->data['DefaultDistrict'] = $value;
1662
        $this->options['form_params']['DefaultDistrict'] = $value;
1663
1664
        return $this;
1665
    }
1666
1667
    /**
1668
     * @param string $value
1669
     *
1670
     * @return $this
1671
     */
1672
    public function withAppKey($value)
1673
    {
1674
        $this->data['AppKey'] = $value;
1675
        $this->options['form_params']['AppKey'] = $value;
1676
1677
        return $this;
1678
    }
1679
}
1680
1681
/**
1682
 * @method string getServiceCode()
1683
 * @method string getParameters()
1684
 */
1685
class UpdateProject extends Rpc
1686
{
1687
1688
    /**
1689
     * @param string $value
1690
     *
1691
     * @return $this
1692
     */
1693
    public function withServiceCode($value)
1694
    {
1695
        $this->data['ServiceCode'] = $value;
1696
        $this->options['form_params']['ServiceCode'] = $value;
1697
1698
        return $this;
1699
    }
1700
1701
    /**
1702
     * @param string $value
1703
     *
1704
     * @return $this
1705
     */
1706
    public function withParameters($value)
1707
    {
1708
        $this->data['Parameters'] = $value;
1709
        $this->options['form_params']['Parameters'] = $value;
1710
1711
        return $this;
1712
    }
1713
}
1714