forked from mParticle/mparticle-java-events-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDeviceInformation.java
More file actions
1267 lines (1053 loc) · 37.8 KB
/
DeviceInformation.java
File metadata and controls
1267 lines (1053 loc) · 37.8 KB
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
package com.mparticle.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* DeviceInformation
*/
public class DeviceInformation {
public static final String SERIALIZED_NAME_BRAND = "brand";
@SerializedName(SERIALIZED_NAME_BRAND)
private String brand;
public static final String SERIALIZED_NAME_PRODUCT = "product";
@SerializedName(SERIALIZED_NAME_PRODUCT)
private String product;
public static final String SERIALIZED_NAME_DEVICE = "device";
@SerializedName(SERIALIZED_NAME_DEVICE)
private String device;
public static final String SERIALIZED_NAME_ANDROID_UUID = "android_uuid";
@SerializedName(SERIALIZED_NAME_ANDROID_UUID)
private String androidUuid;
public static final String SERIALIZED_NAME_DEVICE_MANUFACTURER = "device_manufacturer";
@SerializedName(SERIALIZED_NAME_DEVICE_MANUFACTURER)
private String deviceManufacturer;
/**
* Gets or Sets platform
*/
public enum PlatformEnum {
IOS("iOS"),
ANDROID("Android"),
WEB("web"),
DESKTOP("desktop"),
TVOS("tvOS"),
ROKU("roku"),
OUT_OF_BAND("out_of_band"),
SMART_TV("smart_tv"),
XBOX("xbox"),
FIRE_TV("FireTV");
private String value;
PlatformEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PlatformEnum fromValue(String value) {
for (PlatformEnum b : PlatformEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}
public static final String SERIALIZED_NAME_PLATFORM = "platform";
@SerializedName(SERIALIZED_NAME_PLATFORM)
private PlatformEnum platform;
public static final String SERIALIZED_NAME_OS_VERSION = "os_version";
@SerializedName(SERIALIZED_NAME_OS_VERSION)
private String osVersion;
public static final String SERIALIZED_NAME_DEVICE_MODEL = "device_model";
@SerializedName(SERIALIZED_NAME_DEVICE_MODEL)
private String deviceModel;
public static final String SERIALIZED_NAME_SCREEN_HEIGHT = "screen_height";
@SerializedName(SERIALIZED_NAME_SCREEN_HEIGHT)
private Integer screenHeight;
public static final String SERIALIZED_NAME_SCREEN_WIDTH = "screen_width";
@SerializedName(SERIALIZED_NAME_SCREEN_WIDTH)
private Integer screenWidth;
public static final String SERIALIZED_NAME_SCREEN_DPI = "screen_dpi";
@SerializedName(SERIALIZED_NAME_SCREEN_DPI)
private Integer screenDpi;
public static final String SERIALIZED_NAME_DEVICE_COUNTRY = "device_country";
@SerializedName(SERIALIZED_NAME_DEVICE_COUNTRY)
private String deviceCountry;
public static final String SERIALIZED_NAME_LOCALE_LANGUAGE = "locale_language";
@SerializedName(SERIALIZED_NAME_LOCALE_LANGUAGE)
private String localeLanguage;
public static final String SERIALIZED_NAME_LOCALE_COUNTRY = "locale_country";
@SerializedName(SERIALIZED_NAME_LOCALE_COUNTRY)
private String localeCountry;
public static final String SERIALIZED_NAME_NETWORK_COUNTRY = "network_country";
@SerializedName(SERIALIZED_NAME_NETWORK_COUNTRY)
private String networkCountry;
public static final String SERIALIZED_NAME_NETWORK_CARRIER = "network_carrier";
@SerializedName(SERIALIZED_NAME_NETWORK_CARRIER)
private String networkCarrier;
public static final String SERIALIZED_NAME_NETWORK_CODE = "network_code";
@SerializedName(SERIALIZED_NAME_NETWORK_CODE)
private String networkCode;
public static final String SERIALIZED_NAME_NETWORK_MOBILE_COUNTRY_CODE = "network_mobile_country_code";
@SerializedName(SERIALIZED_NAME_NETWORK_MOBILE_COUNTRY_CODE)
private String networkMobileCountryCode;
public static final String SERIALIZED_NAME_TIMEZONE_OFFSET = "timezone_offset";
@SerializedName(SERIALIZED_NAME_TIMEZONE_OFFSET)
private Integer timezoneOffset;
public static final String SERIALIZED_NAME_BUILD_IDENTIFIER = "build_identifier";
@SerializedName(SERIALIZED_NAME_BUILD_IDENTIFIER)
private String buildIdentifier;
public static final String SERIALIZED_NAME_HTTP_HEADER_USER_AGENT = "http_header_user_agent";
@SerializedName(SERIALIZED_NAME_HTTP_HEADER_USER_AGENT)
private String httpHeaderUserAgent;
public static final String SERIALIZED_NAME_IOS_ADVERTISING_ID = "ios_advertising_id";
@SerializedName(SERIALIZED_NAME_IOS_ADVERTISING_ID)
private String iosAdvertisingId;
public static final String SERIALIZED_NAME_PUSH_TOKEN = "push_token";
@SerializedName(SERIALIZED_NAME_PUSH_TOKEN)
private String pushToken;
public static final String SERIALIZED_NAME_CPU_ARCHITECTURE = "cpu_architecture";
@SerializedName(SERIALIZED_NAME_CPU_ARCHITECTURE)
private String cpuArchitecture;
public static final String SERIALIZED_NAME_IS_TABLET = "is_tablet";
@SerializedName(SERIALIZED_NAME_IS_TABLET)
private Boolean isTablet;
public static final String SERIALIZED_NAME_PUSH_NOTIFICATION_SOUND_ENABLED = "push_notification_sound_enabled";
@SerializedName(SERIALIZED_NAME_PUSH_NOTIFICATION_SOUND_ENABLED)
private Boolean pushNotificationSoundEnabled;
public static final String SERIALIZED_NAME_PUSH_NOTIFICATION_VIBRATE_ENABLED = "push_notification_vibrate_enabled";
@SerializedName(SERIALIZED_NAME_PUSH_NOTIFICATION_VIBRATE_ENABLED)
private Boolean pushNotificationVibrateEnabled;
public static final String SERIALIZED_NAME_RADIO_ACCESS_TECHNOLOGY = "radio_access_technology";
@SerializedName(SERIALIZED_NAME_RADIO_ACCESS_TECHNOLOGY)
private String radioAccessTechnology;
public static final String SERIALIZED_NAME_SUPPORTS_TELEPHONY = "supports_telephony";
@SerializedName(SERIALIZED_NAME_SUPPORTS_TELEPHONY)
private Boolean supportsTelephony;
public static final String SERIALIZED_NAME_HAS_NFC = "has_nfc";
@SerializedName(SERIALIZED_NAME_HAS_NFC)
private Boolean hasNfc;
public static final String SERIALIZED_NAME_BLUETOOTH_ENABLED = "bluetooth_enabled";
@SerializedName(SERIALIZED_NAME_BLUETOOTH_ENABLED)
private Boolean bluetoothEnabled;
public static final String SERIALIZED_NAME_BLUETOOTH_VERSION = "bluetooth_version";
@SerializedName(SERIALIZED_NAME_BLUETOOTH_VERSION)
private String bluetoothVersion;
public static final String SERIALIZED_NAME_ATT_TIMESTAMP_UNIXTIME_MS = "att_timestamp_unixtime_ms";
@SerializedName(SERIALIZED_NAME_ATT_TIMESTAMP_UNIXTIME_MS)
private Long attTimestampUnixtimeMs;
/**
* Gets or Sets attAuthorizationStatus
*/
public enum ATTStatus {
AUTHORIZED("authorized"),
DENIED("denied"),
NOT_DETERMINED("not_determined"),
RESTRICTED("restricted");
private String value;
ATTStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ATTStatus fromValue(String value) {
for (ATTStatus b : ATTStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}
public static final String SERIALIZED_NAME_ATT_AUTHORIZATION_STATUS = "att_authorization_status";
@SerializedName(SERIALIZED_NAME_ATT_AUTHORIZATION_STATUS)
private ATTStatus attAuthorizationStatus;
public static final String SERIALIZED_NAME_IOS_IDFV = "ios_idfv";
@SerializedName(SERIALIZED_NAME_IOS_IDFV)
private String iosIdfv;
public static final String SERIALIZED_NAME_ANDROID_ADVERTISING_ID = "android_advertising_id";
@SerializedName(SERIALIZED_NAME_ANDROID_ADVERTISING_ID)
private String androidAdvertisingId;
public static final String SERIALIZED_NAME_BUILD_VERSION_RELEASE = "build_version_release";
@SerializedName(SERIALIZED_NAME_BUILD_VERSION_RELEASE)
private String buildVersionRelease;
public static final String SERIALIZED_NAME_LIMIT_AD_TRACKING = "limit_ad_tracking";
@SerializedName(SERIALIZED_NAME_LIMIT_AD_TRACKING)
private Boolean limitAdTracking;
public static final String SERIALIZED_NAME_AMP_ID = "amp_id";
@SerializedName(SERIALIZED_NAME_AMP_ID)
private String ampId;
public static final String SERIALIZED_NAME_IS_DST = "is_dst";
@SerializedName(SERIALIZED_NAME_IS_DST)
private Boolean isDst;
public static final String SERIALIZED_NAME_ROKU_ADVERTISING_ID = "roku_advertising_id";
@SerializedName(SERIALIZED_NAME_ROKU_ADVERTISING_ID)
private String rokuAdvertisingId;
public static final String SERIALIZED_NAME_ROKU_PUBLISHER_ID = "roku_publisher_id";
@SerializedName(SERIALIZED_NAME_ROKU_PUBLISHER_ID)
private String rokuPublisherId;
public static final String SERIALIZED_NAME_MICROSOFT_ADVERTISING_ID = "microsoft_advertising_id";
@SerializedName(SERIALIZED_NAME_MICROSOFT_ADVERTISING_ID)
private String microsoftAdvertisingId;
public static final String SERIALIZED_NAME_MICROSOFT_PUBLISHER_ID = "microsoft_publisher_id";
@SerializedName(SERIALIZED_NAME_MICROSOFT_PUBLISHER_ID)
private String microsoftPublisherId;
public static final String SERIALIZED_NAME_FIRE_ADVERTISING_ID = "fire_advertising_id";
@SerializedName(SERIALIZED_NAME_FIRE_ADVERTISING_ID)
private String fireAdvertisingId;
public DeviceInformation brand(String brand) {
this.brand = brand;
return this;
}
/**
* Get brand
* @return brand
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBrand() {
return brand;
}
public void setBrand(String brand) {
this.brand = brand;
}
public DeviceInformation product(String product) {
this.product = product;
return this;
}
/**
* Get product
* @return product
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getProduct() {
return product;
}
public void setProduct(String product) {
this.product = product;
}
public DeviceInformation device(String device) {
this.device = device;
return this;
}
/**
* Get device
* @return device
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getDevice() {
return device;
}
public void setDevice(String device) {
this.device = device;
}
public DeviceInformation androidUuid(String androidUuid) {
this.androidUuid = androidUuid;
return this;
}
/**
* Get androidUuid
* @return androidUuid
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getAndroidUuid() {
return androidUuid;
}
public void setAndroidUuid(String androidUuid) {
this.androidUuid = androidUuid;
}
public DeviceInformation deviceManufacturer(String deviceManufacturer) {
this.deviceManufacturer = deviceManufacturer;
return this;
}
/**
* Get deviceManufacturer
* @return deviceManufacturer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getDeviceManufacturer() {
return deviceManufacturer;
}
public void setDeviceManufacturer(String deviceManufacturer) {
this.deviceManufacturer = deviceManufacturer;
}
public DeviceInformation platform(PlatformEnum platform) {
this.platform = platform;
return this;
}
/**
* Get platform
* @return platform
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PlatformEnum getPlatform() {
return platform;
}
public void setPlatform(PlatformEnum platform) {
this.platform = platform;
}
public DeviceInformation osVersion(String osVersion) {
this.osVersion = osVersion;
return this;
}
/**
* Get osVersion
* @return osVersion
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getOsVersion() {
return osVersion;
}
public void setOsVersion(String osVersion) {
this.osVersion = osVersion;
}
public DeviceInformation deviceModel(String deviceModel) {
this.deviceModel = deviceModel;
return this;
}
/**
* Get deviceModel
* @return deviceModel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getDeviceModel() {
return deviceModel;
}
public void setDeviceModel(String deviceModel) {
this.deviceModel = deviceModel;
}
public DeviceInformation screenHeight(Integer screenHeight) {
this.screenHeight = screenHeight;
return this;
}
/**
* Get screenHeight
* @return screenHeight
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getScreenHeight() {
return screenHeight;
}
public void setScreenHeight(Integer screenHeight) {
this.screenHeight = screenHeight;
}
public DeviceInformation screenWidth(Integer screenWidth) {
this.screenWidth = screenWidth;
return this;
}
/**
* Get screenWidth
* @return screenWidth
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getScreenWidth() {
return screenWidth;
}
public void setScreenWidth(Integer screenWidth) {
this.screenWidth = screenWidth;
}
public DeviceInformation screenDpi(Integer screenDpi) {
this.screenDpi = screenDpi;
return this;
}
/**
* Get screenDpi
* @return screenDpi
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getScreenDpi() {
return screenDpi;
}
public void setScreenDpi(Integer screenDpi) {
this.screenDpi = screenDpi;
}
public DeviceInformation deviceCountry(String deviceCountry) {
this.deviceCountry = deviceCountry;
return this;
}
/**
* Get deviceCountry
* @return deviceCountry
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getDeviceCountry() {
return deviceCountry;
}
public void setDeviceCountry(String deviceCountry) {
this.deviceCountry = deviceCountry;
}
public DeviceInformation localeLanguage(String localeLanguage) {
this.localeLanguage = localeLanguage;
return this;
}
/**
* Get localeLanguage
* @return localeLanguage
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getLocaleLanguage() {
return localeLanguage;
}
public void setLocaleLanguage(String localeLanguage) {
this.localeLanguage = localeLanguage;
}
public DeviceInformation localeCountry(String localeCountry) {
this.localeCountry = localeCountry;
return this;
}
/**
* Get localeCountry
* @return localeCountry
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getLocaleCountry() {
return localeCountry;
}
public void setLocaleCountry(String localeCountry) {
this.localeCountry = localeCountry;
}
public DeviceInformation networkCountry(String networkCountry) {
this.networkCountry = networkCountry;
return this;
}
/**
* Get networkCountry
* @return networkCountry
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getNetworkCountry() {
return networkCountry;
}
public void setNetworkCountry(String networkCountry) {
this.networkCountry = networkCountry;
}
public DeviceInformation networkCarrier(String networkCarrier) {
this.networkCarrier = networkCarrier;
return this;
}
/**
* Get networkCarrier
* @return networkCarrier
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getNetworkCarrier() {
return networkCarrier;
}
public void setNetworkCarrier(String networkCarrier) {
this.networkCarrier = networkCarrier;
}
public DeviceInformation networkCode(String networkCode) {
this.networkCode = networkCode;
return this;
}
/**
* Get networkCode
* @return networkCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getNetworkCode() {
return networkCode;
}
public void setNetworkCode(String networkCode) {
this.networkCode = networkCode;
}
public DeviceInformation networkMobileCountryCode(String networkMobileCountryCode) {
this.networkMobileCountryCode = networkMobileCountryCode;
return this;
}
/**
* Get networkMobileCountryCode
* @return networkMobileCountryCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getNetworkMobileCountryCode() {
return networkMobileCountryCode;
}
public void setNetworkMobileCountryCode(String networkMobileCountryCode) {
this.networkMobileCountryCode = networkMobileCountryCode;
}
public DeviceInformation timezoneOffset(Integer timezoneOffset) {
this.timezoneOffset = timezoneOffset;
return this;
}
/**
* Get timezoneOffset
* @return timezoneOffset
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getTimezoneOffset() {
return timezoneOffset;
}
public void setTimezoneOffset(Integer timezoneOffset) {
this.timezoneOffset = timezoneOffset;
}
public DeviceInformation buildIdentifier(String buildIdentifier) {
this.buildIdentifier = buildIdentifier;
return this;
}
/**
* Get buildIdentifier
* @return buildIdentifier
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBuildIdentifier() {
return buildIdentifier;
}
public void setBuildIdentifier(String buildIdentifier) {
this.buildIdentifier = buildIdentifier;
}
public DeviceInformation httpHeaderUserAgent(String httpHeaderUserAgent) {
this.httpHeaderUserAgent = httpHeaderUserAgent;
return this;
}
/**
* Get httpHeaderUserAgent
* @return httpHeaderUserAgent
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getHttpHeaderUserAgent() {
return httpHeaderUserAgent;
}
public void setHttpHeaderUserAgent(String httpHeaderUserAgent) {
this.httpHeaderUserAgent = httpHeaderUserAgent;
}
public DeviceInformation iosAdvertisingId(String iosAdvertisingId) {
this.iosAdvertisingId = iosAdvertisingId;
return this;
}
/**
* Get iosAdvertisingId
* @return iosAdvertisingId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getIosAdvertisingId() {
return iosAdvertisingId;
}
public void setIosAdvertisingId(String iosAdvertisingId) {
this.iosAdvertisingId = iosAdvertisingId;
}
public DeviceInformation pushToken(String pushToken) {
this.pushToken = pushToken;
return this;
}
/**
* Get pushToken
* @return pushToken
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getPushToken() {
return pushToken;
}
public void setPushToken(String pushToken) {
this.pushToken = pushToken;
}
public DeviceInformation cpuArchitecture(String cpuArchitecture) {
this.cpuArchitecture = cpuArchitecture;
return this;
}
/**
* Get cpuArchitecture
* @return cpuArchitecture
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getCpuArchitecture() {
return cpuArchitecture;
}
public void setCpuArchitecture(String cpuArchitecture) {
this.cpuArchitecture = cpuArchitecture;
}
public DeviceInformation isTablet(Boolean isTablet) {
this.isTablet = isTablet;
return this;
}
/**
* Get isTablet
* @return isTablet
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getIsTablet() {
return isTablet;
}
public void setIsTablet(Boolean isTablet) {
this.isTablet = isTablet;
}
public DeviceInformation pushNotificationSoundEnabled(Boolean pushNotificationSoundEnabled) {
this.pushNotificationSoundEnabled = pushNotificationSoundEnabled;
return this;
}
/**
* Get pushNotificationSoundEnabled
* @return pushNotificationSoundEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getPushNotificationSoundEnabled() {
return pushNotificationSoundEnabled;
}
public void setPushNotificationSoundEnabled(Boolean pushNotificationSoundEnabled) {
this.pushNotificationSoundEnabled = pushNotificationSoundEnabled;
}
public DeviceInformation pushNotificationVibrateEnabled(Boolean pushNotificationVibrateEnabled) {
this.pushNotificationVibrateEnabled = pushNotificationVibrateEnabled;
return this;
}
/**
* Get pushNotificationVibrateEnabled
* @return pushNotificationVibrateEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getPushNotificationVibrateEnabled() {
return pushNotificationVibrateEnabled;
}
public void setPushNotificationVibrateEnabled(Boolean pushNotificationVibrateEnabled) {
this.pushNotificationVibrateEnabled = pushNotificationVibrateEnabled;
}
public DeviceInformation radioAccessTechnology(String radioAccessTechnology) {
this.radioAccessTechnology = radioAccessTechnology;
return this;
}
/**
* Get radioAccessTechnology
* @return radioAccessTechnology
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getRadioAccessTechnology() {
return radioAccessTechnology;
}
public void setRadioAccessTechnology(String radioAccessTechnology) {
this.radioAccessTechnology = radioAccessTechnology;
}
public DeviceInformation supportsTelephony(Boolean supportsTelephony) {
this.supportsTelephony = supportsTelephony;
return this;
}
/**
* Get supportsTelephony
* @return supportsTelephony
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getSupportsTelephony() {
return supportsTelephony;
}
public void setSupportsTelephony(Boolean supportsTelephony) {
this.supportsTelephony = supportsTelephony;
}
public DeviceInformation hasNfc(Boolean hasNfc) {
this.hasNfc = hasNfc;
return this;
}
/**
* Get hasNfc
* @return hasNfc
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getHasNfc() {
return hasNfc;
}
public void setHasNfc(Boolean hasNfc) {
this.hasNfc = hasNfc;
}
public DeviceInformation bluetoothEnabled(Boolean bluetoothEnabled) {
this.bluetoothEnabled = bluetoothEnabled;
return this;
}
/**
* Get bluetoothEnabled
* @return bluetoothEnabled
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getBluetoothEnabled() {
return bluetoothEnabled;
}
public void setBluetoothEnabled(Boolean bluetoothEnabled) {
this.bluetoothEnabled = bluetoothEnabled;
}
public DeviceInformation bluetoothVersion(String bluetoothVersion) {
this.bluetoothVersion = bluetoothVersion;
return this;
}
/**
* Get bluetoothVersion
* @return bluetoothVersion
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBluetoothVersion() {
return bluetoothVersion;
}
public void setBluetoothVersion(String bluetoothVersion) {
this.bluetoothVersion = bluetoothVersion;
}
public DeviceInformation attTimestampUnixtimeMs(Long attTimestampUnixtimeMs) {
this.attTimestampUnixtimeMs = attTimestampUnixtimeMs;
return this;
}
/**
* Get attTimestampUnixtimeMs
* @return attTimestampUnixtimeMs
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getATTTimestampUnixtimeMs() {
return attTimestampUnixtimeMs;
}
public void setATTTimestampUnixtimeMs(Long attTimestampUnixtimeMs) {
this.attTimestampUnixtimeMs = attTimestampUnixtimeMs;
}
public DeviceInformation attAuthorizationStatus(ATTStatus attAuthorizationStatus) {
this.attAuthorizationStatus = attAuthorizationStatus;
return this;
}
/**
* Get attAuthorizationStatus
* @return attAuthorizationStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ATTStatus getATTAuthorizationStatus() {
return attAuthorizationStatus;
}
public void setATTAuthorizationStatus(ATTStatus attAuthorizationStatus) {
this.attAuthorizationStatus = attAuthorizationStatus;
}
public DeviceInformation iosIdfv(String iosIdfv) {
this.iosIdfv = iosIdfv;
return this;
}
/**
* Get iosIdfv
* @return iosIdfv
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getIosIdfv() {
return iosIdfv;
}
public void setIosIdfv(String iosIdfv) {
this.iosIdfv = iosIdfv;
}
public DeviceInformation androidAdvertisingId(String androidAdvertisingId) {
this.androidAdvertisingId = androidAdvertisingId;
return this;
}
/**
* Get androidAdvertisingId
* @return androidAdvertisingId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getAndroidAdvertisingId() {
return androidAdvertisingId;
}
public void setAndroidAdvertisingId(String androidAdvertisingId) {
this.androidAdvertisingId = androidAdvertisingId;
}
public DeviceInformation buildVersionRelease(String buildVersionRelease) {
this.buildVersionRelease = buildVersionRelease;
return this;
}
/**
* Get buildVersionRelease
* @return buildVersionRelease
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBuildVersionRelease() {
return buildVersionRelease;
}
public void setBuildVersionRelease(String buildVersionRelease) {
this.buildVersionRelease = buildVersionRelease;
}
public DeviceInformation limitAdTracking(Boolean limitAdTracking) {
this.limitAdTracking = limitAdTracking;
return this;
}
/**
* Get limitAdTracking
* @return limitAdTracking
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getLimitAdTracking() {
return limitAdTracking;
}