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.androidpublisher.v2; | 3 library googleapis.androidpublisher.v2; |
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 3374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3385 | 3385 |
3386 Apk.fromJson(core.Map _json) { | 3386 Apk.fromJson(core.Map _json) { |
3387 if (_json.containsKey("binary")) { | 3387 if (_json.containsKey("binary")) { |
3388 binary = new ApkBinary.fromJson(_json["binary"]); | 3388 binary = new ApkBinary.fromJson(_json["binary"]); |
3389 } | 3389 } |
3390 if (_json.containsKey("versionCode")) { | 3390 if (_json.containsKey("versionCode")) { |
3391 versionCode = _json["versionCode"]; | 3391 versionCode = _json["versionCode"]; |
3392 } | 3392 } |
3393 } | 3393 } |
3394 | 3394 |
3395 core.Map toJson() { | 3395 core.Map<core.String, core.Object> toJson() { |
3396 var _json = new core.Map(); | 3396 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3397 if (binary != null) { | 3397 if (binary != null) { |
3398 _json["binary"] = (binary).toJson(); | 3398 _json["binary"] = (binary).toJson(); |
3399 } | 3399 } |
3400 if (versionCode != null) { | 3400 if (versionCode != null) { |
3401 _json["versionCode"] = versionCode; | 3401 _json["versionCode"] = versionCode; |
3402 } | 3402 } |
3403 return _json; | 3403 return _json; |
3404 } | 3404 } |
3405 } | 3405 } |
3406 | 3406 |
3407 /** Represents the binary payload of an APK. */ | 3407 /** Represents the binary payload of an APK. */ |
3408 class ApkBinary { | 3408 class ApkBinary { |
3409 /** | 3409 /** |
3410 * A sha1 hash of the APK payload, encoded as a hex string and matching the | 3410 * A sha1 hash of the APK payload, encoded as a hex string and matching the |
3411 * output of the sha1sum command. | 3411 * output of the sha1sum command. |
3412 */ | 3412 */ |
3413 core.String sha1; | 3413 core.String sha1; |
3414 | 3414 |
3415 ApkBinary(); | 3415 ApkBinary(); |
3416 | 3416 |
3417 ApkBinary.fromJson(core.Map _json) { | 3417 ApkBinary.fromJson(core.Map _json) { |
3418 if (_json.containsKey("sha1")) { | 3418 if (_json.containsKey("sha1")) { |
3419 sha1 = _json["sha1"]; | 3419 sha1 = _json["sha1"]; |
3420 } | 3420 } |
3421 } | 3421 } |
3422 | 3422 |
3423 core.Map toJson() { | 3423 core.Map<core.String, core.Object> toJson() { |
3424 var _json = new core.Map(); | 3424 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3425 if (sha1 != null) { | 3425 if (sha1 != null) { |
3426 _json["sha1"] = sha1; | 3426 _json["sha1"] = sha1; |
3427 } | 3427 } |
3428 return _json; | 3428 return _json; |
3429 } | 3429 } |
3430 } | 3430 } |
3431 | 3431 |
3432 class ApkListing { | 3432 class ApkListing { |
3433 /** The language code, in BCP 47 format (eg "en-US"). */ | 3433 /** The language code, in BCP 47 format (eg "en-US"). */ |
3434 core.String language; | 3434 core.String language; |
3435 /** Describe what's new in your APK. */ | 3435 /** Describe what's new in your APK. */ |
3436 core.String recentChanges; | 3436 core.String recentChanges; |
3437 | 3437 |
3438 ApkListing(); | 3438 ApkListing(); |
3439 | 3439 |
3440 ApkListing.fromJson(core.Map _json) { | 3440 ApkListing.fromJson(core.Map _json) { |
3441 if (_json.containsKey("language")) { | 3441 if (_json.containsKey("language")) { |
3442 language = _json["language"]; | 3442 language = _json["language"]; |
3443 } | 3443 } |
3444 if (_json.containsKey("recentChanges")) { | 3444 if (_json.containsKey("recentChanges")) { |
3445 recentChanges = _json["recentChanges"]; | 3445 recentChanges = _json["recentChanges"]; |
3446 } | 3446 } |
3447 } | 3447 } |
3448 | 3448 |
3449 core.Map toJson() { | 3449 core.Map<core.String, core.Object> toJson() { |
3450 var _json = new core.Map(); | 3450 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3451 if (language != null) { | 3451 if (language != null) { |
3452 _json["language"] = language; | 3452 _json["language"] = language; |
3453 } | 3453 } |
3454 if (recentChanges != null) { | 3454 if (recentChanges != null) { |
3455 _json["recentChanges"] = recentChanges; | 3455 _json["recentChanges"] = recentChanges; |
3456 } | 3456 } |
3457 return _json; | 3457 return _json; |
3458 } | 3458 } |
3459 } | 3459 } |
3460 | 3460 |
3461 class ApkListingsListResponse { | 3461 class ApkListingsListResponse { |
3462 /** | 3462 /** |
3463 * Identifies what kind of resource this is. Value: the fixed string | 3463 * Identifies what kind of resource this is. Value: the fixed string |
3464 * "androidpublisher#apkListingsListResponse". | 3464 * "androidpublisher#apkListingsListResponse". |
3465 */ | 3465 */ |
3466 core.String kind; | 3466 core.String kind; |
3467 core.List<ApkListing> listings; | 3467 core.List<ApkListing> listings; |
3468 | 3468 |
3469 ApkListingsListResponse(); | 3469 ApkListingsListResponse(); |
3470 | 3470 |
3471 ApkListingsListResponse.fromJson(core.Map _json) { | 3471 ApkListingsListResponse.fromJson(core.Map _json) { |
3472 if (_json.containsKey("kind")) { | 3472 if (_json.containsKey("kind")) { |
3473 kind = _json["kind"]; | 3473 kind = _json["kind"]; |
3474 } | 3474 } |
3475 if (_json.containsKey("listings")) { | 3475 if (_json.containsKey("listings")) { |
3476 listings = _json["listings"].map((value) => new ApkListing.fromJson(value)
).toList(); | 3476 listings = _json["listings"].map((value) => new ApkListing.fromJson(value)
).toList(); |
3477 } | 3477 } |
3478 } | 3478 } |
3479 | 3479 |
3480 core.Map toJson() { | 3480 core.Map<core.String, core.Object> toJson() { |
3481 var _json = new core.Map(); | 3481 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3482 if (kind != null) { | 3482 if (kind != null) { |
3483 _json["kind"] = kind; | 3483 _json["kind"] = kind; |
3484 } | 3484 } |
3485 if (listings != null) { | 3485 if (listings != null) { |
3486 _json["listings"] = listings.map((value) => (value).toJson()).toList(); | 3486 _json["listings"] = listings.map((value) => (value).toJson()).toList(); |
3487 } | 3487 } |
3488 return _json; | 3488 return _json; |
3489 } | 3489 } |
3490 } | 3490 } |
3491 | 3491 |
3492 class ApksAddExternallyHostedRequest { | 3492 class ApksAddExternallyHostedRequest { |
3493 /** The definition of the externally-hosted APK and where it is located. */ | 3493 /** The definition of the externally-hosted APK and where it is located. */ |
3494 ExternallyHostedApk externallyHostedApk; | 3494 ExternallyHostedApk externallyHostedApk; |
3495 | 3495 |
3496 ApksAddExternallyHostedRequest(); | 3496 ApksAddExternallyHostedRequest(); |
3497 | 3497 |
3498 ApksAddExternallyHostedRequest.fromJson(core.Map _json) { | 3498 ApksAddExternallyHostedRequest.fromJson(core.Map _json) { |
3499 if (_json.containsKey("externallyHostedApk")) { | 3499 if (_json.containsKey("externallyHostedApk")) { |
3500 externallyHostedApk = new ExternallyHostedApk.fromJson(_json["externallyHo
stedApk"]); | 3500 externallyHostedApk = new ExternallyHostedApk.fromJson(_json["externallyHo
stedApk"]); |
3501 } | 3501 } |
3502 } | 3502 } |
3503 | 3503 |
3504 core.Map toJson() { | 3504 core.Map<core.String, core.Object> toJson() { |
3505 var _json = new core.Map(); | 3505 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3506 if (externallyHostedApk != null) { | 3506 if (externallyHostedApk != null) { |
3507 _json["externallyHostedApk"] = (externallyHostedApk).toJson(); | 3507 _json["externallyHostedApk"] = (externallyHostedApk).toJson(); |
3508 } | 3508 } |
3509 return _json; | 3509 return _json; |
3510 } | 3510 } |
3511 } | 3511 } |
3512 | 3512 |
3513 class ApksAddExternallyHostedResponse { | 3513 class ApksAddExternallyHostedResponse { |
3514 /** The definition of the externally-hosted APK and where it is located. */ | 3514 /** The definition of the externally-hosted APK and where it is located. */ |
3515 ExternallyHostedApk externallyHostedApk; | 3515 ExternallyHostedApk externallyHostedApk; |
3516 | 3516 |
3517 ApksAddExternallyHostedResponse(); | 3517 ApksAddExternallyHostedResponse(); |
3518 | 3518 |
3519 ApksAddExternallyHostedResponse.fromJson(core.Map _json) { | 3519 ApksAddExternallyHostedResponse.fromJson(core.Map _json) { |
3520 if (_json.containsKey("externallyHostedApk")) { | 3520 if (_json.containsKey("externallyHostedApk")) { |
3521 externallyHostedApk = new ExternallyHostedApk.fromJson(_json["externallyHo
stedApk"]); | 3521 externallyHostedApk = new ExternallyHostedApk.fromJson(_json["externallyHo
stedApk"]); |
3522 } | 3522 } |
3523 } | 3523 } |
3524 | 3524 |
3525 core.Map toJson() { | 3525 core.Map<core.String, core.Object> toJson() { |
3526 var _json = new core.Map(); | 3526 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3527 if (externallyHostedApk != null) { | 3527 if (externallyHostedApk != null) { |
3528 _json["externallyHostedApk"] = (externallyHostedApk).toJson(); | 3528 _json["externallyHostedApk"] = (externallyHostedApk).toJson(); |
3529 } | 3529 } |
3530 return _json; | 3530 return _json; |
3531 } | 3531 } |
3532 } | 3532 } |
3533 | 3533 |
3534 class ApksListResponse { | 3534 class ApksListResponse { |
3535 core.List<Apk> apks; | 3535 core.List<Apk> apks; |
3536 /** | 3536 /** |
3537 * Identifies what kind of resource this is. Value: the fixed string | 3537 * Identifies what kind of resource this is. Value: the fixed string |
3538 * "androidpublisher#apksListResponse". | 3538 * "androidpublisher#apksListResponse". |
3539 */ | 3539 */ |
3540 core.String kind; | 3540 core.String kind; |
3541 | 3541 |
3542 ApksListResponse(); | 3542 ApksListResponse(); |
3543 | 3543 |
3544 ApksListResponse.fromJson(core.Map _json) { | 3544 ApksListResponse.fromJson(core.Map _json) { |
3545 if (_json.containsKey("apks")) { | 3545 if (_json.containsKey("apks")) { |
3546 apks = _json["apks"].map((value) => new Apk.fromJson(value)).toList(); | 3546 apks = _json["apks"].map((value) => new Apk.fromJson(value)).toList(); |
3547 } | 3547 } |
3548 if (_json.containsKey("kind")) { | 3548 if (_json.containsKey("kind")) { |
3549 kind = _json["kind"]; | 3549 kind = _json["kind"]; |
3550 } | 3550 } |
3551 } | 3551 } |
3552 | 3552 |
3553 core.Map toJson() { | 3553 core.Map<core.String, core.Object> toJson() { |
3554 var _json = new core.Map(); | 3554 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3555 if (apks != null) { | 3555 if (apks != null) { |
3556 _json["apks"] = apks.map((value) => (value).toJson()).toList(); | 3556 _json["apks"] = apks.map((value) => (value).toJson()).toList(); |
3557 } | 3557 } |
3558 if (kind != null) { | 3558 if (kind != null) { |
3559 _json["kind"] = kind; | 3559 _json["kind"] = kind; |
3560 } | 3560 } |
3561 return _json; | 3561 return _json; |
3562 } | 3562 } |
3563 } | 3563 } |
3564 | 3564 |
(...skipping 17 matching lines...) Expand all Loading... |
3582 contactPhone = _json["contactPhone"]; | 3582 contactPhone = _json["contactPhone"]; |
3583 } | 3583 } |
3584 if (_json.containsKey("contactWebsite")) { | 3584 if (_json.containsKey("contactWebsite")) { |
3585 contactWebsite = _json["contactWebsite"]; | 3585 contactWebsite = _json["contactWebsite"]; |
3586 } | 3586 } |
3587 if (_json.containsKey("defaultLanguage")) { | 3587 if (_json.containsKey("defaultLanguage")) { |
3588 defaultLanguage = _json["defaultLanguage"]; | 3588 defaultLanguage = _json["defaultLanguage"]; |
3589 } | 3589 } |
3590 } | 3590 } |
3591 | 3591 |
3592 core.Map toJson() { | 3592 core.Map<core.String, core.Object> toJson() { |
3593 var _json = new core.Map(); | 3593 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3594 if (contactEmail != null) { | 3594 if (contactEmail != null) { |
3595 _json["contactEmail"] = contactEmail; | 3595 _json["contactEmail"] = contactEmail; |
3596 } | 3596 } |
3597 if (contactPhone != null) { | 3597 if (contactPhone != null) { |
3598 _json["contactPhone"] = contactPhone; | 3598 _json["contactPhone"] = contactPhone; |
3599 } | 3599 } |
3600 if (contactWebsite != null) { | 3600 if (contactWebsite != null) { |
3601 _json["contactWebsite"] = contactWebsite; | 3601 _json["contactWebsite"] = contactWebsite; |
3602 } | 3602 } |
3603 if (defaultLanguage != null) { | 3603 if (defaultLanguage != null) { |
(...skipping 20 matching lines...) Expand all Loading... |
3624 | 3624 |
3625 AppEdit.fromJson(core.Map _json) { | 3625 AppEdit.fromJson(core.Map _json) { |
3626 if (_json.containsKey("expiryTimeSeconds")) { | 3626 if (_json.containsKey("expiryTimeSeconds")) { |
3627 expiryTimeSeconds = _json["expiryTimeSeconds"]; | 3627 expiryTimeSeconds = _json["expiryTimeSeconds"]; |
3628 } | 3628 } |
3629 if (_json.containsKey("id")) { | 3629 if (_json.containsKey("id")) { |
3630 id = _json["id"]; | 3630 id = _json["id"]; |
3631 } | 3631 } |
3632 } | 3632 } |
3633 | 3633 |
3634 core.Map toJson() { | 3634 core.Map<core.String, core.Object> toJson() { |
3635 var _json = new core.Map(); | 3635 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3636 if (expiryTimeSeconds != null) { | 3636 if (expiryTimeSeconds != null) { |
3637 _json["expiryTimeSeconds"] = expiryTimeSeconds; | 3637 _json["expiryTimeSeconds"] = expiryTimeSeconds; |
3638 } | 3638 } |
3639 if (id != null) { | 3639 if (id != null) { |
3640 _json["id"] = id; | 3640 _json["id"] = id; |
3641 } | 3641 } |
3642 return _json; | 3642 return _json; |
3643 } | 3643 } |
3644 } | 3644 } |
3645 | 3645 |
3646 class Comment { | 3646 class Comment { |
3647 /** A comment from a developer. */ | 3647 /** A comment from a developer. */ |
3648 DeveloperComment developerComment; | 3648 DeveloperComment developerComment; |
3649 /** A comment from a user. */ | 3649 /** A comment from a user. */ |
3650 UserComment userComment; | 3650 UserComment userComment; |
3651 | 3651 |
3652 Comment(); | 3652 Comment(); |
3653 | 3653 |
3654 Comment.fromJson(core.Map _json) { | 3654 Comment.fromJson(core.Map _json) { |
3655 if (_json.containsKey("developerComment")) { | 3655 if (_json.containsKey("developerComment")) { |
3656 developerComment = new DeveloperComment.fromJson(_json["developerComment"]
); | 3656 developerComment = new DeveloperComment.fromJson(_json["developerComment"]
); |
3657 } | 3657 } |
3658 if (_json.containsKey("userComment")) { | 3658 if (_json.containsKey("userComment")) { |
3659 userComment = new UserComment.fromJson(_json["userComment"]); | 3659 userComment = new UserComment.fromJson(_json["userComment"]); |
3660 } | 3660 } |
3661 } | 3661 } |
3662 | 3662 |
3663 core.Map toJson() { | 3663 core.Map<core.String, core.Object> toJson() { |
3664 var _json = new core.Map(); | 3664 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3665 if (developerComment != null) { | 3665 if (developerComment != null) { |
3666 _json["developerComment"] = (developerComment).toJson(); | 3666 _json["developerComment"] = (developerComment).toJson(); |
3667 } | 3667 } |
3668 if (userComment != null) { | 3668 if (userComment != null) { |
3669 _json["userComment"] = (userComment).toJson(); | 3669 _json["userComment"] = (userComment).toJson(); |
3670 } | 3670 } |
3671 return _json; | 3671 return _json; |
3672 } | 3672 } |
3673 } | 3673 } |
3674 | 3674 |
3675 /** Represents a deobfuscation file. */ | 3675 /** Represents a deobfuscation file. */ |
3676 class DeobfuscationFile { | 3676 class DeobfuscationFile { |
3677 /** The type of the deobfuscation file. */ | 3677 /** The type of the deobfuscation file. */ |
3678 core.String symbolType; | 3678 core.String symbolType; |
3679 | 3679 |
3680 DeobfuscationFile(); | 3680 DeobfuscationFile(); |
3681 | 3681 |
3682 DeobfuscationFile.fromJson(core.Map _json) { | 3682 DeobfuscationFile.fromJson(core.Map _json) { |
3683 if (_json.containsKey("symbolType")) { | 3683 if (_json.containsKey("symbolType")) { |
3684 symbolType = _json["symbolType"]; | 3684 symbolType = _json["symbolType"]; |
3685 } | 3685 } |
3686 } | 3686 } |
3687 | 3687 |
3688 core.Map toJson() { | 3688 core.Map<core.String, core.Object> toJson() { |
3689 var _json = new core.Map(); | 3689 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3690 if (symbolType != null) { | 3690 if (symbolType != null) { |
3691 _json["symbolType"] = symbolType; | 3691 _json["symbolType"] = symbolType; |
3692 } | 3692 } |
3693 return _json; | 3693 return _json; |
3694 } | 3694 } |
3695 } | 3695 } |
3696 | 3696 |
3697 class DeobfuscationFilesUploadResponse { | 3697 class DeobfuscationFilesUploadResponse { |
3698 DeobfuscationFile deobfuscationFile; | 3698 DeobfuscationFile deobfuscationFile; |
3699 | 3699 |
3700 DeobfuscationFilesUploadResponse(); | 3700 DeobfuscationFilesUploadResponse(); |
3701 | 3701 |
3702 DeobfuscationFilesUploadResponse.fromJson(core.Map _json) { | 3702 DeobfuscationFilesUploadResponse.fromJson(core.Map _json) { |
3703 if (_json.containsKey("deobfuscationFile")) { | 3703 if (_json.containsKey("deobfuscationFile")) { |
3704 deobfuscationFile = new DeobfuscationFile.fromJson(_json["deobfuscationFil
e"]); | 3704 deobfuscationFile = new DeobfuscationFile.fromJson(_json["deobfuscationFil
e"]); |
3705 } | 3705 } |
3706 } | 3706 } |
3707 | 3707 |
3708 core.Map toJson() { | 3708 core.Map<core.String, core.Object> toJson() { |
3709 var _json = new core.Map(); | 3709 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3710 if (deobfuscationFile != null) { | 3710 if (deobfuscationFile != null) { |
3711 _json["deobfuscationFile"] = (deobfuscationFile).toJson(); | 3711 _json["deobfuscationFile"] = (deobfuscationFile).toJson(); |
3712 } | 3712 } |
3713 return _json; | 3713 return _json; |
3714 } | 3714 } |
3715 } | 3715 } |
3716 | 3716 |
3717 class DeveloperComment { | 3717 class DeveloperComment { |
3718 /** The last time at which this comment was updated. */ | 3718 /** The last time at which this comment was updated. */ |
3719 Timestamp lastModified; | 3719 Timestamp lastModified; |
3720 /** The content of the comment, i.e. reply body. */ | 3720 /** The content of the comment, i.e. reply body. */ |
3721 core.String text; | 3721 core.String text; |
3722 | 3722 |
3723 DeveloperComment(); | 3723 DeveloperComment(); |
3724 | 3724 |
3725 DeveloperComment.fromJson(core.Map _json) { | 3725 DeveloperComment.fromJson(core.Map _json) { |
3726 if (_json.containsKey("lastModified")) { | 3726 if (_json.containsKey("lastModified")) { |
3727 lastModified = new Timestamp.fromJson(_json["lastModified"]); | 3727 lastModified = new Timestamp.fromJson(_json["lastModified"]); |
3728 } | 3728 } |
3729 if (_json.containsKey("text")) { | 3729 if (_json.containsKey("text")) { |
3730 text = _json["text"]; | 3730 text = _json["text"]; |
3731 } | 3731 } |
3732 } | 3732 } |
3733 | 3733 |
3734 core.Map toJson() { | 3734 core.Map<core.String, core.Object> toJson() { |
3735 var _json = new core.Map(); | 3735 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3736 if (lastModified != null) { | 3736 if (lastModified != null) { |
3737 _json["lastModified"] = (lastModified).toJson(); | 3737 _json["lastModified"] = (lastModified).toJson(); |
3738 } | 3738 } |
3739 if (text != null) { | 3739 if (text != null) { |
3740 _json["text"] = text; | 3740 _json["text"] = text; |
3741 } | 3741 } |
3742 return _json; | 3742 return _json; |
3743 } | 3743 } |
3744 } | 3744 } |
3745 | 3745 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3798 screenDensityDpi = _json["screenDensityDpi"]; | 3798 screenDensityDpi = _json["screenDensityDpi"]; |
3799 } | 3799 } |
3800 if (_json.containsKey("screenHeightPx")) { | 3800 if (_json.containsKey("screenHeightPx")) { |
3801 screenHeightPx = _json["screenHeightPx"]; | 3801 screenHeightPx = _json["screenHeightPx"]; |
3802 } | 3802 } |
3803 if (_json.containsKey("screenWidthPx")) { | 3803 if (_json.containsKey("screenWidthPx")) { |
3804 screenWidthPx = _json["screenWidthPx"]; | 3804 screenWidthPx = _json["screenWidthPx"]; |
3805 } | 3805 } |
3806 } | 3806 } |
3807 | 3807 |
3808 core.Map toJson() { | 3808 core.Map<core.String, core.Object> toJson() { |
3809 var _json = new core.Map(); | 3809 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3810 if (cpuMake != null) { | 3810 if (cpuMake != null) { |
3811 _json["cpuMake"] = cpuMake; | 3811 _json["cpuMake"] = cpuMake; |
3812 } | 3812 } |
3813 if (cpuModel != null) { | 3813 if (cpuModel != null) { |
3814 _json["cpuModel"] = cpuModel; | 3814 _json["cpuModel"] = cpuModel; |
3815 } | 3815 } |
3816 if (deviceClass != null) { | 3816 if (deviceClass != null) { |
3817 _json["deviceClass"] = deviceClass; | 3817 _json["deviceClass"] = deviceClass; |
3818 } | 3818 } |
3819 if (glEsVersion != null) { | 3819 if (glEsVersion != null) { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3876 productId = _json["productId"]; | 3876 productId = _json["productId"]; |
3877 } | 3877 } |
3878 if (_json.containsKey("productType")) { | 3878 if (_json.containsKey("productType")) { |
3879 productType = _json["productType"]; | 3879 productType = _json["productType"]; |
3880 } | 3880 } |
3881 if (_json.containsKey("token")) { | 3881 if (_json.containsKey("token")) { |
3882 token = _json["token"]; | 3882 token = _json["token"]; |
3883 } | 3883 } |
3884 } | 3884 } |
3885 | 3885 |
3886 core.Map toJson() { | 3886 core.Map<core.String, core.Object> toJson() { |
3887 var _json = new core.Map(); | 3887 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3888 if (kind != null) { | 3888 if (kind != null) { |
3889 _json["kind"] = kind; | 3889 _json["kind"] = kind; |
3890 } | 3890 } |
3891 if (productId != null) { | 3891 if (productId != null) { |
3892 _json["productId"] = productId; | 3892 _json["productId"] = productId; |
3893 } | 3893 } |
3894 if (productType != null) { | 3894 if (productType != null) { |
3895 _json["productType"] = productType; | 3895 _json["productType"] = productType; |
3896 } | 3896 } |
3897 if (token != null) { | 3897 if (token != null) { |
(...skipping 15 matching lines...) Expand all Loading... |
3913 pageInfo = new PageInfo.fromJson(_json["pageInfo"]); | 3913 pageInfo = new PageInfo.fromJson(_json["pageInfo"]); |
3914 } | 3914 } |
3915 if (_json.containsKey("resources")) { | 3915 if (_json.containsKey("resources")) { |
3916 resources = _json["resources"].map((value) => new Entitlement.fromJson(val
ue)).toList(); | 3916 resources = _json["resources"].map((value) => new Entitlement.fromJson(val
ue)).toList(); |
3917 } | 3917 } |
3918 if (_json.containsKey("tokenPagination")) { | 3918 if (_json.containsKey("tokenPagination")) { |
3919 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); | 3919 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); |
3920 } | 3920 } |
3921 } | 3921 } |
3922 | 3922 |
3923 core.Map toJson() { | 3923 core.Map<core.String, core.Object> toJson() { |
3924 var _json = new core.Map(); | 3924 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3925 if (pageInfo != null) { | 3925 if (pageInfo != null) { |
3926 _json["pageInfo"] = (pageInfo).toJson(); | 3926 _json["pageInfo"] = (pageInfo).toJson(); |
3927 } | 3927 } |
3928 if (resources != null) { | 3928 if (resources != null) { |
3929 _json["resources"] = resources.map((value) => (value).toJson()).toList(); | 3929 _json["resources"] = resources.map((value) => (value).toJson()).toList(); |
3930 } | 3930 } |
3931 if (tokenPagination != null) { | 3931 if (tokenPagination != null) { |
3932 _json["tokenPagination"] = (tokenPagination).toJson(); | 3932 _json["tokenPagination"] = (tokenPagination).toJson(); |
3933 } | 3933 } |
3934 return _json; | 3934 return _json; |
(...skipping 17 matching lines...) Expand all Loading... |
3952 | 3952 |
3953 ExpansionFile.fromJson(core.Map _json) { | 3953 ExpansionFile.fromJson(core.Map _json) { |
3954 if (_json.containsKey("fileSize")) { | 3954 if (_json.containsKey("fileSize")) { |
3955 fileSize = _json["fileSize"]; | 3955 fileSize = _json["fileSize"]; |
3956 } | 3956 } |
3957 if (_json.containsKey("referencesVersion")) { | 3957 if (_json.containsKey("referencesVersion")) { |
3958 referencesVersion = _json["referencesVersion"]; | 3958 referencesVersion = _json["referencesVersion"]; |
3959 } | 3959 } |
3960 } | 3960 } |
3961 | 3961 |
3962 core.Map toJson() { | 3962 core.Map<core.String, core.Object> toJson() { |
3963 var _json = new core.Map(); | 3963 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3964 if (fileSize != null) { | 3964 if (fileSize != null) { |
3965 _json["fileSize"] = fileSize; | 3965 _json["fileSize"] = fileSize; |
3966 } | 3966 } |
3967 if (referencesVersion != null) { | 3967 if (referencesVersion != null) { |
3968 _json["referencesVersion"] = referencesVersion; | 3968 _json["referencesVersion"] = referencesVersion; |
3969 } | 3969 } |
3970 return _json; | 3970 return _json; |
3971 } | 3971 } |
3972 } | 3972 } |
3973 | 3973 |
3974 class ExpansionFilesUploadResponse { | 3974 class ExpansionFilesUploadResponse { |
3975 ExpansionFile expansionFile; | 3975 ExpansionFile expansionFile; |
3976 | 3976 |
3977 ExpansionFilesUploadResponse(); | 3977 ExpansionFilesUploadResponse(); |
3978 | 3978 |
3979 ExpansionFilesUploadResponse.fromJson(core.Map _json) { | 3979 ExpansionFilesUploadResponse.fromJson(core.Map _json) { |
3980 if (_json.containsKey("expansionFile")) { | 3980 if (_json.containsKey("expansionFile")) { |
3981 expansionFile = new ExpansionFile.fromJson(_json["expansionFile"]); | 3981 expansionFile = new ExpansionFile.fromJson(_json["expansionFile"]); |
3982 } | 3982 } |
3983 } | 3983 } |
3984 | 3984 |
3985 core.Map toJson() { | 3985 core.Map<core.String, core.Object> toJson() { |
3986 var _json = new core.Map(); | 3986 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3987 if (expansionFile != null) { | 3987 if (expansionFile != null) { |
3988 _json["expansionFile"] = (expansionFile).toJson(); | 3988 _json["expansionFile"] = (expansionFile).toJson(); |
3989 } | 3989 } |
3990 return _json; | 3990 return _json; |
3991 } | 3991 } |
3992 } | 3992 } |
3993 | 3993 |
3994 /** | 3994 /** |
3995 * Defines an APK available for this application that is hosted externally and | 3995 * Defines an APK available for this application that is hosted externally and |
3996 * not uploaded to Google Play. This function is only available to enterprises | 3996 * not uploaded to Google Play. This function is only available to enterprises |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4080 usesPermissions = _json["usesPermissions"].map((value) => new ExternallyHo
stedApkUsesPermission.fromJson(value)).toList(); | 4080 usesPermissions = _json["usesPermissions"].map((value) => new ExternallyHo
stedApkUsesPermission.fromJson(value)).toList(); |
4081 } | 4081 } |
4082 if (_json.containsKey("versionCode")) { | 4082 if (_json.containsKey("versionCode")) { |
4083 versionCode = _json["versionCode"]; | 4083 versionCode = _json["versionCode"]; |
4084 } | 4084 } |
4085 if (_json.containsKey("versionName")) { | 4085 if (_json.containsKey("versionName")) { |
4086 versionName = _json["versionName"]; | 4086 versionName = _json["versionName"]; |
4087 } | 4087 } |
4088 } | 4088 } |
4089 | 4089 |
4090 core.Map toJson() { | 4090 core.Map<core.String, core.Object> toJson() { |
4091 var _json = new core.Map(); | 4091 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4092 if (applicationLabel != null) { | 4092 if (applicationLabel != null) { |
4093 _json["applicationLabel"] = applicationLabel; | 4093 _json["applicationLabel"] = applicationLabel; |
4094 } | 4094 } |
4095 if (certificateBase64s != null) { | 4095 if (certificateBase64s != null) { |
4096 _json["certificateBase64s"] = certificateBase64s; | 4096 _json["certificateBase64s"] = certificateBase64s; |
4097 } | 4097 } |
4098 if (externallyHostedUrl != null) { | 4098 if (externallyHostedUrl != null) { |
4099 _json["externallyHostedUrl"] = externallyHostedUrl; | 4099 _json["externallyHostedUrl"] = externallyHostedUrl; |
4100 } | 4100 } |
4101 if (fileSha1Base64 != null) { | 4101 if (fileSha1Base64 != null) { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4151 | 4151 |
4152 ExternallyHostedApkUsesPermission.fromJson(core.Map _json) { | 4152 ExternallyHostedApkUsesPermission.fromJson(core.Map _json) { |
4153 if (_json.containsKey("maxSdkVersion")) { | 4153 if (_json.containsKey("maxSdkVersion")) { |
4154 maxSdkVersion = _json["maxSdkVersion"]; | 4154 maxSdkVersion = _json["maxSdkVersion"]; |
4155 } | 4155 } |
4156 if (_json.containsKey("name")) { | 4156 if (_json.containsKey("name")) { |
4157 name = _json["name"]; | 4157 name = _json["name"]; |
4158 } | 4158 } |
4159 } | 4159 } |
4160 | 4160 |
4161 core.Map toJson() { | 4161 core.Map<core.String, core.Object> toJson() { |
4162 var _json = new core.Map(); | 4162 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4163 if (maxSdkVersion != null) { | 4163 if (maxSdkVersion != null) { |
4164 _json["maxSdkVersion"] = maxSdkVersion; | 4164 _json["maxSdkVersion"] = maxSdkVersion; |
4165 } | 4165 } |
4166 if (name != null) { | 4166 if (name != null) { |
4167 _json["name"] = name; | 4167 _json["name"] = name; |
4168 } | 4168 } |
4169 return _json; | 4169 return _json; |
4170 } | 4170 } |
4171 } | 4171 } |
4172 | 4172 |
(...skipping 12 matching lines...) Expand all Loading... |
4185 id = _json["id"]; | 4185 id = _json["id"]; |
4186 } | 4186 } |
4187 if (_json.containsKey("sha1")) { | 4187 if (_json.containsKey("sha1")) { |
4188 sha1 = _json["sha1"]; | 4188 sha1 = _json["sha1"]; |
4189 } | 4189 } |
4190 if (_json.containsKey("url")) { | 4190 if (_json.containsKey("url")) { |
4191 url = _json["url"]; | 4191 url = _json["url"]; |
4192 } | 4192 } |
4193 } | 4193 } |
4194 | 4194 |
4195 core.Map toJson() { | 4195 core.Map<core.String, core.Object> toJson() { |
4196 var _json = new core.Map(); | 4196 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4197 if (id != null) { | 4197 if (id != null) { |
4198 _json["id"] = id; | 4198 _json["id"] = id; |
4199 } | 4199 } |
4200 if (sha1 != null) { | 4200 if (sha1 != null) { |
4201 _json["sha1"] = sha1; | 4201 _json["sha1"] = sha1; |
4202 } | 4202 } |
4203 if (url != null) { | 4203 if (url != null) { |
4204 _json["url"] = url; | 4204 _json["url"] = url; |
4205 } | 4205 } |
4206 return _json; | 4206 return _json; |
4207 } | 4207 } |
4208 } | 4208 } |
4209 | 4209 |
4210 class ImagesDeleteAllResponse { | 4210 class ImagesDeleteAllResponse { |
4211 core.List<Image> deleted; | 4211 core.List<Image> deleted; |
4212 | 4212 |
4213 ImagesDeleteAllResponse(); | 4213 ImagesDeleteAllResponse(); |
4214 | 4214 |
4215 ImagesDeleteAllResponse.fromJson(core.Map _json) { | 4215 ImagesDeleteAllResponse.fromJson(core.Map _json) { |
4216 if (_json.containsKey("deleted")) { | 4216 if (_json.containsKey("deleted")) { |
4217 deleted = _json["deleted"].map((value) => new Image.fromJson(value)).toLis
t(); | 4217 deleted = _json["deleted"].map((value) => new Image.fromJson(value)).toLis
t(); |
4218 } | 4218 } |
4219 } | 4219 } |
4220 | 4220 |
4221 core.Map toJson() { | 4221 core.Map<core.String, core.Object> toJson() { |
4222 var _json = new core.Map(); | 4222 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4223 if (deleted != null) { | 4223 if (deleted != null) { |
4224 _json["deleted"] = deleted.map((value) => (value).toJson()).toList(); | 4224 _json["deleted"] = deleted.map((value) => (value).toJson()).toList(); |
4225 } | 4225 } |
4226 return _json; | 4226 return _json; |
4227 } | 4227 } |
4228 } | 4228 } |
4229 | 4229 |
4230 class ImagesListResponse { | 4230 class ImagesListResponse { |
4231 core.List<Image> images; | 4231 core.List<Image> images; |
4232 | 4232 |
4233 ImagesListResponse(); | 4233 ImagesListResponse(); |
4234 | 4234 |
4235 ImagesListResponse.fromJson(core.Map _json) { | 4235 ImagesListResponse.fromJson(core.Map _json) { |
4236 if (_json.containsKey("images")) { | 4236 if (_json.containsKey("images")) { |
4237 images = _json["images"].map((value) => new Image.fromJson(value)).toList(
); | 4237 images = _json["images"].map((value) => new Image.fromJson(value)).toList(
); |
4238 } | 4238 } |
4239 } | 4239 } |
4240 | 4240 |
4241 core.Map toJson() { | 4241 core.Map<core.String, core.Object> toJson() { |
4242 var _json = new core.Map(); | 4242 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4243 if (images != null) { | 4243 if (images != null) { |
4244 _json["images"] = images.map((value) => (value).toJson()).toList(); | 4244 _json["images"] = images.map((value) => (value).toJson()).toList(); |
4245 } | 4245 } |
4246 return _json; | 4246 return _json; |
4247 } | 4247 } |
4248 } | 4248 } |
4249 | 4249 |
4250 class ImagesUploadResponse { | 4250 class ImagesUploadResponse { |
4251 Image image; | 4251 Image image; |
4252 | 4252 |
4253 ImagesUploadResponse(); | 4253 ImagesUploadResponse(); |
4254 | 4254 |
4255 ImagesUploadResponse.fromJson(core.Map _json) { | 4255 ImagesUploadResponse.fromJson(core.Map _json) { |
4256 if (_json.containsKey("image")) { | 4256 if (_json.containsKey("image")) { |
4257 image = new Image.fromJson(_json["image"]); | 4257 image = new Image.fromJson(_json["image"]); |
4258 } | 4258 } |
4259 } | 4259 } |
4260 | 4260 |
4261 core.Map toJson() { | 4261 core.Map<core.String, core.Object> toJson() { |
4262 var _json = new core.Map(); | 4262 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4263 if (image != null) { | 4263 if (image != null) { |
4264 _json["image"] = (image).toJson(); | 4264 _json["image"] = (image).toJson(); |
4265 } | 4265 } |
4266 return _json; | 4266 return _json; |
4267 } | 4267 } |
4268 } | 4268 } |
4269 | 4269 |
4270 class InAppProduct { | 4270 class InAppProduct { |
4271 /** | 4271 /** |
4272 * The default language of the localized data, as defined by BCP 47. e.g. | 4272 * The default language of the localized data, as defined by BCP 47. e.g. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4313 InAppProduct(); | 4313 InAppProduct(); |
4314 | 4314 |
4315 InAppProduct.fromJson(core.Map _json) { | 4315 InAppProduct.fromJson(core.Map _json) { |
4316 if (_json.containsKey("defaultLanguage")) { | 4316 if (_json.containsKey("defaultLanguage")) { |
4317 defaultLanguage = _json["defaultLanguage"]; | 4317 defaultLanguage = _json["defaultLanguage"]; |
4318 } | 4318 } |
4319 if (_json.containsKey("defaultPrice")) { | 4319 if (_json.containsKey("defaultPrice")) { |
4320 defaultPrice = new Price.fromJson(_json["defaultPrice"]); | 4320 defaultPrice = new Price.fromJson(_json["defaultPrice"]); |
4321 } | 4321 } |
4322 if (_json.containsKey("listings")) { | 4322 if (_json.containsKey("listings")) { |
4323 listings = commons.mapMap(_json["listings"], (item) => new InAppProductLis
ting.fromJson(item)); | 4323 listings = commons.mapMap<core.Map<core.String, core.Object>, InAppProduct
Listing>(_json["listings"], (core.Map<core.String, core.Object> item) => new InA
ppProductListing.fromJson(item)); |
4324 } | 4324 } |
4325 if (_json.containsKey("packageName")) { | 4325 if (_json.containsKey("packageName")) { |
4326 packageName = _json["packageName"]; | 4326 packageName = _json["packageName"]; |
4327 } | 4327 } |
4328 if (_json.containsKey("prices")) { | 4328 if (_json.containsKey("prices")) { |
4329 prices = commons.mapMap(_json["prices"], (item) => new Price.fromJson(item
)); | 4329 prices = commons.mapMap<core.Map<core.String, core.Object>, Price>(_json["
prices"], (core.Map<core.String, core.Object> item) => new Price.fromJson(item))
; |
4330 } | 4330 } |
4331 if (_json.containsKey("purchaseType")) { | 4331 if (_json.containsKey("purchaseType")) { |
4332 purchaseType = _json["purchaseType"]; | 4332 purchaseType = _json["purchaseType"]; |
4333 } | 4333 } |
4334 if (_json.containsKey("season")) { | 4334 if (_json.containsKey("season")) { |
4335 season = new Season.fromJson(_json["season"]); | 4335 season = new Season.fromJson(_json["season"]); |
4336 } | 4336 } |
4337 if (_json.containsKey("sku")) { | 4337 if (_json.containsKey("sku")) { |
4338 sku = _json["sku"]; | 4338 sku = _json["sku"]; |
4339 } | 4339 } |
4340 if (_json.containsKey("status")) { | 4340 if (_json.containsKey("status")) { |
4341 status = _json["status"]; | 4341 status = _json["status"]; |
4342 } | 4342 } |
4343 if (_json.containsKey("subscriptionPeriod")) { | 4343 if (_json.containsKey("subscriptionPeriod")) { |
4344 subscriptionPeriod = _json["subscriptionPeriod"]; | 4344 subscriptionPeriod = _json["subscriptionPeriod"]; |
4345 } | 4345 } |
4346 if (_json.containsKey("trialPeriod")) { | 4346 if (_json.containsKey("trialPeriod")) { |
4347 trialPeriod = _json["trialPeriod"]; | 4347 trialPeriod = _json["trialPeriod"]; |
4348 } | 4348 } |
4349 } | 4349 } |
4350 | 4350 |
4351 core.Map toJson() { | 4351 core.Map<core.String, core.Object> toJson() { |
4352 var _json = new core.Map(); | 4352 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4353 if (defaultLanguage != null) { | 4353 if (defaultLanguage != null) { |
4354 _json["defaultLanguage"] = defaultLanguage; | 4354 _json["defaultLanguage"] = defaultLanguage; |
4355 } | 4355 } |
4356 if (defaultPrice != null) { | 4356 if (defaultPrice != null) { |
4357 _json["defaultPrice"] = (defaultPrice).toJson(); | 4357 _json["defaultPrice"] = (defaultPrice).toJson(); |
4358 } | 4358 } |
4359 if (listings != null) { | 4359 if (listings != null) { |
4360 _json["listings"] = commons.mapMap(listings, (item) => (item).toJson()); | 4360 _json["listings"] = commons.mapMap<InAppProductListing, core.Map<core.Stri
ng, core.Object>>(listings, (InAppProductListing item) => (item).toJson()); |
4361 } | 4361 } |
4362 if (packageName != null) { | 4362 if (packageName != null) { |
4363 _json["packageName"] = packageName; | 4363 _json["packageName"] = packageName; |
4364 } | 4364 } |
4365 if (prices != null) { | 4365 if (prices != null) { |
4366 _json["prices"] = commons.mapMap(prices, (item) => (item).toJson()); | 4366 _json["prices"] = commons.mapMap<Price, core.Map<core.String, core.Object>
>(prices, (Price item) => (item).toJson()); |
4367 } | 4367 } |
4368 if (purchaseType != null) { | 4368 if (purchaseType != null) { |
4369 _json["purchaseType"] = purchaseType; | 4369 _json["purchaseType"] = purchaseType; |
4370 } | 4370 } |
4371 if (season != null) { | 4371 if (season != null) { |
4372 _json["season"] = (season).toJson(); | 4372 _json["season"] = (season).toJson(); |
4373 } | 4373 } |
4374 if (sku != null) { | 4374 if (sku != null) { |
4375 _json["sku"] = sku; | 4375 _json["sku"] = sku; |
4376 } | 4376 } |
(...skipping 18 matching lines...) Expand all Loading... |
4395 | 4395 |
4396 InAppProductListing.fromJson(core.Map _json) { | 4396 InAppProductListing.fromJson(core.Map _json) { |
4397 if (_json.containsKey("description")) { | 4397 if (_json.containsKey("description")) { |
4398 description = _json["description"]; | 4398 description = _json["description"]; |
4399 } | 4399 } |
4400 if (_json.containsKey("title")) { | 4400 if (_json.containsKey("title")) { |
4401 title = _json["title"]; | 4401 title = _json["title"]; |
4402 } | 4402 } |
4403 } | 4403 } |
4404 | 4404 |
4405 core.Map toJson() { | 4405 core.Map<core.String, core.Object> toJson() { |
4406 var _json = new core.Map(); | 4406 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4407 if (description != null) { | 4407 if (description != null) { |
4408 _json["description"] = description; | 4408 _json["description"] = description; |
4409 } | 4409 } |
4410 if (title != null) { | 4410 if (title != null) { |
4411 _json["title"] = title; | 4411 _json["title"] = title; |
4412 } | 4412 } |
4413 return _json; | 4413 return _json; |
4414 } | 4414 } |
4415 } | 4415 } |
4416 | 4416 |
4417 class InappproductsBatchRequest { | 4417 class InappproductsBatchRequest { |
4418 core.List<InappproductsBatchRequestEntry> entrys; | 4418 core.List<InappproductsBatchRequestEntry> entrys; |
4419 | 4419 |
4420 InappproductsBatchRequest(); | 4420 InappproductsBatchRequest(); |
4421 | 4421 |
4422 InappproductsBatchRequest.fromJson(core.Map _json) { | 4422 InappproductsBatchRequest.fromJson(core.Map _json) { |
4423 if (_json.containsKey("entrys")) { | 4423 if (_json.containsKey("entrys")) { |
4424 entrys = _json["entrys"].map((value) => new InappproductsBatchRequestEntry
.fromJson(value)).toList(); | 4424 entrys = _json["entrys"].map((value) => new InappproductsBatchRequestEntry
.fromJson(value)).toList(); |
4425 } | 4425 } |
4426 } | 4426 } |
4427 | 4427 |
4428 core.Map toJson() { | 4428 core.Map<core.String, core.Object> toJson() { |
4429 var _json = new core.Map(); | 4429 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4430 if (entrys != null) { | 4430 if (entrys != null) { |
4431 _json["entrys"] = entrys.map((value) => (value).toJson()).toList(); | 4431 _json["entrys"] = entrys.map((value) => (value).toJson()).toList(); |
4432 } | 4432 } |
4433 return _json; | 4433 return _json; |
4434 } | 4434 } |
4435 } | 4435 } |
4436 | 4436 |
4437 class InappproductsBatchRequestEntry { | 4437 class InappproductsBatchRequestEntry { |
4438 core.int batchId; | 4438 core.int batchId; |
4439 InappproductsInsertRequest inappproductsinsertrequest; | 4439 InappproductsInsertRequest inappproductsinsertrequest; |
(...skipping 10 matching lines...) Expand all Loading... |
4450 inappproductsinsertrequest = new InappproductsInsertRequest.fromJson(_json
["inappproductsinsertrequest"]); | 4450 inappproductsinsertrequest = new InappproductsInsertRequest.fromJson(_json
["inappproductsinsertrequest"]); |
4451 } | 4451 } |
4452 if (_json.containsKey("inappproductsupdaterequest")) { | 4452 if (_json.containsKey("inappproductsupdaterequest")) { |
4453 inappproductsupdaterequest = new InappproductsUpdateRequest.fromJson(_json
["inappproductsupdaterequest"]); | 4453 inappproductsupdaterequest = new InappproductsUpdateRequest.fromJson(_json
["inappproductsupdaterequest"]); |
4454 } | 4454 } |
4455 if (_json.containsKey("methodName")) { | 4455 if (_json.containsKey("methodName")) { |
4456 methodName = _json["methodName"]; | 4456 methodName = _json["methodName"]; |
4457 } | 4457 } |
4458 } | 4458 } |
4459 | 4459 |
4460 core.Map toJson() { | 4460 core.Map<core.String, core.Object> toJson() { |
4461 var _json = new core.Map(); | 4461 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4462 if (batchId != null) { | 4462 if (batchId != null) { |
4463 _json["batchId"] = batchId; | 4463 _json["batchId"] = batchId; |
4464 } | 4464 } |
4465 if (inappproductsinsertrequest != null) { | 4465 if (inappproductsinsertrequest != null) { |
4466 _json["inappproductsinsertrequest"] = (inappproductsinsertrequest).toJson(
); | 4466 _json["inappproductsinsertrequest"] = (inappproductsinsertrequest).toJson(
); |
4467 } | 4467 } |
4468 if (inappproductsupdaterequest != null) { | 4468 if (inappproductsupdaterequest != null) { |
4469 _json["inappproductsupdaterequest"] = (inappproductsupdaterequest).toJson(
); | 4469 _json["inappproductsupdaterequest"] = (inappproductsupdaterequest).toJson(
); |
4470 } | 4470 } |
4471 if (methodName != null) { | 4471 if (methodName != null) { |
(...skipping 15 matching lines...) Expand all Loading... |
4487 | 4487 |
4488 InappproductsBatchResponse.fromJson(core.Map _json) { | 4488 InappproductsBatchResponse.fromJson(core.Map _json) { |
4489 if (_json.containsKey("entrys")) { | 4489 if (_json.containsKey("entrys")) { |
4490 entrys = _json["entrys"].map((value) => new InappproductsBatchResponseEntr
y.fromJson(value)).toList(); | 4490 entrys = _json["entrys"].map((value) => new InappproductsBatchResponseEntr
y.fromJson(value)).toList(); |
4491 } | 4491 } |
4492 if (_json.containsKey("kind")) { | 4492 if (_json.containsKey("kind")) { |
4493 kind = _json["kind"]; | 4493 kind = _json["kind"]; |
4494 } | 4494 } |
4495 } | 4495 } |
4496 | 4496 |
4497 core.Map toJson() { | 4497 core.Map<core.String, core.Object> toJson() { |
4498 var _json = new core.Map(); | 4498 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4499 if (entrys != null) { | 4499 if (entrys != null) { |
4500 _json["entrys"] = entrys.map((value) => (value).toJson()).toList(); | 4500 _json["entrys"] = entrys.map((value) => (value).toJson()).toList(); |
4501 } | 4501 } |
4502 if (kind != null) { | 4502 if (kind != null) { |
4503 _json["kind"] = kind; | 4503 _json["kind"] = kind; |
4504 } | 4504 } |
4505 return _json; | 4505 return _json; |
4506 } | 4506 } |
4507 } | 4507 } |
4508 | 4508 |
4509 class InappproductsBatchResponseEntry { | 4509 class InappproductsBatchResponseEntry { |
4510 core.int batchId; | 4510 core.int batchId; |
4511 InappproductsInsertResponse inappproductsinsertresponse; | 4511 InappproductsInsertResponse inappproductsinsertresponse; |
4512 InappproductsUpdateResponse inappproductsupdateresponse; | 4512 InappproductsUpdateResponse inappproductsupdateresponse; |
4513 | 4513 |
4514 InappproductsBatchResponseEntry(); | 4514 InappproductsBatchResponseEntry(); |
4515 | 4515 |
4516 InappproductsBatchResponseEntry.fromJson(core.Map _json) { | 4516 InappproductsBatchResponseEntry.fromJson(core.Map _json) { |
4517 if (_json.containsKey("batchId")) { | 4517 if (_json.containsKey("batchId")) { |
4518 batchId = _json["batchId"]; | 4518 batchId = _json["batchId"]; |
4519 } | 4519 } |
4520 if (_json.containsKey("inappproductsinsertresponse")) { | 4520 if (_json.containsKey("inappproductsinsertresponse")) { |
4521 inappproductsinsertresponse = new InappproductsInsertResponse.fromJson(_js
on["inappproductsinsertresponse"]); | 4521 inappproductsinsertresponse = new InappproductsInsertResponse.fromJson(_js
on["inappproductsinsertresponse"]); |
4522 } | 4522 } |
4523 if (_json.containsKey("inappproductsupdateresponse")) { | 4523 if (_json.containsKey("inappproductsupdateresponse")) { |
4524 inappproductsupdateresponse = new InappproductsUpdateResponse.fromJson(_js
on["inappproductsupdateresponse"]); | 4524 inappproductsupdateresponse = new InappproductsUpdateResponse.fromJson(_js
on["inappproductsupdateresponse"]); |
4525 } | 4525 } |
4526 } | 4526 } |
4527 | 4527 |
4528 core.Map toJson() { | 4528 core.Map<core.String, core.Object> toJson() { |
4529 var _json = new core.Map(); | 4529 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4530 if (batchId != null) { | 4530 if (batchId != null) { |
4531 _json["batchId"] = batchId; | 4531 _json["batchId"] = batchId; |
4532 } | 4532 } |
4533 if (inappproductsinsertresponse != null) { | 4533 if (inappproductsinsertresponse != null) { |
4534 _json["inappproductsinsertresponse"] = (inappproductsinsertresponse).toJso
n(); | 4534 _json["inappproductsinsertresponse"] = (inappproductsinsertresponse).toJso
n(); |
4535 } | 4535 } |
4536 if (inappproductsupdateresponse != null) { | 4536 if (inappproductsupdateresponse != null) { |
4537 _json["inappproductsupdateresponse"] = (inappproductsupdateresponse).toJso
n(); | 4537 _json["inappproductsupdateresponse"] = (inappproductsupdateresponse).toJso
n(); |
4538 } | 4538 } |
4539 return _json; | 4539 return _json; |
4540 } | 4540 } |
4541 } | 4541 } |
4542 | 4542 |
4543 class InappproductsInsertRequest { | 4543 class InappproductsInsertRequest { |
4544 InAppProduct inappproduct; | 4544 InAppProduct inappproduct; |
4545 | 4545 |
4546 InappproductsInsertRequest(); | 4546 InappproductsInsertRequest(); |
4547 | 4547 |
4548 InappproductsInsertRequest.fromJson(core.Map _json) { | 4548 InappproductsInsertRequest.fromJson(core.Map _json) { |
4549 if (_json.containsKey("inappproduct")) { | 4549 if (_json.containsKey("inappproduct")) { |
4550 inappproduct = new InAppProduct.fromJson(_json["inappproduct"]); | 4550 inappproduct = new InAppProduct.fromJson(_json["inappproduct"]); |
4551 } | 4551 } |
4552 } | 4552 } |
4553 | 4553 |
4554 core.Map toJson() { | 4554 core.Map<core.String, core.Object> toJson() { |
4555 var _json = new core.Map(); | 4555 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4556 if (inappproduct != null) { | 4556 if (inappproduct != null) { |
4557 _json["inappproduct"] = (inappproduct).toJson(); | 4557 _json["inappproduct"] = (inappproduct).toJson(); |
4558 } | 4558 } |
4559 return _json; | 4559 return _json; |
4560 } | 4560 } |
4561 } | 4561 } |
4562 | 4562 |
4563 class InappproductsInsertResponse { | 4563 class InappproductsInsertResponse { |
4564 InAppProduct inappproduct; | 4564 InAppProduct inappproduct; |
4565 | 4565 |
4566 InappproductsInsertResponse(); | 4566 InappproductsInsertResponse(); |
4567 | 4567 |
4568 InappproductsInsertResponse.fromJson(core.Map _json) { | 4568 InappproductsInsertResponse.fromJson(core.Map _json) { |
4569 if (_json.containsKey("inappproduct")) { | 4569 if (_json.containsKey("inappproduct")) { |
4570 inappproduct = new InAppProduct.fromJson(_json["inappproduct"]); | 4570 inappproduct = new InAppProduct.fromJson(_json["inappproduct"]); |
4571 } | 4571 } |
4572 } | 4572 } |
4573 | 4573 |
4574 core.Map toJson() { | 4574 core.Map<core.String, core.Object> toJson() { |
4575 var _json = new core.Map(); | 4575 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4576 if (inappproduct != null) { | 4576 if (inappproduct != null) { |
4577 _json["inappproduct"] = (inappproduct).toJson(); | 4577 _json["inappproduct"] = (inappproduct).toJson(); |
4578 } | 4578 } |
4579 return _json; | 4579 return _json; |
4580 } | 4580 } |
4581 } | 4581 } |
4582 | 4582 |
4583 class InappproductsListResponse { | 4583 class InappproductsListResponse { |
4584 core.List<InAppProduct> inappproduct; | 4584 core.List<InAppProduct> inappproduct; |
4585 /** | 4585 /** |
(...skipping 14 matching lines...) Expand all Loading... |
4600 kind = _json["kind"]; | 4600 kind = _json["kind"]; |
4601 } | 4601 } |
4602 if (_json.containsKey("pageInfo")) { | 4602 if (_json.containsKey("pageInfo")) { |
4603 pageInfo = new PageInfo.fromJson(_json["pageInfo"]); | 4603 pageInfo = new PageInfo.fromJson(_json["pageInfo"]); |
4604 } | 4604 } |
4605 if (_json.containsKey("tokenPagination")) { | 4605 if (_json.containsKey("tokenPagination")) { |
4606 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); | 4606 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); |
4607 } | 4607 } |
4608 } | 4608 } |
4609 | 4609 |
4610 core.Map toJson() { | 4610 core.Map<core.String, core.Object> toJson() { |
4611 var _json = new core.Map(); | 4611 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4612 if (inappproduct != null) { | 4612 if (inappproduct != null) { |
4613 _json["inappproduct"] = inappproduct.map((value) => (value).toJson()).toLi
st(); | 4613 _json["inappproduct"] = inappproduct.map((value) => (value).toJson()).toLi
st(); |
4614 } | 4614 } |
4615 if (kind != null) { | 4615 if (kind != null) { |
4616 _json["kind"] = kind; | 4616 _json["kind"] = kind; |
4617 } | 4617 } |
4618 if (pageInfo != null) { | 4618 if (pageInfo != null) { |
4619 _json["pageInfo"] = (pageInfo).toJson(); | 4619 _json["pageInfo"] = (pageInfo).toJson(); |
4620 } | 4620 } |
4621 if (tokenPagination != null) { | 4621 if (tokenPagination != null) { |
4622 _json["tokenPagination"] = (tokenPagination).toJson(); | 4622 _json["tokenPagination"] = (tokenPagination).toJson(); |
4623 } | 4623 } |
4624 return _json; | 4624 return _json; |
4625 } | 4625 } |
4626 } | 4626 } |
4627 | 4627 |
4628 class InappproductsUpdateRequest { | 4628 class InappproductsUpdateRequest { |
4629 InAppProduct inappproduct; | 4629 InAppProduct inappproduct; |
4630 | 4630 |
4631 InappproductsUpdateRequest(); | 4631 InappproductsUpdateRequest(); |
4632 | 4632 |
4633 InappproductsUpdateRequest.fromJson(core.Map _json) { | 4633 InappproductsUpdateRequest.fromJson(core.Map _json) { |
4634 if (_json.containsKey("inappproduct")) { | 4634 if (_json.containsKey("inappproduct")) { |
4635 inappproduct = new InAppProduct.fromJson(_json["inappproduct"]); | 4635 inappproduct = new InAppProduct.fromJson(_json["inappproduct"]); |
4636 } | 4636 } |
4637 } | 4637 } |
4638 | 4638 |
4639 core.Map toJson() { | 4639 core.Map<core.String, core.Object> toJson() { |
4640 var _json = new core.Map(); | 4640 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4641 if (inappproduct != null) { | 4641 if (inappproduct != null) { |
4642 _json["inappproduct"] = (inappproduct).toJson(); | 4642 _json["inappproduct"] = (inappproduct).toJson(); |
4643 } | 4643 } |
4644 return _json; | 4644 return _json; |
4645 } | 4645 } |
4646 } | 4646 } |
4647 | 4647 |
4648 class InappproductsUpdateResponse { | 4648 class InappproductsUpdateResponse { |
4649 InAppProduct inappproduct; | 4649 InAppProduct inappproduct; |
4650 | 4650 |
4651 InappproductsUpdateResponse(); | 4651 InappproductsUpdateResponse(); |
4652 | 4652 |
4653 InappproductsUpdateResponse.fromJson(core.Map _json) { | 4653 InappproductsUpdateResponse.fromJson(core.Map _json) { |
4654 if (_json.containsKey("inappproduct")) { | 4654 if (_json.containsKey("inappproduct")) { |
4655 inappproduct = new InAppProduct.fromJson(_json["inappproduct"]); | 4655 inappproduct = new InAppProduct.fromJson(_json["inappproduct"]); |
4656 } | 4656 } |
4657 } | 4657 } |
4658 | 4658 |
4659 core.Map toJson() { | 4659 core.Map<core.String, core.Object> toJson() { |
4660 var _json = new core.Map(); | 4660 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4661 if (inappproduct != null) { | 4661 if (inappproduct != null) { |
4662 _json["inappproduct"] = (inappproduct).toJson(); | 4662 _json["inappproduct"] = (inappproduct).toJson(); |
4663 } | 4663 } |
4664 return _json; | 4664 return _json; |
4665 } | 4665 } |
4666 } | 4666 } |
4667 | 4667 |
4668 class Listing { | 4668 class Listing { |
4669 /** | 4669 /** |
4670 * Full description of the app; this may be up to 4000 characters in length. | 4670 * Full description of the app; this may be up to 4000 characters in length. |
(...skipping 24 matching lines...) Expand all Loading... |
4695 shortDescription = _json["shortDescription"]; | 4695 shortDescription = _json["shortDescription"]; |
4696 } | 4696 } |
4697 if (_json.containsKey("title")) { | 4697 if (_json.containsKey("title")) { |
4698 title = _json["title"]; | 4698 title = _json["title"]; |
4699 } | 4699 } |
4700 if (_json.containsKey("video")) { | 4700 if (_json.containsKey("video")) { |
4701 video = _json["video"]; | 4701 video = _json["video"]; |
4702 } | 4702 } |
4703 } | 4703 } |
4704 | 4704 |
4705 core.Map toJson() { | 4705 core.Map<core.String, core.Object> toJson() { |
4706 var _json = new core.Map(); | 4706 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4707 if (fullDescription != null) { | 4707 if (fullDescription != null) { |
4708 _json["fullDescription"] = fullDescription; | 4708 _json["fullDescription"] = fullDescription; |
4709 } | 4709 } |
4710 if (language != null) { | 4710 if (language != null) { |
4711 _json["language"] = language; | 4711 _json["language"] = language; |
4712 } | 4712 } |
4713 if (shortDescription != null) { | 4713 if (shortDescription != null) { |
4714 _json["shortDescription"] = shortDescription; | 4714 _json["shortDescription"] = shortDescription; |
4715 } | 4715 } |
4716 if (title != null) { | 4716 if (title != null) { |
(...skipping 18 matching lines...) Expand all Loading... |
4735 | 4735 |
4736 ListingsListResponse.fromJson(core.Map _json) { | 4736 ListingsListResponse.fromJson(core.Map _json) { |
4737 if (_json.containsKey("kind")) { | 4737 if (_json.containsKey("kind")) { |
4738 kind = _json["kind"]; | 4738 kind = _json["kind"]; |
4739 } | 4739 } |
4740 if (_json.containsKey("listings")) { | 4740 if (_json.containsKey("listings")) { |
4741 listings = _json["listings"].map((value) => new Listing.fromJson(value)).t
oList(); | 4741 listings = _json["listings"].map((value) => new Listing.fromJson(value)).t
oList(); |
4742 } | 4742 } |
4743 } | 4743 } |
4744 | 4744 |
4745 core.Map toJson() { | 4745 core.Map<core.String, core.Object> toJson() { |
4746 var _json = new core.Map(); | 4746 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4747 if (kind != null) { | 4747 if (kind != null) { |
4748 _json["kind"] = kind; | 4748 _json["kind"] = kind; |
4749 } | 4749 } |
4750 if (listings != null) { | 4750 if (listings != null) { |
4751 _json["listings"] = listings.map((value) => (value).toJson()).toList(); | 4751 _json["listings"] = listings.map((value) => (value).toJson()).toList(); |
4752 } | 4752 } |
4753 return _json; | 4753 return _json; |
4754 } | 4754 } |
4755 } | 4755 } |
4756 | 4756 |
(...skipping 10 matching lines...) Expand all Loading... |
4767 | 4767 |
4768 MonthDay.fromJson(core.Map _json) { | 4768 MonthDay.fromJson(core.Map _json) { |
4769 if (_json.containsKey("day")) { | 4769 if (_json.containsKey("day")) { |
4770 day = _json["day"]; | 4770 day = _json["day"]; |
4771 } | 4771 } |
4772 if (_json.containsKey("month")) { | 4772 if (_json.containsKey("month")) { |
4773 month = _json["month"]; | 4773 month = _json["month"]; |
4774 } | 4774 } |
4775 } | 4775 } |
4776 | 4776 |
4777 core.Map toJson() { | 4777 core.Map<core.String, core.Object> toJson() { |
4778 var _json = new core.Map(); | 4778 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4779 if (day != null) { | 4779 if (day != null) { |
4780 _json["day"] = day; | 4780 _json["day"] = day; |
4781 } | 4781 } |
4782 if (month != null) { | 4782 if (month != null) { |
4783 _json["month"] = month; | 4783 _json["month"] = month; |
4784 } | 4784 } |
4785 return _json; | 4785 return _json; |
4786 } | 4786 } |
4787 } | 4787 } |
4788 | 4788 |
4789 class PageInfo { | 4789 class PageInfo { |
4790 core.int resultPerPage; | 4790 core.int resultPerPage; |
4791 core.int startIndex; | 4791 core.int startIndex; |
4792 core.int totalResults; | 4792 core.int totalResults; |
4793 | 4793 |
4794 PageInfo(); | 4794 PageInfo(); |
4795 | 4795 |
4796 PageInfo.fromJson(core.Map _json) { | 4796 PageInfo.fromJson(core.Map _json) { |
4797 if (_json.containsKey("resultPerPage")) { | 4797 if (_json.containsKey("resultPerPage")) { |
4798 resultPerPage = _json["resultPerPage"]; | 4798 resultPerPage = _json["resultPerPage"]; |
4799 } | 4799 } |
4800 if (_json.containsKey("startIndex")) { | 4800 if (_json.containsKey("startIndex")) { |
4801 startIndex = _json["startIndex"]; | 4801 startIndex = _json["startIndex"]; |
4802 } | 4802 } |
4803 if (_json.containsKey("totalResults")) { | 4803 if (_json.containsKey("totalResults")) { |
4804 totalResults = _json["totalResults"]; | 4804 totalResults = _json["totalResults"]; |
4805 } | 4805 } |
4806 } | 4806 } |
4807 | 4807 |
4808 core.Map toJson() { | 4808 core.Map<core.String, core.Object> toJson() { |
4809 var _json = new core.Map(); | 4809 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4810 if (resultPerPage != null) { | 4810 if (resultPerPage != null) { |
4811 _json["resultPerPage"] = resultPerPage; | 4811 _json["resultPerPage"] = resultPerPage; |
4812 } | 4812 } |
4813 if (startIndex != null) { | 4813 if (startIndex != null) { |
4814 _json["startIndex"] = startIndex; | 4814 _json["startIndex"] = startIndex; |
4815 } | 4815 } |
4816 if (totalResults != null) { | 4816 if (totalResults != null) { |
4817 _json["totalResults"] = totalResults; | 4817 _json["totalResults"] = totalResults; |
4818 } | 4818 } |
4819 return _json; | 4819 return _json; |
(...skipping 12 matching lines...) Expand all Loading... |
4832 | 4832 |
4833 Price.fromJson(core.Map _json) { | 4833 Price.fromJson(core.Map _json) { |
4834 if (_json.containsKey("currency")) { | 4834 if (_json.containsKey("currency")) { |
4835 currency = _json["currency"]; | 4835 currency = _json["currency"]; |
4836 } | 4836 } |
4837 if (_json.containsKey("priceMicros")) { | 4837 if (_json.containsKey("priceMicros")) { |
4838 priceMicros = _json["priceMicros"]; | 4838 priceMicros = _json["priceMicros"]; |
4839 } | 4839 } |
4840 } | 4840 } |
4841 | 4841 |
4842 core.Map toJson() { | 4842 core.Map<core.String, core.Object> toJson() { |
4843 var _json = new core.Map(); | 4843 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4844 if (currency != null) { | 4844 if (currency != null) { |
4845 _json["currency"] = currency; | 4845 _json["currency"] = currency; |
4846 } | 4846 } |
4847 if (priceMicros != null) { | 4847 if (priceMicros != null) { |
4848 _json["priceMicros"] = priceMicros; | 4848 _json["priceMicros"] = priceMicros; |
4849 } | 4849 } |
4850 return _json; | 4850 return _json; |
4851 } | 4851 } |
4852 } | 4852 } |
4853 | 4853 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4897 kind = _json["kind"]; | 4897 kind = _json["kind"]; |
4898 } | 4898 } |
4899 if (_json.containsKey("purchaseState")) { | 4899 if (_json.containsKey("purchaseState")) { |
4900 purchaseState = _json["purchaseState"]; | 4900 purchaseState = _json["purchaseState"]; |
4901 } | 4901 } |
4902 if (_json.containsKey("purchaseTimeMillis")) { | 4902 if (_json.containsKey("purchaseTimeMillis")) { |
4903 purchaseTimeMillis = _json["purchaseTimeMillis"]; | 4903 purchaseTimeMillis = _json["purchaseTimeMillis"]; |
4904 } | 4904 } |
4905 } | 4905 } |
4906 | 4906 |
4907 core.Map toJson() { | 4907 core.Map<core.String, core.Object> toJson() { |
4908 var _json = new core.Map(); | 4908 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4909 if (consumptionState != null) { | 4909 if (consumptionState != null) { |
4910 _json["consumptionState"] = consumptionState; | 4910 _json["consumptionState"] = consumptionState; |
4911 } | 4911 } |
4912 if (developerPayload != null) { | 4912 if (developerPayload != null) { |
4913 _json["developerPayload"] = developerPayload; | 4913 _json["developerPayload"] = developerPayload; |
4914 } | 4914 } |
4915 if (kind != null) { | 4915 if (kind != null) { |
4916 _json["kind"] = kind; | 4916 _json["kind"] = kind; |
4917 } | 4917 } |
4918 if (purchaseState != null) { | 4918 if (purchaseState != null) { |
(...skipping 21 matching lines...) Expand all Loading... |
4940 | 4940 |
4941 Prorate.fromJson(core.Map _json) { | 4941 Prorate.fromJson(core.Map _json) { |
4942 if (_json.containsKey("defaultPrice")) { | 4942 if (_json.containsKey("defaultPrice")) { |
4943 defaultPrice = new Price.fromJson(_json["defaultPrice"]); | 4943 defaultPrice = new Price.fromJson(_json["defaultPrice"]); |
4944 } | 4944 } |
4945 if (_json.containsKey("start")) { | 4945 if (_json.containsKey("start")) { |
4946 start = new MonthDay.fromJson(_json["start"]); | 4946 start = new MonthDay.fromJson(_json["start"]); |
4947 } | 4947 } |
4948 } | 4948 } |
4949 | 4949 |
4950 core.Map toJson() { | 4950 core.Map<core.String, core.Object> toJson() { |
4951 var _json = new core.Map(); | 4951 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4952 if (defaultPrice != null) { | 4952 if (defaultPrice != null) { |
4953 _json["defaultPrice"] = (defaultPrice).toJson(); | 4953 _json["defaultPrice"] = (defaultPrice).toJson(); |
4954 } | 4954 } |
4955 if (start != null) { | 4955 if (start != null) { |
4956 _json["start"] = (start).toJson(); | 4956 _json["start"] = (start).toJson(); |
4957 } | 4957 } |
4958 return _json; | 4958 return _json; |
4959 } | 4959 } |
4960 } | 4960 } |
4961 | 4961 |
(...skipping 12 matching lines...) Expand all Loading... |
4974 authorName = _json["authorName"]; | 4974 authorName = _json["authorName"]; |
4975 } | 4975 } |
4976 if (_json.containsKey("comments")) { | 4976 if (_json.containsKey("comments")) { |
4977 comments = _json["comments"].map((value) => new Comment.fromJson(value)).t
oList(); | 4977 comments = _json["comments"].map((value) => new Comment.fromJson(value)).t
oList(); |
4978 } | 4978 } |
4979 if (_json.containsKey("reviewId")) { | 4979 if (_json.containsKey("reviewId")) { |
4980 reviewId = _json["reviewId"]; | 4980 reviewId = _json["reviewId"]; |
4981 } | 4981 } |
4982 } | 4982 } |
4983 | 4983 |
4984 core.Map toJson() { | 4984 core.Map<core.String, core.Object> toJson() { |
4985 var _json = new core.Map(); | 4985 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4986 if (authorName != null) { | 4986 if (authorName != null) { |
4987 _json["authorName"] = authorName; | 4987 _json["authorName"] = authorName; |
4988 } | 4988 } |
4989 if (comments != null) { | 4989 if (comments != null) { |
4990 _json["comments"] = comments.map((value) => (value).toJson()).toList(); | 4990 _json["comments"] = comments.map((value) => (value).toJson()).toList(); |
4991 } | 4991 } |
4992 if (reviewId != null) { | 4992 if (reviewId != null) { |
4993 _json["reviewId"] = reviewId; | 4993 _json["reviewId"] = reviewId; |
4994 } | 4994 } |
4995 return _json; | 4995 return _json; |
(...skipping 10 matching lines...) Expand all Loading... |
5006 | 5006 |
5007 ReviewReplyResult.fromJson(core.Map _json) { | 5007 ReviewReplyResult.fromJson(core.Map _json) { |
5008 if (_json.containsKey("lastEdited")) { | 5008 if (_json.containsKey("lastEdited")) { |
5009 lastEdited = new Timestamp.fromJson(_json["lastEdited"]); | 5009 lastEdited = new Timestamp.fromJson(_json["lastEdited"]); |
5010 } | 5010 } |
5011 if (_json.containsKey("replyText")) { | 5011 if (_json.containsKey("replyText")) { |
5012 replyText = _json["replyText"]; | 5012 replyText = _json["replyText"]; |
5013 } | 5013 } |
5014 } | 5014 } |
5015 | 5015 |
5016 core.Map toJson() { | 5016 core.Map<core.String, core.Object> toJson() { |
5017 var _json = new core.Map(); | 5017 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5018 if (lastEdited != null) { | 5018 if (lastEdited != null) { |
5019 _json["lastEdited"] = (lastEdited).toJson(); | 5019 _json["lastEdited"] = (lastEdited).toJson(); |
5020 } | 5020 } |
5021 if (replyText != null) { | 5021 if (replyText != null) { |
5022 _json["replyText"] = replyText; | 5022 _json["replyText"] = replyText; |
5023 } | 5023 } |
5024 return _json; | 5024 return _json; |
5025 } | 5025 } |
5026 } | 5026 } |
5027 | 5027 |
5028 class ReviewsListResponse { | 5028 class ReviewsListResponse { |
5029 PageInfo pageInfo; | 5029 PageInfo pageInfo; |
5030 core.List<Review> reviews; | 5030 core.List<Review> reviews; |
5031 TokenPagination tokenPagination; | 5031 TokenPagination tokenPagination; |
5032 | 5032 |
5033 ReviewsListResponse(); | 5033 ReviewsListResponse(); |
5034 | 5034 |
5035 ReviewsListResponse.fromJson(core.Map _json) { | 5035 ReviewsListResponse.fromJson(core.Map _json) { |
5036 if (_json.containsKey("pageInfo")) { | 5036 if (_json.containsKey("pageInfo")) { |
5037 pageInfo = new PageInfo.fromJson(_json["pageInfo"]); | 5037 pageInfo = new PageInfo.fromJson(_json["pageInfo"]); |
5038 } | 5038 } |
5039 if (_json.containsKey("reviews")) { | 5039 if (_json.containsKey("reviews")) { |
5040 reviews = _json["reviews"].map((value) => new Review.fromJson(value)).toLi
st(); | 5040 reviews = _json["reviews"].map((value) => new Review.fromJson(value)).toLi
st(); |
5041 } | 5041 } |
5042 if (_json.containsKey("tokenPagination")) { | 5042 if (_json.containsKey("tokenPagination")) { |
5043 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); | 5043 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); |
5044 } | 5044 } |
5045 } | 5045 } |
5046 | 5046 |
5047 core.Map toJson() { | 5047 core.Map<core.String, core.Object> toJson() { |
5048 var _json = new core.Map(); | 5048 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5049 if (pageInfo != null) { | 5049 if (pageInfo != null) { |
5050 _json["pageInfo"] = (pageInfo).toJson(); | 5050 _json["pageInfo"] = (pageInfo).toJson(); |
5051 } | 5051 } |
5052 if (reviews != null) { | 5052 if (reviews != null) { |
5053 _json["reviews"] = reviews.map((value) => (value).toJson()).toList(); | 5053 _json["reviews"] = reviews.map((value) => (value).toJson()).toList(); |
5054 } | 5054 } |
5055 if (tokenPagination != null) { | 5055 if (tokenPagination != null) { |
5056 _json["tokenPagination"] = (tokenPagination).toJson(); | 5056 _json["tokenPagination"] = (tokenPagination).toJson(); |
5057 } | 5057 } |
5058 return _json; | 5058 return _json; |
5059 } | 5059 } |
5060 } | 5060 } |
5061 | 5061 |
5062 class ReviewsReplyRequest { | 5062 class ReviewsReplyRequest { |
5063 /** | 5063 /** |
5064 * The text to set as the reply. Replies of more than approximately 350 | 5064 * The text to set as the reply. Replies of more than approximately 350 |
5065 * characters will be rejected. HTML tags will be stripped. | 5065 * characters will be rejected. HTML tags will be stripped. |
5066 */ | 5066 */ |
5067 core.String replyText; | 5067 core.String replyText; |
5068 | 5068 |
5069 ReviewsReplyRequest(); | 5069 ReviewsReplyRequest(); |
5070 | 5070 |
5071 ReviewsReplyRequest.fromJson(core.Map _json) { | 5071 ReviewsReplyRequest.fromJson(core.Map _json) { |
5072 if (_json.containsKey("replyText")) { | 5072 if (_json.containsKey("replyText")) { |
5073 replyText = _json["replyText"]; | 5073 replyText = _json["replyText"]; |
5074 } | 5074 } |
5075 } | 5075 } |
5076 | 5076 |
5077 core.Map toJson() { | 5077 core.Map<core.String, core.Object> toJson() { |
5078 var _json = new core.Map(); | 5078 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5079 if (replyText != null) { | 5079 if (replyText != null) { |
5080 _json["replyText"] = replyText; | 5080 _json["replyText"] = replyText; |
5081 } | 5081 } |
5082 return _json; | 5082 return _json; |
5083 } | 5083 } |
5084 } | 5084 } |
5085 | 5085 |
5086 class ReviewsReplyResponse { | 5086 class ReviewsReplyResponse { |
5087 ReviewReplyResult result; | 5087 ReviewReplyResult result; |
5088 | 5088 |
5089 ReviewsReplyResponse(); | 5089 ReviewsReplyResponse(); |
5090 | 5090 |
5091 ReviewsReplyResponse.fromJson(core.Map _json) { | 5091 ReviewsReplyResponse.fromJson(core.Map _json) { |
5092 if (_json.containsKey("result")) { | 5092 if (_json.containsKey("result")) { |
5093 result = new ReviewReplyResult.fromJson(_json["result"]); | 5093 result = new ReviewReplyResult.fromJson(_json["result"]); |
5094 } | 5094 } |
5095 } | 5095 } |
5096 | 5096 |
5097 core.Map toJson() { | 5097 core.Map<core.String, core.Object> toJson() { |
5098 var _json = new core.Map(); | 5098 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5099 if (result != null) { | 5099 if (result != null) { |
5100 _json["result"] = (result).toJson(); | 5100 _json["result"] = (result).toJson(); |
5101 } | 5101 } |
5102 return _json; | 5102 return _json; |
5103 } | 5103 } |
5104 } | 5104 } |
5105 | 5105 |
5106 class Season { | 5106 class Season { |
5107 /** Inclusive end date of the recurrence period. */ | 5107 /** Inclusive end date of the recurrence period. */ |
5108 MonthDay end; | 5108 MonthDay end; |
(...skipping 14 matching lines...) Expand all Loading... |
5123 end = new MonthDay.fromJson(_json["end"]); | 5123 end = new MonthDay.fromJson(_json["end"]); |
5124 } | 5124 } |
5125 if (_json.containsKey("prorations")) { | 5125 if (_json.containsKey("prorations")) { |
5126 prorations = _json["prorations"].map((value) => new Prorate.fromJson(value
)).toList(); | 5126 prorations = _json["prorations"].map((value) => new Prorate.fromJson(value
)).toList(); |
5127 } | 5127 } |
5128 if (_json.containsKey("start")) { | 5128 if (_json.containsKey("start")) { |
5129 start = new MonthDay.fromJson(_json["start"]); | 5129 start = new MonthDay.fromJson(_json["start"]); |
5130 } | 5130 } |
5131 } | 5131 } |
5132 | 5132 |
5133 core.Map toJson() { | 5133 core.Map<core.String, core.Object> toJson() { |
5134 var _json = new core.Map(); | 5134 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5135 if (end != null) { | 5135 if (end != null) { |
5136 _json["end"] = (end).toJson(); | 5136 _json["end"] = (end).toJson(); |
5137 } | 5137 } |
5138 if (prorations != null) { | 5138 if (prorations != null) { |
5139 _json["prorations"] = prorations.map((value) => (value).toJson()).toList()
; | 5139 _json["prorations"] = prorations.map((value) => (value).toJson()).toList()
; |
5140 } | 5140 } |
5141 if (start != null) { | 5141 if (start != null) { |
5142 _json["start"] = (start).toJson(); | 5142 _json["start"] = (start).toJson(); |
5143 } | 5143 } |
5144 return _json; | 5144 return _json; |
(...skipping 22 matching lines...) Expand all Loading... |
5167 | 5167 |
5168 SubscriptionDeferralInfo.fromJson(core.Map _json) { | 5168 SubscriptionDeferralInfo.fromJson(core.Map _json) { |
5169 if (_json.containsKey("desiredExpiryTimeMillis")) { | 5169 if (_json.containsKey("desiredExpiryTimeMillis")) { |
5170 desiredExpiryTimeMillis = _json["desiredExpiryTimeMillis"]; | 5170 desiredExpiryTimeMillis = _json["desiredExpiryTimeMillis"]; |
5171 } | 5171 } |
5172 if (_json.containsKey("expectedExpiryTimeMillis")) { | 5172 if (_json.containsKey("expectedExpiryTimeMillis")) { |
5173 expectedExpiryTimeMillis = _json["expectedExpiryTimeMillis"]; | 5173 expectedExpiryTimeMillis = _json["expectedExpiryTimeMillis"]; |
5174 } | 5174 } |
5175 } | 5175 } |
5176 | 5176 |
5177 core.Map toJson() { | 5177 core.Map<core.String, core.Object> toJson() { |
5178 var _json = new core.Map(); | 5178 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5179 if (desiredExpiryTimeMillis != null) { | 5179 if (desiredExpiryTimeMillis != null) { |
5180 _json["desiredExpiryTimeMillis"] = desiredExpiryTimeMillis; | 5180 _json["desiredExpiryTimeMillis"] = desiredExpiryTimeMillis; |
5181 } | 5181 } |
5182 if (expectedExpiryTimeMillis != null) { | 5182 if (expectedExpiryTimeMillis != null) { |
5183 _json["expectedExpiryTimeMillis"] = expectedExpiryTimeMillis; | 5183 _json["expectedExpiryTimeMillis"] = expectedExpiryTimeMillis; |
5184 } | 5184 } |
5185 return _json; | 5185 return _json; |
5186 } | 5186 } |
5187 } | 5187 } |
5188 | 5188 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5285 priceCurrencyCode = _json["priceCurrencyCode"]; | 5285 priceCurrencyCode = _json["priceCurrencyCode"]; |
5286 } | 5286 } |
5287 if (_json.containsKey("startTimeMillis")) { | 5287 if (_json.containsKey("startTimeMillis")) { |
5288 startTimeMillis = _json["startTimeMillis"]; | 5288 startTimeMillis = _json["startTimeMillis"]; |
5289 } | 5289 } |
5290 if (_json.containsKey("userCancellationTimeMillis")) { | 5290 if (_json.containsKey("userCancellationTimeMillis")) { |
5291 userCancellationTimeMillis = _json["userCancellationTimeMillis"]; | 5291 userCancellationTimeMillis = _json["userCancellationTimeMillis"]; |
5292 } | 5292 } |
5293 } | 5293 } |
5294 | 5294 |
5295 core.Map toJson() { | 5295 core.Map<core.String, core.Object> toJson() { |
5296 var _json = new core.Map(); | 5296 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5297 if (autoRenewing != null) { | 5297 if (autoRenewing != null) { |
5298 _json["autoRenewing"] = autoRenewing; | 5298 _json["autoRenewing"] = autoRenewing; |
5299 } | 5299 } |
5300 if (cancelReason != null) { | 5300 if (cancelReason != null) { |
5301 _json["cancelReason"] = cancelReason; | 5301 _json["cancelReason"] = cancelReason; |
5302 } | 5302 } |
5303 if (countryCode != null) { | 5303 if (countryCode != null) { |
5304 _json["countryCode"] = countryCode; | 5304 _json["countryCode"] = countryCode; |
5305 } | 5305 } |
5306 if (developerPayload != null) { | 5306 if (developerPayload != null) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5338 SubscriptionDeferralInfo deferralInfo; | 5338 SubscriptionDeferralInfo deferralInfo; |
5339 | 5339 |
5340 SubscriptionPurchasesDeferRequest(); | 5340 SubscriptionPurchasesDeferRequest(); |
5341 | 5341 |
5342 SubscriptionPurchasesDeferRequest.fromJson(core.Map _json) { | 5342 SubscriptionPurchasesDeferRequest.fromJson(core.Map _json) { |
5343 if (_json.containsKey("deferralInfo")) { | 5343 if (_json.containsKey("deferralInfo")) { |
5344 deferralInfo = new SubscriptionDeferralInfo.fromJson(_json["deferralInfo"]
); | 5344 deferralInfo = new SubscriptionDeferralInfo.fromJson(_json["deferralInfo"]
); |
5345 } | 5345 } |
5346 } | 5346 } |
5347 | 5347 |
5348 core.Map toJson() { | 5348 core.Map<core.String, core.Object> toJson() { |
5349 var _json = new core.Map(); | 5349 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5350 if (deferralInfo != null) { | 5350 if (deferralInfo != null) { |
5351 _json["deferralInfo"] = (deferralInfo).toJson(); | 5351 _json["deferralInfo"] = (deferralInfo).toJson(); |
5352 } | 5352 } |
5353 return _json; | 5353 return _json; |
5354 } | 5354 } |
5355 } | 5355 } |
5356 | 5356 |
5357 class SubscriptionPurchasesDeferResponse { | 5357 class SubscriptionPurchasesDeferResponse { |
5358 /** | 5358 /** |
5359 * The new expiry time for the subscription in milliseconds since the Epoch. | 5359 * The new expiry time for the subscription in milliseconds since the Epoch. |
5360 */ | 5360 */ |
5361 core.String newExpiryTimeMillis; | 5361 core.String newExpiryTimeMillis; |
5362 | 5362 |
5363 SubscriptionPurchasesDeferResponse(); | 5363 SubscriptionPurchasesDeferResponse(); |
5364 | 5364 |
5365 SubscriptionPurchasesDeferResponse.fromJson(core.Map _json) { | 5365 SubscriptionPurchasesDeferResponse.fromJson(core.Map _json) { |
5366 if (_json.containsKey("newExpiryTimeMillis")) { | 5366 if (_json.containsKey("newExpiryTimeMillis")) { |
5367 newExpiryTimeMillis = _json["newExpiryTimeMillis"]; | 5367 newExpiryTimeMillis = _json["newExpiryTimeMillis"]; |
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 (newExpiryTimeMillis != null) { | 5373 if (newExpiryTimeMillis != null) { |
5374 _json["newExpiryTimeMillis"] = newExpiryTimeMillis; | 5374 _json["newExpiryTimeMillis"] = newExpiryTimeMillis; |
5375 } | 5375 } |
5376 return _json; | 5376 return _json; |
5377 } | 5377 } |
5378 } | 5378 } |
5379 | 5379 |
5380 class Testers { | 5380 class Testers { |
5381 core.List<core.String> googleGroups; | 5381 core.List<core.String> googleGroups; |
5382 core.List<core.String> googlePlusCommunities; | 5382 core.List<core.String> googlePlusCommunities; |
5383 | 5383 |
5384 Testers(); | 5384 Testers(); |
5385 | 5385 |
5386 Testers.fromJson(core.Map _json) { | 5386 Testers.fromJson(core.Map _json) { |
5387 if (_json.containsKey("googleGroups")) { | 5387 if (_json.containsKey("googleGroups")) { |
5388 googleGroups = _json["googleGroups"]; | 5388 googleGroups = _json["googleGroups"]; |
5389 } | 5389 } |
5390 if (_json.containsKey("googlePlusCommunities")) { | 5390 if (_json.containsKey("googlePlusCommunities")) { |
5391 googlePlusCommunities = _json["googlePlusCommunities"]; | 5391 googlePlusCommunities = _json["googlePlusCommunities"]; |
5392 } | 5392 } |
5393 } | 5393 } |
5394 | 5394 |
5395 core.Map toJson() { | 5395 core.Map<core.String, core.Object> toJson() { |
5396 var _json = new core.Map(); | 5396 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5397 if (googleGroups != null) { | 5397 if (googleGroups != null) { |
5398 _json["googleGroups"] = googleGroups; | 5398 _json["googleGroups"] = googleGroups; |
5399 } | 5399 } |
5400 if (googlePlusCommunities != null) { | 5400 if (googlePlusCommunities != null) { |
5401 _json["googlePlusCommunities"] = googlePlusCommunities; | 5401 _json["googlePlusCommunities"] = googlePlusCommunities; |
5402 } | 5402 } |
5403 return _json; | 5403 return _json; |
5404 } | 5404 } |
5405 } | 5405 } |
5406 | 5406 |
5407 class Timestamp { | 5407 class Timestamp { |
5408 core.int nanos; | 5408 core.int nanos; |
5409 core.String seconds; | 5409 core.String seconds; |
5410 | 5410 |
5411 Timestamp(); | 5411 Timestamp(); |
5412 | 5412 |
5413 Timestamp.fromJson(core.Map _json) { | 5413 Timestamp.fromJson(core.Map _json) { |
5414 if (_json.containsKey("nanos")) { | 5414 if (_json.containsKey("nanos")) { |
5415 nanos = _json["nanos"]; | 5415 nanos = _json["nanos"]; |
5416 } | 5416 } |
5417 if (_json.containsKey("seconds")) { | 5417 if (_json.containsKey("seconds")) { |
5418 seconds = _json["seconds"]; | 5418 seconds = _json["seconds"]; |
5419 } | 5419 } |
5420 } | 5420 } |
5421 | 5421 |
5422 core.Map toJson() { | 5422 core.Map<core.String, core.Object> toJson() { |
5423 var _json = new core.Map(); | 5423 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5424 if (nanos != null) { | 5424 if (nanos != null) { |
5425 _json["nanos"] = nanos; | 5425 _json["nanos"] = nanos; |
5426 } | 5426 } |
5427 if (seconds != null) { | 5427 if (seconds != null) { |
5428 _json["seconds"] = seconds; | 5428 _json["seconds"] = seconds; |
5429 } | 5429 } |
5430 return _json; | 5430 return _json; |
5431 } | 5431 } |
5432 } | 5432 } |
5433 | 5433 |
5434 class TokenPagination { | 5434 class TokenPagination { |
5435 core.String nextPageToken; | 5435 core.String nextPageToken; |
5436 core.String previousPageToken; | 5436 core.String previousPageToken; |
5437 | 5437 |
5438 TokenPagination(); | 5438 TokenPagination(); |
5439 | 5439 |
5440 TokenPagination.fromJson(core.Map _json) { | 5440 TokenPagination.fromJson(core.Map _json) { |
5441 if (_json.containsKey("nextPageToken")) { | 5441 if (_json.containsKey("nextPageToken")) { |
5442 nextPageToken = _json["nextPageToken"]; | 5442 nextPageToken = _json["nextPageToken"]; |
5443 } | 5443 } |
5444 if (_json.containsKey("previousPageToken")) { | 5444 if (_json.containsKey("previousPageToken")) { |
5445 previousPageToken = _json["previousPageToken"]; | 5445 previousPageToken = _json["previousPageToken"]; |
5446 } | 5446 } |
5447 } | 5447 } |
5448 | 5448 |
5449 core.Map toJson() { | 5449 core.Map<core.String, core.Object> toJson() { |
5450 var _json = new core.Map(); | 5450 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5451 if (nextPageToken != null) { | 5451 if (nextPageToken != null) { |
5452 _json["nextPageToken"] = nextPageToken; | 5452 _json["nextPageToken"] = nextPageToken; |
5453 } | 5453 } |
5454 if (previousPageToken != null) { | 5454 if (previousPageToken != null) { |
5455 _json["previousPageToken"] = previousPageToken; | 5455 _json["previousPageToken"] = previousPageToken; |
5456 } | 5456 } |
5457 return _json; | 5457 return _json; |
5458 } | 5458 } |
5459 } | 5459 } |
5460 | 5460 |
5461 class Track { | 5461 class Track { |
5462 core.String track; | 5462 core.String track; |
5463 core.double userFraction; | 5463 core.double userFraction; |
5464 core.List<core.int> versionCodes; | 5464 core.List<core.int> versionCodes; |
5465 | 5465 |
5466 Track(); | 5466 Track(); |
5467 | 5467 |
5468 Track.fromJson(core.Map _json) { | 5468 Track.fromJson(core.Map _json) { |
5469 if (_json.containsKey("track")) { | 5469 if (_json.containsKey("track")) { |
5470 track = _json["track"]; | 5470 track = _json["track"]; |
5471 } | 5471 } |
5472 if (_json.containsKey("userFraction")) { | 5472 if (_json.containsKey("userFraction")) { |
5473 userFraction = _json["userFraction"]; | 5473 userFraction = _json["userFraction"]; |
5474 } | 5474 } |
5475 if (_json.containsKey("versionCodes")) { | 5475 if (_json.containsKey("versionCodes")) { |
5476 versionCodes = _json["versionCodes"]; | 5476 versionCodes = _json["versionCodes"]; |
5477 } | 5477 } |
5478 } | 5478 } |
5479 | 5479 |
5480 core.Map toJson() { | 5480 core.Map<core.String, core.Object> toJson() { |
5481 var _json = new core.Map(); | 5481 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5482 if (track != null) { | 5482 if (track != null) { |
5483 _json["track"] = track; | 5483 _json["track"] = track; |
5484 } | 5484 } |
5485 if (userFraction != null) { | 5485 if (userFraction != null) { |
5486 _json["userFraction"] = userFraction; | 5486 _json["userFraction"] = userFraction; |
5487 } | 5487 } |
5488 if (versionCodes != null) { | 5488 if (versionCodes != null) { |
5489 _json["versionCodes"] = versionCodes; | 5489 _json["versionCodes"] = versionCodes; |
5490 } | 5490 } |
5491 return _json; | 5491 return _json; |
(...skipping 12 matching lines...) Expand all Loading... |
5504 | 5504 |
5505 TracksListResponse.fromJson(core.Map _json) { | 5505 TracksListResponse.fromJson(core.Map _json) { |
5506 if (_json.containsKey("kind")) { | 5506 if (_json.containsKey("kind")) { |
5507 kind = _json["kind"]; | 5507 kind = _json["kind"]; |
5508 } | 5508 } |
5509 if (_json.containsKey("tracks")) { | 5509 if (_json.containsKey("tracks")) { |
5510 tracks = _json["tracks"].map((value) => new Track.fromJson(value)).toList(
); | 5510 tracks = _json["tracks"].map((value) => new Track.fromJson(value)).toList(
); |
5511 } | 5511 } |
5512 } | 5512 } |
5513 | 5513 |
5514 core.Map toJson() { | 5514 core.Map<core.String, core.Object> toJson() { |
5515 var _json = new core.Map(); | 5515 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5516 if (kind != null) { | 5516 if (kind != null) { |
5517 _json["kind"] = kind; | 5517 _json["kind"] = kind; |
5518 } | 5518 } |
5519 if (tracks != null) { | 5519 if (tracks != null) { |
5520 _json["tracks"] = tracks.map((value) => (value).toJson()).toList(); | 5520 _json["tracks"] = tracks.map((value) => (value).toJson()).toList(); |
5521 } | 5521 } |
5522 return _json; | 5522 return _json; |
5523 } | 5523 } |
5524 } | 5524 } |
5525 | 5525 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5605 text = _json["text"]; | 5605 text = _json["text"]; |
5606 } | 5606 } |
5607 if (_json.containsKey("thumbsDownCount")) { | 5607 if (_json.containsKey("thumbsDownCount")) { |
5608 thumbsDownCount = _json["thumbsDownCount"]; | 5608 thumbsDownCount = _json["thumbsDownCount"]; |
5609 } | 5609 } |
5610 if (_json.containsKey("thumbsUpCount")) { | 5610 if (_json.containsKey("thumbsUpCount")) { |
5611 thumbsUpCount = _json["thumbsUpCount"]; | 5611 thumbsUpCount = _json["thumbsUpCount"]; |
5612 } | 5612 } |
5613 } | 5613 } |
5614 | 5614 |
5615 core.Map toJson() { | 5615 core.Map<core.String, core.Object> toJson() { |
5616 var _json = new core.Map(); | 5616 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5617 if (androidOsVersion != null) { | 5617 if (androidOsVersion != null) { |
5618 _json["androidOsVersion"] = androidOsVersion; | 5618 _json["androidOsVersion"] = androidOsVersion; |
5619 } | 5619 } |
5620 if (appVersionCode != null) { | 5620 if (appVersionCode != null) { |
5621 _json["appVersionCode"] = appVersionCode; | 5621 _json["appVersionCode"] = appVersionCode; |
5622 } | 5622 } |
5623 if (appVersionName != null) { | 5623 if (appVersionName != null) { |
5624 _json["appVersionName"] = appVersionName; | 5624 _json["appVersionName"] = appVersionName; |
5625 } | 5625 } |
5626 if (device != null) { | 5626 if (device != null) { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5690 purchaseTimeMillis = _json["purchaseTimeMillis"]; | 5690 purchaseTimeMillis = _json["purchaseTimeMillis"]; |
5691 } | 5691 } |
5692 if (_json.containsKey("purchaseToken")) { | 5692 if (_json.containsKey("purchaseToken")) { |
5693 purchaseToken = _json["purchaseToken"]; | 5693 purchaseToken = _json["purchaseToken"]; |
5694 } | 5694 } |
5695 if (_json.containsKey("voidedTimeMillis")) { | 5695 if (_json.containsKey("voidedTimeMillis")) { |
5696 voidedTimeMillis = _json["voidedTimeMillis"]; | 5696 voidedTimeMillis = _json["voidedTimeMillis"]; |
5697 } | 5697 } |
5698 } | 5698 } |
5699 | 5699 |
5700 core.Map toJson() { | 5700 core.Map<core.String, core.Object> toJson() { |
5701 var _json = new core.Map(); | 5701 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5702 if (kind != null) { | 5702 if (kind != null) { |
5703 _json["kind"] = kind; | 5703 _json["kind"] = kind; |
5704 } | 5704 } |
5705 if (purchaseTimeMillis != null) { | 5705 if (purchaseTimeMillis != null) { |
5706 _json["purchaseTimeMillis"] = purchaseTimeMillis; | 5706 _json["purchaseTimeMillis"] = purchaseTimeMillis; |
5707 } | 5707 } |
5708 if (purchaseToken != null) { | 5708 if (purchaseToken != null) { |
5709 _json["purchaseToken"] = purchaseToken; | 5709 _json["purchaseToken"] = purchaseToken; |
5710 } | 5710 } |
5711 if (voidedTimeMillis != null) { | 5711 if (voidedTimeMillis != null) { |
(...skipping 15 matching lines...) Expand all Loading... |
5727 pageInfo = new PageInfo.fromJson(_json["pageInfo"]); | 5727 pageInfo = new PageInfo.fromJson(_json["pageInfo"]); |
5728 } | 5728 } |
5729 if (_json.containsKey("tokenPagination")) { | 5729 if (_json.containsKey("tokenPagination")) { |
5730 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); | 5730 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); |
5731 } | 5731 } |
5732 if (_json.containsKey("voidedPurchases")) { | 5732 if (_json.containsKey("voidedPurchases")) { |
5733 voidedPurchases = _json["voidedPurchases"].map((value) => new VoidedPurcha
se.fromJson(value)).toList(); | 5733 voidedPurchases = _json["voidedPurchases"].map((value) => new VoidedPurcha
se.fromJson(value)).toList(); |
5734 } | 5734 } |
5735 } | 5735 } |
5736 | 5736 |
5737 core.Map toJson() { | 5737 core.Map<core.String, core.Object> toJson() { |
5738 var _json = new core.Map(); | 5738 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5739 if (pageInfo != null) { | 5739 if (pageInfo != null) { |
5740 _json["pageInfo"] = (pageInfo).toJson(); | 5740 _json["pageInfo"] = (pageInfo).toJson(); |
5741 } | 5741 } |
5742 if (tokenPagination != null) { | 5742 if (tokenPagination != null) { |
5743 _json["tokenPagination"] = (tokenPagination).toJson(); | 5743 _json["tokenPagination"] = (tokenPagination).toJson(); |
5744 } | 5744 } |
5745 if (voidedPurchases != null) { | 5745 if (voidedPurchases != null) { |
5746 _json["voidedPurchases"] = voidedPurchases.map((value) => (value).toJson()
).toList(); | 5746 _json["voidedPurchases"] = voidedPurchases.map((value) => (value).toJson()
).toList(); |
5747 } | 5747 } |
5748 return _json; | 5748 return _json; |
5749 } | 5749 } |
5750 } | 5750 } |
OLD | NEW |