/
model_bill_of_lading.go
1718 lines (1485 loc) · 61.8 KB
/
model_bill_of_lading.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
/*
Container Tracking API
This documentation defines how the users can utilize the Portcast API to retrieve the latest Track and Trace Data for any container, bill of lading or booking across 100+ carriers and 2500+ ports across the globe. What's changed in the version 2.0? Find out more about it [here](https://support.portcast.io/support/solutions/articles/151000074289-api-release-notes-april-2023-)!!
API version: 2.0
Contact: support@portcast.io
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package portcast
import (
"encoding/json"
"time"
)
// checks if the BillOfLading type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &BillOfLading{}
// BillOfLading Schema for Bill of Lading Object
type BillOfLading struct {
// Bill of Lading or Booking Number
BlNo *string `json:"bl_no,omitempty"`
// Carrier SCAC Code
CarrierNo *string `json:"carrier_no,omitempty"`
// Container Number
CntrNo *string `json:"cntr_no,omitempty"`
// Bill of Lading Object Created Date
Created *time.Time `json:"created,omitempty"`
// Bill of Lading Object ID
Id *string `json:"id,omitempty"`
// UNLOCODE for the Location of Container Delivery (After the POD)
PlaceOfDelivery *string `json:"place_of_delivery,omitempty"`
// Name for the Location of Container Delivery (After the POD)
PlaceOfDeliveryName *string `json:"place_of_delivery_name,omitempty"`
// UNLOCODE for the Location of Container Receipt (Before the POL)
PlaceOfReceipt *string `json:"place_of_receipt,omitempty"`
// Name for the Location of Container Receipt (Before the POL)
PlaceOfReceiptName *string `json:"place_of_receipt_name,omitempty"`
// UNLOCODE for the Port of Discharge
Pod *string `json:"pod,omitempty"`
// Actual Time of Arrival for the Final Vessel at the Port of Discharge (POD) - Local Time
PodActualArrivalLt NullableTime `json:"pod_actual_arrival_lt,omitempty"`
// Actual Time of Arrival for the Final Vessel at the Port of Discharge (POD) as per AIS Data- Local Time
PodActualArrivalLtFromAis NullableTime `json:"pod_actual_arrival_lt_from_ais,omitempty"`
// Actual Time of Departure for the Final Vessel from the Port of Discharge (POD) as per AIS Data - Local Time
PodActualDepartureLtFromAis NullableTime `json:"pod_actual_departure_lt_from_ais,omitempty"`
// Actual Container Discharge Time from Final Vessel at the Port of Discharge (POD) - Local Time
PodActualDischargeLt NullableTime `json:"pod_actual_discharge_lt,omitempty"`
// Port of Discharge Name
PodName *string `json:"pod_name,omitempty"`
// Portcast Predicted Time of Arrival for the Final Vessel at the Port of Discharge (POD) - Local Time [Most Reliable Source of ETA]
PodPredictedArrivalLt NullableTime `json:"pod_predicted_arrival_lt,omitempty"`
// Portcast Predicted Time of Departure for the Final Vessel from the Port of Discharge (POD) - Local Time
PodPredictedDepartureLt NullableTime `json:"pod_predicted_departure_lt,omitempty"`
// Scheduled Time of Arrival for the Final Vessel at the Port of Discharge (POD) as per carrier T&T - Local Time
PodScheduledArrivalLt NullableTime `json:"pod_scheduled_arrival_lt,omitempty"`
// First Recorded Scheduled Time of Arrival for the Final Vessel at the Port of Discharge (POD) as per carrier T&T - Local Time
PodScheduledArrivalLtFirstSeen NullableString `json:"pod_scheduled_arrival_lt_first_seen,omitempty"`
// Scheduled Time of Arrival for the Final Vessel at the Port of Discharge (POD) as per vessel schedule - Local Time
PodScheduledArrivalLtFromSchedule NullableTime `json:"pod_scheduled_arrival_lt_from_schedule,omitempty"`
// Scheduled Time of Departure for the Final Vessel from the Port of Discharge (POD) as per vessel schedule - Local Time
PodScheduledDepartureLtFromSchedule NullableTime `json:"pod_scheduled_departure_lt_from_schedule,omitempty"`
// Carrier Scheduled Container Discharge Time from Final Vessel at the Port of Discharge (POD) - Local Time
PodScheduledDischargeLt NullableTime `json:"pod_scheduled_discharge_lt,omitempty"`
// Terminal Name for the Port of Discharge (POD)
PodTerminalName *string `json:"pod_terminal_name,omitempty"`
// UNLOCODE for the Port of Loading
Pol *string `json:"pol,omitempty"`
// Actual Time of Arrival for the First Vessel at the Port of Loading (POL) as per AIS Data - Local Time
PolActualArrivalLtFromAis NullableTime `json:"pol_actual_arrival_lt_from_ais,omitempty"`
// Actual Time of Departure for the First Vessel from the Port of Loading (POL) - Local Time
PolActualDepartureLt NullableTime `json:"pol_actual_departure_lt,omitempty"`
// Actual Time of Departure for the First Vessel from the Port of Loading (POL) as per AIS Data - Local Time
PolActualDepartureLtFromAis NullableTime `json:"pol_actual_departure_lt_from_ais,omitempty"`
// Actual Container Loading Time on First Vessel at the Port of Loading (POL) - Local Time
PolActualLoadingLt NullableTime `json:"pol_actual_loading_lt,omitempty"`
// Port of Loading Name
PolName *string `json:"pol_name,omitempty"`
// Portcast Predicted Time of Arrival for the First Vessel at the Port of Loading (POL) - Local Time
PolPredictedArrivalLt NullableTime `json:"pol_predicted_arrival_lt,omitempty"`
// Portcast Predicted Time of Departure for the First Vessel from the Port of Loading (POL) - Local Time [Most Reliable Source of ETD]
PolPredictedDepartureLt NullableTime `json:"pol_predicted_departure_lt,omitempty"`
// Scheduled Time of Arrival for the First Vessel at the Port of Loading (POL) as per Vessel Schedule - Local Time
PolScheduledArrivalLtFromSchedule NullableTime `json:"pol_scheduled_arrival_lt_from_schedule,omitempty"`
// Scheduled Time of Departure for the First Vessel from the Port of Loading (POL) as per Container T&T - Local Time
PolScheduledDepartureLt NullableTime `json:"pol_scheduled_departure_lt,omitempty"`
// First Recorded Scheduled Time of Departure for the First Vessel at the Port of Loading (POL) as per carrier T&T - Local Time
PolScheduledDepartureLtFirstSeen NullableString `json:"pol_scheduled_departure_lt_first_seen,omitempty"`
// Scheduled Time of Departure for the First Vessel from the Port of Loading (POL) as per Vessel Schedule - Local Time
PolScheduledDepartureLtFromSchedule NullableTime `json:"pol_scheduled_departure_lt_from_schedule,omitempty"`
// Carrier Scheduled Container Loading Time on First Vessel at the Port of Loading (POL) - Local Time
PolScheduledLoadingLt NullableTime `json:"pol_scheduled_loading_lt,omitempty"`
// Terminal Name for the Port of Loading (POL)
PolTerminalName *string `json:"pol_terminal_name,omitempty"`
// Bill of Lading Object Updated Date
Updated *time.Time `json:"updated,omitempty"`
}
// NewBillOfLading instantiates a new BillOfLading 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 NewBillOfLading() *BillOfLading {
this := BillOfLading{}
return &this
}
// NewBillOfLadingWithDefaults instantiates a new BillOfLading 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 NewBillOfLadingWithDefaults() *BillOfLading {
this := BillOfLading{}
return &this
}
// GetBlNo returns the BlNo field value if set, zero value otherwise.
func (o *BillOfLading) GetBlNo() string {
if o == nil || IsNil(o.BlNo) {
var ret string
return ret
}
return *o.BlNo
}
// GetBlNoOk returns a tuple with the BlNo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetBlNoOk() (*string, bool) {
if o == nil || IsNil(o.BlNo) {
return nil, false
}
return o.BlNo, true
}
// HasBlNo returns a boolean if a field has been set.
func (o *BillOfLading) HasBlNo() bool {
if o != nil && !IsNil(o.BlNo) {
return true
}
return false
}
// SetBlNo gets a reference to the given string and assigns it to the BlNo field.
func (o *BillOfLading) SetBlNo(v string) {
o.BlNo = &v
}
// GetCarrierNo returns the CarrierNo field value if set, zero value otherwise.
func (o *BillOfLading) GetCarrierNo() string {
if o == nil || IsNil(o.CarrierNo) {
var ret string
return ret
}
return *o.CarrierNo
}
// GetCarrierNoOk returns a tuple with the CarrierNo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetCarrierNoOk() (*string, bool) {
if o == nil || IsNil(o.CarrierNo) {
return nil, false
}
return o.CarrierNo, true
}
// HasCarrierNo returns a boolean if a field has been set.
func (o *BillOfLading) HasCarrierNo() bool {
if o != nil && !IsNil(o.CarrierNo) {
return true
}
return false
}
// SetCarrierNo gets a reference to the given string and assigns it to the CarrierNo field.
func (o *BillOfLading) SetCarrierNo(v string) {
o.CarrierNo = &v
}
// GetCntrNo returns the CntrNo field value if set, zero value otherwise.
func (o *BillOfLading) GetCntrNo() string {
if o == nil || IsNil(o.CntrNo) {
var ret string
return ret
}
return *o.CntrNo
}
// GetCntrNoOk returns a tuple with the CntrNo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetCntrNoOk() (*string, bool) {
if o == nil || IsNil(o.CntrNo) {
return nil, false
}
return o.CntrNo, true
}
// HasCntrNo returns a boolean if a field has been set.
func (o *BillOfLading) HasCntrNo() bool {
if o != nil && !IsNil(o.CntrNo) {
return true
}
return false
}
// SetCntrNo gets a reference to the given string and assigns it to the CntrNo field.
func (o *BillOfLading) SetCntrNo(v string) {
o.CntrNo = &v
}
// GetCreated returns the Created field value if set, zero value otherwise.
func (o *BillOfLading) GetCreated() time.Time {
if o == nil || IsNil(o.Created) {
var ret time.Time
return ret
}
return *o.Created
}
// GetCreatedOk returns a tuple with the Created field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetCreatedOk() (*time.Time, bool) {
if o == nil || IsNil(o.Created) {
return nil, false
}
return o.Created, true
}
// HasCreated returns a boolean if a field has been set.
func (o *BillOfLading) HasCreated() bool {
if o != nil && !IsNil(o.Created) {
return true
}
return false
}
// SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *BillOfLading) SetCreated(v time.Time) {
o.Created = &v
}
// GetId returns the Id field value if set, zero value otherwise.
func (o *BillOfLading) GetId() string {
if o == nil || IsNil(o.Id) {
var ret string
return ret
}
return *o.Id
}
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetIdOk() (*string, bool) {
if o == nil || IsNil(o.Id) {
return nil, false
}
return o.Id, true
}
// HasId returns a boolean if a field has been set.
func (o *BillOfLading) HasId() bool {
if o != nil && !IsNil(o.Id) {
return true
}
return false
}
// SetId gets a reference to the given string and assigns it to the Id field.
func (o *BillOfLading) SetId(v string) {
o.Id = &v
}
// GetPlaceOfDelivery returns the PlaceOfDelivery field value if set, zero value otherwise.
func (o *BillOfLading) GetPlaceOfDelivery() string {
if o == nil || IsNil(o.PlaceOfDelivery) {
var ret string
return ret
}
return *o.PlaceOfDelivery
}
// GetPlaceOfDeliveryOk returns a tuple with the PlaceOfDelivery field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetPlaceOfDeliveryOk() (*string, bool) {
if o == nil || IsNil(o.PlaceOfDelivery) {
return nil, false
}
return o.PlaceOfDelivery, true
}
// HasPlaceOfDelivery returns a boolean if a field has been set.
func (o *BillOfLading) HasPlaceOfDelivery() bool {
if o != nil && !IsNil(o.PlaceOfDelivery) {
return true
}
return false
}
// SetPlaceOfDelivery gets a reference to the given string and assigns it to the PlaceOfDelivery field.
func (o *BillOfLading) SetPlaceOfDelivery(v string) {
o.PlaceOfDelivery = &v
}
// GetPlaceOfDeliveryName returns the PlaceOfDeliveryName field value if set, zero value otherwise.
func (o *BillOfLading) GetPlaceOfDeliveryName() string {
if o == nil || IsNil(o.PlaceOfDeliveryName) {
var ret string
return ret
}
return *o.PlaceOfDeliveryName
}
// GetPlaceOfDeliveryNameOk returns a tuple with the PlaceOfDeliveryName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetPlaceOfDeliveryNameOk() (*string, bool) {
if o == nil || IsNil(o.PlaceOfDeliveryName) {
return nil, false
}
return o.PlaceOfDeliveryName, true
}
// HasPlaceOfDeliveryName returns a boolean if a field has been set.
func (o *BillOfLading) HasPlaceOfDeliveryName() bool {
if o != nil && !IsNil(o.PlaceOfDeliveryName) {
return true
}
return false
}
// SetPlaceOfDeliveryName gets a reference to the given string and assigns it to the PlaceOfDeliveryName field.
func (o *BillOfLading) SetPlaceOfDeliveryName(v string) {
o.PlaceOfDeliveryName = &v
}
// GetPlaceOfReceipt returns the PlaceOfReceipt field value if set, zero value otherwise.
func (o *BillOfLading) GetPlaceOfReceipt() string {
if o == nil || IsNil(o.PlaceOfReceipt) {
var ret string
return ret
}
return *o.PlaceOfReceipt
}
// GetPlaceOfReceiptOk returns a tuple with the PlaceOfReceipt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetPlaceOfReceiptOk() (*string, bool) {
if o == nil || IsNil(o.PlaceOfReceipt) {
return nil, false
}
return o.PlaceOfReceipt, true
}
// HasPlaceOfReceipt returns a boolean if a field has been set.
func (o *BillOfLading) HasPlaceOfReceipt() bool {
if o != nil && !IsNil(o.PlaceOfReceipt) {
return true
}
return false
}
// SetPlaceOfReceipt gets a reference to the given string and assigns it to the PlaceOfReceipt field.
func (o *BillOfLading) SetPlaceOfReceipt(v string) {
o.PlaceOfReceipt = &v
}
// GetPlaceOfReceiptName returns the PlaceOfReceiptName field value if set, zero value otherwise.
func (o *BillOfLading) GetPlaceOfReceiptName() string {
if o == nil || IsNil(o.PlaceOfReceiptName) {
var ret string
return ret
}
return *o.PlaceOfReceiptName
}
// GetPlaceOfReceiptNameOk returns a tuple with the PlaceOfReceiptName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetPlaceOfReceiptNameOk() (*string, bool) {
if o == nil || IsNil(o.PlaceOfReceiptName) {
return nil, false
}
return o.PlaceOfReceiptName, true
}
// HasPlaceOfReceiptName returns a boolean if a field has been set.
func (o *BillOfLading) HasPlaceOfReceiptName() bool {
if o != nil && !IsNil(o.PlaceOfReceiptName) {
return true
}
return false
}
// SetPlaceOfReceiptName gets a reference to the given string and assigns it to the PlaceOfReceiptName field.
func (o *BillOfLading) SetPlaceOfReceiptName(v string) {
o.PlaceOfReceiptName = &v
}
// GetPod returns the Pod field value if set, zero value otherwise.
func (o *BillOfLading) 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 *BillOfLading) 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 *BillOfLading) 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 *BillOfLading) SetPod(v string) {
o.Pod = &v
}
// GetPodActualArrivalLt returns the PodActualArrivalLt field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPodActualArrivalLt() time.Time {
if o == nil || IsNil(o.PodActualArrivalLt.Get()) {
var ret time.Time
return ret
}
return *o.PodActualArrivalLt.Get()
}
// GetPodActualArrivalLtOk returns a tuple with the PodActualArrivalLt field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BillOfLading) GetPodActualArrivalLtOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.PodActualArrivalLt.Get(), o.PodActualArrivalLt.IsSet()
}
// HasPodActualArrivalLt returns a boolean if a field has been set.
func (o *BillOfLading) HasPodActualArrivalLt() bool {
if o != nil && o.PodActualArrivalLt.IsSet() {
return true
}
return false
}
// SetPodActualArrivalLt gets a reference to the given NullableTime and assigns it to the PodActualArrivalLt field.
func (o *BillOfLading) SetPodActualArrivalLt(v time.Time) {
o.PodActualArrivalLt.Set(&v)
}
// SetPodActualArrivalLtNil sets the value for PodActualArrivalLt to be an explicit nil
func (o *BillOfLading) SetPodActualArrivalLtNil() {
o.PodActualArrivalLt.Set(nil)
}
// UnsetPodActualArrivalLt ensures that no value is present for PodActualArrivalLt, not even an explicit nil
func (o *BillOfLading) UnsetPodActualArrivalLt() {
o.PodActualArrivalLt.Unset()
}
// GetPodActualArrivalLtFromAis returns the PodActualArrivalLtFromAis field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPodActualArrivalLtFromAis() time.Time {
if o == nil || IsNil(o.PodActualArrivalLtFromAis.Get()) {
var ret time.Time
return ret
}
return *o.PodActualArrivalLtFromAis.Get()
}
// GetPodActualArrivalLtFromAisOk returns a tuple with the PodActualArrivalLtFromAis field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BillOfLading) GetPodActualArrivalLtFromAisOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.PodActualArrivalLtFromAis.Get(), o.PodActualArrivalLtFromAis.IsSet()
}
// HasPodActualArrivalLtFromAis returns a boolean if a field has been set.
func (o *BillOfLading) HasPodActualArrivalLtFromAis() bool {
if o != nil && o.PodActualArrivalLtFromAis.IsSet() {
return true
}
return false
}
// SetPodActualArrivalLtFromAis gets a reference to the given NullableTime and assigns it to the PodActualArrivalLtFromAis field.
func (o *BillOfLading) SetPodActualArrivalLtFromAis(v time.Time) {
o.PodActualArrivalLtFromAis.Set(&v)
}
// SetPodActualArrivalLtFromAisNil sets the value for PodActualArrivalLtFromAis to be an explicit nil
func (o *BillOfLading) SetPodActualArrivalLtFromAisNil() {
o.PodActualArrivalLtFromAis.Set(nil)
}
// UnsetPodActualArrivalLtFromAis ensures that no value is present for PodActualArrivalLtFromAis, not even an explicit nil
func (o *BillOfLading) UnsetPodActualArrivalLtFromAis() {
o.PodActualArrivalLtFromAis.Unset()
}
// GetPodActualDepartureLtFromAis returns the PodActualDepartureLtFromAis field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPodActualDepartureLtFromAis() time.Time {
if o == nil || IsNil(o.PodActualDepartureLtFromAis.Get()) {
var ret time.Time
return ret
}
return *o.PodActualDepartureLtFromAis.Get()
}
// GetPodActualDepartureLtFromAisOk returns a tuple with the PodActualDepartureLtFromAis field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BillOfLading) GetPodActualDepartureLtFromAisOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.PodActualDepartureLtFromAis.Get(), o.PodActualDepartureLtFromAis.IsSet()
}
// HasPodActualDepartureLtFromAis returns a boolean if a field has been set.
func (o *BillOfLading) HasPodActualDepartureLtFromAis() bool {
if o != nil && o.PodActualDepartureLtFromAis.IsSet() {
return true
}
return false
}
// SetPodActualDepartureLtFromAis gets a reference to the given NullableTime and assigns it to the PodActualDepartureLtFromAis field.
func (o *BillOfLading) SetPodActualDepartureLtFromAis(v time.Time) {
o.PodActualDepartureLtFromAis.Set(&v)
}
// SetPodActualDepartureLtFromAisNil sets the value for PodActualDepartureLtFromAis to be an explicit nil
func (o *BillOfLading) SetPodActualDepartureLtFromAisNil() {
o.PodActualDepartureLtFromAis.Set(nil)
}
// UnsetPodActualDepartureLtFromAis ensures that no value is present for PodActualDepartureLtFromAis, not even an explicit nil
func (o *BillOfLading) UnsetPodActualDepartureLtFromAis() {
o.PodActualDepartureLtFromAis.Unset()
}
// GetPodActualDischargeLt returns the PodActualDischargeLt field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPodActualDischargeLt() time.Time {
if o == nil || IsNil(o.PodActualDischargeLt.Get()) {
var ret time.Time
return ret
}
return *o.PodActualDischargeLt.Get()
}
// GetPodActualDischargeLtOk returns a tuple with the PodActualDischargeLt field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BillOfLading) GetPodActualDischargeLtOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.PodActualDischargeLt.Get(), o.PodActualDischargeLt.IsSet()
}
// HasPodActualDischargeLt returns a boolean if a field has been set.
func (o *BillOfLading) HasPodActualDischargeLt() bool {
if o != nil && o.PodActualDischargeLt.IsSet() {
return true
}
return false
}
// SetPodActualDischargeLt gets a reference to the given NullableTime and assigns it to the PodActualDischargeLt field.
func (o *BillOfLading) SetPodActualDischargeLt(v time.Time) {
o.PodActualDischargeLt.Set(&v)
}
// SetPodActualDischargeLtNil sets the value for PodActualDischargeLt to be an explicit nil
func (o *BillOfLading) SetPodActualDischargeLtNil() {
o.PodActualDischargeLt.Set(nil)
}
// UnsetPodActualDischargeLt ensures that no value is present for PodActualDischargeLt, not even an explicit nil
func (o *BillOfLading) UnsetPodActualDischargeLt() {
o.PodActualDischargeLt.Unset()
}
// GetPodName returns the PodName field value if set, zero value otherwise.
func (o *BillOfLading) GetPodName() string {
if o == nil || IsNil(o.PodName) {
var ret string
return ret
}
return *o.PodName
}
// GetPodNameOk returns a tuple with the PodName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetPodNameOk() (*string, bool) {
if o == nil || IsNil(o.PodName) {
return nil, false
}
return o.PodName, true
}
// HasPodName returns a boolean if a field has been set.
func (o *BillOfLading) HasPodName() bool {
if o != nil && !IsNil(o.PodName) {
return true
}
return false
}
// SetPodName gets a reference to the given string and assigns it to the PodName field.
func (o *BillOfLading) SetPodName(v string) {
o.PodName = &v
}
// GetPodPredictedArrivalLt returns the PodPredictedArrivalLt field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPodPredictedArrivalLt() time.Time {
if o == nil || IsNil(o.PodPredictedArrivalLt.Get()) {
var ret time.Time
return ret
}
return *o.PodPredictedArrivalLt.Get()
}
// GetPodPredictedArrivalLtOk returns a tuple with the PodPredictedArrivalLt field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BillOfLading) GetPodPredictedArrivalLtOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.PodPredictedArrivalLt.Get(), o.PodPredictedArrivalLt.IsSet()
}
// HasPodPredictedArrivalLt returns a boolean if a field has been set.
func (o *BillOfLading) HasPodPredictedArrivalLt() bool {
if o != nil && o.PodPredictedArrivalLt.IsSet() {
return true
}
return false
}
// SetPodPredictedArrivalLt gets a reference to the given NullableTime and assigns it to the PodPredictedArrivalLt field.
func (o *BillOfLading) SetPodPredictedArrivalLt(v time.Time) {
o.PodPredictedArrivalLt.Set(&v)
}
// SetPodPredictedArrivalLtNil sets the value for PodPredictedArrivalLt to be an explicit nil
func (o *BillOfLading) SetPodPredictedArrivalLtNil() {
o.PodPredictedArrivalLt.Set(nil)
}
// UnsetPodPredictedArrivalLt ensures that no value is present for PodPredictedArrivalLt, not even an explicit nil
func (o *BillOfLading) UnsetPodPredictedArrivalLt() {
o.PodPredictedArrivalLt.Unset()
}
// GetPodPredictedDepartureLt returns the PodPredictedDepartureLt field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPodPredictedDepartureLt() time.Time {
if o == nil || IsNil(o.PodPredictedDepartureLt.Get()) {
var ret time.Time
return ret
}
return *o.PodPredictedDepartureLt.Get()
}
// GetPodPredictedDepartureLtOk returns a tuple with the PodPredictedDepartureLt field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BillOfLading) GetPodPredictedDepartureLtOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.PodPredictedDepartureLt.Get(), o.PodPredictedDepartureLt.IsSet()
}
// HasPodPredictedDepartureLt returns a boolean if a field has been set.
func (o *BillOfLading) HasPodPredictedDepartureLt() bool {
if o != nil && o.PodPredictedDepartureLt.IsSet() {
return true
}
return false
}
// SetPodPredictedDepartureLt gets a reference to the given NullableTime and assigns it to the PodPredictedDepartureLt field.
func (o *BillOfLading) SetPodPredictedDepartureLt(v time.Time) {
o.PodPredictedDepartureLt.Set(&v)
}
// SetPodPredictedDepartureLtNil sets the value for PodPredictedDepartureLt to be an explicit nil
func (o *BillOfLading) SetPodPredictedDepartureLtNil() {
o.PodPredictedDepartureLt.Set(nil)
}
// UnsetPodPredictedDepartureLt ensures that no value is present for PodPredictedDepartureLt, not even an explicit nil
func (o *BillOfLading) UnsetPodPredictedDepartureLt() {
o.PodPredictedDepartureLt.Unset()
}
// GetPodScheduledArrivalLt returns the PodScheduledArrivalLt field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPodScheduledArrivalLt() time.Time {
if o == nil || IsNil(o.PodScheduledArrivalLt.Get()) {
var ret time.Time
return ret
}
return *o.PodScheduledArrivalLt.Get()
}
// GetPodScheduledArrivalLtOk returns a tuple with the PodScheduledArrivalLt field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BillOfLading) GetPodScheduledArrivalLtOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.PodScheduledArrivalLt.Get(), o.PodScheduledArrivalLt.IsSet()
}
// HasPodScheduledArrivalLt returns a boolean if a field has been set.
func (o *BillOfLading) HasPodScheduledArrivalLt() bool {
if o != nil && o.PodScheduledArrivalLt.IsSet() {
return true
}
return false
}
// SetPodScheduledArrivalLt gets a reference to the given NullableTime and assigns it to the PodScheduledArrivalLt field.
func (o *BillOfLading) SetPodScheduledArrivalLt(v time.Time) {
o.PodScheduledArrivalLt.Set(&v)
}
// SetPodScheduledArrivalLtNil sets the value for PodScheduledArrivalLt to be an explicit nil
func (o *BillOfLading) SetPodScheduledArrivalLtNil() {
o.PodScheduledArrivalLt.Set(nil)
}
// UnsetPodScheduledArrivalLt ensures that no value is present for PodScheduledArrivalLt, not even an explicit nil
func (o *BillOfLading) UnsetPodScheduledArrivalLt() {
o.PodScheduledArrivalLt.Unset()
}
// GetPodScheduledArrivalLtFirstSeen returns the PodScheduledArrivalLtFirstSeen field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPodScheduledArrivalLtFirstSeen() string {
if o == nil || IsNil(o.PodScheduledArrivalLtFirstSeen.Get()) {
var ret string
return ret
}
return *o.PodScheduledArrivalLtFirstSeen.Get()
}
// GetPodScheduledArrivalLtFirstSeenOk returns a tuple with the PodScheduledArrivalLtFirstSeen field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BillOfLading) GetPodScheduledArrivalLtFirstSeenOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.PodScheduledArrivalLtFirstSeen.Get(), o.PodScheduledArrivalLtFirstSeen.IsSet()
}
// HasPodScheduledArrivalLtFirstSeen returns a boolean if a field has been set.
func (o *BillOfLading) HasPodScheduledArrivalLtFirstSeen() bool {
if o != nil && o.PodScheduledArrivalLtFirstSeen.IsSet() {
return true
}
return false
}
// SetPodScheduledArrivalLtFirstSeen gets a reference to the given NullableString and assigns it to the PodScheduledArrivalLtFirstSeen field.
func (o *BillOfLading) SetPodScheduledArrivalLtFirstSeen(v string) {
o.PodScheduledArrivalLtFirstSeen.Set(&v)
}
// SetPodScheduledArrivalLtFirstSeenNil sets the value for PodScheduledArrivalLtFirstSeen to be an explicit nil
func (o *BillOfLading) SetPodScheduledArrivalLtFirstSeenNil() {
o.PodScheduledArrivalLtFirstSeen.Set(nil)
}
// UnsetPodScheduledArrivalLtFirstSeen ensures that no value is present for PodScheduledArrivalLtFirstSeen, not even an explicit nil
func (o *BillOfLading) UnsetPodScheduledArrivalLtFirstSeen() {
o.PodScheduledArrivalLtFirstSeen.Unset()
}
// GetPodScheduledArrivalLtFromSchedule returns the PodScheduledArrivalLtFromSchedule field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPodScheduledArrivalLtFromSchedule() time.Time {
if o == nil || IsNil(o.PodScheduledArrivalLtFromSchedule.Get()) {
var ret time.Time
return ret
}
return *o.PodScheduledArrivalLtFromSchedule.Get()
}
// GetPodScheduledArrivalLtFromScheduleOk returns a tuple with the PodScheduledArrivalLtFromSchedule field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BillOfLading) GetPodScheduledArrivalLtFromScheduleOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.PodScheduledArrivalLtFromSchedule.Get(), o.PodScheduledArrivalLtFromSchedule.IsSet()
}
// HasPodScheduledArrivalLtFromSchedule returns a boolean if a field has been set.
func (o *BillOfLading) HasPodScheduledArrivalLtFromSchedule() bool {
if o != nil && o.PodScheduledArrivalLtFromSchedule.IsSet() {
return true
}
return false
}
// SetPodScheduledArrivalLtFromSchedule gets a reference to the given NullableTime and assigns it to the PodScheduledArrivalLtFromSchedule field.
func (o *BillOfLading) SetPodScheduledArrivalLtFromSchedule(v time.Time) {
o.PodScheduledArrivalLtFromSchedule.Set(&v)
}
// SetPodScheduledArrivalLtFromScheduleNil sets the value for PodScheduledArrivalLtFromSchedule to be an explicit nil
func (o *BillOfLading) SetPodScheduledArrivalLtFromScheduleNil() {
o.PodScheduledArrivalLtFromSchedule.Set(nil)
}
// UnsetPodScheduledArrivalLtFromSchedule ensures that no value is present for PodScheduledArrivalLtFromSchedule, not even an explicit nil
func (o *BillOfLading) UnsetPodScheduledArrivalLtFromSchedule() {
o.PodScheduledArrivalLtFromSchedule.Unset()
}
// GetPodScheduledDepartureLtFromSchedule returns the PodScheduledDepartureLtFromSchedule field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPodScheduledDepartureLtFromSchedule() time.Time {
if o == nil || IsNil(o.PodScheduledDepartureLtFromSchedule.Get()) {
var ret time.Time
return ret
}
return *o.PodScheduledDepartureLtFromSchedule.Get()
}
// GetPodScheduledDepartureLtFromScheduleOk returns a tuple with the PodScheduledDepartureLtFromSchedule field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BillOfLading) GetPodScheduledDepartureLtFromScheduleOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.PodScheduledDepartureLtFromSchedule.Get(), o.PodScheduledDepartureLtFromSchedule.IsSet()
}
// HasPodScheduledDepartureLtFromSchedule returns a boolean if a field has been set.
func (o *BillOfLading) HasPodScheduledDepartureLtFromSchedule() bool {
if o != nil && o.PodScheduledDepartureLtFromSchedule.IsSet() {
return true
}
return false
}
// SetPodScheduledDepartureLtFromSchedule gets a reference to the given NullableTime and assigns it to the PodScheduledDepartureLtFromSchedule field.
func (o *BillOfLading) SetPodScheduledDepartureLtFromSchedule(v time.Time) {
o.PodScheduledDepartureLtFromSchedule.Set(&v)
}
// SetPodScheduledDepartureLtFromScheduleNil sets the value for PodScheduledDepartureLtFromSchedule to be an explicit nil
func (o *BillOfLading) SetPodScheduledDepartureLtFromScheduleNil() {
o.PodScheduledDepartureLtFromSchedule.Set(nil)
}
// UnsetPodScheduledDepartureLtFromSchedule ensures that no value is present for PodScheduledDepartureLtFromSchedule, not even an explicit nil
func (o *BillOfLading) UnsetPodScheduledDepartureLtFromSchedule() {
o.PodScheduledDepartureLtFromSchedule.Unset()
}
// GetPodScheduledDischargeLt returns the PodScheduledDischargeLt field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPodScheduledDischargeLt() time.Time {
if o == nil || IsNil(o.PodScheduledDischargeLt.Get()) {
var ret time.Time
return ret
}
return *o.PodScheduledDischargeLt.Get()
}
// GetPodScheduledDischargeLtOk returns a tuple with the PodScheduledDischargeLt field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BillOfLading) GetPodScheduledDischargeLtOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.PodScheduledDischargeLt.Get(), o.PodScheduledDischargeLt.IsSet()
}
// HasPodScheduledDischargeLt returns a boolean if a field has been set.
func (o *BillOfLading) HasPodScheduledDischargeLt() bool {
if o != nil && o.PodScheduledDischargeLt.IsSet() {
return true
}
return false
}
// SetPodScheduledDischargeLt gets a reference to the given NullableTime and assigns it to the PodScheduledDischargeLt field.
func (o *BillOfLading) SetPodScheduledDischargeLt(v time.Time) {
o.PodScheduledDischargeLt.Set(&v)
}
// SetPodScheduledDischargeLtNil sets the value for PodScheduledDischargeLt to be an explicit nil
func (o *BillOfLading) SetPodScheduledDischargeLtNil() {
o.PodScheduledDischargeLt.Set(nil)
}
// UnsetPodScheduledDischargeLt ensures that no value is present for PodScheduledDischargeLt, not even an explicit nil
func (o *BillOfLading) UnsetPodScheduledDischargeLt() {
o.PodScheduledDischargeLt.Unset()
}
// GetPodTerminalName returns the PodTerminalName field value if set, zero value otherwise.
func (o *BillOfLading) GetPodTerminalName() string {
if o == nil || IsNil(o.PodTerminalName) {
var ret string
return ret
}
return *o.PodTerminalName
}
// GetPodTerminalNameOk returns a tuple with the PodTerminalName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetPodTerminalNameOk() (*string, bool) {
if o == nil || IsNil(o.PodTerminalName) {
return nil, false
}
return o.PodTerminalName, true
}
// HasPodTerminalName returns a boolean if a field has been set.
func (o *BillOfLading) HasPodTerminalName() bool {
if o != nil && !IsNil(o.PodTerminalName) {
return true
}
return false
}
// SetPodTerminalName gets a reference to the given string and assigns it to the PodTerminalName field.
func (o *BillOfLading) SetPodTerminalName(v string) {
o.PodTerminalName = &v
}
// GetPol returns the Pol field value if set, zero value otherwise.
func (o *BillOfLading) GetPol() string {
if o == nil || IsNil(o.Pol) {
var ret string
return ret
}
return *o.Pol
}
// GetPolOk returns a tuple with the Pol field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BillOfLading) GetPolOk() (*string, bool) {
if o == nil || IsNil(o.Pol) {
return nil, false
}
return o.Pol, true
}
// HasPol returns a boolean if a field has been set.
func (o *BillOfLading) HasPol() bool {
if o != nil && !IsNil(o.Pol) {
return true
}
return false
}
// SetPol gets a reference to the given string and assigns it to the Pol field.
func (o *BillOfLading) SetPol(v string) {
o.Pol = &v
}
// GetPolActualArrivalLtFromAis returns the PolActualArrivalLtFromAis field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BillOfLading) GetPolActualArrivalLtFromAis() time.Time {
if o == nil || IsNil(o.PolActualArrivalLtFromAis.Get()) {
var ret time.Time