OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis.books.v1; | 3 library googleapis.books.v1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 3223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3234 gbImageRange = new BooksAnnotationsRange.fromJson(_json["gbImageRange"]); | 3234 gbImageRange = new BooksAnnotationsRange.fromJson(_json["gbImageRange"]); |
3235 } | 3235 } |
3236 if (_json.containsKey("gbTextRange")) { | 3236 if (_json.containsKey("gbTextRange")) { |
3237 gbTextRange = new BooksAnnotationsRange.fromJson(_json["gbTextRange"]); | 3237 gbTextRange = new BooksAnnotationsRange.fromJson(_json["gbTextRange"]); |
3238 } | 3238 } |
3239 if (_json.containsKey("imageCfiRange")) { | 3239 if (_json.containsKey("imageCfiRange")) { |
3240 imageCfiRange = new BooksAnnotationsRange.fromJson(_json["imageCfiRange"])
; | 3240 imageCfiRange = new BooksAnnotationsRange.fromJson(_json["imageCfiRange"])
; |
3241 } | 3241 } |
3242 } | 3242 } |
3243 | 3243 |
3244 core.Map toJson() { | 3244 core.Map<core.String, core.Object> toJson() { |
3245 var _json = new core.Map(); | 3245 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3246 if (cfiRange != null) { | 3246 if (cfiRange != null) { |
3247 _json["cfiRange"] = (cfiRange).toJson(); | 3247 _json["cfiRange"] = (cfiRange).toJson(); |
3248 } | 3248 } |
3249 if (contentVersion != null) { | 3249 if (contentVersion != null) { |
3250 _json["contentVersion"] = contentVersion; | 3250 _json["contentVersion"] = contentVersion; |
3251 } | 3251 } |
3252 if (gbImageRange != null) { | 3252 if (gbImageRange != null) { |
3253 _json["gbImageRange"] = (gbImageRange).toJson(); | 3253 _json["gbImageRange"] = (gbImageRange).toJson(); |
3254 } | 3254 } |
3255 if (gbTextRange != null) { | 3255 if (gbTextRange != null) { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3288 gbImageRange = new BooksAnnotationsRange.fromJson(_json["gbImageRange"]); | 3288 gbImageRange = new BooksAnnotationsRange.fromJson(_json["gbImageRange"]); |
3289 } | 3289 } |
3290 if (_json.containsKey("gbTextRange")) { | 3290 if (_json.containsKey("gbTextRange")) { |
3291 gbTextRange = new BooksAnnotationsRange.fromJson(_json["gbTextRange"]); | 3291 gbTextRange = new BooksAnnotationsRange.fromJson(_json["gbTextRange"]); |
3292 } | 3292 } |
3293 if (_json.containsKey("imageCfiRange")) { | 3293 if (_json.containsKey("imageCfiRange")) { |
3294 imageCfiRange = new BooksAnnotationsRange.fromJson(_json["imageCfiRange"])
; | 3294 imageCfiRange = new BooksAnnotationsRange.fromJson(_json["imageCfiRange"])
; |
3295 } | 3295 } |
3296 } | 3296 } |
3297 | 3297 |
3298 core.Map toJson() { | 3298 core.Map<core.String, core.Object> toJson() { |
3299 var _json = new core.Map(); | 3299 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3300 if (cfiRange != null) { | 3300 if (cfiRange != null) { |
3301 _json["cfiRange"] = (cfiRange).toJson(); | 3301 _json["cfiRange"] = (cfiRange).toJson(); |
3302 } | 3302 } |
3303 if (contentVersion != null) { | 3303 if (contentVersion != null) { |
3304 _json["contentVersion"] = contentVersion; | 3304 _json["contentVersion"] = contentVersion; |
3305 } | 3305 } |
3306 if (gbImageRange != null) { | 3306 if (gbImageRange != null) { |
3307 _json["gbImageRange"] = (gbImageRange).toJson(); | 3307 _json["gbImageRange"] = (gbImageRange).toJson(); |
3308 } | 3308 } |
3309 if (gbTextRange != null) { | 3309 if (gbTextRange != null) { |
(...skipping 29 matching lines...) Expand all Loading... |
3339 allowedCharacterCount = _json["allowedCharacterCount"]; | 3339 allowedCharacterCount = _json["allowedCharacterCount"]; |
3340 } | 3340 } |
3341 if (_json.containsKey("limitType")) { | 3341 if (_json.containsKey("limitType")) { |
3342 limitType = _json["limitType"]; | 3342 limitType = _json["limitType"]; |
3343 } | 3343 } |
3344 if (_json.containsKey("remainingCharacterCount")) { | 3344 if (_json.containsKey("remainingCharacterCount")) { |
3345 remainingCharacterCount = _json["remainingCharacterCount"]; | 3345 remainingCharacterCount = _json["remainingCharacterCount"]; |
3346 } | 3346 } |
3347 } | 3347 } |
3348 | 3348 |
3349 core.Map toJson() { | 3349 core.Map<core.String, core.Object> toJson() { |
3350 var _json = new core.Map(); | 3350 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3351 if (allowedCharacterCount != null) { | 3351 if (allowedCharacterCount != null) { |
3352 _json["allowedCharacterCount"] = allowedCharacterCount; | 3352 _json["allowedCharacterCount"] = allowedCharacterCount; |
3353 } | 3353 } |
3354 if (limitType != null) { | 3354 if (limitType != null) { |
3355 _json["limitType"] = limitType; | 3355 _json["limitType"] = limitType; |
3356 } | 3356 } |
3357 if (remainingCharacterCount != null) { | 3357 if (remainingCharacterCount != null) { |
3358 _json["remainingCharacterCount"] = remainingCharacterCount; | 3358 _json["remainingCharacterCount"] = remainingCharacterCount; |
3359 } | 3359 } |
3360 return _json; | 3360 return _json; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3451 selfLink = _json["selfLink"]; | 3451 selfLink = _json["selfLink"]; |
3452 } | 3452 } |
3453 if (_json.containsKey("updated")) { | 3453 if (_json.containsKey("updated")) { |
3454 updated = core.DateTime.parse(_json["updated"]); | 3454 updated = core.DateTime.parse(_json["updated"]); |
3455 } | 3455 } |
3456 if (_json.containsKey("volumeId")) { | 3456 if (_json.containsKey("volumeId")) { |
3457 volumeId = _json["volumeId"]; | 3457 volumeId = _json["volumeId"]; |
3458 } | 3458 } |
3459 } | 3459 } |
3460 | 3460 |
3461 core.Map toJson() { | 3461 core.Map<core.String, core.Object> toJson() { |
3462 var _json = new core.Map(); | 3462 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3463 if (afterSelectedText != null) { | 3463 if (afterSelectedText != null) { |
3464 _json["afterSelectedText"] = afterSelectedText; | 3464 _json["afterSelectedText"] = afterSelectedText; |
3465 } | 3465 } |
3466 if (beforeSelectedText != null) { | 3466 if (beforeSelectedText != null) { |
3467 _json["beforeSelectedText"] = beforeSelectedText; | 3467 _json["beforeSelectedText"] = beforeSelectedText; |
3468 } | 3468 } |
3469 if (clientVersionRanges != null) { | 3469 if (clientVersionRanges != null) { |
3470 _json["clientVersionRanges"] = (clientVersionRanges).toJson(); | 3470 _json["clientVersionRanges"] = (clientVersionRanges).toJson(); |
3471 } | 3471 } |
3472 if (created != null) { | 3472 if (created != null) { |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3575 selfLink = _json["selfLink"]; | 3575 selfLink = _json["selfLink"]; |
3576 } | 3576 } |
3577 if (_json.containsKey("updated")) { | 3577 if (_json.containsKey("updated")) { |
3578 updated = core.DateTime.parse(_json["updated"]); | 3578 updated = core.DateTime.parse(_json["updated"]); |
3579 } | 3579 } |
3580 if (_json.containsKey("volumeId")) { | 3580 if (_json.containsKey("volumeId")) { |
3581 volumeId = _json["volumeId"]; | 3581 volumeId = _json["volumeId"]; |
3582 } | 3582 } |
3583 } | 3583 } |
3584 | 3584 |
3585 core.Map toJson() { | 3585 core.Map<core.String, core.Object> toJson() { |
3586 var _json = new core.Map(); | 3586 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3587 if (annotationType != null) { | 3587 if (annotationType != null) { |
3588 _json["annotationType"] = annotationType; | 3588 _json["annotationType"] = annotationType; |
3589 } | 3589 } |
3590 if (data != null) { | 3590 if (data != null) { |
3591 _json["data"] = data; | 3591 _json["data"] = data; |
3592 } | 3592 } |
3593 if (encodedData != null) { | 3593 if (encodedData != null) { |
3594 _json["encoded_data"] = encodedData; | 3594 _json["encoded_data"] = encodedData; |
3595 } | 3595 } |
3596 if (id != null) { | 3596 if (id != null) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3641 kind = _json["kind"]; | 3641 kind = _json["kind"]; |
3642 } | 3642 } |
3643 if (_json.containsKey("nextPageToken")) { | 3643 if (_json.containsKey("nextPageToken")) { |
3644 nextPageToken = _json["nextPageToken"]; | 3644 nextPageToken = _json["nextPageToken"]; |
3645 } | 3645 } |
3646 if (_json.containsKey("totalItems")) { | 3646 if (_json.containsKey("totalItems")) { |
3647 totalItems = _json["totalItems"]; | 3647 totalItems = _json["totalItems"]; |
3648 } | 3648 } |
3649 } | 3649 } |
3650 | 3650 |
3651 core.Map toJson() { | 3651 core.Map<core.String, core.Object> toJson() { |
3652 var _json = new core.Map(); | 3652 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3653 if (items != null) { | 3653 if (items != null) { |
3654 _json["items"] = items.map((value) => (value).toJson()).toList(); | 3654 _json["items"] = items.map((value) => (value).toJson()).toList(); |
3655 } | 3655 } |
3656 if (kind != null) { | 3656 if (kind != null) { |
3657 _json["kind"] = kind; | 3657 _json["kind"] = kind; |
3658 } | 3658 } |
3659 if (nextPageToken != null) { | 3659 if (nextPageToken != null) { |
3660 _json["nextPageToken"] = nextPageToken; | 3660 _json["nextPageToken"] = nextPageToken; |
3661 } | 3661 } |
3662 if (totalItems != null) { | 3662 if (totalItems != null) { |
(...skipping 23 matching lines...) Expand all Loading... |
3686 limitType = _json["limitType"]; | 3686 limitType = _json["limitType"]; |
3687 } | 3687 } |
3688 if (_json.containsKey("remainingCharacterCount")) { | 3688 if (_json.containsKey("remainingCharacterCount")) { |
3689 remainingCharacterCount = _json["remainingCharacterCount"]; | 3689 remainingCharacterCount = _json["remainingCharacterCount"]; |
3690 } | 3690 } |
3691 if (_json.containsKey("updated")) { | 3691 if (_json.containsKey("updated")) { |
3692 updated = core.DateTime.parse(_json["updated"]); | 3692 updated = core.DateTime.parse(_json["updated"]); |
3693 } | 3693 } |
3694 } | 3694 } |
3695 | 3695 |
3696 core.Map toJson() { | 3696 core.Map<core.String, core.Object> toJson() { |
3697 var _json = new core.Map(); | 3697 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3698 if (allowedCharacterCount != null) { | 3698 if (allowedCharacterCount != null) { |
3699 _json["allowedCharacterCount"] = allowedCharacterCount; | 3699 _json["allowedCharacterCount"] = allowedCharacterCount; |
3700 } | 3700 } |
3701 if (layerId != null) { | 3701 if (layerId != null) { |
3702 _json["layerId"] = layerId; | 3702 _json["layerId"] = layerId; |
3703 } | 3703 } |
3704 if (limitType != null) { | 3704 if (limitType != null) { |
3705 _json["limitType"] = limitType; | 3705 _json["limitType"] = limitType; |
3706 } | 3706 } |
3707 if (remainingCharacterCount != null) { | 3707 if (remainingCharacterCount != null) { |
(...skipping 14 matching lines...) Expand all Loading... |
3722 | 3722 |
3723 AnnotationsSummary.fromJson(core.Map _json) { | 3723 AnnotationsSummary.fromJson(core.Map _json) { |
3724 if (_json.containsKey("kind")) { | 3724 if (_json.containsKey("kind")) { |
3725 kind = _json["kind"]; | 3725 kind = _json["kind"]; |
3726 } | 3726 } |
3727 if (_json.containsKey("layers")) { | 3727 if (_json.containsKey("layers")) { |
3728 layers = _json["layers"].map((value) => new AnnotationsSummaryLayers.fromJ
son(value)).toList(); | 3728 layers = _json["layers"].map((value) => new AnnotationsSummaryLayers.fromJ
son(value)).toList(); |
3729 } | 3729 } |
3730 } | 3730 } |
3731 | 3731 |
3732 core.Map toJson() { | 3732 core.Map<core.String, core.Object> toJson() { |
3733 var _json = new core.Map(); | 3733 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3734 if (kind != null) { | 3734 if (kind != null) { |
3735 _json["kind"] = kind; | 3735 _json["kind"] = kind; |
3736 } | 3736 } |
3737 if (layers != null) { | 3737 if (layers != null) { |
3738 _json["layers"] = layers.map((value) => (value).toJson()).toList(); | 3738 _json["layers"] = layers.map((value) => (value).toJson()).toList(); |
3739 } | 3739 } |
3740 return _json; | 3740 return _json; |
3741 } | 3741 } |
3742 } | 3742 } |
3743 | 3743 |
(...skipping 20 matching lines...) Expand all Loading... |
3764 kind = _json["kind"]; | 3764 kind = _json["kind"]; |
3765 } | 3765 } |
3766 if (_json.containsKey("nextPageToken")) { | 3766 if (_json.containsKey("nextPageToken")) { |
3767 nextPageToken = _json["nextPageToken"]; | 3767 nextPageToken = _json["nextPageToken"]; |
3768 } | 3768 } |
3769 if (_json.containsKey("totalItems")) { | 3769 if (_json.containsKey("totalItems")) { |
3770 totalItems = _json["totalItems"]; | 3770 totalItems = _json["totalItems"]; |
3771 } | 3771 } |
3772 } | 3772 } |
3773 | 3773 |
3774 core.Map toJson() { | 3774 core.Map<core.String, core.Object> toJson() { |
3775 var _json = new core.Map(); | 3775 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3776 if (items != null) { | 3776 if (items != null) { |
3777 _json["items"] = items.map((value) => (value).toJson()).toList(); | 3777 _json["items"] = items.map((value) => (value).toJson()).toList(); |
3778 } | 3778 } |
3779 if (kind != null) { | 3779 if (kind != null) { |
3780 _json["kind"] = kind; | 3780 _json["kind"] = kind; |
3781 } | 3781 } |
3782 if (nextPageToken != null) { | 3782 if (nextPageToken != null) { |
3783 _json["nextPageToken"] = nextPageToken; | 3783 _json["nextPageToken"] = nextPageToken; |
3784 } | 3784 } |
3785 if (totalItems != null) { | 3785 if (totalItems != null) { |
(...skipping 23 matching lines...) Expand all Loading... |
3809 endPosition = _json["endPosition"]; | 3809 endPosition = _json["endPosition"]; |
3810 } | 3810 } |
3811 if (_json.containsKey("startOffset")) { | 3811 if (_json.containsKey("startOffset")) { |
3812 startOffset = _json["startOffset"]; | 3812 startOffset = _json["startOffset"]; |
3813 } | 3813 } |
3814 if (_json.containsKey("startPosition")) { | 3814 if (_json.containsKey("startPosition")) { |
3815 startPosition = _json["startPosition"]; | 3815 startPosition = _json["startPosition"]; |
3816 } | 3816 } |
3817 } | 3817 } |
3818 | 3818 |
3819 core.Map toJson() { | 3819 core.Map<core.String, core.Object> toJson() { |
3820 var _json = new core.Map(); | 3820 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3821 if (endOffset != null) { | 3821 if (endOffset != null) { |
3822 _json["endOffset"] = endOffset; | 3822 _json["endOffset"] = endOffset; |
3823 } | 3823 } |
3824 if (endPosition != null) { | 3824 if (endPosition != null) { |
3825 _json["endPosition"] = endPosition; | 3825 _json["endPosition"] = endPosition; |
3826 } | 3826 } |
3827 if (startOffset != null) { | 3827 if (startOffset != null) { |
3828 _json["startOffset"] = startOffset; | 3828 _json["startOffset"] = startOffset; |
3829 } | 3829 } |
3830 if (startPosition != null) { | 3830 if (startPosition != null) { |
(...skipping 19 matching lines...) Expand all Loading... |
3850 processingState = _json["processingState"]; | 3850 processingState = _json["processingState"]; |
3851 } | 3851 } |
3852 if (_json.containsKey("title")) { | 3852 if (_json.containsKey("title")) { |
3853 title = _json["title"]; | 3853 title = _json["title"]; |
3854 } | 3854 } |
3855 if (_json.containsKey("volumeId")) { | 3855 if (_json.containsKey("volumeId")) { |
3856 volumeId = _json["volumeId"]; | 3856 volumeId = _json["volumeId"]; |
3857 } | 3857 } |
3858 } | 3858 } |
3859 | 3859 |
3860 core.Map toJson() { | 3860 core.Map<core.String, core.Object> toJson() { |
3861 var _json = new core.Map(); | 3861 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3862 if (author != null) { | 3862 if (author != null) { |
3863 _json["author"] = author; | 3863 _json["author"] = author; |
3864 } | 3864 } |
3865 if (processingState != null) { | 3865 if (processingState != null) { |
3866 _json["processingState"] = processingState; | 3866 _json["processingState"] = processingState; |
3867 } | 3867 } |
3868 if (title != null) { | 3868 if (title != null) { |
3869 _json["title"] = title; | 3869 _json["title"] = title; |
3870 } | 3870 } |
3871 if (volumeId != null) { | 3871 if (volumeId != null) { |
3872 _json["volumeId"] = volumeId; | 3872 _json["volumeId"] = volumeId; |
3873 } | 3873 } |
3874 return _json; | 3874 return _json; |
3875 } | 3875 } |
3876 } | 3876 } |
3877 | 3877 |
3878 class BooksVolumesRecommendedRateResponse { | 3878 class BooksVolumesRecommendedRateResponse { |
3879 core.String consistencyToken; | 3879 core.String consistencyToken; |
3880 | 3880 |
3881 BooksVolumesRecommendedRateResponse(); | 3881 BooksVolumesRecommendedRateResponse(); |
3882 | 3882 |
3883 BooksVolumesRecommendedRateResponse.fromJson(core.Map _json) { | 3883 BooksVolumesRecommendedRateResponse.fromJson(core.Map _json) { |
3884 if (_json.containsKey("consistency_token")) { | 3884 if (_json.containsKey("consistency_token")) { |
3885 consistencyToken = _json["consistency_token"]; | 3885 consistencyToken = _json["consistency_token"]; |
3886 } | 3886 } |
3887 } | 3887 } |
3888 | 3888 |
3889 core.Map toJson() { | 3889 core.Map<core.String, core.Object> toJson() { |
3890 var _json = new core.Map(); | 3890 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3891 if (consistencyToken != null) { | 3891 if (consistencyToken != null) { |
3892 _json["consistency_token"] = consistencyToken; | 3892 _json["consistency_token"] = consistencyToken; |
3893 } | 3893 } |
3894 return _json; | 3894 return _json; |
3895 } | 3895 } |
3896 } | 3896 } |
3897 | 3897 |
3898 class Bookshelf { | 3898 class Bookshelf { |
3899 /** Whether this bookshelf is PUBLIC or PRIVATE. */ | 3899 /** Whether this bookshelf is PUBLIC or PRIVATE. */ |
3900 core.String access; | 3900 core.String access; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3954 updated = core.DateTime.parse(_json["updated"]); | 3954 updated = core.DateTime.parse(_json["updated"]); |
3955 } | 3955 } |
3956 if (_json.containsKey("volumeCount")) { | 3956 if (_json.containsKey("volumeCount")) { |
3957 volumeCount = _json["volumeCount"]; | 3957 volumeCount = _json["volumeCount"]; |
3958 } | 3958 } |
3959 if (_json.containsKey("volumesLastUpdated")) { | 3959 if (_json.containsKey("volumesLastUpdated")) { |
3960 volumesLastUpdated = core.DateTime.parse(_json["volumesLastUpdated"]); | 3960 volumesLastUpdated = core.DateTime.parse(_json["volumesLastUpdated"]); |
3961 } | 3961 } |
3962 } | 3962 } |
3963 | 3963 |
3964 core.Map toJson() { | 3964 core.Map<core.String, core.Object> toJson() { |
3965 var _json = new core.Map(); | 3965 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3966 if (access != null) { | 3966 if (access != null) { |
3967 _json["access"] = access; | 3967 _json["access"] = access; |
3968 } | 3968 } |
3969 if (created != null) { | 3969 if (created != null) { |
3970 _json["created"] = (created).toIso8601String(); | 3970 _json["created"] = (created).toIso8601String(); |
3971 } | 3971 } |
3972 if (description != null) { | 3972 if (description != null) { |
3973 _json["description"] = description; | 3973 _json["description"] = description; |
3974 } | 3974 } |
3975 if (id != null) { | 3975 if (id != null) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4007 | 4007 |
4008 Bookshelves.fromJson(core.Map _json) { | 4008 Bookshelves.fromJson(core.Map _json) { |
4009 if (_json.containsKey("items")) { | 4009 if (_json.containsKey("items")) { |
4010 items = _json["items"].map((value) => new Bookshelf.fromJson(value)).toLis
t(); | 4010 items = _json["items"].map((value) => new Bookshelf.fromJson(value)).toLis
t(); |
4011 } | 4011 } |
4012 if (_json.containsKey("kind")) { | 4012 if (_json.containsKey("kind")) { |
4013 kind = _json["kind"]; | 4013 kind = _json["kind"]; |
4014 } | 4014 } |
4015 } | 4015 } |
4016 | 4016 |
4017 core.Map toJson() { | 4017 core.Map<core.String, core.Object> toJson() { |
4018 var _json = new core.Map(); | 4018 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4019 if (items != null) { | 4019 if (items != null) { |
4020 _json["items"] = items.map((value) => (value).toJson()).toList(); | 4020 _json["items"] = items.map((value) => (value).toJson()).toList(); |
4021 } | 4021 } |
4022 if (kind != null) { | 4022 if (kind != null) { |
4023 _json["kind"] = kind; | 4023 _json["kind"] = kind; |
4024 } | 4024 } |
4025 return _json; | 4025 return _json; |
4026 } | 4026 } |
4027 } | 4027 } |
4028 | 4028 |
4029 class CategoryItems { | 4029 class CategoryItems { |
4030 core.String badgeUrl; | 4030 core.String badgeUrl; |
4031 core.String categoryId; | 4031 core.String categoryId; |
4032 core.String name; | 4032 core.String name; |
4033 | 4033 |
4034 CategoryItems(); | 4034 CategoryItems(); |
4035 | 4035 |
4036 CategoryItems.fromJson(core.Map _json) { | 4036 CategoryItems.fromJson(core.Map _json) { |
4037 if (_json.containsKey("badgeUrl")) { | 4037 if (_json.containsKey("badgeUrl")) { |
4038 badgeUrl = _json["badgeUrl"]; | 4038 badgeUrl = _json["badgeUrl"]; |
4039 } | 4039 } |
4040 if (_json.containsKey("categoryId")) { | 4040 if (_json.containsKey("categoryId")) { |
4041 categoryId = _json["categoryId"]; | 4041 categoryId = _json["categoryId"]; |
4042 } | 4042 } |
4043 if (_json.containsKey("name")) { | 4043 if (_json.containsKey("name")) { |
4044 name = _json["name"]; | 4044 name = _json["name"]; |
4045 } | 4045 } |
4046 } | 4046 } |
4047 | 4047 |
4048 core.Map toJson() { | 4048 core.Map<core.String, core.Object> toJson() { |
4049 var _json = new core.Map(); | 4049 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4050 if (badgeUrl != null) { | 4050 if (badgeUrl != null) { |
4051 _json["badgeUrl"] = badgeUrl; | 4051 _json["badgeUrl"] = badgeUrl; |
4052 } | 4052 } |
4053 if (categoryId != null) { | 4053 if (categoryId != null) { |
4054 _json["categoryId"] = categoryId; | 4054 _json["categoryId"] = categoryId; |
4055 } | 4055 } |
4056 if (name != null) { | 4056 if (name != null) { |
4057 _json["name"] = name; | 4057 _json["name"] = name; |
4058 } | 4058 } |
4059 return _json; | 4059 return _json; |
(...skipping 10 matching lines...) Expand all Loading... |
4070 | 4070 |
4071 Category.fromJson(core.Map _json) { | 4071 Category.fromJson(core.Map _json) { |
4072 if (_json.containsKey("items")) { | 4072 if (_json.containsKey("items")) { |
4073 items = _json["items"].map((value) => new CategoryItems.fromJson(value)).t
oList(); | 4073 items = _json["items"].map((value) => new CategoryItems.fromJson(value)).t
oList(); |
4074 } | 4074 } |
4075 if (_json.containsKey("kind")) { | 4075 if (_json.containsKey("kind")) { |
4076 kind = _json["kind"]; | 4076 kind = _json["kind"]; |
4077 } | 4077 } |
4078 } | 4078 } |
4079 | 4079 |
4080 core.Map toJson() { | 4080 core.Map<core.String, core.Object> toJson() { |
4081 var _json = new core.Map(); | 4081 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4082 if (items != null) { | 4082 if (items != null) { |
4083 _json["items"] = items.map((value) => (value).toJson()).toList(); | 4083 _json["items"] = items.map((value) => (value).toJson()).toList(); |
4084 } | 4084 } |
4085 if (kind != null) { | 4085 if (kind != null) { |
4086 _json["kind"] = kind; | 4086 _json["kind"] = kind; |
4087 } | 4087 } |
4088 return _json; | 4088 return _json; |
4089 } | 4089 } |
4090 } | 4090 } |
4091 | 4091 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4149 source = _json["source"]; | 4149 source = _json["source"]; |
4150 } | 4150 } |
4151 if (_json.containsKey("timeWindowSeconds")) { | 4151 if (_json.containsKey("timeWindowSeconds")) { |
4152 timeWindowSeconds = _json["timeWindowSeconds"]; | 4152 timeWindowSeconds = _json["timeWindowSeconds"]; |
4153 } | 4153 } |
4154 if (_json.containsKey("volumeId")) { | 4154 if (_json.containsKey("volumeId")) { |
4155 volumeId = _json["volumeId"]; | 4155 volumeId = _json["volumeId"]; |
4156 } | 4156 } |
4157 } | 4157 } |
4158 | 4158 |
4159 core.Map toJson() { | 4159 core.Map<core.String, core.Object> toJson() { |
4160 var _json = new core.Map(); | 4160 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4161 if (deviceAllowed != null) { | 4161 if (deviceAllowed != null) { |
4162 _json["deviceAllowed"] = deviceAllowed; | 4162 _json["deviceAllowed"] = deviceAllowed; |
4163 } | 4163 } |
4164 if (kind != null) { | 4164 if (kind != null) { |
4165 _json["kind"] = kind; | 4165 _json["kind"] = kind; |
4166 } | 4166 } |
4167 if (maxConcurrentDevices != null) { | 4167 if (maxConcurrentDevices != null) { |
4168 _json["maxConcurrentDevices"] = maxConcurrentDevices; | 4168 _json["maxConcurrentDevices"] = maxConcurrentDevices; |
4169 } | 4169 } |
4170 if (message != null) { | 4170 if (message != null) { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4203 core.String title; | 4203 core.String title; |
4204 | 4204 |
4205 DictlayerdataCommon(); | 4205 DictlayerdataCommon(); |
4206 | 4206 |
4207 DictlayerdataCommon.fromJson(core.Map _json) { | 4207 DictlayerdataCommon.fromJson(core.Map _json) { |
4208 if (_json.containsKey("title")) { | 4208 if (_json.containsKey("title")) { |
4209 title = _json["title"]; | 4209 title = _json["title"]; |
4210 } | 4210 } |
4211 } | 4211 } |
4212 | 4212 |
4213 core.Map toJson() { | 4213 core.Map<core.String, core.Object> toJson() { |
4214 var _json = new core.Map(); | 4214 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4215 if (title != null) { | 4215 if (title != null) { |
4216 _json["title"] = title; | 4216 _json["title"] = title; |
4217 } | 4217 } |
4218 return _json; | 4218 return _json; |
4219 } | 4219 } |
4220 } | 4220 } |
4221 | 4221 |
4222 /** The source, url and attribution for this dictionary data. */ | 4222 /** The source, url and attribution for this dictionary data. */ |
4223 class DictlayerdataDictSource { | 4223 class DictlayerdataDictSource { |
4224 core.String attribution; | 4224 core.String attribution; |
4225 core.String url; | 4225 core.String url; |
4226 | 4226 |
4227 DictlayerdataDictSource(); | 4227 DictlayerdataDictSource(); |
4228 | 4228 |
4229 DictlayerdataDictSource.fromJson(core.Map _json) { | 4229 DictlayerdataDictSource.fromJson(core.Map _json) { |
4230 if (_json.containsKey("attribution")) { | 4230 if (_json.containsKey("attribution")) { |
4231 attribution = _json["attribution"]; | 4231 attribution = _json["attribution"]; |
4232 } | 4232 } |
4233 if (_json.containsKey("url")) { | 4233 if (_json.containsKey("url")) { |
4234 url = _json["url"]; | 4234 url = _json["url"]; |
4235 } | 4235 } |
4236 } | 4236 } |
4237 | 4237 |
4238 core.Map toJson() { | 4238 core.Map<core.String, core.Object> toJson() { |
4239 var _json = new core.Map(); | 4239 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4240 if (attribution != null) { | 4240 if (attribution != null) { |
4241 _json["attribution"] = attribution; | 4241 _json["attribution"] = attribution; |
4242 } | 4242 } |
4243 if (url != null) { | 4243 if (url != null) { |
4244 _json["url"] = url; | 4244 _json["url"] = url; |
4245 } | 4245 } |
4246 return _json; | 4246 return _json; |
4247 } | 4247 } |
4248 } | 4248 } |
4249 | 4249 |
4250 class DictlayerdataDictWordsDerivativesSource { | 4250 class DictlayerdataDictWordsDerivativesSource { |
4251 core.String attribution; | 4251 core.String attribution; |
4252 core.String url; | 4252 core.String url; |
4253 | 4253 |
4254 DictlayerdataDictWordsDerivativesSource(); | 4254 DictlayerdataDictWordsDerivativesSource(); |
4255 | 4255 |
4256 DictlayerdataDictWordsDerivativesSource.fromJson(core.Map _json) { | 4256 DictlayerdataDictWordsDerivativesSource.fromJson(core.Map _json) { |
4257 if (_json.containsKey("attribution")) { | 4257 if (_json.containsKey("attribution")) { |
4258 attribution = _json["attribution"]; | 4258 attribution = _json["attribution"]; |
4259 } | 4259 } |
4260 if (_json.containsKey("url")) { | 4260 if (_json.containsKey("url")) { |
4261 url = _json["url"]; | 4261 url = _json["url"]; |
4262 } | 4262 } |
4263 } | 4263 } |
4264 | 4264 |
4265 core.Map toJson() { | 4265 core.Map<core.String, core.Object> toJson() { |
4266 var _json = new core.Map(); | 4266 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4267 if (attribution != null) { | 4267 if (attribution != null) { |
4268 _json["attribution"] = attribution; | 4268 _json["attribution"] = attribution; |
4269 } | 4269 } |
4270 if (url != null) { | 4270 if (url != null) { |
4271 _json["url"] = url; | 4271 _json["url"] = url; |
4272 } | 4272 } |
4273 return _json; | 4273 return _json; |
4274 } | 4274 } |
4275 } | 4275 } |
4276 | 4276 |
4277 class DictlayerdataDictWordsDerivatives { | 4277 class DictlayerdataDictWordsDerivatives { |
4278 DictlayerdataDictWordsDerivativesSource source; | 4278 DictlayerdataDictWordsDerivativesSource source; |
4279 core.String text; | 4279 core.String text; |
4280 | 4280 |
4281 DictlayerdataDictWordsDerivatives(); | 4281 DictlayerdataDictWordsDerivatives(); |
4282 | 4282 |
4283 DictlayerdataDictWordsDerivatives.fromJson(core.Map _json) { | 4283 DictlayerdataDictWordsDerivatives.fromJson(core.Map _json) { |
4284 if (_json.containsKey("source")) { | 4284 if (_json.containsKey("source")) { |
4285 source = new DictlayerdataDictWordsDerivativesSource.fromJson(_json["sourc
e"]); | 4285 source = new DictlayerdataDictWordsDerivativesSource.fromJson(_json["sourc
e"]); |
4286 } | 4286 } |
4287 if (_json.containsKey("text")) { | 4287 if (_json.containsKey("text")) { |
4288 text = _json["text"]; | 4288 text = _json["text"]; |
4289 } | 4289 } |
4290 } | 4290 } |
4291 | 4291 |
4292 core.Map toJson() { | 4292 core.Map<core.String, core.Object> toJson() { |
4293 var _json = new core.Map(); | 4293 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4294 if (source != null) { | 4294 if (source != null) { |
4295 _json["source"] = (source).toJson(); | 4295 _json["source"] = (source).toJson(); |
4296 } | 4296 } |
4297 if (text != null) { | 4297 if (text != null) { |
4298 _json["text"] = text; | 4298 _json["text"] = text; |
4299 } | 4299 } |
4300 return _json; | 4300 return _json; |
4301 } | 4301 } |
4302 } | 4302 } |
4303 | 4303 |
4304 class DictlayerdataDictWordsExamplesSource { | 4304 class DictlayerdataDictWordsExamplesSource { |
4305 core.String attribution; | 4305 core.String attribution; |
4306 core.String url; | 4306 core.String url; |
4307 | 4307 |
4308 DictlayerdataDictWordsExamplesSource(); | 4308 DictlayerdataDictWordsExamplesSource(); |
4309 | 4309 |
4310 DictlayerdataDictWordsExamplesSource.fromJson(core.Map _json) { | 4310 DictlayerdataDictWordsExamplesSource.fromJson(core.Map _json) { |
4311 if (_json.containsKey("attribution")) { | 4311 if (_json.containsKey("attribution")) { |
4312 attribution = _json["attribution"]; | 4312 attribution = _json["attribution"]; |
4313 } | 4313 } |
4314 if (_json.containsKey("url")) { | 4314 if (_json.containsKey("url")) { |
4315 url = _json["url"]; | 4315 url = _json["url"]; |
4316 } | 4316 } |
4317 } | 4317 } |
4318 | 4318 |
4319 core.Map toJson() { | 4319 core.Map<core.String, core.Object> toJson() { |
4320 var _json = new core.Map(); | 4320 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4321 if (attribution != null) { | 4321 if (attribution != null) { |
4322 _json["attribution"] = attribution; | 4322 _json["attribution"] = attribution; |
4323 } | 4323 } |
4324 if (url != null) { | 4324 if (url != null) { |
4325 _json["url"] = url; | 4325 _json["url"] = url; |
4326 } | 4326 } |
4327 return _json; | 4327 return _json; |
4328 } | 4328 } |
4329 } | 4329 } |
4330 | 4330 |
4331 class DictlayerdataDictWordsExamples { | 4331 class DictlayerdataDictWordsExamples { |
4332 DictlayerdataDictWordsExamplesSource source; | 4332 DictlayerdataDictWordsExamplesSource source; |
4333 core.String text; | 4333 core.String text; |
4334 | 4334 |
4335 DictlayerdataDictWordsExamples(); | 4335 DictlayerdataDictWordsExamples(); |
4336 | 4336 |
4337 DictlayerdataDictWordsExamples.fromJson(core.Map _json) { | 4337 DictlayerdataDictWordsExamples.fromJson(core.Map _json) { |
4338 if (_json.containsKey("source")) { | 4338 if (_json.containsKey("source")) { |
4339 source = new DictlayerdataDictWordsExamplesSource.fromJson(_json["source"]
); | 4339 source = new DictlayerdataDictWordsExamplesSource.fromJson(_json["source"]
); |
4340 } | 4340 } |
4341 if (_json.containsKey("text")) { | 4341 if (_json.containsKey("text")) { |
4342 text = _json["text"]; | 4342 text = _json["text"]; |
4343 } | 4343 } |
4344 } | 4344 } |
4345 | 4345 |
4346 core.Map toJson() { | 4346 core.Map<core.String, core.Object> toJson() { |
4347 var _json = new core.Map(); | 4347 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4348 if (source != null) { | 4348 if (source != null) { |
4349 _json["source"] = (source).toJson(); | 4349 _json["source"] = (source).toJson(); |
4350 } | 4350 } |
4351 if (text != null) { | 4351 if (text != null) { |
4352 _json["text"] = text; | 4352 _json["text"] = text; |
4353 } | 4353 } |
4354 return _json; | 4354 return _json; |
4355 } | 4355 } |
4356 } | 4356 } |
4357 | 4357 |
4358 class DictlayerdataDictWordsSensesConjugations { | 4358 class DictlayerdataDictWordsSensesConjugations { |
4359 core.String type; | 4359 core.String type; |
4360 core.String value; | 4360 core.String value; |
4361 | 4361 |
4362 DictlayerdataDictWordsSensesConjugations(); | 4362 DictlayerdataDictWordsSensesConjugations(); |
4363 | 4363 |
4364 DictlayerdataDictWordsSensesConjugations.fromJson(core.Map _json) { | 4364 DictlayerdataDictWordsSensesConjugations.fromJson(core.Map _json) { |
4365 if (_json.containsKey("type")) { | 4365 if (_json.containsKey("type")) { |
4366 type = _json["type"]; | 4366 type = _json["type"]; |
4367 } | 4367 } |
4368 if (_json.containsKey("value")) { | 4368 if (_json.containsKey("value")) { |
4369 value = _json["value"]; | 4369 value = _json["value"]; |
4370 } | 4370 } |
4371 } | 4371 } |
4372 | 4372 |
4373 core.Map toJson() { | 4373 core.Map<core.String, core.Object> toJson() { |
4374 var _json = new core.Map(); | 4374 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4375 if (type != null) { | 4375 if (type != null) { |
4376 _json["type"] = type; | 4376 _json["type"] = type; |
4377 } | 4377 } |
4378 if (value != null) { | 4378 if (value != null) { |
4379 _json["value"] = value; | 4379 _json["value"] = value; |
4380 } | 4380 } |
4381 return _json; | 4381 return _json; |
4382 } | 4382 } |
4383 } | 4383 } |
4384 | 4384 |
4385 class DictlayerdataDictWordsSensesDefinitionsExamplesSource { | 4385 class DictlayerdataDictWordsSensesDefinitionsExamplesSource { |
4386 core.String attribution; | 4386 core.String attribution; |
4387 core.String url; | 4387 core.String url; |
4388 | 4388 |
4389 DictlayerdataDictWordsSensesDefinitionsExamplesSource(); | 4389 DictlayerdataDictWordsSensesDefinitionsExamplesSource(); |
4390 | 4390 |
4391 DictlayerdataDictWordsSensesDefinitionsExamplesSource.fromJson(core.Map _json)
{ | 4391 DictlayerdataDictWordsSensesDefinitionsExamplesSource.fromJson(core.Map _json)
{ |
4392 if (_json.containsKey("attribution")) { | 4392 if (_json.containsKey("attribution")) { |
4393 attribution = _json["attribution"]; | 4393 attribution = _json["attribution"]; |
4394 } | 4394 } |
4395 if (_json.containsKey("url")) { | 4395 if (_json.containsKey("url")) { |
4396 url = _json["url"]; | 4396 url = _json["url"]; |
4397 } | 4397 } |
4398 } | 4398 } |
4399 | 4399 |
4400 core.Map toJson() { | 4400 core.Map<core.String, core.Object> toJson() { |
4401 var _json = new core.Map(); | 4401 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4402 if (attribution != null) { | 4402 if (attribution != null) { |
4403 _json["attribution"] = attribution; | 4403 _json["attribution"] = attribution; |
4404 } | 4404 } |
4405 if (url != null) { | 4405 if (url != null) { |
4406 _json["url"] = url; | 4406 _json["url"] = url; |
4407 } | 4407 } |
4408 return _json; | 4408 return _json; |
4409 } | 4409 } |
4410 } | 4410 } |
4411 | 4411 |
4412 class DictlayerdataDictWordsSensesDefinitionsExamples { | 4412 class DictlayerdataDictWordsSensesDefinitionsExamples { |
4413 DictlayerdataDictWordsSensesDefinitionsExamplesSource source; | 4413 DictlayerdataDictWordsSensesDefinitionsExamplesSource source; |
4414 core.String text; | 4414 core.String text; |
4415 | 4415 |
4416 DictlayerdataDictWordsSensesDefinitionsExamples(); | 4416 DictlayerdataDictWordsSensesDefinitionsExamples(); |
4417 | 4417 |
4418 DictlayerdataDictWordsSensesDefinitionsExamples.fromJson(core.Map _json) { | 4418 DictlayerdataDictWordsSensesDefinitionsExamples.fromJson(core.Map _json) { |
4419 if (_json.containsKey("source")) { | 4419 if (_json.containsKey("source")) { |
4420 source = new DictlayerdataDictWordsSensesDefinitionsExamplesSource.fromJso
n(_json["source"]); | 4420 source = new DictlayerdataDictWordsSensesDefinitionsExamplesSource.fromJso
n(_json["source"]); |
4421 } | 4421 } |
4422 if (_json.containsKey("text")) { | 4422 if (_json.containsKey("text")) { |
4423 text = _json["text"]; | 4423 text = _json["text"]; |
4424 } | 4424 } |
4425 } | 4425 } |
4426 | 4426 |
4427 core.Map toJson() { | 4427 core.Map<core.String, core.Object> toJson() { |
4428 var _json = new core.Map(); | 4428 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4429 if (source != null) { | 4429 if (source != null) { |
4430 _json["source"] = (source).toJson(); | 4430 _json["source"] = (source).toJson(); |
4431 } | 4431 } |
4432 if (text != null) { | 4432 if (text != null) { |
4433 _json["text"] = text; | 4433 _json["text"] = text; |
4434 } | 4434 } |
4435 return _json; | 4435 return _json; |
4436 } | 4436 } |
4437 } | 4437 } |
4438 | 4438 |
4439 class DictlayerdataDictWordsSensesDefinitions { | 4439 class DictlayerdataDictWordsSensesDefinitions { |
4440 core.String definition; | 4440 core.String definition; |
4441 core.List<DictlayerdataDictWordsSensesDefinitionsExamples> examples; | 4441 core.List<DictlayerdataDictWordsSensesDefinitionsExamples> examples; |
4442 | 4442 |
4443 DictlayerdataDictWordsSensesDefinitions(); | 4443 DictlayerdataDictWordsSensesDefinitions(); |
4444 | 4444 |
4445 DictlayerdataDictWordsSensesDefinitions.fromJson(core.Map _json) { | 4445 DictlayerdataDictWordsSensesDefinitions.fromJson(core.Map _json) { |
4446 if (_json.containsKey("definition")) { | 4446 if (_json.containsKey("definition")) { |
4447 definition = _json["definition"]; | 4447 definition = _json["definition"]; |
4448 } | 4448 } |
4449 if (_json.containsKey("examples")) { | 4449 if (_json.containsKey("examples")) { |
4450 examples = _json["examples"].map((value) => new DictlayerdataDictWordsSens
esDefinitionsExamples.fromJson(value)).toList(); | 4450 examples = _json["examples"].map((value) => new DictlayerdataDictWordsSens
esDefinitionsExamples.fromJson(value)).toList(); |
4451 } | 4451 } |
4452 } | 4452 } |
4453 | 4453 |
4454 core.Map toJson() { | 4454 core.Map<core.String, core.Object> toJson() { |
4455 var _json = new core.Map(); | 4455 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4456 if (definition != null) { | 4456 if (definition != null) { |
4457 _json["definition"] = definition; | 4457 _json["definition"] = definition; |
4458 } | 4458 } |
4459 if (examples != null) { | 4459 if (examples != null) { |
4460 _json["examples"] = examples.map((value) => (value).toJson()).toList(); | 4460 _json["examples"] = examples.map((value) => (value).toJson()).toList(); |
4461 } | 4461 } |
4462 return _json; | 4462 return _json; |
4463 } | 4463 } |
4464 } | 4464 } |
4465 | 4465 |
4466 class DictlayerdataDictWordsSensesSource { | 4466 class DictlayerdataDictWordsSensesSource { |
4467 core.String attribution; | 4467 core.String attribution; |
4468 core.String url; | 4468 core.String url; |
4469 | 4469 |
4470 DictlayerdataDictWordsSensesSource(); | 4470 DictlayerdataDictWordsSensesSource(); |
4471 | 4471 |
4472 DictlayerdataDictWordsSensesSource.fromJson(core.Map _json) { | 4472 DictlayerdataDictWordsSensesSource.fromJson(core.Map _json) { |
4473 if (_json.containsKey("attribution")) { | 4473 if (_json.containsKey("attribution")) { |
4474 attribution = _json["attribution"]; | 4474 attribution = _json["attribution"]; |
4475 } | 4475 } |
4476 if (_json.containsKey("url")) { | 4476 if (_json.containsKey("url")) { |
4477 url = _json["url"]; | 4477 url = _json["url"]; |
4478 } | 4478 } |
4479 } | 4479 } |
4480 | 4480 |
4481 core.Map toJson() { | 4481 core.Map<core.String, core.Object> toJson() { |
4482 var _json = new core.Map(); | 4482 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4483 if (attribution != null) { | 4483 if (attribution != null) { |
4484 _json["attribution"] = attribution; | 4484 _json["attribution"] = attribution; |
4485 } | 4485 } |
4486 if (url != null) { | 4486 if (url != null) { |
4487 _json["url"] = url; | 4487 _json["url"] = url; |
4488 } | 4488 } |
4489 return _json; | 4489 return _json; |
4490 } | 4490 } |
4491 } | 4491 } |
4492 | 4492 |
4493 class DictlayerdataDictWordsSensesSynonymsSource { | 4493 class DictlayerdataDictWordsSensesSynonymsSource { |
4494 core.String attribution; | 4494 core.String attribution; |
4495 core.String url; | 4495 core.String url; |
4496 | 4496 |
4497 DictlayerdataDictWordsSensesSynonymsSource(); | 4497 DictlayerdataDictWordsSensesSynonymsSource(); |
4498 | 4498 |
4499 DictlayerdataDictWordsSensesSynonymsSource.fromJson(core.Map _json) { | 4499 DictlayerdataDictWordsSensesSynonymsSource.fromJson(core.Map _json) { |
4500 if (_json.containsKey("attribution")) { | 4500 if (_json.containsKey("attribution")) { |
4501 attribution = _json["attribution"]; | 4501 attribution = _json["attribution"]; |
4502 } | 4502 } |
4503 if (_json.containsKey("url")) { | 4503 if (_json.containsKey("url")) { |
4504 url = _json["url"]; | 4504 url = _json["url"]; |
4505 } | 4505 } |
4506 } | 4506 } |
4507 | 4507 |
4508 core.Map toJson() { | 4508 core.Map<core.String, core.Object> toJson() { |
4509 var _json = new core.Map(); | 4509 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4510 if (attribution != null) { | 4510 if (attribution != null) { |
4511 _json["attribution"] = attribution; | 4511 _json["attribution"] = attribution; |
4512 } | 4512 } |
4513 if (url != null) { | 4513 if (url != null) { |
4514 _json["url"] = url; | 4514 _json["url"] = url; |
4515 } | 4515 } |
4516 return _json; | 4516 return _json; |
4517 } | 4517 } |
4518 } | 4518 } |
4519 | 4519 |
4520 class DictlayerdataDictWordsSensesSynonyms { | 4520 class DictlayerdataDictWordsSensesSynonyms { |
4521 DictlayerdataDictWordsSensesSynonymsSource source; | 4521 DictlayerdataDictWordsSensesSynonymsSource source; |
4522 core.String text; | 4522 core.String text; |
4523 | 4523 |
4524 DictlayerdataDictWordsSensesSynonyms(); | 4524 DictlayerdataDictWordsSensesSynonyms(); |
4525 | 4525 |
4526 DictlayerdataDictWordsSensesSynonyms.fromJson(core.Map _json) { | 4526 DictlayerdataDictWordsSensesSynonyms.fromJson(core.Map _json) { |
4527 if (_json.containsKey("source")) { | 4527 if (_json.containsKey("source")) { |
4528 source = new DictlayerdataDictWordsSensesSynonymsSource.fromJson(_json["so
urce"]); | 4528 source = new DictlayerdataDictWordsSensesSynonymsSource.fromJson(_json["so
urce"]); |
4529 } | 4529 } |
4530 if (_json.containsKey("text")) { | 4530 if (_json.containsKey("text")) { |
4531 text = _json["text"]; | 4531 text = _json["text"]; |
4532 } | 4532 } |
4533 } | 4533 } |
4534 | 4534 |
4535 core.Map toJson() { | 4535 core.Map<core.String, core.Object> toJson() { |
4536 var _json = new core.Map(); | 4536 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4537 if (source != null) { | 4537 if (source != null) { |
4538 _json["source"] = (source).toJson(); | 4538 _json["source"] = (source).toJson(); |
4539 } | 4539 } |
4540 if (text != null) { | 4540 if (text != null) { |
4541 _json["text"] = text; | 4541 _json["text"] = text; |
4542 } | 4542 } |
4543 return _json; | 4543 return _json; |
4544 } | 4544 } |
4545 } | 4545 } |
4546 | 4546 |
(...skipping 29 matching lines...) Expand all Loading... |
4576 source = new DictlayerdataDictWordsSensesSource.fromJson(_json["source"]); | 4576 source = new DictlayerdataDictWordsSensesSource.fromJson(_json["source"]); |
4577 } | 4577 } |
4578 if (_json.containsKey("syllabification")) { | 4578 if (_json.containsKey("syllabification")) { |
4579 syllabification = _json["syllabification"]; | 4579 syllabification = _json["syllabification"]; |
4580 } | 4580 } |
4581 if (_json.containsKey("synonyms")) { | 4581 if (_json.containsKey("synonyms")) { |
4582 synonyms = _json["synonyms"].map((value) => new DictlayerdataDictWordsSens
esSynonyms.fromJson(value)).toList(); | 4582 synonyms = _json["synonyms"].map((value) => new DictlayerdataDictWordsSens
esSynonyms.fromJson(value)).toList(); |
4583 } | 4583 } |
4584 } | 4584 } |
4585 | 4585 |
4586 core.Map toJson() { | 4586 core.Map<core.String, core.Object> toJson() { |
4587 var _json = new core.Map(); | 4587 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4588 if (conjugations != null) { | 4588 if (conjugations != null) { |
4589 _json["conjugations"] = conjugations.map((value) => (value).toJson()).toLi
st(); | 4589 _json["conjugations"] = conjugations.map((value) => (value).toJson()).toLi
st(); |
4590 } | 4590 } |
4591 if (definitions != null) { | 4591 if (definitions != null) { |
4592 _json["definitions"] = definitions.map((value) => (value).toJson()).toList
(); | 4592 _json["definitions"] = definitions.map((value) => (value).toJson()).toList
(); |
4593 } | 4593 } |
4594 if (partOfSpeech != null) { | 4594 if (partOfSpeech != null) { |
4595 _json["partOfSpeech"] = partOfSpeech; | 4595 _json["partOfSpeech"] = partOfSpeech; |
4596 } | 4596 } |
4597 if (pronunciation != null) { | 4597 if (pronunciation != null) { |
(...skipping 27 matching lines...) Expand all Loading... |
4625 | 4625 |
4626 DictlayerdataDictWordsSource.fromJson(core.Map _json) { | 4626 DictlayerdataDictWordsSource.fromJson(core.Map _json) { |
4627 if (_json.containsKey("attribution")) { | 4627 if (_json.containsKey("attribution")) { |
4628 attribution = _json["attribution"]; | 4628 attribution = _json["attribution"]; |
4629 } | 4629 } |
4630 if (_json.containsKey("url")) { | 4630 if (_json.containsKey("url")) { |
4631 url = _json["url"]; | 4631 url = _json["url"]; |
4632 } | 4632 } |
4633 } | 4633 } |
4634 | 4634 |
4635 core.Map toJson() { | 4635 core.Map<core.String, core.Object> toJson() { |
4636 var _json = new core.Map(); | 4636 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4637 if (attribution != null) { | 4637 if (attribution != null) { |
4638 _json["attribution"] = attribution; | 4638 _json["attribution"] = attribution; |
4639 } | 4639 } |
4640 if (url != null) { | 4640 if (url != null) { |
4641 _json["url"] = url; | 4641 _json["url"] = url; |
4642 } | 4642 } |
4643 return _json; | 4643 return _json; |
4644 } | 4644 } |
4645 } | 4645 } |
4646 | 4646 |
(...skipping 17 matching lines...) Expand all Loading... |
4664 examples = _json["examples"].map((value) => new DictlayerdataDictWordsExam
ples.fromJson(value)).toList(); | 4664 examples = _json["examples"].map((value) => new DictlayerdataDictWordsExam
ples.fromJson(value)).toList(); |
4665 } | 4665 } |
4666 if (_json.containsKey("senses")) { | 4666 if (_json.containsKey("senses")) { |
4667 senses = _json["senses"].map((value) => new DictlayerdataDictWordsSenses.f
romJson(value)).toList(); | 4667 senses = _json["senses"].map((value) => new DictlayerdataDictWordsSenses.f
romJson(value)).toList(); |
4668 } | 4668 } |
4669 if (_json.containsKey("source")) { | 4669 if (_json.containsKey("source")) { |
4670 source = new DictlayerdataDictWordsSource.fromJson(_json["source"]); | 4670 source = new DictlayerdataDictWordsSource.fromJson(_json["source"]); |
4671 } | 4671 } |
4672 } | 4672 } |
4673 | 4673 |
4674 core.Map toJson() { | 4674 core.Map<core.String, core.Object> toJson() { |
4675 var _json = new core.Map(); | 4675 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4676 if (derivatives != null) { | 4676 if (derivatives != null) { |
4677 _json["derivatives"] = derivatives.map((value) => (value).toJson()).toList
(); | 4677 _json["derivatives"] = derivatives.map((value) => (value).toJson()).toList
(); |
4678 } | 4678 } |
4679 if (examples != null) { | 4679 if (examples != null) { |
4680 _json["examples"] = examples.map((value) => (value).toJson()).toList(); | 4680 _json["examples"] = examples.map((value) => (value).toJson()).toList(); |
4681 } | 4681 } |
4682 if (senses != null) { | 4682 if (senses != null) { |
4683 _json["senses"] = senses.map((value) => (value).toJson()).toList(); | 4683 _json["senses"] = senses.map((value) => (value).toJson()).toList(); |
4684 } | 4684 } |
4685 if (source != null) { | 4685 if (source != null) { |
(...skipping 12 matching lines...) Expand all Loading... |
4698 | 4698 |
4699 DictlayerdataDict.fromJson(core.Map _json) { | 4699 DictlayerdataDict.fromJson(core.Map _json) { |
4700 if (_json.containsKey("source")) { | 4700 if (_json.containsKey("source")) { |
4701 source = new DictlayerdataDictSource.fromJson(_json["source"]); | 4701 source = new DictlayerdataDictSource.fromJson(_json["source"]); |
4702 } | 4702 } |
4703 if (_json.containsKey("words")) { | 4703 if (_json.containsKey("words")) { |
4704 words = _json["words"].map((value) => new DictlayerdataDictWords.fromJson(
value)).toList(); | 4704 words = _json["words"].map((value) => new DictlayerdataDictWords.fromJson(
value)).toList(); |
4705 } | 4705 } |
4706 } | 4706 } |
4707 | 4707 |
4708 core.Map toJson() { | 4708 core.Map<core.String, core.Object> toJson() { |
4709 var _json = new core.Map(); | 4709 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4710 if (source != null) { | 4710 if (source != null) { |
4711 _json["source"] = (source).toJson(); | 4711 _json["source"] = (source).toJson(); |
4712 } | 4712 } |
4713 if (words != null) { | 4713 if (words != null) { |
4714 _json["words"] = words.map((value) => (value).toJson()).toList(); | 4714 _json["words"] = words.map((value) => (value).toJson()).toList(); |
4715 } | 4715 } |
4716 return _json; | 4716 return _json; |
4717 } | 4717 } |
4718 } | 4718 } |
4719 | 4719 |
4720 class Dictlayerdata { | 4720 class Dictlayerdata { |
4721 DictlayerdataCommon common; | 4721 DictlayerdataCommon common; |
4722 DictlayerdataDict dict; | 4722 DictlayerdataDict dict; |
4723 core.String kind; | 4723 core.String kind; |
4724 | 4724 |
4725 Dictlayerdata(); | 4725 Dictlayerdata(); |
4726 | 4726 |
4727 Dictlayerdata.fromJson(core.Map _json) { | 4727 Dictlayerdata.fromJson(core.Map _json) { |
4728 if (_json.containsKey("common")) { | 4728 if (_json.containsKey("common")) { |
4729 common = new DictlayerdataCommon.fromJson(_json["common"]); | 4729 common = new DictlayerdataCommon.fromJson(_json["common"]); |
4730 } | 4730 } |
4731 if (_json.containsKey("dict")) { | 4731 if (_json.containsKey("dict")) { |
4732 dict = new DictlayerdataDict.fromJson(_json["dict"]); | 4732 dict = new DictlayerdataDict.fromJson(_json["dict"]); |
4733 } | 4733 } |
4734 if (_json.containsKey("kind")) { | 4734 if (_json.containsKey("kind")) { |
4735 kind = _json["kind"]; | 4735 kind = _json["kind"]; |
4736 } | 4736 } |
4737 } | 4737 } |
4738 | 4738 |
4739 core.Map toJson() { | 4739 core.Map<core.String, core.Object> toJson() { |
4740 var _json = new core.Map(); | 4740 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4741 if (common != null) { | 4741 if (common != null) { |
4742 _json["common"] = (common).toJson(); | 4742 _json["common"] = (common).toJson(); |
4743 } | 4743 } |
4744 if (dict != null) { | 4744 if (dict != null) { |
4745 _json["dict"] = (dict).toJson(); | 4745 _json["dict"] = (dict).toJson(); |
4746 } | 4746 } |
4747 if (kind != null) { | 4747 if (kind != null) { |
4748 _json["kind"] = kind; | 4748 _json["kind"] = kind; |
4749 } | 4749 } |
4750 return _json; | 4750 return _json; |
(...skipping 24 matching lines...) Expand all Loading... |
4775 moreButtonText = _json["moreButtonText"]; | 4775 moreButtonText = _json["moreButtonText"]; |
4776 } | 4776 } |
4777 if (_json.containsKey("moreButtonUrl")) { | 4777 if (_json.containsKey("moreButtonUrl")) { |
4778 moreButtonUrl = _json["moreButtonUrl"]; | 4778 moreButtonUrl = _json["moreButtonUrl"]; |
4779 } | 4779 } |
4780 if (_json.containsKey("textColorArgb")) { | 4780 if (_json.containsKey("textColorArgb")) { |
4781 textColorArgb = _json["textColorArgb"]; | 4781 textColorArgb = _json["textColorArgb"]; |
4782 } | 4782 } |
4783 } | 4783 } |
4784 | 4784 |
4785 core.Map toJson() { | 4785 core.Map<core.String, core.Object> toJson() { |
4786 var _json = new core.Map(); | 4786 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4787 if (fillColorArgb != null) { | 4787 if (fillColorArgb != null) { |
4788 _json["fillColorArgb"] = fillColorArgb; | 4788 _json["fillColorArgb"] = fillColorArgb; |
4789 } | 4789 } |
4790 if (imageUrl != null) { | 4790 if (imageUrl != null) { |
4791 _json["imageUrl"] = imageUrl; | 4791 _json["imageUrl"] = imageUrl; |
4792 } | 4792 } |
4793 if (maskColorArgb != null) { | 4793 if (maskColorArgb != null) { |
4794 _json["maskColorArgb"] = maskColorArgb; | 4794 _json["maskColorArgb"] = maskColorArgb; |
4795 } | 4795 } |
4796 if (moreButtonText != null) { | 4796 if (moreButtonText != null) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4830 totalVolumes = _json["totalVolumes"]; | 4830 totalVolumes = _json["totalVolumes"]; |
4831 } | 4831 } |
4832 if (_json.containsKey("uid")) { | 4832 if (_json.containsKey("uid")) { |
4833 uid = _json["uid"]; | 4833 uid = _json["uid"]; |
4834 } | 4834 } |
4835 if (_json.containsKey("volumes")) { | 4835 if (_json.containsKey("volumes")) { |
4836 volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toLi
st(); | 4836 volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toLi
st(); |
4837 } | 4837 } |
4838 } | 4838 } |
4839 | 4839 |
4840 core.Map toJson() { | 4840 core.Map<core.String, core.Object> toJson() { |
4841 var _json = new core.Map(); | 4841 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4842 if (bannerWithContentContainer != null) { | 4842 if (bannerWithContentContainer != null) { |
4843 _json["banner_with_content_container"] = (bannerWithContentContainer).toJs
on(); | 4843 _json["banner_with_content_container"] = (bannerWithContentContainer).toJs
on(); |
4844 } | 4844 } |
4845 if (subTitle != null) { | 4845 if (subTitle != null) { |
4846 _json["subTitle"] = subTitle; | 4846 _json["subTitle"] = subTitle; |
4847 } | 4847 } |
4848 if (title != null) { | 4848 if (title != null) { |
4849 _json["title"] = title; | 4849 _json["title"] = title; |
4850 } | 4850 } |
4851 if (totalVolumes != null) { | 4851 if (totalVolumes != null) { |
(...skipping 22 matching lines...) Expand all Loading... |
4874 clusters = _json["clusters"].map((value) => new DiscoveryclustersClusters.
fromJson(value)).toList(); | 4874 clusters = _json["clusters"].map((value) => new DiscoveryclustersClusters.
fromJson(value)).toList(); |
4875 } | 4875 } |
4876 if (_json.containsKey("kind")) { | 4876 if (_json.containsKey("kind")) { |
4877 kind = _json["kind"]; | 4877 kind = _json["kind"]; |
4878 } | 4878 } |
4879 if (_json.containsKey("totalClusters")) { | 4879 if (_json.containsKey("totalClusters")) { |
4880 totalClusters = _json["totalClusters"]; | 4880 totalClusters = _json["totalClusters"]; |
4881 } | 4881 } |
4882 } | 4882 } |
4883 | 4883 |
4884 core.Map toJson() { | 4884 core.Map<core.String, core.Object> toJson() { |
4885 var _json = new core.Map(); | 4885 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4886 if (clusters != null) { | 4886 if (clusters != null) { |
4887 _json["clusters"] = clusters.map((value) => (value).toJson()).toList(); | 4887 _json["clusters"] = clusters.map((value) => (value).toJson()).toList(); |
4888 } | 4888 } |
4889 if (kind != null) { | 4889 if (kind != null) { |
4890 _json["kind"] = kind; | 4890 _json["kind"] = kind; |
4891 } | 4891 } |
4892 if (totalClusters != null) { | 4892 if (totalClusters != null) { |
4893 _json["totalClusters"] = totalClusters; | 4893 _json["totalClusters"] = totalClusters; |
4894 } | 4894 } |
4895 return _json; | 4895 return _json; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4973 signature = _json["signature"]; | 4973 signature = _json["signature"]; |
4974 } | 4974 } |
4975 if (_json.containsKey("source")) { | 4975 if (_json.containsKey("source")) { |
4976 source = _json["source"]; | 4976 source = _json["source"]; |
4977 } | 4977 } |
4978 if (_json.containsKey("volumeId")) { | 4978 if (_json.containsKey("volumeId")) { |
4979 volumeId = _json["volumeId"]; | 4979 volumeId = _json["volumeId"]; |
4980 } | 4980 } |
4981 } | 4981 } |
4982 | 4982 |
4983 core.Map toJson() { | 4983 core.Map<core.String, core.Object> toJson() { |
4984 var _json = new core.Map(); | 4984 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4985 if (deviceAllowed != null) { | 4985 if (deviceAllowed != null) { |
4986 _json["deviceAllowed"] = deviceAllowed; | 4986 _json["deviceAllowed"] = deviceAllowed; |
4987 } | 4987 } |
4988 if (downloadsAcquired != null) { | 4988 if (downloadsAcquired != null) { |
4989 _json["downloadsAcquired"] = downloadsAcquired; | 4989 _json["downloadsAcquired"] = downloadsAcquired; |
4990 } | 4990 } |
4991 if (justAcquired != null) { | 4991 if (justAcquired != null) { |
4992 _json["justAcquired"] = justAcquired; | 4992 _json["justAcquired"] = justAcquired; |
4993 } | 4993 } |
4994 if (kind != null) { | 4994 if (kind != null) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5032 | 5032 |
5033 DownloadAccesses.fromJson(core.Map _json) { | 5033 DownloadAccesses.fromJson(core.Map _json) { |
5034 if (_json.containsKey("downloadAccessList")) { | 5034 if (_json.containsKey("downloadAccessList")) { |
5035 downloadAccessList = _json["downloadAccessList"].map((value) => new Downlo
adAccessRestriction.fromJson(value)).toList(); | 5035 downloadAccessList = _json["downloadAccessList"].map((value) => new Downlo
adAccessRestriction.fromJson(value)).toList(); |
5036 } | 5036 } |
5037 if (_json.containsKey("kind")) { | 5037 if (_json.containsKey("kind")) { |
5038 kind = _json["kind"]; | 5038 kind = _json["kind"]; |
5039 } | 5039 } |
5040 } | 5040 } |
5041 | 5041 |
5042 core.Map toJson() { | 5042 core.Map<core.String, core.Object> toJson() { |
5043 var _json = new core.Map(); | 5043 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5044 if (downloadAccessList != null) { | 5044 if (downloadAccessList != null) { |
5045 _json["downloadAccessList"] = downloadAccessList.map((value) => (value).to
Json()).toList(); | 5045 _json["downloadAccessList"] = downloadAccessList.map((value) => (value).to
Json()).toList(); |
5046 } | 5046 } |
5047 if (kind != null) { | 5047 if (kind != null) { |
5048 _json["kind"] = kind; | 5048 _json["kind"] = kind; |
5049 } | 5049 } |
5050 return _json; | 5050 return _json; |
5051 } | 5051 } |
5052 } | 5052 } |
5053 | 5053 |
(...skipping 25 matching lines...) Expand all Loading... |
5079 snippet = _json["snippet"]; | 5079 snippet = _json["snippet"]; |
5080 } | 5080 } |
5081 if (_json.containsKey("snippetUrl")) { | 5081 if (_json.containsKey("snippetUrl")) { |
5082 snippetUrl = _json["snippetUrl"]; | 5082 snippetUrl = _json["snippetUrl"]; |
5083 } | 5083 } |
5084 if (_json.containsKey("title")) { | 5084 if (_json.containsKey("title")) { |
5085 title = _json["title"]; | 5085 title = _json["title"]; |
5086 } | 5086 } |
5087 } | 5087 } |
5088 | 5088 |
5089 core.Map toJson() { | 5089 core.Map<core.String, core.Object> toJson() { |
5090 var _json = new core.Map(); | 5090 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5091 if (lang != null) { | 5091 if (lang != null) { |
5092 _json["lang"] = lang; | 5092 _json["lang"] = lang; |
5093 } | 5093 } |
5094 if (previewImageUrl != null) { | 5094 if (previewImageUrl != null) { |
5095 _json["previewImageUrl"] = previewImageUrl; | 5095 _json["previewImageUrl"] = previewImageUrl; |
5096 } | 5096 } |
5097 if (snippet != null) { | 5097 if (snippet != null) { |
5098 _json["snippet"] = snippet; | 5098 _json["snippet"] = snippet; |
5099 } | 5099 } |
5100 if (snippetUrl != null) { | 5100 if (snippetUrl != null) { |
(...skipping 14 matching lines...) Expand all Loading... |
5115 | 5115 |
5116 GeolayerdataGeoBoundary.fromJson(core.Map _json) { | 5116 GeolayerdataGeoBoundary.fromJson(core.Map _json) { |
5117 if (_json.containsKey("latitude")) { | 5117 if (_json.containsKey("latitude")) { |
5118 latitude = _json["latitude"]; | 5118 latitude = _json["latitude"]; |
5119 } | 5119 } |
5120 if (_json.containsKey("longitude")) { | 5120 if (_json.containsKey("longitude")) { |
5121 longitude = _json["longitude"]; | 5121 longitude = _json["longitude"]; |
5122 } | 5122 } |
5123 } | 5123 } |
5124 | 5124 |
5125 core.Map toJson() { | 5125 core.Map<core.String, core.Object> toJson() { |
5126 var _json = new core.Map(); | 5126 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5127 if (latitude != null) { | 5127 if (latitude != null) { |
5128 _json["latitude"] = latitude; | 5128 _json["latitude"] = latitude; |
5129 } | 5129 } |
5130 if (longitude != null) { | 5130 if (longitude != null) { |
5131 _json["longitude"] = longitude; | 5131 _json["longitude"] = longitude; |
5132 } | 5132 } |
5133 return _json; | 5133 return _json; |
5134 } | 5134 } |
5135 } | 5135 } |
5136 | 5136 |
5137 class GeolayerdataGeoViewportHi { | 5137 class GeolayerdataGeoViewportHi { |
5138 core.double latitude; | 5138 core.double latitude; |
5139 core.double longitude; | 5139 core.double longitude; |
5140 | 5140 |
5141 GeolayerdataGeoViewportHi(); | 5141 GeolayerdataGeoViewportHi(); |
5142 | 5142 |
5143 GeolayerdataGeoViewportHi.fromJson(core.Map _json) { | 5143 GeolayerdataGeoViewportHi.fromJson(core.Map _json) { |
5144 if (_json.containsKey("latitude")) { | 5144 if (_json.containsKey("latitude")) { |
5145 latitude = _json["latitude"]; | 5145 latitude = _json["latitude"]; |
5146 } | 5146 } |
5147 if (_json.containsKey("longitude")) { | 5147 if (_json.containsKey("longitude")) { |
5148 longitude = _json["longitude"]; | 5148 longitude = _json["longitude"]; |
5149 } | 5149 } |
5150 } | 5150 } |
5151 | 5151 |
5152 core.Map toJson() { | 5152 core.Map<core.String, core.Object> toJson() { |
5153 var _json = new core.Map(); | 5153 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5154 if (latitude != null) { | 5154 if (latitude != null) { |
5155 _json["latitude"] = latitude; | 5155 _json["latitude"] = latitude; |
5156 } | 5156 } |
5157 if (longitude != null) { | 5157 if (longitude != null) { |
5158 _json["longitude"] = longitude; | 5158 _json["longitude"] = longitude; |
5159 } | 5159 } |
5160 return _json; | 5160 return _json; |
5161 } | 5161 } |
5162 } | 5162 } |
5163 | 5163 |
5164 class GeolayerdataGeoViewportLo { | 5164 class GeolayerdataGeoViewportLo { |
5165 core.double latitude; | 5165 core.double latitude; |
5166 core.double longitude; | 5166 core.double longitude; |
5167 | 5167 |
5168 GeolayerdataGeoViewportLo(); | 5168 GeolayerdataGeoViewportLo(); |
5169 | 5169 |
5170 GeolayerdataGeoViewportLo.fromJson(core.Map _json) { | 5170 GeolayerdataGeoViewportLo.fromJson(core.Map _json) { |
5171 if (_json.containsKey("latitude")) { | 5171 if (_json.containsKey("latitude")) { |
5172 latitude = _json["latitude"]; | 5172 latitude = _json["latitude"]; |
5173 } | 5173 } |
5174 if (_json.containsKey("longitude")) { | 5174 if (_json.containsKey("longitude")) { |
5175 longitude = _json["longitude"]; | 5175 longitude = _json["longitude"]; |
5176 } | 5176 } |
5177 } | 5177 } |
5178 | 5178 |
5179 core.Map toJson() { | 5179 core.Map<core.String, core.Object> toJson() { |
5180 var _json = new core.Map(); | 5180 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5181 if (latitude != null) { | 5181 if (latitude != null) { |
5182 _json["latitude"] = latitude; | 5182 _json["latitude"] = latitude; |
5183 } | 5183 } |
5184 if (longitude != null) { | 5184 if (longitude != null) { |
5185 _json["longitude"] = longitude; | 5185 _json["longitude"] = longitude; |
5186 } | 5186 } |
5187 return _json; | 5187 return _json; |
5188 } | 5188 } |
5189 } | 5189 } |
5190 | 5190 |
5191 /** | 5191 /** |
5192 * The viewport for showing this location. This is a latitude, longitude | 5192 * The viewport for showing this location. This is a latitude, longitude |
5193 * rectangle. | 5193 * rectangle. |
5194 */ | 5194 */ |
5195 class GeolayerdataGeoViewport { | 5195 class GeolayerdataGeoViewport { |
5196 GeolayerdataGeoViewportHi hi; | 5196 GeolayerdataGeoViewportHi hi; |
5197 GeolayerdataGeoViewportLo lo; | 5197 GeolayerdataGeoViewportLo lo; |
5198 | 5198 |
5199 GeolayerdataGeoViewport(); | 5199 GeolayerdataGeoViewport(); |
5200 | 5200 |
5201 GeolayerdataGeoViewport.fromJson(core.Map _json) { | 5201 GeolayerdataGeoViewport.fromJson(core.Map _json) { |
5202 if (_json.containsKey("hi")) { | 5202 if (_json.containsKey("hi")) { |
5203 hi = new GeolayerdataGeoViewportHi.fromJson(_json["hi"]); | 5203 hi = new GeolayerdataGeoViewportHi.fromJson(_json["hi"]); |
5204 } | 5204 } |
5205 if (_json.containsKey("lo")) { | 5205 if (_json.containsKey("lo")) { |
5206 lo = new GeolayerdataGeoViewportLo.fromJson(_json["lo"]); | 5206 lo = new GeolayerdataGeoViewportLo.fromJson(_json["lo"]); |
5207 } | 5207 } |
5208 } | 5208 } |
5209 | 5209 |
5210 core.Map toJson() { | 5210 core.Map<core.String, core.Object> toJson() { |
5211 var _json = new core.Map(); | 5211 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5212 if (hi != null) { | 5212 if (hi != null) { |
5213 _json["hi"] = (hi).toJson(); | 5213 _json["hi"] = (hi).toJson(); |
5214 } | 5214 } |
5215 if (lo != null) { | 5215 if (lo != null) { |
5216 _json["lo"] = (lo).toJson(); | 5216 _json["lo"] = (lo).toJson(); |
5217 } | 5217 } |
5218 return _json; | 5218 return _json; |
5219 } | 5219 } |
5220 } | 5220 } |
5221 | 5221 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5275 mapType = _json["mapType"]; | 5275 mapType = _json["mapType"]; |
5276 } | 5276 } |
5277 if (_json.containsKey("viewport")) { | 5277 if (_json.containsKey("viewport")) { |
5278 viewport = new GeolayerdataGeoViewport.fromJson(_json["viewport"]); | 5278 viewport = new GeolayerdataGeoViewport.fromJson(_json["viewport"]); |
5279 } | 5279 } |
5280 if (_json.containsKey("zoom")) { | 5280 if (_json.containsKey("zoom")) { |
5281 zoom = _json["zoom"]; | 5281 zoom = _json["zoom"]; |
5282 } | 5282 } |
5283 } | 5283 } |
5284 | 5284 |
5285 core.Map toJson() { | 5285 core.Map<core.String, core.Object> toJson() { |
5286 var _json = new core.Map(); | 5286 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5287 if (boundary != null) { | 5287 if (boundary != null) { |
5288 _json["boundary"] = boundary.map((value) => value.map((value) => (value).t
oJson()).toList()).toList(); | 5288 _json["boundary"] = boundary.map((value) => value.map((value) => (value).t
oJson()).toList()).toList(); |
5289 } | 5289 } |
5290 if (cachePolicy != null) { | 5290 if (cachePolicy != null) { |
5291 _json["cachePolicy"] = cachePolicy; | 5291 _json["cachePolicy"] = cachePolicy; |
5292 } | 5292 } |
5293 if (countryCode != null) { | 5293 if (countryCode != null) { |
5294 _json["countryCode"] = countryCode; | 5294 _json["countryCode"] = countryCode; |
5295 } | 5295 } |
5296 if (latitude != null) { | 5296 if (latitude != null) { |
(...skipping 27 matching lines...) Expand all Loading... |
5324 common = new GeolayerdataCommon.fromJson(_json["common"]); | 5324 common = new GeolayerdataCommon.fromJson(_json["common"]); |
5325 } | 5325 } |
5326 if (_json.containsKey("geo")) { | 5326 if (_json.containsKey("geo")) { |
5327 geo = new GeolayerdataGeo.fromJson(_json["geo"]); | 5327 geo = new GeolayerdataGeo.fromJson(_json["geo"]); |
5328 } | 5328 } |
5329 if (_json.containsKey("kind")) { | 5329 if (_json.containsKey("kind")) { |
5330 kind = _json["kind"]; | 5330 kind = _json["kind"]; |
5331 } | 5331 } |
5332 } | 5332 } |
5333 | 5333 |
5334 core.Map toJson() { | 5334 core.Map<core.String, core.Object> toJson() { |
5335 var _json = new core.Map(); | 5335 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5336 if (common != null) { | 5336 if (common != null) { |
5337 _json["common"] = (common).toJson(); | 5337 _json["common"] = (common).toJson(); |
5338 } | 5338 } |
5339 if (geo != null) { | 5339 if (geo != null) { |
5340 _json["geo"] = (geo).toJson(); | 5340 _json["geo"] = (geo).toJson(); |
5341 } | 5341 } |
5342 if (kind != null) { | 5342 if (kind != null) { |
5343 _json["kind"] = kind; | 5343 _json["kind"] = kind; |
5344 } | 5344 } |
5345 return _json; | 5345 return _json; |
(...skipping 15 matching lines...) Expand all Loading... |
5361 items = _json["items"].map((value) => new Layersummary.fromJson(value)).to
List(); | 5361 items = _json["items"].map((value) => new Layersummary.fromJson(value)).to
List(); |
5362 } | 5362 } |
5363 if (_json.containsKey("kind")) { | 5363 if (_json.containsKey("kind")) { |
5364 kind = _json["kind"]; | 5364 kind = _json["kind"]; |
5365 } | 5365 } |
5366 if (_json.containsKey("totalItems")) { | 5366 if (_json.containsKey("totalItems")) { |
5367 totalItems = _json["totalItems"]; | 5367 totalItems = _json["totalItems"]; |
5368 } | 5368 } |
5369 } | 5369 } |
5370 | 5370 |
5371 core.Map toJson() { | 5371 core.Map<core.String, core.Object> toJson() { |
5372 var _json = new core.Map(); | 5372 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5373 if (items != null) { | 5373 if (items != null) { |
5374 _json["items"] = items.map((value) => (value).toJson()).toList(); | 5374 _json["items"] = items.map((value) => (value).toJson()).toList(); |
5375 } | 5375 } |
5376 if (kind != null) { | 5376 if (kind != null) { |
5377 _json["kind"] = kind; | 5377 _json["kind"] = kind; |
5378 } | 5378 } |
5379 if (totalItems != null) { | 5379 if (totalItems != null) { |
5380 _json["totalItems"] = totalItems; | 5380 _json["totalItems"] = totalItems; |
5381 } | 5381 } |
5382 return _json; | 5382 return _json; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5455 updated = core.DateTime.parse(_json["updated"]); | 5455 updated = core.DateTime.parse(_json["updated"]); |
5456 } | 5456 } |
5457 if (_json.containsKey("volumeAnnotationsVersion")) { | 5457 if (_json.containsKey("volumeAnnotationsVersion")) { |
5458 volumeAnnotationsVersion = _json["volumeAnnotationsVersion"]; | 5458 volumeAnnotationsVersion = _json["volumeAnnotationsVersion"]; |
5459 } | 5459 } |
5460 if (_json.containsKey("volumeId")) { | 5460 if (_json.containsKey("volumeId")) { |
5461 volumeId = _json["volumeId"]; | 5461 volumeId = _json["volumeId"]; |
5462 } | 5462 } |
5463 } | 5463 } |
5464 | 5464 |
5465 core.Map toJson() { | 5465 core.Map<core.String, core.Object> toJson() { |
5466 var _json = new core.Map(); | 5466 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5467 if (annotationCount != null) { | 5467 if (annotationCount != null) { |
5468 _json["annotationCount"] = annotationCount; | 5468 _json["annotationCount"] = annotationCount; |
5469 } | 5469 } |
5470 if (annotationTypes != null) { | 5470 if (annotationTypes != null) { |
5471 _json["annotationTypes"] = annotationTypes; | 5471 _json["annotationTypes"] = annotationTypes; |
5472 } | 5472 } |
5473 if (annotationsDataLink != null) { | 5473 if (annotationsDataLink != null) { |
5474 _json["annotationsDataLink"] = annotationsDataLink; | 5474 _json["annotationsDataLink"] = annotationsDataLink; |
5475 } | 5475 } |
5476 if (annotationsLink != null) { | 5476 if (annotationsLink != null) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5527 language = _json["language"]; | 5527 language = _json["language"]; |
5528 } | 5528 } |
5529 if (_json.containsKey("size")) { | 5529 if (_json.containsKey("size")) { |
5530 size = _json["size"]; | 5530 size = _json["size"]; |
5531 } | 5531 } |
5532 if (_json.containsKey("version")) { | 5532 if (_json.containsKey("version")) { |
5533 version = _json["version"]; | 5533 version = _json["version"]; |
5534 } | 5534 } |
5535 } | 5535 } |
5536 | 5536 |
5537 core.Map toJson() { | 5537 core.Map<core.String, core.Object> toJson() { |
5538 var _json = new core.Map(); | 5538 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5539 if (downloadUrl != null) { | 5539 if (downloadUrl != null) { |
5540 _json["download_url"] = downloadUrl; | 5540 _json["download_url"] = downloadUrl; |
5541 } | 5541 } |
5542 if (encryptedKey != null) { | 5542 if (encryptedKey != null) { |
5543 _json["encrypted_key"] = encryptedKey; | 5543 _json["encrypted_key"] = encryptedKey; |
5544 } | 5544 } |
5545 if (language != null) { | 5545 if (language != null) { |
5546 _json["language"] = language; | 5546 _json["language"] = language; |
5547 } | 5547 } |
5548 if (size != null) { | 5548 if (size != null) { |
(...skipping 16 matching lines...) Expand all Loading... |
5565 | 5565 |
5566 Metadata.fromJson(core.Map _json) { | 5566 Metadata.fromJson(core.Map _json) { |
5567 if (_json.containsKey("items")) { | 5567 if (_json.containsKey("items")) { |
5568 items = _json["items"].map((value) => new MetadataItems.fromJson(value)).t
oList(); | 5568 items = _json["items"].map((value) => new MetadataItems.fromJson(value)).t
oList(); |
5569 } | 5569 } |
5570 if (_json.containsKey("kind")) { | 5570 if (_json.containsKey("kind")) { |
5571 kind = _json["kind"]; | 5571 kind = _json["kind"]; |
5572 } | 5572 } |
5573 } | 5573 } |
5574 | 5574 |
5575 core.Map toJson() { | 5575 core.Map<core.String, core.Object> toJson() { |
5576 var _json = new core.Map(); | 5576 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5577 if (items != null) { | 5577 if (items != null) { |
5578 _json["items"] = items.map((value) => (value).toJson()).toList(); | 5578 _json["items"] = items.map((value) => (value).toJson()).toList(); |
5579 } | 5579 } |
5580 if (kind != null) { | 5580 if (kind != null) { |
5581 _json["kind"] = kind; | 5581 _json["kind"] = kind; |
5582 } | 5582 } |
5583 return _json; | 5583 return _json; |
5584 } | 5584 } |
5585 } | 5585 } |
5586 | 5586 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5642 showNotificationSettingsAction = _json["show_notification_settings_action"
]; | 5642 showNotificationSettingsAction = _json["show_notification_settings_action"
]; |
5643 } | 5643 } |
5644 if (_json.containsKey("targetUrl")) { | 5644 if (_json.containsKey("targetUrl")) { |
5645 targetUrl = _json["targetUrl"]; | 5645 targetUrl = _json["targetUrl"]; |
5646 } | 5646 } |
5647 if (_json.containsKey("title")) { | 5647 if (_json.containsKey("title")) { |
5648 title = _json["title"]; | 5648 title = _json["title"]; |
5649 } | 5649 } |
5650 } | 5650 } |
5651 | 5651 |
5652 core.Map toJson() { | 5652 core.Map<core.String, core.Object> toJson() { |
5653 var _json = new core.Map(); | 5653 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5654 if (body != null) { | 5654 if (body != null) { |
5655 _json["body"] = body; | 5655 _json["body"] = body; |
5656 } | 5656 } |
5657 if (crmExperimentIds != null) { | 5657 if (crmExperimentIds != null) { |
5658 _json["crmExperimentIds"] = crmExperimentIds; | 5658 _json["crmExperimentIds"] = crmExperimentIds; |
5659 } | 5659 } |
5660 if (docId != null) { | 5660 if (docId != null) { |
5661 _json["doc_id"] = docId; | 5661 _json["doc_id"] = docId; |
5662 } | 5662 } |
5663 if (docType != null) { | 5663 if (docType != null) { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5721 description = _json["description"]; | 5721 description = _json["description"]; |
5722 } | 5722 } |
5723 if (_json.containsKey("title")) { | 5723 if (_json.containsKey("title")) { |
5724 title = _json["title"]; | 5724 title = _json["title"]; |
5725 } | 5725 } |
5726 if (_json.containsKey("volumeId")) { | 5726 if (_json.containsKey("volumeId")) { |
5727 volumeId = _json["volumeId"]; | 5727 volumeId = _json["volumeId"]; |
5728 } | 5728 } |
5729 } | 5729 } |
5730 | 5730 |
5731 core.Map toJson() { | 5731 core.Map<core.String, core.Object> toJson() { |
5732 var _json = new core.Map(); | 5732 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5733 if (author != null) { | 5733 if (author != null) { |
5734 _json["author"] = author; | 5734 _json["author"] = author; |
5735 } | 5735 } |
5736 if (canonicalVolumeLink != null) { | 5736 if (canonicalVolumeLink != null) { |
5737 _json["canonicalVolumeLink"] = canonicalVolumeLink; | 5737 _json["canonicalVolumeLink"] = canonicalVolumeLink; |
5738 } | 5738 } |
5739 if (coverUrl != null) { | 5739 if (coverUrl != null) { |
5740 _json["coverUrl"] = coverUrl; | 5740 _json["coverUrl"] = coverUrl; |
5741 } | 5741 } |
5742 if (description != null) { | 5742 if (description != null) { |
(...skipping 25 matching lines...) Expand all Loading... |
5768 gservicesKey = _json["gservicesKey"]; | 5768 gservicesKey = _json["gservicesKey"]; |
5769 } | 5769 } |
5770 if (_json.containsKey("id")) { | 5770 if (_json.containsKey("id")) { |
5771 id = _json["id"]; | 5771 id = _json["id"]; |
5772 } | 5772 } |
5773 if (_json.containsKey("items")) { | 5773 if (_json.containsKey("items")) { |
5774 items = _json["items"].map((value) => new OffersItemsItems.fromJson(value)
).toList(); | 5774 items = _json["items"].map((value) => new OffersItemsItems.fromJson(value)
).toList(); |
5775 } | 5775 } |
5776 } | 5776 } |
5777 | 5777 |
5778 core.Map toJson() { | 5778 core.Map<core.String, core.Object> toJson() { |
5779 var _json = new core.Map(); | 5779 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5780 if (artUrl != null) { | 5780 if (artUrl != null) { |
5781 _json["artUrl"] = artUrl; | 5781 _json["artUrl"] = artUrl; |
5782 } | 5782 } |
5783 if (gservicesKey != null) { | 5783 if (gservicesKey != null) { |
5784 _json["gservicesKey"] = gservicesKey; | 5784 _json["gservicesKey"] = gservicesKey; |
5785 } | 5785 } |
5786 if (id != null) { | 5786 if (id != null) { |
5787 _json["id"] = id; | 5787 _json["id"] = id; |
5788 } | 5788 } |
5789 if (items != null) { | 5789 if (items != null) { |
(...skipping 13 matching lines...) Expand all Loading... |
5803 | 5803 |
5804 Offers.fromJson(core.Map _json) { | 5804 Offers.fromJson(core.Map _json) { |
5805 if (_json.containsKey("items")) { | 5805 if (_json.containsKey("items")) { |
5806 items = _json["items"].map((value) => new OffersItems.fromJson(value)).toL
ist(); | 5806 items = _json["items"].map((value) => new OffersItems.fromJson(value)).toL
ist(); |
5807 } | 5807 } |
5808 if (_json.containsKey("kind")) { | 5808 if (_json.containsKey("kind")) { |
5809 kind = _json["kind"]; | 5809 kind = _json["kind"]; |
5810 } | 5810 } |
5811 } | 5811 } |
5812 | 5812 |
5813 core.Map toJson() { | 5813 core.Map<core.String, core.Object> toJson() { |
5814 var _json = new core.Map(); | 5814 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5815 if (items != null) { | 5815 if (items != null) { |
5816 _json["items"] = items.map((value) => (value).toJson()).toList(); | 5816 _json["items"] = items.map((value) => (value).toJson()).toList(); |
5817 } | 5817 } |
5818 if (kind != null) { | 5818 if (kind != null) { |
5819 _json["kind"] = kind; | 5819 _json["kind"] = kind; |
5820 } | 5820 } |
5821 return _json; | 5821 return _json; |
5822 } | 5822 } |
5823 } | 5823 } |
5824 | 5824 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5860 pdfPosition = _json["pdfPosition"]; | 5860 pdfPosition = _json["pdfPosition"]; |
5861 } | 5861 } |
5862 if (_json.containsKey("updated")) { | 5862 if (_json.containsKey("updated")) { |
5863 updated = core.DateTime.parse(_json["updated"]); | 5863 updated = core.DateTime.parse(_json["updated"]); |
5864 } | 5864 } |
5865 if (_json.containsKey("volumeId")) { | 5865 if (_json.containsKey("volumeId")) { |
5866 volumeId = _json["volumeId"]; | 5866 volumeId = _json["volumeId"]; |
5867 } | 5867 } |
5868 } | 5868 } |
5869 | 5869 |
5870 core.Map toJson() { | 5870 core.Map<core.String, core.Object> toJson() { |
5871 var _json = new core.Map(); | 5871 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5872 if (epubCfiPosition != null) { | 5872 if (epubCfiPosition != null) { |
5873 _json["epubCfiPosition"] = epubCfiPosition; | 5873 _json["epubCfiPosition"] = epubCfiPosition; |
5874 } | 5874 } |
5875 if (gbImagePosition != null) { | 5875 if (gbImagePosition != null) { |
5876 _json["gbImagePosition"] = gbImagePosition; | 5876 _json["gbImagePosition"] = gbImagePosition; |
5877 } | 5877 } |
5878 if (gbTextPosition != null) { | 5878 if (gbTextPosition != null) { |
5879 _json["gbTextPosition"] = gbTextPosition; | 5879 _json["gbTextPosition"] = gbTextPosition; |
5880 } | 5880 } |
5881 if (kind != null) { | 5881 if (kind != null) { |
(...skipping 27 matching lines...) Expand all Loading... |
5909 concurrentAccess = new ConcurrentAccessRestriction.fromJson(_json["concurr
entAccess"]); | 5909 concurrentAccess = new ConcurrentAccessRestriction.fromJson(_json["concurr
entAccess"]); |
5910 } | 5910 } |
5911 if (_json.containsKey("downloadAccess")) { | 5911 if (_json.containsKey("downloadAccess")) { |
5912 downloadAccess = new DownloadAccessRestriction.fromJson(_json["downloadAcc
ess"]); | 5912 downloadAccess = new DownloadAccessRestriction.fromJson(_json["downloadAcc
ess"]); |
5913 } | 5913 } |
5914 if (_json.containsKey("kind")) { | 5914 if (_json.containsKey("kind")) { |
5915 kind = _json["kind"]; | 5915 kind = _json["kind"]; |
5916 } | 5916 } |
5917 } | 5917 } |
5918 | 5918 |
5919 core.Map toJson() { | 5919 core.Map<core.String, core.Object> toJson() { |
5920 var _json = new core.Map(); | 5920 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5921 if (concurrentAccess != null) { | 5921 if (concurrentAccess != null) { |
5922 _json["concurrentAccess"] = (concurrentAccess).toJson(); | 5922 _json["concurrentAccess"] = (concurrentAccess).toJson(); |
5923 } | 5923 } |
5924 if (downloadAccess != null) { | 5924 if (downloadAccess != null) { |
5925 _json["downloadAccess"] = (downloadAccess).toJson(); | 5925 _json["downloadAccess"] = (downloadAccess).toJson(); |
5926 } | 5926 } |
5927 if (kind != null) { | 5927 if (kind != null) { |
5928 _json["kind"] = kind; | 5928 _json["kind"] = kind; |
5929 } | 5929 } |
5930 return _json; | 5930 return _json; |
5931 } | 5931 } |
5932 } | 5932 } |
5933 | 5933 |
5934 /** Author of this review. */ | 5934 /** Author of this review. */ |
5935 class ReviewAuthor { | 5935 class ReviewAuthor { |
5936 /** Name of this person. */ | 5936 /** Name of this person. */ |
5937 core.String displayName; | 5937 core.String displayName; |
5938 | 5938 |
5939 ReviewAuthor(); | 5939 ReviewAuthor(); |
5940 | 5940 |
5941 ReviewAuthor.fromJson(core.Map _json) { | 5941 ReviewAuthor.fromJson(core.Map _json) { |
5942 if (_json.containsKey("displayName")) { | 5942 if (_json.containsKey("displayName")) { |
5943 displayName = _json["displayName"]; | 5943 displayName = _json["displayName"]; |
5944 } | 5944 } |
5945 } | 5945 } |
5946 | 5946 |
5947 core.Map toJson() { | 5947 core.Map<core.String, core.Object> toJson() { |
5948 var _json = new core.Map(); | 5948 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5949 if (displayName != null) { | 5949 if (displayName != null) { |
5950 _json["displayName"] = displayName; | 5950 _json["displayName"] = displayName; |
5951 } | 5951 } |
5952 return _json; | 5952 return _json; |
5953 } | 5953 } |
5954 } | 5954 } |
5955 | 5955 |
5956 /** | 5956 /** |
5957 * Information regarding the source of this review, when the review is not from | 5957 * Information regarding the source of this review, when the review is not from |
5958 * a Google Books user. | 5958 * a Google Books user. |
(...skipping 13 matching lines...) Expand all Loading... |
5972 description = _json["description"]; | 5972 description = _json["description"]; |
5973 } | 5973 } |
5974 if (_json.containsKey("extraDescription")) { | 5974 if (_json.containsKey("extraDescription")) { |
5975 extraDescription = _json["extraDescription"]; | 5975 extraDescription = _json["extraDescription"]; |
5976 } | 5976 } |
5977 if (_json.containsKey("url")) { | 5977 if (_json.containsKey("url")) { |
5978 url = _json["url"]; | 5978 url = _json["url"]; |
5979 } | 5979 } |
5980 } | 5980 } |
5981 | 5981 |
5982 core.Map toJson() { | 5982 core.Map<core.String, core.Object> toJson() { |
5983 var _json = new core.Map(); | 5983 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5984 if (description != null) { | 5984 if (description != null) { |
5985 _json["description"] = description; | 5985 _json["description"] = description; |
5986 } | 5986 } |
5987 if (extraDescription != null) { | 5987 if (extraDescription != null) { |
5988 _json["extraDescription"] = extraDescription; | 5988 _json["extraDescription"] = extraDescription; |
5989 } | 5989 } |
5990 if (url != null) { | 5990 if (url != null) { |
5991 _json["url"] = url; | 5991 _json["url"] = url; |
5992 } | 5992 } |
5993 return _json; | 5993 return _json; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6053 title = _json["title"]; | 6053 title = _json["title"]; |
6054 } | 6054 } |
6055 if (_json.containsKey("type")) { | 6055 if (_json.containsKey("type")) { |
6056 type = _json["type"]; | 6056 type = _json["type"]; |
6057 } | 6057 } |
6058 if (_json.containsKey("volumeId")) { | 6058 if (_json.containsKey("volumeId")) { |
6059 volumeId = _json["volumeId"]; | 6059 volumeId = _json["volumeId"]; |
6060 } | 6060 } |
6061 } | 6061 } |
6062 | 6062 |
6063 core.Map toJson() { | 6063 core.Map<core.String, core.Object> toJson() { |
6064 var _json = new core.Map(); | 6064 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6065 if (author != null) { | 6065 if (author != null) { |
6066 _json["author"] = (author).toJson(); | 6066 _json["author"] = (author).toJson(); |
6067 } | 6067 } |
6068 if (content != null) { | 6068 if (content != null) { |
6069 _json["content"] = content; | 6069 _json["content"] = content; |
6070 } | 6070 } |
6071 if (date != null) { | 6071 if (date != null) { |
6072 _json["date"] = date; | 6072 _json["date"] = date; |
6073 } | 6073 } |
6074 if (fullTextUrl != null) { | 6074 if (fullTextUrl != null) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6116 seriesId = _json["seriesId"]; | 6116 seriesId = _json["seriesId"]; |
6117 } | 6117 } |
6118 if (_json.containsKey("seriesType")) { | 6118 if (_json.containsKey("seriesType")) { |
6119 seriesType = _json["seriesType"]; | 6119 seriesType = _json["seriesType"]; |
6120 } | 6120 } |
6121 if (_json.containsKey("title")) { | 6121 if (_json.containsKey("title")) { |
6122 title = _json["title"]; | 6122 title = _json["title"]; |
6123 } | 6123 } |
6124 } | 6124 } |
6125 | 6125 |
6126 core.Map toJson() { | 6126 core.Map<core.String, core.Object> toJson() { |
6127 var _json = new core.Map(); | 6127 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6128 if (bannerImageUrl != null) { | 6128 if (bannerImageUrl != null) { |
6129 _json["bannerImageUrl"] = bannerImageUrl; | 6129 _json["bannerImageUrl"] = bannerImageUrl; |
6130 } | 6130 } |
6131 if (imageUrl != null) { | 6131 if (imageUrl != null) { |
6132 _json["imageUrl"] = imageUrl; | 6132 _json["imageUrl"] = imageUrl; |
6133 } | 6133 } |
6134 if (seriesId != null) { | 6134 if (seriesId != null) { |
6135 _json["seriesId"] = seriesId; | 6135 _json["seriesId"] = seriesId; |
6136 } | 6136 } |
6137 if (seriesType != null) { | 6137 if (seriesType != null) { |
(...skipping 15 matching lines...) Expand all Loading... |
6153 | 6153 |
6154 Series.fromJson(core.Map _json) { | 6154 Series.fromJson(core.Map _json) { |
6155 if (_json.containsKey("kind")) { | 6155 if (_json.containsKey("kind")) { |
6156 kind = _json["kind"]; | 6156 kind = _json["kind"]; |
6157 } | 6157 } |
6158 if (_json.containsKey("series")) { | 6158 if (_json.containsKey("series")) { |
6159 series = _json["series"].map((value) => new SeriesSeries.fromJson(value)).
toList(); | 6159 series = _json["series"].map((value) => new SeriesSeries.fromJson(value)).
toList(); |
6160 } | 6160 } |
6161 } | 6161 } |
6162 | 6162 |
6163 core.Map toJson() { | 6163 core.Map<core.String, core.Object> toJson() { |
6164 var _json = new core.Map(); | 6164 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6165 if (kind != null) { | 6165 if (kind != null) { |
6166 _json["kind"] = kind; | 6166 _json["kind"] = kind; |
6167 } | 6167 } |
6168 if (series != null) { | 6168 if (series != null) { |
6169 _json["series"] = series.map((value) => (value).toJson()).toList(); | 6169 _json["series"] = series.map((value) => (value).toJson()).toList(); |
6170 } | 6170 } |
6171 return _json; | 6171 return _json; |
6172 } | 6172 } |
6173 } | 6173 } |
6174 | 6174 |
(...skipping 10 matching lines...) Expand all Loading... |
6185 kind = _json["kind"]; | 6185 kind = _json["kind"]; |
6186 } | 6186 } |
6187 if (_json.containsKey("member")) { | 6187 if (_json.containsKey("member")) { |
6188 member = _json["member"].map((value) => new Volume.fromJson(value)).toList
(); | 6188 member = _json["member"].map((value) => new Volume.fromJson(value)).toList
(); |
6189 } | 6189 } |
6190 if (_json.containsKey("nextPageToken")) { | 6190 if (_json.containsKey("nextPageToken")) { |
6191 nextPageToken = _json["nextPageToken"]; | 6191 nextPageToken = _json["nextPageToken"]; |
6192 } | 6192 } |
6193 } | 6193 } |
6194 | 6194 |
6195 core.Map toJson() { | 6195 core.Map<core.String, core.Object> toJson() { |
6196 var _json = new core.Map(); | 6196 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6197 if (kind != null) { | 6197 if (kind != null) { |
6198 _json["kind"] = kind; | 6198 _json["kind"] = kind; |
6199 } | 6199 } |
6200 if (member != null) { | 6200 if (member != null) { |
6201 _json["member"] = member.map((value) => (value).toJson()).toList(); | 6201 _json["member"] = member.map((value) => (value).toJson()).toList(); |
6202 } | 6202 } |
6203 if (nextPageToken != null) { | 6203 if (nextPageToken != null) { |
6204 _json["nextPageToken"] = nextPageToken; | 6204 _json["nextPageToken"] = nextPageToken; |
6205 } | 6205 } |
6206 return _json; | 6206 return _json; |
6207 } | 6207 } |
6208 } | 6208 } |
6209 | 6209 |
6210 /** User settings in sub-objects, each for different purposes. */ | 6210 /** User settings in sub-objects, each for different purposes. */ |
6211 class UsersettingsNotesExport { | 6211 class UsersettingsNotesExport { |
6212 core.String folderName; | 6212 core.String folderName; |
6213 core.bool isEnabled; | 6213 core.bool isEnabled; |
6214 | 6214 |
6215 UsersettingsNotesExport(); | 6215 UsersettingsNotesExport(); |
6216 | 6216 |
6217 UsersettingsNotesExport.fromJson(core.Map _json) { | 6217 UsersettingsNotesExport.fromJson(core.Map _json) { |
6218 if (_json.containsKey("folderName")) { | 6218 if (_json.containsKey("folderName")) { |
6219 folderName = _json["folderName"]; | 6219 folderName = _json["folderName"]; |
6220 } | 6220 } |
6221 if (_json.containsKey("isEnabled")) { | 6221 if (_json.containsKey("isEnabled")) { |
6222 isEnabled = _json["isEnabled"]; | 6222 isEnabled = _json["isEnabled"]; |
6223 } | 6223 } |
6224 } | 6224 } |
6225 | 6225 |
6226 core.Map toJson() { | 6226 core.Map<core.String, core.Object> toJson() { |
6227 var _json = new core.Map(); | 6227 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6228 if (folderName != null) { | 6228 if (folderName != null) { |
6229 _json["folderName"] = folderName; | 6229 _json["folderName"] = folderName; |
6230 } | 6230 } |
6231 if (isEnabled != null) { | 6231 if (isEnabled != null) { |
6232 _json["isEnabled"] = isEnabled; | 6232 _json["isEnabled"] = isEnabled; |
6233 } | 6233 } |
6234 return _json; | 6234 return _json; |
6235 } | 6235 } |
6236 } | 6236 } |
6237 | 6237 |
6238 class UsersettingsNotificationMoreFromAuthors { | 6238 class UsersettingsNotificationMoreFromAuthors { |
6239 core.String optedState; | 6239 core.String optedState; |
6240 | 6240 |
6241 UsersettingsNotificationMoreFromAuthors(); | 6241 UsersettingsNotificationMoreFromAuthors(); |
6242 | 6242 |
6243 UsersettingsNotificationMoreFromAuthors.fromJson(core.Map _json) { | 6243 UsersettingsNotificationMoreFromAuthors.fromJson(core.Map _json) { |
6244 if (_json.containsKey("opted_state")) { | 6244 if (_json.containsKey("opted_state")) { |
6245 optedState = _json["opted_state"]; | 6245 optedState = _json["opted_state"]; |
6246 } | 6246 } |
6247 } | 6247 } |
6248 | 6248 |
6249 core.Map toJson() { | 6249 core.Map<core.String, core.Object> toJson() { |
6250 var _json = new core.Map(); | 6250 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6251 if (optedState != null) { | 6251 if (optedState != null) { |
6252 _json["opted_state"] = optedState; | 6252 _json["opted_state"] = optedState; |
6253 } | 6253 } |
6254 return _json; | 6254 return _json; |
6255 } | 6255 } |
6256 } | 6256 } |
6257 | 6257 |
6258 class UsersettingsNotificationMoreFromSeries { | 6258 class UsersettingsNotificationMoreFromSeries { |
6259 core.String optedState; | 6259 core.String optedState; |
6260 | 6260 |
6261 UsersettingsNotificationMoreFromSeries(); | 6261 UsersettingsNotificationMoreFromSeries(); |
6262 | 6262 |
6263 UsersettingsNotificationMoreFromSeries.fromJson(core.Map _json) { | 6263 UsersettingsNotificationMoreFromSeries.fromJson(core.Map _json) { |
6264 if (_json.containsKey("opted_state")) { | 6264 if (_json.containsKey("opted_state")) { |
6265 optedState = _json["opted_state"]; | 6265 optedState = _json["opted_state"]; |
6266 } | 6266 } |
6267 } | 6267 } |
6268 | 6268 |
6269 core.Map toJson() { | 6269 core.Map<core.String, core.Object> toJson() { |
6270 var _json = new core.Map(); | 6270 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6271 if (optedState != null) { | 6271 if (optedState != null) { |
6272 _json["opted_state"] = optedState; | 6272 _json["opted_state"] = optedState; |
6273 } | 6273 } |
6274 return _json; | 6274 return _json; |
6275 } | 6275 } |
6276 } | 6276 } |
6277 | 6277 |
6278 class UsersettingsNotificationRewardExpirations { | 6278 class UsersettingsNotificationRewardExpirations { |
6279 core.String optedState; | 6279 core.String optedState; |
6280 | 6280 |
6281 UsersettingsNotificationRewardExpirations(); | 6281 UsersettingsNotificationRewardExpirations(); |
6282 | 6282 |
6283 UsersettingsNotificationRewardExpirations.fromJson(core.Map _json) { | 6283 UsersettingsNotificationRewardExpirations.fromJson(core.Map _json) { |
6284 if (_json.containsKey("opted_state")) { | 6284 if (_json.containsKey("opted_state")) { |
6285 optedState = _json["opted_state"]; | 6285 optedState = _json["opted_state"]; |
6286 } | 6286 } |
6287 } | 6287 } |
6288 | 6288 |
6289 core.Map toJson() { | 6289 core.Map<core.String, core.Object> toJson() { |
6290 var _json = new core.Map(); | 6290 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6291 if (optedState != null) { | 6291 if (optedState != null) { |
6292 _json["opted_state"] = optedState; | 6292 _json["opted_state"] = optedState; |
6293 } | 6293 } |
6294 return _json; | 6294 return _json; |
6295 } | 6295 } |
6296 } | 6296 } |
6297 | 6297 |
6298 class UsersettingsNotification { | 6298 class UsersettingsNotification { |
6299 UsersettingsNotificationMoreFromAuthors moreFromAuthors; | 6299 UsersettingsNotificationMoreFromAuthors moreFromAuthors; |
6300 UsersettingsNotificationMoreFromSeries moreFromSeries; | 6300 UsersettingsNotificationMoreFromSeries moreFromSeries; |
6301 UsersettingsNotificationRewardExpirations rewardExpirations; | 6301 UsersettingsNotificationRewardExpirations rewardExpirations; |
6302 | 6302 |
6303 UsersettingsNotification(); | 6303 UsersettingsNotification(); |
6304 | 6304 |
6305 UsersettingsNotification.fromJson(core.Map _json) { | 6305 UsersettingsNotification.fromJson(core.Map _json) { |
6306 if (_json.containsKey("moreFromAuthors")) { | 6306 if (_json.containsKey("moreFromAuthors")) { |
6307 moreFromAuthors = new UsersettingsNotificationMoreFromAuthors.fromJson(_js
on["moreFromAuthors"]); | 6307 moreFromAuthors = new UsersettingsNotificationMoreFromAuthors.fromJson(_js
on["moreFromAuthors"]); |
6308 } | 6308 } |
6309 if (_json.containsKey("moreFromSeries")) { | 6309 if (_json.containsKey("moreFromSeries")) { |
6310 moreFromSeries = new UsersettingsNotificationMoreFromSeries.fromJson(_json
["moreFromSeries"]); | 6310 moreFromSeries = new UsersettingsNotificationMoreFromSeries.fromJson(_json
["moreFromSeries"]); |
6311 } | 6311 } |
6312 if (_json.containsKey("rewardExpirations")) { | 6312 if (_json.containsKey("rewardExpirations")) { |
6313 rewardExpirations = new UsersettingsNotificationRewardExpirations.fromJson
(_json["rewardExpirations"]); | 6313 rewardExpirations = new UsersettingsNotificationRewardExpirations.fromJson
(_json["rewardExpirations"]); |
6314 } | 6314 } |
6315 } | 6315 } |
6316 | 6316 |
6317 core.Map toJson() { | 6317 core.Map<core.String, core.Object> toJson() { |
6318 var _json = new core.Map(); | 6318 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6319 if (moreFromAuthors != null) { | 6319 if (moreFromAuthors != null) { |
6320 _json["moreFromAuthors"] = (moreFromAuthors).toJson(); | 6320 _json["moreFromAuthors"] = (moreFromAuthors).toJson(); |
6321 } | 6321 } |
6322 if (moreFromSeries != null) { | 6322 if (moreFromSeries != null) { |
6323 _json["moreFromSeries"] = (moreFromSeries).toJson(); | 6323 _json["moreFromSeries"] = (moreFromSeries).toJson(); |
6324 } | 6324 } |
6325 if (rewardExpirations != null) { | 6325 if (rewardExpirations != null) { |
6326 _json["rewardExpirations"] = (rewardExpirations).toJson(); | 6326 _json["rewardExpirations"] = (rewardExpirations).toJson(); |
6327 } | 6327 } |
6328 return _json; | 6328 return _json; |
(...skipping 14 matching lines...) Expand all Loading... |
6343 kind = _json["kind"]; | 6343 kind = _json["kind"]; |
6344 } | 6344 } |
6345 if (_json.containsKey("notesExport")) { | 6345 if (_json.containsKey("notesExport")) { |
6346 notesExport = new UsersettingsNotesExport.fromJson(_json["notesExport"]); | 6346 notesExport = new UsersettingsNotesExport.fromJson(_json["notesExport"]); |
6347 } | 6347 } |
6348 if (_json.containsKey("notification")) { | 6348 if (_json.containsKey("notification")) { |
6349 notification = new UsersettingsNotification.fromJson(_json["notification"]
); | 6349 notification = new UsersettingsNotification.fromJson(_json["notification"]
); |
6350 } | 6350 } |
6351 } | 6351 } |
6352 | 6352 |
6353 core.Map toJson() { | 6353 core.Map<core.String, core.Object> toJson() { |
6354 var _json = new core.Map(); | 6354 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6355 if (kind != null) { | 6355 if (kind != null) { |
6356 _json["kind"] = kind; | 6356 _json["kind"] = kind; |
6357 } | 6357 } |
6358 if (notesExport != null) { | 6358 if (notesExport != null) { |
6359 _json["notesExport"] = (notesExport).toJson(); | 6359 _json["notesExport"] = (notesExport).toJson(); |
6360 } | 6360 } |
6361 if (notification != null) { | 6361 if (notification != null) { |
6362 _json["notification"] = (notification).toJson(); | 6362 _json["notification"] = (notification).toJson(); |
6363 } | 6363 } |
6364 return _json; | 6364 return _json; |
(...skipping 19 matching lines...) Expand all Loading... |
6384 acsTokenLink = _json["acsTokenLink"]; | 6384 acsTokenLink = _json["acsTokenLink"]; |
6385 } | 6385 } |
6386 if (_json.containsKey("downloadLink")) { | 6386 if (_json.containsKey("downloadLink")) { |
6387 downloadLink = _json["downloadLink"]; | 6387 downloadLink = _json["downloadLink"]; |
6388 } | 6388 } |
6389 if (_json.containsKey("isAvailable")) { | 6389 if (_json.containsKey("isAvailable")) { |
6390 isAvailable = _json["isAvailable"]; | 6390 isAvailable = _json["isAvailable"]; |
6391 } | 6391 } |
6392 } | 6392 } |
6393 | 6393 |
6394 core.Map toJson() { | 6394 core.Map<core.String, core.Object> toJson() { |
6395 var _json = new core.Map(); | 6395 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6396 if (acsTokenLink != null) { | 6396 if (acsTokenLink != null) { |
6397 _json["acsTokenLink"] = acsTokenLink; | 6397 _json["acsTokenLink"] = acsTokenLink; |
6398 } | 6398 } |
6399 if (downloadLink != null) { | 6399 if (downloadLink != null) { |
6400 _json["downloadLink"] = downloadLink; | 6400 _json["downloadLink"] = downloadLink; |
6401 } | 6401 } |
6402 if (isAvailable != null) { | 6402 if (isAvailable != null) { |
6403 _json["isAvailable"] = isAvailable; | 6403 _json["isAvailable"] = isAvailable; |
6404 } | 6404 } |
6405 return _json; | 6405 return _json; |
(...skipping 19 matching lines...) Expand all Loading... |
6425 acsTokenLink = _json["acsTokenLink"]; | 6425 acsTokenLink = _json["acsTokenLink"]; |
6426 } | 6426 } |
6427 if (_json.containsKey("downloadLink")) { | 6427 if (_json.containsKey("downloadLink")) { |
6428 downloadLink = _json["downloadLink"]; | 6428 downloadLink = _json["downloadLink"]; |
6429 } | 6429 } |
6430 if (_json.containsKey("isAvailable")) { | 6430 if (_json.containsKey("isAvailable")) { |
6431 isAvailable = _json["isAvailable"]; | 6431 isAvailable = _json["isAvailable"]; |
6432 } | 6432 } |
6433 } | 6433 } |
6434 | 6434 |
6435 core.Map toJson() { | 6435 core.Map<core.String, core.Object> toJson() { |
6436 var _json = new core.Map(); | 6436 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6437 if (acsTokenLink != null) { | 6437 if (acsTokenLink != null) { |
6438 _json["acsTokenLink"] = acsTokenLink; | 6438 _json["acsTokenLink"] = acsTokenLink; |
6439 } | 6439 } |
6440 if (downloadLink != null) { | 6440 if (downloadLink != null) { |
6441 _json["downloadLink"] = downloadLink; | 6441 _json["downloadLink"] = downloadLink; |
6442 } | 6442 } |
6443 if (isAvailable != null) { | 6443 if (isAvailable != null) { |
6444 _json["isAvailable"] = isAvailable; | 6444 _json["isAvailable"] = isAvailable; |
6445 } | 6445 } |
6446 return _json; | 6446 return _json; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6555 viewOrderUrl = _json["viewOrderUrl"]; | 6555 viewOrderUrl = _json["viewOrderUrl"]; |
6556 } | 6556 } |
6557 if (_json.containsKey("viewability")) { | 6557 if (_json.containsKey("viewability")) { |
6558 viewability = _json["viewability"]; | 6558 viewability = _json["viewability"]; |
6559 } | 6559 } |
6560 if (_json.containsKey("webReaderLink")) { | 6560 if (_json.containsKey("webReaderLink")) { |
6561 webReaderLink = _json["webReaderLink"]; | 6561 webReaderLink = _json["webReaderLink"]; |
6562 } | 6562 } |
6563 } | 6563 } |
6564 | 6564 |
6565 core.Map toJson() { | 6565 core.Map<core.String, core.Object> toJson() { |
6566 var _json = new core.Map(); | 6566 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6567 if (accessViewStatus != null) { | 6567 if (accessViewStatus != null) { |
6568 _json["accessViewStatus"] = accessViewStatus; | 6568 _json["accessViewStatus"] = accessViewStatus; |
6569 } | 6569 } |
6570 if (country != null) { | 6570 if (country != null) { |
6571 _json["country"] = country; | 6571 _json["country"] = country; |
6572 } | 6572 } |
6573 if (downloadAccess != null) { | 6573 if (downloadAccess != null) { |
6574 _json["downloadAccess"] = (downloadAccess).toJson(); | 6574 _json["downloadAccess"] = (downloadAccess).toJson(); |
6575 } | 6575 } |
6576 if (driveImportedContentLink != null) { | 6576 if (driveImportedContentLink != null) { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6624 | 6624 |
6625 VolumeLayerInfoLayers.fromJson(core.Map _json) { | 6625 VolumeLayerInfoLayers.fromJson(core.Map _json) { |
6626 if (_json.containsKey("layerId")) { | 6626 if (_json.containsKey("layerId")) { |
6627 layerId = _json["layerId"]; | 6627 layerId = _json["layerId"]; |
6628 } | 6628 } |
6629 if (_json.containsKey("volumeAnnotationsVersion")) { | 6629 if (_json.containsKey("volumeAnnotationsVersion")) { |
6630 volumeAnnotationsVersion = _json["volumeAnnotationsVersion"]; | 6630 volumeAnnotationsVersion = _json["volumeAnnotationsVersion"]; |
6631 } | 6631 } |
6632 } | 6632 } |
6633 | 6633 |
6634 core.Map toJson() { | 6634 core.Map<core.String, core.Object> toJson() { |
6635 var _json = new core.Map(); | 6635 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6636 if (layerId != null) { | 6636 if (layerId != null) { |
6637 _json["layerId"] = layerId; | 6637 _json["layerId"] = layerId; |
6638 } | 6638 } |
6639 if (volumeAnnotationsVersion != null) { | 6639 if (volumeAnnotationsVersion != null) { |
6640 _json["volumeAnnotationsVersion"] = volumeAnnotationsVersion; | 6640 _json["volumeAnnotationsVersion"] = volumeAnnotationsVersion; |
6641 } | 6641 } |
6642 return _json; | 6642 return _json; |
6643 } | 6643 } |
6644 } | 6644 } |
6645 | 6645 |
6646 /** What layers exist in this volume and high level information about them. */ | 6646 /** What layers exist in this volume and high level information about them. */ |
6647 class VolumeLayerInfo { | 6647 class VolumeLayerInfo { |
6648 /** | 6648 /** |
6649 * A layer should appear here if and only if the layer exists for this book. | 6649 * A layer should appear here if and only if the layer exists for this book. |
6650 */ | 6650 */ |
6651 core.List<VolumeLayerInfoLayers> layers; | 6651 core.List<VolumeLayerInfoLayers> layers; |
6652 | 6652 |
6653 VolumeLayerInfo(); | 6653 VolumeLayerInfo(); |
6654 | 6654 |
6655 VolumeLayerInfo.fromJson(core.Map _json) { | 6655 VolumeLayerInfo.fromJson(core.Map _json) { |
6656 if (_json.containsKey("layers")) { | 6656 if (_json.containsKey("layers")) { |
6657 layers = _json["layers"].map((value) => new VolumeLayerInfoLayers.fromJson
(value)).toList(); | 6657 layers = _json["layers"].map((value) => new VolumeLayerInfoLayers.fromJson
(value)).toList(); |
6658 } | 6658 } |
6659 } | 6659 } |
6660 | 6660 |
6661 core.Map toJson() { | 6661 core.Map<core.String, core.Object> toJson() { |
6662 var _json = new core.Map(); | 6662 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6663 if (layers != null) { | 6663 if (layers != null) { |
6664 _json["layers"] = layers.map((value) => (value).toJson()).toList(); | 6664 _json["layers"] = layers.map((value) => (value).toJson()).toList(); |
6665 } | 6665 } |
6666 return _json; | 6666 return _json; |
6667 } | 6667 } |
6668 } | 6668 } |
6669 | 6669 |
6670 /** Recommendation related information for this volume. */ | 6670 /** Recommendation related information for this volume. */ |
6671 class VolumeRecommendedInfo { | 6671 class VolumeRecommendedInfo { |
6672 /** A text explaining why this volume is recommended. */ | 6672 /** A text explaining why this volume is recommended. */ |
6673 core.String explanation; | 6673 core.String explanation; |
6674 | 6674 |
6675 VolumeRecommendedInfo(); | 6675 VolumeRecommendedInfo(); |
6676 | 6676 |
6677 VolumeRecommendedInfo.fromJson(core.Map _json) { | 6677 VolumeRecommendedInfo.fromJson(core.Map _json) { |
6678 if (_json.containsKey("explanation")) { | 6678 if (_json.containsKey("explanation")) { |
6679 explanation = _json["explanation"]; | 6679 explanation = _json["explanation"]; |
6680 } | 6680 } |
6681 } | 6681 } |
6682 | 6682 |
6683 core.Map toJson() { | 6683 core.Map<core.String, core.Object> toJson() { |
6684 var _json = new core.Map(); | 6684 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6685 if (explanation != null) { | 6685 if (explanation != null) { |
6686 _json["explanation"] = explanation; | 6686 _json["explanation"] = explanation; |
6687 } | 6687 } |
6688 return _json; | 6688 return _json; |
6689 } | 6689 } |
6690 } | 6690 } |
6691 | 6691 |
6692 /** Suggested retail price. (In LITE projection.) */ | 6692 /** Suggested retail price. (In LITE projection.) */ |
6693 class VolumeSaleInfoListPrice { | 6693 class VolumeSaleInfoListPrice { |
6694 /** Amount in the currency listed below. (In LITE projection.) */ | 6694 /** Amount in the currency listed below. (In LITE projection.) */ |
6695 core.double amount; | 6695 core.double amount; |
6696 /** An ISO 4217, three-letter currency code. (In LITE projection.) */ | 6696 /** An ISO 4217, three-letter currency code. (In LITE projection.) */ |
6697 core.String currencyCode; | 6697 core.String currencyCode; |
6698 | 6698 |
6699 VolumeSaleInfoListPrice(); | 6699 VolumeSaleInfoListPrice(); |
6700 | 6700 |
6701 VolumeSaleInfoListPrice.fromJson(core.Map _json) { | 6701 VolumeSaleInfoListPrice.fromJson(core.Map _json) { |
6702 if (_json.containsKey("amount")) { | 6702 if (_json.containsKey("amount")) { |
6703 amount = _json["amount"]; | 6703 amount = _json["amount"]; |
6704 } | 6704 } |
6705 if (_json.containsKey("currencyCode")) { | 6705 if (_json.containsKey("currencyCode")) { |
6706 currencyCode = _json["currencyCode"]; | 6706 currencyCode = _json["currencyCode"]; |
6707 } | 6707 } |
6708 } | 6708 } |
6709 | 6709 |
6710 core.Map toJson() { | 6710 core.Map<core.String, core.Object> toJson() { |
6711 var _json = new core.Map(); | 6711 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6712 if (amount != null) { | 6712 if (amount != null) { |
6713 _json["amount"] = amount; | 6713 _json["amount"] = amount; |
6714 } | 6714 } |
6715 if (currencyCode != null) { | 6715 if (currencyCode != null) { |
6716 _json["currencyCode"] = currencyCode; | 6716 _json["currencyCode"] = currencyCode; |
6717 } | 6717 } |
6718 return _json; | 6718 return _json; |
6719 } | 6719 } |
6720 } | 6720 } |
6721 | 6721 |
6722 /** Offer list (=undiscounted) price in Micros. */ | 6722 /** Offer list (=undiscounted) price in Micros. */ |
6723 class VolumeSaleInfoOffersListPrice { | 6723 class VolumeSaleInfoOffersListPrice { |
6724 core.double amountInMicros; | 6724 core.double amountInMicros; |
6725 core.String currencyCode; | 6725 core.String currencyCode; |
6726 | 6726 |
6727 VolumeSaleInfoOffersListPrice(); | 6727 VolumeSaleInfoOffersListPrice(); |
6728 | 6728 |
6729 VolumeSaleInfoOffersListPrice.fromJson(core.Map _json) { | 6729 VolumeSaleInfoOffersListPrice.fromJson(core.Map _json) { |
6730 if (_json.containsKey("amountInMicros")) { | 6730 if (_json.containsKey("amountInMicros")) { |
6731 amountInMicros = _json["amountInMicros"]; | 6731 amountInMicros = _json["amountInMicros"]; |
6732 } | 6732 } |
6733 if (_json.containsKey("currencyCode")) { | 6733 if (_json.containsKey("currencyCode")) { |
6734 currencyCode = _json["currencyCode"]; | 6734 currencyCode = _json["currencyCode"]; |
6735 } | 6735 } |
6736 } | 6736 } |
6737 | 6737 |
6738 core.Map toJson() { | 6738 core.Map<core.String, core.Object> toJson() { |
6739 var _json = new core.Map(); | 6739 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6740 if (amountInMicros != null) { | 6740 if (amountInMicros != null) { |
6741 _json["amountInMicros"] = amountInMicros; | 6741 _json["amountInMicros"] = amountInMicros; |
6742 } | 6742 } |
6743 if (currencyCode != null) { | 6743 if (currencyCode != null) { |
6744 _json["currencyCode"] = currencyCode; | 6744 _json["currencyCode"] = currencyCode; |
6745 } | 6745 } |
6746 return _json; | 6746 return _json; |
6747 } | 6747 } |
6748 } | 6748 } |
6749 | 6749 |
6750 /** The rental duration (for rental offers only). */ | 6750 /** The rental duration (for rental offers only). */ |
6751 class VolumeSaleInfoOffersRentalDuration { | 6751 class VolumeSaleInfoOffersRentalDuration { |
6752 core.double count; | 6752 core.double count; |
6753 core.String unit; | 6753 core.String unit; |
6754 | 6754 |
6755 VolumeSaleInfoOffersRentalDuration(); | 6755 VolumeSaleInfoOffersRentalDuration(); |
6756 | 6756 |
6757 VolumeSaleInfoOffersRentalDuration.fromJson(core.Map _json) { | 6757 VolumeSaleInfoOffersRentalDuration.fromJson(core.Map _json) { |
6758 if (_json.containsKey("count")) { | 6758 if (_json.containsKey("count")) { |
6759 count = _json["count"]; | 6759 count = _json["count"]; |
6760 } | 6760 } |
6761 if (_json.containsKey("unit")) { | 6761 if (_json.containsKey("unit")) { |
6762 unit = _json["unit"]; | 6762 unit = _json["unit"]; |
6763 } | 6763 } |
6764 } | 6764 } |
6765 | 6765 |
6766 core.Map toJson() { | 6766 core.Map<core.String, core.Object> toJson() { |
6767 var _json = new core.Map(); | 6767 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6768 if (count != null) { | 6768 if (count != null) { |
6769 _json["count"] = count; | 6769 _json["count"] = count; |
6770 } | 6770 } |
6771 if (unit != null) { | 6771 if (unit != null) { |
6772 _json["unit"] = unit; | 6772 _json["unit"] = unit; |
6773 } | 6773 } |
6774 return _json; | 6774 return _json; |
6775 } | 6775 } |
6776 } | 6776 } |
6777 | 6777 |
6778 /** Offer retail (=discounted) price in Micros */ | 6778 /** Offer retail (=discounted) price in Micros */ |
6779 class VolumeSaleInfoOffersRetailPrice { | 6779 class VolumeSaleInfoOffersRetailPrice { |
6780 core.double amountInMicros; | 6780 core.double amountInMicros; |
6781 core.String currencyCode; | 6781 core.String currencyCode; |
6782 | 6782 |
6783 VolumeSaleInfoOffersRetailPrice(); | 6783 VolumeSaleInfoOffersRetailPrice(); |
6784 | 6784 |
6785 VolumeSaleInfoOffersRetailPrice.fromJson(core.Map _json) { | 6785 VolumeSaleInfoOffersRetailPrice.fromJson(core.Map _json) { |
6786 if (_json.containsKey("amountInMicros")) { | 6786 if (_json.containsKey("amountInMicros")) { |
6787 amountInMicros = _json["amountInMicros"]; | 6787 amountInMicros = _json["amountInMicros"]; |
6788 } | 6788 } |
6789 if (_json.containsKey("currencyCode")) { | 6789 if (_json.containsKey("currencyCode")) { |
6790 currencyCode = _json["currencyCode"]; | 6790 currencyCode = _json["currencyCode"]; |
6791 } | 6791 } |
6792 } | 6792 } |
6793 | 6793 |
6794 core.Map toJson() { | 6794 core.Map<core.String, core.Object> toJson() { |
6795 var _json = new core.Map(); | 6795 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6796 if (amountInMicros != null) { | 6796 if (amountInMicros != null) { |
6797 _json["amountInMicros"] = amountInMicros; | 6797 _json["amountInMicros"] = amountInMicros; |
6798 } | 6798 } |
6799 if (currencyCode != null) { | 6799 if (currencyCode != null) { |
6800 _json["currencyCode"] = currencyCode; | 6800 _json["currencyCode"] = currencyCode; |
6801 } | 6801 } |
6802 return _json; | 6802 return _json; |
6803 } | 6803 } |
6804 } | 6804 } |
6805 | 6805 |
(...skipping 22 matching lines...) Expand all Loading... |
6828 listPrice = new VolumeSaleInfoOffersListPrice.fromJson(_json["listPrice"])
; | 6828 listPrice = new VolumeSaleInfoOffersListPrice.fromJson(_json["listPrice"])
; |
6829 } | 6829 } |
6830 if (_json.containsKey("rentalDuration")) { | 6830 if (_json.containsKey("rentalDuration")) { |
6831 rentalDuration = new VolumeSaleInfoOffersRentalDuration.fromJson(_json["re
ntalDuration"]); | 6831 rentalDuration = new VolumeSaleInfoOffersRentalDuration.fromJson(_json["re
ntalDuration"]); |
6832 } | 6832 } |
6833 if (_json.containsKey("retailPrice")) { | 6833 if (_json.containsKey("retailPrice")) { |
6834 retailPrice = new VolumeSaleInfoOffersRetailPrice.fromJson(_json["retailPr
ice"]); | 6834 retailPrice = new VolumeSaleInfoOffersRetailPrice.fromJson(_json["retailPr
ice"]); |
6835 } | 6835 } |
6836 } | 6836 } |
6837 | 6837 |
6838 core.Map toJson() { | 6838 core.Map<core.String, core.Object> toJson() { |
6839 var _json = new core.Map(); | 6839 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6840 if (finskyOfferType != null) { | 6840 if (finskyOfferType != null) { |
6841 _json["finskyOfferType"] = finskyOfferType; | 6841 _json["finskyOfferType"] = finskyOfferType; |
6842 } | 6842 } |
6843 if (giftable != null) { | 6843 if (giftable != null) { |
6844 _json["giftable"] = giftable; | 6844 _json["giftable"] = giftable; |
6845 } | 6845 } |
6846 if (listPrice != null) { | 6846 if (listPrice != null) { |
6847 _json["listPrice"] = (listPrice).toJson(); | 6847 _json["listPrice"] = (listPrice).toJson(); |
6848 } | 6848 } |
6849 if (rentalDuration != null) { | 6849 if (rentalDuration != null) { |
(...skipping 21 matching lines...) Expand all Loading... |
6871 | 6871 |
6872 VolumeSaleInfoRetailPrice.fromJson(core.Map _json) { | 6872 VolumeSaleInfoRetailPrice.fromJson(core.Map _json) { |
6873 if (_json.containsKey("amount")) { | 6873 if (_json.containsKey("amount")) { |
6874 amount = _json["amount"]; | 6874 amount = _json["amount"]; |
6875 } | 6875 } |
6876 if (_json.containsKey("currencyCode")) { | 6876 if (_json.containsKey("currencyCode")) { |
6877 currencyCode = _json["currencyCode"]; | 6877 currencyCode = _json["currencyCode"]; |
6878 } | 6878 } |
6879 } | 6879 } |
6880 | 6880 |
6881 core.Map toJson() { | 6881 core.Map<core.String, core.Object> toJson() { |
6882 var _json = new core.Map(); | 6882 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6883 if (amount != null) { | 6883 if (amount != null) { |
6884 _json["amount"] = amount; | 6884 _json["amount"] = amount; |
6885 } | 6885 } |
6886 if (currencyCode != null) { | 6886 if (currencyCode != null) { |
6887 _json["currencyCode"] = currencyCode; | 6887 _json["currencyCode"] = currencyCode; |
6888 } | 6888 } |
6889 return _json; | 6889 return _json; |
6890 } | 6890 } |
6891 } | 6891 } |
6892 | 6892 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6952 onSaleDate = core.DateTime.parse(_json["onSaleDate"]); | 6952 onSaleDate = core.DateTime.parse(_json["onSaleDate"]); |
6953 } | 6953 } |
6954 if (_json.containsKey("retailPrice")) { | 6954 if (_json.containsKey("retailPrice")) { |
6955 retailPrice = new VolumeSaleInfoRetailPrice.fromJson(_json["retailPrice"])
; | 6955 retailPrice = new VolumeSaleInfoRetailPrice.fromJson(_json["retailPrice"])
; |
6956 } | 6956 } |
6957 if (_json.containsKey("saleability")) { | 6957 if (_json.containsKey("saleability")) { |
6958 saleability = _json["saleability"]; | 6958 saleability = _json["saleability"]; |
6959 } | 6959 } |
6960 } | 6960 } |
6961 | 6961 |
6962 core.Map toJson() { | 6962 core.Map<core.String, core.Object> toJson() { |
6963 var _json = new core.Map(); | 6963 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6964 if (buyLink != null) { | 6964 if (buyLink != null) { |
6965 _json["buyLink"] = buyLink; | 6965 _json["buyLink"] = buyLink; |
6966 } | 6966 } |
6967 if (country != null) { | 6967 if (country != null) { |
6968 _json["country"] = country; | 6968 _json["country"] = country; |
6969 } | 6969 } |
6970 if (isEbook != null) { | 6970 if (isEbook != null) { |
6971 _json["isEbook"] = isEbook; | 6971 _json["isEbook"] = isEbook; |
6972 } | 6972 } |
6973 if (listPrice != null) { | 6973 if (listPrice != null) { |
(...skipping 21 matching lines...) Expand all Loading... |
6995 core.String textSnippet; | 6995 core.String textSnippet; |
6996 | 6996 |
6997 VolumeSearchInfo(); | 6997 VolumeSearchInfo(); |
6998 | 6998 |
6999 VolumeSearchInfo.fromJson(core.Map _json) { | 6999 VolumeSearchInfo.fromJson(core.Map _json) { |
7000 if (_json.containsKey("textSnippet")) { | 7000 if (_json.containsKey("textSnippet")) { |
7001 textSnippet = _json["textSnippet"]; | 7001 textSnippet = _json["textSnippet"]; |
7002 } | 7002 } |
7003 } | 7003 } |
7004 | 7004 |
7005 core.Map toJson() { | 7005 core.Map<core.String, core.Object> toJson() { |
7006 var _json = new core.Map(); | 7006 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7007 if (textSnippet != null) { | 7007 if (textSnippet != null) { |
7008 _json["textSnippet"] = textSnippet; | 7008 _json["textSnippet"] = textSnippet; |
7009 } | 7009 } |
7010 return _json; | 7010 return _json; |
7011 } | 7011 } |
7012 } | 7012 } |
7013 | 7013 |
7014 /** Copy/Paste accounting information. */ | 7014 /** Copy/Paste accounting information. */ |
7015 class VolumeUserInfoCopy { | 7015 class VolumeUserInfoCopy { |
7016 core.int allowedCharacterCount; | 7016 core.int allowedCharacterCount; |
(...skipping 11 matching lines...) Expand all Loading... |
7028 limitType = _json["limitType"]; | 7028 limitType = _json["limitType"]; |
7029 } | 7029 } |
7030 if (_json.containsKey("remainingCharacterCount")) { | 7030 if (_json.containsKey("remainingCharacterCount")) { |
7031 remainingCharacterCount = _json["remainingCharacterCount"]; | 7031 remainingCharacterCount = _json["remainingCharacterCount"]; |
7032 } | 7032 } |
7033 if (_json.containsKey("updated")) { | 7033 if (_json.containsKey("updated")) { |
7034 updated = core.DateTime.parse(_json["updated"]); | 7034 updated = core.DateTime.parse(_json["updated"]); |
7035 } | 7035 } |
7036 } | 7036 } |
7037 | 7037 |
7038 core.Map toJson() { | 7038 core.Map<core.String, core.Object> toJson() { |
7039 var _json = new core.Map(); | 7039 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7040 if (allowedCharacterCount != null) { | 7040 if (allowedCharacterCount != null) { |
7041 _json["allowedCharacterCount"] = allowedCharacterCount; | 7041 _json["allowedCharacterCount"] = allowedCharacterCount; |
7042 } | 7042 } |
7043 if (limitType != null) { | 7043 if (limitType != null) { |
7044 _json["limitType"] = limitType; | 7044 _json["limitType"] = limitType; |
7045 } | 7045 } |
7046 if (remainingCharacterCount != null) { | 7046 if (remainingCharacterCount != null) { |
7047 _json["remainingCharacterCount"] = remainingCharacterCount; | 7047 _json["remainingCharacterCount"] = remainingCharacterCount; |
7048 } | 7048 } |
7049 if (updated != null) { | 7049 if (updated != null) { |
(...skipping 26 matching lines...) Expand all Loading... |
7076 familyRole = _json["familyRole"]; | 7076 familyRole = _json["familyRole"]; |
7077 } | 7077 } |
7078 if (_json.containsKey("isSharingAllowed")) { | 7078 if (_json.containsKey("isSharingAllowed")) { |
7079 isSharingAllowed = _json["isSharingAllowed"]; | 7079 isSharingAllowed = _json["isSharingAllowed"]; |
7080 } | 7080 } |
7081 if (_json.containsKey("isSharingDisabledByFop")) { | 7081 if (_json.containsKey("isSharingDisabledByFop")) { |
7082 isSharingDisabledByFop = _json["isSharingDisabledByFop"]; | 7082 isSharingDisabledByFop = _json["isSharingDisabledByFop"]; |
7083 } | 7083 } |
7084 } | 7084 } |
7085 | 7085 |
7086 core.Map toJson() { | 7086 core.Map<core.String, core.Object> toJson() { |
7087 var _json = new core.Map(); | 7087 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7088 if (familyRole != null) { | 7088 if (familyRole != null) { |
7089 _json["familyRole"] = familyRole; | 7089 _json["familyRole"] = familyRole; |
7090 } | 7090 } |
7091 if (isSharingAllowed != null) { | 7091 if (isSharingAllowed != null) { |
7092 _json["isSharingAllowed"] = isSharingAllowed; | 7092 _json["isSharingAllowed"] = isSharingAllowed; |
7093 } | 7093 } |
7094 if (isSharingDisabledByFop != null) { | 7094 if (isSharingDisabledByFop != null) { |
7095 _json["isSharingDisabledByFop"] = isSharingDisabledByFop; | 7095 _json["isSharingDisabledByFop"] = isSharingDisabledByFop; |
7096 } | 7096 } |
7097 return _json; | 7097 return _json; |
7098 } | 7098 } |
7099 } | 7099 } |
7100 | 7100 |
7101 /** Period during this book is/was a valid rental. */ | 7101 /** Period during this book is/was a valid rental. */ |
7102 class VolumeUserInfoRentalPeriod { | 7102 class VolumeUserInfoRentalPeriod { |
7103 core.String endUtcSec; | 7103 core.String endUtcSec; |
7104 core.String startUtcSec; | 7104 core.String startUtcSec; |
7105 | 7105 |
7106 VolumeUserInfoRentalPeriod(); | 7106 VolumeUserInfoRentalPeriod(); |
7107 | 7107 |
7108 VolumeUserInfoRentalPeriod.fromJson(core.Map _json) { | 7108 VolumeUserInfoRentalPeriod.fromJson(core.Map _json) { |
7109 if (_json.containsKey("endUtcSec")) { | 7109 if (_json.containsKey("endUtcSec")) { |
7110 endUtcSec = _json["endUtcSec"]; | 7110 endUtcSec = _json["endUtcSec"]; |
7111 } | 7111 } |
7112 if (_json.containsKey("startUtcSec")) { | 7112 if (_json.containsKey("startUtcSec")) { |
7113 startUtcSec = _json["startUtcSec"]; | 7113 startUtcSec = _json["startUtcSec"]; |
7114 } | 7114 } |
7115 } | 7115 } |
7116 | 7116 |
7117 core.Map toJson() { | 7117 core.Map<core.String, core.Object> toJson() { |
7118 var _json = new core.Map(); | 7118 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7119 if (endUtcSec != null) { | 7119 if (endUtcSec != null) { |
7120 _json["endUtcSec"] = endUtcSec; | 7120 _json["endUtcSec"] = endUtcSec; |
7121 } | 7121 } |
7122 if (startUtcSec != null) { | 7122 if (startUtcSec != null) { |
7123 _json["startUtcSec"] = startUtcSec; | 7123 _json["startUtcSec"] = startUtcSec; |
7124 } | 7124 } |
7125 return _json; | 7125 return _json; |
7126 } | 7126 } |
7127 } | 7127 } |
7128 | 7128 |
7129 class VolumeUserInfoUserUploadedVolumeInfo { | 7129 class VolumeUserInfoUserUploadedVolumeInfo { |
7130 core.String processingState; | 7130 core.String processingState; |
7131 | 7131 |
7132 VolumeUserInfoUserUploadedVolumeInfo(); | 7132 VolumeUserInfoUserUploadedVolumeInfo(); |
7133 | 7133 |
7134 VolumeUserInfoUserUploadedVolumeInfo.fromJson(core.Map _json) { | 7134 VolumeUserInfoUserUploadedVolumeInfo.fromJson(core.Map _json) { |
7135 if (_json.containsKey("processingState")) { | 7135 if (_json.containsKey("processingState")) { |
7136 processingState = _json["processingState"]; | 7136 processingState = _json["processingState"]; |
7137 } | 7137 } |
7138 } | 7138 } |
7139 | 7139 |
7140 core.Map toJson() { | 7140 core.Map<core.String, core.Object> toJson() { |
7141 var _json = new core.Map(); | 7141 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7142 if (processingState != null) { | 7142 if (processingState != null) { |
7143 _json["processingState"] = processingState; | 7143 _json["processingState"] = processingState; |
7144 } | 7144 } |
7145 return _json; | 7145 return _json; |
7146 } | 7146 } |
7147 } | 7147 } |
7148 | 7148 |
7149 /** | 7149 /** |
7150 * User specific information related to this volume. (e.g. page this user last | 7150 * User specific information related to this volume. (e.g. page this user last |
7151 * read or whether they purchased this book) | 7151 * read or whether they purchased this book) |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7261 review = new Review.fromJson(_json["review"]); | 7261 review = new Review.fromJson(_json["review"]); |
7262 } | 7262 } |
7263 if (_json.containsKey("updated")) { | 7263 if (_json.containsKey("updated")) { |
7264 updated = core.DateTime.parse(_json["updated"]); | 7264 updated = core.DateTime.parse(_json["updated"]); |
7265 } | 7265 } |
7266 if (_json.containsKey("userUploadedVolumeInfo")) { | 7266 if (_json.containsKey("userUploadedVolumeInfo")) { |
7267 userUploadedVolumeInfo = new VolumeUserInfoUserUploadedVolumeInfo.fromJson
(_json["userUploadedVolumeInfo"]); | 7267 userUploadedVolumeInfo = new VolumeUserInfoUserUploadedVolumeInfo.fromJson
(_json["userUploadedVolumeInfo"]); |
7268 } | 7268 } |
7269 } | 7269 } |
7270 | 7270 |
7271 core.Map toJson() { | 7271 core.Map<core.String, core.Object> toJson() { |
7272 var _json = new core.Map(); | 7272 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7273 if (acquiredTime != null) { | 7273 if (acquiredTime != null) { |
7274 _json["acquiredTime"] = (acquiredTime).toIso8601String(); | 7274 _json["acquiredTime"] = (acquiredTime).toIso8601String(); |
7275 } | 7275 } |
7276 if (acquisitionType != null) { | 7276 if (acquisitionType != null) { |
7277 _json["acquisitionType"] = acquisitionType; | 7277 _json["acquisitionType"] = acquisitionType; |
7278 } | 7278 } |
7279 if (copy != null) { | 7279 if (copy != null) { |
7280 _json["copy"] = (copy).toJson(); | 7280 _json["copy"] = (copy).toJson(); |
7281 } | 7281 } |
7282 if (entitlementType != null) { | 7282 if (entitlementType != null) { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7347 height = _json["height"]; | 7347 height = _json["height"]; |
7348 } | 7348 } |
7349 if (_json.containsKey("thickness")) { | 7349 if (_json.containsKey("thickness")) { |
7350 thickness = _json["thickness"]; | 7350 thickness = _json["thickness"]; |
7351 } | 7351 } |
7352 if (_json.containsKey("width")) { | 7352 if (_json.containsKey("width")) { |
7353 width = _json["width"]; | 7353 width = _json["width"]; |
7354 } | 7354 } |
7355 } | 7355 } |
7356 | 7356 |
7357 core.Map toJson() { | 7357 core.Map<core.String, core.Object> toJson() { |
7358 var _json = new core.Map(); | 7358 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7359 if (height != null) { | 7359 if (height != null) { |
7360 _json["height"] = height; | 7360 _json["height"] = height; |
7361 } | 7361 } |
7362 if (thickness != null) { | 7362 if (thickness != null) { |
7363 _json["thickness"] = thickness; | 7363 _json["thickness"] = thickness; |
7364 } | 7364 } |
7365 if (width != null) { | 7365 if (width != null) { |
7366 _json["width"] = width; | 7366 _json["width"] = width; |
7367 } | 7367 } |
7368 return _json; | 7368 return _json; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7413 small = _json["small"]; | 7413 small = _json["small"]; |
7414 } | 7414 } |
7415 if (_json.containsKey("smallThumbnail")) { | 7415 if (_json.containsKey("smallThumbnail")) { |
7416 smallThumbnail = _json["smallThumbnail"]; | 7416 smallThumbnail = _json["smallThumbnail"]; |
7417 } | 7417 } |
7418 if (_json.containsKey("thumbnail")) { | 7418 if (_json.containsKey("thumbnail")) { |
7419 thumbnail = _json["thumbnail"]; | 7419 thumbnail = _json["thumbnail"]; |
7420 } | 7420 } |
7421 } | 7421 } |
7422 | 7422 |
7423 core.Map toJson() { | 7423 core.Map<core.String, core.Object> toJson() { |
7424 var _json = new core.Map(); | 7424 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7425 if (extraLarge != null) { | 7425 if (extraLarge != null) { |
7426 _json["extraLarge"] = extraLarge; | 7426 _json["extraLarge"] = extraLarge; |
7427 } | 7427 } |
7428 if (large != null) { | 7428 if (large != null) { |
7429 _json["large"] = large; | 7429 _json["large"] = large; |
7430 } | 7430 } |
7431 if (medium != null) { | 7431 if (medium != null) { |
7432 _json["medium"] = medium; | 7432 _json["medium"] = medium; |
7433 } | 7433 } |
7434 if (small != null) { | 7434 if (small != null) { |
(...skipping 19 matching lines...) Expand all Loading... |
7454 | 7454 |
7455 VolumeVolumeInfoIndustryIdentifiers.fromJson(core.Map _json) { | 7455 VolumeVolumeInfoIndustryIdentifiers.fromJson(core.Map _json) { |
7456 if (_json.containsKey("identifier")) { | 7456 if (_json.containsKey("identifier")) { |
7457 identifier = _json["identifier"]; | 7457 identifier = _json["identifier"]; |
7458 } | 7458 } |
7459 if (_json.containsKey("type")) { | 7459 if (_json.containsKey("type")) { |
7460 type = _json["type"]; | 7460 type = _json["type"]; |
7461 } | 7461 } |
7462 } | 7462 } |
7463 | 7463 |
7464 core.Map toJson() { | 7464 core.Map<core.String, core.Object> toJson() { |
7465 var _json = new core.Map(); | 7465 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7466 if (identifier != null) { | 7466 if (identifier != null) { |
7467 _json["identifier"] = identifier; | 7467 _json["identifier"] = identifier; |
7468 } | 7468 } |
7469 if (type != null) { | 7469 if (type != null) { |
7470 _json["type"] = type; | 7470 _json["type"] = type; |
7471 } | 7471 } |
7472 return _json; | 7472 return _json; |
7473 } | 7473 } |
7474 } | 7474 } |
7475 | 7475 |
(...skipping 14 matching lines...) Expand all Loading... |
7490 containsImageBubbles = _json["containsImageBubbles"]; | 7490 containsImageBubbles = _json["containsImageBubbles"]; |
7491 } | 7491 } |
7492 if (_json.containsKey("epubBubbleVersion")) { | 7492 if (_json.containsKey("epubBubbleVersion")) { |
7493 epubBubbleVersion = _json["epubBubbleVersion"]; | 7493 epubBubbleVersion = _json["epubBubbleVersion"]; |
7494 } | 7494 } |
7495 if (_json.containsKey("imageBubbleVersion")) { | 7495 if (_json.containsKey("imageBubbleVersion")) { |
7496 imageBubbleVersion = _json["imageBubbleVersion"]; | 7496 imageBubbleVersion = _json["imageBubbleVersion"]; |
7497 } | 7497 } |
7498 } | 7498 } |
7499 | 7499 |
7500 core.Map toJson() { | 7500 core.Map<core.String, core.Object> toJson() { |
7501 var _json = new core.Map(); | 7501 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7502 if (containsEpubBubbles != null) { | 7502 if (containsEpubBubbles != null) { |
7503 _json["containsEpubBubbles"] = containsEpubBubbles; | 7503 _json["containsEpubBubbles"] = containsEpubBubbles; |
7504 } | 7504 } |
7505 if (containsImageBubbles != null) { | 7505 if (containsImageBubbles != null) { |
7506 _json["containsImageBubbles"] = containsImageBubbles; | 7506 _json["containsImageBubbles"] = containsImageBubbles; |
7507 } | 7507 } |
7508 if (epubBubbleVersion != null) { | 7508 if (epubBubbleVersion != null) { |
7509 _json["epubBubbleVersion"] = epubBubbleVersion; | 7509 _json["epubBubbleVersion"] = epubBubbleVersion; |
7510 } | 7510 } |
7511 if (imageBubbleVersion != null) { | 7511 if (imageBubbleVersion != null) { |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7678 seriesInfo = new Volumeseriesinfo.fromJson(_json["seriesInfo"]); | 7678 seriesInfo = new Volumeseriesinfo.fromJson(_json["seriesInfo"]); |
7679 } | 7679 } |
7680 if (_json.containsKey("subtitle")) { | 7680 if (_json.containsKey("subtitle")) { |
7681 subtitle = _json["subtitle"]; | 7681 subtitle = _json["subtitle"]; |
7682 } | 7682 } |
7683 if (_json.containsKey("title")) { | 7683 if (_json.containsKey("title")) { |
7684 title = _json["title"]; | 7684 title = _json["title"]; |
7685 } | 7685 } |
7686 } | 7686 } |
7687 | 7687 |
7688 core.Map toJson() { | 7688 core.Map<core.String, core.Object> toJson() { |
7689 var _json = new core.Map(); | 7689 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7690 if (allowAnonLogging != null) { | 7690 if (allowAnonLogging != null) { |
7691 _json["allowAnonLogging"] = allowAnonLogging; | 7691 _json["allowAnonLogging"] = allowAnonLogging; |
7692 } | 7692 } |
7693 if (authors != null) { | 7693 if (authors != null) { |
7694 _json["authors"] = authors; | 7694 _json["authors"] = authors; |
7695 } | 7695 } |
7696 if (averageRating != null) { | 7696 if (averageRating != null) { |
7697 _json["averageRating"] = averageRating; | 7697 _json["averageRating"] = averageRating; |
7698 } | 7698 } |
7699 if (canonicalVolumeLink != null) { | 7699 if (canonicalVolumeLink != null) { |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7844 selfLink = _json["selfLink"]; | 7844 selfLink = _json["selfLink"]; |
7845 } | 7845 } |
7846 if (_json.containsKey("userInfo")) { | 7846 if (_json.containsKey("userInfo")) { |
7847 userInfo = new VolumeUserInfo.fromJson(_json["userInfo"]); | 7847 userInfo = new VolumeUserInfo.fromJson(_json["userInfo"]); |
7848 } | 7848 } |
7849 if (_json.containsKey("volumeInfo")) { | 7849 if (_json.containsKey("volumeInfo")) { |
7850 volumeInfo = new VolumeVolumeInfo.fromJson(_json["volumeInfo"]); | 7850 volumeInfo = new VolumeVolumeInfo.fromJson(_json["volumeInfo"]); |
7851 } | 7851 } |
7852 } | 7852 } |
7853 | 7853 |
7854 core.Map toJson() { | 7854 core.Map<core.String, core.Object> toJson() { |
7855 var _json = new core.Map(); | 7855 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7856 if (accessInfo != null) { | 7856 if (accessInfo != null) { |
7857 _json["accessInfo"] = (accessInfo).toJson(); | 7857 _json["accessInfo"] = (accessInfo).toJson(); |
7858 } | 7858 } |
7859 if (etag != null) { | 7859 if (etag != null) { |
7860 _json["etag"] = etag; | 7860 _json["etag"] = etag; |
7861 } | 7861 } |
7862 if (id != null) { | 7862 if (id != null) { |
7863 _json["id"] = id; | 7863 _json["id"] = id; |
7864 } | 7864 } |
7865 if (kind != null) { | 7865 if (kind != null) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7904 items = _json["items"].map((value) => new Volume.fromJson(value)).toList()
; | 7904 items = _json["items"].map((value) => new Volume.fromJson(value)).toList()
; |
7905 } | 7905 } |
7906 if (_json.containsKey("kind")) { | 7906 if (_json.containsKey("kind")) { |
7907 kind = _json["kind"]; | 7907 kind = _json["kind"]; |
7908 } | 7908 } |
7909 if (_json.containsKey("nextPageToken")) { | 7909 if (_json.containsKey("nextPageToken")) { |
7910 nextPageToken = _json["nextPageToken"]; | 7910 nextPageToken = _json["nextPageToken"]; |
7911 } | 7911 } |
7912 } | 7912 } |
7913 | 7913 |
7914 core.Map toJson() { | 7914 core.Map<core.String, core.Object> toJson() { |
7915 var _json = new core.Map(); | 7915 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7916 if (items != null) { | 7916 if (items != null) { |
7917 _json["items"] = items.map((value) => (value).toJson()).toList(); | 7917 _json["items"] = items.map((value) => (value).toJson()).toList(); |
7918 } | 7918 } |
7919 if (kind != null) { | 7919 if (kind != null) { |
7920 _json["kind"] = kind; | 7920 _json["kind"] = kind; |
7921 } | 7921 } |
7922 if (nextPageToken != null) { | 7922 if (nextPageToken != null) { |
7923 _json["nextPageToken"] = nextPageToken; | 7923 _json["nextPageToken"] = nextPageToken; |
7924 } | 7924 } |
7925 return _json; | 7925 return _json; |
(...skipping 21 matching lines...) Expand all Loading... |
7947 contentVersion = _json["contentVersion"]; | 7947 contentVersion = _json["contentVersion"]; |
7948 } | 7948 } |
7949 if (_json.containsKey("gbImageRange")) { | 7949 if (_json.containsKey("gbImageRange")) { |
7950 gbImageRange = new BooksAnnotationsRange.fromJson(_json["gbImageRange"]); | 7950 gbImageRange = new BooksAnnotationsRange.fromJson(_json["gbImageRange"]); |
7951 } | 7951 } |
7952 if (_json.containsKey("gbTextRange")) { | 7952 if (_json.containsKey("gbTextRange")) { |
7953 gbTextRange = new BooksAnnotationsRange.fromJson(_json["gbTextRange"]); | 7953 gbTextRange = new BooksAnnotationsRange.fromJson(_json["gbTextRange"]); |
7954 } | 7954 } |
7955 } | 7955 } |
7956 | 7956 |
7957 core.Map toJson() { | 7957 core.Map<core.String, core.Object> toJson() { |
7958 var _json = new core.Map(); | 7958 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7959 if (cfiRange != null) { | 7959 if (cfiRange != null) { |
7960 _json["cfiRange"] = (cfiRange).toJson(); | 7960 _json["cfiRange"] = (cfiRange).toJson(); |
7961 } | 7961 } |
7962 if (contentVersion != null) { | 7962 if (contentVersion != null) { |
7963 _json["contentVersion"] = contentVersion; | 7963 _json["contentVersion"] = contentVersion; |
7964 } | 7964 } |
7965 if (gbImageRange != null) { | 7965 if (gbImageRange != null) { |
7966 _json["gbImageRange"] = (gbImageRange).toJson(); | 7966 _json["gbImageRange"] = (gbImageRange).toJson(); |
7967 } | 7967 } |
7968 if (gbTextRange != null) { | 7968 if (gbTextRange != null) { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8045 selfLink = _json["selfLink"]; | 8045 selfLink = _json["selfLink"]; |
8046 } | 8046 } |
8047 if (_json.containsKey("updated")) { | 8047 if (_json.containsKey("updated")) { |
8048 updated = core.DateTime.parse(_json["updated"]); | 8048 updated = core.DateTime.parse(_json["updated"]); |
8049 } | 8049 } |
8050 if (_json.containsKey("volumeId")) { | 8050 if (_json.containsKey("volumeId")) { |
8051 volumeId = _json["volumeId"]; | 8051 volumeId = _json["volumeId"]; |
8052 } | 8052 } |
8053 } | 8053 } |
8054 | 8054 |
8055 core.Map toJson() { | 8055 core.Map<core.String, core.Object> toJson() { |
8056 var _json = new core.Map(); | 8056 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8057 if (annotationDataId != null) { | 8057 if (annotationDataId != null) { |
8058 _json["annotationDataId"] = annotationDataId; | 8058 _json["annotationDataId"] = annotationDataId; |
8059 } | 8059 } |
8060 if (annotationDataLink != null) { | 8060 if (annotationDataLink != null) { |
8061 _json["annotationDataLink"] = annotationDataLink; | 8061 _json["annotationDataLink"] = annotationDataLink; |
8062 } | 8062 } |
8063 if (annotationType != null) { | 8063 if (annotationType != null) { |
8064 _json["annotationType"] = annotationType; | 8064 _json["annotationType"] = annotationType; |
8065 } | 8065 } |
8066 if (contentRanges != null) { | 8066 if (contentRanges != null) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8133 nextPageToken = _json["nextPageToken"]; | 8133 nextPageToken = _json["nextPageToken"]; |
8134 } | 8134 } |
8135 if (_json.containsKey("totalItems")) { | 8135 if (_json.containsKey("totalItems")) { |
8136 totalItems = _json["totalItems"]; | 8136 totalItems = _json["totalItems"]; |
8137 } | 8137 } |
8138 if (_json.containsKey("version")) { | 8138 if (_json.containsKey("version")) { |
8139 version = _json["version"]; | 8139 version = _json["version"]; |
8140 } | 8140 } |
8141 } | 8141 } |
8142 | 8142 |
8143 core.Map toJson() { | 8143 core.Map<core.String, core.Object> toJson() { |
8144 var _json = new core.Map(); | 8144 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8145 if (items != null) { | 8145 if (items != null) { |
8146 _json["items"] = items.map((value) => (value).toJson()).toList(); | 8146 _json["items"] = items.map((value) => (value).toJson()).toList(); |
8147 } | 8147 } |
8148 if (kind != null) { | 8148 if (kind != null) { |
8149 _json["kind"] = kind; | 8149 _json["kind"] = kind; |
8150 } | 8150 } |
8151 if (nextPageToken != null) { | 8151 if (nextPageToken != null) { |
8152 _json["nextPageToken"] = nextPageToken; | 8152 _json["nextPageToken"] = nextPageToken; |
8153 } | 8153 } |
8154 if (totalItems != null) { | 8154 if (totalItems != null) { |
(...skipping 24 matching lines...) Expand all Loading... |
8179 items = _json["items"].map((value) => new Volume.fromJson(value)).toList()
; | 8179 items = _json["items"].map((value) => new Volume.fromJson(value)).toList()
; |
8180 } | 8180 } |
8181 if (_json.containsKey("kind")) { | 8181 if (_json.containsKey("kind")) { |
8182 kind = _json["kind"]; | 8182 kind = _json["kind"]; |
8183 } | 8183 } |
8184 if (_json.containsKey("totalItems")) { | 8184 if (_json.containsKey("totalItems")) { |
8185 totalItems = _json["totalItems"]; | 8185 totalItems = _json["totalItems"]; |
8186 } | 8186 } |
8187 } | 8187 } |
8188 | 8188 |
8189 core.Map toJson() { | 8189 core.Map<core.String, core.Object> toJson() { |
8190 var _json = new core.Map(); | 8190 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8191 if (items != null) { | 8191 if (items != null) { |
8192 _json["items"] = items.map((value) => (value).toJson()).toList(); | 8192 _json["items"] = items.map((value) => (value).toJson()).toList(); |
8193 } | 8193 } |
8194 if (kind != null) { | 8194 if (kind != null) { |
8195 _json["kind"] = kind; | 8195 _json["kind"] = kind; |
8196 } | 8196 } |
8197 if (totalItems != null) { | 8197 if (totalItems != null) { |
8198 _json["totalItems"] = totalItems; | 8198 _json["totalItems"] = totalItems; |
8199 } | 8199 } |
8200 return _json; | 8200 return _json; |
8201 } | 8201 } |
8202 } | 8202 } |
8203 | 8203 |
8204 class VolumeseriesinfoVolumeSeriesIssue { | 8204 class VolumeseriesinfoVolumeSeriesIssue { |
8205 core.String issueDisplayNumber; | 8205 core.String issueDisplayNumber; |
8206 core.int issueOrderNumber; | 8206 core.int issueOrderNumber; |
8207 | 8207 |
8208 VolumeseriesinfoVolumeSeriesIssue(); | 8208 VolumeseriesinfoVolumeSeriesIssue(); |
8209 | 8209 |
8210 VolumeseriesinfoVolumeSeriesIssue.fromJson(core.Map _json) { | 8210 VolumeseriesinfoVolumeSeriesIssue.fromJson(core.Map _json) { |
8211 if (_json.containsKey("issueDisplayNumber")) { | 8211 if (_json.containsKey("issueDisplayNumber")) { |
8212 issueDisplayNumber = _json["issueDisplayNumber"]; | 8212 issueDisplayNumber = _json["issueDisplayNumber"]; |
8213 } | 8213 } |
8214 if (_json.containsKey("issueOrderNumber")) { | 8214 if (_json.containsKey("issueOrderNumber")) { |
8215 issueOrderNumber = _json["issueOrderNumber"]; | 8215 issueOrderNumber = _json["issueOrderNumber"]; |
8216 } | 8216 } |
8217 } | 8217 } |
8218 | 8218 |
8219 core.Map toJson() { | 8219 core.Map<core.String, core.Object> toJson() { |
8220 var _json = new core.Map(); | 8220 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8221 if (issueDisplayNumber != null) { | 8221 if (issueDisplayNumber != null) { |
8222 _json["issueDisplayNumber"] = issueDisplayNumber; | 8222 _json["issueDisplayNumber"] = issueDisplayNumber; |
8223 } | 8223 } |
8224 if (issueOrderNumber != null) { | 8224 if (issueOrderNumber != null) { |
8225 _json["issueOrderNumber"] = issueOrderNumber; | 8225 _json["issueOrderNumber"] = issueOrderNumber; |
8226 } | 8226 } |
8227 return _json; | 8227 return _json; |
8228 } | 8228 } |
8229 } | 8229 } |
8230 | 8230 |
(...skipping 20 matching lines...) Expand all Loading... |
8251 orderNumber = _json["orderNumber"]; | 8251 orderNumber = _json["orderNumber"]; |
8252 } | 8252 } |
8253 if (_json.containsKey("seriesBookType")) { | 8253 if (_json.containsKey("seriesBookType")) { |
8254 seriesBookType = _json["seriesBookType"]; | 8254 seriesBookType = _json["seriesBookType"]; |
8255 } | 8255 } |
8256 if (_json.containsKey("seriesId")) { | 8256 if (_json.containsKey("seriesId")) { |
8257 seriesId = _json["seriesId"]; | 8257 seriesId = _json["seriesId"]; |
8258 } | 8258 } |
8259 } | 8259 } |
8260 | 8260 |
8261 core.Map toJson() { | 8261 core.Map<core.String, core.Object> toJson() { |
8262 var _json = new core.Map(); | 8262 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8263 if (issue != null) { | 8263 if (issue != null) { |
8264 _json["issue"] = issue.map((value) => (value).toJson()).toList(); | 8264 _json["issue"] = issue.map((value) => (value).toJson()).toList(); |
8265 } | 8265 } |
8266 if (orderNumber != null) { | 8266 if (orderNumber != null) { |
8267 _json["orderNumber"] = orderNumber; | 8267 _json["orderNumber"] = orderNumber; |
8268 } | 8268 } |
8269 if (seriesBookType != null) { | 8269 if (seriesBookType != null) { |
8270 _json["seriesBookType"] = seriesBookType; | 8270 _json["seriesBookType"] = seriesBookType; |
8271 } | 8271 } |
8272 if (seriesId != null) { | 8272 if (seriesId != null) { |
(...skipping 25 matching lines...) Expand all Loading... |
8298 kind = _json["kind"]; | 8298 kind = _json["kind"]; |
8299 } | 8299 } |
8300 if (_json.containsKey("shortSeriesBookTitle")) { | 8300 if (_json.containsKey("shortSeriesBookTitle")) { |
8301 shortSeriesBookTitle = _json["shortSeriesBookTitle"]; | 8301 shortSeriesBookTitle = _json["shortSeriesBookTitle"]; |
8302 } | 8302 } |
8303 if (_json.containsKey("volumeSeries")) { | 8303 if (_json.containsKey("volumeSeries")) { |
8304 volumeSeries = _json["volumeSeries"].map((value) => new VolumeseriesinfoVo
lumeSeries.fromJson(value)).toList(); | 8304 volumeSeries = _json["volumeSeries"].map((value) => new VolumeseriesinfoVo
lumeSeries.fromJson(value)).toList(); |
8305 } | 8305 } |
8306 } | 8306 } |
8307 | 8307 |
8308 core.Map toJson() { | 8308 core.Map<core.String, core.Object> toJson() { |
8309 var _json = new core.Map(); | 8309 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8310 if (bookDisplayNumber != null) { | 8310 if (bookDisplayNumber != null) { |
8311 _json["bookDisplayNumber"] = bookDisplayNumber; | 8311 _json["bookDisplayNumber"] = bookDisplayNumber; |
8312 } | 8312 } |
8313 if (kind != null) { | 8313 if (kind != null) { |
8314 _json["kind"] = kind; | 8314 _json["kind"] = kind; |
8315 } | 8315 } |
8316 if (shortSeriesBookTitle != null) { | 8316 if (shortSeriesBookTitle != null) { |
8317 _json["shortSeriesBookTitle"] = shortSeriesBookTitle; | 8317 _json["shortSeriesBookTitle"] = shortSeriesBookTitle; |
8318 } | 8318 } |
8319 if (volumeSeries != null) { | 8319 if (volumeSeries != null) { |
8320 _json["volumeSeries"] = volumeSeries.map((value) => (value).toJson()).toLi
st(); | 8320 _json["volumeSeries"] = volumeSeries.map((value) => (value).toJson()).toLi
st(); |
8321 } | 8321 } |
8322 return _json; | 8322 return _json; |
8323 } | 8323 } |
8324 } | 8324 } |
OLD | NEW |