This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_civic_address.go
1312 lines (1123 loc) · 30.7 KB
/
model_civic_address.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Nnwdaf_DataManagement
Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 1.1.0-alpha.1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi_Nnwdaf_DataManagement
import (
"encoding/json"
)
// checks if the CivicAddress type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &CivicAddress{}
// CivicAddress Indicates a Civic address.
type CivicAddress struct {
Country *string `json:"country,omitempty"`
A1 *string `json:"A1,omitempty"`
A2 *string `json:"A2,omitempty"`
A3 *string `json:"A3,omitempty"`
A4 *string `json:"A4,omitempty"`
A5 *string `json:"A5,omitempty"`
A6 *string `json:"A6,omitempty"`
PRD *string `json:"PRD,omitempty"`
POD *string `json:"POD,omitempty"`
STS *string `json:"STS,omitempty"`
HNO *string `json:"HNO,omitempty"`
HNS *string `json:"HNS,omitempty"`
LMK *string `json:"LMK,omitempty"`
LOC *string `json:"LOC,omitempty"`
NAM *string `json:"NAM,omitempty"`
PC *string `json:"PC,omitempty"`
BLD *string `json:"BLD,omitempty"`
UNIT *string `json:"UNIT,omitempty"`
FLR *string `json:"FLR,omitempty"`
ROOM *string `json:"ROOM,omitempty"`
PLC *string `json:"PLC,omitempty"`
PCN *string `json:"PCN,omitempty"`
POBOX *string `json:"POBOX,omitempty"`
ADDCODE *string `json:"ADDCODE,omitempty"`
SEAT *string `json:"SEAT,omitempty"`
RD *string `json:"RD,omitempty"`
RDSEC *string `json:"RDSEC,omitempty"`
RDBR *string `json:"RDBR,omitempty"`
RDSUBBR *string `json:"RDSUBBR,omitempty"`
PRM *string `json:"PRM,omitempty"`
POM *string `json:"POM,omitempty"`
UsageRules *string `json:"usageRules,omitempty"`
Method *string `json:"method,omitempty"`
ProvidedBy *string `json:"providedBy,omitempty"`
}
// NewCivicAddress instantiates a new CivicAddress object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewCivicAddress() *CivicAddress {
this := CivicAddress{}
return &this
}
// NewCivicAddressWithDefaults instantiates a new CivicAddress object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewCivicAddressWithDefaults() *CivicAddress {
this := CivicAddress{}
return &this
}
// GetCountry returns the Country field value if set, zero value otherwise.
func (o *CivicAddress) GetCountry() string {
if o == nil || IsNil(o.Country) {
var ret string
return ret
}
return *o.Country
}
// GetCountryOk returns a tuple with the Country field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetCountryOk() (*string, bool) {
if o == nil || IsNil(o.Country) {
return nil, false
}
return o.Country, true
}
// HasCountry returns a boolean if a field has been set.
func (o *CivicAddress) HasCountry() bool {
if o != nil && !IsNil(o.Country) {
return true
}
return false
}
// SetCountry gets a reference to the given string and assigns it to the Country field.
func (o *CivicAddress) SetCountry(v string) {
o.Country = &v
}
// GetA1 returns the A1 field value if set, zero value otherwise.
func (o *CivicAddress) GetA1() string {
if o == nil || IsNil(o.A1) {
var ret string
return ret
}
return *o.A1
}
// GetA1Ok returns a tuple with the A1 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetA1Ok() (*string, bool) {
if o == nil || IsNil(o.A1) {
return nil, false
}
return o.A1, true
}
// HasA1 returns a boolean if a field has been set.
func (o *CivicAddress) HasA1() bool {
if o != nil && !IsNil(o.A1) {
return true
}
return false
}
// SetA1 gets a reference to the given string and assigns it to the A1 field.
func (o *CivicAddress) SetA1(v string) {
o.A1 = &v
}
// GetA2 returns the A2 field value if set, zero value otherwise.
func (o *CivicAddress) GetA2() string {
if o == nil || IsNil(o.A2) {
var ret string
return ret
}
return *o.A2
}
// GetA2Ok returns a tuple with the A2 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetA2Ok() (*string, bool) {
if o == nil || IsNil(o.A2) {
return nil, false
}
return o.A2, true
}
// HasA2 returns a boolean if a field has been set.
func (o *CivicAddress) HasA2() bool {
if o != nil && !IsNil(o.A2) {
return true
}
return false
}
// SetA2 gets a reference to the given string and assigns it to the A2 field.
func (o *CivicAddress) SetA2(v string) {
o.A2 = &v
}
// GetA3 returns the A3 field value if set, zero value otherwise.
func (o *CivicAddress) GetA3() string {
if o == nil || IsNil(o.A3) {
var ret string
return ret
}
return *o.A3
}
// GetA3Ok returns a tuple with the A3 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetA3Ok() (*string, bool) {
if o == nil || IsNil(o.A3) {
return nil, false
}
return o.A3, true
}
// HasA3 returns a boolean if a field has been set.
func (o *CivicAddress) HasA3() bool {
if o != nil && !IsNil(o.A3) {
return true
}
return false
}
// SetA3 gets a reference to the given string and assigns it to the A3 field.
func (o *CivicAddress) SetA3(v string) {
o.A3 = &v
}
// GetA4 returns the A4 field value if set, zero value otherwise.
func (o *CivicAddress) GetA4() string {
if o == nil || IsNil(o.A4) {
var ret string
return ret
}
return *o.A4
}
// GetA4Ok returns a tuple with the A4 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetA4Ok() (*string, bool) {
if o == nil || IsNil(o.A4) {
return nil, false
}
return o.A4, true
}
// HasA4 returns a boolean if a field has been set.
func (o *CivicAddress) HasA4() bool {
if o != nil && !IsNil(o.A4) {
return true
}
return false
}
// SetA4 gets a reference to the given string and assigns it to the A4 field.
func (o *CivicAddress) SetA4(v string) {
o.A4 = &v
}
// GetA5 returns the A5 field value if set, zero value otherwise.
func (o *CivicAddress) GetA5() string {
if o == nil || IsNil(o.A5) {
var ret string
return ret
}
return *o.A5
}
// GetA5Ok returns a tuple with the A5 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetA5Ok() (*string, bool) {
if o == nil || IsNil(o.A5) {
return nil, false
}
return o.A5, true
}
// HasA5 returns a boolean if a field has been set.
func (o *CivicAddress) HasA5() bool {
if o != nil && !IsNil(o.A5) {
return true
}
return false
}
// SetA5 gets a reference to the given string and assigns it to the A5 field.
func (o *CivicAddress) SetA5(v string) {
o.A5 = &v
}
// GetA6 returns the A6 field value if set, zero value otherwise.
func (o *CivicAddress) GetA6() string {
if o == nil || IsNil(o.A6) {
var ret string
return ret
}
return *o.A6
}
// GetA6Ok returns a tuple with the A6 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetA6Ok() (*string, bool) {
if o == nil || IsNil(o.A6) {
return nil, false
}
return o.A6, true
}
// HasA6 returns a boolean if a field has been set.
func (o *CivicAddress) HasA6() bool {
if o != nil && !IsNil(o.A6) {
return true
}
return false
}
// SetA6 gets a reference to the given string and assigns it to the A6 field.
func (o *CivicAddress) SetA6(v string) {
o.A6 = &v
}
// GetPRD returns the PRD field value if set, zero value otherwise.
func (o *CivicAddress) GetPRD() string {
if o == nil || IsNil(o.PRD) {
var ret string
return ret
}
return *o.PRD
}
// GetPRDOk returns a tuple with the PRD field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetPRDOk() (*string, bool) {
if o == nil || IsNil(o.PRD) {
return nil, false
}
return o.PRD, true
}
// HasPRD returns a boolean if a field has been set.
func (o *CivicAddress) HasPRD() bool {
if o != nil && !IsNil(o.PRD) {
return true
}
return false
}
// SetPRD gets a reference to the given string and assigns it to the PRD field.
func (o *CivicAddress) SetPRD(v string) {
o.PRD = &v
}
// GetPOD returns the POD field value if set, zero value otherwise.
func (o *CivicAddress) GetPOD() string {
if o == nil || IsNil(o.POD) {
var ret string
return ret
}
return *o.POD
}
// GetPODOk returns a tuple with the POD field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetPODOk() (*string, bool) {
if o == nil || IsNil(o.POD) {
return nil, false
}
return o.POD, true
}
// HasPOD returns a boolean if a field has been set.
func (o *CivicAddress) HasPOD() bool {
if o != nil && !IsNil(o.POD) {
return true
}
return false
}
// SetPOD gets a reference to the given string and assigns it to the POD field.
func (o *CivicAddress) SetPOD(v string) {
o.POD = &v
}
// GetSTS returns the STS field value if set, zero value otherwise.
func (o *CivicAddress) GetSTS() string {
if o == nil || IsNil(o.STS) {
var ret string
return ret
}
return *o.STS
}
// GetSTSOk returns a tuple with the STS field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetSTSOk() (*string, bool) {
if o == nil || IsNil(o.STS) {
return nil, false
}
return o.STS, true
}
// HasSTS returns a boolean if a field has been set.
func (o *CivicAddress) HasSTS() bool {
if o != nil && !IsNil(o.STS) {
return true
}
return false
}
// SetSTS gets a reference to the given string and assigns it to the STS field.
func (o *CivicAddress) SetSTS(v string) {
o.STS = &v
}
// GetHNO returns the HNO field value if set, zero value otherwise.
func (o *CivicAddress) GetHNO() string {
if o == nil || IsNil(o.HNO) {
var ret string
return ret
}
return *o.HNO
}
// GetHNOOk returns a tuple with the HNO field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetHNOOk() (*string, bool) {
if o == nil || IsNil(o.HNO) {
return nil, false
}
return o.HNO, true
}
// HasHNO returns a boolean if a field has been set.
func (o *CivicAddress) HasHNO() bool {
if o != nil && !IsNil(o.HNO) {
return true
}
return false
}
// SetHNO gets a reference to the given string and assigns it to the HNO field.
func (o *CivicAddress) SetHNO(v string) {
o.HNO = &v
}
// GetHNS returns the HNS field value if set, zero value otherwise.
func (o *CivicAddress) GetHNS() string {
if o == nil || IsNil(o.HNS) {
var ret string
return ret
}
return *o.HNS
}
// GetHNSOk returns a tuple with the HNS field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetHNSOk() (*string, bool) {
if o == nil || IsNil(o.HNS) {
return nil, false
}
return o.HNS, true
}
// HasHNS returns a boolean if a field has been set.
func (o *CivicAddress) HasHNS() bool {
if o != nil && !IsNil(o.HNS) {
return true
}
return false
}
// SetHNS gets a reference to the given string and assigns it to the HNS field.
func (o *CivicAddress) SetHNS(v string) {
o.HNS = &v
}
// GetLMK returns the LMK field value if set, zero value otherwise.
func (o *CivicAddress) GetLMK() string {
if o == nil || IsNil(o.LMK) {
var ret string
return ret
}
return *o.LMK
}
// GetLMKOk returns a tuple with the LMK field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetLMKOk() (*string, bool) {
if o == nil || IsNil(o.LMK) {
return nil, false
}
return o.LMK, true
}
// HasLMK returns a boolean if a field has been set.
func (o *CivicAddress) HasLMK() bool {
if o != nil && !IsNil(o.LMK) {
return true
}
return false
}
// SetLMK gets a reference to the given string and assigns it to the LMK field.
func (o *CivicAddress) SetLMK(v string) {
o.LMK = &v
}
// GetLOC returns the LOC field value if set, zero value otherwise.
func (o *CivicAddress) GetLOC() string {
if o == nil || IsNil(o.LOC) {
var ret string
return ret
}
return *o.LOC
}
// GetLOCOk returns a tuple with the LOC field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetLOCOk() (*string, bool) {
if o == nil || IsNil(o.LOC) {
return nil, false
}
return o.LOC, true
}
// HasLOC returns a boolean if a field has been set.
func (o *CivicAddress) HasLOC() bool {
if o != nil && !IsNil(o.LOC) {
return true
}
return false
}
// SetLOC gets a reference to the given string and assigns it to the LOC field.
func (o *CivicAddress) SetLOC(v string) {
o.LOC = &v
}
// GetNAM returns the NAM field value if set, zero value otherwise.
func (o *CivicAddress) GetNAM() string {
if o == nil || IsNil(o.NAM) {
var ret string
return ret
}
return *o.NAM
}
// GetNAMOk returns a tuple with the NAM field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetNAMOk() (*string, bool) {
if o == nil || IsNil(o.NAM) {
return nil, false
}
return o.NAM, true
}
// HasNAM returns a boolean if a field has been set.
func (o *CivicAddress) HasNAM() bool {
if o != nil && !IsNil(o.NAM) {
return true
}
return false
}
// SetNAM gets a reference to the given string and assigns it to the NAM field.
func (o *CivicAddress) SetNAM(v string) {
o.NAM = &v
}
// GetPC returns the PC field value if set, zero value otherwise.
func (o *CivicAddress) GetPC() string {
if o == nil || IsNil(o.PC) {
var ret string
return ret
}
return *o.PC
}
// GetPCOk returns a tuple with the PC field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetPCOk() (*string, bool) {
if o == nil || IsNil(o.PC) {
return nil, false
}
return o.PC, true
}
// HasPC returns a boolean if a field has been set.
func (o *CivicAddress) HasPC() bool {
if o != nil && !IsNil(o.PC) {
return true
}
return false
}
// SetPC gets a reference to the given string and assigns it to the PC field.
func (o *CivicAddress) SetPC(v string) {
o.PC = &v
}
// GetBLD returns the BLD field value if set, zero value otherwise.
func (o *CivicAddress) GetBLD() string {
if o == nil || IsNil(o.BLD) {
var ret string
return ret
}
return *o.BLD
}
// GetBLDOk returns a tuple with the BLD field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetBLDOk() (*string, bool) {
if o == nil || IsNil(o.BLD) {
return nil, false
}
return o.BLD, true
}
// HasBLD returns a boolean if a field has been set.
func (o *CivicAddress) HasBLD() bool {
if o != nil && !IsNil(o.BLD) {
return true
}
return false
}
// SetBLD gets a reference to the given string and assigns it to the BLD field.
func (o *CivicAddress) SetBLD(v string) {
o.BLD = &v
}
// GetUNIT returns the UNIT field value if set, zero value otherwise.
func (o *CivicAddress) GetUNIT() string {
if o == nil || IsNil(o.UNIT) {
var ret string
return ret
}
return *o.UNIT
}
// GetUNITOk returns a tuple with the UNIT field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetUNITOk() (*string, bool) {
if o == nil || IsNil(o.UNIT) {
return nil, false
}
return o.UNIT, true
}
// HasUNIT returns a boolean if a field has been set.
func (o *CivicAddress) HasUNIT() bool {
if o != nil && !IsNil(o.UNIT) {
return true
}
return false
}
// SetUNIT gets a reference to the given string and assigns it to the UNIT field.
func (o *CivicAddress) SetUNIT(v string) {
o.UNIT = &v
}
// GetFLR returns the FLR field value if set, zero value otherwise.
func (o *CivicAddress) GetFLR() string {
if o == nil || IsNil(o.FLR) {
var ret string
return ret
}
return *o.FLR
}
// GetFLROk returns a tuple with the FLR field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetFLROk() (*string, bool) {
if o == nil || IsNil(o.FLR) {
return nil, false
}
return o.FLR, true
}
// HasFLR returns a boolean if a field has been set.
func (o *CivicAddress) HasFLR() bool {
if o != nil && !IsNil(o.FLR) {
return true
}
return false
}
// SetFLR gets a reference to the given string and assigns it to the FLR field.
func (o *CivicAddress) SetFLR(v string) {
o.FLR = &v
}
// GetROOM returns the ROOM field value if set, zero value otherwise.
func (o *CivicAddress) GetROOM() string {
if o == nil || IsNil(o.ROOM) {
var ret string
return ret
}
return *o.ROOM
}
// GetROOMOk returns a tuple with the ROOM field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetROOMOk() (*string, bool) {
if o == nil || IsNil(o.ROOM) {
return nil, false
}
return o.ROOM, true
}
// HasROOM returns a boolean if a field has been set.
func (o *CivicAddress) HasROOM() bool {
if o != nil && !IsNil(o.ROOM) {
return true
}
return false
}
// SetROOM gets a reference to the given string and assigns it to the ROOM field.
func (o *CivicAddress) SetROOM(v string) {
o.ROOM = &v
}
// GetPLC returns the PLC field value if set, zero value otherwise.
func (o *CivicAddress) GetPLC() string {
if o == nil || IsNil(o.PLC) {
var ret string
return ret
}
return *o.PLC
}
// GetPLCOk returns a tuple with the PLC field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetPLCOk() (*string, bool) {
if o == nil || IsNil(o.PLC) {
return nil, false
}
return o.PLC, true
}
// HasPLC returns a boolean if a field has been set.
func (o *CivicAddress) HasPLC() bool {
if o != nil && !IsNil(o.PLC) {
return true
}
return false
}
// SetPLC gets a reference to the given string and assigns it to the PLC field.
func (o *CivicAddress) SetPLC(v string) {
o.PLC = &v
}
// GetPCN returns the PCN field value if set, zero value otherwise.
func (o *CivicAddress) GetPCN() string {
if o == nil || IsNil(o.PCN) {
var ret string
return ret
}
return *o.PCN
}
// GetPCNOk returns a tuple with the PCN field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetPCNOk() (*string, bool) {
if o == nil || IsNil(o.PCN) {
return nil, false
}
return o.PCN, true
}
// HasPCN returns a boolean if a field has been set.
func (o *CivicAddress) HasPCN() bool {
if o != nil && !IsNil(o.PCN) {
return true
}
return false
}
// SetPCN gets a reference to the given string and assigns it to the PCN field.
func (o *CivicAddress) SetPCN(v string) {
o.PCN = &v
}
// GetPOBOX returns the POBOX field value if set, zero value otherwise.
func (o *CivicAddress) GetPOBOX() string {
if o == nil || IsNil(o.POBOX) {
var ret string
return ret
}
return *o.POBOX
}
// GetPOBOXOk returns a tuple with the POBOX field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetPOBOXOk() (*string, bool) {
if o == nil || IsNil(o.POBOX) {
return nil, false
}
return o.POBOX, true
}
// HasPOBOX returns a boolean if a field has been set.
func (o *CivicAddress) HasPOBOX() bool {
if o != nil && !IsNil(o.POBOX) {
return true
}
return false
}
// SetPOBOX gets a reference to the given string and assigns it to the POBOX field.
func (o *CivicAddress) SetPOBOX(v string) {
o.POBOX = &v
}
// GetADDCODE returns the ADDCODE field value if set, zero value otherwise.
func (o *CivicAddress) GetADDCODE() string {
if o == nil || IsNil(o.ADDCODE) {
var ret string
return ret
}
return *o.ADDCODE
}
// GetADDCODEOk returns a tuple with the ADDCODE field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetADDCODEOk() (*string, bool) {
if o == nil || IsNil(o.ADDCODE) {
return nil, false
}
return o.ADDCODE, true
}
// HasADDCODE returns a boolean if a field has been set.
func (o *CivicAddress) HasADDCODE() bool {
if o != nil && !IsNil(o.ADDCODE) {
return true
}
return false
}
// SetADDCODE gets a reference to the given string and assigns it to the ADDCODE field.
func (o *CivicAddress) SetADDCODE(v string) {
o.ADDCODE = &v
}
// GetSEAT returns the SEAT field value if set, zero value otherwise.
func (o *CivicAddress) GetSEAT() string {
if o == nil || IsNil(o.SEAT) {
var ret string
return ret
}
return *o.SEAT
}
// GetSEATOk returns a tuple with the SEAT field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetSEATOk() (*string, bool) {
if o == nil || IsNil(o.SEAT) {
return nil, false
}
return o.SEAT, true
}
// HasSEAT returns a boolean if a field has been set.
func (o *CivicAddress) HasSEAT() bool {
if o != nil && !IsNil(o.SEAT) {
return true
}
return false
}
// SetSEAT gets a reference to the given string and assigns it to the SEAT field.
func (o *CivicAddress) SetSEAT(v string) {
o.SEAT = &v
}
// GetRD returns the RD field value if set, zero value otherwise.
func (o *CivicAddress) GetRD() string {
if o == nil || IsNil(o.RD) {
var ret string
return ret
}
return *o.RD
}
// GetRDOk returns a tuple with the RD field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetRDOk() (*string, bool) {
if o == nil || IsNil(o.RD) {
return nil, false
}
return o.RD, true
}
// HasRD returns a boolean if a field has been set.
func (o *CivicAddress) HasRD() bool {
if o != nil && !IsNil(o.RD) {
return true
}
return false
}
// SetRD gets a reference to the given string and assigns it to the RD field.
func (o *CivicAddress) SetRD(v string) {
o.RD = &v
}
// GetRDSEC returns the RDSEC field value if set, zero value otherwise.
func (o *CivicAddress) GetRDSEC() string {
if o == nil || IsNil(o.RDSEC) {
var ret string
return ret
}
return *o.RDSEC
}
// GetRDSECOk returns a tuple with the RDSEC field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetRDSECOk() (*string, bool) {
if o == nil || IsNil(o.RDSEC) {
return nil, false
}
return o.RDSEC, true
}
// HasRDSEC returns a boolean if a field has been set.
func (o *CivicAddress) HasRDSEC() bool {
if o != nil && !IsNil(o.RDSEC) {
return true
}
return false
}
// SetRDSEC gets a reference to the given string and assigns it to the RDSEC field.
func (o *CivicAddress) SetRDSEC(v string) {
o.RDSEC = &v
}
// GetRDBR returns the RDBR field value if set, zero value otherwise.
func (o *CivicAddress) GetRDBR() string {
if o == nil || IsNil(o.RDBR) {
var ret string
return ret
}
return *o.RDBR
}
// GetRDBROk returns a tuple with the RDBR field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetRDBROk() (*string, bool) {
if o == nil || IsNil(o.RDBR) {
return nil, false
}
return o.RDBR, true
}
// HasRDBR returns a boolean if a field has been set.
func (o *CivicAddress) HasRDBR() bool {
if o != nil && !IsNil(o.RDBR) {
return true
}
return false
}
// SetRDBR gets a reference to the given string and assigns it to the RDBR field.
func (o *CivicAddress) SetRDBR(v string) {
o.RDBR = &v
}
// GetRDSUBBR returns the RDSUBBR field value if set, zero value otherwise.
func (o *CivicAddress) GetRDSUBBR() string {
if o == nil || IsNil(o.RDSUBBR) {
var ret string
return ret
}
return *o.RDSUBBR
}
// GetRDSUBBROk returns a tuple with the RDSUBBR field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CivicAddress) GetRDSUBBROk() (*string, bool) {
if o == nil || IsNil(o.RDSUBBR) {
return nil, false
}
return o.RDSUBBR, true
}
// HasRDSUBBR returns a boolean if a field has been set.
func (o *CivicAddress) HasRDSUBBR() bool {
if o != nil && !IsNil(o.RDSUBBR) {
return true
}
return false
}
// SetRDSUBBR gets a reference to the given string and assigns it to the RDSUBBR field.
func (o *CivicAddress) SetRDSUBBR(v string) {
o.RDSUBBR = &v