/
model_example_row_response_serializer_with_user_field_names.go
1024 lines (882 loc) · 37.3 KB
/
model_example_row_response_serializer_with_user_field_names.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
/*
Baserow API spec
For more information about our REST API, please visit [this page](https://baserow.io/docs/apis%2Frest-api). For more information about our deprecation policy, please visit [this page](https://baserow.io/docs/apis%2Fdeprecations).
API version: 1.18.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package client
import (
"encoding/json"
"time"
)
// checks if the ExampleRowResponseSerializerWithUserFieldNames type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &ExampleRowResponseSerializerWithUserFieldNames{}
// ExampleRowResponseSerializerWithUserFieldNames struct for ExampleRowResponseSerializerWithUserFieldNames
type ExampleRowResponseSerializerWithUserFieldNames struct {
// The unique identifier of the row in the table.
Id int32 `json:"id"`
// Indicates the position of the row, lowest first and highest last.
Order *float64 `json:"order,omitempty"`
// This field represents the `text` field. The number in field_1 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field1 NullableString `json:"field_1,omitempty"`
// This field represents the `long_text` field. The number in field_2 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field2 NullableString `json:"field_2,omitempty"`
// This field represents the `url` field. The number in field_3 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field3 NullableString `json:"field_3,omitempty"`
// This field represents the `email` field. The number in field_4 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field4 NullableString `json:"field_4,omitempty"`
// This field represents the `number` field. The number in field_5 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field5 NullableFloat64 `json:"field_5,omitempty"`
// This field represents the `rating` field. The number in field_6 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field6 *int32 `json:"field_6,omitempty"`
// This field represents the `boolean` field. The number in field_7 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field7 *bool `json:"field_7,omitempty"`
// This field represents the `date` field. The number in field_8 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field8 NullableString `json:"field_8,omitempty"`
// This field represents the `last_modified` field. The number in field_9 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field9 *time.Time `json:"field_9,omitempty"`
// This field represents the `created_on` field. The number in field_10 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field10 *time.Time `json:"field_10,omitempty"`
// This field represents the `link_row` field. The number in field_11 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.This field accepts an `array` containing the ids or the names of the related rows. In case of names, if the name is not found, this name is ignored. A name is the value of the primary key of the related row.The response contains a list of objects containing the `id` and the primary field's `value` as a string for display purposes.
Field11 []LinkRowValue `json:"field_11,omitempty"`
// This field represents the `file` field. The number in field_12 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.This field accepts an `array` containing objects with the name of the file. The response contains an `array` of more detailed objects related to the files.
Field12 []FileFieldResponse `json:"field_12,omitempty"`
Field13 NullableExampleRowResponseSerializerWithUserFieldNamesField13 `json:"field_13,omitempty"`
// This field represents the `multiple_select` field. The number in field_14 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.This field accepts a list of `integer` each of which representing the chosen select option id related to the field. Available ids can be foundwhen getting or listing the field. The response represents chosen field, but also the value and color is exposed.
Field14 []SelectOption `json:"field_14,omitempty"`
// This field represents the `phone_number` field. The number in field_15 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field15 NullableString `json:"field_15,omitempty"`
// This field represents the `formula` field. The number in field_16 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field16 NullableString `json:"field_16,omitempty"`
// This field represents the `count` field. The number in field_17 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field17 NullableString `json:"field_17,omitempty"`
// This field represents the `rollup` field. The number in field_18 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field18 NullableString `json:"field_18,omitempty"`
// This field represents the `lookup` field. The number in field_19 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.
Field19 NullableString `json:"field_19,omitempty"`
// This field represents the `multiple_collaborators` field. The number in field_20 is in a normal request or response the id of the field. If the GET parameter `user_field_names` is provided then the key will instead be the actual name of the field.This field accepts a list of objects representing the chosen collaborators through the object's `id` property. The id is Baserow user id. The response objects also contains the collaborator name directly along with its id.
Field20 []Collaborator `json:"field_20,omitempty"`
}
// NewExampleRowResponseSerializerWithUserFieldNames instantiates a new ExampleRowResponseSerializerWithUserFieldNames 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 NewExampleRowResponseSerializerWithUserFieldNames(id int32) *ExampleRowResponseSerializerWithUserFieldNames {
this := ExampleRowResponseSerializerWithUserFieldNames{}
this.Id = id
var field6 int32 = 0
this.Field6 = &field6
var field7 bool = false
this.Field7 = &field7
return &this
}
// NewExampleRowResponseSerializerWithUserFieldNamesWithDefaults instantiates a new ExampleRowResponseSerializerWithUserFieldNames 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 NewExampleRowResponseSerializerWithUserFieldNamesWithDefaults() *ExampleRowResponseSerializerWithUserFieldNames {
this := ExampleRowResponseSerializerWithUserFieldNames{}
var field6 int32 = 0
this.Field6 = &field6
var field7 bool = false
this.Field7 = &field7
return &this
}
// GetId returns the Id field value
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetId() int32 {
if o == nil {
var ret int32
return ret
}
return o.Id
}
// GetIdOk returns a tuple with the Id field value
// and a boolean to check if the value has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetIdOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.Id, true
}
// SetId sets field value
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetId(v int32) {
o.Id = v
}
// GetOrder returns the Order field value if set, zero value otherwise.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetOrder() float64 {
if o == nil || IsNil(o.Order) {
var ret float64
return ret
}
return *o.Order
}
// GetOrderOk returns a tuple with the Order field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetOrderOk() (*float64, bool) {
if o == nil || IsNil(o.Order) {
return nil, false
}
return o.Order, true
}
// HasOrder returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasOrder() bool {
if o != nil && !IsNil(o.Order) {
return true
}
return false
}
// SetOrder gets a reference to the given float64 and assigns it to the Order field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetOrder(v float64) {
o.Order = &v
}
// GetField1 returns the Field1 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField1() string {
if o == nil || IsNil(o.Field1.Get()) {
var ret string
return ret
}
return *o.Field1.Get()
}
// GetField1Ok returns a tuple with the Field1 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField1Ok() (*string, bool) {
if o == nil {
return nil, false
}
return o.Field1.Get(), o.Field1.IsSet()
}
// HasField1 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField1() bool {
if o != nil && o.Field1.IsSet() {
return true
}
return false
}
// SetField1 gets a reference to the given NullableString and assigns it to the Field1 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField1(v string) {
o.Field1.Set(&v)
}
// SetField1Nil sets the value for Field1 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField1Nil() {
o.Field1.Set(nil)
}
// UnsetField1 ensures that no value is present for Field1, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField1() {
o.Field1.Unset()
}
// GetField2 returns the Field2 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField2() string {
if o == nil || IsNil(o.Field2.Get()) {
var ret string
return ret
}
return *o.Field2.Get()
}
// GetField2Ok returns a tuple with the Field2 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField2Ok() (*string, bool) {
if o == nil {
return nil, false
}
return o.Field2.Get(), o.Field2.IsSet()
}
// HasField2 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField2() bool {
if o != nil && o.Field2.IsSet() {
return true
}
return false
}
// SetField2 gets a reference to the given NullableString and assigns it to the Field2 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField2(v string) {
o.Field2.Set(&v)
}
// SetField2Nil sets the value for Field2 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField2Nil() {
o.Field2.Set(nil)
}
// UnsetField2 ensures that no value is present for Field2, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField2() {
o.Field2.Unset()
}
// GetField3 returns the Field3 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField3() string {
if o == nil || IsNil(o.Field3.Get()) {
var ret string
return ret
}
return *o.Field3.Get()
}
// GetField3Ok returns a tuple with the Field3 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField3Ok() (*string, bool) {
if o == nil {
return nil, false
}
return o.Field3.Get(), o.Field3.IsSet()
}
// HasField3 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField3() bool {
if o != nil && o.Field3.IsSet() {
return true
}
return false
}
// SetField3 gets a reference to the given NullableString and assigns it to the Field3 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField3(v string) {
o.Field3.Set(&v)
}
// SetField3Nil sets the value for Field3 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField3Nil() {
o.Field3.Set(nil)
}
// UnsetField3 ensures that no value is present for Field3, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField3() {
o.Field3.Unset()
}
// GetField4 returns the Field4 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField4() string {
if o == nil || IsNil(o.Field4.Get()) {
var ret string
return ret
}
return *o.Field4.Get()
}
// GetField4Ok returns a tuple with the Field4 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField4Ok() (*string, bool) {
if o == nil {
return nil, false
}
return o.Field4.Get(), o.Field4.IsSet()
}
// HasField4 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField4() bool {
if o != nil && o.Field4.IsSet() {
return true
}
return false
}
// SetField4 gets a reference to the given NullableString and assigns it to the Field4 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField4(v string) {
o.Field4.Set(&v)
}
// SetField4Nil sets the value for Field4 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField4Nil() {
o.Field4.Set(nil)
}
// UnsetField4 ensures that no value is present for Field4, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField4() {
o.Field4.Unset()
}
// GetField5 returns the Field5 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField5() float64 {
if o == nil || IsNil(o.Field5.Get()) {
var ret float64
return ret
}
return *o.Field5.Get()
}
// GetField5Ok returns a tuple with the Field5 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField5Ok() (*float64, bool) {
if o == nil {
return nil, false
}
return o.Field5.Get(), o.Field5.IsSet()
}
// HasField5 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField5() bool {
if o != nil && o.Field5.IsSet() {
return true
}
return false
}
// SetField5 gets a reference to the given NullableFloat64 and assigns it to the Field5 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField5(v float64) {
o.Field5.Set(&v)
}
// SetField5Nil sets the value for Field5 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField5Nil() {
o.Field5.Set(nil)
}
// UnsetField5 ensures that no value is present for Field5, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField5() {
o.Field5.Unset()
}
// GetField6 returns the Field6 field value if set, zero value otherwise.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField6() int32 {
if o == nil || IsNil(o.Field6) {
var ret int32
return ret
}
return *o.Field6
}
// GetField6Ok returns a tuple with the Field6 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField6Ok() (*int32, bool) {
if o == nil || IsNil(o.Field6) {
return nil, false
}
return o.Field6, true
}
// HasField6 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField6() bool {
if o != nil && !IsNil(o.Field6) {
return true
}
return false
}
// SetField6 gets a reference to the given int32 and assigns it to the Field6 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField6(v int32) {
o.Field6 = &v
}
// GetField7 returns the Field7 field value if set, zero value otherwise.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField7() bool {
if o == nil || IsNil(o.Field7) {
var ret bool
return ret
}
return *o.Field7
}
// GetField7Ok returns a tuple with the Field7 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField7Ok() (*bool, bool) {
if o == nil || IsNil(o.Field7) {
return nil, false
}
return o.Field7, true
}
// HasField7 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField7() bool {
if o != nil && !IsNil(o.Field7) {
return true
}
return false
}
// SetField7 gets a reference to the given bool and assigns it to the Field7 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField7(v bool) {
o.Field7 = &v
}
// GetField8 returns the Field8 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField8() string {
if o == nil || IsNil(o.Field8.Get()) {
var ret string
return ret
}
return *o.Field8.Get()
}
// GetField8Ok returns a tuple with the Field8 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField8Ok() (*string, bool) {
if o == nil {
return nil, false
}
return o.Field8.Get(), o.Field8.IsSet()
}
// HasField8 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField8() bool {
if o != nil && o.Field8.IsSet() {
return true
}
return false
}
// SetField8 gets a reference to the given NullableString and assigns it to the Field8 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField8(v string) {
o.Field8.Set(&v)
}
// SetField8Nil sets the value for Field8 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField8Nil() {
o.Field8.Set(nil)
}
// UnsetField8 ensures that no value is present for Field8, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField8() {
o.Field8.Unset()
}
// GetField9 returns the Field9 field value if set, zero value otherwise.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField9() time.Time {
if o == nil || IsNil(o.Field9) {
var ret time.Time
return ret
}
return *o.Field9
}
// GetField9Ok returns a tuple with the Field9 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField9Ok() (*time.Time, bool) {
if o == nil || IsNil(o.Field9) {
return nil, false
}
return o.Field9, true
}
// HasField9 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField9() bool {
if o != nil && !IsNil(o.Field9) {
return true
}
return false
}
// SetField9 gets a reference to the given time.Time and assigns it to the Field9 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField9(v time.Time) {
o.Field9 = &v
}
// GetField10 returns the Field10 field value if set, zero value otherwise.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField10() time.Time {
if o == nil || IsNil(o.Field10) {
var ret time.Time
return ret
}
return *o.Field10
}
// GetField10Ok returns a tuple with the Field10 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField10Ok() (*time.Time, bool) {
if o == nil || IsNil(o.Field10) {
return nil, false
}
return o.Field10, true
}
// HasField10 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField10() bool {
if o != nil && !IsNil(o.Field10) {
return true
}
return false
}
// SetField10 gets a reference to the given time.Time and assigns it to the Field10 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField10(v time.Time) {
o.Field10 = &v
}
// GetField11 returns the Field11 field value if set, zero value otherwise.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField11() []LinkRowValue {
if o == nil || IsNil(o.Field11) {
var ret []LinkRowValue
return ret
}
return o.Field11
}
// GetField11Ok returns a tuple with the Field11 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField11Ok() ([]LinkRowValue, bool) {
if o == nil || IsNil(o.Field11) {
return nil, false
}
return o.Field11, true
}
// HasField11 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField11() bool {
if o != nil && !IsNil(o.Field11) {
return true
}
return false
}
// SetField11 gets a reference to the given []LinkRowValue and assigns it to the Field11 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField11(v []LinkRowValue) {
o.Field11 = v
}
// GetField12 returns the Field12 field value if set, zero value otherwise.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField12() []FileFieldResponse {
if o == nil || IsNil(o.Field12) {
var ret []FileFieldResponse
return ret
}
return o.Field12
}
// GetField12Ok returns a tuple with the Field12 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField12Ok() ([]FileFieldResponse, bool) {
if o == nil || IsNil(o.Field12) {
return nil, false
}
return o.Field12, true
}
// HasField12 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField12() bool {
if o != nil && !IsNil(o.Field12) {
return true
}
return false
}
// SetField12 gets a reference to the given []FileFieldResponse and assigns it to the Field12 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField12(v []FileFieldResponse) {
o.Field12 = v
}
// GetField13 returns the Field13 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField13() ExampleRowResponseSerializerWithUserFieldNamesField13 {
if o == nil || IsNil(o.Field13.Get()) {
var ret ExampleRowResponseSerializerWithUserFieldNamesField13
return ret
}
return *o.Field13.Get()
}
// GetField13Ok returns a tuple with the Field13 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField13Ok() (*ExampleRowResponseSerializerWithUserFieldNamesField13, bool) {
if o == nil {
return nil, false
}
return o.Field13.Get(), o.Field13.IsSet()
}
// HasField13 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField13() bool {
if o != nil && o.Field13.IsSet() {
return true
}
return false
}
// SetField13 gets a reference to the given NullableExampleRowResponseSerializerWithUserFieldNamesField13 and assigns it to the Field13 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField13(v ExampleRowResponseSerializerWithUserFieldNamesField13) {
o.Field13.Set(&v)
}
// SetField13Nil sets the value for Field13 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField13Nil() {
o.Field13.Set(nil)
}
// UnsetField13 ensures that no value is present for Field13, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField13() {
o.Field13.Unset()
}
// GetField14 returns the Field14 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField14() []SelectOption {
if o == nil {
var ret []SelectOption
return ret
}
return o.Field14
}
// GetField14Ok returns a tuple with the Field14 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField14Ok() ([]SelectOption, bool) {
if o == nil || IsNil(o.Field14) {
return nil, false
}
return o.Field14, true
}
// HasField14 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField14() bool {
if o != nil && IsNil(o.Field14) {
return true
}
return false
}
// SetField14 gets a reference to the given []SelectOption and assigns it to the Field14 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField14(v []SelectOption) {
o.Field14 = v
}
// GetField15 returns the Field15 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField15() string {
if o == nil || IsNil(o.Field15.Get()) {
var ret string
return ret
}
return *o.Field15.Get()
}
// GetField15Ok returns a tuple with the Field15 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField15Ok() (*string, bool) {
if o == nil {
return nil, false
}
return o.Field15.Get(), o.Field15.IsSet()
}
// HasField15 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField15() bool {
if o != nil && o.Field15.IsSet() {
return true
}
return false
}
// SetField15 gets a reference to the given NullableString and assigns it to the Field15 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField15(v string) {
o.Field15.Set(&v)
}
// SetField15Nil sets the value for Field15 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField15Nil() {
o.Field15.Set(nil)
}
// UnsetField15 ensures that no value is present for Field15, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField15() {
o.Field15.Unset()
}
// GetField16 returns the Field16 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField16() string {
if o == nil || IsNil(o.Field16.Get()) {
var ret string
return ret
}
return *o.Field16.Get()
}
// GetField16Ok returns a tuple with the Field16 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField16Ok() (*string, bool) {
if o == nil {
return nil, false
}
return o.Field16.Get(), o.Field16.IsSet()
}
// HasField16 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField16() bool {
if o != nil && o.Field16.IsSet() {
return true
}
return false
}
// SetField16 gets a reference to the given NullableString and assigns it to the Field16 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField16(v string) {
o.Field16.Set(&v)
}
// SetField16Nil sets the value for Field16 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField16Nil() {
o.Field16.Set(nil)
}
// UnsetField16 ensures that no value is present for Field16, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField16() {
o.Field16.Unset()
}
// GetField17 returns the Field17 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField17() string {
if o == nil || IsNil(o.Field17.Get()) {
var ret string
return ret
}
return *o.Field17.Get()
}
// GetField17Ok returns a tuple with the Field17 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField17Ok() (*string, bool) {
if o == nil {
return nil, false
}
return o.Field17.Get(), o.Field17.IsSet()
}
// HasField17 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField17() bool {
if o != nil && o.Field17.IsSet() {
return true
}
return false
}
// SetField17 gets a reference to the given NullableString and assigns it to the Field17 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField17(v string) {
o.Field17.Set(&v)
}
// SetField17Nil sets the value for Field17 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField17Nil() {
o.Field17.Set(nil)
}
// UnsetField17 ensures that no value is present for Field17, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField17() {
o.Field17.Unset()
}
// GetField18 returns the Field18 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField18() string {
if o == nil || IsNil(o.Field18.Get()) {
var ret string
return ret
}
return *o.Field18.Get()
}
// GetField18Ok returns a tuple with the Field18 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField18Ok() (*string, bool) {
if o == nil {
return nil, false
}
return o.Field18.Get(), o.Field18.IsSet()
}
// HasField18 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField18() bool {
if o != nil && o.Field18.IsSet() {
return true
}
return false
}
// SetField18 gets a reference to the given NullableString and assigns it to the Field18 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField18(v string) {
o.Field18.Set(&v)
}
// SetField18Nil sets the value for Field18 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField18Nil() {
o.Field18.Set(nil)
}
// UnsetField18 ensures that no value is present for Field18, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField18() {
o.Field18.Unset()
}
// GetField19 returns the Field19 field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField19() string {
if o == nil || IsNil(o.Field19.Get()) {
var ret string
return ret
}
return *o.Field19.Get()
}
// GetField19Ok returns a tuple with the Field19 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 *ExampleRowResponseSerializerWithUserFieldNames) GetField19Ok() (*string, bool) {
if o == nil {
return nil, false
}
return o.Field19.Get(), o.Field19.IsSet()
}
// HasField19 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField19() bool {
if o != nil && o.Field19.IsSet() {
return true
}
return false
}
// SetField19 gets a reference to the given NullableString and assigns it to the Field19 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField19(v string) {
o.Field19.Set(&v)
}
// SetField19Nil sets the value for Field19 to be an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField19Nil() {
o.Field19.Set(nil)
}
// UnsetField19 ensures that no value is present for Field19, not even an explicit nil
func (o *ExampleRowResponseSerializerWithUserFieldNames) UnsetField19() {
o.Field19.Unset()
}
// GetField20 returns the Field20 field value if set, zero value otherwise.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField20() []Collaborator {
if o == nil || IsNil(o.Field20) {
var ret []Collaborator
return ret
}
return o.Field20
}
// GetField20Ok returns a tuple with the Field20 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) GetField20Ok() ([]Collaborator, bool) {
if o == nil || IsNil(o.Field20) {
return nil, false
}
return o.Field20, true
}
// HasField20 returns a boolean if a field has been set.
func (o *ExampleRowResponseSerializerWithUserFieldNames) HasField20() bool {
if o != nil && !IsNil(o.Field20) {
return true
}
return false
}
// SetField20 gets a reference to the given []Collaborator and assigns it to the Field20 field.
func (o *ExampleRowResponseSerializerWithUserFieldNames) SetField20(v []Collaborator) {
o.Field20 = v
}
func (o ExampleRowResponseSerializerWithUserFieldNames) MarshalJSON() ([]byte, error) {
toSerialize,err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o ExampleRowResponseSerializerWithUserFieldNames) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["id"] = o.Id
if !IsNil(o.Order) {
toSerialize["order"] = o.Order
}
if o.Field1.IsSet() {
toSerialize["field_1"] = o.Field1.Get()
}
if o.Field2.IsSet() {
toSerialize["field_2"] = o.Field2.Get()
}
if o.Field3.IsSet() {
toSerialize["field_3"] = o.Field3.Get()
}
if o.Field4.IsSet() {
toSerialize["field_4"] = o.Field4.Get()
}
if o.Field5.IsSet() {
toSerialize["field_5"] = o.Field5.Get()
}
if !IsNil(o.Field6) {
toSerialize["field_6"] = o.Field6
}
if !IsNil(o.Field7) {
toSerialize["field_7"] = o.Field7
}
if o.Field8.IsSet() {
toSerialize["field_8"] = o.Field8.Get()
}
if !IsNil(o.Field9) {
toSerialize["field_9"] = o.Field9
}
if !IsNil(o.Field10) {
toSerialize["field_10"] = o.Field10
}
if !IsNil(o.Field11) {
toSerialize["field_11"] = o.Field11
}
if !IsNil(o.Field12) {
toSerialize["field_12"] = o.Field12
}
if o.Field13.IsSet() {
toSerialize["field_13"] = o.Field13.Get()
}
if o.Field14 != nil {
toSerialize["field_14"] = o.Field14
}
if o.Field15.IsSet() {
toSerialize["field_15"] = o.Field15.Get()
}
if o.Field16.IsSet() {
toSerialize["field_16"] = o.Field16.Get()
}
if o.Field17.IsSet() {
toSerialize["field_17"] = o.Field17.Get()
}
if o.Field18.IsSet() {
toSerialize["field_18"] = o.Field18.Get()
}
if o.Field19.IsSet() {
toSerialize["field_19"] = o.Field19.Get()
}
if !IsNil(o.Field20) {
toSerialize["field_20"] = o.Field20
}
return toSerialize, nil
}
type NullableExampleRowResponseSerializerWithUserFieldNames struct {
value *ExampleRowResponseSerializerWithUserFieldNames
isSet bool
}
func (v NullableExampleRowResponseSerializerWithUserFieldNames) Get() *ExampleRowResponseSerializerWithUserFieldNames {
return v.value
}
func (v *NullableExampleRowResponseSerializerWithUserFieldNames) Set(val *ExampleRowResponseSerializerWithUserFieldNames) {
v.value = val
v.isSet = true
}