Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: generated/googleapis_beta/lib/dns/v1beta1.dart

Issue 798373003: Api roll 8: 2014-12-15 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis_beta.dns.v1beta1; 1 library googleapis_beta.dns.v1beta1;
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 17 matching lines...) Expand all
28 static const NdevClouddnsReadwriteScope = "https://www.googleapis.com/auth/nde v.clouddns.readwrite"; 28 static const NdevClouddnsReadwriteScope = "https://www.googleapis.com/auth/nde v.clouddns.readwrite";
29 29
30 30
31 final common_internal.ApiRequester _requester; 31 final common_internal.ApiRequester _requester;
32 32
33 ChangesResourceApi get changes => new ChangesResourceApi(_requester); 33 ChangesResourceApi get changes => new ChangesResourceApi(_requester);
34 ManagedZonesResourceApi get managedZones => new ManagedZonesResourceApi(_reque ster); 34 ManagedZonesResourceApi get managedZones => new ManagedZonesResourceApi(_reque ster);
35 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); 35 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester);
36 ResourceRecordSetsResourceApi get resourceRecordSets => new ResourceRecordSets ResourceApi(_requester); 36 ResourceRecordSetsResourceApi get resourceRecordSets => new ResourceRecordSets ResourceApi(_requester);
37 37
38 DnsApi(http.Client client) : 38 DnsApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/" , core.String servicePath: "dns/v1beta1/projects/"}) :
39 _requester = new common_internal.ApiRequester(client, "https://www.googlea pis.com/", "dns/v1beta1/projects/"); 39 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath );
40 } 40 }
41 41
42 42
43 /** Not documented yet. */ 43 /** Not documented yet. */
44 class ChangesResourceApi { 44 class ChangesResourceApi {
45 final common_internal.ApiRequester _requester; 45 final common_internal.ApiRequester _requester;
46 46
47 ChangesResourceApi(common_internal.ApiRequester client) : 47 ChangesResourceApi(common_internal.ApiRequester client) :
48 _requester = client; 48 _requester = client;
49 49
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 core.String id; 715 core.String id;
716 716
717 /** 717 /**
718 * Identifies what kind of resource this is. Value: the fixed string 718 * Identifies what kind of resource this is. Value: the fixed string
719 * "dns#managedZone". 719 * "dns#managedZone".
720 */ 720 */
721 core.String kind; 721 core.String kind;
722 722
723 /** 723 /**
724 * User assigned name for this resource. Must be unique within the project. 724 * User assigned name for this resource. Must be unique within the project.
725 * The name must be 1-32 characters long, must begin with a letter, end with a
726 * letter or digit, and only contain lowercase letters, digits or dashes.
725 */ 727 */
726 core.String name; 728 core.String name;
727 729
728 /** 730 /**
731 * Optionally specifies the NameServerSet for this ManagedZone. A
732 * NameServerSet is a set of DNS name servers that all host the same
733 * ManagedZones. Most users will leave this field unset.
734 */
735 core.String nameServerSet;
736
737 /**
729 * Delegate your managed_zone to these virtual name servers; defined by the 738 * Delegate your managed_zone to these virtual name servers; defined by the
730 * server (output only) 739 * server (output only)
731 */ 740 */
732 core.List<core.String> nameServers; 741 core.List<core.String> nameServers;
733 742
734 743
735 ManagedZone(); 744 ManagedZone();
736 745
737 ManagedZone.fromJson(core.Map _json) { 746 ManagedZone.fromJson(core.Map _json) {
738 if (_json.containsKey("creationTime")) { 747 if (_json.containsKey("creationTime")) {
739 creationTime = _json["creationTime"]; 748 creationTime = _json["creationTime"];
740 } 749 }
741 if (_json.containsKey("description")) { 750 if (_json.containsKey("description")) {
742 description = _json["description"]; 751 description = _json["description"];
743 } 752 }
744 if (_json.containsKey("dnsName")) { 753 if (_json.containsKey("dnsName")) {
745 dnsName = _json["dnsName"]; 754 dnsName = _json["dnsName"];
746 } 755 }
747 if (_json.containsKey("id")) { 756 if (_json.containsKey("id")) {
748 id = _json["id"]; 757 id = _json["id"];
749 } 758 }
750 if (_json.containsKey("kind")) { 759 if (_json.containsKey("kind")) {
751 kind = _json["kind"]; 760 kind = _json["kind"];
752 } 761 }
753 if (_json.containsKey("name")) { 762 if (_json.containsKey("name")) {
754 name = _json["name"]; 763 name = _json["name"];
755 } 764 }
765 if (_json.containsKey("nameServerSet")) {
766 nameServerSet = _json["nameServerSet"];
767 }
756 if (_json.containsKey("nameServers")) { 768 if (_json.containsKey("nameServers")) {
757 nameServers = _json["nameServers"]; 769 nameServers = _json["nameServers"];
758 } 770 }
759 } 771 }
760 772
761 core.Map toJson() { 773 core.Map toJson() {
762 var _json = new core.Map(); 774 var _json = new core.Map();
763 if (creationTime != null) { 775 if (creationTime != null) {
764 _json["creationTime"] = creationTime; 776 _json["creationTime"] = creationTime;
765 } 777 }
766 if (description != null) { 778 if (description != null) {
767 _json["description"] = description; 779 _json["description"] = description;
768 } 780 }
769 if (dnsName != null) { 781 if (dnsName != null) {
770 _json["dnsName"] = dnsName; 782 _json["dnsName"] = dnsName;
771 } 783 }
772 if (id != null) { 784 if (id != null) {
773 _json["id"] = id; 785 _json["id"] = id;
774 } 786 }
775 if (kind != null) { 787 if (kind != null) {
776 _json["kind"] = kind; 788 _json["kind"] = kind;
777 } 789 }
778 if (name != null) { 790 if (name != null) {
779 _json["name"] = name; 791 _json["name"] = name;
780 } 792 }
793 if (nameServerSet != null) {
794 _json["nameServerSet"] = nameServerSet;
795 }
781 if (nameServers != null) { 796 if (nameServers != null) {
782 _json["nameServers"] = nameServers; 797 _json["nameServers"] = nameServers;
783 } 798 }
784 return _json; 799 return _json;
785 } 800 }
786 } 801 }
787 802
788 803
789 /** Not documented yet. */ 804 /** Not documented yet. */
790 class ManagedZonesListResponse { 805 class ManagedZonesListResponse {
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 _json["nextPageToken"] = nextPageToken; 1115 _json["nextPageToken"] = nextPageToken;
1101 } 1116 }
1102 if (rrsets != null) { 1117 if (rrsets != null) {
1103 _json["rrsets"] = rrsets.map((value) => (value).toJson()).toList(); 1118 _json["rrsets"] = rrsets.map((value) => (value).toJson()).toList();
1104 } 1119 }
1105 return _json; 1120 return _json;
1106 } 1121 }
1107 } 1122 }
1108 1123
1109 1124
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/datastore/v1beta2.dart ('k') | generated/googleapis_beta/lib/genomics/v1beta.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698