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.firebasedynamiclinks.v1; | 3 library googleapis.firebasedynamiclinks.v1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
11 | 11 |
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
13 ApiRequestError, DetailedApiRequestError; | 13 ApiRequestError, DetailedApiRequestError; |
14 | 14 |
15 const core.String USER_AGENT = 'dart-api-client firebasedynamiclinks/v1'; | 15 const core.String USER_AGENT = 'dart-api-client firebasedynamiclinks/v1'; |
16 | 16 |
17 /** Programmatically creates and manages Firebase Dynamic Links. */ | 17 /** Programmatically creates and manages Firebase Dynamic Links. */ |
18 class FirebasedynamiclinksApi { | 18 class FirebasedynamiclinksApi { |
19 /** View and administer all your Firebase data and settings */ | 19 /** View and administer all your Firebase data and settings */ |
20 static const FirebaseScope = "https://www.googleapis.com/auth/firebase"; | 20 static const FirebaseScope = "https://www.googleapis.com/auth/firebase"; |
21 | 21 |
22 | 22 |
23 final commons.ApiRequester _requester; | 23 final commons.ApiRequester _requester; |
24 | 24 |
25 ShortLinksResourceApi get shortLinks => new ShortLinksResourceApi(_requester); | 25 ShortLinksResourceApi get shortLinks => new ShortLinksResourceApi(_requester); |
26 V1ResourceApi get v1 => new V1ResourceApi(_requester); | 26 V1ResourceApi get v1 => new V1ResourceApi(_requester); |
27 | 27 |
28 FirebasedynamiclinksApi(http.Client client, {core.String rootUrl: "https://fir
ebasedynamiclinks.googleapis.com/", core.String servicePath: ""}) : | 28 FirebasedynamiclinksApi(http.Client client, {core.String rootUrl: "https://fir
ebasedynamiclinks-ipv6.googleapis.com/", core.String servicePath: ""}) : |
29 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
GENT); | 29 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
GENT); |
30 } | 30 } |
31 | 31 |
32 | 32 |
33 class ShortLinksResourceApi { | 33 class ShortLinksResourceApi { |
34 final commons.ApiRequester _requester; | 34 final commons.ApiRequester _requester; |
35 | 35 |
36 ShortLinksResourceApi(commons.ApiRequester client) : | 36 ShortLinksResourceApi(commons.ApiRequester client) : |
37 _requester = client; | 37 _requester = client; |
38 | 38 |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 * - "BAD_URI_SCHEME_SOCIAL_IMAGE_LINK" : Social meta tag image link has an | 534 * - "BAD_URI_SCHEME_SOCIAL_IMAGE_LINK" : Social meta tag image link has an |
535 * invalid (non http/https) URI scheme. | 535 * invalid (non http/https) URI scheme. |
536 * - "NOT_URI_SOCIAL_URL" | 536 * - "NOT_URI_SOCIAL_URL" |
537 * - "BAD_URI_SCHEME_SOCIAL_URL" | 537 * - "BAD_URI_SCHEME_SOCIAL_URL" |
538 * - "LINK_LENGTH_TOO_LONG" : Dynamic Link URL length is too long. | 538 * - "LINK_LENGTH_TOO_LONG" : Dynamic Link URL length is too long. |
539 * - "LINK_WITH_FRAGMENTS" : Dynamic Link URL contains fragments. | 539 * - "LINK_WITH_FRAGMENTS" : Dynamic Link URL contains fragments. |
540 * - "NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID" : The iOS bundle ID does not | 540 * - "NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID" : The iOS bundle ID does not |
541 * match with the given iOS store ID. | 541 * match with the given iOS store ID. |
542 */ | 542 */ |
543 core.String warningCode; | 543 core.String warningCode; |
| 544 /** The document describing the warning, and helps resolve. */ |
| 545 core.String warningDocumentLink; |
544 /** The warning message to help developers improve their requests. */ | 546 /** The warning message to help developers improve their requests. */ |
545 core.String warningMessage; | 547 core.String warningMessage; |
546 | 548 |
547 DynamicLinkWarning(); | 549 DynamicLinkWarning(); |
548 | 550 |
549 DynamicLinkWarning.fromJson(core.Map _json) { | 551 DynamicLinkWarning.fromJson(core.Map _json) { |
550 if (_json.containsKey("warningCode")) { | 552 if (_json.containsKey("warningCode")) { |
551 warningCode = _json["warningCode"]; | 553 warningCode = _json["warningCode"]; |
552 } | 554 } |
| 555 if (_json.containsKey("warningDocumentLink")) { |
| 556 warningDocumentLink = _json["warningDocumentLink"]; |
| 557 } |
553 if (_json.containsKey("warningMessage")) { | 558 if (_json.containsKey("warningMessage")) { |
554 warningMessage = _json["warningMessage"]; | 559 warningMessage = _json["warningMessage"]; |
555 } | 560 } |
556 } | 561 } |
557 | 562 |
558 core.Map<core.String, core.Object> toJson() { | 563 core.Map<core.String, core.Object> toJson() { |
559 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 564 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
560 if (warningCode != null) { | 565 if (warningCode != null) { |
561 _json["warningCode"] = warningCode; | 566 _json["warningCode"] = warningCode; |
562 } | 567 } |
| 568 if (warningDocumentLink != null) { |
| 569 _json["warningDocumentLink"] = warningDocumentLink; |
| 570 } |
563 if (warningMessage != null) { | 571 if (warningMessage != null) { |
564 _json["warningMessage"] = warningMessage; | 572 _json["warningMessage"] = warningMessage; |
565 } | 573 } |
566 return _json; | 574 return _json; |
567 } | 575 } |
568 } | 576 } |
569 | 577 |
570 /** | 578 /** |
571 * Parameters for Google Play Campaign Measurements. | 579 * Parameters for Google Play Campaign Measurements. |
572 * [Learn | 580 * [Learn |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
862 } | 870 } |
863 | 871 |
864 core.Map<core.String, core.Object> toJson() { | 872 core.Map<core.String, core.Object> toJson() { |
865 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 873 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
866 if (option != null) { | 874 if (option != null) { |
867 _json["option"] = option; | 875 _json["option"] = option; |
868 } | 876 } |
869 return _json; | 877 return _json; |
870 } | 878 } |
871 } | 879 } |
OLD | NEW |