| OLD | NEW |
| 1 library googleapis.admin.reports_v1; | 1 library googleapis.admin.reports_v1; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
| 9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
| 10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 | 27 |
| 28 final common_internal.ApiRequester _requester; | 28 final common_internal.ApiRequester _requester; |
| 29 | 29 |
| 30 ActivitiesResourceApi get activities => new ActivitiesResourceApi(_requester); | 30 ActivitiesResourceApi get activities => new ActivitiesResourceApi(_requester); |
| 31 ChannelsResourceApi get channels => new ChannelsResourceApi(_requester); | 31 ChannelsResourceApi get channels => new ChannelsResourceApi(_requester); |
| 32 CustomerUsageReportsResourceApi get customerUsageReports => new CustomerUsageR
eportsResourceApi(_requester); | 32 CustomerUsageReportsResourceApi get customerUsageReports => new CustomerUsageR
eportsResourceApi(_requester); |
| 33 UserUsageReportResourceApi get userUsageReport => new UserUsageReportResourceA
pi(_requester); | 33 UserUsageReportResourceApi get userUsageReport => new UserUsageReportResourceA
pi(_requester); |
| 34 | 34 |
| 35 AdminApi(http.Client client) : | 35 AdminApi(http.Client client) : |
| 36 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "/admin/reports/v1/"); | 36 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "admin/reports/v1/"); |
| 37 } | 37 } |
| 38 | 38 |
| 39 | 39 |
| 40 /** Not documented yet. */ | 40 /** Not documented yet. */ |
| 41 class ActivitiesResourceApi { | 41 class ActivitiesResourceApi { |
| 42 final common_internal.ApiRequester _requester; | 42 final common_internal.ApiRequester _requester; |
| 43 | 43 |
| 44 ActivitiesResourceApi(common_internal.ApiRequester client) : | 44 ActivitiesResourceApi(common_internal.ApiRequester client) : |
| 45 _requester = client; | 45 _requester = client; |
| 46 | 46 |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 | 566 |
| 567 | 567 |
| 568 /** Not documented yet. */ | 568 /** Not documented yet. */ |
| 569 class ActivityEventsParameters { | 569 class ActivityEventsParameters { |
| 570 /** Boolean value of the parameter. */ | 570 /** Boolean value of the parameter. */ |
| 571 core.bool boolValue; | 571 core.bool boolValue; |
| 572 | 572 |
| 573 /** Integral value of the parameter. */ | 573 /** Integral value of the parameter. */ |
| 574 core.String intValue; | 574 core.String intValue; |
| 575 | 575 |
| 576 /** Multi-int value of the parameter. */ |
| 577 core.List<core.String> multiIntValue; |
| 578 |
| 579 /** Multi-string value of the parameter. */ |
| 580 core.List<core.String> multiValue; |
| 581 |
| 576 /** The name of the parameter. */ | 582 /** The name of the parameter. */ |
| 577 core.String name; | 583 core.String name; |
| 578 | 584 |
| 579 /** String value of the parameter. */ | 585 /** String value of the parameter. */ |
| 580 core.String value; | 586 core.String value; |
| 581 | 587 |
| 582 | 588 |
| 583 ActivityEventsParameters(); | 589 ActivityEventsParameters(); |
| 584 | 590 |
| 585 ActivityEventsParameters.fromJson(core.Map _json) { | 591 ActivityEventsParameters.fromJson(core.Map _json) { |
| 586 if (_json.containsKey("boolValue")) { | 592 if (_json.containsKey("boolValue")) { |
| 587 boolValue = _json["boolValue"]; | 593 boolValue = _json["boolValue"]; |
| 588 } | 594 } |
| 589 if (_json.containsKey("intValue")) { | 595 if (_json.containsKey("intValue")) { |
| 590 intValue = _json["intValue"]; | 596 intValue = _json["intValue"]; |
| 591 } | 597 } |
| 598 if (_json.containsKey("multiIntValue")) { |
| 599 multiIntValue = _json["multiIntValue"]; |
| 600 } |
| 601 if (_json.containsKey("multiValue")) { |
| 602 multiValue = _json["multiValue"]; |
| 603 } |
| 592 if (_json.containsKey("name")) { | 604 if (_json.containsKey("name")) { |
| 593 name = _json["name"]; | 605 name = _json["name"]; |
| 594 } | 606 } |
| 595 if (_json.containsKey("value")) { | 607 if (_json.containsKey("value")) { |
| 596 value = _json["value"]; | 608 value = _json["value"]; |
| 597 } | 609 } |
| 598 } | 610 } |
| 599 | 611 |
| 600 core.Map toJson() { | 612 core.Map toJson() { |
| 601 var _json = new core.Map(); | 613 var _json = new core.Map(); |
| 602 if (boolValue != null) { | 614 if (boolValue != null) { |
| 603 _json["boolValue"] = boolValue; | 615 _json["boolValue"] = boolValue; |
| 604 } | 616 } |
| 605 if (intValue != null) { | 617 if (intValue != null) { |
| 606 _json["intValue"] = intValue; | 618 _json["intValue"] = intValue; |
| 607 } | 619 } |
| 620 if (multiIntValue != null) { |
| 621 _json["multiIntValue"] = multiIntValue; |
| 622 } |
| 623 if (multiValue != null) { |
| 624 _json["multiValue"] = multiValue; |
| 625 } |
| 608 if (name != null) { | 626 if (name != null) { |
| 609 _json["name"] = name; | 627 _json["name"] = name; |
| 610 } | 628 } |
| 611 if (value != null) { | 629 if (value != null) { |
| 612 _json["value"] = value; | 630 _json["value"] = value; |
| 613 } | 631 } |
| 614 return _json; | 632 return _json; |
| 615 } | 633 } |
| 616 } | 634 } |
| 617 | 635 |
| (...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1223 _json["usageReports"] = usageReports.map((value) => (value).toJson()).toLi
st(); | 1241 _json["usageReports"] = usageReports.map((value) => (value).toJson()).toLi
st(); |
| 1224 } | 1242 } |
| 1225 if (warnings != null) { | 1243 if (warnings != null) { |
| 1226 _json["warnings"] = warnings.map((value) => (value).toJson()).toList(); | 1244 _json["warnings"] = warnings.map((value) => (value).toJson()).toList(); |
| 1227 } | 1245 } |
| 1228 return _json; | 1246 return _json; |
| 1229 } | 1247 } |
| 1230 } | 1248 } |
| 1231 | 1249 |
| 1232 | 1250 |
| OLD | NEW |