Api roll 3: 2014-10-08 R=kustermann@google.com BUG= Review URL: https://codereview.chromium.org//635343003
diff --git a/config.yaml b/config.yaml index 290908e..f9127b6 100644 --- a/config.yaml +++ b/config.yaml
@@ -1,6 +1,6 @@ packages: - googleapis: - version: 0.2.1 + version: 0.3.0 author: Dart Team <misc@dartlang.org> homepage: http://www.dartlang.org/googleapis/ readme: resources/README.md @@ -47,7 +47,6 @@ - mapsengine:v1 # https://developers.google.com/maps-engine/ - mirror:v1 # https://developers.google.com/glass/develop/mirror/ - oauth2:v2 # https://developers.google.com/accounts/docs/OAuth2UserAgent - - orkut:v2 # https://developers.google.com/orkut/docs/off-site-apps/v2restapi - pagespeedonline:v1 # https://developers.google.com/speed/docs/insights/about - plus:v1 # https://developers.google.com/+/api/ - plusDomains:v1 # https://developers.google.com/+/domains/ @@ -65,7 +64,7 @@ - youtubeAnalytics:v1 # https://developers.google.com/youtube/analytics/ - googleapis_beta: - version: 0.2.1 + version: 0.3.0 author: Dart Team <misc@dartlang.org> homepage: http://www.dartlang.org/googleapis/ readme: resources/README.md
diff --git a/discovery/googleapis/adexchangebuyer__v1.3.json b/discovery/googleapis/adexchangebuyer__v1.3.json index 7d415dc..6e7e3df 100644 --- a/discovery/googleapis/adexchangebuyer__v1.3.json +++ b/discovery/googleapis/adexchangebuyer__v1.3.json
@@ -15,7 +15,7 @@ "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/J6ZStEPPnhd7qydEdNU7DpivHr4\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/0kz2zxQKsIBl0qYxRIDwLH2tZt0\"", "icons": { "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" @@ -593,7 +593,7 @@ } } }, - "revision": "20140926", + "revision": "20140930", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": {
diff --git a/discovery/googleapis/adexchangeseller__v1.1.json b/discovery/googleapis/adexchangeseller__v1.1.json index 7e352be..5375fcd 100644 --- a/discovery/googleapis/adexchangeseller__v1.1.json +++ b/discovery/googleapis/adexchangeseller__v1.1.json
@@ -18,7 +18,7 @@ "description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/ad-exchange/seller-rest/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/ADgw81JjT-5rCc2ZRpORGdHhmH4\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/POEEufAfiLYxJ9Zh7gjQEnt9dlY\"", "icons": { "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" @@ -704,7 +704,7 @@ } } }, - "revision": "20140924", + "revision": "20141006", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": {
diff --git a/discovery/googleapis/adexchangeseller__v2.0.json b/discovery/googleapis/adexchangeseller__v2.0.json index 3dde2bb..09c5c14 100644 --- a/discovery/googleapis/adexchangeseller__v2.0.json +++ b/discovery/googleapis/adexchangeseller__v2.0.json
@@ -18,7 +18,7 @@ "description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/ad-exchange/seller-rest/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/0shkiGXf4cKks9c34Wn8kZ2sXrA\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/tWYKKrV62eVz4FKUf7inu6a5kwQ\"", "icons": { "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" @@ -654,7 +654,7 @@ } } }, - "revision": "20140924", + "revision": "20141006", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": {
diff --git a/discovery/googleapis/admin__directory_v1.json b/discovery/googleapis/admin__directory_v1.json index ae35668..e30d9c8 100644 --- a/discovery/googleapis/admin__directory_v1.json +++ b/discovery/googleapis/admin__directory_v1.json
@@ -69,7 +69,7 @@ "description": "The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/admin-sdk/directory/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/JayrKKEnIqmNj16l21fqKTyl5PU\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/s9KxklGD8Epkl54bOAhZ92wO9kY\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -2511,7 +2511,7 @@ } } }, - "revision": "20140919", + "revision": "20141001", "rootUrl": "https://www.googleapis.com/", "schemas": { "Alias": { @@ -3392,12 +3392,6 @@ "type": "string" }, "multiValued": { - "annotations": { - "required": [ - "directory.schemas.insert", - "directory.schemas.update" - ] - }, "description": "Boolean specifying whether this is a multi-valued field or not.", "type": "boolean" },
diff --git a/discovery/googleapis/admin__email_migration_v2.json b/discovery/googleapis/admin__email_migration_v2.json index 6c585ea..c146935 100644 --- a/discovery/googleapis/admin__email_migration_v2.json +++ b/discovery/googleapis/admin__email_migration_v2.json
@@ -14,7 +14,7 @@ "description": "Email Migration API lets you migrate emails of users to Google backends.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/admin-sdk/email-migration/v2/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/Dam2iHq0kOgu8qnsdYB9fhgy5SY\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/Dam2iHq0kOgu8qnsdYB9fhgy5SY\"", "icons": { "x16": "https://www.google.com/images/icons/product/googlemail-16.png", "x32": "https://www.google.com/images/icons/product/googlemail-32.png"
diff --git a/discovery/googleapis/admin__reports_v1.json b/discovery/googleapis/admin__reports_v1.json index ff6f4e6..9fff7af 100644 --- a/discovery/googleapis/admin__reports_v1.json +++ b/discovery/googleapis/admin__reports_v1.json
@@ -18,7 +18,7 @@ "description": "Allows the administrators of Google Apps customers to fetch reports about the usage, collaboration, security and risk for their users.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/admin-sdk/reports/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/kIY0aqiDkZ24yMy88cSNtVuMbHk\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/kIY0aqiDkZ24yMy88cSNtVuMbHk\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/adsense__v1.4.json b/discovery/googleapis/adsense__v1.4.json index cab141e..76684ef 100644 --- a/discovery/googleapis/adsense__v1.4.json +++ b/discovery/googleapis/adsense__v1.4.json
@@ -18,7 +18,7 @@ "description": "Gives AdSense publishers access to their inventory and the ability to generate reports", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/adsense/management/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/7hGt4enuzSgFCqOVMtdtiCxxsCM\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/_VzEntLobxdxwiwmwP_NSklqytY\"", "icons": { "x16": "https://www.google.com/images/icons/product/adsense-16.png", "x32": "https://www.google.com/images/icons/product/adsense-32.png" @@ -1624,7 +1624,7 @@ } } }, - "revision": "20140924", + "revision": "20141006", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": {
diff --git a/discovery/googleapis/adsensehost__v4.1.json b/discovery/googleapis/adsensehost__v4.1.json index 813961b..59e7514 100644 --- a/discovery/googleapis/adsensehost__v4.1.json +++ b/discovery/googleapis/adsensehost__v4.1.json
@@ -15,7 +15,7 @@ "description": "Gives AdSense Hosts access to report generation, ad code generation, and publisher management capabilities.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/adsense/host/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/fbUSXoAT0yuhDvIo3-OJRV1mMnU\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/OqgyCijz1Sw0cmnZK1SmKAtSERU\"", "icons": { "x16": "https://www.google.com/images/icons/product/adsense-16.png", "x32": "https://www.google.com/images/icons/product/adsense-32.png" @@ -1072,7 +1072,7 @@ } } }, - "revision": "20140924", + "revision": "20141006", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": {
diff --git a/discovery/googleapis/analytics__v3.json b/discovery/googleapis/analytics__v3.json index 01b31cd..e8b0b93 100644 --- a/discovery/googleapis/analytics__v3.json +++ b/discovery/googleapis/analytics__v3.json
@@ -26,7 +26,7 @@ "description": "View and manage your Google Analytics data", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/analytics/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/SYGRjopRmK4Bczs5VKxKJQKTU8s\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/SYGRjopRmK4Bczs5VKxKJQKTU8s\"", "icons": { "x16": "http://www.google.com/images/icons/product/analytics-16.png", "x32": "http://www.google.com/images/icons/product/analytics-32.png"
diff --git a/discovery/googleapis/androidpublisher__v2.json b/discovery/googleapis/androidpublisher__v2.json index 0c33bd4..bf122ce 100644 --- a/discovery/googleapis/androidpublisher__v2.json +++ b/discovery/googleapis/androidpublisher__v2.json
@@ -15,7 +15,7 @@ "description": "Lets Android application developers access their Google Play accounts.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/android-publisher", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/rvEzY_KAgBOlUM1lQqukKQLrl6Y\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/rvEzY_KAgBOlUM1lQqukKQLrl6Y\"", "icons": { "x16": "https://www.google.com/images/icons/product/android-16.png", "x32": "https://www.google.com/images/icons/product/android-32.png"
diff --git a/discovery/googleapis/appsactivity__v1.json b/discovery/googleapis/appsactivity__v1.json index 39af361..8a0c9b3 100644 --- a/discovery/googleapis/appsactivity__v1.json +++ b/discovery/googleapis/appsactivity__v1.json
@@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/activity": { - "description": "View historical activity for Google services" + "description": "View the activity history of your Google Apps" }, "https://www.googleapis.com/auth/drive": { "description": "View and manage the files and documents in your Google Drive" @@ -23,7 +23,7 @@ "description": "Provides a historical view of activity.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/google-apps/activity/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/lSpXo4dql_m7xuje0Y2WPH_dsVA\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/0zYm3U9WhfJU7WORU2EWqKp-P40\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/appstate__v1.json b/discovery/googleapis/appstate__v1.json index 7d483c7..7eab544 100644 --- a/discovery/googleapis/appstate__v1.json +++ b/discovery/googleapis/appstate__v1.json
@@ -15,7 +15,7 @@ "description": "The Google App State API.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/games/services/web/api/states", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/Fjk669jdRgq4povFjDrtYWYh2AM\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/0vSygcbXtclKL1_a0ngNpGUkpCM\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -211,7 +211,7 @@ } } }, - "revision": "20140918", + "revision": "20141002", "rootUrl": "https://www.googleapis.com/", "schemas": { "GetResponse": {
diff --git a/discovery/googleapis/bigquery__v2.json b/discovery/googleapis/bigquery__v2.json index c7d911f..767b17e 100644 --- a/discovery/googleapis/bigquery__v2.json +++ b/discovery/googleapis/bigquery__v2.json
@@ -29,7 +29,7 @@ "description": "A data platform for customers to create, manage, share and query data.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/bigquery/docs/overview", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/HuoHzxwZuMSucTevJLq_0v1_DM0\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/HuoHzxwZuMSucTevJLq_0v1_DM0\"", "icons": { "x16": "https://www.google.com/images/icons/product/search-16.gif", "x32": "https://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/blogger__v3.json b/discovery/googleapis/blogger__v3.json index 90055f9..0660c32 100644 --- a/discovery/googleapis/blogger__v3.json +++ b/discovery/googleapis/blogger__v3.json
@@ -17,7 +17,7 @@ "description": "API for access to the data within Blogger.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/I7tzOwxkXmchrTG5SGJOMVoYTBw\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/I7tzOwxkXmchrTG5SGJOMVoYTBw\"", "icons": { "x16": "https://www.google.com/images/icons/product/blogger-16.png", "x32": "https://www.google.com/images/icons/product/blogger-32.png"
diff --git a/discovery/googleapis/books__v1.json b/discovery/googleapis/books__v1.json index a70a45d..cada26d 100644 --- a/discovery/googleapis/books__v1.json +++ b/discovery/googleapis/books__v1.json
@@ -14,7 +14,7 @@ "description": "Lets you search for books and manage your Google Books library.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/books/docs/v1/getting_started", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/XYINYydMW1yxY9sZ7pYYpIG24qI\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/XYINYydMW1yxY9sZ7pYYpIG24qI\"", "icons": { "x16": "http://www.google.com/images/icons/product/ebooks-16.png", "x32": "http://www.google.com/images/icons/product/ebooks-32.png"
diff --git a/discovery/googleapis/calendar__v3.json b/discovery/googleapis/calendar__v3.json index 48d3d23..a7e716c 100644 --- a/discovery/googleapis/calendar__v3.json +++ b/discovery/googleapis/calendar__v3.json
@@ -17,7 +17,7 @@ "description": "Lets you manipulate events and other calendar data.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/google-apps/calendar/firstapp", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/1bNdTf1HZZJP00wxpVt8ADRg0P0\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/vJn-IbIFOuzj-0Iuor__XCxLfRw\"", "icons": { "x16": "http://www.google.com/images/icons/product/calendar-16.png", "x32": "http://www.google.com/images/icons/product/calendar-32.png" @@ -1535,7 +1535,7 @@ } } }, - "revision": "20140917", + "revision": "20140925", "rootUrl": "https://www.googleapis.com/", "schemas": { "Acl": { @@ -2308,7 +2308,7 @@ "type": "string" }, "timeZone": { - "description": "The name of the time zone in which the time is specified (e.g. \"Europe/Zurich\"). Optional. The default is the time zone of the calendar.", + "description": "The name of the time zone in which the time is specified (e.g. \"Europe/Zurich\"). For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.", "type": "string" } },
diff --git a/discovery/googleapis/civicinfo__us_v1.json b/discovery/googleapis/civicinfo__us_v1.json index 5136d54..fdd2b08 100644 --- a/discovery/googleapis/civicinfo__us_v1.json +++ b/discovery/googleapis/civicinfo__us_v1.json
@@ -6,7 +6,7 @@ "description": "An API for accessing civic information.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/civic-information", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/WNbUWEmcNA7tbz8oCLk_gd-5NpQ\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/WNbUWEmcNA7tbz8oCLk_gd-5NpQ\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/civicinfo__v1.json b/discovery/googleapis/civicinfo__v1.json index 282d48f..72a70d8 100644 --- a/discovery/googleapis/civicinfo__v1.json +++ b/discovery/googleapis/civicinfo__v1.json
@@ -6,7 +6,7 @@ "description": "An API for accessing civic information.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/civic-information", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/8e9yfjQviGE-Eza63-qXipcXCgI\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/8e9yfjQviGE-Eza63-qXipcXCgI\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/civicinfo__v2.json b/discovery/googleapis/civicinfo__v2.json index 83f9d61..d7b60e0 100644 --- a/discovery/googleapis/civicinfo__v2.json +++ b/discovery/googleapis/civicinfo__v2.json
@@ -6,7 +6,7 @@ "description": "An API for accessing civic information.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/civic-information", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/YV4QnTSNnV4r4LSJ23wzwsBf0U0\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/YV4QnTSNnV4r4LSJ23wzwsBf0U0\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/compute__v1.json b/discovery/googleapis/compute__v1.json index cd24d3e..f85aef9 100644 --- a/discovery/googleapis/compute__v1.json +++ b/discovery/googleapis/compute__v1.json
@@ -26,10 +26,10 @@ "description": "API for the Google Compute Engine service.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/qK3Hzetd9eo6XriEgifky4rzxKI\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/qUHCwz70L0xuP-BVWW3HW2bYL8A\"", "icons": { - "x16": "http://www.google.com/images/icons/product/compute_engine-16.png", - "x32": "http://www.google.com/images/icons/product/compute_engine-32.png" + "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", + "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" }, "id": "compute:v1", "kind": "discovery#restDescription", @@ -2274,6 +2274,146 @@ } } }, + "instanceTemplates": { + "methods": { + "delete": { + "description": "Deletes the specified instance template resource.", + "httpMethod": "DELETE", + "id": "compute.instanceTemplates.delete", + "parameterOrder": [ + "project", + "instanceTemplate" + ], + "parameters": { + "instanceTemplate": { + "description": "Name of the instance template resource to delete.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Name of the project scoping this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + } + }, + "path": "{project}/global/instanceTemplates/{instanceTemplate}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/compute" + ] + }, + "get": { + "description": "Returns the specified instance template resource.", + "httpMethod": "GET", + "id": "compute.instanceTemplates.get", + "parameterOrder": [ + "project", + "instanceTemplate" + ], + "parameters": { + "instanceTemplate": { + "description": "Name of the instance template resource to return.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Name of the project scoping this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + } + }, + "path": "{project}/global/instanceTemplates/{instanceTemplate}", + "response": { + "$ref": "InstanceTemplate" + }, + "scopes": [ + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "insert": { + "description": "Creates an instance template resource in the specified project using the data included in the request.", + "httpMethod": "POST", + "id": "compute.instanceTemplates.insert", + "parameterOrder": [ + "project" + ], + "parameters": { + "project": { + "description": "Name of the project scoping this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + } + }, + "path": "{project}/global/instanceTemplates", + "request": { + "$ref": "InstanceTemplate" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/compute" + ] + }, + "list": { + "description": "Retrieves the list of instance template resources contained within the specified project.", + "httpMethod": "GET", + "id": "compute.instanceTemplates.list", + "parameterOrder": [ + "project" + ], + "parameters": { + "filter": { + "description": "Optional. Filter expression for filtering listed resources.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "500", + "description": "Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.", + "format": "uint32", + "location": "query", + "maximum": "500", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Name of the project scoping this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + } + }, + "path": "{project}/global/instanceTemplates", + "response": { + "$ref": "InstanceTemplateList" + }, + "scopes": [ + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + } + } + }, "instances": { "methods": { "addAccessConfig": { @@ -5149,7 +5289,7 @@ } } }, - "revision": "20140827", + "revision": "20141006", "rootUrl": "https://www.googleapis.com/", "schemas": { "AccessConfig": { @@ -5574,7 +5714,7 @@ "type": "string" }, "port": { - "description": "The TCP port to connect on the backend. The default value is 80.", + "description": "Deprecated in favor of port_name. The TCP port to connect on the backend. The default value is 80.", "format": "int32", "type": "integer" }, @@ -5741,7 +5881,7 @@ "type": "string" }, "sourceImage": { - "description": "The source image used to create this disk. Once the source image has been deleted from the system, this field will not be set, even if an image with the same name has been re-created.", + "description": "The source image used to create this disk.", "type": "string" }, "sourceImageId": { @@ -5749,7 +5889,7 @@ "type": "string" }, "sourceSnapshot": { - "description": "The source snapshot used to create this disk. Once the source snapshot has been deleted from the system, this field will be cleared, and will not be set even if a snapshot with the same name has been re-created.", + "description": "The source snapshot used to create this disk.", "type": "string" }, "sourceSnapshotId": { @@ -6673,7 +6813,7 @@ "type": "string" }, "sourceDisk": { - "description": "The source disk used to create this image. Once the source disk has been deleted from the system, this field will be cleared, and will not be set even if a disk with the same name has been re-created.", + "description": "The source disk used to create this image.", "type": "string" }, "sourceDiskId": { @@ -6914,6 +7054,63 @@ }, "type": "object" }, + "InstanceProperties": { + "description": "", + "id": "InstanceProperties", + "properties": { + "canIpForward": { + "description": "Allows instances created based on this template to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, say true. If unsure, leave this set to false.", + "type": "boolean" + }, + "description": { + "description": "An optional textual description for the instances created based on the instance template resource; provided by the client when the template is created.", + "type": "string" + }, + "disks": { + "description": "Array of disks associated with instance created based on this template.", + "items": { + "$ref": "AttachedDisk" + }, + "type": "array" + }, + "machineType": { + "annotations": { + "required": [ + "compute.instanceTemplates.insert" + ] + }, + "description": "Name of the machine type resource describing which machine type to use to host the instances created based on this template; provided by the client when the instance template is created.", + "type": "string" + }, + "metadata": { + "$ref": "Metadata", + "description": "Metadata key/value pairs assigned to instances created based on this template. Consists of custom metadata or predefined keys; see Instance documentation for more information." + }, + "networkInterfaces": { + "description": "Array of configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. Currently, ONE_TO_ONE_NAT is the only access config supported. If there are no accessConfigs specified, then this instances created based based on this template will have no external internet access.", + "items": { + "$ref": "NetworkInterface" + }, + "type": "array" + }, + "scheduling": { + "$ref": "Scheduling", + "description": "Scheduling options for the instances created based on this template." + }, + "serviceAccounts": { + "description": "A list of service accounts each with specified scopes, for which access tokens are to be made available to the instances created based on this template, through metadata queries.", + "items": { + "$ref": "ServiceAccount" + }, + "type": "array" + }, + "tags": { + "$ref": "Tags", + "description": "A list of tags to be applied to the instances created based on this template used to identify valid sources or targets for network firewalls. Provided by the client on instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035." + } + }, + "type": "object" + }, "InstanceReference": { "id": "InstanceReference", "properties": { @@ -6923,6 +7120,80 @@ }, "type": "object" }, + "InstanceTemplate": { + "description": "An Instance Template resource.", + "id": "InstanceTemplate", + "properties": { + "creationTimestamp": { + "description": "Creation timestamp in RFC3339 text format (output only).", + "type": "string" + }, + "description": { + "description": "An optional textual description of the instance template resource; provided by the client when the resource is created.", + "type": "string" + }, + "id": { + "description": "Unique identifier for the resource; defined by the server (output only).", + "format": "uint64", + "type": "string" + }, + "kind": { + "default": "compute#instanceTemplate", + "description": "Type of the resource.", + "type": "string" + }, + "name": { + "annotations": { + "required": [ + "compute.instanceTemplates.insert" + ] + }, + "description": "Name of the instance template resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "properties": { + "$ref": "InstanceProperties", + "description": "The instance properties portion of this instance template resource." + }, + "selfLink": { + "description": "Server defined URL for the resource (output only).", + "type": "string" + } + }, + "type": "object" + }, + "InstanceTemplateList": { + "description": "Contains a list of instance template resources.", + "id": "InstanceTemplateList", + "properties": { + "id": { + "description": "Unique identifier for the resource; defined by the server (output only).", + "type": "string" + }, + "items": { + "description": "A list of instance template resources.", + "items": { + "$ref": "InstanceTemplate" + }, + "type": "array" + }, + "kind": { + "default": "compute#instanceTemplateList", + "description": "Type of resource.", + "type": "string" + }, + "nextPageToken": { + "description": "A token used to continue a truncated list request (output only).", + "type": "string" + }, + "selfLink": { + "description": "Server defined URL for this resource (output only).", + "type": "string" + } + }, + "type": "object" + }, "InstancesScopedList": { "id": "InstancesScopedList", "properties": { @@ -8289,7 +8560,7 @@ "type": "string" }, "sourceDisk": { - "description": "The source disk used to create this snapshot. Once the source disk has been deleted from the system, this field will be cleared, and will not be set even if a disk with the same name has been re-created (output only).", + "description": "The source disk used to create this snapshot.", "type": "string" }, "sourceDiskId": {
diff --git a/discovery/googleapis/content__v2.json b/discovery/googleapis/content__v2.json index e751d06..4fa1eee 100644 --- a/discovery/googleapis/content__v2.json +++ b/discovery/googleapis/content__v2.json
@@ -15,7 +15,7 @@ "description": "Manage product items, inventory, and Merchant Center accounts for Google Shopping.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/shopping-content/v2/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/WKtj4perod7wdCJHRIDRqG7zj-U\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/A2XLMVbDZ3wz-BHedDlLhZtYEH4\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -933,7 +933,7 @@ } } }, - "revision": "20140916", + "revision": "20141001", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": {
diff --git a/discovery/googleapis/coordinate__v1.json b/discovery/googleapis/coordinate__v1.json index 2b65836..0370d30 100644 --- a/discovery/googleapis/coordinate__v1.json +++ b/discovery/googleapis/coordinate__v1.json
@@ -17,7 +17,7 @@ "description": "Lets you view and manage jobs in a Coordinate team.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/coordinate/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/ckefd3M0PpbhIY5DVZQuUY4ElY0\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/ckefd3M0PpbhIY5DVZQuUY4ElY0\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/customsearch__v1.json b/discovery/googleapis/customsearch__v1.json index 0b30cd8..0ab3101 100644 --- a/discovery/googleapis/customsearch__v1.json +++ b/discovery/googleapis/customsearch__v1.json
@@ -5,7 +5,7 @@ "description": "Lets you search over a website or collection of websites", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/custom-search/v1/using_rest", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/KsgpNVP8dzFmgPzAjDdH7uBJP_M\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/KsgpNVP8dzFmgPzAjDdH7uBJP_M\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/dfareporting__v1.3.json b/discovery/googleapis/dfareporting__v1.3.json index 4997af1..5964f1a 100644 --- a/discovery/googleapis/dfareporting__v1.3.json +++ b/discovery/googleapis/dfareporting__v1.3.json
@@ -14,7 +14,7 @@ "description": "Lets you create, run and download reports.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/doubleclick-advertisers/reporting/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/MWMfv6FhKF4U3Z385phCHGvJ6w0\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/MWMfv6FhKF4U3Z385phCHGvJ6w0\"", "icons": { "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
diff --git a/discovery/googleapis/discovery__v1.json b/discovery/googleapis/discovery__v1.json index bf79be0..7e26453 100644 --- a/discovery/googleapis/discovery__v1.json +++ b/discovery/googleapis/discovery__v1.json
@@ -5,7 +5,7 @@ "description": "Lets you discover information about other Google APIs, such as what APIs are available, the resource and method details for each API.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/discovery/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/UNFMI_ENJ3hAFRWSi4GLSerTeFg\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/UNFMI_ENJ3hAFRWSi4GLSerTeFg\"", "icons": { "x16": "http://www.google.com/images/icons/feature/filing_cabinet_search-g16.png", "x32": "http://www.google.com/images/icons/feature/filing_cabinet_search-g32.png"
diff --git a/discovery/googleapis/doubleclickbidmanager__v1.json b/discovery/googleapis/doubleclickbidmanager__v1.json index cd465f3..ade91b8 100644 --- a/discovery/googleapis/doubleclickbidmanager__v1.json +++ b/discovery/googleapis/doubleclickbidmanager__v1.json
@@ -6,7 +6,7 @@ "description": "API for viewing and managing your reports in DoubleClick Bid Manager.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/bid-manager/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/Xt8yN3tZcmaa98PBixxfMwJ2TF0\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/Xt8yN3tZcmaa98PBixxfMwJ2TF0\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/doubleclicksearch__v2.json b/discovery/googleapis/doubleclicksearch__v2.json index 090116f..35fe347 100644 --- a/discovery/googleapis/doubleclicksearch__v2.json +++ b/discovery/googleapis/doubleclicksearch__v2.json
@@ -14,7 +14,7 @@ "description": "Report and modify your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/doubleclick-search/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/fGqvJFn3J0Pke36WoleMuVHFod4\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/g6aF7RN46wc-YTVBZvZs-zRkgLA\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -430,7 +430,7 @@ } } }, - "revision": "20140909", + "revision": "20140923", "rootUrl": "https://www.googleapis.com/", "schemas": { "Availability": { @@ -742,7 +742,11 @@ "type": "string" }, "customDimensionName": { - "description": "Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.", + "description": "Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.\nIf used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report.", + "type": "string" + }, + "customMetricName": { + "description": "Reports on the provided custom metric. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive.", "type": "string" }, "endDate": {
diff --git a/discovery/googleapis/drive__v2.json b/discovery/googleapis/drive__v2.json index e01a66a..c0e2fd1 100644 --- a/discovery/googleapis/drive__v2.json +++ b/discovery/googleapis/drive__v2.json
@@ -32,7 +32,7 @@ "description": "The API to interact with Drive.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/drive/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/y7eWP2ztQoapytMeEl_x5nhF6LI\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/y7eWP2ztQoapytMeEl_x5nhF6LI\"", "icons": { "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
diff --git a/discovery/googleapis/freebase__v1.json b/discovery/googleapis/freebase__v1.json index cb89975..cedd094 100644 --- a/discovery/googleapis/freebase__v1.json +++ b/discovery/googleapis/freebase__v1.json
@@ -5,7 +5,7 @@ "description": "Find Freebase entities using textual queries and other constraints.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/freebase/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/kTDiVESNLycoqIbveRofH5KPD08\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/kTDiVESNLycoqIbveRofH5KPD08\"", "icons": { "x16": "http://www.google.com/images/icons/product/freebase-16.png", "x32": "http://www.google.com/images/icons/product/freebase-32.png"
diff --git a/discovery/googleapis/fusiontables__v1.json b/discovery/googleapis/fusiontables__v1.json index ee24ad9..4930b3f 100644 --- a/discovery/googleapis/fusiontables__v1.json +++ b/discovery/googleapis/fusiontables__v1.json
@@ -17,7 +17,7 @@ "description": "API for working with Fusion Tables data.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/fusiontables", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/2SXcXxFSlQLFOa3jAavYTPdAPrc\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/2SXcXxFSlQLFOa3jAavYTPdAPrc\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/gamesManagement__v1management.json b/discovery/googleapis/gamesManagement__v1management.json index 952ddd5..12f6a00 100644 --- a/discovery/googleapis/gamesManagement__v1management.json +++ b/discovery/googleapis/gamesManagement__v1management.json
@@ -18,7 +18,7 @@ "description": "The Management API for Google Play Game Services.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/games/services", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/SnsF096M9PHKlmCnRlQrCODnADg\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/IxsRVKhlHvQqb_TC5IIo_pE2aNs\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -114,8 +114,18 @@ "https://www.googleapis.com/auth/plus.login" ] }, + "resetAllForAllPlayers": { + "description": "Resets all draft achievements for all players. This method is only available to user accounts for your developer console.", + "httpMethod": "POST", + "id": "gamesManagement.achievements.resetAllForAllPlayers", + "path": "achievements/resetAllForAllPlayers", + "scopes": [ + "https://www.googleapis.com/auth/games", + "https://www.googleapis.com/auth/plus.login" + ] + }, "resetForAllPlayers": { - "description": "Resets the achievement with the given ID for the all players. This method is only available to user accounts for your developer console. Only draft achievements can be reset.", + "description": "Resets the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft achievements can be reset.", "httpMethod": "POST", "id": "gamesManagement.achievements.resetForAllPlayers", "parameterOrder": [ @@ -134,6 +144,19 @@ "https://www.googleapis.com/auth/games", "https://www.googleapis.com/auth/plus.login" ] + }, + "resetMultipleForAllPlayers": { + "description": "Resets the achievement with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft achievements may be reset.", + "httpMethod": "POST", + "id": "gamesManagement.achievements.resetMultipleForAllPlayers", + "path": "achievements/resetMultipleForAllPlayers", + "request": { + "$ref": "AchievementResetMultipleForAllRequest" + }, + "scopes": [ + "https://www.googleapis.com/auth/games", + "https://www.googleapis.com/auth/plus.login" + ] } } }, @@ -397,7 +420,7 @@ } } }, - "revision": "20140918", + "revision": "20141002", "rootUrl": "https://www.googleapis.com/", "schemas": { "AchievementResetAllResponse": { @@ -419,6 +442,25 @@ }, "type": "object" }, + "AchievementResetMultipleForAllRequest": { + "description": "This is a JSON template for multiple achievements reset all request.", + "id": "AchievementResetMultipleForAllRequest", + "properties": { + "achievement_ids": { + "description": "The IDs of achievements to reset.", + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "default": "gamesManagement#achievementResetMultipleForAllRequest", + "description": "Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetMultipleForAllRequest.", + "type": "string" + } + }, + "type": "object" + }, "AchievementResetResponse": { "description": "This is a JSON template for an achievement reset response.", "id": "AchievementResetResponse",
diff --git a/discovery/googleapis/games__v1.json b/discovery/googleapis/games__v1.json index 1462555..08af3e1 100644 --- a/discovery/googleapis/games__v1.json +++ b/discovery/googleapis/games__v1.json
@@ -21,7 +21,7 @@ "description": "The API for Google Play Game Services.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/games/services/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/xvi2uGQDV15HRXwhaUx6I3l2kvA\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/NncFgBJeCrnXAbpnOtRcRiDDkZg\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -1907,7 +1907,7 @@ } } }, - "revision": "20140918", + "revision": "20141002", "rootUrl": "https://www.googleapis.com/", "schemas": { "AchievementDefinition": { @@ -2284,6 +2284,10 @@ "name": { "description": "The name of the application.", "type": "string" + }, + "themeColor": { + "description": "A hint to the client UI for what color to use as an app-themed color. The color is given as an RGB triplet (e.g. \"E0E0E0\").", + "type": "string" } }, "type": "object"
diff --git a/discovery/googleapis/gmail__v1.json b/discovery/googleapis/gmail__v1.json index fbc8737..fdd6daa 100644 --- a/discovery/googleapis/gmail__v1.json +++ b/discovery/googleapis/gmail__v1.json
@@ -23,7 +23,7 @@ "description": "The Gmail REST API.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/gmail/api/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/5fnY39OGLjxI_epC657MRv3fFjE\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/FGWIXwFi3bZjyIWUjsVvCy3aEZU\"", "icons": { "x16": "https://www.google.com/images/icons/product/googlemail-16.png", "x32": "https://www.google.com/images/icons/product/googlemail-32.png" @@ -707,6 +707,7 @@ ], "parameters": { "internalDateSource": { + "default": "dateHeader", "description": "Source for Gmail's internal date of the message.", "enum": [ "dateHeader", @@ -765,6 +766,7 @@ ], "parameters": { "internalDateSource": { + "default": "receivedTime", "description": "Source for Gmail's internal date of the message.", "enum": [ "dateHeader", @@ -1268,7 +1270,7 @@ } } }, - "revision": "20140902", + "revision": "20141001", "rootUrl": "https://www.googleapis.com/", "schemas": { "Draft": { @@ -1361,6 +1363,16 @@ ], "type": "string" }, + "messagesTotal": { + "description": "The total number of messages with the label.", + "format": "int32", + "type": "integer" + }, + "messagesUnread": { + "description": "The number of unread messages with the label.", + "format": "int32", + "type": "integer" + }, "name": { "annotations": { "required": [ @@ -1371,6 +1383,16 @@ "description": "The display name of the label.", "type": "string" }, + "threadsTotal": { + "description": "The total number of threads with the label.", + "format": "int32", + "type": "integer" + }, + "threadsUnread": { + "description": "The number of unread threads with the label.", + "format": "int32", + "type": "integer" + }, "type": { "description": "The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.", "enum": [ @@ -1534,7 +1556,7 @@ "type": "string" }, "threadId": { - "description": "The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met: \n- The requested threadId must be specified on the Message or Draft.Message you supply with your request. \n- The References and In-Reply-To headers must be set in compliance with the <a href=\"https://tools.ietf.org/html/rfc2822\"RFC 2822 standard. \n- The Subject headers must match.", + "description": "The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met: \n- The requested threadId must be specified on the Message or Draft.Message you supply with your request. \n- The References and In-Reply-To headers must be set in compliance with the RFC 2822 standard. \n- The Subject headers must match.", "type": "string" } },
diff --git a/discovery/googleapis/groupsmigration__v1.json b/discovery/googleapis/groupsmigration__v1.json index 77d41b6..25bfc01 100644 --- a/discovery/googleapis/groupsmigration__v1.json +++ b/discovery/googleapis/groupsmigration__v1.json
@@ -6,7 +6,7 @@ "description": "Groups Migration Api.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/google-apps/groups-migration/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/uMvgRqCygYBIh2d3lXb4f8cUWOw\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/uMvgRqCygYBIh2d3lXb4f8cUWOw\"", "icons": { "x16": "http://www.google.com/images/icons/product/discussions-16.gif", "x32": "http://www.google.com/images/icons/product/discussions-32.gif"
diff --git a/discovery/googleapis/groupssettings__v1.json b/discovery/googleapis/groupssettings__v1.json index 3bce5a0..6ea18f7 100644 --- a/discovery/googleapis/groupssettings__v1.json +++ b/discovery/googleapis/groupssettings__v1.json
@@ -14,7 +14,7 @@ "description": "Lets you manage permission levels and related settings of a group.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/google-apps/groups-settings/get_started", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/-WzKihq8ROq_FQdrGtr_UG9N-4Y\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/-WzKihq8ROq_FQdrGtr_UG9N-4Y\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/identitytoolkit__v3.json b/discovery/googleapis/identitytoolkit__v3.json index 832e25c..5ec701f 100644 --- a/discovery/googleapis/identitytoolkit__v3.json +++ b/discovery/googleapis/identitytoolkit__v3.json
@@ -6,7 +6,7 @@ "description": "Help the third party sites to implement federated login.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/identity-toolkit/v3/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/zVUSgAlpBKN8kedTmeeniVwh5g4\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/zVUSgAlpBKN8kedTmeeniVwh5g4\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/licensing__v1.json b/discovery/googleapis/licensing__v1.json index ace7edb..40cc131 100644 --- a/discovery/googleapis/licensing__v1.json +++ b/discovery/googleapis/licensing__v1.json
@@ -5,7 +5,7 @@ "description": "Licensing API to view and manage license for your domain.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/google-apps/licensing/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/5nv4m0pBrnwpGqw9jwk2yynQNrg\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/5nv4m0pBrnwpGqw9jwk2yynQNrg\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/mapsengine__v1.json b/discovery/googleapis/mapsengine__v1.json index a1f86ac..4d6ac33 100644 --- a/discovery/googleapis/mapsengine__v1.json +++ b/discovery/googleapis/mapsengine__v1.json
@@ -18,7 +18,7 @@ "description": "The Google Maps Engine API allows developers to store and query geospatial vector and raster data.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/maps-engine/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/wZALwcICZ62rQ5Pq5ko5Y5JiNrc\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/mIaACfaLFy1GFFH2NY85fbhSr_I\"", "icons": { "x16": "https://www.google.com/images/icons/product/maps_engine-16.png", "x32": "https://www.google.com/images/icons/product/maps_engine-32.png" @@ -2796,7 +2796,7 @@ } } }, - "revision": "20140924", + "revision": "20141001", "rootUrl": "https://www.googleapis.com/", "schemas": { "AcquisitionTime": {
diff --git a/discovery/googleapis/mirror__v1.json b/discovery/googleapis/mirror__v1.json index e5e94e2..f963bba 100644 --- a/discovery/googleapis/mirror__v1.json +++ b/discovery/googleapis/mirror__v1.json
@@ -17,7 +17,7 @@ "description": "API for interacting with Glass users via the timeline.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/glass", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/x73cpqpFVl1e3xcBp5OSFfItgv0\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/x73cpqpFVl1e3xcBp5OSFfItgv0\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/oauth2__v2.json b/discovery/googleapis/oauth2__v2.json index 75de382..5100ccb 100644 --- a/discovery/googleapis/oauth2__v2.json +++ b/discovery/googleapis/oauth2__v2.json
@@ -23,7 +23,7 @@ "description": "Lets you access OAuth2 protocol related APIs.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/accounts/docs/OAuth2", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/GL-dbqdl5oZGNiFahadB80nONis\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/GL-dbqdl5oZGNiFahadB80nONis\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/orkut__v2.json b/discovery/googleapis/orkut__v2.json deleted file mode 100644 index 667c4cb..0000000 --- a/discovery/googleapis/orkut__v2.json +++ /dev/null
@@ -1,2452 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/orkut": { - "description": "Manage your Orkut activity" - }, - "https://www.googleapis.com/auth/orkut.readonly": { - "description": "View your Orkut data" - } - } - } - }, - "basePath": "/orkut/v2/", - "baseUrl": "https://www.googleapis.com/orkut/v2/", - "batchPath": "batch", - "description": "Lets you manage activities, comments and badges in Orkut. More stuff coming in time.", - "discoveryVersion": "v1", - "documentationLink": "http://code.google.com/apis/orkut/v2/reference.html", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/qCYcIF9SU9Hl8Qg-et4yd-nbiwI\"", - "icons": { - "x16": "http://www.google.com/images/icons/product/orkut-16.png", - "x32": "http://www.google.com/images/icons/product/orkut-32.png" - }, - "id": "orkut:v2", - "kind": "discovery#restDescription", - "name": "orkut", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "acl": { - "methods": { - "delete": { - "description": "Excludes an element from the ACL of the activity.", - "httpMethod": "DELETE", - "id": "orkut.acl.delete", - "parameterOrder": [ - "activityId", - "userId" - ], - "parameters": { - "activityId": { - "description": "ID of the activity.", - "location": "path", - "required": true, - "type": "string" - }, - "userId": { - "description": "ID of the user to be removed from the activity.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "activities/{activityId}/acl/{userId}", - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - } - } - }, - "activities": { - "methods": { - "delete": { - "description": "Deletes an existing activity, if the access controls allow it.", - "httpMethod": "DELETE", - "id": "orkut.activities.delete", - "parameterOrder": [ - "activityId" - ], - "parameters": { - "activityId": { - "description": "ID of the activity to remove.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "activities/{activityId}", - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "list": { - "description": "Retrieves a list of activities.", - "httpMethod": "GET", - "id": "orkut.activities.list", - "parameterOrder": [ - "userId", - "collection" - ], - "parameters": { - "collection": { - "description": "The collection of activities to list.", - "enum": [ - "all", - "scraps", - "stream" - ], - "enumDescriptions": [ - "All activities created by the specified user that the authenticated user is authorized to view.", - "The specified user's scrapbook.", - "The specified user's stream feed, intended for consumption. This includes activities posted by people that the user is following, and activities in which the user has been mentioned." - ], - "location": "path", - "required": true, - "type": "string" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of activities to include in the response.", - "format": "uint32", - "location": "query", - "maximum": "100", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token that allows pagination.", - "location": "query", - "type": "string" - }, - "userId": { - "description": "The ID of the user whose activities will be listed. Can be me to refer to the viewer (i.e. the authenticated user).", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "people/{userId}/activities/{collection}", - "response": { - "$ref": "ActivityList" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - } - } - }, - "activityVisibility": { - "methods": { - "get": { - "description": "Gets the visibility of an existing activity.", - "httpMethod": "GET", - "id": "orkut.activityVisibility.get", - "parameterOrder": [ - "activityId" - ], - "parameters": { - "activityId": { - "description": "ID of the activity to get the visibility.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "activities/{activityId}/visibility", - "response": { - "$ref": "Visibility" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - }, - "patch": { - "description": "Updates the visibility of an existing activity. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "orkut.activityVisibility.patch", - "parameterOrder": [ - "activityId" - ], - "parameters": { - "activityId": { - "description": "ID of the activity.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "activities/{activityId}/visibility", - "request": { - "$ref": "Visibility" - }, - "response": { - "$ref": "Visibility" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "update": { - "description": "Updates the visibility of an existing activity.", - "httpMethod": "PUT", - "id": "orkut.activityVisibility.update", - "parameterOrder": [ - "activityId" - ], - "parameters": { - "activityId": { - "description": "ID of the activity.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "activities/{activityId}/visibility", - "request": { - "$ref": "Visibility" - }, - "response": { - "$ref": "Visibility" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - } - } - }, - "badges": { - "methods": { - "get": { - "description": "Retrieves a badge from a user.", - "httpMethod": "GET", - "id": "orkut.badges.get", - "parameterOrder": [ - "userId", - "badgeId" - ], - "parameters": { - "badgeId": { - "description": "The ID of the badge that will be retrieved.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "userId": { - "description": "The ID of the user whose badges will be listed. Can be me to refer to caller.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "people/{userId}/badges/{badgeId}", - "response": { - "$ref": "Badge" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - }, - "list": { - "description": "Retrieves the list of visible badges of a user.", - "httpMethod": "GET", - "id": "orkut.badges.list", - "parameterOrder": [ - "userId" - ], - "parameters": { - "userId": { - "description": "The id of the user whose badges will be listed. Can be me to refer to caller.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "people/{userId}/badges", - "response": { - "$ref": "BadgeList" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - } - } - }, - "comments": { - "methods": { - "delete": { - "description": "Deletes an existing comment.", - "httpMethod": "DELETE", - "id": "orkut.comments.delete", - "parameterOrder": [ - "commentId" - ], - "parameters": { - "commentId": { - "description": "ID of the comment to remove.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "comments/{commentId}", - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "get": { - "description": "Retrieves an existing comment.", - "httpMethod": "GET", - "id": "orkut.comments.get", - "parameterOrder": [ - "commentId" - ], - "parameters": { - "commentId": { - "description": "ID of the comment to get.", - "location": "path", - "required": true, - "type": "string" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - } - }, - "path": "comments/{commentId}", - "response": { - "$ref": "Comment" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - }, - "insert": { - "description": "Inserts a new comment to an activity.", - "httpMethod": "POST", - "id": "orkut.comments.insert", - "parameterOrder": [ - "activityId" - ], - "parameters": { - "activityId": { - "description": "The ID of the activity to contain the new comment.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "activities/{activityId}/comments", - "request": { - "$ref": "Comment" - }, - "response": { - "$ref": "Comment" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "list": { - "description": "Retrieves a list of comments, possibly filtered.", - "httpMethod": "GET", - "id": "orkut.comments.list", - "parameterOrder": [ - "activityId" - ], - "parameters": { - "activityId": { - "description": "The ID of the activity containing the comments.", - "location": "path", - "required": true, - "type": "string" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of activities to include in the response.", - "format": "uint32", - "location": "query", - "minimum": "1", - "type": "integer" - }, - "orderBy": { - "default": "DESCENDING_SORT", - "description": "Sort search results.", - "enum": [ - "ascending", - "descending" - ], - "enumDescriptions": [ - "Use ascending sort order.", - "Use descending sort order." - ], - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "A continuation token that allows pagination.", - "location": "query", - "type": "string" - } - }, - "path": "activities/{activityId}/comments", - "response": { - "$ref": "CommentList" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - } - } - }, - "communities": { - "methods": { - "get": { - "description": "Retrieves the basic information (aka. profile) of a community.", - "httpMethod": "GET", - "id": "orkut.communities.get", - "parameterOrder": [ - "communityId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community to get.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - } - }, - "path": "communities/{communityId}", - "response": { - "$ref": "Community" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - }, - "list": { - "description": "Retrieves the list of communities the current user is a member of.", - "httpMethod": "GET", - "id": "orkut.communities.list", - "parameterOrder": [ - "userId" - ], - "parameters": { - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of communities to include in the response.", - "format": "uint32", - "location": "query", - "minimum": "1", - "type": "integer" - }, - "orderBy": { - "description": "How to order the communities by.", - "enum": [ - "id", - "ranked" - ], - "enumDescriptions": [ - "Returns the communities sorted by a fixed, natural order.", - "Returns the communities ranked accordingly to how they are displayed on the orkut web application." - ], - "location": "query", - "type": "string" - }, - "userId": { - "description": "The ID of the user whose communities will be listed. Can be me to refer to caller.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "people/{userId}/communities", - "response": { - "$ref": "CommunityList" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - } - } - }, - "communityFollow": { - "methods": { - "delete": { - "description": "Removes a user from the followers of a community.", - "httpMethod": "DELETE", - "id": "orkut.communityFollow.delete", - "parameterOrder": [ - "communityId", - "userId" - ], - "parameters": { - "communityId": { - "description": "ID of the community.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "userId": { - "description": "ID of the user.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/followers/{userId}", - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "insert": { - "description": "Adds a user as a follower of a community.", - "httpMethod": "POST", - "id": "orkut.communityFollow.insert", - "parameterOrder": [ - "communityId", - "userId" - ], - "parameters": { - "communityId": { - "description": "ID of the community.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "userId": { - "description": "ID of the user.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/followers/{userId}", - "response": { - "$ref": "CommunityMembers" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - } - } - }, - "communityMembers": { - "methods": { - "delete": { - "description": "Makes the user leave a community.", - "httpMethod": "DELETE", - "id": "orkut.communityMembers.delete", - "parameterOrder": [ - "communityId", - "userId" - ], - "parameters": { - "communityId": { - "description": "ID of the community.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "userId": { - "description": "ID of the user.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/members/{userId}", - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "get": { - "description": "Retrieves the relationship between a user and a community.", - "httpMethod": "GET", - "id": "orkut.communityMembers.get", - "parameterOrder": [ - "communityId", - "userId" - ], - "parameters": { - "communityId": { - "description": "ID of the community.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - }, - "userId": { - "description": "ID of the user.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/members/{userId}", - "response": { - "$ref": "CommunityMembers" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - }, - "insert": { - "description": "Makes the user join a community.", - "httpMethod": "POST", - "id": "orkut.communityMembers.insert", - "parameterOrder": [ - "communityId", - "userId" - ], - "parameters": { - "communityId": { - "description": "ID of the community.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "userId": { - "description": "ID of the user.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/members/{userId}", - "response": { - "$ref": "CommunityMembers" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "list": { - "description": "Lists members of a community. Use the pagination tokens to retrieve the full list; do not rely on the member count available in the community profile information to know when to stop iterating, as that count may be approximate.", - "httpMethod": "GET", - "id": "orkut.communityMembers.list", - "parameterOrder": [ - "communityId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community whose members will be listed.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "friendsOnly": { - "description": "Whether to list only community members who are friends of the user.", - "location": "query", - "type": "boolean" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of members to include in the response.", - "format": "uint32", - "location": "query", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token that allows pagination.", - "location": "query", - "type": "string" - } - }, - "path": "communities/{communityId}/members", - "response": { - "$ref": "CommunityMembersList" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - } - } - }, - "communityMessages": { - "methods": { - "delete": { - "description": "Moves a message of the community to the trash folder.", - "httpMethod": "DELETE", - "id": "orkut.communityMessages.delete", - "parameterOrder": [ - "communityId", - "topicId", - "messageId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community whose message will be moved to the trash folder.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "messageId": { - "description": "The ID of the message to be moved to the trash folder.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "topicId": { - "description": "The ID of the topic whose message will be moved to the trash folder.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/topics/{topicId}/messages/{messageId}", - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "insert": { - "description": "Adds a message to a given community topic.", - "httpMethod": "POST", - "id": "orkut.communityMessages.insert", - "parameterOrder": [ - "communityId", - "topicId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community the message should be added to.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "topicId": { - "description": "The ID of the topic the message should be added to.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/topics/{topicId}/messages", - "request": { - "$ref": "CommunityMessage" - }, - "response": { - "$ref": "CommunityMessage" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "list": { - "description": "Retrieves the messages of a topic of a community.", - "httpMethod": "GET", - "id": "orkut.communityMessages.list", - "parameterOrder": [ - "communityId", - "topicId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community which messages will be listed.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of messages to include in the response.", - "format": "uint32", - "location": "query", - "maximum": "100", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token that allows pagination.", - "location": "query", - "type": "string" - }, - "topicId": { - "description": "The ID of the topic which messages will be listed.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/topics/{topicId}/messages", - "response": { - "$ref": "CommunityMessageList" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - } - } - }, - "communityPollComments": { - "methods": { - "insert": { - "description": "Adds a comment on a community poll.", - "httpMethod": "POST", - "id": "orkut.communityPollComments.insert", - "parameterOrder": [ - "communityId", - "pollId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community whose poll is being commented.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "pollId": { - "description": "The ID of the poll being commented.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/polls/{pollId}/comments", - "request": { - "$ref": "CommunityPollComment" - }, - "response": { - "$ref": "CommunityPollComment" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "list": { - "description": "Retrieves the comments of a community poll.", - "httpMethod": "GET", - "id": "orkut.communityPollComments.list", - "parameterOrder": [ - "communityId", - "pollId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community whose poll is having its comments listed.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of comments to include in the response.", - "format": "uint32", - "location": "query", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token that allows pagination.", - "location": "query", - "type": "string" - }, - "pollId": { - "description": "The ID of the community whose polls will be listed.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/polls/{pollId}/comments", - "response": { - "$ref": "CommunityPollCommentList" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - } - } - }, - "communityPollVotes": { - "methods": { - "insert": { - "description": "Votes on a community poll.", - "httpMethod": "POST", - "id": "orkut.communityPollVotes.insert", - "parameterOrder": [ - "communityId", - "pollId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community whose poll is being voted.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "pollId": { - "description": "The ID of the poll being voted.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/polls/{pollId}/votes", - "request": { - "$ref": "CommunityPollVote" - }, - "response": { - "$ref": "CommunityPollVote" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - } - } - }, - "communityPolls": { - "methods": { - "get": { - "description": "Retrieves one specific poll of a community.", - "httpMethod": "GET", - "id": "orkut.communityPolls.get", - "parameterOrder": [ - "communityId", - "pollId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community for whose poll will be retrieved.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - }, - "pollId": { - "description": "The ID of the poll to get.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/polls/{pollId}", - "response": { - "$ref": "CommunityPoll" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - }, - "list": { - "description": "Retrieves the polls of a community.", - "httpMethod": "GET", - "id": "orkut.communityPolls.list", - "parameterOrder": [ - "communityId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community which polls will be listed.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of polls to include in the response.", - "format": "uint32", - "location": "query", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token that allows pagination.", - "location": "query", - "type": "string" - } - }, - "path": "communities/{communityId}/polls", - "response": { - "$ref": "CommunityPollList" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - } - } - }, - "communityRelated": { - "methods": { - "list": { - "description": "Retrieves the communities related to another one.", - "httpMethod": "GET", - "id": "orkut.communityRelated.list", - "parameterOrder": [ - "communityId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community whose related communities will be listed.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - } - }, - "path": "communities/{communityId}/related", - "response": { - "$ref": "CommunityList" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - } - } - }, - "communityTopics": { - "methods": { - "delete": { - "description": "Moves a topic of the community to the trash folder.", - "httpMethod": "DELETE", - "id": "orkut.communityTopics.delete", - "parameterOrder": [ - "communityId", - "topicId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community whose topic will be moved to the trash folder.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "topicId": { - "description": "The ID of the topic to be moved to the trash folder.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/topics/{topicId}", - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "get": { - "description": "Retrieves a topic of a community.", - "httpMethod": "GET", - "id": "orkut.communityTopics.get", - "parameterOrder": [ - "communityId", - "topicId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community whose topic will be retrieved.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - }, - "topicId": { - "description": "The ID of the topic to get.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "communities/{communityId}/topics/{topicId}", - "response": { - "$ref": "CommunityTopic" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - }, - "insert": { - "description": "Adds a topic to a given community.", - "httpMethod": "POST", - "id": "orkut.communityTopics.insert", - "parameterOrder": [ - "communityId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community the topic should be added to.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "isShout": { - "description": "Whether this topic is a shout.", - "location": "query", - "type": "boolean" - } - }, - "path": "communities/{communityId}/topics", - "request": { - "$ref": "CommunityTopic" - }, - "response": { - "$ref": "CommunityTopic" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - }, - "list": { - "description": "Retrieves the topics of a community.", - "httpMethod": "GET", - "id": "orkut.communityTopics.list", - "parameterOrder": [ - "communityId" - ], - "parameters": { - "communityId": { - "description": "The ID of the community which topics will be listed.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "hl": { - "description": "Specifies the interface language (host language) of your user interface.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of topics to include in the response.", - "format": "uint32", - "location": "query", - "maximum": "100", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token that allows pagination.", - "location": "query", - "type": "string" - } - }, - "path": "communities/{communityId}/topics", - "response": { - "$ref": "CommunityTopicList" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - } - } - }, - "counters": { - "methods": { - "list": { - "description": "Retrieves the counters of a user.", - "httpMethod": "GET", - "id": "orkut.counters.list", - "parameterOrder": [ - "userId" - ], - "parameters": { - "userId": { - "description": "The ID of the user whose counters will be listed. Can be me to refer to caller.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "people/{userId}/counters", - "response": { - "$ref": "Counters" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut", - "https://www.googleapis.com/auth/orkut.readonly" - ] - } - } - }, - "scraps": { - "methods": { - "insert": { - "description": "Creates a new scrap.", - "httpMethod": "POST", - "id": "orkut.scraps.insert", - "path": "activities/scraps", - "request": { - "$ref": "Activity" - }, - "response": { - "$ref": "Activity" - }, - "scopes": [ - "https://www.googleapis.com/auth/orkut" - ] - } - } - } - }, - "revision": "20120223", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "Acl": { - "id": "Acl", - "properties": { - "description": { - "description": "Human readable description of the access granted.", - "type": "string" - }, - "items": { - "description": "The list of ACL entries.", - "items": { - "properties": { - "id": { - "description": "The ID of the entity. For entities of type \"person\" or \"circle\", this is the ID of the resource. For other types, this will be unset.", - "type": "string" - }, - "type": { - "description": "The type of entity to whom access is granted.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "kind": { - "default": "orkut#acl", - "description": "Identifies this resource as an access control list. Value: \"orkut#acl\"", - "type": "string" - }, - "totalParticipants": { - "description": "The total count of participants of the parent resource.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Activity": { - "id": "Activity", - "properties": { - "access": { - "$ref": "Acl", - "description": "Identifies who has access to see this activity." - }, - "actor": { - "$ref": "OrkutAuthorResource", - "description": "The person who performed the activity." - }, - "id": { - "description": "The ID for the activity.", - "type": "string" - }, - "kind": { - "default": "orkut#activity", - "description": "The kind of activity. Always orkut#activity.", - "type": "string" - }, - "links": { - "description": "Links to resources related to this activity.", - "items": { - "$ref": "OrkutLinkResource" - }, - "type": "array" - }, - "object": { - "description": "The activity's object.", - "properties": { - "content": { - "description": "The HTML-formatted content, suitable for display. When updating an activity's content, post the changes to this property, using the value of originalContent as a starting point. If the update is successful, the server adds HTML formatting and responds with this formatted content.", - "type": "string" - }, - "items": { - "description": "The list of additional items.", - "items": { - "$ref": "OrkutActivityobjectsResource" - }, - "type": "array" - }, - "objectType": { - "description": "The type of the object affected by the activity. Clients can use this information to style the rendered activity object differently depending on the content.", - "type": "string" - }, - "replies": { - "description": "Comments in reply to this activity.", - "properties": { - "items": { - "description": "The list of comments.", - "items": { - "$ref": "Comment" - }, - "type": "array" - }, - "totalItems": { - "description": "Total number of comments.", - "format": "uint64", - "type": "string" - }, - "url": { - "description": "URL for the collection of comments in reply to this activity.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "published": { - "description": "The time at which the activity was initially published.", - "format": "date-time", - "type": "string" - }, - "title": { - "description": "Title of the activity.", - "type": "string" - }, - "updated": { - "description": "The time at which the activity was last updated.", - "format": "date-time", - "type": "string" - }, - "verb": { - "description": "This activity's verb, indicating what action was performed. Possible values are: \n- add - User added new content to profile or album, e.g. video, photo. \n- post - User publish content to the stream, e.g. status, scrap. \n- update - User commented on an activity. \n- make-friend - User added a new friend. \n- birthday - User has a birthday.", - "type": "string" - } - }, - "type": "object" - }, - "ActivityList": { - "id": "ActivityList", - "properties": { - "items": { - "description": "List of activities retrieved.", - "items": { - "$ref": "Activity" - }, - "type": "array" - }, - "kind": { - "default": "orkut#activityList", - "description": "Identifies this resource as a collection of activities. Value: \"orkut#activityList\"", - "type": "string" - }, - "nextPageToken": { - "description": "The value of pageToken query parameter in activities.list request to get the next page, if there are more to retrieve.", - "type": "string" - } - }, - "type": "object" - }, - "Badge": { - "id": "Badge", - "properties": { - "badgeLargeLogo": { - "description": "The URL for the 64x64 badge logo.", - "type": "string" - }, - "badgeSmallLogo": { - "description": "The URL for the 24x24 badge logo.", - "type": "string" - }, - "caption": { - "description": "The name of the badge, suitable for display.", - "type": "string" - }, - "description": { - "description": "The description for the badge, suitable for display.", - "type": "string" - }, - "id": { - "description": "The unique ID for the badge.", - "format": "int64", - "type": "string" - }, - "kind": { - "default": "orkut#badge", - "description": "Identifies this resource as a badge. Value: \"orkut#badge\"", - "type": "string" - }, - "sponsorLogo": { - "description": "The URL for the 32x32 badge sponsor logo.", - "type": "string" - }, - "sponsorName": { - "description": "The name of the badge sponsor, suitable for display.", - "type": "string" - }, - "sponsorUrl": { - "description": "The URL for the badge sponsor.", - "type": "string" - } - }, - "type": "object" - }, - "BadgeList": { - "id": "BadgeList", - "properties": { - "items": { - "description": "List of badges retrieved.", - "items": { - "$ref": "Badge" - }, - "type": "array" - }, - "kind": { - "default": "orkut#badgeList", - "description": "Identifies this resource as a collection of badges. Value: \"orkut#badgeList\"", - "type": "string" - } - }, - "type": "object" - }, - "Comment": { - "id": "Comment", - "properties": { - "actor": { - "$ref": "OrkutAuthorResource", - "description": "The person who posted the comment." - }, - "content": { - "description": "The content of the comment in text/html", - "type": "string" - }, - "id": { - "description": "The unique ID for the comment.", - "type": "string" - }, - "inReplyTo": { - "description": "Link to the original activity where this comment was posted.", - "properties": { - "href": { - "description": "Link to the post on activity stream being commented.", - "type": "string" - }, - "ref": { - "description": "Unique identifier of the post on activity stream being commented.", - "type": "string" - }, - "rel": { - "default": "inReplyTo", - "description": "Relationship between the comment and the post on activity stream being commented. Always inReplyTo.", - "type": "string" - }, - "type": { - "description": "Type of the post on activity stream being commented. Always text/html.", - "type": "string" - } - }, - "type": "object" - }, - "kind": { - "default": "orkut#comment", - "description": "Identifies this resource as a comment. Value: \"orkut#comment\"", - "type": "string" - }, - "links": { - "description": "List of resources for the comment.", - "items": { - "$ref": "OrkutLinkResource" - }, - "type": "array" - }, - "published": { - "description": "The time the comment was initially published, in RFC 3339 format.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "CommentList": { - "id": "CommentList", - "properties": { - "items": { - "description": "List of comments retrieved.", - "items": { - "$ref": "Comment" - }, - "type": "array" - }, - "kind": { - "default": "orkut#commentList", - "description": "Identifies this resource as a collection of comments. Value: \"orkut#commentList\"", - "type": "string" - }, - "nextPageToken": { - "description": "The value of pageToken query parameter in comments.list request to get the next page, if there are more to retrieve.", - "type": "string" - }, - "previousPageToken": { - "description": "The value of pageToken query parameter in comments.list request to get the previous page, if there are more to retrieve.", - "type": "string" - } - }, - "type": "object" - }, - "Community": { - "id": "Community", - "properties": { - "category": { - "description": "The category of the community.", - "type": "string" - }, - "co_owners": { - "description": "The co-owners of the community.", - "items": { - "$ref": "OrkutAuthorResource" - }, - "type": "array" - }, - "creation_date": { - "description": "The time the community was created, in RFC 3339 format.", - "format": "date-time", - "type": "string" - }, - "description": { - "description": "The description of the community.", - "type": "string" - }, - "id": { - "description": "The id of the community.", - "format": "int32", - "type": "integer" - }, - "kind": { - "default": "orkut#community", - "description": "Identifies this resource as a community. Value: \"orkut#community\"", - "type": "string" - }, - "language": { - "description": "The official language of the community.", - "type": "string" - }, - "links": { - "description": "List of resources for the community.", - "items": { - "$ref": "OrkutLinkResource" - }, - "type": "array" - }, - "location": { - "description": "The location of the community.", - "type": "string" - }, - "member_count": { - "description": "The number of users who are part of the community. This number may be approximate, so do not rely on it for iteration.", - "format": "int32", - "type": "integer" - }, - "moderators": { - "description": "The list of moderators of the community.", - "items": { - "$ref": "OrkutAuthorResource" - }, - "type": "array" - }, - "name": { - "description": "The name of the community.", - "type": "string" - }, - "owner": { - "$ref": "OrkutAuthorResource", - "description": "The person who owns the community." - }, - "photo_url": { - "description": "The photo of the community.", - "type": "string" - } - }, - "type": "object" - }, - "CommunityList": { - "id": "CommunityList", - "properties": { - "items": { - "description": "List of communities retrieved.", - "items": { - "$ref": "Community" - }, - "type": "array" - }, - "kind": { - "default": "orkut#communityList", - "description": "Identifies this resource as a collection of communities. Value: \"orkut#communityList\"", - "type": "string" - } - }, - "type": "object" - }, - "CommunityMembers": { - "id": "CommunityMembers", - "properties": { - "communityMembershipStatus": { - "$ref": "CommunityMembershipStatus", - "description": "Status and permissions of the user related to the community." - }, - "kind": { - "default": "orkut#communityMembers", - "description": "Kind of this item. Always orkut#communityMembers.", - "type": "string" - }, - "person": { - "$ref": "OrkutActivitypersonResource", - "description": "Description of the community member." - } - }, - "type": "object" - }, - "CommunityMembersList": { - "id": "CommunityMembersList", - "properties": { - "firstPageToken": { - "description": "The value of pageToken query parameter in community_members.list request to get the first page.", - "type": "string" - }, - "items": { - "description": "List of community members retrieved.", - "items": { - "$ref": "CommunityMembers" - }, - "type": "array" - }, - "kind": { - "default": "orkut#communityMembersList", - "description": "Kind of this item. Always orkut#communityMembersList.", - "type": "string" - }, - "lastPageToken": { - "description": "The value of pageToken query parameter in community_members.list request to get the last page.", - "type": "string" - }, - "nextPageToken": { - "description": "The value of pageToken query parameter in community_members.list request to get the next page, if there are more to retrieve.", - "type": "string" - }, - "prevPageToken": { - "description": "The value of pageToken query parameter in community_members.list request to get the previous page, if there are more to retrieve.", - "type": "string" - } - }, - "type": "object" - }, - "CommunityMembershipStatus": { - "id": "CommunityMembershipStatus", - "properties": { - "canCreatePoll": { - "description": "Whether the user can create a poll in this community.", - "type": "boolean" - }, - "canCreateTopic": { - "description": "Whether the user can create a topic in this community.", - "type": "boolean" - }, - "canShout": { - "description": "Whether the user can perform a shout operation in this community.", - "type": "boolean" - }, - "isCoOwner": { - "description": "Whether the session user is a community co-owner.", - "type": "boolean" - }, - "isFollowing": { - "description": "Whether the user is following this community.", - "type": "boolean" - }, - "isModerator": { - "description": "Whether the session user is a community moderator.", - "type": "boolean" - }, - "isOwner": { - "description": "Whether the session user is the community owner.", - "type": "boolean" - }, - "isRestoreAvailable": { - "description": "Whether the restore operation is available for the community.", - "type": "boolean" - }, - "isTakebackAvailable": { - "description": "Whether the take-back operation is available for the community.", - "type": "boolean" - }, - "kind": { - "default": "orkut#communityMembershipStatus", - "description": "Kind of this item. Always orkut#communityMembershipStatus.", - "type": "string" - }, - "status": { - "description": "The status of the current link between the community and the user.", - "type": "string" - } - }, - "type": "object" - }, - "CommunityMessage": { - "id": "CommunityMessage", - "properties": { - "addedDate": { - "description": "The timestamp of the date when the message was added, in RFC 3339 format.", - "format": "date-time", - "type": "string" - }, - "author": { - "$ref": "OrkutAuthorResource", - "description": "The creator of the message. If ommited, the message is annonimous." - }, - "body": { - "description": "The body of the message.", - "type": "string" - }, - "id": { - "description": "The ID of the message.", - "format": "int64", - "type": "string" - }, - "isSpam": { - "description": "Whether this post was marked as spam by the viewer, when he/she is not the community owner or one of its moderators.", - "type": "boolean" - }, - "kind": { - "default": "orkut#communityMessage", - "description": "Identifies this resource as a community message. Value: \"orkut#communityMessage\"", - "type": "string" - }, - "links": { - "description": "List of resources for the community message.", - "items": { - "$ref": "OrkutLinkResource" - }, - "type": "array" - }, - "subject": { - "description": "The subject of the message.", - "type": "string" - } - }, - "type": "object" - }, - "CommunityMessageList": { - "id": "CommunityMessageList", - "properties": { - "firstPageToken": { - "description": "The value of pageToken query parameter in community_messages.list request to get the first page.", - "type": "string" - }, - "items": { - "description": "List of messages retrieved.", - "items": { - "$ref": "CommunityMessage" - }, - "type": "array" - }, - "kind": { - "default": "orkut#communityMessageList", - "description": "Identifies this resource as a collection of community messages. Value: \"orkut#communityMessageList\"", - "type": "string" - }, - "lastPageToken": { - "description": "The value of pageToken query parameter in community_messages.list request to get the last page.", - "type": "string" - }, - "nextPageToken": { - "description": "The value of pageToken query parameter in community_messages.list request to get the next page, if there are more to retrieve.", - "type": "string" - }, - "prevPageToken": { - "description": "The value of pageToken query parameter in community_messages.list request to get the previous page, if there are more to retrieve.", - "type": "string" - } - }, - "type": "object" - }, - "CommunityPoll": { - "id": "CommunityPoll", - "properties": { - "author": { - "$ref": "OrkutAuthorResource", - "description": "The person who created the poll." - }, - "communityId": { - "description": "The ID of the community.", - "format": "int32", - "type": "integer" - }, - "creationTime": { - "description": "The date of creation of this poll", - "format": "date-time", - "type": "string" - }, - "description": { - "description": "The poll description.", - "type": "string" - }, - "endingTime": { - "description": "The ending date of this poll or empty if the poll doesn't have one.", - "format": "date-time", - "type": "string" - }, - "hasVoted": { - "description": "Whether the user has voted on this poll.", - "type": "boolean" - }, - "id": { - "description": "The poll ID.", - "type": "string" - }, - "image": { - "description": "The image representing the poll. Field is omitted if no image exists.", - "properties": { - "url": { - "description": "A URL that points to an image of the poll.", - "type": "string" - } - }, - "type": "object" - }, - "isClosed": { - "description": "Whether the poll is not expired if there is an expiration date. A poll is open (that is, not closed for voting) if it either is not expired or doesn't have an expiration date at all. Note that just because a poll is open, it doesn't mean that the requester can vote on it.", - "type": "boolean" - }, - "isMultipleAnswers": { - "description": "Whether this poll allows voting for more than one option.", - "type": "boolean" - }, - "isOpenForVoting": { - "description": "Whether this poll is still opened for voting. A poll is open for voting if it is not closed, the user has not yet voted on it and the user has the permission to do so, which happens if he/she is either a community member or the poll is open for everybody.", - "type": "boolean" - }, - "isRestricted": { - "description": "Whether this poll is restricted for members only. If a poll is open but the user can't vote on it, it's been restricted to members only. This information is important to tell this case apart from the one where the user can't vote simply because the poll is already closed.", - "type": "boolean" - }, - "isSpam": { - "description": "Whether the user has marked this poll as spam. This only affects the poll for this user, not globally.", - "type": "boolean" - }, - "isUsersVotePublic": { - "description": "If user has already voted, whether his vote is publicly visible.", - "type": "boolean" - }, - "isVotingAllowedForNonMembers": { - "description": "Whether non-members of the community can vote on the poll.", - "type": "boolean" - }, - "kind": { - "default": "orkut#communityPoll", - "description": "Identifies this resource as a community poll. Value: \"orkut#communityPoll\"", - "type": "string" - }, - "lastUpdate": { - "description": "The date of the last update of this poll.", - "format": "date-time", - "type": "string" - }, - "links": { - "description": "List of resources for the community poll.", - "items": { - "$ref": "OrkutLinkResource" - }, - "type": "array" - }, - "options": { - "description": "List of options of this poll.", - "items": { - "$ref": "OrkutCommunitypolloptionResource" - }, - "type": "array" - }, - "question": { - "description": "The poll question.", - "type": "string" - }, - "totalNumberOfVotes": { - "description": "The total number of votes this poll has received.", - "format": "int32", - "type": "integer" - }, - "votedOptions": { - "description": "List of options the user has voted on, if there are any.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "CommunityPollComment": { - "id": "CommunityPollComment", - "properties": { - "addedDate": { - "description": "The date when the message was added, in RFC 3339 format.", - "format": "date-time", - "type": "string" - }, - "author": { - "$ref": "OrkutAuthorResource", - "description": "The creator of the comment." - }, - "body": { - "description": "The body of the message.", - "type": "string" - }, - "id": { - "description": "The ID of the comment.", - "format": "int32", - "type": "integer" - }, - "kind": { - "default": "orkut#communityPollComment", - "description": "Identifies this resource as a community poll comment. Value: \"orkut#communityPollComment\"", - "type": "string" - } - }, - "type": "object" - }, - "CommunityPollCommentList": { - "id": "CommunityPollCommentList", - "properties": { - "firstPageToken": { - "description": "The value of pageToken query parameter in community_poll_comments.list request to get the first page.", - "type": "string" - }, - "items": { - "description": "List of community poll comments retrieved.", - "items": { - "$ref": "CommunityPollComment" - }, - "type": "array" - }, - "kind": { - "default": "orkut#CommunityPollCommentList", - "description": "Identifies this resource as a collection of community poll comments. Value: \"orkut#CommunityPollCommentList\"", - "type": "string" - }, - "lastPageToken": { - "description": "The value of pageToken query parameter in community_poll_comments.list request to get the last page.", - "type": "string" - }, - "nextPageToken": { - "description": "The value of pageToken query parameter in community_poll_comments.list request to get the next page, if there are more to retrieve.", - "type": "string" - }, - "prevPageToken": { - "description": "The value of pageToken query parameter in community_poll_comments.list request to get the previous page, if there are more to retrieve.", - "type": "string" - } - }, - "type": "object" - }, - "CommunityPollList": { - "id": "CommunityPollList", - "properties": { - "firstPageToken": { - "description": "The value of pageToken query parameter in community_polls.list request to get the first page.", - "type": "string" - }, - "items": { - "description": "List of community polls retrieved.", - "items": { - "$ref": "CommunityPoll" - }, - "type": "array" - }, - "kind": { - "default": "orkut#communityPollList", - "description": "Identifies this resource as a collection of community polls. Value: \"orkut#communityPollList\"", - "type": "string" - }, - "lastPageToken": { - "description": "The value of pageToken query parameter in community_polls.list request to get the last page.", - "type": "string" - }, - "nextPageToken": { - "description": "The value of pageToken query parameter in community_polls.list request to get the next page, if there are more to retrieve.", - "type": "string" - }, - "prevPageToken": { - "description": "The value of pageToken query parameter in community_polls.list request to get the previous page, if there are more to retrieve.", - "type": "string" - } - }, - "type": "object" - }, - "CommunityPollVote": { - "id": "CommunityPollVote", - "properties": { - "isVotevisible": { - "description": "Whether this vote is visible to other users or not.", - "type": "boolean" - }, - "kind": { - "default": "orkut#communityPollVote", - "description": "Identifies this resource as a community poll vote. Value: \"orkut#communityPollVote\"", - "type": "string" - }, - "optionIds": { - "description": "The ids of the voted options.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "CommunityTopic": { - "id": "CommunityTopic", - "properties": { - "author": { - "$ref": "OrkutAuthorResource", - "description": "The creator of the topic." - }, - "body": { - "description": "The body of the topic.", - "type": "string" - }, - "id": { - "description": "The ID of the topic.", - "format": "int64", - "type": "string" - }, - "isClosed": { - "description": "Whether the topic is closed for new messages.", - "type": "boolean" - }, - "kind": { - "default": "orkut#communityTopic", - "description": "Identifies this resource as a community topic. Value: \"orkut#communityTopic\"", - "type": "string" - }, - "lastUpdate": { - "description": "The timestamp of the last update, in RFC 3339 format.", - "format": "date-time", - "type": "string" - }, - "latestMessageSnippet": { - "description": "Snippet of the last message posted on this topic.", - "type": "string" - }, - "links": { - "description": "List of resources for the community.", - "items": { - "$ref": "OrkutLinkResource" - }, - "type": "array" - }, - "messages": { - "description": "Most recent messages.", - "items": { - "$ref": "CommunityMessage" - }, - "type": "array" - }, - "numberOfReplies": { - "description": "The total number of replies this topic has received.", - "format": "int32", - "type": "integer" - }, - "title": { - "description": "The title of the topic.", - "type": "string" - } - }, - "type": "object" - }, - "CommunityTopicList": { - "id": "CommunityTopicList", - "properties": { - "firstPageToken": { - "description": "The value of pageToken query parameter in community_topic.list request to get the first page.", - "type": "string" - }, - "items": { - "description": "List of topics retrieved.", - "items": { - "$ref": "CommunityTopic" - }, - "type": "array" - }, - "kind": { - "default": "orkut#communityTopicList", - "description": "Identifies this resource as a collection of community topics. Value: \"orkut#communityTopicList\"", - "type": "string" - }, - "lastPageToken": { - "description": "The value of pageToken query parameter in community_topic.list request to get the last page.", - "type": "string" - }, - "nextPageToken": { - "description": "The value of pageToken query parameter in community_topic.list request to get the next page, if there are more to retrieve.", - "type": "string" - }, - "prevPageToken": { - "description": "The value of pageToken query parameter in community_topic.list request to get the previous page, if there are more to retrieve.", - "type": "string" - } - }, - "type": "object" - }, - "Counters": { - "id": "Counters", - "properties": { - "items": { - "description": "List of counters retrieved.", - "items": { - "$ref": "OrkutCounterResource" - }, - "type": "array" - }, - "kind": { - "default": "orkut#counters", - "description": "Identifies this resource as a collection of counters. Value: \"orkut#counters\"", - "type": "string" - } - }, - "type": "object" - }, - "OrkutActivityobjectsResource": { - "id": "OrkutActivityobjectsResource", - "properties": { - "community": { - "$ref": "Community", - "description": "The community which is related with this activity, e.g. a joined community." - }, - "content": { - "description": "The HTML-formatted content, suitable for display. When updating an activity's content, post the changes to this property, using the value of originalContent as a starting point. If the update is successful, the server adds HTML formatting and responds with this formatted content.", - "type": "string" - }, - "displayName": { - "description": "The title of the object.", - "type": "string" - }, - "id": { - "description": "The ID for the object.", - "type": "string" - }, - "links": { - "description": "Links to other resources related to this object.", - "items": { - "$ref": "OrkutLinkResource" - }, - "type": "array" - }, - "objectType": { - "description": "The object type.", - "type": "string" - }, - "person": { - "$ref": "OrkutActivitypersonResource", - "description": "The person who is related with this activity, e.g. an Added User." - } - }, - "type": "object" - }, - "OrkutActivitypersonResource": { - "id": "OrkutActivitypersonResource", - "properties": { - "birthday": { - "description": "The person's date of birth, represented as YYYY-MM-DD.", - "type": "string" - }, - "gender": { - "description": "The person's gender. Values include \"male\", \"female\", and \"other\".", - "type": "string" - }, - "id": { - "description": "The person's opensocial ID.", - "type": "string" - }, - "image": { - "description": "The person's profile photo. This is adapted from Google+ and was originaly introduced as extra OpenSocial convenience fields.", - "properties": { - "url": { - "description": "The URL of the person's profile photo.", - "type": "string" - } - }, - "type": "object" - }, - "name": { - "description": "An object that encapsulates the individual components of a person's name.", - "properties": { - "familyName": { - "description": "The family name (last name) of this person.", - "type": "string" - }, - "givenName": { - "description": "The given name (first name) of this person.", - "type": "string" - } - }, - "type": "object" - }, - "url": { - "description": "The person's profile url. This is adapted from Google+ and was originaly introduced as extra OpenSocial convenience fields.", - "type": "string" - } - }, - "type": "object" - }, - "OrkutAuthorResource": { - "id": "OrkutAuthorResource", - "properties": { - "displayName": { - "description": "The name of the author, suitable for display.", - "type": "string" - }, - "id": { - "description": "Unique identifier of the person who posted the comment. This is the person's OpenSocial ID.", - "type": "string" - }, - "image": { - "description": "Image data about the author.", - "properties": { - "url": { - "description": "A URL that points to a thumbnail photo of the author.", - "type": "string" - } - }, - "type": "object" - }, - "url": { - "description": "The URL of the author who posted the comment [not yet implemented]", - "type": "string" - } - }, - "type": "object" - }, - "OrkutCommunitypolloptionResource": { - "id": "OrkutCommunitypolloptionResource", - "properties": { - "description": { - "description": "The option description.", - "type": "string" - }, - "image": { - "description": "Image data about the poll option. Field is omitted if no image exists.", - "properties": { - "url": { - "description": "A URL that points to an image of the poll question.", - "type": "string" - } - }, - "type": "object" - }, - "numberOfVotes": { - "description": "The total number of votes that this option received.", - "format": "int32", - "type": "integer" - }, - "optionId": { - "description": "The poll option ID", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "OrkutCounterResource": { - "id": "OrkutCounterResource", - "properties": { - "link": { - "$ref": "OrkutLinkResource", - "description": "Link to the collection being counted." - }, - "name": { - "description": "The name of the counted collection. Currently supported collections are: \n- scraps - The scraps of the user. \n- photos - The photos of the user. \n- videos - The videos of the user. \n- pendingTestimonials - The pending testimonials of the user.", - "type": "string" - }, - "total": { - "description": "The number of resources on the counted collection.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "OrkutLinkResource": { - "description": "Links to resources related to the parent object.", - "id": "OrkutLinkResource", - "properties": { - "href": { - "description": "URL of the link.", - "type": "string" - }, - "rel": { - "description": "Relation between the resource and the parent object.", - "type": "string" - }, - "title": { - "description": "Title of the link.", - "type": "string" - }, - "type": { - "description": "Media type of the link.", - "type": "string" - } - }, - "type": "object" - }, - "Visibility": { - "id": "Visibility", - "properties": { - "kind": { - "default": "orkut#visibility", - "description": "Identifies this resource as a visibility item. Value: \"orkut#visibility\"", - "type": "string" - }, - "links": { - "description": "List of resources for the visibility item.", - "items": { - "$ref": "OrkutLinkResource" - }, - "type": "array" - }, - "visibility": { - "description": "The visibility of the resource. Possible values are: \n- default: not hidden by the user \n- hidden: hidden", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "orkut/v2/", - "title": "Orkut API", - "version": "v2" -} \ No newline at end of file
diff --git a/discovery/googleapis/pagespeedonline__v1.json b/discovery/googleapis/pagespeedonline__v1.json index 0491637..d4ecec9 100644 --- a/discovery/googleapis/pagespeedonline__v1.json +++ b/discovery/googleapis/pagespeedonline__v1.json
@@ -5,10 +5,10 @@ "description": "Lets you analyze the performance of a web page and get tailored suggestions to make that page faster.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/speed/docs/insights/v1/getting_started", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/i9zrKH7a71FIACHf4pP1Da2VYE4\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/d-8yA-cBFtVSz2k25Ky8r9ibOxE\"", "icons": { - "x16": "http://www.google.com/images/icons/product/pagespeed-16.png", - "x32": "http://www.google.com/images/icons/product/pagespeed-32.png" + "x16": "https://www.google.com/images/icons/product/pagespeed-16.png", + "x32": "https://www.google.com/images/icons/product/pagespeed-32.png" }, "id": "pagespeedonline:v1", "kind": "discovery#restDescription", @@ -126,7 +126,7 @@ } } }, - "revision": "20140528", + "revision": "20140930", "rootUrl": "https://www.googleapis.com/", "schemas": { "Result": {
diff --git a/discovery/googleapis/plusDomains__v1.json b/discovery/googleapis/plusDomains__v1.json index 10fa0ac..9429ee3 100644 --- a/discovery/googleapis/plusDomains__v1.json +++ b/discovery/googleapis/plusDomains__v1.json
@@ -41,7 +41,7 @@ "description": "The Google+ API enables developers to build on top of the Google+ platform.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/+/domains/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/sf2cjUC4FubyalOKNDeYv0A28c4\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/XCskVtSZGHUA2ojjOa7EMJfksm0\"", "icons": { "x16": "http://www.google.com/images/icons/product/gplus-16.png", "x32": "http://www.google.com/images/icons/product/gplus-32.png" @@ -851,7 +851,7 @@ } } }, - "revision": "20140924", + "revision": "20141006", "rootUrl": "https://www.googleapis.com/", "schemas": { "Acl": {
diff --git a/discovery/googleapis/plus__v1.json b/discovery/googleapis/plus__v1.json index 63743e1..4da45d3 100644 --- a/discovery/googleapis/plus__v1.json +++ b/discovery/googleapis/plus__v1.json
@@ -23,7 +23,7 @@ "description": "The Google+ API enables developers to build on top of the Google+ platform.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/+/api/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/In8TLBzJwB5MFUSo8MXucRvJtEE\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/b48DqQW2z2Pm99R4F5ulfPmuXVQ\"", "icons": { "x16": "http://www.google.com/images/icons/product/gplus-16.png", "x32": "http://www.google.com/images/icons/product/gplus-32.png" @@ -621,7 +621,7 @@ } } }, - "revision": "20140924", + "revision": "20141006", "rootUrl": "https://www.googleapis.com/", "schemas": { "Acl": {
diff --git a/discovery/googleapis/prediction__v1.6.json b/discovery/googleapis/prediction__v1.6.json index a7fea12..9420762 100644 --- a/discovery/googleapis/prediction__v1.6.json +++ b/discovery/googleapis/prediction__v1.6.json
@@ -23,7 +23,7 @@ "description": "Lets you access a cloud hosted machine learning service that makes it easy to build smart apps", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/prediction/docs/developer-guide", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/MKubU0FmYvcCiak8-htY8xGlT7I\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/MKubU0FmYvcCiak8-htY8xGlT7I\"", "icons": { "x16": "http://www.google.com/images/icons/feature/predictionapi-16.png", "x32": "http://www.google.com/images/icons/feature/predictionapi-32.png"
diff --git a/discovery/googleapis/qpxExpress__v1.json b/discovery/googleapis/qpxExpress__v1.json index 1e1ceed..3535af3 100644 --- a/discovery/googleapis/qpxExpress__v1.json +++ b/discovery/googleapis/qpxExpress__v1.json
@@ -6,7 +6,7 @@ "description": "Lets you find the least expensive flights between an origin and a destination.", "discoveryVersion": "v1", "documentationLink": "http://developers.google.com/qpx-express", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/oRXkfQJbU2CyvfsUv40EHopWGd0\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/oRXkfQJbU2CyvfsUv40EHopWGd0\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/reseller__v1.json b/discovery/googleapis/reseller__v1.json index 7bb609f..9d1cb3f 100644 --- a/discovery/googleapis/reseller__v1.json +++ b/discovery/googleapis/reseller__v1.json
@@ -17,7 +17,7 @@ "description": "Lets you create and manage your customers and their subscriptions.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/google-apps/reseller/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/WKsRWBQXvzPbkJLogUZV4PnpLRk\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/WKsRWBQXvzPbkJLogUZV4PnpLRk\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/siteVerification__v1.json b/discovery/googleapis/siteVerification__v1.json index e7b06a6..3fc0504 100644 --- a/discovery/googleapis/siteVerification__v1.json +++ b/discovery/googleapis/siteVerification__v1.json
@@ -17,7 +17,7 @@ "description": "Lets you programatically verify ownership of websites or domains with Google.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/site-verification/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/RwYHc_wr_RI-M8LU9rCXtGC2FOg\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/RwYHc_wr_RI-M8LU9rCXtGC2FOg\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/storage__v1.json b/discovery/googleapis/storage__v1.json index 1362aad..439f252 100644 --- a/discovery/googleapis/storage__v1.json +++ b/discovery/googleapis/storage__v1.json
@@ -20,7 +20,7 @@ "description": "Lets you store and retrieve potentially-large, immutable data objects.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/storage/docs/json_api/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/J4NEKl25SgasPn8QqRPJTF8nCH8\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/J4NEKl25SgasPn8QqRPJTF8nCH8\"", "icons": { "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png", "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
diff --git a/discovery/googleapis/tasks__v1.json b/discovery/googleapis/tasks__v1.json index d7b5695..cad1f10 100644 --- a/discovery/googleapis/tasks__v1.json +++ b/discovery/googleapis/tasks__v1.json
@@ -17,7 +17,7 @@ "description": "Lets you manage your tasks and task lists.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/google-apps/tasks/firstapp", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/2OzpktTyb8G1n0lJqDrsLrojoIY\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/2OzpktTyb8G1n0lJqDrsLrojoIY\"", "icons": { "x16": "http://www.google.com/images/icons/product/tasks-16.png", "x32": "http://www.google.com/images/icons/product/tasks-32.png"
diff --git a/discovery/googleapis/translate__v2.json b/discovery/googleapis/translate__v2.json index eba2c25..39347e8 100644 --- a/discovery/googleapis/translate__v2.json +++ b/discovery/googleapis/translate__v2.json
@@ -5,7 +5,7 @@ "description": "Lets you translate text from one language to another", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/translate/v2/using_rest", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/x8y0eeapVY09xfAj-RIWaraLUFU\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/x8y0eeapVY09xfAj-RIWaraLUFU\"", "features": [ "dataWrapper" ],
diff --git a/discovery/googleapis/urlshortener__v1.json b/discovery/googleapis/urlshortener__v1.json index 32b39da..bc386eb 100644 --- a/discovery/googleapis/urlshortener__v1.json +++ b/discovery/googleapis/urlshortener__v1.json
@@ -14,7 +14,7 @@ "description": "Lets you create, inspect, and manage goo.gl short URLs", "discoveryVersion": "v1", "documentationLink": "http://code.google.com/apis/urlshortener/v1/getting_started.html", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/T4bB77XUfbpGWn7xKXxC7yFKgeE\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/T4bB77XUfbpGWn7xKXxC7yFKgeE\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis/webfonts__v1.json b/discovery/googleapis/webfonts__v1.json index c2287de..cff3575 100644 --- a/discovery/googleapis/webfonts__v1.json +++ b/discovery/googleapis/webfonts__v1.json
@@ -5,7 +5,7 @@ "description": "The Google Fonts Developer API.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/fonts/docs/developer_api", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/uRZcMEbTVS9rWZxqJQOe5kJsXfo\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/uRZcMEbTVS9rWZxqJQOe5kJsXfo\"", "icons": { "x16": "http://www.google.com/images/icons/feature/font_api-16.png", "x32": "http://www.google.com/images/icons/feature/font_api-32.gif"
diff --git a/discovery/googleapis/webmasters__v3.json b/discovery/googleapis/webmasters__v3.json index 9899d00..b9d2b68 100644 --- a/discovery/googleapis/webmasters__v3.json +++ b/discovery/googleapis/webmasters__v3.json
@@ -17,7 +17,7 @@ "description": "Lets you view Google Webmaster Tools data for your verified sites.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/webmaster-tools/v3/welcome", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/sCAxuVQJb4ynjZxsnsm28T2muEw\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/sCAxuVQJb4ynjZxsnsm28T2muEw\"", "icons": { "x16": "https://www.google.com/images/icons/product/webmaster_tools-16.png", "x32": "https://www.google.com/images/icons/product/webmaster_tools-32.png"
diff --git a/discovery/googleapis/youtubeAnalytics__v1.json b/discovery/googleapis/youtubeAnalytics__v1.json index 5497fc2..464751a 100644 --- a/discovery/googleapis/youtubeAnalytics__v1.json +++ b/discovery/googleapis/youtubeAnalytics__v1.json
@@ -18,7 +18,7 @@ "description": "Retrieve your YouTube Analytics reports.", "discoveryVersion": "v1", "documentationLink": "http://developers.google.com/youtube/analytics/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/nlDKGR94Mbaj_YAIBNSZijmIvJQ\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/nlDKGR94Mbaj_YAIBNSZijmIvJQ\"", "icons": { "x16": "http://www.google.com/images/icons/product/youtube-16.png", "x32": "http://www.google.com/images/icons/product/youtube-32.png"
diff --git a/discovery/googleapis/youtube__v3.json b/discovery/googleapis/youtube__v3.json index 9c59976..2c4d271 100644 --- a/discovery/googleapis/youtube__v3.json +++ b/discovery/googleapis/youtube__v3.json
@@ -27,7 +27,7 @@ "description": "Programmatic access to YouTube features.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/youtube/v3", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/zEREGG39JVAwsC_sGxbLLJMqhV0\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/AH-IEbavfgCCcxMvonELgSqtbcY\"", "icons": { "x16": "https://www.google.com/images/icons/product/youtube-16.png", "x32": "https://www.google.com/images/icons/product/youtube-32.png" @@ -2315,7 +2315,7 @@ } } }, - "revision": "20140923", + "revision": "20140930", "rootUrl": "https://www.googleapis.com/", "schemas": { "AccessPolicy": { @@ -4461,6 +4461,8 @@ "oflcR15", "oflcR16", "oflcR18", + "oflcRp13", + "oflcRp16", "oflcUnrated" ], "enumDescriptions": [ @@ -4471,6 +4473,8 @@ "", "", "", + "", + "", "" ], "type": "string"
diff --git a/discovery/googleapis_beta/autoscaler__v1beta2.json b/discovery/googleapis_beta/autoscaler__v1beta2.json index 34f0b64..d288a18 100644 --- a/discovery/googleapis_beta/autoscaler__v1beta2.json +++ b/discovery/googleapis_beta/autoscaler__v1beta2.json
@@ -17,7 +17,7 @@ "description": "The Google Compute Engine Autoscaler API provides autoscaling for groups of Cloud VMs.", "discoveryVersion": "v1", "documentationLink": "http://developers.google.com/compute/docs/autoscaler", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/OGrwqagtFyzrQU63rEsuM0hbVC4\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/BoJiTEWHJN3oMRPgh3rGgk87M0g\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -440,7 +440,7 @@ } } }, - "revision": "20140909", + "revision": "20141001", "rootUrl": "https://www.googleapis.com/", "schemas": { "Autoscaler": {
diff --git a/discovery/googleapis_beta/cloudmonitoring__v2beta1.json b/discovery/googleapis_beta/cloudmonitoring__v2beta1.json index 2d6bf08..f6f8f65 100644 --- a/discovery/googleapis_beta/cloudmonitoring__v2beta1.json +++ b/discovery/googleapis_beta/cloudmonitoring__v2beta1.json
@@ -15,7 +15,7 @@ "description": "API for accessing Google Cloud and API monitoring data.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/cloud-monitoring/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/EwV4gYVmk5LEINhBU1aGpQEMk2I\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/DmpWCY6_5Z-ZgPj47MTzzMnrFlc\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -274,7 +274,7 @@ } } }, - "revision": "20140904", + "revision": "20140929", "rootUrl": "https://www.googleapis.com/", "schemas": { "ListMetricDescriptorsRequest": {
diff --git a/discovery/googleapis_beta/datastore__v1beta2.json b/discovery/googleapis_beta/datastore__v1beta2.json index 845cd2b..186143c 100644 --- a/discovery/googleapis_beta/datastore__v1beta2.json +++ b/discovery/googleapis_beta/datastore__v1beta2.json
@@ -20,7 +20,7 @@ "description": "API for accessing Google Cloud Datastore.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/datastore/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/LDhSkY4UxrCPhfQmh9G4U2uaRlU\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/LDhSkY4UxrCPhfQmh9G4U2uaRlU\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis_beta/dns__v1beta1.json b/discovery/googleapis_beta/dns__v1beta1.json index bcd90bd..94d20fb 100644 --- a/discovery/googleapis_beta/dns__v1beta1.json +++ b/discovery/googleapis_beta/dns__v1beta1.json
@@ -20,7 +20,7 @@ "description": "The Google Cloud DNS API provides services for configuring and serving authoritative DNS records.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/cloud-dns", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/8dmWjBwqXLQv5ILN4PEcDad3Jq8\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/8dmWjBwqXLQv5ILN4PEcDad3Jq8\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis_beta/genomics__v1beta.json b/discovery/googleapis_beta/genomics__v1beta.json index 118781d..3da8da5 100644 --- a/discovery/googleapis_beta/genomics__v1beta.json +++ b/discovery/googleapis_beta/genomics__v1beta.json
@@ -23,7 +23,7 @@ "description": "Provides access to Genomics data.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/genomics/v1beta/reference", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/JbtSbt7h4k1-H-5yVc1lnMxsqb4\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/KuyG9Uj3SRA52u3K-KvNS1fR_Xw\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -821,7 +821,7 @@ ] }, "import": { - "description": "Creates variant data by asynchronously importing the provided information. If the destination variant set already contains data, new variants will be merged according to the behavior of mergeVariants.", + "description": "Creates variant data by asynchronously importing the provided information. The variants for import will be merged with any existing data and each other according to the behavior of mergeVariants. In particular, this means for merged VCF variants that have conflicting INFO fields, some data will be arbitrarily discarded. As a special case, for single-sample VCF files, QUAL and FILTER fields will be moved to the call level; these are sometimes interpreted in a call-specific context. Imported VCF headers are appended to the metadata already in a VariantSet.", "httpMethod": "POST", "id": "genomics.variants.import", "path": "variants/import", @@ -943,7 +943,7 @@ }, "path": "variantsets/{variantSetId}/mergeVariants", "request": { - "$ref": "Variant" + "$ref": "MergeVariantsRequest" } }, "search": { @@ -965,7 +965,7 @@ } } }, - "revision": "20140924", + "revision": "20141001", "rootUrl": "https://www.googleapis.com/", "schemas": { "Beacon": { @@ -1577,6 +1577,19 @@ }, "type": "object" }, + "MergeVariantsRequest": { + "id": "MergeVariantsRequest", + "properties": { + "variants": { + "description": "The variants to be merged with existing variants.", + "items": { + "$ref": "Variant" + }, + "type": "array" + } + }, + "type": "object" + }, "Metadata": { "description": "Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.", "id": "Metadata", @@ -2133,7 +2146,7 @@ "id": "SearchVariantsRequest", "properties": { "callSetIds": { - "description": "Only return variant calls which belong to call sets with these ids. Leaving this blank returns all variant calls.", + "description": "Only return variant calls which belong to call sets with these ids. Leaving this blank returns all variant calls. If a variant has no calls belonging to any of these call sets, it won't be returned at all. Currently, variants with no calls from any call set will never be returned.", "items": { "type": "string" },
diff --git a/discovery/googleapis_beta/manager__v1beta2.json b/discovery/googleapis_beta/manager__v1beta2.json index 02e6855..316b16d 100644 --- a/discovery/googleapis_beta/manager__v1beta2.json +++ b/discovery/googleapis_beta/manager__v1beta2.json
@@ -29,7 +29,7 @@ "description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/deployment-manager/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/iGUA1MFJvjag5CPQwb2aT371UTs\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/iGUA1MFJvjag5CPQwb2aT371UTs\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis_beta/pubsub__v1beta1.json b/discovery/googleapis_beta/pubsub__v1beta1.json index 52d4cd7..34c0af0 100644 --- a/discovery/googleapis_beta/pubsub__v1beta1.json +++ b/discovery/googleapis_beta/pubsub__v1beta1.json
@@ -17,7 +17,7 @@ "description": "Provides reliable, many-to-many, asynchronous messaging between applications.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/pubsub/v1beta1", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/ywePitQXGabB9vHcCh_sNtCXjDU\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/ywePitQXGabB9vHcCh_sNtCXjDU\"", "icons": { "x16": "https://www.google.com/images/icons/product/search-16.gif", "x32": "https://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis_beta/replicapool__v1beta1.json b/discovery/googleapis_beta/replicapool__v1beta1.json index 3c36ad8..57addac 100644 --- a/discovery/googleapis_beta/replicapool__v1beta1.json +++ b/discovery/googleapis_beta/replicapool__v1beta1.json
@@ -26,7 +26,7 @@ "description": "The Replica Pool API allows users to declaratively provision and manage groups of Google Compute Engine instances based on a common template.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/compute/docs/replica-pool/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/23e47jzhtet3mpIUahkbF_tHUFw\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/OCNWVpxMyrgI9AhJbRIevULm13s\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -540,7 +540,7 @@ } } }, - "revision": "20140912", + "revision": "20141002", "rootUrl": "https://www.googleapis.com/", "schemas": { "AccessConfig": {
diff --git a/discovery/googleapis_beta/resourceviews__v1beta1.json b/discovery/googleapis_beta/resourceviews__v1beta1.json index 908d244..40791db 100644 --- a/discovery/googleapis_beta/resourceviews__v1beta1.json +++ b/discovery/googleapis_beta/resourceviews__v1beta1.json
@@ -26,7 +26,7 @@ "description": "The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/compute/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/2oa8SMSfpFS6UKNS3wRm4F3v1wQ\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/2oa8SMSfpFS6UKNS3wRm4F3v1wQ\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis_beta/resourceviews__v1beta2.json b/discovery/googleapis_beta/resourceviews__v1beta2.json index 652f23e..f91b849 100644 --- a/discovery/googleapis_beta/resourceviews__v1beta2.json +++ b/discovery/googleapis_beta/resourceviews__v1beta2.json
@@ -26,7 +26,7 @@ "description": "The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/compute/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/h07P0KWaqrcoR1sKo_9XnasKmIs\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/h07P0KWaqrcoR1sKo_9XnasKmIs\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis_beta/sqladmin__v1beta3.json b/discovery/googleapis_beta/sqladmin__v1beta3.json index 8df4548..cd27715 100644 --- a/discovery/googleapis_beta/sqladmin__v1beta3.json +++ b/discovery/googleapis_beta/sqladmin__v1beta3.json
@@ -18,7 +18,7 @@ "description": "API for Cloud SQL database instance management.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/cloud-sql/docs/admin-api/", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/9fwQA8H2k5NmzsvEUWIyM_KlxbQ\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/9fwQA8H2k5NmzsvEUWIyM_KlxbQ\"", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif"
diff --git a/discovery/googleapis_beta/taskqueue__v1beta2.json b/discovery/googleapis_beta/taskqueue__v1beta2.json index 9d9c197..1ff62e4 100644 --- a/discovery/googleapis_beta/taskqueue__v1beta2.json +++ b/discovery/googleapis_beta/taskqueue__v1beta2.json
@@ -17,7 +17,7 @@ "description": "Lets you access a Google App Engine Pull Task Queue over REST.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/appengine/docs/python/taskqueue/rest", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/NdbJrHMoZLPwtpKFHEyZMJzpuTM\"", + "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/NdbJrHMoZLPwtpKFHEyZMJzpuTM\"", "icons": { "x16": "http://www.google.com/images/icons/product/app_engine-16.png", "x32": "http://www.google.com/images/icons/product/app_engine-32.png"
diff --git a/generated/googleapis/CHANGELOG.md b/generated/googleapis/CHANGELOG.md index 57f9bbc..b99c28f 100644 --- a/generated/googleapis/CHANGELOG.md +++ b/generated/googleapis/CHANGELOG.md
@@ -1,3 +1,11 @@ +## 0.3.0 + +* [apis-removed] orkut:v2: removed (Orkut is shut down) +* [apis] compute:v1: additional schemas/methods +* [apis] doubleclicksearch:v2: schema changes +* [apis] gamesManagement:v1management: schema changes +* [apis] gmail:v1: schema changes + ## 0.2.1 * [apis-new] adexchangeseller:v2.0: API added
diff --git a/generated/googleapis/README.md b/generated/googleapis/README.md index 14296c7..c615c26 100644 --- a/generated/googleapis/README.md +++ b/generated/googleapis/README.md
@@ -173,7 +173,7 @@ Official API documentation: https://developers.google.com/civic-information -####  Compute Engine API - compute v1 +####  Compute Engine API - compute v1 API for the Google Compute Engine service. @@ -299,13 +299,7 @@ Official API documentation: https://developers.google.com/accounts/docs/OAuth2 -####  Orkut API - orkut v2 - -Lets you manage activities, comments and badges in Orkut. More stuff coming in time. - -Official API documentation: http://code.google.com/apis/orkut/v2/reference.html - -####  PageSpeed Insights API - pagespeedonline v1 +####  PageSpeed Insights API - pagespeedonline v1 Lets you analyze the performance of a web page and get tailored suggestions to make that page faster.
diff --git a/generated/googleapis/lib/appsactivity/v1.dart b/generated/googleapis/lib/appsactivity/v1.dart index adecb6c..7b39719 100644 --- a/generated/googleapis/lib/appsactivity/v1.dart +++ b/generated/googleapis/lib/appsactivity/v1.dart
@@ -15,7 +15,7 @@ /** Provides a historical view of activity. */ class AppsactivityApi { - /** View historical activity for Google services */ + /** View the activity history of your Google Apps */ static const ActivityScope = "https://www.googleapis.com/auth/activity"; /** View and manage the files and documents in your Google Drive */
diff --git a/generated/googleapis/lib/calendar/v3.dart b/generated/googleapis/lib/calendar/v3.dart index d0f0245..fc0aefb 100644 --- a/generated/googleapis/lib/calendar/v3.dart +++ b/generated/googleapis/lib/calendar/v3.dart
@@ -4166,7 +4166,9 @@ /** * The name of the time zone in which the time is specified (e.g. - * "Europe/Zurich"). Optional. The default is the time zone of the calendar. + * "Europe/Zurich"). For recurring events this field is required and specifies + * the time zone in which the recurrence is expanded. For single events this + * field is optional and indicates a custom time zone for the event start/end. */ core.String timeZone;
diff --git a/generated/googleapis/lib/compute/v1.dart b/generated/googleapis/lib/compute/v1.dart index 6660b94..318bbd8 100644 --- a/generated/googleapis/lib/compute/v1.dart +++ b/generated/googleapis/lib/compute/v1.dart
@@ -44,6 +44,7 @@ GlobalOperationsResourceApi get globalOperations => new GlobalOperationsResourceApi(_requester); HttpHealthChecksResourceApi get httpHealthChecks => new HttpHealthChecksResourceApi(_requester); ImagesResourceApi get images => new ImagesResourceApi(_requester); + InstanceTemplatesResourceApi get instanceTemplates => new InstanceTemplatesResourceApi(_requester); InstancesResourceApi get instances => new InstancesResourceApi(_requester); LicensesResourceApi get licenses => new LicensesResourceApi(_requester); MachineTypesResourceApi get machineTypes => new MachineTypesResourceApi(_requester); @@ -3277,6 +3278,221 @@ /** Not documented yet. */ +class InstanceTemplatesResourceApi { + final common_internal.ApiRequester _requester; + + InstanceTemplatesResourceApi(common_internal.ApiRequester client) : + _requester = client; + + /** + * Deletes the specified instance template resource. + * + * Request parameters: + * + * [project] - Name of the project scoping this request. + * Value must have pattern + * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". + * + * [instanceTemplate] - Name of the instance template resource to delete. + * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". + * + * Completes with a [Operation]. + * + * Completes with a [common.ApiRequestError] if the API endpoint returned an + * error. + * + * If the used [http.Client] completes with an error when making a REST call, + * this method will complete with the same error. + */ + async.Future<Operation> delete(core.String project, core.String instanceTemplate) { + var _url = null; + var _queryParams = new core.Map(); + var _uploadMedia = null; + var _uploadOptions = null; + var _downloadOptions = common.DownloadOptions.Metadata; + var _body = null; + + if (project == null) { + throw new core.ArgumentError("Parameter project is required."); + } + if (instanceTemplate == null) { + throw new core.ArgumentError("Parameter instanceTemplate is required."); + } + + + _url = common_internal.Escaper.ecapeVariable('$project') + '/global/instanceTemplates/' + common_internal.Escaper.ecapeVariable('$instanceTemplate'); + + var _response = _requester.request(_url, + "DELETE", + body: _body, + queryParams: _queryParams, + uploadOptions: _uploadOptions, + uploadMedia: _uploadMedia, + downloadOptions: _downloadOptions); + return _response.then((data) => new Operation.fromJson(data)); + } + + /** + * Returns the specified instance template resource. + * + * Request parameters: + * + * [project] - Name of the project scoping this request. + * Value must have pattern + * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". + * + * [instanceTemplate] - Name of the instance template resource to return. + * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". + * + * Completes with a [InstanceTemplate]. + * + * Completes with a [common.ApiRequestError] if the API endpoint returned an + * error. + * + * If the used [http.Client] completes with an error when making a REST call, + * this method will complete with the same error. + */ + async.Future<InstanceTemplate> get(core.String project, core.String instanceTemplate) { + var _url = null; + var _queryParams = new core.Map(); + var _uploadMedia = null; + var _uploadOptions = null; + var _downloadOptions = common.DownloadOptions.Metadata; + var _body = null; + + if (project == null) { + throw new core.ArgumentError("Parameter project is required."); + } + if (instanceTemplate == null) { + throw new core.ArgumentError("Parameter instanceTemplate is required."); + } + + + _url = common_internal.Escaper.ecapeVariable('$project') + '/global/instanceTemplates/' + common_internal.Escaper.ecapeVariable('$instanceTemplate'); + + var _response = _requester.request(_url, + "GET", + body: _body, + queryParams: _queryParams, + uploadOptions: _uploadOptions, + uploadMedia: _uploadMedia, + downloadOptions: _downloadOptions); + return _response.then((data) => new InstanceTemplate.fromJson(data)); + } + + /** + * Creates an instance template resource in the specified project using the + * data included in the request. + * + * [request] - The metadata request object. + * + * Request parameters: + * + * [project] - Name of the project scoping this request. + * Value must have pattern + * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". + * + * Completes with a [Operation]. + * + * Completes with a [common.ApiRequestError] if the API endpoint returned an + * error. + * + * If the used [http.Client] completes with an error when making a REST call, + * this method will complete with the same error. + */ + async.Future<Operation> insert(InstanceTemplate request, core.String project) { + var _url = null; + var _queryParams = new core.Map(); + var _uploadMedia = null; + var _uploadOptions = null; + var _downloadOptions = common.DownloadOptions.Metadata; + var _body = null; + + if (request != null) { + _body = convert.JSON.encode((request).toJson()); + } + if (project == null) { + throw new core.ArgumentError("Parameter project is required."); + } + + + _url = common_internal.Escaper.ecapeVariable('$project') + '/global/instanceTemplates'; + + var _response = _requester.request(_url, + "POST", + body: _body, + queryParams: _queryParams, + uploadOptions: _uploadOptions, + uploadMedia: _uploadMedia, + downloadOptions: _downloadOptions); + return _response.then((data) => new Operation.fromJson(data)); + } + + /** + * Retrieves the list of instance template resources contained within the + * specified project. + * + * Request parameters: + * + * [project] - Name of the project scoping this request. + * Value must have pattern + * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". + * + * [filter] - Optional. Filter expression for filtering listed resources. + * + * [maxResults] - Optional. Maximum count of results to be returned. Maximum + * value is 500 and default value is 500. + * Value must be between "0" and "500". + * + * [pageToken] - Optional. Tag returned by a previous list request truncated + * by maxResults. Used to continue a previous list request. + * + * Completes with a [InstanceTemplateList]. + * + * Completes with a [common.ApiRequestError] if the API endpoint returned an + * error. + * + * If the used [http.Client] completes with an error when making a REST call, + * this method will complete with the same error. + */ + async.Future<InstanceTemplateList> list(core.String project, {core.String filter, core.int maxResults, core.String pageToken}) { + var _url = null; + var _queryParams = new core.Map(); + var _uploadMedia = null; + var _uploadOptions = null; + var _downloadOptions = common.DownloadOptions.Metadata; + var _body = null; + + if (project == null) { + throw new core.ArgumentError("Parameter project is required."); + } + if (filter != null) { + _queryParams["filter"] = [filter]; + } + if (maxResults != null) { + _queryParams["maxResults"] = ["${maxResults}"]; + } + if (pageToken != null) { + _queryParams["pageToken"] = [pageToken]; + } + + + _url = common_internal.Escaper.ecapeVariable('$project') + '/global/instanceTemplates'; + + var _response = _requester.request(_url, + "GET", + body: _body, + queryParams: _queryParams, + uploadOptions: _uploadOptions, + uploadMedia: _uploadMedia, + downloadOptions: _downloadOptions); + return _response.then((data) => new InstanceTemplateList.fromJson(data)); + } + +} + + +/** Not documented yet. */ class InstancesResourceApi { final common_internal.ApiRequester _requester; @@ -8171,7 +8387,10 @@ */ core.String name; - /** The TCP port to connect on the backend. The default value is 80. */ + /** + * Deprecated in favor of port_name. The TCP port to connect on the backend. + * The default value is 80. + */ core.int port; /** @@ -8505,11 +8724,7 @@ */ core.String sizeGb; - /** - * The source image used to create this disk. Once the source image has been - * deleted from the system, this field will not be set, even if an image with - * the same name has been re-created. - */ + /** The source image used to create this disk. */ core.String sourceImage; /** @@ -8519,11 +8734,7 @@ */ core.String sourceImageId; - /** - * The source snapshot used to create this disk. Once the source snapshot has - * been deleted from the system, this field will be cleared, and will not be - * set even if a snapshot with the same name has been re-created. - */ + /** The source snapshot used to create this disk. */ core.String sourceSnapshot; /** @@ -10390,11 +10601,7 @@ /** Server defined URL for the resource (output only). */ core.String selfLink; - /** - * The source disk used to create this image. Once the source disk has been - * deleted from the system, this field will be cleared, and will not be set - * even if a disk with the same name has been re-created. - */ + /** The source disk used to create this image. */ core.String sourceDisk; /** @@ -10931,6 +11138,138 @@ /** Not documented yet. */ +class InstanceProperties { + /** + * Allows instances created based on this template to send packets with source + * IP addresses other than their own and receive packets with destination IP + * addresses other than their own. If these instances will be used as an IP + * gateway or it will be set as the next-hop in a Route resource, say true. If + * unsure, leave this set to false. + */ + core.bool canIpForward; + + /** + * An optional textual description for the instances created based on the + * instance template resource; provided by the client when the template is + * created. + */ + core.String description; + + /** + * Array of disks associated with instance created based on this template. + */ + core.List<AttachedDisk> disks; + + /** + * Name of the machine type resource describing which machine type to use to + * host the instances created based on this template; provided by the client + * when the instance template is created. + */ + core.String machineType; + + /** + * Metadata key/value pairs assigned to instances created based on this + * template. Consists of custom metadata or predefined keys; see Instance + * documentation for more information. + */ + Metadata metadata; + + /** + * Array of configurations for this interface. This specifies how this + * interface is configured to interact with other network services, such as + * connecting to the internet. Currently, ONE_TO_ONE_NAT is the only access + * config supported. If there are no accessConfigs specified, then this + * instances created based based on this template will have no external + * internet access. + */ + core.List<NetworkInterface> networkInterfaces; + + /** Scheduling options for the instances created based on this template. */ + Scheduling scheduling; + + /** + * A list of service accounts each with specified scopes, for which access + * tokens are to be made available to the instances created based on this + * template, through metadata queries. + */ + core.List<ServiceAccount> serviceAccounts; + + /** + * A list of tags to be applied to the instances created based on this + * template used to identify valid sources or targets for network firewalls. + * Provided by the client on instance creation. The tags can be later modified + * by the setTags method. Each tag within the list must comply with RFC1035. + */ + Tags tags; + + + InstanceProperties(); + + InstanceProperties.fromJson(core.Map _json) { + if (_json.containsKey("canIpForward")) { + canIpForward = _json["canIpForward"]; + } + if (_json.containsKey("description")) { + description = _json["description"]; + } + if (_json.containsKey("disks")) { + disks = _json["disks"].map((value) => new AttachedDisk.fromJson(value)).toList(); + } + if (_json.containsKey("machineType")) { + machineType = _json["machineType"]; + } + if (_json.containsKey("metadata")) { + metadata = new Metadata.fromJson(_json["metadata"]); + } + if (_json.containsKey("networkInterfaces")) { + networkInterfaces = _json["networkInterfaces"].map((value) => new NetworkInterface.fromJson(value)).toList(); + } + if (_json.containsKey("scheduling")) { + scheduling = new Scheduling.fromJson(_json["scheduling"]); + } + if (_json.containsKey("serviceAccounts")) { + serviceAccounts = _json["serviceAccounts"].map((value) => new ServiceAccount.fromJson(value)).toList(); + } + if (_json.containsKey("tags")) { + tags = new Tags.fromJson(_json["tags"]); + } + } + + core.Map toJson() { + var _json = new core.Map(); + if (canIpForward != null) { + _json["canIpForward"] = canIpForward; + } + if (description != null) { + _json["description"] = description; + } + if (disks != null) { + _json["disks"] = disks.map((value) => (value).toJson()).toList(); + } + if (machineType != null) { + _json["machineType"] = machineType; + } + if (metadata != null) { + _json["metadata"] = (metadata).toJson(); + } + if (networkInterfaces != null) { + _json["networkInterfaces"] = networkInterfaces.map((value) => (value).toJson()).toList(); + } + if (scheduling != null) { + _json["scheduling"] = (scheduling).toJson(); + } + if (serviceAccounts != null) { + _json["serviceAccounts"] = serviceAccounts.map((value) => (value).toJson()).toList(); + } + if (tags != null) { + _json["tags"] = (tags).toJson(); + } + return _json; + } +} + + +/** Not documented yet. */ class InstanceReference { /** Not documented yet. */ core.String instance; @@ -10954,6 +11293,155 @@ } +/** An Instance Template resource. */ +class InstanceTemplate { + /** Creation timestamp in RFC3339 text format (output only). */ + core.String creationTimestamp; + + /** + * An optional textual description of the instance template resource; provided + * by the client when the resource is created. + */ + core.String description; + + /** + * Unique identifier for the resource; defined by the server (output only). + */ + core.String id; + + /** Type of the resource. */ + core.String kind; + + /** + * Name of the instance template resource; provided by the client when the + * resource is created. The name must be 1-63 characters long, and comply with + * RFC1035 + */ + core.String name; + + /** The instance properties portion of this instance template resource. */ + InstanceProperties properties; + + /** Server defined URL for the resource (output only). */ + core.String selfLink; + + + InstanceTemplate(); + + InstanceTemplate.fromJson(core.Map _json) { + if (_json.containsKey("creationTimestamp")) { + creationTimestamp = _json["creationTimestamp"]; + } + if (_json.containsKey("description")) { + description = _json["description"]; + } + if (_json.containsKey("id")) { + id = _json["id"]; + } + if (_json.containsKey("kind")) { + kind = _json["kind"]; + } + if (_json.containsKey("name")) { + name = _json["name"]; + } + if (_json.containsKey("properties")) { + properties = new InstanceProperties.fromJson(_json["properties"]); + } + if (_json.containsKey("selfLink")) { + selfLink = _json["selfLink"]; + } + } + + core.Map toJson() { + var _json = new core.Map(); + if (creationTimestamp != null) { + _json["creationTimestamp"] = creationTimestamp; + } + if (description != null) { + _json["description"] = description; + } + if (id != null) { + _json["id"] = id; + } + if (kind != null) { + _json["kind"] = kind; + } + if (name != null) { + _json["name"] = name; + } + if (properties != null) { + _json["properties"] = (properties).toJson(); + } + if (selfLink != null) { + _json["selfLink"] = selfLink; + } + return _json; + } +} + + +/** Contains a list of instance template resources. */ +class InstanceTemplateList { + /** + * Unique identifier for the resource; defined by the server (output only). + */ + core.String id; + + /** A list of instance template resources. */ + core.List<InstanceTemplate> items; + + /** Type of resource. */ + core.String kind; + + /** A token used to continue a truncated list request (output only). */ + core.String nextPageToken; + + /** Server defined URL for this resource (output only). */ + core.String selfLink; + + + InstanceTemplateList(); + + InstanceTemplateList.fromJson(core.Map _json) { + if (_json.containsKey("id")) { + id = _json["id"]; + } + if (_json.containsKey("items")) { + items = _json["items"].map((value) => new InstanceTemplate.fromJson(value)).toList(); + } + if (_json.containsKey("kind")) { + kind = _json["kind"]; + } + if (_json.containsKey("nextPageToken")) { + nextPageToken = _json["nextPageToken"]; + } + if (_json.containsKey("selfLink")) { + selfLink = _json["selfLink"]; + } + } + + core.Map toJson() { + var _json = new core.Map(); + if (id != null) { + _json["id"] = id; + } + if (items != null) { + _json["items"] = items.map((value) => (value).toJson()).toList(); + } + if (kind != null) { + _json["kind"] = kind; + } + if (nextPageToken != null) { + _json["nextPageToken"] = nextPageToken; + } + if (selfLink != null) { + _json["selfLink"] = selfLink; + } + return _json; + } +} + + /** Not documented yet. */ class InstancesScopedListWarningData { /** A key for the warning data. */ @@ -13528,11 +14016,7 @@ /** Server defined URL for the resource (output only). */ core.String selfLink; - /** - * The source disk used to create this snapshot. Once the source disk has been - * deleted from the system, this field will be cleared, and will not be set - * even if a disk with the same name has been re-created (output only). - */ + /** The source disk used to create this snapshot. */ core.String sourceDisk; /**
diff --git a/generated/googleapis/lib/doubleclicksearch/v2.dart b/generated/googleapis/lib/doubleclicksearch/v2.dart index 9a9613b..07bb356 100644 --- a/generated/googleapis/lib/doubleclicksearch/v2.dart +++ b/generated/googleapis/lib/doubleclicksearch/v2.dart
@@ -1179,10 +1179,21 @@ * advertiser or lower, and the custom dimension must already be set up in * DoubleClick Search. The custom dimension name, which appears in DoubleClick * Search, is case sensitive. + * If used in a conversion report, returns the value of the specified custom + * dimension for the given conversion, if set. This column does not segment + * the conversion report. */ core.String customDimensionName; /** + * Reports on the provided custom metric. The report must be scoped to an + * advertiser or lower, and the custom metric must already be set up in + * DoubleClick Search. The custom metric name, which appears in DoubleClick + * Search, is case sensitive. + */ + core.String customMetricName; + + /** * Inclusive day in YYYY-MM-DD format. When provided, this overrides the * overall time range of the report for this column only. Must be provided * together with startDate. @@ -1233,6 +1244,9 @@ if (_json.containsKey("customDimensionName")) { customDimensionName = _json["customDimensionName"]; } + if (_json.containsKey("customMetricName")) { + customMetricName = _json["customMetricName"]; + } if (_json.containsKey("endDate")) { endDate = _json["endDate"]; } @@ -1261,6 +1275,9 @@ if (customDimensionName != null) { _json["customDimensionName"] = customDimensionName; } + if (customMetricName != null) { + _json["customMetricName"] = customMetricName; + } if (endDate != null) { _json["endDate"] = endDate; }
diff --git a/generated/googleapis/lib/games/v1.dart b/generated/googleapis/lib/games/v1.dart index c41bada..b58e0b9 100644 --- a/generated/googleapis/lib/games/v1.dart +++ b/generated/googleapis/lib/games/v1.dart
@@ -3718,6 +3718,12 @@ /** The name of the application. */ core.String name; + /** + * A hint to the client UI for what color to use as an app-themed color. The + * color is given as an RGB triplet (e.g. "E0E0E0"). + */ + core.String themeColor; + Application(); @@ -3758,6 +3764,9 @@ if (_json.containsKey("name")) { name = _json["name"]; } + if (_json.containsKey("themeColor")) { + themeColor = _json["themeColor"]; + } } core.Map toJson() { @@ -3798,6 +3807,9 @@ if (name != null) { _json["name"] = name; } + if (themeColor != null) { + _json["themeColor"] = themeColor; + } return _json; } }
diff --git a/generated/googleapis/lib/gamesmanagement/v1management.dart b/generated/googleapis/lib/gamesmanagement/v1management.dart index feabf0a..a863fa6 100644 --- a/generated/googleapis/lib/gamesmanagement/v1management.dart +++ b/generated/googleapis/lib/gamesmanagement/v1management.dart
@@ -128,8 +128,43 @@ } /** - * Resets the achievement with the given ID for the all players. This method - * is only available to user accounts for your developer console. Only draft + * Resets all draft achievements for all players. This method is only + * available to user accounts for your developer console. + * + * Request parameters: + * + * Completes with a [common.ApiRequestError] if the API endpoint returned an + * error. + * + * If the used [http.Client] completes with an error when making a REST call, + * this method will complete with the same error. + */ + async.Future resetAllForAllPlayers() { + var _url = null; + var _queryParams = new core.Map(); + var _uploadMedia = null; + var _uploadOptions = null; + var _downloadOptions = common.DownloadOptions.Metadata; + var _body = null; + + + _downloadOptions = null; + + _url = 'achievements/resetAllForAllPlayers'; + + var _response = _requester.request(_url, + "POST", + body: _body, + queryParams: _queryParams, + uploadOptions: _uploadOptions, + uploadMedia: _uploadMedia, + downloadOptions: _downloadOptions); + return _response.then((data) => null); + } + + /** + * Resets the achievement with the given ID for all players. This method is + * only available to user accounts for your developer console. Only draft * achievements can be reset. * * Request parameters: @@ -168,6 +203,47 @@ return _response.then((data) => null); } + /** + * Resets the achievement with the given IDs for all players. This method is + * only available to user accounts for your developer console. Only draft + * achievements may be reset. + * + * [request] - The metadata request object. + * + * Request parameters: + * + * Completes with a [common.ApiRequestError] if the API endpoint returned an + * error. + * + * If the used [http.Client] completes with an error when making a REST call, + * this method will complete with the same error. + */ + async.Future resetMultipleForAllPlayers(AchievementResetMultipleForAllRequest request) { + var _url = null; + var _queryParams = new core.Map(); + var _uploadMedia = null; + var _uploadOptions = null; + var _downloadOptions = common.DownloadOptions.Metadata; + var _body = null; + + if (request != null) { + _body = convert.JSON.encode((request).toJson()); + } + + _downloadOptions = null; + + _url = 'achievements/resetMultipleForAllPlayers'; + + var _response = _requester.request(_url, + "POST", + body: _body, + queryParams: _queryParams, + uploadOptions: _uploadOptions, + uploadMedia: _uploadMedia, + downloadOptions: _downloadOptions); + return _response.then((data) => null); + } + } @@ -738,6 +814,42 @@ } +/** This is a JSON template for multiple achievements reset all request. */ +class AchievementResetMultipleForAllRequest { + /** The IDs of achievements to reset. */ + core.List<core.String> achievementIds; + + /** + * Uniquely identifies the type of this resource. Value is always the fixed + * string gamesManagement#achievementResetMultipleForAllRequest. + */ + core.String kind; + + + AchievementResetMultipleForAllRequest(); + + AchievementResetMultipleForAllRequest.fromJson(core.Map _json) { + if (_json.containsKey("achievement_ids")) { + achievementIds = _json["achievement_ids"]; + } + if (_json.containsKey("kind")) { + kind = _json["kind"]; + } + } + + core.Map toJson() { + var _json = new core.Map(); + if (achievementIds != null) { + _json["achievement_ids"] = achievementIds; + } + if (kind != null) { + _json["kind"] = kind; + } + return _json; + } +} + + /** This is a JSON template for an achievement reset response. */ class AchievementResetResponse { /**
diff --git a/generated/googleapis/lib/gmail/v1.dart b/generated/googleapis/lib/gmail/v1.dart index b9dee7f..b49f307 100644 --- a/generated/googleapis/lib/gmail/v1.dart +++ b/generated/googleapis/lib/gmail/v1.dart
@@ -1780,9 +1780,21 @@ */ core.String messageListVisibility; + /** The total number of messages with the label. */ + core.int messagesTotal; + + /** The number of unread messages with the label. */ + core.int messagesUnread; + /** The display name of the label. */ core.String name; + /** The total number of threads with the label. */ + core.int threadsTotal; + + /** The number of unread threads with the label. */ + core.int threadsUnread; + /** * The owner type for the label. User labels are created by the user and can * be modified and deleted by the user and can be applied to any message or @@ -1811,9 +1823,21 @@ if (_json.containsKey("messageListVisibility")) { messageListVisibility = _json["messageListVisibility"]; } + if (_json.containsKey("messagesTotal")) { + messagesTotal = _json["messagesTotal"]; + } + if (_json.containsKey("messagesUnread")) { + messagesUnread = _json["messagesUnread"]; + } if (_json.containsKey("name")) { name = _json["name"]; } + if (_json.containsKey("threadsTotal")) { + threadsTotal = _json["threadsTotal"]; + } + if (_json.containsKey("threadsUnread")) { + threadsUnread = _json["threadsUnread"]; + } if (_json.containsKey("type")) { type = _json["type"]; } @@ -1830,9 +1854,21 @@ if (messageListVisibility != null) { _json["messageListVisibility"] = messageListVisibility; } + if (messagesTotal != null) { + _json["messagesTotal"] = messagesTotal; + } + if (messagesUnread != null) { + _json["messagesUnread"] = messagesUnread; + } if (name != null) { _json["name"] = name; } + if (threadsTotal != null) { + _json["threadsTotal"] = threadsTotal; + } + if (threadsUnread != null) { + _json["threadsUnread"] = threadsUnread; + } if (type != null) { _json["type"] = type; } @@ -2074,7 +2110,7 @@ * - The requested threadId must be specified on the Message or Draft.Message * you supply with your request. * - The References and In-Reply-To headers must be set in compliance with the - * <a href="https://tools.ietf.org/html/rfc2822"RFC 2822 standard. + * RFC 2822 standard. * - The Subject headers must match. */ core.String threadId;
diff --git a/generated/googleapis/lib/orkut/v2.dart b/generated/googleapis/lib/orkut/v2.dart deleted file mode 100644 index 0936a14..0000000 --- a/generated/googleapis/lib/orkut/v2.dart +++ /dev/null
@@ -1,4506 +0,0 @@ -library googleapis.orkut.v2; - -import "dart:core" as core; -import "dart:collection" as collection_1; -import "dart:async" as async; -import "dart:convert" as convert; - -import "package:crypto/crypto.dart" as crypto; -import 'package:http/http.dart' as http; -import '../src/common_internal.dart' as common_internal; -import '../common/common.dart' as common; - -export '../common/common.dart' show ApiRequestError; -export '../common/common.dart' show DetailedApiRequestError; - -/** - * Lets you manage activities, comments and badges in Orkut. More stuff coming - * in time. - */ -class OrkutApi { - /** Manage your Orkut activity */ - static const OrkutScope = "https://www.googleapis.com/auth/orkut"; - - /** View your Orkut data */ - static const OrkutReadonlyScope = "https://www.googleapis.com/auth/orkut.readonly"; - - - final common_internal.ApiRequester _requester; - - AclResourceApi get acl => new AclResourceApi(_requester); - ActivitiesResourceApi get activities => new ActivitiesResourceApi(_requester); - ActivityVisibilityResourceApi get activityVisibility => new ActivityVisibilityResourceApi(_requester); - BadgesResourceApi get badges => new BadgesResourceApi(_requester); - CommentsResourceApi get comments => new CommentsResourceApi(_requester); - CommunitiesResourceApi get communities => new CommunitiesResourceApi(_requester); - CommunityFollowResourceApi get communityFollow => new CommunityFollowResourceApi(_requester); - CommunityMembersResourceApi get communityMembers => new CommunityMembersResourceApi(_requester); - CommunityMessagesResourceApi get communityMessages => new CommunityMessagesResourceApi(_requester); - CommunityPollCommentsResourceApi get communityPollComments => new CommunityPollCommentsResourceApi(_requester); - CommunityPollVotesResourceApi get communityPollVotes => new CommunityPollVotesResourceApi(_requester); - CommunityPollsResourceApi get communityPolls => new CommunityPollsResourceApi(_requester); - CommunityRelatedResourceApi get communityRelated => new CommunityRelatedResourceApi(_requester); - CommunityTopicsResourceApi get communityTopics => new CommunityTopicsResourceApi(_requester); - CountersResourceApi get counters => new CountersResourceApi(_requester); - ScrapsResourceApi get scraps => new ScrapsResourceApi(_requester); - - OrkutApi(http.Client client) : - _requester = new common_internal.ApiRequester(client, "https://www.googleapis.com/", "orkut/v2/"); -} - - -/** Not documented yet. */ -class AclResourceApi { - final common_internal.ApiRequester _requester; - - AclResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Excludes an element from the ACL of the activity. - * - * Request parameters: - * - * [activityId] - ID of the activity. - * - * [userId] - ID of the user to be removed from the activity. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future delete(core.String activityId, core.String userId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (activityId == null) { - throw new core.ArgumentError("Parameter activityId is required."); - } - if (userId == null) { - throw new core.ArgumentError("Parameter userId is required."); - } - - _downloadOptions = null; - - _url = 'activities/' + common_internal.Escaper.ecapeVariable('$activityId') + '/acl/' + common_internal.Escaper.ecapeVariable('$userId'); - - var _response = _requester.request(_url, - "DELETE", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => null); - } - -} - - -/** Not documented yet. */ -class ActivitiesResourceApi { - final common_internal.ApiRequester _requester; - - ActivitiesResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Deletes an existing activity, if the access controls allow it. - * - * Request parameters: - * - * [activityId] - ID of the activity to remove. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future delete(core.String activityId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (activityId == null) { - throw new core.ArgumentError("Parameter activityId is required."); - } - - _downloadOptions = null; - - _url = 'activities/' + common_internal.Escaper.ecapeVariable('$activityId'); - - var _response = _requester.request(_url, - "DELETE", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => null); - } - - /** - * Retrieves a list of activities. - * - * Request parameters: - * - * [userId] - The ID of the user whose activities will be listed. Can be me to - * refer to the viewer (i.e. the authenticated user). - * - * [collection] - The collection of activities to list. - * Possible string values are: - * - "all" : All activities created by the specified user that the - * authenticated user is authorized to view. - * - "scraps" : The specified user's scrapbook. - * - "stream" : The specified user's stream feed, intended for consumption. - * This includes activities posted by people that the user is following, and - * activities in which the user has been mentioned. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * [maxResults] - The maximum number of activities to include in the response. - * Value must be between "1" and "100". - * - * [pageToken] - A continuation token that allows pagination. - * - * Completes with a [ActivityList]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<ActivityList> list(core.String userId, core.String collection, {core.String hl, core.int maxResults, core.String pageToken}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (userId == null) { - throw new core.ArgumentError("Parameter userId is required."); - } - if (collection == null) { - throw new core.ArgumentError("Parameter collection is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - if (maxResults != null) { - _queryParams["maxResults"] = ["${maxResults}"]; - } - if (pageToken != null) { - _queryParams["pageToken"] = [pageToken]; - } - - - _url = 'people/' + common_internal.Escaper.ecapeVariable('$userId') + '/activities/' + common_internal.Escaper.ecapeVariable('$collection'); - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new ActivityList.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class ActivityVisibilityResourceApi { - final common_internal.ApiRequester _requester; - - ActivityVisibilityResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Gets the visibility of an existing activity. - * - * Request parameters: - * - * [activityId] - ID of the activity to get the visibility. - * - * Completes with a [Visibility]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<Visibility> get(core.String activityId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (activityId == null) { - throw new core.ArgumentError("Parameter activityId is required."); - } - - - _url = 'activities/' + common_internal.Escaper.ecapeVariable('$activityId') + '/visibility'; - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new Visibility.fromJson(data)); - } - - /** - * Updates the visibility of an existing activity. This method supports patch - * semantics. - * - * [request] - The metadata request object. - * - * Request parameters: - * - * [activityId] - ID of the activity. - * - * Completes with a [Visibility]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<Visibility> patch(Visibility request, core.String activityId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (request != null) { - _body = convert.JSON.encode((request).toJson()); - } - if (activityId == null) { - throw new core.ArgumentError("Parameter activityId is required."); - } - - - _url = 'activities/' + common_internal.Escaper.ecapeVariable('$activityId') + '/visibility'; - - var _response = _requester.request(_url, - "PATCH", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new Visibility.fromJson(data)); - } - - /** - * Updates the visibility of an existing activity. - * - * [request] - The metadata request object. - * - * Request parameters: - * - * [activityId] - ID of the activity. - * - * Completes with a [Visibility]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<Visibility> update(Visibility request, core.String activityId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (request != null) { - _body = convert.JSON.encode((request).toJson()); - } - if (activityId == null) { - throw new core.ArgumentError("Parameter activityId is required."); - } - - - _url = 'activities/' + common_internal.Escaper.ecapeVariable('$activityId') + '/visibility'; - - var _response = _requester.request(_url, - "PUT", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new Visibility.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class BadgesResourceApi { - final common_internal.ApiRequester _requester; - - BadgesResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Retrieves a badge from a user. - * - * Request parameters: - * - * [userId] - The ID of the user whose badges will be listed. Can be me to - * refer to caller. - * - * [badgeId] - The ID of the badge that will be retrieved. - * - * Completes with a [Badge]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<Badge> get(core.String userId, core.String badgeId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (userId == null) { - throw new core.ArgumentError("Parameter userId is required."); - } - if (badgeId == null) { - throw new core.ArgumentError("Parameter badgeId is required."); - } - - - _url = 'people/' + common_internal.Escaper.ecapeVariable('$userId') + '/badges/' + common_internal.Escaper.ecapeVariable('$badgeId'); - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new Badge.fromJson(data)); - } - - /** - * Retrieves the list of visible badges of a user. - * - * Request parameters: - * - * [userId] - The id of the user whose badges will be listed. Can be me to - * refer to caller. - * - * Completes with a [BadgeList]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<BadgeList> list(core.String userId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (userId == null) { - throw new core.ArgumentError("Parameter userId is required."); - } - - - _url = 'people/' + common_internal.Escaper.ecapeVariable('$userId') + '/badges'; - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new BadgeList.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class CommentsResourceApi { - final common_internal.ApiRequester _requester; - - CommentsResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Deletes an existing comment. - * - * Request parameters: - * - * [commentId] - ID of the comment to remove. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future delete(core.String commentId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (commentId == null) { - throw new core.ArgumentError("Parameter commentId is required."); - } - - _downloadOptions = null; - - _url = 'comments/' + common_internal.Escaper.ecapeVariable('$commentId'); - - var _response = _requester.request(_url, - "DELETE", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => null); - } - - /** - * Retrieves an existing comment. - * - * Request parameters: - * - * [commentId] - ID of the comment to get. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * Completes with a [Comment]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<Comment> get(core.String commentId, {core.String hl}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (commentId == null) { - throw new core.ArgumentError("Parameter commentId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - - - _url = 'comments/' + common_internal.Escaper.ecapeVariable('$commentId'); - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new Comment.fromJson(data)); - } - - /** - * Inserts a new comment to an activity. - * - * [request] - The metadata request object. - * - * Request parameters: - * - * [activityId] - The ID of the activity to contain the new comment. - * - * Completes with a [Comment]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<Comment> insert(Comment request, core.String activityId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (request != null) { - _body = convert.JSON.encode((request).toJson()); - } - if (activityId == null) { - throw new core.ArgumentError("Parameter activityId is required."); - } - - - _url = 'activities/' + common_internal.Escaper.ecapeVariable('$activityId') + '/comments'; - - var _response = _requester.request(_url, - "POST", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new Comment.fromJson(data)); - } - - /** - * Retrieves a list of comments, possibly filtered. - * - * Request parameters: - * - * [activityId] - The ID of the activity containing the comments. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * [maxResults] - The maximum number of activities to include in the response. - * - * [orderBy] - Sort search results. - * Possible string values are: - * - "ascending" : Use ascending sort order. - * - "descending" : Use descending sort order. - * - * [pageToken] - A continuation token that allows pagination. - * - * Completes with a [CommentList]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommentList> list(core.String activityId, {core.String hl, core.int maxResults, core.String orderBy, core.String pageToken}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (activityId == null) { - throw new core.ArgumentError("Parameter activityId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - if (maxResults != null) { - _queryParams["maxResults"] = ["${maxResults}"]; - } - if (orderBy != null) { - _queryParams["orderBy"] = [orderBy]; - } - if (pageToken != null) { - _queryParams["pageToken"] = [pageToken]; - } - - - _url = 'activities/' + common_internal.Escaper.ecapeVariable('$activityId') + '/comments'; - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommentList.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class CommunitiesResourceApi { - final common_internal.ApiRequester _requester; - - CommunitiesResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Retrieves the basic information (aka. profile) of a community. - * - * Request parameters: - * - * [communityId] - The ID of the community to get. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * Completes with a [Community]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<Community> get(core.int communityId, {core.String hl}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId'); - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new Community.fromJson(data)); - } - - /** - * Retrieves the list of communities the current user is a member of. - * - * Request parameters: - * - * [userId] - The ID of the user whose communities will be listed. Can be me - * to refer to caller. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * [maxResults] - The maximum number of communities to include in the - * response. - * - * [orderBy] - How to order the communities by. - * Possible string values are: - * - "id" : Returns the communities sorted by a fixed, natural order. - * - "ranked" : Returns the communities ranked accordingly to how they are - * displayed on the orkut web application. - * - * Completes with a [CommunityList]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityList> list(core.String userId, {core.String hl, core.int maxResults, core.String orderBy}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (userId == null) { - throw new core.ArgumentError("Parameter userId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - if (maxResults != null) { - _queryParams["maxResults"] = ["${maxResults}"]; - } - if (orderBy != null) { - _queryParams["orderBy"] = [orderBy]; - } - - - _url = 'people/' + common_internal.Escaper.ecapeVariable('$userId') + '/communities'; - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityList.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class CommunityFollowResourceApi { - final common_internal.ApiRequester _requester; - - CommunityFollowResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Removes a user from the followers of a community. - * - * Request parameters: - * - * [communityId] - ID of the community. - * - * [userId] - ID of the user. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future delete(core.int communityId, core.String userId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (userId == null) { - throw new core.ArgumentError("Parameter userId is required."); - } - - _downloadOptions = null; - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/followers/' + common_internal.Escaper.ecapeVariable('$userId'); - - var _response = _requester.request(_url, - "DELETE", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => null); - } - - /** - * Adds a user as a follower of a community. - * - * Request parameters: - * - * [communityId] - ID of the community. - * - * [userId] - ID of the user. - * - * Completes with a [CommunityMembers]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityMembers> insert(core.int communityId, core.String userId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (userId == null) { - throw new core.ArgumentError("Parameter userId is required."); - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/followers/' + common_internal.Escaper.ecapeVariable('$userId'); - - var _response = _requester.request(_url, - "POST", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityMembers.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class CommunityMembersResourceApi { - final common_internal.ApiRequester _requester; - - CommunityMembersResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Makes the user leave a community. - * - * Request parameters: - * - * [communityId] - ID of the community. - * - * [userId] - ID of the user. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future delete(core.int communityId, core.String userId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (userId == null) { - throw new core.ArgumentError("Parameter userId is required."); - } - - _downloadOptions = null; - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/members/' + common_internal.Escaper.ecapeVariable('$userId'); - - var _response = _requester.request(_url, - "DELETE", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => null); - } - - /** - * Retrieves the relationship between a user and a community. - * - * Request parameters: - * - * [communityId] - ID of the community. - * - * [userId] - ID of the user. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * Completes with a [CommunityMembers]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityMembers> get(core.int communityId, core.String userId, {core.String hl}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (userId == null) { - throw new core.ArgumentError("Parameter userId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/members/' + common_internal.Escaper.ecapeVariable('$userId'); - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityMembers.fromJson(data)); - } - - /** - * Makes the user join a community. - * - * Request parameters: - * - * [communityId] - ID of the community. - * - * [userId] - ID of the user. - * - * Completes with a [CommunityMembers]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityMembers> insert(core.int communityId, core.String userId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (userId == null) { - throw new core.ArgumentError("Parameter userId is required."); - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/members/' + common_internal.Escaper.ecapeVariable('$userId'); - - var _response = _requester.request(_url, - "POST", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityMembers.fromJson(data)); - } - - /** - * Lists members of a community. Use the pagination tokens to retrieve the - * full list; do not rely on the member count available in the community - * profile information to know when to stop iterating, as that count may be - * approximate. - * - * Request parameters: - * - * [communityId] - The ID of the community whose members will be listed. - * - * [friendsOnly] - Whether to list only community members who are friends of - * the user. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * [maxResults] - The maximum number of members to include in the response. - * - * [pageToken] - A continuation token that allows pagination. - * - * Completes with a [CommunityMembersList]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityMembersList> list(core.int communityId, {core.bool friendsOnly, core.String hl, core.int maxResults, core.String pageToken}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (friendsOnly != null) { - _queryParams["friendsOnly"] = ["${friendsOnly}"]; - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - if (maxResults != null) { - _queryParams["maxResults"] = ["${maxResults}"]; - } - if (pageToken != null) { - _queryParams["pageToken"] = [pageToken]; - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/members'; - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityMembersList.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class CommunityMessagesResourceApi { - final common_internal.ApiRequester _requester; - - CommunityMessagesResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Moves a message of the community to the trash folder. - * - * Request parameters: - * - * [communityId] - The ID of the community whose message will be moved to the - * trash folder. - * - * [topicId] - The ID of the topic whose message will be moved to the trash - * folder. - * - * [messageId] - The ID of the message to be moved to the trash folder. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future delete(core.int communityId, core.String topicId, core.String messageId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (topicId == null) { - throw new core.ArgumentError("Parameter topicId is required."); - } - if (messageId == null) { - throw new core.ArgumentError("Parameter messageId is required."); - } - - _downloadOptions = null; - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/topics/' + common_internal.Escaper.ecapeVariable('$topicId') + '/messages/' + common_internal.Escaper.ecapeVariable('$messageId'); - - var _response = _requester.request(_url, - "DELETE", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => null); - } - - /** - * Adds a message to a given community topic. - * - * [request] - The metadata request object. - * - * Request parameters: - * - * [communityId] - The ID of the community the message should be added to. - * - * [topicId] - The ID of the topic the message should be added to. - * - * Completes with a [CommunityMessage]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityMessage> insert(CommunityMessage request, core.int communityId, core.String topicId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (request != null) { - _body = convert.JSON.encode((request).toJson()); - } - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (topicId == null) { - throw new core.ArgumentError("Parameter topicId is required."); - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/topics/' + common_internal.Escaper.ecapeVariable('$topicId') + '/messages'; - - var _response = _requester.request(_url, - "POST", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityMessage.fromJson(data)); - } - - /** - * Retrieves the messages of a topic of a community. - * - * Request parameters: - * - * [communityId] - The ID of the community which messages will be listed. - * - * [topicId] - The ID of the topic which messages will be listed. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * [maxResults] - The maximum number of messages to include in the response. - * Value must be between "1" and "100". - * - * [pageToken] - A continuation token that allows pagination. - * - * Completes with a [CommunityMessageList]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityMessageList> list(core.int communityId, core.String topicId, {core.String hl, core.int maxResults, core.String pageToken}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (topicId == null) { - throw new core.ArgumentError("Parameter topicId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - if (maxResults != null) { - _queryParams["maxResults"] = ["${maxResults}"]; - } - if (pageToken != null) { - _queryParams["pageToken"] = [pageToken]; - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/topics/' + common_internal.Escaper.ecapeVariable('$topicId') + '/messages'; - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityMessageList.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class CommunityPollCommentsResourceApi { - final common_internal.ApiRequester _requester; - - CommunityPollCommentsResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Adds a comment on a community poll. - * - * [request] - The metadata request object. - * - * Request parameters: - * - * [communityId] - The ID of the community whose poll is being commented. - * - * [pollId] - The ID of the poll being commented. - * - * Completes with a [CommunityPollComment]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityPollComment> insert(CommunityPollComment request, core.int communityId, core.String pollId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (request != null) { - _body = convert.JSON.encode((request).toJson()); - } - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (pollId == null) { - throw new core.ArgumentError("Parameter pollId is required."); - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/polls/' + common_internal.Escaper.ecapeVariable('$pollId') + '/comments'; - - var _response = _requester.request(_url, - "POST", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityPollComment.fromJson(data)); - } - - /** - * Retrieves the comments of a community poll. - * - * Request parameters: - * - * [communityId] - The ID of the community whose poll is having its comments - * listed. - * - * [pollId] - The ID of the community whose polls will be listed. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * [maxResults] - The maximum number of comments to include in the response. - * - * [pageToken] - A continuation token that allows pagination. - * - * Completes with a [CommunityPollCommentList]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityPollCommentList> list(core.int communityId, core.String pollId, {core.String hl, core.int maxResults, core.String pageToken}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (pollId == null) { - throw new core.ArgumentError("Parameter pollId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - if (maxResults != null) { - _queryParams["maxResults"] = ["${maxResults}"]; - } - if (pageToken != null) { - _queryParams["pageToken"] = [pageToken]; - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/polls/' + common_internal.Escaper.ecapeVariable('$pollId') + '/comments'; - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityPollCommentList.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class CommunityPollVotesResourceApi { - final common_internal.ApiRequester _requester; - - CommunityPollVotesResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Votes on a community poll. - * - * [request] - The metadata request object. - * - * Request parameters: - * - * [communityId] - The ID of the community whose poll is being voted. - * - * [pollId] - The ID of the poll being voted. - * - * Completes with a [CommunityPollVote]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityPollVote> insert(CommunityPollVote request, core.int communityId, core.String pollId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (request != null) { - _body = convert.JSON.encode((request).toJson()); - } - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (pollId == null) { - throw new core.ArgumentError("Parameter pollId is required."); - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/polls/' + common_internal.Escaper.ecapeVariable('$pollId') + '/votes'; - - var _response = _requester.request(_url, - "POST", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityPollVote.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class CommunityPollsResourceApi { - final common_internal.ApiRequester _requester; - - CommunityPollsResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Retrieves one specific poll of a community. - * - * Request parameters: - * - * [communityId] - The ID of the community for whose poll will be retrieved. - * - * [pollId] - The ID of the poll to get. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * Completes with a [CommunityPoll]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityPoll> get(core.int communityId, core.String pollId, {core.String hl}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (pollId == null) { - throw new core.ArgumentError("Parameter pollId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/polls/' + common_internal.Escaper.ecapeVariable('$pollId'); - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityPoll.fromJson(data)); - } - - /** - * Retrieves the polls of a community. - * - * Request parameters: - * - * [communityId] - The ID of the community which polls will be listed. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * [maxResults] - The maximum number of polls to include in the response. - * - * [pageToken] - A continuation token that allows pagination. - * - * Completes with a [CommunityPollList]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityPollList> list(core.int communityId, {core.String hl, core.int maxResults, core.String pageToken}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - if (maxResults != null) { - _queryParams["maxResults"] = ["${maxResults}"]; - } - if (pageToken != null) { - _queryParams["pageToken"] = [pageToken]; - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/polls'; - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityPollList.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class CommunityRelatedResourceApi { - final common_internal.ApiRequester _requester; - - CommunityRelatedResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Retrieves the communities related to another one. - * - * Request parameters: - * - * [communityId] - The ID of the community whose related communities will be - * listed. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * Completes with a [CommunityList]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityList> list(core.int communityId, {core.String hl}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/related'; - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityList.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class CommunityTopicsResourceApi { - final common_internal.ApiRequester _requester; - - CommunityTopicsResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Moves a topic of the community to the trash folder. - * - * Request parameters: - * - * [communityId] - The ID of the community whose topic will be moved to the - * trash folder. - * - * [topicId] - The ID of the topic to be moved to the trash folder. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future delete(core.int communityId, core.String topicId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (topicId == null) { - throw new core.ArgumentError("Parameter topicId is required."); - } - - _downloadOptions = null; - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/topics/' + common_internal.Escaper.ecapeVariable('$topicId'); - - var _response = _requester.request(_url, - "DELETE", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => null); - } - - /** - * Retrieves a topic of a community. - * - * Request parameters: - * - * [communityId] - The ID of the community whose topic will be retrieved. - * - * [topicId] - The ID of the topic to get. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * Completes with a [CommunityTopic]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityTopic> get(core.int communityId, core.String topicId, {core.String hl}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (topicId == null) { - throw new core.ArgumentError("Parameter topicId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/topics/' + common_internal.Escaper.ecapeVariable('$topicId'); - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityTopic.fromJson(data)); - } - - /** - * Adds a topic to a given community. - * - * [request] - The metadata request object. - * - * Request parameters: - * - * [communityId] - The ID of the community the topic should be added to. - * - * [isShout] - Whether this topic is a shout. - * - * Completes with a [CommunityTopic]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityTopic> insert(CommunityTopic request, core.int communityId, {core.bool isShout}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (request != null) { - _body = convert.JSON.encode((request).toJson()); - } - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (isShout != null) { - _queryParams["isShout"] = ["${isShout}"]; - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/topics'; - - var _response = _requester.request(_url, - "POST", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityTopic.fromJson(data)); - } - - /** - * Retrieves the topics of a community. - * - * Request parameters: - * - * [communityId] - The ID of the community which topics will be listed. - * - * [hl] - Specifies the interface language (host language) of your user - * interface. - * - * [maxResults] - The maximum number of topics to include in the response. - * Value must be between "1" and "100". - * - * [pageToken] - A continuation token that allows pagination. - * - * Completes with a [CommunityTopicList]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<CommunityTopicList> list(core.int communityId, {core.String hl, core.int maxResults, core.String pageToken}) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (communityId == null) { - throw new core.ArgumentError("Parameter communityId is required."); - } - if (hl != null) { - _queryParams["hl"] = [hl]; - } - if (maxResults != null) { - _queryParams["maxResults"] = ["${maxResults}"]; - } - if (pageToken != null) { - _queryParams["pageToken"] = [pageToken]; - } - - - _url = 'communities/' + common_internal.Escaper.ecapeVariable('$communityId') + '/topics'; - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new CommunityTopicList.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class CountersResourceApi { - final common_internal.ApiRequester _requester; - - CountersResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Retrieves the counters of a user. - * - * Request parameters: - * - * [userId] - The ID of the user whose counters will be listed. Can be me to - * refer to caller. - * - * Completes with a [Counters]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<Counters> list(core.String userId) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (userId == null) { - throw new core.ArgumentError("Parameter userId is required."); - } - - - _url = 'people/' + common_internal.Escaper.ecapeVariable('$userId') + '/counters'; - - var _response = _requester.request(_url, - "GET", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new Counters.fromJson(data)); - } - -} - - -/** Not documented yet. */ -class ScrapsResourceApi { - final common_internal.ApiRequester _requester; - - ScrapsResourceApi(common_internal.ApiRequester client) : - _requester = client; - - /** - * Creates a new scrap. - * - * [request] - The metadata request object. - * - * Request parameters: - * - * Completes with a [Activity]. - * - * Completes with a [common.ApiRequestError] if the API endpoint returned an - * error. - * - * If the used [http.Client] completes with an error when making a REST call, - * this method will complete with the same error. - */ - async.Future<Activity> insert(Activity request) { - var _url = null; - var _queryParams = new core.Map(); - var _uploadMedia = null; - var _uploadOptions = null; - var _downloadOptions = common.DownloadOptions.Metadata; - var _body = null; - - if (request != null) { - _body = convert.JSON.encode((request).toJson()); - } - - - _url = 'activities/scraps'; - - var _response = _requester.request(_url, - "POST", - body: _body, - queryParams: _queryParams, - uploadOptions: _uploadOptions, - uploadMedia: _uploadMedia, - downloadOptions: _downloadOptions); - return _response.then((data) => new Activity.fromJson(data)); - } - -} - - - -/** Not documented yet. */ -class AclItems { - /** - * The ID of the entity. For entities of type "person" or "circle", this is - * the ID of the resource. For other types, this will be unset. - */ - core.String id; - - /** The type of entity to whom access is granted. */ - core.String type; - - - AclItems(); - - AclItems.fromJson(core.Map _json) { - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("type")) { - type = _json["type"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (id != null) { - _json["id"] = id; - } - if (type != null) { - _json["type"] = type; - } - return _json; - } -} - - -/** Not documented yet. */ -class Acl { - /** Human readable description of the access granted. */ - core.String description; - - /** The list of ACL entries. */ - core.List<AclItems> items; - - /** Identifies this resource as an access control list. Value: "orkut#acl" */ - core.String kind; - - /** The total count of participants of the parent resource. */ - core.int totalParticipants; - - - Acl(); - - Acl.fromJson(core.Map _json) { - if (_json.containsKey("description")) { - description = _json["description"]; - } - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new AclItems.fromJson(value)).toList(); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("totalParticipants")) { - totalParticipants = _json["totalParticipants"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (description != null) { - _json["description"] = description; - } - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (kind != null) { - _json["kind"] = kind; - } - if (totalParticipants != null) { - _json["totalParticipants"] = totalParticipants; - } - return _json; - } -} - - -/** Comments in reply to this activity. */ -class ActivityObjectReplies { - /** The list of comments. */ - core.List<Comment> items; - - /** Total number of comments. */ - core.String totalItems; - - /** URL for the collection of comments in reply to this activity. */ - core.String url; - - - ActivityObjectReplies(); - - ActivityObjectReplies.fromJson(core.Map _json) { - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new Comment.fromJson(value)).toList(); - } - if (_json.containsKey("totalItems")) { - totalItems = _json["totalItems"]; - } - if (_json.containsKey("url")) { - url = _json["url"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (totalItems != null) { - _json["totalItems"] = totalItems; - } - if (url != null) { - _json["url"] = url; - } - return _json; - } -} - - -/** The activity's object. */ -class ActivityObject { - /** - * The HTML-formatted content, suitable for display. When updating an - * activity's content, post the changes to this property, using the value of - * originalContent as a starting point. If the update is successful, the - * server adds HTML formatting and responds with this formatted content. - */ - core.String content; - - /** The list of additional items. */ - core.List<OrkutActivityobjectsResource> items; - - /** - * The type of the object affected by the activity. Clients can use this - * information to style the rendered activity object differently depending on - * the content. - */ - core.String objectType; - - /** Comments in reply to this activity. */ - ActivityObjectReplies replies; - - - ActivityObject(); - - ActivityObject.fromJson(core.Map _json) { - if (_json.containsKey("content")) { - content = _json["content"]; - } - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new OrkutActivityobjectsResource.fromJson(value)).toList(); - } - if (_json.containsKey("objectType")) { - objectType = _json["objectType"]; - } - if (_json.containsKey("replies")) { - replies = new ActivityObjectReplies.fromJson(_json["replies"]); - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (content != null) { - _json["content"] = content; - } - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (objectType != null) { - _json["objectType"] = objectType; - } - if (replies != null) { - _json["replies"] = (replies).toJson(); - } - return _json; - } -} - - -/** Not documented yet. */ -class Activity { - /** Identifies who has access to see this activity. */ - Acl access; - - /** The person who performed the activity. */ - OrkutAuthorResource actor; - - /** The ID for the activity. */ - core.String id; - - /** The kind of activity. Always orkut#activity. */ - core.String kind; - - /** Links to resources related to this activity. */ - core.List<OrkutLinkResource> links; - - /** The activity's object. */ - ActivityObject object; - - /** The time at which the activity was initially published. */ - core.DateTime published; - - /** Title of the activity. */ - core.String title; - - /** The time at which the activity was last updated. */ - core.DateTime updated; - - /** - * This activity's verb, indicating what action was performed. Possible values - * are: - * - add - User added new content to profile or album, e.g. video, photo. - * - post - User publish content to the stream, e.g. status, scrap. - * - update - User commented on an activity. - * - make-friend - User added a new friend. - * - birthday - User has a birthday. - */ - core.String verb; - - - Activity(); - - Activity.fromJson(core.Map _json) { - if (_json.containsKey("access")) { - access = new Acl.fromJson(_json["access"]); - } - if (_json.containsKey("actor")) { - actor = new OrkutAuthorResource.fromJson(_json["actor"]); - } - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("links")) { - links = _json["links"].map((value) => new OrkutLinkResource.fromJson(value)).toList(); - } - if (_json.containsKey("object")) { - object = new ActivityObject.fromJson(_json["object"]); - } - if (_json.containsKey("published")) { - published = core.DateTime.parse(_json["published"]); - } - if (_json.containsKey("title")) { - title = _json["title"]; - } - if (_json.containsKey("updated")) { - updated = core.DateTime.parse(_json["updated"]); - } - if (_json.containsKey("verb")) { - verb = _json["verb"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (access != null) { - _json["access"] = (access).toJson(); - } - if (actor != null) { - _json["actor"] = (actor).toJson(); - } - if (id != null) { - _json["id"] = id; - } - if (kind != null) { - _json["kind"] = kind; - } - if (links != null) { - _json["links"] = links.map((value) => (value).toJson()).toList(); - } - if (object != null) { - _json["object"] = (object).toJson(); - } - if (published != null) { - _json["published"] = (published).toIso8601String(); - } - if (title != null) { - _json["title"] = title; - } - if (updated != null) { - _json["updated"] = (updated).toIso8601String(); - } - if (verb != null) { - _json["verb"] = verb; - } - return _json; - } -} - - -/** Not documented yet. */ -class ActivityList { - /** List of activities retrieved. */ - core.List<Activity> items; - - /** - * Identifies this resource as a collection of activities. Value: - * "orkut#activityList" - */ - core.String kind; - - /** - * The value of pageToken query parameter in activities.list request to get - * the next page, if there are more to retrieve. - */ - core.String nextPageToken; - - - ActivityList(); - - ActivityList.fromJson(core.Map _json) { - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new Activity.fromJson(value)).toList(); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("nextPageToken")) { - nextPageToken = _json["nextPageToken"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (kind != null) { - _json["kind"] = kind; - } - if (nextPageToken != null) { - _json["nextPageToken"] = nextPageToken; - } - return _json; - } -} - - -/** Not documented yet. */ -class Badge { - /** The URL for the 64x64 badge logo. */ - core.String badgeLargeLogo; - - /** The URL for the 24x24 badge logo. */ - core.String badgeSmallLogo; - - /** The name of the badge, suitable for display. */ - core.String caption; - - /** The description for the badge, suitable for display. */ - core.String description; - - /** The unique ID for the badge. */ - core.String id; - - /** Identifies this resource as a badge. Value: "orkut#badge" */ - core.String kind; - - /** The URL for the 32x32 badge sponsor logo. */ - core.String sponsorLogo; - - /** The name of the badge sponsor, suitable for display. */ - core.String sponsorName; - - /** The URL for the badge sponsor. */ - core.String sponsorUrl; - - - Badge(); - - Badge.fromJson(core.Map _json) { - if (_json.containsKey("badgeLargeLogo")) { - badgeLargeLogo = _json["badgeLargeLogo"]; - } - if (_json.containsKey("badgeSmallLogo")) { - badgeSmallLogo = _json["badgeSmallLogo"]; - } - if (_json.containsKey("caption")) { - caption = _json["caption"]; - } - if (_json.containsKey("description")) { - description = _json["description"]; - } - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("sponsorLogo")) { - sponsorLogo = _json["sponsorLogo"]; - } - if (_json.containsKey("sponsorName")) { - sponsorName = _json["sponsorName"]; - } - if (_json.containsKey("sponsorUrl")) { - sponsorUrl = _json["sponsorUrl"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (badgeLargeLogo != null) { - _json["badgeLargeLogo"] = badgeLargeLogo; - } - if (badgeSmallLogo != null) { - _json["badgeSmallLogo"] = badgeSmallLogo; - } - if (caption != null) { - _json["caption"] = caption; - } - if (description != null) { - _json["description"] = description; - } - if (id != null) { - _json["id"] = id; - } - if (kind != null) { - _json["kind"] = kind; - } - if (sponsorLogo != null) { - _json["sponsorLogo"] = sponsorLogo; - } - if (sponsorName != null) { - _json["sponsorName"] = sponsorName; - } - if (sponsorUrl != null) { - _json["sponsorUrl"] = sponsorUrl; - } - return _json; - } -} - - -/** Not documented yet. */ -class BadgeList { - /** List of badges retrieved. */ - core.List<Badge> items; - - /** - * Identifies this resource as a collection of badges. Value: - * "orkut#badgeList" - */ - core.String kind; - - - BadgeList(); - - BadgeList.fromJson(core.Map _json) { - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new Badge.fromJson(value)).toList(); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (kind != null) { - _json["kind"] = kind; - } - return _json; - } -} - - -/** Link to the original activity where this comment was posted. */ -class CommentInReplyTo { - /** Link to the post on activity stream being commented. */ - core.String href; - - /** Unique identifier of the post on activity stream being commented. */ - core.String ref; - - /** - * Relationship between the comment and the post on activity stream being - * commented. Always inReplyTo. - */ - core.String rel; - - /** Type of the post on activity stream being commented. Always text/html. */ - core.String type; - - - CommentInReplyTo(); - - CommentInReplyTo.fromJson(core.Map _json) { - if (_json.containsKey("href")) { - href = _json["href"]; - } - if (_json.containsKey("ref")) { - ref = _json["ref"]; - } - if (_json.containsKey("rel")) { - rel = _json["rel"]; - } - if (_json.containsKey("type")) { - type = _json["type"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (href != null) { - _json["href"] = href; - } - if (ref != null) { - _json["ref"] = ref; - } - if (rel != null) { - _json["rel"] = rel; - } - if (type != null) { - _json["type"] = type; - } - return _json; - } -} - - -/** Not documented yet. */ -class Comment { - /** The person who posted the comment. */ - OrkutAuthorResource actor; - - /** The content of the comment in text/html */ - core.String content; - - /** The unique ID for the comment. */ - core.String id; - - /** Link to the original activity where this comment was posted. */ - CommentInReplyTo inReplyTo; - - /** Identifies this resource as a comment. Value: "orkut#comment" */ - core.String kind; - - /** List of resources for the comment. */ - core.List<OrkutLinkResource> links; - - /** The time the comment was initially published, in RFC 3339 format. */ - core.DateTime published; - - - Comment(); - - Comment.fromJson(core.Map _json) { - if (_json.containsKey("actor")) { - actor = new OrkutAuthorResource.fromJson(_json["actor"]); - } - if (_json.containsKey("content")) { - content = _json["content"]; - } - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("inReplyTo")) { - inReplyTo = new CommentInReplyTo.fromJson(_json["inReplyTo"]); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("links")) { - links = _json["links"].map((value) => new OrkutLinkResource.fromJson(value)).toList(); - } - if (_json.containsKey("published")) { - published = core.DateTime.parse(_json["published"]); - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (actor != null) { - _json["actor"] = (actor).toJson(); - } - if (content != null) { - _json["content"] = content; - } - if (id != null) { - _json["id"] = id; - } - if (inReplyTo != null) { - _json["inReplyTo"] = (inReplyTo).toJson(); - } - if (kind != null) { - _json["kind"] = kind; - } - if (links != null) { - _json["links"] = links.map((value) => (value).toJson()).toList(); - } - if (published != null) { - _json["published"] = (published).toIso8601String(); - } - return _json; - } -} - - -/** Not documented yet. */ -class CommentList { - /** List of comments retrieved. */ - core.List<Comment> items; - - /** - * Identifies this resource as a collection of comments. Value: - * "orkut#commentList" - */ - core.String kind; - - /** - * The value of pageToken query parameter in comments.list request to get the - * next page, if there are more to retrieve. - */ - core.String nextPageToken; - - /** - * The value of pageToken query parameter in comments.list request to get the - * previous page, if there are more to retrieve. - */ - core.String previousPageToken; - - - CommentList(); - - CommentList.fromJson(core.Map _json) { - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new Comment.fromJson(value)).toList(); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("nextPageToken")) { - nextPageToken = _json["nextPageToken"]; - } - if (_json.containsKey("previousPageToken")) { - previousPageToken = _json["previousPageToken"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (kind != null) { - _json["kind"] = kind; - } - if (nextPageToken != null) { - _json["nextPageToken"] = nextPageToken; - } - if (previousPageToken != null) { - _json["previousPageToken"] = previousPageToken; - } - return _json; - } -} - - -/** Not documented yet. */ -class Community { - /** The category of the community. */ - core.String category; - - /** The co-owners of the community. */ - core.List<OrkutAuthorResource> coOwners; - - /** The time the community was created, in RFC 3339 format. */ - core.DateTime creationDate; - - /** The description of the community. */ - core.String description; - - /** The id of the community. */ - core.int id; - - /** Identifies this resource as a community. Value: "orkut#community" */ - core.String kind; - - /** The official language of the community. */ - core.String language; - - /** List of resources for the community. */ - core.List<OrkutLinkResource> links; - - /** The location of the community. */ - core.String location; - - /** - * The number of users who are part of the community. This number may be - * approximate, so do not rely on it for iteration. - */ - core.int memberCount; - - /** The list of moderators of the community. */ - core.List<OrkutAuthorResource> moderators; - - /** The name of the community. */ - core.String name; - - /** The person who owns the community. */ - OrkutAuthorResource owner; - - /** The photo of the community. */ - core.String photoUrl; - - - Community(); - - Community.fromJson(core.Map _json) { - if (_json.containsKey("category")) { - category = _json["category"]; - } - if (_json.containsKey("co_owners")) { - coOwners = _json["co_owners"].map((value) => new OrkutAuthorResource.fromJson(value)).toList(); - } - if (_json.containsKey("creation_date")) { - creationDate = core.DateTime.parse(_json["creation_date"]); - } - if (_json.containsKey("description")) { - description = _json["description"]; - } - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("language")) { - language = _json["language"]; - } - if (_json.containsKey("links")) { - links = _json["links"].map((value) => new OrkutLinkResource.fromJson(value)).toList(); - } - if (_json.containsKey("location")) { - location = _json["location"]; - } - if (_json.containsKey("member_count")) { - memberCount = _json["member_count"]; - } - if (_json.containsKey("moderators")) { - moderators = _json["moderators"].map((value) => new OrkutAuthorResource.fromJson(value)).toList(); - } - if (_json.containsKey("name")) { - name = _json["name"]; - } - if (_json.containsKey("owner")) { - owner = new OrkutAuthorResource.fromJson(_json["owner"]); - } - if (_json.containsKey("photo_url")) { - photoUrl = _json["photo_url"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (category != null) { - _json["category"] = category; - } - if (coOwners != null) { - _json["co_owners"] = coOwners.map((value) => (value).toJson()).toList(); - } - if (creationDate != null) { - _json["creation_date"] = (creationDate).toIso8601String(); - } - if (description != null) { - _json["description"] = description; - } - if (id != null) { - _json["id"] = id; - } - if (kind != null) { - _json["kind"] = kind; - } - if (language != null) { - _json["language"] = language; - } - if (links != null) { - _json["links"] = links.map((value) => (value).toJson()).toList(); - } - if (location != null) { - _json["location"] = location; - } - if (memberCount != null) { - _json["member_count"] = memberCount; - } - if (moderators != null) { - _json["moderators"] = moderators.map((value) => (value).toJson()).toList(); - } - if (name != null) { - _json["name"] = name; - } - if (owner != null) { - _json["owner"] = (owner).toJson(); - } - if (photoUrl != null) { - _json["photo_url"] = photoUrl; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityList { - /** List of communities retrieved. */ - core.List<Community> items; - - /** - * Identifies this resource as a collection of communities. Value: - * "orkut#communityList" - */ - core.String kind; - - - CommunityList(); - - CommunityList.fromJson(core.Map _json) { - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new Community.fromJson(value)).toList(); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (kind != null) { - _json["kind"] = kind; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityMembers { - /** Status and permissions of the user related to the community. */ - CommunityMembershipStatus communityMembershipStatus; - - /** Kind of this item. Always orkut#communityMembers. */ - core.String kind; - - /** Description of the community member. */ - OrkutActivitypersonResource person; - - - CommunityMembers(); - - CommunityMembers.fromJson(core.Map _json) { - if (_json.containsKey("communityMembershipStatus")) { - communityMembershipStatus = new CommunityMembershipStatus.fromJson(_json["communityMembershipStatus"]); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("person")) { - person = new OrkutActivitypersonResource.fromJson(_json["person"]); - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (communityMembershipStatus != null) { - _json["communityMembershipStatus"] = (communityMembershipStatus).toJson(); - } - if (kind != null) { - _json["kind"] = kind; - } - if (person != null) { - _json["person"] = (person).toJson(); - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityMembersList { - /** - * The value of pageToken query parameter in community_members.list request to - * get the first page. - */ - core.String firstPageToken; - - /** List of community members retrieved. */ - core.List<CommunityMembers> items; - - /** Kind of this item. Always orkut#communityMembersList. */ - core.String kind; - - /** - * The value of pageToken query parameter in community_members.list request to - * get the last page. - */ - core.String lastPageToken; - - /** - * The value of pageToken query parameter in community_members.list request to - * get the next page, if there are more to retrieve. - */ - core.String nextPageToken; - - /** - * The value of pageToken query parameter in community_members.list request to - * get the previous page, if there are more to retrieve. - */ - core.String prevPageToken; - - - CommunityMembersList(); - - CommunityMembersList.fromJson(core.Map _json) { - if (_json.containsKey("firstPageToken")) { - firstPageToken = _json["firstPageToken"]; - } - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new CommunityMembers.fromJson(value)).toList(); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("lastPageToken")) { - lastPageToken = _json["lastPageToken"]; - } - if (_json.containsKey("nextPageToken")) { - nextPageToken = _json["nextPageToken"]; - } - if (_json.containsKey("prevPageToken")) { - prevPageToken = _json["prevPageToken"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (firstPageToken != null) { - _json["firstPageToken"] = firstPageToken; - } - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (kind != null) { - _json["kind"] = kind; - } - if (lastPageToken != null) { - _json["lastPageToken"] = lastPageToken; - } - if (nextPageToken != null) { - _json["nextPageToken"] = nextPageToken; - } - if (prevPageToken != null) { - _json["prevPageToken"] = prevPageToken; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityMembershipStatus { - /** Whether the user can create a poll in this community. */ - core.bool canCreatePoll; - - /** Whether the user can create a topic in this community. */ - core.bool canCreateTopic; - - /** Whether the user can perform a shout operation in this community. */ - core.bool canShout; - - /** Whether the session user is a community co-owner. */ - core.bool isCoOwner; - - /** Whether the user is following this community. */ - core.bool isFollowing; - - /** Whether the session user is a community moderator. */ - core.bool isModerator; - - /** Whether the session user is the community owner. */ - core.bool isOwner; - - /** Whether the restore operation is available for the community. */ - core.bool isRestoreAvailable; - - /** Whether the take-back operation is available for the community. */ - core.bool isTakebackAvailable; - - /** Kind of this item. Always orkut#communityMembershipStatus. */ - core.String kind; - - /** The status of the current link between the community and the user. */ - core.String status; - - - CommunityMembershipStatus(); - - CommunityMembershipStatus.fromJson(core.Map _json) { - if (_json.containsKey("canCreatePoll")) { - canCreatePoll = _json["canCreatePoll"]; - } - if (_json.containsKey("canCreateTopic")) { - canCreateTopic = _json["canCreateTopic"]; - } - if (_json.containsKey("canShout")) { - canShout = _json["canShout"]; - } - if (_json.containsKey("isCoOwner")) { - isCoOwner = _json["isCoOwner"]; - } - if (_json.containsKey("isFollowing")) { - isFollowing = _json["isFollowing"]; - } - if (_json.containsKey("isModerator")) { - isModerator = _json["isModerator"]; - } - if (_json.containsKey("isOwner")) { - isOwner = _json["isOwner"]; - } - if (_json.containsKey("isRestoreAvailable")) { - isRestoreAvailable = _json["isRestoreAvailable"]; - } - if (_json.containsKey("isTakebackAvailable")) { - isTakebackAvailable = _json["isTakebackAvailable"]; - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("status")) { - status = _json["status"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (canCreatePoll != null) { - _json["canCreatePoll"] = canCreatePoll; - } - if (canCreateTopic != null) { - _json["canCreateTopic"] = canCreateTopic; - } - if (canShout != null) { - _json["canShout"] = canShout; - } - if (isCoOwner != null) { - _json["isCoOwner"] = isCoOwner; - } - if (isFollowing != null) { - _json["isFollowing"] = isFollowing; - } - if (isModerator != null) { - _json["isModerator"] = isModerator; - } - if (isOwner != null) { - _json["isOwner"] = isOwner; - } - if (isRestoreAvailable != null) { - _json["isRestoreAvailable"] = isRestoreAvailable; - } - if (isTakebackAvailable != null) { - _json["isTakebackAvailable"] = isTakebackAvailable; - } - if (kind != null) { - _json["kind"] = kind; - } - if (status != null) { - _json["status"] = status; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityMessage { - /** - * The timestamp of the date when the message was added, in RFC 3339 format. - */ - core.DateTime addedDate; - - /** The creator of the message. If ommited, the message is annonimous. */ - OrkutAuthorResource author; - - /** The body of the message. */ - core.String body; - - /** The ID of the message. */ - core.String id; - - /** - * Whether this post was marked as spam by the viewer, when he/she is not the - * community owner or one of its moderators. - */ - core.bool isSpam; - - /** - * Identifies this resource as a community message. Value: - * "orkut#communityMessage" - */ - core.String kind; - - /** List of resources for the community message. */ - core.List<OrkutLinkResource> links; - - /** The subject of the message. */ - core.String subject; - - - CommunityMessage(); - - CommunityMessage.fromJson(core.Map _json) { - if (_json.containsKey("addedDate")) { - addedDate = core.DateTime.parse(_json["addedDate"]); - } - if (_json.containsKey("author")) { - author = new OrkutAuthorResource.fromJson(_json["author"]); - } - if (_json.containsKey("body")) { - body = _json["body"]; - } - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("isSpam")) { - isSpam = _json["isSpam"]; - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("links")) { - links = _json["links"].map((value) => new OrkutLinkResource.fromJson(value)).toList(); - } - if (_json.containsKey("subject")) { - subject = _json["subject"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (addedDate != null) { - _json["addedDate"] = (addedDate).toIso8601String(); - } - if (author != null) { - _json["author"] = (author).toJson(); - } - if (body != null) { - _json["body"] = body; - } - if (id != null) { - _json["id"] = id; - } - if (isSpam != null) { - _json["isSpam"] = isSpam; - } - if (kind != null) { - _json["kind"] = kind; - } - if (links != null) { - _json["links"] = links.map((value) => (value).toJson()).toList(); - } - if (subject != null) { - _json["subject"] = subject; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityMessageList { - /** - * The value of pageToken query parameter in community_messages.list request - * to get the first page. - */ - core.String firstPageToken; - - /** List of messages retrieved. */ - core.List<CommunityMessage> items; - - /** - * Identifies this resource as a collection of community messages. Value: - * "orkut#communityMessageList" - */ - core.String kind; - - /** - * The value of pageToken query parameter in community_messages.list request - * to get the last page. - */ - core.String lastPageToken; - - /** - * The value of pageToken query parameter in community_messages.list request - * to get the next page, if there are more to retrieve. - */ - core.String nextPageToken; - - /** - * The value of pageToken query parameter in community_messages.list request - * to get the previous page, if there are more to retrieve. - */ - core.String prevPageToken; - - - CommunityMessageList(); - - CommunityMessageList.fromJson(core.Map _json) { - if (_json.containsKey("firstPageToken")) { - firstPageToken = _json["firstPageToken"]; - } - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new CommunityMessage.fromJson(value)).toList(); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("lastPageToken")) { - lastPageToken = _json["lastPageToken"]; - } - if (_json.containsKey("nextPageToken")) { - nextPageToken = _json["nextPageToken"]; - } - if (_json.containsKey("prevPageToken")) { - prevPageToken = _json["prevPageToken"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (firstPageToken != null) { - _json["firstPageToken"] = firstPageToken; - } - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (kind != null) { - _json["kind"] = kind; - } - if (lastPageToken != null) { - _json["lastPageToken"] = lastPageToken; - } - if (nextPageToken != null) { - _json["nextPageToken"] = nextPageToken; - } - if (prevPageToken != null) { - _json["prevPageToken"] = prevPageToken; - } - return _json; - } -} - - -/** The image representing the poll. Field is omitted if no image exists. */ -class CommunityPollImage { - /** A URL that points to an image of the poll. */ - core.String url; - - - CommunityPollImage(); - - CommunityPollImage.fromJson(core.Map _json) { - if (_json.containsKey("url")) { - url = _json["url"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (url != null) { - _json["url"] = url; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityPoll { - /** The person who created the poll. */ - OrkutAuthorResource author; - - /** The ID of the community. */ - core.int communityId; - - /** The date of creation of this poll */ - core.DateTime creationTime; - - /** The poll description. */ - core.String description; - - /** The ending date of this poll or empty if the poll doesn't have one. */ - core.DateTime endingTime; - - /** Whether the user has voted on this poll. */ - core.bool hasVoted; - - /** The poll ID. */ - core.String id; - - /** The image representing the poll. Field is omitted if no image exists. */ - CommunityPollImage image; - - /** - * Whether the poll is not expired if there is an expiration date. A poll is - * open (that is, not closed for voting) if it either is not expired or - * doesn't have an expiration date at all. Note that just because a poll is - * open, it doesn't mean that the requester can vote on it. - */ - core.bool isClosed; - - /** Whether this poll allows voting for more than one option. */ - core.bool isMultipleAnswers; - - /** - * Whether this poll is still opened for voting. A poll is open for voting if - * it is not closed, the user has not yet voted on it and the user has the - * permission to do so, which happens if he/she is either a community member - * or the poll is open for everybody. - */ - core.bool isOpenForVoting; - - /** - * Whether this poll is restricted for members only. If a poll is open but the - * user can't vote on it, it's been restricted to members only. This - * information is important to tell this case apart from the one where the - * user can't vote simply because the poll is already closed. - */ - core.bool isRestricted; - - /** - * Whether the user has marked this poll as spam. This only affects the poll - * for this user, not globally. - */ - core.bool isSpam; - - /** If user has already voted, whether his vote is publicly visible. */ - core.bool isUsersVotePublic; - - /** Whether non-members of the community can vote on the poll. */ - core.bool isVotingAllowedForNonMembers; - - /** - * Identifies this resource as a community poll. Value: "orkut#communityPoll" - */ - core.String kind; - - /** The date of the last update of this poll. */ - core.DateTime lastUpdate; - - /** List of resources for the community poll. */ - core.List<OrkutLinkResource> links; - - /** List of options of this poll. */ - core.List<OrkutCommunitypolloptionResource> options; - - /** The poll question. */ - core.String question; - - /** The total number of votes this poll has received. */ - core.int totalNumberOfVotes; - - /** List of options the user has voted on, if there are any. */ - core.List<core.int> votedOptions; - - - CommunityPoll(); - - CommunityPoll.fromJson(core.Map _json) { - if (_json.containsKey("author")) { - author = new OrkutAuthorResource.fromJson(_json["author"]); - } - if (_json.containsKey("communityId")) { - communityId = _json["communityId"]; - } - if (_json.containsKey("creationTime")) { - creationTime = core.DateTime.parse(_json["creationTime"]); - } - if (_json.containsKey("description")) { - description = _json["description"]; - } - if (_json.containsKey("endingTime")) { - endingTime = core.DateTime.parse(_json["endingTime"]); - } - if (_json.containsKey("hasVoted")) { - hasVoted = _json["hasVoted"]; - } - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("image")) { - image = new CommunityPollImage.fromJson(_json["image"]); - } - if (_json.containsKey("isClosed")) { - isClosed = _json["isClosed"]; - } - if (_json.containsKey("isMultipleAnswers")) { - isMultipleAnswers = _json["isMultipleAnswers"]; - } - if (_json.containsKey("isOpenForVoting")) { - isOpenForVoting = _json["isOpenForVoting"]; - } - if (_json.containsKey("isRestricted")) { - isRestricted = _json["isRestricted"]; - } - if (_json.containsKey("isSpam")) { - isSpam = _json["isSpam"]; - } - if (_json.containsKey("isUsersVotePublic")) { - isUsersVotePublic = _json["isUsersVotePublic"]; - } - if (_json.containsKey("isVotingAllowedForNonMembers")) { - isVotingAllowedForNonMembers = _json["isVotingAllowedForNonMembers"]; - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("lastUpdate")) { - lastUpdate = core.DateTime.parse(_json["lastUpdate"]); - } - if (_json.containsKey("links")) { - links = _json["links"].map((value) => new OrkutLinkResource.fromJson(value)).toList(); - } - if (_json.containsKey("options")) { - options = _json["options"].map((value) => new OrkutCommunitypolloptionResource.fromJson(value)).toList(); - } - if (_json.containsKey("question")) { - question = _json["question"]; - } - if (_json.containsKey("totalNumberOfVotes")) { - totalNumberOfVotes = _json["totalNumberOfVotes"]; - } - if (_json.containsKey("votedOptions")) { - votedOptions = _json["votedOptions"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (author != null) { - _json["author"] = (author).toJson(); - } - if (communityId != null) { - _json["communityId"] = communityId; - } - if (creationTime != null) { - _json["creationTime"] = (creationTime).toIso8601String(); - } - if (description != null) { - _json["description"] = description; - } - if (endingTime != null) { - _json["endingTime"] = (endingTime).toIso8601String(); - } - if (hasVoted != null) { - _json["hasVoted"] = hasVoted; - } - if (id != null) { - _json["id"] = id; - } - if (image != null) { - _json["image"] = (image).toJson(); - } - if (isClosed != null) { - _json["isClosed"] = isClosed; - } - if (isMultipleAnswers != null) { - _json["isMultipleAnswers"] = isMultipleAnswers; - } - if (isOpenForVoting != null) { - _json["isOpenForVoting"] = isOpenForVoting; - } - if (isRestricted != null) { - _json["isRestricted"] = isRestricted; - } - if (isSpam != null) { - _json["isSpam"] = isSpam; - } - if (isUsersVotePublic != null) { - _json["isUsersVotePublic"] = isUsersVotePublic; - } - if (isVotingAllowedForNonMembers != null) { - _json["isVotingAllowedForNonMembers"] = isVotingAllowedForNonMembers; - } - if (kind != null) { - _json["kind"] = kind; - } - if (lastUpdate != null) { - _json["lastUpdate"] = (lastUpdate).toIso8601String(); - } - if (links != null) { - _json["links"] = links.map((value) => (value).toJson()).toList(); - } - if (options != null) { - _json["options"] = options.map((value) => (value).toJson()).toList(); - } - if (question != null) { - _json["question"] = question; - } - if (totalNumberOfVotes != null) { - _json["totalNumberOfVotes"] = totalNumberOfVotes; - } - if (votedOptions != null) { - _json["votedOptions"] = votedOptions; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityPollComment { - /** The date when the message was added, in RFC 3339 format. */ - core.DateTime addedDate; - - /** The creator of the comment. */ - OrkutAuthorResource author; - - /** The body of the message. */ - core.String body; - - /** The ID of the comment. */ - core.int id; - - /** - * Identifies this resource as a community poll comment. Value: - * "orkut#communityPollComment" - */ - core.String kind; - - - CommunityPollComment(); - - CommunityPollComment.fromJson(core.Map _json) { - if (_json.containsKey("addedDate")) { - addedDate = core.DateTime.parse(_json["addedDate"]); - } - if (_json.containsKey("author")) { - author = new OrkutAuthorResource.fromJson(_json["author"]); - } - if (_json.containsKey("body")) { - body = _json["body"]; - } - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (addedDate != null) { - _json["addedDate"] = (addedDate).toIso8601String(); - } - if (author != null) { - _json["author"] = (author).toJson(); - } - if (body != null) { - _json["body"] = body; - } - if (id != null) { - _json["id"] = id; - } - if (kind != null) { - _json["kind"] = kind; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityPollCommentList { - /** - * The value of pageToken query parameter in community_poll_comments.list - * request to get the first page. - */ - core.String firstPageToken; - - /** List of community poll comments retrieved. */ - core.List<CommunityPollComment> items; - - /** - * Identifies this resource as a collection of community poll comments. Value: - * "orkut#CommunityPollCommentList" - */ - core.String kind; - - /** - * The value of pageToken query parameter in community_poll_comments.list - * request to get the last page. - */ - core.String lastPageToken; - - /** - * The value of pageToken query parameter in community_poll_comments.list - * request to get the next page, if there are more to retrieve. - */ - core.String nextPageToken; - - /** - * The value of pageToken query parameter in community_poll_comments.list - * request to get the previous page, if there are more to retrieve. - */ - core.String prevPageToken; - - - CommunityPollCommentList(); - - CommunityPollCommentList.fromJson(core.Map _json) { - if (_json.containsKey("firstPageToken")) { - firstPageToken = _json["firstPageToken"]; - } - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new CommunityPollComment.fromJson(value)).toList(); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("lastPageToken")) { - lastPageToken = _json["lastPageToken"]; - } - if (_json.containsKey("nextPageToken")) { - nextPageToken = _json["nextPageToken"]; - } - if (_json.containsKey("prevPageToken")) { - prevPageToken = _json["prevPageToken"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (firstPageToken != null) { - _json["firstPageToken"] = firstPageToken; - } - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (kind != null) { - _json["kind"] = kind; - } - if (lastPageToken != null) { - _json["lastPageToken"] = lastPageToken; - } - if (nextPageToken != null) { - _json["nextPageToken"] = nextPageToken; - } - if (prevPageToken != null) { - _json["prevPageToken"] = prevPageToken; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityPollList { - /** - * The value of pageToken query parameter in community_polls.list request to - * get the first page. - */ - core.String firstPageToken; - - /** List of community polls retrieved. */ - core.List<CommunityPoll> items; - - /** - * Identifies this resource as a collection of community polls. Value: - * "orkut#communityPollList" - */ - core.String kind; - - /** - * The value of pageToken query parameter in community_polls.list request to - * get the last page. - */ - core.String lastPageToken; - - /** - * The value of pageToken query parameter in community_polls.list request to - * get the next page, if there are more to retrieve. - */ - core.String nextPageToken; - - /** - * The value of pageToken query parameter in community_polls.list request to - * get the previous page, if there are more to retrieve. - */ - core.String prevPageToken; - - - CommunityPollList(); - - CommunityPollList.fromJson(core.Map _json) { - if (_json.containsKey("firstPageToken")) { - firstPageToken = _json["firstPageToken"]; - } - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new CommunityPoll.fromJson(value)).toList(); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("lastPageToken")) { - lastPageToken = _json["lastPageToken"]; - } - if (_json.containsKey("nextPageToken")) { - nextPageToken = _json["nextPageToken"]; - } - if (_json.containsKey("prevPageToken")) { - prevPageToken = _json["prevPageToken"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (firstPageToken != null) { - _json["firstPageToken"] = firstPageToken; - } - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (kind != null) { - _json["kind"] = kind; - } - if (lastPageToken != null) { - _json["lastPageToken"] = lastPageToken; - } - if (nextPageToken != null) { - _json["nextPageToken"] = nextPageToken; - } - if (prevPageToken != null) { - _json["prevPageToken"] = prevPageToken; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityPollVote { - /** Whether this vote is visible to other users or not. */ - core.bool isVotevisible; - - /** - * Identifies this resource as a community poll vote. Value: - * "orkut#communityPollVote" - */ - core.String kind; - - /** The ids of the voted options. */ - core.List<core.int> optionIds; - - - CommunityPollVote(); - - CommunityPollVote.fromJson(core.Map _json) { - if (_json.containsKey("isVotevisible")) { - isVotevisible = _json["isVotevisible"]; - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("optionIds")) { - optionIds = _json["optionIds"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (isVotevisible != null) { - _json["isVotevisible"] = isVotevisible; - } - if (kind != null) { - _json["kind"] = kind; - } - if (optionIds != null) { - _json["optionIds"] = optionIds; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityTopic { - /** The creator of the topic. */ - OrkutAuthorResource author; - - /** The body of the topic. */ - core.String body; - - /** The ID of the topic. */ - core.String id; - - /** Whether the topic is closed for new messages. */ - core.bool isClosed; - - /** - * Identifies this resource as a community topic. Value: - * "orkut#communityTopic" - */ - core.String kind; - - /** The timestamp of the last update, in RFC 3339 format. */ - core.DateTime lastUpdate; - - /** Snippet of the last message posted on this topic. */ - core.String latestMessageSnippet; - - /** List of resources for the community. */ - core.List<OrkutLinkResource> links; - - /** Most recent messages. */ - core.List<CommunityMessage> messages; - - /** The total number of replies this topic has received. */ - core.int numberOfReplies; - - /** The title of the topic. */ - core.String title; - - - CommunityTopic(); - - CommunityTopic.fromJson(core.Map _json) { - if (_json.containsKey("author")) { - author = new OrkutAuthorResource.fromJson(_json["author"]); - } - if (_json.containsKey("body")) { - body = _json["body"]; - } - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("isClosed")) { - isClosed = _json["isClosed"]; - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("lastUpdate")) { - lastUpdate = core.DateTime.parse(_json["lastUpdate"]); - } - if (_json.containsKey("latestMessageSnippet")) { - latestMessageSnippet = _json["latestMessageSnippet"]; - } - if (_json.containsKey("links")) { - links = _json["links"].map((value) => new OrkutLinkResource.fromJson(value)).toList(); - } - if (_json.containsKey("messages")) { - messages = _json["messages"].map((value) => new CommunityMessage.fromJson(value)).toList(); - } - if (_json.containsKey("numberOfReplies")) { - numberOfReplies = _json["numberOfReplies"]; - } - if (_json.containsKey("title")) { - title = _json["title"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (author != null) { - _json["author"] = (author).toJson(); - } - if (body != null) { - _json["body"] = body; - } - if (id != null) { - _json["id"] = id; - } - if (isClosed != null) { - _json["isClosed"] = isClosed; - } - if (kind != null) { - _json["kind"] = kind; - } - if (lastUpdate != null) { - _json["lastUpdate"] = (lastUpdate).toIso8601String(); - } - if (latestMessageSnippet != null) { - _json["latestMessageSnippet"] = latestMessageSnippet; - } - if (links != null) { - _json["links"] = links.map((value) => (value).toJson()).toList(); - } - if (messages != null) { - _json["messages"] = messages.map((value) => (value).toJson()).toList(); - } - if (numberOfReplies != null) { - _json["numberOfReplies"] = numberOfReplies; - } - if (title != null) { - _json["title"] = title; - } - return _json; - } -} - - -/** Not documented yet. */ -class CommunityTopicList { - /** - * The value of pageToken query parameter in community_topic.list request to - * get the first page. - */ - core.String firstPageToken; - - /** List of topics retrieved. */ - core.List<CommunityTopic> items; - - /** - * Identifies this resource as a collection of community topics. Value: - * "orkut#communityTopicList" - */ - core.String kind; - - /** - * The value of pageToken query parameter in community_topic.list request to - * get the last page. - */ - core.String lastPageToken; - - /** - * The value of pageToken query parameter in community_topic.list request to - * get the next page, if there are more to retrieve. - */ - core.String nextPageToken; - - /** - * The value of pageToken query parameter in community_topic.list request to - * get the previous page, if there are more to retrieve. - */ - core.String prevPageToken; - - - CommunityTopicList(); - - CommunityTopicList.fromJson(core.Map _json) { - if (_json.containsKey("firstPageToken")) { - firstPageToken = _json["firstPageToken"]; - } - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new CommunityTopic.fromJson(value)).toList(); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("lastPageToken")) { - lastPageToken = _json["lastPageToken"]; - } - if (_json.containsKey("nextPageToken")) { - nextPageToken = _json["nextPageToken"]; - } - if (_json.containsKey("prevPageToken")) { - prevPageToken = _json["prevPageToken"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (firstPageToken != null) { - _json["firstPageToken"] = firstPageToken; - } - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (kind != null) { - _json["kind"] = kind; - } - if (lastPageToken != null) { - _json["lastPageToken"] = lastPageToken; - } - if (nextPageToken != null) { - _json["nextPageToken"] = nextPageToken; - } - if (prevPageToken != null) { - _json["prevPageToken"] = prevPageToken; - } - return _json; - } -} - - -/** Not documented yet. */ -class Counters { - /** List of counters retrieved. */ - core.List<OrkutCounterResource> items; - - /** - * Identifies this resource as a collection of counters. Value: - * "orkut#counters" - */ - core.String kind; - - - Counters(); - - Counters.fromJson(core.Map _json) { - if (_json.containsKey("items")) { - items = _json["items"].map((value) => new OrkutCounterResource.fromJson(value)).toList(); - } - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (items != null) { - _json["items"] = items.map((value) => (value).toJson()).toList(); - } - if (kind != null) { - _json["kind"] = kind; - } - return _json; - } -} - - -/** Not documented yet. */ -class OrkutActivityobjectsResource { - /** - * The community which is related with this activity, e.g. a joined community. - */ - Community community; - - /** - * The HTML-formatted content, suitable for display. When updating an - * activity's content, post the changes to this property, using the value of - * originalContent as a starting point. If the update is successful, the - * server adds HTML formatting and responds with this formatted content. - */ - core.String content; - - /** The title of the object. */ - core.String displayName; - - /** The ID for the object. */ - core.String id; - - /** Links to other resources related to this object. */ - core.List<OrkutLinkResource> links; - - /** The object type. */ - core.String objectType; - - /** The person who is related with this activity, e.g. an Added User. */ - OrkutActivitypersonResource person; - - - OrkutActivityobjectsResource(); - - OrkutActivityobjectsResource.fromJson(core.Map _json) { - if (_json.containsKey("community")) { - community = new Community.fromJson(_json["community"]); - } - if (_json.containsKey("content")) { - content = _json["content"]; - } - if (_json.containsKey("displayName")) { - displayName = _json["displayName"]; - } - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("links")) { - links = _json["links"].map((value) => new OrkutLinkResource.fromJson(value)).toList(); - } - if (_json.containsKey("objectType")) { - objectType = _json["objectType"]; - } - if (_json.containsKey("person")) { - person = new OrkutActivitypersonResource.fromJson(_json["person"]); - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (community != null) { - _json["community"] = (community).toJson(); - } - if (content != null) { - _json["content"] = content; - } - if (displayName != null) { - _json["displayName"] = displayName; - } - if (id != null) { - _json["id"] = id; - } - if (links != null) { - _json["links"] = links.map((value) => (value).toJson()).toList(); - } - if (objectType != null) { - _json["objectType"] = objectType; - } - if (person != null) { - _json["person"] = (person).toJson(); - } - return _json; - } -} - - -/** - * The person's profile photo. This is adapted from Google+ and was originaly - * introduced as extra OpenSocial convenience fields. - */ -class OrkutActivitypersonResourceImage { - /** The URL of the person's profile photo. */ - core.String url; - - - OrkutActivitypersonResourceImage(); - - OrkutActivitypersonResourceImage.fromJson(core.Map _json) { - if (_json.containsKey("url")) { - url = _json["url"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (url != null) { - _json["url"] = url; - } - return _json; - } -} - - -/** - * An object that encapsulates the individual components of a person's name. - */ -class OrkutActivitypersonResourceName { - /** The family name (last name) of this person. */ - core.String familyName; - - /** The given name (first name) of this person. */ - core.String givenName; - - - OrkutActivitypersonResourceName(); - - OrkutActivitypersonResourceName.fromJson(core.Map _json) { - if (_json.containsKey("familyName")) { - familyName = _json["familyName"]; - } - if (_json.containsKey("givenName")) { - givenName = _json["givenName"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (familyName != null) { - _json["familyName"] = familyName; - } - if (givenName != null) { - _json["givenName"] = givenName; - } - return _json; - } -} - - -/** Not documented yet. */ -class OrkutActivitypersonResource { - /** The person's date of birth, represented as YYYY-MM-DD. */ - core.String birthday; - - /** The person's gender. Values include "male", "female", and "other". */ - core.String gender; - - /** The person's opensocial ID. */ - core.String id; - - /** - * The person's profile photo. This is adapted from Google+ and was originaly - * introduced as extra OpenSocial convenience fields. - */ - OrkutActivitypersonResourceImage image; - - /** - * An object that encapsulates the individual components of a person's name. - */ - OrkutActivitypersonResourceName name; - - /** - * The person's profile url. This is adapted from Google+ and was originaly - * introduced as extra OpenSocial convenience fields. - */ - core.String url; - - - OrkutActivitypersonResource(); - - OrkutActivitypersonResource.fromJson(core.Map _json) { - if (_json.containsKey("birthday")) { - birthday = _json["birthday"]; - } - if (_json.containsKey("gender")) { - gender = _json["gender"]; - } - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("image")) { - image = new OrkutActivitypersonResourceImage.fromJson(_json["image"]); - } - if (_json.containsKey("name")) { - name = new OrkutActivitypersonResourceName.fromJson(_json["name"]); - } - if (_json.containsKey("url")) { - url = _json["url"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (birthday != null) { - _json["birthday"] = birthday; - } - if (gender != null) { - _json["gender"] = gender; - } - if (id != null) { - _json["id"] = id; - } - if (image != null) { - _json["image"] = (image).toJson(); - } - if (name != null) { - _json["name"] = (name).toJson(); - } - if (url != null) { - _json["url"] = url; - } - return _json; - } -} - - -/** Image data about the author. */ -class OrkutAuthorResourceImage { - /** A URL that points to a thumbnail photo of the author. */ - core.String url; - - - OrkutAuthorResourceImage(); - - OrkutAuthorResourceImage.fromJson(core.Map _json) { - if (_json.containsKey("url")) { - url = _json["url"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (url != null) { - _json["url"] = url; - } - return _json; - } -} - - -/** Not documented yet. */ -class OrkutAuthorResource { - /** The name of the author, suitable for display. */ - core.String displayName; - - /** - * Unique identifier of the person who posted the comment. This is the - * person's OpenSocial ID. - */ - core.String id; - - /** Image data about the author. */ - OrkutAuthorResourceImage image; - - /** The URL of the author who posted the comment [not yet implemented] */ - core.String url; - - - OrkutAuthorResource(); - - OrkutAuthorResource.fromJson(core.Map _json) { - if (_json.containsKey("displayName")) { - displayName = _json["displayName"]; - } - if (_json.containsKey("id")) { - id = _json["id"]; - } - if (_json.containsKey("image")) { - image = new OrkutAuthorResourceImage.fromJson(_json["image"]); - } - if (_json.containsKey("url")) { - url = _json["url"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (displayName != null) { - _json["displayName"] = displayName; - } - if (id != null) { - _json["id"] = id; - } - if (image != null) { - _json["image"] = (image).toJson(); - } - if (url != null) { - _json["url"] = url; - } - return _json; - } -} - - -/** Image data about the poll option. Field is omitted if no image exists. */ -class OrkutCommunitypolloptionResourceImage { - /** A URL that points to an image of the poll question. */ - core.String url; - - - OrkutCommunitypolloptionResourceImage(); - - OrkutCommunitypolloptionResourceImage.fromJson(core.Map _json) { - if (_json.containsKey("url")) { - url = _json["url"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (url != null) { - _json["url"] = url; - } - return _json; - } -} - - -/** Not documented yet. */ -class OrkutCommunitypolloptionResource { - /** The option description. */ - core.String description; - - /** Image data about the poll option. Field is omitted if no image exists. */ - OrkutCommunitypolloptionResourceImage image; - - /** The total number of votes that this option received. */ - core.int numberOfVotes; - - /** The poll option ID */ - core.int optionId; - - - OrkutCommunitypolloptionResource(); - - OrkutCommunitypolloptionResource.fromJson(core.Map _json) { - if (_json.containsKey("description")) { - description = _json["description"]; - } - if (_json.containsKey("image")) { - image = new OrkutCommunitypolloptionResourceImage.fromJson(_json["image"]); - } - if (_json.containsKey("numberOfVotes")) { - numberOfVotes = _json["numberOfVotes"]; - } - if (_json.containsKey("optionId")) { - optionId = _json["optionId"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (description != null) { - _json["description"] = description; - } - if (image != null) { - _json["image"] = (image).toJson(); - } - if (numberOfVotes != null) { - _json["numberOfVotes"] = numberOfVotes; - } - if (optionId != null) { - _json["optionId"] = optionId; - } - return _json; - } -} - - -/** Not documented yet. */ -class OrkutCounterResource { - /** Link to the collection being counted. */ - OrkutLinkResource link; - - /** - * The name of the counted collection. Currently supported collections are: - * - scraps - The scraps of the user. - * - photos - The photos of the user. - * - videos - The videos of the user. - * - pendingTestimonials - The pending testimonials of the user. - */ - core.String name; - - /** The number of resources on the counted collection. */ - core.int total; - - - OrkutCounterResource(); - - OrkutCounterResource.fromJson(core.Map _json) { - if (_json.containsKey("link")) { - link = new OrkutLinkResource.fromJson(_json["link"]); - } - if (_json.containsKey("name")) { - name = _json["name"]; - } - if (_json.containsKey("total")) { - total = _json["total"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (link != null) { - _json["link"] = (link).toJson(); - } - if (name != null) { - _json["name"] = name; - } - if (total != null) { - _json["total"] = total; - } - return _json; - } -} - - -/** Links to resources related to the parent object. */ -class OrkutLinkResource { - /** URL of the link. */ - core.String href; - - /** Relation between the resource and the parent object. */ - core.String rel; - - /** Title of the link. */ - core.String title; - - /** Media type of the link. */ - core.String type; - - - OrkutLinkResource(); - - OrkutLinkResource.fromJson(core.Map _json) { - if (_json.containsKey("href")) { - href = _json["href"]; - } - if (_json.containsKey("rel")) { - rel = _json["rel"]; - } - if (_json.containsKey("title")) { - title = _json["title"]; - } - if (_json.containsKey("type")) { - type = _json["type"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (href != null) { - _json["href"] = href; - } - if (rel != null) { - _json["rel"] = rel; - } - if (title != null) { - _json["title"] = title; - } - if (type != null) { - _json["type"] = type; - } - return _json; - } -} - - -/** Not documented yet. */ -class Visibility { - /** - * Identifies this resource as a visibility item. Value: "orkut#visibility" - */ - core.String kind; - - /** List of resources for the visibility item. */ - core.List<OrkutLinkResource> links; - - /** - * The visibility of the resource. Possible values are: - * - default: not hidden by the user - * - hidden: hidden - */ - core.String visibility; - - - Visibility(); - - Visibility.fromJson(core.Map _json) { - if (_json.containsKey("kind")) { - kind = _json["kind"]; - } - if (_json.containsKey("links")) { - links = _json["links"].map((value) => new OrkutLinkResource.fromJson(value)).toList(); - } - if (_json.containsKey("visibility")) { - visibility = _json["visibility"]; - } - } - - core.Map toJson() { - var _json = new core.Map(); - if (kind != null) { - _json["kind"] = kind; - } - if (links != null) { - _json["links"] = links.map((value) => (value).toJson()).toList(); - } - if (visibility != null) { - _json["visibility"] = visibility; - } - return _json; - } -} - -
diff --git a/generated/googleapis/lib/src/common_internal.dart b/generated/googleapis/lib/src/common_internal.dart index 790aa9f..48064ef 100644 --- a/generated/googleapis/lib/src/common_internal.dart +++ b/generated/googleapis/lib/src/common_internal.dart
@@ -9,7 +9,7 @@ import "package:http/http.dart" as http; const String USER_AGENT_STRING = - 'google-api-dart-client googleapis/0.2.1'; + 'google-api-dart-client googleapis/0.3.0'; const CONTENT_TYPE_JSON_UTF8 = 'application/json; charset=utf-8';
diff --git a/generated/googleapis/lib/youtube/v3.dart b/generated/googleapis/lib/youtube/v3.dart index aa96212..969faa7 100644 --- a/generated/googleapis/lib/youtube/v3.dart +++ b/generated/googleapis/lib/youtube/v3.dart
@@ -7150,6 +7150,8 @@ * - "oflcR15" * - "oflcR16" * - "oflcR18" + * - "oflcRp13" + * - "oflcRp16" * - "oflcUnrated" */ core.String oflcRating;
diff --git a/generated/googleapis/pubspec.yaml b/generated/googleapis/pubspec.yaml index 9d69ef6..bf96b4e 100644 --- a/generated/googleapis/pubspec.yaml +++ b/generated/googleapis/pubspec.yaml
@@ -1,7 +1,7 @@ name: googleapis -version: 0.2.1 +version: 0.3.0 author: Dart Team <misc@dartlang.org> -description: "Auto-generated client libraries for accessing the following APIs:adexchangebuyer:v1.3, adexchangeseller:v1.1, adexchangeseller:v2.0, admin:directory_v1, admin:email_migration_v2, admin:reports_v1, adsense:v1.4, adsensehost:v4.1, analytics:v3, androidpublisher:v2, appsactivity:v1, appstate:v1, bigquery:v2, blogger:v3, books:v1, calendar:v3, civicinfo:us_v1, civicinfo:v1, civicinfo:v2, compute:v1, content:v2, coordinate:v1, customsearch:v1, dfareporting:v1.3, discovery:v1, doubleclickbidmanager:v1, doubleclicksearch:v2, drive:v2, freebase:v1, fusiontables:v1, games:v1, gamesManagement:v1management, gmail:v1, groupsmigration:v1, groupssettings:v1, identitytoolkit:v3, licensing:v1, mapsengine:v1, mirror:v1, oauth2:v2, orkut:v2, pagespeedonline:v1, plus:v1, plusDomains:v1, prediction:v1.6, qpxExpress:v1, reseller:v1, siteVerification:v1, storage:v1, tasks:v1, translate:v2, urlshortener:v1, webfonts:v1, webmasters:v3, youtube:v3, youtubeAnalytics:v1" +description: "Auto-generated client libraries for accessing the following APIs:adexchangebuyer:v1.3, adexchangeseller:v1.1, adexchangeseller:v2.0, admin:directory_v1, admin:email_migration_v2, admin:reports_v1, adsense:v1.4, adsensehost:v4.1, analytics:v3, androidpublisher:v2, appsactivity:v1, appstate:v1, bigquery:v2, blogger:v3, books:v1, calendar:v3, civicinfo:us_v1, civicinfo:v1, civicinfo:v2, compute:v1, content:v2, coordinate:v1, customsearch:v1, dfareporting:v1.3, discovery:v1, doubleclickbidmanager:v1, doubleclicksearch:v2, drive:v2, freebase:v1, fusiontables:v1, games:v1, gamesManagement:v1management, gmail:v1, groupsmigration:v1, groupssettings:v1, identitytoolkit:v3, licensing:v1, mapsengine:v1, mirror:v1, oauth2:v2, pagespeedonline:v1, plus:v1, plusDomains:v1, prediction:v1.6, qpxExpress:v1, reseller:v1, siteVerification:v1, storage:v1, tasks:v1, translate:v2, urlshortener:v1, webfonts:v1, webmasters:v3, youtube:v3, youtubeAnalytics:v1" homepage: http://www.dartlang.org/googleapis/ environment: sdk: '>=1.0.0 <2.0.0'
diff --git a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart index f29db6d..e462ad5 100644 --- a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart +++ b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
@@ -39,14 +39,14 @@ buildCounterAccountBidderLocation--; } -buildUnnamed656() { +buildUnnamed630() { var o = new core.List<api.AccountBidderLocation>(); o.add(buildAccountBidderLocation()); o.add(buildAccountBidderLocation()); return o; } -checkUnnamed656(core.List<api.AccountBidderLocation> o) { +checkUnnamed630(core.List<api.AccountBidderLocation> o) { unittest.expect(o, unittest.hasLength(2)); checkAccountBidderLocation(o[0]); checkAccountBidderLocation(o[1]); @@ -57,7 +57,7 @@ var o = new api.Account(); buildCounterAccount++; if (buildCounterAccount < 3) { - o.bidderLocation = buildUnnamed656(); + o.bidderLocation = buildUnnamed630(); o.cookieMatchingNid = "foo"; o.cookieMatchingUrl = "foo"; o.id = 42; @@ -71,7 +71,7 @@ checkAccount(api.Account o) { buildCounterAccount++; if (buildCounterAccount < 3) { - checkUnnamed656(o.bidderLocation); + checkUnnamed630(o.bidderLocation); unittest.expect(o.cookieMatchingNid, unittest.equals('foo')); unittest.expect(o.cookieMatchingUrl, unittest.equals('foo')); unittest.expect(o.id, unittest.equals(42)); @@ -81,14 +81,14 @@ buildCounterAccount--; } -buildUnnamed657() { +buildUnnamed631() { var o = new core.List<api.Account>(); o.add(buildAccount()); o.add(buildAccount()); return o; } -checkUnnamed657(core.List<api.Account> o) { +checkUnnamed631(core.List<api.Account> o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -99,7 +99,7 @@ var o = new api.AccountsList(); buildCounterAccountsList++; if (buildCounterAccountsList < 3) { - o.items = buildUnnamed657(); + o.items = buildUnnamed631(); o.kind = "foo"; } buildCounterAccountsList--; @@ -109,20 +109,20 @@ checkAccountsList(api.AccountsList o) { buildCounterAccountsList++; if (buildCounterAccountsList < 3) { - checkUnnamed657(o.items); + checkUnnamed631(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAccountsList--; } -buildUnnamed658() { +buildUnnamed632() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed658(core.List<core.String> o) { +checkUnnamed632(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -135,7 +135,7 @@ if (buildCounterBillingInfo < 3) { o.accountId = 42; o.accountName = "foo"; - o.billingId = buildUnnamed658(); + o.billingId = buildUnnamed632(); o.kind = "foo"; } buildCounterBillingInfo--; @@ -147,20 +147,20 @@ if (buildCounterBillingInfo < 3) { unittest.expect(o.accountId, unittest.equals(42)); unittest.expect(o.accountName, unittest.equals('foo')); - checkUnnamed658(o.billingId); + checkUnnamed632(o.billingId); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterBillingInfo--; } -buildUnnamed659() { +buildUnnamed633() { var o = new core.List<api.BillingInfo>(); o.add(buildBillingInfo()); o.add(buildBillingInfo()); return o; } -checkUnnamed659(core.List<api.BillingInfo> o) { +checkUnnamed633(core.List<api.BillingInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkBillingInfo(o[0]); checkBillingInfo(o[1]); @@ -171,7 +171,7 @@ var o = new api.BillingInfoList(); buildCounterBillingInfoList++; if (buildCounterBillingInfoList < 3) { - o.items = buildUnnamed659(); + o.items = buildUnnamed633(); o.kind = "foo"; } buildCounterBillingInfoList--; @@ -181,59 +181,59 @@ checkBillingInfoList(api.BillingInfoList o) { buildCounterBillingInfoList++; if (buildCounterBillingInfoList < 3) { - checkUnnamed659(o.items); + checkUnnamed633(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterBillingInfoList--; } -buildUnnamed660() { +buildUnnamed634() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed660(core.List<core.String> o) { +checkUnnamed634(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed661() { +buildUnnamed635() { var o = new core.List<core.int>(); o.add(42); o.add(42); return o; } -checkUnnamed661(core.List<core.int> o) { +checkUnnamed635(core.List<core.int> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42)); unittest.expect(o[1], unittest.equals(42)); } -buildUnnamed662() { +buildUnnamed636() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed662(core.List<core.String> o) { +checkUnnamed636(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed663() { +buildUnnamed637() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed663(core.List<core.String> o) { +checkUnnamed637(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -244,7 +244,7 @@ var o = new api.CreativeCorrections(); buildCounterCreativeCorrections++; if (buildCounterCreativeCorrections < 3) { - o.details = buildUnnamed663(); + o.details = buildUnnamed637(); o.reason = "foo"; } buildCounterCreativeCorrections--; @@ -254,33 +254,33 @@ checkCreativeCorrections(api.CreativeCorrections o) { buildCounterCreativeCorrections++; if (buildCounterCreativeCorrections < 3) { - checkUnnamed663(o.details); + checkUnnamed637(o.details); unittest.expect(o.reason, unittest.equals('foo')); } buildCounterCreativeCorrections--; } -buildUnnamed664() { +buildUnnamed638() { var o = new core.List<api.CreativeCorrections>(); o.add(buildCreativeCorrections()); o.add(buildCreativeCorrections()); return o; } -checkUnnamed664(core.List<api.CreativeCorrections> o) { +checkUnnamed638(core.List<api.CreativeCorrections> o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCorrections(o[0]); checkCreativeCorrections(o[1]); } -buildUnnamed665() { +buildUnnamed639() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed665(core.List<core.String> o) { +checkUnnamed639(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -291,7 +291,7 @@ var o = new api.CreativeDisapprovalReasons(); buildCounterCreativeDisapprovalReasons++; if (buildCounterCreativeDisapprovalReasons < 3) { - o.details = buildUnnamed665(); + o.details = buildUnnamed639(); o.reason = "foo"; } buildCounterCreativeDisapprovalReasons--; @@ -301,20 +301,20 @@ checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) { buildCounterCreativeDisapprovalReasons++; if (buildCounterCreativeDisapprovalReasons < 3) { - checkUnnamed665(o.details); + checkUnnamed639(o.details); unittest.expect(o.reason, unittest.equals('foo')); } buildCounterCreativeDisapprovalReasons--; } -buildUnnamed666() { +buildUnnamed640() { var o = new core.List<api.CreativeDisapprovalReasons>(); o.add(buildCreativeDisapprovalReasons()); o.add(buildCreativeDisapprovalReasons()); return o; } -checkUnnamed666(core.List<api.CreativeDisapprovalReasons> o) { +checkUnnamed640(core.List<api.CreativeDisapprovalReasons> o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeDisapprovalReasons(o[0]); checkCreativeDisapprovalReasons(o[1]); @@ -341,14 +341,14 @@ buildCounterCreativeFilteringReasonsReasons--; } -buildUnnamed667() { +buildUnnamed641() { var o = new core.List<api.CreativeFilteringReasonsReasons>(); o.add(buildCreativeFilteringReasonsReasons()); o.add(buildCreativeFilteringReasonsReasons()); return o; } -checkUnnamed667(core.List<api.CreativeFilteringReasonsReasons> o) { +checkUnnamed641(core.List<api.CreativeFilteringReasonsReasons> o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeFilteringReasonsReasons(o[0]); checkCreativeFilteringReasonsReasons(o[1]); @@ -360,7 +360,7 @@ buildCounterCreativeFilteringReasons++; if (buildCounterCreativeFilteringReasons < 3) { o.date = "foo"; - o.reasons = buildUnnamed667(); + o.reasons = buildUnnamed641(); } buildCounterCreativeFilteringReasons--; return o; @@ -370,58 +370,58 @@ buildCounterCreativeFilteringReasons++; if (buildCounterCreativeFilteringReasons < 3) { unittest.expect(o.date, unittest.equals('foo')); - checkUnnamed667(o.reasons); + checkUnnamed641(o.reasons); } buildCounterCreativeFilteringReasons--; } -buildUnnamed668() { +buildUnnamed642() { var o = new core.List<core.int>(); o.add(42); o.add(42); return o; } -checkUnnamed668(core.List<core.int> o) { +checkUnnamed642(core.List<core.int> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42)); unittest.expect(o[1], unittest.equals(42)); } -buildUnnamed669() { +buildUnnamed643() { var o = new core.List<core.int>(); o.add(42); o.add(42); return o; } -checkUnnamed669(core.List<core.int> o) { +checkUnnamed643(core.List<core.int> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42)); unittest.expect(o[1], unittest.equals(42)); } -buildUnnamed670() { +buildUnnamed644() { var o = new core.List<core.int>(); o.add(42); o.add(42); return o; } -checkUnnamed670(core.List<core.int> o) { +checkUnnamed644(core.List<core.int> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42)); unittest.expect(o[1], unittest.equals(42)); } -buildUnnamed671() { +buildUnnamed645() { var o = new core.List<core.int>(); o.add(42); o.add(42); return o; } -checkUnnamed671(core.List<core.int> o) { +checkUnnamed645(core.List<core.int> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42)); unittest.expect(o[1], unittest.equals(42)); @@ -434,22 +434,22 @@ if (buildCounterCreative < 3) { o.HTMLSnippet = "foo"; o.accountId = 42; - o.advertiserId = buildUnnamed660(); + o.advertiserId = buildUnnamed634(); o.advertiserName = "foo"; o.agencyId = "foo"; - o.attribute = buildUnnamed661(); + o.attribute = buildUnnamed635(); o.buyerCreativeId = "foo"; - o.clickThroughUrl = buildUnnamed662(); - o.corrections = buildUnnamed664(); - o.disapprovalReasons = buildUnnamed666(); + o.clickThroughUrl = buildUnnamed636(); + o.corrections = buildUnnamed638(); + o.disapprovalReasons = buildUnnamed640(); o.filteringReasons = buildCreativeFilteringReasons(); o.height = 42; o.kind = "foo"; - o.productCategories = buildUnnamed668(); - o.restrictedCategories = buildUnnamed669(); - o.sensitiveCategories = buildUnnamed670(); + o.productCategories = buildUnnamed642(); + o.restrictedCategories = buildUnnamed643(); + o.sensitiveCategories = buildUnnamed644(); o.status = "foo"; - o.vendorType = buildUnnamed671(); + o.vendorType = buildUnnamed645(); o.videoURL = "foo"; o.width = 42; } @@ -462,36 +462,36 @@ if (buildCounterCreative < 3) { unittest.expect(o.HTMLSnippet, unittest.equals('foo')); unittest.expect(o.accountId, unittest.equals(42)); - checkUnnamed660(o.advertiserId); + checkUnnamed634(o.advertiserId); unittest.expect(o.advertiserName, unittest.equals('foo')); unittest.expect(o.agencyId, unittest.equals('foo')); - checkUnnamed661(o.attribute); + checkUnnamed635(o.attribute); unittest.expect(o.buyerCreativeId, unittest.equals('foo')); - checkUnnamed662(o.clickThroughUrl); - checkUnnamed664(o.corrections); - checkUnnamed666(o.disapprovalReasons); + checkUnnamed636(o.clickThroughUrl); + checkUnnamed638(o.corrections); + checkUnnamed640(o.disapprovalReasons); checkCreativeFilteringReasons(o.filteringReasons); unittest.expect(o.height, unittest.equals(42)); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed668(o.productCategories); - checkUnnamed669(o.restrictedCategories); - checkUnnamed670(o.sensitiveCategories); + checkUnnamed642(o.productCategories); + checkUnnamed643(o.restrictedCategories); + checkUnnamed644(o.sensitiveCategories); unittest.expect(o.status, unittest.equals('foo')); - checkUnnamed671(o.vendorType); + checkUnnamed645(o.vendorType); unittest.expect(o.videoURL, unittest.equals('foo')); unittest.expect(o.width, unittest.equals(42)); } buildCounterCreative--; } -buildUnnamed672() { +buildUnnamed646() { var o = new core.List<api.Creative>(); o.add(buildCreative()); o.add(buildCreative()); return o; } -checkUnnamed672(core.List<api.Creative> o) { +checkUnnamed646(core.List<api.Creative> o) { unittest.expect(o, unittest.hasLength(2)); checkCreative(o[0]); checkCreative(o[1]); @@ -502,7 +502,7 @@ var o = new api.CreativesList(); buildCounterCreativesList++; if (buildCounterCreativesList < 3) { - o.items = buildUnnamed672(); + o.items = buildUnnamed646(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -513,7 +513,7 @@ checkCreativesList(api.CreativesList o) { buildCounterCreativesList++; if (buildCounterCreativesList < 3) { - checkUnnamed672(o.items); + checkUnnamed646(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -561,14 +561,14 @@ buildCounterDirectDeal--; } -buildUnnamed673() { +buildUnnamed647() { var o = new core.List<api.DirectDeal>(); o.add(buildDirectDeal()); o.add(buildDirectDeal()); return o; } -checkUnnamed673(core.List<api.DirectDeal> o) { +checkUnnamed647(core.List<api.DirectDeal> o) { unittest.expect(o, unittest.hasLength(2)); checkDirectDeal(o[0]); checkDirectDeal(o[1]); @@ -579,7 +579,7 @@ var o = new api.DirectDealsList(); buildCounterDirectDealsList++; if (buildCounterDirectDealsList < 3) { - o.directDeals = buildUnnamed673(); + o.directDeals = buildUnnamed647(); o.kind = "foo"; } buildCounterDirectDealsList--; @@ -589,59 +589,59 @@ checkDirectDealsList(api.DirectDealsList o) { buildCounterDirectDealsList++; if (buildCounterDirectDealsList < 3) { - checkUnnamed673(o.directDeals); + checkUnnamed647(o.directDeals); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterDirectDealsList--; } -buildUnnamed674() { +buildUnnamed648() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed674(core.List<core.Object> o) { +checkUnnamed648(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); } -buildUnnamed675() { +buildUnnamed649() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed675(core.List<core.Object> o) { +checkUnnamed649(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo')); var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo')); } -buildUnnamed676() { +buildUnnamed650() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed676(core.List<core.Object> o) { +checkUnnamed650(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo')); var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo')); } -buildUnnamed677() { +buildUnnamed651() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed677(core.List<core.Object> o) { +checkUnnamed651(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo')); var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo')); @@ -652,10 +652,10 @@ var o = new api.PerformanceReport(); buildCounterPerformanceReport++; if (buildCounterPerformanceReport < 3) { - o.calloutStatusRate = buildUnnamed674(); - o.cookieMatcherStatusRate = buildUnnamed675(); - o.creativeStatusRate = buildUnnamed676(); - o.hostedMatchStatusRate = buildUnnamed677(); + o.calloutStatusRate = buildUnnamed648(); + o.cookieMatcherStatusRate = buildUnnamed649(); + o.creativeStatusRate = buildUnnamed650(); + o.hostedMatchStatusRate = buildUnnamed651(); o.kind = "foo"; o.latency50thPercentile = 42.0; o.latency85thPercentile = 42.0; @@ -676,10 +676,10 @@ checkPerformanceReport(api.PerformanceReport o) { buildCounterPerformanceReport++; if (buildCounterPerformanceReport < 3) { - checkUnnamed674(o.calloutStatusRate); - checkUnnamed675(o.cookieMatcherStatusRate); - checkUnnamed676(o.creativeStatusRate); - checkUnnamed677(o.hostedMatchStatusRate); + checkUnnamed648(o.calloutStatusRate); + checkUnnamed649(o.cookieMatcherStatusRate); + checkUnnamed650(o.creativeStatusRate); + checkUnnamed651(o.hostedMatchStatusRate); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); @@ -696,14 +696,14 @@ buildCounterPerformanceReport--; } -buildUnnamed678() { +buildUnnamed652() { var o = new core.List<api.PerformanceReport>(); o.add(buildPerformanceReport()); o.add(buildPerformanceReport()); return o; } -checkUnnamed678(core.List<api.PerformanceReport> o) { +checkUnnamed652(core.List<api.PerformanceReport> o) { unittest.expect(o, unittest.hasLength(2)); checkPerformanceReport(o[0]); checkPerformanceReport(o[1]); @@ -715,7 +715,7 @@ buildCounterPerformanceReportList++; if (buildCounterPerformanceReportList < 3) { o.kind = "foo"; - o.performanceReport = buildUnnamed678(); + o.performanceReport = buildUnnamed652(); } buildCounterPerformanceReportList--; return o; @@ -725,19 +725,19 @@ buildCounterPerformanceReportList++; if (buildCounterPerformanceReportList < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed678(o.performanceReport); + checkUnnamed652(o.performanceReport); } buildCounterPerformanceReportList--; } -buildUnnamed679() { +buildUnnamed653() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed679(core.List<core.String> o) { +checkUnnamed653(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -764,40 +764,40 @@ buildCounterPretargetingConfigDimensions--; } -buildUnnamed680() { +buildUnnamed654() { var o = new core.List<api.PretargetingConfigDimensions>(); o.add(buildPretargetingConfigDimensions()); o.add(buildPretargetingConfigDimensions()); return o; } -checkUnnamed680(core.List<api.PretargetingConfigDimensions> o) { +checkUnnamed654(core.List<api.PretargetingConfigDimensions> o) { unittest.expect(o, unittest.hasLength(2)); checkPretargetingConfigDimensions(o[0]); checkPretargetingConfigDimensions(o[1]); } -buildUnnamed681() { +buildUnnamed655() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed681(core.List<core.String> o) { +checkUnnamed655(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed682() { +buildUnnamed656() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed682(core.List<core.String> o) { +checkUnnamed656(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -824,105 +824,105 @@ buildCounterPretargetingConfigExcludedPlacements--; } -buildUnnamed683() { +buildUnnamed657() { var o = new core.List<api.PretargetingConfigExcludedPlacements>(); o.add(buildPretargetingConfigExcludedPlacements()); o.add(buildPretargetingConfigExcludedPlacements()); return o; } -checkUnnamed683(core.List<api.PretargetingConfigExcludedPlacements> o) { +checkUnnamed657(core.List<api.PretargetingConfigExcludedPlacements> o) { unittest.expect(o, unittest.hasLength(2)); checkPretargetingConfigExcludedPlacements(o[0]); checkPretargetingConfigExcludedPlacements(o[1]); } -buildUnnamed684() { +buildUnnamed658() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed684(core.List<core.String> o) { +checkUnnamed658(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed685() { +buildUnnamed659() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed685(core.List<core.String> o) { +checkUnnamed659(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed686() { +buildUnnamed660() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed686(core.List<core.String> o) { +checkUnnamed660(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed687() { +buildUnnamed661() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed687(core.List<core.String> o) { +checkUnnamed661(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed688() { +buildUnnamed662() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed688(core.List<core.String> o) { +checkUnnamed662(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed689() { +buildUnnamed663() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed689(core.List<core.String> o) { +checkUnnamed663(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed690() { +buildUnnamed664() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed690(core.List<core.String> o) { +checkUnnamed664(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -949,79 +949,79 @@ buildCounterPretargetingConfigPlacements--; } -buildUnnamed691() { +buildUnnamed665() { var o = new core.List<api.PretargetingConfigPlacements>(); o.add(buildPretargetingConfigPlacements()); o.add(buildPretargetingConfigPlacements()); return o; } -checkUnnamed691(core.List<api.PretargetingConfigPlacements> o) { +checkUnnamed665(core.List<api.PretargetingConfigPlacements> o) { unittest.expect(o, unittest.hasLength(2)); checkPretargetingConfigPlacements(o[0]); checkPretargetingConfigPlacements(o[1]); } -buildUnnamed692() { +buildUnnamed666() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed692(core.List<core.String> o) { +checkUnnamed666(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed693() { +buildUnnamed667() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed693(core.List<core.String> o) { +checkUnnamed667(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed694() { +buildUnnamed668() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed694(core.List<core.String> o) { +checkUnnamed668(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed695() { +buildUnnamed669() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed695(core.List<core.String> o) { +checkUnnamed669(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed696() { +buildUnnamed670() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed696(core.List<core.String> o) { +checkUnnamed670(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1035,26 +1035,26 @@ o.billingId = "foo"; o.configId = "foo"; o.configName = "foo"; - o.creativeType = buildUnnamed679(); - o.dimensions = buildUnnamed680(); - o.excludedContentLabels = buildUnnamed681(); - o.excludedGeoCriteriaIds = buildUnnamed682(); - o.excludedPlacements = buildUnnamed683(); - o.excludedUserLists = buildUnnamed684(); - o.excludedVerticals = buildUnnamed685(); - o.geoCriteriaIds = buildUnnamed686(); + o.creativeType = buildUnnamed653(); + o.dimensions = buildUnnamed654(); + o.excludedContentLabels = buildUnnamed655(); + o.excludedGeoCriteriaIds = buildUnnamed656(); + o.excludedPlacements = buildUnnamed657(); + o.excludedUserLists = buildUnnamed658(); + o.excludedVerticals = buildUnnamed659(); + o.geoCriteriaIds = buildUnnamed660(); o.isActive = true; o.kind = "foo"; - o.languages = buildUnnamed687(); - o.mobileCarriers = buildUnnamed688(); - o.mobileDevices = buildUnnamed689(); - o.mobileOperatingSystemVersions = buildUnnamed690(); - o.placements = buildUnnamed691(); - o.platforms = buildUnnamed692(); - o.supportedCreativeAttributes = buildUnnamed693(); - o.userLists = buildUnnamed694(); - o.vendorTypes = buildUnnamed695(); - o.verticals = buildUnnamed696(); + o.languages = buildUnnamed661(); + o.mobileCarriers = buildUnnamed662(); + o.mobileDevices = buildUnnamed663(); + o.mobileOperatingSystemVersions = buildUnnamed664(); + o.placements = buildUnnamed665(); + o.platforms = buildUnnamed666(); + o.supportedCreativeAttributes = buildUnnamed667(); + o.userLists = buildUnnamed668(); + o.vendorTypes = buildUnnamed669(); + o.verticals = buildUnnamed670(); } buildCounterPretargetingConfig--; return o; @@ -1066,38 +1066,38 @@ unittest.expect(o.billingId, unittest.equals('foo')); unittest.expect(o.configId, unittest.equals('foo')); unittest.expect(o.configName, unittest.equals('foo')); - checkUnnamed679(o.creativeType); - checkUnnamed680(o.dimensions); - checkUnnamed681(o.excludedContentLabels); - checkUnnamed682(o.excludedGeoCriteriaIds); - checkUnnamed683(o.excludedPlacements); - checkUnnamed684(o.excludedUserLists); - checkUnnamed685(o.excludedVerticals); - checkUnnamed686(o.geoCriteriaIds); + checkUnnamed653(o.creativeType); + checkUnnamed654(o.dimensions); + checkUnnamed655(o.excludedContentLabels); + checkUnnamed656(o.excludedGeoCriteriaIds); + checkUnnamed657(o.excludedPlacements); + checkUnnamed658(o.excludedUserLists); + checkUnnamed659(o.excludedVerticals); + checkUnnamed660(o.geoCriteriaIds); unittest.expect(o.isActive, unittest.isTrue); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed687(o.languages); - checkUnnamed688(o.mobileCarriers); - checkUnnamed689(o.mobileDevices); - checkUnnamed690(o.mobileOperatingSystemVersions); - checkUnnamed691(o.placements); - checkUnnamed692(o.platforms); - checkUnnamed693(o.supportedCreativeAttributes); - checkUnnamed694(o.userLists); - checkUnnamed695(o.vendorTypes); - checkUnnamed696(o.verticals); + checkUnnamed661(o.languages); + checkUnnamed662(o.mobileCarriers); + checkUnnamed663(o.mobileDevices); + checkUnnamed664(o.mobileOperatingSystemVersions); + checkUnnamed665(o.placements); + checkUnnamed666(o.platforms); + checkUnnamed667(o.supportedCreativeAttributes); + checkUnnamed668(o.userLists); + checkUnnamed669(o.vendorTypes); + checkUnnamed670(o.verticals); } buildCounterPretargetingConfig--; } -buildUnnamed697() { +buildUnnamed671() { var o = new core.List<api.PretargetingConfig>(); o.add(buildPretargetingConfig()); o.add(buildPretargetingConfig()); return o; } -checkUnnamed697(core.List<api.PretargetingConfig> o) { +checkUnnamed671(core.List<api.PretargetingConfig> o) { unittest.expect(o, unittest.hasLength(2)); checkPretargetingConfig(o[0]); checkPretargetingConfig(o[1]); @@ -1108,7 +1108,7 @@ var o = new api.PretargetingConfigList(); buildCounterPretargetingConfigList++; if (buildCounterPretargetingConfigList < 3) { - o.items = buildUnnamed697(); + o.items = buildUnnamed671(); o.kind = "foo"; } buildCounterPretargetingConfigList--; @@ -1118,33 +1118,33 @@ checkPretargetingConfigList(api.PretargetingConfigList o) { buildCounterPretargetingConfigList++; if (buildCounterPretargetingConfigList < 3) { - checkUnnamed697(o.items); + checkUnnamed671(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterPretargetingConfigList--; } -buildUnnamed698() { +buildUnnamed672() { var o = new core.List<core.int>(); o.add(42); o.add(42); return o; } -checkUnnamed698(core.List<core.int> o) { +checkUnnamed672(core.List<core.int> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42)); unittest.expect(o[1], unittest.equals(42)); } -buildUnnamed699() { +buildUnnamed673() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed699(core.List<core.String> o) { +checkUnnamed673(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1745,8 +1745,8 @@ var mock = new common_test.HttpServerMock(); api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; - var arg_accountId = buildUnnamed698(); - var arg_buyerCreativeId = buildUnnamed699(); + var arg_accountId = buildUnnamed672(); + var arg_buyerCreativeId = buildUnnamed673(); var arg_maxResults = 42; var arg_pageToken = "foo"; var arg_statusFilter = "foo";
diff --git a/generated/googleapis/test/adexchangeseller/v1_1_test.dart b/generated/googleapis/test/adexchangeseller/v1_1_test.dart index 00fae16..df1c733 100644 --- a/generated/googleapis/test/adexchangeseller/v1_1_test.dart +++ b/generated/googleapis/test/adexchangeseller/v1_1_test.dart
@@ -66,14 +66,14 @@ buildCounterAdClient--; } -buildUnnamed306() { +buildUnnamed280() { var o = new core.List<api.AdClient>(); o.add(buildAdClient()); o.add(buildAdClient()); return o; } -checkUnnamed306(core.List<api.AdClient> o) { +checkUnnamed280(core.List<api.AdClient> o) { unittest.expect(o, unittest.hasLength(2)); checkAdClient(o[0]); checkAdClient(o[1]); @@ -85,7 +85,7 @@ buildCounterAdClients++; if (buildCounterAdClients < 3) { o.etag = "foo"; - o.items = buildUnnamed306(); + o.items = buildUnnamed280(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -97,7 +97,7 @@ buildCounterAdClients++; if (buildCounterAdClients < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed306(o.items); + checkUnnamed280(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -131,14 +131,14 @@ buildCounterAdUnit--; } -buildUnnamed307() { +buildUnnamed281() { var o = new core.List<api.AdUnit>(); o.add(buildAdUnit()); o.add(buildAdUnit()); return o; } -checkUnnamed307(core.List<api.AdUnit> o) { +checkUnnamed281(core.List<api.AdUnit> o) { unittest.expect(o, unittest.hasLength(2)); checkAdUnit(o[0]); checkAdUnit(o[1]); @@ -150,7 +150,7 @@ buildCounterAdUnits++; if (buildCounterAdUnits < 3) { o.etag = "foo"; - o.items = buildUnnamed307(); + o.items = buildUnnamed281(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -162,7 +162,7 @@ buildCounterAdUnits++; if (buildCounterAdUnits < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed307(o.items); + checkUnnamed281(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -196,14 +196,14 @@ buildCounterAlert--; } -buildUnnamed308() { +buildUnnamed282() { var o = new core.List<api.Alert>(); o.add(buildAlert()); o.add(buildAlert()); return o; } -checkUnnamed308(core.List<api.Alert> o) { +checkUnnamed282(core.List<api.Alert> o) { unittest.expect(o, unittest.hasLength(2)); checkAlert(o[0]); checkAlert(o[1]); @@ -214,7 +214,7 @@ var o = new api.Alerts(); buildCounterAlerts++; if (buildCounterAlerts < 3) { - o.items = buildUnnamed308(); + o.items = buildUnnamed282(); o.kind = "foo"; } buildCounterAlerts--; @@ -224,7 +224,7 @@ checkAlerts(api.Alerts o) { buildCounterAlerts++; if (buildCounterAlerts < 3) { - checkUnnamed308(o.items); + checkUnnamed282(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAlerts--; @@ -282,14 +282,14 @@ buildCounterCustomChannel--; } -buildUnnamed309() { +buildUnnamed283() { var o = new core.List<api.CustomChannel>(); o.add(buildCustomChannel()); o.add(buildCustomChannel()); return o; } -checkUnnamed309(core.List<api.CustomChannel> o) { +checkUnnamed283(core.List<api.CustomChannel> o) { unittest.expect(o, unittest.hasLength(2)); checkCustomChannel(o[0]); checkCustomChannel(o[1]); @@ -301,7 +301,7 @@ buildCounterCustomChannels++; if (buildCounterCustomChannels < 3) { o.etag = "foo"; - o.items = buildUnnamed309(); + o.items = buildUnnamed283(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -313,21 +313,21 @@ buildCounterCustomChannels++; if (buildCounterCustomChannels < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed309(o.items); + checkUnnamed283(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterCustomChannels--; } -buildUnnamed310() { +buildUnnamed284() { var o = new core.List<api.ReportingMetadataEntry>(); o.add(buildReportingMetadataEntry()); o.add(buildReportingMetadataEntry()); return o; } -checkUnnamed310(core.List<api.ReportingMetadataEntry> o) { +checkUnnamed284(core.List<api.ReportingMetadataEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkReportingMetadataEntry(o[0]); checkReportingMetadataEntry(o[1]); @@ -338,7 +338,7 @@ var o = new api.Metadata(); buildCounterMetadata++; if (buildCounterMetadata < 3) { - o.items = buildUnnamed310(); + o.items = buildUnnamed284(); o.kind = "foo"; } buildCounterMetadata--; @@ -348,7 +348,7 @@ checkMetadata(api.Metadata o) { buildCounterMetadata++; if (buildCounterMetadata < 3) { - checkUnnamed310(o.items); + checkUnnamed284(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterMetadata--; @@ -387,14 +387,14 @@ buildCounterPreferredDeal--; } -buildUnnamed311() { +buildUnnamed285() { var o = new core.List<api.PreferredDeal>(); o.add(buildPreferredDeal()); o.add(buildPreferredDeal()); return o; } -checkUnnamed311(core.List<api.PreferredDeal> o) { +checkUnnamed285(core.List<api.PreferredDeal> o) { unittest.expect(o, unittest.hasLength(2)); checkPreferredDeal(o[0]); checkPreferredDeal(o[1]); @@ -405,7 +405,7 @@ var o = new api.PreferredDeals(); buildCounterPreferredDeals++; if (buildCounterPreferredDeals < 3) { - o.items = buildUnnamed311(); + o.items = buildUnnamed285(); o.kind = "foo"; } buildCounterPreferredDeals--; @@ -415,20 +415,20 @@ checkPreferredDeals(api.PreferredDeals o) { buildCounterPreferredDeals++; if (buildCounterPreferredDeals < 3) { - checkUnnamed311(o.items); + checkUnnamed285(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterPreferredDeals--; } -buildUnnamed312() { +buildUnnamed286() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed312(core.List<core.String> o) { +checkUnnamed286(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -457,66 +457,66 @@ buildCounterReportHeaders--; } -buildUnnamed313() { +buildUnnamed287() { var o = new core.List<api.ReportHeaders>(); o.add(buildReportHeaders()); o.add(buildReportHeaders()); return o; } -checkUnnamed313(core.List<api.ReportHeaders> o) { +checkUnnamed287(core.List<api.ReportHeaders> o) { unittest.expect(o, unittest.hasLength(2)); checkReportHeaders(o[0]); checkReportHeaders(o[1]); } -buildUnnamed314() { +buildUnnamed288() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed314(core.List<core.String> o) { +checkUnnamed288(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed315() { +buildUnnamed289() { var o = new core.List<core.List<core.String>>(); - o.add(buildUnnamed314()); - o.add(buildUnnamed314()); + o.add(buildUnnamed288()); + o.add(buildUnnamed288()); return o; } -checkUnnamed315(core.List<core.List<core.String>> o) { +checkUnnamed289(core.List<core.List<core.String>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed314(o[0]); - checkUnnamed314(o[1]); + checkUnnamed288(o[0]); + checkUnnamed288(o[1]); } -buildUnnamed316() { +buildUnnamed290() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed316(core.List<core.String> o) { +checkUnnamed290(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed317() { +buildUnnamed291() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed317(core.List<core.String> o) { +checkUnnamed291(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -527,13 +527,13 @@ var o = new api.Report(); buildCounterReport++; if (buildCounterReport < 3) { - o.averages = buildUnnamed312(); - o.headers = buildUnnamed313(); + o.averages = buildUnnamed286(); + o.headers = buildUnnamed287(); o.kind = "foo"; - o.rows = buildUnnamed315(); + o.rows = buildUnnamed289(); o.totalMatchedRows = "foo"; - o.totals = buildUnnamed316(); - o.warnings = buildUnnamed317(); + o.totals = buildUnnamed290(); + o.warnings = buildUnnamed291(); } buildCounterReport--; return o; @@ -542,77 +542,77 @@ checkReport(api.Report o) { buildCounterReport++; if (buildCounterReport < 3) { - checkUnnamed312(o.averages); - checkUnnamed313(o.headers); + checkUnnamed286(o.averages); + checkUnnamed287(o.headers); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed315(o.rows); + checkUnnamed289(o.rows); unittest.expect(o.totalMatchedRows, unittest.equals('foo')); - checkUnnamed316(o.totals); - checkUnnamed317(o.warnings); + checkUnnamed290(o.totals); + checkUnnamed291(o.warnings); } buildCounterReport--; } -buildUnnamed318() { +buildUnnamed292() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed318(core.List<core.String> o) { +checkUnnamed292(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed319() { +buildUnnamed293() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed319(core.List<core.String> o) { +checkUnnamed293(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed320() { +buildUnnamed294() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed320(core.List<core.String> o) { +checkUnnamed294(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed321() { +buildUnnamed295() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed321(core.List<core.String> o) { +checkUnnamed295(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed322() { +buildUnnamed296() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed322(core.List<core.String> o) { +checkUnnamed296(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -623,13 +623,13 @@ var o = new api.ReportingMetadataEntry(); buildCounterReportingMetadataEntry++; if (buildCounterReportingMetadataEntry < 3) { - o.compatibleDimensions = buildUnnamed318(); - o.compatibleMetrics = buildUnnamed319(); + o.compatibleDimensions = buildUnnamed292(); + o.compatibleMetrics = buildUnnamed293(); o.id = "foo"; o.kind = "foo"; - o.requiredDimensions = buildUnnamed320(); - o.requiredMetrics = buildUnnamed321(); - o.supportedProducts = buildUnnamed322(); + o.requiredDimensions = buildUnnamed294(); + o.requiredMetrics = buildUnnamed295(); + o.supportedProducts = buildUnnamed296(); } buildCounterReportingMetadataEntry--; return o; @@ -638,13 +638,13 @@ checkReportingMetadataEntry(api.ReportingMetadataEntry o) { buildCounterReportingMetadataEntry++; if (buildCounterReportingMetadataEntry < 3) { - checkUnnamed318(o.compatibleDimensions); - checkUnnamed319(o.compatibleMetrics); + checkUnnamed292(o.compatibleDimensions); + checkUnnamed293(o.compatibleMetrics); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed320(o.requiredDimensions); - checkUnnamed321(o.requiredMetrics); - checkUnnamed322(o.supportedProducts); + checkUnnamed294(o.requiredDimensions); + checkUnnamed295(o.requiredMetrics); + checkUnnamed296(o.supportedProducts); } buildCounterReportingMetadataEntry--; } @@ -672,14 +672,14 @@ buildCounterSavedReport--; } -buildUnnamed323() { +buildUnnamed297() { var o = new core.List<api.SavedReport>(); o.add(buildSavedReport()); o.add(buildSavedReport()); return o; } -checkUnnamed323(core.List<api.SavedReport> o) { +checkUnnamed297(core.List<api.SavedReport> o) { unittest.expect(o, unittest.hasLength(2)); checkSavedReport(o[0]); checkSavedReport(o[1]); @@ -691,7 +691,7 @@ buildCounterSavedReports++; if (buildCounterSavedReports < 3) { o.etag = "foo"; - o.items = buildUnnamed323(); + o.items = buildUnnamed297(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -703,7 +703,7 @@ buildCounterSavedReports++; if (buildCounterSavedReports < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed323(o.items); + checkUnnamed297(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -733,14 +733,14 @@ buildCounterUrlChannel--; } -buildUnnamed324() { +buildUnnamed298() { var o = new core.List<api.UrlChannel>(); o.add(buildUrlChannel()); o.add(buildUrlChannel()); return o; } -checkUnnamed324(core.List<api.UrlChannel> o) { +checkUnnamed298(core.List<api.UrlChannel> o) { unittest.expect(o, unittest.hasLength(2)); checkUrlChannel(o[0]); checkUrlChannel(o[1]); @@ -752,7 +752,7 @@ buildCounterUrlChannels++; if (buildCounterUrlChannels < 3) { o.etag = "foo"; - o.items = buildUnnamed324(); + o.items = buildUnnamed298(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -764,60 +764,60 @@ buildCounterUrlChannels++; if (buildCounterUrlChannels < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed324(o.items); + checkUnnamed298(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterUrlChannels--; } -buildUnnamed325() { +buildUnnamed299() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed325(core.List<core.String> o) { +checkUnnamed299(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed326() { +buildUnnamed300() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed326(core.List<core.String> o) { +checkUnnamed300(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed327() { +buildUnnamed301() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed327(core.List<core.String> o) { +checkUnnamed301(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed328() { +buildUnnamed302() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed328(core.List<core.String> o) { +checkUnnamed302(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1745,12 +1745,12 @@ api.ReportsResourceApi res = new api.AdexchangesellerApi(mock).reports; var arg_startDate = "foo"; var arg_endDate = "foo"; - var arg_dimension = buildUnnamed325(); - var arg_filter = buildUnnamed326(); + var arg_dimension = buildUnnamed299(); + var arg_filter = buildUnnamed300(); var arg_locale = "foo"; var arg_maxResults = 42; - var arg_metric = buildUnnamed327(); - var arg_sort = buildUnnamed328(); + var arg_metric = buildUnnamed301(); + var arg_sort = buildUnnamed302(); var arg_startIndex = 42; mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path;
diff --git a/generated/googleapis/test/adexchangeseller/v2_0_test.dart b/generated/googleapis/test/adexchangeseller/v2_0_test.dart index d2cc322..8816cbd 100644 --- a/generated/googleapis/test/adexchangeseller/v2_0_test.dart +++ b/generated/googleapis/test/adexchangeseller/v2_0_test.dart
@@ -39,14 +39,14 @@ buildCounterAccount--; } -buildUnnamed90() { +buildUnnamed91() { var o = new core.List<api.Account>(); o.add(buildAccount()); o.add(buildAccount()); return o; } -checkUnnamed90(core.List<api.Account> o) { +checkUnnamed91(core.List<api.Account> o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -58,7 +58,7 @@ buildCounterAccounts++; if (buildCounterAccounts < 3) { o.etag = "foo"; - o.items = buildUnnamed90(); + o.items = buildUnnamed91(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -70,7 +70,7 @@ buildCounterAccounts++; if (buildCounterAccounts < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed90(o.items); + checkUnnamed91(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -104,14 +104,14 @@ buildCounterAdClient--; } -buildUnnamed91() { +buildUnnamed92() { var o = new core.List<api.AdClient>(); o.add(buildAdClient()); o.add(buildAdClient()); return o; } -checkUnnamed91(core.List<api.AdClient> o) { +checkUnnamed92(core.List<api.AdClient> o) { unittest.expect(o, unittest.hasLength(2)); checkAdClient(o[0]); checkAdClient(o[1]); @@ -123,7 +123,7 @@ buildCounterAdClients++; if (buildCounterAdClients < 3) { o.etag = "foo"; - o.items = buildUnnamed91(); + o.items = buildUnnamed92(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -135,7 +135,7 @@ buildCounterAdClients++; if (buildCounterAdClients < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed91(o.items); + checkUnnamed92(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -169,14 +169,14 @@ buildCounterAlert--; } -buildUnnamed92() { +buildUnnamed93() { var o = new core.List<api.Alert>(); o.add(buildAlert()); o.add(buildAlert()); return o; } -checkUnnamed92(core.List<api.Alert> o) { +checkUnnamed93(core.List<api.Alert> o) { unittest.expect(o, unittest.hasLength(2)); checkAlert(o[0]); checkAlert(o[1]); @@ -187,7 +187,7 @@ var o = new api.Alerts(); buildCounterAlerts++; if (buildCounterAlerts < 3) { - o.items = buildUnnamed92(); + o.items = buildUnnamed93(); o.kind = "foo"; } buildCounterAlerts--; @@ -197,7 +197,7 @@ checkAlerts(api.Alerts o) { buildCounterAlerts++; if (buildCounterAlerts < 3) { - checkUnnamed92(o.items); + checkUnnamed93(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAlerts--; @@ -255,14 +255,14 @@ buildCounterCustomChannel--; } -buildUnnamed93() { +buildUnnamed94() { var o = new core.List<api.CustomChannel>(); o.add(buildCustomChannel()); o.add(buildCustomChannel()); return o; } -checkUnnamed93(core.List<api.CustomChannel> o) { +checkUnnamed94(core.List<api.CustomChannel> o) { unittest.expect(o, unittest.hasLength(2)); checkCustomChannel(o[0]); checkCustomChannel(o[1]); @@ -274,7 +274,7 @@ buildCounterCustomChannels++; if (buildCounterCustomChannels < 3) { o.etag = "foo"; - o.items = buildUnnamed93(); + o.items = buildUnnamed94(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -286,21 +286,21 @@ buildCounterCustomChannels++; if (buildCounterCustomChannels < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed93(o.items); + checkUnnamed94(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterCustomChannels--; } -buildUnnamed94() { +buildUnnamed95() { var o = new core.List<api.ReportingMetadataEntry>(); o.add(buildReportingMetadataEntry()); o.add(buildReportingMetadataEntry()); return o; } -checkUnnamed94(core.List<api.ReportingMetadataEntry> o) { +checkUnnamed95(core.List<api.ReportingMetadataEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkReportingMetadataEntry(o[0]); checkReportingMetadataEntry(o[1]); @@ -311,7 +311,7 @@ var o = new api.Metadata(); buildCounterMetadata++; if (buildCounterMetadata < 3) { - o.items = buildUnnamed94(); + o.items = buildUnnamed95(); o.kind = "foo"; } buildCounterMetadata--; @@ -321,7 +321,7 @@ checkMetadata(api.Metadata o) { buildCounterMetadata++; if (buildCounterMetadata < 3) { - checkUnnamed94(o.items); + checkUnnamed95(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterMetadata--; @@ -360,14 +360,14 @@ buildCounterPreferredDeal--; } -buildUnnamed95() { +buildUnnamed96() { var o = new core.List<api.PreferredDeal>(); o.add(buildPreferredDeal()); o.add(buildPreferredDeal()); return o; } -checkUnnamed95(core.List<api.PreferredDeal> o) { +checkUnnamed96(core.List<api.PreferredDeal> o) { unittest.expect(o, unittest.hasLength(2)); checkPreferredDeal(o[0]); checkPreferredDeal(o[1]); @@ -378,7 +378,7 @@ var o = new api.PreferredDeals(); buildCounterPreferredDeals++; if (buildCounterPreferredDeals < 3) { - o.items = buildUnnamed95(); + o.items = buildUnnamed96(); o.kind = "foo"; } buildCounterPreferredDeals--; @@ -388,20 +388,20 @@ checkPreferredDeals(api.PreferredDeals o) { buildCounterPreferredDeals++; if (buildCounterPreferredDeals < 3) { - checkUnnamed95(o.items); + checkUnnamed96(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterPreferredDeals--; } -buildUnnamed96() { +buildUnnamed97() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed96(core.List<core.String> o) { +checkUnnamed97(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -430,56 +430,43 @@ buildCounterReportHeaders--; } -buildUnnamed97() { +buildUnnamed98() { var o = new core.List<api.ReportHeaders>(); o.add(buildReportHeaders()); o.add(buildReportHeaders()); return o; } -checkUnnamed97(core.List<api.ReportHeaders> o) { +checkUnnamed98(core.List<api.ReportHeaders> o) { unittest.expect(o, unittest.hasLength(2)); checkReportHeaders(o[0]); checkReportHeaders(o[1]); } -buildUnnamed98() { +buildUnnamed99() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed98(core.List<core.String> o) { +checkUnnamed99(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed99() { - var o = new core.List<core.List<core.String>>(); - o.add(buildUnnamed98()); - o.add(buildUnnamed98()); - return o; -} - -checkUnnamed99(core.List<core.List<core.String>> o) { - unittest.expect(o, unittest.hasLength(2)); - checkUnnamed98(o[0]); - checkUnnamed98(o[1]); -} - buildUnnamed100() { - var o = new core.List<core.String>(); - o.add("foo"); - o.add("foo"); + var o = new core.List<core.List<core.String>>(); + o.add(buildUnnamed99()); + o.add(buildUnnamed99()); return o; } -checkUnnamed100(core.List<core.String> o) { +checkUnnamed100(core.List<core.List<core.String>> o) { unittest.expect(o, unittest.hasLength(2)); - unittest.expect(o[0], unittest.equals('foo')); - unittest.expect(o[1], unittest.equals('foo')); + checkUnnamed99(o[0]); + checkUnnamed99(o[1]); } buildUnnamed101() { @@ -495,37 +482,6 @@ unittest.expect(o[1], unittest.equals('foo')); } -core.int buildCounterReport = 0; -buildReport() { - var o = new api.Report(); - buildCounterReport++; - if (buildCounterReport < 3) { - o.averages = buildUnnamed96(); - o.headers = buildUnnamed97(); - o.kind = "foo"; - o.rows = buildUnnamed99(); - o.totalMatchedRows = "foo"; - o.totals = buildUnnamed100(); - o.warnings = buildUnnamed101(); - } - buildCounterReport--; - return o; -} - -checkReport(api.Report o) { - buildCounterReport++; - if (buildCounterReport < 3) { - checkUnnamed96(o.averages); - checkUnnamed97(o.headers); - unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed99(o.rows); - unittest.expect(o.totalMatchedRows, unittest.equals('foo')); - checkUnnamed100(o.totals); - checkUnnamed101(o.warnings); - } - buildCounterReport--; -} - buildUnnamed102() { var o = new core.List<core.String>(); o.add("foo"); @@ -539,6 +495,37 @@ unittest.expect(o[1], unittest.equals('foo')); } +core.int buildCounterReport = 0; +buildReport() { + var o = new api.Report(); + buildCounterReport++; + if (buildCounterReport < 3) { + o.averages = buildUnnamed97(); + o.headers = buildUnnamed98(); + o.kind = "foo"; + o.rows = buildUnnamed100(); + o.totalMatchedRows = "foo"; + o.totals = buildUnnamed101(); + o.warnings = buildUnnamed102(); + } + buildCounterReport--; + return o; +} + +checkReport(api.Report o) { + buildCounterReport++; + if (buildCounterReport < 3) { + checkUnnamed97(o.averages); + checkUnnamed98(o.headers); + unittest.expect(o.kind, unittest.equals('foo')); + checkUnnamed100(o.rows); + unittest.expect(o.totalMatchedRows, unittest.equals('foo')); + checkUnnamed101(o.totals); + checkUnnamed102(o.warnings); + } + buildCounterReport--; +} + buildUnnamed103() { var o = new core.List<core.String>(); o.add("foo"); @@ -591,18 +578,31 @@ unittest.expect(o[1], unittest.equals('foo')); } +buildUnnamed107() { + var o = new core.List<core.String>(); + o.add("foo"); + o.add("foo"); + return o; +} + +checkUnnamed107(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect(o[0], unittest.equals('foo')); + unittest.expect(o[1], unittest.equals('foo')); +} + core.int buildCounterReportingMetadataEntry = 0; buildReportingMetadataEntry() { var o = new api.ReportingMetadataEntry(); buildCounterReportingMetadataEntry++; if (buildCounterReportingMetadataEntry < 3) { - o.compatibleDimensions = buildUnnamed102(); - o.compatibleMetrics = buildUnnamed103(); + o.compatibleDimensions = buildUnnamed103(); + o.compatibleMetrics = buildUnnamed104(); o.id = "foo"; o.kind = "foo"; - o.requiredDimensions = buildUnnamed104(); - o.requiredMetrics = buildUnnamed105(); - o.supportedProducts = buildUnnamed106(); + o.requiredDimensions = buildUnnamed105(); + o.requiredMetrics = buildUnnamed106(); + o.supportedProducts = buildUnnamed107(); } buildCounterReportingMetadataEntry--; return o; @@ -611,13 +611,13 @@ checkReportingMetadataEntry(api.ReportingMetadataEntry o) { buildCounterReportingMetadataEntry++; if (buildCounterReportingMetadataEntry < 3) { - checkUnnamed102(o.compatibleDimensions); - checkUnnamed103(o.compatibleMetrics); + checkUnnamed103(o.compatibleDimensions); + checkUnnamed104(o.compatibleMetrics); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed104(o.requiredDimensions); - checkUnnamed105(o.requiredMetrics); - checkUnnamed106(o.supportedProducts); + checkUnnamed105(o.requiredDimensions); + checkUnnamed106(o.requiredMetrics); + checkUnnamed107(o.supportedProducts); } buildCounterReportingMetadataEntry--; } @@ -645,14 +645,14 @@ buildCounterSavedReport--; } -buildUnnamed107() { +buildUnnamed108() { var o = new core.List<api.SavedReport>(); o.add(buildSavedReport()); o.add(buildSavedReport()); return o; } -checkUnnamed107(core.List<api.SavedReport> o) { +checkUnnamed108(core.List<api.SavedReport> o) { unittest.expect(o, unittest.hasLength(2)); checkSavedReport(o[0]); checkSavedReport(o[1]); @@ -664,7 +664,7 @@ buildCounterSavedReports++; if (buildCounterSavedReports < 3) { o.etag = "foo"; - o.items = buildUnnamed107(); + o.items = buildUnnamed108(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -676,7 +676,7 @@ buildCounterSavedReports++; if (buildCounterSavedReports < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed107(o.items); + checkUnnamed108(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -706,14 +706,14 @@ buildCounterUrlChannel--; } -buildUnnamed108() { +buildUnnamed109() { var o = new core.List<api.UrlChannel>(); o.add(buildUrlChannel()); o.add(buildUrlChannel()); return o; } -checkUnnamed108(core.List<api.UrlChannel> o) { +checkUnnamed109(core.List<api.UrlChannel> o) { unittest.expect(o, unittest.hasLength(2)); checkUrlChannel(o[0]); checkUrlChannel(o[1]); @@ -725,7 +725,7 @@ buildCounterUrlChannels++; if (buildCounterUrlChannels < 3) { o.etag = "foo"; - o.items = buildUnnamed108(); + o.items = buildUnnamed109(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -737,26 +737,13 @@ buildCounterUrlChannels++; if (buildCounterUrlChannels < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed108(o.items); + checkUnnamed109(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterUrlChannels--; } -buildUnnamed109() { - var o = new core.List<core.String>(); - o.add("foo"); - o.add("foo"); - return o; -} - -checkUnnamed109(core.List<core.String> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect(o[0], unittest.equals('foo')); - unittest.expect(o[1], unittest.equals('foo')); -} - buildUnnamed110() { var o = new core.List<core.String>(); o.add("foo"); @@ -796,6 +783,19 @@ unittest.expect(o[1], unittest.equals('foo')); } +buildUnnamed113() { + var o = new core.List<core.String>(); + o.add("foo"); + o.add("foo"); + return o; +} + +checkUnnamed113(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect(o[0], unittest.equals('foo')); + unittest.expect(o[1], unittest.equals('foo')); +} + main() { unittest.group("obj-schema-Account", () { @@ -1563,12 +1563,12 @@ var arg_accountId = "foo"; var arg_startDate = "foo"; var arg_endDate = "foo"; - var arg_dimension = buildUnnamed109(); - var arg_filter = buildUnnamed110(); + var arg_dimension = buildUnnamed110(); + var arg_filter = buildUnnamed111(); var arg_locale = "foo"; var arg_maxResults = 42; - var arg_metric = buildUnnamed111(); - var arg_sort = buildUnnamed112(); + var arg_metric = buildUnnamed112(); + var arg_sort = buildUnnamed113(); var arg_startIndex = 42; mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path;
diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart index 2191ebb..4b319a1 100644 --- a/generated/googleapis/test/admin/directory_v1_test.dart +++ b/generated/googleapis/test/admin/directory_v1_test.dart
@@ -43,14 +43,14 @@ buildCounterAlias--; } -buildUnnamed941() { +buildUnnamed919() { var o = new core.List<api.Alias>(); o.add(buildAlias()); o.add(buildAlias()); return o; } -checkUnnamed941(core.List<api.Alias> o) { +checkUnnamed919(core.List<api.Alias> o) { unittest.expect(o, unittest.hasLength(2)); checkAlias(o[0]); checkAlias(o[1]); @@ -61,7 +61,7 @@ var o = new api.Aliases(); buildCounterAliases++; if (buildCounterAliases < 3) { - o.aliases = buildUnnamed941(); + o.aliases = buildUnnamed919(); o.etag = "foo"; o.kind = "foo"; } @@ -72,7 +72,7 @@ checkAliases(api.Aliases o) { buildCounterAliases++; if (buildCounterAliases < 3) { - checkUnnamed941(o.aliases); + checkUnnamed919(o.aliases); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); } @@ -110,14 +110,14 @@ buildCounterAsp--; } -buildUnnamed942() { +buildUnnamed920() { var o = new core.List<api.Asp>(); o.add(buildAsp()); o.add(buildAsp()); return o; } -checkUnnamed942(core.List<api.Asp> o) { +checkUnnamed920(core.List<api.Asp> o) { unittest.expect(o, unittest.hasLength(2)); checkAsp(o[0]); checkAsp(o[1]); @@ -129,7 +129,7 @@ buildCounterAsps++; if (buildCounterAsps < 3) { o.etag = "foo"; - o.items = buildUnnamed942(); + o.items = buildUnnamed920(); o.kind = "foo"; } buildCounterAsps--; @@ -140,20 +140,20 @@ buildCounterAsps++; if (buildCounterAsps < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed942(o.items); + checkUnnamed920(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAsps--; } -buildUnnamed943() { +buildUnnamed921() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed943(core.Map<core.String, core.String> o) { +checkUnnamed921(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); @@ -168,7 +168,7 @@ o.expiration = "foo"; o.id = "foo"; o.kind = "foo"; - o.params = buildUnnamed943(); + o.params = buildUnnamed921(); o.payload = true; o.resourceId = "foo"; o.resourceUri = "foo"; @@ -186,7 +186,7 @@ unittest.expect(o.expiration, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed943(o.params); + checkUnnamed921(o.params); unittest.expect(o.payload, unittest.isTrue); unittest.expect(o.resourceId, unittest.equals('foo')); unittest.expect(o.resourceUri, unittest.equals('foo')); @@ -217,14 +217,14 @@ buildCounterChromeOsDeviceRecentUsers--; } -buildUnnamed944() { +buildUnnamed922() { var o = new core.List<api.ChromeOsDeviceRecentUsers>(); o.add(buildChromeOsDeviceRecentUsers()); o.add(buildChromeOsDeviceRecentUsers()); return o; } -checkUnnamed944(core.List<api.ChromeOsDeviceRecentUsers> o) { +checkUnnamed922(core.List<api.ChromeOsDeviceRecentUsers> o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDeviceRecentUsers(o[0]); checkChromeOsDeviceRecentUsers(o[1]); @@ -253,7 +253,7 @@ o.orgUnitPath = "foo"; o.osVersion = "foo"; o.platformVersion = "foo"; - o.recentUsers = buildUnnamed944(); + o.recentUsers = buildUnnamed922(); o.serialNumber = "foo"; o.status = "foo"; o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02"); @@ -284,7 +284,7 @@ unittest.expect(o.orgUnitPath, unittest.equals('foo')); unittest.expect(o.osVersion, unittest.equals('foo')); unittest.expect(o.platformVersion, unittest.equals('foo')); - checkUnnamed944(o.recentUsers); + checkUnnamed922(o.recentUsers); unittest.expect(o.serialNumber, unittest.equals('foo')); unittest.expect(o.status, unittest.equals('foo')); unittest.expect(o.supportEndDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); @@ -293,14 +293,14 @@ buildCounterChromeOsDevice--; } -buildUnnamed945() { +buildUnnamed923() { var o = new core.List<api.ChromeOsDevice>(); o.add(buildChromeOsDevice()); o.add(buildChromeOsDevice()); return o; } -checkUnnamed945(core.List<api.ChromeOsDevice> o) { +checkUnnamed923(core.List<api.ChromeOsDevice> o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDevice(o[0]); checkChromeOsDevice(o[1]); @@ -311,7 +311,7 @@ var o = new api.ChromeOsDevices(); buildCounterChromeOsDevices++; if (buildCounterChromeOsDevices < 3) { - o.chromeosdevices = buildUnnamed945(); + o.chromeosdevices = buildUnnamed923(); o.etag = "foo"; o.kind = "foo"; o.nextPageToken = "foo"; @@ -323,7 +323,7 @@ checkChromeOsDevices(api.ChromeOsDevices o) { buildCounterChromeOsDevices++; if (buildCounterChromeOsDevices < 3) { - checkUnnamed945(o.chromeosdevices); + checkUnnamed923(o.chromeosdevices); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -331,27 +331,27 @@ buildCounterChromeOsDevices--; } -buildUnnamed946() { +buildUnnamed924() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed946(core.List<core.String> o) { +checkUnnamed924(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed947() { +buildUnnamed925() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed947(core.List<core.String> o) { +checkUnnamed925(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -363,7 +363,7 @@ buildCounterGroup++; if (buildCounterGroup < 3) { o.adminCreated = true; - o.aliases = buildUnnamed946(); + o.aliases = buildUnnamed924(); o.description = "foo"; o.directMembersCount = "foo"; o.email = "foo"; @@ -371,7 +371,7 @@ o.id = "foo"; o.kind = "foo"; o.name = "foo"; - o.nonEditableAliases = buildUnnamed947(); + o.nonEditableAliases = buildUnnamed925(); } buildCounterGroup--; return o; @@ -381,7 +381,7 @@ buildCounterGroup++; if (buildCounterGroup < 3) { unittest.expect(o.adminCreated, unittest.isTrue); - checkUnnamed946(o.aliases); + checkUnnamed924(o.aliases); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.directMembersCount, unittest.equals('foo')); unittest.expect(o.email, unittest.equals('foo')); @@ -389,19 +389,19 @@ unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed947(o.nonEditableAliases); + checkUnnamed925(o.nonEditableAliases); } buildCounterGroup--; } -buildUnnamed948() { +buildUnnamed926() { var o = new core.List<api.Group>(); o.add(buildGroup()); o.add(buildGroup()); return o; } -checkUnnamed948(core.List<api.Group> o) { +checkUnnamed926(core.List<api.Group> o) { unittest.expect(o, unittest.hasLength(2)); checkGroup(o[0]); checkGroup(o[1]); @@ -413,7 +413,7 @@ buildCounterGroups++; if (buildCounterGroups < 3) { o.etag = "foo"; - o.groups = buildUnnamed948(); + o.groups = buildUnnamed926(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -425,7 +425,7 @@ buildCounterGroups++; if (buildCounterGroups < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed948(o.groups); + checkUnnamed926(o.groups); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -461,14 +461,14 @@ buildCounterMember--; } -buildUnnamed949() { +buildUnnamed927() { var o = new core.List<api.Member>(); o.add(buildMember()); o.add(buildMember()); return o; } -checkUnnamed949(core.List<api.Member> o) { +checkUnnamed927(core.List<api.Member> o) { unittest.expect(o, unittest.hasLength(2)); checkMember(o[0]); checkMember(o[1]); @@ -481,7 +481,7 @@ if (buildCounterMembers < 3) { o.etag = "foo"; o.kind = "foo"; - o.members = buildUnnamed949(); + o.members = buildUnnamed927(); o.nextPageToken = "foo"; } buildCounterMembers--; @@ -493,20 +493,20 @@ if (buildCounterMembers < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed949(o.members); + checkUnnamed927(o.members); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterMembers--; } -buildUnnamed950() { +buildUnnamed928() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed950(core.List<core.String> o) { +checkUnnamed928(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -519,7 +519,7 @@ if (buildCounterMobileDeviceApplications < 3) { o.displayName = "foo"; o.packageName = "foo"; - o.permission = buildUnnamed950(); + o.permission = buildUnnamed928(); o.versionCode = 42; o.versionName = "foo"; } @@ -532,47 +532,47 @@ if (buildCounterMobileDeviceApplications < 3) { unittest.expect(o.displayName, unittest.equals('foo')); unittest.expect(o.packageName, unittest.equals('foo')); - checkUnnamed950(o.permission); + checkUnnamed928(o.permission); unittest.expect(o.versionCode, unittest.equals(42)); unittest.expect(o.versionName, unittest.equals('foo')); } buildCounterMobileDeviceApplications--; } -buildUnnamed951() { +buildUnnamed929() { var o = new core.List<api.MobileDeviceApplications>(); o.add(buildMobileDeviceApplications()); o.add(buildMobileDeviceApplications()); return o; } -checkUnnamed951(core.List<api.MobileDeviceApplications> o) { +checkUnnamed929(core.List<api.MobileDeviceApplications> o) { unittest.expect(o, unittest.hasLength(2)); checkMobileDeviceApplications(o[0]); checkMobileDeviceApplications(o[1]); } -buildUnnamed952() { +buildUnnamed930() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed952(core.List<core.String> o) { +checkUnnamed930(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed953() { +buildUnnamed931() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed953(core.List<core.String> o) { +checkUnnamed931(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -583,13 +583,13 @@ var o = new api.MobileDevice(); buildCounterMobileDevice++; if (buildCounterMobileDevice < 3) { - o.applications = buildUnnamed951(); + o.applications = buildUnnamed929(); o.basebandVersion = "foo"; o.buildNumber = "foo"; o.defaultLanguage = "foo"; o.deviceCompromisedStatus = "foo"; o.deviceId = "foo"; - o.email = buildUnnamed952(); + o.email = buildUnnamed930(); o.etag = "foo"; o.firstSync = core.DateTime.parse("2002-02-27T14:01:02"); o.hardwareId = "foo"; @@ -600,7 +600,7 @@ o.managedAccountIsOnOwnerProfile = true; o.meid = "foo"; o.model = "foo"; - o.name = buildUnnamed953(); + o.name = buildUnnamed931(); o.networkOperator = "foo"; o.os = "foo"; o.resourceId = "foo"; @@ -617,13 +617,13 @@ checkMobileDevice(api.MobileDevice o) { buildCounterMobileDevice++; if (buildCounterMobileDevice < 3) { - checkUnnamed951(o.applications); + checkUnnamed929(o.applications); unittest.expect(o.basebandVersion, unittest.equals('foo')); unittest.expect(o.buildNumber, unittest.equals('foo')); unittest.expect(o.defaultLanguage, unittest.equals('foo')); unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo')); unittest.expect(o.deviceId, unittest.equals('foo')); - checkUnnamed952(o.email); + checkUnnamed930(o.email); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.hardwareId, unittest.equals('foo')); @@ -634,7 +634,7 @@ unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue); unittest.expect(o.meid, unittest.equals('foo')); unittest.expect(o.model, unittest.equals('foo')); - checkUnnamed953(o.name); + checkUnnamed931(o.name); unittest.expect(o.networkOperator, unittest.equals('foo')); unittest.expect(o.os, unittest.equals('foo')); unittest.expect(o.resourceId, unittest.equals('foo')); @@ -666,14 +666,14 @@ buildCounterMobileDeviceAction--; } -buildUnnamed954() { +buildUnnamed932() { var o = new core.List<api.MobileDevice>(); o.add(buildMobileDevice()); o.add(buildMobileDevice()); return o; } -checkUnnamed954(core.List<api.MobileDevice> o) { +checkUnnamed932(core.List<api.MobileDevice> o) { unittest.expect(o, unittest.hasLength(2)); checkMobileDevice(o[0]); checkMobileDevice(o[1]); @@ -686,7 +686,7 @@ if (buildCounterMobileDevices < 3) { o.etag = "foo"; o.kind = "foo"; - o.mobiledevices = buildUnnamed954(); + o.mobiledevices = buildUnnamed932(); o.nextPageToken = "foo"; } buildCounterMobileDevices--; @@ -698,7 +698,7 @@ if (buildCounterMobileDevices < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed954(o.mobiledevices); + checkUnnamed932(o.mobiledevices); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterMobileDevices--; @@ -737,14 +737,14 @@ buildCounterNotification--; } -buildUnnamed955() { +buildUnnamed933() { var o = new core.List<api.Notification>(); o.add(buildNotification()); o.add(buildNotification()); return o; } -checkUnnamed955(core.List<api.Notification> o) { +checkUnnamed933(core.List<api.Notification> o) { unittest.expect(o, unittest.hasLength(2)); checkNotification(o[0]); checkNotification(o[1]); @@ -756,7 +756,7 @@ buildCounterNotifications++; if (buildCounterNotifications < 3) { o.etag = "foo"; - o.items = buildUnnamed955(); + o.items = buildUnnamed933(); o.kind = "foo"; o.nextPageToken = "foo"; o.unreadNotificationsCount = 42; @@ -769,7 +769,7 @@ buildCounterNotifications++; if (buildCounterNotifications < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed955(o.items); + checkUnnamed933(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.unreadNotificationsCount, unittest.equals(42)); @@ -808,14 +808,14 @@ buildCounterOrgUnit--; } -buildUnnamed956() { +buildUnnamed934() { var o = new core.List<api.OrgUnit>(); o.add(buildOrgUnit()); o.add(buildOrgUnit()); return o; } -checkUnnamed956(core.List<api.OrgUnit> o) { +checkUnnamed934(core.List<api.OrgUnit> o) { unittest.expect(o, unittest.hasLength(2)); checkOrgUnit(o[0]); checkOrgUnit(o[1]); @@ -828,7 +828,7 @@ if (buildCounterOrgUnits < 3) { o.etag = "foo"; o.kind = "foo"; - o.organizationUnits = buildUnnamed956(); + o.organizationUnits = buildUnnamed934(); } buildCounterOrgUnits--; return o; @@ -839,19 +839,19 @@ if (buildCounterOrgUnits < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed956(o.organizationUnits); + checkUnnamed934(o.organizationUnits); } buildCounterOrgUnits--; } -buildUnnamed957() { +buildUnnamed935() { var o = new core.List<api.SchemaFieldSpec>(); o.add(buildSchemaFieldSpec()); o.add(buildSchemaFieldSpec()); return o; } -checkUnnamed957(core.List<api.SchemaFieldSpec> o) { +checkUnnamed935(core.List<api.SchemaFieldSpec> o) { unittest.expect(o, unittest.hasLength(2)); checkSchemaFieldSpec(o[0]); checkSchemaFieldSpec(o[1]); @@ -863,7 +863,7 @@ buildCounterSchema++; if (buildCounterSchema < 3) { o.etag = "foo"; - o.fields = buildUnnamed957(); + o.fields = buildUnnamed935(); o.kind = "foo"; o.schemaId = "foo"; o.schemaName = "foo"; @@ -876,7 +876,7 @@ buildCounterSchema++; if (buildCounterSchema < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed957(o.fields); + checkUnnamed935(o.fields); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.schemaId, unittest.equals('foo')); unittest.expect(o.schemaName, unittest.equals('foo')); @@ -940,14 +940,14 @@ buildCounterSchemaFieldSpec--; } -buildUnnamed958() { +buildUnnamed936() { var o = new core.List<api.Schema>(); o.add(buildSchema()); o.add(buildSchema()); return o; } -checkUnnamed958(core.List<api.Schema> o) { +checkUnnamed936(core.List<api.Schema> o) { unittest.expect(o, unittest.hasLength(2)); checkSchema(o[0]); checkSchema(o[1]); @@ -960,7 +960,7 @@ if (buildCounterSchemas < 3) { o.etag = "foo"; o.kind = "foo"; - o.schemas = buildUnnamed958(); + o.schemas = buildUnnamed936(); } buildCounterSchemas--; return o; @@ -971,19 +971,19 @@ if (buildCounterSchemas < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed958(o.schemas); + checkUnnamed936(o.schemas); } buildCounterSchemas--; } -buildUnnamed959() { +buildUnnamed937() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed959(core.List<core.String> o) { +checkUnnamed937(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1000,7 +1000,7 @@ o.etag = "foo"; o.kind = "foo"; o.nativeApp = true; - o.scopes = buildUnnamed959(); + o.scopes = buildUnnamed937(); o.userKey = "foo"; } buildCounterToken--; @@ -1016,20 +1016,20 @@ unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nativeApp, unittest.isTrue); - checkUnnamed959(o.scopes); + checkUnnamed937(o.scopes); unittest.expect(o.userKey, unittest.equals('foo')); } buildCounterToken--; } -buildUnnamed960() { +buildUnnamed938() { var o = new core.List<api.Token>(); o.add(buildToken()); o.add(buildToken()); return o; } -checkUnnamed960(core.List<api.Token> o) { +checkUnnamed938(core.List<api.Token> o) { unittest.expect(o, unittest.hasLength(2)); checkToken(o[0]); checkToken(o[1]); @@ -1041,7 +1041,7 @@ buildCounterTokens++; if (buildCounterTokens < 3) { o.etag = "foo"; - o.items = buildUnnamed960(); + o.items = buildUnnamed938(); o.kind = "foo"; } buildCounterTokens--; @@ -1052,46 +1052,46 @@ buildCounterTokens++; if (buildCounterTokens < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed960(o.items); + checkUnnamed938(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterTokens--; } -buildUnnamed961() { +buildUnnamed939() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed961(core.List<core.String> o) { +checkUnnamed939(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed962() { +buildUnnamed940() { var o = new core.Map<core.String, api.UserCustomProperties>(); o["x"] = buildUserCustomProperties(); o["y"] = buildUserCustomProperties(); return o; } -checkUnnamed962(core.Map<core.String, api.UserCustomProperties> o) { +checkUnnamed940(core.Map<core.String, api.UserCustomProperties> o) { unittest.expect(o, unittest.hasLength(2)); checkUserCustomProperties(o["x"]); checkUserCustomProperties(o["y"]); } -buildUnnamed963() { +buildUnnamed941() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed963(core.List<core.String> o) { +checkUnnamed941(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1104,10 +1104,10 @@ if (buildCounterUser < 3) { o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; o.agreedToTerms = true; - o.aliases = buildUnnamed961(); + o.aliases = buildUnnamed939(); o.changePasswordAtNextLogin = true; o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); - o.customSchemas = buildUnnamed962(); + o.customSchemas = buildUnnamed940(); o.customerId = "foo"; o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02"); o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; @@ -1124,7 +1124,7 @@ o.kind = "foo"; o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); o.name = buildUserName(); - o.nonEditableAliases = buildUnnamed963(); + o.nonEditableAliases = buildUnnamed941(); o.orgUnitPath = "foo"; o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; o.password = "foo"; @@ -1144,10 +1144,10 @@ if (buildCounterUser < 3) { var casted1 = (o.addresses) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); unittest.expect(o.agreedToTerms, unittest.isTrue); - checkUnnamed961(o.aliases); + checkUnnamed939(o.aliases); unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue); unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - checkUnnamed962(o.customSchemas); + checkUnnamed940(o.customSchemas); unittest.expect(o.customerId, unittest.equals('foo')); unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); var casted2 = (o.emails) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); @@ -1164,7 +1164,7 @@ unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); checkUserName(o.name); - checkUnnamed963(o.nonEditableAliases); + checkUnnamed941(o.nonEditableAliases); unittest.expect(o.orgUnitPath, unittest.equals('foo')); var casted5 = (o.organizations) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo')); unittest.expect(o.password, unittest.equals('foo')); @@ -1492,14 +1492,14 @@ buildCounterUserUndelete--; } -buildUnnamed964() { +buildUnnamed942() { var o = new core.List<api.User>(); o.add(buildUser()); o.add(buildUser()); return o; } -checkUnnamed964(core.List<api.User> o) { +checkUnnamed942(core.List<api.User> o) { unittest.expect(o, unittest.hasLength(2)); checkUser(o[0]); checkUser(o[1]); @@ -1514,7 +1514,7 @@ o.kind = "foo"; o.nextPageToken = "foo"; o.triggerEvent = "foo"; - o.users = buildUnnamed964(); + o.users = buildUnnamed942(); } buildCounterUsers--; return o; @@ -1527,7 +1527,7 @@ unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.triggerEvent, unittest.equals('foo')); - checkUnnamed964(o.users); + checkUnnamed942(o.users); } buildCounterUsers--; } @@ -1557,14 +1557,14 @@ buildCounterVerificationCode--; } -buildUnnamed965() { +buildUnnamed943() { var o = new core.List<api.VerificationCode>(); o.add(buildVerificationCode()); o.add(buildVerificationCode()); return o; } -checkUnnamed965(core.List<api.VerificationCode> o) { +checkUnnamed943(core.List<api.VerificationCode> o) { unittest.expect(o, unittest.hasLength(2)); checkVerificationCode(o[0]); checkVerificationCode(o[1]); @@ -1576,7 +1576,7 @@ buildCounterVerificationCodes++; if (buildCounterVerificationCodes < 3) { o.etag = "foo"; - o.items = buildUnnamed965(); + o.items = buildUnnamed943(); o.kind = "foo"; } buildCounterVerificationCodes--; @@ -1587,59 +1587,59 @@ buildCounterVerificationCodes++; if (buildCounterVerificationCodes < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed965(o.items); + checkUnnamed943(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterVerificationCodes--; } -buildUnnamed966() { +buildUnnamed944() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed966(core.List<core.String> o) { +checkUnnamed944(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed967() { +buildUnnamed945() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed967(core.List<core.String> o) { +checkUnnamed945(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed968() { +buildUnnamed946() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed968(core.List<core.String> o) { +checkUnnamed946(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed969() { +buildUnnamed947() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed969(core.List<core.String> o) { +checkUnnamed947(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3879,7 +3879,7 @@ var mock = new common_test.HttpServerMock(); api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; var arg_customerId = "foo"; - var arg_orgUnitPath = buildUnnamed966(); + var arg_orgUnitPath = buildUnnamed944(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0; @@ -3933,7 +3933,7 @@ var mock = new common_test.HttpServerMock(); api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; var arg_customerId = "foo"; - var arg_orgUnitPath = buildUnnamed967(); + var arg_orgUnitPath = buildUnnamed945(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0; @@ -4104,7 +4104,7 @@ api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; var arg_request = buildOrgUnit(); var arg_customerId = "foo"; - var arg_orgUnitPath = buildUnnamed968(); + var arg_orgUnitPath = buildUnnamed946(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var obj = new api.OrgUnit.fromJson(json); checkOrgUnit(obj); @@ -4164,7 +4164,7 @@ api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; var arg_request = buildOrgUnit(); var arg_customerId = "foo"; - var arg_orgUnitPath = buildUnnamed969(); + var arg_orgUnitPath = buildUnnamed947(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var obj = new api.OrgUnit.fromJson(json); checkOrgUnit(obj);
diff --git a/generated/googleapis/test/admin/email_migration_v2_test.dart b/generated/googleapis/test/admin/email_migration_v2_test.dart index f309675..8bb3a70 100644 --- a/generated/googleapis/test/admin/email_migration_v2_test.dart +++ b/generated/googleapis/test/admin/email_migration_v2_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed763() { +buildUnnamed737() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed763(core.List<core.String> o) { +checkUnnamed737(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -42,7 +42,7 @@ o.isTrash = true; o.isUnread = true; o.kind = "foo"; - o.labels = buildUnnamed763(); + o.labels = buildUnnamed737(); } buildCounterMailItem--; return o; @@ -59,7 +59,7 @@ unittest.expect(o.isTrash, unittest.isTrue); unittest.expect(o.isUnread, unittest.isTrue); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed763(o.labels); + checkUnnamed737(o.labels); } buildCounterMailItem--; }
diff --git a/generated/googleapis/test/admin/reports_v1_test.dart b/generated/googleapis/test/admin/reports_v1_test.dart index 0bdcc65..b7cf102 100644 --- a/generated/googleapis/test/admin/reports_v1_test.dart +++ b/generated/googleapis/test/admin/reports_v1_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed806() { +buildUnnamed780() { var o = new core.List<api.Activity>(); o.add(buildActivity()); o.add(buildActivity()); return o; } -checkUnnamed806(core.List<api.Activity> o) { +checkUnnamed780(core.List<api.Activity> o) { unittest.expect(o, unittest.hasLength(2)); checkActivity(o[0]); checkActivity(o[1]); @@ -35,7 +35,7 @@ buildCounterActivities++; if (buildCounterActivities < 3) { o.etag = "foo"; - o.items = buildUnnamed806(); + o.items = buildUnnamed780(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -47,7 +47,7 @@ buildCounterActivities++; if (buildCounterActivities < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed806(o.items); + checkUnnamed780(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -79,27 +79,27 @@ buildCounterActivityActor--; } -buildUnnamed807() { +buildUnnamed781() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed807(core.List<core.String> o) { +checkUnnamed781(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed808() { +buildUnnamed782() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed808(core.List<core.String> o) { +checkUnnamed782(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -112,8 +112,8 @@ if (buildCounterActivityEventsParameters < 3) { o.boolValue = true; o.intValue = "foo"; - o.multiIntValue = buildUnnamed807(); - o.multiValue = buildUnnamed808(); + o.multiIntValue = buildUnnamed781(); + o.multiValue = buildUnnamed782(); o.name = "foo"; o.value = "foo"; } @@ -126,22 +126,22 @@ if (buildCounterActivityEventsParameters < 3) { unittest.expect(o.boolValue, unittest.isTrue); unittest.expect(o.intValue, unittest.equals('foo')); - checkUnnamed807(o.multiIntValue); - checkUnnamed808(o.multiValue); + checkUnnamed781(o.multiIntValue); + checkUnnamed782(o.multiValue); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.value, unittest.equals('foo')); } buildCounterActivityEventsParameters--; } -buildUnnamed809() { +buildUnnamed783() { var o = new core.List<api.ActivityEventsParameters>(); o.add(buildActivityEventsParameters()); o.add(buildActivityEventsParameters()); return o; } -checkUnnamed809(core.List<api.ActivityEventsParameters> o) { +checkUnnamed783(core.List<api.ActivityEventsParameters> o) { unittest.expect(o, unittest.hasLength(2)); checkActivityEventsParameters(o[0]); checkActivityEventsParameters(o[1]); @@ -153,7 +153,7 @@ buildCounterActivityEvents++; if (buildCounterActivityEvents < 3) { o.name = "foo"; - o.parameters = buildUnnamed809(); + o.parameters = buildUnnamed783(); o.type = "foo"; } buildCounterActivityEvents--; @@ -164,20 +164,20 @@ buildCounterActivityEvents++; if (buildCounterActivityEvents < 3) { unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed809(o.parameters); + checkUnnamed783(o.parameters); unittest.expect(o.type, unittest.equals('foo')); } buildCounterActivityEvents--; } -buildUnnamed810() { +buildUnnamed784() { var o = new core.List<api.ActivityEvents>(); o.add(buildActivityEvents()); o.add(buildActivityEvents()); return o; } -checkUnnamed810(core.List<api.ActivityEvents> o) { +checkUnnamed784(core.List<api.ActivityEvents> o) { unittest.expect(o, unittest.hasLength(2)); checkActivityEvents(o[0]); checkActivityEvents(o[1]); @@ -215,7 +215,7 @@ if (buildCounterActivity < 3) { o.actor = buildActivityActor(); o.etag = "foo"; - o.events = buildUnnamed810(); + o.events = buildUnnamed784(); o.id = buildActivityId(); o.ipAddress = "foo"; o.kind = "foo"; @@ -230,7 +230,7 @@ if (buildCounterActivity < 3) { checkActivityActor(o.actor); unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed810(o.events); + checkUnnamed784(o.events); checkActivityId(o.id); unittest.expect(o.ipAddress, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); @@ -239,14 +239,14 @@ buildCounterActivity--; } -buildUnnamed811() { +buildUnnamed785() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed811(core.Map<core.String, core.String> o) { +checkUnnamed785(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); @@ -261,7 +261,7 @@ o.expiration = "foo"; o.id = "foo"; o.kind = "foo"; - o.params = buildUnnamed811(); + o.params = buildUnnamed785(); o.payload = true; o.resourceId = "foo"; o.resourceUri = "foo"; @@ -279,7 +279,7 @@ unittest.expect(o.expiration, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed811(o.params); + checkUnnamed785(o.params); unittest.expect(o.payload, unittest.isTrue); unittest.expect(o.resourceId, unittest.equals('foo')); unittest.expect(o.resourceUri, unittest.equals('foo')); @@ -314,30 +314,30 @@ buildCounterUsageReportEntity--; } -buildUnnamed812() { +buildUnnamed786() { var o = new core.Map<core.String, core.Object>(); o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; return o; } -checkUnnamed812(core.Map<core.String, core.Object> o) { +checkUnnamed786(core.Map<core.String, core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); } -buildUnnamed813() { +buildUnnamed787() { var o = new core.List<core.Map<core.String, core.Object>>(); - o.add(buildUnnamed812()); - o.add(buildUnnamed812()); + o.add(buildUnnamed786()); + o.add(buildUnnamed786()); return o; } -checkUnnamed813(core.List<core.Map<core.String, core.Object>> o) { +checkUnnamed787(core.List<core.Map<core.String, core.Object>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed812(o[0]); - checkUnnamed812(o[1]); + checkUnnamed786(o[0]); + checkUnnamed786(o[1]); } core.int buildCounterUsageReportParameters = 0; @@ -348,7 +348,7 @@ o.boolValue = true; o.datetimeValue = core.DateTime.parse("2002-02-27T14:01:02"); o.intValue = "foo"; - o.msgValue = buildUnnamed813(); + o.msgValue = buildUnnamed787(); o.name = "foo"; o.stringValue = "foo"; } @@ -362,21 +362,21 @@ unittest.expect(o.boolValue, unittest.isTrue); unittest.expect(o.datetimeValue, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.intValue, unittest.equals('foo')); - checkUnnamed813(o.msgValue); + checkUnnamed787(o.msgValue); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.stringValue, unittest.equals('foo')); } buildCounterUsageReportParameters--; } -buildUnnamed814() { +buildUnnamed788() { var o = new core.List<api.UsageReportParameters>(); o.add(buildUsageReportParameters()); o.add(buildUsageReportParameters()); return o; } -checkUnnamed814(core.List<api.UsageReportParameters> o) { +checkUnnamed788(core.List<api.UsageReportParameters> o) { unittest.expect(o, unittest.hasLength(2)); checkUsageReportParameters(o[0]); checkUsageReportParameters(o[1]); @@ -391,7 +391,7 @@ o.entity = buildUsageReportEntity(); o.etag = "foo"; o.kind = "foo"; - o.parameters = buildUnnamed814(); + o.parameters = buildUnnamed788(); } buildCounterUsageReport--; return o; @@ -404,19 +404,19 @@ checkUsageReportEntity(o.entity); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed814(o.parameters); + checkUnnamed788(o.parameters); } buildCounterUsageReport--; } -buildUnnamed815() { +buildUnnamed789() { var o = new core.List<api.UsageReport>(); o.add(buildUsageReport()); o.add(buildUsageReport()); return o; } -checkUnnamed815(core.List<api.UsageReport> o) { +checkUnnamed789(core.List<api.UsageReport> o) { unittest.expect(o, unittest.hasLength(2)); checkUsageReport(o[0]); checkUsageReport(o[1]); @@ -443,14 +443,14 @@ buildCounterUsageReportsWarningsData--; } -buildUnnamed816() { +buildUnnamed790() { var o = new core.List<api.UsageReportsWarningsData>(); o.add(buildUsageReportsWarningsData()); o.add(buildUsageReportsWarningsData()); return o; } -checkUnnamed816(core.List<api.UsageReportsWarningsData> o) { +checkUnnamed790(core.List<api.UsageReportsWarningsData> o) { unittest.expect(o, unittest.hasLength(2)); checkUsageReportsWarningsData(o[0]); checkUsageReportsWarningsData(o[1]); @@ -462,7 +462,7 @@ buildCounterUsageReportsWarnings++; if (buildCounterUsageReportsWarnings < 3) { o.code = "foo"; - o.data = buildUnnamed816(); + o.data = buildUnnamed790(); o.message = "foo"; } buildCounterUsageReportsWarnings--; @@ -473,20 +473,20 @@ buildCounterUsageReportsWarnings++; if (buildCounterUsageReportsWarnings < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed816(o.data); + checkUnnamed790(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterUsageReportsWarnings--; } -buildUnnamed817() { +buildUnnamed791() { var o = new core.List<api.UsageReportsWarnings>(); o.add(buildUsageReportsWarnings()); o.add(buildUsageReportsWarnings()); return o; } -checkUnnamed817(core.List<api.UsageReportsWarnings> o) { +checkUnnamed791(core.List<api.UsageReportsWarnings> o) { unittest.expect(o, unittest.hasLength(2)); checkUsageReportsWarnings(o[0]); checkUsageReportsWarnings(o[1]); @@ -500,8 +500,8 @@ o.etag = "foo"; o.kind = "foo"; o.nextPageToken = "foo"; - o.usageReports = buildUnnamed815(); - o.warnings = buildUnnamed817(); + o.usageReports = buildUnnamed789(); + o.warnings = buildUnnamed791(); } buildCounterUsageReports--; return o; @@ -513,8 +513,8 @@ unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed815(o.usageReports); - checkUnnamed817(o.warnings); + checkUnnamed789(o.usageReports); + checkUnnamed791(o.warnings); } buildCounterUsageReports--; }
diff --git a/generated/googleapis/test/adsense/v1_4_test.dart b/generated/googleapis/test/adsense/v1_4_test.dart index 31f7d49..e3ccfa0 100644 --- a/generated/googleapis/test/adsense/v1_4_test.dart +++ b/generated/googleapis/test/adsense/v1_4_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed536() { +buildUnnamed510() { var o = new core.List<api.Account>(); o.add(buildAccount()); o.add(buildAccount()); return o; } -checkUnnamed536(core.List<api.Account> o) { +checkUnnamed510(core.List<api.Account> o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -38,7 +38,7 @@ o.kind = "foo"; o.name = "foo"; o.premium = true; - o.subAccounts = buildUnnamed536(); + o.subAccounts = buildUnnamed510(); o.timezone = "foo"; } buildCounterAccount--; @@ -52,20 +52,20 @@ unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.premium, unittest.isTrue); - checkUnnamed536(o.subAccounts); + checkUnnamed510(o.subAccounts); unittest.expect(o.timezone, unittest.equals('foo')); } buildCounterAccount--; } -buildUnnamed537() { +buildUnnamed511() { var o = new core.List<api.Account>(); o.add(buildAccount()); o.add(buildAccount()); return o; } -checkUnnamed537(core.List<api.Account> o) { +checkUnnamed511(core.List<api.Account> o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -77,7 +77,7 @@ buildCounterAccounts++; if (buildCounterAccounts < 3) { o.etag = "foo"; - o.items = buildUnnamed537(); + o.items = buildUnnamed511(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -89,7 +89,7 @@ buildCounterAccounts++; if (buildCounterAccounts < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed537(o.items); + checkUnnamed511(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -125,14 +125,14 @@ buildCounterAdClient--; } -buildUnnamed538() { +buildUnnamed512() { var o = new core.List<api.AdClient>(); o.add(buildAdClient()); o.add(buildAdClient()); return o; } -checkUnnamed538(core.List<api.AdClient> o) { +checkUnnamed512(core.List<api.AdClient> o) { unittest.expect(o, unittest.hasLength(2)); checkAdClient(o[0]); checkAdClient(o[1]); @@ -144,7 +144,7 @@ buildCounterAdClients++; if (buildCounterAdClients < 3) { o.etag = "foo"; - o.items = buildUnnamed538(); + o.items = buildUnnamed512(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -156,7 +156,7 @@ buildCounterAdClients++; if (buildCounterAdClients < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed538(o.items); + checkUnnamed512(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -390,14 +390,14 @@ buildCounterAdUnit--; } -buildUnnamed539() { +buildUnnamed513() { var o = new core.List<api.AdUnit>(); o.add(buildAdUnit()); o.add(buildAdUnit()); return o; } -checkUnnamed539(core.List<api.AdUnit> o) { +checkUnnamed513(core.List<api.AdUnit> o) { unittest.expect(o, unittest.hasLength(2)); checkAdUnit(o[0]); checkAdUnit(o[1]); @@ -409,7 +409,7 @@ buildCounterAdUnits++; if (buildCounterAdUnits < 3) { o.etag = "foo"; - o.items = buildUnnamed539(); + o.items = buildUnnamed513(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -421,21 +421,21 @@ buildCounterAdUnits++; if (buildCounterAdUnits < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed539(o.items); + checkUnnamed513(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterAdUnits--; } -buildUnnamed540() { +buildUnnamed514() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed540(core.List<core.String> o) { +checkUnnamed514(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -464,66 +464,66 @@ buildCounterAdsenseReportsGenerateResponseHeaders--; } -buildUnnamed541() { +buildUnnamed515() { var o = new core.List<api.AdsenseReportsGenerateResponseHeaders>(); o.add(buildAdsenseReportsGenerateResponseHeaders()); o.add(buildAdsenseReportsGenerateResponseHeaders()); return o; } -checkUnnamed541(core.List<api.AdsenseReportsGenerateResponseHeaders> o) { +checkUnnamed515(core.List<api.AdsenseReportsGenerateResponseHeaders> o) { unittest.expect(o, unittest.hasLength(2)); checkAdsenseReportsGenerateResponseHeaders(o[0]); checkAdsenseReportsGenerateResponseHeaders(o[1]); } -buildUnnamed542() { +buildUnnamed516() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed542(core.List<core.String> o) { +checkUnnamed516(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed543() { +buildUnnamed517() { var o = new core.List<core.List<core.String>>(); - o.add(buildUnnamed542()); - o.add(buildUnnamed542()); + o.add(buildUnnamed516()); + o.add(buildUnnamed516()); return o; } -checkUnnamed543(core.List<core.List<core.String>> o) { +checkUnnamed517(core.List<core.List<core.String>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed542(o[0]); - checkUnnamed542(o[1]); + checkUnnamed516(o[0]); + checkUnnamed516(o[1]); } -buildUnnamed544() { +buildUnnamed518() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed544(core.List<core.String> o) { +checkUnnamed518(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed545() { +buildUnnamed519() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed545(core.List<core.String> o) { +checkUnnamed519(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -534,15 +534,15 @@ var o = new api.AdsenseReportsGenerateResponse(); buildCounterAdsenseReportsGenerateResponse++; if (buildCounterAdsenseReportsGenerateResponse < 3) { - o.averages = buildUnnamed540(); + o.averages = buildUnnamed514(); o.endDate = "foo"; - o.headers = buildUnnamed541(); + o.headers = buildUnnamed515(); o.kind = "foo"; - o.rows = buildUnnamed543(); + o.rows = buildUnnamed517(); o.startDate = "foo"; o.totalMatchedRows = "foo"; - o.totals = buildUnnamed544(); - o.warnings = buildUnnamed545(); + o.totals = buildUnnamed518(); + o.warnings = buildUnnamed519(); } buildCounterAdsenseReportsGenerateResponse--; return o; @@ -551,15 +551,15 @@ checkAdsenseReportsGenerateResponse(api.AdsenseReportsGenerateResponse o) { buildCounterAdsenseReportsGenerateResponse++; if (buildCounterAdsenseReportsGenerateResponse < 3) { - checkUnnamed540(o.averages); + checkUnnamed514(o.averages); unittest.expect(o.endDate, unittest.equals('foo')); - checkUnnamed541(o.headers); + checkUnnamed515(o.headers); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed543(o.rows); + checkUnnamed517(o.rows); unittest.expect(o.startDate, unittest.equals('foo')); unittest.expect(o.totalMatchedRows, unittest.equals('foo')); - checkUnnamed544(o.totals); - checkUnnamed545(o.warnings); + checkUnnamed518(o.totals); + checkUnnamed519(o.warnings); } buildCounterAdsenseReportsGenerateResponse--; } @@ -593,14 +593,14 @@ buildCounterAlert--; } -buildUnnamed546() { +buildUnnamed520() { var o = new core.List<api.Alert>(); o.add(buildAlert()); o.add(buildAlert()); return o; } -checkUnnamed546(core.List<api.Alert> o) { +checkUnnamed520(core.List<api.Alert> o) { unittest.expect(o, unittest.hasLength(2)); checkAlert(o[0]); checkAlert(o[1]); @@ -611,7 +611,7 @@ var o = new api.Alerts(); buildCounterAlerts++; if (buildCounterAlerts < 3) { - o.items = buildUnnamed546(); + o.items = buildUnnamed520(); o.kind = "foo"; } buildCounterAlerts--; @@ -621,7 +621,7 @@ checkAlerts(api.Alerts o) { buildCounterAlerts++; if (buildCounterAlerts < 3) { - checkUnnamed546(o.items); + checkUnnamed520(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAlerts--; @@ -679,14 +679,14 @@ buildCounterCustomChannel--; } -buildUnnamed547() { +buildUnnamed521() { var o = new core.List<api.CustomChannel>(); o.add(buildCustomChannel()); o.add(buildCustomChannel()); return o; } -checkUnnamed547(core.List<api.CustomChannel> o) { +checkUnnamed521(core.List<api.CustomChannel> o) { unittest.expect(o, unittest.hasLength(2)); checkCustomChannel(o[0]); checkCustomChannel(o[1]); @@ -698,7 +698,7 @@ buildCounterCustomChannels++; if (buildCounterCustomChannels < 3) { o.etag = "foo"; - o.items = buildUnnamed547(); + o.items = buildUnnamed521(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -710,21 +710,21 @@ buildCounterCustomChannels++; if (buildCounterCustomChannels < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed547(o.items); + checkUnnamed521(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterCustomChannels--; } -buildUnnamed548() { +buildUnnamed522() { var o = new core.List<api.ReportingMetadataEntry>(); o.add(buildReportingMetadataEntry()); o.add(buildReportingMetadataEntry()); return o; } -checkUnnamed548(core.List<api.ReportingMetadataEntry> o) { +checkUnnamed522(core.List<api.ReportingMetadataEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkReportingMetadataEntry(o[0]); checkReportingMetadataEntry(o[1]); @@ -735,7 +735,7 @@ var o = new api.Metadata(); buildCounterMetadata++; if (buildCounterMetadata < 3) { - o.items = buildUnnamed548(); + o.items = buildUnnamed522(); o.kind = "foo"; } buildCounterMetadata--; @@ -745,7 +745,7 @@ checkMetadata(api.Metadata o) { buildCounterMetadata++; if (buildCounterMetadata < 3) { - checkUnnamed548(o.items); + checkUnnamed522(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterMetadata--; @@ -778,14 +778,14 @@ buildCounterPayment--; } -buildUnnamed549() { +buildUnnamed523() { var o = new core.List<api.Payment>(); o.add(buildPayment()); o.add(buildPayment()); return o; } -checkUnnamed549(core.List<api.Payment> o) { +checkUnnamed523(core.List<api.Payment> o) { unittest.expect(o, unittest.hasLength(2)); checkPayment(o[0]); checkPayment(o[1]); @@ -796,7 +796,7 @@ var o = new api.Payments(); buildCounterPayments++; if (buildCounterPayments < 3) { - o.items = buildUnnamed549(); + o.items = buildUnnamed523(); o.kind = "foo"; } buildCounterPayments--; @@ -806,72 +806,72 @@ checkPayments(api.Payments o) { buildCounterPayments++; if (buildCounterPayments < 3) { - checkUnnamed549(o.items); + checkUnnamed523(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterPayments--; } -buildUnnamed550() { +buildUnnamed524() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed550(core.List<core.String> o) { +checkUnnamed524(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed551() { +buildUnnamed525() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed551(core.List<core.String> o) { +checkUnnamed525(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed552() { +buildUnnamed526() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed552(core.List<core.String> o) { +checkUnnamed526(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed553() { +buildUnnamed527() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed553(core.List<core.String> o) { +checkUnnamed527(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed554() { +buildUnnamed528() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed554(core.List<core.String> o) { +checkUnnamed528(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -882,13 +882,13 @@ var o = new api.ReportingMetadataEntry(); buildCounterReportingMetadataEntry++; if (buildCounterReportingMetadataEntry < 3) { - o.compatibleDimensions = buildUnnamed550(); - o.compatibleMetrics = buildUnnamed551(); + o.compatibleDimensions = buildUnnamed524(); + o.compatibleMetrics = buildUnnamed525(); o.id = "foo"; o.kind = "foo"; - o.requiredDimensions = buildUnnamed552(); - o.requiredMetrics = buildUnnamed553(); - o.supportedProducts = buildUnnamed554(); + o.requiredDimensions = buildUnnamed526(); + o.requiredMetrics = buildUnnamed527(); + o.supportedProducts = buildUnnamed528(); } buildCounterReportingMetadataEntry--; return o; @@ -897,13 +897,13 @@ checkReportingMetadataEntry(api.ReportingMetadataEntry o) { buildCounterReportingMetadataEntry++; if (buildCounterReportingMetadataEntry < 3) { - checkUnnamed550(o.compatibleDimensions); - checkUnnamed551(o.compatibleMetrics); + checkUnnamed524(o.compatibleDimensions); + checkUnnamed525(o.compatibleMetrics); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed552(o.requiredDimensions); - checkUnnamed553(o.requiredMetrics); - checkUnnamed554(o.supportedProducts); + checkUnnamed526(o.requiredDimensions); + checkUnnamed527(o.requiredMetrics); + checkUnnamed528(o.supportedProducts); } buildCounterReportingMetadataEntry--; } @@ -933,14 +933,14 @@ buildCounterSavedAdStyle--; } -buildUnnamed555() { +buildUnnamed529() { var o = new core.List<api.SavedAdStyle>(); o.add(buildSavedAdStyle()); o.add(buildSavedAdStyle()); return o; } -checkUnnamed555(core.List<api.SavedAdStyle> o) { +checkUnnamed529(core.List<api.SavedAdStyle> o) { unittest.expect(o, unittest.hasLength(2)); checkSavedAdStyle(o[0]); checkSavedAdStyle(o[1]); @@ -952,7 +952,7 @@ buildCounterSavedAdStyles++; if (buildCounterSavedAdStyles < 3) { o.etag = "foo"; - o.items = buildUnnamed555(); + o.items = buildUnnamed529(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -964,7 +964,7 @@ buildCounterSavedAdStyles++; if (buildCounterSavedAdStyles < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed555(o.items); + checkUnnamed529(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -994,14 +994,14 @@ buildCounterSavedReport--; } -buildUnnamed556() { +buildUnnamed530() { var o = new core.List<api.SavedReport>(); o.add(buildSavedReport()); o.add(buildSavedReport()); return o; } -checkUnnamed556(core.List<api.SavedReport> o) { +checkUnnamed530(core.List<api.SavedReport> o) { unittest.expect(o, unittest.hasLength(2)); checkSavedReport(o[0]); checkSavedReport(o[1]); @@ -1013,7 +1013,7 @@ buildCounterSavedReports++; if (buildCounterSavedReports < 3) { o.etag = "foo"; - o.items = buildUnnamed556(); + o.items = buildUnnamed530(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -1025,7 +1025,7 @@ buildCounterSavedReports++; if (buildCounterSavedReports < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed556(o.items); + checkUnnamed530(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -1055,14 +1055,14 @@ buildCounterUrlChannel--; } -buildUnnamed557() { +buildUnnamed531() { var o = new core.List<api.UrlChannel>(); o.add(buildUrlChannel()); o.add(buildUrlChannel()); return o; } -checkUnnamed557(core.List<api.UrlChannel> o) { +checkUnnamed531(core.List<api.UrlChannel> o) { unittest.expect(o, unittest.hasLength(2)); checkUrlChannel(o[0]); checkUrlChannel(o[1]); @@ -1074,7 +1074,7 @@ buildCounterUrlChannels++; if (buildCounterUrlChannels < 3) { o.etag = "foo"; - o.items = buildUnnamed557(); + o.items = buildUnnamed531(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -1086,125 +1086,125 @@ buildCounterUrlChannels++; if (buildCounterUrlChannels < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed557(o.items); + checkUnnamed531(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterUrlChannels--; } -buildUnnamed558() { +buildUnnamed532() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed558(core.List<core.String> o) { +checkUnnamed532(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed559() { +buildUnnamed533() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed559(core.List<core.String> o) { +checkUnnamed533(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed560() { +buildUnnamed534() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed560(core.List<core.String> o) { +checkUnnamed534(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed561() { +buildUnnamed535() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed561(core.List<core.String> o) { +checkUnnamed535(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed562() { +buildUnnamed536() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed562(core.List<core.String> o) { +checkUnnamed536(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed563() { +buildUnnamed537() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed563(core.List<core.String> o) { +checkUnnamed537(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed564() { +buildUnnamed538() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed564(core.List<core.String> o) { +checkUnnamed538(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed565() { +buildUnnamed539() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed565(core.List<core.String> o) { +checkUnnamed539(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed566() { +buildUnnamed540() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed566(core.List<core.String> o) { +checkUnnamed540(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2333,12 +2333,12 @@ var arg_startDate = "foo"; var arg_endDate = "foo"; var arg_currency = "foo"; - var arg_dimension = buildUnnamed558(); - var arg_filter = buildUnnamed559(); + var arg_dimension = buildUnnamed532(); + var arg_filter = buildUnnamed533(); var arg_locale = "foo"; var arg_maxResults = 42; - var arg_metric = buildUnnamed560(); - var arg_sort = buildUnnamed561(); + var arg_metric = buildUnnamed534(); + var arg_sort = buildUnnamed535(); var arg_startIndex = 42; var arg_useTimezoneReporting = true; mock.register(unittest.expectAsync((http.BaseRequest req, json) { @@ -3460,14 +3460,14 @@ api.ReportsResourceApi res = new api.AdsenseApi(mock).reports; var arg_startDate = "foo"; var arg_endDate = "foo"; - var arg_accountId = buildUnnamed562(); + var arg_accountId = buildUnnamed536(); var arg_currency = "foo"; - var arg_dimension = buildUnnamed563(); - var arg_filter = buildUnnamed564(); + var arg_dimension = buildUnnamed537(); + var arg_filter = buildUnnamed538(); var arg_locale = "foo"; var arg_maxResults = 42; - var arg_metric = buildUnnamed565(); - var arg_sort = buildUnnamed566(); + var arg_metric = buildUnnamed539(); + var arg_sort = buildUnnamed540(); var arg_startIndex = 42; var arg_useTimezoneReporting = true; mock.register(unittest.expectAsync((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/adsensehost/v4_1_test.dart b/generated/googleapis/test/adsensehost/v4_1_test.dart index 0a97e2e..1101d9a 100644 --- a/generated/googleapis/test/adsensehost/v4_1_test.dart +++ b/generated/googleapis/test/adsensehost/v4_1_test.dart
@@ -41,14 +41,14 @@ buildCounterAccount--; } -buildUnnamed632() { +buildUnnamed606() { var o = new core.List<api.Account>(); o.add(buildAccount()); o.add(buildAccount()); return o; } -checkUnnamed632(core.List<api.Account> o) { +checkUnnamed606(core.List<api.Account> o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -60,7 +60,7 @@ buildCounterAccounts++; if (buildCounterAccounts < 3) { o.etag = "foo"; - o.items = buildUnnamed632(); + o.items = buildUnnamed606(); o.kind = "foo"; } buildCounterAccounts--; @@ -71,7 +71,7 @@ buildCounterAccounts++; if (buildCounterAccounts < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed632(o.items); + checkUnnamed606(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAccounts--; @@ -104,14 +104,14 @@ buildCounterAdClient--; } -buildUnnamed633() { +buildUnnamed607() { var o = new core.List<api.AdClient>(); o.add(buildAdClient()); o.add(buildAdClient()); return o; } -checkUnnamed633(core.List<api.AdClient> o) { +checkUnnamed607(core.List<api.AdClient> o) { unittest.expect(o, unittest.hasLength(2)); checkAdClient(o[0]); checkAdClient(o[1]); @@ -123,7 +123,7 @@ buildCounterAdClients++; if (buildCounterAdClients < 3) { o.etag = "foo"; - o.items = buildUnnamed633(); + o.items = buildUnnamed607(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -135,7 +135,7 @@ buildCounterAdClients++; if (buildCounterAdClients < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed633(o.items); + checkUnnamed607(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -340,14 +340,14 @@ buildCounterAdUnit--; } -buildUnnamed634() { +buildUnnamed608() { var o = new core.List<api.AdUnit>(); o.add(buildAdUnit()); o.add(buildAdUnit()); return o; } -checkUnnamed634(core.List<api.AdUnit> o) { +checkUnnamed608(core.List<api.AdUnit> o) { unittest.expect(o, unittest.hasLength(2)); checkAdUnit(o[0]); checkAdUnit(o[1]); @@ -359,7 +359,7 @@ buildCounterAdUnits++; if (buildCounterAdUnits < 3) { o.etag = "foo"; - o.items = buildUnnamed634(); + o.items = buildUnnamed608(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -371,21 +371,21 @@ buildCounterAdUnits++; if (buildCounterAdUnits < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed634(o.items); + checkUnnamed608(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterAdUnits--; } -buildUnnamed635() { +buildUnnamed609() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed635(core.List<core.String> o) { +checkUnnamed609(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -399,7 +399,7 @@ o.accountId = "foo"; o.id = "foo"; o.kind = "foo"; - o.productCodes = buildUnnamed635(); + o.productCodes = buildUnnamed609(); o.redirectUrl = "foo"; o.status = "foo"; o.userLocale = "foo"; @@ -416,7 +416,7 @@ unittest.expect(o.accountId, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed635(o.productCodes); + checkUnnamed609(o.productCodes); unittest.expect(o.redirectUrl, unittest.equals('foo')); unittest.expect(o.status, unittest.equals('foo')); unittest.expect(o.userLocale, unittest.equals('foo')); @@ -451,14 +451,14 @@ buildCounterCustomChannel--; } -buildUnnamed636() { +buildUnnamed610() { var o = new core.List<api.CustomChannel>(); o.add(buildCustomChannel()); o.add(buildCustomChannel()); return o; } -checkUnnamed636(core.List<api.CustomChannel> o) { +checkUnnamed610(core.List<api.CustomChannel> o) { unittest.expect(o, unittest.hasLength(2)); checkCustomChannel(o[0]); checkCustomChannel(o[1]); @@ -470,7 +470,7 @@ buildCounterCustomChannels++; if (buildCounterCustomChannels < 3) { o.etag = "foo"; - o.items = buildUnnamed636(); + o.items = buildUnnamed610(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -482,21 +482,21 @@ buildCounterCustomChannels++; if (buildCounterCustomChannels < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed636(o.items); + checkUnnamed610(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterCustomChannels--; } -buildUnnamed637() { +buildUnnamed611() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed637(core.List<core.String> o) { +checkUnnamed611(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -525,66 +525,66 @@ buildCounterReportHeaders--; } -buildUnnamed638() { +buildUnnamed612() { var o = new core.List<api.ReportHeaders>(); o.add(buildReportHeaders()); o.add(buildReportHeaders()); return o; } -checkUnnamed638(core.List<api.ReportHeaders> o) { +checkUnnamed612(core.List<api.ReportHeaders> o) { unittest.expect(o, unittest.hasLength(2)); checkReportHeaders(o[0]); checkReportHeaders(o[1]); } -buildUnnamed639() { +buildUnnamed613() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed639(core.List<core.String> o) { +checkUnnamed613(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed640() { +buildUnnamed614() { var o = new core.List<core.List<core.String>>(); - o.add(buildUnnamed639()); - o.add(buildUnnamed639()); + o.add(buildUnnamed613()); + o.add(buildUnnamed613()); return o; } -checkUnnamed640(core.List<core.List<core.String>> o) { +checkUnnamed614(core.List<core.List<core.String>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed639(o[0]); - checkUnnamed639(o[1]); + checkUnnamed613(o[0]); + checkUnnamed613(o[1]); } -buildUnnamed641() { +buildUnnamed615() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed641(core.List<core.String> o) { +checkUnnamed615(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed642() { +buildUnnamed616() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed642(core.List<core.String> o) { +checkUnnamed616(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -595,13 +595,13 @@ var o = new api.Report(); buildCounterReport++; if (buildCounterReport < 3) { - o.averages = buildUnnamed637(); - o.headers = buildUnnamed638(); + o.averages = buildUnnamed611(); + o.headers = buildUnnamed612(); o.kind = "foo"; - o.rows = buildUnnamed640(); + o.rows = buildUnnamed614(); o.totalMatchedRows = "foo"; - o.totals = buildUnnamed641(); - o.warnings = buildUnnamed642(); + o.totals = buildUnnamed615(); + o.warnings = buildUnnamed616(); } buildCounterReport--; return o; @@ -610,13 +610,13 @@ checkReport(api.Report o) { buildCounterReport++; if (buildCounterReport < 3) { - checkUnnamed637(o.averages); - checkUnnamed638(o.headers); + checkUnnamed611(o.averages); + checkUnnamed612(o.headers); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed640(o.rows); + checkUnnamed614(o.rows); unittest.expect(o.totalMatchedRows, unittest.equals('foo')); - checkUnnamed641(o.totals); - checkUnnamed642(o.warnings); + checkUnnamed615(o.totals); + checkUnnamed616(o.warnings); } buildCounterReport--; } @@ -644,14 +644,14 @@ buildCounterUrlChannel--; } -buildUnnamed643() { +buildUnnamed617() { var o = new core.List<api.UrlChannel>(); o.add(buildUrlChannel()); o.add(buildUrlChannel()); return o; } -checkUnnamed643(core.List<api.UrlChannel> o) { +checkUnnamed617(core.List<api.UrlChannel> o) { unittest.expect(o, unittest.hasLength(2)); checkUrlChannel(o[0]); checkUrlChannel(o[1]); @@ -663,7 +663,7 @@ buildCounterUrlChannels++; if (buildCounterUrlChannels < 3) { o.etag = "foo"; - o.items = buildUnnamed643(); + o.items = buildUnnamed617(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -675,151 +675,151 @@ buildCounterUrlChannels++; if (buildCounterUrlChannels < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed643(o.items); + checkUnnamed617(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterUrlChannels--; } -buildUnnamed644() { +buildUnnamed618() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed644(core.List<core.String> o) { +checkUnnamed618(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed645() { +buildUnnamed619() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed645(core.List<core.String> o) { +checkUnnamed619(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed646() { +buildUnnamed620() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed646(core.List<core.String> o) { +checkUnnamed620(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed647() { +buildUnnamed621() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed647(core.List<core.String> o) { +checkUnnamed621(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed648() { +buildUnnamed622() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed648(core.List<core.String> o) { +checkUnnamed622(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed649() { +buildUnnamed623() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed649(core.List<core.String> o) { +checkUnnamed623(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed650() { +buildUnnamed624() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed650(core.List<core.String> o) { +checkUnnamed624(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed651() { +buildUnnamed625() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed651(core.List<core.String> o) { +checkUnnamed625(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed652() { +buildUnnamed626() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed652(core.List<core.String> o) { +checkUnnamed626(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed653() { +buildUnnamed627() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed653(core.List<core.String> o) { +checkUnnamed627(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed654() { +buildUnnamed628() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed654(core.List<core.String> o) { +checkUnnamed628(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1061,7 +1061,7 @@ var mock = new common_test.HttpServerMock(); api.AccountsResourceApi res = new api.AdsensehostApi(mock).accounts; - var arg_filterAdClientId = buildUnnamed644(); + var arg_filterAdClientId = buildUnnamed618(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0; @@ -1363,7 +1363,7 @@ var arg_accountId = "foo"; var arg_adClientId = "foo"; var arg_adUnitId = "foo"; - var arg_hostCustomChannelId = buildUnnamed645(); + var arg_hostCustomChannelId = buildUnnamed619(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0; @@ -1702,12 +1702,12 @@ var arg_accountId = "foo"; var arg_startDate = "foo"; var arg_endDate = "foo"; - var arg_dimension = buildUnnamed646(); - var arg_filter = buildUnnamed647(); + var arg_dimension = buildUnnamed620(); + var arg_filter = buildUnnamed621(); var arg_locale = "foo"; var arg_maxResults = 42; - var arg_metric = buildUnnamed648(); - var arg_sort = buildUnnamed649(); + var arg_metric = buildUnnamed622(); + var arg_sort = buildUnnamed623(); var arg_startIndex = 42; mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; @@ -1876,7 +1876,7 @@ var mock = new common_test.HttpServerMock(); api.AssociationsessionsResourceApi res = new api.AdsensehostApi(mock).associationsessions; - var arg_productCode = buildUnnamed650(); + var arg_productCode = buildUnnamed624(); var arg_websiteUrl = "foo"; var arg_userLocale = "foo"; var arg_websiteLocale = "foo"; @@ -2330,12 +2330,12 @@ api.ReportsResourceApi res = new api.AdsensehostApi(mock).reports; var arg_startDate = "foo"; var arg_endDate = "foo"; - var arg_dimension = buildUnnamed651(); - var arg_filter = buildUnnamed652(); + var arg_dimension = buildUnnamed625(); + var arg_filter = buildUnnamed626(); var arg_locale = "foo"; var arg_maxResults = 42; - var arg_metric = buildUnnamed653(); - var arg_sort = buildUnnamed654(); + var arg_metric = buildUnnamed627(); + var arg_sort = buildUnnamed628(); var arg_startIndex = 42; mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path;
diff --git a/generated/googleapis/test/appsactivity/v1_test.dart b/generated/googleapis/test/appsactivity/v1_test.dart index c4f4946..41005f1 100644 --- a/generated/googleapis/test/appsactivity/v1_test.dart +++ b/generated/googleapis/test/appsactivity/v1_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed567() { +buildUnnamed541() { var o = new core.List<api.Event>(); o.add(buildEvent()); o.add(buildEvent()); return o; } -checkUnnamed567(core.List<api.Event> o) { +checkUnnamed541(core.List<api.Event> o) { unittest.expect(o, unittest.hasLength(2)); checkEvent(o[0]); checkEvent(o[1]); @@ -35,7 +35,7 @@ buildCounterActivity++; if (buildCounterActivity < 3) { o.combinedEvent = buildEvent(); - o.singleEvents = buildUnnamed567(); + o.singleEvents = buildUnnamed541(); } buildCounterActivity--; return o; @@ -45,32 +45,32 @@ buildCounterActivity++; if (buildCounterActivity < 3) { checkEvent(o.combinedEvent); - checkUnnamed567(o.singleEvents); + checkUnnamed541(o.singleEvents); } buildCounterActivity--; } -buildUnnamed568() { +buildUnnamed542() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed568(core.List<core.String> o) { +checkUnnamed542(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed569() { +buildUnnamed543() { var o = new core.List<api.PermissionChange>(); o.add(buildPermissionChange()); o.add(buildPermissionChange()); return o; } -checkUnnamed569(core.List<api.PermissionChange> o) { +checkUnnamed543(core.List<api.PermissionChange> o) { unittest.expect(o, unittest.hasLength(2)); checkPermissionChange(o[0]); checkPermissionChange(o[1]); @@ -81,11 +81,11 @@ var o = new api.Event(); buildCounterEvent++; if (buildCounterEvent < 3) { - o.additionalEventTypes = buildUnnamed568(); + o.additionalEventTypes = buildUnnamed542(); o.eventTimeMillis = "foo"; o.fromUserDeletion = true; o.move = buildMove(); - o.permissionChanges = buildUnnamed569(); + o.permissionChanges = buildUnnamed543(); o.primaryEventType = "foo"; o.rename = buildRename(); o.target = buildTarget(); @@ -98,11 +98,11 @@ checkEvent(api.Event o) { buildCounterEvent++; if (buildCounterEvent < 3) { - checkUnnamed568(o.additionalEventTypes); + checkUnnamed542(o.additionalEventTypes); unittest.expect(o.eventTimeMillis, unittest.equals('foo')); unittest.expect(o.fromUserDeletion, unittest.isTrue); checkMove(o.move); - checkUnnamed569(o.permissionChanges); + checkUnnamed543(o.permissionChanges); unittest.expect(o.primaryEventType, unittest.equals('foo')); checkRename(o.rename); checkTarget(o.target); @@ -111,14 +111,14 @@ buildCounterEvent--; } -buildUnnamed570() { +buildUnnamed544() { var o = new core.List<api.Activity>(); o.add(buildActivity()); o.add(buildActivity()); return o; } -checkUnnamed570(core.List<api.Activity> o) { +checkUnnamed544(core.List<api.Activity> o) { unittest.expect(o, unittest.hasLength(2)); checkActivity(o[0]); checkActivity(o[1]); @@ -129,7 +129,7 @@ var o = new api.ListActivitiesResponse(); buildCounterListActivitiesResponse++; if (buildCounterListActivitiesResponse < 3) { - o.activities = buildUnnamed570(); + o.activities = buildUnnamed544(); o.nextPageToken = "foo"; } buildCounterListActivitiesResponse--; @@ -139,33 +139,33 @@ checkListActivitiesResponse(api.ListActivitiesResponse o) { buildCounterListActivitiesResponse++; if (buildCounterListActivitiesResponse < 3) { - checkUnnamed570(o.activities); + checkUnnamed544(o.activities); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterListActivitiesResponse--; } -buildUnnamed571() { +buildUnnamed545() { var o = new core.List<api.Parent>(); o.add(buildParent()); o.add(buildParent()); return o; } -checkUnnamed571(core.List<api.Parent> o) { +checkUnnamed545(core.List<api.Parent> o) { unittest.expect(o, unittest.hasLength(2)); checkParent(o[0]); checkParent(o[1]); } -buildUnnamed572() { +buildUnnamed546() { var o = new core.List<api.Parent>(); o.add(buildParent()); o.add(buildParent()); return o; } -checkUnnamed572(core.List<api.Parent> o) { +checkUnnamed546(core.List<api.Parent> o) { unittest.expect(o, unittest.hasLength(2)); checkParent(o[0]); checkParent(o[1]); @@ -176,8 +176,8 @@ var o = new api.Move(); buildCounterMove++; if (buildCounterMove < 3) { - o.addedParents = buildUnnamed571(); - o.removedParents = buildUnnamed572(); + o.addedParents = buildUnnamed545(); + o.removedParents = buildUnnamed546(); } buildCounterMove--; return o; @@ -186,8 +186,8 @@ checkMove(api.Move o) { buildCounterMove++; if (buildCounterMove < 3) { - checkUnnamed571(o.addedParents); - checkUnnamed572(o.removedParents); + checkUnnamed545(o.addedParents); + checkUnnamed546(o.removedParents); } buildCounterMove--; } @@ -244,27 +244,27 @@ buildCounterPermission--; } -buildUnnamed573() { +buildUnnamed547() { var o = new core.List<api.Permission>(); o.add(buildPermission()); o.add(buildPermission()); return o; } -checkUnnamed573(core.List<api.Permission> o) { +checkUnnamed547(core.List<api.Permission> o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); } -buildUnnamed574() { +buildUnnamed548() { var o = new core.List<api.Permission>(); o.add(buildPermission()); o.add(buildPermission()); return o; } -checkUnnamed574(core.List<api.Permission> o) { +checkUnnamed548(core.List<api.Permission> o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); @@ -275,8 +275,8 @@ var o = new api.PermissionChange(); buildCounterPermissionChange++; if (buildCounterPermissionChange < 3) { - o.addedPermissions = buildUnnamed573(); - o.removedPermissions = buildUnnamed574(); + o.addedPermissions = buildUnnamed547(); + o.removedPermissions = buildUnnamed548(); } buildCounterPermissionChange--; return o; @@ -285,8 +285,8 @@ checkPermissionChange(api.PermissionChange o) { buildCounterPermissionChange++; if (buildCounterPermissionChange < 3) { - checkUnnamed573(o.addedPermissions); - checkUnnamed574(o.removedPermissions); + checkUnnamed547(o.addedPermissions); + checkUnnamed548(o.removedPermissions); } buildCounterPermissionChange--; }
diff --git a/generated/googleapis/test/appstate/v1_test.dart b/generated/googleapis/test/appstate/v1_test.dart index b069ee8..6254f0a 100644 --- a/generated/googleapis/test/appstate/v1_test.dart +++ b/generated/googleapis/test/appstate/v1_test.dart
@@ -41,14 +41,14 @@ buildCounterGetResponse--; } -buildUnnamed762() { +buildUnnamed736() { var o = new core.List<api.GetResponse>(); o.add(buildGetResponse()); o.add(buildGetResponse()); return o; } -checkUnnamed762(core.List<api.GetResponse> o) { +checkUnnamed736(core.List<api.GetResponse> o) { unittest.expect(o, unittest.hasLength(2)); checkGetResponse(o[0]); checkGetResponse(o[1]); @@ -59,7 +59,7 @@ var o = new api.ListResponse(); buildCounterListResponse++; if (buildCounterListResponse < 3) { - o.items = buildUnnamed762(); + o.items = buildUnnamed736(); o.kind = "foo"; o.maximumKeyCount = 42; } @@ -70,7 +70,7 @@ checkListResponse(api.ListResponse o) { buildCounterListResponse++; if (buildCounterListResponse < 3) { - checkUnnamed762(o.items); + checkUnnamed736(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.maximumKeyCount, unittest.equals(42)); }
diff --git a/generated/googleapis/test/bigquery/v2_test.dart b/generated/googleapis/test/bigquery/v2_test.dart index 6dc6032..74f3e6f 100644 --- a/generated/googleapis/test/bigquery/v2_test.dart +++ b/generated/googleapis/test/bigquery/v2_test.dart
@@ -45,14 +45,14 @@ buildCounterDatasetAccess--; } -buildUnnamed742() { +buildUnnamed716() { var o = new core.List<api.DatasetAccess>(); o.add(buildDatasetAccess()); o.add(buildDatasetAccess()); return o; } -checkUnnamed742(core.List<api.DatasetAccess> o) { +checkUnnamed716(core.List<api.DatasetAccess> o) { unittest.expect(o, unittest.hasLength(2)); checkDatasetAccess(o[0]); checkDatasetAccess(o[1]); @@ -63,7 +63,7 @@ var o = new api.Dataset(); buildCounterDataset++; if (buildCounterDataset < 3) { - o.access = buildUnnamed742(); + o.access = buildUnnamed716(); o.creationTime = "foo"; o.datasetReference = buildDatasetReference(); o.description = "foo"; @@ -81,7 +81,7 @@ checkDataset(api.Dataset o) { buildCounterDataset++; if (buildCounterDataset < 3) { - checkUnnamed742(o.access); + checkUnnamed716(o.access); unittest.expect(o.creationTime, unittest.equals('foo')); checkDatasetReference(o.datasetReference); unittest.expect(o.description, unittest.equals('foo')); @@ -120,14 +120,14 @@ buildCounterDatasetListDatasets--; } -buildUnnamed743() { +buildUnnamed717() { var o = new core.List<api.DatasetListDatasets>(); o.add(buildDatasetListDatasets()); o.add(buildDatasetListDatasets()); return o; } -checkUnnamed743(core.List<api.DatasetListDatasets> o) { +checkUnnamed717(core.List<api.DatasetListDatasets> o) { unittest.expect(o, unittest.hasLength(2)); checkDatasetListDatasets(o[0]); checkDatasetListDatasets(o[1]); @@ -138,7 +138,7 @@ var o = new api.DatasetList(); buildCounterDatasetList++; if (buildCounterDatasetList < 3) { - o.datasets = buildUnnamed743(); + o.datasets = buildUnnamed717(); o.etag = "foo"; o.kind = "foo"; o.nextPageToken = "foo"; @@ -150,7 +150,7 @@ checkDatasetList(api.DatasetList o) { buildCounterDatasetList++; if (buildCounterDatasetList < 3) { - checkUnnamed743(o.datasets); + checkUnnamed717(o.datasets); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -204,14 +204,14 @@ buildCounterErrorProto--; } -buildUnnamed744() { +buildUnnamed718() { var o = new core.List<api.TableRow>(); o.add(buildTableRow()); o.add(buildTableRow()); return o; } -checkUnnamed744(core.List<api.TableRow> o) { +checkUnnamed718(core.List<api.TableRow> o) { unittest.expect(o, unittest.hasLength(2)); checkTableRow(o[0]); checkTableRow(o[1]); @@ -228,7 +228,7 @@ o.jobReference = buildJobReference(); o.kind = "foo"; o.pageToken = "foo"; - o.rows = buildUnnamed744(); + o.rows = buildUnnamed718(); o.schema = buildTableSchema(); o.totalRows = "foo"; } @@ -245,7 +245,7 @@ checkJobReference(o.jobReference); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.pageToken, unittest.equals('foo')); - checkUnnamed744(o.rows); + checkUnnamed718(o.rows); checkTableSchema(o.schema); unittest.expect(o.totalRows, unittest.equals('foo')); } @@ -314,14 +314,14 @@ buildCounterJobConfiguration--; } -buildUnnamed745() { +buildUnnamed719() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed745(core.List<core.String> o) { +checkUnnamed719(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -335,7 +335,7 @@ o.compression = "foo"; o.destinationFormat = "foo"; o.destinationUri = "foo"; - o.destinationUris = buildUnnamed745(); + o.destinationUris = buildUnnamed719(); o.fieldDelimiter = "foo"; o.printHeader = true; o.sourceTable = buildTableReference(); @@ -350,7 +350,7 @@ unittest.expect(o.compression, unittest.equals('foo')); unittest.expect(o.destinationFormat, unittest.equals('foo')); unittest.expect(o.destinationUri, unittest.equals('foo')); - checkUnnamed745(o.destinationUris); + checkUnnamed719(o.destinationUris); unittest.expect(o.fieldDelimiter, unittest.equals('foo')); unittest.expect(o.printHeader, unittest.isTrue); checkTableReference(o.sourceTable); @@ -358,14 +358,14 @@ buildCounterJobConfigurationExtract--; } -buildUnnamed746() { +buildUnnamed720() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed746(core.List<core.String> o) { +checkUnnamed720(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -378,7 +378,7 @@ if (buildCounterJobConfigurationLink < 3) { o.createDisposition = "foo"; o.destinationTable = buildTableReference(); - o.sourceUri = buildUnnamed746(); + o.sourceUri = buildUnnamed720(); o.writeDisposition = "foo"; } buildCounterJobConfigurationLink--; @@ -390,20 +390,20 @@ if (buildCounterJobConfigurationLink < 3) { unittest.expect(o.createDisposition, unittest.equals('foo')); checkTableReference(o.destinationTable); - checkUnnamed746(o.sourceUri); + checkUnnamed720(o.sourceUri); unittest.expect(o.writeDisposition, unittest.equals('foo')); } buildCounterJobConfigurationLink--; } -buildUnnamed747() { +buildUnnamed721() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed747(core.List<core.String> o) { +checkUnnamed721(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -428,7 +428,7 @@ o.schemaInlineFormat = "foo"; o.skipLeadingRows = 42; o.sourceFormat = "foo"; - o.sourceUris = buildUnnamed747(); + o.sourceUris = buildUnnamed721(); o.writeDisposition = "foo"; } buildCounterJobConfigurationLoad--; @@ -452,7 +452,7 @@ unittest.expect(o.schemaInlineFormat, unittest.equals('foo')); unittest.expect(o.skipLeadingRows, unittest.equals(42)); unittest.expect(o.sourceFormat, unittest.equals('foo')); - checkUnnamed747(o.sourceUris); + checkUnnamed721(o.sourceUris); unittest.expect(o.writeDisposition, unittest.equals('foo')); } buildCounterJobConfigurationLoad--; @@ -495,14 +495,14 @@ buildCounterJobConfigurationQuery--; } -buildUnnamed748() { +buildUnnamed722() { var o = new core.List<api.TableReference>(); o.add(buildTableReference()); o.add(buildTableReference()); return o; } -checkUnnamed748(core.List<api.TableReference> o) { +checkUnnamed722(core.List<api.TableReference> o) { unittest.expect(o, unittest.hasLength(2)); checkTableReference(o[0]); checkTableReference(o[1]); @@ -516,7 +516,7 @@ o.createDisposition = "foo"; o.destinationTable = buildTableReference(); o.sourceTable = buildTableReference(); - o.sourceTables = buildUnnamed748(); + o.sourceTables = buildUnnamed722(); o.writeDisposition = "foo"; } buildCounterJobConfigurationTableCopy--; @@ -529,7 +529,7 @@ unittest.expect(o.createDisposition, unittest.equals('foo')); checkTableReference(o.destinationTable); checkTableReference(o.sourceTable); - checkUnnamed748(o.sourceTables); + checkUnnamed722(o.sourceTables); unittest.expect(o.writeDisposition, unittest.equals('foo')); } buildCounterJobConfigurationTableCopy--; @@ -570,14 +570,14 @@ buildCounterJobListJobs--; } -buildUnnamed749() { +buildUnnamed723() { var o = new core.List<api.JobListJobs>(); o.add(buildJobListJobs()); o.add(buildJobListJobs()); return o; } -checkUnnamed749(core.List<api.JobListJobs> o) { +checkUnnamed723(core.List<api.JobListJobs> o) { unittest.expect(o, unittest.hasLength(2)); checkJobListJobs(o[0]); checkJobListJobs(o[1]); @@ -589,7 +589,7 @@ buildCounterJobList++; if (buildCounterJobList < 3) { o.etag = "foo"; - o.jobs = buildUnnamed749(); + o.jobs = buildUnnamed723(); o.kind = "foo"; o.nextPageToken = "foo"; o.totalItems = 42; @@ -602,7 +602,7 @@ buildCounterJobList++; if (buildCounterJobList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed749(o.jobs); + checkUnnamed723(o.jobs); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42)); @@ -706,14 +706,14 @@ buildCounterJobStatistics3--; } -buildUnnamed750() { +buildUnnamed724() { var o = new core.List<api.ErrorProto>(); o.add(buildErrorProto()); o.add(buildErrorProto()); return o; } -checkUnnamed750(core.List<api.ErrorProto> o) { +checkUnnamed724(core.List<api.ErrorProto> o) { unittest.expect(o, unittest.hasLength(2)); checkErrorProto(o[0]); checkErrorProto(o[1]); @@ -725,7 +725,7 @@ buildCounterJobStatus++; if (buildCounterJobStatus < 3) { o.errorResult = buildErrorProto(); - o.errors = buildUnnamed750(); + o.errors = buildUnnamed724(); o.state = "foo"; } buildCounterJobStatus--; @@ -736,7 +736,7 @@ buildCounterJobStatus++; if (buildCounterJobStatus < 3) { checkErrorProto(o.errorResult); - checkUnnamed750(o.errors); + checkUnnamed724(o.errors); unittest.expect(o.state, unittest.equals('foo')); } buildCounterJobStatus--; @@ -782,14 +782,14 @@ buildCounterProjectListProjects--; } -buildUnnamed751() { +buildUnnamed725() { var o = new core.List<api.ProjectListProjects>(); o.add(buildProjectListProjects()); o.add(buildProjectListProjects()); return o; } -checkUnnamed751(core.List<api.ProjectListProjects> o) { +checkUnnamed725(core.List<api.ProjectListProjects> o) { unittest.expect(o, unittest.hasLength(2)); checkProjectListProjects(o[0]); checkProjectListProjects(o[1]); @@ -803,7 +803,7 @@ o.etag = "foo"; o.kind = "foo"; o.nextPageToken = "foo"; - o.projects = buildUnnamed751(); + o.projects = buildUnnamed725(); o.totalItems = 42; } buildCounterProjectList--; @@ -816,7 +816,7 @@ unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed751(o.projects); + checkUnnamed725(o.projects); unittest.expect(o.totalItems, unittest.equals(42)); } buildCounterProjectList--; @@ -874,14 +874,14 @@ buildCounterQueryRequest--; } -buildUnnamed752() { +buildUnnamed726() { var o = new core.List<api.TableRow>(); o.add(buildTableRow()); o.add(buildTableRow()); return o; } -checkUnnamed752(core.List<api.TableRow> o) { +checkUnnamed726(core.List<api.TableRow> o) { unittest.expect(o, unittest.hasLength(2)); checkTableRow(o[0]); checkTableRow(o[1]); @@ -897,7 +897,7 @@ o.jobReference = buildJobReference(); o.kind = "foo"; o.pageToken = "foo"; - o.rows = buildUnnamed752(); + o.rows = buildUnnamed726(); o.schema = buildTableSchema(); o.totalBytesProcessed = "foo"; o.totalRows = "foo"; @@ -914,7 +914,7 @@ checkJobReference(o.jobReference); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.pageToken, unittest.equals('foo')); - checkUnnamed752(o.rows); + checkUnnamed726(o.rows); checkTableSchema(o.schema); unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); unittest.expect(o.totalRows, unittest.equals('foo')); @@ -1009,14 +1009,14 @@ buildCounterTableDataInsertAllRequestRows--; } -buildUnnamed753() { +buildUnnamed727() { var o = new core.List<api.TableDataInsertAllRequestRows>(); o.add(buildTableDataInsertAllRequestRows()); o.add(buildTableDataInsertAllRequestRows()); return o; } -checkUnnamed753(core.List<api.TableDataInsertAllRequestRows> o) { +checkUnnamed727(core.List<api.TableDataInsertAllRequestRows> o) { unittest.expect(o, unittest.hasLength(2)); checkTableDataInsertAllRequestRows(o[0]); checkTableDataInsertAllRequestRows(o[1]); @@ -1028,7 +1028,7 @@ buildCounterTableDataInsertAllRequest++; if (buildCounterTableDataInsertAllRequest < 3) { o.kind = "foo"; - o.rows = buildUnnamed753(); + o.rows = buildUnnamed727(); } buildCounterTableDataInsertAllRequest--; return o; @@ -1038,19 +1038,19 @@ buildCounterTableDataInsertAllRequest++; if (buildCounterTableDataInsertAllRequest < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed753(o.rows); + checkUnnamed727(o.rows); } buildCounterTableDataInsertAllRequest--; } -buildUnnamed754() { +buildUnnamed728() { var o = new core.List<api.ErrorProto>(); o.add(buildErrorProto()); o.add(buildErrorProto()); return o; } -checkUnnamed754(core.List<api.ErrorProto> o) { +checkUnnamed728(core.List<api.ErrorProto> o) { unittest.expect(o, unittest.hasLength(2)); checkErrorProto(o[0]); checkErrorProto(o[1]); @@ -1061,7 +1061,7 @@ var o = new api.TableDataInsertAllResponseInsertErrors(); buildCounterTableDataInsertAllResponseInsertErrors++; if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { - o.errors = buildUnnamed754(); + o.errors = buildUnnamed728(); o.index = 42; } buildCounterTableDataInsertAllResponseInsertErrors--; @@ -1071,20 +1071,20 @@ checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsertErrors o) { buildCounterTableDataInsertAllResponseInsertErrors++; if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { - checkUnnamed754(o.errors); + checkUnnamed728(o.errors); unittest.expect(o.index, unittest.equals(42)); } buildCounterTableDataInsertAllResponseInsertErrors--; } -buildUnnamed755() { +buildUnnamed729() { var o = new core.List<api.TableDataInsertAllResponseInsertErrors>(); o.add(buildTableDataInsertAllResponseInsertErrors()); o.add(buildTableDataInsertAllResponseInsertErrors()); return o; } -checkUnnamed755(core.List<api.TableDataInsertAllResponseInsertErrors> o) { +checkUnnamed729(core.List<api.TableDataInsertAllResponseInsertErrors> o) { unittest.expect(o, unittest.hasLength(2)); checkTableDataInsertAllResponseInsertErrors(o[0]); checkTableDataInsertAllResponseInsertErrors(o[1]); @@ -1095,7 +1095,7 @@ var o = new api.TableDataInsertAllResponse(); buildCounterTableDataInsertAllResponse++; if (buildCounterTableDataInsertAllResponse < 3) { - o.insertErrors = buildUnnamed755(); + o.insertErrors = buildUnnamed729(); o.kind = "foo"; } buildCounterTableDataInsertAllResponse--; @@ -1105,20 +1105,20 @@ checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { buildCounterTableDataInsertAllResponse++; if (buildCounterTableDataInsertAllResponse < 3) { - checkUnnamed755(o.insertErrors); + checkUnnamed729(o.insertErrors); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterTableDataInsertAllResponse--; } -buildUnnamed756() { +buildUnnamed730() { var o = new core.List<api.TableRow>(); o.add(buildTableRow()); o.add(buildTableRow()); return o; } -checkUnnamed756(core.List<api.TableRow> o) { +checkUnnamed730(core.List<api.TableRow> o) { unittest.expect(o, unittest.hasLength(2)); checkTableRow(o[0]); checkTableRow(o[1]); @@ -1132,7 +1132,7 @@ o.etag = "foo"; o.kind = "foo"; o.pageToken = "foo"; - o.rows = buildUnnamed756(); + o.rows = buildUnnamed730(); o.totalRows = "foo"; } buildCounterTableDataList--; @@ -1145,20 +1145,20 @@ unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.pageToken, unittest.equals('foo')); - checkUnnamed756(o.rows); + checkUnnamed730(o.rows); unittest.expect(o.totalRows, unittest.equals('foo')); } buildCounterTableDataList--; } -buildUnnamed757() { +buildUnnamed731() { var o = new core.List<api.TableFieldSchema>(); o.add(buildTableFieldSchema()); o.add(buildTableFieldSchema()); return o; } -checkUnnamed757(core.List<api.TableFieldSchema> o) { +checkUnnamed731(core.List<api.TableFieldSchema> o) { unittest.expect(o, unittest.hasLength(2)); checkTableFieldSchema(o[0]); checkTableFieldSchema(o[1]); @@ -1170,7 +1170,7 @@ buildCounterTableFieldSchema++; if (buildCounterTableFieldSchema < 3) { o.description = "foo"; - o.fields = buildUnnamed757(); + o.fields = buildUnnamed731(); o.mode = "foo"; o.name = "foo"; o.type = "foo"; @@ -1183,7 +1183,7 @@ buildCounterTableFieldSchema++; if (buildCounterTableFieldSchema < 3) { unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed757(o.fields); + checkUnnamed731(o.fields); unittest.expect(o.mode, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.type, unittest.equals('foo')); @@ -1218,14 +1218,14 @@ buildCounterTableListTables--; } -buildUnnamed758() { +buildUnnamed732() { var o = new core.List<api.TableListTables>(); o.add(buildTableListTables()); o.add(buildTableListTables()); return o; } -checkUnnamed758(core.List<api.TableListTables> o) { +checkUnnamed732(core.List<api.TableListTables> o) { unittest.expect(o, unittest.hasLength(2)); checkTableListTables(o[0]); checkTableListTables(o[1]); @@ -1239,7 +1239,7 @@ o.etag = "foo"; o.kind = "foo"; o.nextPageToken = "foo"; - o.tables = buildUnnamed758(); + o.tables = buildUnnamed732(); o.totalItems = 42; } buildCounterTableList--; @@ -1252,7 +1252,7 @@ unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed758(o.tables); + checkUnnamed732(o.tables); unittest.expect(o.totalItems, unittest.equals(42)); } buildCounterTableList--; @@ -1281,14 +1281,14 @@ buildCounterTableReference--; } -buildUnnamed759() { +buildUnnamed733() { var o = new core.List<api.TableCell>(); o.add(buildTableCell()); o.add(buildTableCell()); return o; } -checkUnnamed759(core.List<api.TableCell> o) { +checkUnnamed733(core.List<api.TableCell> o) { unittest.expect(o, unittest.hasLength(2)); checkTableCell(o[0]); checkTableCell(o[1]); @@ -1299,7 +1299,7 @@ var o = new api.TableRow(); buildCounterTableRow++; if (buildCounterTableRow < 3) { - o.f = buildUnnamed759(); + o.f = buildUnnamed733(); } buildCounterTableRow--; return o; @@ -1308,19 +1308,19 @@ checkTableRow(api.TableRow o) { buildCounterTableRow++; if (buildCounterTableRow < 3) { - checkUnnamed759(o.f); + checkUnnamed733(o.f); } buildCounterTableRow--; } -buildUnnamed760() { +buildUnnamed734() { var o = new core.List<api.TableFieldSchema>(); o.add(buildTableFieldSchema()); o.add(buildTableFieldSchema()); return o; } -checkUnnamed760(core.List<api.TableFieldSchema> o) { +checkUnnamed734(core.List<api.TableFieldSchema> o) { unittest.expect(o, unittest.hasLength(2)); checkTableFieldSchema(o[0]); checkTableFieldSchema(o[1]); @@ -1331,7 +1331,7 @@ var o = new api.TableSchema(); buildCounterTableSchema++; if (buildCounterTableSchema < 3) { - o.fields = buildUnnamed760(); + o.fields = buildUnnamed734(); } buildCounterTableSchema--; return o; @@ -1340,7 +1340,7 @@ checkTableSchema(api.TableSchema o) { buildCounterTableSchema++; if (buildCounterTableSchema < 3) { - checkUnnamed760(o.fields); + checkUnnamed734(o.fields); } buildCounterTableSchema--; } @@ -1364,14 +1364,14 @@ buildCounterViewDefinition--; } -buildUnnamed761() { +buildUnnamed735() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed761(core.List<core.String> o) { +checkUnnamed735(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2295,7 +2295,7 @@ var arg_maxResults = 42; var arg_pageToken = "foo"; var arg_projection = "foo"; - var arg_stateFilter = buildUnnamed761(); + var arg_stateFilter = buildUnnamed735(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0;
diff --git a/generated/googleapis/test/blogger/v3_test.dart b/generated/googleapis/test/blogger/v3_test.dart index 73c691a..18a3491 100644 --- a/generated/googleapis/test/blogger/v3_test.dart +++ b/generated/googleapis/test/blogger/v3_test.dart
@@ -60,14 +60,14 @@ buildCounterBlogPages--; } -buildUnnamed575() { +buildUnnamed549() { var o = new core.List<api.Post>(); o.add(buildPost()); o.add(buildPost()); return o; } -checkUnnamed575(core.List<api.Post> o) { +checkUnnamed549(core.List<api.Post> o) { unittest.expect(o, unittest.hasLength(2)); checkPost(o[0]); checkPost(o[1]); @@ -78,7 +78,7 @@ var o = new api.BlogPosts(); buildCounterBlogPosts++; if (buildCounterBlogPosts < 3) { - o.items = buildUnnamed575(); + o.items = buildUnnamed549(); o.selfLink = "foo"; o.totalItems = 42; } @@ -89,7 +89,7 @@ checkBlogPosts(api.BlogPosts o) { buildCounterBlogPosts++; if (buildCounterBlogPosts < 3) { - checkUnnamed575(o.items); + checkUnnamed549(o.items); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42)); } @@ -139,27 +139,27 @@ buildCounterBlog--; } -buildUnnamed576() { +buildUnnamed550() { var o = new core.List<api.BlogUserInfo>(); o.add(buildBlogUserInfo()); o.add(buildBlogUserInfo()); return o; } -checkUnnamed576(core.List<api.BlogUserInfo> o) { +checkUnnamed550(core.List<api.BlogUserInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkBlogUserInfo(o[0]); checkBlogUserInfo(o[1]); } -buildUnnamed577() { +buildUnnamed551() { var o = new core.List<api.Blog>(); o.add(buildBlog()); o.add(buildBlog()); return o; } -checkUnnamed577(core.List<api.Blog> o) { +checkUnnamed551(core.List<api.Blog> o) { unittest.expect(o, unittest.hasLength(2)); checkBlog(o[0]); checkBlog(o[1]); @@ -170,8 +170,8 @@ var o = new api.BlogList(); buildCounterBlogList++; if (buildCounterBlogList < 3) { - o.blogUserInfos = buildUnnamed576(); - o.items = buildUnnamed577(); + o.blogUserInfos = buildUnnamed550(); + o.items = buildUnnamed551(); o.kind = "foo"; } buildCounterBlogList--; @@ -181,8 +181,8 @@ checkBlogList(api.BlogList o) { buildCounterBlogList++; if (buildCounterBlogList < 3) { - checkUnnamed576(o.blogUserInfos); - checkUnnamed577(o.items); + checkUnnamed550(o.blogUserInfos); + checkUnnamed551(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterBlogList--; @@ -380,14 +380,14 @@ buildCounterComment--; } -buildUnnamed578() { +buildUnnamed552() { var o = new core.List<api.Comment>(); o.add(buildComment()); o.add(buildComment()); return o; } -checkUnnamed578(core.List<api.Comment> o) { +checkUnnamed552(core.List<api.Comment> o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -398,7 +398,7 @@ var o = new api.CommentList(); buildCounterCommentList++; if (buildCounterCommentList < 3) { - o.items = buildUnnamed578(); + o.items = buildUnnamed552(); o.kind = "foo"; o.nextPageToken = "foo"; o.prevPageToken = "foo"; @@ -410,7 +410,7 @@ checkCommentList(api.CommentList o) { buildCounterCommentList++; if (buildCounterCommentList < 3) { - checkUnnamed578(o.items); + checkUnnamed552(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.prevPageToken, unittest.equals('foo')); @@ -522,14 +522,14 @@ buildCounterPage--; } -buildUnnamed579() { +buildUnnamed553() { var o = new core.List<api.Page>(); o.add(buildPage()); o.add(buildPage()); return o; } -checkUnnamed579(core.List<api.Page> o) { +checkUnnamed553(core.List<api.Page> o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); @@ -540,7 +540,7 @@ var o = new api.PageList(); buildCounterPageList++; if (buildCounterPageList < 3) { - o.items = buildUnnamed579(); + o.items = buildUnnamed553(); o.kind = "foo"; } buildCounterPageList--; @@ -550,7 +550,7 @@ checkPageList(api.PageList o) { buildCounterPageList++; if (buildCounterPageList < 3) { - checkUnnamed579(o.items); + checkUnnamed553(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterPageList--; @@ -577,14 +577,14 @@ buildCounterPageviewsCounts--; } -buildUnnamed580() { +buildUnnamed554() { var o = new core.List<api.PageviewsCounts>(); o.add(buildPageviewsCounts()); o.add(buildPageviewsCounts()); return o; } -checkUnnamed580(core.List<api.PageviewsCounts> o) { +checkUnnamed554(core.List<api.PageviewsCounts> o) { unittest.expect(o, unittest.hasLength(2)); checkPageviewsCounts(o[0]); checkPageviewsCounts(o[1]); @@ -596,7 +596,7 @@ buildCounterPageviews++; if (buildCounterPageviews < 3) { o.blogId = "foo"; - o.counts = buildUnnamed580(); + o.counts = buildUnnamed554(); o.kind = "foo"; } buildCounterPageviews--; @@ -607,7 +607,7 @@ buildCounterPageviews++; if (buildCounterPageviews < 3) { unittest.expect(o.blogId, unittest.equals('foo')); - checkUnnamed580(o.counts); + checkUnnamed554(o.counts); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterPageviews--; @@ -695,27 +695,27 @@ buildCounterPostImages--; } -buildUnnamed581() { +buildUnnamed555() { var o = new core.List<api.PostImages>(); o.add(buildPostImages()); o.add(buildPostImages()); return o; } -checkUnnamed581(core.List<api.PostImages> o) { +checkUnnamed555(core.List<api.PostImages> o) { unittest.expect(o, unittest.hasLength(2)); checkPostImages(o[0]); checkPostImages(o[1]); } -buildUnnamed582() { +buildUnnamed556() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed582(core.List<core.String> o) { +checkUnnamed556(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -746,14 +746,14 @@ buildCounterPostLocation--; } -buildUnnamed583() { +buildUnnamed557() { var o = new core.List<api.Comment>(); o.add(buildComment()); o.add(buildComment()); return o; } -checkUnnamed583(core.List<api.Comment> o) { +checkUnnamed557(core.List<api.Comment> o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -764,7 +764,7 @@ var o = new api.PostReplies(); buildCounterPostReplies++; if (buildCounterPostReplies < 3) { - o.items = buildUnnamed583(); + o.items = buildUnnamed557(); o.selfLink = "foo"; o.totalItems = "foo"; } @@ -775,7 +775,7 @@ checkPostReplies(api.PostReplies o) { buildCounterPostReplies++; if (buildCounterPostReplies < 3) { - checkUnnamed583(o.items); + checkUnnamed557(o.items); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals('foo')); } @@ -793,9 +793,9 @@ o.customMetaData = "foo"; o.etag = "foo"; o.id = "foo"; - o.images = buildUnnamed581(); + o.images = buildUnnamed555(); o.kind = "foo"; - o.labels = buildUnnamed582(); + o.labels = buildUnnamed556(); o.location = buildPostLocation(); o.published = core.DateTime.parse("2002-02-27T14:01:02"); o.readerComments = "foo"; @@ -820,9 +820,9 @@ unittest.expect(o.customMetaData, unittest.equals('foo')); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed581(o.images); + checkUnnamed555(o.images); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed582(o.labels); + checkUnnamed556(o.labels); checkPostLocation(o.location); unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.readerComments, unittest.equals('foo')); @@ -837,14 +837,14 @@ buildCounterPost--; } -buildUnnamed584() { +buildUnnamed558() { var o = new core.List<api.Post>(); o.add(buildPost()); o.add(buildPost()); return o; } -checkUnnamed584(core.List<api.Post> o) { +checkUnnamed558(core.List<api.Post> o) { unittest.expect(o, unittest.hasLength(2)); checkPost(o[0]); checkPost(o[1]); @@ -855,7 +855,7 @@ var o = new api.PostList(); buildCounterPostList++; if (buildCounterPostList < 3) { - o.items = buildUnnamed584(); + o.items = buildUnnamed558(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -866,7 +866,7 @@ checkPostList(api.PostList o) { buildCounterPostList++; if (buildCounterPostList < 3) { - checkUnnamed584(o.items); + checkUnnamed558(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -923,14 +923,14 @@ buildCounterPostUserInfo--; } -buildUnnamed585() { +buildUnnamed559() { var o = new core.List<api.PostUserInfo>(); o.add(buildPostUserInfo()); o.add(buildPostUserInfo()); return o; } -checkUnnamed585(core.List<api.PostUserInfo> o) { +checkUnnamed559(core.List<api.PostUserInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkPostUserInfo(o[0]); checkPostUserInfo(o[1]); @@ -941,7 +941,7 @@ var o = new api.PostUserInfosList(); buildCounterPostUserInfosList++; if (buildCounterPostUserInfosList < 3) { - o.items = buildUnnamed585(); + o.items = buildUnnamed559(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -952,7 +952,7 @@ checkPostUserInfosList(api.PostUserInfosList o) { buildCounterPostUserInfosList++; if (buildCounterPostUserInfosList < 3) { - checkUnnamed585(o.items); + checkUnnamed559(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -1036,92 +1036,92 @@ buildCounterUser--; } -buildUnnamed586() { +buildUnnamed560() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed586(core.List<core.String> o) { +checkUnnamed560(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed587() { +buildUnnamed561() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed587(core.List<core.String> o) { +checkUnnamed561(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed588() { +buildUnnamed562() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed588(core.List<core.String> o) { +checkUnnamed562(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed589() { +buildUnnamed563() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed589(core.List<core.String> o) { +checkUnnamed563(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed590() { +buildUnnamed564() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed590(core.List<core.String> o) { +checkUnnamed564(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed591() { +buildUnnamed565() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed591(core.List<core.String> o) { +checkUnnamed565(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed592() { +buildUnnamed566() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed592(core.List<core.String> o) { +checkUnnamed566(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1616,8 +1616,8 @@ api.BlogsResourceApi res = new api.BloggerApi(mock).blogs; var arg_userId = "foo"; var arg_fetchUserInfo = true; - var arg_role = buildUnnamed586(); - var arg_status = buildUnnamed587(); + var arg_role = buildUnnamed560(); + var arg_status = buildUnnamed561(); var arg_view = "foo"; mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; @@ -1885,7 +1885,7 @@ var arg_maxResults = 42; var arg_pageToken = "foo"; var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02"); - var arg_status = buildUnnamed588(); + var arg_status = buildUnnamed562(); var arg_view = "foo"; mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; @@ -2159,7 +2159,7 @@ var mock = new common_test.HttpServerMock(); api.PageViewsResourceApi res = new api.BloggerApi(mock).pageViews; var arg_blogId = "foo"; - var arg_range = buildUnnamed589(); + var arg_range = buildUnnamed563(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0; @@ -2392,7 +2392,7 @@ api.PagesResourceApi res = new api.BloggerApi(mock).pages; var arg_blogId = "foo"; var arg_fetchBodies = true; - var arg_status = buildUnnamed590(); + var arg_status = buildUnnamed564(); var arg_view = "foo"; mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; @@ -2781,7 +2781,7 @@ var arg_orderBy = "foo"; var arg_pageToken = "foo"; var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02"); - var arg_status = buildUnnamed591(); + var arg_status = buildUnnamed565(); var arg_view = "foo"; mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; @@ -3106,7 +3106,7 @@ var arg_orderBy = "foo"; var arg_pageToken = "foo"; var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02"); - var arg_status = buildUnnamed592(); + var arg_status = buildUnnamed566(); var arg_view = "foo"; mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path;
diff --git a/generated/googleapis/test/books/v1_test.dart b/generated/googleapis/test/books/v1_test.dart index 597d938..afd40f7 100644 --- a/generated/googleapis/test/books/v1_test.dart +++ b/generated/googleapis/test/books/v1_test.dart
@@ -93,14 +93,14 @@ buildCounterAnnotationLayerSummary--; } -buildUnnamed970() { +buildUnnamed948() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed970(core.List<core.String> o) { +checkUnnamed948(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -123,7 +123,7 @@ o.kind = "foo"; o.layerId = "foo"; o.layerSummary = buildAnnotationLayerSummary(); - o.pageIds = buildUnnamed970(); + o.pageIds = buildUnnamed948(); o.selectedText = "foo"; o.selfLink = "foo"; o.updated = core.DateTime.parse("2002-02-27T14:01:02"); @@ -148,7 +148,7 @@ unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.layerId, unittest.equals('foo')); checkAnnotationLayerSummary(o.layerSummary); - checkUnnamed970(o.pageIds); + checkUnnamed948(o.pageIds); unittest.expect(o.selectedText, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); @@ -192,14 +192,14 @@ buildCounterAnnotationdata--; } -buildUnnamed971() { +buildUnnamed949() { var o = new core.List<api.Annotation>(); o.add(buildAnnotation()); o.add(buildAnnotation()); return o; } -checkUnnamed971(core.List<api.Annotation> o) { +checkUnnamed949(core.List<api.Annotation> o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotation(o[0]); checkAnnotation(o[1]); @@ -210,7 +210,7 @@ var o = new api.Annotations(); buildCounterAnnotations++; if (buildCounterAnnotations < 3) { - o.items = buildUnnamed971(); + o.items = buildUnnamed949(); o.kind = "foo"; o.nextPageToken = "foo"; o.totalItems = 42; @@ -222,7 +222,7 @@ checkAnnotations(api.Annotations o) { buildCounterAnnotations++; if (buildCounterAnnotations < 3) { - checkUnnamed971(o.items); + checkUnnamed949(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42)); @@ -257,14 +257,14 @@ buildCounterAnnotationsSummaryLayers--; } -buildUnnamed972() { +buildUnnamed950() { var o = new core.List<api.AnnotationsSummaryLayers>(); o.add(buildAnnotationsSummaryLayers()); o.add(buildAnnotationsSummaryLayers()); return o; } -checkUnnamed972(core.List<api.AnnotationsSummaryLayers> o) { +checkUnnamed950(core.List<api.AnnotationsSummaryLayers> o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotationsSummaryLayers(o[0]); checkAnnotationsSummaryLayers(o[1]); @@ -276,7 +276,7 @@ buildCounterAnnotationsSummary++; if (buildCounterAnnotationsSummary < 3) { o.kind = "foo"; - o.layers = buildUnnamed972(); + o.layers = buildUnnamed950(); } buildCounterAnnotationsSummary--; return o; @@ -286,19 +286,19 @@ buildCounterAnnotationsSummary++; if (buildCounterAnnotationsSummary < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed972(o.layers); + checkUnnamed950(o.layers); } buildCounterAnnotationsSummary--; } -buildUnnamed973() { +buildUnnamed951() { var o = new core.List<api.Annotationdata>(); o.add(buildAnnotationdata()); o.add(buildAnnotationdata()); return o; } -checkUnnamed973(core.List<api.Annotationdata> o) { +checkUnnamed951(core.List<api.Annotationdata> o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotationdata(o[0]); checkAnnotationdata(o[1]); @@ -309,7 +309,7 @@ var o = new api.Annotationsdata(); buildCounterAnnotationsdata++; if (buildCounterAnnotationsdata < 3) { - o.items = buildUnnamed973(); + o.items = buildUnnamed951(); o.kind = "foo"; o.nextPageToken = "foo"; o.totalItems = 42; @@ -321,7 +321,7 @@ checkAnnotationsdata(api.Annotationsdata o) { buildCounterAnnotationsdata++; if (buildCounterAnnotationsdata < 3) { - checkUnnamed973(o.items); + checkUnnamed951(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42)); @@ -435,14 +435,14 @@ buildCounterBookshelf--; } -buildUnnamed974() { +buildUnnamed952() { var o = new core.List<api.Bookshelf>(); o.add(buildBookshelf()); o.add(buildBookshelf()); return o; } -checkUnnamed974(core.List<api.Bookshelf> o) { +checkUnnamed952(core.List<api.Bookshelf> o) { unittest.expect(o, unittest.hasLength(2)); checkBookshelf(o[0]); checkBookshelf(o[1]); @@ -453,7 +453,7 @@ var o = new api.Bookshelves(); buildCounterBookshelves++; if (buildCounterBookshelves < 3) { - o.items = buildUnnamed974(); + o.items = buildUnnamed952(); o.kind = "foo"; } buildCounterBookshelves--; @@ -463,7 +463,7 @@ checkBookshelves(api.Bookshelves o) { buildCounterBookshelves++; if (buildCounterBookshelves < 3) { - checkUnnamed974(o.items); + checkUnnamed952(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterBookshelves--; @@ -590,14 +590,14 @@ buildCounterDictlayerdataDictWordsDerivatives--; } -buildUnnamed975() { +buildUnnamed953() { var o = new core.List<api.DictlayerdataDictWordsDerivatives>(); o.add(buildDictlayerdataDictWordsDerivatives()); o.add(buildDictlayerdataDictWordsDerivatives()); return o; } -checkUnnamed975(core.List<api.DictlayerdataDictWordsDerivatives> o) { +checkUnnamed953(core.List<api.DictlayerdataDictWordsDerivatives> o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsDerivatives(o[0]); checkDictlayerdataDictWordsDerivatives(o[1]); @@ -645,14 +645,14 @@ buildCounterDictlayerdataDictWordsExamples--; } -buildUnnamed976() { +buildUnnamed954() { var o = new core.List<api.DictlayerdataDictWordsExamples>(); o.add(buildDictlayerdataDictWordsExamples()); o.add(buildDictlayerdataDictWordsExamples()); return o; } -checkUnnamed976(core.List<api.DictlayerdataDictWordsExamples> o) { +checkUnnamed954(core.List<api.DictlayerdataDictWordsExamples> o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsExamples(o[0]); checkDictlayerdataDictWordsExamples(o[1]); @@ -679,14 +679,14 @@ buildCounterDictlayerdataDictWordsSensesConjugations--; } -buildUnnamed977() { +buildUnnamed955() { var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>(); o.add(buildDictlayerdataDictWordsSensesConjugations()); o.add(buildDictlayerdataDictWordsSensesConjugations()); return o; } -checkUnnamed977(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { +checkUnnamed955(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsSensesConjugations(o[0]); checkDictlayerdataDictWordsSensesConjugations(o[1]); @@ -734,14 +734,14 @@ buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--; } -buildUnnamed978() { +buildUnnamed956() { var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>(); o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); return o; } -checkUnnamed978(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) { +checkUnnamed956(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]); checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]); @@ -753,7 +753,7 @@ buildCounterDictlayerdataDictWordsSensesDefinitions++; if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { o.definition = "foo"; - o.examples = buildUnnamed978(); + o.examples = buildUnnamed956(); } buildCounterDictlayerdataDictWordsSensesDefinitions--; return o; @@ -763,19 +763,19 @@ buildCounterDictlayerdataDictWordsSensesDefinitions++; if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { unittest.expect(o.definition, unittest.equals('foo')); - checkUnnamed978(o.examples); + checkUnnamed956(o.examples); } buildCounterDictlayerdataDictWordsSensesDefinitions--; } -buildUnnamed979() { +buildUnnamed957() { var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>(); o.add(buildDictlayerdataDictWordsSensesDefinitions()); o.add(buildDictlayerdataDictWordsSensesDefinitions()); return o; } -checkUnnamed979(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { +checkUnnamed957(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsSensesDefinitions(o[0]); checkDictlayerdataDictWordsSensesDefinitions(o[1]); @@ -844,14 +844,14 @@ buildCounterDictlayerdataDictWordsSensesSynonyms--; } -buildUnnamed980() { +buildUnnamed958() { var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>(); o.add(buildDictlayerdataDictWordsSensesSynonyms()); o.add(buildDictlayerdataDictWordsSensesSynonyms()); return o; } -checkUnnamed980(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { +checkUnnamed958(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsSensesSynonyms(o[0]); checkDictlayerdataDictWordsSensesSynonyms(o[1]); @@ -862,14 +862,14 @@ var o = new api.DictlayerdataDictWordsSenses(); buildCounterDictlayerdataDictWordsSenses++; if (buildCounterDictlayerdataDictWordsSenses < 3) { - o.conjugations = buildUnnamed977(); - o.definitions = buildUnnamed979(); + o.conjugations = buildUnnamed955(); + o.definitions = buildUnnamed957(); o.partOfSpeech = "foo"; o.pronunciation = "foo"; o.pronunciationUrl = "foo"; o.source = buildDictlayerdataDictWordsSensesSource(); o.syllabification = "foo"; - o.synonyms = buildUnnamed980(); + o.synonyms = buildUnnamed958(); } buildCounterDictlayerdataDictWordsSenses--; return o; @@ -878,26 +878,26 @@ checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { buildCounterDictlayerdataDictWordsSenses++; if (buildCounterDictlayerdataDictWordsSenses < 3) { - checkUnnamed977(o.conjugations); - checkUnnamed979(o.definitions); + checkUnnamed955(o.conjugations); + checkUnnamed957(o.definitions); unittest.expect(o.partOfSpeech, unittest.equals('foo')); unittest.expect(o.pronunciation, unittest.equals('foo')); unittest.expect(o.pronunciationUrl, unittest.equals('foo')); checkDictlayerdataDictWordsSensesSource(o.source); unittest.expect(o.syllabification, unittest.equals('foo')); - checkUnnamed980(o.synonyms); + checkUnnamed958(o.synonyms); } buildCounterDictlayerdataDictWordsSenses--; } -buildUnnamed981() { +buildUnnamed959() { var o = new core.List<api.DictlayerdataDictWordsSenses>(); o.add(buildDictlayerdataDictWordsSenses()); o.add(buildDictlayerdataDictWordsSenses()); return o; } -checkUnnamed981(core.List<api.DictlayerdataDictWordsSenses> o) { +checkUnnamed959(core.List<api.DictlayerdataDictWordsSenses> o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsSenses(o[0]); checkDictlayerdataDictWordsSenses(o[1]); @@ -929,9 +929,9 @@ var o = new api.DictlayerdataDictWords(); buildCounterDictlayerdataDictWords++; if (buildCounterDictlayerdataDictWords < 3) { - o.derivatives = buildUnnamed975(); - o.examples = buildUnnamed976(); - o.senses = buildUnnamed981(); + o.derivatives = buildUnnamed953(); + o.examples = buildUnnamed954(); + o.senses = buildUnnamed959(); o.source = buildDictlayerdataDictWordsSource(); } buildCounterDictlayerdataDictWords--; @@ -941,22 +941,22 @@ checkDictlayerdataDictWords(api.DictlayerdataDictWords o) { buildCounterDictlayerdataDictWords++; if (buildCounterDictlayerdataDictWords < 3) { - checkUnnamed975(o.derivatives); - checkUnnamed976(o.examples); - checkUnnamed981(o.senses); + checkUnnamed953(o.derivatives); + checkUnnamed954(o.examples); + checkUnnamed959(o.senses); checkDictlayerdataDictWordsSource(o.source); } buildCounterDictlayerdataDictWords--; } -buildUnnamed982() { +buildUnnamed960() { var o = new core.List<api.DictlayerdataDictWords>(); o.add(buildDictlayerdataDictWords()); o.add(buildDictlayerdataDictWords()); return o; } -checkUnnamed982(core.List<api.DictlayerdataDictWords> o) { +checkUnnamed960(core.List<api.DictlayerdataDictWords> o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWords(o[0]); checkDictlayerdataDictWords(o[1]); @@ -968,7 +968,7 @@ buildCounterDictlayerdataDict++; if (buildCounterDictlayerdataDict < 3) { o.source = buildDictlayerdataDictSource(); - o.words = buildUnnamed982(); + o.words = buildUnnamed960(); } buildCounterDictlayerdataDict--; return o; @@ -978,7 +978,7 @@ buildCounterDictlayerdataDict++; if (buildCounterDictlayerdataDict < 3) { checkDictlayerdataDictSource(o.source); - checkUnnamed982(o.words); + checkUnnamed960(o.words); } buildCounterDictlayerdataDict--; } @@ -1047,14 +1047,14 @@ buildCounterDownloadAccessRestriction--; } -buildUnnamed983() { +buildUnnamed961() { var o = new core.List<api.DownloadAccessRestriction>(); o.add(buildDownloadAccessRestriction()); o.add(buildDownloadAccessRestriction()); return o; } -checkUnnamed983(core.List<api.DownloadAccessRestriction> o) { +checkUnnamed961(core.List<api.DownloadAccessRestriction> o) { unittest.expect(o, unittest.hasLength(2)); checkDownloadAccessRestriction(o[0]); checkDownloadAccessRestriction(o[1]); @@ -1065,7 +1065,7 @@ var o = new api.DownloadAccesses(); buildCounterDownloadAccesses++; if (buildCounterDownloadAccesses < 3) { - o.downloadAccessList = buildUnnamed983(); + o.downloadAccessList = buildUnnamed961(); o.kind = "foo"; } buildCounterDownloadAccesses--; @@ -1075,7 +1075,7 @@ checkDownloadAccesses(api.DownloadAccesses o) { buildCounterDownloadAccesses++; if (buildCounterDownloadAccesses < 3) { - checkUnnamed983(o.downloadAccessList); + checkUnnamed961(o.downloadAccessList); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterDownloadAccesses--; @@ -1129,30 +1129,30 @@ buildCounterGeolayerdataGeoBoundary--; } -buildUnnamed984() { +buildUnnamed962() { var o = new core.List<api.GeolayerdataGeoBoundary>(); o.add(buildGeolayerdataGeoBoundary()); o.add(buildGeolayerdataGeoBoundary()); return o; } -checkUnnamed984(core.List<api.GeolayerdataGeoBoundary> o) { +checkUnnamed962(core.List<api.GeolayerdataGeoBoundary> o) { unittest.expect(o, unittest.hasLength(2)); checkGeolayerdataGeoBoundary(o[0]); checkGeolayerdataGeoBoundary(o[1]); } -buildUnnamed985() { +buildUnnamed963() { var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); - o.add(buildUnnamed984()); - o.add(buildUnnamed984()); + o.add(buildUnnamed962()); + o.add(buildUnnamed962()); return o; } -checkUnnamed985(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { +checkUnnamed963(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed984(o[0]); - checkUnnamed984(o[1]); + checkUnnamed962(o[0]); + checkUnnamed962(o[1]); } core.int buildCounterGeolayerdataGeoViewportHi = 0; @@ -1223,7 +1223,7 @@ var o = new api.GeolayerdataGeo(); buildCounterGeolayerdataGeo++; if (buildCounterGeolayerdataGeo < 3) { - o.boundary = buildUnnamed985(); + o.boundary = buildUnnamed963(); o.cachePolicy = "foo"; o.countryCode = "foo"; o.latitude = 42.0; @@ -1239,7 +1239,7 @@ checkGeolayerdataGeo(api.GeolayerdataGeo o) { buildCounterGeolayerdataGeo++; if (buildCounterGeolayerdataGeo < 3) { - checkUnnamed985(o.boundary); + checkUnnamed963(o.boundary); unittest.expect(o.cachePolicy, unittest.equals('foo')); unittest.expect(o.countryCode, unittest.equals('foo')); unittest.expect(o.latitude, unittest.equals(42.0)); @@ -1274,14 +1274,14 @@ buildCounterGeolayerdata--; } -buildUnnamed986() { +buildUnnamed964() { var o = new core.List<api.Layersummary>(); o.add(buildLayersummary()); o.add(buildLayersummary()); return o; } -checkUnnamed986(core.List<api.Layersummary> o) { +checkUnnamed964(core.List<api.Layersummary> o) { unittest.expect(o, unittest.hasLength(2)); checkLayersummary(o[0]); checkLayersummary(o[1]); @@ -1292,7 +1292,7 @@ var o = new api.Layersummaries(); buildCounterLayersummaries++; if (buildCounterLayersummaries < 3) { - o.items = buildUnnamed986(); + o.items = buildUnnamed964(); o.kind = "foo"; o.totalItems = 42; } @@ -1303,21 +1303,21 @@ checkLayersummaries(api.Layersummaries o) { buildCounterLayersummaries++; if (buildCounterLayersummaries < 3) { - checkUnnamed986(o.items); + checkUnnamed964(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42)); } buildCounterLayersummaries--; } -buildUnnamed987() { +buildUnnamed965() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed987(core.List<core.String> o) { +checkUnnamed965(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1329,7 +1329,7 @@ buildCounterLayersummary++; if (buildCounterLayersummary < 3) { o.annotationCount = 42; - o.annotationTypes = buildUnnamed987(); + o.annotationTypes = buildUnnamed965(); o.annotationsDataLink = "foo"; o.annotationsLink = "foo"; o.contentVersion = "foo"; @@ -1350,7 +1350,7 @@ buildCounterLayersummary++; if (buildCounterLayersummary < 3) { unittest.expect(o.annotationCount, unittest.equals(42)); - checkUnnamed987(o.annotationTypes); + checkUnnamed965(o.annotationTypes); unittest.expect(o.annotationsDataLink, unittest.equals('foo')); unittest.expect(o.annotationsLink, unittest.equals('foo')); unittest.expect(o.contentVersion, unittest.equals('foo')); @@ -1395,14 +1395,14 @@ buildCounterOffersItemsItems--; } -buildUnnamed988() { +buildUnnamed966() { var o = new core.List<api.OffersItemsItems>(); o.add(buildOffersItemsItems()); o.add(buildOffersItemsItems()); return o; } -checkUnnamed988(core.List<api.OffersItemsItems> o) { +checkUnnamed966(core.List<api.OffersItemsItems> o) { unittest.expect(o, unittest.hasLength(2)); checkOffersItemsItems(o[0]); checkOffersItemsItems(o[1]); @@ -1415,7 +1415,7 @@ if (buildCounterOffersItems < 3) { o.artUrl = "foo"; o.id = "foo"; - o.items = buildUnnamed988(); + o.items = buildUnnamed966(); } buildCounterOffersItems--; return o; @@ -1426,19 +1426,19 @@ if (buildCounterOffersItems < 3) { unittest.expect(o.artUrl, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed988(o.items); + checkUnnamed966(o.items); } buildCounterOffersItems--; } -buildUnnamed989() { +buildUnnamed967() { var o = new core.List<api.OffersItems>(); o.add(buildOffersItems()); o.add(buildOffersItems()); return o; } -checkUnnamed989(core.List<api.OffersItems> o) { +checkUnnamed967(core.List<api.OffersItems> o) { unittest.expect(o, unittest.hasLength(2)); checkOffersItems(o[0]); checkOffersItems(o[1]); @@ -1449,7 +1449,7 @@ var o = new api.Offers(); buildCounterOffers++; if (buildCounterOffers < 3) { - o.items = buildUnnamed989(); + o.items = buildUnnamed967(); o.kind = "foo"; } buildCounterOffers--; @@ -1459,7 +1459,7 @@ checkOffers(api.Offers o) { buildCounterOffers++; if (buildCounterOffers < 3) { - checkUnnamed989(o.items); + checkUnnamed967(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterOffers--; @@ -1710,14 +1710,14 @@ buildCounterVolumeLayerInfoLayers--; } -buildUnnamed990() { +buildUnnamed968() { var o = new core.List<api.VolumeLayerInfoLayers>(); o.add(buildVolumeLayerInfoLayers()); o.add(buildVolumeLayerInfoLayers()); return o; } -checkUnnamed990(core.List<api.VolumeLayerInfoLayers> o) { +checkUnnamed968(core.List<api.VolumeLayerInfoLayers> o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeLayerInfoLayers(o[0]); checkVolumeLayerInfoLayers(o[1]); @@ -1728,7 +1728,7 @@ var o = new api.VolumeLayerInfo(); buildCounterVolumeLayerInfo++; if (buildCounterVolumeLayerInfo < 3) { - o.layers = buildUnnamed990(); + o.layers = buildUnnamed968(); } buildCounterVolumeLayerInfo--; return o; @@ -1737,7 +1737,7 @@ checkVolumeLayerInfo(api.VolumeLayerInfo o) { buildCounterVolumeLayerInfo++; if (buildCounterVolumeLayerInfo < 3) { - checkUnnamed990(o.layers); + checkUnnamed968(o.layers); } buildCounterVolumeLayerInfo--; } @@ -1870,14 +1870,14 @@ buildCounterVolumeSaleInfoOffers--; } -buildUnnamed991() { +buildUnnamed969() { var o = new core.List<api.VolumeSaleInfoOffers>(); o.add(buildVolumeSaleInfoOffers()); o.add(buildVolumeSaleInfoOffers()); return o; } -checkUnnamed991(core.List<api.VolumeSaleInfoOffers> o) { +checkUnnamed969(core.List<api.VolumeSaleInfoOffers> o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeSaleInfoOffers(o[0]); checkVolumeSaleInfoOffers(o[1]); @@ -1913,7 +1913,7 @@ o.country = "foo"; o.isEbook = true; o.listPrice = buildVolumeSaleInfoListPrice(); - o.offers = buildUnnamed991(); + o.offers = buildUnnamed969(); o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); o.retailPrice = buildVolumeSaleInfoRetailPrice(); o.saleability = "foo"; @@ -1929,7 +1929,7 @@ unittest.expect(o.country, unittest.equals('foo')); unittest.expect(o.isEbook, unittest.isTrue); checkVolumeSaleInfoListPrice(o.listPrice); - checkUnnamed991(o.offers); + checkUnnamed969(o.offers); unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); checkVolumeSaleInfoRetailPrice(o.retailPrice); unittest.expect(o.saleability, unittest.equals('foo')); @@ -2060,27 +2060,27 @@ buildCounterVolumeUserInfo--; } -buildUnnamed992() { +buildUnnamed970() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed992(core.List<core.String> o) { +checkUnnamed970(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed993() { +buildUnnamed971() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed993(core.List<core.String> o) { +checkUnnamed971(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2159,14 +2159,14 @@ buildCounterVolumeVolumeInfoIndustryIdentifiers--; } -buildUnnamed994() { +buildUnnamed972() { var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); o.add(buildVolumeVolumeInfoIndustryIdentifiers()); o.add(buildVolumeVolumeInfoIndustryIdentifiers()); return o; } -checkUnnamed994(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { +checkUnnamed972(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeVolumeInfoIndustryIdentifiers(o[0]); checkVolumeVolumeInfoIndustryIdentifiers(o[1]); @@ -2177,15 +2177,15 @@ var o = new api.VolumeVolumeInfo(); buildCounterVolumeVolumeInfo++; if (buildCounterVolumeVolumeInfo < 3) { - o.authors = buildUnnamed992(); + o.authors = buildUnnamed970(); o.averageRating = 42.0; o.canonicalVolumeLink = "foo"; - o.categories = buildUnnamed993(); + o.categories = buildUnnamed971(); o.contentVersion = "foo"; o.description = "foo"; o.dimensions = buildVolumeVolumeInfoDimensions(); o.imageLinks = buildVolumeVolumeInfoImageLinks(); - o.industryIdentifiers = buildUnnamed994(); + o.industryIdentifiers = buildUnnamed972(); o.infoLink = "foo"; o.language = "foo"; o.mainCategory = "foo"; @@ -2207,15 +2207,15 @@ checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { buildCounterVolumeVolumeInfo++; if (buildCounterVolumeVolumeInfo < 3) { - checkUnnamed992(o.authors); + checkUnnamed970(o.authors); unittest.expect(o.averageRating, unittest.equals(42.0)); unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); - checkUnnamed993(o.categories); + checkUnnamed971(o.categories); unittest.expect(o.contentVersion, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); checkVolumeVolumeInfoDimensions(o.dimensions); checkVolumeVolumeInfoImageLinks(o.imageLinks); - checkUnnamed994(o.industryIdentifiers); + checkUnnamed972(o.industryIdentifiers); unittest.expect(o.infoLink, unittest.equals('foo')); unittest.expect(o.language, unittest.equals('foo')); unittest.expect(o.mainCategory, unittest.equals('foo')); @@ -2297,14 +2297,14 @@ buildCounterVolumeannotationContentRanges--; } -buildUnnamed995() { +buildUnnamed973() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed995(core.List<core.String> o) { +checkUnnamed973(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2324,7 +2324,7 @@ o.id = "foo"; o.kind = "foo"; o.layerId = "foo"; - o.pageIds = buildUnnamed995(); + o.pageIds = buildUnnamed973(); o.selectedText = "foo"; o.selfLink = "foo"; o.updated = core.DateTime.parse("2002-02-27T14:01:02"); @@ -2346,7 +2346,7 @@ unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.layerId, unittest.equals('foo')); - checkUnnamed995(o.pageIds); + checkUnnamed973(o.pageIds); unittest.expect(o.selectedText, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); @@ -2355,14 +2355,14 @@ buildCounterVolumeannotation--; } -buildUnnamed996() { +buildUnnamed974() { var o = new core.List<api.Volumeannotation>(); o.add(buildVolumeannotation()); o.add(buildVolumeannotation()); return o; } -checkUnnamed996(core.List<api.Volumeannotation> o) { +checkUnnamed974(core.List<api.Volumeannotation> o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeannotation(o[0]); checkVolumeannotation(o[1]); @@ -2373,7 +2373,7 @@ var o = new api.Volumeannotations(); buildCounterVolumeannotations++; if (buildCounterVolumeannotations < 3) { - o.items = buildUnnamed996(); + o.items = buildUnnamed974(); o.kind = "foo"; o.nextPageToken = "foo"; o.totalItems = 42; @@ -2386,7 +2386,7 @@ checkVolumeannotations(api.Volumeannotations o) { buildCounterVolumeannotations++; if (buildCounterVolumeannotations < 3) { - checkUnnamed996(o.items); + checkUnnamed974(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42)); @@ -2395,14 +2395,14 @@ buildCounterVolumeannotations--; } -buildUnnamed997() { +buildUnnamed975() { var o = new core.List<api.Volume>(); o.add(buildVolume()); o.add(buildVolume()); return o; } -checkUnnamed997(core.List<api.Volume> o) { +checkUnnamed975(core.List<api.Volume> o) { unittest.expect(o, unittest.hasLength(2)); checkVolume(o[0]); checkVolume(o[1]); @@ -2413,7 +2413,7 @@ var o = new api.Volumes(); buildCounterVolumes++; if (buildCounterVolumes < 3) { - o.items = buildUnnamed997(); + o.items = buildUnnamed975(); o.kind = "foo"; o.totalItems = 42; } @@ -2424,151 +2424,151 @@ checkVolumes(api.Volumes o) { buildCounterVolumes++; if (buildCounterVolumes < 3) { - checkUnnamed997(o.items); + checkUnnamed975(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42)); } buildCounterVolumes--; } -buildUnnamed998() { +buildUnnamed976() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed998(core.List<core.String> o) { +checkUnnamed976(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed999() { +buildUnnamed977() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed999(core.List<core.String> o) { +checkUnnamed977(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1000() { +buildUnnamed978() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1000(core.List<core.String> o) { +checkUnnamed978(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1001() { +buildUnnamed979() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1001(core.List<core.String> o) { +checkUnnamed979(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1002() { +buildUnnamed980() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1002(core.List<core.String> o) { +checkUnnamed980(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1003() { +buildUnnamed981() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1003(core.List<core.String> o) { +checkUnnamed981(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1004() { +buildUnnamed982() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1004(core.List<core.String> o) { +checkUnnamed982(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1005() { +buildUnnamed983() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1005(core.List<core.String> o) { +checkUnnamed983(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1006() { +buildUnnamed984() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1006(core.List<core.String> o) { +checkUnnamed984(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1007() { +buildUnnamed985() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1007(core.List<core.String> o) { +checkUnnamed985(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1008() { +buildUnnamed986() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1008(core.List<core.String> o) { +checkUnnamed986(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3842,7 +3842,7 @@ var arg_volumeId = "foo"; var arg_layerId = "foo"; var arg_contentVersion = "foo"; - var arg_annotationDataId = buildUnnamed998(); + var arg_annotationDataId = buildUnnamed976(); var arg_h = 42; var arg_locale = "foo"; var arg_maxResults = 42; @@ -4082,7 +4082,7 @@ var mock = new common_test.HttpServerMock(); api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; - var arg_volumeIds = buildUnnamed999(); + var arg_volumeIds = buildUnnamed977(); var arg_cpksver = "foo"; var arg_locale = "foo"; var arg_source = "foo"; @@ -4195,10 +4195,10 @@ var arg_source = "foo"; var arg_nonce = "foo"; var arg_cpksver = "foo"; - var arg_features = buildUnnamed1000(); + var arg_features = buildUnnamed978(); var arg_locale = "foo"; var arg_showPreorders = true; - var arg_volumeIds = buildUnnamed1001(); + var arg_volumeIds = buildUnnamed979(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0; @@ -4410,9 +4410,9 @@ api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary.annotations; var arg_contentVersion = "foo"; var arg_layerId = "foo"; - var arg_layerIds = buildUnnamed1002(); + var arg_layerIds = buildUnnamed980(); var arg_maxResults = 42; - var arg_pageIds = buildUnnamed1003(); + var arg_pageIds = buildUnnamed981(); var arg_pageToken = "foo"; var arg_showDeleted = true; var arg_source = "foo"; @@ -4475,7 +4475,7 @@ var mock = new common_test.HttpServerMock(); api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary.annotations; - var arg_layerIds = buildUnnamed1004(); + var arg_layerIds = buildUnnamed982(); var arg_volumeId = "foo"; mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; @@ -5468,10 +5468,10 @@ var mock = new common_test.HttpServerMock(); api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks; - var arg_acquireMethod = buildUnnamed1005(); + var arg_acquireMethod = buildUnnamed983(); var arg_locale = "foo"; var arg_maxResults = 42; - var arg_processingState = buildUnnamed1006(); + var arg_processingState = buildUnnamed984(); var arg_source = "foo"; var arg_startIndex = 42; mock.register(unittest.expectAsync((http.BaseRequest req, json) { @@ -5637,10 +5637,10 @@ api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.useruploaded; var arg_locale = "foo"; var arg_maxResults = 42; - var arg_processingState = buildUnnamed1007(); + var arg_processingState = buildUnnamed985(); var arg_source = "foo"; var arg_startIndex = 42; - var arg_volumeId = buildUnnamed1008(); + var arg_volumeId = buildUnnamed986(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0;
diff --git a/generated/googleapis/test/calendar/v3_test.dart b/generated/googleapis/test/calendar/v3_test.dart index a96c76d..1d0a459 100644 --- a/generated/googleapis/test/calendar/v3_test.dart +++ b/generated/googleapis/test/calendar/v3_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed125() { +buildUnnamed126() { var o = new core.List<api.AclRule>(); o.add(buildAclRule()); o.add(buildAclRule()); return o; } -checkUnnamed125(core.List<api.AclRule> o) { +checkUnnamed126(core.List<api.AclRule> o) { unittest.expect(o, unittest.hasLength(2)); checkAclRule(o[0]); checkAclRule(o[1]); @@ -35,7 +35,7 @@ buildCounterAcl++; if (buildCounterAcl < 3) { o.etag = "foo"; - o.items = buildUnnamed125(); + o.items = buildUnnamed126(); o.kind = "foo"; o.nextPageToken = "foo"; o.nextSyncToken = "foo"; @@ -48,7 +48,7 @@ buildCounterAcl++; if (buildCounterAcl < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed125(o.items); + checkUnnamed126(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.nextSyncToken, unittest.equals('foo')); @@ -135,14 +135,14 @@ buildCounterCalendar--; } -buildUnnamed126() { +buildUnnamed127() { var o = new core.List<api.CalendarListEntry>(); o.add(buildCalendarListEntry()); o.add(buildCalendarListEntry()); return o; } -checkUnnamed126(core.List<api.CalendarListEntry> o) { +checkUnnamed127(core.List<api.CalendarListEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkCalendarListEntry(o[0]); checkCalendarListEntry(o[1]); @@ -154,7 +154,7 @@ buildCounterCalendarList++; if (buildCounterCalendarList < 3) { o.etag = "foo"; - o.items = buildUnnamed126(); + o.items = buildUnnamed127(); o.kind = "foo"; o.nextPageToken = "foo"; o.nextSyncToken = "foo"; @@ -167,7 +167,7 @@ buildCounterCalendarList++; if (buildCounterCalendarList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed126(o.items); + checkUnnamed127(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.nextSyncToken, unittest.equals('foo')); @@ -175,27 +175,27 @@ buildCounterCalendarList--; } -buildUnnamed127() { +buildUnnamed128() { var o = new core.List<api.EventReminder>(); o.add(buildEventReminder()); o.add(buildEventReminder()); return o; } -checkUnnamed127(core.List<api.EventReminder> o) { +checkUnnamed128(core.List<api.EventReminder> o) { unittest.expect(o, unittest.hasLength(2)); checkEventReminder(o[0]); checkEventReminder(o[1]); } -buildUnnamed128() { +buildUnnamed129() { var o = new core.List<api.CalendarNotification>(); o.add(buildCalendarNotification()); o.add(buildCalendarNotification()); return o; } -checkUnnamed128(core.List<api.CalendarNotification> o) { +checkUnnamed129(core.List<api.CalendarNotification> o) { unittest.expect(o, unittest.hasLength(2)); checkCalendarNotification(o[0]); checkCalendarNotification(o[1]); @@ -206,7 +206,7 @@ var o = new api.CalendarListEntryNotificationSettings(); buildCounterCalendarListEntryNotificationSettings++; if (buildCounterCalendarListEntryNotificationSettings < 3) { - o.notifications = buildUnnamed128(); + o.notifications = buildUnnamed129(); } buildCounterCalendarListEntryNotificationSettings--; return o; @@ -215,7 +215,7 @@ checkCalendarListEntryNotificationSettings(api.CalendarListEntryNotificationSettings o) { buildCounterCalendarListEntryNotificationSettings++; if (buildCounterCalendarListEntryNotificationSettings < 3) { - checkUnnamed128(o.notifications); + checkUnnamed129(o.notifications); } buildCounterCalendarListEntryNotificationSettings--; } @@ -228,7 +228,7 @@ o.accessRole = "foo"; o.backgroundColor = "foo"; o.colorId = "foo"; - o.defaultReminders = buildUnnamed127(); + o.defaultReminders = buildUnnamed128(); o.deleted = true; o.description = "foo"; o.etag = "foo"; @@ -254,7 +254,7 @@ unittest.expect(o.accessRole, unittest.equals('foo')); unittest.expect(o.backgroundColor, unittest.equals('foo')); unittest.expect(o.colorId, unittest.equals('foo')); - checkUnnamed127(o.defaultReminders); + checkUnnamed128(o.defaultReminders); unittest.expect(o.deleted, unittest.isTrue); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.etag, unittest.equals('foo')); @@ -294,14 +294,14 @@ buildCounterCalendarNotification--; } -buildUnnamed129() { +buildUnnamed130() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed129(core.Map<core.String, core.String> o) { +checkUnnamed130(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); @@ -316,7 +316,7 @@ o.expiration = "foo"; o.id = "foo"; o.kind = "foo"; - o.params = buildUnnamed129(); + o.params = buildUnnamed130(); o.payload = true; o.resourceId = "foo"; o.resourceUri = "foo"; @@ -334,7 +334,7 @@ unittest.expect(o.expiration, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed129(o.params); + checkUnnamed130(o.params); unittest.expect(o.payload, unittest.isTrue); unittest.expect(o.resourceId, unittest.equals('foo')); unittest.expect(o.resourceUri, unittest.equals('foo')); @@ -365,19 +365,6 @@ buildCounterColorDefinition--; } -buildUnnamed130() { - var o = new core.Map<core.String, api.ColorDefinition>(); - o["x"] = buildColorDefinition(); - o["y"] = buildColorDefinition(); - return o; -} - -checkUnnamed130(core.Map<core.String, api.ColorDefinition> o) { - unittest.expect(o, unittest.hasLength(2)); - checkColorDefinition(o["x"]); - checkColorDefinition(o["y"]); -} - buildUnnamed131() { var o = new core.Map<core.String, api.ColorDefinition>(); o["x"] = buildColorDefinition(); @@ -391,13 +378,26 @@ checkColorDefinition(o["y"]); } +buildUnnamed132() { + var o = new core.Map<core.String, api.ColorDefinition>(); + o["x"] = buildColorDefinition(); + o["y"] = buildColorDefinition(); + return o; +} + +checkUnnamed132(core.Map<core.String, api.ColorDefinition> o) { + unittest.expect(o, unittest.hasLength(2)); + checkColorDefinition(o["x"]); + checkColorDefinition(o["y"]); +} + core.int buildCounterColors = 0; buildColors() { var o = new api.Colors(); buildCounterColors++; if (buildCounterColors < 3) { - o.calendar = buildUnnamed130(); - o.event = buildUnnamed131(); + o.calendar = buildUnnamed131(); + o.event = buildUnnamed132(); o.kind = "foo"; o.updated = core.DateTime.parse("2002-02-27T14:01:02"); } @@ -408,8 +408,8 @@ checkColors(api.Colors o) { buildCounterColors++; if (buildCounterColors < 3) { - checkUnnamed130(o.calendar); - checkUnnamed131(o.event); + checkUnnamed131(o.calendar); + checkUnnamed132(o.event); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); } @@ -437,14 +437,14 @@ buildCounterError--; } -buildUnnamed132() { +buildUnnamed133() { var o = new core.List<api.EventAttendee>(); o.add(buildEventAttendee()); o.add(buildEventAttendee()); return o; } -checkUnnamed132(core.List<api.EventAttendee> o) { +checkUnnamed133(core.List<api.EventAttendee> o) { unittest.expect(o, unittest.hasLength(2)); checkEventAttendee(o[0]); checkEventAttendee(o[1]); @@ -475,19 +475,6 @@ buildCounterEventCreator--; } -buildUnnamed133() { - var o = new core.Map<core.String, core.String>(); - o["x"] = "foo"; - o["y"] = "foo"; - return o; -} - -checkUnnamed133(core.Map<core.String, core.String> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect(o["x"], unittest.equals('foo')); - unittest.expect(o["y"], unittest.equals('foo')); -} - buildUnnamed134() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; @@ -501,27 +488,6 @@ unittest.expect(o["y"], unittest.equals('foo')); } -core.int buildCounterEventExtendedProperties = 0; -buildEventExtendedProperties() { - var o = new api.EventExtendedProperties(); - buildCounterEventExtendedProperties++; - if (buildCounterEventExtendedProperties < 3) { - o.private = buildUnnamed133(); - o.shared = buildUnnamed134(); - } - buildCounterEventExtendedProperties--; - return o; -} - -checkEventExtendedProperties(api.EventExtendedProperties o) { - buildCounterEventExtendedProperties++; - if (buildCounterEventExtendedProperties < 3) { - checkUnnamed133(o.private); - checkUnnamed134(o.shared); - } - buildCounterEventExtendedProperties--; -} - buildUnnamed135() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; @@ -535,6 +501,40 @@ unittest.expect(o["y"], unittest.equals('foo')); } +core.int buildCounterEventExtendedProperties = 0; +buildEventExtendedProperties() { + var o = new api.EventExtendedProperties(); + buildCounterEventExtendedProperties++; + if (buildCounterEventExtendedProperties < 3) { + o.private = buildUnnamed134(); + o.shared = buildUnnamed135(); + } + buildCounterEventExtendedProperties--; + return o; +} + +checkEventExtendedProperties(api.EventExtendedProperties o) { + buildCounterEventExtendedProperties++; + if (buildCounterEventExtendedProperties < 3) { + checkUnnamed134(o.private); + checkUnnamed135(o.shared); + } + buildCounterEventExtendedProperties--; +} + +buildUnnamed136() { + var o = new core.Map<core.String, core.String>(); + o["x"] = "foo"; + o["y"] = "foo"; + return o; +} + +checkUnnamed136(core.Map<core.String, core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect(o["x"], unittest.equals('foo')); + unittest.expect(o["y"], unittest.equals('foo')); +} + core.int buildCounterEventGadget = 0; buildEventGadget() { var o = new api.EventGadget(); @@ -544,7 +544,7 @@ o.height = 42; o.iconLink = "foo"; o.link = "foo"; - o.preferences = buildUnnamed135(); + o.preferences = buildUnnamed136(); o.title = "foo"; o.type = "foo"; o.width = 42; @@ -560,7 +560,7 @@ unittest.expect(o.height, unittest.equals(42)); unittest.expect(o.iconLink, unittest.equals('foo')); unittest.expect(o.link, unittest.equals('foo')); - checkUnnamed135(o.preferences); + checkUnnamed136(o.preferences); unittest.expect(o.title, unittest.equals('foo')); unittest.expect(o.type, unittest.equals('foo')); unittest.expect(o.width, unittest.equals(42)); @@ -593,27 +593,27 @@ buildCounterEventOrganizer--; } -buildUnnamed136() { +buildUnnamed137() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed136(core.List<core.String> o) { +checkUnnamed137(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed137() { +buildUnnamed138() { var o = new core.List<api.EventReminder>(); o.add(buildEventReminder()); o.add(buildEventReminder()); return o; } -checkUnnamed137(core.List<api.EventReminder> o) { +checkUnnamed138(core.List<api.EventReminder> o) { unittest.expect(o, unittest.hasLength(2)); checkEventReminder(o[0]); checkEventReminder(o[1]); @@ -624,7 +624,7 @@ var o = new api.EventReminders(); buildCounterEventReminders++; if (buildCounterEventReminders < 3) { - o.overrides = buildUnnamed137(); + o.overrides = buildUnnamed138(); o.useDefault = true; } buildCounterEventReminders--; @@ -634,7 +634,7 @@ checkEventReminders(api.EventReminders o) { buildCounterEventReminders++; if (buildCounterEventReminders < 3) { - checkUnnamed137(o.overrides); + checkUnnamed138(o.overrides); unittest.expect(o.useDefault, unittest.isTrue); } buildCounterEventReminders--; @@ -667,7 +667,7 @@ buildCounterEvent++; if (buildCounterEvent < 3) { o.anyoneCanAddSelf = true; - o.attendees = buildUnnamed132(); + o.attendees = buildUnnamed133(); o.attendeesOmitted = true; o.colorId = "foo"; o.created = core.DateTime.parse("2002-02-27T14:01:02"); @@ -691,7 +691,7 @@ o.organizer = buildEventOrganizer(); o.originalStartTime = buildEventDateTime(); o.privateCopy = true; - o.recurrence = buildUnnamed136(); + o.recurrence = buildUnnamed137(); o.recurringEventId = "foo"; o.reminders = buildEventReminders(); o.sequence = 42; @@ -711,7 +711,7 @@ buildCounterEvent++; if (buildCounterEvent < 3) { unittest.expect(o.anyoneCanAddSelf, unittest.isTrue); - checkUnnamed132(o.attendees); + checkUnnamed133(o.attendees); unittest.expect(o.attendeesOmitted, unittest.isTrue); unittest.expect(o.colorId, unittest.equals('foo')); unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); @@ -735,7 +735,7 @@ checkEventOrganizer(o.organizer); checkEventDateTime(o.originalStartTime); unittest.expect(o.privateCopy, unittest.isTrue); - checkUnnamed136(o.recurrence); + checkUnnamed137(o.recurrence); unittest.expect(o.recurringEventId, unittest.equals('foo')); checkEventReminders(o.reminders); unittest.expect(o.sequence, unittest.equals(42)); @@ -831,27 +831,27 @@ buildCounterEventReminder--; } -buildUnnamed138() { +buildUnnamed139() { var o = new core.List<api.EventReminder>(); o.add(buildEventReminder()); o.add(buildEventReminder()); return o; } -checkUnnamed138(core.List<api.EventReminder> o) { +checkUnnamed139(core.List<api.EventReminder> o) { unittest.expect(o, unittest.hasLength(2)); checkEventReminder(o[0]); checkEventReminder(o[1]); } -buildUnnamed139() { +buildUnnamed140() { var o = new core.List<api.Event>(); o.add(buildEvent()); o.add(buildEvent()); return o; } -checkUnnamed139(core.List<api.Event> o) { +checkUnnamed140(core.List<api.Event> o) { unittest.expect(o, unittest.hasLength(2)); checkEvent(o[0]); checkEvent(o[1]); @@ -863,10 +863,10 @@ buildCounterEvents++; if (buildCounterEvents < 3) { o.accessRole = "foo"; - o.defaultReminders = buildUnnamed138(); + o.defaultReminders = buildUnnamed139(); o.description = "foo"; o.etag = "foo"; - o.items = buildUnnamed139(); + o.items = buildUnnamed140(); o.kind = "foo"; o.nextPageToken = "foo"; o.nextSyncToken = "foo"; @@ -882,10 +882,10 @@ buildCounterEvents++; if (buildCounterEvents < 3) { unittest.expect(o.accessRole, unittest.equals('foo')); - checkUnnamed138(o.defaultReminders); + checkUnnamed139(o.defaultReminders); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed139(o.items); + checkUnnamed140(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.nextSyncToken, unittest.equals('foo')); @@ -896,27 +896,27 @@ buildCounterEvents--; } -buildUnnamed140() { +buildUnnamed141() { var o = new core.List<api.TimePeriod>(); o.add(buildTimePeriod()); o.add(buildTimePeriod()); return o; } -checkUnnamed140(core.List<api.TimePeriod> o) { +checkUnnamed141(core.List<api.TimePeriod> o) { unittest.expect(o, unittest.hasLength(2)); checkTimePeriod(o[0]); checkTimePeriod(o[1]); } -buildUnnamed141() { +buildUnnamed142() { var o = new core.List<api.Error>(); o.add(buildError()); o.add(buildError()); return o; } -checkUnnamed141(core.List<api.Error> o) { +checkUnnamed142(core.List<api.Error> o) { unittest.expect(o, unittest.hasLength(2)); checkError(o[0]); checkError(o[1]); @@ -927,8 +927,8 @@ var o = new api.FreeBusyCalendar(); buildCounterFreeBusyCalendar++; if (buildCounterFreeBusyCalendar < 3) { - o.busy = buildUnnamed140(); - o.errors = buildUnnamed141(); + o.busy = buildUnnamed141(); + o.errors = buildUnnamed142(); } buildCounterFreeBusyCalendar--; return o; @@ -937,33 +937,33 @@ checkFreeBusyCalendar(api.FreeBusyCalendar o) { buildCounterFreeBusyCalendar++; if (buildCounterFreeBusyCalendar < 3) { - checkUnnamed140(o.busy); - checkUnnamed141(o.errors); + checkUnnamed141(o.busy); + checkUnnamed142(o.errors); } buildCounterFreeBusyCalendar--; } -buildUnnamed142() { +buildUnnamed143() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed142(core.List<core.String> o) { +checkUnnamed143(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed143() { +buildUnnamed144() { var o = new core.List<api.Error>(); o.add(buildError()); o.add(buildError()); return o; } -checkUnnamed143(core.List<api.Error> o) { +checkUnnamed144(core.List<api.Error> o) { unittest.expect(o, unittest.hasLength(2)); checkError(o[0]); checkError(o[1]); @@ -974,8 +974,8 @@ var o = new api.FreeBusyGroup(); buildCounterFreeBusyGroup++; if (buildCounterFreeBusyGroup < 3) { - o.calendars = buildUnnamed142(); - o.errors = buildUnnamed143(); + o.calendars = buildUnnamed143(); + o.errors = buildUnnamed144(); } buildCounterFreeBusyGroup--; return o; @@ -984,20 +984,20 @@ checkFreeBusyGroup(api.FreeBusyGroup o) { buildCounterFreeBusyGroup++; if (buildCounterFreeBusyGroup < 3) { - checkUnnamed142(o.calendars); - checkUnnamed143(o.errors); + checkUnnamed143(o.calendars); + checkUnnamed144(o.errors); } buildCounterFreeBusyGroup--; } -buildUnnamed144() { +buildUnnamed145() { var o = new core.List<api.FreeBusyRequestItem>(); o.add(buildFreeBusyRequestItem()); o.add(buildFreeBusyRequestItem()); return o; } -checkUnnamed144(core.List<api.FreeBusyRequestItem> o) { +checkUnnamed145(core.List<api.FreeBusyRequestItem> o) { unittest.expect(o, unittest.hasLength(2)); checkFreeBusyRequestItem(o[0]); checkFreeBusyRequestItem(o[1]); @@ -1010,7 +1010,7 @@ if (buildCounterFreeBusyRequest < 3) { o.calendarExpansionMax = 42; o.groupExpansionMax = 42; - o.items = buildUnnamed144(); + o.items = buildUnnamed145(); o.timeMax = core.DateTime.parse("2002-02-27T14:01:02"); o.timeMin = core.DateTime.parse("2002-02-27T14:01:02"); o.timeZone = "foo"; @@ -1024,7 +1024,7 @@ if (buildCounterFreeBusyRequest < 3) { unittest.expect(o.calendarExpansionMax, unittest.equals(42)); unittest.expect(o.groupExpansionMax, unittest.equals(42)); - checkUnnamed144(o.items); + checkUnnamed145(o.items); unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.timeZone, unittest.equals('foo')); @@ -1051,27 +1051,27 @@ buildCounterFreeBusyRequestItem--; } -buildUnnamed145() { +buildUnnamed146() { var o = new core.Map<core.String, api.FreeBusyCalendar>(); o["x"] = buildFreeBusyCalendar(); o["y"] = buildFreeBusyCalendar(); return o; } -checkUnnamed145(core.Map<core.String, api.FreeBusyCalendar> o) { +checkUnnamed146(core.Map<core.String, api.FreeBusyCalendar> o) { unittest.expect(o, unittest.hasLength(2)); checkFreeBusyCalendar(o["x"]); checkFreeBusyCalendar(o["y"]); } -buildUnnamed146() { +buildUnnamed147() { var o = new core.Map<core.String, api.FreeBusyGroup>(); o["x"] = buildFreeBusyGroup(); o["y"] = buildFreeBusyGroup(); return o; } -checkUnnamed146(core.Map<core.String, api.FreeBusyGroup> o) { +checkUnnamed147(core.Map<core.String, api.FreeBusyGroup> o) { unittest.expect(o, unittest.hasLength(2)); checkFreeBusyGroup(o["x"]); checkFreeBusyGroup(o["y"]); @@ -1082,8 +1082,8 @@ var o = new api.FreeBusyResponse(); buildCounterFreeBusyResponse++; if (buildCounterFreeBusyResponse < 3) { - o.calendars = buildUnnamed145(); - o.groups = buildUnnamed146(); + o.calendars = buildUnnamed146(); + o.groups = buildUnnamed147(); o.kind = "foo"; o.timeMax = core.DateTime.parse("2002-02-27T14:01:02"); o.timeMin = core.DateTime.parse("2002-02-27T14:01:02"); @@ -1095,8 +1095,8 @@ checkFreeBusyResponse(api.FreeBusyResponse o) { buildCounterFreeBusyResponse++; if (buildCounterFreeBusyResponse < 3) { - checkUnnamed145(o.calendars); - checkUnnamed146(o.groups); + checkUnnamed146(o.calendars); + checkUnnamed147(o.groups); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); @@ -1129,14 +1129,14 @@ buildCounterSetting--; } -buildUnnamed147() { +buildUnnamed148() { var o = new core.List<api.Setting>(); o.add(buildSetting()); o.add(buildSetting()); return o; } -checkUnnamed147(core.List<api.Setting> o) { +checkUnnamed148(core.List<api.Setting> o) { unittest.expect(o, unittest.hasLength(2)); checkSetting(o[0]); checkSetting(o[1]); @@ -1148,7 +1148,7 @@ buildCounterSettings++; if (buildCounterSettings < 3) { o.etag = "foo"; - o.items = buildUnnamed147(); + o.items = buildUnnamed148(); o.kind = "foo"; o.nextPageToken = "foo"; o.nextSyncToken = "foo"; @@ -1161,7 +1161,7 @@ buildCounterSettings++; if (buildCounterSettings < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed147(o.items); + checkUnnamed148(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.nextSyncToken, unittest.equals('foo')); @@ -1190,19 +1190,6 @@ buildCounterTimePeriod--; } -buildUnnamed148() { - var o = new core.List<core.String>(); - o.add("foo"); - o.add("foo"); - return o; -} - -checkUnnamed148(core.List<core.String> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect(o[0], unittest.equals('foo')); - unittest.expect(o[1], unittest.equals('foo')); -} - buildUnnamed149() { var o = new core.List<core.String>(); o.add("foo"); @@ -1242,6 +1229,19 @@ unittest.expect(o[1], unittest.equals('foo')); } +buildUnnamed152() { + var o = new core.List<core.String>(); + o.add("foo"); + o.add("foo"); + return o; +} + +checkUnnamed152(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect(o[0], unittest.equals('foo')); + unittest.expect(o[1], unittest.equals('foo')); +} + main() { unittest.group("obj-schema-Acl", () { @@ -3058,9 +3058,9 @@ var arg_maxResults = 42; var arg_orderBy = "foo"; var arg_pageToken = "foo"; - var arg_privateExtendedProperty = buildUnnamed148(); + var arg_privateExtendedProperty = buildUnnamed149(); var arg_q = "foo"; - var arg_sharedExtendedProperty = buildUnnamed149(); + var arg_sharedExtendedProperty = buildUnnamed150(); var arg_showDeleted = true; var arg_showHiddenInvitations = true; var arg_singleEvents = true; @@ -3402,9 +3402,9 @@ var arg_maxResults = 42; var arg_orderBy = "foo"; var arg_pageToken = "foo"; - var arg_privateExtendedProperty = buildUnnamed150(); + var arg_privateExtendedProperty = buildUnnamed151(); var arg_q = "foo"; - var arg_sharedExtendedProperty = buildUnnamed151(); + var arg_sharedExtendedProperty = buildUnnamed152(); var arg_showDeleted = true; var arg_showHiddenInvitations = true; var arg_singleEvents = true;
diff --git a/generated/googleapis/test/civicinfo/us_v1_test.dart b/generated/googleapis/test/civicinfo/us_v1_test.dart index 4742918..5fc329e 100644 --- a/generated/googleapis/test/civicinfo/us_v1_test.dart +++ b/generated/googleapis/test/civicinfo/us_v1_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed716() { +buildUnnamed690() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed716(core.List<api.Source> o) { +checkUnnamed690(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -38,7 +38,7 @@ o.id = "foo"; o.localJurisdiction = buildAdministrationRegion(); o.name = "foo"; - o.sources = buildUnnamed716(); + o.sources = buildUnnamed690(); } buildCounterAdministrationRegion--; return o; @@ -51,32 +51,32 @@ unittest.expect(o.id, unittest.equals('foo')); checkAdministrationRegion(o.localJurisdiction); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed716(o.sources); + checkUnnamed690(o.sources); } buildCounterAdministrationRegion--; } -buildUnnamed717() { +buildUnnamed691() { var o = new core.List<api.ElectionOfficial>(); o.add(buildElectionOfficial()); o.add(buildElectionOfficial()); return o; } -checkUnnamed717(core.List<api.ElectionOfficial> o) { +checkUnnamed691(core.List<api.ElectionOfficial> o) { unittest.expect(o, unittest.hasLength(2)); checkElectionOfficial(o[0]); checkElectionOfficial(o[1]); } -buildUnnamed718() { +buildUnnamed692() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed718(core.List<core.String> o) { +checkUnnamed692(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -91,14 +91,14 @@ o.ballotInfoUrl = "foo"; o.correspondenceAddress = buildSimpleAddressType(); o.electionInfoUrl = "foo"; - o.electionOfficials = buildUnnamed717(); + o.electionOfficials = buildUnnamed691(); o.electionRegistrationConfirmationUrl = "foo"; o.electionRegistrationUrl = "foo"; o.electionRulesUrl = "foo"; o.hoursOfOperation = "foo"; o.name = "foo"; o.physicalAddress = buildSimpleAddressType(); - o.voterServices = buildUnnamed718(); + o.voterServices = buildUnnamed692(); o.votingLocationFinderUrl = "foo"; } buildCounterAdministrativeBody--; @@ -112,27 +112,27 @@ unittest.expect(o.ballotInfoUrl, unittest.equals('foo')); checkSimpleAddressType(o.correspondenceAddress); unittest.expect(o.electionInfoUrl, unittest.equals('foo')); - checkUnnamed717(o.electionOfficials); + checkUnnamed691(o.electionOfficials); unittest.expect(o.electionRegistrationConfirmationUrl, unittest.equals('foo')); unittest.expect(o.electionRegistrationUrl, unittest.equals('foo')); unittest.expect(o.electionRulesUrl, unittest.equals('foo')); unittest.expect(o.hoursOfOperation, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); checkSimpleAddressType(o.physicalAddress); - checkUnnamed718(o.voterServices); + checkUnnamed692(o.voterServices); unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo')); } buildCounterAdministrativeBody--; } -buildUnnamed719() { +buildUnnamed693() { var o = new core.List<api.Channel>(); o.add(buildChannel()); o.add(buildChannel()); return o; } -checkUnnamed719(core.List<api.Channel> o) { +checkUnnamed693(core.List<api.Channel> o) { unittest.expect(o, unittest.hasLength(2)); checkChannel(o[0]); checkChannel(o[1]); @@ -144,7 +144,7 @@ buildCounterCandidate++; if (buildCounterCandidate < 3) { o.candidateUrl = "foo"; - o.channels = buildUnnamed719(); + o.channels = buildUnnamed693(); o.email = "foo"; o.name = "foo"; o.orderOnBallot = "foo"; @@ -160,7 +160,7 @@ buildCounterCandidate++; if (buildCounterCandidate < 3) { unittest.expect(o.candidateUrl, unittest.equals('foo')); - checkUnnamed719(o.channels); + checkUnnamed693(o.channels); unittest.expect(o.email, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.orderOnBallot, unittest.equals('foo')); @@ -192,27 +192,27 @@ buildCounterChannel--; } -buildUnnamed720() { +buildUnnamed694() { var o = new core.List<api.Candidate>(); o.add(buildCandidate()); o.add(buildCandidate()); return o; } -checkUnnamed720(core.List<api.Candidate> o) { +checkUnnamed694(core.List<api.Candidate> o) { unittest.expect(o, unittest.hasLength(2)); checkCandidate(o[0]); checkCandidate(o[1]); } -buildUnnamed721() { +buildUnnamed695() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed721(core.List<api.Source> o) { +checkUnnamed695(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -224,7 +224,7 @@ buildCounterContest++; if (buildCounterContest < 3) { o.ballotPlacement = "foo"; - o.candidates = buildUnnamed720(); + o.candidates = buildUnnamed694(); o.district = buildElectoralDistrict(); o.electorateSpecifications = "foo"; o.id = "foo"; @@ -236,7 +236,7 @@ o.referendumSubtitle = "foo"; o.referendumTitle = "foo"; o.referendumUrl = "foo"; - o.sources = buildUnnamed721(); + o.sources = buildUnnamed695(); o.special = "foo"; o.type = "foo"; } @@ -248,7 +248,7 @@ buildCounterContest++; if (buildCounterContest < 3) { unittest.expect(o.ballotPlacement, unittest.equals('foo')); - checkUnnamed720(o.candidates); + checkUnnamed694(o.candidates); checkElectoralDistrict(o.district); unittest.expect(o.electorateSpecifications, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); @@ -260,21 +260,21 @@ unittest.expect(o.referendumSubtitle, unittest.equals('foo')); unittest.expect(o.referendumTitle, unittest.equals('foo')); unittest.expect(o.referendumUrl, unittest.equals('foo')); - checkUnnamed721(o.sources); + checkUnnamed695(o.sources); unittest.expect(o.special, unittest.equals('foo')); unittest.expect(o.type, unittest.equals('foo')); } buildCounterContest--; } -buildUnnamed722() { +buildUnnamed696() { var o = new core.List<api.DivisionSearchResult>(); o.add(buildDivisionSearchResult()); o.add(buildDivisionSearchResult()); return o; } -checkUnnamed722(core.List<api.DivisionSearchResult> o) { +checkUnnamed696(core.List<api.DivisionSearchResult> o) { unittest.expect(o, unittest.hasLength(2)); checkDivisionSearchResult(o[0]); checkDivisionSearchResult(o[1]); @@ -286,7 +286,7 @@ buildCounterDivisionSearchResponse++; if (buildCounterDivisionSearchResponse < 3) { o.kind = "foo"; - o.results = buildUnnamed722(); + o.results = buildUnnamed696(); o.status = "foo"; } buildCounterDivisionSearchResponse--; @@ -297,20 +297,20 @@ buildCounterDivisionSearchResponse++; if (buildCounterDivisionSearchResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed722(o.results); + checkUnnamed696(o.results); unittest.expect(o.status, unittest.equals('foo')); } buildCounterDivisionSearchResponse--; } -buildUnnamed723() { +buildUnnamed697() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed723(core.List<core.String> o) { +checkUnnamed697(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -321,7 +321,7 @@ var o = new api.DivisionSearchResult(); buildCounterDivisionSearchResult++; if (buildCounterDivisionSearchResult < 3) { - o.aliases = buildUnnamed723(); + o.aliases = buildUnnamed697(); o.name = "foo"; o.ocdId = "foo"; } @@ -332,7 +332,7 @@ checkDivisionSearchResult(api.DivisionSearchResult o) { buildCounterDivisionSearchResult++; if (buildCounterDivisionSearchResult < 3) { - checkUnnamed723(o.aliases); + checkUnnamed697(o.aliases); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.ocdId, unittest.equals('foo')); } @@ -389,14 +389,14 @@ buildCounterElectionOfficial--; } -buildUnnamed724() { +buildUnnamed698() { var o = new core.List<api.Election>(); o.add(buildElection()); o.add(buildElection()); return o; } -checkUnnamed724(core.List<api.Election> o) { +checkUnnamed698(core.List<api.Election> o) { unittest.expect(o, unittest.hasLength(2)); checkElection(o[0]); checkElection(o[1]); @@ -407,7 +407,7 @@ var o = new api.ElectionsQueryResponse(); buildCounterElectionsQueryResponse++; if (buildCounterElectionsQueryResponse < 3) { - o.elections = buildUnnamed724(); + o.elections = buildUnnamed698(); o.kind = "foo"; } buildCounterElectionsQueryResponse--; @@ -417,7 +417,7 @@ checkElectionsQueryResponse(api.ElectionsQueryResponse o) { buildCounterElectionsQueryResponse++; if (buildCounterElectionsQueryResponse < 3) { - checkUnnamed724(o.elections); + checkUnnamed698(o.elections); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterElectionsQueryResponse--; @@ -446,27 +446,27 @@ buildCounterElectoralDistrict--; } -buildUnnamed725() { +buildUnnamed699() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed725(core.List<core.String> o) { +checkUnnamed699(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed726() { +buildUnnamed700() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed726(core.List<core.String> o) { +checkUnnamed700(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -477,9 +477,9 @@ var o = new api.GeographicDivision(); buildCounterGeographicDivision++; if (buildCounterGeographicDivision < 3) { - o.alsoKnownAs = buildUnnamed725(); + o.alsoKnownAs = buildUnnamed699(); o.name = "foo"; - o.officeIds = buildUnnamed726(); + o.officeIds = buildUnnamed700(); o.scope = "foo"; } buildCounterGeographicDivision--; @@ -489,35 +489,35 @@ checkGeographicDivision(api.GeographicDivision o) { buildCounterGeographicDivision++; if (buildCounterGeographicDivision < 3) { - checkUnnamed725(o.alsoKnownAs); + checkUnnamed699(o.alsoKnownAs); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed726(o.officeIds); + checkUnnamed700(o.officeIds); unittest.expect(o.scope, unittest.equals('foo')); } buildCounterGeographicDivision--; } -buildUnnamed727() { +buildUnnamed701() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed727(core.List<core.String> o) { +checkUnnamed701(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed728() { +buildUnnamed702() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed728(core.List<api.Source> o) { +checkUnnamed702(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -531,8 +531,8 @@ o.divisionId = "foo"; o.level = "foo"; o.name = "foo"; - o.officialIds = buildUnnamed727(); - o.sources = buildUnnamed728(); + o.officialIds = buildUnnamed701(); + o.sources = buildUnnamed702(); } buildCounterOffice--; return o; @@ -544,72 +544,72 @@ unittest.expect(o.divisionId, unittest.equals('foo')); unittest.expect(o.level, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed727(o.officialIds); - checkUnnamed728(o.sources); + checkUnnamed701(o.officialIds); + checkUnnamed702(o.sources); } buildCounterOffice--; } -buildUnnamed729() { +buildUnnamed703() { var o = new core.List<api.SimpleAddressType>(); o.add(buildSimpleAddressType()); o.add(buildSimpleAddressType()); return o; } -checkUnnamed729(core.List<api.SimpleAddressType> o) { +checkUnnamed703(core.List<api.SimpleAddressType> o) { unittest.expect(o, unittest.hasLength(2)); checkSimpleAddressType(o[0]); checkSimpleAddressType(o[1]); } -buildUnnamed730() { +buildUnnamed704() { var o = new core.List<api.Channel>(); o.add(buildChannel()); o.add(buildChannel()); return o; } -checkUnnamed730(core.List<api.Channel> o) { +checkUnnamed704(core.List<api.Channel> o) { unittest.expect(o, unittest.hasLength(2)); checkChannel(o[0]); checkChannel(o[1]); } -buildUnnamed731() { +buildUnnamed705() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed731(core.List<core.String> o) { +checkUnnamed705(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed732() { +buildUnnamed706() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed732(core.List<core.String> o) { +checkUnnamed706(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed733() { +buildUnnamed707() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed733(core.List<core.String> o) { +checkUnnamed707(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -620,14 +620,14 @@ var o = new api.Official(); buildCounterOfficial++; if (buildCounterOfficial < 3) { - o.address = buildUnnamed729(); - o.channels = buildUnnamed730(); - o.emails = buildUnnamed731(); + o.address = buildUnnamed703(); + o.channels = buildUnnamed704(); + o.emails = buildUnnamed705(); o.name = "foo"; o.party = "foo"; - o.phones = buildUnnamed732(); + o.phones = buildUnnamed706(); o.photoUrl = "foo"; - o.urls = buildUnnamed733(); + o.urls = buildUnnamed707(); } buildCounterOfficial--; return o; @@ -636,26 +636,26 @@ checkOfficial(api.Official o) { buildCounterOfficial++; if (buildCounterOfficial < 3) { - checkUnnamed729(o.address); - checkUnnamed730(o.channels); - checkUnnamed731(o.emails); + checkUnnamed703(o.address); + checkUnnamed704(o.channels); + checkUnnamed705(o.emails); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.party, unittest.equals('foo')); - checkUnnamed732(o.phones); + checkUnnamed706(o.phones); unittest.expect(o.photoUrl, unittest.equals('foo')); - checkUnnamed733(o.urls); + checkUnnamed707(o.urls); } buildCounterOfficial--; } -buildUnnamed734() { +buildUnnamed708() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed734(core.List<api.Source> o) { +checkUnnamed708(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -672,7 +672,7 @@ o.name = "foo"; o.notes = "foo"; o.pollingHours = "foo"; - o.sources = buildUnnamed734(); + o.sources = buildUnnamed708(); o.startDate = "foo"; o.voterServices = "foo"; } @@ -689,7 +689,7 @@ unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.notes, unittest.equals('foo')); unittest.expect(o.pollingHours, unittest.equals('foo')); - checkUnnamed734(o.sources); + checkUnnamed708(o.sources); unittest.expect(o.startDate, unittest.equals('foo')); unittest.expect(o.voterServices, unittest.equals('foo')); } @@ -715,40 +715,40 @@ buildCounterRepresentativeInfoRequest--; } -buildUnnamed735() { +buildUnnamed709() { var o = new core.Map<core.String, api.GeographicDivision>(); o["x"] = buildGeographicDivision(); o["y"] = buildGeographicDivision(); return o; } -checkUnnamed735(core.Map<core.String, api.GeographicDivision> o) { +checkUnnamed709(core.Map<core.String, api.GeographicDivision> o) { unittest.expect(o, unittest.hasLength(2)); checkGeographicDivision(o["x"]); checkGeographicDivision(o["y"]); } -buildUnnamed736() { +buildUnnamed710() { var o = new core.Map<core.String, api.Office>(); o["x"] = buildOffice(); o["y"] = buildOffice(); return o; } -checkUnnamed736(core.Map<core.String, api.Office> o) { +checkUnnamed710(core.Map<core.String, api.Office> o) { unittest.expect(o, unittest.hasLength(2)); checkOffice(o["x"]); checkOffice(o["y"]); } -buildUnnamed737() { +buildUnnamed711() { var o = new core.Map<core.String, api.Official>(); o["x"] = buildOfficial(); o["y"] = buildOfficial(); return o; } -checkUnnamed737(core.Map<core.String, api.Official> o) { +checkUnnamed711(core.Map<core.String, api.Official> o) { unittest.expect(o, unittest.hasLength(2)); checkOfficial(o["x"]); checkOfficial(o["y"]); @@ -759,11 +759,11 @@ var o = new api.RepresentativeInfoResponse(); buildCounterRepresentativeInfoResponse++; if (buildCounterRepresentativeInfoResponse < 3) { - o.divisions = buildUnnamed735(); + o.divisions = buildUnnamed709(); o.kind = "foo"; o.normalizedInput = buildSimpleAddressType(); - o.offices = buildUnnamed736(); - o.officials = buildUnnamed737(); + o.offices = buildUnnamed710(); + o.officials = buildUnnamed711(); o.status = "foo"; } buildCounterRepresentativeInfoResponse--; @@ -773,11 +773,11 @@ checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) { buildCounterRepresentativeInfoResponse++; if (buildCounterRepresentativeInfoResponse < 3) { - checkUnnamed735(o.divisions); + checkUnnamed709(o.divisions); unittest.expect(o.kind, unittest.equals('foo')); checkSimpleAddressType(o.normalizedInput); - checkUnnamed736(o.offices); - checkUnnamed737(o.officials); + checkUnnamed710(o.offices); + checkUnnamed711(o.officials); unittest.expect(o.status, unittest.equals('foo')); } buildCounterRepresentativeInfoResponse--; @@ -854,53 +854,53 @@ buildCounterVoterInfoRequest--; } -buildUnnamed738() { +buildUnnamed712() { var o = new core.List<api.Contest>(); o.add(buildContest()); o.add(buildContest()); return o; } -checkUnnamed738(core.List<api.Contest> o) { +checkUnnamed712(core.List<api.Contest> o) { unittest.expect(o, unittest.hasLength(2)); checkContest(o[0]); checkContest(o[1]); } -buildUnnamed739() { +buildUnnamed713() { var o = new core.List<api.PollingLocation>(); o.add(buildPollingLocation()); o.add(buildPollingLocation()); return o; } -checkUnnamed739(core.List<api.PollingLocation> o) { +checkUnnamed713(core.List<api.PollingLocation> o) { unittest.expect(o, unittest.hasLength(2)); checkPollingLocation(o[0]); checkPollingLocation(o[1]); } -buildUnnamed740() { +buildUnnamed714() { var o = new core.List<api.PollingLocation>(); o.add(buildPollingLocation()); o.add(buildPollingLocation()); return o; } -checkUnnamed740(core.List<api.PollingLocation> o) { +checkUnnamed714(core.List<api.PollingLocation> o) { unittest.expect(o, unittest.hasLength(2)); checkPollingLocation(o[0]); checkPollingLocation(o[1]); } -buildUnnamed741() { +buildUnnamed715() { var o = new core.List<api.AdministrationRegion>(); o.add(buildAdministrationRegion()); o.add(buildAdministrationRegion()); return o; } -checkUnnamed741(core.List<api.AdministrationRegion> o) { +checkUnnamed715(core.List<api.AdministrationRegion> o) { unittest.expect(o, unittest.hasLength(2)); checkAdministrationRegion(o[0]); checkAdministrationRegion(o[1]); @@ -911,14 +911,14 @@ var o = new api.VoterInfoResponse(); buildCounterVoterInfoResponse++; if (buildCounterVoterInfoResponse < 3) { - o.contests = buildUnnamed738(); - o.earlyVoteSites = buildUnnamed739(); + o.contests = buildUnnamed712(); + o.earlyVoteSites = buildUnnamed713(); o.election = buildElection(); o.kind = "foo"; o.normalizedInput = buildSimpleAddressType(); - o.pollingLocations = buildUnnamed740(); + o.pollingLocations = buildUnnamed714(); o.precinctId = "foo"; - o.state = buildUnnamed741(); + o.state = buildUnnamed715(); o.status = "foo"; } buildCounterVoterInfoResponse--; @@ -928,14 +928,14 @@ checkVoterInfoResponse(api.VoterInfoResponse o) { buildCounterVoterInfoResponse++; if (buildCounterVoterInfoResponse < 3) { - checkUnnamed738(o.contests); - checkUnnamed739(o.earlyVoteSites); + checkUnnamed712(o.contests); + checkUnnamed713(o.earlyVoteSites); checkElection(o.election); unittest.expect(o.kind, unittest.equals('foo')); checkSimpleAddressType(o.normalizedInput); - checkUnnamed740(o.pollingLocations); + checkUnnamed714(o.pollingLocations); unittest.expect(o.precinctId, unittest.equals('foo')); - checkUnnamed741(o.state); + checkUnnamed715(o.state); unittest.expect(o.status, unittest.equals('foo')); } buildCounterVoterInfoResponse--;
diff --git a/generated/googleapis/test/civicinfo/v1_test.dart b/generated/googleapis/test/civicinfo/v1_test.dart index f0297b3..bf4a05d 100644 --- a/generated/googleapis/test/civicinfo/v1_test.dart +++ b/generated/googleapis/test/civicinfo/v1_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed465() { +buildUnnamed439() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed465(core.List<api.Source> o) { +checkUnnamed439(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -38,7 +38,7 @@ o.id = "foo"; o.localJurisdiction = buildAdministrationRegion(); o.name = "foo"; - o.sources = buildUnnamed465(); + o.sources = buildUnnamed439(); } buildCounterAdministrationRegion--; return o; @@ -51,32 +51,32 @@ unittest.expect(o.id, unittest.equals('foo')); checkAdministrationRegion(o.localJurisdiction); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed465(o.sources); + checkUnnamed439(o.sources); } buildCounterAdministrationRegion--; } -buildUnnamed466() { +buildUnnamed440() { var o = new core.List<api.ElectionOfficial>(); o.add(buildElectionOfficial()); o.add(buildElectionOfficial()); return o; } -checkUnnamed466(core.List<api.ElectionOfficial> o) { +checkUnnamed440(core.List<api.ElectionOfficial> o) { unittest.expect(o, unittest.hasLength(2)); checkElectionOfficial(o[0]); checkElectionOfficial(o[1]); } -buildUnnamed467() { +buildUnnamed441() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed467(core.List<core.String> o) { +checkUnnamed441(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -91,14 +91,14 @@ o.ballotInfoUrl = "foo"; o.correspondenceAddress = buildSimpleAddressType(); o.electionInfoUrl = "foo"; - o.electionOfficials = buildUnnamed466(); + o.electionOfficials = buildUnnamed440(); o.electionRegistrationConfirmationUrl = "foo"; o.electionRegistrationUrl = "foo"; o.electionRulesUrl = "foo"; o.hoursOfOperation = "foo"; o.name = "foo"; o.physicalAddress = buildSimpleAddressType(); - o.voterServices = buildUnnamed467(); + o.voterServices = buildUnnamed441(); o.votingLocationFinderUrl = "foo"; } buildCounterAdministrativeBody--; @@ -112,27 +112,27 @@ unittest.expect(o.ballotInfoUrl, unittest.equals('foo')); checkSimpleAddressType(o.correspondenceAddress); unittest.expect(o.electionInfoUrl, unittest.equals('foo')); - checkUnnamed466(o.electionOfficials); + checkUnnamed440(o.electionOfficials); unittest.expect(o.electionRegistrationConfirmationUrl, unittest.equals('foo')); unittest.expect(o.electionRegistrationUrl, unittest.equals('foo')); unittest.expect(o.electionRulesUrl, unittest.equals('foo')); unittest.expect(o.hoursOfOperation, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); checkSimpleAddressType(o.physicalAddress); - checkUnnamed467(o.voterServices); + checkUnnamed441(o.voterServices); unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo')); } buildCounterAdministrativeBody--; } -buildUnnamed468() { +buildUnnamed442() { var o = new core.List<api.Channel>(); o.add(buildChannel()); o.add(buildChannel()); return o; } -checkUnnamed468(core.List<api.Channel> o) { +checkUnnamed442(core.List<api.Channel> o) { unittest.expect(o, unittest.hasLength(2)); checkChannel(o[0]); checkChannel(o[1]); @@ -144,7 +144,7 @@ buildCounterCandidate++; if (buildCounterCandidate < 3) { o.candidateUrl = "foo"; - o.channels = buildUnnamed468(); + o.channels = buildUnnamed442(); o.email = "foo"; o.name = "foo"; o.orderOnBallot = "foo"; @@ -160,7 +160,7 @@ buildCounterCandidate++; if (buildCounterCandidate < 3) { unittest.expect(o.candidateUrl, unittest.equals('foo')); - checkUnnamed468(o.channels); + checkUnnamed442(o.channels); unittest.expect(o.email, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.orderOnBallot, unittest.equals('foo')); @@ -192,27 +192,27 @@ buildCounterChannel--; } -buildUnnamed469() { +buildUnnamed443() { var o = new core.List<api.Candidate>(); o.add(buildCandidate()); o.add(buildCandidate()); return o; } -checkUnnamed469(core.List<api.Candidate> o) { +checkUnnamed443(core.List<api.Candidate> o) { unittest.expect(o, unittest.hasLength(2)); checkCandidate(o[0]); checkCandidate(o[1]); } -buildUnnamed470() { +buildUnnamed444() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed470(core.List<api.Source> o) { +checkUnnamed444(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -224,7 +224,7 @@ buildCounterContest++; if (buildCounterContest < 3) { o.ballotPlacement = "foo"; - o.candidates = buildUnnamed469(); + o.candidates = buildUnnamed443(); o.district = buildElectoralDistrict(); o.electorateSpecifications = "foo"; o.id = "foo"; @@ -236,7 +236,7 @@ o.referendumSubtitle = "foo"; o.referendumTitle = "foo"; o.referendumUrl = "foo"; - o.sources = buildUnnamed470(); + o.sources = buildUnnamed444(); o.special = "foo"; o.type = "foo"; } @@ -248,7 +248,7 @@ buildCounterContest++; if (buildCounterContest < 3) { unittest.expect(o.ballotPlacement, unittest.equals('foo')); - checkUnnamed469(o.candidates); + checkUnnamed443(o.candidates); checkElectoralDistrict(o.district); unittest.expect(o.electorateSpecifications, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); @@ -260,21 +260,21 @@ unittest.expect(o.referendumSubtitle, unittest.equals('foo')); unittest.expect(o.referendumTitle, unittest.equals('foo')); unittest.expect(o.referendumUrl, unittest.equals('foo')); - checkUnnamed470(o.sources); + checkUnnamed444(o.sources); unittest.expect(o.special, unittest.equals('foo')); unittest.expect(o.type, unittest.equals('foo')); } buildCounterContest--; } -buildUnnamed471() { +buildUnnamed445() { var o = new core.List<api.DivisionSearchResult>(); o.add(buildDivisionSearchResult()); o.add(buildDivisionSearchResult()); return o; } -checkUnnamed471(core.List<api.DivisionSearchResult> o) { +checkUnnamed445(core.List<api.DivisionSearchResult> o) { unittest.expect(o, unittest.hasLength(2)); checkDivisionSearchResult(o[0]); checkDivisionSearchResult(o[1]); @@ -286,7 +286,7 @@ buildCounterDivisionSearchResponse++; if (buildCounterDivisionSearchResponse < 3) { o.kind = "foo"; - o.results = buildUnnamed471(); + o.results = buildUnnamed445(); o.status = "foo"; } buildCounterDivisionSearchResponse--; @@ -297,20 +297,20 @@ buildCounterDivisionSearchResponse++; if (buildCounterDivisionSearchResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed471(o.results); + checkUnnamed445(o.results); unittest.expect(o.status, unittest.equals('foo')); } buildCounterDivisionSearchResponse--; } -buildUnnamed472() { +buildUnnamed446() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed472(core.List<core.String> o) { +checkUnnamed446(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -321,7 +321,7 @@ var o = new api.DivisionSearchResult(); buildCounterDivisionSearchResult++; if (buildCounterDivisionSearchResult < 3) { - o.aliases = buildUnnamed472(); + o.aliases = buildUnnamed446(); o.name = "foo"; o.ocdId = "foo"; } @@ -332,7 +332,7 @@ checkDivisionSearchResult(api.DivisionSearchResult o) { buildCounterDivisionSearchResult++; if (buildCounterDivisionSearchResult < 3) { - checkUnnamed472(o.aliases); + checkUnnamed446(o.aliases); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.ocdId, unittest.equals('foo')); } @@ -389,14 +389,14 @@ buildCounterElectionOfficial--; } -buildUnnamed473() { +buildUnnamed447() { var o = new core.List<api.Election>(); o.add(buildElection()); o.add(buildElection()); return o; } -checkUnnamed473(core.List<api.Election> o) { +checkUnnamed447(core.List<api.Election> o) { unittest.expect(o, unittest.hasLength(2)); checkElection(o[0]); checkElection(o[1]); @@ -407,7 +407,7 @@ var o = new api.ElectionsQueryResponse(); buildCounterElectionsQueryResponse++; if (buildCounterElectionsQueryResponse < 3) { - o.elections = buildUnnamed473(); + o.elections = buildUnnamed447(); o.kind = "foo"; } buildCounterElectionsQueryResponse--; @@ -417,7 +417,7 @@ checkElectionsQueryResponse(api.ElectionsQueryResponse o) { buildCounterElectionsQueryResponse++; if (buildCounterElectionsQueryResponse < 3) { - checkUnnamed473(o.elections); + checkUnnamed447(o.elections); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterElectionsQueryResponse--; @@ -446,27 +446,27 @@ buildCounterElectoralDistrict--; } -buildUnnamed474() { +buildUnnamed448() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed474(core.List<core.String> o) { +checkUnnamed448(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed475() { +buildUnnamed449() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed475(core.List<core.String> o) { +checkUnnamed449(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -477,9 +477,9 @@ var o = new api.GeographicDivision(); buildCounterGeographicDivision++; if (buildCounterGeographicDivision < 3) { - o.alsoKnownAs = buildUnnamed474(); + o.alsoKnownAs = buildUnnamed448(); o.name = "foo"; - o.officeIds = buildUnnamed475(); + o.officeIds = buildUnnamed449(); o.scope = "foo"; } buildCounterGeographicDivision--; @@ -489,35 +489,35 @@ checkGeographicDivision(api.GeographicDivision o) { buildCounterGeographicDivision++; if (buildCounterGeographicDivision < 3) { - checkUnnamed474(o.alsoKnownAs); + checkUnnamed448(o.alsoKnownAs); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed475(o.officeIds); + checkUnnamed449(o.officeIds); unittest.expect(o.scope, unittest.equals('foo')); } buildCounterGeographicDivision--; } -buildUnnamed476() { +buildUnnamed450() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed476(core.List<core.String> o) { +checkUnnamed450(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed477() { +buildUnnamed451() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed477(core.List<api.Source> o) { +checkUnnamed451(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -531,8 +531,8 @@ o.divisionId = "foo"; o.level = "foo"; o.name = "foo"; - o.officialIds = buildUnnamed476(); - o.sources = buildUnnamed477(); + o.officialIds = buildUnnamed450(); + o.sources = buildUnnamed451(); } buildCounterOffice--; return o; @@ -544,72 +544,72 @@ unittest.expect(o.divisionId, unittest.equals('foo')); unittest.expect(o.level, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed476(o.officialIds); - checkUnnamed477(o.sources); + checkUnnamed450(o.officialIds); + checkUnnamed451(o.sources); } buildCounterOffice--; } -buildUnnamed478() { +buildUnnamed452() { var o = new core.List<api.SimpleAddressType>(); o.add(buildSimpleAddressType()); o.add(buildSimpleAddressType()); return o; } -checkUnnamed478(core.List<api.SimpleAddressType> o) { +checkUnnamed452(core.List<api.SimpleAddressType> o) { unittest.expect(o, unittest.hasLength(2)); checkSimpleAddressType(o[0]); checkSimpleAddressType(o[1]); } -buildUnnamed479() { +buildUnnamed453() { var o = new core.List<api.Channel>(); o.add(buildChannel()); o.add(buildChannel()); return o; } -checkUnnamed479(core.List<api.Channel> o) { +checkUnnamed453(core.List<api.Channel> o) { unittest.expect(o, unittest.hasLength(2)); checkChannel(o[0]); checkChannel(o[1]); } -buildUnnamed480() { +buildUnnamed454() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed480(core.List<core.String> o) { +checkUnnamed454(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed481() { +buildUnnamed455() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed481(core.List<core.String> o) { +checkUnnamed455(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed482() { +buildUnnamed456() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed482(core.List<core.String> o) { +checkUnnamed456(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -620,14 +620,14 @@ var o = new api.Official(); buildCounterOfficial++; if (buildCounterOfficial < 3) { - o.address = buildUnnamed478(); - o.channels = buildUnnamed479(); - o.emails = buildUnnamed480(); + o.address = buildUnnamed452(); + o.channels = buildUnnamed453(); + o.emails = buildUnnamed454(); o.name = "foo"; o.party = "foo"; - o.phones = buildUnnamed481(); + o.phones = buildUnnamed455(); o.photoUrl = "foo"; - o.urls = buildUnnamed482(); + o.urls = buildUnnamed456(); } buildCounterOfficial--; return o; @@ -636,26 +636,26 @@ checkOfficial(api.Official o) { buildCounterOfficial++; if (buildCounterOfficial < 3) { - checkUnnamed478(o.address); - checkUnnamed479(o.channels); - checkUnnamed480(o.emails); + checkUnnamed452(o.address); + checkUnnamed453(o.channels); + checkUnnamed454(o.emails); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.party, unittest.equals('foo')); - checkUnnamed481(o.phones); + checkUnnamed455(o.phones); unittest.expect(o.photoUrl, unittest.equals('foo')); - checkUnnamed482(o.urls); + checkUnnamed456(o.urls); } buildCounterOfficial--; } -buildUnnamed483() { +buildUnnamed457() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed483(core.List<api.Source> o) { +checkUnnamed457(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -672,7 +672,7 @@ o.name = "foo"; o.notes = "foo"; o.pollingHours = "foo"; - o.sources = buildUnnamed483(); + o.sources = buildUnnamed457(); o.startDate = "foo"; o.voterServices = "foo"; } @@ -689,7 +689,7 @@ unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.notes, unittest.equals('foo')); unittest.expect(o.pollingHours, unittest.equals('foo')); - checkUnnamed483(o.sources); + checkUnnamed457(o.sources); unittest.expect(o.startDate, unittest.equals('foo')); unittest.expect(o.voterServices, unittest.equals('foo')); } @@ -715,40 +715,40 @@ buildCounterRepresentativeInfoRequest--; } -buildUnnamed484() { +buildUnnamed458() { var o = new core.Map<core.String, api.GeographicDivision>(); o["x"] = buildGeographicDivision(); o["y"] = buildGeographicDivision(); return o; } -checkUnnamed484(core.Map<core.String, api.GeographicDivision> o) { +checkUnnamed458(core.Map<core.String, api.GeographicDivision> o) { unittest.expect(o, unittest.hasLength(2)); checkGeographicDivision(o["x"]); checkGeographicDivision(o["y"]); } -buildUnnamed485() { +buildUnnamed459() { var o = new core.Map<core.String, api.Office>(); o["x"] = buildOffice(); o["y"] = buildOffice(); return o; } -checkUnnamed485(core.Map<core.String, api.Office> o) { +checkUnnamed459(core.Map<core.String, api.Office> o) { unittest.expect(o, unittest.hasLength(2)); checkOffice(o["x"]); checkOffice(o["y"]); } -buildUnnamed486() { +buildUnnamed460() { var o = new core.Map<core.String, api.Official>(); o["x"] = buildOfficial(); o["y"] = buildOfficial(); return o; } -checkUnnamed486(core.Map<core.String, api.Official> o) { +checkUnnamed460(core.Map<core.String, api.Official> o) { unittest.expect(o, unittest.hasLength(2)); checkOfficial(o["x"]); checkOfficial(o["y"]); @@ -759,11 +759,11 @@ var o = new api.RepresentativeInfoResponse(); buildCounterRepresentativeInfoResponse++; if (buildCounterRepresentativeInfoResponse < 3) { - o.divisions = buildUnnamed484(); + o.divisions = buildUnnamed458(); o.kind = "foo"; o.normalizedInput = buildSimpleAddressType(); - o.offices = buildUnnamed485(); - o.officials = buildUnnamed486(); + o.offices = buildUnnamed459(); + o.officials = buildUnnamed460(); o.status = "foo"; } buildCounterRepresentativeInfoResponse--; @@ -773,11 +773,11 @@ checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) { buildCounterRepresentativeInfoResponse++; if (buildCounterRepresentativeInfoResponse < 3) { - checkUnnamed484(o.divisions); + checkUnnamed458(o.divisions); unittest.expect(o.kind, unittest.equals('foo')); checkSimpleAddressType(o.normalizedInput); - checkUnnamed485(o.offices); - checkUnnamed486(o.officials); + checkUnnamed459(o.offices); + checkUnnamed460(o.officials); unittest.expect(o.status, unittest.equals('foo')); } buildCounterRepresentativeInfoResponse--; @@ -854,53 +854,53 @@ buildCounterVoterInfoRequest--; } -buildUnnamed487() { +buildUnnamed461() { var o = new core.List<api.Contest>(); o.add(buildContest()); o.add(buildContest()); return o; } -checkUnnamed487(core.List<api.Contest> o) { +checkUnnamed461(core.List<api.Contest> o) { unittest.expect(o, unittest.hasLength(2)); checkContest(o[0]); checkContest(o[1]); } -buildUnnamed488() { +buildUnnamed462() { var o = new core.List<api.PollingLocation>(); o.add(buildPollingLocation()); o.add(buildPollingLocation()); return o; } -checkUnnamed488(core.List<api.PollingLocation> o) { +checkUnnamed462(core.List<api.PollingLocation> o) { unittest.expect(o, unittest.hasLength(2)); checkPollingLocation(o[0]); checkPollingLocation(o[1]); } -buildUnnamed489() { +buildUnnamed463() { var o = new core.List<api.PollingLocation>(); o.add(buildPollingLocation()); o.add(buildPollingLocation()); return o; } -checkUnnamed489(core.List<api.PollingLocation> o) { +checkUnnamed463(core.List<api.PollingLocation> o) { unittest.expect(o, unittest.hasLength(2)); checkPollingLocation(o[0]); checkPollingLocation(o[1]); } -buildUnnamed490() { +buildUnnamed464() { var o = new core.List<api.AdministrationRegion>(); o.add(buildAdministrationRegion()); o.add(buildAdministrationRegion()); return o; } -checkUnnamed490(core.List<api.AdministrationRegion> o) { +checkUnnamed464(core.List<api.AdministrationRegion> o) { unittest.expect(o, unittest.hasLength(2)); checkAdministrationRegion(o[0]); checkAdministrationRegion(o[1]); @@ -911,14 +911,14 @@ var o = new api.VoterInfoResponse(); buildCounterVoterInfoResponse++; if (buildCounterVoterInfoResponse < 3) { - o.contests = buildUnnamed487(); - o.earlyVoteSites = buildUnnamed488(); + o.contests = buildUnnamed461(); + o.earlyVoteSites = buildUnnamed462(); o.election = buildElection(); o.kind = "foo"; o.normalizedInput = buildSimpleAddressType(); - o.pollingLocations = buildUnnamed489(); + o.pollingLocations = buildUnnamed463(); o.precinctId = "foo"; - o.state = buildUnnamed490(); + o.state = buildUnnamed464(); o.status = "foo"; } buildCounterVoterInfoResponse--; @@ -928,14 +928,14 @@ checkVoterInfoResponse(api.VoterInfoResponse o) { buildCounterVoterInfoResponse++; if (buildCounterVoterInfoResponse < 3) { - checkUnnamed487(o.contests); - checkUnnamed488(o.earlyVoteSites); + checkUnnamed461(o.contests); + checkUnnamed462(o.earlyVoteSites); checkElection(o.election); unittest.expect(o.kind, unittest.equals('foo')); checkSimpleAddressType(o.normalizedInput); - checkUnnamed489(o.pollingLocations); + checkUnnamed463(o.pollingLocations); unittest.expect(o.precinctId, unittest.equals('foo')); - checkUnnamed490(o.state); + checkUnnamed464(o.state); unittest.expect(o.status, unittest.equals('foo')); } buildCounterVoterInfoResponse--;
diff --git a/generated/googleapis/test/civicinfo/v2_test.dart b/generated/googleapis/test/civicinfo/v2_test.dart index 31e775c..fc2ce77 100644 --- a/generated/googleapis/test/civicinfo/v2_test.dart +++ b/generated/googleapis/test/civicinfo/v2_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed208() { +buildUnnamed182() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed208(core.List<api.Source> o) { +checkUnnamed182(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -38,7 +38,7 @@ o.id = "foo"; o.localJurisdiction = buildAdministrationRegion(); o.name = "foo"; - o.sources = buildUnnamed208(); + o.sources = buildUnnamed182(); } buildCounterAdministrationRegion--; return o; @@ -51,32 +51,32 @@ unittest.expect(o.id, unittest.equals('foo')); checkAdministrationRegion(o.localJurisdiction); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed208(o.sources); + checkUnnamed182(o.sources); } buildCounterAdministrationRegion--; } -buildUnnamed209() { +buildUnnamed183() { var o = new core.List<api.ElectionOfficial>(); o.add(buildElectionOfficial()); o.add(buildElectionOfficial()); return o; } -checkUnnamed209(core.List<api.ElectionOfficial> o) { +checkUnnamed183(core.List<api.ElectionOfficial> o) { unittest.expect(o, unittest.hasLength(2)); checkElectionOfficial(o[0]); checkElectionOfficial(o[1]); } -buildUnnamed210() { +buildUnnamed184() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed210(core.List<core.String> o) { +checkUnnamed184(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -91,14 +91,14 @@ o.ballotInfoUrl = "foo"; o.correspondenceAddress = buildSimpleAddressType(); o.electionInfoUrl = "foo"; - o.electionOfficials = buildUnnamed209(); + o.electionOfficials = buildUnnamed183(); o.electionRegistrationConfirmationUrl = "foo"; o.electionRegistrationUrl = "foo"; o.electionRulesUrl = "foo"; o.hoursOfOperation = "foo"; o.name = "foo"; o.physicalAddress = buildSimpleAddressType(); - o.voterServices = buildUnnamed210(); + o.voterServices = buildUnnamed184(); o.votingLocationFinderUrl = "foo"; } buildCounterAdministrativeBody--; @@ -112,27 +112,27 @@ unittest.expect(o.ballotInfoUrl, unittest.equals('foo')); checkSimpleAddressType(o.correspondenceAddress); unittest.expect(o.electionInfoUrl, unittest.equals('foo')); - checkUnnamed209(o.electionOfficials); + checkUnnamed183(o.electionOfficials); unittest.expect(o.electionRegistrationConfirmationUrl, unittest.equals('foo')); unittest.expect(o.electionRegistrationUrl, unittest.equals('foo')); unittest.expect(o.electionRulesUrl, unittest.equals('foo')); unittest.expect(o.hoursOfOperation, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); checkSimpleAddressType(o.physicalAddress); - checkUnnamed210(o.voterServices); + checkUnnamed184(o.voterServices); unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo')); } buildCounterAdministrativeBody--; } -buildUnnamed211() { +buildUnnamed185() { var o = new core.List<api.Channel>(); o.add(buildChannel()); o.add(buildChannel()); return o; } -checkUnnamed211(core.List<api.Channel> o) { +checkUnnamed185(core.List<api.Channel> o) { unittest.expect(o, unittest.hasLength(2)); checkChannel(o[0]); checkChannel(o[1]); @@ -144,7 +144,7 @@ buildCounterCandidate++; if (buildCounterCandidate < 3) { o.candidateUrl = "foo"; - o.channels = buildUnnamed211(); + o.channels = buildUnnamed185(); o.email = "foo"; o.name = "foo"; o.orderOnBallot = "foo"; @@ -160,7 +160,7 @@ buildCounterCandidate++; if (buildCounterCandidate < 3) { unittest.expect(o.candidateUrl, unittest.equals('foo')); - checkUnnamed211(o.channels); + checkUnnamed185(o.channels); unittest.expect(o.email, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.orderOnBallot, unittest.equals('foo')); @@ -192,53 +192,53 @@ buildCounterChannel--; } -buildUnnamed212() { +buildUnnamed186() { var o = new core.List<api.Candidate>(); o.add(buildCandidate()); o.add(buildCandidate()); return o; } -checkUnnamed212(core.List<api.Candidate> o) { +checkUnnamed186(core.List<api.Candidate> o) { unittest.expect(o, unittest.hasLength(2)); checkCandidate(o[0]); checkCandidate(o[1]); } -buildUnnamed213() { +buildUnnamed187() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed213(core.List<core.String> o) { +checkUnnamed187(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed214() { +buildUnnamed188() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed214(core.List<core.String> o) { +checkUnnamed188(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed215() { +buildUnnamed189() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed215(core.List<api.Source> o) { +checkUnnamed189(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -250,11 +250,11 @@ buildCounterContest++; if (buildCounterContest < 3) { o.ballotPlacement = "foo"; - o.candidates = buildUnnamed212(); + o.candidates = buildUnnamed186(); o.district = buildElectoralDistrict(); o.electorateSpecifications = "foo"; o.id = "foo"; - o.level = buildUnnamed213(); + o.level = buildUnnamed187(); o.numberElected = "foo"; o.numberVotingFor = "foo"; o.office = "foo"; @@ -262,8 +262,8 @@ o.referendumSubtitle = "foo"; o.referendumTitle = "foo"; o.referendumUrl = "foo"; - o.roles = buildUnnamed214(); - o.sources = buildUnnamed215(); + o.roles = buildUnnamed188(); + o.sources = buildUnnamed189(); o.special = "foo"; o.type = "foo"; } @@ -275,11 +275,11 @@ buildCounterContest++; if (buildCounterContest < 3) { unittest.expect(o.ballotPlacement, unittest.equals('foo')); - checkUnnamed212(o.candidates); + checkUnnamed186(o.candidates); checkElectoralDistrict(o.district); unittest.expect(o.electorateSpecifications, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed213(o.level); + checkUnnamed187(o.level); unittest.expect(o.numberElected, unittest.equals('foo')); unittest.expect(o.numberVotingFor, unittest.equals('foo')); unittest.expect(o.office, unittest.equals('foo')); @@ -287,22 +287,22 @@ unittest.expect(o.referendumSubtitle, unittest.equals('foo')); unittest.expect(o.referendumTitle, unittest.equals('foo')); unittest.expect(o.referendumUrl, unittest.equals('foo')); - checkUnnamed214(o.roles); - checkUnnamed215(o.sources); + checkUnnamed188(o.roles); + checkUnnamed189(o.sources); unittest.expect(o.special, unittest.equals('foo')); unittest.expect(o.type, unittest.equals('foo')); } buildCounterContest--; } -buildUnnamed216() { +buildUnnamed190() { var o = new core.List<api.DivisionSearchResult>(); o.add(buildDivisionSearchResult()); o.add(buildDivisionSearchResult()); return o; } -checkUnnamed216(core.List<api.DivisionSearchResult> o) { +checkUnnamed190(core.List<api.DivisionSearchResult> o) { unittest.expect(o, unittest.hasLength(2)); checkDivisionSearchResult(o[0]); checkDivisionSearchResult(o[1]); @@ -314,7 +314,7 @@ buildCounterDivisionSearchResponse++; if (buildCounterDivisionSearchResponse < 3) { o.kind = "foo"; - o.results = buildUnnamed216(); + o.results = buildUnnamed190(); } buildCounterDivisionSearchResponse--; return o; @@ -324,19 +324,19 @@ buildCounterDivisionSearchResponse++; if (buildCounterDivisionSearchResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed216(o.results); + checkUnnamed190(o.results); } buildCounterDivisionSearchResponse--; } -buildUnnamed217() { +buildUnnamed191() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed217(core.List<core.String> o) { +checkUnnamed191(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -347,7 +347,7 @@ var o = new api.DivisionSearchResult(); buildCounterDivisionSearchResult++; if (buildCounterDivisionSearchResult < 3) { - o.aliases = buildUnnamed217(); + o.aliases = buildUnnamed191(); o.name = "foo"; o.ocdId = "foo"; } @@ -358,7 +358,7 @@ checkDivisionSearchResult(api.DivisionSearchResult o) { buildCounterDivisionSearchResult++; if (buildCounterDivisionSearchResult < 3) { - checkUnnamed217(o.aliases); + checkUnnamed191(o.aliases); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.ocdId, unittest.equals('foo')); } @@ -415,14 +415,14 @@ buildCounterElectionOfficial--; } -buildUnnamed218() { +buildUnnamed192() { var o = new core.List<api.Election>(); o.add(buildElection()); o.add(buildElection()); return o; } -checkUnnamed218(core.List<api.Election> o) { +checkUnnamed192(core.List<api.Election> o) { unittest.expect(o, unittest.hasLength(2)); checkElection(o[0]); checkElection(o[1]); @@ -433,7 +433,7 @@ var o = new api.ElectionsQueryResponse(); buildCounterElectionsQueryResponse++; if (buildCounterElectionsQueryResponse < 3) { - o.elections = buildUnnamed218(); + o.elections = buildUnnamed192(); o.kind = "foo"; } buildCounterElectionsQueryResponse--; @@ -443,7 +443,7 @@ checkElectionsQueryResponse(api.ElectionsQueryResponse o) { buildCounterElectionsQueryResponse++; if (buildCounterElectionsQueryResponse < 3) { - checkUnnamed218(o.elections); + checkUnnamed192(o.elections); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterElectionsQueryResponse--; @@ -472,27 +472,27 @@ buildCounterElectoralDistrict--; } -buildUnnamed219() { +buildUnnamed193() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed219(core.List<core.String> o) { +checkUnnamed193(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed220() { +buildUnnamed194() { var o = new core.List<core.int>(); o.add(42); o.add(42); return o; } -checkUnnamed220(core.List<core.int> o) { +checkUnnamed194(core.List<core.int> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42)); unittest.expect(o[1], unittest.equals(42)); @@ -503,9 +503,9 @@ var o = new api.GeographicDivision(); buildCounterGeographicDivision++; if (buildCounterGeographicDivision < 3) { - o.alsoKnownAs = buildUnnamed219(); + o.alsoKnownAs = buildUnnamed193(); o.name = "foo"; - o.officeIndices = buildUnnamed220(); + o.officeIndices = buildUnnamed194(); } buildCounterGeographicDivision--; return o; @@ -514,60 +514,60 @@ checkGeographicDivision(api.GeographicDivision o) { buildCounterGeographicDivision++; if (buildCounterGeographicDivision < 3) { - checkUnnamed219(o.alsoKnownAs); + checkUnnamed193(o.alsoKnownAs); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed220(o.officeIndices); + checkUnnamed194(o.officeIndices); } buildCounterGeographicDivision--; } -buildUnnamed221() { +buildUnnamed195() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed221(core.List<core.String> o) { +checkUnnamed195(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed222() { +buildUnnamed196() { var o = new core.List<core.int>(); o.add(42); o.add(42); return o; } -checkUnnamed222(core.List<core.int> o) { +checkUnnamed196(core.List<core.int> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42)); unittest.expect(o[1], unittest.equals(42)); } -buildUnnamed223() { +buildUnnamed197() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed223(core.List<core.String> o) { +checkUnnamed197(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed224() { +buildUnnamed198() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed224(core.List<api.Source> o) { +checkUnnamed198(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -579,11 +579,11 @@ buildCounterOffice++; if (buildCounterOffice < 3) { o.divisionId = "foo"; - o.levels = buildUnnamed221(); + o.levels = buildUnnamed195(); o.name = "foo"; - o.officialIndices = buildUnnamed222(); - o.roles = buildUnnamed223(); - o.sources = buildUnnamed224(); + o.officialIndices = buildUnnamed196(); + o.roles = buildUnnamed197(); + o.sources = buildUnnamed198(); } buildCounterOffice--; return o; @@ -593,75 +593,75 @@ buildCounterOffice++; if (buildCounterOffice < 3) { unittest.expect(o.divisionId, unittest.equals('foo')); - checkUnnamed221(o.levels); + checkUnnamed195(o.levels); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed222(o.officialIndices); - checkUnnamed223(o.roles); - checkUnnamed224(o.sources); + checkUnnamed196(o.officialIndices); + checkUnnamed197(o.roles); + checkUnnamed198(o.sources); } buildCounterOffice--; } -buildUnnamed225() { +buildUnnamed199() { var o = new core.List<api.SimpleAddressType>(); o.add(buildSimpleAddressType()); o.add(buildSimpleAddressType()); return o; } -checkUnnamed225(core.List<api.SimpleAddressType> o) { +checkUnnamed199(core.List<api.SimpleAddressType> o) { unittest.expect(o, unittest.hasLength(2)); checkSimpleAddressType(o[0]); checkSimpleAddressType(o[1]); } -buildUnnamed226() { +buildUnnamed200() { var o = new core.List<api.Channel>(); o.add(buildChannel()); o.add(buildChannel()); return o; } -checkUnnamed226(core.List<api.Channel> o) { +checkUnnamed200(core.List<api.Channel> o) { unittest.expect(o, unittest.hasLength(2)); checkChannel(o[0]); checkChannel(o[1]); } -buildUnnamed227() { +buildUnnamed201() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed227(core.List<core.String> o) { +checkUnnamed201(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed228() { +buildUnnamed202() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed228(core.List<core.String> o) { +checkUnnamed202(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed229() { +buildUnnamed203() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed229(core.List<core.String> o) { +checkUnnamed203(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -672,14 +672,14 @@ var o = new api.Official(); buildCounterOfficial++; if (buildCounterOfficial < 3) { - o.address = buildUnnamed225(); - o.channels = buildUnnamed226(); - o.emails = buildUnnamed227(); + o.address = buildUnnamed199(); + o.channels = buildUnnamed200(); + o.emails = buildUnnamed201(); o.name = "foo"; o.party = "foo"; - o.phones = buildUnnamed228(); + o.phones = buildUnnamed202(); o.photoUrl = "foo"; - o.urls = buildUnnamed229(); + o.urls = buildUnnamed203(); } buildCounterOfficial--; return o; @@ -688,26 +688,26 @@ checkOfficial(api.Official o) { buildCounterOfficial++; if (buildCounterOfficial < 3) { - checkUnnamed225(o.address); - checkUnnamed226(o.channels); - checkUnnamed227(o.emails); + checkUnnamed199(o.address); + checkUnnamed200(o.channels); + checkUnnamed201(o.emails); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.party, unittest.equals('foo')); - checkUnnamed228(o.phones); + checkUnnamed202(o.phones); unittest.expect(o.photoUrl, unittest.equals('foo')); - checkUnnamed229(o.urls); + checkUnnamed203(o.urls); } buildCounterOfficial--; } -buildUnnamed230() { +buildUnnamed204() { var o = new core.List<api.Source>(); o.add(buildSource()); o.add(buildSource()); return o; } -checkUnnamed230(core.List<api.Source> o) { +checkUnnamed204(core.List<api.Source> o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -724,7 +724,7 @@ o.name = "foo"; o.notes = "foo"; o.pollingHours = "foo"; - o.sources = buildUnnamed230(); + o.sources = buildUnnamed204(); o.startDate = "foo"; o.voterServices = "foo"; } @@ -741,47 +741,47 @@ unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.notes, unittest.equals('foo')); unittest.expect(o.pollingHours, unittest.equals('foo')); - checkUnnamed230(o.sources); + checkUnnamed204(o.sources); unittest.expect(o.startDate, unittest.equals('foo')); unittest.expect(o.voterServices, unittest.equals('foo')); } buildCounterPollingLocation--; } -buildUnnamed231() { +buildUnnamed205() { var o = new core.Map<core.String, api.GeographicDivision>(); o["x"] = buildGeographicDivision(); o["y"] = buildGeographicDivision(); return o; } -checkUnnamed231(core.Map<core.String, api.GeographicDivision> o) { +checkUnnamed205(core.Map<core.String, api.GeographicDivision> o) { unittest.expect(o, unittest.hasLength(2)); checkGeographicDivision(o["x"]); checkGeographicDivision(o["y"]); } -buildUnnamed232() { +buildUnnamed206() { var o = new core.List<api.Office>(); o.add(buildOffice()); o.add(buildOffice()); return o; } -checkUnnamed232(core.List<api.Office> o) { +checkUnnamed206(core.List<api.Office> o) { unittest.expect(o, unittest.hasLength(2)); checkOffice(o[0]); checkOffice(o[1]); } -buildUnnamed233() { +buildUnnamed207() { var o = new core.List<api.Official>(); o.add(buildOfficial()); o.add(buildOfficial()); return o; } -checkUnnamed233(core.List<api.Official> o) { +checkUnnamed207(core.List<api.Official> o) { unittest.expect(o, unittest.hasLength(2)); checkOfficial(o[0]); checkOfficial(o[1]); @@ -792,9 +792,9 @@ var o = new api.RepresentativeInfoData(); buildCounterRepresentativeInfoData++; if (buildCounterRepresentativeInfoData < 3) { - o.divisions = buildUnnamed231(); - o.offices = buildUnnamed232(); - o.officials = buildUnnamed233(); + o.divisions = buildUnnamed205(); + o.offices = buildUnnamed206(); + o.officials = buildUnnamed207(); } buildCounterRepresentativeInfoData--; return o; @@ -803,47 +803,47 @@ checkRepresentativeInfoData(api.RepresentativeInfoData o) { buildCounterRepresentativeInfoData++; if (buildCounterRepresentativeInfoData < 3) { - checkUnnamed231(o.divisions); - checkUnnamed232(o.offices); - checkUnnamed233(o.officials); + checkUnnamed205(o.divisions); + checkUnnamed206(o.offices); + checkUnnamed207(o.officials); } buildCounterRepresentativeInfoData--; } -buildUnnamed234() { +buildUnnamed208() { var o = new core.Map<core.String, api.GeographicDivision>(); o["x"] = buildGeographicDivision(); o["y"] = buildGeographicDivision(); return o; } -checkUnnamed234(core.Map<core.String, api.GeographicDivision> o) { +checkUnnamed208(core.Map<core.String, api.GeographicDivision> o) { unittest.expect(o, unittest.hasLength(2)); checkGeographicDivision(o["x"]); checkGeographicDivision(o["y"]); } -buildUnnamed235() { +buildUnnamed209() { var o = new core.List<api.Office>(); o.add(buildOffice()); o.add(buildOffice()); return o; } -checkUnnamed235(core.List<api.Office> o) { +checkUnnamed209(core.List<api.Office> o) { unittest.expect(o, unittest.hasLength(2)); checkOffice(o[0]); checkOffice(o[1]); } -buildUnnamed236() { +buildUnnamed210() { var o = new core.List<api.Official>(); o.add(buildOfficial()); o.add(buildOfficial()); return o; } -checkUnnamed236(core.List<api.Official> o) { +checkUnnamed210(core.List<api.Official> o) { unittest.expect(o, unittest.hasLength(2)); checkOfficial(o[0]); checkOfficial(o[1]); @@ -854,11 +854,11 @@ var o = new api.RepresentativeInfoResponse(); buildCounterRepresentativeInfoResponse++; if (buildCounterRepresentativeInfoResponse < 3) { - o.divisions = buildUnnamed234(); + o.divisions = buildUnnamed208(); o.kind = "foo"; o.normalizedInput = buildSimpleAddressType(); - o.offices = buildUnnamed235(); - o.officials = buildUnnamed236(); + o.offices = buildUnnamed209(); + o.officials = buildUnnamed210(); } buildCounterRepresentativeInfoResponse--; return o; @@ -867,11 +867,11 @@ checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) { buildCounterRepresentativeInfoResponse++; if (buildCounterRepresentativeInfoResponse < 3) { - checkUnnamed234(o.divisions); + checkUnnamed208(o.divisions); unittest.expect(o.kind, unittest.equals('foo')); checkSimpleAddressType(o.normalizedInput); - checkUnnamed235(o.offices); - checkUnnamed236(o.officials); + checkUnnamed209(o.offices); + checkUnnamed210(o.officials); } buildCounterRepresentativeInfoResponse--; } @@ -928,66 +928,66 @@ buildCounterSource--; } -buildUnnamed237() { +buildUnnamed211() { var o = new core.List<api.Contest>(); o.add(buildContest()); o.add(buildContest()); return o; } -checkUnnamed237(core.List<api.Contest> o) { +checkUnnamed211(core.List<api.Contest> o) { unittest.expect(o, unittest.hasLength(2)); checkContest(o[0]); checkContest(o[1]); } -buildUnnamed238() { +buildUnnamed212() { var o = new core.List<api.PollingLocation>(); o.add(buildPollingLocation()); o.add(buildPollingLocation()); return o; } -checkUnnamed238(core.List<api.PollingLocation> o) { +checkUnnamed212(core.List<api.PollingLocation> o) { unittest.expect(o, unittest.hasLength(2)); checkPollingLocation(o[0]); checkPollingLocation(o[1]); } -buildUnnamed239() { +buildUnnamed213() { var o = new core.List<api.Election>(); o.add(buildElection()); o.add(buildElection()); return o; } -checkUnnamed239(core.List<api.Election> o) { +checkUnnamed213(core.List<api.Election> o) { unittest.expect(o, unittest.hasLength(2)); checkElection(o[0]); checkElection(o[1]); } -buildUnnamed240() { +buildUnnamed214() { var o = new core.List<api.PollingLocation>(); o.add(buildPollingLocation()); o.add(buildPollingLocation()); return o; } -checkUnnamed240(core.List<api.PollingLocation> o) { +checkUnnamed214(core.List<api.PollingLocation> o) { unittest.expect(o, unittest.hasLength(2)); checkPollingLocation(o[0]); checkPollingLocation(o[1]); } -buildUnnamed241() { +buildUnnamed215() { var o = new core.List<api.AdministrationRegion>(); o.add(buildAdministrationRegion()); o.add(buildAdministrationRegion()); return o; } -checkUnnamed241(core.List<api.AdministrationRegion> o) { +checkUnnamed215(core.List<api.AdministrationRegion> o) { unittest.expect(o, unittest.hasLength(2)); checkAdministrationRegion(o[0]); checkAdministrationRegion(o[1]); @@ -998,15 +998,15 @@ var o = new api.VoterInfoResponse(); buildCounterVoterInfoResponse++; if (buildCounterVoterInfoResponse < 3) { - o.contests = buildUnnamed237(); - o.earlyVoteSites = buildUnnamed238(); + o.contests = buildUnnamed211(); + o.earlyVoteSites = buildUnnamed212(); o.election = buildElection(); o.kind = "foo"; o.normalizedInput = buildSimpleAddressType(); - o.otherElections = buildUnnamed239(); - o.pollingLocations = buildUnnamed240(); + o.otherElections = buildUnnamed213(); + o.pollingLocations = buildUnnamed214(); o.precinctId = "foo"; - o.state = buildUnnamed241(); + o.state = buildUnnamed215(); } buildCounterVoterInfoResponse--; return o; @@ -1015,66 +1015,66 @@ checkVoterInfoResponse(api.VoterInfoResponse o) { buildCounterVoterInfoResponse++; if (buildCounterVoterInfoResponse < 3) { - checkUnnamed237(o.contests); - checkUnnamed238(o.earlyVoteSites); + checkUnnamed211(o.contests); + checkUnnamed212(o.earlyVoteSites); checkElection(o.election); unittest.expect(o.kind, unittest.equals('foo')); checkSimpleAddressType(o.normalizedInput); - checkUnnamed239(o.otherElections); - checkUnnamed240(o.pollingLocations); + checkUnnamed213(o.otherElections); + checkUnnamed214(o.pollingLocations); unittest.expect(o.precinctId, unittest.equals('foo')); - checkUnnamed241(o.state); + checkUnnamed215(o.state); } buildCounterVoterInfoResponse--; } -buildUnnamed242() { +buildUnnamed216() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed242(core.List<core.String> o) { +checkUnnamed216(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed243() { +buildUnnamed217() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed243(core.List<core.String> o) { +checkUnnamed217(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed244() { +buildUnnamed218() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed244(core.List<core.String> o) { +checkUnnamed218(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed245() { +buildUnnamed219() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed245(core.List<core.String> o) { +checkUnnamed219(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1420,8 +1420,8 @@ api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives; var arg_address = "foo"; var arg_includeOffices = true; - var arg_levels = buildUnnamed242(); - var arg_roles = buildUnnamed243(); + var arg_levels = buildUnnamed216(); + var arg_roles = buildUnnamed217(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0; @@ -1472,9 +1472,9 @@ var mock = new common_test.HttpServerMock(); api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives; var arg_ocdId = "foo"; - var arg_levels = buildUnnamed244(); + var arg_levels = buildUnnamed218(); var arg_recursive = true; - var arg_roles = buildUnnamed245(); + var arg_roles = buildUnnamed219(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0;
diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart index d68c270..3cf7f5d 100644 --- a/generated/googleapis/test/compute/v1_test.dart +++ b/generated/googleapis/test/compute/v1_test.dart
@@ -41,14 +41,14 @@ buildCounterAccessConfig--; } -buildUnnamed848() { +buildUnnamed822() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed848(core.List<core.String> o) { +checkUnnamed822(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -68,7 +68,7 @@ o.region = "foo"; o.selfLink = "foo"; o.status = "foo"; - o.users = buildUnnamed848(); + o.users = buildUnnamed822(); } buildCounterAddress--; return o; @@ -86,19 +86,19 @@ unittest.expect(o.region, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.status, unittest.equals('foo')); - checkUnnamed848(o.users); + checkUnnamed822(o.users); } buildCounterAddress--; } -buildUnnamed849() { +buildUnnamed823() { var o = new core.Map<core.String, api.AddressesScopedList>(); o["x"] = buildAddressesScopedList(); o["y"] = buildAddressesScopedList(); return o; } -checkUnnamed849(core.Map<core.String, api.AddressesScopedList> o) { +checkUnnamed823(core.Map<core.String, api.AddressesScopedList> o) { unittest.expect(o, unittest.hasLength(2)); checkAddressesScopedList(o["x"]); checkAddressesScopedList(o["y"]); @@ -110,7 +110,7 @@ buildCounterAddressAggregatedList++; if (buildCounterAddressAggregatedList < 3) { o.id = "foo"; - o.items = buildUnnamed849(); + o.items = buildUnnamed823(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -123,7 +123,7 @@ buildCounterAddressAggregatedList++; if (buildCounterAddressAggregatedList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed849(o.items); + checkUnnamed823(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -131,14 +131,14 @@ buildCounterAddressAggregatedList--; } -buildUnnamed850() { +buildUnnamed824() { var o = new core.List<api.Address>(); o.add(buildAddress()); o.add(buildAddress()); return o; } -checkUnnamed850(core.List<api.Address> o) { +checkUnnamed824(core.List<api.Address> o) { unittest.expect(o, unittest.hasLength(2)); checkAddress(o[0]); checkAddress(o[1]); @@ -150,7 +150,7 @@ buildCounterAddressList++; if (buildCounterAddressList < 3) { o.id = "foo"; - o.items = buildUnnamed850(); + o.items = buildUnnamed824(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -163,7 +163,7 @@ buildCounterAddressList++; if (buildCounterAddressList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed850(o.items); + checkUnnamed824(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -171,14 +171,14 @@ buildCounterAddressList--; } -buildUnnamed851() { +buildUnnamed825() { var o = new core.List<api.Address>(); o.add(buildAddress()); o.add(buildAddress()); return o; } -checkUnnamed851(core.List<api.Address> o) { +checkUnnamed825(core.List<api.Address> o) { unittest.expect(o, unittest.hasLength(2)); checkAddress(o[0]); checkAddress(o[1]); @@ -205,14 +205,14 @@ buildCounterAddressesScopedListWarningData--; } -buildUnnamed852() { +buildUnnamed826() { var o = new core.List<api.AddressesScopedListWarningData>(); o.add(buildAddressesScopedListWarningData()); o.add(buildAddressesScopedListWarningData()); return o; } -checkUnnamed852(core.List<api.AddressesScopedListWarningData> o) { +checkUnnamed826(core.List<api.AddressesScopedListWarningData> o) { unittest.expect(o, unittest.hasLength(2)); checkAddressesScopedListWarningData(o[0]); checkAddressesScopedListWarningData(o[1]); @@ -224,7 +224,7 @@ buildCounterAddressesScopedListWarning++; if (buildCounterAddressesScopedListWarning < 3) { o.code = "foo"; - o.data = buildUnnamed852(); + o.data = buildUnnamed826(); o.message = "foo"; } buildCounterAddressesScopedListWarning--; @@ -235,7 +235,7 @@ buildCounterAddressesScopedListWarning++; if (buildCounterAddressesScopedListWarning < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed852(o.data); + checkUnnamed826(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterAddressesScopedListWarning--; @@ -246,7 +246,7 @@ var o = new api.AddressesScopedList(); buildCounterAddressesScopedList++; if (buildCounterAddressesScopedList < 3) { - o.addresses = buildUnnamed851(); + o.addresses = buildUnnamed825(); o.warning = buildAddressesScopedListWarning(); } buildCounterAddressesScopedList--; @@ -256,20 +256,20 @@ checkAddressesScopedList(api.AddressesScopedList o) { buildCounterAddressesScopedList++; if (buildCounterAddressesScopedList < 3) { - checkUnnamed851(o.addresses); + checkUnnamed825(o.addresses); checkAddressesScopedListWarning(o.warning); } buildCounterAddressesScopedList--; } -buildUnnamed853() { +buildUnnamed827() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed853(core.List<core.String> o) { +checkUnnamed827(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -286,7 +286,7 @@ o.index = 42; o.initializeParams = buildAttachedDiskInitializeParams(); o.kind = "foo"; - o.licenses = buildUnnamed853(); + o.licenses = buildUnnamed827(); o.mode = "foo"; o.source = "foo"; o.type = "foo"; @@ -304,7 +304,7 @@ unittest.expect(o.index, unittest.equals(42)); checkAttachedDiskInitializeParams(o.initializeParams); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed853(o.licenses); + checkUnnamed827(o.licenses); unittest.expect(o.mode, unittest.equals('foo')); unittest.expect(o.source, unittest.equals('foo')); unittest.expect(o.type, unittest.equals('foo')); @@ -368,27 +368,27 @@ buildCounterBackend--; } -buildUnnamed854() { +buildUnnamed828() { var o = new core.List<api.Backend>(); o.add(buildBackend()); o.add(buildBackend()); return o; } -checkUnnamed854(core.List<api.Backend> o) { +checkUnnamed828(core.List<api.Backend> o) { unittest.expect(o, unittest.hasLength(2)); checkBackend(o[0]); checkBackend(o[1]); } -buildUnnamed855() { +buildUnnamed829() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed855(core.List<core.String> o) { +checkUnnamed829(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -399,11 +399,11 @@ var o = new api.BackendService(); buildCounterBackendService++; if (buildCounterBackendService < 3) { - o.backends = buildUnnamed854(); + o.backends = buildUnnamed828(); o.creationTimestamp = "foo"; o.description = "foo"; o.fingerprint = "foo"; - o.healthChecks = buildUnnamed855(); + o.healthChecks = buildUnnamed829(); o.id = "foo"; o.kind = "foo"; o.name = "foo"; @@ -420,11 +420,11 @@ checkBackendService(api.BackendService o) { buildCounterBackendService++; if (buildCounterBackendService < 3) { - checkUnnamed854(o.backends); + checkUnnamed828(o.backends); unittest.expect(o.creationTimestamp, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.fingerprint, unittest.equals('foo')); - checkUnnamed855(o.healthChecks); + checkUnnamed829(o.healthChecks); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); @@ -437,14 +437,14 @@ buildCounterBackendService--; } -buildUnnamed856() { +buildUnnamed830() { var o = new core.List<api.HealthStatus>(); o.add(buildHealthStatus()); o.add(buildHealthStatus()); return o; } -checkUnnamed856(core.List<api.HealthStatus> o) { +checkUnnamed830(core.List<api.HealthStatus> o) { unittest.expect(o, unittest.hasLength(2)); checkHealthStatus(o[0]); checkHealthStatus(o[1]); @@ -455,7 +455,7 @@ var o = new api.BackendServiceGroupHealth(); buildCounterBackendServiceGroupHealth++; if (buildCounterBackendServiceGroupHealth < 3) { - o.healthStatus = buildUnnamed856(); + o.healthStatus = buildUnnamed830(); o.kind = "foo"; } buildCounterBackendServiceGroupHealth--; @@ -465,20 +465,20 @@ checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { buildCounterBackendServiceGroupHealth++; if (buildCounterBackendServiceGroupHealth < 3) { - checkUnnamed856(o.healthStatus); + checkUnnamed830(o.healthStatus); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterBackendServiceGroupHealth--; } -buildUnnamed857() { +buildUnnamed831() { var o = new core.List<api.BackendService>(); o.add(buildBackendService()); o.add(buildBackendService()); return o; } -checkUnnamed857(core.List<api.BackendService> o) { +checkUnnamed831(core.List<api.BackendService> o) { unittest.expect(o, unittest.hasLength(2)); checkBackendService(o[0]); checkBackendService(o[1]); @@ -490,7 +490,7 @@ buildCounterBackendServiceList++; if (buildCounterBackendServiceList < 3) { o.id = "foo"; - o.items = buildUnnamed857(); + o.items = buildUnnamed831(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -503,7 +503,7 @@ buildCounterBackendServiceList++; if (buildCounterBackendServiceList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed857(o.items); + checkUnnamed831(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -538,14 +538,14 @@ buildCounterDeprecationStatus--; } -buildUnnamed858() { +buildUnnamed832() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed858(core.List<core.String> o) { +checkUnnamed832(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -560,7 +560,7 @@ o.description = "foo"; o.id = "foo"; o.kind = "foo"; - o.licenses = buildUnnamed858(); + o.licenses = buildUnnamed832(); o.name = "foo"; o.options = "foo"; o.selfLink = "foo"; @@ -584,7 +584,7 @@ unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed858(o.licenses); + checkUnnamed832(o.licenses); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.options, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -600,14 +600,14 @@ buildCounterDisk--; } -buildUnnamed859() { +buildUnnamed833() { var o = new core.Map<core.String, api.DisksScopedList>(); o["x"] = buildDisksScopedList(); o["y"] = buildDisksScopedList(); return o; } -checkUnnamed859(core.Map<core.String, api.DisksScopedList> o) { +checkUnnamed833(core.Map<core.String, api.DisksScopedList> o) { unittest.expect(o, unittest.hasLength(2)); checkDisksScopedList(o["x"]); checkDisksScopedList(o["y"]); @@ -619,7 +619,7 @@ buildCounterDiskAggregatedList++; if (buildCounterDiskAggregatedList < 3) { o.id = "foo"; - o.items = buildUnnamed859(); + o.items = buildUnnamed833(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -632,7 +632,7 @@ buildCounterDiskAggregatedList++; if (buildCounterDiskAggregatedList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed859(o.items); + checkUnnamed833(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -640,14 +640,14 @@ buildCounterDiskAggregatedList--; } -buildUnnamed860() { +buildUnnamed834() { var o = new core.List<api.Disk>(); o.add(buildDisk()); o.add(buildDisk()); return o; } -checkUnnamed860(core.List<api.Disk> o) { +checkUnnamed834(core.List<api.Disk> o) { unittest.expect(o, unittest.hasLength(2)); checkDisk(o[0]); checkDisk(o[1]); @@ -659,7 +659,7 @@ buildCounterDiskList++; if (buildCounterDiskList < 3) { o.id = "foo"; - o.items = buildUnnamed860(); + o.items = buildUnnamed834(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -672,7 +672,7 @@ buildCounterDiskList++; if (buildCounterDiskList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed860(o.items); + checkUnnamed834(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -717,14 +717,14 @@ buildCounterDiskType--; } -buildUnnamed861() { +buildUnnamed835() { var o = new core.Map<core.String, api.DiskTypesScopedList>(); o["x"] = buildDiskTypesScopedList(); o["y"] = buildDiskTypesScopedList(); return o; } -checkUnnamed861(core.Map<core.String, api.DiskTypesScopedList> o) { +checkUnnamed835(core.Map<core.String, api.DiskTypesScopedList> o) { unittest.expect(o, unittest.hasLength(2)); checkDiskTypesScopedList(o["x"]); checkDiskTypesScopedList(o["y"]); @@ -736,7 +736,7 @@ buildCounterDiskTypeAggregatedList++; if (buildCounterDiskTypeAggregatedList < 3) { o.id = "foo"; - o.items = buildUnnamed861(); + o.items = buildUnnamed835(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -749,7 +749,7 @@ buildCounterDiskTypeAggregatedList++; if (buildCounterDiskTypeAggregatedList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed861(o.items); + checkUnnamed835(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -757,14 +757,14 @@ buildCounterDiskTypeAggregatedList--; } -buildUnnamed862() { +buildUnnamed836() { var o = new core.List<api.DiskType>(); o.add(buildDiskType()); o.add(buildDiskType()); return o; } -checkUnnamed862(core.List<api.DiskType> o) { +checkUnnamed836(core.List<api.DiskType> o) { unittest.expect(o, unittest.hasLength(2)); checkDiskType(o[0]); checkDiskType(o[1]); @@ -776,7 +776,7 @@ buildCounterDiskTypeList++; if (buildCounterDiskTypeList < 3) { o.id = "foo"; - o.items = buildUnnamed862(); + o.items = buildUnnamed836(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -789,7 +789,7 @@ buildCounterDiskTypeList++; if (buildCounterDiskTypeList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed862(o.items); + checkUnnamed836(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -797,14 +797,14 @@ buildCounterDiskTypeList--; } -buildUnnamed863() { +buildUnnamed837() { var o = new core.List<api.DiskType>(); o.add(buildDiskType()); o.add(buildDiskType()); return o; } -checkUnnamed863(core.List<api.DiskType> o) { +checkUnnamed837(core.List<api.DiskType> o) { unittest.expect(o, unittest.hasLength(2)); checkDiskType(o[0]); checkDiskType(o[1]); @@ -831,14 +831,14 @@ buildCounterDiskTypesScopedListWarningData--; } -buildUnnamed864() { +buildUnnamed838() { var o = new core.List<api.DiskTypesScopedListWarningData>(); o.add(buildDiskTypesScopedListWarningData()); o.add(buildDiskTypesScopedListWarningData()); return o; } -checkUnnamed864(core.List<api.DiskTypesScopedListWarningData> o) { +checkUnnamed838(core.List<api.DiskTypesScopedListWarningData> o) { unittest.expect(o, unittest.hasLength(2)); checkDiskTypesScopedListWarningData(o[0]); checkDiskTypesScopedListWarningData(o[1]); @@ -850,7 +850,7 @@ buildCounterDiskTypesScopedListWarning++; if (buildCounterDiskTypesScopedListWarning < 3) { o.code = "foo"; - o.data = buildUnnamed864(); + o.data = buildUnnamed838(); o.message = "foo"; } buildCounterDiskTypesScopedListWarning--; @@ -861,7 +861,7 @@ buildCounterDiskTypesScopedListWarning++; if (buildCounterDiskTypesScopedListWarning < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed864(o.data); + checkUnnamed838(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterDiskTypesScopedListWarning--; @@ -872,7 +872,7 @@ var o = new api.DiskTypesScopedList(); buildCounterDiskTypesScopedList++; if (buildCounterDiskTypesScopedList < 3) { - o.diskTypes = buildUnnamed863(); + o.diskTypes = buildUnnamed837(); o.warning = buildDiskTypesScopedListWarning(); } buildCounterDiskTypesScopedList--; @@ -882,20 +882,20 @@ checkDiskTypesScopedList(api.DiskTypesScopedList o) { buildCounterDiskTypesScopedList++; if (buildCounterDiskTypesScopedList < 3) { - checkUnnamed863(o.diskTypes); + checkUnnamed837(o.diskTypes); checkDiskTypesScopedListWarning(o.warning); } buildCounterDiskTypesScopedList--; } -buildUnnamed865() { +buildUnnamed839() { var o = new core.List<api.Disk>(); o.add(buildDisk()); o.add(buildDisk()); return o; } -checkUnnamed865(core.List<api.Disk> o) { +checkUnnamed839(core.List<api.Disk> o) { unittest.expect(o, unittest.hasLength(2)); checkDisk(o[0]); checkDisk(o[1]); @@ -922,14 +922,14 @@ buildCounterDisksScopedListWarningData--; } -buildUnnamed866() { +buildUnnamed840() { var o = new core.List<api.DisksScopedListWarningData>(); o.add(buildDisksScopedListWarningData()); o.add(buildDisksScopedListWarningData()); return o; } -checkUnnamed866(core.List<api.DisksScopedListWarningData> o) { +checkUnnamed840(core.List<api.DisksScopedListWarningData> o) { unittest.expect(o, unittest.hasLength(2)); checkDisksScopedListWarningData(o[0]); checkDisksScopedListWarningData(o[1]); @@ -941,7 +941,7 @@ buildCounterDisksScopedListWarning++; if (buildCounterDisksScopedListWarning < 3) { o.code = "foo"; - o.data = buildUnnamed866(); + o.data = buildUnnamed840(); o.message = "foo"; } buildCounterDisksScopedListWarning--; @@ -952,7 +952,7 @@ buildCounterDisksScopedListWarning++; if (buildCounterDisksScopedListWarning < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed866(o.data); + checkUnnamed840(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterDisksScopedListWarning--; @@ -963,7 +963,7 @@ var o = new api.DisksScopedList(); buildCounterDisksScopedList++; if (buildCounterDisksScopedList < 3) { - o.disks = buildUnnamed865(); + o.disks = buildUnnamed839(); o.warning = buildDisksScopedListWarning(); } buildCounterDisksScopedList--; @@ -973,20 +973,20 @@ checkDisksScopedList(api.DisksScopedList o) { buildCounterDisksScopedList++; if (buildCounterDisksScopedList < 3) { - checkUnnamed865(o.disks); + checkUnnamed839(o.disks); checkDisksScopedListWarning(o.warning); } buildCounterDisksScopedList--; } -buildUnnamed867() { +buildUnnamed841() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed867(core.List<core.String> o) { +checkUnnamed841(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -998,7 +998,7 @@ buildCounterFirewallAllowed++; if (buildCounterFirewallAllowed < 3) { o.IPProtocol = "foo"; - o.ports = buildUnnamed867(); + o.ports = buildUnnamed841(); } buildCounterFirewallAllowed--; return o; @@ -1008,58 +1008,58 @@ buildCounterFirewallAllowed++; if (buildCounterFirewallAllowed < 3) { unittest.expect(o.IPProtocol, unittest.equals('foo')); - checkUnnamed867(o.ports); + checkUnnamed841(o.ports); } buildCounterFirewallAllowed--; } -buildUnnamed868() { +buildUnnamed842() { var o = new core.List<api.FirewallAllowed>(); o.add(buildFirewallAllowed()); o.add(buildFirewallAllowed()); return o; } -checkUnnamed868(core.List<api.FirewallAllowed> o) { +checkUnnamed842(core.List<api.FirewallAllowed> o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallAllowed(o[0]); checkFirewallAllowed(o[1]); } -buildUnnamed869() { +buildUnnamed843() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed869(core.List<core.String> o) { +checkUnnamed843(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed870() { +buildUnnamed844() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed870(core.List<core.String> o) { +checkUnnamed844(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed871() { +buildUnnamed845() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed871(core.List<core.String> o) { +checkUnnamed845(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1070,7 +1070,7 @@ var o = new api.Firewall(); buildCounterFirewall++; if (buildCounterFirewall < 3) { - o.allowed = buildUnnamed868(); + o.allowed = buildUnnamed842(); o.creationTimestamp = "foo"; o.description = "foo"; o.id = "foo"; @@ -1078,9 +1078,9 @@ o.name = "foo"; o.network = "foo"; o.selfLink = "foo"; - o.sourceRanges = buildUnnamed869(); - o.sourceTags = buildUnnamed870(); - o.targetTags = buildUnnamed871(); + o.sourceRanges = buildUnnamed843(); + o.sourceTags = buildUnnamed844(); + o.targetTags = buildUnnamed845(); } buildCounterFirewall--; return o; @@ -1089,7 +1089,7 @@ checkFirewall(api.Firewall o) { buildCounterFirewall++; if (buildCounterFirewall < 3) { - checkUnnamed868(o.allowed); + checkUnnamed842(o.allowed); unittest.expect(o.creationTimestamp, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); @@ -1097,21 +1097,21 @@ unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.network, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); - checkUnnamed869(o.sourceRanges); - checkUnnamed870(o.sourceTags); - checkUnnamed871(o.targetTags); + checkUnnamed843(o.sourceRanges); + checkUnnamed844(o.sourceTags); + checkUnnamed845(o.targetTags); } buildCounterFirewall--; } -buildUnnamed872() { +buildUnnamed846() { var o = new core.List<api.Firewall>(); o.add(buildFirewall()); o.add(buildFirewall()); return o; } -checkUnnamed872(core.List<api.Firewall> o) { +checkUnnamed846(core.List<api.Firewall> o) { unittest.expect(o, unittest.hasLength(2)); checkFirewall(o[0]); checkFirewall(o[1]); @@ -1123,7 +1123,7 @@ buildCounterFirewallList++; if (buildCounterFirewallList < 3) { o.id = "foo"; - o.items = buildUnnamed872(); + o.items = buildUnnamed846(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -1136,7 +1136,7 @@ buildCounterFirewallList++; if (buildCounterFirewallList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed872(o.items); + checkUnnamed846(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -1183,14 +1183,14 @@ buildCounterForwardingRule--; } -buildUnnamed873() { +buildUnnamed847() { var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); o["x"] = buildForwardingRulesScopedList(); o["y"] = buildForwardingRulesScopedList(); return o; } -checkUnnamed873(core.Map<core.String, api.ForwardingRulesScopedList> o) { +checkUnnamed847(core.Map<core.String, api.ForwardingRulesScopedList> o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingRulesScopedList(o["x"]); checkForwardingRulesScopedList(o["y"]); @@ -1202,7 +1202,7 @@ buildCounterForwardingRuleAggregatedList++; if (buildCounterForwardingRuleAggregatedList < 3) { o.id = "foo"; - o.items = buildUnnamed873(); + o.items = buildUnnamed847(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -1215,7 +1215,7 @@ buildCounterForwardingRuleAggregatedList++; if (buildCounterForwardingRuleAggregatedList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed873(o.items); + checkUnnamed847(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -1223,14 +1223,14 @@ buildCounterForwardingRuleAggregatedList--; } -buildUnnamed874() { +buildUnnamed848() { var o = new core.List<api.ForwardingRule>(); o.add(buildForwardingRule()); o.add(buildForwardingRule()); return o; } -checkUnnamed874(core.List<api.ForwardingRule> o) { +checkUnnamed848(core.List<api.ForwardingRule> o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingRule(o[0]); checkForwardingRule(o[1]); @@ -1242,7 +1242,7 @@ buildCounterForwardingRuleList++; if (buildCounterForwardingRuleList < 3) { o.id = "foo"; - o.items = buildUnnamed874(); + o.items = buildUnnamed848(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -1255,7 +1255,7 @@ buildCounterForwardingRuleList++; if (buildCounterForwardingRuleList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed874(o.items); + checkUnnamed848(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -1263,14 +1263,14 @@ buildCounterForwardingRuleList--; } -buildUnnamed875() { +buildUnnamed849() { var o = new core.List<api.ForwardingRule>(); o.add(buildForwardingRule()); o.add(buildForwardingRule()); return o; } -checkUnnamed875(core.List<api.ForwardingRule> o) { +checkUnnamed849(core.List<api.ForwardingRule> o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingRule(o[0]); checkForwardingRule(o[1]); @@ -1297,14 +1297,14 @@ buildCounterForwardingRulesScopedListWarningData--; } -buildUnnamed876() { +buildUnnamed850() { var o = new core.List<api.ForwardingRulesScopedListWarningData>(); o.add(buildForwardingRulesScopedListWarningData()); o.add(buildForwardingRulesScopedListWarningData()); return o; } -checkUnnamed876(core.List<api.ForwardingRulesScopedListWarningData> o) { +checkUnnamed850(core.List<api.ForwardingRulesScopedListWarningData> o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingRulesScopedListWarningData(o[0]); checkForwardingRulesScopedListWarningData(o[1]); @@ -1316,7 +1316,7 @@ buildCounterForwardingRulesScopedListWarning++; if (buildCounterForwardingRulesScopedListWarning < 3) { o.code = "foo"; - o.data = buildUnnamed876(); + o.data = buildUnnamed850(); o.message = "foo"; } buildCounterForwardingRulesScopedListWarning--; @@ -1327,7 +1327,7 @@ buildCounterForwardingRulesScopedListWarning++; if (buildCounterForwardingRulesScopedListWarning < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed876(o.data); + checkUnnamed850(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterForwardingRulesScopedListWarning--; @@ -1338,7 +1338,7 @@ var o = new api.ForwardingRulesScopedList(); buildCounterForwardingRulesScopedList++; if (buildCounterForwardingRulesScopedList < 3) { - o.forwardingRules = buildUnnamed875(); + o.forwardingRules = buildUnnamed849(); o.warning = buildForwardingRulesScopedListWarning(); } buildCounterForwardingRulesScopedList--; @@ -1348,7 +1348,7 @@ checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { buildCounterForwardingRulesScopedList++; if (buildCounterForwardingRulesScopedList < 3) { - checkUnnamed875(o.forwardingRules); + checkUnnamed849(o.forwardingRules); checkForwardingRulesScopedListWarning(o.warning); } buildCounterForwardingRulesScopedList--; @@ -1398,14 +1398,14 @@ buildCounterHealthStatus--; } -buildUnnamed877() { +buildUnnamed851() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed877(core.List<core.String> o) { +checkUnnamed851(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1417,7 +1417,7 @@ buildCounterHostRule++; if (buildCounterHostRule < 3) { o.description = "foo"; - o.hosts = buildUnnamed877(); + o.hosts = buildUnnamed851(); o.pathMatcher = "foo"; } buildCounterHostRule--; @@ -1428,7 +1428,7 @@ buildCounterHostRule++; if (buildCounterHostRule < 3) { unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed877(o.hosts); + checkUnnamed851(o.hosts); unittest.expect(o.pathMatcher, unittest.equals('foo')); } buildCounterHostRule--; @@ -1477,14 +1477,14 @@ buildCounterHttpHealthCheck--; } -buildUnnamed878() { +buildUnnamed852() { var o = new core.List<api.HttpHealthCheck>(); o.add(buildHttpHealthCheck()); o.add(buildHttpHealthCheck()); return o; } -checkUnnamed878(core.List<api.HttpHealthCheck> o) { +checkUnnamed852(core.List<api.HttpHealthCheck> o) { unittest.expect(o, unittest.hasLength(2)); checkHttpHealthCheck(o[0]); checkHttpHealthCheck(o[1]); @@ -1496,7 +1496,7 @@ buildCounterHttpHealthCheckList++; if (buildCounterHttpHealthCheckList < 3) { o.id = "foo"; - o.items = buildUnnamed878(); + o.items = buildUnnamed852(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -1509,7 +1509,7 @@ buildCounterHttpHealthCheckList++; if (buildCounterHttpHealthCheckList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed878(o.items); + checkUnnamed852(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -1517,14 +1517,14 @@ buildCounterHttpHealthCheckList--; } -buildUnnamed879() { +buildUnnamed853() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed879(core.List<core.String> o) { +checkUnnamed853(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1565,7 +1565,7 @@ o.diskSizeGb = "foo"; o.id = "foo"; o.kind = "foo"; - o.licenses = buildUnnamed879(); + o.licenses = buildUnnamed853(); o.name = "foo"; o.rawDisk = buildImageRawDisk(); o.selfLink = "foo"; @@ -1588,7 +1588,7 @@ unittest.expect(o.diskSizeGb, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed879(o.licenses); + checkUnnamed853(o.licenses); unittest.expect(o.name, unittest.equals('foo')); checkImageRawDisk(o.rawDisk); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -1600,14 +1600,14 @@ buildCounterImage--; } -buildUnnamed880() { +buildUnnamed854() { var o = new core.List<api.Image>(); o.add(buildImage()); o.add(buildImage()); return o; } -checkUnnamed880(core.List<api.Image> o) { +checkUnnamed854(core.List<api.Image> o) { unittest.expect(o, unittest.hasLength(2)); checkImage(o[0]); checkImage(o[1]); @@ -1619,7 +1619,7 @@ buildCounterImageList++; if (buildCounterImageList < 3) { o.id = "foo"; - o.items = buildUnnamed880(); + o.items = buildUnnamed854(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -1632,7 +1632,7 @@ buildCounterImageList++; if (buildCounterImageList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed880(o.items); + checkUnnamed854(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -1640,40 +1640,40 @@ buildCounterImageList--; } -buildUnnamed881() { +buildUnnamed855() { var o = new core.List<api.AttachedDisk>(); o.add(buildAttachedDisk()); o.add(buildAttachedDisk()); return o; } -checkUnnamed881(core.List<api.AttachedDisk> o) { +checkUnnamed855(core.List<api.AttachedDisk> o) { unittest.expect(o, unittest.hasLength(2)); checkAttachedDisk(o[0]); checkAttachedDisk(o[1]); } -buildUnnamed882() { +buildUnnamed856() { var o = new core.List<api.NetworkInterface>(); o.add(buildNetworkInterface()); o.add(buildNetworkInterface()); return o; } -checkUnnamed882(core.List<api.NetworkInterface> o) { +checkUnnamed856(core.List<api.NetworkInterface> o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkInterface(o[0]); checkNetworkInterface(o[1]); } -buildUnnamed883() { +buildUnnamed857() { var o = new core.List<api.ServiceAccount>(); o.add(buildServiceAccount()); o.add(buildServiceAccount()); return o; } -checkUnnamed883(core.List<api.ServiceAccount> o) { +checkUnnamed857(core.List<api.ServiceAccount> o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAccount(o[0]); checkServiceAccount(o[1]); @@ -1687,16 +1687,16 @@ o.canIpForward = true; o.creationTimestamp = "foo"; o.description = "foo"; - o.disks = buildUnnamed881(); + o.disks = buildUnnamed855(); o.id = "foo"; o.kind = "foo"; o.machineType = "foo"; o.metadata = buildMetadata(); o.name = "foo"; - o.networkInterfaces = buildUnnamed882(); + o.networkInterfaces = buildUnnamed856(); o.scheduling = buildScheduling(); o.selfLink = "foo"; - o.serviceAccounts = buildUnnamed883(); + o.serviceAccounts = buildUnnamed857(); o.status = "foo"; o.statusMessage = "foo"; o.tags = buildTags(); @@ -1712,16 +1712,16 @@ unittest.expect(o.canIpForward, unittest.isTrue); unittest.expect(o.creationTimestamp, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed881(o.disks); + checkUnnamed855(o.disks); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.machineType, unittest.equals('foo')); checkMetadata(o.metadata); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed882(o.networkInterfaces); + checkUnnamed856(o.networkInterfaces); checkScheduling(o.scheduling); unittest.expect(o.selfLink, unittest.equals('foo')); - checkUnnamed883(o.serviceAccounts); + checkUnnamed857(o.serviceAccounts); unittest.expect(o.status, unittest.equals('foo')); unittest.expect(o.statusMessage, unittest.equals('foo')); checkTags(o.tags); @@ -1730,14 +1730,14 @@ buildCounterInstance--; } -buildUnnamed884() { +buildUnnamed858() { var o = new core.Map<core.String, api.InstancesScopedList>(); o["x"] = buildInstancesScopedList(); o["y"] = buildInstancesScopedList(); return o; } -checkUnnamed884(core.Map<core.String, api.InstancesScopedList> o) { +checkUnnamed858(core.Map<core.String, api.InstancesScopedList> o) { unittest.expect(o, unittest.hasLength(2)); checkInstancesScopedList(o["x"]); checkInstancesScopedList(o["y"]); @@ -1749,7 +1749,7 @@ buildCounterInstanceAggregatedList++; if (buildCounterInstanceAggregatedList < 3) { o.id = "foo"; - o.items = buildUnnamed884(); + o.items = buildUnnamed858(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -1762,7 +1762,7 @@ buildCounterInstanceAggregatedList++; if (buildCounterInstanceAggregatedList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed884(o.items); + checkUnnamed858(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -1770,14 +1770,14 @@ buildCounterInstanceAggregatedList--; } -buildUnnamed885() { +buildUnnamed859() { var o = new core.List<api.Instance>(); o.add(buildInstance()); o.add(buildInstance()); return o; } -checkUnnamed885(core.List<api.Instance> o) { +checkUnnamed859(core.List<api.Instance> o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); @@ -1789,7 +1789,7 @@ buildCounterInstanceList++; if (buildCounterInstanceList < 3) { o.id = "foo"; - o.items = buildUnnamed885(); + o.items = buildUnnamed859(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -1802,7 +1802,7 @@ buildCounterInstanceList++; if (buildCounterInstanceList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed885(o.items); + checkUnnamed859(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -1810,6 +1810,80 @@ buildCounterInstanceList--; } +buildUnnamed860() { + var o = new core.List<api.AttachedDisk>(); + o.add(buildAttachedDisk()); + o.add(buildAttachedDisk()); + return o; +} + +checkUnnamed860(core.List<api.AttachedDisk> o) { + unittest.expect(o, unittest.hasLength(2)); + checkAttachedDisk(o[0]); + checkAttachedDisk(o[1]); +} + +buildUnnamed861() { + var o = new core.List<api.NetworkInterface>(); + o.add(buildNetworkInterface()); + o.add(buildNetworkInterface()); + return o; +} + +checkUnnamed861(core.List<api.NetworkInterface> o) { + unittest.expect(o, unittest.hasLength(2)); + checkNetworkInterface(o[0]); + checkNetworkInterface(o[1]); +} + +buildUnnamed862() { + var o = new core.List<api.ServiceAccount>(); + o.add(buildServiceAccount()); + o.add(buildServiceAccount()); + return o; +} + +checkUnnamed862(core.List<api.ServiceAccount> o) { + unittest.expect(o, unittest.hasLength(2)); + checkServiceAccount(o[0]); + checkServiceAccount(o[1]); +} + +core.int buildCounterInstanceProperties = 0; +buildInstanceProperties() { + var o = new api.InstanceProperties(); + buildCounterInstanceProperties++; + if (buildCounterInstanceProperties < 3) { + o.canIpForward = true; + o.description = "foo"; + o.disks = buildUnnamed860(); + o.machineType = "foo"; + o.metadata = buildMetadata(); + o.networkInterfaces = buildUnnamed861(); + o.scheduling = buildScheduling(); + o.serviceAccounts = buildUnnamed862(); + o.tags = buildTags(); + } + buildCounterInstanceProperties--; + return o; +} + +checkInstanceProperties(api.InstanceProperties o) { + buildCounterInstanceProperties++; + if (buildCounterInstanceProperties < 3) { + unittest.expect(o.canIpForward, unittest.isTrue); + unittest.expect(o.description, unittest.equals('foo')); + checkUnnamed860(o.disks); + unittest.expect(o.machineType, unittest.equals('foo')); + checkMetadata(o.metadata); + checkUnnamed861(o.networkInterfaces); + checkScheduling(o.scheduling); + checkUnnamed862(o.serviceAccounts); + checkTags(o.tags); + } + buildCounterInstanceProperties--; +} + core.int buildCounterInstanceReference = 0; buildInstanceReference() { var o = new api.InstanceReference(); @@ -1829,14 +1903,85 @@ buildCounterInstanceReference--; } -buildUnnamed886() { +core.int buildCounterInstanceTemplate = 0; +buildInstanceTemplate() { + var o = new api.InstanceTemplate(); + buildCounterInstanceTemplate++; + if (buildCounterInstanceTemplate < 3) { + o.creationTimestamp = "foo"; + o.description = "foo"; + o.id = "foo"; + o.kind = "foo"; + o.name = "foo"; + o.properties = buildInstanceProperties(); + o.selfLink = "foo"; + } + buildCounterInstanceTemplate--; + return o; +} + +checkInstanceTemplate(api.InstanceTemplate o) { + buildCounterInstanceTemplate++; + if (buildCounterInstanceTemplate < 3) { + unittest.expect(o.creationTimestamp, unittest.equals('foo')); + unittest.expect(o.description, unittest.equals('foo')); + unittest.expect(o.id, unittest.equals('foo')); + unittest.expect(o.kind, unittest.equals('foo')); + unittest.expect(o.name, unittest.equals('foo')); + checkInstanceProperties(o.properties); + unittest.expect(o.selfLink, unittest.equals('foo')); + } + buildCounterInstanceTemplate--; +} + +buildUnnamed863() { + var o = new core.List<api.InstanceTemplate>(); + o.add(buildInstanceTemplate()); + o.add(buildInstanceTemplate()); + return o; +} + +checkUnnamed863(core.List<api.InstanceTemplate> o) { + unittest.expect(o, unittest.hasLength(2)); + checkInstanceTemplate(o[0]); + checkInstanceTemplate(o[1]); +} + +core.int buildCounterInstanceTemplateList = 0; +buildInstanceTemplateList() { + var o = new api.InstanceTemplateList(); + buildCounterInstanceTemplateList++; + if (buildCounterInstanceTemplateList < 3) { + o.id = "foo"; + o.items = buildUnnamed863(); + o.kind = "foo"; + o.nextPageToken = "foo"; + o.selfLink = "foo"; + } + buildCounterInstanceTemplateList--; + return o; +} + +checkInstanceTemplateList(api.InstanceTemplateList o) { + buildCounterInstanceTemplateList++; + if (buildCounterInstanceTemplateList < 3) { + unittest.expect(o.id, unittest.equals('foo')); + checkUnnamed863(o.items); + unittest.expect(o.kind, unittest.equals('foo')); + unittest.expect(o.nextPageToken, unittest.equals('foo')); + unittest.expect(o.selfLink, unittest.equals('foo')); + } + buildCounterInstanceTemplateList--; +} + +buildUnnamed864() { var o = new core.List<api.Instance>(); o.add(buildInstance()); o.add(buildInstance()); return o; } -checkUnnamed886(core.List<api.Instance> o) { +checkUnnamed864(core.List<api.Instance> o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); @@ -1863,14 +2008,14 @@ buildCounterInstancesScopedListWarningData--; } -buildUnnamed887() { +buildUnnamed865() { var o = new core.List<api.InstancesScopedListWarningData>(); o.add(buildInstancesScopedListWarningData()); o.add(buildInstancesScopedListWarningData()); return o; } -checkUnnamed887(core.List<api.InstancesScopedListWarningData> o) { +checkUnnamed865(core.List<api.InstancesScopedListWarningData> o) { unittest.expect(o, unittest.hasLength(2)); checkInstancesScopedListWarningData(o[0]); checkInstancesScopedListWarningData(o[1]); @@ -1882,7 +2027,7 @@ buildCounterInstancesScopedListWarning++; if (buildCounterInstancesScopedListWarning < 3) { o.code = "foo"; - o.data = buildUnnamed887(); + o.data = buildUnnamed865(); o.message = "foo"; } buildCounterInstancesScopedListWarning--; @@ -1893,7 +2038,7 @@ buildCounterInstancesScopedListWarning++; if (buildCounterInstancesScopedListWarning < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed887(o.data); + checkUnnamed865(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterInstancesScopedListWarning--; @@ -1904,7 +2049,7 @@ var o = new api.InstancesScopedList(); buildCounterInstancesScopedList++; if (buildCounterInstancesScopedList < 3) { - o.instances = buildUnnamed886(); + o.instances = buildUnnamed864(); o.warning = buildInstancesScopedListWarning(); } buildCounterInstancesScopedList--; @@ -1914,7 +2059,7 @@ checkInstancesScopedList(api.InstancesScopedList o) { buildCounterInstancesScopedList++; if (buildCounterInstancesScopedList < 3) { - checkUnnamed886(o.instances); + checkUnnamed864(o.instances); checkInstancesScopedListWarning(o.warning); } buildCounterInstancesScopedList--; @@ -1964,14 +2109,14 @@ buildCounterMachineTypeScratchDisks--; } -buildUnnamed888() { +buildUnnamed866() { var o = new core.List<api.MachineTypeScratchDisks>(); o.add(buildMachineTypeScratchDisks()); o.add(buildMachineTypeScratchDisks()); return o; } -checkUnnamed888(core.List<api.MachineTypeScratchDisks> o) { +checkUnnamed866(core.List<api.MachineTypeScratchDisks> o) { unittest.expect(o, unittest.hasLength(2)); checkMachineTypeScratchDisks(o[0]); checkMachineTypeScratchDisks(o[1]); @@ -1993,7 +2138,7 @@ o.maximumPersistentDisksSizeGb = "foo"; o.memoryMb = 42; o.name = "foo"; - o.scratchDisks = buildUnnamed888(); + o.scratchDisks = buildUnnamed866(); o.selfLink = "foo"; o.zone = "foo"; } @@ -2015,21 +2160,21 @@ unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); unittest.expect(o.memoryMb, unittest.equals(42)); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed888(o.scratchDisks); + checkUnnamed866(o.scratchDisks); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.zone, unittest.equals('foo')); } buildCounterMachineType--; } -buildUnnamed889() { +buildUnnamed867() { var o = new core.Map<core.String, api.MachineTypesScopedList>(); o["x"] = buildMachineTypesScopedList(); o["y"] = buildMachineTypesScopedList(); return o; } -checkUnnamed889(core.Map<core.String, api.MachineTypesScopedList> o) { +checkUnnamed867(core.Map<core.String, api.MachineTypesScopedList> o) { unittest.expect(o, unittest.hasLength(2)); checkMachineTypesScopedList(o["x"]); checkMachineTypesScopedList(o["y"]); @@ -2041,7 +2186,7 @@ buildCounterMachineTypeAggregatedList++; if (buildCounterMachineTypeAggregatedList < 3) { o.id = "foo"; - o.items = buildUnnamed889(); + o.items = buildUnnamed867(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -2054,7 +2199,7 @@ buildCounterMachineTypeAggregatedList++; if (buildCounterMachineTypeAggregatedList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed889(o.items); + checkUnnamed867(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -2062,14 +2207,14 @@ buildCounterMachineTypeAggregatedList--; } -buildUnnamed890() { +buildUnnamed868() { var o = new core.List<api.MachineType>(); o.add(buildMachineType()); o.add(buildMachineType()); return o; } -checkUnnamed890(core.List<api.MachineType> o) { +checkUnnamed868(core.List<api.MachineType> o) { unittest.expect(o, unittest.hasLength(2)); checkMachineType(o[0]); checkMachineType(o[1]); @@ -2081,7 +2226,7 @@ buildCounterMachineTypeList++; if (buildCounterMachineTypeList < 3) { o.id = "foo"; - o.items = buildUnnamed890(); + o.items = buildUnnamed868(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -2094,7 +2239,7 @@ buildCounterMachineTypeList++; if (buildCounterMachineTypeList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed890(o.items); + checkUnnamed868(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -2102,14 +2247,14 @@ buildCounterMachineTypeList--; } -buildUnnamed891() { +buildUnnamed869() { var o = new core.List<api.MachineType>(); o.add(buildMachineType()); o.add(buildMachineType()); return o; } -checkUnnamed891(core.List<api.MachineType> o) { +checkUnnamed869(core.List<api.MachineType> o) { unittest.expect(o, unittest.hasLength(2)); checkMachineType(o[0]); checkMachineType(o[1]); @@ -2136,14 +2281,14 @@ buildCounterMachineTypesScopedListWarningData--; } -buildUnnamed892() { +buildUnnamed870() { var o = new core.List<api.MachineTypesScopedListWarningData>(); o.add(buildMachineTypesScopedListWarningData()); o.add(buildMachineTypesScopedListWarningData()); return o; } -checkUnnamed892(core.List<api.MachineTypesScopedListWarningData> o) { +checkUnnamed870(core.List<api.MachineTypesScopedListWarningData> o) { unittest.expect(o, unittest.hasLength(2)); checkMachineTypesScopedListWarningData(o[0]); checkMachineTypesScopedListWarningData(o[1]); @@ -2155,7 +2300,7 @@ buildCounterMachineTypesScopedListWarning++; if (buildCounterMachineTypesScopedListWarning < 3) { o.code = "foo"; - o.data = buildUnnamed892(); + o.data = buildUnnamed870(); o.message = "foo"; } buildCounterMachineTypesScopedListWarning--; @@ -2166,7 +2311,7 @@ buildCounterMachineTypesScopedListWarning++; if (buildCounterMachineTypesScopedListWarning < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed892(o.data); + checkUnnamed870(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterMachineTypesScopedListWarning--; @@ -2177,7 +2322,7 @@ var o = new api.MachineTypesScopedList(); buildCounterMachineTypesScopedList++; if (buildCounterMachineTypesScopedList < 3) { - o.machineTypes = buildUnnamed891(); + o.machineTypes = buildUnnamed869(); o.warning = buildMachineTypesScopedListWarning(); } buildCounterMachineTypesScopedList--; @@ -2187,7 +2332,7 @@ checkMachineTypesScopedList(api.MachineTypesScopedList o) { buildCounterMachineTypesScopedList++; if (buildCounterMachineTypesScopedList < 3) { - checkUnnamed891(o.machineTypes); + checkUnnamed869(o.machineTypes); checkMachineTypesScopedListWarning(o.warning); } buildCounterMachineTypesScopedList--; @@ -2214,14 +2359,14 @@ buildCounterMetadataItems--; } -buildUnnamed893() { +buildUnnamed871() { var o = new core.List<api.MetadataItems>(); o.add(buildMetadataItems()); o.add(buildMetadataItems()); return o; } -checkUnnamed893(core.List<api.MetadataItems> o) { +checkUnnamed871(core.List<api.MetadataItems> o) { unittest.expect(o, unittest.hasLength(2)); checkMetadataItems(o[0]); checkMetadataItems(o[1]); @@ -2233,7 +2378,7 @@ buildCounterMetadata++; if (buildCounterMetadata < 3) { o.fingerprint = "foo"; - o.items = buildUnnamed893(); + o.items = buildUnnamed871(); o.kind = "foo"; } buildCounterMetadata--; @@ -2244,7 +2389,7 @@ buildCounterMetadata++; if (buildCounterMetadata < 3) { unittest.expect(o.fingerprint, unittest.equals('foo')); - checkUnnamed893(o.items); + checkUnnamed871(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterMetadata--; @@ -2283,14 +2428,14 @@ buildCounterNetwork--; } -buildUnnamed894() { +buildUnnamed872() { var o = new core.List<api.AccessConfig>(); o.add(buildAccessConfig()); o.add(buildAccessConfig()); return o; } -checkUnnamed894(core.List<api.AccessConfig> o) { +checkUnnamed872(core.List<api.AccessConfig> o) { unittest.expect(o, unittest.hasLength(2)); checkAccessConfig(o[0]); checkAccessConfig(o[1]); @@ -2301,7 +2446,7 @@ var o = new api.NetworkInterface(); buildCounterNetworkInterface++; if (buildCounterNetworkInterface < 3) { - o.accessConfigs = buildUnnamed894(); + o.accessConfigs = buildUnnamed872(); o.name = "foo"; o.network = "foo"; o.networkIP = "foo"; @@ -2313,7 +2458,7 @@ checkNetworkInterface(api.NetworkInterface o) { buildCounterNetworkInterface++; if (buildCounterNetworkInterface < 3) { - checkUnnamed894(o.accessConfigs); + checkUnnamed872(o.accessConfigs); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.network, unittest.equals('foo')); unittest.expect(o.networkIP, unittest.equals('foo')); @@ -2321,14 +2466,14 @@ buildCounterNetworkInterface--; } -buildUnnamed895() { +buildUnnamed873() { var o = new core.List<api.Network>(); o.add(buildNetwork()); o.add(buildNetwork()); return o; } -checkUnnamed895(core.List<api.Network> o) { +checkUnnamed873(core.List<api.Network> o) { unittest.expect(o, unittest.hasLength(2)); checkNetwork(o[0]); checkNetwork(o[1]); @@ -2340,7 +2485,7 @@ buildCounterNetworkList++; if (buildCounterNetworkList < 3) { o.id = "foo"; - o.items = buildUnnamed895(); + o.items = buildUnnamed873(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -2353,7 +2498,7 @@ buildCounterNetworkList++; if (buildCounterNetworkList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed895(o.items); + checkUnnamed873(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -2384,14 +2529,14 @@ buildCounterOperationErrorErrors--; } -buildUnnamed896() { +buildUnnamed874() { var o = new core.List<api.OperationErrorErrors>(); o.add(buildOperationErrorErrors()); o.add(buildOperationErrorErrors()); return o; } -checkUnnamed896(core.List<api.OperationErrorErrors> o) { +checkUnnamed874(core.List<api.OperationErrorErrors> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationErrorErrors(o[0]); checkOperationErrorErrors(o[1]); @@ -2402,7 +2547,7 @@ var o = new api.OperationError(); buildCounterOperationError++; if (buildCounterOperationError < 3) { - o.errors = buildUnnamed896(); + o.errors = buildUnnamed874(); } buildCounterOperationError--; return o; @@ -2411,7 +2556,7 @@ checkOperationError(api.OperationError o) { buildCounterOperationError++; if (buildCounterOperationError < 3) { - checkUnnamed896(o.errors); + checkUnnamed874(o.errors); } buildCounterOperationError--; } @@ -2437,14 +2582,14 @@ buildCounterOperationWarningsData--; } -buildUnnamed897() { +buildUnnamed875() { var o = new core.List<api.OperationWarningsData>(); o.add(buildOperationWarningsData()); o.add(buildOperationWarningsData()); return o; } -checkUnnamed897(core.List<api.OperationWarningsData> o) { +checkUnnamed875(core.List<api.OperationWarningsData> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationWarningsData(o[0]); checkOperationWarningsData(o[1]); @@ -2456,7 +2601,7 @@ buildCounterOperationWarnings++; if (buildCounterOperationWarnings < 3) { o.code = "foo"; - o.data = buildUnnamed897(); + o.data = buildUnnamed875(); o.message = "foo"; } buildCounterOperationWarnings--; @@ -2467,20 +2612,20 @@ buildCounterOperationWarnings++; if (buildCounterOperationWarnings < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed897(o.data); + checkUnnamed875(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterOperationWarnings--; } -buildUnnamed898() { +buildUnnamed876() { var o = new core.List<api.OperationWarnings>(); o.add(buildOperationWarnings()); o.add(buildOperationWarnings()); return o; } -checkUnnamed898(core.List<api.OperationWarnings> o) { +checkUnnamed876(core.List<api.OperationWarnings> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationWarnings(o[0]); checkOperationWarnings(o[1]); @@ -2511,7 +2656,7 @@ o.targetId = "foo"; o.targetLink = "foo"; o.user = "foo"; - o.warnings = buildUnnamed898(); + o.warnings = buildUnnamed876(); o.zone = "foo"; } buildCounterOperation--; @@ -2541,20 +2686,20 @@ unittest.expect(o.targetId, unittest.equals('foo')); unittest.expect(o.targetLink, unittest.equals('foo')); unittest.expect(o.user, unittest.equals('foo')); - checkUnnamed898(o.warnings); + checkUnnamed876(o.warnings); unittest.expect(o.zone, unittest.equals('foo')); } buildCounterOperation--; } -buildUnnamed899() { +buildUnnamed877() { var o = new core.Map<core.String, api.OperationsScopedList>(); o["x"] = buildOperationsScopedList(); o["y"] = buildOperationsScopedList(); return o; } -checkUnnamed899(core.Map<core.String, api.OperationsScopedList> o) { +checkUnnamed877(core.Map<core.String, api.OperationsScopedList> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationsScopedList(o["x"]); checkOperationsScopedList(o["y"]); @@ -2566,7 +2711,7 @@ buildCounterOperationAggregatedList++; if (buildCounterOperationAggregatedList < 3) { o.id = "foo"; - o.items = buildUnnamed899(); + o.items = buildUnnamed877(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -2579,7 +2724,7 @@ buildCounterOperationAggregatedList++; if (buildCounterOperationAggregatedList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed899(o.items); + checkUnnamed877(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -2587,14 +2732,14 @@ buildCounterOperationAggregatedList--; } -buildUnnamed900() { +buildUnnamed878() { var o = new core.List<api.Operation>(); o.add(buildOperation()); o.add(buildOperation()); return o; } -checkUnnamed900(core.List<api.Operation> o) { +checkUnnamed878(core.List<api.Operation> o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -2606,7 +2751,7 @@ buildCounterOperationList++; if (buildCounterOperationList < 3) { o.id = "foo"; - o.items = buildUnnamed900(); + o.items = buildUnnamed878(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -2619,7 +2764,7 @@ buildCounterOperationList++; if (buildCounterOperationList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed900(o.items); + checkUnnamed878(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -2627,14 +2772,14 @@ buildCounterOperationList--; } -buildUnnamed901() { +buildUnnamed879() { var o = new core.List<api.Operation>(); o.add(buildOperation()); o.add(buildOperation()); return o; } -checkUnnamed901(core.List<api.Operation> o) { +checkUnnamed879(core.List<api.Operation> o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -2661,14 +2806,14 @@ buildCounterOperationsScopedListWarningData--; } -buildUnnamed902() { +buildUnnamed880() { var o = new core.List<api.OperationsScopedListWarningData>(); o.add(buildOperationsScopedListWarningData()); o.add(buildOperationsScopedListWarningData()); return o; } -checkUnnamed902(core.List<api.OperationsScopedListWarningData> o) { +checkUnnamed880(core.List<api.OperationsScopedListWarningData> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationsScopedListWarningData(o[0]); checkOperationsScopedListWarningData(o[1]); @@ -2680,7 +2825,7 @@ buildCounterOperationsScopedListWarning++; if (buildCounterOperationsScopedListWarning < 3) { o.code = "foo"; - o.data = buildUnnamed902(); + o.data = buildUnnamed880(); o.message = "foo"; } buildCounterOperationsScopedListWarning--; @@ -2691,7 +2836,7 @@ buildCounterOperationsScopedListWarning++; if (buildCounterOperationsScopedListWarning < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed902(o.data); + checkUnnamed880(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterOperationsScopedListWarning--; @@ -2702,7 +2847,7 @@ var o = new api.OperationsScopedList(); buildCounterOperationsScopedList++; if (buildCounterOperationsScopedList < 3) { - o.operations = buildUnnamed901(); + o.operations = buildUnnamed879(); o.warning = buildOperationsScopedListWarning(); } buildCounterOperationsScopedList--; @@ -2712,20 +2857,20 @@ checkOperationsScopedList(api.OperationsScopedList o) { buildCounterOperationsScopedList++; if (buildCounterOperationsScopedList < 3) { - checkUnnamed901(o.operations); + checkUnnamed879(o.operations); checkOperationsScopedListWarning(o.warning); } buildCounterOperationsScopedList--; } -buildUnnamed903() { +buildUnnamed881() { var o = new core.List<api.PathRule>(); o.add(buildPathRule()); o.add(buildPathRule()); return o; } -checkUnnamed903(core.List<api.PathRule> o) { +checkUnnamed881(core.List<api.PathRule> o) { unittest.expect(o, unittest.hasLength(2)); checkPathRule(o[0]); checkPathRule(o[1]); @@ -2739,7 +2884,7 @@ o.defaultService = "foo"; o.description = "foo"; o.name = "foo"; - o.pathRules = buildUnnamed903(); + o.pathRules = buildUnnamed881(); } buildCounterPathMatcher--; return o; @@ -2751,19 +2896,19 @@ unittest.expect(o.defaultService, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed903(o.pathRules); + checkUnnamed881(o.pathRules); } buildCounterPathMatcher--; } -buildUnnamed904() { +buildUnnamed882() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed904(core.List<core.String> o) { +checkUnnamed882(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2774,7 +2919,7 @@ var o = new api.PathRule(); buildCounterPathRule++; if (buildCounterPathRule < 3) { - o.paths = buildUnnamed904(); + o.paths = buildUnnamed882(); o.service = "foo"; } buildCounterPathRule--; @@ -2784,20 +2929,20 @@ checkPathRule(api.PathRule o) { buildCounterPathRule++; if (buildCounterPathRule < 3) { - checkUnnamed904(o.paths); + checkUnnamed882(o.paths); unittest.expect(o.service, unittest.equals('foo')); } buildCounterPathRule--; } -buildUnnamed905() { +buildUnnamed883() { var o = new core.List<api.Quota>(); o.add(buildQuota()); o.add(buildQuota()); return o; } -checkUnnamed905(core.List<api.Quota> o) { +checkUnnamed883(core.List<api.Quota> o) { unittest.expect(o, unittest.hasLength(2)); checkQuota(o[0]); checkQuota(o[1]); @@ -2814,7 +2959,7 @@ o.id = "foo"; o.kind = "foo"; o.name = "foo"; - o.quotas = buildUnnamed905(); + o.quotas = buildUnnamed883(); o.selfLink = "foo"; o.usageExportLocation = buildUsageExportLocation(); } @@ -2831,7 +2976,7 @@ unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed905(o.quotas); + checkUnnamed883(o.quotas); unittest.expect(o.selfLink, unittest.equals('foo')); checkUsageExportLocation(o.usageExportLocation); } @@ -2861,27 +3006,27 @@ buildCounterQuota--; } -buildUnnamed906() { +buildUnnamed884() { var o = new core.List<api.Quota>(); o.add(buildQuota()); o.add(buildQuota()); return o; } -checkUnnamed906(core.List<api.Quota> o) { +checkUnnamed884(core.List<api.Quota> o) { unittest.expect(o, unittest.hasLength(2)); checkQuota(o[0]); checkQuota(o[1]); } -buildUnnamed907() { +buildUnnamed885() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed907(core.List<core.String> o) { +checkUnnamed885(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2898,10 +3043,10 @@ o.id = "foo"; o.kind = "foo"; o.name = "foo"; - o.quotas = buildUnnamed906(); + o.quotas = buildUnnamed884(); o.selfLink = "foo"; o.status = "foo"; - o.zones = buildUnnamed907(); + o.zones = buildUnnamed885(); } buildCounterRegion--; return o; @@ -2916,22 +3061,22 @@ unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed906(o.quotas); + checkUnnamed884(o.quotas); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.status, unittest.equals('foo')); - checkUnnamed907(o.zones); + checkUnnamed885(o.zones); } buildCounterRegion--; } -buildUnnamed908() { +buildUnnamed886() { var o = new core.List<api.Region>(); o.add(buildRegion()); o.add(buildRegion()); return o; } -checkUnnamed908(core.List<api.Region> o) { +checkUnnamed886(core.List<api.Region> o) { unittest.expect(o, unittest.hasLength(2)); checkRegion(o[0]); checkRegion(o[1]); @@ -2943,7 +3088,7 @@ buildCounterRegionList++; if (buildCounterRegionList < 3) { o.id = "foo"; - o.items = buildUnnamed908(); + o.items = buildUnnamed886(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -2956,7 +3101,7 @@ buildCounterRegionList++; if (buildCounterRegionList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed908(o.items); + checkUnnamed886(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -2983,14 +3128,14 @@ buildCounterResourceGroupReference--; } -buildUnnamed909() { +buildUnnamed887() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed909(core.List<core.String> o) { +checkUnnamed887(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3017,14 +3162,14 @@ buildCounterRouteWarningsData--; } -buildUnnamed910() { +buildUnnamed888() { var o = new core.List<api.RouteWarningsData>(); o.add(buildRouteWarningsData()); o.add(buildRouteWarningsData()); return o; } -checkUnnamed910(core.List<api.RouteWarningsData> o) { +checkUnnamed888(core.List<api.RouteWarningsData> o) { unittest.expect(o, unittest.hasLength(2)); checkRouteWarningsData(o[0]); checkRouteWarningsData(o[1]); @@ -3036,7 +3181,7 @@ buildCounterRouteWarnings++; if (buildCounterRouteWarnings < 3) { o.code = "foo"; - o.data = buildUnnamed910(); + o.data = buildUnnamed888(); o.message = "foo"; } buildCounterRouteWarnings--; @@ -3047,20 +3192,20 @@ buildCounterRouteWarnings++; if (buildCounterRouteWarnings < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed910(o.data); + checkUnnamed888(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterRouteWarnings--; } -buildUnnamed911() { +buildUnnamed889() { var o = new core.List<api.RouteWarnings>(); o.add(buildRouteWarnings()); o.add(buildRouteWarnings()); return o; } -checkUnnamed911(core.List<api.RouteWarnings> o) { +checkUnnamed889(core.List<api.RouteWarnings> o) { unittest.expect(o, unittest.hasLength(2)); checkRouteWarnings(o[0]); checkRouteWarnings(o[1]); @@ -3084,8 +3229,8 @@ o.nextHopNetwork = "foo"; o.priority = 42; o.selfLink = "foo"; - o.tags = buildUnnamed909(); - o.warnings = buildUnnamed911(); + o.tags = buildUnnamed887(); + o.warnings = buildUnnamed889(); } buildCounterRoute--; return o; @@ -3107,20 +3252,20 @@ unittest.expect(o.nextHopNetwork, unittest.equals('foo')); unittest.expect(o.priority, unittest.equals(42)); unittest.expect(o.selfLink, unittest.equals('foo')); - checkUnnamed909(o.tags); - checkUnnamed911(o.warnings); + checkUnnamed887(o.tags); + checkUnnamed889(o.warnings); } buildCounterRoute--; } -buildUnnamed912() { +buildUnnamed890() { var o = new core.List<api.Route>(); o.add(buildRoute()); o.add(buildRoute()); return o; } -checkUnnamed912(core.List<api.Route> o) { +checkUnnamed890(core.List<api.Route> o) { unittest.expect(o, unittest.hasLength(2)); checkRoute(o[0]); checkRoute(o[1]); @@ -3132,7 +3277,7 @@ buildCounterRouteList++; if (buildCounterRouteList < 3) { o.id = "foo"; - o.items = buildUnnamed912(); + o.items = buildUnnamed890(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -3145,7 +3290,7 @@ buildCounterRouteList++; if (buildCounterRouteList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed912(o.items); + checkUnnamed890(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -3197,14 +3342,14 @@ buildCounterSerialPortOutput--; } -buildUnnamed913() { +buildUnnamed891() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed913(core.List<core.String> o) { +checkUnnamed891(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3216,7 +3361,7 @@ buildCounterServiceAccount++; if (buildCounterServiceAccount < 3) { o.email = "foo"; - o.scopes = buildUnnamed913(); + o.scopes = buildUnnamed891(); } buildCounterServiceAccount--; return o; @@ -3226,19 +3371,19 @@ buildCounterServiceAccount++; if (buildCounterServiceAccount < 3) { unittest.expect(o.email, unittest.equals('foo')); - checkUnnamed913(o.scopes); + checkUnnamed891(o.scopes); } buildCounterServiceAccount--; } -buildUnnamed914() { +buildUnnamed892() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed914(core.List<core.String> o) { +checkUnnamed892(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3254,7 +3399,7 @@ o.diskSizeGb = "foo"; o.id = "foo"; o.kind = "foo"; - o.licenses = buildUnnamed914(); + o.licenses = buildUnnamed892(); o.name = "foo"; o.selfLink = "foo"; o.sourceDisk = "foo"; @@ -3275,7 +3420,7 @@ unittest.expect(o.diskSizeGb, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed914(o.licenses); + checkUnnamed892(o.licenses); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.sourceDisk, unittest.equals('foo')); @@ -3287,14 +3432,14 @@ buildCounterSnapshot--; } -buildUnnamed915() { +buildUnnamed893() { var o = new core.List<api.Snapshot>(); o.add(buildSnapshot()); o.add(buildSnapshot()); return o; } -checkUnnamed915(core.List<api.Snapshot> o) { +checkUnnamed893(core.List<api.Snapshot> o) { unittest.expect(o, unittest.hasLength(2)); checkSnapshot(o[0]); checkSnapshot(o[1]); @@ -3306,7 +3451,7 @@ buildCounterSnapshotList++; if (buildCounterSnapshotList < 3) { o.id = "foo"; - o.items = buildUnnamed915(); + o.items = buildUnnamed893(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -3319,7 +3464,7 @@ buildCounterSnapshotList++; if (buildCounterSnapshotList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed915(o.items); + checkUnnamed893(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -3327,14 +3472,14 @@ buildCounterSnapshotList--; } -buildUnnamed916() { +buildUnnamed894() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed916(core.List<core.String> o) { +checkUnnamed894(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3346,7 +3491,7 @@ buildCounterTags++; if (buildCounterTags < 3) { o.fingerprint = "foo"; - o.items = buildUnnamed916(); + o.items = buildUnnamed894(); } buildCounterTags--; return o; @@ -3356,7 +3501,7 @@ buildCounterTags++; if (buildCounterTags < 3) { unittest.expect(o.fingerprint, unittest.equals('foo')); - checkUnnamed916(o.items); + checkUnnamed894(o.items); } buildCounterTags--; } @@ -3392,14 +3537,14 @@ buildCounterTargetHttpProxy--; } -buildUnnamed917() { +buildUnnamed895() { var o = new core.List<api.TargetHttpProxy>(); o.add(buildTargetHttpProxy()); o.add(buildTargetHttpProxy()); return o; } -checkUnnamed917(core.List<api.TargetHttpProxy> o) { +checkUnnamed895(core.List<api.TargetHttpProxy> o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpProxy(o[0]); checkTargetHttpProxy(o[1]); @@ -3411,7 +3556,7 @@ buildCounterTargetHttpProxyList++; if (buildCounterTargetHttpProxyList < 3) { o.id = "foo"; - o.items = buildUnnamed917(); + o.items = buildUnnamed895(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -3424,7 +3569,7 @@ buildCounterTargetHttpProxyList++; if (buildCounterTargetHttpProxyList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed917(o.items); + checkUnnamed895(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -3467,14 +3612,14 @@ buildCounterTargetInstance--; } -buildUnnamed918() { +buildUnnamed896() { var o = new core.Map<core.String, api.TargetInstancesScopedList>(); o["x"] = buildTargetInstancesScopedList(); o["y"] = buildTargetInstancesScopedList(); return o; } -checkUnnamed918(core.Map<core.String, api.TargetInstancesScopedList> o) { +checkUnnamed896(core.Map<core.String, api.TargetInstancesScopedList> o) { unittest.expect(o, unittest.hasLength(2)); checkTargetInstancesScopedList(o["x"]); checkTargetInstancesScopedList(o["y"]); @@ -3486,7 +3631,7 @@ buildCounterTargetInstanceAggregatedList++; if (buildCounterTargetInstanceAggregatedList < 3) { o.id = "foo"; - o.items = buildUnnamed918(); + o.items = buildUnnamed896(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -3499,7 +3644,7 @@ buildCounterTargetInstanceAggregatedList++; if (buildCounterTargetInstanceAggregatedList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed918(o.items); + checkUnnamed896(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -3507,14 +3652,14 @@ buildCounterTargetInstanceAggregatedList--; } -buildUnnamed919() { +buildUnnamed897() { var o = new core.List<api.TargetInstance>(); o.add(buildTargetInstance()); o.add(buildTargetInstance()); return o; } -checkUnnamed919(core.List<api.TargetInstance> o) { +checkUnnamed897(core.List<api.TargetInstance> o) { unittest.expect(o, unittest.hasLength(2)); checkTargetInstance(o[0]); checkTargetInstance(o[1]); @@ -3526,7 +3671,7 @@ buildCounterTargetInstanceList++; if (buildCounterTargetInstanceList < 3) { o.id = "foo"; - o.items = buildUnnamed919(); + o.items = buildUnnamed897(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -3539,7 +3684,7 @@ buildCounterTargetInstanceList++; if (buildCounterTargetInstanceList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed919(o.items); + checkUnnamed897(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -3547,14 +3692,14 @@ buildCounterTargetInstanceList--; } -buildUnnamed920() { +buildUnnamed898() { var o = new core.List<api.TargetInstance>(); o.add(buildTargetInstance()); o.add(buildTargetInstance()); return o; } -checkUnnamed920(core.List<api.TargetInstance> o) { +checkUnnamed898(core.List<api.TargetInstance> o) { unittest.expect(o, unittest.hasLength(2)); checkTargetInstance(o[0]); checkTargetInstance(o[1]); @@ -3581,14 +3726,14 @@ buildCounterTargetInstancesScopedListWarningData--; } -buildUnnamed921() { +buildUnnamed899() { var o = new core.List<api.TargetInstancesScopedListWarningData>(); o.add(buildTargetInstancesScopedListWarningData()); o.add(buildTargetInstancesScopedListWarningData()); return o; } -checkUnnamed921(core.List<api.TargetInstancesScopedListWarningData> o) { +checkUnnamed899(core.List<api.TargetInstancesScopedListWarningData> o) { unittest.expect(o, unittest.hasLength(2)); checkTargetInstancesScopedListWarningData(o[0]); checkTargetInstancesScopedListWarningData(o[1]); @@ -3600,7 +3745,7 @@ buildCounterTargetInstancesScopedListWarning++; if (buildCounterTargetInstancesScopedListWarning < 3) { o.code = "foo"; - o.data = buildUnnamed921(); + o.data = buildUnnamed899(); o.message = "foo"; } buildCounterTargetInstancesScopedListWarning--; @@ -3611,7 +3756,7 @@ buildCounterTargetInstancesScopedListWarning++; if (buildCounterTargetInstancesScopedListWarning < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed921(o.data); + checkUnnamed899(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterTargetInstancesScopedListWarning--; @@ -3622,7 +3767,7 @@ var o = new api.TargetInstancesScopedList(); buildCounterTargetInstancesScopedList++; if (buildCounterTargetInstancesScopedList < 3) { - o.targetInstances = buildUnnamed920(); + o.targetInstances = buildUnnamed898(); o.warning = buildTargetInstancesScopedListWarning(); } buildCounterTargetInstancesScopedList--; @@ -3632,33 +3777,33 @@ checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { buildCounterTargetInstancesScopedList++; if (buildCounterTargetInstancesScopedList < 3) { - checkUnnamed920(o.targetInstances); + checkUnnamed898(o.targetInstances); checkTargetInstancesScopedListWarning(o.warning); } buildCounterTargetInstancesScopedList--; } -buildUnnamed922() { +buildUnnamed900() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed922(core.List<core.String> o) { +checkUnnamed900(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed923() { +buildUnnamed901() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed923(core.List<core.String> o) { +checkUnnamed901(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3673,9 +3818,9 @@ o.creationTimestamp = "foo"; o.description = "foo"; o.failoverRatio = 42.0; - o.healthChecks = buildUnnamed922(); + o.healthChecks = buildUnnamed900(); o.id = "foo"; - o.instances = buildUnnamed923(); + o.instances = buildUnnamed901(); o.kind = "foo"; o.name = "foo"; o.region = "foo"; @@ -3693,9 +3838,9 @@ unittest.expect(o.creationTimestamp, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.failoverRatio, unittest.equals(42.0)); - checkUnnamed922(o.healthChecks); + checkUnnamed900(o.healthChecks); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed923(o.instances); + checkUnnamed901(o.instances); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.region, unittest.equals('foo')); @@ -3705,14 +3850,14 @@ buildCounterTargetPool--; } -buildUnnamed924() { +buildUnnamed902() { var o = new core.Map<core.String, api.TargetPoolsScopedList>(); o["x"] = buildTargetPoolsScopedList(); o["y"] = buildTargetPoolsScopedList(); return o; } -checkUnnamed924(core.Map<core.String, api.TargetPoolsScopedList> o) { +checkUnnamed902(core.Map<core.String, api.TargetPoolsScopedList> o) { unittest.expect(o, unittest.hasLength(2)); checkTargetPoolsScopedList(o["x"]); checkTargetPoolsScopedList(o["y"]); @@ -3724,7 +3869,7 @@ buildCounterTargetPoolAggregatedList++; if (buildCounterTargetPoolAggregatedList < 3) { o.id = "foo"; - o.items = buildUnnamed924(); + o.items = buildUnnamed902(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -3737,7 +3882,7 @@ buildCounterTargetPoolAggregatedList++; if (buildCounterTargetPoolAggregatedList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed924(o.items); + checkUnnamed902(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -3745,14 +3890,14 @@ buildCounterTargetPoolAggregatedList--; } -buildUnnamed925() { +buildUnnamed903() { var o = new core.List<api.HealthStatus>(); o.add(buildHealthStatus()); o.add(buildHealthStatus()); return o; } -checkUnnamed925(core.List<api.HealthStatus> o) { +checkUnnamed903(core.List<api.HealthStatus> o) { unittest.expect(o, unittest.hasLength(2)); checkHealthStatus(o[0]); checkHealthStatus(o[1]); @@ -3763,7 +3908,7 @@ var o = new api.TargetPoolInstanceHealth(); buildCounterTargetPoolInstanceHealth++; if (buildCounterTargetPoolInstanceHealth < 3) { - o.healthStatus = buildUnnamed925(); + o.healthStatus = buildUnnamed903(); o.kind = "foo"; } buildCounterTargetPoolInstanceHealth--; @@ -3773,20 +3918,20 @@ checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { buildCounterTargetPoolInstanceHealth++; if (buildCounterTargetPoolInstanceHealth < 3) { - checkUnnamed925(o.healthStatus); + checkUnnamed903(o.healthStatus); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterTargetPoolInstanceHealth--; } -buildUnnamed926() { +buildUnnamed904() { var o = new core.List<api.TargetPool>(); o.add(buildTargetPool()); o.add(buildTargetPool()); return o; } -checkUnnamed926(core.List<api.TargetPool> o) { +checkUnnamed904(core.List<api.TargetPool> o) { unittest.expect(o, unittest.hasLength(2)); checkTargetPool(o[0]); checkTargetPool(o[1]); @@ -3798,7 +3943,7 @@ buildCounterTargetPoolList++; if (buildCounterTargetPoolList < 3) { o.id = "foo"; - o.items = buildUnnamed926(); + o.items = buildUnnamed904(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -3811,7 +3956,7 @@ buildCounterTargetPoolList++; if (buildCounterTargetPoolList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed926(o.items); + checkUnnamed904(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -3819,14 +3964,14 @@ buildCounterTargetPoolList--; } -buildUnnamed927() { +buildUnnamed905() { var o = new core.List<api.HealthCheckReference>(); o.add(buildHealthCheckReference()); o.add(buildHealthCheckReference()); return o; } -checkUnnamed927(core.List<api.HealthCheckReference> o) { +checkUnnamed905(core.List<api.HealthCheckReference> o) { unittest.expect(o, unittest.hasLength(2)); checkHealthCheckReference(o[0]); checkHealthCheckReference(o[1]); @@ -3837,7 +3982,7 @@ var o = new api.TargetPoolsAddHealthCheckRequest(); buildCounterTargetPoolsAddHealthCheckRequest++; if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { - o.healthChecks = buildUnnamed927(); + o.healthChecks = buildUnnamed905(); } buildCounterTargetPoolsAddHealthCheckRequest--; return o; @@ -3846,19 +3991,19 @@ checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { buildCounterTargetPoolsAddHealthCheckRequest++; if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { - checkUnnamed927(o.healthChecks); + checkUnnamed905(o.healthChecks); } buildCounterTargetPoolsAddHealthCheckRequest--; } -buildUnnamed928() { +buildUnnamed906() { var o = new core.List<api.InstanceReference>(); o.add(buildInstanceReference()); o.add(buildInstanceReference()); return o; } -checkUnnamed928(core.List<api.InstanceReference> o) { +checkUnnamed906(core.List<api.InstanceReference> o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceReference(o[0]); checkInstanceReference(o[1]); @@ -3869,7 +4014,7 @@ var o = new api.TargetPoolsAddInstanceRequest(); buildCounterTargetPoolsAddInstanceRequest++; if (buildCounterTargetPoolsAddInstanceRequest < 3) { - o.instances = buildUnnamed928(); + o.instances = buildUnnamed906(); } buildCounterTargetPoolsAddInstanceRequest--; return o; @@ -3878,19 +4023,19 @@ checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { buildCounterTargetPoolsAddInstanceRequest++; if (buildCounterTargetPoolsAddInstanceRequest < 3) { - checkUnnamed928(o.instances); + checkUnnamed906(o.instances); } buildCounterTargetPoolsAddInstanceRequest--; } -buildUnnamed929() { +buildUnnamed907() { var o = new core.List<api.HealthCheckReference>(); o.add(buildHealthCheckReference()); o.add(buildHealthCheckReference()); return o; } -checkUnnamed929(core.List<api.HealthCheckReference> o) { +checkUnnamed907(core.List<api.HealthCheckReference> o) { unittest.expect(o, unittest.hasLength(2)); checkHealthCheckReference(o[0]); checkHealthCheckReference(o[1]); @@ -3901,7 +4046,7 @@ var o = new api.TargetPoolsRemoveHealthCheckRequest(); buildCounterTargetPoolsRemoveHealthCheckRequest++; if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { - o.healthChecks = buildUnnamed929(); + o.healthChecks = buildUnnamed907(); } buildCounterTargetPoolsRemoveHealthCheckRequest--; return o; @@ -3910,19 +4055,19 @@ checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest o) { buildCounterTargetPoolsRemoveHealthCheckRequest++; if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { - checkUnnamed929(o.healthChecks); + checkUnnamed907(o.healthChecks); } buildCounterTargetPoolsRemoveHealthCheckRequest--; } -buildUnnamed930() { +buildUnnamed908() { var o = new core.List<api.InstanceReference>(); o.add(buildInstanceReference()); o.add(buildInstanceReference()); return o; } -checkUnnamed930(core.List<api.InstanceReference> o) { +checkUnnamed908(core.List<api.InstanceReference> o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceReference(o[0]); checkInstanceReference(o[1]); @@ -3933,7 +4078,7 @@ var o = new api.TargetPoolsRemoveInstanceRequest(); buildCounterTargetPoolsRemoveInstanceRequest++; if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { - o.instances = buildUnnamed930(); + o.instances = buildUnnamed908(); } buildCounterTargetPoolsRemoveInstanceRequest--; return o; @@ -3942,19 +4087,19 @@ checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { buildCounterTargetPoolsRemoveInstanceRequest++; if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { - checkUnnamed930(o.instances); + checkUnnamed908(o.instances); } buildCounterTargetPoolsRemoveInstanceRequest--; } -buildUnnamed931() { +buildUnnamed909() { var o = new core.List<api.TargetPool>(); o.add(buildTargetPool()); o.add(buildTargetPool()); return o; } -checkUnnamed931(core.List<api.TargetPool> o) { +checkUnnamed909(core.List<api.TargetPool> o) { unittest.expect(o, unittest.hasLength(2)); checkTargetPool(o[0]); checkTargetPool(o[1]); @@ -3981,14 +4126,14 @@ buildCounterTargetPoolsScopedListWarningData--; } -buildUnnamed932() { +buildUnnamed910() { var o = new core.List<api.TargetPoolsScopedListWarningData>(); o.add(buildTargetPoolsScopedListWarningData()); o.add(buildTargetPoolsScopedListWarningData()); return o; } -checkUnnamed932(core.List<api.TargetPoolsScopedListWarningData> o) { +checkUnnamed910(core.List<api.TargetPoolsScopedListWarningData> o) { unittest.expect(o, unittest.hasLength(2)); checkTargetPoolsScopedListWarningData(o[0]); checkTargetPoolsScopedListWarningData(o[1]); @@ -4000,7 +4145,7 @@ buildCounterTargetPoolsScopedListWarning++; if (buildCounterTargetPoolsScopedListWarning < 3) { o.code = "foo"; - o.data = buildUnnamed932(); + o.data = buildUnnamed910(); o.message = "foo"; } buildCounterTargetPoolsScopedListWarning--; @@ -4011,7 +4156,7 @@ buildCounterTargetPoolsScopedListWarning++; if (buildCounterTargetPoolsScopedListWarning < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed932(o.data); + checkUnnamed910(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterTargetPoolsScopedListWarning--; @@ -4022,7 +4167,7 @@ var o = new api.TargetPoolsScopedList(); buildCounterTargetPoolsScopedList++; if (buildCounterTargetPoolsScopedList < 3) { - o.targetPools = buildUnnamed931(); + o.targetPools = buildUnnamed909(); o.warning = buildTargetPoolsScopedListWarning(); } buildCounterTargetPoolsScopedList--; @@ -4032,7 +4177,7 @@ checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { buildCounterTargetPoolsScopedList++; if (buildCounterTargetPoolsScopedList < 3) { - checkUnnamed931(o.targetPools); + checkUnnamed909(o.targetPools); checkTargetPoolsScopedListWarning(o.warning); } buildCounterTargetPoolsScopedList--; @@ -4082,40 +4227,40 @@ buildCounterTestFailure--; } -buildUnnamed933() { +buildUnnamed911() { var o = new core.List<api.HostRule>(); o.add(buildHostRule()); o.add(buildHostRule()); return o; } -checkUnnamed933(core.List<api.HostRule> o) { +checkUnnamed911(core.List<api.HostRule> o) { unittest.expect(o, unittest.hasLength(2)); checkHostRule(o[0]); checkHostRule(o[1]); } -buildUnnamed934() { +buildUnnamed912() { var o = new core.List<api.PathMatcher>(); o.add(buildPathMatcher()); o.add(buildPathMatcher()); return o; } -checkUnnamed934(core.List<api.PathMatcher> o) { +checkUnnamed912(core.List<api.PathMatcher> o) { unittest.expect(o, unittest.hasLength(2)); checkPathMatcher(o[0]); checkPathMatcher(o[1]); } -buildUnnamed935() { +buildUnnamed913() { var o = new core.List<api.UrlMapTest>(); o.add(buildUrlMapTest()); o.add(buildUrlMapTest()); return o; } -checkUnnamed935(core.List<api.UrlMapTest> o) { +checkUnnamed913(core.List<api.UrlMapTest> o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMapTest(o[0]); checkUrlMapTest(o[1]); @@ -4130,13 +4275,13 @@ o.defaultService = "foo"; o.description = "foo"; o.fingerprint = "foo"; - o.hostRules = buildUnnamed933(); + o.hostRules = buildUnnamed911(); o.id = "foo"; o.kind = "foo"; o.name = "foo"; - o.pathMatchers = buildUnnamed934(); + o.pathMatchers = buildUnnamed912(); o.selfLink = "foo"; - o.tests = buildUnnamed935(); + o.tests = buildUnnamed913(); } buildCounterUrlMap--; return o; @@ -4149,25 +4294,25 @@ unittest.expect(o.defaultService, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.fingerprint, unittest.equals('foo')); - checkUnnamed933(o.hostRules); + checkUnnamed911(o.hostRules); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed934(o.pathMatchers); + checkUnnamed912(o.pathMatchers); unittest.expect(o.selfLink, unittest.equals('foo')); - checkUnnamed935(o.tests); + checkUnnamed913(o.tests); } buildCounterUrlMap--; } -buildUnnamed936() { +buildUnnamed914() { var o = new core.List<api.UrlMap>(); o.add(buildUrlMap()); o.add(buildUrlMap()); return o; } -checkUnnamed936(core.List<api.UrlMap> o) { +checkUnnamed914(core.List<api.UrlMap> o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMap(o[0]); checkUrlMap(o[1]); @@ -4179,7 +4324,7 @@ buildCounterUrlMapList++; if (buildCounterUrlMapList < 3) { o.id = "foo"; - o.items = buildUnnamed936(); + o.items = buildUnnamed914(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -4192,7 +4337,7 @@ buildCounterUrlMapList++; if (buildCounterUrlMapList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed936(o.items); + checkUnnamed914(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -4244,27 +4389,27 @@ buildCounterUrlMapTest--; } -buildUnnamed937() { +buildUnnamed915() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed937(core.List<core.String> o) { +checkUnnamed915(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed938() { +buildUnnamed916() { var o = new core.List<api.TestFailure>(); o.add(buildTestFailure()); o.add(buildTestFailure()); return o; } -checkUnnamed938(core.List<api.TestFailure> o) { +checkUnnamed916(core.List<api.TestFailure> o) { unittest.expect(o, unittest.hasLength(2)); checkTestFailure(o[0]); checkTestFailure(o[1]); @@ -4275,9 +4420,9 @@ var o = new api.UrlMapValidationResult(); buildCounterUrlMapValidationResult++; if (buildCounterUrlMapValidationResult < 3) { - o.loadErrors = buildUnnamed937(); + o.loadErrors = buildUnnamed915(); o.loadSucceeded = true; - o.testFailures = buildUnnamed938(); + o.testFailures = buildUnnamed916(); o.testPassed = true; } buildCounterUrlMapValidationResult--; @@ -4287,9 +4432,9 @@ checkUrlMapValidationResult(api.UrlMapValidationResult o) { buildCounterUrlMapValidationResult++; if (buildCounterUrlMapValidationResult < 3) { - checkUnnamed937(o.loadErrors); + checkUnnamed915(o.loadErrors); unittest.expect(o.loadSucceeded, unittest.isTrue); - checkUnnamed938(o.testFailures); + checkUnnamed916(o.testFailures); unittest.expect(o.testPassed, unittest.isTrue); } buildCounterUrlMapValidationResult--; @@ -4379,14 +4524,14 @@ buildCounterZoneMaintenanceWindows--; } -buildUnnamed939() { +buildUnnamed917() { var o = new core.List<api.ZoneMaintenanceWindows>(); o.add(buildZoneMaintenanceWindows()); o.add(buildZoneMaintenanceWindows()); return o; } -checkUnnamed939(core.List<api.ZoneMaintenanceWindows> o) { +checkUnnamed917(core.List<api.ZoneMaintenanceWindows> o) { unittest.expect(o, unittest.hasLength(2)); checkZoneMaintenanceWindows(o[0]); checkZoneMaintenanceWindows(o[1]); @@ -4402,7 +4547,7 @@ o.description = "foo"; o.id = "foo"; o.kind = "foo"; - o.maintenanceWindows = buildUnnamed939(); + o.maintenanceWindows = buildUnnamed917(); o.name = "foo"; o.region = "foo"; o.selfLink = "foo"; @@ -4420,7 +4565,7 @@ unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed939(o.maintenanceWindows); + checkUnnamed917(o.maintenanceWindows); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.region, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -4429,14 +4574,14 @@ buildCounterZone--; } -buildUnnamed940() { +buildUnnamed918() { var o = new core.List<api.Zone>(); o.add(buildZone()); o.add(buildZone()); return o; } -checkUnnamed940(core.List<api.Zone> o) { +checkUnnamed918(core.List<api.Zone> o) { unittest.expect(o, unittest.hasLength(2)); checkZone(o[0]); checkZone(o[1]); @@ -4448,7 +4593,7 @@ buildCounterZoneList++; if (buildCounterZoneList < 3) { o.id = "foo"; - o.items = buildUnnamed940(); + o.items = buildUnnamed918(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -4461,7 +4606,7 @@ buildCounterZoneList++; if (buildCounterZoneList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed940(o.items); + checkUnnamed918(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -4885,6 +5030,15 @@ }); + unittest.group("obj-schema-InstanceProperties", () { + unittest.test("to-json--from-json", () { + var o = buildInstanceProperties(); + var od = new api.InstanceProperties.fromJson(o.toJson()); + checkInstanceProperties(od); + }); + }); + + unittest.group("obj-schema-InstanceReference", () { unittest.test("to-json--from-json", () { var o = buildInstanceReference(); @@ -4894,6 +5048,24 @@ }); + unittest.group("obj-schema-InstanceTemplate", () { + unittest.test("to-json--from-json", () { + var o = buildInstanceTemplate(); + var od = new api.InstanceTemplate.fromJson(o.toJson()); + checkInstanceTemplate(od); + }); + }); + + + unittest.group("obj-schema-InstanceTemplateList", () { + unittest.test("to-json--from-json", () { + var o = buildInstanceTemplateList(); + var od = new api.InstanceTemplateList.fromJson(o.toJson()); + checkInstanceTemplateList(od); + }); + }); + + unittest.group("obj-schema-InstancesScopedListWarningData", () { unittest.test("to-json--from-json", () { var o = buildInstancesScopedListWarningData(); @@ -8231,6 +8403,190 @@ }); + unittest.group("resource-InstanceTemplatesResourceApi", () { + unittest.test("method--delete", () { + + var mock = new common_test.HttpServerMock(); + api.InstanceTemplatesResourceApi res = new api.ComputeApi(mock).instanceTemplates; + var arg_project = "foo"; + var arg_instanceTemplate = "foo"; + mock.register(unittest.expectAsync((http.BaseRequest req, json) { + var path = (req.url).path; + var pathOffset = 0; + var index; + var subPart; + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); + pathOffset += 1; + + var query = (req.url).query; + var queryOffset = 0; + var queryMap = {}; + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); + parseBool(n) { + if (n == "true") return true; + if (n == "false") return false; + if (n == null) return null; + throw new core.ArgumentError("Invalid boolean: $n"); + } + if (query.length > 0) { + for (var part in query.split("&")) { + var keyvalue = part.split("="); + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); + } + } + + + var h = { + "content-type" : "application/json; charset=utf-8", + }; + var resp = convert.JSON.encode(buildOperation()); + return new async.Future.value(common_test.stringResponse(200, h, resp)); + }), true); + res.delete(arg_project, arg_instanceTemplate).then(unittest.expectAsync(((api.Operation response) { + checkOperation(response); + }))); + }); + + unittest.test("method--get", () { + + var mock = new common_test.HttpServerMock(); + api.InstanceTemplatesResourceApi res = new api.ComputeApi(mock).instanceTemplates; + var arg_project = "foo"; + var arg_instanceTemplate = "foo"; + mock.register(unittest.expectAsync((http.BaseRequest req, json) { + var path = (req.url).path; + var pathOffset = 0; + var index; + var subPart; + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); + pathOffset += 1; + + var query = (req.url).query; + var queryOffset = 0; + var queryMap = {}; + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); + parseBool(n) { + if (n == "true") return true; + if (n == "false") return false; + if (n == null) return null; + throw new core.ArgumentError("Invalid boolean: $n"); + } + if (query.length > 0) { + for (var part in query.split("&")) { + var keyvalue = part.split("="); + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); + } + } + + + var h = { + "content-type" : "application/json; charset=utf-8", + }; + var resp = convert.JSON.encode(buildInstanceTemplate()); + return new async.Future.value(common_test.stringResponse(200, h, resp)); + }), true); + res.get(arg_project, arg_instanceTemplate).then(unittest.expectAsync(((api.InstanceTemplate response) { + checkInstanceTemplate(response); + }))); + }); + + unittest.test("method--insert", () { + + var mock = new common_test.HttpServerMock(); + api.InstanceTemplatesResourceApi res = new api.ComputeApi(mock).instanceTemplates; + var arg_request = buildInstanceTemplate(); + var arg_project = "foo"; + mock.register(unittest.expectAsync((http.BaseRequest req, json) { + var obj = new api.InstanceTemplate.fromJson(json); + checkInstanceTemplate(obj); + + var path = (req.url).path; + var pathOffset = 0; + var index; + var subPart; + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); + pathOffset += 1; + + var query = (req.url).query; + var queryOffset = 0; + var queryMap = {}; + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); + parseBool(n) { + if (n == "true") return true; + if (n == "false") return false; + if (n == null) return null; + throw new core.ArgumentError("Invalid boolean: $n"); + } + if (query.length > 0) { + for (var part in query.split("&")) { + var keyvalue = part.split("="); + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); + } + } + + + var h = { + "content-type" : "application/json; charset=utf-8", + }; + var resp = convert.JSON.encode(buildOperation()); + return new async.Future.value(common_test.stringResponse(200, h, resp)); + }), true); + res.insert(arg_request, arg_project).then(unittest.expectAsync(((api.Operation response) { + checkOperation(response); + }))); + }); + + unittest.test("method--list", () { + + var mock = new common_test.HttpServerMock(); + api.InstanceTemplatesResourceApi res = new api.ComputeApi(mock).instanceTemplates; + var arg_project = "foo"; + var arg_filter = "foo"; + var arg_maxResults = 42; + var arg_pageToken = "foo"; + mock.register(unittest.expectAsync((http.BaseRequest req, json) { + var path = (req.url).path; + var pathOffset = 0; + var index; + var subPart; + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); + pathOffset += 1; + + var query = (req.url).query; + var queryOffset = 0; + var queryMap = {}; + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); + parseBool(n) { + if (n == "true") return true; + if (n == "false") return false; + if (n == null) return null; + throw new core.ArgumentError("Invalid boolean: $n"); + } + if (query.length > 0) { + for (var part in query.split("&")) { + var keyvalue = part.split("="); + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); + } + } + unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults)); + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken)); + + + var h = { + "content-type" : "application/json; charset=utf-8", + }; + var resp = convert.JSON.encode(buildInstanceTemplateList()); + return new async.Future.value(common_test.stringResponse(200, h, resp)); + }), true); + res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.InstanceTemplateList response) { + checkInstanceTemplateList(response); + }))); + }); + + }); + + unittest.group("resource-InstancesResourceApi", () { unittest.test("method--addAccessConfig", () {
diff --git a/generated/googleapis/test/content/v2_test.dart b/generated/googleapis/test/content/v2_test.dart index a628ab5..db90909 100644 --- a/generated/googleapis/test/content/v2_test.dart +++ b/generated/googleapis/test/content/v2_test.dart
@@ -16,27 +16,27 @@ -buildUnnamed764() { +buildUnnamed738() { var o = new core.List<api.AccountAdwordsLink>(); o.add(buildAccountAdwordsLink()); o.add(buildAccountAdwordsLink()); return o; } -checkUnnamed764(core.List<api.AccountAdwordsLink> o) { +checkUnnamed738(core.List<api.AccountAdwordsLink> o) { unittest.expect(o, unittest.hasLength(2)); checkAccountAdwordsLink(o[0]); checkAccountAdwordsLink(o[1]); } -buildUnnamed765() { +buildUnnamed739() { var o = new core.List<api.AccountUser>(); o.add(buildAccountUser()); o.add(buildAccountUser()); return o; } -checkUnnamed765(core.List<api.AccountUser> o) { +checkUnnamed739(core.List<api.AccountUser> o) { unittest.expect(o, unittest.hasLength(2)); checkAccountUser(o[0]); checkAccountUser(o[1]); @@ -48,13 +48,13 @@ buildCounterAccount++; if (buildCounterAccount < 3) { o.adultContent = true; - o.adwordsLinks = buildUnnamed764(); + o.adwordsLinks = buildUnnamed738(); o.id = "foo"; o.kind = "foo"; o.name = "foo"; o.reviewsUrl = "foo"; o.sellerId = "foo"; - o.users = buildUnnamed765(); + o.users = buildUnnamed739(); o.websiteUrl = "foo"; } buildCounterAccount--; @@ -65,13 +65,13 @@ buildCounterAccount++; if (buildCounterAccount < 3) { unittest.expect(o.adultContent, unittest.isTrue); - checkUnnamed764(o.adwordsLinks); + checkUnnamed738(o.adwordsLinks); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.reviewsUrl, unittest.equals('foo')); unittest.expect(o.sellerId, unittest.equals('foo')); - checkUnnamed765(o.users); + checkUnnamed739(o.users); unittest.expect(o.websiteUrl, unittest.equals('foo')); } buildCounterAccount--; @@ -98,14 +98,14 @@ buildCounterAccountAdwordsLink--; } -buildUnnamed766() { +buildUnnamed740() { var o = new core.List<api.AccountStatusDataQualityIssue>(); o.add(buildAccountStatusDataQualityIssue()); o.add(buildAccountStatusDataQualityIssue()); return o; } -checkUnnamed766(core.List<api.AccountStatusDataQualityIssue> o) { +checkUnnamed740(core.List<api.AccountStatusDataQualityIssue> o) { unittest.expect(o, unittest.hasLength(2)); checkAccountStatusDataQualityIssue(o[0]); checkAccountStatusDataQualityIssue(o[1]); @@ -117,7 +117,7 @@ buildCounterAccountStatus++; if (buildCounterAccountStatus < 3) { o.accountId = "foo"; - o.dataQualityIssues = buildUnnamed766(); + o.dataQualityIssues = buildUnnamed740(); o.kind = "foo"; } buildCounterAccountStatus--; @@ -128,20 +128,20 @@ buildCounterAccountStatus++; if (buildCounterAccountStatus < 3) { unittest.expect(o.accountId, unittest.equals('foo')); - checkUnnamed766(o.dataQualityIssues); + checkUnnamed740(o.dataQualityIssues); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAccountStatus--; } -buildUnnamed767() { +buildUnnamed741() { var o = new core.List<api.AccountStatusExampleItem>(); o.add(buildAccountStatusExampleItem()); o.add(buildAccountStatusExampleItem()); return o; } -checkUnnamed767(core.List<api.AccountStatusExampleItem> o) { +checkUnnamed741(core.List<api.AccountStatusExampleItem> o) { unittest.expect(o, unittest.hasLength(2)); checkAccountStatusExampleItem(o[0]); checkAccountStatusExampleItem(o[1]); @@ -154,7 +154,7 @@ if (buildCounterAccountStatusDataQualityIssue < 3) { o.country = "foo"; o.displayedValue = "foo"; - o.exampleItems = buildUnnamed767(); + o.exampleItems = buildUnnamed741(); o.id = "foo"; o.lastChecked = "foo"; o.numItems = 42; @@ -170,7 +170,7 @@ if (buildCounterAccountStatusDataQualityIssue < 3) { unittest.expect(o.country, unittest.equals('foo')); unittest.expect(o.displayedValue, unittest.equals('foo')); - checkUnnamed767(o.exampleItems); + checkUnnamed741(o.exampleItems); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.lastChecked, unittest.equals('foo')); unittest.expect(o.numItems, unittest.equals(42)); @@ -228,14 +228,14 @@ buildCounterAccountUser--; } -buildUnnamed768() { +buildUnnamed742() { var o = new core.List<api.AccountsCustomBatchRequestEntry>(); o.add(buildAccountsCustomBatchRequestEntry()); o.add(buildAccountsCustomBatchRequestEntry()); return o; } -checkUnnamed768(core.List<api.AccountsCustomBatchRequestEntry> o) { +checkUnnamed742(core.List<api.AccountsCustomBatchRequestEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkAccountsCustomBatchRequestEntry(o[0]); checkAccountsCustomBatchRequestEntry(o[1]); @@ -246,7 +246,7 @@ var o = new api.AccountsCustomBatchRequest(); buildCounterAccountsCustomBatchRequest++; if (buildCounterAccountsCustomBatchRequest < 3) { - o.entries = buildUnnamed768(); + o.entries = buildUnnamed742(); } buildCounterAccountsCustomBatchRequest--; return o; @@ -255,7 +255,7 @@ checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { buildCounterAccountsCustomBatchRequest++; if (buildCounterAccountsCustomBatchRequest < 3) { - checkUnnamed768(o.entries); + checkUnnamed742(o.entries); } buildCounterAccountsCustomBatchRequest--; } @@ -287,14 +287,14 @@ buildCounterAccountsCustomBatchRequestEntry--; } -buildUnnamed769() { +buildUnnamed743() { var o = new core.List<api.AccountsCustomBatchResponseEntry>(); o.add(buildAccountsCustomBatchResponseEntry()); o.add(buildAccountsCustomBatchResponseEntry()); return o; } -checkUnnamed769(core.List<api.AccountsCustomBatchResponseEntry> o) { +checkUnnamed743(core.List<api.AccountsCustomBatchResponseEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkAccountsCustomBatchResponseEntry(o[0]); checkAccountsCustomBatchResponseEntry(o[1]); @@ -305,7 +305,7 @@ var o = new api.AccountsCustomBatchResponse(); buildCounterAccountsCustomBatchResponse++; if (buildCounterAccountsCustomBatchResponse < 3) { - o.entries = buildUnnamed769(); + o.entries = buildUnnamed743(); o.kind = "foo"; } buildCounterAccountsCustomBatchResponse--; @@ -315,7 +315,7 @@ checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { buildCounterAccountsCustomBatchResponse++; if (buildCounterAccountsCustomBatchResponse < 3) { - checkUnnamed769(o.entries); + checkUnnamed743(o.entries); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAccountsCustomBatchResponse--; @@ -346,14 +346,14 @@ buildCounterAccountsCustomBatchResponseEntry--; } -buildUnnamed770() { +buildUnnamed744() { var o = new core.List<api.Account>(); o.add(buildAccount()); o.add(buildAccount()); return o; } -checkUnnamed770(core.List<api.Account> o) { +checkUnnamed744(core.List<api.Account> o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -366,7 +366,7 @@ if (buildCounterAccountsListResponse < 3) { o.kind = "foo"; o.nextPageToken = "foo"; - o.resources = buildUnnamed770(); + o.resources = buildUnnamed744(); } buildCounterAccountsListResponse--; return o; @@ -377,19 +377,19 @@ if (buildCounterAccountsListResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed770(o.resources); + checkUnnamed744(o.resources); } buildCounterAccountsListResponse--; } -buildUnnamed771() { +buildUnnamed745() { var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); o.add(buildAccountstatusesCustomBatchRequestEntry()); o.add(buildAccountstatusesCustomBatchRequestEntry()); return o; } -checkUnnamed771(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { +checkUnnamed745(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkAccountstatusesCustomBatchRequestEntry(o[0]); checkAccountstatusesCustomBatchRequestEntry(o[1]); @@ -400,7 +400,7 @@ var o = new api.AccountstatusesCustomBatchRequest(); buildCounterAccountstatusesCustomBatchRequest++; if (buildCounterAccountstatusesCustomBatchRequest < 3) { - o.entries = buildUnnamed771(); + o.entries = buildUnnamed745(); } buildCounterAccountstatusesCustomBatchRequest--; return o; @@ -409,7 +409,7 @@ checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o) { buildCounterAccountstatusesCustomBatchRequest++; if (buildCounterAccountstatusesCustomBatchRequest < 3) { - checkUnnamed771(o.entries); + checkUnnamed745(o.entries); } buildCounterAccountstatusesCustomBatchRequest--; } @@ -439,14 +439,14 @@ buildCounterAccountstatusesCustomBatchRequestEntry--; } -buildUnnamed772() { +buildUnnamed746() { var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); o.add(buildAccountstatusesCustomBatchResponseEntry()); o.add(buildAccountstatusesCustomBatchResponseEntry()); return o; } -checkUnnamed772(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { +checkUnnamed746(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkAccountstatusesCustomBatchResponseEntry(o[0]); checkAccountstatusesCustomBatchResponseEntry(o[1]); @@ -457,7 +457,7 @@ var o = new api.AccountstatusesCustomBatchResponse(); buildCounterAccountstatusesCustomBatchResponse++; if (buildCounterAccountstatusesCustomBatchResponse < 3) { - o.entries = buildUnnamed772(); + o.entries = buildUnnamed746(); o.kind = "foo"; } buildCounterAccountstatusesCustomBatchResponse--; @@ -467,7 +467,7 @@ checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o) { buildCounterAccountstatusesCustomBatchResponse++; if (buildCounterAccountstatusesCustomBatchResponse < 3) { - checkUnnamed772(o.entries); + checkUnnamed746(o.entries); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAccountstatusesCustomBatchResponse--; @@ -496,14 +496,14 @@ buildCounterAccountstatusesCustomBatchResponseEntry--; } -buildUnnamed773() { +buildUnnamed747() { var o = new core.List<api.AccountStatus>(); o.add(buildAccountStatus()); o.add(buildAccountStatus()); return o; } -checkUnnamed773(core.List<api.AccountStatus> o) { +checkUnnamed747(core.List<api.AccountStatus> o) { unittest.expect(o, unittest.hasLength(2)); checkAccountStatus(o[0]); checkAccountStatus(o[1]); @@ -516,7 +516,7 @@ if (buildCounterAccountstatusesListResponse < 3) { o.kind = "foo"; o.nextPageToken = "foo"; - o.resources = buildUnnamed773(); + o.resources = buildUnnamed747(); } buildCounterAccountstatusesListResponse--; return o; @@ -527,19 +527,19 @@ if (buildCounterAccountstatusesListResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed773(o.resources); + checkUnnamed747(o.resources); } buildCounterAccountstatusesListResponse--; } -buildUnnamed774() { +buildUnnamed748() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed774(core.List<core.String> o) { +checkUnnamed748(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -557,7 +557,7 @@ o.fileName = "foo"; o.format = buildDatafeedFormat(); o.id = "foo"; - o.intendedDestinations = buildUnnamed774(); + o.intendedDestinations = buildUnnamed748(); o.kind = "foo"; o.name = "foo"; o.targetCountry = "foo"; @@ -576,7 +576,7 @@ unittest.expect(o.fileName, unittest.equals('foo')); checkDatafeedFormat(o.format); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed774(o.intendedDestinations); + checkUnnamed748(o.intendedDestinations); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.targetCountry, unittest.equals('foo')); @@ -638,27 +638,27 @@ buildCounterDatafeedFormat--; } -buildUnnamed775() { +buildUnnamed749() { var o = new core.List<api.DatafeedStatusError>(); o.add(buildDatafeedStatusError()); o.add(buildDatafeedStatusError()); return o; } -checkUnnamed775(core.List<api.DatafeedStatusError> o) { +checkUnnamed749(core.List<api.DatafeedStatusError> o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedStatusError(o[0]); checkDatafeedStatusError(o[1]); } -buildUnnamed776() { +buildUnnamed750() { var o = new core.List<api.DatafeedStatusError>(); o.add(buildDatafeedStatusError()); o.add(buildDatafeedStatusError()); return o; } -checkUnnamed776(core.List<api.DatafeedStatusError> o) { +checkUnnamed750(core.List<api.DatafeedStatusError> o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedStatusError(o[0]); checkDatafeedStatusError(o[1]); @@ -670,12 +670,12 @@ buildCounterDatafeedStatus++; if (buildCounterDatafeedStatus < 3) { o.datafeedId = "foo"; - o.errors = buildUnnamed775(); + o.errors = buildUnnamed749(); o.itemsTotal = "foo"; o.itemsValid = "foo"; o.kind = "foo"; o.processingStatus = "foo"; - o.warnings = buildUnnamed776(); + o.warnings = buildUnnamed750(); } buildCounterDatafeedStatus--; return o; @@ -685,24 +685,24 @@ buildCounterDatafeedStatus++; if (buildCounterDatafeedStatus < 3) { unittest.expect(o.datafeedId, unittest.equals('foo')); - checkUnnamed775(o.errors); + checkUnnamed749(o.errors); unittest.expect(o.itemsTotal, unittest.equals('foo')); unittest.expect(o.itemsValid, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.processingStatus, unittest.equals('foo')); - checkUnnamed776(o.warnings); + checkUnnamed750(o.warnings); } buildCounterDatafeedStatus--; } -buildUnnamed777() { +buildUnnamed751() { var o = new core.List<api.DatafeedStatusExample>(); o.add(buildDatafeedStatusExample()); o.add(buildDatafeedStatusExample()); return o; } -checkUnnamed777(core.List<api.DatafeedStatusExample> o) { +checkUnnamed751(core.List<api.DatafeedStatusExample> o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedStatusExample(o[0]); checkDatafeedStatusExample(o[1]); @@ -715,7 +715,7 @@ if (buildCounterDatafeedStatusError < 3) { o.code = "foo"; o.count = "foo"; - o.examples = buildUnnamed777(); + o.examples = buildUnnamed751(); o.message = "foo"; } buildCounterDatafeedStatusError--; @@ -727,7 +727,7 @@ if (buildCounterDatafeedStatusError < 3) { unittest.expect(o.code, unittest.equals('foo')); unittest.expect(o.count, unittest.equals('foo')); - checkUnnamed777(o.examples); + checkUnnamed751(o.examples); unittest.expect(o.message, unittest.equals('foo')); } buildCounterDatafeedStatusError--; @@ -756,14 +756,14 @@ buildCounterDatafeedStatusExample--; } -buildUnnamed778() { +buildUnnamed752() { var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); o.add(buildDatafeedsCustomBatchRequestEntry()); o.add(buildDatafeedsCustomBatchRequestEntry()); return o; } -checkUnnamed778(core.List<api.DatafeedsCustomBatchRequestEntry> o) { +checkUnnamed752(core.List<api.DatafeedsCustomBatchRequestEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedsCustomBatchRequestEntry(o[0]); checkDatafeedsCustomBatchRequestEntry(o[1]); @@ -774,7 +774,7 @@ var o = new api.DatafeedsCustomBatchRequest(); buildCounterDatafeedsCustomBatchRequest++; if (buildCounterDatafeedsCustomBatchRequest < 3) { - o.entries = buildUnnamed778(); + o.entries = buildUnnamed752(); } buildCounterDatafeedsCustomBatchRequest--; return o; @@ -783,7 +783,7 @@ checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { buildCounterDatafeedsCustomBatchRequest++; if (buildCounterDatafeedsCustomBatchRequest < 3) { - checkUnnamed778(o.entries); + checkUnnamed752(o.entries); } buildCounterDatafeedsCustomBatchRequest--; } @@ -815,14 +815,14 @@ buildCounterDatafeedsCustomBatchRequestEntry--; } -buildUnnamed779() { +buildUnnamed753() { var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); o.add(buildDatafeedsCustomBatchResponseEntry()); o.add(buildDatafeedsCustomBatchResponseEntry()); return o; } -checkUnnamed779(core.List<api.DatafeedsCustomBatchResponseEntry> o) { +checkUnnamed753(core.List<api.DatafeedsCustomBatchResponseEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedsCustomBatchResponseEntry(o[0]); checkDatafeedsCustomBatchResponseEntry(o[1]); @@ -833,7 +833,7 @@ var o = new api.DatafeedsCustomBatchResponse(); buildCounterDatafeedsCustomBatchResponse++; if (buildCounterDatafeedsCustomBatchResponse < 3) { - o.entries = buildUnnamed779(); + o.entries = buildUnnamed753(); o.kind = "foo"; } buildCounterDatafeedsCustomBatchResponse--; @@ -843,7 +843,7 @@ checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { buildCounterDatafeedsCustomBatchResponse++; if (buildCounterDatafeedsCustomBatchResponse < 3) { - checkUnnamed779(o.entries); + checkUnnamed753(o.entries); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterDatafeedsCustomBatchResponse--; @@ -872,14 +872,14 @@ buildCounterDatafeedsCustomBatchResponseEntry--; } -buildUnnamed780() { +buildUnnamed754() { var o = new core.List<api.Datafeed>(); o.add(buildDatafeed()); o.add(buildDatafeed()); return o; } -checkUnnamed780(core.List<api.Datafeed> o) { +checkUnnamed754(core.List<api.Datafeed> o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeed(o[0]); checkDatafeed(o[1]); @@ -891,7 +891,7 @@ buildCounterDatafeedsListResponse++; if (buildCounterDatafeedsListResponse < 3) { o.kind = "foo"; - o.resources = buildUnnamed780(); + o.resources = buildUnnamed754(); } buildCounterDatafeedsListResponse--; return o; @@ -901,19 +901,19 @@ buildCounterDatafeedsListResponse++; if (buildCounterDatafeedsListResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed780(o.resources); + checkUnnamed754(o.resources); } buildCounterDatafeedsListResponse--; } -buildUnnamed781() { +buildUnnamed755() { var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); o.add(buildDatafeedstatusesCustomBatchRequestEntry()); o.add(buildDatafeedstatusesCustomBatchRequestEntry()); return o; } -checkUnnamed781(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { +checkUnnamed755(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedstatusesCustomBatchRequestEntry(o[0]); checkDatafeedstatusesCustomBatchRequestEntry(o[1]); @@ -924,7 +924,7 @@ var o = new api.DatafeedstatusesCustomBatchRequest(); buildCounterDatafeedstatusesCustomBatchRequest++; if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { - o.entries = buildUnnamed781(); + o.entries = buildUnnamed755(); } buildCounterDatafeedstatusesCustomBatchRequest--; return o; @@ -933,7 +933,7 @@ checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o) { buildCounterDatafeedstatusesCustomBatchRequest++; if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { - checkUnnamed781(o.entries); + checkUnnamed755(o.entries); } buildCounterDatafeedstatusesCustomBatchRequest--; } @@ -963,14 +963,14 @@ buildCounterDatafeedstatusesCustomBatchRequestEntry--; } -buildUnnamed782() { +buildUnnamed756() { var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); o.add(buildDatafeedstatusesCustomBatchResponseEntry()); o.add(buildDatafeedstatusesCustomBatchResponseEntry()); return o; } -checkUnnamed782(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { +checkUnnamed756(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedstatusesCustomBatchResponseEntry(o[0]); checkDatafeedstatusesCustomBatchResponseEntry(o[1]); @@ -981,7 +981,7 @@ var o = new api.DatafeedstatusesCustomBatchResponse(); buildCounterDatafeedstatusesCustomBatchResponse++; if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { - o.entries = buildUnnamed782(); + o.entries = buildUnnamed756(); o.kind = "foo"; } buildCounterDatafeedstatusesCustomBatchResponse--; @@ -991,7 +991,7 @@ checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse o) { buildCounterDatafeedstatusesCustomBatchResponse++; if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { - checkUnnamed782(o.entries); + checkUnnamed756(o.entries); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterDatafeedstatusesCustomBatchResponse--; @@ -1020,14 +1020,14 @@ buildCounterDatafeedstatusesCustomBatchResponseEntry--; } -buildUnnamed783() { +buildUnnamed757() { var o = new core.List<api.DatafeedStatus>(); o.add(buildDatafeedStatus()); o.add(buildDatafeedStatus()); return o; } -checkUnnamed783(core.List<api.DatafeedStatus> o) { +checkUnnamed757(core.List<api.DatafeedStatus> o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedStatus(o[0]); checkDatafeedStatus(o[1]); @@ -1039,7 +1039,7 @@ buildCounterDatafeedstatusesListResponse++; if (buildCounterDatafeedstatusesListResponse < 3) { o.kind = "foo"; - o.resources = buildUnnamed783(); + o.resources = buildUnnamed757(); } buildCounterDatafeedstatusesListResponse--; return o; @@ -1049,7 +1049,7 @@ buildCounterDatafeedstatusesListResponse++; if (buildCounterDatafeedstatusesListResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed783(o.resources); + checkUnnamed757(o.resources); } buildCounterDatafeedstatusesListResponse--; } @@ -1077,14 +1077,14 @@ buildCounterError--; } -buildUnnamed784() { +buildUnnamed758() { var o = new core.List<api.Error>(); o.add(buildError()); o.add(buildError()); return o; } -checkUnnamed784(core.List<api.Error> o) { +checkUnnamed758(core.List<api.Error> o) { unittest.expect(o, unittest.hasLength(2)); checkError(o[0]); checkError(o[1]); @@ -1096,7 +1096,7 @@ buildCounterErrors++; if (buildCounterErrors < 3) { o.code = 42; - o.errors = buildUnnamed784(); + o.errors = buildUnnamed758(); o.message = "foo"; } buildCounterErrors--; @@ -1107,7 +1107,7 @@ buildCounterErrors++; if (buildCounterErrors < 3) { unittest.expect(o.code, unittest.equals(42)); - checkUnnamed784(o.errors); + checkUnnamed758(o.errors); unittest.expect(o.message, unittest.equals('foo')); } buildCounterErrors--; @@ -1142,14 +1142,14 @@ buildCounterInventory--; } -buildUnnamed785() { +buildUnnamed759() { var o = new core.List<api.InventoryCustomBatchRequestEntry>(); o.add(buildInventoryCustomBatchRequestEntry()); o.add(buildInventoryCustomBatchRequestEntry()); return o; } -checkUnnamed785(core.List<api.InventoryCustomBatchRequestEntry> o) { +checkUnnamed759(core.List<api.InventoryCustomBatchRequestEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkInventoryCustomBatchRequestEntry(o[0]); checkInventoryCustomBatchRequestEntry(o[1]); @@ -1160,7 +1160,7 @@ var o = new api.InventoryCustomBatchRequest(); buildCounterInventoryCustomBatchRequest++; if (buildCounterInventoryCustomBatchRequest < 3) { - o.entries = buildUnnamed785(); + o.entries = buildUnnamed759(); } buildCounterInventoryCustomBatchRequest--; return o; @@ -1169,7 +1169,7 @@ checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { buildCounterInventoryCustomBatchRequest++; if (buildCounterInventoryCustomBatchRequest < 3) { - checkUnnamed785(o.entries); + checkUnnamed759(o.entries); } buildCounterInventoryCustomBatchRequest--; } @@ -1201,14 +1201,14 @@ buildCounterInventoryCustomBatchRequestEntry--; } -buildUnnamed786() { +buildUnnamed760() { var o = new core.List<api.InventoryCustomBatchResponseEntry>(); o.add(buildInventoryCustomBatchResponseEntry()); o.add(buildInventoryCustomBatchResponseEntry()); return o; } -checkUnnamed786(core.List<api.InventoryCustomBatchResponseEntry> o) { +checkUnnamed760(core.List<api.InventoryCustomBatchResponseEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkInventoryCustomBatchResponseEntry(o[0]); checkInventoryCustomBatchResponseEntry(o[1]); @@ -1219,7 +1219,7 @@ var o = new api.InventoryCustomBatchResponse(); buildCounterInventoryCustomBatchResponse++; if (buildCounterInventoryCustomBatchResponse < 3) { - o.entries = buildUnnamed786(); + o.entries = buildUnnamed760(); o.kind = "foo"; } buildCounterInventoryCustomBatchResponse--; @@ -1229,7 +1229,7 @@ checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { buildCounterInventoryCustomBatchResponse++; if (buildCounterInventoryCustomBatchResponse < 3) { - checkUnnamed786(o.entries); + checkUnnamed760(o.entries); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterInventoryCustomBatchResponse--; @@ -1348,131 +1348,131 @@ buildCounterPrice--; } -buildUnnamed787() { +buildUnnamed761() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed787(core.List<core.String> o) { +checkUnnamed761(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed788() { +buildUnnamed762() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed788(core.List<core.String> o) { +checkUnnamed762(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed789() { +buildUnnamed763() { var o = new core.List<api.ProductCustomAttribute>(); o.add(buildProductCustomAttribute()); o.add(buildProductCustomAttribute()); return o; } -checkUnnamed789(core.List<api.ProductCustomAttribute> o) { +checkUnnamed763(core.List<api.ProductCustomAttribute> o) { unittest.expect(o, unittest.hasLength(2)); checkProductCustomAttribute(o[0]); checkProductCustomAttribute(o[1]); } -buildUnnamed790() { +buildUnnamed764() { var o = new core.List<api.ProductCustomGroup>(); o.add(buildProductCustomGroup()); o.add(buildProductCustomGroup()); return o; } -checkUnnamed790(core.List<api.ProductCustomGroup> o) { +checkUnnamed764(core.List<api.ProductCustomGroup> o) { unittest.expect(o, unittest.hasLength(2)); checkProductCustomGroup(o[0]); checkProductCustomGroup(o[1]); } -buildUnnamed791() { +buildUnnamed765() { var o = new core.List<api.ProductDestination>(); o.add(buildProductDestination()); o.add(buildProductDestination()); return o; } -checkUnnamed791(core.List<api.ProductDestination> o) { +checkUnnamed765(core.List<api.ProductDestination> o) { unittest.expect(o, unittest.hasLength(2)); checkProductDestination(o[0]); checkProductDestination(o[1]); } -buildUnnamed792() { +buildUnnamed766() { var o = new core.List<api.ProductShipping>(); o.add(buildProductShipping()); o.add(buildProductShipping()); return o; } -checkUnnamed792(core.List<api.ProductShipping> o) { +checkUnnamed766(core.List<api.ProductShipping> o) { unittest.expect(o, unittest.hasLength(2)); checkProductShipping(o[0]); checkProductShipping(o[1]); } -buildUnnamed793() { +buildUnnamed767() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed793(core.List<core.String> o) { +checkUnnamed767(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed794() { +buildUnnamed768() { var o = new core.List<api.ProductTax>(); o.add(buildProductTax()); o.add(buildProductTax()); return o; } -checkUnnamed794(core.List<api.ProductTax> o) { +checkUnnamed768(core.List<api.ProductTax> o) { unittest.expect(o, unittest.hasLength(2)); checkProductTax(o[0]); checkProductTax(o[1]); } -buildUnnamed795() { +buildUnnamed769() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed795(core.List<core.String> o) { +checkUnnamed769(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed796() { +buildUnnamed770() { var o = new core.List<api.Error>(); o.add(buildError()); o.add(buildError()); return o; } -checkUnnamed796(core.List<api.Error> o) { +checkUnnamed770(core.List<api.Error> o) { unittest.expect(o, unittest.hasLength(2)); checkError(o[0]); checkError(o[1]); @@ -1483,10 +1483,10 @@ var o = new api.Product(); buildCounterProduct++; if (buildCounterProduct < 3) { - o.additionalImageLinks = buildUnnamed787(); + o.additionalImageLinks = buildUnnamed761(); o.adult = true; o.adwordsGrouping = "foo"; - o.adwordsLabels = buildUnnamed788(); + o.adwordsLabels = buildUnnamed762(); o.adwordsRedirect = "foo"; o.ageGroup = "foo"; o.availability = "foo"; @@ -1496,15 +1496,15 @@ o.color = "foo"; o.condition = "foo"; o.contentLanguage = "foo"; - o.customAttributes = buildUnnamed789(); - o.customGroups = buildUnnamed790(); + o.customAttributes = buildUnnamed763(); + o.customGroups = buildUnnamed764(); o.customLabel0 = "foo"; o.customLabel1 = "foo"; o.customLabel2 = "foo"; o.customLabel3 = "foo"; o.customLabel4 = "foo"; o.description = "foo"; - o.destinations = buildUnnamed791(); + o.destinations = buildUnnamed765(); o.energyEfficiencyClass = "foo"; o.expirationDate = "foo"; o.gender = "foo"; @@ -1530,19 +1530,19 @@ o.productType = "foo"; o.salePrice = buildPrice(); o.salePriceEffectiveDate = "foo"; - o.shipping = buildUnnamed792(); + o.shipping = buildUnnamed766(); o.shippingLabel = "foo"; o.shippingWeight = buildProductShippingWeight(); o.sizeSystem = "foo"; o.sizeType = "foo"; - o.sizes = buildUnnamed793(); + o.sizes = buildUnnamed767(); o.targetCountry = "foo"; - o.taxes = buildUnnamed794(); + o.taxes = buildUnnamed768(); o.title = "foo"; o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); o.unitPricingMeasure = buildProductUnitPricingMeasure(); - o.validatedDestinations = buildUnnamed795(); - o.warnings = buildUnnamed796(); + o.validatedDestinations = buildUnnamed769(); + o.warnings = buildUnnamed770(); } buildCounterProduct--; return o; @@ -1551,10 +1551,10 @@ checkProduct(api.Product o) { buildCounterProduct++; if (buildCounterProduct < 3) { - checkUnnamed787(o.additionalImageLinks); + checkUnnamed761(o.additionalImageLinks); unittest.expect(o.adult, unittest.isTrue); unittest.expect(o.adwordsGrouping, unittest.equals('foo')); - checkUnnamed788(o.adwordsLabels); + checkUnnamed762(o.adwordsLabels); unittest.expect(o.adwordsRedirect, unittest.equals('foo')); unittest.expect(o.ageGroup, unittest.equals('foo')); unittest.expect(o.availability, unittest.equals('foo')); @@ -1564,15 +1564,15 @@ unittest.expect(o.color, unittest.equals('foo')); unittest.expect(o.condition, unittest.equals('foo')); unittest.expect(o.contentLanguage, unittest.equals('foo')); - checkUnnamed789(o.customAttributes); - checkUnnamed790(o.customGroups); + checkUnnamed763(o.customAttributes); + checkUnnamed764(o.customGroups); unittest.expect(o.customLabel0, unittest.equals('foo')); unittest.expect(o.customLabel1, unittest.equals('foo')); unittest.expect(o.customLabel2, unittest.equals('foo')); unittest.expect(o.customLabel3, unittest.equals('foo')); unittest.expect(o.customLabel4, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed791(o.destinations); + checkUnnamed765(o.destinations); unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); unittest.expect(o.expirationDate, unittest.equals('foo')); unittest.expect(o.gender, unittest.equals('foo')); @@ -1598,19 +1598,19 @@ unittest.expect(o.productType, unittest.equals('foo')); checkPrice(o.salePrice); unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); - checkUnnamed792(o.shipping); + checkUnnamed766(o.shipping); unittest.expect(o.shippingLabel, unittest.equals('foo')); checkProductShippingWeight(o.shippingWeight); unittest.expect(o.sizeSystem, unittest.equals('foo')); unittest.expect(o.sizeType, unittest.equals('foo')); - checkUnnamed793(o.sizes); + checkUnnamed767(o.sizes); unittest.expect(o.targetCountry, unittest.equals('foo')); - checkUnnamed794(o.taxes); + checkUnnamed768(o.taxes); unittest.expect(o.title, unittest.equals('foo')); checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); checkProductUnitPricingMeasure(o.unitPricingMeasure); - checkUnnamed795(o.validatedDestinations); - checkUnnamed796(o.warnings); + checkUnnamed769(o.validatedDestinations); + checkUnnamed770(o.warnings); } buildCounterProduct--; } @@ -1640,14 +1640,14 @@ buildCounterProductCustomAttribute--; } -buildUnnamed797() { +buildUnnamed771() { var o = new core.List<api.ProductCustomAttribute>(); o.add(buildProductCustomAttribute()); o.add(buildProductCustomAttribute()); return o; } -checkUnnamed797(core.List<api.ProductCustomAttribute> o) { +checkUnnamed771(core.List<api.ProductCustomAttribute> o) { unittest.expect(o, unittest.hasLength(2)); checkProductCustomAttribute(o[0]); checkProductCustomAttribute(o[1]); @@ -1658,7 +1658,7 @@ var o = new api.ProductCustomGroup(); buildCounterProductCustomGroup++; if (buildCounterProductCustomGroup < 3) { - o.attributes = buildUnnamed797(); + o.attributes = buildUnnamed771(); o.name = "foo"; } buildCounterProductCustomGroup--; @@ -1668,7 +1668,7 @@ checkProductCustomGroup(api.ProductCustomGroup o) { buildCounterProductCustomGroup++; if (buildCounterProductCustomGroup < 3) { - checkUnnamed797(o.attributes); + checkUnnamed771(o.attributes); unittest.expect(o.name, unittest.equals('foo')); } buildCounterProductCustomGroup--; @@ -1768,27 +1768,27 @@ buildCounterProductShippingWeight--; } -buildUnnamed798() { +buildUnnamed772() { var o = new core.List<api.ProductStatusDataQualityIssue>(); o.add(buildProductStatusDataQualityIssue()); o.add(buildProductStatusDataQualityIssue()); return o; } -checkUnnamed798(core.List<api.ProductStatusDataQualityIssue> o) { +checkUnnamed772(core.List<api.ProductStatusDataQualityIssue> o) { unittest.expect(o, unittest.hasLength(2)); checkProductStatusDataQualityIssue(o[0]); checkProductStatusDataQualityIssue(o[1]); } -buildUnnamed799() { +buildUnnamed773() { var o = new core.List<api.ProductStatusDestinationStatus>(); o.add(buildProductStatusDestinationStatus()); o.add(buildProductStatusDestinationStatus()); return o; } -checkUnnamed799(core.List<api.ProductStatusDestinationStatus> o) { +checkUnnamed773(core.List<api.ProductStatusDestinationStatus> o) { unittest.expect(o, unittest.hasLength(2)); checkProductStatusDestinationStatus(o[0]); checkProductStatusDestinationStatus(o[1]); @@ -1799,8 +1799,8 @@ var o = new api.ProductStatus(); buildCounterProductStatus++; if (buildCounterProductStatus < 3) { - o.dataQualityIssues = buildUnnamed798(); - o.destinationStatuses = buildUnnamed799(); + o.dataQualityIssues = buildUnnamed772(); + o.destinationStatuses = buildUnnamed773(); o.kind = "foo"; o.link = "foo"; o.productId = "foo"; @@ -1813,8 +1813,8 @@ checkProductStatus(api.ProductStatus o) { buildCounterProductStatus++; if (buildCounterProductStatus < 3) { - checkUnnamed798(o.dataQualityIssues); - checkUnnamed799(o.destinationStatuses); + checkUnnamed772(o.dataQualityIssues); + checkUnnamed773(o.destinationStatuses); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.link, unittest.equals('foo')); unittest.expect(o.productId, unittest.equals('foo')); @@ -1948,14 +1948,14 @@ buildCounterProductUnitPricingMeasure--; } -buildUnnamed800() { +buildUnnamed774() { var o = new core.List<api.ProductsCustomBatchRequestEntry>(); o.add(buildProductsCustomBatchRequestEntry()); o.add(buildProductsCustomBatchRequestEntry()); return o; } -checkUnnamed800(core.List<api.ProductsCustomBatchRequestEntry> o) { +checkUnnamed774(core.List<api.ProductsCustomBatchRequestEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkProductsCustomBatchRequestEntry(o[0]); checkProductsCustomBatchRequestEntry(o[1]); @@ -1966,7 +1966,7 @@ var o = new api.ProductsCustomBatchRequest(); buildCounterProductsCustomBatchRequest++; if (buildCounterProductsCustomBatchRequest < 3) { - o.entries = buildUnnamed800(); + o.entries = buildUnnamed774(); } buildCounterProductsCustomBatchRequest--; return o; @@ -1975,7 +1975,7 @@ checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { buildCounterProductsCustomBatchRequest++; if (buildCounterProductsCustomBatchRequest < 3) { - checkUnnamed800(o.entries); + checkUnnamed774(o.entries); } buildCounterProductsCustomBatchRequest--; } @@ -2007,14 +2007,14 @@ buildCounterProductsCustomBatchRequestEntry--; } -buildUnnamed801() { +buildUnnamed775() { var o = new core.List<api.ProductsCustomBatchResponseEntry>(); o.add(buildProductsCustomBatchResponseEntry()); o.add(buildProductsCustomBatchResponseEntry()); return o; } -checkUnnamed801(core.List<api.ProductsCustomBatchResponseEntry> o) { +checkUnnamed775(core.List<api.ProductsCustomBatchResponseEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkProductsCustomBatchResponseEntry(o[0]); checkProductsCustomBatchResponseEntry(o[1]); @@ -2025,7 +2025,7 @@ var o = new api.ProductsCustomBatchResponse(); buildCounterProductsCustomBatchResponse++; if (buildCounterProductsCustomBatchResponse < 3) { - o.entries = buildUnnamed801(); + o.entries = buildUnnamed775(); o.kind = "foo"; } buildCounterProductsCustomBatchResponse--; @@ -2035,7 +2035,7 @@ checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { buildCounterProductsCustomBatchResponse++; if (buildCounterProductsCustomBatchResponse < 3) { - checkUnnamed801(o.entries); + checkUnnamed775(o.entries); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterProductsCustomBatchResponse--; @@ -2066,14 +2066,14 @@ buildCounterProductsCustomBatchResponseEntry--; } -buildUnnamed802() { +buildUnnamed776() { var o = new core.List<api.Product>(); o.add(buildProduct()); o.add(buildProduct()); return o; } -checkUnnamed802(core.List<api.Product> o) { +checkUnnamed776(core.List<api.Product> o) { unittest.expect(o, unittest.hasLength(2)); checkProduct(o[0]); checkProduct(o[1]); @@ -2086,7 +2086,7 @@ if (buildCounterProductsListResponse < 3) { o.kind = "foo"; o.nextPageToken = "foo"; - o.resources = buildUnnamed802(); + o.resources = buildUnnamed776(); } buildCounterProductsListResponse--; return o; @@ -2097,19 +2097,19 @@ if (buildCounterProductsListResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed802(o.resources); + checkUnnamed776(o.resources); } buildCounterProductsListResponse--; } -buildUnnamed803() { +buildUnnamed777() { var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); o.add(buildProductstatusesCustomBatchRequestEntry()); o.add(buildProductstatusesCustomBatchRequestEntry()); return o; } -checkUnnamed803(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { +checkUnnamed777(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkProductstatusesCustomBatchRequestEntry(o[0]); checkProductstatusesCustomBatchRequestEntry(o[1]); @@ -2120,7 +2120,7 @@ var o = new api.ProductstatusesCustomBatchRequest(); buildCounterProductstatusesCustomBatchRequest++; if (buildCounterProductstatusesCustomBatchRequest < 3) { - o.entries = buildUnnamed803(); + o.entries = buildUnnamed777(); } buildCounterProductstatusesCustomBatchRequest--; return o; @@ -2129,7 +2129,7 @@ checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o) { buildCounterProductstatusesCustomBatchRequest++; if (buildCounterProductstatusesCustomBatchRequest < 3) { - checkUnnamed803(o.entries); + checkUnnamed777(o.entries); } buildCounterProductstatusesCustomBatchRequest--; } @@ -2159,14 +2159,14 @@ buildCounterProductstatusesCustomBatchRequestEntry--; } -buildUnnamed804() { +buildUnnamed778() { var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); o.add(buildProductstatusesCustomBatchResponseEntry()); o.add(buildProductstatusesCustomBatchResponseEntry()); return o; } -checkUnnamed804(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { +checkUnnamed778(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkProductstatusesCustomBatchResponseEntry(o[0]); checkProductstatusesCustomBatchResponseEntry(o[1]); @@ -2177,7 +2177,7 @@ var o = new api.ProductstatusesCustomBatchResponse(); buildCounterProductstatusesCustomBatchResponse++; if (buildCounterProductstatusesCustomBatchResponse < 3) { - o.entries = buildUnnamed804(); + o.entries = buildUnnamed778(); o.kind = "foo"; } buildCounterProductstatusesCustomBatchResponse--; @@ -2187,7 +2187,7 @@ checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o) { buildCounterProductstatusesCustomBatchResponse++; if (buildCounterProductstatusesCustomBatchResponse < 3) { - checkUnnamed804(o.entries); + checkUnnamed778(o.entries); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterProductstatusesCustomBatchResponse--; @@ -2218,14 +2218,14 @@ buildCounterProductstatusesCustomBatchResponseEntry--; } -buildUnnamed805() { +buildUnnamed779() { var o = new core.List<api.ProductStatus>(); o.add(buildProductStatus()); o.add(buildProductStatus()); return o; } -checkUnnamed805(core.List<api.ProductStatus> o) { +checkUnnamed779(core.List<api.ProductStatus> o) { unittest.expect(o, unittest.hasLength(2)); checkProductStatus(o[0]); checkProductStatus(o[1]); @@ -2238,7 +2238,7 @@ if (buildCounterProductstatusesListResponse < 3) { o.kind = "foo"; o.nextPageToken = "foo"; - o.resources = buildUnnamed805(); + o.resources = buildUnnamed779(); } buildCounterProductstatusesListResponse--; return o; @@ -2249,7 +2249,7 @@ if (buildCounterProductstatusesListResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed805(o.resources); + checkUnnamed779(o.resources); } buildCounterProductstatusesListResponse--; }
diff --git a/generated/googleapis/test/coordinate/v1_test.dart b/generated/googleapis/test/coordinate/v1_test.dart index b7c1aff..e04096c 100644 --- a/generated/googleapis/test/coordinate/v1_test.dart +++ b/generated/googleapis/test/coordinate/v1_test.dart
@@ -68,14 +68,14 @@ buildCounterCustomFieldDef--; } -buildUnnamed246() { +buildUnnamed220() { var o = new core.List<api.CustomFieldDef>(); o.add(buildCustomFieldDef()); o.add(buildCustomFieldDef()); return o; } -checkUnnamed246(core.List<api.CustomFieldDef> o) { +checkUnnamed220(core.List<api.CustomFieldDef> o) { unittest.expect(o, unittest.hasLength(2)); checkCustomFieldDef(o[0]); checkCustomFieldDef(o[1]); @@ -86,7 +86,7 @@ var o = new api.CustomFieldDefListResponse(); buildCounterCustomFieldDefListResponse++; if (buildCounterCustomFieldDefListResponse < 3) { - o.items = buildUnnamed246(); + o.items = buildUnnamed220(); o.kind = "foo"; } buildCounterCustomFieldDefListResponse--; @@ -96,20 +96,20 @@ checkCustomFieldDefListResponse(api.CustomFieldDefListResponse o) { buildCounterCustomFieldDefListResponse++; if (buildCounterCustomFieldDefListResponse < 3) { - checkUnnamed246(o.items); + checkUnnamed220(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterCustomFieldDefListResponse--; } -buildUnnamed247() { +buildUnnamed221() { var o = new core.List<api.CustomField>(); o.add(buildCustomField()); o.add(buildCustomField()); return o; } -checkUnnamed247(core.List<api.CustomField> o) { +checkUnnamed221(core.List<api.CustomField> o) { unittest.expect(o, unittest.hasLength(2)); checkCustomField(o[0]); checkCustomField(o[1]); @@ -120,7 +120,7 @@ var o = new api.CustomFields(); buildCounterCustomFields++; if (buildCounterCustomFields < 3) { - o.customField = buildUnnamed247(); + o.customField = buildUnnamed221(); o.kind = "foo"; } buildCounterCustomFields--; @@ -130,20 +130,20 @@ checkCustomFields(api.CustomFields o) { buildCounterCustomFields++; if (buildCounterCustomFields < 3) { - checkUnnamed247(o.customField); + checkUnnamed221(o.customField); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterCustomFields--; } -buildUnnamed248() { +buildUnnamed222() { var o = new core.List<api.JobChange>(); o.add(buildJobChange()); o.add(buildJobChange()); return o; } -checkUnnamed248(core.List<api.JobChange> o) { +checkUnnamed222(core.List<api.JobChange> o) { unittest.expect(o, unittest.hasLength(2)); checkJobChange(o[0]); checkJobChange(o[1]); @@ -155,7 +155,7 @@ buildCounterJob++; if (buildCounterJob < 3) { o.id = "foo"; - o.jobChange = buildUnnamed248(); + o.jobChange = buildUnnamed222(); o.kind = "foo"; o.state = buildJobState(); } @@ -167,7 +167,7 @@ buildCounterJob++; if (buildCounterJob < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed248(o.jobChange); + checkUnnamed222(o.jobChange); unittest.expect(o.kind, unittest.equals('foo')); checkJobState(o.state); } @@ -197,14 +197,14 @@ buildCounterJobChange--; } -buildUnnamed249() { +buildUnnamed223() { var o = new core.List<api.Job>(); o.add(buildJob()); o.add(buildJob()); return o; } -checkUnnamed249(core.List<api.Job> o) { +checkUnnamed223(core.List<api.Job> o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); @@ -215,7 +215,7 @@ var o = new api.JobListResponse(); buildCounterJobListResponse++; if (buildCounterJobListResponse < 3) { - o.items = buildUnnamed249(); + o.items = buildUnnamed223(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -226,21 +226,21 @@ checkJobListResponse(api.JobListResponse o) { buildCounterJobListResponse++; if (buildCounterJobListResponse < 3) { - checkUnnamed249(o.items); + checkUnnamed223(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterJobListResponse--; } -buildUnnamed250() { +buildUnnamed224() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed250(core.List<core.String> o) { +checkUnnamed224(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -257,7 +257,7 @@ o.customerPhoneNumber = "foo"; o.kind = "foo"; o.location = buildLocation(); - o.note = buildUnnamed250(); + o.note = buildUnnamed224(); o.progress = "foo"; o.title = "foo"; } @@ -274,21 +274,21 @@ unittest.expect(o.customerPhoneNumber, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); checkLocation(o.location); - checkUnnamed250(o.note); + checkUnnamed224(o.note); unittest.expect(o.progress, unittest.equals('foo')); unittest.expect(o.title, unittest.equals('foo')); } buildCounterJobState--; } -buildUnnamed251() { +buildUnnamed225() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed251(core.List<core.String> o) { +checkUnnamed225(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -299,7 +299,7 @@ var o = new api.Location(); buildCounterLocation++; if (buildCounterLocation < 3) { - o.addressLine = buildUnnamed251(); + o.addressLine = buildUnnamed225(); o.kind = "foo"; o.lat = 42.0; o.lng = 42.0; @@ -311,7 +311,7 @@ checkLocation(api.Location o) { buildCounterLocation++; if (buildCounterLocation < 3) { - checkUnnamed251(o.addressLine); + checkUnnamed225(o.addressLine); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.lat, unittest.equals(42.0)); unittest.expect(o.lng, unittest.equals(42.0)); @@ -319,14 +319,14 @@ buildCounterLocation--; } -buildUnnamed252() { +buildUnnamed226() { var o = new core.List<api.LocationRecord>(); o.add(buildLocationRecord()); o.add(buildLocationRecord()); return o; } -checkUnnamed252(core.List<api.LocationRecord> o) { +checkUnnamed226(core.List<api.LocationRecord> o) { unittest.expect(o, unittest.hasLength(2)); checkLocationRecord(o[0]); checkLocationRecord(o[1]); @@ -337,7 +337,7 @@ var o = new api.LocationListResponse(); buildCounterLocationListResponse++; if (buildCounterLocationListResponse < 3) { - o.items = buildUnnamed252(); + o.items = buildUnnamed226(); o.kind = "foo"; o.nextPageToken = "foo"; o.tokenPagination = buildTokenPagination(); @@ -349,7 +349,7 @@ checkLocationListResponse(api.LocationListResponse o) { buildCounterLocationListResponse++; if (buildCounterLocationListResponse < 3) { - checkUnnamed252(o.items); + checkUnnamed226(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkTokenPagination(o.tokenPagination); @@ -455,14 +455,14 @@ buildCounterWorker--; } -buildUnnamed253() { +buildUnnamed227() { var o = new core.List<api.Worker>(); o.add(buildWorker()); o.add(buildWorker()); return o; } -checkUnnamed253(core.List<api.Worker> o) { +checkUnnamed227(core.List<api.Worker> o) { unittest.expect(o, unittest.hasLength(2)); checkWorker(o[0]); checkWorker(o[1]); @@ -473,7 +473,7 @@ var o = new api.WorkerListResponse(); buildCounterWorkerListResponse++; if (buildCounterWorkerListResponse < 3) { - o.items = buildUnnamed253(); + o.items = buildUnnamed227(); o.kind = "foo"; } buildCounterWorkerListResponse--; @@ -483,46 +483,46 @@ checkWorkerListResponse(api.WorkerListResponse o) { buildCounterWorkerListResponse++; if (buildCounterWorkerListResponse < 3) { - checkUnnamed253(o.items); + checkUnnamed227(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterWorkerListResponse--; } -buildUnnamed254() { +buildUnnamed228() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed254(core.List<core.String> o) { +checkUnnamed228(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed255() { +buildUnnamed229() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed255(core.List<core.String> o) { +checkUnnamed229(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed256() { +buildUnnamed230() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed256(core.List<core.String> o) { +checkUnnamed230(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -766,7 +766,7 @@ var arg_lng = 42.0; var arg_title = "foo"; var arg_assignee = "foo"; - var arg_customField = buildUnnamed254(); + var arg_customField = buildUnnamed228(); var arg_customerName = "foo"; var arg_customerPhoneNumber = "foo"; var arg_note = "foo"; @@ -876,7 +876,7 @@ var arg_jobId = "foo"; var arg_address = "foo"; var arg_assignee = "foo"; - var arg_customField = buildUnnamed255(); + var arg_customField = buildUnnamed229(); var arg_customerName = "foo"; var arg_customerPhoneNumber = "foo"; var arg_lat = 42.0; @@ -943,7 +943,7 @@ var arg_jobId = "foo"; var arg_address = "foo"; var arg_assignee = "foo"; - var arg_customField = buildUnnamed256(); + var arg_customField = buildUnnamed230(); var arg_customerName = "foo"; var arg_customerPhoneNumber = "foo"; var arg_lat = 42.0;
diff --git a/generated/googleapis/test/customsearch/v1_test.dart b/generated/googleapis/test/customsearch/v1_test.dart index 5b4cc3f..fe2dfa3 100644 --- a/generated/googleapis/test/customsearch/v1_test.dart +++ b/generated/googleapis/test/customsearch/v1_test.dart
@@ -39,30 +39,30 @@ buildCounterContextFacets--; } -buildUnnamed170() { +buildUnnamed171() { var o = new core.List<api.ContextFacets>(); o.add(buildContextFacets()); o.add(buildContextFacets()); return o; } -checkUnnamed170(core.List<api.ContextFacets> o) { +checkUnnamed171(core.List<api.ContextFacets> o) { unittest.expect(o, unittest.hasLength(2)); checkContextFacets(o[0]); checkContextFacets(o[1]); } -buildUnnamed171() { +buildUnnamed172() { var o = new core.List<core.List<api.ContextFacets>>(); - o.add(buildUnnamed170()); - o.add(buildUnnamed170()); + o.add(buildUnnamed171()); + o.add(buildUnnamed171()); return o; } -checkUnnamed171(core.List<core.List<api.ContextFacets>> o) { +checkUnnamed172(core.List<core.List<api.ContextFacets>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed170(o[0]); - checkUnnamed170(o[1]); + checkUnnamed171(o[0]); + checkUnnamed171(o[1]); } core.int buildCounterContext = 0; @@ -70,7 +70,7 @@ var o = new api.Context(); buildCounterContext++; if (buildCounterContext < 3) { - o.facets = buildUnnamed171(); + o.facets = buildUnnamed172(); o.title = "foo"; } buildCounterContext--; @@ -80,7 +80,7 @@ checkContext(api.Context o) { buildCounterContext++; if (buildCounterContext < 3) { - checkUnnamed171(o.facets); + checkUnnamed172(o.facets); unittest.expect(o.title, unittest.equals('foo')); } buildCounterContext--; @@ -111,14 +111,14 @@ buildCounterPromotionBodyLines--; } -buildUnnamed172() { +buildUnnamed173() { var o = new core.List<api.PromotionBodyLines>(); o.add(buildPromotionBodyLines()); o.add(buildPromotionBodyLines()); return o; } -checkUnnamed172(core.List<api.PromotionBodyLines> o) { +checkUnnamed173(core.List<api.PromotionBodyLines> o) { unittest.expect(o, unittest.hasLength(2)); checkPromotionBodyLines(o[0]); checkPromotionBodyLines(o[1]); @@ -152,7 +152,7 @@ var o = new api.Promotion(); buildCounterPromotion++; if (buildCounterPromotion < 3) { - o.bodyLines = buildUnnamed172(); + o.bodyLines = buildUnnamed173(); o.displayLink = "foo"; o.htmlTitle = "foo"; o.image = buildPromotionImage(); @@ -166,7 +166,7 @@ checkPromotion(api.Promotion o) { buildCounterPromotion++; if (buildCounterPromotion < 3) { - checkUnnamed172(o.bodyLines); + checkUnnamed173(o.bodyLines); unittest.expect(o.displayLink, unittest.equals('foo')); unittest.expect(o.htmlTitle, unittest.equals('foo')); checkPromotionImage(o.image); @@ -321,56 +321,56 @@ buildCounterResultLabels--; } -buildUnnamed173() { +buildUnnamed174() { var o = new core.List<api.ResultLabels>(); o.add(buildResultLabels()); o.add(buildResultLabels()); return o; } -checkUnnamed173(core.List<api.ResultLabels> o) { +checkUnnamed174(core.List<api.ResultLabels> o) { unittest.expect(o, unittest.hasLength(2)); checkResultLabels(o[0]); checkResultLabels(o[1]); } -buildUnnamed174() { +buildUnnamed175() { var o = new core.Map<core.String, core.Object>(); o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; return o; } -checkUnnamed174(core.Map<core.String, core.Object> o) { +checkUnnamed175(core.Map<core.String, core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); } -buildUnnamed175() { - var o = new core.List<core.Map<core.String, core.Object>>(); - o.add(buildUnnamed174()); - o.add(buildUnnamed174()); - return o; -} - -checkUnnamed175(core.List<core.Map<core.String, core.Object>> o) { - unittest.expect(o, unittest.hasLength(2)); - checkUnnamed174(o[0]); - checkUnnamed174(o[1]); -} - buildUnnamed176() { - var o = new core.Map<core.String, core.List<core.Map<core.String, core.Object>>>(); - o["x"] = buildUnnamed175(); - o["y"] = buildUnnamed175(); + var o = new core.List<core.Map<core.String, core.Object>>(); + o.add(buildUnnamed175()); + o.add(buildUnnamed175()); return o; } -checkUnnamed176(core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) { +checkUnnamed176(core.List<core.Map<core.String, core.Object>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed175(o["x"]); - checkUnnamed175(o["y"]); + checkUnnamed175(o[0]); + checkUnnamed175(o[1]); +} + +buildUnnamed177() { + var o = new core.Map<core.String, core.List<core.Map<core.String, core.Object>>>(); + o["x"] = buildUnnamed176(); + o["y"] = buildUnnamed176(); + return o; +} + +checkUnnamed177(core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed176(o["x"]); + checkUnnamed176(o["y"]); } core.int buildCounterResult = 0; @@ -387,10 +387,10 @@ o.htmlTitle = "foo"; o.image = buildResultImage(); o.kind = "foo"; - o.labels = buildUnnamed173(); + o.labels = buildUnnamed174(); o.link = "foo"; o.mime = "foo"; - o.pagemap = buildUnnamed176(); + o.pagemap = buildUnnamed177(); o.snippet = "foo"; o.title = "foo"; } @@ -410,66 +410,66 @@ unittest.expect(o.htmlTitle, unittest.equals('foo')); checkResultImage(o.image); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed173(o.labels); + checkUnnamed174(o.labels); unittest.expect(o.link, unittest.equals('foo')); unittest.expect(o.mime, unittest.equals('foo')); - checkUnnamed176(o.pagemap); + checkUnnamed177(o.pagemap); unittest.expect(o.snippet, unittest.equals('foo')); unittest.expect(o.title, unittest.equals('foo')); } buildCounterResult--; } -buildUnnamed177() { +buildUnnamed178() { var o = new core.List<api.Result>(); o.add(buildResult()); o.add(buildResult()); return o; } -checkUnnamed177(core.List<api.Result> o) { +checkUnnamed178(core.List<api.Result> o) { unittest.expect(o, unittest.hasLength(2)); checkResult(o[0]); checkResult(o[1]); } -buildUnnamed178() { +buildUnnamed179() { var o = new core.List<api.Promotion>(); o.add(buildPromotion()); o.add(buildPromotion()); return o; } -checkUnnamed178(core.List<api.Promotion> o) { +checkUnnamed179(core.List<api.Promotion> o) { unittest.expect(o, unittest.hasLength(2)); checkPromotion(o[0]); checkPromotion(o[1]); } -buildUnnamed179() { +buildUnnamed180() { var o = new core.List<api.Query>(); o.add(buildQuery()); o.add(buildQuery()); return o; } -checkUnnamed179(core.List<api.Query> o) { +checkUnnamed180(core.List<api.Query> o) { unittest.expect(o, unittest.hasLength(2)); checkQuery(o[0]); checkQuery(o[1]); } -buildUnnamed180() { +buildUnnamed181() { var o = new core.Map<core.String, core.List<api.Query>>(); - o["x"] = buildUnnamed179(); - o["y"] = buildUnnamed179(); + o["x"] = buildUnnamed180(); + o["y"] = buildUnnamed180(); return o; } -checkUnnamed180(core.Map<core.String, core.List<api.Query>> o) { +checkUnnamed181(core.Map<core.String, core.List<api.Query>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed179(o["x"]); - checkUnnamed179(o["y"]); + checkUnnamed180(o["x"]); + checkUnnamed180(o["y"]); } core.int buildCounterSearchSearchInformation = 0; @@ -545,10 +545,10 @@ buildCounterSearch++; if (buildCounterSearch < 3) { o.context = buildContext(); - o.items = buildUnnamed177(); + o.items = buildUnnamed178(); o.kind = "foo"; - o.promotions = buildUnnamed178(); - o.queries = buildUnnamed180(); + o.promotions = buildUnnamed179(); + o.queries = buildUnnamed181(); o.searchInformation = buildSearchSearchInformation(); o.spelling = buildSearchSpelling(); o.url = buildSearchUrl(); @@ -561,10 +561,10 @@ buildCounterSearch++; if (buildCounterSearch < 3) { checkContext(o.context); - checkUnnamed177(o.items); + checkUnnamed178(o.items); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed178(o.promotions); - checkUnnamed180(o.queries); + checkUnnamed179(o.promotions); + checkUnnamed181(o.queries); checkSearchSearchInformation(o.searchInformation); checkSearchSpelling(o.spelling); checkSearchUrl(o.url);
diff --git a/generated/googleapis/test/dfareporting/v1_3_test.dart b/generated/googleapis/test/dfareporting/v1_3_test.dart index 9e61150..3024cc8 100644 --- a/generated/googleapis/test/dfareporting/v1_3_test.dart +++ b/generated/googleapis/test/dfareporting/v1_3_test.dart
@@ -16,27 +16,27 @@ -buildUnnamed411() { +buildUnnamed385() { var o = new core.List<api.DimensionValue>(); o.add(buildDimensionValue()); o.add(buildDimensionValue()); return o; } -checkUnnamed411(core.List<api.DimensionValue> o) { +checkUnnamed385(core.List<api.DimensionValue> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -buildUnnamed412() { +buildUnnamed386() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed412(core.List<core.String> o) { +checkUnnamed386(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -47,9 +47,9 @@ var o = new api.Activities(); buildCounterActivities++; if (buildCounterActivities < 3) { - o.filters = buildUnnamed411(); + o.filters = buildUnnamed385(); o.kind = "foo"; - o.metricNames = buildUnnamed412(); + o.metricNames = buildUnnamed386(); } buildCounterActivities--; return o; @@ -58,9 +58,9 @@ checkActivities(api.Activities o) { buildCounterActivities++; if (buildCounterActivities < 3) { - checkUnnamed411(o.filters); + checkUnnamed385(o.filters); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed412(o.metricNames); + checkUnnamed386(o.metricNames); } buildCounterActivities--; } @@ -94,53 +94,53 @@ buildCounterCompatibleFields--; } -buildUnnamed413() { +buildUnnamed387() { var o = new core.List<api.Dimension>(); o.add(buildDimension()); o.add(buildDimension()); return o; } -checkUnnamed413(core.List<api.Dimension> o) { +checkUnnamed387(core.List<api.Dimension> o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -buildUnnamed414() { +buildUnnamed388() { var o = new core.List<api.Dimension>(); o.add(buildDimension()); o.add(buildDimension()); return o; } -checkUnnamed414(core.List<api.Dimension> o) { +checkUnnamed388(core.List<api.Dimension> o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -buildUnnamed415() { +buildUnnamed389() { var o = new core.List<api.Metric>(); o.add(buildMetric()); o.add(buildMetric()); return o; } -checkUnnamed415(core.List<api.Metric> o) { +checkUnnamed389(core.List<api.Metric> o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -buildUnnamed416() { +buildUnnamed390() { var o = new core.List<api.Metric>(); o.add(buildMetric()); o.add(buildMetric()); return o; } -checkUnnamed416(core.List<api.Metric> o) { +checkUnnamed390(core.List<api.Metric> o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -151,11 +151,11 @@ var o = new api.CrossDimensionReachReportCompatibleFields(); buildCounterCrossDimensionReachReportCompatibleFields++; if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { - o.breakdown = buildUnnamed413(); - o.dimensionFilters = buildUnnamed414(); + o.breakdown = buildUnnamed387(); + o.dimensionFilters = buildUnnamed388(); o.kind = "foo"; - o.metrics = buildUnnamed415(); - o.overlapMetrics = buildUnnamed416(); + o.metrics = buildUnnamed389(); + o.overlapMetrics = buildUnnamed390(); } buildCounterCrossDimensionReachReportCompatibleFields--; return o; @@ -164,23 +164,23 @@ checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportCompatibleFields o) { buildCounterCrossDimensionReachReportCompatibleFields++; if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { - checkUnnamed413(o.breakdown); - checkUnnamed414(o.dimensionFilters); + checkUnnamed387(o.breakdown); + checkUnnamed388(o.dimensionFilters); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed415(o.metrics); - checkUnnamed416(o.overlapMetrics); + checkUnnamed389(o.metrics); + checkUnnamed390(o.overlapMetrics); } buildCounterCrossDimensionReachReportCompatibleFields--; } -buildUnnamed417() { +buildUnnamed391() { var o = new core.List<api.DimensionValue>(); o.add(buildDimensionValue()); o.add(buildDimensionValue()); return o; } -checkUnnamed417(core.List<api.DimensionValue> o) { +checkUnnamed391(core.List<api.DimensionValue> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); @@ -191,7 +191,7 @@ var o = new api.CustomRichMediaEvents(); buildCounterCustomRichMediaEvents++; if (buildCounterCustomRichMediaEvents < 3) { - o.filteredEventIds = buildUnnamed417(); + o.filteredEventIds = buildUnnamed391(); o.kind = "foo"; } buildCounterCustomRichMediaEvents--; @@ -201,7 +201,7 @@ checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { buildCounterCustomRichMediaEvents++; if (buildCounterCustomRichMediaEvents < 3) { - checkUnnamed417(o.filteredEventIds); + checkUnnamed391(o.filteredEventIds); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterCustomRichMediaEvents--; @@ -305,14 +305,14 @@ buildCounterDimensionValue--; } -buildUnnamed418() { +buildUnnamed392() { var o = new core.List<api.DimensionValue>(); o.add(buildDimensionValue()); o.add(buildDimensionValue()); return o; } -checkUnnamed418(core.List<api.DimensionValue> o) { +checkUnnamed392(core.List<api.DimensionValue> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); @@ -324,7 +324,7 @@ buildCounterDimensionValueList++; if (buildCounterDimensionValueList < 3) { o.etag = "foo"; - o.items = buildUnnamed418(); + o.items = buildUnnamed392(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -336,21 +336,21 @@ buildCounterDimensionValueList++; if (buildCounterDimensionValueList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed418(o.items); + checkUnnamed392(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterDimensionValueList--; } -buildUnnamed419() { +buildUnnamed393() { var o = new core.List<api.DimensionFilter>(); o.add(buildDimensionFilter()); o.add(buildDimensionFilter()); return o; } -checkUnnamed419(core.List<api.DimensionFilter> o) { +checkUnnamed393(core.List<api.DimensionFilter> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionFilter(o[0]); checkDimensionFilter(o[1]); @@ -363,7 +363,7 @@ if (buildCounterDimensionValueRequest < 3) { o.dimensionName = "foo"; o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); - o.filters = buildUnnamed419(); + o.filters = buildUnnamed393(); o.kind = "foo"; o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); } @@ -376,7 +376,7 @@ if (buildCounterDimensionValueRequest < 3) { unittest.expect(o.dimensionName, unittest.equals('foo')); unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00"))); - checkUnnamed419(o.filters); + checkUnnamed393(o.filters); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00"))); } @@ -441,14 +441,14 @@ buildCounterFile--; } -buildUnnamed420() { +buildUnnamed394() { var o = new core.List<api.File>(); o.add(buildFile()); o.add(buildFile()); return o; } -checkUnnamed420(core.List<api.File> o) { +checkUnnamed394(core.List<api.File> o) { unittest.expect(o, unittest.hasLength(2)); checkFile(o[0]); checkFile(o[1]); @@ -460,7 +460,7 @@ buildCounterFileList++; if (buildCounterFileList < 3) { o.etag = "foo"; - o.items = buildUnnamed420(); + o.items = buildUnnamed394(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -472,47 +472,47 @@ buildCounterFileList++; if (buildCounterFileList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed420(o.items); + checkUnnamed394(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterFileList--; } -buildUnnamed421() { +buildUnnamed395() { var o = new core.List<api.Dimension>(); o.add(buildDimension()); o.add(buildDimension()); return o; } -checkUnnamed421(core.List<api.Dimension> o) { +checkUnnamed395(core.List<api.Dimension> o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -buildUnnamed422() { +buildUnnamed396() { var o = new core.List<api.Dimension>(); o.add(buildDimension()); o.add(buildDimension()); return o; } -checkUnnamed422(core.List<api.Dimension> o) { +checkUnnamed396(core.List<api.Dimension> o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -buildUnnamed423() { +buildUnnamed397() { var o = new core.List<api.Metric>(); o.add(buildMetric()); o.add(buildMetric()); return o; } -checkUnnamed423(core.List<api.Metric> o) { +checkUnnamed397(core.List<api.Metric> o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -523,10 +523,10 @@ var o = new api.FloodlightReportCompatibleFields(); buildCounterFloodlightReportCompatibleFields++; if (buildCounterFloodlightReportCompatibleFields < 3) { - o.dimensionFilters = buildUnnamed421(); - o.dimensions = buildUnnamed422(); + o.dimensionFilters = buildUnnamed395(); + o.dimensions = buildUnnamed396(); o.kind = "foo"; - o.metrics = buildUnnamed423(); + o.metrics = buildUnnamed397(); } buildCounterFloodlightReportCompatibleFields--; return o; @@ -535,10 +535,10 @@ checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) { buildCounterFloodlightReportCompatibleFields++; if (buildCounterFloodlightReportCompatibleFields < 3) { - checkUnnamed421(o.dimensionFilters); - checkUnnamed422(o.dimensions); + checkUnnamed395(o.dimensionFilters); + checkUnnamed396(o.dimensions); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed423(o.metrics); + checkUnnamed397(o.metrics); } buildCounterFloodlightReportCompatibleFields--; } @@ -564,53 +564,53 @@ buildCounterMetric--; } -buildUnnamed424() { +buildUnnamed398() { var o = new core.List<api.Dimension>(); o.add(buildDimension()); o.add(buildDimension()); return o; } -checkUnnamed424(core.List<api.Dimension> o) { +checkUnnamed398(core.List<api.Dimension> o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -buildUnnamed425() { +buildUnnamed399() { var o = new core.List<api.Dimension>(); o.add(buildDimension()); o.add(buildDimension()); return o; } -checkUnnamed425(core.List<api.Dimension> o) { +checkUnnamed399(core.List<api.Dimension> o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -buildUnnamed426() { +buildUnnamed400() { var o = new core.List<api.Metric>(); o.add(buildMetric()); o.add(buildMetric()); return o; } -checkUnnamed426(core.List<api.Metric> o) { +checkUnnamed400(core.List<api.Metric> o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -buildUnnamed427() { +buildUnnamed401() { var o = new core.List<api.Dimension>(); o.add(buildDimension()); o.add(buildDimension()); return o; } -checkUnnamed427(core.List<api.Dimension> o) { +checkUnnamed401(core.List<api.Dimension> o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); @@ -621,11 +621,11 @@ var o = new api.PathToConversionReportCompatibleFields(); buildCounterPathToConversionReportCompatibleFields++; if (buildCounterPathToConversionReportCompatibleFields < 3) { - o.conversionDimensions = buildUnnamed424(); - o.customFloodlightVariables = buildUnnamed425(); + o.conversionDimensions = buildUnnamed398(); + o.customFloodlightVariables = buildUnnamed399(); o.kind = "foo"; - o.metrics = buildUnnamed426(); - o.perInteractionDimensions = buildUnnamed427(); + o.metrics = buildUnnamed400(); + o.perInteractionDimensions = buildUnnamed401(); } buildCounterPathToConversionReportCompatibleFields--; return o; @@ -634,75 +634,75 @@ checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatibleFields o) { buildCounterPathToConversionReportCompatibleFields++; if (buildCounterPathToConversionReportCompatibleFields < 3) { - checkUnnamed424(o.conversionDimensions); - checkUnnamed425(o.customFloodlightVariables); + checkUnnamed398(o.conversionDimensions); + checkUnnamed399(o.customFloodlightVariables); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed426(o.metrics); - checkUnnamed427(o.perInteractionDimensions); + checkUnnamed400(o.metrics); + checkUnnamed401(o.perInteractionDimensions); } buildCounterPathToConversionReportCompatibleFields--; } -buildUnnamed428() { +buildUnnamed402() { var o = new core.List<api.Dimension>(); o.add(buildDimension()); o.add(buildDimension()); return o; } -checkUnnamed428(core.List<api.Dimension> o) { +checkUnnamed402(core.List<api.Dimension> o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -buildUnnamed429() { +buildUnnamed403() { var o = new core.List<api.Dimension>(); o.add(buildDimension()); o.add(buildDimension()); return o; } -checkUnnamed429(core.List<api.Dimension> o) { +checkUnnamed403(core.List<api.Dimension> o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -buildUnnamed430() { +buildUnnamed404() { var o = new core.List<api.Metric>(); o.add(buildMetric()); o.add(buildMetric()); return o; } -checkUnnamed430(core.List<api.Metric> o) { +checkUnnamed404(core.List<api.Metric> o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -buildUnnamed431() { +buildUnnamed405() { var o = new core.List<api.Metric>(); o.add(buildMetric()); o.add(buildMetric()); return o; } -checkUnnamed431(core.List<api.Metric> o) { +checkUnnamed405(core.List<api.Metric> o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -buildUnnamed432() { +buildUnnamed406() { var o = new core.List<api.Metric>(); o.add(buildMetric()); o.add(buildMetric()); return o; } -checkUnnamed432(core.List<api.Metric> o) { +checkUnnamed406(core.List<api.Metric> o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -713,12 +713,12 @@ var o = new api.ReachReportCompatibleFields(); buildCounterReachReportCompatibleFields++; if (buildCounterReachReportCompatibleFields < 3) { - o.dimensionFilters = buildUnnamed428(); - o.dimensions = buildUnnamed429(); + o.dimensionFilters = buildUnnamed402(); + o.dimensions = buildUnnamed403(); o.kind = "foo"; - o.metrics = buildUnnamed430(); - o.pivotedActivityMetrics = buildUnnamed431(); - o.reachByFrequencyMetrics = buildUnnamed432(); + o.metrics = buildUnnamed404(); + o.pivotedActivityMetrics = buildUnnamed405(); + o.reachByFrequencyMetrics = buildUnnamed406(); } buildCounterReachReportCompatibleFields--; return o; @@ -727,12 +727,12 @@ checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { buildCounterReachReportCompatibleFields++; if (buildCounterReachReportCompatibleFields < 3) { - checkUnnamed428(o.dimensionFilters); - checkUnnamed429(o.dimensions); + checkUnnamed402(o.dimensionFilters); + checkUnnamed403(o.dimensions); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed430(o.metrics); - checkUnnamed431(o.pivotedActivityMetrics); - checkUnnamed432(o.reachByFrequencyMetrics); + checkUnnamed404(o.metrics); + checkUnnamed405(o.pivotedActivityMetrics); + checkUnnamed406(o.reachByFrequencyMetrics); } buildCounterReachReportCompatibleFields--; } @@ -760,40 +760,40 @@ buildCounterRecipient--; } -buildUnnamed433() { +buildUnnamed407() { var o = new core.List<api.DimensionValue>(); o.add(buildDimensionValue()); o.add(buildDimensionValue()); return o; } -checkUnnamed433(core.List<api.DimensionValue> o) { +checkUnnamed407(core.List<api.DimensionValue> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -buildUnnamed434() { +buildUnnamed408() { var o = new core.List<api.SortedDimension>(); o.add(buildSortedDimension()); o.add(buildSortedDimension()); return o; } -checkUnnamed434(core.List<api.SortedDimension> o) { +checkUnnamed408(core.List<api.SortedDimension> o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -buildUnnamed435() { +buildUnnamed409() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed435(core.List<core.String> o) { +checkUnnamed409(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -805,9 +805,9 @@ buildCounterReportActiveGrpCriteria++; if (buildCounterReportActiveGrpCriteria < 3) { o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed433(); - o.dimensions = buildUnnamed434(); - o.metricNames = buildUnnamed435(); + o.dimensionFilters = buildUnnamed407(); + o.dimensions = buildUnnamed408(); + o.metricNames = buildUnnamed409(); } buildCounterReportActiveGrpCriteria--; return o; @@ -817,47 +817,47 @@ buildCounterReportActiveGrpCriteria++; if (buildCounterReportActiveGrpCriteria < 3) { checkDateRange(o.dateRange); - checkUnnamed433(o.dimensionFilters); - checkUnnamed434(o.dimensions); - checkUnnamed435(o.metricNames); + checkUnnamed407(o.dimensionFilters); + checkUnnamed408(o.dimensions); + checkUnnamed409(o.metricNames); } buildCounterReportActiveGrpCriteria--; } -buildUnnamed436() { +buildUnnamed410() { var o = new core.List<api.DimensionValue>(); o.add(buildDimensionValue()); o.add(buildDimensionValue()); return o; } -checkUnnamed436(core.List<api.DimensionValue> o) { +checkUnnamed410(core.List<api.DimensionValue> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -buildUnnamed437() { +buildUnnamed411() { var o = new core.List<api.SortedDimension>(); o.add(buildSortedDimension()); o.add(buildSortedDimension()); return o; } -checkUnnamed437(core.List<api.SortedDimension> o) { +checkUnnamed411(core.List<api.SortedDimension> o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -buildUnnamed438() { +buildUnnamed412() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed438(core.List<core.String> o) { +checkUnnamed412(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -871,9 +871,9 @@ o.activities = buildActivities(); o.customRichMediaEvents = buildCustomRichMediaEvents(); o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed436(); - o.dimensions = buildUnnamed437(); - o.metricNames = buildUnnamed438(); + o.dimensionFilters = buildUnnamed410(); + o.dimensions = buildUnnamed411(); + o.metricNames = buildUnnamed412(); } buildCounterReportCriteria--; return o; @@ -885,60 +885,60 @@ checkActivities(o.activities); checkCustomRichMediaEvents(o.customRichMediaEvents); checkDateRange(o.dateRange); - checkUnnamed436(o.dimensionFilters); - checkUnnamed437(o.dimensions); - checkUnnamed438(o.metricNames); + checkUnnamed410(o.dimensionFilters); + checkUnnamed411(o.dimensions); + checkUnnamed412(o.metricNames); } buildCounterReportCriteria--; } -buildUnnamed439() { +buildUnnamed413() { var o = new core.List<api.SortedDimension>(); o.add(buildSortedDimension()); o.add(buildSortedDimension()); return o; } -checkUnnamed439(core.List<api.SortedDimension> o) { +checkUnnamed413(core.List<api.SortedDimension> o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -buildUnnamed440() { +buildUnnamed414() { var o = new core.List<api.DimensionValue>(); o.add(buildDimensionValue()); o.add(buildDimensionValue()); return o; } -checkUnnamed440(core.List<api.DimensionValue> o) { +checkUnnamed414(core.List<api.DimensionValue> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -buildUnnamed441() { +buildUnnamed415() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed441(core.List<core.String> o) { +checkUnnamed415(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed442() { +buildUnnamed416() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed442(core.List<core.String> o) { +checkUnnamed416(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -949,12 +949,12 @@ var o = new api.ReportCrossDimensionReachCriteria(); buildCounterReportCrossDimensionReachCriteria++; if (buildCounterReportCrossDimensionReachCriteria < 3) { - o.breakdown = buildUnnamed439(); + o.breakdown = buildUnnamed413(); o.dateRange = buildDateRange(); o.dimension = "foo"; - o.dimensionFilters = buildUnnamed440(); - o.metricNames = buildUnnamed441(); - o.overlapMetricNames = buildUnnamed442(); + o.dimensionFilters = buildUnnamed414(); + o.metricNames = buildUnnamed415(); + o.overlapMetricNames = buildUnnamed416(); o.pivoted = true; } buildCounterReportCrossDimensionReachCriteria--; @@ -964,25 +964,25 @@ checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o) { buildCounterReportCrossDimensionReachCriteria++; if (buildCounterReportCrossDimensionReachCriteria < 3) { - checkUnnamed439(o.breakdown); + checkUnnamed413(o.breakdown); checkDateRange(o.dateRange); unittest.expect(o.dimension, unittest.equals('foo')); - checkUnnamed440(o.dimensionFilters); - checkUnnamed441(o.metricNames); - checkUnnamed442(o.overlapMetricNames); + checkUnnamed414(o.dimensionFilters); + checkUnnamed415(o.metricNames); + checkUnnamed416(o.overlapMetricNames); unittest.expect(o.pivoted, unittest.isTrue); } buildCounterReportCrossDimensionReachCriteria--; } -buildUnnamed443() { +buildUnnamed417() { var o = new core.List<api.Recipient>(); o.add(buildRecipient()); o.add(buildRecipient()); return o; } -checkUnnamed443(core.List<api.Recipient> o) { +checkUnnamed417(core.List<api.Recipient> o) { unittest.expect(o, unittest.hasLength(2)); checkRecipient(o[0]); checkRecipient(o[1]); @@ -996,7 +996,7 @@ o.emailOwner = true; o.emailOwnerDeliveryType = "foo"; o.message = "foo"; - o.recipients = buildUnnamed443(); + o.recipients = buildUnnamed417(); } buildCounterReportDelivery--; return o; @@ -1008,58 +1008,58 @@ unittest.expect(o.emailOwner, unittest.isTrue); unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo')); unittest.expect(o.message, unittest.equals('foo')); - checkUnnamed443(o.recipients); + checkUnnamed417(o.recipients); } buildCounterReportDelivery--; } -buildUnnamed444() { +buildUnnamed418() { var o = new core.List<api.DimensionValue>(); o.add(buildDimensionValue()); o.add(buildDimensionValue()); return o; } -checkUnnamed444(core.List<api.DimensionValue> o) { +checkUnnamed418(core.List<api.DimensionValue> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -buildUnnamed445() { +buildUnnamed419() { var o = new core.List<api.DimensionValue>(); o.add(buildDimensionValue()); o.add(buildDimensionValue()); return o; } -checkUnnamed445(core.List<api.DimensionValue> o) { +checkUnnamed419(core.List<api.DimensionValue> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -buildUnnamed446() { +buildUnnamed420() { var o = new core.List<api.SortedDimension>(); o.add(buildSortedDimension()); o.add(buildSortedDimension()); return o; } -checkUnnamed446(core.List<api.SortedDimension> o) { +checkUnnamed420(core.List<api.SortedDimension> o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -buildUnnamed447() { +buildUnnamed421() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed447(core.List<core.String> o) { +checkUnnamed421(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1093,12 +1093,12 @@ var o = new api.ReportFloodlightCriteria(); buildCounterReportFloodlightCriteria++; if (buildCounterReportFloodlightCriteria < 3) { - o.customRichMediaEvents = buildUnnamed444(); + o.customRichMediaEvents = buildUnnamed418(); o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed445(); - o.dimensions = buildUnnamed446(); + o.dimensionFilters = buildUnnamed419(); + o.dimensions = buildUnnamed420(); o.floodlightConfigId = buildDimensionValue(); - o.metricNames = buildUnnamed447(); + o.metricNames = buildUnnamed421(); o.reportProperties = buildReportFloodlightCriteriaReportProperties(); } buildCounterReportFloodlightCriteria--; @@ -1108,90 +1108,90 @@ checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { buildCounterReportFloodlightCriteria++; if (buildCounterReportFloodlightCriteria < 3) { - checkUnnamed444(o.customRichMediaEvents); + checkUnnamed418(o.customRichMediaEvents); checkDateRange(o.dateRange); - checkUnnamed445(o.dimensionFilters); - checkUnnamed446(o.dimensions); + checkUnnamed419(o.dimensionFilters); + checkUnnamed420(o.dimensions); checkDimensionValue(o.floodlightConfigId); - checkUnnamed447(o.metricNames); + checkUnnamed421(o.metricNames); checkReportFloodlightCriteriaReportProperties(o.reportProperties); } buildCounterReportFloodlightCriteria--; } -buildUnnamed448() { +buildUnnamed422() { var o = new core.List<api.DimensionValue>(); o.add(buildDimensionValue()); o.add(buildDimensionValue()); return o; } -checkUnnamed448(core.List<api.DimensionValue> o) { +checkUnnamed422(core.List<api.DimensionValue> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -buildUnnamed449() { +buildUnnamed423() { var o = new core.List<api.SortedDimension>(); o.add(buildSortedDimension()); o.add(buildSortedDimension()); return o; } -checkUnnamed449(core.List<api.SortedDimension> o) { +checkUnnamed423(core.List<api.SortedDimension> o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -buildUnnamed450() { +buildUnnamed424() { var o = new core.List<api.SortedDimension>(); o.add(buildSortedDimension()); o.add(buildSortedDimension()); return o; } -checkUnnamed450(core.List<api.SortedDimension> o) { +checkUnnamed424(core.List<api.SortedDimension> o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -buildUnnamed451() { +buildUnnamed425() { var o = new core.List<api.DimensionValue>(); o.add(buildDimensionValue()); o.add(buildDimensionValue()); return o; } -checkUnnamed451(core.List<api.DimensionValue> o) { +checkUnnamed425(core.List<api.DimensionValue> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -buildUnnamed452() { +buildUnnamed426() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed452(core.List<core.String> o) { +checkUnnamed426(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed453() { +buildUnnamed427() { var o = new core.List<api.SortedDimension>(); o.add(buildSortedDimension()); o.add(buildSortedDimension()); return o; } -checkUnnamed453(core.List<api.SortedDimension> o) { +checkUnnamed427(core.List<api.SortedDimension> o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); @@ -1237,14 +1237,14 @@ var o = new api.ReportPathToConversionCriteria(); buildCounterReportPathToConversionCriteria++; if (buildCounterReportPathToConversionCriteria < 3) { - o.activityFilters = buildUnnamed448(); - o.conversionDimensions = buildUnnamed449(); - o.customFloodlightVariables = buildUnnamed450(); - o.customRichMediaEvents = buildUnnamed451(); + o.activityFilters = buildUnnamed422(); + o.conversionDimensions = buildUnnamed423(); + o.customFloodlightVariables = buildUnnamed424(); + o.customRichMediaEvents = buildUnnamed425(); o.dateRange = buildDateRange(); o.floodlightConfigId = buildDimensionValue(); - o.metricNames = buildUnnamed452(); - o.perInteractionDimensions = buildUnnamed453(); + o.metricNames = buildUnnamed426(); + o.perInteractionDimensions = buildUnnamed427(); o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); } buildCounterReportPathToConversionCriteria--; @@ -1254,66 +1254,66 @@ checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { buildCounterReportPathToConversionCriteria++; if (buildCounterReportPathToConversionCriteria < 3) { - checkUnnamed448(o.activityFilters); - checkUnnamed449(o.conversionDimensions); - checkUnnamed450(o.customFloodlightVariables); - checkUnnamed451(o.customRichMediaEvents); + checkUnnamed422(o.activityFilters); + checkUnnamed423(o.conversionDimensions); + checkUnnamed424(o.customFloodlightVariables); + checkUnnamed425(o.customRichMediaEvents); checkDateRange(o.dateRange); checkDimensionValue(o.floodlightConfigId); - checkUnnamed452(o.metricNames); - checkUnnamed453(o.perInteractionDimensions); + checkUnnamed426(o.metricNames); + checkUnnamed427(o.perInteractionDimensions); checkReportPathToConversionCriteriaReportProperties(o.reportProperties); } buildCounterReportPathToConversionCriteria--; } -buildUnnamed454() { +buildUnnamed428() { var o = new core.List<api.DimensionValue>(); o.add(buildDimensionValue()); o.add(buildDimensionValue()); return o; } -checkUnnamed454(core.List<api.DimensionValue> o) { +checkUnnamed428(core.List<api.DimensionValue> o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -buildUnnamed455() { +buildUnnamed429() { var o = new core.List<api.SortedDimension>(); o.add(buildSortedDimension()); o.add(buildSortedDimension()); return o; } -checkUnnamed455(core.List<api.SortedDimension> o) { +checkUnnamed429(core.List<api.SortedDimension> o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -buildUnnamed456() { +buildUnnamed430() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed456(core.List<core.String> o) { +checkUnnamed430(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed457() { +buildUnnamed431() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed457(core.List<core.String> o) { +checkUnnamed431(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1327,10 +1327,10 @@ o.activities = buildActivities(); o.customRichMediaEvents = buildCustomRichMediaEvents(); o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed454(); - o.dimensions = buildUnnamed455(); - o.metricNames = buildUnnamed456(); - o.reachByFrequencyMetricNames = buildUnnamed457(); + o.dimensionFilters = buildUnnamed428(); + o.dimensions = buildUnnamed429(); + o.metricNames = buildUnnamed430(); + o.reachByFrequencyMetricNames = buildUnnamed431(); } buildCounterReportReachCriteria--; return o; @@ -1342,22 +1342,22 @@ checkActivities(o.activities); checkCustomRichMediaEvents(o.customRichMediaEvents); checkDateRange(o.dateRange); - checkUnnamed454(o.dimensionFilters); - checkUnnamed455(o.dimensions); - checkUnnamed456(o.metricNames); - checkUnnamed457(o.reachByFrequencyMetricNames); + checkUnnamed428(o.dimensionFilters); + checkUnnamed429(o.dimensions); + checkUnnamed430(o.metricNames); + checkUnnamed431(o.reachByFrequencyMetricNames); } buildCounterReportReachCriteria--; } -buildUnnamed458() { +buildUnnamed432() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed458(core.List<core.String> o) { +checkUnnamed432(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1372,7 +1372,7 @@ o.every = 42; o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z"); o.repeats = "foo"; - o.repeatsOnWeekDays = buildUnnamed458(); + o.repeatsOnWeekDays = buildUnnamed432(); o.runsOnDayOfMonth = "foo"; o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); } @@ -1387,7 +1387,7 @@ unittest.expect(o.every, unittest.equals(42)); unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00"))); unittest.expect(o.repeats, unittest.equals('foo')); - checkUnnamed458(o.repeatsOnWeekDays); + checkUnnamed432(o.repeatsOnWeekDays); unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo')); unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00"))); } @@ -1449,53 +1449,53 @@ buildCounterReport--; } -buildUnnamed459() { +buildUnnamed433() { var o = new core.List<api.Dimension>(); o.add(buildDimension()); o.add(buildDimension()); return o; } -checkUnnamed459(core.List<api.Dimension> o) { +checkUnnamed433(core.List<api.Dimension> o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -buildUnnamed460() { +buildUnnamed434() { var o = new core.List<api.Dimension>(); o.add(buildDimension()); o.add(buildDimension()); return o; } -checkUnnamed460(core.List<api.Dimension> o) { +checkUnnamed434(core.List<api.Dimension> o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -buildUnnamed461() { +buildUnnamed435() { var o = new core.List<api.Metric>(); o.add(buildMetric()); o.add(buildMetric()); return o; } -checkUnnamed461(core.List<api.Metric> o) { +checkUnnamed435(core.List<api.Metric> o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -buildUnnamed462() { +buildUnnamed436() { var o = new core.List<api.Metric>(); o.add(buildMetric()); o.add(buildMetric()); return o; } -checkUnnamed462(core.List<api.Metric> o) { +checkUnnamed436(core.List<api.Metric> o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -1506,11 +1506,11 @@ var o = new api.ReportCompatibleFields(); buildCounterReportCompatibleFields++; if (buildCounterReportCompatibleFields < 3) { - o.dimensionFilters = buildUnnamed459(); - o.dimensions = buildUnnamed460(); + o.dimensionFilters = buildUnnamed433(); + o.dimensions = buildUnnamed434(); o.kind = "foo"; - o.metrics = buildUnnamed461(); - o.pivotedActivityMetrics = buildUnnamed462(); + o.metrics = buildUnnamed435(); + o.pivotedActivityMetrics = buildUnnamed436(); } buildCounterReportCompatibleFields--; return o; @@ -1519,23 +1519,23 @@ checkReportCompatibleFields(api.ReportCompatibleFields o) { buildCounterReportCompatibleFields++; if (buildCounterReportCompatibleFields < 3) { - checkUnnamed459(o.dimensionFilters); - checkUnnamed460(o.dimensions); + checkUnnamed433(o.dimensionFilters); + checkUnnamed434(o.dimensions); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed461(o.metrics); - checkUnnamed462(o.pivotedActivityMetrics); + checkUnnamed435(o.metrics); + checkUnnamed436(o.pivotedActivityMetrics); } buildCounterReportCompatibleFields--; } -buildUnnamed463() { +buildUnnamed437() { var o = new core.List<api.Report>(); o.add(buildReport()); o.add(buildReport()); return o; } -checkUnnamed463(core.List<api.Report> o) { +checkUnnamed437(core.List<api.Report> o) { unittest.expect(o, unittest.hasLength(2)); checkReport(o[0]); checkReport(o[1]); @@ -1547,7 +1547,7 @@ buildCounterReportList++; if (buildCounterReportList < 3) { o.etag = "foo"; - o.items = buildUnnamed463(); + o.items = buildUnnamed437(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -1559,7 +1559,7 @@ buildCounterReportList++; if (buildCounterReportList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed463(o.items); + checkUnnamed437(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -1622,14 +1622,14 @@ buildCounterUserProfile--; } -buildUnnamed464() { +buildUnnamed438() { var o = new core.List<api.UserProfile>(); o.add(buildUserProfile()); o.add(buildUserProfile()); return o; } -checkUnnamed464(core.List<api.UserProfile> o) { +checkUnnamed438(core.List<api.UserProfile> o) { unittest.expect(o, unittest.hasLength(2)); checkUserProfile(o[0]); checkUserProfile(o[1]); @@ -1641,7 +1641,7 @@ buildCounterUserProfileList++; if (buildCounterUserProfileList < 3) { o.etag = "foo"; - o.items = buildUnnamed464(); + o.items = buildUnnamed438(); o.kind = "foo"; } buildCounterUserProfileList--; @@ -1652,7 +1652,7 @@ buildCounterUserProfileList++; if (buildCounterUserProfileList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed464(o.items); + checkUnnamed438(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterUserProfileList--;
diff --git a/generated/googleapis/test/discovery/v1_test.dart b/generated/googleapis/test/discovery/v1_test.dart index 3490e71..75ddf3b 100644 --- a/generated/googleapis/test/discovery/v1_test.dart +++ b/generated/googleapis/test/discovery/v1_test.dart
@@ -37,14 +37,14 @@ buildCounterDirectoryListItemsIcons--; } -buildUnnamed596() { +buildUnnamed570() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed596(core.List<core.String> o) { +checkUnnamed570(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -62,7 +62,7 @@ o.icons = buildDirectoryListItemsIcons(); o.id = "foo"; o.kind = "foo"; - o.labels = buildUnnamed596(); + o.labels = buildUnnamed570(); o.name = "foo"; o.preferred = true; o.title = "foo"; @@ -82,7 +82,7 @@ checkDirectoryListItemsIcons(o.icons); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed596(o.labels); + checkUnnamed570(o.labels); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.preferred, unittest.isTrue); unittest.expect(o.title, unittest.equals('foo')); @@ -91,14 +91,14 @@ buildCounterDirectoryListItems--; } -buildUnnamed597() { +buildUnnamed571() { var o = new core.List<api.DirectoryListItems>(); o.add(buildDirectoryListItems()); o.add(buildDirectoryListItems()); return o; } -checkUnnamed597(core.List<api.DirectoryListItems> o) { +checkUnnamed571(core.List<api.DirectoryListItems> o) { unittest.expect(o, unittest.hasLength(2)); checkDirectoryListItems(o[0]); checkDirectoryListItems(o[1]); @@ -110,7 +110,7 @@ buildCounterDirectoryList++; if (buildCounterDirectoryList < 3) { o.discoveryVersion = "foo"; - o.items = buildUnnamed597(); + o.items = buildUnnamed571(); o.kind = "foo"; } buildCounterDirectoryList--; @@ -121,20 +121,20 @@ buildCounterDirectoryList++; if (buildCounterDirectoryList < 3) { unittest.expect(o.discoveryVersion, unittest.equals('foo')); - checkUnnamed597(o.items); + checkUnnamed571(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterDirectoryList--; } -buildUnnamed598() { +buildUnnamed572() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed598(core.List<core.String> o) { +checkUnnamed572(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -145,7 +145,7 @@ var o = new api.JsonSchemaAnnotations(); buildCounterJsonSchemaAnnotations++; if (buildCounterJsonSchemaAnnotations < 3) { - o.required = buildUnnamed598(); + o.required = buildUnnamed572(); } buildCounterJsonSchemaAnnotations--; return o; @@ -154,45 +154,45 @@ checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) { buildCounterJsonSchemaAnnotations++; if (buildCounterJsonSchemaAnnotations < 3) { - checkUnnamed598(o.required); + checkUnnamed572(o.required); } buildCounterJsonSchemaAnnotations--; } -buildUnnamed599() { +buildUnnamed573() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed599(core.List<core.String> o) { +checkUnnamed573(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed600() { +buildUnnamed574() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed600(core.List<core.String> o) { +checkUnnamed574(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed601() { +buildUnnamed575() { var o = new core.Map<core.String, api.JsonSchema>(); o["x"] = buildJsonSchema(); o["y"] = buildJsonSchema(); return o; } -checkUnnamed601(core.Map<core.String, api.JsonSchema> o) { +checkUnnamed575(core.Map<core.String, api.JsonSchema> o) { unittest.expect(o, unittest.hasLength(2)); checkJsonSchema(o["x"]); checkJsonSchema(o["y"]); @@ -219,14 +219,14 @@ buildCounterJsonSchemaVariantMap--; } -buildUnnamed602() { +buildUnnamed576() { var o = new core.List<api.JsonSchemaVariantMap>(); o.add(buildJsonSchemaVariantMap()); o.add(buildJsonSchemaVariantMap()); return o; } -checkUnnamed602(core.List<api.JsonSchemaVariantMap> o) { +checkUnnamed576(core.List<api.JsonSchemaVariantMap> o) { unittest.expect(o, unittest.hasLength(2)); checkJsonSchemaVariantMap(o[0]); checkJsonSchemaVariantMap(o[1]); @@ -238,7 +238,7 @@ buildCounterJsonSchemaVariant++; if (buildCounterJsonSchemaVariant < 3) { o.discriminant = "foo"; - o.map = buildUnnamed602(); + o.map = buildUnnamed576(); } buildCounterJsonSchemaVariant--; return o; @@ -248,7 +248,7 @@ buildCounterJsonSchemaVariant++; if (buildCounterJsonSchemaVariant < 3) { unittest.expect(o.discriminant, unittest.equals('foo')); - checkUnnamed602(o.map); + checkUnnamed576(o.map); } buildCounterJsonSchemaVariant--; } @@ -263,8 +263,8 @@ o.annotations = buildJsonSchemaAnnotations(); o.default_ = "foo"; o.description = "foo"; - o.enum_ = buildUnnamed599(); - o.enumDescriptions = buildUnnamed600(); + o.enum_ = buildUnnamed573(); + o.enumDescriptions = buildUnnamed574(); o.format = "foo"; o.id = "foo"; o.items = buildJsonSchema(); @@ -272,7 +272,7 @@ o.maximum = "foo"; o.minimum = "foo"; o.pattern = "foo"; - o.properties = buildUnnamed601(); + o.properties = buildUnnamed575(); o.readOnly = true; o.repeated = true; o.required = true; @@ -291,8 +291,8 @@ checkJsonSchemaAnnotations(o.annotations); unittest.expect(o.default_, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed599(o.enum_); - checkUnnamed600(o.enumDescriptions); + checkUnnamed573(o.enum_); + checkUnnamed574(o.enumDescriptions); unittest.expect(o.format, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); checkJsonSchema(o.items); @@ -300,7 +300,7 @@ unittest.expect(o.maximum, unittest.equals('foo')); unittest.expect(o.minimum, unittest.equals('foo')); unittest.expect(o.pattern, unittest.equals('foo')); - checkUnnamed601(o.properties); + checkUnnamed575(o.properties); unittest.expect(o.readOnly, unittest.isTrue); unittest.expect(o.repeated, unittest.isTrue); unittest.expect(o.required, unittest.isTrue); @@ -329,14 +329,14 @@ buildCounterRestDescriptionAuthOauth2ScopesValue--; } -buildUnnamed603() { +buildUnnamed577() { var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>(); o["x"] = buildRestDescriptionAuthOauth2ScopesValue(); o["y"] = buildRestDescriptionAuthOauth2ScopesValue(); return o; } -checkUnnamed603(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) { +checkUnnamed577(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) { unittest.expect(o, unittest.hasLength(2)); checkRestDescriptionAuthOauth2ScopesValue(o["x"]); checkRestDescriptionAuthOauth2ScopesValue(o["y"]); @@ -347,7 +347,7 @@ var o = new api.RestDescriptionAuthOauth2(); buildCounterRestDescriptionAuthOauth2++; if (buildCounterRestDescriptionAuthOauth2 < 3) { - o.scopes = buildUnnamed603(); + o.scopes = buildUnnamed577(); } buildCounterRestDescriptionAuthOauth2--; return o; @@ -356,7 +356,7 @@ checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) { buildCounterRestDescriptionAuthOauth2++; if (buildCounterRestDescriptionAuthOauth2 < 3) { - checkUnnamed603(o.scopes); + checkUnnamed577(o.scopes); } buildCounterRestDescriptionAuthOauth2--; } @@ -380,14 +380,14 @@ buildCounterRestDescriptionAuth--; } -buildUnnamed604() { +buildUnnamed578() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed604(core.List<core.String> o) { +checkUnnamed578(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -414,66 +414,66 @@ buildCounterRestDescriptionIcons--; } -buildUnnamed605() { +buildUnnamed579() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed605(core.List<core.String> o) { +checkUnnamed579(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed606() { +buildUnnamed580() { var o = new core.Map<core.String, api.RestMethod>(); o["x"] = buildRestMethod(); o["y"] = buildRestMethod(); return o; } -checkUnnamed606(core.Map<core.String, api.RestMethod> o) { +checkUnnamed580(core.Map<core.String, api.RestMethod> o) { unittest.expect(o, unittest.hasLength(2)); checkRestMethod(o["x"]); checkRestMethod(o["y"]); } -buildUnnamed607() { +buildUnnamed581() { var o = new core.Map<core.String, api.JsonSchema>(); o["x"] = buildJsonSchema(); o["y"] = buildJsonSchema(); return o; } -checkUnnamed607(core.Map<core.String, api.JsonSchema> o) { +checkUnnamed581(core.Map<core.String, api.JsonSchema> o) { unittest.expect(o, unittest.hasLength(2)); checkJsonSchema(o["x"]); checkJsonSchema(o["y"]); } -buildUnnamed608() { +buildUnnamed582() { var o = new core.Map<core.String, api.RestResource>(); o["x"] = buildRestResource(); o["y"] = buildRestResource(); return o; } -checkUnnamed608(core.Map<core.String, api.RestResource> o) { +checkUnnamed582(core.Map<core.String, api.RestResource> o) { unittest.expect(o, unittest.hasLength(2)); checkRestResource(o["x"]); checkRestResource(o["y"]); } -buildUnnamed609() { +buildUnnamed583() { var o = new core.Map<core.String, api.JsonSchema>(); o["x"] = buildJsonSchema(); o["y"] = buildJsonSchema(); return o; } -checkUnnamed609(core.Map<core.String, api.JsonSchema> o) { +checkUnnamed583(core.Map<core.String, api.JsonSchema> o) { unittest.expect(o, unittest.hasLength(2)); checkJsonSchema(o["x"]); checkJsonSchema(o["y"]); @@ -493,22 +493,22 @@ o.discoveryVersion = "foo"; o.documentationLink = "foo"; o.etag = "foo"; - o.features = buildUnnamed604(); + o.features = buildUnnamed578(); o.icons = buildRestDescriptionIcons(); o.id = "foo"; o.kind = "foo"; - o.labels = buildUnnamed605(); - o.methods = buildUnnamed606(); + o.labels = buildUnnamed579(); + o.methods = buildUnnamed580(); o.name = "foo"; o.ownerDomain = "foo"; o.ownerName = "foo"; o.packagePath = "foo"; - o.parameters = buildUnnamed607(); + o.parameters = buildUnnamed581(); o.protocol = "foo"; - o.resources = buildUnnamed608(); + o.resources = buildUnnamed582(); o.revision = "foo"; o.rootUrl = "foo"; - o.schemas = buildUnnamed609(); + o.schemas = buildUnnamed583(); o.servicePath = "foo"; o.title = "foo"; o.version = "foo"; @@ -529,22 +529,22 @@ unittest.expect(o.discoveryVersion, unittest.equals('foo')); unittest.expect(o.documentationLink, unittest.equals('foo')); unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed604(o.features); + checkUnnamed578(o.features); checkRestDescriptionIcons(o.icons); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed605(o.labels); - checkUnnamed606(o.methods); + checkUnnamed579(o.labels); + checkUnnamed580(o.methods); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.ownerDomain, unittest.equals('foo')); unittest.expect(o.ownerName, unittest.equals('foo')); unittest.expect(o.packagePath, unittest.equals('foo')); - checkUnnamed607(o.parameters); + checkUnnamed581(o.parameters); unittest.expect(o.protocol, unittest.equals('foo')); - checkUnnamed608(o.resources); + checkUnnamed582(o.resources); unittest.expect(o.revision, unittest.equals('foo')); unittest.expect(o.rootUrl, unittest.equals('foo')); - checkUnnamed609(o.schemas); + checkUnnamed583(o.schemas); unittest.expect(o.servicePath, unittest.equals('foo')); unittest.expect(o.title, unittest.equals('foo')); unittest.expect(o.version, unittest.equals('foo')); @@ -552,14 +552,14 @@ buildCounterRestDescription--; } -buildUnnamed610() { +buildUnnamed584() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed610(core.List<core.String> o) { +checkUnnamed584(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -633,7 +633,7 @@ var o = new api.RestMethodMediaUpload(); buildCounterRestMethodMediaUpload++; if (buildCounterRestMethodMediaUpload < 3) { - o.accept = buildUnnamed610(); + o.accept = buildUnnamed584(); o.maxSize = "foo"; o.protocols = buildRestMethodMediaUploadProtocols(); } @@ -644,34 +644,34 @@ checkRestMethodMediaUpload(api.RestMethodMediaUpload o) { buildCounterRestMethodMediaUpload++; if (buildCounterRestMethodMediaUpload < 3) { - checkUnnamed610(o.accept); + checkUnnamed584(o.accept); unittest.expect(o.maxSize, unittest.equals('foo')); checkRestMethodMediaUploadProtocols(o.protocols); } buildCounterRestMethodMediaUpload--; } -buildUnnamed611() { +buildUnnamed585() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed611(core.List<core.String> o) { +checkUnnamed585(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed612() { +buildUnnamed586() { var o = new core.Map<core.String, api.JsonSchema>(); o["x"] = buildJsonSchema(); o["y"] = buildJsonSchema(); return o; } -checkUnnamed612(core.Map<core.String, api.JsonSchema> o) { +checkUnnamed586(core.Map<core.String, api.JsonSchema> o) { unittest.expect(o, unittest.hasLength(2)); checkJsonSchema(o["x"]); checkJsonSchema(o["y"]); @@ -717,14 +717,14 @@ buildCounterRestMethodResponse--; } -buildUnnamed613() { +buildUnnamed587() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed613(core.List<core.String> o) { +checkUnnamed587(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -740,12 +740,12 @@ o.httpMethod = "foo"; o.id = "foo"; o.mediaUpload = buildRestMethodMediaUpload(); - o.parameterOrder = buildUnnamed611(); - o.parameters = buildUnnamed612(); + o.parameterOrder = buildUnnamed585(); + o.parameters = buildUnnamed586(); o.path = "foo"; o.request = buildRestMethodRequest(); o.response = buildRestMethodResponse(); - o.scopes = buildUnnamed613(); + o.scopes = buildUnnamed587(); o.supportsMediaDownload = true; o.supportsMediaUpload = true; o.supportsSubscription = true; @@ -762,12 +762,12 @@ unittest.expect(o.httpMethod, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); checkRestMethodMediaUpload(o.mediaUpload); - checkUnnamed611(o.parameterOrder); - checkUnnamed612(o.parameters); + checkUnnamed585(o.parameterOrder); + checkUnnamed586(o.parameters); unittest.expect(o.path, unittest.equals('foo')); checkRestMethodRequest(o.request); checkRestMethodResponse(o.response); - checkUnnamed613(o.scopes); + checkUnnamed587(o.scopes); unittest.expect(o.supportsMediaDownload, unittest.isTrue); unittest.expect(o.supportsMediaUpload, unittest.isTrue); unittest.expect(o.supportsSubscription, unittest.isTrue); @@ -775,27 +775,27 @@ buildCounterRestMethod--; } -buildUnnamed614() { +buildUnnamed588() { var o = new core.Map<core.String, api.RestMethod>(); o["x"] = buildRestMethod(); o["y"] = buildRestMethod(); return o; } -checkUnnamed614(core.Map<core.String, api.RestMethod> o) { +checkUnnamed588(core.Map<core.String, api.RestMethod> o) { unittest.expect(o, unittest.hasLength(2)); checkRestMethod(o["x"]); checkRestMethod(o["y"]); } -buildUnnamed615() { +buildUnnamed589() { var o = new core.Map<core.String, api.RestResource>(); o["x"] = buildRestResource(); o["y"] = buildRestResource(); return o; } -checkUnnamed615(core.Map<core.String, api.RestResource> o) { +checkUnnamed589(core.Map<core.String, api.RestResource> o) { unittest.expect(o, unittest.hasLength(2)); checkRestResource(o["x"]); checkRestResource(o["y"]); @@ -806,8 +806,8 @@ var o = new api.RestResource(); buildCounterRestResource++; if (buildCounterRestResource < 3) { - o.methods = buildUnnamed614(); - o.resources = buildUnnamed615(); + o.methods = buildUnnamed588(); + o.resources = buildUnnamed589(); } buildCounterRestResource--; return o; @@ -816,8 +816,8 @@ checkRestResource(api.RestResource o) { buildCounterRestResource++; if (buildCounterRestResource < 3) { - checkUnnamed614(o.methods); - checkUnnamed615(o.resources); + checkUnnamed588(o.methods); + checkUnnamed589(o.resources); } buildCounterRestResource--; }
diff --git a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart index b801c68..c68ff6f 100644 --- a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart +++ b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed1083() { +buildUnnamed1061() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1083(core.List<core.String> o) { +checkUnnamed1061(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -34,7 +34,7 @@ var o = new api.DownloadLineItemsRequest(); buildCounterDownloadLineItemsRequest++; if (buildCounterDownloadLineItemsRequest < 3) { - o.filterIds = buildUnnamed1083(); + o.filterIds = buildUnnamed1061(); o.filterType = "foo"; o.format = "foo"; } @@ -45,7 +45,7 @@ checkDownloadLineItemsRequest(api.DownloadLineItemsRequest o) { buildCounterDownloadLineItemsRequest++; if (buildCounterDownloadLineItemsRequest < 3) { - checkUnnamed1083(o.filterIds); + checkUnnamed1061(o.filterIds); unittest.expect(o.filterType, unittest.equals('foo')); unittest.expect(o.format, unittest.equals('foo')); } @@ -92,14 +92,14 @@ buildCounterFilterPair--; } -buildUnnamed1084() { +buildUnnamed1062() { var o = new core.List<api.Query>(); o.add(buildQuery()); o.add(buildQuery()); return o; } -checkUnnamed1084(core.List<api.Query> o) { +checkUnnamed1062(core.List<api.Query> o) { unittest.expect(o, unittest.hasLength(2)); checkQuery(o[0]); checkQuery(o[1]); @@ -111,7 +111,7 @@ buildCounterListQueriesResponse++; if (buildCounterListQueriesResponse < 3) { o.kind = "foo"; - o.queries = buildUnnamed1084(); + o.queries = buildUnnamed1062(); } buildCounterListQueriesResponse--; return o; @@ -121,19 +121,19 @@ buildCounterListQueriesResponse++; if (buildCounterListQueriesResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed1084(o.queries); + checkUnnamed1062(o.queries); } buildCounterListQueriesResponse--; } -buildUnnamed1085() { +buildUnnamed1063() { var o = new core.List<api.Report>(); o.add(buildReport()); o.add(buildReport()); return o; } -checkUnnamed1085(core.List<api.Report> o) { +checkUnnamed1063(core.List<api.Report> o) { unittest.expect(o, unittest.hasLength(2)); checkReport(o[0]); checkReport(o[1]); @@ -145,7 +145,7 @@ buildCounterListReportsResponse++; if (buildCounterListReportsResponse < 3) { o.kind = "foo"; - o.reports = buildUnnamed1085(); + o.reports = buildUnnamed1063(); } buildCounterListReportsResponse--; return o; @@ -155,45 +155,45 @@ buildCounterListReportsResponse++; if (buildCounterListReportsResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed1085(o.reports); + checkUnnamed1063(o.reports); } buildCounterListReportsResponse--; } -buildUnnamed1086() { +buildUnnamed1064() { var o = new core.List<api.FilterPair>(); o.add(buildFilterPair()); o.add(buildFilterPair()); return o; } -checkUnnamed1086(core.List<api.FilterPair> o) { +checkUnnamed1064(core.List<api.FilterPair> o) { unittest.expect(o, unittest.hasLength(2)); checkFilterPair(o[0]); checkFilterPair(o[1]); } -buildUnnamed1087() { +buildUnnamed1065() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1087(core.List<core.String> o) { +checkUnnamed1065(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1088() { +buildUnnamed1066() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1088(core.List<core.String> o) { +checkUnnamed1066(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -204,10 +204,10 @@ var o = new api.Parameters(); buildCounterParameters++; if (buildCounterParameters < 3) { - o.filters = buildUnnamed1086(); - o.groupBys = buildUnnamed1087(); + o.filters = buildUnnamed1064(); + o.groupBys = buildUnnamed1065(); o.includeInviteData = true; - o.metrics = buildUnnamed1088(); + o.metrics = buildUnnamed1066(); o.type = "foo"; } buildCounterParameters--; @@ -217,10 +217,10 @@ checkParameters(api.Parameters o) { buildCounterParameters++; if (buildCounterParameters < 3) { - checkUnnamed1086(o.filters); - checkUnnamed1087(o.groupBys); + checkUnnamed1064(o.filters); + checkUnnamed1065(o.groupBys); unittest.expect(o.includeInviteData, unittest.isTrue); - checkUnnamed1088(o.metrics); + checkUnnamed1066(o.metrics); unittest.expect(o.type, unittest.equals('foo')); } buildCounterParameters--; @@ -259,14 +259,14 @@ buildCounterQuery--; } -buildUnnamed1089() { +buildUnnamed1067() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1089(core.List<core.String> o) { +checkUnnamed1067(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -285,7 +285,7 @@ o.reportCount = 42; o.running = true; o.sendNotification = true; - o.shareEmailAddress = buildUnnamed1089(); + o.shareEmailAddress = buildUnnamed1067(); o.title = "foo"; } buildCounterQueryMetadata--; @@ -303,7 +303,7 @@ unittest.expect(o.reportCount, unittest.equals(42)); unittest.expect(o.running, unittest.isTrue); unittest.expect(o.sendNotification, unittest.isTrue); - checkUnnamed1089(o.shareEmailAddress); + checkUnnamed1067(o.shareEmailAddress); unittest.expect(o.title, unittest.equals('foo')); } buildCounterQueryMetadata--; @@ -447,14 +447,14 @@ buildCounterReportStatus--; } -buildUnnamed1090() { +buildUnnamed1068() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1090(core.List<core.String> o) { +checkUnnamed1068(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -468,7 +468,7 @@ o.changed = true; o.entityId = "foo"; o.entityName = "foo"; - o.errors = buildUnnamed1090(); + o.errors = buildUnnamed1068(); o.persisted = true; o.rowNumber = 42; } @@ -482,7 +482,7 @@ unittest.expect(o.changed, unittest.isTrue); unittest.expect(o.entityId, unittest.equals('foo')); unittest.expect(o.entityName, unittest.equals('foo')); - checkUnnamed1090(o.errors); + checkUnnamed1068(o.errors); unittest.expect(o.persisted, unittest.isTrue); unittest.expect(o.rowNumber, unittest.equals(42)); } @@ -556,27 +556,27 @@ buildCounterUploadLineItemsResponse--; } -buildUnnamed1091() { +buildUnnamed1069() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1091(core.List<core.String> o) { +checkUnnamed1069(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1092() { +buildUnnamed1070() { var o = new core.List<api.RowStatus>(); o.add(buildRowStatus()); o.add(buildRowStatus()); return o; } -checkUnnamed1092(core.List<api.RowStatus> o) { +checkUnnamed1070(core.List<api.RowStatus> o) { unittest.expect(o, unittest.hasLength(2)); checkRowStatus(o[0]); checkRowStatus(o[1]); @@ -587,8 +587,8 @@ var o = new api.UploadStatus(); buildCounterUploadStatus++; if (buildCounterUploadStatus < 3) { - o.errors = buildUnnamed1091(); - o.rowStatus = buildUnnamed1092(); + o.errors = buildUnnamed1069(); + o.rowStatus = buildUnnamed1070(); } buildCounterUploadStatus--; return o; @@ -597,8 +597,8 @@ checkUploadStatus(api.UploadStatus o) { buildCounterUploadStatus++; if (buildCounterUploadStatus < 3) { - checkUnnamed1091(o.errors); - checkUnnamed1092(o.rowStatus); + checkUnnamed1069(o.errors); + checkUnnamed1070(o.rowStatus); } buildCounterUploadStatus--; }
diff --git a/generated/googleapis/test/doubleclicksearch/v2_test.dart b/generated/googleapis/test/doubleclicksearch/v2_test.dart index c774a02..12b90e8 100644 --- a/generated/googleapis/test/doubleclicksearch/v2_test.dart +++ b/generated/googleapis/test/doubleclicksearch/v2_test.dart
@@ -45,27 +45,27 @@ buildCounterAvailability--; } -buildUnnamed113() { +buildUnnamed114() { var o = new core.List<api.CustomDimension>(); o.add(buildCustomDimension()); o.add(buildCustomDimension()); return o; } -checkUnnamed113(core.List<api.CustomDimension> o) { +checkUnnamed114(core.List<api.CustomDimension> o) { unittest.expect(o, unittest.hasLength(2)); checkCustomDimension(o[0]); checkCustomDimension(o[1]); } -buildUnnamed114() { +buildUnnamed115() { var o = new core.List<api.CustomMetric>(); o.add(buildCustomMetric()); o.add(buildCustomMetric()); return o; } -checkUnnamed114(core.List<api.CustomMetric> o) { +checkUnnamed115(core.List<api.CustomMetric> o) { unittest.expect(o, unittest.hasLength(2)); checkCustomMetric(o[0]); checkCustomMetric(o[1]); @@ -87,8 +87,8 @@ o.conversionTimestamp = "foo"; o.criterionId = "foo"; o.currencyCode = "foo"; - o.customDimension = buildUnnamed113(); - o.customMetric = buildUnnamed114(); + o.customDimension = buildUnnamed114(); + o.customMetric = buildUnnamed115(); o.dsConversionId = "foo"; o.engineAccountId = "foo"; o.floodlightOrderId = "foo"; @@ -118,8 +118,8 @@ unittest.expect(o.conversionTimestamp, unittest.equals('foo')); unittest.expect(o.criterionId, unittest.equals('foo')); unittest.expect(o.currencyCode, unittest.equals('foo')); - checkUnnamed113(o.customDimension); - checkUnnamed114(o.customMetric); + checkUnnamed114(o.customDimension); + checkUnnamed115(o.customMetric); unittest.expect(o.dsConversionId, unittest.equals('foo')); unittest.expect(o.engineAccountId, unittest.equals('foo')); unittest.expect(o.floodlightOrderId, unittest.equals('foo')); @@ -134,14 +134,14 @@ buildCounterConversion--; } -buildUnnamed115() { +buildUnnamed116() { var o = new core.List<api.Conversion>(); o.add(buildConversion()); o.add(buildConversion()); return o; } -checkUnnamed115(core.List<api.Conversion> o) { +checkUnnamed116(core.List<api.Conversion> o) { unittest.expect(o, unittest.hasLength(2)); checkConversion(o[0]); checkConversion(o[1]); @@ -152,7 +152,7 @@ var o = new api.ConversionList(); buildCounterConversionList++; if (buildCounterConversionList < 3) { - o.conversion = buildUnnamed115(); + o.conversion = buildUnnamed116(); o.kind = "foo"; } buildCounterConversionList--; @@ -162,7 +162,7 @@ checkConversionList(api.ConversionList o) { buildCounterConversionList++; if (buildCounterConversionList < 3) { - checkUnnamed115(o.conversion); + checkUnnamed116(o.conversion); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterConversionList--; @@ -231,27 +231,27 @@ buildCounterReportFiles--; } -buildUnnamed116() { +buildUnnamed117() { var o = new core.List<api.ReportFiles>(); o.add(buildReportFiles()); o.add(buildReportFiles()); return o; } -checkUnnamed116(core.List<api.ReportFiles> o) { +checkUnnamed117(core.List<api.ReportFiles> o) { unittest.expect(o, unittest.hasLength(2)); checkReportFiles(o[0]); checkReportFiles(o[1]); } -buildUnnamed117() { +buildUnnamed118() { var o = new core.List<api.ReportRow>(); o.add(buildReportRow()); o.add(buildReportRow()); return o; } -checkUnnamed117(core.List<api.ReportRow> o) { +checkUnnamed118(core.List<api.ReportRow> o) { unittest.expect(o, unittest.hasLength(2)); checkReportRow(o[0]); checkReportRow(o[1]); @@ -262,13 +262,13 @@ var o = new api.Report(); buildCounterReport++; if (buildCounterReport < 3) { - o.files = buildUnnamed116(); + o.files = buildUnnamed117(); o.id = "foo"; o.isReportReady = true; o.kind = "foo"; o.request = buildReportRequest(); o.rowCount = 42; - o.rows = buildUnnamed117(); + o.rows = buildUnnamed118(); o.statisticsCurrencyCode = "foo"; o.statisticsTimeZone = "foo"; } @@ -279,13 +279,13 @@ checkReport(api.Report o) { buildCounterReport++; if (buildCounterReport < 3) { - checkUnnamed116(o.files); + checkUnnamed117(o.files); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.isReportReady, unittest.isTrue); unittest.expect(o.kind, unittest.equals('foo')); checkReportRequest(o.request); unittest.expect(o.rowCount, unittest.equals(42)); - checkUnnamed117(o.rows); + checkUnnamed118(o.rows); unittest.expect(o.statisticsCurrencyCode, unittest.equals('foo')); unittest.expect(o.statisticsTimeZone, unittest.equals('foo')); } @@ -299,6 +299,7 @@ if (buildCounterReportApiColumnSpec < 3) { o.columnName = "foo"; o.customDimensionName = "foo"; + o.customMetricName = "foo"; o.endDate = "foo"; o.groupByColumn = true; o.headerText = "foo"; @@ -315,6 +316,7 @@ if (buildCounterReportApiColumnSpec < 3) { unittest.expect(o.columnName, unittest.equals('foo')); unittest.expect(o.customDimensionName, unittest.equals('foo')); + unittest.expect(o.customMetricName, unittest.equals('foo')); unittest.expect(o.endDate, unittest.equals('foo')); unittest.expect(o.groupByColumn, unittest.isTrue); unittest.expect(o.headerText, unittest.equals('foo')); @@ -325,27 +327,27 @@ buildCounterReportApiColumnSpec--; } -buildUnnamed118() { +buildUnnamed119() { var o = new core.List<api.ReportApiColumnSpec>(); o.add(buildReportApiColumnSpec()); o.add(buildReportApiColumnSpec()); return o; } -checkUnnamed118(core.List<api.ReportApiColumnSpec> o) { +checkUnnamed119(core.List<api.ReportApiColumnSpec> o) { unittest.expect(o, unittest.hasLength(2)); checkReportApiColumnSpec(o[0]); checkReportApiColumnSpec(o[1]); } -buildUnnamed119() { +buildUnnamed120() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed119(core.List<core.Object> o) { +checkUnnamed120(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); @@ -358,7 +360,7 @@ if (buildCounterReportRequestFilters < 3) { o.column = buildReportApiColumnSpec(); o.operator = "foo"; - o.values = buildUnnamed119(); + o.values = buildUnnamed120(); } buildCounterReportRequestFilters--; return o; @@ -369,19 +371,19 @@ if (buildCounterReportRequestFilters < 3) { checkReportApiColumnSpec(o.column); unittest.expect(o.operator, unittest.equals('foo')); - checkUnnamed119(o.values); + checkUnnamed120(o.values); } buildCounterReportRequestFilters--; } -buildUnnamed120() { +buildUnnamed121() { var o = new core.List<api.ReportRequestFilters>(); o.add(buildReportRequestFilters()); o.add(buildReportRequestFilters()); return o; } -checkUnnamed120(core.List<api.ReportRequestFilters> o) { +checkUnnamed121(core.List<api.ReportRequestFilters> o) { unittest.expect(o, unittest.hasLength(2)); checkReportRequestFilters(o[0]); checkReportRequestFilters(o[1]); @@ -408,14 +410,14 @@ buildCounterReportRequestOrderBy--; } -buildUnnamed121() { +buildUnnamed122() { var o = new core.List<api.ReportRequestOrderBy>(); o.add(buildReportRequestOrderBy()); o.add(buildReportRequestOrderBy()); return o; } -checkUnnamed121(core.List<api.ReportRequestOrderBy> o) { +checkUnnamed122(core.List<api.ReportRequestOrderBy> o) { unittest.expect(o, unittest.hasLength(2)); checkReportRequestOrderBy(o[0]); checkReportRequestOrderBy(o[1]); @@ -482,13 +484,13 @@ var o = new api.ReportRequest(); buildCounterReportRequest++; if (buildCounterReportRequest < 3) { - o.columns = buildUnnamed118(); + o.columns = buildUnnamed119(); o.downloadFormat = "foo"; - o.filters = buildUnnamed120(); + o.filters = buildUnnamed121(); o.includeDeletedEntities = true; o.includeRemovedEntities = true; o.maxRowsPerFile = 42; - o.orderBy = buildUnnamed121(); + o.orderBy = buildUnnamed122(); o.reportScope = buildReportRequestReportScope(); o.reportType = "foo"; o.rowCount = 42; @@ -504,13 +506,13 @@ checkReportRequest(api.ReportRequest o) { buildCounterReportRequest++; if (buildCounterReportRequest < 3) { - checkUnnamed118(o.columns); + checkUnnamed119(o.columns); unittest.expect(o.downloadFormat, unittest.equals('foo')); - checkUnnamed120(o.filters); + checkUnnamed121(o.filters); unittest.expect(o.includeDeletedEntities, unittest.isTrue); unittest.expect(o.includeRemovedEntities, unittest.isTrue); unittest.expect(o.maxRowsPerFile, unittest.equals(42)); - checkUnnamed121(o.orderBy); + checkUnnamed122(o.orderBy); checkReportRequestReportScope(o.reportScope); unittest.expect(o.reportType, unittest.equals('foo')); unittest.expect(o.rowCount, unittest.equals(42)); @@ -558,14 +560,14 @@ buildCounterSavedColumn--; } -buildUnnamed122() { +buildUnnamed123() { var o = new core.List<api.SavedColumn>(); o.add(buildSavedColumn()); o.add(buildSavedColumn()); return o; } -checkUnnamed122(core.List<api.SavedColumn> o) { +checkUnnamed123(core.List<api.SavedColumn> o) { unittest.expect(o, unittest.hasLength(2)); checkSavedColumn(o[0]); checkSavedColumn(o[1]); @@ -576,7 +578,7 @@ var o = new api.SavedColumnList(); buildCounterSavedColumnList++; if (buildCounterSavedColumnList < 3) { - o.items = buildUnnamed122(); + o.items = buildUnnamed123(); o.kind = "foo"; } buildCounterSavedColumnList--; @@ -586,44 +588,12 @@ checkSavedColumnList(api.SavedColumnList o) { buildCounterSavedColumnList++; if (buildCounterSavedColumnList < 3) { - checkUnnamed122(o.items); + checkUnnamed123(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterSavedColumnList--; } -buildUnnamed123() { - var o = new core.List<api.Availability>(); - o.add(buildAvailability()); - o.add(buildAvailability()); - return o; -} - -checkUnnamed123(core.List<api.Availability> o) { - unittest.expect(o, unittest.hasLength(2)); - checkAvailability(o[0]); - checkAvailability(o[1]); -} - -core.int buildCounterUpdateAvailabilityRequest = 0; -buildUpdateAvailabilityRequest() { - var o = new api.UpdateAvailabilityRequest(); - buildCounterUpdateAvailabilityRequest++; - if (buildCounterUpdateAvailabilityRequest < 3) { - o.availabilities = buildUnnamed123(); - } - buildCounterUpdateAvailabilityRequest--; - return o; -} - -checkUpdateAvailabilityRequest(api.UpdateAvailabilityRequest o) { - buildCounterUpdateAvailabilityRequest++; - if (buildCounterUpdateAvailabilityRequest < 3) { - checkUnnamed123(o.availabilities); - } - buildCounterUpdateAvailabilityRequest--; -} - buildUnnamed124() { var o = new core.List<api.Availability>(); o.add(buildAvailability()); @@ -637,12 +607,44 @@ checkAvailability(o[1]); } +core.int buildCounterUpdateAvailabilityRequest = 0; +buildUpdateAvailabilityRequest() { + var o = new api.UpdateAvailabilityRequest(); + buildCounterUpdateAvailabilityRequest++; + if (buildCounterUpdateAvailabilityRequest < 3) { + o.availabilities = buildUnnamed124(); + } + buildCounterUpdateAvailabilityRequest--; + return o; +} + +checkUpdateAvailabilityRequest(api.UpdateAvailabilityRequest o) { + buildCounterUpdateAvailabilityRequest++; + if (buildCounterUpdateAvailabilityRequest < 3) { + checkUnnamed124(o.availabilities); + } + buildCounterUpdateAvailabilityRequest--; +} + +buildUnnamed125() { + var o = new core.List<api.Availability>(); + o.add(buildAvailability()); + o.add(buildAvailability()); + return o; +} + +checkUnnamed125(core.List<api.Availability> o) { + unittest.expect(o, unittest.hasLength(2)); + checkAvailability(o[0]); + checkAvailability(o[1]); +} + core.int buildCounterUpdateAvailabilityResponse = 0; buildUpdateAvailabilityResponse() { var o = new api.UpdateAvailabilityResponse(); buildCounterUpdateAvailabilityResponse++; if (buildCounterUpdateAvailabilityResponse < 3) { - o.availabilities = buildUnnamed124(); + o.availabilities = buildUnnamed125(); } buildCounterUpdateAvailabilityResponse--; return o; @@ -651,7 +653,7 @@ checkUpdateAvailabilityResponse(api.UpdateAvailabilityResponse o) { buildCounterUpdateAvailabilityResponse++; if (buildCounterUpdateAvailabilityResponse < 3) { - checkUnnamed124(o.availabilities); + checkUnnamed125(o.availabilities); } buildCounterUpdateAvailabilityResponse--; }
diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart index b5d62c8..b291457 100644 --- a/generated/googleapis/test/drive/v2_test.dart +++ b/generated/googleapis/test/drive/v2_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed1093() { +buildUnnamed1071() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1093(core.List<core.String> o) { +checkUnnamed1071(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -34,7 +34,7 @@ var o = new api.AboutAdditionalRoleInfoRoleSets(); buildCounterAboutAdditionalRoleInfoRoleSets++; if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { - o.additionalRoles = buildUnnamed1093(); + o.additionalRoles = buildUnnamed1071(); o.primaryRole = "foo"; } buildCounterAboutAdditionalRoleInfoRoleSets--; @@ -44,20 +44,20 @@ checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) { buildCounterAboutAdditionalRoleInfoRoleSets++; if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { - checkUnnamed1093(o.additionalRoles); + checkUnnamed1071(o.additionalRoles); unittest.expect(o.primaryRole, unittest.equals('foo')); } buildCounterAboutAdditionalRoleInfoRoleSets--; } -buildUnnamed1094() { +buildUnnamed1072() { var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>(); o.add(buildAboutAdditionalRoleInfoRoleSets()); o.add(buildAboutAdditionalRoleInfoRoleSets()); return o; } -checkUnnamed1094(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { +checkUnnamed1072(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { unittest.expect(o, unittest.hasLength(2)); checkAboutAdditionalRoleInfoRoleSets(o[0]); checkAboutAdditionalRoleInfoRoleSets(o[1]); @@ -68,7 +68,7 @@ var o = new api.AboutAdditionalRoleInfo(); buildCounterAboutAdditionalRoleInfo++; if (buildCounterAboutAdditionalRoleInfo < 3) { - o.roleSets = buildUnnamed1094(); + o.roleSets = buildUnnamed1072(); o.type = "foo"; } buildCounterAboutAdditionalRoleInfo--; @@ -78,33 +78,33 @@ checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) { buildCounterAboutAdditionalRoleInfo++; if (buildCounterAboutAdditionalRoleInfo < 3) { - checkUnnamed1094(o.roleSets); + checkUnnamed1072(o.roleSets); unittest.expect(o.type, unittest.equals('foo')); } buildCounterAboutAdditionalRoleInfo--; } -buildUnnamed1095() { +buildUnnamed1073() { var o = new core.List<api.AboutAdditionalRoleInfo>(); o.add(buildAboutAdditionalRoleInfo()); o.add(buildAboutAdditionalRoleInfo()); return o; } -checkUnnamed1095(core.List<api.AboutAdditionalRoleInfo> o) { +checkUnnamed1073(core.List<api.AboutAdditionalRoleInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkAboutAdditionalRoleInfo(o[0]); checkAboutAdditionalRoleInfo(o[1]); } -buildUnnamed1096() { +buildUnnamed1074() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1096(core.List<core.String> o) { +checkUnnamed1074(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -116,7 +116,7 @@ buildCounterAboutExportFormats++; if (buildCounterAboutExportFormats < 3) { o.source = "foo"; - o.targets = buildUnnamed1096(); + o.targets = buildUnnamed1074(); } buildCounterAboutExportFormats--; return o; @@ -126,19 +126,19 @@ buildCounterAboutExportFormats++; if (buildCounterAboutExportFormats < 3) { unittest.expect(o.source, unittest.equals('foo')); - checkUnnamed1096(o.targets); + checkUnnamed1074(o.targets); } buildCounterAboutExportFormats--; } -buildUnnamed1097() { +buildUnnamed1075() { var o = new core.List<api.AboutExportFormats>(); o.add(buildAboutExportFormats()); o.add(buildAboutExportFormats()); return o; } -checkUnnamed1097(core.List<api.AboutExportFormats> o) { +checkUnnamed1075(core.List<api.AboutExportFormats> o) { unittest.expect(o, unittest.hasLength(2)); checkAboutExportFormats(o[0]); checkAboutExportFormats(o[1]); @@ -165,27 +165,27 @@ buildCounterAboutFeatures--; } -buildUnnamed1098() { +buildUnnamed1076() { var o = new core.List<api.AboutFeatures>(); o.add(buildAboutFeatures()); o.add(buildAboutFeatures()); return o; } -checkUnnamed1098(core.List<api.AboutFeatures> o) { +checkUnnamed1076(core.List<api.AboutFeatures> o) { unittest.expect(o, unittest.hasLength(2)); checkAboutFeatures(o[0]); checkAboutFeatures(o[1]); } -buildUnnamed1099() { +buildUnnamed1077() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1099(core.List<core.String> o) { +checkUnnamed1077(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -197,7 +197,7 @@ buildCounterAboutImportFormats++; if (buildCounterAboutImportFormats < 3) { o.source = "foo"; - o.targets = buildUnnamed1099(); + o.targets = buildUnnamed1077(); } buildCounterAboutImportFormats--; return o; @@ -207,19 +207,19 @@ buildCounterAboutImportFormats++; if (buildCounterAboutImportFormats < 3) { unittest.expect(o.source, unittest.equals('foo')); - checkUnnamed1099(o.targets); + checkUnnamed1077(o.targets); } buildCounterAboutImportFormats--; } -buildUnnamed1100() { +buildUnnamed1078() { var o = new core.List<api.AboutImportFormats>(); o.add(buildAboutImportFormats()); o.add(buildAboutImportFormats()); return o; } -checkUnnamed1100(core.List<api.AboutImportFormats> o) { +checkUnnamed1078(core.List<api.AboutImportFormats> o) { unittest.expect(o, unittest.hasLength(2)); checkAboutImportFormats(o[0]); checkAboutImportFormats(o[1]); @@ -246,14 +246,14 @@ buildCounterAboutMaxUploadSizes--; } -buildUnnamed1101() { +buildUnnamed1079() { var o = new core.List<api.AboutMaxUploadSizes>(); o.add(buildAboutMaxUploadSizes()); o.add(buildAboutMaxUploadSizes()); return o; } -checkUnnamed1101(core.List<api.AboutMaxUploadSizes> o) { +checkUnnamed1079(core.List<api.AboutMaxUploadSizes> o) { unittest.expect(o, unittest.hasLength(2)); checkAboutMaxUploadSizes(o[0]); checkAboutMaxUploadSizes(o[1]); @@ -280,14 +280,14 @@ buildCounterAboutQuotaBytesByService--; } -buildUnnamed1102() { +buildUnnamed1080() { var o = new core.List<api.AboutQuotaBytesByService>(); o.add(buildAboutQuotaBytesByService()); o.add(buildAboutQuotaBytesByService()); return o; } -checkUnnamed1102(core.List<api.AboutQuotaBytesByService> o) { +checkUnnamed1080(core.List<api.AboutQuotaBytesByService> o) { unittest.expect(o, unittest.hasLength(2)); checkAboutQuotaBytesByService(o[0]); checkAboutQuotaBytesByService(o[1]); @@ -298,20 +298,20 @@ var o = new api.About(); buildCounterAbout++; if (buildCounterAbout < 3) { - o.additionalRoleInfo = buildUnnamed1095(); + o.additionalRoleInfo = buildUnnamed1073(); o.domainSharingPolicy = "foo"; o.etag = "foo"; - o.exportFormats = buildUnnamed1097(); - o.features = buildUnnamed1098(); - o.importFormats = buildUnnamed1100(); + o.exportFormats = buildUnnamed1075(); + o.features = buildUnnamed1076(); + o.importFormats = buildUnnamed1078(); o.isCurrentAppInstalled = true; o.kind = "foo"; o.languageCode = "foo"; o.largestChangeId = "foo"; - o.maxUploadSizes = buildUnnamed1101(); + o.maxUploadSizes = buildUnnamed1079(); o.name = "foo"; o.permissionId = "foo"; - o.quotaBytesByService = buildUnnamed1102(); + o.quotaBytesByService = buildUnnamed1080(); o.quotaBytesTotal = "foo"; o.quotaBytesUsed = "foo"; o.quotaBytesUsedAggregate = "foo"; @@ -329,20 +329,20 @@ checkAbout(api.About o) { buildCounterAbout++; if (buildCounterAbout < 3) { - checkUnnamed1095(o.additionalRoleInfo); + checkUnnamed1073(o.additionalRoleInfo); unittest.expect(o.domainSharingPolicy, unittest.equals('foo')); unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1097(o.exportFormats); - checkUnnamed1098(o.features); - checkUnnamed1100(o.importFormats); + checkUnnamed1075(o.exportFormats); + checkUnnamed1076(o.features); + checkUnnamed1078(o.importFormats); unittest.expect(o.isCurrentAppInstalled, unittest.isTrue); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.languageCode, unittest.equals('foo')); unittest.expect(o.largestChangeId, unittest.equals('foo')); - checkUnnamed1101(o.maxUploadSizes); + checkUnnamed1079(o.maxUploadSizes); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.permissionId, unittest.equals('foo')); - checkUnnamed1102(o.quotaBytesByService); + checkUnnamed1080(o.quotaBytesByService); unittest.expect(o.quotaBytesTotal, unittest.equals('foo')); unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo')); @@ -379,66 +379,66 @@ buildCounterAppIcons--; } -buildUnnamed1103() { +buildUnnamed1081() { var o = new core.List<api.AppIcons>(); o.add(buildAppIcons()); o.add(buildAppIcons()); return o; } -checkUnnamed1103(core.List<api.AppIcons> o) { +checkUnnamed1081(core.List<api.AppIcons> o) { unittest.expect(o, unittest.hasLength(2)); checkAppIcons(o[0]); checkAppIcons(o[1]); } -buildUnnamed1104() { +buildUnnamed1082() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1104(core.List<core.String> o) { +checkUnnamed1082(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1105() { +buildUnnamed1083() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1105(core.List<core.String> o) { +checkUnnamed1083(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1106() { +buildUnnamed1084() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1106(core.List<core.String> o) { +checkUnnamed1084(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1107() { +buildUnnamed1085() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1107(core.List<core.String> o) { +checkUnnamed1085(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -453,7 +453,7 @@ o.createInFolderTemplate = "foo"; o.createUrl = "foo"; o.hasDriveWideScope = true; - o.icons = buildUnnamed1103(); + o.icons = buildUnnamed1081(); o.id = "foo"; o.installed = true; o.kind = "foo"; @@ -461,12 +461,12 @@ o.name = "foo"; o.objectType = "foo"; o.openUrlTemplate = "foo"; - o.primaryFileExtensions = buildUnnamed1104(); - o.primaryMimeTypes = buildUnnamed1105(); + o.primaryFileExtensions = buildUnnamed1082(); + o.primaryMimeTypes = buildUnnamed1083(); o.productId = "foo"; o.productUrl = "foo"; - o.secondaryFileExtensions = buildUnnamed1106(); - o.secondaryMimeTypes = buildUnnamed1107(); + o.secondaryFileExtensions = buildUnnamed1084(); + o.secondaryMimeTypes = buildUnnamed1085(); o.shortDescription = "foo"; o.supportsCreate = true; o.supportsImport = true; @@ -485,7 +485,7 @@ unittest.expect(o.createInFolderTemplate, unittest.equals('foo')); unittest.expect(o.createUrl, unittest.equals('foo')); unittest.expect(o.hasDriveWideScope, unittest.isTrue); - checkUnnamed1103(o.icons); + checkUnnamed1081(o.icons); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.installed, unittest.isTrue); unittest.expect(o.kind, unittest.equals('foo')); @@ -493,12 +493,12 @@ unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.objectType, unittest.equals('foo')); unittest.expect(o.openUrlTemplate, unittest.equals('foo')); - checkUnnamed1104(o.primaryFileExtensions); - checkUnnamed1105(o.primaryMimeTypes); + checkUnnamed1082(o.primaryFileExtensions); + checkUnnamed1083(o.primaryMimeTypes); unittest.expect(o.productId, unittest.equals('foo')); unittest.expect(o.productUrl, unittest.equals('foo')); - checkUnnamed1106(o.secondaryFileExtensions); - checkUnnamed1107(o.secondaryMimeTypes); + checkUnnamed1084(o.secondaryFileExtensions); + checkUnnamed1085(o.secondaryMimeTypes); unittest.expect(o.shortDescription, unittest.equals('foo')); unittest.expect(o.supportsCreate, unittest.isTrue); unittest.expect(o.supportsImport, unittest.isTrue); @@ -509,27 +509,27 @@ buildCounterApp--; } -buildUnnamed1108() { +buildUnnamed1086() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1108(core.List<core.String> o) { +checkUnnamed1086(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1109() { +buildUnnamed1087() { var o = new core.List<api.App>(); o.add(buildApp()); o.add(buildApp()); return o; } -checkUnnamed1109(core.List<api.App> o) { +checkUnnamed1087(core.List<api.App> o) { unittest.expect(o, unittest.hasLength(2)); checkApp(o[0]); checkApp(o[1]); @@ -540,9 +540,9 @@ var o = new api.AppList(); buildCounterAppList++; if (buildCounterAppList < 3) { - o.defaultAppIds = buildUnnamed1108(); + o.defaultAppIds = buildUnnamed1086(); o.etag = "foo"; - o.items = buildUnnamed1109(); + o.items = buildUnnamed1087(); o.kind = "foo"; o.selfLink = "foo"; } @@ -553,9 +553,9 @@ checkAppList(api.AppList o) { buildCounterAppList++; if (buildCounterAppList < 3) { - checkUnnamed1108(o.defaultAppIds); + checkUnnamed1086(o.defaultAppIds); unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1109(o.items); + checkUnnamed1087(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); } @@ -593,14 +593,14 @@ buildCounterChange--; } -buildUnnamed1110() { +buildUnnamed1088() { var o = new core.List<api.Change>(); o.add(buildChange()); o.add(buildChange()); return o; } -checkUnnamed1110(core.List<api.Change> o) { +checkUnnamed1088(core.List<api.Change> o) { unittest.expect(o, unittest.hasLength(2)); checkChange(o[0]); checkChange(o[1]); @@ -612,7 +612,7 @@ buildCounterChangeList++; if (buildCounterChangeList < 3) { o.etag = "foo"; - o.items = buildUnnamed1110(); + o.items = buildUnnamed1088(); o.kind = "foo"; o.largestChangeId = "foo"; o.nextLink = "foo"; @@ -627,7 +627,7 @@ buildCounterChangeList++; if (buildCounterChangeList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1110(o.items); + checkUnnamed1088(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.largestChangeId, unittest.equals('foo')); unittest.expect(o.nextLink, unittest.equals('foo')); @@ -637,14 +637,14 @@ buildCounterChangeList--; } -buildUnnamed1111() { +buildUnnamed1089() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed1111(core.Map<core.String, core.String> o) { +checkUnnamed1089(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); @@ -659,7 +659,7 @@ o.expiration = "foo"; o.id = "foo"; o.kind = "foo"; - o.params = buildUnnamed1111(); + o.params = buildUnnamed1089(); o.payload = true; o.resourceId = "foo"; o.resourceUri = "foo"; @@ -677,7 +677,7 @@ unittest.expect(o.expiration, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed1111(o.params); + checkUnnamed1089(o.params); unittest.expect(o.payload, unittest.isTrue); unittest.expect(o.resourceId, unittest.equals('foo')); unittest.expect(o.resourceUri, unittest.equals('foo')); @@ -687,14 +687,14 @@ buildCounterChannel--; } -buildUnnamed1112() { +buildUnnamed1090() { var o = new core.List<api.ChildReference>(); o.add(buildChildReference()); o.add(buildChildReference()); return o; } -checkUnnamed1112(core.List<api.ChildReference> o) { +checkUnnamed1090(core.List<api.ChildReference> o) { unittest.expect(o, unittest.hasLength(2)); checkChildReference(o[0]); checkChildReference(o[1]); @@ -706,7 +706,7 @@ buildCounterChildList++; if (buildCounterChildList < 3) { o.etag = "foo"; - o.items = buildUnnamed1112(); + o.items = buildUnnamed1090(); o.kind = "foo"; o.nextLink = "foo"; o.nextPageToken = "foo"; @@ -720,7 +720,7 @@ buildCounterChildList++; if (buildCounterChildList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1112(o.items); + checkUnnamed1090(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextLink, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -775,14 +775,14 @@ buildCounterCommentContext--; } -buildUnnamed1113() { +buildUnnamed1091() { var o = new core.List<api.CommentReply>(); o.add(buildCommentReply()); o.add(buildCommentReply()); return o; } -checkUnnamed1113(core.List<api.CommentReply> o) { +checkUnnamed1091(core.List<api.CommentReply> o) { unittest.expect(o, unittest.hasLength(2)); checkCommentReply(o[0]); checkCommentReply(o[1]); @@ -805,7 +805,7 @@ o.htmlContent = "foo"; o.kind = "foo"; o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); - o.replies = buildUnnamed1113(); + o.replies = buildUnnamed1091(); o.selfLink = "foo"; o.status = "foo"; } @@ -828,21 +828,21 @@ unittest.expect(o.htmlContent, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - checkUnnamed1113(o.replies); + checkUnnamed1091(o.replies); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.status, unittest.equals('foo')); } buildCounterComment--; } -buildUnnamed1114() { +buildUnnamed1092() { var o = new core.List<api.Comment>(); o.add(buildComment()); o.add(buildComment()); return o; } -checkUnnamed1114(core.List<api.Comment> o) { +checkUnnamed1092(core.List<api.Comment> o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -853,7 +853,7 @@ var o = new api.CommentList(); buildCounterCommentList++; if (buildCounterCommentList < 3) { - o.items = buildUnnamed1114(); + o.items = buildUnnamed1092(); o.kind = "foo"; o.nextLink = "foo"; o.nextPageToken = "foo"; @@ -866,7 +866,7 @@ checkCommentList(api.CommentList o) { buildCounterCommentList++; if (buildCounterCommentList < 3) { - checkUnnamed1114(o.items); + checkUnnamed1092(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextLink, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -910,14 +910,14 @@ buildCounterCommentReply--; } -buildUnnamed1115() { +buildUnnamed1093() { var o = new core.List<api.CommentReply>(); o.add(buildCommentReply()); o.add(buildCommentReply()); return o; } -checkUnnamed1115(core.List<api.CommentReply> o) { +checkUnnamed1093(core.List<api.CommentReply> o) { unittest.expect(o, unittest.hasLength(2)); checkCommentReply(o[0]); checkCommentReply(o[1]); @@ -928,7 +928,7 @@ var o = new api.CommentReplyList(); buildCounterCommentReplyList++; if (buildCounterCommentReplyList < 3) { - o.items = buildUnnamed1115(); + o.items = buildUnnamed1093(); o.kind = "foo"; o.nextLink = "foo"; o.nextPageToken = "foo"; @@ -941,7 +941,7 @@ checkCommentReplyList(api.CommentReplyList o) { buildCounterCommentReplyList++; if (buildCounterCommentReplyList < 3) { - checkUnnamed1115(o.items); + checkUnnamed1093(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextLink, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -950,14 +950,14 @@ buildCounterCommentReplyList--; } -buildUnnamed1116() { +buildUnnamed1094() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed1116(core.Map<core.String, core.String> o) { +checkUnnamed1094(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); @@ -1091,79 +1091,79 @@ buildCounterFileLabels--; } -buildUnnamed1117() { +buildUnnamed1095() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed1117(core.Map<core.String, core.String> o) { +checkUnnamed1095(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); } -buildUnnamed1118() { +buildUnnamed1096() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1118(core.List<core.String> o) { +checkUnnamed1096(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1119() { +buildUnnamed1097() { var o = new core.List<api.User>(); o.add(buildUser()); o.add(buildUser()); return o; } -checkUnnamed1119(core.List<api.User> o) { +checkUnnamed1097(core.List<api.User> o) { unittest.expect(o, unittest.hasLength(2)); checkUser(o[0]); checkUser(o[1]); } -buildUnnamed1120() { +buildUnnamed1098() { var o = new core.List<api.ParentReference>(); o.add(buildParentReference()); o.add(buildParentReference()); return o; } -checkUnnamed1120(core.List<api.ParentReference> o) { +checkUnnamed1098(core.List<api.ParentReference> o) { unittest.expect(o, unittest.hasLength(2)); checkParentReference(o[0]); checkParentReference(o[1]); } -buildUnnamed1121() { +buildUnnamed1099() { var o = new core.List<api.Permission>(); o.add(buildPermission()); o.add(buildPermission()); return o; } -checkUnnamed1121(core.List<api.Permission> o) { +checkUnnamed1099(core.List<api.Permission> o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); } -buildUnnamed1122() { +buildUnnamed1100() { var o = new core.List<api.Property>(); o.add(buildProperty()); o.add(buildProperty()); return o; } -checkUnnamed1122(core.List<api.Property> o) { +checkUnnamed1100(core.List<api.Property> o) { unittest.expect(o, unittest.hasLength(2)); checkProperty(o[0]); checkProperty(o[1]); @@ -1229,7 +1229,7 @@ o.embedLink = "foo"; o.etag = "foo"; o.explicitlyTrashed = true; - o.exportLinks = buildUnnamed1116(); + o.exportLinks = buildUnnamed1094(); o.fileExtension = "foo"; o.fileSize = "foo"; o.headRevisionId = "foo"; @@ -1247,13 +1247,13 @@ o.mimeType = "foo"; o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); - o.openWithLinks = buildUnnamed1117(); + o.openWithLinks = buildUnnamed1095(); o.originalFilename = "foo"; - o.ownerNames = buildUnnamed1118(); - o.owners = buildUnnamed1119(); - o.parents = buildUnnamed1120(); - o.permissions = buildUnnamed1121(); - o.properties = buildUnnamed1122(); + o.ownerNames = buildUnnamed1096(); + o.owners = buildUnnamed1097(); + o.parents = buildUnnamed1098(); + o.permissions = buildUnnamed1099(); + o.properties = buildUnnamed1100(); o.quotaBytesUsed = "foo"; o.selfLink = "foo"; o.shared = true; @@ -1287,7 +1287,7 @@ unittest.expect(o.embedLink, unittest.equals('foo')); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.explicitlyTrashed, unittest.isTrue); - checkUnnamed1116(o.exportLinks); + checkUnnamed1094(o.exportLinks); unittest.expect(o.fileExtension, unittest.equals('foo')); unittest.expect(o.fileSize, unittest.equals('foo')); unittest.expect(o.headRevisionId, unittest.equals('foo')); @@ -1305,13 +1305,13 @@ unittest.expect(o.mimeType, unittest.equals('foo')); unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - checkUnnamed1117(o.openWithLinks); + checkUnnamed1095(o.openWithLinks); unittest.expect(o.originalFilename, unittest.equals('foo')); - checkUnnamed1118(o.ownerNames); - checkUnnamed1119(o.owners); - checkUnnamed1120(o.parents); - checkUnnamed1121(o.permissions); - checkUnnamed1122(o.properties); + checkUnnamed1096(o.ownerNames); + checkUnnamed1097(o.owners); + checkUnnamed1098(o.parents); + checkUnnamed1099(o.permissions); + checkUnnamed1100(o.properties); unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.shared, unittest.isTrue); @@ -1330,14 +1330,14 @@ buildCounterFile--; } -buildUnnamed1123() { +buildUnnamed1101() { var o = new core.List<api.File>(); o.add(buildFile()); o.add(buildFile()); return o; } -checkUnnamed1123(core.List<api.File> o) { +checkUnnamed1101(core.List<api.File> o) { unittest.expect(o, unittest.hasLength(2)); checkFile(o[0]); checkFile(o[1]); @@ -1349,7 +1349,7 @@ buildCounterFileList++; if (buildCounterFileList < 3) { o.etag = "foo"; - o.items = buildUnnamed1123(); + o.items = buildUnnamed1101(); o.kind = "foo"; o.nextLink = "foo"; o.nextPageToken = "foo"; @@ -1363,7 +1363,7 @@ buildCounterFileList++; if (buildCounterFileList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1123(o.items); + checkUnnamed1101(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextLink, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -1372,14 +1372,14 @@ buildCounterFileList--; } -buildUnnamed1124() { +buildUnnamed1102() { var o = new core.List<api.ParentReference>(); o.add(buildParentReference()); o.add(buildParentReference()); return o; } -checkUnnamed1124(core.List<api.ParentReference> o) { +checkUnnamed1102(core.List<api.ParentReference> o) { unittest.expect(o, unittest.hasLength(2)); checkParentReference(o[0]); checkParentReference(o[1]); @@ -1391,7 +1391,7 @@ buildCounterParentList++; if (buildCounterParentList < 3) { o.etag = "foo"; - o.items = buildUnnamed1124(); + o.items = buildUnnamed1102(); o.kind = "foo"; o.selfLink = "foo"; } @@ -1403,7 +1403,7 @@ buildCounterParentList++; if (buildCounterParentList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1124(o.items); + checkUnnamed1102(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); } @@ -1437,14 +1437,14 @@ buildCounterParentReference--; } -buildUnnamed1125() { +buildUnnamed1103() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1125(core.List<core.String> o) { +checkUnnamed1103(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1455,7 +1455,7 @@ var o = new api.Permission(); buildCounterPermission++; if (buildCounterPermission < 3) { - o.additionalRoles = buildUnnamed1125(); + o.additionalRoles = buildUnnamed1103(); o.authKey = "foo"; o.domain = "foo"; o.emailAddress = "foo"; @@ -1477,7 +1477,7 @@ checkPermission(api.Permission o) { buildCounterPermission++; if (buildCounterPermission < 3) { - checkUnnamed1125(o.additionalRoles); + checkUnnamed1103(o.additionalRoles); unittest.expect(o.authKey, unittest.equals('foo')); unittest.expect(o.domain, unittest.equals('foo')); unittest.expect(o.emailAddress, unittest.equals('foo')); @@ -1516,14 +1516,14 @@ buildCounterPermissionId--; } -buildUnnamed1126() { +buildUnnamed1104() { var o = new core.List<api.Permission>(); o.add(buildPermission()); o.add(buildPermission()); return o; } -checkUnnamed1126(core.List<api.Permission> o) { +checkUnnamed1104(core.List<api.Permission> o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); @@ -1535,7 +1535,7 @@ buildCounterPermissionList++; if (buildCounterPermissionList < 3) { o.etag = "foo"; - o.items = buildUnnamed1126(); + o.items = buildUnnamed1104(); o.kind = "foo"; o.selfLink = "foo"; } @@ -1547,7 +1547,7 @@ buildCounterPermissionList++; if (buildCounterPermissionList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1126(o.items); + checkUnnamed1104(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); } @@ -1583,14 +1583,14 @@ buildCounterProperty--; } -buildUnnamed1127() { +buildUnnamed1105() { var o = new core.List<api.Property>(); o.add(buildProperty()); o.add(buildProperty()); return o; } -checkUnnamed1127(core.List<api.Property> o) { +checkUnnamed1105(core.List<api.Property> o) { unittest.expect(o, unittest.hasLength(2)); checkProperty(o[0]); checkProperty(o[1]); @@ -1602,7 +1602,7 @@ buildCounterPropertyList++; if (buildCounterPropertyList < 3) { o.etag = "foo"; - o.items = buildUnnamed1127(); + o.items = buildUnnamed1105(); o.kind = "foo"; o.selfLink = "foo"; } @@ -1614,21 +1614,21 @@ buildCounterPropertyList++; if (buildCounterPropertyList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1127(o.items); + checkUnnamed1105(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); } buildCounterPropertyList--; } -buildUnnamed1128() { +buildUnnamed1106() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed1128(core.Map<core.String, core.String> o) { +checkUnnamed1106(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); @@ -1641,7 +1641,7 @@ if (buildCounterRevision < 3) { o.downloadUrl = "foo"; o.etag = "foo"; - o.exportLinks = buildUnnamed1128(); + o.exportLinks = buildUnnamed1106(); o.fileSize = "foo"; o.id = "foo"; o.kind = "foo"; @@ -1667,7 +1667,7 @@ if (buildCounterRevision < 3) { unittest.expect(o.downloadUrl, unittest.equals('foo')); unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1128(o.exportLinks); + checkUnnamed1106(o.exportLinks); unittest.expect(o.fileSize, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); @@ -1687,14 +1687,14 @@ buildCounterRevision--; } -buildUnnamed1129() { +buildUnnamed1107() { var o = new core.List<api.Revision>(); o.add(buildRevision()); o.add(buildRevision()); return o; } -checkUnnamed1129(core.List<api.Revision> o) { +checkUnnamed1107(core.List<api.Revision> o) { unittest.expect(o, unittest.hasLength(2)); checkRevision(o[0]); checkRevision(o[1]); @@ -1706,7 +1706,7 @@ buildCounterRevisionList++; if (buildCounterRevisionList < 3) { o.etag = "foo"; - o.items = buildUnnamed1129(); + o.items = buildUnnamed1107(); o.kind = "foo"; o.selfLink = "foo"; } @@ -1718,7 +1718,7 @@ buildCounterRevisionList++; if (buildCounterRevisionList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1129(o.items); + checkUnnamed1107(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); }
diff --git a/generated/googleapis/test/freebase/v1_test.dart b/generated/googleapis/test/freebase/v1_test.dart index fcbedf4..1971e66 100644 --- a/generated/googleapis/test/freebase/v1_test.dart +++ b/generated/googleapis/test/freebase/v1_test.dart
@@ -64,14 +64,14 @@ buildCounterReconcileCandidate--; } -buildUnnamed1052() { +buildUnnamed1030() { var o = new core.List<api.ReconcileCandidate>(); o.add(buildReconcileCandidate()); o.add(buildReconcileCandidate()); return o; } -checkUnnamed1052(core.List<api.ReconcileCandidate> o) { +checkUnnamed1030(core.List<api.ReconcileCandidate> o) { unittest.expect(o, unittest.hasLength(2)); checkReconcileCandidate(o[0]); checkReconcileCandidate(o[1]); @@ -121,14 +121,14 @@ buildCounterReconcileGetWarning--; } -buildUnnamed1053() { +buildUnnamed1031() { var o = new core.List<api.ReconcileGetWarning>(); o.add(buildReconcileGetWarning()); o.add(buildReconcileGetWarning()); return o; } -checkUnnamed1053(core.List<api.ReconcileGetWarning> o) { +checkUnnamed1031(core.List<api.ReconcileGetWarning> o) { unittest.expect(o, unittest.hasLength(2)); checkReconcileGetWarning(o[0]); checkReconcileGetWarning(o[1]); @@ -139,10 +139,10 @@ var o = new api.ReconcileGet(); buildCounterReconcileGet++; if (buildCounterReconcileGet < 3) { - o.candidate = buildUnnamed1052(); + o.candidate = buildUnnamed1030(); o.costs = buildReconcileGetCosts(); o.match = buildReconcileCandidate(); - o.warning = buildUnnamed1053(); + o.warning = buildUnnamed1031(); } buildCounterReconcileGet--; return o; @@ -151,139 +151,139 @@ checkReconcileGet(api.ReconcileGet o) { buildCounterReconcileGet++; if (buildCounterReconcileGet < 3) { - checkUnnamed1052(o.candidate); + checkUnnamed1030(o.candidate); checkReconcileGetCosts(o.costs); checkReconcileCandidate(o.match); - checkUnnamed1053(o.warning); + checkUnnamed1031(o.warning); } buildCounterReconcileGet--; } -buildUnnamed1054() { +buildUnnamed1032() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1054(core.List<core.String> o) { +checkUnnamed1032(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1055() { +buildUnnamed1033() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1055(core.List<core.String> o) { +checkUnnamed1033(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1056() { +buildUnnamed1034() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1056(core.List<core.String> o) { +checkUnnamed1034(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1057() { +buildUnnamed1035() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1057(core.List<core.String> o) { +checkUnnamed1035(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1058() { +buildUnnamed1036() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1058(core.List<core.String> o) { +checkUnnamed1036(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1059() { +buildUnnamed1037() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1059(core.List<core.String> o) { +checkUnnamed1037(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1060() { +buildUnnamed1038() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1060(core.List<core.String> o) { +checkUnnamed1038(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1061() { +buildUnnamed1039() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1061(core.List<core.String> o) { +checkUnnamed1039(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1062() { +buildUnnamed1040() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1062(core.List<core.String> o) { +checkUnnamed1040(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1063() { +buildUnnamed1041() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1063(core.List<core.String> o) { +checkUnnamed1041(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -342,11 +342,11 @@ var mock = new common_test.HttpServerMock(); api.FreebaseApi res = new api.FreebaseApi(mock); var arg_confidence = 42.0; - var arg_kind = buildUnnamed1054(); - var arg_lang = buildUnnamed1055(); + var arg_kind = buildUnnamed1032(); + var arg_lang = buildUnnamed1033(); var arg_limit = 42; var arg_name = "foo"; - var arg_prop = buildUnnamed1056(); + var arg_prop = buildUnnamed1034(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0; @@ -403,16 +403,16 @@ var arg_asOfTime = "foo"; var arg_callback = "foo"; var arg_cursor = 42; - var arg_domain = buildUnnamed1057(); + var arg_domain = buildUnnamed1035(); var arg_encode = "foo"; var arg_exact = true; - var arg_filter = buildUnnamed1058(); + var arg_filter = buildUnnamed1036(); var arg_format = "foo"; var arg_help = "foo"; var arg_indent = true; - var arg_lang = buildUnnamed1059(); + var arg_lang = buildUnnamed1037(); var arg_limit = 42; - var arg_mid = buildUnnamed1060(); + var arg_mid = buildUnnamed1038(); var arg_mqlOutput = "foo"; var arg_output = "foo"; var arg_prefixed = true; @@ -420,9 +420,9 @@ var arg_scoring = "foo"; var arg_spell = "foo"; var arg_stemmed = true; - var arg_type = buildUnnamed1061(); - var arg_with_ = buildUnnamed1062(); - var arg_without = buildUnnamed1063(); + var arg_type = buildUnnamed1039(); + var arg_with_ = buildUnnamed1040(); + var arg_without = buildUnnamed1041(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0;
diff --git a/generated/googleapis/test/fusiontables/v1_test.dart b/generated/googleapis/test/fusiontables/v1_test.dart index d7b8aa0..cedab47 100644 --- a/generated/googleapis/test/fusiontables/v1_test.dart +++ b/generated/googleapis/test/fusiontables/v1_test.dart
@@ -97,14 +97,14 @@ buildCounterColumn--; } -buildUnnamed275() { +buildUnnamed249() { var o = new core.List<api.Column>(); o.add(buildColumn()); o.add(buildColumn()); return o; } -checkUnnamed275(core.List<api.Column> o) { +checkUnnamed249(core.List<api.Column> o) { unittest.expect(o, unittest.hasLength(2)); checkColumn(o[0]); checkColumn(o[1]); @@ -115,7 +115,7 @@ var o = new api.ColumnList(); buildCounterColumnList++; if (buildCounterColumnList < 3) { - o.items = buildUnnamed275(); + o.items = buildUnnamed249(); o.kind = "foo"; o.nextPageToken = "foo"; o.totalItems = 42; @@ -127,7 +127,7 @@ checkColumnList(api.ColumnList o) { buildCounterColumnList++; if (buildCounterColumnList < 3) { - checkUnnamed275(o.items); + checkUnnamed249(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42)); @@ -135,14 +135,14 @@ buildCounterColumnList--; } -buildUnnamed276() { +buildUnnamed250() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed276(core.List<core.Object> o) { +checkUnnamed250(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); @@ -153,7 +153,7 @@ var o = new api.Geometry(); buildCounterGeometry++; if (buildCounterGeometry < 3) { - o.geometries = buildUnnamed276(); + o.geometries = buildUnnamed250(); o.geometry = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; o.type = "foo"; } @@ -164,7 +164,7 @@ checkGeometry(api.Geometry o) { buildCounterGeometry++; if (buildCounterGeometry < 3) { - checkUnnamed276(o.geometries); + checkUnnamed250(o.geometries); var casted3 = (o.geometry) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo')); unittest.expect(o.type, unittest.equals('foo')); } @@ -192,30 +192,30 @@ buildCounterImport--; } -buildUnnamed277() { +buildUnnamed251() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed277(core.List<core.double> o) { +checkUnnamed251(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); } -buildUnnamed278() { +buildUnnamed252() { var o = new core.List<core.List<core.double>>(); - o.add(buildUnnamed277()); - o.add(buildUnnamed277()); + o.add(buildUnnamed251()); + o.add(buildUnnamed251()); return o; } -checkUnnamed278(core.List<core.List<core.double>> o) { +checkUnnamed252(core.List<core.List<core.double>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed277(o[0]); - checkUnnamed277(o[1]); + checkUnnamed251(o[0]); + checkUnnamed251(o[1]); } core.int buildCounterLine = 0; @@ -223,7 +223,7 @@ var o = new api.Line(); buildCounterLine++; if (buildCounterLine < 3) { - o.coordinates = buildUnnamed278(); + o.coordinates = buildUnnamed252(); o.type = "foo"; } buildCounterLine--; @@ -233,7 +233,7 @@ checkLine(api.Line o) { buildCounterLine++; if (buildCounterLine < 3) { - checkUnnamed278(o.coordinates); + checkUnnamed252(o.coordinates); unittest.expect(o.type, unittest.equals('foo')); } buildCounterLine--; @@ -266,14 +266,14 @@ buildCounterLineStyle--; } -buildUnnamed279() { +buildUnnamed253() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed279(core.List<core.double> o) { +checkUnnamed253(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); @@ -284,7 +284,7 @@ var o = new api.Point(); buildCounterPoint++; if (buildCounterPoint < 3) { - o.coordinates = buildUnnamed279(); + o.coordinates = buildUnnamed253(); o.type = "foo"; } buildCounterPoint--; @@ -294,7 +294,7 @@ checkPoint(api.Point o) { buildCounterPoint++; if (buildCounterPoint < 3) { - checkUnnamed279(o.coordinates); + checkUnnamed253(o.coordinates); unittest.expect(o.type, unittest.equals('foo')); } buildCounterPoint--; @@ -321,43 +321,43 @@ buildCounterPointStyle--; } -buildUnnamed280() { +buildUnnamed254() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed280(core.List<core.double> o) { +checkUnnamed254(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); } -buildUnnamed281() { +buildUnnamed255() { var o = new core.List<core.List<core.double>>(); - o.add(buildUnnamed280()); - o.add(buildUnnamed280()); + o.add(buildUnnamed254()); + o.add(buildUnnamed254()); return o; } -checkUnnamed281(core.List<core.List<core.double>> o) { +checkUnnamed255(core.List<core.List<core.double>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed280(o[0]); - checkUnnamed280(o[1]); + checkUnnamed254(o[0]); + checkUnnamed254(o[1]); } -buildUnnamed282() { +buildUnnamed256() { var o = new core.List<core.List<core.List<core.double>>>(); - o.add(buildUnnamed281()); - o.add(buildUnnamed281()); + o.add(buildUnnamed255()); + o.add(buildUnnamed255()); return o; } -checkUnnamed282(core.List<core.List<core.List<core.double>>> o) { +checkUnnamed256(core.List<core.List<core.List<core.double>>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed281(o[0]); - checkUnnamed281(o[1]); + checkUnnamed255(o[0]); + checkUnnamed255(o[1]); } core.int buildCounterPolygon = 0; @@ -365,7 +365,7 @@ var o = new api.Polygon(); buildCounterPolygon++; if (buildCounterPolygon < 3) { - o.coordinates = buildUnnamed282(); + o.coordinates = buildUnnamed256(); o.type = "foo"; } buildCounterPolygon--; @@ -375,7 +375,7 @@ checkPolygon(api.Polygon o) { buildCounterPolygon++; if (buildCounterPolygon < 3) { - checkUnnamed282(o.coordinates); + checkUnnamed256(o.coordinates); unittest.expect(o.type, unittest.equals('foo')); } buildCounterPolygon--; @@ -414,43 +414,43 @@ buildCounterPolygonStyle--; } -buildUnnamed283() { +buildUnnamed257() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed283(core.List<core.String> o) { +checkUnnamed257(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed284() { +buildUnnamed258() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed284(core.List<core.Object> o) { +checkUnnamed258(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted4 = (o[0]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo')); var casted5 = (o[1]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo')); } -buildUnnamed285() { +buildUnnamed259() { var o = new core.List<core.List<core.Object>>(); - o.add(buildUnnamed284()); - o.add(buildUnnamed284()); + o.add(buildUnnamed258()); + o.add(buildUnnamed258()); return o; } -checkUnnamed285(core.List<core.List<core.Object>> o) { +checkUnnamed259(core.List<core.List<core.Object>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed284(o[0]); - checkUnnamed284(o[1]); + checkUnnamed258(o[0]); + checkUnnamed258(o[1]); } core.int buildCounterSqlresponse = 0; @@ -458,9 +458,9 @@ var o = new api.Sqlresponse(); buildCounterSqlresponse++; if (buildCounterSqlresponse < 3) { - o.columns = buildUnnamed283(); + o.columns = buildUnnamed257(); o.kind = "foo"; - o.rows = buildUnnamed285(); + o.rows = buildUnnamed259(); } buildCounterSqlresponse--; return o; @@ -469,21 +469,21 @@ checkSqlresponse(api.Sqlresponse o) { buildCounterSqlresponse++; if (buildCounterSqlresponse < 3) { - checkUnnamed283(o.columns); + checkUnnamed257(o.columns); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed285(o.rows); + checkUnnamed259(o.rows); } buildCounterSqlresponse--; } -buildUnnamed286() { +buildUnnamed260() { var o = new core.List<api.Bucket>(); o.add(buildBucket()); o.add(buildBucket()); return o; } -checkUnnamed286(core.List<api.Bucket> o) { +checkUnnamed260(core.List<api.Bucket> o) { unittest.expect(o, unittest.hasLength(2)); checkBucket(o[0]); checkBucket(o[1]); @@ -510,14 +510,14 @@ buildCounterStyleFunctionGradientColors--; } -buildUnnamed287() { +buildUnnamed261() { var o = new core.List<api.StyleFunctionGradientColors>(); o.add(buildStyleFunctionGradientColors()); o.add(buildStyleFunctionGradientColors()); return o; } -checkUnnamed287(core.List<api.StyleFunctionGradientColors> o) { +checkUnnamed261(core.List<api.StyleFunctionGradientColors> o) { unittest.expect(o, unittest.hasLength(2)); checkStyleFunctionGradientColors(o[0]); checkStyleFunctionGradientColors(o[1]); @@ -528,7 +528,7 @@ var o = new api.StyleFunctionGradient(); buildCounterStyleFunctionGradient++; if (buildCounterStyleFunctionGradient < 3) { - o.colors = buildUnnamed287(); + o.colors = buildUnnamed261(); o.max = 42.0; o.min = 42.0; } @@ -539,7 +539,7 @@ checkStyleFunctionGradient(api.StyleFunctionGradient o) { buildCounterStyleFunctionGradient++; if (buildCounterStyleFunctionGradient < 3) { - checkUnnamed287(o.colors); + checkUnnamed261(o.colors); unittest.expect(o.max, unittest.equals(42.0)); unittest.expect(o.min, unittest.equals(42.0)); } @@ -551,7 +551,7 @@ var o = new api.StyleFunction(); buildCounterStyleFunction++; if (buildCounterStyleFunction < 3) { - o.buckets = buildUnnamed286(); + o.buckets = buildUnnamed260(); o.columnName = "foo"; o.gradient = buildStyleFunctionGradient(); o.kind = "foo"; @@ -563,7 +563,7 @@ checkStyleFunction(api.StyleFunction o) { buildCounterStyleFunction++; if (buildCounterStyleFunction < 3) { - checkUnnamed286(o.buckets); + checkUnnamed260(o.buckets); unittest.expect(o.columnName, unittest.equals('foo')); checkStyleFunctionGradient(o.gradient); unittest.expect(o.kind, unittest.equals('foo')); @@ -602,14 +602,14 @@ buildCounterStyleSetting--; } -buildUnnamed288() { +buildUnnamed262() { var o = new core.List<api.StyleSetting>(); o.add(buildStyleSetting()); o.add(buildStyleSetting()); return o; } -checkUnnamed288(core.List<api.StyleSetting> o) { +checkUnnamed262(core.List<api.StyleSetting> o) { unittest.expect(o, unittest.hasLength(2)); checkStyleSetting(o[0]); checkStyleSetting(o[1]); @@ -620,7 +620,7 @@ var o = new api.StyleSettingList(); buildCounterStyleSettingList++; if (buildCounterStyleSettingList < 3) { - o.items = buildUnnamed288(); + o.items = buildUnnamed262(); o.kind = "foo"; o.nextPageToken = "foo"; o.totalItems = 42; @@ -632,7 +632,7 @@ checkStyleSettingList(api.StyleSettingList o) { buildCounterStyleSettingList++; if (buildCounterStyleSettingList < 3) { - checkUnnamed288(o.items); + checkUnnamed262(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42)); @@ -640,27 +640,27 @@ buildCounterStyleSettingList--; } -buildUnnamed289() { +buildUnnamed263() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed289(core.List<core.String> o) { +checkUnnamed263(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed290() { +buildUnnamed264() { var o = new core.List<api.Column>(); o.add(buildColumn()); o.add(buildColumn()); return o; } -checkUnnamed290(core.List<api.Column> o) { +checkUnnamed264(core.List<api.Column> o) { unittest.expect(o, unittest.hasLength(2)); checkColumn(o[0]); checkColumn(o[1]); @@ -673,8 +673,8 @@ if (buildCounterTable < 3) { o.attribution = "foo"; o.attributionLink = "foo"; - o.baseTableIds = buildUnnamed289(); - o.columns = buildUnnamed290(); + o.baseTableIds = buildUnnamed263(); + o.columns = buildUnnamed264(); o.description = "foo"; o.isExportable = true; o.kind = "foo"; @@ -691,8 +691,8 @@ if (buildCounterTable < 3) { unittest.expect(o.attribution, unittest.equals('foo')); unittest.expect(o.attributionLink, unittest.equals('foo')); - checkUnnamed289(o.baseTableIds); - checkUnnamed290(o.columns); + checkUnnamed263(o.baseTableIds); + checkUnnamed264(o.columns); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.isExportable, unittest.isTrue); unittest.expect(o.kind, unittest.equals('foo')); @@ -703,14 +703,14 @@ buildCounterTable--; } -buildUnnamed291() { +buildUnnamed265() { var o = new core.List<api.Table>(); o.add(buildTable()); o.add(buildTable()); return o; } -checkUnnamed291(core.List<api.Table> o) { +checkUnnamed265(core.List<api.Table> o) { unittest.expect(o, unittest.hasLength(2)); checkTable(o[0]); checkTable(o[1]); @@ -721,7 +721,7 @@ var o = new api.TableList(); buildCounterTableList++; if (buildCounterTableList < 3) { - o.items = buildUnnamed291(); + o.items = buildUnnamed265(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -732,7 +732,7 @@ checkTableList(api.TableList o) { buildCounterTableList++; if (buildCounterTableList < 3) { - checkUnnamed291(o.items); + checkUnnamed265(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -766,14 +766,14 @@ buildCounterTask--; } -buildUnnamed292() { +buildUnnamed266() { var o = new core.List<api.Task>(); o.add(buildTask()); o.add(buildTask()); return o; } -checkUnnamed292(core.List<api.Task> o) { +checkUnnamed266(core.List<api.Task> o) { unittest.expect(o, unittest.hasLength(2)); checkTask(o[0]); checkTask(o[1]); @@ -784,7 +784,7 @@ var o = new api.TaskList(); buildCounterTaskList++; if (buildCounterTaskList < 3) { - o.items = buildUnnamed292(); + o.items = buildUnnamed266(); o.kind = "foo"; o.nextPageToken = "foo"; o.totalItems = 42; @@ -796,7 +796,7 @@ checkTaskList(api.TaskList o) { buildCounterTaskList++; if (buildCounterTaskList < 3) { - checkUnnamed292(o.items); + checkUnnamed266(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42)); @@ -804,14 +804,14 @@ buildCounterTaskList--; } -buildUnnamed293() { +buildUnnamed267() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed293(core.List<core.String> o) { +checkUnnamed267(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -822,7 +822,7 @@ var o = new api.Template(); buildCounterTemplate++; if (buildCounterTemplate < 3) { - o.automaticColumnNames = buildUnnamed293(); + o.automaticColumnNames = buildUnnamed267(); o.body = "foo"; o.kind = "foo"; o.name = "foo"; @@ -836,7 +836,7 @@ checkTemplate(api.Template o) { buildCounterTemplate++; if (buildCounterTemplate < 3) { - checkUnnamed293(o.automaticColumnNames); + checkUnnamed267(o.automaticColumnNames); unittest.expect(o.body, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); @@ -846,14 +846,14 @@ buildCounterTemplate--; } -buildUnnamed294() { +buildUnnamed268() { var o = new core.List<api.Template>(); o.add(buildTemplate()); o.add(buildTemplate()); return o; } -checkUnnamed294(core.List<api.Template> o) { +checkUnnamed268(core.List<api.Template> o) { unittest.expect(o, unittest.hasLength(2)); checkTemplate(o[0]); checkTemplate(o[1]); @@ -864,7 +864,7 @@ var o = new api.TemplateList(); buildCounterTemplateList++; if (buildCounterTemplateList < 3) { - o.items = buildUnnamed294(); + o.items = buildUnnamed268(); o.kind = "foo"; o.nextPageToken = "foo"; o.totalItems = 42; @@ -876,7 +876,7 @@ checkTemplateList(api.TemplateList o) { buildCounterTemplateList++; if (buildCounterTemplateList < 3) { - checkUnnamed294(o.items); + checkUnnamed268(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42));
diff --git a/generated/googleapis/test/games/v1_test.dart b/generated/googleapis/test/games/v1_test.dart index 52cd71e..35cc3e7 100644 --- a/generated/googleapis/test/games/v1_test.dart +++ b/generated/googleapis/test/games/v1_test.dart
@@ -59,14 +59,14 @@ buildCounterAchievementDefinition--; } -buildUnnamed491() { +buildUnnamed465() { var o = new core.List<api.AchievementDefinition>(); o.add(buildAchievementDefinition()); o.add(buildAchievementDefinition()); return o; } -checkUnnamed491(core.List<api.AchievementDefinition> o) { +checkUnnamed465(core.List<api.AchievementDefinition> o) { unittest.expect(o, unittest.hasLength(2)); checkAchievementDefinition(o[0]); checkAchievementDefinition(o[1]); @@ -77,7 +77,7 @@ var o = new api.AchievementDefinitionsListResponse(); buildCounterAchievementDefinitionsListResponse++; if (buildCounterAchievementDefinitionsListResponse < 3) { - o.items = buildUnnamed491(); + o.items = buildUnnamed465(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -88,7 +88,7 @@ checkAchievementDefinitionsListResponse(api.AchievementDefinitionsListResponse o) { buildCounterAchievementDefinitionsListResponse++; if (buildCounterAchievementDefinitionsListResponse < 3) { - checkUnnamed491(o.items); + checkUnnamed465(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -183,14 +183,14 @@ buildCounterAchievementUnlockResponse--; } -buildUnnamed492() { +buildUnnamed466() { var o = new core.List<api.AchievementUpdateRequest>(); o.add(buildAchievementUpdateRequest()); o.add(buildAchievementUpdateRequest()); return o; } -checkUnnamed492(core.List<api.AchievementUpdateRequest> o) { +checkUnnamed466(core.List<api.AchievementUpdateRequest> o) { unittest.expect(o, unittest.hasLength(2)); checkAchievementUpdateRequest(o[0]); checkAchievementUpdateRequest(o[1]); @@ -202,7 +202,7 @@ buildCounterAchievementUpdateMultipleRequest++; if (buildCounterAchievementUpdateMultipleRequest < 3) { o.kind = "foo"; - o.updates = buildUnnamed492(); + o.updates = buildUnnamed466(); } buildCounterAchievementUpdateMultipleRequest--; return o; @@ -212,19 +212,19 @@ buildCounterAchievementUpdateMultipleRequest++; if (buildCounterAchievementUpdateMultipleRequest < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed492(o.updates); + checkUnnamed466(o.updates); } buildCounterAchievementUpdateMultipleRequest--; } -buildUnnamed493() { +buildUnnamed467() { var o = new core.List<api.AchievementUpdateResponse>(); o.add(buildAchievementUpdateResponse()); o.add(buildAchievementUpdateResponse()); return o; } -checkUnnamed493(core.List<api.AchievementUpdateResponse> o) { +checkUnnamed467(core.List<api.AchievementUpdateResponse> o) { unittest.expect(o, unittest.hasLength(2)); checkAchievementUpdateResponse(o[0]); checkAchievementUpdateResponse(o[1]); @@ -236,7 +236,7 @@ buildCounterAchievementUpdateMultipleResponse++; if (buildCounterAchievementUpdateMultipleResponse < 3) { o.kind = "foo"; - o.updatedAchievements = buildUnnamed493(); + o.updatedAchievements = buildUnnamed467(); } buildCounterAchievementUpdateMultipleResponse--; return o; @@ -246,7 +246,7 @@ buildCounterAchievementUpdateMultipleResponse++; if (buildCounterAchievementUpdateMultipleResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed493(o.updatedAchievements); + checkUnnamed467(o.updatedAchievements); } buildCounterAchievementUpdateMultipleResponse--; } @@ -357,40 +357,40 @@ buildCounterAnonymousPlayer--; } -buildUnnamed494() { +buildUnnamed468() { var o = new core.List<api.ImageAsset>(); o.add(buildImageAsset()); o.add(buildImageAsset()); return o; } -checkUnnamed494(core.List<api.ImageAsset> o) { +checkUnnamed468(core.List<api.ImageAsset> o) { unittest.expect(o, unittest.hasLength(2)); checkImageAsset(o[0]); checkImageAsset(o[1]); } -buildUnnamed495() { +buildUnnamed469() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed495(core.List<core.String> o) { +checkUnnamed469(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed496() { +buildUnnamed470() { var o = new core.List<api.Instance>(); o.add(buildInstance()); o.add(buildInstance()); return o; } -checkUnnamed496(core.List<api.Instance> o) { +checkUnnamed470(core.List<api.Instance> o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); @@ -402,17 +402,18 @@ buildCounterApplication++; if (buildCounterApplication < 3) { o.achievementCount = 42; - o.assets = buildUnnamed494(); + o.assets = buildUnnamed468(); o.author = "foo"; o.category = buildApplicationCategory(); o.description = "foo"; - o.enabledFeatures = buildUnnamed495(); + o.enabledFeatures = buildUnnamed469(); o.id = "foo"; - o.instances = buildUnnamed496(); + o.instances = buildUnnamed470(); o.kind = "foo"; o.lastUpdatedTimestamp = "foo"; o.leaderboardCount = 42; o.name = "foo"; + o.themeColor = "foo"; } buildCounterApplication--; return o; @@ -422,17 +423,18 @@ buildCounterApplication++; if (buildCounterApplication < 3) { unittest.expect(o.achievementCount, unittest.equals(42)); - checkUnnamed494(o.assets); + checkUnnamed468(o.assets); unittest.expect(o.author, unittest.equals('foo')); checkApplicationCategory(o.category); unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed495(o.enabledFeatures); + checkUnnamed469(o.enabledFeatures); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed496(o.instances); + checkUnnamed470(o.instances); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo')); unittest.expect(o.leaderboardCount, unittest.equals(42)); unittest.expect(o.name, unittest.equals('foo')); + unittest.expect(o.themeColor, unittest.equals('foo')); } buildCounterApplication--; } @@ -483,14 +485,14 @@ buildCounterCategory--; } -buildUnnamed497() { +buildUnnamed471() { var o = new core.List<api.Category>(); o.add(buildCategory()); o.add(buildCategory()); return o; } -checkUnnamed497(core.List<api.Category> o) { +checkUnnamed471(core.List<api.Category> o) { unittest.expect(o, unittest.hasLength(2)); checkCategory(o[0]); checkCategory(o[1]); @@ -501,7 +503,7 @@ var o = new api.CategoryListResponse(); buildCounterCategoryListResponse++; if (buildCounterCategoryListResponse < 3) { - o.items = buildUnnamed497(); + o.items = buildUnnamed471(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -512,7 +514,7 @@ checkCategoryListResponse(api.CategoryListResponse o) { buildCounterCategoryListResponse++; if (buildCounterCategoryListResponse < 3) { - checkUnnamed497(o.items); + checkUnnamed471(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -563,14 +565,14 @@ buildCounterEventChild--; } -buildUnnamed498() { +buildUnnamed472() { var o = new core.List<api.EventChild>(); o.add(buildEventChild()); o.add(buildEventChild()); return o; } -checkUnnamed498(core.List<api.EventChild> o) { +checkUnnamed472(core.List<api.EventChild> o) { unittest.expect(o, unittest.hasLength(2)); checkEventChild(o[0]); checkEventChild(o[1]); @@ -581,7 +583,7 @@ var o = new api.EventDefinition(); buildCounterEventDefinition++; if (buildCounterEventDefinition < 3) { - o.childEvents = buildUnnamed498(); + o.childEvents = buildUnnamed472(); o.description = "foo"; o.displayName = "foo"; o.id = "foo"; @@ -597,7 +599,7 @@ checkEventDefinition(api.EventDefinition o) { buildCounterEventDefinition++; if (buildCounterEventDefinition < 3) { - checkUnnamed498(o.childEvents); + checkUnnamed472(o.childEvents); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.displayName, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); @@ -609,14 +611,14 @@ buildCounterEventDefinition--; } -buildUnnamed499() { +buildUnnamed473() { var o = new core.List<api.EventDefinition>(); o.add(buildEventDefinition()); o.add(buildEventDefinition()); return o; } -checkUnnamed499(core.List<api.EventDefinition> o) { +checkUnnamed473(core.List<api.EventDefinition> o) { unittest.expect(o, unittest.hasLength(2)); checkEventDefinition(o[0]); checkEventDefinition(o[1]); @@ -627,7 +629,7 @@ var o = new api.EventDefinitionListResponse(); buildCounterEventDefinitionListResponse++; if (buildCounterEventDefinitionListResponse < 3) { - o.items = buildUnnamed499(); + o.items = buildUnnamed473(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -638,7 +640,7 @@ checkEventDefinitionListResponse(api.EventDefinitionListResponse o) { buildCounterEventDefinitionListResponse++; if (buildCounterEventDefinitionListResponse < 3) { - checkUnnamed499(o.items); + checkUnnamed473(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -668,14 +670,14 @@ buildCounterEventPeriodRange--; } -buildUnnamed500() { +buildUnnamed474() { var o = new core.List<api.EventUpdateRequest>(); o.add(buildEventUpdateRequest()); o.add(buildEventUpdateRequest()); return o; } -checkUnnamed500(core.List<api.EventUpdateRequest> o) { +checkUnnamed474(core.List<api.EventUpdateRequest> o) { unittest.expect(o, unittest.hasLength(2)); checkEventUpdateRequest(o[0]); checkEventUpdateRequest(o[1]); @@ -688,7 +690,7 @@ if (buildCounterEventPeriodUpdate < 3) { o.kind = "foo"; o.timePeriod = buildEventPeriodRange(); - o.updates = buildUnnamed500(); + o.updates = buildUnnamed474(); } buildCounterEventPeriodUpdate--; return o; @@ -699,7 +701,7 @@ if (buildCounterEventPeriodUpdate < 3) { unittest.expect(o.kind, unittest.equals('foo')); checkEventPeriodRange(o.timePeriod); - checkUnnamed500(o.updates); + checkUnnamed474(o.updates); } buildCounterEventPeriodUpdate--; } @@ -727,14 +729,14 @@ buildCounterEventRecordFailure--; } -buildUnnamed501() { +buildUnnamed475() { var o = new core.List<api.EventPeriodUpdate>(); o.add(buildEventPeriodUpdate()); o.add(buildEventPeriodUpdate()); return o; } -checkUnnamed501(core.List<api.EventPeriodUpdate> o) { +checkUnnamed475(core.List<api.EventPeriodUpdate> o) { unittest.expect(o, unittest.hasLength(2)); checkEventPeriodUpdate(o[0]); checkEventPeriodUpdate(o[1]); @@ -748,7 +750,7 @@ o.currentTimeMillis = "foo"; o.kind = "foo"; o.requestId = "foo"; - o.timePeriods = buildUnnamed501(); + o.timePeriods = buildUnnamed475(); } buildCounterEventRecordRequest--; return o; @@ -760,7 +762,7 @@ unittest.expect(o.currentTimeMillis, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.requestId, unittest.equals('foo')); - checkUnnamed501(o.timePeriods); + checkUnnamed475(o.timePeriods); } buildCounterEventRecordRequest--; } @@ -788,40 +790,40 @@ buildCounterEventUpdateRequest--; } -buildUnnamed502() { +buildUnnamed476() { var o = new core.List<api.EventBatchRecordFailure>(); o.add(buildEventBatchRecordFailure()); o.add(buildEventBatchRecordFailure()); return o; } -checkUnnamed502(core.List<api.EventBatchRecordFailure> o) { +checkUnnamed476(core.List<api.EventBatchRecordFailure> o) { unittest.expect(o, unittest.hasLength(2)); checkEventBatchRecordFailure(o[0]); checkEventBatchRecordFailure(o[1]); } -buildUnnamed503() { +buildUnnamed477() { var o = new core.List<api.EventRecordFailure>(); o.add(buildEventRecordFailure()); o.add(buildEventRecordFailure()); return o; } -checkUnnamed503(core.List<api.EventRecordFailure> o) { +checkUnnamed477(core.List<api.EventRecordFailure> o) { unittest.expect(o, unittest.hasLength(2)); checkEventRecordFailure(o[0]); checkEventRecordFailure(o[1]); } -buildUnnamed504() { +buildUnnamed478() { var o = new core.List<api.PlayerEvent>(); o.add(buildPlayerEvent()); o.add(buildPlayerEvent()); return o; } -checkUnnamed504(core.List<api.PlayerEvent> o) { +checkUnnamed478(core.List<api.PlayerEvent> o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerEvent(o[0]); checkPlayerEvent(o[1]); @@ -832,10 +834,10 @@ var o = new api.EventUpdateResponse(); buildCounterEventUpdateResponse++; if (buildCounterEventUpdateResponse < 3) { - o.batchFailures = buildUnnamed502(); - o.eventFailures = buildUnnamed503(); + o.batchFailures = buildUnnamed476(); + o.eventFailures = buildUnnamed477(); o.kind = "foo"; - o.playerEvents = buildUnnamed504(); + o.playerEvents = buildUnnamed478(); } buildCounterEventUpdateResponse--; return o; @@ -844,10 +846,10 @@ checkEventUpdateResponse(api.EventUpdateResponse o) { buildCounterEventUpdateResponse++; if (buildCounterEventUpdateResponse < 3) { - checkUnnamed502(o.batchFailures); - checkUnnamed503(o.eventFailures); + checkUnnamed476(o.batchFailures); + checkUnnamed477(o.eventFailures); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed504(o.playerEvents); + checkUnnamed478(o.playerEvents); } buildCounterEventUpdateResponse--; } @@ -1101,14 +1103,14 @@ buildCounterLeaderboardEntry--; } -buildUnnamed505() { +buildUnnamed479() { var o = new core.List<api.Leaderboard>(); o.add(buildLeaderboard()); o.add(buildLeaderboard()); return o; } -checkUnnamed505(core.List<api.Leaderboard> o) { +checkUnnamed479(core.List<api.Leaderboard> o) { unittest.expect(o, unittest.hasLength(2)); checkLeaderboard(o[0]); checkLeaderboard(o[1]); @@ -1119,7 +1121,7 @@ var o = new api.LeaderboardListResponse(); buildCounterLeaderboardListResponse++; if (buildCounterLeaderboardListResponse < 3) { - o.items = buildUnnamed505(); + o.items = buildUnnamed479(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -1130,7 +1132,7 @@ checkLeaderboardListResponse(api.LeaderboardListResponse o) { buildCounterLeaderboardListResponse++; if (buildCounterLeaderboardListResponse < 3) { - checkUnnamed505(o.items); + checkUnnamed479(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -1164,14 +1166,14 @@ buildCounterLeaderboardScoreRank--; } -buildUnnamed506() { +buildUnnamed480() { var o = new core.List<api.LeaderboardEntry>(); o.add(buildLeaderboardEntry()); o.add(buildLeaderboardEntry()); return o; } -checkUnnamed506(core.List<api.LeaderboardEntry> o) { +checkUnnamed480(core.List<api.LeaderboardEntry> o) { unittest.expect(o, unittest.hasLength(2)); checkLeaderboardEntry(o[0]); checkLeaderboardEntry(o[1]); @@ -1182,7 +1184,7 @@ var o = new api.LeaderboardScores(); buildCounterLeaderboardScores++; if (buildCounterLeaderboardScores < 3) { - o.items = buildUnnamed506(); + o.items = buildUnnamed480(); o.kind = "foo"; o.nextPageToken = "foo"; o.numScores = "foo"; @@ -1196,7 +1198,7 @@ checkLeaderboardScores(api.LeaderboardScores o) { buildCounterLeaderboardScores++; if (buildCounterLeaderboardScores < 3) { - checkUnnamed506(o.items); + checkUnnamed480(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.numScores, unittest.equals('foo')); @@ -1206,14 +1208,14 @@ buildCounterLeaderboardScores--; } -buildUnnamed507() { +buildUnnamed481() { var o = new core.List<api.PlayerLevel>(); o.add(buildPlayerLevel()); o.add(buildPlayerLevel()); return o; } -checkUnnamed507(core.List<api.PlayerLevel> o) { +checkUnnamed481(core.List<api.PlayerLevel> o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerLevel(o[0]); checkPlayerLevel(o[1]); @@ -1226,7 +1228,7 @@ if (buildCounterMetagameConfig < 3) { o.currentVersion = 42; o.kind = "foo"; - o.playerLevels = buildUnnamed507(); + o.playerLevels = buildUnnamed481(); } buildCounterMetagameConfig--; return o; @@ -1237,7 +1239,7 @@ if (buildCounterMetagameConfig < 3) { unittest.expect(o.currentVersion, unittest.equals(42)); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed507(o.playerLevels); + checkUnnamed481(o.playerLevels); } buildCounterMetagameConfig--; } @@ -1466,14 +1468,14 @@ buildCounterPlayerAchievement--; } -buildUnnamed508() { +buildUnnamed482() { var o = new core.List<api.PlayerAchievement>(); o.add(buildPlayerAchievement()); o.add(buildPlayerAchievement()); return o; } -checkUnnamed508(core.List<api.PlayerAchievement> o) { +checkUnnamed482(core.List<api.PlayerAchievement> o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerAchievement(o[0]); checkPlayerAchievement(o[1]); @@ -1484,7 +1486,7 @@ var o = new api.PlayerAchievementListResponse(); buildCounterPlayerAchievementListResponse++; if (buildCounterPlayerAchievementListResponse < 3) { - o.items = buildUnnamed508(); + o.items = buildUnnamed482(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -1495,7 +1497,7 @@ checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) { buildCounterPlayerAchievementListResponse++; if (buildCounterPlayerAchievementListResponse < 3) { - checkUnnamed508(o.items); + checkUnnamed482(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -1529,14 +1531,14 @@ buildCounterPlayerEvent--; } -buildUnnamed509() { +buildUnnamed483() { var o = new core.List<api.PlayerEvent>(); o.add(buildPlayerEvent()); o.add(buildPlayerEvent()); return o; } -checkUnnamed509(core.List<api.PlayerEvent> o) { +checkUnnamed483(core.List<api.PlayerEvent> o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerEvent(o[0]); checkPlayerEvent(o[1]); @@ -1547,7 +1549,7 @@ var o = new api.PlayerEventListResponse(); buildCounterPlayerEventListResponse++; if (buildCounterPlayerEventListResponse < 3) { - o.items = buildUnnamed509(); + o.items = buildUnnamed483(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -1558,7 +1560,7 @@ checkPlayerEventListResponse(api.PlayerEventListResponse o) { buildCounterPlayerEventListResponse++; if (buildCounterPlayerEventListResponse < 3) { - checkUnnamed509(o.items); + checkUnnamed483(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -1627,14 +1629,14 @@ buildCounterPlayerLeaderboardScore--; } -buildUnnamed510() { +buildUnnamed484() { var o = new core.List<api.PlayerLeaderboardScore>(); o.add(buildPlayerLeaderboardScore()); o.add(buildPlayerLeaderboardScore()); return o; } -checkUnnamed510(core.List<api.PlayerLeaderboardScore> o) { +checkUnnamed484(core.List<api.PlayerLeaderboardScore> o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerLeaderboardScore(o[0]); checkPlayerLeaderboardScore(o[1]); @@ -1645,7 +1647,7 @@ var o = new api.PlayerLeaderboardScoreListResponse(); buildCounterPlayerLeaderboardScoreListResponse++; if (buildCounterPlayerLeaderboardScoreListResponse < 3) { - o.items = buildUnnamed510(); + o.items = buildUnnamed484(); o.kind = "foo"; o.nextPageToken = "foo"; o.player = buildPlayer(); @@ -1657,7 +1659,7 @@ checkPlayerLeaderboardScoreListResponse(api.PlayerLeaderboardScoreListResponse o) { buildCounterPlayerLeaderboardScoreListResponse++; if (buildCounterPlayerLeaderboardScoreListResponse < 3) { - checkUnnamed510(o.items); + checkUnnamed484(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPlayer(o.player); @@ -1690,14 +1692,14 @@ buildCounterPlayerLevel--; } -buildUnnamed511() { +buildUnnamed485() { var o = new core.List<api.Player>(); o.add(buildPlayer()); o.add(buildPlayer()); return o; } -checkUnnamed511(core.List<api.Player> o) { +checkUnnamed485(core.List<api.Player> o) { unittest.expect(o, unittest.hasLength(2)); checkPlayer(o[0]); checkPlayer(o[1]); @@ -1708,7 +1710,7 @@ var o = new api.PlayerListResponse(); buildCounterPlayerListResponse++; if (buildCounterPlayerListResponse < 3) { - o.items = buildUnnamed511(); + o.items = buildUnnamed485(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -1719,7 +1721,7 @@ checkPlayerListResponse(api.PlayerListResponse o) { buildCounterPlayerListResponse++; if (buildCounterPlayerListResponse < 3) { - checkUnnamed511(o.items); + checkUnnamed485(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -1753,14 +1755,14 @@ buildCounterPlayerScore--; } -buildUnnamed512() { +buildUnnamed486() { var o = new core.List<api.PlayerScoreResponse>(); o.add(buildPlayerScoreResponse()); o.add(buildPlayerScoreResponse()); return o; } -checkUnnamed512(core.List<api.PlayerScoreResponse> o) { +checkUnnamed486(core.List<api.PlayerScoreResponse> o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerScoreResponse(o[0]); checkPlayerScoreResponse(o[1]); @@ -1772,7 +1774,7 @@ buildCounterPlayerScoreListResponse++; if (buildCounterPlayerScoreListResponse < 3) { o.kind = "foo"; - o.submittedScores = buildUnnamed512(); + o.submittedScores = buildUnnamed486(); } buildCounterPlayerScoreListResponse--; return o; @@ -1782,32 +1784,32 @@ buildCounterPlayerScoreListResponse++; if (buildCounterPlayerScoreListResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed512(o.submittedScores); + checkUnnamed486(o.submittedScores); } buildCounterPlayerScoreListResponse--; } -buildUnnamed513() { +buildUnnamed487() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed513(core.List<core.String> o) { +checkUnnamed487(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed514() { +buildUnnamed488() { var o = new core.List<api.PlayerScore>(); o.add(buildPlayerScore()); o.add(buildPlayerScore()); return o; } -checkUnnamed514(core.List<api.PlayerScore> o) { +checkUnnamed488(core.List<api.PlayerScore> o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerScore(o[0]); checkPlayerScore(o[1]); @@ -1818,12 +1820,12 @@ var o = new api.PlayerScoreResponse(); buildCounterPlayerScoreResponse++; if (buildCounterPlayerScoreResponse < 3) { - o.beatenScoreTimeSpans = buildUnnamed513(); + o.beatenScoreTimeSpans = buildUnnamed487(); o.formattedScore = "foo"; o.kind = "foo"; o.leaderboardId = "foo"; o.scoreTag = "foo"; - o.unbeatenScores = buildUnnamed514(); + o.unbeatenScores = buildUnnamed488(); } buildCounterPlayerScoreResponse--; return o; @@ -1832,24 +1834,24 @@ checkPlayerScoreResponse(api.PlayerScoreResponse o) { buildCounterPlayerScoreResponse++; if (buildCounterPlayerScoreResponse < 3) { - checkUnnamed513(o.beatenScoreTimeSpans); + checkUnnamed487(o.beatenScoreTimeSpans); unittest.expect(o.formattedScore, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.leaderboardId, unittest.equals('foo')); unittest.expect(o.scoreTag, unittest.equals('foo')); - checkUnnamed514(o.unbeatenScores); + checkUnnamed488(o.unbeatenScores); } buildCounterPlayerScoreResponse--; } -buildUnnamed515() { +buildUnnamed489() { var o = new core.List<api.ScoreSubmission>(); o.add(buildScoreSubmission()); o.add(buildScoreSubmission()); return o; } -checkUnnamed515(core.List<api.ScoreSubmission> o) { +checkUnnamed489(core.List<api.ScoreSubmission> o) { unittest.expect(o, unittest.hasLength(2)); checkScoreSubmission(o[0]); checkScoreSubmission(o[1]); @@ -1861,7 +1863,7 @@ buildCounterPlayerScoreSubmissionList++; if (buildCounterPlayerScoreSubmissionList < 3) { o.kind = "foo"; - o.scores = buildUnnamed515(); + o.scores = buildUnnamed489(); } buildCounterPlayerScoreSubmissionList--; return o; @@ -1871,7 +1873,7 @@ buildCounterPlayerScoreSubmissionList++; if (buildCounterPlayerScoreSubmissionList < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed515(o.scores); + checkUnnamed489(o.scores); } buildCounterPlayerScoreSubmissionList--; } @@ -1943,14 +1945,14 @@ buildCounterPushTokenId--; } -buildUnnamed516() { +buildUnnamed490() { var o = new core.List<api.QuestMilestone>(); o.add(buildQuestMilestone()); o.add(buildQuestMilestone()); return o; } -checkUnnamed516(core.List<api.QuestMilestone> o) { +checkUnnamed490(core.List<api.QuestMilestone> o) { unittest.expect(o, unittest.hasLength(2)); checkQuestMilestone(o[0]); checkQuestMilestone(o[1]); @@ -1972,7 +1974,7 @@ o.isDefaultIconUrl = true; o.kind = "foo"; o.lastUpdatedTimestampMillis = "foo"; - o.milestones = buildUnnamed516(); + o.milestones = buildUnnamed490(); o.name = "foo"; o.notifyTimestampMillis = "foo"; o.startTimestampMillis = "foo"; @@ -1996,7 +1998,7 @@ unittest.expect(o.isDefaultIconUrl, unittest.isTrue); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo')); - checkUnnamed516(o.milestones); + checkUnnamed490(o.milestones); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.notifyTimestampMillis, unittest.equals('foo')); unittest.expect(o.startTimestampMillis, unittest.equals('foo')); @@ -2055,14 +2057,14 @@ buildCounterQuestCriterion--; } -buildUnnamed517() { +buildUnnamed491() { var o = new core.List<api.Quest>(); o.add(buildQuest()); o.add(buildQuest()); return o; } -checkUnnamed517(core.List<api.Quest> o) { +checkUnnamed491(core.List<api.Quest> o) { unittest.expect(o, unittest.hasLength(2)); checkQuest(o[0]); checkQuest(o[1]); @@ -2073,7 +2075,7 @@ var o = new api.QuestListResponse(); buildCounterQuestListResponse++; if (buildCounterQuestListResponse < 3) { - o.items = buildUnnamed517(); + o.items = buildUnnamed491(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -2084,21 +2086,21 @@ checkQuestListResponse(api.QuestListResponse o) { buildCounterQuestListResponse++; if (buildCounterQuestListResponse < 3) { - checkUnnamed517(o.items); + checkUnnamed491(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterQuestListResponse--; } -buildUnnamed518() { +buildUnnamed492() { var o = new core.List<api.QuestCriterion>(); o.add(buildQuestCriterion()); o.add(buildQuestCriterion()); return o; } -checkUnnamed518(core.List<api.QuestCriterion> o) { +checkUnnamed492(core.List<api.QuestCriterion> o) { unittest.expect(o, unittest.hasLength(2)); checkQuestCriterion(o[0]); checkQuestCriterion(o[1]); @@ -2110,7 +2112,7 @@ buildCounterQuestMilestone++; if (buildCounterQuestMilestone < 3) { o.completionRewardData = "foo"; - o.criteria = buildUnnamed518(); + o.criteria = buildUnnamed492(); o.id = "foo"; o.kind = "foo"; o.state = "foo"; @@ -2123,7 +2125,7 @@ buildCounterQuestMilestone++; if (buildCounterQuestMilestone < 3) { unittest.expect(o.completionRewardData, unittest.equals('foo')); - checkUnnamed518(o.criteria); + checkUnnamed492(o.criteria); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.state, unittest.equals('foo')); @@ -2154,14 +2156,14 @@ buildCounterRevisionCheckResponse--; } -buildUnnamed519() { +buildUnnamed493() { var o = new core.List<api.RoomParticipant>(); o.add(buildRoomParticipant()); o.add(buildRoomParticipant()); return o; } -checkUnnamed519(core.List<api.RoomParticipant> o) { +checkUnnamed493(core.List<api.RoomParticipant> o) { unittest.expect(o, unittest.hasLength(2)); checkRoomParticipant(o[0]); checkRoomParticipant(o[1]); @@ -2180,7 +2182,7 @@ o.inviterId = "foo"; o.kind = "foo"; o.lastUpdateDetails = buildRoomModification(); - o.participants = buildUnnamed519(); + o.participants = buildUnnamed493(); o.roomId = "foo"; o.roomStatusVersion = 42; o.status = "foo"; @@ -2201,7 +2203,7 @@ unittest.expect(o.inviterId, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); checkRoomModification(o.lastUpdateDetails); - checkUnnamed519(o.participants); + checkUnnamed493(o.participants); unittest.expect(o.roomId, unittest.equals('foo')); unittest.expect(o.roomStatusVersion, unittest.equals(42)); unittest.expect(o.status, unittest.equals('foo')); @@ -2277,27 +2279,27 @@ buildCounterRoomClientAddress--; } -buildUnnamed520() { +buildUnnamed494() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed520(core.List<core.String> o) { +checkUnnamed494(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed521() { +buildUnnamed495() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed521(core.List<core.String> o) { +checkUnnamed495(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2309,9 +2311,9 @@ buildCounterRoomCreateRequest++; if (buildCounterRoomCreateRequest < 3) { o.autoMatchingCriteria = buildRoomAutoMatchingCriteria(); - o.capabilities = buildUnnamed520(); + o.capabilities = buildUnnamed494(); o.clientAddress = buildRoomClientAddress(); - o.invitedPlayerIds = buildUnnamed521(); + o.invitedPlayerIds = buildUnnamed495(); o.kind = "foo"; o.networkDiagnostics = buildNetworkDiagnostics(); o.requestId = "foo"; @@ -2325,9 +2327,9 @@ buildCounterRoomCreateRequest++; if (buildCounterRoomCreateRequest < 3) { checkRoomAutoMatchingCriteria(o.autoMatchingCriteria); - checkUnnamed520(o.capabilities); + checkUnnamed494(o.capabilities); checkRoomClientAddress(o.clientAddress); - checkUnnamed521(o.invitedPlayerIds); + checkUnnamed495(o.invitedPlayerIds); unittest.expect(o.kind, unittest.equals('foo')); checkNetworkDiagnostics(o.networkDiagnostics); unittest.expect(o.requestId, unittest.equals('foo')); @@ -2336,14 +2338,14 @@ buildCounterRoomCreateRequest--; } -buildUnnamed522() { +buildUnnamed496() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed522(core.List<core.String> o) { +checkUnnamed496(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2354,7 +2356,7 @@ var o = new api.RoomJoinRequest(); buildCounterRoomJoinRequest++; if (buildCounterRoomJoinRequest < 3) { - o.capabilities = buildUnnamed522(); + o.capabilities = buildUnnamed496(); o.clientAddress = buildRoomClientAddress(); o.kind = "foo"; o.networkDiagnostics = buildNetworkDiagnostics(); @@ -2366,7 +2368,7 @@ checkRoomJoinRequest(api.RoomJoinRequest o) { buildCounterRoomJoinRequest++; if (buildCounterRoomJoinRequest < 3) { - checkUnnamed522(o.capabilities); + checkUnnamed496(o.capabilities); checkRoomClientAddress(o.clientAddress); unittest.expect(o.kind, unittest.equals('foo')); checkNetworkDiagnostics(o.networkDiagnostics); @@ -2374,14 +2376,14 @@ buildCounterRoomJoinRequest--; } -buildUnnamed523() { +buildUnnamed497() { var o = new core.List<api.PeerSessionDiagnostics>(); o.add(buildPeerSessionDiagnostics()); o.add(buildPeerSessionDiagnostics()); return o; } -checkUnnamed523(core.List<api.PeerSessionDiagnostics> o) { +checkUnnamed497(core.List<api.PeerSessionDiagnostics> o) { unittest.expect(o, unittest.hasLength(2)); checkPeerSessionDiagnostics(o[0]); checkPeerSessionDiagnostics(o[1]); @@ -2398,7 +2400,7 @@ o.kind = "foo"; o.networkOperatorCode = "foo"; o.networkOperatorName = "foo"; - o.peerSession = buildUnnamed523(); + o.peerSession = buildUnnamed497(); o.socketsUsed = true; } buildCounterRoomLeaveDiagnostics--; @@ -2414,7 +2416,7 @@ unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.networkOperatorCode, unittest.equals('foo')); unittest.expect(o.networkOperatorName, unittest.equals('foo')); - checkUnnamed523(o.peerSession); + checkUnnamed497(o.peerSession); unittest.expect(o.socketsUsed, unittest.isTrue); } buildCounterRoomLeaveDiagnostics--; @@ -2443,14 +2445,14 @@ buildCounterRoomLeaveRequest--; } -buildUnnamed524() { +buildUnnamed498() { var o = new core.List<api.Room>(); o.add(buildRoom()); o.add(buildRoom()); return o; } -checkUnnamed524(core.List<api.Room> o) { +checkUnnamed498(core.List<api.Room> o) { unittest.expect(o, unittest.hasLength(2)); checkRoom(o[0]); checkRoom(o[1]); @@ -2461,7 +2463,7 @@ var o = new api.RoomList(); buildCounterRoomList++; if (buildCounterRoomList < 3) { - o.items = buildUnnamed524(); + o.items = buildUnnamed498(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -2472,7 +2474,7 @@ checkRoomList(api.RoomList o) { buildCounterRoomList++; if (buildCounterRoomList < 3) { - checkUnnamed524(o.items); + checkUnnamed498(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -2533,14 +2535,14 @@ buildCounterRoomP2PStatus--; } -buildUnnamed525() { +buildUnnamed499() { var o = new core.List<api.RoomP2PStatus>(); o.add(buildRoomP2PStatus()); o.add(buildRoomP2PStatus()); return o; } -checkUnnamed525(core.List<api.RoomP2PStatus> o) { +checkUnnamed499(core.List<api.RoomP2PStatus> o) { unittest.expect(o, unittest.hasLength(2)); checkRoomP2PStatus(o[0]); checkRoomP2PStatus(o[1]); @@ -2552,7 +2554,7 @@ buildCounterRoomP2PStatuses++; if (buildCounterRoomP2PStatuses < 3) { o.kind = "foo"; - o.updates = buildUnnamed525(); + o.updates = buildUnnamed499(); } buildCounterRoomP2PStatuses--; return o; @@ -2562,19 +2564,19 @@ buildCounterRoomP2PStatuses++; if (buildCounterRoomP2PStatuses < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed525(o.updates); + checkUnnamed499(o.updates); } buildCounterRoomP2PStatuses--; } -buildUnnamed526() { +buildUnnamed500() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed526(core.List<core.String> o) { +checkUnnamed500(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2587,7 +2589,7 @@ if (buildCounterRoomParticipant < 3) { o.autoMatched = true; o.autoMatchedPlayer = buildAnonymousPlayer(); - o.capabilities = buildUnnamed526(); + o.capabilities = buildUnnamed500(); o.clientAddress = buildRoomClientAddress(); o.connected = true; o.id = "foo"; @@ -2605,7 +2607,7 @@ if (buildCounterRoomParticipant < 3) { unittest.expect(o.autoMatched, unittest.isTrue); checkAnonymousPlayer(o.autoMatchedPlayer); - checkUnnamed526(o.capabilities); + checkUnnamed500(o.capabilities); checkRoomClientAddress(o.clientAddress); unittest.expect(o.connected, unittest.isTrue); unittest.expect(o.id, unittest.equals('foo')); @@ -2617,14 +2619,14 @@ buildCounterRoomParticipant--; } -buildUnnamed527() { +buildUnnamed501() { var o = new core.List<api.RoomParticipant>(); o.add(buildRoomParticipant()); o.add(buildRoomParticipant()); return o; } -checkUnnamed527(core.List<api.RoomParticipant> o) { +checkUnnamed501(core.List<api.RoomParticipant> o) { unittest.expect(o, unittest.hasLength(2)); checkRoomParticipant(o[0]); checkRoomParticipant(o[1]); @@ -2637,7 +2639,7 @@ if (buildCounterRoomStatus < 3) { o.autoMatchingStatus = buildRoomAutoMatchStatus(); o.kind = "foo"; - o.participants = buildUnnamed527(); + o.participants = buildUnnamed501(); o.roomId = "foo"; o.status = "foo"; o.statusVersion = 42; @@ -2651,7 +2653,7 @@ if (buildCounterRoomStatus < 3) { checkRoomAutoMatchStatus(o.autoMatchingStatus); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed527(o.participants); + checkUnnamed501(o.participants); unittest.expect(o.roomId, unittest.equals('foo')); unittest.expect(o.status, unittest.equals('foo')); unittest.expect(o.statusVersion, unittest.equals(42)); @@ -2750,14 +2752,14 @@ buildCounterSnapshotImage--; } -buildUnnamed528() { +buildUnnamed502() { var o = new core.List<api.Snapshot>(); o.add(buildSnapshot()); o.add(buildSnapshot()); return o; } -checkUnnamed528(core.List<api.Snapshot> o) { +checkUnnamed502(core.List<api.Snapshot> o) { unittest.expect(o, unittest.hasLength(2)); checkSnapshot(o[0]); checkSnapshot(o[1]); @@ -2768,7 +2770,7 @@ var o = new api.SnapshotListResponse(); buildCounterSnapshotListResponse++; if (buildCounterSnapshotListResponse < 3) { - o.items = buildUnnamed528(); + o.items = buildUnnamed502(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -2779,7 +2781,7 @@ checkSnapshotListResponse(api.SnapshotListResponse o) { buildCounterSnapshotListResponse++; if (buildCounterSnapshotListResponse < 3) { - checkUnnamed528(o.items); + checkUnnamed502(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -2811,27 +2813,27 @@ buildCounterTurnBasedAutoMatchingCriteria--; } -buildUnnamed529() { +buildUnnamed503() { var o = new core.List<api.TurnBasedMatchParticipant>(); o.add(buildTurnBasedMatchParticipant()); o.add(buildTurnBasedMatchParticipant()); return o; } -checkUnnamed529(core.List<api.TurnBasedMatchParticipant> o) { +checkUnnamed503(core.List<api.TurnBasedMatchParticipant> o) { unittest.expect(o, unittest.hasLength(2)); checkTurnBasedMatchParticipant(o[0]); checkTurnBasedMatchParticipant(o[1]); } -buildUnnamed530() { +buildUnnamed504() { var o = new core.List<api.ParticipantResult>(); o.add(buildParticipantResult()); o.add(buildParticipantResult()); return o; } -checkUnnamed530(core.List<api.ParticipantResult> o) { +checkUnnamed504(core.List<api.ParticipantResult> o) { unittest.expect(o, unittest.hasLength(2)); checkParticipantResult(o[0]); checkParticipantResult(o[1]); @@ -2853,11 +2855,11 @@ o.matchId = "foo"; o.matchNumber = 42; o.matchVersion = 42; - o.participants = buildUnnamed529(); + o.participants = buildUnnamed503(); o.pendingParticipantId = "foo"; o.previousMatchData = buildTurnBasedMatchData(); o.rematchId = "foo"; - o.results = buildUnnamed530(); + o.results = buildUnnamed504(); o.status = "foo"; o.userMatchStatus = "foo"; o.variant = 42; @@ -2881,11 +2883,11 @@ unittest.expect(o.matchId, unittest.equals('foo')); unittest.expect(o.matchNumber, unittest.equals(42)); unittest.expect(o.matchVersion, unittest.equals(42)); - checkUnnamed529(o.participants); + checkUnnamed503(o.participants); unittest.expect(o.pendingParticipantId, unittest.equals('foo')); checkTurnBasedMatchData(o.previousMatchData); unittest.expect(o.rematchId, unittest.equals('foo')); - checkUnnamed530(o.results); + checkUnnamed504(o.results); unittest.expect(o.status, unittest.equals('foo')); unittest.expect(o.userMatchStatus, unittest.equals('foo')); unittest.expect(o.variant, unittest.equals(42)); @@ -2894,14 +2896,14 @@ buildCounterTurnBasedMatch--; } -buildUnnamed531() { +buildUnnamed505() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed531(core.List<core.String> o) { +checkUnnamed505(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2913,7 +2915,7 @@ buildCounterTurnBasedMatchCreateRequest++; if (buildCounterTurnBasedMatchCreateRequest < 3) { o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria(); - o.invitedPlayerIds = buildUnnamed531(); + o.invitedPlayerIds = buildUnnamed505(); o.kind = "foo"; o.requestId = "foo"; o.variant = 42; @@ -2926,7 +2928,7 @@ buildCounterTurnBasedMatchCreateRequest++; if (buildCounterTurnBasedMatchCreateRequest < 3) { checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria); - checkUnnamed531(o.invitedPlayerIds); + checkUnnamed505(o.invitedPlayerIds); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.requestId, unittest.equals('foo')); unittest.expect(o.variant, unittest.equals(42)); @@ -2978,14 +2980,14 @@ buildCounterTurnBasedMatchDataRequest--; } -buildUnnamed532() { +buildUnnamed506() { var o = new core.List<api.TurnBasedMatch>(); o.add(buildTurnBasedMatch()); o.add(buildTurnBasedMatch()); return o; } -checkUnnamed532(core.List<api.TurnBasedMatch> o) { +checkUnnamed506(core.List<api.TurnBasedMatch> o) { unittest.expect(o, unittest.hasLength(2)); checkTurnBasedMatch(o[0]); checkTurnBasedMatch(o[1]); @@ -2996,7 +2998,7 @@ var o = new api.TurnBasedMatchList(); buildCounterTurnBasedMatchList++; if (buildCounterTurnBasedMatchList < 3) { - o.items = buildUnnamed532(); + o.items = buildUnnamed506(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -3007,7 +3009,7 @@ checkTurnBasedMatchList(api.TurnBasedMatchList o) { buildCounterTurnBasedMatchList++; if (buildCounterTurnBasedMatchList < 3) { - checkUnnamed532(o.items); + checkUnnamed506(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -3089,14 +3091,14 @@ buildCounterTurnBasedMatchRematch--; } -buildUnnamed533() { +buildUnnamed507() { var o = new core.List<api.ParticipantResult>(); o.add(buildParticipantResult()); o.add(buildParticipantResult()); return o; } -checkUnnamed533(core.List<api.ParticipantResult> o) { +checkUnnamed507(core.List<api.ParticipantResult> o) { unittest.expect(o, unittest.hasLength(2)); checkParticipantResult(o[0]); checkParticipantResult(o[1]); @@ -3110,7 +3112,7 @@ o.data = buildTurnBasedMatchDataRequest(); o.kind = "foo"; o.matchVersion = 42; - o.results = buildUnnamed533(); + o.results = buildUnnamed507(); } buildCounterTurnBasedMatchResults--; return o; @@ -3122,19 +3124,19 @@ checkTurnBasedMatchDataRequest(o.data); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.matchVersion, unittest.equals(42)); - checkUnnamed533(o.results); + checkUnnamed507(o.results); } buildCounterTurnBasedMatchResults--; } -buildUnnamed534() { +buildUnnamed508() { var o = new core.List<api.TurnBasedMatch>(); o.add(buildTurnBasedMatch()); o.add(buildTurnBasedMatch()); return o; } -checkUnnamed534(core.List<api.TurnBasedMatch> o) { +checkUnnamed508(core.List<api.TurnBasedMatch> o) { unittest.expect(o, unittest.hasLength(2)); checkTurnBasedMatch(o[0]); checkTurnBasedMatch(o[1]); @@ -3145,7 +3147,7 @@ var o = new api.TurnBasedMatchSync(); buildCounterTurnBasedMatchSync++; if (buildCounterTurnBasedMatchSync < 3) { - o.items = buildUnnamed534(); + o.items = buildUnnamed508(); o.kind = "foo"; o.moreAvailable = true; o.nextPageToken = "foo"; @@ -3157,7 +3159,7 @@ checkTurnBasedMatchSync(api.TurnBasedMatchSync o) { buildCounterTurnBasedMatchSync++; if (buildCounterTurnBasedMatchSync < 3) { - checkUnnamed534(o.items); + checkUnnamed508(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.moreAvailable, unittest.isTrue); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -3165,14 +3167,14 @@ buildCounterTurnBasedMatchSync--; } -buildUnnamed535() { +buildUnnamed509() { var o = new core.List<api.ParticipantResult>(); o.add(buildParticipantResult()); o.add(buildParticipantResult()); return o; } -checkUnnamed535(core.List<api.ParticipantResult> o) { +checkUnnamed509(core.List<api.ParticipantResult> o) { unittest.expect(o, unittest.hasLength(2)); checkParticipantResult(o[0]); checkParticipantResult(o[1]); @@ -3187,7 +3189,7 @@ o.kind = "foo"; o.matchVersion = 42; o.pendingParticipantId = "foo"; - o.results = buildUnnamed535(); + o.results = buildUnnamed509(); } buildCounterTurnBasedMatchTurn--; return o; @@ -3200,7 +3202,7 @@ unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.matchVersion, unittest.equals(42)); unittest.expect(o.pendingParticipantId, unittest.equals('foo')); - checkUnnamed535(o.results); + checkUnnamed509(o.results); } buildCounterTurnBasedMatchTurn--; }
diff --git a/generated/googleapis/test/gamesmanagement/v1management_test.dart b/generated/googleapis/test/gamesmanagement/v1management_test.dart index 90152ce..28c4a76 100644 --- a/generated/googleapis/test/gamesmanagement/v1management_test.dart +++ b/generated/googleapis/test/gamesmanagement/v1management_test.dart
@@ -50,6 +50,40 @@ buildCounterAchievementResetAllResponse--; } +buildUnnamed76() { + var o = new core.List<core.String>(); + o.add("foo"); + o.add("foo"); + return o; +} + +checkUnnamed76(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect(o[0], unittest.equals('foo')); + unittest.expect(o[1], unittest.equals('foo')); +} + +core.int buildCounterAchievementResetMultipleForAllRequest = 0; +buildAchievementResetMultipleForAllRequest() { + var o = new api.AchievementResetMultipleForAllRequest(); + buildCounterAchievementResetMultipleForAllRequest++; + if (buildCounterAchievementResetMultipleForAllRequest < 3) { + o.achievementIds = buildUnnamed76(); + o.kind = "foo"; + } + buildCounterAchievementResetMultipleForAllRequest--; + return o; +} + +checkAchievementResetMultipleForAllRequest(api.AchievementResetMultipleForAllRequest o) { + buildCounterAchievementResetMultipleForAllRequest++; + if (buildCounterAchievementResetMultipleForAllRequest < 3) { + checkUnnamed76(o.achievementIds); + unittest.expect(o.kind, unittest.equals('foo')); + } + buildCounterAchievementResetMultipleForAllRequest--; +} + core.int buildCounterAchievementResetResponse = 0; buildAchievementResetResponse() { var o = new api.AchievementResetResponse(); @@ -167,14 +201,14 @@ buildCounterHiddenPlayer--; } -buildUnnamed76() { +buildUnnamed77() { var o = new core.List<api.HiddenPlayer>(); o.add(buildHiddenPlayer()); o.add(buildHiddenPlayer()); return o; } -checkUnnamed76(core.List<api.HiddenPlayer> o) { +checkUnnamed77(core.List<api.HiddenPlayer> o) { unittest.expect(o, unittest.hasLength(2)); checkHiddenPlayer(o[0]); checkHiddenPlayer(o[1]); @@ -185,7 +219,7 @@ var o = new api.HiddenPlayerList(); buildCounterHiddenPlayerList++; if (buildCounterHiddenPlayerList < 3) { - o.items = buildUnnamed76(); + o.items = buildUnnamed77(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -196,7 +230,7 @@ checkHiddenPlayerList(api.HiddenPlayerList o) { buildCounterHiddenPlayerList++; if (buildCounterHiddenPlayerList < 3) { - checkUnnamed76(o.items); + checkUnnamed77(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -257,14 +291,14 @@ buildCounterPlayer--; } -buildUnnamed77() { +buildUnnamed78() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed77(core.List<core.String> o) { +checkUnnamed78(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -276,7 +310,7 @@ buildCounterPlayerScoreResetResponse++; if (buildCounterPlayerScoreResetResponse < 3) { o.kind = "foo"; - o.resetScoreTimeSpans = buildUnnamed77(); + o.resetScoreTimeSpans = buildUnnamed78(); } buildCounterPlayerScoreResetResponse--; return o; @@ -286,7 +320,7 @@ buildCounterPlayerScoreResetResponse++; if (buildCounterPlayerScoreResetResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed77(o.resetScoreTimeSpans); + checkUnnamed78(o.resetScoreTimeSpans); } buildCounterPlayerScoreResetResponse--; } @@ -302,6 +336,15 @@ }); + unittest.group("obj-schema-AchievementResetMultipleForAllRequest", () { + unittest.test("to-json--from-json", () { + var o = buildAchievementResetMultipleForAllRequest(); + var od = new api.AchievementResetMultipleForAllRequest.fromJson(o.toJson()); + checkAchievementResetMultipleForAllRequest(od); + }); + }); + + unittest.group("obj-schema-AchievementResetResponse", () { unittest.test("to-json--from-json", () { var o = buildAchievementResetResponse(); @@ -482,6 +525,49 @@ }))); }); + unittest.test("method--resetAllForAllPlayers", () { + + var mock = new common_test.HttpServerMock(); + api.AchievementsResourceApi res = new api.GamesManagementApi(mock).achievements; + mock.register(unittest.expectAsync((http.BaseRequest req, json) { + var path = (req.url).path; + var pathOffset = 0; + var index; + var subPart; + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); + pathOffset += 1; + unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.equals("games/v1management/")); + pathOffset += 19; + unittest.expect(path.substring(pathOffset, pathOffset + 34), unittest.equals("achievements/resetAllForAllPlayers")); + pathOffset += 34; + + var query = (req.url).query; + var queryOffset = 0; + var queryMap = {}; + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); + parseBool(n) { + if (n == "true") return true; + if (n == "false") return false; + if (n == null) return null; + throw new core.ArgumentError("Invalid boolean: $n"); + } + if (query.length > 0) { + for (var part in query.split("&")) { + var keyvalue = part.split("="); + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); + } + } + + + var h = { + "content-type" : "application/json; charset=utf-8", + }; + var resp = ""; + return new async.Future.value(common_test.stringResponse(200, h, resp)); + }), true); + res.resetAllForAllPlayers().then(unittest.expectAsync((_) {})); + }); + unittest.test("method--resetForAllPlayers", () { var mock = new common_test.HttpServerMock(); @@ -533,6 +619,53 @@ res.resetForAllPlayers(arg_achievementId).then(unittest.expectAsync((_) {})); }); + unittest.test("method--resetMultipleForAllPlayers", () { + + var mock = new common_test.HttpServerMock(); + api.AchievementsResourceApi res = new api.GamesManagementApi(mock).achievements; + var arg_request = buildAchievementResetMultipleForAllRequest(); + mock.register(unittest.expectAsync((http.BaseRequest req, json) { + var obj = new api.AchievementResetMultipleForAllRequest.fromJson(json); + checkAchievementResetMultipleForAllRequest(obj); + + var path = (req.url).path; + var pathOffset = 0; + var index; + var subPart; + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); + pathOffset += 1; + unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.equals("games/v1management/")); + pathOffset += 19; + unittest.expect(path.substring(pathOffset, pathOffset + 39), unittest.equals("achievements/resetMultipleForAllPlayers")); + pathOffset += 39; + + var query = (req.url).query; + var queryOffset = 0; + var queryMap = {}; + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); + parseBool(n) { + if (n == "true") return true; + if (n == "false") return false; + if (n == null) return null; + throw new core.ArgumentError("Invalid boolean: $n"); + } + if (query.length > 0) { + for (var part in query.split("&")) { + var keyvalue = part.split("="); + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); + } + } + + + var h = { + "content-type" : "application/json; charset=utf-8", + }; + var resp = ""; + return new async.Future.value(common_test.stringResponse(200, h, resp)); + }), true); + res.resetMultipleForAllPlayers(arg_request).then(unittest.expectAsync((_) {})); + }); + });
diff --git a/generated/googleapis/test/gmail/v1_test.dart b/generated/googleapis/test/gmail/v1_test.dart index 4e75094..bfa0851 100644 --- a/generated/googleapis/test/gmail/v1_test.dart +++ b/generated/googleapis/test/gmail/v1_test.dart
@@ -37,14 +37,14 @@ buildCounterDraft--; } -buildUnnamed824() { +buildUnnamed798() { var o = new core.List<api.Message>(); o.add(buildMessage()); o.add(buildMessage()); return o; } -checkUnnamed824(core.List<api.Message> o) { +checkUnnamed798(core.List<api.Message> o) { unittest.expect(o, unittest.hasLength(2)); checkMessage(o[0]); checkMessage(o[1]); @@ -56,7 +56,7 @@ buildCounterHistory++; if (buildCounterHistory < 3) { o.id = "foo"; - o.messages = buildUnnamed824(); + o.messages = buildUnnamed798(); } buildCounterHistory--; return o; @@ -66,7 +66,7 @@ buildCounterHistory++; if (buildCounterHistory < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed824(o.messages); + checkUnnamed798(o.messages); } buildCounterHistory--; } @@ -79,7 +79,11 @@ o.id = "foo"; o.labelListVisibility = "foo"; o.messageListVisibility = "foo"; + o.messagesTotal = 42; + o.messagesUnread = 42; o.name = "foo"; + o.threadsTotal = 42; + o.threadsUnread = 42; o.type = "foo"; } buildCounterLabel--; @@ -92,20 +96,24 @@ unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.labelListVisibility, unittest.equals('foo')); unittest.expect(o.messageListVisibility, unittest.equals('foo')); + unittest.expect(o.messagesTotal, unittest.equals(42)); + unittest.expect(o.messagesUnread, unittest.equals(42)); unittest.expect(o.name, unittest.equals('foo')); + unittest.expect(o.threadsTotal, unittest.equals(42)); + unittest.expect(o.threadsUnread, unittest.equals(42)); unittest.expect(o.type, unittest.equals('foo')); } buildCounterLabel--; } -buildUnnamed825() { +buildUnnamed799() { var o = new core.List<api.Draft>(); o.add(buildDraft()); o.add(buildDraft()); return o; } -checkUnnamed825(core.List<api.Draft> o) { +checkUnnamed799(core.List<api.Draft> o) { unittest.expect(o, unittest.hasLength(2)); checkDraft(o[0]); checkDraft(o[1]); @@ -116,7 +124,7 @@ var o = new api.ListDraftsResponse(); buildCounterListDraftsResponse++; if (buildCounterListDraftsResponse < 3) { - o.drafts = buildUnnamed825(); + o.drafts = buildUnnamed799(); o.nextPageToken = "foo"; o.resultSizeEstimate = 42; } @@ -127,21 +135,21 @@ checkListDraftsResponse(api.ListDraftsResponse o) { buildCounterListDraftsResponse++; if (buildCounterListDraftsResponse < 3) { - checkUnnamed825(o.drafts); + checkUnnamed799(o.drafts); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.resultSizeEstimate, unittest.equals(42)); } buildCounterListDraftsResponse--; } -buildUnnamed826() { +buildUnnamed800() { var o = new core.List<api.History>(); o.add(buildHistory()); o.add(buildHistory()); return o; } -checkUnnamed826(core.List<api.History> o) { +checkUnnamed800(core.List<api.History> o) { unittest.expect(o, unittest.hasLength(2)); checkHistory(o[0]); checkHistory(o[1]); @@ -152,7 +160,7 @@ var o = new api.ListHistoryResponse(); buildCounterListHistoryResponse++; if (buildCounterListHistoryResponse < 3) { - o.history = buildUnnamed826(); + o.history = buildUnnamed800(); o.historyId = "foo"; o.nextPageToken = "foo"; } @@ -163,21 +171,21 @@ checkListHistoryResponse(api.ListHistoryResponse o) { buildCounterListHistoryResponse++; if (buildCounterListHistoryResponse < 3) { - checkUnnamed826(o.history); + checkUnnamed800(o.history); unittest.expect(o.historyId, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterListHistoryResponse--; } -buildUnnamed827() { +buildUnnamed801() { var o = new core.List<api.Label>(); o.add(buildLabel()); o.add(buildLabel()); return o; } -checkUnnamed827(core.List<api.Label> o) { +checkUnnamed801(core.List<api.Label> o) { unittest.expect(o, unittest.hasLength(2)); checkLabel(o[0]); checkLabel(o[1]); @@ -188,7 +196,7 @@ var o = new api.ListLabelsResponse(); buildCounterListLabelsResponse++; if (buildCounterListLabelsResponse < 3) { - o.labels = buildUnnamed827(); + o.labels = buildUnnamed801(); } buildCounterListLabelsResponse--; return o; @@ -197,19 +205,19 @@ checkListLabelsResponse(api.ListLabelsResponse o) { buildCounterListLabelsResponse++; if (buildCounterListLabelsResponse < 3) { - checkUnnamed827(o.labels); + checkUnnamed801(o.labels); } buildCounterListLabelsResponse--; } -buildUnnamed828() { +buildUnnamed802() { var o = new core.List<api.Message>(); o.add(buildMessage()); o.add(buildMessage()); return o; } -checkUnnamed828(core.List<api.Message> o) { +checkUnnamed802(core.List<api.Message> o) { unittest.expect(o, unittest.hasLength(2)); checkMessage(o[0]); checkMessage(o[1]); @@ -220,7 +228,7 @@ var o = new api.ListMessagesResponse(); buildCounterListMessagesResponse++; if (buildCounterListMessagesResponse < 3) { - o.messages = buildUnnamed828(); + o.messages = buildUnnamed802(); o.nextPageToken = "foo"; o.resultSizeEstimate = 42; } @@ -231,21 +239,21 @@ checkListMessagesResponse(api.ListMessagesResponse o) { buildCounterListMessagesResponse++; if (buildCounterListMessagesResponse < 3) { - checkUnnamed828(o.messages); + checkUnnamed802(o.messages); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.resultSizeEstimate, unittest.equals(42)); } buildCounterListMessagesResponse--; } -buildUnnamed829() { +buildUnnamed803() { var o = new core.List<api.Thread>(); o.add(buildThread()); o.add(buildThread()); return o; } -checkUnnamed829(core.List<api.Thread> o) { +checkUnnamed803(core.List<api.Thread> o) { unittest.expect(o, unittest.hasLength(2)); checkThread(o[0]); checkThread(o[1]); @@ -258,7 +266,7 @@ if (buildCounterListThreadsResponse < 3) { o.nextPageToken = "foo"; o.resultSizeEstimate = 42; - o.threads = buildUnnamed829(); + o.threads = buildUnnamed803(); } buildCounterListThreadsResponse--; return o; @@ -269,19 +277,19 @@ if (buildCounterListThreadsResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.resultSizeEstimate, unittest.equals(42)); - checkUnnamed829(o.threads); + checkUnnamed803(o.threads); } buildCounterListThreadsResponse--; } -buildUnnamed830() { +buildUnnamed804() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed830(core.List<core.String> o) { +checkUnnamed804(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -294,7 +302,7 @@ if (buildCounterMessage < 3) { o.historyId = "foo"; o.id = "foo"; - o.labelIds = buildUnnamed830(); + o.labelIds = buildUnnamed804(); o.payload = buildMessagePart(); o.raw = "foo"; o.sizeEstimate = 42; @@ -310,7 +318,7 @@ if (buildCounterMessage < 3) { unittest.expect(o.historyId, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed830(o.labelIds); + checkUnnamed804(o.labelIds); checkMessagePart(o.payload); unittest.expect(o.raw, unittest.equals('foo')); unittest.expect(o.sizeEstimate, unittest.equals(42)); @@ -320,27 +328,27 @@ buildCounterMessage--; } -buildUnnamed831() { +buildUnnamed805() { var o = new core.List<api.MessagePartHeader>(); o.add(buildMessagePartHeader()); o.add(buildMessagePartHeader()); return o; } -checkUnnamed831(core.List<api.MessagePartHeader> o) { +checkUnnamed805(core.List<api.MessagePartHeader> o) { unittest.expect(o, unittest.hasLength(2)); checkMessagePartHeader(o[0]); checkMessagePartHeader(o[1]); } -buildUnnamed832() { +buildUnnamed806() { var o = new core.List<api.MessagePart>(); o.add(buildMessagePart()); o.add(buildMessagePart()); return o; } -checkUnnamed832(core.List<api.MessagePart> o) { +checkUnnamed806(core.List<api.MessagePart> o) { unittest.expect(o, unittest.hasLength(2)); checkMessagePart(o[0]); checkMessagePart(o[1]); @@ -353,10 +361,10 @@ if (buildCounterMessagePart < 3) { o.body = buildMessagePartBody(); o.filename = "foo"; - o.headers = buildUnnamed831(); + o.headers = buildUnnamed805(); o.mimeType = "foo"; o.partId = "foo"; - o.parts = buildUnnamed832(); + o.parts = buildUnnamed806(); } buildCounterMessagePart--; return o; @@ -367,10 +375,10 @@ if (buildCounterMessagePart < 3) { checkMessagePartBody(o.body); unittest.expect(o.filename, unittest.equals('foo')); - checkUnnamed831(o.headers); + checkUnnamed805(o.headers); unittest.expect(o.mimeType, unittest.equals('foo')); unittest.expect(o.partId, unittest.equals('foo')); - checkUnnamed832(o.parts); + checkUnnamed806(o.parts); } buildCounterMessagePart--; } @@ -419,27 +427,27 @@ buildCounterMessagePartHeader--; } -buildUnnamed833() { +buildUnnamed807() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed833(core.List<core.String> o) { +checkUnnamed807(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed834() { +buildUnnamed808() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed834(core.List<core.String> o) { +checkUnnamed808(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -450,8 +458,8 @@ var o = new api.ModifyMessageRequest(); buildCounterModifyMessageRequest++; if (buildCounterModifyMessageRequest < 3) { - o.addLabelIds = buildUnnamed833(); - o.removeLabelIds = buildUnnamed834(); + o.addLabelIds = buildUnnamed807(); + o.removeLabelIds = buildUnnamed808(); } buildCounterModifyMessageRequest--; return o; @@ -460,33 +468,33 @@ checkModifyMessageRequest(api.ModifyMessageRequest o) { buildCounterModifyMessageRequest++; if (buildCounterModifyMessageRequest < 3) { - checkUnnamed833(o.addLabelIds); - checkUnnamed834(o.removeLabelIds); + checkUnnamed807(o.addLabelIds); + checkUnnamed808(o.removeLabelIds); } buildCounterModifyMessageRequest--; } -buildUnnamed835() { +buildUnnamed809() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed835(core.List<core.String> o) { +checkUnnamed809(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed836() { +buildUnnamed810() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed836(core.List<core.String> o) { +checkUnnamed810(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -497,8 +505,8 @@ var o = new api.ModifyThreadRequest(); buildCounterModifyThreadRequest++; if (buildCounterModifyThreadRequest < 3) { - o.addLabelIds = buildUnnamed835(); - o.removeLabelIds = buildUnnamed836(); + o.addLabelIds = buildUnnamed809(); + o.removeLabelIds = buildUnnamed810(); } buildCounterModifyThreadRequest--; return o; @@ -507,20 +515,20 @@ checkModifyThreadRequest(api.ModifyThreadRequest o) { buildCounterModifyThreadRequest++; if (buildCounterModifyThreadRequest < 3) { - checkUnnamed835(o.addLabelIds); - checkUnnamed836(o.removeLabelIds); + checkUnnamed809(o.addLabelIds); + checkUnnamed810(o.removeLabelIds); } buildCounterModifyThreadRequest--; } -buildUnnamed837() { +buildUnnamed811() { var o = new core.List<api.Message>(); o.add(buildMessage()); o.add(buildMessage()); return o; } -checkUnnamed837(core.List<api.Message> o) { +checkUnnamed811(core.List<api.Message> o) { unittest.expect(o, unittest.hasLength(2)); checkMessage(o[0]); checkMessage(o[1]); @@ -533,7 +541,7 @@ if (buildCounterThread < 3) { o.historyId = "foo"; o.id = "foo"; - o.messages = buildUnnamed837(); + o.messages = buildUnnamed811(); o.snippet = "foo"; } buildCounterThread--; @@ -545,46 +553,46 @@ if (buildCounterThread < 3) { unittest.expect(o.historyId, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed837(o.messages); + checkUnnamed811(o.messages); unittest.expect(o.snippet, unittest.equals('foo')); } buildCounterThread--; } -buildUnnamed838() { +buildUnnamed812() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed838(core.List<core.String> o) { +checkUnnamed812(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed839() { +buildUnnamed813() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed839(core.List<core.String> o) { +checkUnnamed813(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed840() { +buildUnnamed814() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed840(core.List<core.String> o) { +checkUnnamed814(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1381,7 +1389,7 @@ var arg_userId = "foo"; var arg_id = "foo"; var arg_format = "foo"; - var arg_metadataHeaders = buildUnnamed838(); + var arg_metadataHeaders = buildUnnamed812(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0; @@ -1527,7 +1535,7 @@ api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages; var arg_userId = "foo"; var arg_includeSpamTrash = true; - var arg_labelIds = buildUnnamed839(); + var arg_labelIds = buildUnnamed813(); var arg_maxResults = 42; var arg_pageToken = "foo"; var arg_q = "foo"; @@ -1896,7 +1904,7 @@ api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads; var arg_userId = "foo"; var arg_includeSpamTrash = true; - var arg_labelIds = buildUnnamed840(); + var arg_labelIds = buildUnnamed814(); var arg_maxResults = 42; var arg_pageToken = "foo"; var arg_q = "foo";
diff --git a/generated/googleapis/test/identitytoolkit/v3_test.dart b/generated/googleapis/test/identitytoolkit/v3_test.dart index 545440b..2027c80 100644 --- a/generated/googleapis/test/identitytoolkit/v3_test.dart +++ b/generated/googleapis/test/identitytoolkit/v3_test.dart
@@ -64,14 +64,14 @@ buildCounterDeleteAccountResponse--; } -buildUnnamed329() { +buildUnnamed303() { var o = new core.List<api.UserInfo>(); o.add(buildUserInfo()); o.add(buildUserInfo()); return o; } -checkUnnamed329(core.List<api.UserInfo> o) { +checkUnnamed303(core.List<api.UserInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkUserInfo(o[0]); checkUserInfo(o[1]); @@ -84,7 +84,7 @@ if (buildCounterDownloadAccountResponse < 3) { o.kind = "foo"; o.nextPageToken = "foo"; - o.users = buildUnnamed329(); + o.users = buildUnnamed303(); } buildCounterDownloadAccountResponse--; return o; @@ -95,19 +95,19 @@ if (buildCounterDownloadAccountResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed329(o.users); + checkUnnamed303(o.users); } buildCounterDownloadAccountResponse--; } -buildUnnamed330() { +buildUnnamed304() { var o = new core.List<api.UserInfo>(); o.add(buildUserInfo()); o.add(buildUserInfo()); return o; } -checkUnnamed330(core.List<api.UserInfo> o) { +checkUnnamed304(core.List<api.UserInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkUserInfo(o[0]); checkUserInfo(o[1]); @@ -119,7 +119,7 @@ buildCounterGetAccountInfoResponse++; if (buildCounterGetAccountInfoResponse < 3) { o.kind = "foo"; - o.users = buildUnnamed330(); + o.users = buildUnnamed304(); } buildCounterGetAccountInfoResponse--; return o; @@ -129,7 +129,7 @@ buildCounterGetAccountInfoResponse++; if (buildCounterGetAccountInfoResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed330(o.users); + checkUnnamed304(o.users); } buildCounterGetAccountInfoResponse--; } @@ -228,27 +228,27 @@ buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; } -buildUnnamed331() { +buildUnnamed305() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed331(core.List<core.String> o) { +checkUnnamed305(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed332() { +buildUnnamed306() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed332(core.List<core.String> o) { +checkUnnamed306(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -259,9 +259,9 @@ var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { - o.email = buildUnnamed331(); + o.email = buildUnnamed305(); o.idToken = "foo"; - o.localId = buildUnnamed332(); + o.localId = buildUnnamed306(); } buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; return o; @@ -270,9 +270,9 @@ checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelyingpartyGetAccountInfoRequest o) { buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { - checkUnnamed331(o.email); + checkUnnamed305(o.email); unittest.expect(o.idToken, unittest.equals('foo')); - checkUnnamed332(o.localId); + checkUnnamed306(o.localId); } buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; } @@ -315,14 +315,14 @@ buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; } -buildUnnamed333() { +buildUnnamed307() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed333(core.List<core.String> o) { +checkUnnamed307(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -342,7 +342,7 @@ o.localId = "foo"; o.oobCode = "foo"; o.password = "foo"; - o.provider = buildUnnamed333(); + o.provider = buildUnnamed307(); o.upgradeToFederatedLogin = true; } buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; @@ -361,20 +361,20 @@ unittest.expect(o.localId, unittest.equals('foo')); unittest.expect(o.oobCode, unittest.equals('foo')); unittest.expect(o.password, unittest.equals('foo')); - checkUnnamed333(o.provider); + checkUnnamed307(o.provider); unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); } buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; } -buildUnnamed334() { +buildUnnamed308() { var o = new core.List<api.UserInfo>(); o.add(buildUserInfo()); o.add(buildUserInfo()); return o; } -checkUnnamed334(core.List<api.UserInfo> o) { +checkUnnamed308(core.List<api.UserInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkUserInfo(o[0]); checkUserInfo(o[1]); @@ -390,7 +390,7 @@ o.rounds = 42; o.saltSeparator = "foo"; o.signerKey = "foo"; - o.users = buildUnnamed334(); + o.users = buildUnnamed308(); } buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; return o; @@ -404,7 +404,7 @@ unittest.expect(o.rounds, unittest.equals(42)); unittest.expect(o.saltSeparator, unittest.equals('foo')); unittest.expect(o.signerKey, unittest.equals('foo')); - checkUnnamed334(o.users); + checkUnnamed308(o.users); } buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; } @@ -536,14 +536,14 @@ buildCounterSetAccountInfoResponseProviderUserInfo--; } -buildUnnamed335() { +buildUnnamed309() { var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); o.add(buildSetAccountInfoResponseProviderUserInfo()); o.add(buildSetAccountInfoResponseProviderUserInfo()); return o; } -checkUnnamed335(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { +checkUnnamed309(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkSetAccountInfoResponseProviderUserInfo(o[0]); checkSetAccountInfoResponseProviderUserInfo(o[1]); @@ -558,7 +558,7 @@ o.email = "foo"; o.idToken = "foo"; o.kind = "foo"; - o.providerUserInfo = buildUnnamed335(); + o.providerUserInfo = buildUnnamed309(); } buildCounterSetAccountInfoResponse--; return o; @@ -571,7 +571,7 @@ unittest.expect(o.email, unittest.equals('foo')); unittest.expect(o.idToken, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed335(o.providerUserInfo); + checkUnnamed309(o.providerUserInfo); } buildCounterSetAccountInfoResponse--; } @@ -597,14 +597,14 @@ buildCounterUploadAccountResponseError--; } -buildUnnamed336() { +buildUnnamed310() { var o = new core.List<api.UploadAccountResponseError>(); o.add(buildUploadAccountResponseError()); o.add(buildUploadAccountResponseError()); return o; } -checkUnnamed336(core.List<api.UploadAccountResponseError> o) { +checkUnnamed310(core.List<api.UploadAccountResponseError> o) { unittest.expect(o, unittest.hasLength(2)); checkUploadAccountResponseError(o[0]); checkUploadAccountResponseError(o[1]); @@ -615,7 +615,7 @@ var o = new api.UploadAccountResponse(); buildCounterUploadAccountResponse++; if (buildCounterUploadAccountResponse < 3) { - o.error = buildUnnamed336(); + o.error = buildUnnamed310(); o.kind = "foo"; } buildCounterUploadAccountResponse--; @@ -625,7 +625,7 @@ checkUploadAccountResponse(api.UploadAccountResponse o) { buildCounterUploadAccountResponse++; if (buildCounterUploadAccountResponse < 3) { - checkUnnamed336(o.error); + checkUnnamed310(o.error); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterUploadAccountResponse--; @@ -656,14 +656,14 @@ buildCounterUserInfoProviderUserInfo--; } -buildUnnamed337() { +buildUnnamed311() { var o = new core.List<api.UserInfoProviderUserInfo>(); o.add(buildUserInfoProviderUserInfo()); o.add(buildUserInfoProviderUserInfo()); return o; } -checkUnnamed337(core.List<api.UserInfoProviderUserInfo> o) { +checkUnnamed311(core.List<api.UserInfoProviderUserInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkUserInfoProviderUserInfo(o[0]); checkUserInfoProviderUserInfo(o[1]); @@ -681,7 +681,7 @@ o.passwordHash = "foo"; o.passwordUpdatedAt = 42.0; o.photoUrl = "foo"; - o.providerUserInfo = buildUnnamed337(); + o.providerUserInfo = buildUnnamed311(); o.salt = "foo"; o.version = 42; } @@ -699,21 +699,21 @@ unittest.expect(o.passwordHash, unittest.equals('foo')); unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); unittest.expect(o.photoUrl, unittest.equals('foo')); - checkUnnamed337(o.providerUserInfo); + checkUnnamed311(o.providerUserInfo); unittest.expect(o.salt, unittest.equals('foo')); unittest.expect(o.version, unittest.equals(42)); } buildCounterUserInfo--; } -buildUnnamed338() { +buildUnnamed312() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed338(core.List<core.String> o) { +checkUnnamed312(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -750,7 +750,7 @@ o.photoUrl = "foo"; o.providerId = "foo"; o.timeZone = "foo"; - o.verifiedProvider = buildUnnamed338(); + o.verifiedProvider = buildUnnamed312(); } buildCounterVerifyAssertionResponse--; return o; @@ -785,7 +785,7 @@ unittest.expect(o.photoUrl, unittest.equals('foo')); unittest.expect(o.providerId, unittest.equals('foo')); unittest.expect(o.timeZone, unittest.equals('foo')); - checkUnnamed338(o.verifiedProvider); + checkUnnamed312(o.verifiedProvider); } buildCounterVerifyAssertionResponse--; }
diff --git a/generated/googleapis/test/licensing/v1_test.dart b/generated/googleapis/test/licensing/v1_test.dart index 6525c35..a92d63b 100644 --- a/generated/googleapis/test/licensing/v1_test.dart +++ b/generated/googleapis/test/licensing/v1_test.dart
@@ -64,14 +64,14 @@ buildCounterLicenseAssignmentInsert--; } -buildUnnamed339() { +buildUnnamed313() { var o = new core.List<api.LicenseAssignment>(); o.add(buildLicenseAssignment()); o.add(buildLicenseAssignment()); return o; } -checkUnnamed339(core.List<api.LicenseAssignment> o) { +checkUnnamed313(core.List<api.LicenseAssignment> o) { unittest.expect(o, unittest.hasLength(2)); checkLicenseAssignment(o[0]); checkLicenseAssignment(o[1]); @@ -83,7 +83,7 @@ buildCounterLicenseAssignmentList++; if (buildCounterLicenseAssignmentList < 3) { o.etag = "foo"; - o.items = buildUnnamed339(); + o.items = buildUnnamed313(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -95,7 +95,7 @@ buildCounterLicenseAssignmentList++; if (buildCounterLicenseAssignmentList < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed339(o.items); + checkUnnamed313(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); }
diff --git a/generated/googleapis/test/mapsengine/v1_test.dart b/generated/googleapis/test/mapsengine/v1_test.dart index c7cb066..54ce466 100644 --- a/generated/googleapis/test/mapsengine/v1_test.dart +++ b/generated/googleapis/test/mapsengine/v1_test.dart
@@ -39,27 +39,27 @@ buildCounterAcquisitionTime--; } -buildUnnamed359() { +buildUnnamed333() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed359(core.List<core.double> o) { +checkUnnamed333(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); } -buildUnnamed360() { +buildUnnamed334() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed360(core.List<core.String> o) { +checkUnnamed334(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -70,7 +70,7 @@ var o = new api.Asset(); buildCounterAsset++; if (buildCounterAsset < 3) { - o.bbox = buildUnnamed359(); + o.bbox = buildUnnamed333(); o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); o.creatorEmail = "foo"; o.description = "foo"; @@ -81,7 +81,7 @@ o.name = "foo"; o.projectId = "foo"; o.resource = "foo"; - o.tags = buildUnnamed360(); + o.tags = buildUnnamed334(); o.type = "foo"; o.writersCanEditPermissions = true; } @@ -92,7 +92,7 @@ checkAsset(api.Asset o) { buildCounterAsset++; if (buildCounterAsset < 3) { - checkUnnamed359(o.bbox); + checkUnnamed333(o.bbox); unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.creatorEmail, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); @@ -103,21 +103,21 @@ unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.projectId, unittest.equals('foo')); unittest.expect(o.resource, unittest.equals('foo')); - checkUnnamed360(o.tags); + checkUnnamed334(o.tags); unittest.expect(o.type, unittest.equals('foo')); unittest.expect(o.writersCanEditPermissions, unittest.isTrue); } buildCounterAsset--; } -buildUnnamed361() { +buildUnnamed335() { var o = new core.List<api.Asset>(); o.add(buildAsset()); o.add(buildAsset()); return o; } -checkUnnamed361(core.List<api.Asset> o) { +checkUnnamed335(core.List<api.Asset> o) { unittest.expect(o, unittest.hasLength(2)); checkAsset(o[0]); checkAsset(o[1]); @@ -128,7 +128,7 @@ var o = new api.AssetsListResponse(); buildCounterAssetsListResponse++; if (buildCounterAssetsListResponse < 3) { - o.assets = buildUnnamed361(); + o.assets = buildUnnamed335(); o.nextPageToken = "foo"; } buildCounterAssetsListResponse--; @@ -138,7 +138,7 @@ checkAssetsListResponse(api.AssetsListResponse o) { buildCounterAssetsListResponse++; if (buildCounterAssetsListResponse < 3) { - checkUnnamed361(o.assets); + checkUnnamed335(o.assets); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterAssetsListResponse--; @@ -220,14 +220,14 @@ checkDatasource(o[1]); } -buildUnnamed362() { +buildUnnamed336() { var o = new core.List<api.Filter>(); o.add(buildFilter()); o.add(buildFilter()); return o; } -checkUnnamed362(core.List<api.Filter> o) { +checkUnnamed336(core.List<api.Filter> o) { unittest.expect(o, unittest.hasLength(2)); checkFilter(o[0]); checkFilter(o[1]); @@ -238,7 +238,7 @@ var o = new api.DisplayRule(); buildCounterDisplayRule++; if (buildCounterDisplayRule < 3) { - o.filters = buildUnnamed362(); + o.filters = buildUnnamed336(); o.lineOptions = buildLineStyle(); o.name = "foo"; o.pointOptions = buildPointStyle(); @@ -252,7 +252,7 @@ checkDisplayRule(api.DisplayRule o) { buildCounterDisplayRule++; if (buildCounterDisplayRule < 3) { - checkUnnamed362(o.filters); + checkUnnamed336(o.filters); checkLineStyle(o.lineOptions); unittest.expect(o.name, unittest.equals('foo')); checkPointStyle(o.pointOptions); @@ -304,27 +304,27 @@ buildCounterFeatureInfo--; } -buildUnnamed363() { +buildUnnamed337() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed363(core.List<core.String> o) { +checkUnnamed337(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed364() { +buildUnnamed338() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed364(core.List<core.String> o) { +checkUnnamed338(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -335,8 +335,8 @@ var o = new api.FeaturesBatchDeleteRequest(); buildCounterFeaturesBatchDeleteRequest++; if (buildCounterFeaturesBatchDeleteRequest < 3) { - o.gxIds = buildUnnamed363(); - o.primaryKeys = buildUnnamed364(); + o.gxIds = buildUnnamed337(); + o.primaryKeys = buildUnnamed338(); } buildCounterFeaturesBatchDeleteRequest--; return o; @@ -345,20 +345,20 @@ checkFeaturesBatchDeleteRequest(api.FeaturesBatchDeleteRequest o) { buildCounterFeaturesBatchDeleteRequest++; if (buildCounterFeaturesBatchDeleteRequest < 3) { - checkUnnamed363(o.gxIds); - checkUnnamed364(o.primaryKeys); + checkUnnamed337(o.gxIds); + checkUnnamed338(o.primaryKeys); } buildCounterFeaturesBatchDeleteRequest--; } -buildUnnamed365() { +buildUnnamed339() { var o = new core.List<api.Feature>(); o.add(buildFeature()); o.add(buildFeature()); return o; } -checkUnnamed365(core.List<api.Feature> o) { +checkUnnamed339(core.List<api.Feature> o) { unittest.expect(o, unittest.hasLength(2)); checkFeature(o[0]); checkFeature(o[1]); @@ -369,7 +369,7 @@ var o = new api.FeaturesBatchInsertRequest(); buildCounterFeaturesBatchInsertRequest++; if (buildCounterFeaturesBatchInsertRequest < 3) { - o.features = buildUnnamed365(); + o.features = buildUnnamed339(); o.normalizeGeometries = true; } buildCounterFeaturesBatchInsertRequest--; @@ -379,20 +379,20 @@ checkFeaturesBatchInsertRequest(api.FeaturesBatchInsertRequest o) { buildCounterFeaturesBatchInsertRequest++; if (buildCounterFeaturesBatchInsertRequest < 3) { - checkUnnamed365(o.features); + checkUnnamed339(o.features); unittest.expect(o.normalizeGeometries, unittest.isTrue); } buildCounterFeaturesBatchInsertRequest--; } -buildUnnamed366() { +buildUnnamed340() { var o = new core.List<api.Feature>(); o.add(buildFeature()); o.add(buildFeature()); return o; } -checkUnnamed366(core.List<api.Feature> o) { +checkUnnamed340(core.List<api.Feature> o) { unittest.expect(o, unittest.hasLength(2)); checkFeature(o[0]); checkFeature(o[1]); @@ -403,7 +403,7 @@ var o = new api.FeaturesBatchPatchRequest(); buildCounterFeaturesBatchPatchRequest++; if (buildCounterFeaturesBatchPatchRequest < 3) { - o.features = buildUnnamed366(); + o.features = buildUnnamed340(); o.normalizeGeometries = true; } buildCounterFeaturesBatchPatchRequest--; @@ -413,20 +413,20 @@ checkFeaturesBatchPatchRequest(api.FeaturesBatchPatchRequest o) { buildCounterFeaturesBatchPatchRequest++; if (buildCounterFeaturesBatchPatchRequest < 3) { - checkUnnamed366(o.features); + checkUnnamed340(o.features); unittest.expect(o.normalizeGeometries, unittest.isTrue); } buildCounterFeaturesBatchPatchRequest--; } -buildUnnamed367() { +buildUnnamed341() { var o = new core.List<api.Feature>(); o.add(buildFeature()); o.add(buildFeature()); return o; } -checkUnnamed367(core.List<api.Feature> o) { +checkUnnamed341(core.List<api.Feature> o) { unittest.expect(o, unittest.hasLength(2)); checkFeature(o[0]); checkFeature(o[1]); @@ -438,7 +438,7 @@ buildCounterFeaturesListResponse++; if (buildCounterFeaturesListResponse < 3) { o.allowedQueriesPerSecond = 42.0; - o.features = buildUnnamed367(); + o.features = buildUnnamed341(); o.nextPageToken = "foo"; o.schema = buildSchema(); o.type = "foo"; @@ -451,7 +451,7 @@ buildCounterFeaturesListResponse++; if (buildCounterFeaturesListResponse < 3) { unittest.expect(o.allowedQueriesPerSecond, unittest.equals(42.0)); - checkUnnamed367(o.features); + checkUnnamed341(o.features); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkSchema(o.schema); unittest.expect(o.type, unittest.equals('foo')); @@ -513,7 +513,7 @@ checkGeoJsonGeometryCollection(api.GeoJsonGeometryCollection o) { buildCounterGeoJsonGeometryCollection++; if (buildCounterGeoJsonGeometryCollection < 3) { - checkUnnamed368(o.geometries); + checkUnnamed342(o.geometries); } buildCounterGeoJsonGeometryCollection--; } @@ -521,14 +521,14 @@ (o); } -buildUnnamed368() { +buildUnnamed342() { var o = new core.List<api.GeoJsonGeometry>(); o.add(buildGeoJsonGeometry()); o.add(buildGeoJsonGeometry()); return o; } -checkUnnamed368(core.List<api.GeoJsonGeometry> o) { +checkUnnamed342(core.List<api.GeoJsonGeometry> o) { unittest.expect(o, unittest.hasLength(2)); checkGeoJsonGeometry(o[0]); checkGeoJsonGeometry(o[1]); @@ -539,7 +539,7 @@ var o = new api.GeoJsonGeometryCollection(); buildCounterGeoJsonGeometryCollection++; if (buildCounterGeoJsonGeometryCollection < 3) { - o.geometries = buildUnnamed368(); + o.geometries = buildUnnamed342(); } buildCounterGeoJsonGeometryCollection--; return o; @@ -548,19 +548,19 @@ checkGeoJsonGeometryCollection(api.GeoJsonGeometryCollection o) { buildCounterGeoJsonGeometryCollection++; if (buildCounterGeoJsonGeometryCollection < 3) { - checkUnnamed368(o.geometries); + checkUnnamed342(o.geometries); } buildCounterGeoJsonGeometryCollection--; } -buildUnnamed369() { +buildUnnamed343() { var o = new core.List<api.GeoJsonPosition>(); o.add(buildGeoJsonPosition()); o.add(buildGeoJsonPosition()); return o; } -checkUnnamed369(core.List<api.GeoJsonPosition> o) { +checkUnnamed343(core.List<api.GeoJsonPosition> o) { unittest.expect(o, unittest.hasLength(2)); checkGeoJsonPosition(o[0]); checkGeoJsonPosition(o[1]); @@ -571,7 +571,7 @@ var o = new api.GeoJsonLineString(); buildCounterGeoJsonLineString++; if (buildCounterGeoJsonLineString < 3) { - o.coordinates = buildUnnamed369(); + o.coordinates = buildUnnamed343(); } buildCounterGeoJsonLineString--; return o; @@ -580,35 +580,35 @@ checkGeoJsonLineString(api.GeoJsonLineString o) { buildCounterGeoJsonLineString++; if (buildCounterGeoJsonLineString < 3) { - checkUnnamed369(o.coordinates); + checkUnnamed343(o.coordinates); } buildCounterGeoJsonLineString--; } -buildUnnamed370() { +buildUnnamed344() { var o = new core.List<api.GeoJsonPosition>(); o.add(buildGeoJsonPosition()); o.add(buildGeoJsonPosition()); return o; } -checkUnnamed370(core.List<api.GeoJsonPosition> o) { +checkUnnamed344(core.List<api.GeoJsonPosition> o) { unittest.expect(o, unittest.hasLength(2)); checkGeoJsonPosition(o[0]); checkGeoJsonPosition(o[1]); } -buildUnnamed371() { +buildUnnamed345() { var o = new core.List<core.List<api.GeoJsonPosition>>(); - o.add(buildUnnamed370()); - o.add(buildUnnamed370()); + o.add(buildUnnamed344()); + o.add(buildUnnamed344()); return o; } -checkUnnamed371(core.List<core.List<api.GeoJsonPosition>> o) { +checkUnnamed345(core.List<core.List<api.GeoJsonPosition>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed370(o[0]); - checkUnnamed370(o[1]); + checkUnnamed344(o[0]); + checkUnnamed344(o[1]); } core.int buildCounterGeoJsonMultiLineString = 0; @@ -616,7 +616,7 @@ var o = new api.GeoJsonMultiLineString(); buildCounterGeoJsonMultiLineString++; if (buildCounterGeoJsonMultiLineString < 3) { - o.coordinates = buildUnnamed371(); + o.coordinates = buildUnnamed345(); } buildCounterGeoJsonMultiLineString--; return o; @@ -625,19 +625,19 @@ checkGeoJsonMultiLineString(api.GeoJsonMultiLineString o) { buildCounterGeoJsonMultiLineString++; if (buildCounterGeoJsonMultiLineString < 3) { - checkUnnamed371(o.coordinates); + checkUnnamed345(o.coordinates); } buildCounterGeoJsonMultiLineString--; } -buildUnnamed372() { +buildUnnamed346() { var o = new core.List<api.GeoJsonPosition>(); o.add(buildGeoJsonPosition()); o.add(buildGeoJsonPosition()); return o; } -checkUnnamed372(core.List<api.GeoJsonPosition> o) { +checkUnnamed346(core.List<api.GeoJsonPosition> o) { unittest.expect(o, unittest.hasLength(2)); checkGeoJsonPosition(o[0]); checkGeoJsonPosition(o[1]); @@ -648,7 +648,7 @@ var o = new api.GeoJsonMultiPoint(); buildCounterGeoJsonMultiPoint++; if (buildCounterGeoJsonMultiPoint < 3) { - o.coordinates = buildUnnamed372(); + o.coordinates = buildUnnamed346(); } buildCounterGeoJsonMultiPoint--; return o; @@ -657,48 +657,48 @@ checkGeoJsonMultiPoint(api.GeoJsonMultiPoint o) { buildCounterGeoJsonMultiPoint++; if (buildCounterGeoJsonMultiPoint < 3) { - checkUnnamed372(o.coordinates); + checkUnnamed346(o.coordinates); } buildCounterGeoJsonMultiPoint--; } -buildUnnamed373() { +buildUnnamed347() { var o = new core.List<api.GeoJsonPosition>(); o.add(buildGeoJsonPosition()); o.add(buildGeoJsonPosition()); return o; } -checkUnnamed373(core.List<api.GeoJsonPosition> o) { +checkUnnamed347(core.List<api.GeoJsonPosition> o) { unittest.expect(o, unittest.hasLength(2)); checkGeoJsonPosition(o[0]); checkGeoJsonPosition(o[1]); } -buildUnnamed374() { +buildUnnamed348() { var o = new core.List<core.List<api.GeoJsonPosition>>(); - o.add(buildUnnamed373()); - o.add(buildUnnamed373()); + o.add(buildUnnamed347()); + o.add(buildUnnamed347()); return o; } -checkUnnamed374(core.List<core.List<api.GeoJsonPosition>> o) { +checkUnnamed348(core.List<core.List<api.GeoJsonPosition>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed373(o[0]); - checkUnnamed373(o[1]); + checkUnnamed347(o[0]); + checkUnnamed347(o[1]); } -buildUnnamed375() { +buildUnnamed349() { var o = new core.List<core.List<core.List<api.GeoJsonPosition>>>(); - o.add(buildUnnamed374()); - o.add(buildUnnamed374()); + o.add(buildUnnamed348()); + o.add(buildUnnamed348()); return o; } -checkUnnamed375(core.List<core.List<core.List<api.GeoJsonPosition>>> o) { +checkUnnamed349(core.List<core.List<core.List<api.GeoJsonPosition>>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed374(o[0]); - checkUnnamed374(o[1]); + checkUnnamed348(o[0]); + checkUnnamed348(o[1]); } core.int buildCounterGeoJsonMultiPolygon = 0; @@ -706,7 +706,7 @@ var o = new api.GeoJsonMultiPolygon(); buildCounterGeoJsonMultiPolygon++; if (buildCounterGeoJsonMultiPolygon < 3) { - o.coordinates = buildUnnamed375(); + o.coordinates = buildUnnamed349(); } buildCounterGeoJsonMultiPolygon--; return o; @@ -715,7 +715,7 @@ checkGeoJsonMultiPolygon(api.GeoJsonMultiPolygon o) { buildCounterGeoJsonMultiPolygon++; if (buildCounterGeoJsonMultiPolygon < 3) { - checkUnnamed375(o.coordinates); + checkUnnamed349(o.coordinates); } buildCounterGeoJsonMultiPolygon--; } @@ -739,30 +739,30 @@ buildCounterGeoJsonPoint--; } -buildUnnamed376() { +buildUnnamed350() { var o = new core.List<api.GeoJsonPosition>(); o.add(buildGeoJsonPosition()); o.add(buildGeoJsonPosition()); return o; } -checkUnnamed376(core.List<api.GeoJsonPosition> o) { +checkUnnamed350(core.List<api.GeoJsonPosition> o) { unittest.expect(o, unittest.hasLength(2)); checkGeoJsonPosition(o[0]); checkGeoJsonPosition(o[1]); } -buildUnnamed377() { +buildUnnamed351() { var o = new core.List<core.List<api.GeoJsonPosition>>(); - o.add(buildUnnamed376()); - o.add(buildUnnamed376()); + o.add(buildUnnamed350()); + o.add(buildUnnamed350()); return o; } -checkUnnamed377(core.List<core.List<api.GeoJsonPosition>> o) { +checkUnnamed351(core.List<core.List<api.GeoJsonPosition>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed376(o[0]); - checkUnnamed376(o[1]); + checkUnnamed350(o[0]); + checkUnnamed350(o[1]); } core.int buildCounterGeoJsonPolygon = 0; @@ -770,7 +770,7 @@ var o = new api.GeoJsonPolygon(); buildCounterGeoJsonPolygon++; if (buildCounterGeoJsonPolygon < 3) { - o.coordinates = buildUnnamed377(); + o.coordinates = buildUnnamed351(); } buildCounterGeoJsonPolygon--; return o; @@ -779,7 +779,7 @@ checkGeoJsonPolygon(api.GeoJsonPolygon o) { buildCounterGeoJsonPolygon++; if (buildCounterGeoJsonPolygon < 3) { - checkUnnamed377(o.coordinates); + checkUnnamed351(o.coordinates); } buildCounterGeoJsonPolygon--; } @@ -858,14 +858,14 @@ buildCounterIconStyle--; } -buildUnnamed378() { +buildUnnamed352() { var o = new core.List<api.Icon>(); o.add(buildIcon()); o.add(buildIcon()); return o; } -checkUnnamed378(core.List<api.Icon> o) { +checkUnnamed352(core.List<api.Icon> o) { unittest.expect(o, unittest.hasLength(2)); checkIcon(o[0]); checkIcon(o[1]); @@ -876,7 +876,7 @@ var o = new api.IconsListResponse(); buildCounterIconsListResponse++; if (buildCounterIconsListResponse < 3) { - o.icons = buildUnnamed378(); + o.icons = buildUnnamed352(); o.nextPageToken = "foo"; } buildCounterIconsListResponse--; @@ -886,7 +886,7 @@ checkIconsListResponse(api.IconsListResponse o) { buildCounterIconsListResponse++; if (buildCounterIconsListResponse < 3) { - checkUnnamed378(o.icons); + checkUnnamed352(o.icons); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterIconsListResponse--; @@ -936,14 +936,14 @@ unittest.expect(o[1], unittest.equals(42.0)); } -buildUnnamed379() { +buildUnnamed353() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed379(core.List<core.double> o) { +checkUnnamed353(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); @@ -954,7 +954,7 @@ var o = new api.Layer(); buildCounterLayer++; if (buildCounterLayer < 3) { - o.bbox = buildUnnamed379(); + o.bbox = buildUnnamed353(); o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); o.creatorEmail = "foo"; o.datasourceType = "foo"; @@ -982,7 +982,7 @@ checkLayer(api.Layer o) { buildCounterLayer++; if (buildCounterLayer < 3) { - checkUnnamed379(o.bbox); + checkUnnamed353(o.bbox); unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.creatorEmail, unittest.equals('foo')); unittest.expect(o.datasourceType, unittest.equals('foo')); @@ -1006,14 +1006,14 @@ buildCounterLayer--; } -buildUnnamed380() { +buildUnnamed354() { var o = new core.List<api.Layer>(); o.add(buildLayer()); o.add(buildLayer()); return o; } -checkUnnamed380(core.List<api.Layer> o) { +checkUnnamed354(core.List<api.Layer> o) { unittest.expect(o, unittest.hasLength(2)); checkLayer(o[0]); checkLayer(o[1]); @@ -1024,7 +1024,7 @@ var o = new api.LayersListResponse(); buildCounterLayersListResponse++; if (buildCounterLayersListResponse < 3) { - o.layers = buildUnnamed380(); + o.layers = buildUnnamed354(); o.nextPageToken = "foo"; } buildCounterLayersListResponse--; @@ -1034,20 +1034,20 @@ checkLayersListResponse(api.LayersListResponse o) { buildCounterLayersListResponse++; if (buildCounterLayersListResponse < 3) { - checkUnnamed380(o.layers); + checkUnnamed354(o.layers); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterLayersListResponse--; } -buildUnnamed381() { +buildUnnamed355() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed381(core.List<core.double> o) { +checkUnnamed355(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); @@ -1082,7 +1082,7 @@ buildCounterLineStyle++; if (buildCounterLineStyle < 3) { o.border = buildBorder(); - o.dash = buildUnnamed381(); + o.dash = buildUnnamed355(); o.label = buildLabelStyle(); o.stroke = buildLineStyleStroke(); } @@ -1094,34 +1094,34 @@ buildCounterLineStyle++; if (buildCounterLineStyle < 3) { checkBorder(o.border); - checkUnnamed381(o.dash); + checkUnnamed355(o.dash); checkLabelStyle(o.label); checkLineStyleStroke(o.stroke); } buildCounterLineStyle--; } -buildUnnamed382() { +buildUnnamed356() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed382(core.List<core.double> o) { +checkUnnamed356(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); } -buildUnnamed383() { +buildUnnamed357() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed383(core.List<core.String> o) { +checkUnnamed357(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1132,7 +1132,7 @@ var o = new api.Map(); buildCounterMap++; if (buildCounterMap < 3) { - o.bbox = buildUnnamed382(); + o.bbox = buildUnnamed356(); o.contents = buildMapContents(); o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); o.creatorEmail = "foo"; @@ -1149,7 +1149,7 @@ o.publishedAccessList = "foo"; o.publishingStatus = "foo"; o.tags = buildTags(); - o.versions = buildUnnamed383(); + o.versions = buildUnnamed357(); o.writersCanEditPermissions = true; } buildCounterMap--; @@ -1159,7 +1159,7 @@ checkMap(api.Map o) { buildCounterMap++; if (buildCounterMap < 3) { - checkUnnamed382(o.bbox); + checkUnnamed356(o.bbox); checkMapContents(o.contents); unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.creatorEmail, unittest.equals('foo')); @@ -1176,7 +1176,7 @@ unittest.expect(o.publishedAccessList, unittest.equals('foo')); unittest.expect(o.publishingStatus, unittest.equals('foo')); checkTags(o.tags); - checkUnnamed383(o.versions); + checkUnnamed357(o.versions); unittest.expect(o.writersCanEditPermissions, unittest.isTrue); } buildCounterMap--; @@ -1195,27 +1195,27 @@ checkMapItem(o[1]); } -buildUnnamed384() { +buildUnnamed358() { var o = new core.List<api.MapItem>(); o.add(buildMapItem()); o.add(buildMapItem()); return o; } -checkUnnamed384(core.List<api.MapItem> o) { +checkUnnamed358(core.List<api.MapItem> o) { unittest.expect(o, unittest.hasLength(2)); checkMapItem(o[0]); checkMapItem(o[1]); } -buildUnnamed385() { +buildUnnamed359() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed385(core.List<core.double> o) { +checkUnnamed359(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); @@ -1226,8 +1226,8 @@ var o = new api.MapFolder(); buildCounterMapFolder++; if (buildCounterMapFolder < 3) { - o.contents = buildUnnamed384(); - o.defaultViewport = buildUnnamed385(); + o.contents = buildUnnamed358(); + o.defaultViewport = buildUnnamed359(); o.expandable = true; o.key = "foo"; o.name = "foo"; @@ -1240,8 +1240,8 @@ checkMapFolder(api.MapFolder o) { buildCounterMapFolder++; if (buildCounterMapFolder < 3) { - checkUnnamed384(o.contents); - checkUnnamed385(o.defaultViewport); + checkUnnamed358(o.contents); + checkUnnamed359(o.defaultViewport); unittest.expect(o.expandable, unittest.isTrue); unittest.expect(o.key, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); @@ -1258,8 +1258,8 @@ checkMapFolder(api.MapFolder o) { buildCounterMapFolder++; if (buildCounterMapFolder < 3) { - checkUnnamed384(o.contents); - checkUnnamed385(o.defaultViewport); + checkUnnamed358(o.contents); + checkUnnamed359(o.defaultViewport); unittest.expect(o.expandable, unittest.isTrue); unittest.expect(o.key, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); @@ -1271,14 +1271,14 @@ (o); } -buildUnnamed386() { +buildUnnamed360() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed386(core.List<core.double> o) { +checkUnnamed360(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); @@ -1289,7 +1289,7 @@ var o = new api.MapKmlLink(); buildCounterMapKmlLink++; if (buildCounterMapKmlLink < 3) { - o.defaultViewport = buildUnnamed386(); + o.defaultViewport = buildUnnamed360(); o.kmlUrl = "foo"; o.name = "foo"; o.visibility = "foo"; @@ -1301,7 +1301,7 @@ checkMapKmlLink(api.MapKmlLink o) { buildCounterMapKmlLink++; if (buildCounterMapKmlLink < 3) { - checkUnnamed386(o.defaultViewport); + checkUnnamed360(o.defaultViewport); unittest.expect(o.kmlUrl, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.visibility, unittest.equals('foo')); @@ -1309,14 +1309,14 @@ buildCounterMapKmlLink--; } -buildUnnamed387() { +buildUnnamed361() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed387(core.List<core.double> o) { +checkUnnamed361(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); @@ -1327,7 +1327,7 @@ var o = new api.MapLayer(); buildCounterMapLayer++; if (buildCounterMapLayer < 3) { - o.defaultViewport = buildUnnamed387(); + o.defaultViewport = buildUnnamed361(); o.id = "foo"; o.key = "foo"; o.name = "foo"; @@ -1340,7 +1340,7 @@ checkMapLayer(api.MapLayer o) { buildCounterMapLayer++; if (buildCounterMapLayer < 3) { - checkUnnamed387(o.defaultViewport); + checkUnnamed361(o.defaultViewport); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.key, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); @@ -1349,14 +1349,14 @@ buildCounterMapLayer--; } -buildUnnamed388() { +buildUnnamed362() { var o = new core.List<api.Map>(); o.add(buildMap()); o.add(buildMap()); return o; } -checkUnnamed388(core.List<api.Map> o) { +checkUnnamed362(core.List<api.Map> o) { unittest.expect(o, unittest.hasLength(2)); checkMap(o[0]); checkMap(o[1]); @@ -1367,7 +1367,7 @@ var o = new api.MapsListResponse(); buildCounterMapsListResponse++; if (buildCounterMapsListResponse < 3) { - o.maps = buildUnnamed388(); + o.maps = buildUnnamed362(); o.nextPageToken = "foo"; } buildCounterMapsListResponse--; @@ -1377,7 +1377,7 @@ checkMapsListResponse(api.MapsListResponse o) { buildCounterMapsListResponse++; if (buildCounterMapsListResponse < 3) { - checkUnnamed388(o.maps); + checkUnnamed362(o.maps); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterMapsListResponse--; @@ -1402,14 +1402,14 @@ buildCounterParent--; } -buildUnnamed389() { +buildUnnamed363() { var o = new core.List<api.Parent>(); o.add(buildParent()); o.add(buildParent()); return o; } -checkUnnamed389(core.List<api.Parent> o) { +checkUnnamed363(core.List<api.Parent> o) { unittest.expect(o, unittest.hasLength(2)); checkParent(o[0]); checkParent(o[1]); @@ -1421,7 +1421,7 @@ buildCounterParentsListResponse++; if (buildCounterParentsListResponse < 3) { o.nextPageToken = "foo"; - o.parents = buildUnnamed389(); + o.parents = buildUnnamed363(); } buildCounterParentsListResponse--; return o; @@ -1431,7 +1431,7 @@ buildCounterParentsListResponse++; if (buildCounterParentsListResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed389(o.parents); + checkUnnamed363(o.parents); } buildCounterParentsListResponse--; } @@ -1461,14 +1461,14 @@ buildCounterPermission--; } -buildUnnamed390() { +buildUnnamed364() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed390(core.List<core.String> o) { +checkUnnamed364(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1479,7 +1479,7 @@ var o = new api.PermissionsBatchDeleteRequest(); buildCounterPermissionsBatchDeleteRequest++; if (buildCounterPermissionsBatchDeleteRequest < 3) { - o.ids = buildUnnamed390(); + o.ids = buildUnnamed364(); } buildCounterPermissionsBatchDeleteRequest--; return o; @@ -1488,7 +1488,7 @@ checkPermissionsBatchDeleteRequest(api.PermissionsBatchDeleteRequest o) { buildCounterPermissionsBatchDeleteRequest++; if (buildCounterPermissionsBatchDeleteRequest < 3) { - checkUnnamed390(o.ids); + checkUnnamed364(o.ids); } buildCounterPermissionsBatchDeleteRequest--; } @@ -1510,14 +1510,14 @@ buildCounterPermissionsBatchDeleteResponse--; } -buildUnnamed391() { +buildUnnamed365() { var o = new core.List<api.Permission>(); o.add(buildPermission()); o.add(buildPermission()); return o; } -checkUnnamed391(core.List<api.Permission> o) { +checkUnnamed365(core.List<api.Permission> o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); @@ -1528,7 +1528,7 @@ var o = new api.PermissionsBatchUpdateRequest(); buildCounterPermissionsBatchUpdateRequest++; if (buildCounterPermissionsBatchUpdateRequest < 3) { - o.permissions = buildUnnamed391(); + o.permissions = buildUnnamed365(); } buildCounterPermissionsBatchUpdateRequest--; return o; @@ -1537,7 +1537,7 @@ checkPermissionsBatchUpdateRequest(api.PermissionsBatchUpdateRequest o) { buildCounterPermissionsBatchUpdateRequest++; if (buildCounterPermissionsBatchUpdateRequest < 3) { - checkUnnamed391(o.permissions); + checkUnnamed365(o.permissions); } buildCounterPermissionsBatchUpdateRequest--; } @@ -1559,14 +1559,14 @@ buildCounterPermissionsBatchUpdateResponse--; } -buildUnnamed392() { +buildUnnamed366() { var o = new core.List<api.Permission>(); o.add(buildPermission()); o.add(buildPermission()); return o; } -checkUnnamed392(core.List<api.Permission> o) { +checkUnnamed366(core.List<api.Permission> o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); @@ -1577,7 +1577,7 @@ var o = new api.PermissionsListResponse(); buildCounterPermissionsListResponse++; if (buildCounterPermissionsListResponse < 3) { - o.permissions = buildUnnamed392(); + o.permissions = buildUnnamed366(); } buildCounterPermissionsListResponse--; return o; @@ -1586,7 +1586,7 @@ checkPermissionsListResponse(api.PermissionsListResponse o) { buildCounterPermissionsListResponse++; if (buildCounterPermissionsListResponse < 3) { - checkUnnamed392(o.permissions); + checkUnnamed366(o.permissions); } buildCounterPermissionsListResponse--; } @@ -1671,14 +1671,14 @@ buildCounterProject--; } -buildUnnamed393() { +buildUnnamed367() { var o = new core.List<api.Project>(); o.add(buildProject()); o.add(buildProject()); return o; } -checkUnnamed393(core.List<api.Project> o) { +checkUnnamed367(core.List<api.Project> o) { unittest.expect(o, unittest.hasLength(2)); checkProject(o[0]); checkProject(o[1]); @@ -1689,7 +1689,7 @@ var o = new api.ProjectsListResponse(); buildCounterProjectsListResponse++; if (buildCounterProjectsListResponse < 3) { - o.projects = buildUnnamed393(); + o.projects = buildUnnamed367(); } buildCounterProjectsListResponse--; return o; @@ -1698,7 +1698,7 @@ checkProjectsListResponse(api.ProjectsListResponse o) { buildCounterProjectsListResponse++; if (buildCounterProjectsListResponse < 3) { - checkUnnamed393(o.projects); + checkUnnamed367(o.projects); } buildCounterProjectsListResponse--; } @@ -1747,14 +1747,14 @@ buildCounterPublishedLayer--; } -buildUnnamed394() { +buildUnnamed368() { var o = new core.List<api.PublishedLayer>(); o.add(buildPublishedLayer()); o.add(buildPublishedLayer()); return o; } -checkUnnamed394(core.List<api.PublishedLayer> o) { +checkUnnamed368(core.List<api.PublishedLayer> o) { unittest.expect(o, unittest.hasLength(2)); checkPublishedLayer(o[0]); checkPublishedLayer(o[1]); @@ -1765,7 +1765,7 @@ var o = new api.PublishedLayersListResponse(); buildCounterPublishedLayersListResponse++; if (buildCounterPublishedLayersListResponse < 3) { - o.layers = buildUnnamed394(); + o.layers = buildUnnamed368(); o.nextPageToken = "foo"; } buildCounterPublishedLayersListResponse--; @@ -1775,7 +1775,7 @@ checkPublishedLayersListResponse(api.PublishedLayersListResponse o) { buildCounterPublishedLayersListResponse++; if (buildCounterPublishedLayersListResponse < 3) { - checkUnnamed394(o.layers); + checkUnnamed368(o.layers); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterPublishedLayersListResponse--; @@ -1810,14 +1810,14 @@ buildCounterPublishedMap--; } -buildUnnamed395() { +buildUnnamed369() { var o = new core.List<api.PublishedMap>(); o.add(buildPublishedMap()); o.add(buildPublishedMap()); return o; } -checkUnnamed395(core.List<api.PublishedMap> o) { +checkUnnamed369(core.List<api.PublishedMap> o) { unittest.expect(o, unittest.hasLength(2)); checkPublishedMap(o[0]); checkPublishedMap(o[1]); @@ -1828,7 +1828,7 @@ var o = new api.PublishedMapsListResponse(); buildCounterPublishedMapsListResponse++; if (buildCounterPublishedMapsListResponse < 3) { - o.maps = buildUnnamed395(); + o.maps = buildUnnamed369(); o.nextPageToken = "foo"; } buildCounterPublishedMapsListResponse--; @@ -1838,33 +1838,33 @@ checkPublishedMapsListResponse(api.PublishedMapsListResponse o) { buildCounterPublishedMapsListResponse++; if (buildCounterPublishedMapsListResponse < 3) { - checkUnnamed395(o.maps); + checkUnnamed369(o.maps); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterPublishedMapsListResponse--; } -buildUnnamed396() { +buildUnnamed370() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed396(core.List<core.double> o) { +checkUnnamed370(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); } -buildUnnamed397() { +buildUnnamed371() { var o = new core.List<api.File>(); o.add(buildFile()); o.add(buildFile()); return o; } -checkUnnamed397(core.List<api.File> o) { +checkUnnamed371(core.List<api.File> o) { unittest.expect(o, unittest.hasLength(2)); checkFile(o[0]); checkFile(o[1]); @@ -1877,13 +1877,13 @@ if (buildCounterRaster < 3) { o.acquisitionTime = buildAcquisitionTime(); o.attribution = "foo"; - o.bbox = buildUnnamed396(); + o.bbox = buildUnnamed370(); o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); o.creatorEmail = "foo"; o.description = "foo"; o.draftAccessList = "foo"; o.etag = "foo"; - o.files = buildUnnamed397(); + o.files = buildUnnamed371(); o.id = "foo"; o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); o.lastModifierEmail = "foo"; @@ -1904,13 +1904,13 @@ if (buildCounterRaster < 3) { checkAcquisitionTime(o.acquisitionTime); unittest.expect(o.attribution, unittest.equals('foo')); - checkUnnamed396(o.bbox); + checkUnnamed370(o.bbox); unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.creatorEmail, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.draftAccessList, unittest.equals('foo')); unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed397(o.files); + checkUnnamed371(o.files); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.lastModifierEmail, unittest.equals('foo')); @@ -1925,14 +1925,14 @@ buildCounterRaster--; } -buildUnnamed398() { +buildUnnamed372() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed398(core.List<core.double> o) { +checkUnnamed372(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); @@ -1944,7 +1944,7 @@ buildCounterRasterCollection++; if (buildCounterRasterCollection < 3) { o.attribution = "foo"; - o.bbox = buildUnnamed398(); + o.bbox = buildUnnamed372(); o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); o.creatorEmail = "foo"; o.description = "foo"; @@ -1969,7 +1969,7 @@ buildCounterRasterCollection++; if (buildCounterRasterCollection < 3) { unittest.expect(o.attribution, unittest.equals('foo')); - checkUnnamed398(o.bbox); + checkUnnamed372(o.bbox); unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.creatorEmail, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); @@ -1989,14 +1989,14 @@ buildCounterRasterCollection--; } -buildUnnamed399() { +buildUnnamed373() { var o = new core.List<api.RasterCollection>(); o.add(buildRasterCollection()); o.add(buildRasterCollection()); return o; } -checkUnnamed399(core.List<api.RasterCollection> o) { +checkUnnamed373(core.List<api.RasterCollection> o) { unittest.expect(o, unittest.hasLength(2)); checkRasterCollection(o[0]); checkRasterCollection(o[1]); @@ -2008,7 +2008,7 @@ buildCounterRasterCollectionsListResponse++; if (buildCounterRasterCollectionsListResponse < 3) { o.nextPageToken = "foo"; - o.rasterCollections = buildUnnamed399(); + o.rasterCollections = buildUnnamed373(); } buildCounterRasterCollectionsListResponse--; return o; @@ -2018,32 +2018,32 @@ buildCounterRasterCollectionsListResponse++; if (buildCounterRasterCollectionsListResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed399(o.rasterCollections); + checkUnnamed373(o.rasterCollections); } buildCounterRasterCollectionsListResponse--; } -buildUnnamed400() { +buildUnnamed374() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed400(core.List<core.double> o) { +checkUnnamed374(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); } -buildUnnamed401() { +buildUnnamed375() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed401(core.List<core.String> o) { +checkUnnamed375(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2054,7 +2054,7 @@ var o = new api.RasterCollectionsRaster(); buildCounterRasterCollectionsRaster++; if (buildCounterRasterCollectionsRaster < 3) { - o.bbox = buildUnnamed400(); + o.bbox = buildUnnamed374(); o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); o.description = "foo"; o.id = "foo"; @@ -2062,7 +2062,7 @@ o.name = "foo"; o.projectId = "foo"; o.rasterType = "foo"; - o.tags = buildUnnamed401(); + o.tags = buildUnnamed375(); } buildCounterRasterCollectionsRaster--; return o; @@ -2071,7 +2071,7 @@ checkRasterCollectionsRaster(api.RasterCollectionsRaster o) { buildCounterRasterCollectionsRaster++; if (buildCounterRasterCollectionsRaster < 3) { - checkUnnamed400(o.bbox); + checkUnnamed374(o.bbox); unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); @@ -2079,19 +2079,19 @@ unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.projectId, unittest.equals('foo')); unittest.expect(o.rasterType, unittest.equals('foo')); - checkUnnamed401(o.tags); + checkUnnamed375(o.tags); } buildCounterRasterCollectionsRaster--; } -buildUnnamed402() { +buildUnnamed376() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed402(core.List<core.String> o) { +checkUnnamed376(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2102,7 +2102,7 @@ var o = new api.RasterCollectionsRasterBatchDeleteRequest(); buildCounterRasterCollectionsRasterBatchDeleteRequest++; if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { - o.ids = buildUnnamed402(); + o.ids = buildUnnamed376(); } buildCounterRasterCollectionsRasterBatchDeleteRequest--; return o; @@ -2111,7 +2111,7 @@ checkRasterCollectionsRasterBatchDeleteRequest(api.RasterCollectionsRasterBatchDeleteRequest o) { buildCounterRasterCollectionsRasterBatchDeleteRequest++; if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { - checkUnnamed402(o.ids); + checkUnnamed376(o.ids); } buildCounterRasterCollectionsRasterBatchDeleteRequest--; } @@ -2133,14 +2133,14 @@ buildCounterRasterCollectionsRastersBatchDeleteResponse--; } -buildUnnamed403() { +buildUnnamed377() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed403(core.List<core.String> o) { +checkUnnamed377(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2151,7 +2151,7 @@ var o = new api.RasterCollectionsRastersBatchInsertRequest(); buildCounterRasterCollectionsRastersBatchInsertRequest++; if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { - o.ids = buildUnnamed403(); + o.ids = buildUnnamed377(); } buildCounterRasterCollectionsRastersBatchInsertRequest--; return o; @@ -2160,7 +2160,7 @@ checkRasterCollectionsRastersBatchInsertRequest(api.RasterCollectionsRastersBatchInsertRequest o) { buildCounterRasterCollectionsRastersBatchInsertRequest++; if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { - checkUnnamed403(o.ids); + checkUnnamed377(o.ids); } buildCounterRasterCollectionsRastersBatchInsertRequest--; } @@ -2182,14 +2182,14 @@ buildCounterRasterCollectionsRastersBatchInsertResponse--; } -buildUnnamed404() { +buildUnnamed378() { var o = new core.List<api.RasterCollectionsRaster>(); o.add(buildRasterCollectionsRaster()); o.add(buildRasterCollectionsRaster()); return o; } -checkUnnamed404(core.List<api.RasterCollectionsRaster> o) { +checkUnnamed378(core.List<api.RasterCollectionsRaster> o) { unittest.expect(o, unittest.hasLength(2)); checkRasterCollectionsRaster(o[0]); checkRasterCollectionsRaster(o[1]); @@ -2201,7 +2201,7 @@ buildCounterRasterCollectionsRastersListResponse++; if (buildCounterRasterCollectionsRastersListResponse < 3) { o.nextPageToken = "foo"; - o.rasters = buildUnnamed404(); + o.rasters = buildUnnamed378(); } buildCounterRasterCollectionsRastersListResponse--; return o; @@ -2211,19 +2211,19 @@ buildCounterRasterCollectionsRastersListResponse++; if (buildCounterRasterCollectionsRastersListResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed404(o.rasters); + checkUnnamed378(o.rasters); } buildCounterRasterCollectionsRastersListResponse--; } -buildUnnamed405() { +buildUnnamed379() { var o = new core.List<api.Raster>(); o.add(buildRaster()); o.add(buildRaster()); return o; } -checkUnnamed405(core.List<api.Raster> o) { +checkUnnamed379(core.List<api.Raster> o) { unittest.expect(o, unittest.hasLength(2)); checkRaster(o[0]); checkRaster(o[1]); @@ -2235,7 +2235,7 @@ buildCounterRastersListResponse++; if (buildCounterRastersListResponse < 3) { o.nextPageToken = "foo"; - o.rasters = buildUnnamed405(); + o.rasters = buildUnnamed379(); } buildCounterRastersListResponse--; return o; @@ -2245,7 +2245,7 @@ buildCounterRastersListResponse++; if (buildCounterRastersListResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed405(o.rasters); + checkUnnamed379(o.rasters); } buildCounterRastersListResponse--; } @@ -2298,14 +2298,14 @@ buildCounterScalingFunction--; } -buildUnnamed406() { +buildUnnamed380() { var o = new core.List<api.TableColumn>(); o.add(buildTableColumn()); o.add(buildTableColumn()); return o; } -checkUnnamed406(core.List<api.TableColumn> o) { +checkUnnamed380(core.List<api.TableColumn> o) { unittest.expect(o, unittest.hasLength(2)); checkTableColumn(o[0]); checkTableColumn(o[1]); @@ -2316,7 +2316,7 @@ var o = new api.Schema(); buildCounterSchema++; if (buildCounterSchema < 3) { - o.columns = buildUnnamed406(); + o.columns = buildUnnamed380(); o.primaryGeometry = "foo"; o.primaryKey = "foo"; } @@ -2327,7 +2327,7 @@ checkSchema(api.Schema o) { buildCounterSchema++; if (buildCounterSchema < 3) { - checkUnnamed406(o.columns); + checkUnnamed380(o.columns); unittest.expect(o.primaryGeometry, unittest.equals('foo')); unittest.expect(o.primaryKey, unittest.equals('foo')); } @@ -2355,27 +2355,27 @@ buildCounterSizeRange--; } -buildUnnamed407() { +buildUnnamed381() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed407(core.List<core.double> o) { +checkUnnamed381(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); } -buildUnnamed408() { +buildUnnamed382() { var o = new core.List<api.File>(); o.add(buildFile()); o.add(buildFile()); return o; } -checkUnnamed408(core.List<api.File> o) { +checkUnnamed382(core.List<api.File> o) { unittest.expect(o, unittest.hasLength(2)); checkFile(o[0]); checkFile(o[1]); @@ -2386,13 +2386,13 @@ var o = new api.Table(); buildCounterTable++; if (buildCounterTable < 3) { - o.bbox = buildUnnamed407(); + o.bbox = buildUnnamed381(); o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); o.creatorEmail = "foo"; o.description = "foo"; o.draftAccessList = "foo"; o.etag = "foo"; - o.files = buildUnnamed408(); + o.files = buildUnnamed382(); o.id = "foo"; o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); o.lastModifierEmail = "foo"; @@ -2412,13 +2412,13 @@ checkTable(api.Table o) { buildCounterTable++; if (buildCounterTable < 3) { - checkUnnamed407(o.bbox); + checkUnnamed381(o.bbox); unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.creatorEmail, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.draftAccessList, unittest.equals('foo')); unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed408(o.files); + checkUnnamed382(o.files); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.lastModifierEmail, unittest.equals('foo')); @@ -2455,14 +2455,14 @@ buildCounterTableColumn--; } -buildUnnamed409() { +buildUnnamed383() { var o = new core.List<api.Table>(); o.add(buildTable()); o.add(buildTable()); return o; } -checkUnnamed409(core.List<api.Table> o) { +checkUnnamed383(core.List<api.Table> o) { unittest.expect(o, unittest.hasLength(2)); checkTable(o[0]); checkTable(o[1]); @@ -2474,7 +2474,7 @@ buildCounterTablesListResponse++; if (buildCounterTablesListResponse < 3) { o.nextPageToken = "foo"; - o.tables = buildUnnamed409(); + o.tables = buildUnnamed383(); } buildCounterTablesListResponse--; return o; @@ -2484,7 +2484,7 @@ buildCounterTablesListResponse++; if (buildCounterTablesListResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed409(o.tables); + checkUnnamed383(o.tables); } buildCounterTablesListResponse--; } @@ -2523,14 +2523,14 @@ buildCounterValueRange--; } -buildUnnamed410() { +buildUnnamed384() { var o = new core.List<api.DisplayRule>(); o.add(buildDisplayRule()); o.add(buildDisplayRule()); return o; } -checkUnnamed410(core.List<api.DisplayRule> o) { +checkUnnamed384(core.List<api.DisplayRule> o) { unittest.expect(o, unittest.hasLength(2)); checkDisplayRule(o[0]); checkDisplayRule(o[1]); @@ -2541,7 +2541,7 @@ var o = new api.VectorStyle(); buildCounterVectorStyle++; if (buildCounterVectorStyle < 3) { - o.displayRules = buildUnnamed410(); + o.displayRules = buildUnnamed384(); o.featureInfo = buildFeatureInfo(); o.type = "foo"; } @@ -2552,7 +2552,7 @@ checkVectorStyle(api.VectorStyle o) { buildCounterVectorStyle++; if (buildCounterVectorStyle < 3) { - checkUnnamed410(o.displayRules); + checkUnnamed384(o.displayRules); checkFeatureInfo(o.featureInfo); unittest.expect(o.type, unittest.equals('foo')); }
diff --git a/generated/googleapis/test/mirror/v1_test.dart b/generated/googleapis/test/mirror/v1_test.dart index 58feed6..9572eb8 100644 --- a/generated/googleapis/test/mirror/v1_test.dart +++ b/generated/googleapis/test/mirror/v1_test.dart
@@ -16,40 +16,40 @@ -buildUnnamed152() { +buildUnnamed153() { var o = new core.List<api.AuthToken>(); o.add(buildAuthToken()); o.add(buildAuthToken()); return o; } -checkUnnamed152(core.List<api.AuthToken> o) { +checkUnnamed153(core.List<api.AuthToken> o) { unittest.expect(o, unittest.hasLength(2)); checkAuthToken(o[0]); checkAuthToken(o[1]); } -buildUnnamed153() { +buildUnnamed154() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed153(core.List<core.String> o) { +checkUnnamed154(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed154() { +buildUnnamed155() { var o = new core.List<api.UserData>(); o.add(buildUserData()); o.add(buildUserData()); return o; } -checkUnnamed154(core.List<api.UserData> o) { +checkUnnamed155(core.List<api.UserData> o) { unittest.expect(o, unittest.hasLength(2)); checkUserData(o[0]); checkUserData(o[1]); @@ -60,10 +60,10 @@ var o = new api.Account(); buildCounterAccount++; if (buildCounterAccount < 3) { - o.authTokens = buildUnnamed152(); - o.features = buildUnnamed153(); + o.authTokens = buildUnnamed153(); + o.features = buildUnnamed154(); o.password = "foo"; - o.userData = buildUnnamed154(); + o.userData = buildUnnamed155(); } buildCounterAccount--; return o; @@ -72,10 +72,10 @@ checkAccount(api.Account o) { buildCounterAccount++; if (buildCounterAccount < 3) { - checkUnnamed152(o.authTokens); - checkUnnamed153(o.features); + checkUnnamed153(o.authTokens); + checkUnnamed154(o.features); unittest.expect(o.password, unittest.equals('foo')); - checkUnnamed154(o.userData); + checkUnnamed155(o.userData); } buildCounterAccount--; } @@ -105,14 +105,14 @@ buildCounterAttachment--; } -buildUnnamed155() { +buildUnnamed156() { var o = new core.List<api.Attachment>(); o.add(buildAttachment()); o.add(buildAttachment()); return o; } -checkUnnamed155(core.List<api.Attachment> o) { +checkUnnamed156(core.List<api.Attachment> o) { unittest.expect(o, unittest.hasLength(2)); checkAttachment(o[0]); checkAttachment(o[1]); @@ -123,7 +123,7 @@ var o = new api.AttachmentsListResponse(); buildCounterAttachmentsListResponse++; if (buildCounterAttachmentsListResponse < 3) { - o.items = buildUnnamed155(); + o.items = buildUnnamed156(); o.kind = "foo"; } buildCounterAttachmentsListResponse--; @@ -133,7 +133,7 @@ checkAttachmentsListResponse(api.AttachmentsListResponse o) { buildCounterAttachmentsListResponse++; if (buildCounterAttachmentsListResponse < 3) { - checkUnnamed155(o.items); + checkUnnamed156(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAttachmentsListResponse--; @@ -179,32 +179,19 @@ buildCounterCommand--; } -buildUnnamed156() { +buildUnnamed157() { var o = new core.List<api.Command>(); o.add(buildCommand()); o.add(buildCommand()); return o; } -checkUnnamed156(core.List<api.Command> o) { +checkUnnamed157(core.List<api.Command> o) { unittest.expect(o, unittest.hasLength(2)); checkCommand(o[0]); checkCommand(o[1]); } -buildUnnamed157() { - var o = new core.List<core.String>(); - o.add("foo"); - o.add("foo"); - return o; -} - -checkUnnamed157(core.List<core.String> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect(o[0], unittest.equals('foo')); - unittest.expect(o[1], unittest.equals('foo')); -} - buildUnnamed158() { var o = new core.List<core.String>(); o.add("foo"); @@ -231,20 +218,33 @@ unittest.expect(o[1], unittest.equals('foo')); } +buildUnnamed160() { + var o = new core.List<core.String>(); + o.add("foo"); + o.add("foo"); + return o; +} + +checkUnnamed160(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect(o[0], unittest.equals('foo')); + unittest.expect(o[1], unittest.equals('foo')); +} + core.int buildCounterContact = 0; buildContact() { var o = new api.Contact(); buildCounterContact++; if (buildCounterContact < 3) { - o.acceptCommands = buildUnnamed156(); - o.acceptTypes = buildUnnamed157(); + o.acceptCommands = buildUnnamed157(); + o.acceptTypes = buildUnnamed158(); o.displayName = "foo"; o.id = "foo"; - o.imageUrls = buildUnnamed158(); + o.imageUrls = buildUnnamed159(); o.kind = "foo"; o.phoneNumber = "foo"; o.priority = 42; - o.sharingFeatures = buildUnnamed159(); + o.sharingFeatures = buildUnnamed160(); o.source = "foo"; o.speakableName = "foo"; o.type = "foo"; @@ -256,15 +256,15 @@ checkContact(api.Contact o) { buildCounterContact++; if (buildCounterContact < 3) { - checkUnnamed156(o.acceptCommands); - checkUnnamed157(o.acceptTypes); + checkUnnamed157(o.acceptCommands); + checkUnnamed158(o.acceptTypes); unittest.expect(o.displayName, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed158(o.imageUrls); + checkUnnamed159(o.imageUrls); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.phoneNumber, unittest.equals('foo')); unittest.expect(o.priority, unittest.equals(42)); - checkUnnamed159(o.sharingFeatures); + checkUnnamed160(o.sharingFeatures); unittest.expect(o.source, unittest.equals('foo')); unittest.expect(o.speakableName, unittest.equals('foo')); unittest.expect(o.type, unittest.equals('foo')); @@ -272,14 +272,14 @@ buildCounterContact--; } -buildUnnamed160() { +buildUnnamed161() { var o = new core.List<api.Contact>(); o.add(buildContact()); o.add(buildContact()); return o; } -checkUnnamed160(core.List<api.Contact> o) { +checkUnnamed161(core.List<api.Contact> o) { unittest.expect(o, unittest.hasLength(2)); checkContact(o[0]); checkContact(o[1]); @@ -290,7 +290,7 @@ var o = new api.ContactsListResponse(); buildCounterContactsListResponse++; if (buildCounterContactsListResponse < 3) { - o.items = buildUnnamed160(); + o.items = buildUnnamed161(); o.kind = "foo"; } buildCounterContactsListResponse--; @@ -300,7 +300,7 @@ checkContactsListResponse(api.ContactsListResponse o) { buildCounterContactsListResponse++; if (buildCounterContactsListResponse < 3) { - checkUnnamed160(o.items); + checkUnnamed161(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterContactsListResponse--; @@ -339,14 +339,14 @@ buildCounterLocation--; } -buildUnnamed161() { +buildUnnamed162() { var o = new core.List<api.Location>(); o.add(buildLocation()); o.add(buildLocation()); return o; } -checkUnnamed161(core.List<api.Location> o) { +checkUnnamed162(core.List<api.Location> o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -357,7 +357,7 @@ var o = new api.LocationsListResponse(); buildCounterLocationsListResponse++; if (buildCounterLocationsListResponse < 3) { - o.items = buildUnnamed161(); + o.items = buildUnnamed162(); o.kind = "foo"; } buildCounterLocationsListResponse--; @@ -367,20 +367,20 @@ checkLocationsListResponse(api.LocationsListResponse o) { buildCounterLocationsListResponse++; if (buildCounterLocationsListResponse < 3) { - checkUnnamed161(o.items); + checkUnnamed162(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterLocationsListResponse--; } -buildUnnamed162() { +buildUnnamed163() { var o = new core.List<api.MenuValue>(); o.add(buildMenuValue()); o.add(buildMenuValue()); return o; } -checkUnnamed162(core.List<api.MenuValue> o) { +checkUnnamed163(core.List<api.MenuValue> o) { unittest.expect(o, unittest.hasLength(2)); checkMenuValue(o[0]); checkMenuValue(o[1]); @@ -396,7 +396,7 @@ o.id = "foo"; o.payload = "foo"; o.removeWhenSelected = true; - o.values = buildUnnamed162(); + o.values = buildUnnamed163(); } buildCounterMenuItem--; return o; @@ -410,7 +410,7 @@ unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.payload, unittest.equals('foo')); unittest.expect(o.removeWhenSelected, unittest.isTrue); - checkUnnamed162(o.values); + checkUnnamed163(o.values); } buildCounterMenuItem--; } @@ -438,14 +438,14 @@ buildCounterMenuValue--; } -buildUnnamed163() { +buildUnnamed164() { var o = new core.List<api.UserAction>(); o.add(buildUserAction()); o.add(buildUserAction()); return o; } -checkUnnamed163(core.List<api.UserAction> o) { +checkUnnamed164(core.List<api.UserAction> o) { unittest.expect(o, unittest.hasLength(2)); checkUserAction(o[0]); checkUserAction(o[1]); @@ -459,7 +459,7 @@ o.collection = "foo"; o.itemId = "foo"; o.operation = "foo"; - o.userActions = buildUnnamed163(); + o.userActions = buildUnnamed164(); o.userToken = "foo"; o.verifyToken = "foo"; } @@ -473,7 +473,7 @@ unittest.expect(o.collection, unittest.equals('foo')); unittest.expect(o.itemId, unittest.equals('foo')); unittest.expect(o.operation, unittest.equals('foo')); - checkUnnamed163(o.userActions); + checkUnnamed164(o.userActions); unittest.expect(o.userToken, unittest.equals('foo')); unittest.expect(o.verifyToken, unittest.equals('foo')); } @@ -524,14 +524,14 @@ buildCounterSetting--; } -buildUnnamed164() { +buildUnnamed165() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed164(core.List<core.String> o) { +checkUnnamed165(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -547,7 +547,7 @@ o.id = "foo"; o.kind = "foo"; o.notification = buildNotification(); - o.operation = buildUnnamed164(); + o.operation = buildUnnamed165(); o.updated = core.DateTime.parse("2002-02-27T14:01:02"); o.userToken = "foo"; o.verifyToken = "foo"; @@ -564,7 +564,7 @@ unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); checkNotification(o.notification); - checkUnnamed164(o.operation); + checkUnnamed165(o.operation); unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.userToken, unittest.equals('foo')); unittest.expect(o.verifyToken, unittest.equals('foo')); @@ -572,14 +572,14 @@ buildCounterSubscription--; } -buildUnnamed165() { +buildUnnamed166() { var o = new core.List<api.Subscription>(); o.add(buildSubscription()); o.add(buildSubscription()); return o; } -checkUnnamed165(core.List<api.Subscription> o) { +checkUnnamed166(core.List<api.Subscription> o) { unittest.expect(o, unittest.hasLength(2)); checkSubscription(o[0]); checkSubscription(o[1]); @@ -590,7 +590,7 @@ var o = new api.SubscriptionsListResponse(); buildCounterSubscriptionsListResponse++; if (buildCounterSubscriptionsListResponse < 3) { - o.items = buildUnnamed165(); + o.items = buildUnnamed166(); o.kind = "foo"; } buildCounterSubscriptionsListResponse--; @@ -600,46 +600,46 @@ checkSubscriptionsListResponse(api.SubscriptionsListResponse o) { buildCounterSubscriptionsListResponse++; if (buildCounterSubscriptionsListResponse < 3) { - checkUnnamed165(o.items); + checkUnnamed166(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterSubscriptionsListResponse--; } -buildUnnamed166() { +buildUnnamed167() { var o = new core.List<api.Attachment>(); o.add(buildAttachment()); o.add(buildAttachment()); return o; } -checkUnnamed166(core.List<api.Attachment> o) { +checkUnnamed167(core.List<api.Attachment> o) { unittest.expect(o, unittest.hasLength(2)); checkAttachment(o[0]); checkAttachment(o[1]); } -buildUnnamed167() { +buildUnnamed168() { var o = new core.List<api.MenuItem>(); o.add(buildMenuItem()); o.add(buildMenuItem()); return o; } -checkUnnamed167(core.List<api.MenuItem> o) { +checkUnnamed168(core.List<api.MenuItem> o) { unittest.expect(o, unittest.hasLength(2)); checkMenuItem(o[0]); checkMenuItem(o[1]); } -buildUnnamed168() { +buildUnnamed169() { var o = new core.List<api.Contact>(); o.add(buildContact()); o.add(buildContact()); return o; } -checkUnnamed168(core.List<api.Contact> o) { +checkUnnamed169(core.List<api.Contact> o) { unittest.expect(o, unittest.hasLength(2)); checkContact(o[0]); checkContact(o[1]); @@ -650,7 +650,7 @@ var o = new api.TimelineItem(); buildCounterTimelineItem++; if (buildCounterTimelineItem < 3) { - o.attachments = buildUnnamed166(); + o.attachments = buildUnnamed167(); o.bundleId = "foo"; o.canonicalUrl = "foo"; o.created = core.DateTime.parse("2002-02-27T14:01:02"); @@ -665,10 +665,10 @@ o.isPinned = true; o.kind = "foo"; o.location = buildLocation(); - o.menuItems = buildUnnamed167(); + o.menuItems = buildUnnamed168(); o.notification = buildNotificationConfig(); o.pinScore = 42; - o.recipients = buildUnnamed168(); + o.recipients = buildUnnamed169(); o.selfLink = "foo"; o.sourceItemId = "foo"; o.speakableText = "foo"; @@ -684,7 +684,7 @@ checkTimelineItem(api.TimelineItem o) { buildCounterTimelineItem++; if (buildCounterTimelineItem < 3) { - checkUnnamed166(o.attachments); + checkUnnamed167(o.attachments); unittest.expect(o.bundleId, unittest.equals('foo')); unittest.expect(o.canonicalUrl, unittest.equals('foo')); unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); @@ -699,10 +699,10 @@ unittest.expect(o.isPinned, unittest.isTrue); unittest.expect(o.kind, unittest.equals('foo')); checkLocation(o.location); - checkUnnamed167(o.menuItems); + checkUnnamed168(o.menuItems); checkNotificationConfig(o.notification); unittest.expect(o.pinScore, unittest.equals(42)); - checkUnnamed168(o.recipients); + checkUnnamed169(o.recipients); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.sourceItemId, unittest.equals('foo')); unittest.expect(o.speakableText, unittest.equals('foo')); @@ -714,14 +714,14 @@ buildCounterTimelineItem--; } -buildUnnamed169() { +buildUnnamed170() { var o = new core.List<api.TimelineItem>(); o.add(buildTimelineItem()); o.add(buildTimelineItem()); return o; } -checkUnnamed169(core.List<api.TimelineItem> o) { +checkUnnamed170(core.List<api.TimelineItem> o) { unittest.expect(o, unittest.hasLength(2)); checkTimelineItem(o[0]); checkTimelineItem(o[1]); @@ -732,7 +732,7 @@ var o = new api.TimelineListResponse(); buildCounterTimelineListResponse++; if (buildCounterTimelineListResponse < 3) { - o.items = buildUnnamed169(); + o.items = buildUnnamed170(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -743,7 +743,7 @@ checkTimelineListResponse(api.TimelineListResponse o) { buildCounterTimelineListResponse++; if (buildCounterTimelineListResponse < 3) { - checkUnnamed169(o.items); + checkUnnamed170(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); }
diff --git a/generated/googleapis/test/orkut/v2_test.dart b/generated/googleapis/test/orkut/v2_test.dart deleted file mode 100644 index b8a4f6e..0000000 --- a/generated/googleapis/test/orkut/v2_test.dart +++ /dev/null
@@ -1,3836 +0,0 @@ -library googleapis.orkut.v2.test; - -import "dart:core" as core; -import "dart:collection" as collection; -import "dart:async" as async; -import "dart:convert" as convert; - -import 'package:http/http.dart' as http; -import 'package:http/testing.dart' as http_testing; -import 'package:unittest/unittest.dart' as unittest; -import 'package:googleapis/common/common.dart' as common; -import 'package:googleapis/src/common_internal.dart' as common_internal; -import '../common/common_internal_test.dart' as common_test; - -import 'package:googleapis/orkut/v2.dart' as api; - - - -core.int buildCounterAclItems = 0; -buildAclItems() { - var o = new api.AclItems(); - buildCounterAclItems++; - if (buildCounterAclItems < 3) { - o.id = "foo"; - o.type = "foo"; - } - buildCounterAclItems--; - return o; -} - -checkAclItems(api.AclItems o) { - buildCounterAclItems++; - if (buildCounterAclItems < 3) { - unittest.expect(o.id, unittest.equals('foo')); - unittest.expect(o.type, unittest.equals('foo')); - } - buildCounterAclItems--; -} - -buildUnnamed181() { - var o = new core.List<api.AclItems>(); - o.add(buildAclItems()); - o.add(buildAclItems()); - return o; -} - -checkUnnamed181(core.List<api.AclItems> o) { - unittest.expect(o, unittest.hasLength(2)); - checkAclItems(o[0]); - checkAclItems(o[1]); -} - -core.int buildCounterAcl = 0; -buildAcl() { - var o = new api.Acl(); - buildCounterAcl++; - if (buildCounterAcl < 3) { - o.description = "foo"; - o.items = buildUnnamed181(); - o.kind = "foo"; - o.totalParticipants = 42; - } - buildCounterAcl--; - return o; -} - -checkAcl(api.Acl o) { - buildCounterAcl++; - if (buildCounterAcl < 3) { - unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed181(o.items); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.totalParticipants, unittest.equals(42)); - } - buildCounterAcl--; -} - -buildUnnamed182() { - var o = new core.List<api.OrkutLinkResource>(); - o.add(buildOrkutLinkResource()); - o.add(buildOrkutLinkResource()); - return o; -} - -checkUnnamed182(core.List<api.OrkutLinkResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutLinkResource(o[0]); - checkOrkutLinkResource(o[1]); -} - -buildUnnamed183() { - var o = new core.List<api.OrkutActivityobjectsResource>(); - o.add(buildOrkutActivityobjectsResource()); - o.add(buildOrkutActivityobjectsResource()); - return o; -} - -checkUnnamed183(core.List<api.OrkutActivityobjectsResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutActivityobjectsResource(o[0]); - checkOrkutActivityobjectsResource(o[1]); -} - -buildUnnamed184() { - var o = new core.List<api.Comment>(); - o.add(buildComment()); - o.add(buildComment()); - return o; -} - -checkUnnamed184(core.List<api.Comment> o) { - unittest.expect(o, unittest.hasLength(2)); - checkComment(o[0]); - checkComment(o[1]); -} - -core.int buildCounterActivityObjectReplies = 0; -buildActivityObjectReplies() { - var o = new api.ActivityObjectReplies(); - buildCounterActivityObjectReplies++; - if (buildCounterActivityObjectReplies < 3) { - o.items = buildUnnamed184(); - o.totalItems = "foo"; - o.url = "foo"; - } - buildCounterActivityObjectReplies--; - return o; -} - -checkActivityObjectReplies(api.ActivityObjectReplies o) { - buildCounterActivityObjectReplies++; - if (buildCounterActivityObjectReplies < 3) { - checkUnnamed184(o.items); - unittest.expect(o.totalItems, unittest.equals('foo')); - unittest.expect(o.url, unittest.equals('foo')); - } - buildCounterActivityObjectReplies--; -} - -core.int buildCounterActivityObject = 0; -buildActivityObject() { - var o = new api.ActivityObject(); - buildCounterActivityObject++; - if (buildCounterActivityObject < 3) { - o.content = "foo"; - o.items = buildUnnamed183(); - o.objectType = "foo"; - o.replies = buildActivityObjectReplies(); - } - buildCounterActivityObject--; - return o; -} - -checkActivityObject(api.ActivityObject o) { - buildCounterActivityObject++; - if (buildCounterActivityObject < 3) { - unittest.expect(o.content, unittest.equals('foo')); - checkUnnamed183(o.items); - unittest.expect(o.objectType, unittest.equals('foo')); - checkActivityObjectReplies(o.replies); - } - buildCounterActivityObject--; -} - -core.int buildCounterActivity = 0; -buildActivity() { - var o = new api.Activity(); - buildCounterActivity++; - if (buildCounterActivity < 3) { - o.access = buildAcl(); - o.actor = buildOrkutAuthorResource(); - o.id = "foo"; - o.kind = "foo"; - o.links = buildUnnamed182(); - o.object = buildActivityObject(); - o.published = core.DateTime.parse("2002-02-27T14:01:02"); - o.title = "foo"; - o.updated = core.DateTime.parse("2002-02-27T14:01:02"); - o.verb = "foo"; - } - buildCounterActivity--; - return o; -} - -checkActivity(api.Activity o) { - buildCounterActivity++; - if (buildCounterActivity < 3) { - checkAcl(o.access); - checkOrkutAuthorResource(o.actor); - unittest.expect(o.id, unittest.equals('foo')); - unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed182(o.links); - checkActivityObject(o.object); - unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - unittest.expect(o.title, unittest.equals('foo')); - unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - unittest.expect(o.verb, unittest.equals('foo')); - } - buildCounterActivity--; -} - -buildUnnamed185() { - var o = new core.List<api.Activity>(); - o.add(buildActivity()); - o.add(buildActivity()); - return o; -} - -checkUnnamed185(core.List<api.Activity> o) { - unittest.expect(o, unittest.hasLength(2)); - checkActivity(o[0]); - checkActivity(o[1]); -} - -core.int buildCounterActivityList = 0; -buildActivityList() { - var o = new api.ActivityList(); - buildCounterActivityList++; - if (buildCounterActivityList < 3) { - o.items = buildUnnamed185(); - o.kind = "foo"; - o.nextPageToken = "foo"; - } - buildCounterActivityList--; - return o; -} - -checkActivityList(api.ActivityList o) { - buildCounterActivityList++; - if (buildCounterActivityList < 3) { - checkUnnamed185(o.items); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.nextPageToken, unittest.equals('foo')); - } - buildCounterActivityList--; -} - -core.int buildCounterBadge = 0; -buildBadge() { - var o = new api.Badge(); - buildCounterBadge++; - if (buildCounterBadge < 3) { - o.badgeLargeLogo = "foo"; - o.badgeSmallLogo = "foo"; - o.caption = "foo"; - o.description = "foo"; - o.id = "foo"; - o.kind = "foo"; - o.sponsorLogo = "foo"; - o.sponsorName = "foo"; - o.sponsorUrl = "foo"; - } - buildCounterBadge--; - return o; -} - -checkBadge(api.Badge o) { - buildCounterBadge++; - if (buildCounterBadge < 3) { - unittest.expect(o.badgeLargeLogo, unittest.equals('foo')); - unittest.expect(o.badgeSmallLogo, unittest.equals('foo')); - unittest.expect(o.caption, unittest.equals('foo')); - unittest.expect(o.description, unittest.equals('foo')); - unittest.expect(o.id, unittest.equals('foo')); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.sponsorLogo, unittest.equals('foo')); - unittest.expect(o.sponsorName, unittest.equals('foo')); - unittest.expect(o.sponsorUrl, unittest.equals('foo')); - } - buildCounterBadge--; -} - -buildUnnamed186() { - var o = new core.List<api.Badge>(); - o.add(buildBadge()); - o.add(buildBadge()); - return o; -} - -checkUnnamed186(core.List<api.Badge> o) { - unittest.expect(o, unittest.hasLength(2)); - checkBadge(o[0]); - checkBadge(o[1]); -} - -core.int buildCounterBadgeList = 0; -buildBadgeList() { - var o = new api.BadgeList(); - buildCounterBadgeList++; - if (buildCounterBadgeList < 3) { - o.items = buildUnnamed186(); - o.kind = "foo"; - } - buildCounterBadgeList--; - return o; -} - -checkBadgeList(api.BadgeList o) { - buildCounterBadgeList++; - if (buildCounterBadgeList < 3) { - checkUnnamed186(o.items); - unittest.expect(o.kind, unittest.equals('foo')); - } - buildCounterBadgeList--; -} - -core.int buildCounterCommentInReplyTo = 0; -buildCommentInReplyTo() { - var o = new api.CommentInReplyTo(); - buildCounterCommentInReplyTo++; - if (buildCounterCommentInReplyTo < 3) { - o.href = "foo"; - o.ref = "foo"; - o.rel = "foo"; - o.type = "foo"; - } - buildCounterCommentInReplyTo--; - return o; -} - -checkCommentInReplyTo(api.CommentInReplyTo o) { - buildCounterCommentInReplyTo++; - if (buildCounterCommentInReplyTo < 3) { - unittest.expect(o.href, unittest.equals('foo')); - unittest.expect(o.ref, unittest.equals('foo')); - unittest.expect(o.rel, unittest.equals('foo')); - unittest.expect(o.type, unittest.equals('foo')); - } - buildCounterCommentInReplyTo--; -} - -buildUnnamed187() { - var o = new core.List<api.OrkutLinkResource>(); - o.add(buildOrkutLinkResource()); - o.add(buildOrkutLinkResource()); - return o; -} - -checkUnnamed187(core.List<api.OrkutLinkResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutLinkResource(o[0]); - checkOrkutLinkResource(o[1]); -} - -core.int buildCounterComment = 0; -buildComment() { - var o = new api.Comment(); - buildCounterComment++; - if (buildCounterComment < 3) { - o.actor = buildOrkutAuthorResource(); - o.content = "foo"; - o.id = "foo"; - o.inReplyTo = buildCommentInReplyTo(); - o.kind = "foo"; - o.links = buildUnnamed187(); - o.published = core.DateTime.parse("2002-02-27T14:01:02"); - } - buildCounterComment--; - return o; -} - -checkComment(api.Comment o) { - buildCounterComment++; - if (buildCounterComment < 3) { - checkOrkutAuthorResource(o.actor); - unittest.expect(o.content, unittest.equals('foo')); - unittest.expect(o.id, unittest.equals('foo')); - checkCommentInReplyTo(o.inReplyTo); - unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed187(o.links); - unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - } - buildCounterComment--; -} - -buildUnnamed188() { - var o = new core.List<api.Comment>(); - o.add(buildComment()); - o.add(buildComment()); - return o; -} - -checkUnnamed188(core.List<api.Comment> o) { - unittest.expect(o, unittest.hasLength(2)); - checkComment(o[0]); - checkComment(o[1]); -} - -core.int buildCounterCommentList = 0; -buildCommentList() { - var o = new api.CommentList(); - buildCounterCommentList++; - if (buildCounterCommentList < 3) { - o.items = buildUnnamed188(); - o.kind = "foo"; - o.nextPageToken = "foo"; - o.previousPageToken = "foo"; - } - buildCounterCommentList--; - return o; -} - -checkCommentList(api.CommentList o) { - buildCounterCommentList++; - if (buildCounterCommentList < 3) { - checkUnnamed188(o.items); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.nextPageToken, unittest.equals('foo')); - unittest.expect(o.previousPageToken, unittest.equals('foo')); - } - buildCounterCommentList--; -} - -buildUnnamed189() { - var o = new core.List<api.OrkutAuthorResource>(); - o.add(buildOrkutAuthorResource()); - o.add(buildOrkutAuthorResource()); - return o; -} - -checkUnnamed189(core.List<api.OrkutAuthorResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutAuthorResource(o[0]); - checkOrkutAuthorResource(o[1]); -} - -buildUnnamed190() { - var o = new core.List<api.OrkutLinkResource>(); - o.add(buildOrkutLinkResource()); - o.add(buildOrkutLinkResource()); - return o; -} - -checkUnnamed190(core.List<api.OrkutLinkResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutLinkResource(o[0]); - checkOrkutLinkResource(o[1]); -} - -buildUnnamed191() { - var o = new core.List<api.OrkutAuthorResource>(); - o.add(buildOrkutAuthorResource()); - o.add(buildOrkutAuthorResource()); - return o; -} - -checkUnnamed191(core.List<api.OrkutAuthorResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutAuthorResource(o[0]); - checkOrkutAuthorResource(o[1]); -} - -core.int buildCounterCommunity = 0; -buildCommunity() { - var o = new api.Community(); - buildCounterCommunity++; - if (buildCounterCommunity < 3) { - o.category = "foo"; - o.coOwners = buildUnnamed189(); - o.creationDate = core.DateTime.parse("2002-02-27T14:01:02"); - o.description = "foo"; - o.id = 42; - o.kind = "foo"; - o.language = "foo"; - o.links = buildUnnamed190(); - o.location = "foo"; - o.memberCount = 42; - o.moderators = buildUnnamed191(); - o.name = "foo"; - o.owner = buildOrkutAuthorResource(); - o.photoUrl = "foo"; - } - buildCounterCommunity--; - return o; -} - -checkCommunity(api.Community o) { - buildCounterCommunity++; - if (buildCounterCommunity < 3) { - unittest.expect(o.category, unittest.equals('foo')); - checkUnnamed189(o.coOwners); - unittest.expect(o.creationDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - unittest.expect(o.description, unittest.equals('foo')); - unittest.expect(o.id, unittest.equals(42)); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.language, unittest.equals('foo')); - checkUnnamed190(o.links); - unittest.expect(o.location, unittest.equals('foo')); - unittest.expect(o.memberCount, unittest.equals(42)); - checkUnnamed191(o.moderators); - unittest.expect(o.name, unittest.equals('foo')); - checkOrkutAuthorResource(o.owner); - unittest.expect(o.photoUrl, unittest.equals('foo')); - } - buildCounterCommunity--; -} - -buildUnnamed192() { - var o = new core.List<api.Community>(); - o.add(buildCommunity()); - o.add(buildCommunity()); - return o; -} - -checkUnnamed192(core.List<api.Community> o) { - unittest.expect(o, unittest.hasLength(2)); - checkCommunity(o[0]); - checkCommunity(o[1]); -} - -core.int buildCounterCommunityList = 0; -buildCommunityList() { - var o = new api.CommunityList(); - buildCounterCommunityList++; - if (buildCounterCommunityList < 3) { - o.items = buildUnnamed192(); - o.kind = "foo"; - } - buildCounterCommunityList--; - return o; -} - -checkCommunityList(api.CommunityList o) { - buildCounterCommunityList++; - if (buildCounterCommunityList < 3) { - checkUnnamed192(o.items); - unittest.expect(o.kind, unittest.equals('foo')); - } - buildCounterCommunityList--; -} - -core.int buildCounterCommunityMembers = 0; -buildCommunityMembers() { - var o = new api.CommunityMembers(); - buildCounterCommunityMembers++; - if (buildCounterCommunityMembers < 3) { - o.communityMembershipStatus = buildCommunityMembershipStatus(); - o.kind = "foo"; - o.person = buildOrkutActivitypersonResource(); - } - buildCounterCommunityMembers--; - return o; -} - -checkCommunityMembers(api.CommunityMembers o) { - buildCounterCommunityMembers++; - if (buildCounterCommunityMembers < 3) { - checkCommunityMembershipStatus(o.communityMembershipStatus); - unittest.expect(o.kind, unittest.equals('foo')); - checkOrkutActivitypersonResource(o.person); - } - buildCounterCommunityMembers--; -} - -buildUnnamed193() { - var o = new core.List<api.CommunityMembers>(); - o.add(buildCommunityMembers()); - o.add(buildCommunityMembers()); - return o; -} - -checkUnnamed193(core.List<api.CommunityMembers> o) { - unittest.expect(o, unittest.hasLength(2)); - checkCommunityMembers(o[0]); - checkCommunityMembers(o[1]); -} - -core.int buildCounterCommunityMembersList = 0; -buildCommunityMembersList() { - var o = new api.CommunityMembersList(); - buildCounterCommunityMembersList++; - if (buildCounterCommunityMembersList < 3) { - o.firstPageToken = "foo"; - o.items = buildUnnamed193(); - o.kind = "foo"; - o.lastPageToken = "foo"; - o.nextPageToken = "foo"; - o.prevPageToken = "foo"; - } - buildCounterCommunityMembersList--; - return o; -} - -checkCommunityMembersList(api.CommunityMembersList o) { - buildCounterCommunityMembersList++; - if (buildCounterCommunityMembersList < 3) { - unittest.expect(o.firstPageToken, unittest.equals('foo')); - checkUnnamed193(o.items); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.lastPageToken, unittest.equals('foo')); - unittest.expect(o.nextPageToken, unittest.equals('foo')); - unittest.expect(o.prevPageToken, unittest.equals('foo')); - } - buildCounterCommunityMembersList--; -} - -core.int buildCounterCommunityMembershipStatus = 0; -buildCommunityMembershipStatus() { - var o = new api.CommunityMembershipStatus(); - buildCounterCommunityMembershipStatus++; - if (buildCounterCommunityMembershipStatus < 3) { - o.canCreatePoll = true; - o.canCreateTopic = true; - o.canShout = true; - o.isCoOwner = true; - o.isFollowing = true; - o.isModerator = true; - o.isOwner = true; - o.isRestoreAvailable = true; - o.isTakebackAvailable = true; - o.kind = "foo"; - o.status = "foo"; - } - buildCounterCommunityMembershipStatus--; - return o; -} - -checkCommunityMembershipStatus(api.CommunityMembershipStatus o) { - buildCounterCommunityMembershipStatus++; - if (buildCounterCommunityMembershipStatus < 3) { - unittest.expect(o.canCreatePoll, unittest.isTrue); - unittest.expect(o.canCreateTopic, unittest.isTrue); - unittest.expect(o.canShout, unittest.isTrue); - unittest.expect(o.isCoOwner, unittest.isTrue); - unittest.expect(o.isFollowing, unittest.isTrue); - unittest.expect(o.isModerator, unittest.isTrue); - unittest.expect(o.isOwner, unittest.isTrue); - unittest.expect(o.isRestoreAvailable, unittest.isTrue); - unittest.expect(o.isTakebackAvailable, unittest.isTrue); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.status, unittest.equals('foo')); - } - buildCounterCommunityMembershipStatus--; -} - -buildUnnamed194() { - var o = new core.List<api.OrkutLinkResource>(); - o.add(buildOrkutLinkResource()); - o.add(buildOrkutLinkResource()); - return o; -} - -checkUnnamed194(core.List<api.OrkutLinkResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutLinkResource(o[0]); - checkOrkutLinkResource(o[1]); -} - -core.int buildCounterCommunityMessage = 0; -buildCommunityMessage() { - var o = new api.CommunityMessage(); - buildCounterCommunityMessage++; - if (buildCounterCommunityMessage < 3) { - o.addedDate = core.DateTime.parse("2002-02-27T14:01:02"); - o.author = buildOrkutAuthorResource(); - o.body = "foo"; - o.id = "foo"; - o.isSpam = true; - o.kind = "foo"; - o.links = buildUnnamed194(); - o.subject = "foo"; - } - buildCounterCommunityMessage--; - return o; -} - -checkCommunityMessage(api.CommunityMessage o) { - buildCounterCommunityMessage++; - if (buildCounterCommunityMessage < 3) { - unittest.expect(o.addedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - checkOrkutAuthorResource(o.author); - unittest.expect(o.body, unittest.equals('foo')); - unittest.expect(o.id, unittest.equals('foo')); - unittest.expect(o.isSpam, unittest.isTrue); - unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed194(o.links); - unittest.expect(o.subject, unittest.equals('foo')); - } - buildCounterCommunityMessage--; -} - -buildUnnamed195() { - var o = new core.List<api.CommunityMessage>(); - o.add(buildCommunityMessage()); - o.add(buildCommunityMessage()); - return o; -} - -checkUnnamed195(core.List<api.CommunityMessage> o) { - unittest.expect(o, unittest.hasLength(2)); - checkCommunityMessage(o[0]); - checkCommunityMessage(o[1]); -} - -core.int buildCounterCommunityMessageList = 0; -buildCommunityMessageList() { - var o = new api.CommunityMessageList(); - buildCounterCommunityMessageList++; - if (buildCounterCommunityMessageList < 3) { - o.firstPageToken = "foo"; - o.items = buildUnnamed195(); - o.kind = "foo"; - o.lastPageToken = "foo"; - o.nextPageToken = "foo"; - o.prevPageToken = "foo"; - } - buildCounterCommunityMessageList--; - return o; -} - -checkCommunityMessageList(api.CommunityMessageList o) { - buildCounterCommunityMessageList++; - if (buildCounterCommunityMessageList < 3) { - unittest.expect(o.firstPageToken, unittest.equals('foo')); - checkUnnamed195(o.items); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.lastPageToken, unittest.equals('foo')); - unittest.expect(o.nextPageToken, unittest.equals('foo')); - unittest.expect(o.prevPageToken, unittest.equals('foo')); - } - buildCounterCommunityMessageList--; -} - -core.int buildCounterCommunityPollImage = 0; -buildCommunityPollImage() { - var o = new api.CommunityPollImage(); - buildCounterCommunityPollImage++; - if (buildCounterCommunityPollImage < 3) { - o.url = "foo"; - } - buildCounterCommunityPollImage--; - return o; -} - -checkCommunityPollImage(api.CommunityPollImage o) { - buildCounterCommunityPollImage++; - if (buildCounterCommunityPollImage < 3) { - unittest.expect(o.url, unittest.equals('foo')); - } - buildCounterCommunityPollImage--; -} - -buildUnnamed196() { - var o = new core.List<api.OrkutLinkResource>(); - o.add(buildOrkutLinkResource()); - o.add(buildOrkutLinkResource()); - return o; -} - -checkUnnamed196(core.List<api.OrkutLinkResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutLinkResource(o[0]); - checkOrkutLinkResource(o[1]); -} - -buildUnnamed197() { - var o = new core.List<api.OrkutCommunitypolloptionResource>(); - o.add(buildOrkutCommunitypolloptionResource()); - o.add(buildOrkutCommunitypolloptionResource()); - return o; -} - -checkUnnamed197(core.List<api.OrkutCommunitypolloptionResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutCommunitypolloptionResource(o[0]); - checkOrkutCommunitypolloptionResource(o[1]); -} - -buildUnnamed198() { - var o = new core.List<core.int>(); - o.add(42); - o.add(42); - return o; -} - -checkUnnamed198(core.List<core.int> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect(o[0], unittest.equals(42)); - unittest.expect(o[1], unittest.equals(42)); -} - -core.int buildCounterCommunityPoll = 0; -buildCommunityPoll() { - var o = new api.CommunityPoll(); - buildCounterCommunityPoll++; - if (buildCounterCommunityPoll < 3) { - o.author = buildOrkutAuthorResource(); - o.communityId = 42; - o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); - o.description = "foo"; - o.endingTime = core.DateTime.parse("2002-02-27T14:01:02"); - o.hasVoted = true; - o.id = "foo"; - o.image = buildCommunityPollImage(); - o.isClosed = true; - o.isMultipleAnswers = true; - o.isOpenForVoting = true; - o.isRestricted = true; - o.isSpam = true; - o.isUsersVotePublic = true; - o.isVotingAllowedForNonMembers = true; - o.kind = "foo"; - o.lastUpdate = core.DateTime.parse("2002-02-27T14:01:02"); - o.links = buildUnnamed196(); - o.options = buildUnnamed197(); - o.question = "foo"; - o.totalNumberOfVotes = 42; - o.votedOptions = buildUnnamed198(); - } - buildCounterCommunityPoll--; - return o; -} - -checkCommunityPoll(api.CommunityPoll o) { - buildCounterCommunityPoll++; - if (buildCounterCommunityPoll < 3) { - checkOrkutAuthorResource(o.author); - unittest.expect(o.communityId, unittest.equals(42)); - unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - unittest.expect(o.description, unittest.equals('foo')); - unittest.expect(o.endingTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - unittest.expect(o.hasVoted, unittest.isTrue); - unittest.expect(o.id, unittest.equals('foo')); - checkCommunityPollImage(o.image); - unittest.expect(o.isClosed, unittest.isTrue); - unittest.expect(o.isMultipleAnswers, unittest.isTrue); - unittest.expect(o.isOpenForVoting, unittest.isTrue); - unittest.expect(o.isRestricted, unittest.isTrue); - unittest.expect(o.isSpam, unittest.isTrue); - unittest.expect(o.isUsersVotePublic, unittest.isTrue); - unittest.expect(o.isVotingAllowedForNonMembers, unittest.isTrue); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.lastUpdate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - checkUnnamed196(o.links); - checkUnnamed197(o.options); - unittest.expect(o.question, unittest.equals('foo')); - unittest.expect(o.totalNumberOfVotes, unittest.equals(42)); - checkUnnamed198(o.votedOptions); - } - buildCounterCommunityPoll--; -} - -core.int buildCounterCommunityPollComment = 0; -buildCommunityPollComment() { - var o = new api.CommunityPollComment(); - buildCounterCommunityPollComment++; - if (buildCounterCommunityPollComment < 3) { - o.addedDate = core.DateTime.parse("2002-02-27T14:01:02"); - o.author = buildOrkutAuthorResource(); - o.body = "foo"; - o.id = 42; - o.kind = "foo"; - } - buildCounterCommunityPollComment--; - return o; -} - -checkCommunityPollComment(api.CommunityPollComment o) { - buildCounterCommunityPollComment++; - if (buildCounterCommunityPollComment < 3) { - unittest.expect(o.addedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - checkOrkutAuthorResource(o.author); - unittest.expect(o.body, unittest.equals('foo')); - unittest.expect(o.id, unittest.equals(42)); - unittest.expect(o.kind, unittest.equals('foo')); - } - buildCounterCommunityPollComment--; -} - -buildUnnamed199() { - var o = new core.List<api.CommunityPollComment>(); - o.add(buildCommunityPollComment()); - o.add(buildCommunityPollComment()); - return o; -} - -checkUnnamed199(core.List<api.CommunityPollComment> o) { - unittest.expect(o, unittest.hasLength(2)); - checkCommunityPollComment(o[0]); - checkCommunityPollComment(o[1]); -} - -core.int buildCounterCommunityPollCommentList = 0; -buildCommunityPollCommentList() { - var o = new api.CommunityPollCommentList(); - buildCounterCommunityPollCommentList++; - if (buildCounterCommunityPollCommentList < 3) { - o.firstPageToken = "foo"; - o.items = buildUnnamed199(); - o.kind = "foo"; - o.lastPageToken = "foo"; - o.nextPageToken = "foo"; - o.prevPageToken = "foo"; - } - buildCounterCommunityPollCommentList--; - return o; -} - -checkCommunityPollCommentList(api.CommunityPollCommentList o) { - buildCounterCommunityPollCommentList++; - if (buildCounterCommunityPollCommentList < 3) { - unittest.expect(o.firstPageToken, unittest.equals('foo')); - checkUnnamed199(o.items); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.lastPageToken, unittest.equals('foo')); - unittest.expect(o.nextPageToken, unittest.equals('foo')); - unittest.expect(o.prevPageToken, unittest.equals('foo')); - } - buildCounterCommunityPollCommentList--; -} - -buildUnnamed200() { - var o = new core.List<api.CommunityPoll>(); - o.add(buildCommunityPoll()); - o.add(buildCommunityPoll()); - return o; -} - -checkUnnamed200(core.List<api.CommunityPoll> o) { - unittest.expect(o, unittest.hasLength(2)); - checkCommunityPoll(o[0]); - checkCommunityPoll(o[1]); -} - -core.int buildCounterCommunityPollList = 0; -buildCommunityPollList() { - var o = new api.CommunityPollList(); - buildCounterCommunityPollList++; - if (buildCounterCommunityPollList < 3) { - o.firstPageToken = "foo"; - o.items = buildUnnamed200(); - o.kind = "foo"; - o.lastPageToken = "foo"; - o.nextPageToken = "foo"; - o.prevPageToken = "foo"; - } - buildCounterCommunityPollList--; - return o; -} - -checkCommunityPollList(api.CommunityPollList o) { - buildCounterCommunityPollList++; - if (buildCounterCommunityPollList < 3) { - unittest.expect(o.firstPageToken, unittest.equals('foo')); - checkUnnamed200(o.items); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.lastPageToken, unittest.equals('foo')); - unittest.expect(o.nextPageToken, unittest.equals('foo')); - unittest.expect(o.prevPageToken, unittest.equals('foo')); - } - buildCounterCommunityPollList--; -} - -buildUnnamed201() { - var o = new core.List<core.int>(); - o.add(42); - o.add(42); - return o; -} - -checkUnnamed201(core.List<core.int> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect(o[0], unittest.equals(42)); - unittest.expect(o[1], unittest.equals(42)); -} - -core.int buildCounterCommunityPollVote = 0; -buildCommunityPollVote() { - var o = new api.CommunityPollVote(); - buildCounterCommunityPollVote++; - if (buildCounterCommunityPollVote < 3) { - o.isVotevisible = true; - o.kind = "foo"; - o.optionIds = buildUnnamed201(); - } - buildCounterCommunityPollVote--; - return o; -} - -checkCommunityPollVote(api.CommunityPollVote o) { - buildCounterCommunityPollVote++; - if (buildCounterCommunityPollVote < 3) { - unittest.expect(o.isVotevisible, unittest.isTrue); - unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed201(o.optionIds); - } - buildCounterCommunityPollVote--; -} - -buildUnnamed202() { - var o = new core.List<api.OrkutLinkResource>(); - o.add(buildOrkutLinkResource()); - o.add(buildOrkutLinkResource()); - return o; -} - -checkUnnamed202(core.List<api.OrkutLinkResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutLinkResource(o[0]); - checkOrkutLinkResource(o[1]); -} - -buildUnnamed203() { - var o = new core.List<api.CommunityMessage>(); - o.add(buildCommunityMessage()); - o.add(buildCommunityMessage()); - return o; -} - -checkUnnamed203(core.List<api.CommunityMessage> o) { - unittest.expect(o, unittest.hasLength(2)); - checkCommunityMessage(o[0]); - checkCommunityMessage(o[1]); -} - -core.int buildCounterCommunityTopic = 0; -buildCommunityTopic() { - var o = new api.CommunityTopic(); - buildCounterCommunityTopic++; - if (buildCounterCommunityTopic < 3) { - o.author = buildOrkutAuthorResource(); - o.body = "foo"; - o.id = "foo"; - o.isClosed = true; - o.kind = "foo"; - o.lastUpdate = core.DateTime.parse("2002-02-27T14:01:02"); - o.latestMessageSnippet = "foo"; - o.links = buildUnnamed202(); - o.messages = buildUnnamed203(); - o.numberOfReplies = 42; - o.title = "foo"; - } - buildCounterCommunityTopic--; - return o; -} - -checkCommunityTopic(api.CommunityTopic o) { - buildCounterCommunityTopic++; - if (buildCounterCommunityTopic < 3) { - checkOrkutAuthorResource(o.author); - unittest.expect(o.body, unittest.equals('foo')); - unittest.expect(o.id, unittest.equals('foo')); - unittest.expect(o.isClosed, unittest.isTrue); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.lastUpdate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - unittest.expect(o.latestMessageSnippet, unittest.equals('foo')); - checkUnnamed202(o.links); - checkUnnamed203(o.messages); - unittest.expect(o.numberOfReplies, unittest.equals(42)); - unittest.expect(o.title, unittest.equals('foo')); - } - buildCounterCommunityTopic--; -} - -buildUnnamed204() { - var o = new core.List<api.CommunityTopic>(); - o.add(buildCommunityTopic()); - o.add(buildCommunityTopic()); - return o; -} - -checkUnnamed204(core.List<api.CommunityTopic> o) { - unittest.expect(o, unittest.hasLength(2)); - checkCommunityTopic(o[0]); - checkCommunityTopic(o[1]); -} - -core.int buildCounterCommunityTopicList = 0; -buildCommunityTopicList() { - var o = new api.CommunityTopicList(); - buildCounterCommunityTopicList++; - if (buildCounterCommunityTopicList < 3) { - o.firstPageToken = "foo"; - o.items = buildUnnamed204(); - o.kind = "foo"; - o.lastPageToken = "foo"; - o.nextPageToken = "foo"; - o.prevPageToken = "foo"; - } - buildCounterCommunityTopicList--; - return o; -} - -checkCommunityTopicList(api.CommunityTopicList o) { - buildCounterCommunityTopicList++; - if (buildCounterCommunityTopicList < 3) { - unittest.expect(o.firstPageToken, unittest.equals('foo')); - checkUnnamed204(o.items); - unittest.expect(o.kind, unittest.equals('foo')); - unittest.expect(o.lastPageToken, unittest.equals('foo')); - unittest.expect(o.nextPageToken, unittest.equals('foo')); - unittest.expect(o.prevPageToken, unittest.equals('foo')); - } - buildCounterCommunityTopicList--; -} - -buildUnnamed205() { - var o = new core.List<api.OrkutCounterResource>(); - o.add(buildOrkutCounterResource()); - o.add(buildOrkutCounterResource()); - return o; -} - -checkUnnamed205(core.List<api.OrkutCounterResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutCounterResource(o[0]); - checkOrkutCounterResource(o[1]); -} - -core.int buildCounterCounters = 0; -buildCounters() { - var o = new api.Counters(); - buildCounterCounters++; - if (buildCounterCounters < 3) { - o.items = buildUnnamed205(); - o.kind = "foo"; - } - buildCounterCounters--; - return o; -} - -checkCounters(api.Counters o) { - buildCounterCounters++; - if (buildCounterCounters < 3) { - checkUnnamed205(o.items); - unittest.expect(o.kind, unittest.equals('foo')); - } - buildCounterCounters--; -} - -buildUnnamed206() { - var o = new core.List<api.OrkutLinkResource>(); - o.add(buildOrkutLinkResource()); - o.add(buildOrkutLinkResource()); - return o; -} - -checkUnnamed206(core.List<api.OrkutLinkResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutLinkResource(o[0]); - checkOrkutLinkResource(o[1]); -} - -core.int buildCounterOrkutActivityobjectsResource = 0; -buildOrkutActivityobjectsResource() { - var o = new api.OrkutActivityobjectsResource(); - buildCounterOrkutActivityobjectsResource++; - if (buildCounterOrkutActivityobjectsResource < 3) { - o.community = buildCommunity(); - o.content = "foo"; - o.displayName = "foo"; - o.id = "foo"; - o.links = buildUnnamed206(); - o.objectType = "foo"; - o.person = buildOrkutActivitypersonResource(); - } - buildCounterOrkutActivityobjectsResource--; - return o; -} - -checkOrkutActivityobjectsResource(api.OrkutActivityobjectsResource o) { - buildCounterOrkutActivityobjectsResource++; - if (buildCounterOrkutActivityobjectsResource < 3) { - checkCommunity(o.community); - unittest.expect(o.content, unittest.equals('foo')); - unittest.expect(o.displayName, unittest.equals('foo')); - unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed206(o.links); - unittest.expect(o.objectType, unittest.equals('foo')); - checkOrkutActivitypersonResource(o.person); - } - buildCounterOrkutActivityobjectsResource--; -} - -core.int buildCounterOrkutActivitypersonResourceImage = 0; -buildOrkutActivitypersonResourceImage() { - var o = new api.OrkutActivitypersonResourceImage(); - buildCounterOrkutActivitypersonResourceImage++; - if (buildCounterOrkutActivitypersonResourceImage < 3) { - o.url = "foo"; - } - buildCounterOrkutActivitypersonResourceImage--; - return o; -} - -checkOrkutActivitypersonResourceImage(api.OrkutActivitypersonResourceImage o) { - buildCounterOrkutActivitypersonResourceImage++; - if (buildCounterOrkutActivitypersonResourceImage < 3) { - unittest.expect(o.url, unittest.equals('foo')); - } - buildCounterOrkutActivitypersonResourceImage--; -} - -core.int buildCounterOrkutActivitypersonResourceName = 0; -buildOrkutActivitypersonResourceName() { - var o = new api.OrkutActivitypersonResourceName(); - buildCounterOrkutActivitypersonResourceName++; - if (buildCounterOrkutActivitypersonResourceName < 3) { - o.familyName = "foo"; - o.givenName = "foo"; - } - buildCounterOrkutActivitypersonResourceName--; - return o; -} - -checkOrkutActivitypersonResourceName(api.OrkutActivitypersonResourceName o) { - buildCounterOrkutActivitypersonResourceName++; - if (buildCounterOrkutActivitypersonResourceName < 3) { - unittest.expect(o.familyName, unittest.equals('foo')); - unittest.expect(o.givenName, unittest.equals('foo')); - } - buildCounterOrkutActivitypersonResourceName--; -} - -core.int buildCounterOrkutActivitypersonResource = 0; -buildOrkutActivitypersonResource() { - var o = new api.OrkutActivitypersonResource(); - buildCounterOrkutActivitypersonResource++; - if (buildCounterOrkutActivitypersonResource < 3) { - o.birthday = "foo"; - o.gender = "foo"; - o.id = "foo"; - o.image = buildOrkutActivitypersonResourceImage(); - o.name = buildOrkutActivitypersonResourceName(); - o.url = "foo"; - } - buildCounterOrkutActivitypersonResource--; - return o; -} - -checkOrkutActivitypersonResource(api.OrkutActivitypersonResource o) { - buildCounterOrkutActivitypersonResource++; - if (buildCounterOrkutActivitypersonResource < 3) { - unittest.expect(o.birthday, unittest.equals('foo')); - unittest.expect(o.gender, unittest.equals('foo')); - unittest.expect(o.id, unittest.equals('foo')); - checkOrkutActivitypersonResourceImage(o.image); - checkOrkutActivitypersonResourceName(o.name); - unittest.expect(o.url, unittest.equals('foo')); - } - buildCounterOrkutActivitypersonResource--; -} - -core.int buildCounterOrkutAuthorResourceImage = 0; -buildOrkutAuthorResourceImage() { - var o = new api.OrkutAuthorResourceImage(); - buildCounterOrkutAuthorResourceImage++; - if (buildCounterOrkutAuthorResourceImage < 3) { - o.url = "foo"; - } - buildCounterOrkutAuthorResourceImage--; - return o; -} - -checkOrkutAuthorResourceImage(api.OrkutAuthorResourceImage o) { - buildCounterOrkutAuthorResourceImage++; - if (buildCounterOrkutAuthorResourceImage < 3) { - unittest.expect(o.url, unittest.equals('foo')); - } - buildCounterOrkutAuthorResourceImage--; -} - -core.int buildCounterOrkutAuthorResource = 0; -buildOrkutAuthorResource() { - var o = new api.OrkutAuthorResource(); - buildCounterOrkutAuthorResource++; - if (buildCounterOrkutAuthorResource < 3) { - o.displayName = "foo"; - o.id = "foo"; - o.image = buildOrkutAuthorResourceImage(); - o.url = "foo"; - } - buildCounterOrkutAuthorResource--; - return o; -} - -checkOrkutAuthorResource(api.OrkutAuthorResource o) { - buildCounterOrkutAuthorResource++; - if (buildCounterOrkutAuthorResource < 3) { - unittest.expect(o.displayName, unittest.equals('foo')); - unittest.expect(o.id, unittest.equals('foo')); - checkOrkutAuthorResourceImage(o.image); - unittest.expect(o.url, unittest.equals('foo')); - } - buildCounterOrkutAuthorResource--; -} - -core.int buildCounterOrkutCommunitypolloptionResourceImage = 0; -buildOrkutCommunitypolloptionResourceImage() { - var o = new api.OrkutCommunitypolloptionResourceImage(); - buildCounterOrkutCommunitypolloptionResourceImage++; - if (buildCounterOrkutCommunitypolloptionResourceImage < 3) { - o.url = "foo"; - } - buildCounterOrkutCommunitypolloptionResourceImage--; - return o; -} - -checkOrkutCommunitypolloptionResourceImage(api.OrkutCommunitypolloptionResourceImage o) { - buildCounterOrkutCommunitypolloptionResourceImage++; - if (buildCounterOrkutCommunitypolloptionResourceImage < 3) { - unittest.expect(o.url, unittest.equals('foo')); - } - buildCounterOrkutCommunitypolloptionResourceImage--; -} - -core.int buildCounterOrkutCommunitypolloptionResource = 0; -buildOrkutCommunitypolloptionResource() { - var o = new api.OrkutCommunitypolloptionResource(); - buildCounterOrkutCommunitypolloptionResource++; - if (buildCounterOrkutCommunitypolloptionResource < 3) { - o.description = "foo"; - o.image = buildOrkutCommunitypolloptionResourceImage(); - o.numberOfVotes = 42; - o.optionId = 42; - } - buildCounterOrkutCommunitypolloptionResource--; - return o; -} - -checkOrkutCommunitypolloptionResource(api.OrkutCommunitypolloptionResource o) { - buildCounterOrkutCommunitypolloptionResource++; - if (buildCounterOrkutCommunitypolloptionResource < 3) { - unittest.expect(o.description, unittest.equals('foo')); - checkOrkutCommunitypolloptionResourceImage(o.image); - unittest.expect(o.numberOfVotes, unittest.equals(42)); - unittest.expect(o.optionId, unittest.equals(42)); - } - buildCounterOrkutCommunitypolloptionResource--; -} - -core.int buildCounterOrkutCounterResource = 0; -buildOrkutCounterResource() { - var o = new api.OrkutCounterResource(); - buildCounterOrkutCounterResource++; - if (buildCounterOrkutCounterResource < 3) { - o.link = buildOrkutLinkResource(); - o.name = "foo"; - o.total = 42; - } - buildCounterOrkutCounterResource--; - return o; -} - -checkOrkutCounterResource(api.OrkutCounterResource o) { - buildCounterOrkutCounterResource++; - if (buildCounterOrkutCounterResource < 3) { - checkOrkutLinkResource(o.link); - unittest.expect(o.name, unittest.equals('foo')); - unittest.expect(o.total, unittest.equals(42)); - } - buildCounterOrkutCounterResource--; -} - -core.int buildCounterOrkutLinkResource = 0; -buildOrkutLinkResource() { - var o = new api.OrkutLinkResource(); - buildCounterOrkutLinkResource++; - if (buildCounterOrkutLinkResource < 3) { - o.href = "foo"; - o.rel = "foo"; - o.title = "foo"; - o.type = "foo"; - } - buildCounterOrkutLinkResource--; - return o; -} - -checkOrkutLinkResource(api.OrkutLinkResource o) { - buildCounterOrkutLinkResource++; - if (buildCounterOrkutLinkResource < 3) { - unittest.expect(o.href, unittest.equals('foo')); - unittest.expect(o.rel, unittest.equals('foo')); - unittest.expect(o.title, unittest.equals('foo')); - unittest.expect(o.type, unittest.equals('foo')); - } - buildCounterOrkutLinkResource--; -} - -buildUnnamed207() { - var o = new core.List<api.OrkutLinkResource>(); - o.add(buildOrkutLinkResource()); - o.add(buildOrkutLinkResource()); - return o; -} - -checkUnnamed207(core.List<api.OrkutLinkResource> o) { - unittest.expect(o, unittest.hasLength(2)); - checkOrkutLinkResource(o[0]); - checkOrkutLinkResource(o[1]); -} - -core.int buildCounterVisibility = 0; -buildVisibility() { - var o = new api.Visibility(); - buildCounterVisibility++; - if (buildCounterVisibility < 3) { - o.kind = "foo"; - o.links = buildUnnamed207(); - o.visibility = "foo"; - } - buildCounterVisibility--; - return o; -} - -checkVisibility(api.Visibility o) { - buildCounterVisibility++; - if (buildCounterVisibility < 3) { - unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed207(o.links); - unittest.expect(o.visibility, unittest.equals('foo')); - } - buildCounterVisibility--; -} - - -main() { - unittest.group("obj-schema-AclItems", () { - unittest.test("to-json--from-json", () { - var o = buildAclItems(); - var od = new api.AclItems.fromJson(o.toJson()); - checkAclItems(od); - }); - }); - - - unittest.group("obj-schema-Acl", () { - unittest.test("to-json--from-json", () { - var o = buildAcl(); - var od = new api.Acl.fromJson(o.toJson()); - checkAcl(od); - }); - }); - - - unittest.group("obj-schema-ActivityObjectReplies", () { - unittest.test("to-json--from-json", () { - var o = buildActivityObjectReplies(); - var od = new api.ActivityObjectReplies.fromJson(o.toJson()); - checkActivityObjectReplies(od); - }); - }); - - - unittest.group("obj-schema-ActivityObject", () { - unittest.test("to-json--from-json", () { - var o = buildActivityObject(); - var od = new api.ActivityObject.fromJson(o.toJson()); - checkActivityObject(od); - }); - }); - - - unittest.group("obj-schema-Activity", () { - unittest.test("to-json--from-json", () { - var o = buildActivity(); - var od = new api.Activity.fromJson(o.toJson()); - checkActivity(od); - }); - }); - - - unittest.group("obj-schema-ActivityList", () { - unittest.test("to-json--from-json", () { - var o = buildActivityList(); - var od = new api.ActivityList.fromJson(o.toJson()); - checkActivityList(od); - }); - }); - - - unittest.group("obj-schema-Badge", () { - unittest.test("to-json--from-json", () { - var o = buildBadge(); - var od = new api.Badge.fromJson(o.toJson()); - checkBadge(od); - }); - }); - - - unittest.group("obj-schema-BadgeList", () { - unittest.test("to-json--from-json", () { - var o = buildBadgeList(); - var od = new api.BadgeList.fromJson(o.toJson()); - checkBadgeList(od); - }); - }); - - - unittest.group("obj-schema-CommentInReplyTo", () { - unittest.test("to-json--from-json", () { - var o = buildCommentInReplyTo(); - var od = new api.CommentInReplyTo.fromJson(o.toJson()); - checkCommentInReplyTo(od); - }); - }); - - - unittest.group("obj-schema-Comment", () { - unittest.test("to-json--from-json", () { - var o = buildComment(); - var od = new api.Comment.fromJson(o.toJson()); - checkComment(od); - }); - }); - - - unittest.group("obj-schema-CommentList", () { - unittest.test("to-json--from-json", () { - var o = buildCommentList(); - var od = new api.CommentList.fromJson(o.toJson()); - checkCommentList(od); - }); - }); - - - unittest.group("obj-schema-Community", () { - unittest.test("to-json--from-json", () { - var o = buildCommunity(); - var od = new api.Community.fromJson(o.toJson()); - checkCommunity(od); - }); - }); - - - unittest.group("obj-schema-CommunityList", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityList(); - var od = new api.CommunityList.fromJson(o.toJson()); - checkCommunityList(od); - }); - }); - - - unittest.group("obj-schema-CommunityMembers", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityMembers(); - var od = new api.CommunityMembers.fromJson(o.toJson()); - checkCommunityMembers(od); - }); - }); - - - unittest.group("obj-schema-CommunityMembersList", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityMembersList(); - var od = new api.CommunityMembersList.fromJson(o.toJson()); - checkCommunityMembersList(od); - }); - }); - - - unittest.group("obj-schema-CommunityMembershipStatus", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityMembershipStatus(); - var od = new api.CommunityMembershipStatus.fromJson(o.toJson()); - checkCommunityMembershipStatus(od); - }); - }); - - - unittest.group("obj-schema-CommunityMessage", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityMessage(); - var od = new api.CommunityMessage.fromJson(o.toJson()); - checkCommunityMessage(od); - }); - }); - - - unittest.group("obj-schema-CommunityMessageList", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityMessageList(); - var od = new api.CommunityMessageList.fromJson(o.toJson()); - checkCommunityMessageList(od); - }); - }); - - - unittest.group("obj-schema-CommunityPollImage", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityPollImage(); - var od = new api.CommunityPollImage.fromJson(o.toJson()); - checkCommunityPollImage(od); - }); - }); - - - unittest.group("obj-schema-CommunityPoll", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityPoll(); - var od = new api.CommunityPoll.fromJson(o.toJson()); - checkCommunityPoll(od); - }); - }); - - - unittest.group("obj-schema-CommunityPollComment", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityPollComment(); - var od = new api.CommunityPollComment.fromJson(o.toJson()); - checkCommunityPollComment(od); - }); - }); - - - unittest.group("obj-schema-CommunityPollCommentList", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityPollCommentList(); - var od = new api.CommunityPollCommentList.fromJson(o.toJson()); - checkCommunityPollCommentList(od); - }); - }); - - - unittest.group("obj-schema-CommunityPollList", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityPollList(); - var od = new api.CommunityPollList.fromJson(o.toJson()); - checkCommunityPollList(od); - }); - }); - - - unittest.group("obj-schema-CommunityPollVote", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityPollVote(); - var od = new api.CommunityPollVote.fromJson(o.toJson()); - checkCommunityPollVote(od); - }); - }); - - - unittest.group("obj-schema-CommunityTopic", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityTopic(); - var od = new api.CommunityTopic.fromJson(o.toJson()); - checkCommunityTopic(od); - }); - }); - - - unittest.group("obj-schema-CommunityTopicList", () { - unittest.test("to-json--from-json", () { - var o = buildCommunityTopicList(); - var od = new api.CommunityTopicList.fromJson(o.toJson()); - checkCommunityTopicList(od); - }); - }); - - - unittest.group("obj-schema-Counters", () { - unittest.test("to-json--from-json", () { - var o = buildCounters(); - var od = new api.Counters.fromJson(o.toJson()); - checkCounters(od); - }); - }); - - - unittest.group("obj-schema-OrkutActivityobjectsResource", () { - unittest.test("to-json--from-json", () { - var o = buildOrkutActivityobjectsResource(); - var od = new api.OrkutActivityobjectsResource.fromJson(o.toJson()); - checkOrkutActivityobjectsResource(od); - }); - }); - - - unittest.group("obj-schema-OrkutActivitypersonResourceImage", () { - unittest.test("to-json--from-json", () { - var o = buildOrkutActivitypersonResourceImage(); - var od = new api.OrkutActivitypersonResourceImage.fromJson(o.toJson()); - checkOrkutActivitypersonResourceImage(od); - }); - }); - - - unittest.group("obj-schema-OrkutActivitypersonResourceName", () { - unittest.test("to-json--from-json", () { - var o = buildOrkutActivitypersonResourceName(); - var od = new api.OrkutActivitypersonResourceName.fromJson(o.toJson()); - checkOrkutActivitypersonResourceName(od); - }); - }); - - - unittest.group("obj-schema-OrkutActivitypersonResource", () { - unittest.test("to-json--from-json", () { - var o = buildOrkutActivitypersonResource(); - var od = new api.OrkutActivitypersonResource.fromJson(o.toJson()); - checkOrkutActivitypersonResource(od); - }); - }); - - - unittest.group("obj-schema-OrkutAuthorResourceImage", () { - unittest.test("to-json--from-json", () { - var o = buildOrkutAuthorResourceImage(); - var od = new api.OrkutAuthorResourceImage.fromJson(o.toJson()); - checkOrkutAuthorResourceImage(od); - }); - }); - - - unittest.group("obj-schema-OrkutAuthorResource", () { - unittest.test("to-json--from-json", () { - var o = buildOrkutAuthorResource(); - var od = new api.OrkutAuthorResource.fromJson(o.toJson()); - checkOrkutAuthorResource(od); - }); - }); - - - unittest.group("obj-schema-OrkutCommunitypolloptionResourceImage", () { - unittest.test("to-json--from-json", () { - var o = buildOrkutCommunitypolloptionResourceImage(); - var od = new api.OrkutCommunitypolloptionResourceImage.fromJson(o.toJson()); - checkOrkutCommunitypolloptionResourceImage(od); - }); - }); - - - unittest.group("obj-schema-OrkutCommunitypolloptionResource", () { - unittest.test("to-json--from-json", () { - var o = buildOrkutCommunitypolloptionResource(); - var od = new api.OrkutCommunitypolloptionResource.fromJson(o.toJson()); - checkOrkutCommunitypolloptionResource(od); - }); - }); - - - unittest.group("obj-schema-OrkutCounterResource", () { - unittest.test("to-json--from-json", () { - var o = buildOrkutCounterResource(); - var od = new api.OrkutCounterResource.fromJson(o.toJson()); - checkOrkutCounterResource(od); - }); - }); - - - unittest.group("obj-schema-OrkutLinkResource", () { - unittest.test("to-json--from-json", () { - var o = buildOrkutLinkResource(); - var od = new api.OrkutLinkResource.fromJson(o.toJson()); - checkOrkutLinkResource(od); - }); - }); - - - unittest.group("obj-schema-Visibility", () { - unittest.test("to-json--from-json", () { - var o = buildVisibility(); - var od = new api.Visibility.fromJson(o.toJson()); - checkVisibility(od); - }); - }); - - - unittest.group("resource-AclResourceApi", () { - unittest.test("method--delete", () { - - var mock = new common_test.HttpServerMock(); - api.AclResourceApi res = new api.OrkutApi(mock).acl; - var arg_activityId = "foo"; - var arg_userId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("activities/")); - pathOffset += 11; - index = path.indexOf("/acl/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_activityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equals("/acl/")); - pathOffset += 5; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_userId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = ""; - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.delete(arg_activityId, arg_userId).then(unittest.expectAsync((_) {})); - }); - - }); - - - unittest.group("resource-ActivitiesResourceApi", () { - unittest.test("method--delete", () { - - var mock = new common_test.HttpServerMock(); - api.ActivitiesResourceApi res = new api.OrkutApi(mock).activities; - var arg_activityId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("activities/")); - pathOffset += 11; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_activityId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = ""; - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.delete(arg_activityId).then(unittest.expectAsync((_) {})); - }); - - unittest.test("method--list", () { - - var mock = new common_test.HttpServerMock(); - api.ActivitiesResourceApi res = new api.OrkutApi(mock).activities; - var arg_userId = "foo"; - var arg_collection = "foo"; - var arg_hl = "foo"; - var arg_maxResults = 42; - var arg_pageToken = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("people/")); - pathOffset += 7; - index = path.indexOf("/activities/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_userId")); - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("/activities/")); - pathOffset += 12; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_collection")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults)); - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildActivityList()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.list(arg_userId, arg_collection, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ActivityList response) { - checkActivityList(response); - }))); - }); - - }); - - - unittest.group("resource-ActivityVisibilityResourceApi", () { - unittest.test("method--get", () { - - var mock = new common_test.HttpServerMock(); - api.ActivityVisibilityResourceApi res = new api.OrkutApi(mock).activityVisibility; - var arg_activityId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("activities/")); - pathOffset += 11; - index = path.indexOf("/visibility", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_activityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/visibility")); - pathOffset += 11; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildVisibility()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.get(arg_activityId).then(unittest.expectAsync(((api.Visibility response) { - checkVisibility(response); - }))); - }); - - unittest.test("method--patch", () { - - var mock = new common_test.HttpServerMock(); - api.ActivityVisibilityResourceApi res = new api.OrkutApi(mock).activityVisibility; - var arg_request = buildVisibility(); - var arg_activityId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var obj = new api.Visibility.fromJson(json); - checkVisibility(obj); - - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("activities/")); - pathOffset += 11; - index = path.indexOf("/visibility", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_activityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/visibility")); - pathOffset += 11; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildVisibility()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.patch(arg_request, arg_activityId).then(unittest.expectAsync(((api.Visibility response) { - checkVisibility(response); - }))); - }); - - unittest.test("method--update", () { - - var mock = new common_test.HttpServerMock(); - api.ActivityVisibilityResourceApi res = new api.OrkutApi(mock).activityVisibility; - var arg_request = buildVisibility(); - var arg_activityId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var obj = new api.Visibility.fromJson(json); - checkVisibility(obj); - - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("activities/")); - pathOffset += 11; - index = path.indexOf("/visibility", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_activityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/visibility")); - pathOffset += 11; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildVisibility()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.update(arg_request, arg_activityId).then(unittest.expectAsync(((api.Visibility response) { - checkVisibility(response); - }))); - }); - - }); - - - unittest.group("resource-BadgesResourceApi", () { - unittest.test("method--get", () { - - var mock = new common_test.HttpServerMock(); - api.BadgesResourceApi res = new api.OrkutApi(mock).badges; - var arg_userId = "foo"; - var arg_badgeId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("people/")); - pathOffset += 7; - index = path.indexOf("/badges/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_userId")); - unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/badges/")); - pathOffset += 8; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_badgeId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildBadge()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.get(arg_userId, arg_badgeId).then(unittest.expectAsync(((api.Badge response) { - checkBadge(response); - }))); - }); - - unittest.test("method--list", () { - - var mock = new common_test.HttpServerMock(); - api.BadgesResourceApi res = new api.OrkutApi(mock).badges; - var arg_userId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("people/")); - pathOffset += 7; - index = path.indexOf("/badges", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_userId")); - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/badges")); - pathOffset += 7; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildBadgeList()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.list(arg_userId).then(unittest.expectAsync(((api.BadgeList response) { - checkBadgeList(response); - }))); - }); - - }); - - - unittest.group("resource-CommentsResourceApi", () { - unittest.test("method--delete", () { - - var mock = new common_test.HttpServerMock(); - api.CommentsResourceApi res = new api.OrkutApi(mock).comments; - var arg_commentId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("comments/")); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_commentId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = ""; - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.delete(arg_commentId).then(unittest.expectAsync((_) {})); - }); - - unittest.test("method--get", () { - - var mock = new common_test.HttpServerMock(); - api.CommentsResourceApi res = new api.OrkutApi(mock).comments; - var arg_commentId = "foo"; - var arg_hl = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("comments/")); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_commentId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildComment()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.get(arg_commentId, hl: arg_hl).then(unittest.expectAsync(((api.Comment response) { - checkComment(response); - }))); - }); - - unittest.test("method--insert", () { - - var mock = new common_test.HttpServerMock(); - api.CommentsResourceApi res = new api.OrkutApi(mock).comments; - var arg_request = buildComment(); - var arg_activityId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var obj = new api.Comment.fromJson(json); - checkComment(obj); - - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("activities/")); - pathOffset += 11; - index = path.indexOf("/comments", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_activityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/comments")); - pathOffset += 9; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildComment()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.insert(arg_request, arg_activityId).then(unittest.expectAsync(((api.Comment response) { - checkComment(response); - }))); - }); - - unittest.test("method--list", () { - - var mock = new common_test.HttpServerMock(); - api.CommentsResourceApi res = new api.OrkutApi(mock).comments; - var arg_activityId = "foo"; - var arg_hl = "foo"; - var arg_maxResults = 42; - var arg_orderBy = "foo"; - var arg_pageToken = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("activities/")); - pathOffset += 11; - index = path.indexOf("/comments", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_activityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/comments")); - pathOffset += 9; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults)); - unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy)); - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommentList()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.list(arg_activityId, hl: arg_hl, maxResults: arg_maxResults, orderBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.CommentList response) { - checkCommentList(response); - }))); - }); - - }); - - - unittest.group("resource-CommunitiesResourceApi", () { - unittest.test("method--get", () { - - var mock = new common_test.HttpServerMock(); - api.CommunitiesResourceApi res = new api.OrkutApi(mock).communities; - var arg_communityId = 42; - var arg_hl = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunity()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.get(arg_communityId, hl: arg_hl).then(unittest.expectAsync(((api.Community response) { - checkCommunity(response); - }))); - }); - - unittest.test("method--list", () { - - var mock = new common_test.HttpServerMock(); - api.CommunitiesResourceApi res = new api.OrkutApi(mock).communities; - var arg_userId = "foo"; - var arg_hl = "foo"; - var arg_maxResults = 42; - var arg_orderBy = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("people/")); - pathOffset += 7; - index = path.indexOf("/communities", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_userId")); - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("/communities")); - pathOffset += 12; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults)); - unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityList()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.list(arg_userId, hl: arg_hl, maxResults: arg_maxResults, orderBy: arg_orderBy).then(unittest.expectAsync(((api.CommunityList response) { - checkCommunityList(response); - }))); - }); - - }); - - - unittest.group("resource-CommunityFollowResourceApi", () { - unittest.test("method--delete", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityFollowResourceApi res = new api.OrkutApi(mock).communityFollow; - var arg_communityId = 42; - var arg_userId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/followers/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/followers/")); - pathOffset += 11; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_userId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = ""; - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.delete(arg_communityId, arg_userId).then(unittest.expectAsync((_) {})); - }); - - unittest.test("method--insert", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityFollowResourceApi res = new api.OrkutApi(mock).communityFollow; - var arg_communityId = 42; - var arg_userId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/followers/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/followers/")); - pathOffset += 11; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_userId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityMembers()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.insert(arg_communityId, arg_userId).then(unittest.expectAsync(((api.CommunityMembers response) { - checkCommunityMembers(response); - }))); - }); - - }); - - - unittest.group("resource-CommunityMembersResourceApi", () { - unittest.test("method--delete", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityMembersResourceApi res = new api.OrkutApi(mock).communityMembers; - var arg_communityId = 42; - var arg_userId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/members/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/members/")); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_userId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = ""; - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.delete(arg_communityId, arg_userId).then(unittest.expectAsync((_) {})); - }); - - unittest.test("method--get", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityMembersResourceApi res = new api.OrkutApi(mock).communityMembers; - var arg_communityId = 42; - var arg_userId = "foo"; - var arg_hl = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/members/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/members/")); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_userId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityMembers()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.get(arg_communityId, arg_userId, hl: arg_hl).then(unittest.expectAsync(((api.CommunityMembers response) { - checkCommunityMembers(response); - }))); - }); - - unittest.test("method--insert", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityMembersResourceApi res = new api.OrkutApi(mock).communityMembers; - var arg_communityId = 42; - var arg_userId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/members/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/members/")); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_userId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityMembers()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.insert(arg_communityId, arg_userId).then(unittest.expectAsync(((api.CommunityMembers response) { - checkCommunityMembers(response); - }))); - }); - - unittest.test("method--list", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityMembersResourceApi res = new api.OrkutApi(mock).communityMembers; - var arg_communityId = 42; - var arg_friendsOnly = true; - var arg_hl = "foo"; - var arg_maxResults = 42; - var arg_pageToken = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/members", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/members")); - pathOffset += 8; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["friendsOnly"].first, unittest.equals("$arg_friendsOnly")); - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults)); - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityMembersList()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.list(arg_communityId, friendsOnly: arg_friendsOnly, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.CommunityMembersList response) { - checkCommunityMembersList(response); - }))); - }); - - }); - - - unittest.group("resource-CommunityMessagesResourceApi", () { - unittest.test("method--delete", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityMessagesResourceApi res = new api.OrkutApi(mock).communityMessages; - var arg_communityId = 42; - var arg_topicId = "foo"; - var arg_messageId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/topics/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/topics/")); - pathOffset += 8; - index = path.indexOf("/messages/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_topicId")); - unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/messages/")); - pathOffset += 10; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_messageId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = ""; - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.delete(arg_communityId, arg_topicId, arg_messageId).then(unittest.expectAsync((_) {})); - }); - - unittest.test("method--insert", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityMessagesResourceApi res = new api.OrkutApi(mock).communityMessages; - var arg_request = buildCommunityMessage(); - var arg_communityId = 42; - var arg_topicId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var obj = new api.CommunityMessage.fromJson(json); - checkCommunityMessage(obj); - - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/topics/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/topics/")); - pathOffset += 8; - index = path.indexOf("/messages", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_topicId")); - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/messages")); - pathOffset += 9; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityMessage()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.insert(arg_request, arg_communityId, arg_topicId).then(unittest.expectAsync(((api.CommunityMessage response) { - checkCommunityMessage(response); - }))); - }); - - unittest.test("method--list", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityMessagesResourceApi res = new api.OrkutApi(mock).communityMessages; - var arg_communityId = 42; - var arg_topicId = "foo"; - var arg_hl = "foo"; - var arg_maxResults = 42; - var arg_pageToken = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/topics/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/topics/")); - pathOffset += 8; - index = path.indexOf("/messages", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_topicId")); - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/messages")); - pathOffset += 9; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults)); - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityMessageList()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.list(arg_communityId, arg_topicId, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.CommunityMessageList response) { - checkCommunityMessageList(response); - }))); - }); - - }); - - - unittest.group("resource-CommunityPollCommentsResourceApi", () { - unittest.test("method--insert", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityPollCommentsResourceApi res = new api.OrkutApi(mock).communityPollComments; - var arg_request = buildCommunityPollComment(); - var arg_communityId = 42; - var arg_pollId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var obj = new api.CommunityPollComment.fromJson(json); - checkCommunityPollComment(obj); - - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/polls/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/polls/")); - pathOffset += 7; - index = path.indexOf("/comments", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_pollId")); - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/comments")); - pathOffset += 9; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityPollComment()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.insert(arg_request, arg_communityId, arg_pollId).then(unittest.expectAsync(((api.CommunityPollComment response) { - checkCommunityPollComment(response); - }))); - }); - - unittest.test("method--list", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityPollCommentsResourceApi res = new api.OrkutApi(mock).communityPollComments; - var arg_communityId = 42; - var arg_pollId = "foo"; - var arg_hl = "foo"; - var arg_maxResults = 42; - var arg_pageToken = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/polls/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/polls/")); - pathOffset += 7; - index = path.indexOf("/comments", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_pollId")); - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/comments")); - pathOffset += 9; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults)); - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityPollCommentList()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.list(arg_communityId, arg_pollId, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.CommunityPollCommentList response) { - checkCommunityPollCommentList(response); - }))); - }); - - }); - - - unittest.group("resource-CommunityPollVotesResourceApi", () { - unittest.test("method--insert", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityPollVotesResourceApi res = new api.OrkutApi(mock).communityPollVotes; - var arg_request = buildCommunityPollVote(); - var arg_communityId = 42; - var arg_pollId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var obj = new api.CommunityPollVote.fromJson(json); - checkCommunityPollVote(obj); - - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/polls/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/polls/")); - pathOffset += 7; - index = path.indexOf("/votes", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_pollId")); - unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("/votes")); - pathOffset += 6; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityPollVote()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.insert(arg_request, arg_communityId, arg_pollId).then(unittest.expectAsync(((api.CommunityPollVote response) { - checkCommunityPollVote(response); - }))); - }); - - }); - - - unittest.group("resource-CommunityPollsResourceApi", () { - unittest.test("method--get", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityPollsResourceApi res = new api.OrkutApi(mock).communityPolls; - var arg_communityId = 42; - var arg_pollId = "foo"; - var arg_hl = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/polls/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/polls/")); - pathOffset += 7; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_pollId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityPoll()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.get(arg_communityId, arg_pollId, hl: arg_hl).then(unittest.expectAsync(((api.CommunityPoll response) { - checkCommunityPoll(response); - }))); - }); - - unittest.test("method--list", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityPollsResourceApi res = new api.OrkutApi(mock).communityPolls; - var arg_communityId = 42; - var arg_hl = "foo"; - var arg_maxResults = 42; - var arg_pageToken = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/polls", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("/polls")); - pathOffset += 6; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults)); - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityPollList()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.list(arg_communityId, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.CommunityPollList response) { - checkCommunityPollList(response); - }))); - }); - - }); - - - unittest.group("resource-CommunityRelatedResourceApi", () { - unittest.test("method--list", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityRelatedResourceApi res = new api.OrkutApi(mock).communityRelated; - var arg_communityId = 42; - var arg_hl = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/related", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/related")); - pathOffset += 8; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityList()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.list(arg_communityId, hl: arg_hl).then(unittest.expectAsync(((api.CommunityList response) { - checkCommunityList(response); - }))); - }); - - }); - - - unittest.group("resource-CommunityTopicsResourceApi", () { - unittest.test("method--delete", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityTopicsResourceApi res = new api.OrkutApi(mock).communityTopics; - var arg_communityId = 42; - var arg_topicId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/topics/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/topics/")); - pathOffset += 8; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_topicId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = ""; - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.delete(arg_communityId, arg_topicId).then(unittest.expectAsync((_) {})); - }); - - unittest.test("method--get", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityTopicsResourceApi res = new api.OrkutApi(mock).communityTopics; - var arg_communityId = 42; - var arg_topicId = "foo"; - var arg_hl = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/topics/", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/topics/")); - pathOffset += 8; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect(subPart, unittest.equals("$arg_topicId")); - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityTopic()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.get(arg_communityId, arg_topicId, hl: arg_hl).then(unittest.expectAsync(((api.CommunityTopic response) { - checkCommunityTopic(response); - }))); - }); - - unittest.test("method--insert", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityTopicsResourceApi res = new api.OrkutApi(mock).communityTopics; - var arg_request = buildCommunityTopic(); - var arg_communityId = 42; - var arg_isShout = true; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var obj = new api.CommunityTopic.fromJson(json); - checkCommunityTopic(obj); - - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/topics", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/topics")); - pathOffset += 7; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["isShout"].first, unittest.equals("$arg_isShout")); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityTopic()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.insert(arg_request, arg_communityId, isShout: arg_isShout).then(unittest.expectAsync(((api.CommunityTopic response) { - checkCommunityTopic(response); - }))); - }); - - unittest.test("method--list", () { - - var mock = new common_test.HttpServerMock(); - api.CommunityTopicsResourceApi res = new api.OrkutApi(mock).communityTopics; - var arg_communityId = 42; - var arg_hl = "foo"; - var arg_maxResults = 42; - var arg_pageToken = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("communities/")); - pathOffset += 12; - index = path.indexOf("/topics", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_communityId")); - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/topics")); - pathOffset += 7; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); - unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults)); - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken)); - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCommunityTopicList()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.list(arg_communityId, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.CommunityTopicList response) { - checkCommunityTopicList(response); - }))); - }); - - }); - - - unittest.group("resource-CountersResourceApi", () { - unittest.test("method--list", () { - - var mock = new common_test.HttpServerMock(); - api.CountersResourceApi res = new api.OrkutApi(mock).counters; - var arg_userId = "foo"; - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("people/")); - pathOffset += 7; - index = path.indexOf("/counters", pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect(subPart, unittest.equals("$arg_userId")); - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/counters")); - pathOffset += 9; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildCounters()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.list(arg_userId).then(unittest.expectAsync(((api.Counters response) { - checkCounters(response); - }))); - }); - - }); - - - unittest.group("resource-ScrapsResourceApi", () { - unittest.test("method--insert", () { - - var mock = new common_test.HttpServerMock(); - api.ScrapsResourceApi res = new api.OrkutApi(mock).scraps; - var arg_request = buildActivity(); - mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var obj = new api.Activity.fromJson(json); - checkActivity(obj); - - var path = (req.url).path; - var pathOffset = 0; - var index; - var subPart; - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); - pathOffset += 1; - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("orkut/v2/")); - pathOffset += 9; - unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("activities/scraps")); - pathOffset += 17; - - var query = (req.url).query; - var queryOffset = 0; - var queryMap = {}; - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); - parseBool(n) { - if (n == "true") return true; - if (n == "false") return false; - if (n == null) return null; - throw new core.ArgumentError("Invalid boolean: $n"); - } - if (query.length > 0) { - for (var part in query.split("&")) { - var keyvalue = part.split("="); - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); - } - } - - - var h = { - "content-type" : "application/json; charset=utf-8", - }; - var resp = convert.JSON.encode(buildActivity()); - return new async.Future.value(common_test.stringResponse(200, h, resp)); - }), true); - res.insert(arg_request).then(unittest.expectAsync(((api.Activity response) { - checkActivity(response); - }))); - }); - - }); - - -} -
diff --git a/generated/googleapis/test/pagespeedonline/v1_test.dart b/generated/googleapis/test/pagespeedonline/v1_test.dart index 6ea94c9..51a5855 100644 --- a/generated/googleapis/test/pagespeedonline/v1_test.dart +++ b/generated/googleapis/test/pagespeedonline/v1_test.dart
@@ -37,14 +37,14 @@ buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs--; } -buildUnnamed295() { +buildUnnamed269() { var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs>(); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs()); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs()); return o; } -checkUnnamed295(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs> o) { +checkUnnamed269(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs> o) { unittest.expect(o, unittest.hasLength(2)); checkResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs(o[0]); checkResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs(o[1]); @@ -55,7 +55,7 @@ var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksHeader(); buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader++; if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader < 3) { - o.args = buildUnnamed295(); + o.args = buildUnnamed269(); o.format = "foo"; } buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--; @@ -65,7 +65,7 @@ checkResultFormattedResultsRuleResultsValueUrlBlocksHeader(api.ResultFormattedResultsRuleResultsValueUrlBlocksHeader o) { buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader++; if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader < 3) { - checkUnnamed295(o.args); + checkUnnamed269(o.args); unittest.expect(o.format, unittest.equals('foo')); } buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--; @@ -92,14 +92,14 @@ buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs--; } -buildUnnamed296() { +buildUnnamed270() { var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs>(); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs()); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs()); return o; } -checkUnnamed296(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs> o) { +checkUnnamed270(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs> o) { unittest.expect(o, unittest.hasLength(2)); checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs(o[0]); checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs(o[1]); @@ -110,7 +110,7 @@ var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(); buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails++; if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails < 3) { - o.args = buildUnnamed296(); + o.args = buildUnnamed270(); o.format = "foo"; } buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--; @@ -120,20 +120,20 @@ checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails o) { buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails++; if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails < 3) { - checkUnnamed296(o.args); + checkUnnamed270(o.args); unittest.expect(o.format, unittest.equals('foo')); } buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--; } -buildUnnamed297() { +buildUnnamed271() { var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails>(); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails()); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails()); return o; } -checkUnnamed297(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails> o) { +checkUnnamed271(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails> o) { unittest.expect(o, unittest.hasLength(2)); checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(o[0]); checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(o[1]); @@ -160,14 +160,14 @@ buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs--; } -buildUnnamed298() { +buildUnnamed272() { var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs>(); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs()); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs()); return o; } -checkUnnamed298(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs> o) { +checkUnnamed272(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs> o) { unittest.expect(o, unittest.hasLength(2)); checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs(o[0]); checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs(o[1]); @@ -178,7 +178,7 @@ var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(); buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult++; if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult < 3) { - o.args = buildUnnamed298(); + o.args = buildUnnamed272(); o.format = "foo"; } buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult--; @@ -188,7 +188,7 @@ checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult o) { buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult++; if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult < 3) { - checkUnnamed298(o.args); + checkUnnamed272(o.args); unittest.expect(o.format, unittest.equals('foo')); } buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult--; @@ -199,7 +199,7 @@ var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls(); buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++; if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) { - o.details = buildUnnamed297(); + o.details = buildUnnamed271(); o.result = buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(); } buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--; @@ -209,20 +209,20 @@ checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls o) { buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++; if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) { - checkUnnamed297(o.details); + checkUnnamed271(o.details); checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(o.result); } buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--; } -buildUnnamed299() { +buildUnnamed273() { var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls>(); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls()); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls()); return o; } -checkUnnamed299(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) { +checkUnnamed273(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) { unittest.expect(o, unittest.hasLength(2)); checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[0]); checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[1]); @@ -234,7 +234,7 @@ buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++; if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) { o.header = buildResultFormattedResultsRuleResultsValueUrlBlocksHeader(); - o.urls = buildUnnamed299(); + o.urls = buildUnnamed273(); } buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--; return o; @@ -244,19 +244,19 @@ buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++; if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) { checkResultFormattedResultsRuleResultsValueUrlBlocksHeader(o.header); - checkUnnamed299(o.urls); + checkUnnamed273(o.urls); } buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--; } -buildUnnamed300() { +buildUnnamed274() { var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks>(); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks()); o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks()); return o; } -checkUnnamed300(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) { +checkUnnamed274(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) { unittest.expect(o, unittest.hasLength(2)); checkResultFormattedResultsRuleResultsValueUrlBlocks(o[0]); checkResultFormattedResultsRuleResultsValueUrlBlocks(o[1]); @@ -269,7 +269,7 @@ if (buildCounterResultFormattedResultsRuleResultsValue < 3) { o.localizedRuleName = "foo"; o.ruleImpact = 42.0; - o.urlBlocks = buildUnnamed300(); + o.urlBlocks = buildUnnamed274(); } buildCounterResultFormattedResultsRuleResultsValue--; return o; @@ -280,19 +280,19 @@ if (buildCounterResultFormattedResultsRuleResultsValue < 3) { unittest.expect(o.localizedRuleName, unittest.equals('foo')); unittest.expect(o.ruleImpact, unittest.equals(42.0)); - checkUnnamed300(o.urlBlocks); + checkUnnamed274(o.urlBlocks); } buildCounterResultFormattedResultsRuleResultsValue--; } -buildUnnamed301() { +buildUnnamed275() { var o = new core.Map<core.String, api.ResultFormattedResultsRuleResultsValue>(); o["x"] = buildResultFormattedResultsRuleResultsValue(); o["y"] = buildResultFormattedResultsRuleResultsValue(); return o; } -checkUnnamed301(core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) { +checkUnnamed275(core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) { unittest.expect(o, unittest.hasLength(2)); checkResultFormattedResultsRuleResultsValue(o["x"]); checkResultFormattedResultsRuleResultsValue(o["y"]); @@ -304,7 +304,7 @@ buildCounterResultFormattedResults++; if (buildCounterResultFormattedResults < 3) { o.locale = "foo"; - o.ruleResults = buildUnnamed301(); + o.ruleResults = buildUnnamed275(); } buildCounterResultFormattedResults--; return o; @@ -314,19 +314,19 @@ buildCounterResultFormattedResults++; if (buildCounterResultFormattedResults < 3) { unittest.expect(o.locale, unittest.equals('foo')); - checkUnnamed301(o.ruleResults); + checkUnnamed275(o.ruleResults); } buildCounterResultFormattedResults--; } -buildUnnamed302() { +buildUnnamed276() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed302(core.List<core.String> o) { +checkUnnamed276(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -428,7 +428,7 @@ if (buildCounterResult < 3) { o.formattedResults = buildResultFormattedResults(); o.id = "foo"; - o.invalidRules = buildUnnamed302(); + o.invalidRules = buildUnnamed276(); o.kind = "foo"; o.pageStats = buildResultPageStats(); o.responseCode = 42; @@ -446,7 +446,7 @@ if (buildCounterResult < 3) { checkResultFormattedResults(o.formattedResults); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed302(o.invalidRules); + checkUnnamed276(o.invalidRules); unittest.expect(o.kind, unittest.equals('foo')); checkResultPageStats(o.pageStats); unittest.expect(o.responseCode, unittest.equals(42)); @@ -458,14 +458,14 @@ buildCounterResult--; } -buildUnnamed303() { +buildUnnamed277() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed303(core.List<core.String> o) { +checkUnnamed277(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -607,7 +607,7 @@ var arg_url = "foo"; var arg_filterThirdPartyResources = true; var arg_locale = "foo"; - var arg_rule = buildUnnamed303(); + var arg_rule = buildUnnamed277(); var arg_screenshot = true; var arg_strategy = "foo"; mock.register(unittest.expectAsync((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/plus/v1_test.dart b/generated/googleapis/test/plus/v1_test.dart index 2e0ea97..48a5212 100644 --- a/generated/googleapis/test/plus/v1_test.dart +++ b/generated/googleapis/test/plus/v1_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed257() { +buildUnnamed231() { var o = new core.List<api.PlusAclentryResource>(); o.add(buildPlusAclentryResource()); o.add(buildPlusAclentryResource()); return o; } -checkUnnamed257(core.List<api.PlusAclentryResource> o) { +checkUnnamed231(core.List<api.PlusAclentryResource> o) { unittest.expect(o, unittest.hasLength(2)); checkPlusAclentryResource(o[0]); checkPlusAclentryResource(o[1]); @@ -35,7 +35,7 @@ buildCounterAcl++; if (buildCounterAcl < 3) { o.description = "foo"; - o.items = buildUnnamed257(); + o.items = buildUnnamed231(); o.kind = "foo"; } buildCounterAcl--; @@ -46,7 +46,7 @@ buildCounterAcl++; if (buildCounterAcl < 3) { unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed257(o.items); + checkUnnamed231(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAcl--; @@ -282,14 +282,14 @@ buildCounterActivityObjectAttachmentsThumbnails--; } -buildUnnamed258() { +buildUnnamed232() { var o = new core.List<api.ActivityObjectAttachmentsThumbnails>(); o.add(buildActivityObjectAttachmentsThumbnails()); o.add(buildActivityObjectAttachmentsThumbnails()); return o; } -checkUnnamed258(core.List<api.ActivityObjectAttachmentsThumbnails> o) { +checkUnnamed232(core.List<api.ActivityObjectAttachmentsThumbnails> o) { unittest.expect(o, unittest.hasLength(2)); checkActivityObjectAttachmentsThumbnails(o[0]); checkActivityObjectAttachmentsThumbnails(o[1]); @@ -307,7 +307,7 @@ o.id = "foo"; o.image = buildActivityObjectAttachmentsImage(); o.objectType = "foo"; - o.thumbnails = buildUnnamed258(); + o.thumbnails = buildUnnamed232(); o.url = "foo"; } buildCounterActivityObjectAttachments--; @@ -324,20 +324,20 @@ unittest.expect(o.id, unittest.equals('foo')); checkActivityObjectAttachmentsImage(o.image); unittest.expect(o.objectType, unittest.equals('foo')); - checkUnnamed258(o.thumbnails); + checkUnnamed232(o.thumbnails); unittest.expect(o.url, unittest.equals('foo')); } buildCounterActivityObjectAttachments--; } -buildUnnamed259() { +buildUnnamed233() { var o = new core.List<api.ActivityObjectAttachments>(); o.add(buildActivityObjectAttachments()); o.add(buildActivityObjectAttachments()); return o; } -checkUnnamed259(core.List<api.ActivityObjectAttachments> o) { +checkUnnamed233(core.List<api.ActivityObjectAttachments> o) { unittest.expect(o, unittest.hasLength(2)); checkActivityObjectAttachments(o[0]); checkActivityObjectAttachments(o[1]); @@ -412,7 +412,7 @@ buildCounterActivityObject++; if (buildCounterActivityObject < 3) { o.actor = buildActivityObjectActor(); - o.attachments = buildUnnamed259(); + o.attachments = buildUnnamed233(); o.content = "foo"; o.id = "foo"; o.objectType = "foo"; @@ -430,7 +430,7 @@ buildCounterActivityObject++; if (buildCounterActivityObject < 3) { checkActivityObjectActor(o.actor); - checkUnnamed259(o.attachments); + checkUnnamed233(o.attachments); unittest.expect(o.content, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.objectType, unittest.equals('foo')); @@ -519,14 +519,14 @@ buildCounterActivity--; } -buildUnnamed260() { +buildUnnamed234() { var o = new core.List<api.Activity>(); o.add(buildActivity()); o.add(buildActivity()); return o; } -checkUnnamed260(core.List<api.Activity> o) { +checkUnnamed234(core.List<api.Activity> o) { unittest.expect(o, unittest.hasLength(2)); checkActivity(o[0]); checkActivity(o[1]); @@ -539,7 +539,7 @@ if (buildCounterActivityFeed < 3) { o.etag = "foo"; o.id = "foo"; - o.items = buildUnnamed260(); + o.items = buildUnnamed234(); o.kind = "foo"; o.nextLink = "foo"; o.nextPageToken = "foo"; @@ -556,7 +556,7 @@ if (buildCounterActivityFeed < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed260(o.items); + checkUnnamed234(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextLink, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -632,14 +632,14 @@ buildCounterCommentInReplyTo--; } -buildUnnamed261() { +buildUnnamed235() { var o = new core.List<api.CommentInReplyTo>(); o.add(buildCommentInReplyTo()); o.add(buildCommentInReplyTo()); return o; } -checkUnnamed261(core.List<api.CommentInReplyTo> o) { +checkUnnamed235(core.List<api.CommentInReplyTo> o) { unittest.expect(o, unittest.hasLength(2)); checkCommentInReplyTo(o[0]); checkCommentInReplyTo(o[1]); @@ -695,7 +695,7 @@ o.actor = buildCommentActor(); o.etag = "foo"; o.id = "foo"; - o.inReplyTo = buildUnnamed261(); + o.inReplyTo = buildUnnamed235(); o.kind = "foo"; o.object = buildCommentObject(); o.plusoners = buildCommentPlusoners(); @@ -714,7 +714,7 @@ checkCommentActor(o.actor); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed261(o.inReplyTo); + checkUnnamed235(o.inReplyTo); unittest.expect(o.kind, unittest.equals('foo')); checkCommentObject(o.object); checkCommentPlusoners(o.plusoners); @@ -726,14 +726,14 @@ buildCounterComment--; } -buildUnnamed262() { +buildUnnamed236() { var o = new core.List<api.Comment>(); o.add(buildComment()); o.add(buildComment()); return o; } -checkUnnamed262(core.List<api.Comment> o) { +checkUnnamed236(core.List<api.Comment> o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -746,7 +746,7 @@ if (buildCounterCommentFeed < 3) { o.etag = "foo"; o.id = "foo"; - o.items = buildUnnamed262(); + o.items = buildUnnamed236(); o.kind = "foo"; o.nextLink = "foo"; o.nextPageToken = "foo"; @@ -762,7 +762,7 @@ if (buildCounterCommentFeed < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed262(o.items); + checkUnnamed236(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextLink, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -772,79 +772,79 @@ buildCounterCommentFeed--; } -buildUnnamed263() { +buildUnnamed237() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed263(core.List<core.String> o) { +checkUnnamed237(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed264() { +buildUnnamed238() { var o = new core.List<api.ItemScope>(); o.add(buildItemScope()); o.add(buildItemScope()); return o; } -checkUnnamed264(core.List<api.ItemScope> o) { +checkUnnamed238(core.List<api.ItemScope> o) { unittest.expect(o, unittest.hasLength(2)); checkItemScope(o[0]); checkItemScope(o[1]); } -buildUnnamed265() { +buildUnnamed239() { var o = new core.List<api.ItemScope>(); o.add(buildItemScope()); o.add(buildItemScope()); return o; } -checkUnnamed265(core.List<api.ItemScope> o) { +checkUnnamed239(core.List<api.ItemScope> o) { unittest.expect(o, unittest.hasLength(2)); checkItemScope(o[0]); checkItemScope(o[1]); } -buildUnnamed266() { +buildUnnamed240() { var o = new core.List<api.ItemScope>(); o.add(buildItemScope()); o.add(buildItemScope()); return o; } -checkUnnamed266(core.List<api.ItemScope> o) { +checkUnnamed240(core.List<api.ItemScope> o) { unittest.expect(o, unittest.hasLength(2)); checkItemScope(o[0]); checkItemScope(o[1]); } -buildUnnamed267() { +buildUnnamed241() { var o = new core.List<api.ItemScope>(); o.add(buildItemScope()); o.add(buildItemScope()); return o; } -checkUnnamed267(core.List<api.ItemScope> o) { +checkUnnamed241(core.List<api.ItemScope> o) { unittest.expect(o, unittest.hasLength(2)); checkItemScope(o[0]); checkItemScope(o[1]); } -buildUnnamed268() { +buildUnnamed242() { var o = new core.List<api.ItemScope>(); o.add(buildItemScope()); o.add(buildItemScope()); return o; } -checkUnnamed268(core.List<api.ItemScope> o) { +checkUnnamed242(core.List<api.ItemScope> o) { unittest.expect(o, unittest.hasLength(2)); checkItemScope(o[0]); checkItemScope(o[1]); @@ -856,23 +856,23 @@ buildCounterItemScope++; if (buildCounterItemScope < 3) { o.about = buildItemScope(); - o.additionalName = buildUnnamed263(); + o.additionalName = buildUnnamed237(); o.address = buildItemScope(); o.addressCountry = "foo"; o.addressLocality = "foo"; o.addressRegion = "foo"; - o.associatedMedia = buildUnnamed264(); + o.associatedMedia = buildUnnamed238(); o.attendeeCount = 42; - o.attendees = buildUnnamed265(); + o.attendees = buildUnnamed239(); o.audio = buildItemScope(); - o.author = buildUnnamed266(); + o.author = buildUnnamed240(); o.bestRating = "foo"; o.birthDate = "foo"; o.byArtist = buildItemScope(); o.caption = "foo"; o.contentSize = "foo"; o.contentUrl = "foo"; - o.contributor = buildUnnamed267(); + o.contributor = buildUnnamed241(); o.dateCreated = "foo"; o.dateModified = "foo"; o.datePublished = "foo"; @@ -894,7 +894,7 @@ o.longitude = 42.0; o.name = "foo"; o.partOfTVSeries = buildItemScope(); - o.performers = buildUnnamed268(); + o.performers = buildUnnamed242(); o.playerType = "foo"; o.postOfficeBoxNumber = "foo"; o.postalCode = "foo"; @@ -919,23 +919,23 @@ buildCounterItemScope++; if (buildCounterItemScope < 3) { checkItemScope(o.about); - checkUnnamed263(o.additionalName); + checkUnnamed237(o.additionalName); checkItemScope(o.address); unittest.expect(o.addressCountry, unittest.equals('foo')); unittest.expect(o.addressLocality, unittest.equals('foo')); unittest.expect(o.addressRegion, unittest.equals('foo')); - checkUnnamed264(o.associatedMedia); + checkUnnamed238(o.associatedMedia); unittest.expect(o.attendeeCount, unittest.equals(42)); - checkUnnamed265(o.attendees); + checkUnnamed239(o.attendees); checkItemScope(o.audio); - checkUnnamed266(o.author); + checkUnnamed240(o.author); unittest.expect(o.bestRating, unittest.equals('foo')); unittest.expect(o.birthDate, unittest.equals('foo')); checkItemScope(o.byArtist); unittest.expect(o.caption, unittest.equals('foo')); unittest.expect(o.contentSize, unittest.equals('foo')); unittest.expect(o.contentUrl, unittest.equals('foo')); - checkUnnamed267(o.contributor); + checkUnnamed241(o.contributor); unittest.expect(o.dateCreated, unittest.equals('foo')); unittest.expect(o.dateModified, unittest.equals('foo')); unittest.expect(o.datePublished, unittest.equals('foo')); @@ -957,7 +957,7 @@ unittest.expect(o.longitude, unittest.equals(42.0)); unittest.expect(o.name, unittest.equals('foo')); checkItemScope(o.partOfTVSeries); - checkUnnamed268(o.performers); + checkUnnamed242(o.performers); unittest.expect(o.playerType, unittest.equals('foo')); unittest.expect(o.postOfficeBoxNumber, unittest.equals('foo')); unittest.expect(o.postalCode, unittest.equals('foo')); @@ -1008,14 +1008,14 @@ buildCounterMoment--; } -buildUnnamed269() { +buildUnnamed243() { var o = new core.List<api.Moment>(); o.add(buildMoment()); o.add(buildMoment()); return o; } -checkUnnamed269(core.List<api.Moment> o) { +checkUnnamed243(core.List<api.Moment> o) { unittest.expect(o, unittest.hasLength(2)); checkMoment(o[0]); checkMoment(o[1]); @@ -1027,7 +1027,7 @@ buildCounterMomentsFeed++; if (buildCounterMomentsFeed < 3) { o.etag = "foo"; - o.items = buildUnnamed269(); + o.items = buildUnnamed243(); o.kind = "foo"; o.nextLink = "foo"; o.nextPageToken = "foo"; @@ -1043,7 +1043,7 @@ buildCounterMomentsFeed++; if (buildCounterMomentsFeed < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed269(o.items); + checkUnnamed243(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextLink, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -1054,14 +1054,14 @@ buildCounterMomentsFeed--; } -buildUnnamed270() { +buildUnnamed244() { var o = new core.List<api.Person>(); o.add(buildPerson()); o.add(buildPerson()); return o; } -checkUnnamed270(core.List<api.Person> o) { +checkUnnamed244(core.List<api.Person> o) { unittest.expect(o, unittest.hasLength(2)); checkPerson(o[0]); checkPerson(o[1]); @@ -1073,7 +1073,7 @@ buildCounterPeopleFeed++; if (buildCounterPeopleFeed < 3) { o.etag = "foo"; - o.items = buildUnnamed270(); + o.items = buildUnnamed244(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -1088,7 +1088,7 @@ buildCounterPeopleFeed++; if (buildCounterPeopleFeed < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed270(o.items); + checkUnnamed244(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -1207,14 +1207,14 @@ buildCounterPersonEmails--; } -buildUnnamed271() { +buildUnnamed245() { var o = new core.List<api.PersonEmails>(); o.add(buildPersonEmails()); o.add(buildPersonEmails()); return o; } -checkUnnamed271(core.List<api.PersonEmails> o) { +checkUnnamed245(core.List<api.PersonEmails> o) { unittest.expect(o, unittest.hasLength(2)); checkPersonEmails(o[0]); checkPersonEmails(o[1]); @@ -1305,14 +1305,14 @@ buildCounterPersonOrganizations--; } -buildUnnamed272() { +buildUnnamed246() { var o = new core.List<api.PersonOrganizations>(); o.add(buildPersonOrganizations()); o.add(buildPersonOrganizations()); return o; } -checkUnnamed272(core.List<api.PersonOrganizations> o) { +checkUnnamed246(core.List<api.PersonOrganizations> o) { unittest.expect(o, unittest.hasLength(2)); checkPersonOrganizations(o[0]); checkPersonOrganizations(o[1]); @@ -1339,14 +1339,14 @@ buildCounterPersonPlacesLived--; } -buildUnnamed273() { +buildUnnamed247() { var o = new core.List<api.PersonPlacesLived>(); o.add(buildPersonPlacesLived()); o.add(buildPersonPlacesLived()); return o; } -checkUnnamed273(core.List<api.PersonPlacesLived> o) { +checkUnnamed247(core.List<api.PersonPlacesLived> o) { unittest.expect(o, unittest.hasLength(2)); checkPersonPlacesLived(o[0]); checkPersonPlacesLived(o[1]); @@ -1375,14 +1375,14 @@ buildCounterPersonUrls--; } -buildUnnamed274() { +buildUnnamed248() { var o = new core.List<api.PersonUrls>(); o.add(buildPersonUrls()); o.add(buildPersonUrls()); return o; } -checkUnnamed274(core.List<api.PersonUrls> o) { +checkUnnamed248(core.List<api.PersonUrls> o) { unittest.expect(o, unittest.hasLength(2)); checkPersonUrls(o[0]); checkPersonUrls(o[1]); @@ -1402,7 +1402,7 @@ o.currentLocation = "foo"; o.displayName = "foo"; o.domain = "foo"; - o.emails = buildUnnamed271(); + o.emails = buildUnnamed245(); o.etag = "foo"; o.gender = "foo"; o.id = "foo"; @@ -1414,14 +1414,14 @@ o.nickname = "foo"; o.objectType = "foo"; o.occupation = "foo"; - o.organizations = buildUnnamed272(); - o.placesLived = buildUnnamed273(); + o.organizations = buildUnnamed246(); + o.placesLived = buildUnnamed247(); o.plusOneCount = 42; o.relationshipStatus = "foo"; o.skills = "foo"; o.tagline = "foo"; o.url = "foo"; - o.urls = buildUnnamed274(); + o.urls = buildUnnamed248(); o.verified = true; } buildCounterPerson--; @@ -1440,7 +1440,7 @@ unittest.expect(o.currentLocation, unittest.equals('foo')); unittest.expect(o.displayName, unittest.equals('foo')); unittest.expect(o.domain, unittest.equals('foo')); - checkUnnamed271(o.emails); + checkUnnamed245(o.emails); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.gender, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); @@ -1452,14 +1452,14 @@ unittest.expect(o.nickname, unittest.equals('foo')); unittest.expect(o.objectType, unittest.equals('foo')); unittest.expect(o.occupation, unittest.equals('foo')); - checkUnnamed272(o.organizations); - checkUnnamed273(o.placesLived); + checkUnnamed246(o.organizations); + checkUnnamed247(o.placesLived); unittest.expect(o.plusOneCount, unittest.equals(42)); unittest.expect(o.relationshipStatus, unittest.equals('foo')); unittest.expect(o.skills, unittest.equals('foo')); unittest.expect(o.tagline, unittest.equals('foo')); unittest.expect(o.url, unittest.equals('foo')); - checkUnnamed274(o.urls); + checkUnnamed248(o.urls); unittest.expect(o.verified, unittest.isTrue); } buildCounterPerson--;
diff --git a/generated/googleapis/test/plusdomains/v1_test.dart b/generated/googleapis/test/plusdomains/v1_test.dart index f25de9d..58069c1 100644 --- a/generated/googleapis/test/plusdomains/v1_test.dart +++ b/generated/googleapis/test/plusdomains/v1_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed1064() { +buildUnnamed1042() { var o = new core.List<api.PlusDomainsAclentryResource>(); o.add(buildPlusDomainsAclentryResource()); o.add(buildPlusDomainsAclentryResource()); return o; } -checkUnnamed1064(core.List<api.PlusDomainsAclentryResource> o) { +checkUnnamed1042(core.List<api.PlusDomainsAclentryResource> o) { unittest.expect(o, unittest.hasLength(2)); checkPlusDomainsAclentryResource(o[0]); checkPlusDomainsAclentryResource(o[1]); @@ -36,7 +36,7 @@ if (buildCounterAcl < 3) { o.description = "foo"; o.domainRestricted = true; - o.items = buildUnnamed1064(); + o.items = buildUnnamed1042(); o.kind = "foo"; } buildCounterAcl--; @@ -48,7 +48,7 @@ if (buildCounterAcl < 3) { unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.domainRestricted, unittest.isTrue); - checkUnnamed1064(o.items); + checkUnnamed1042(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterAcl--; @@ -255,14 +255,14 @@ buildCounterActivityObjectAttachmentsPreviewThumbnails--; } -buildUnnamed1065() { +buildUnnamed1043() { var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>(); o.add(buildActivityObjectAttachmentsPreviewThumbnails()); o.add(buildActivityObjectAttachmentsPreviewThumbnails()); return o; } -checkUnnamed1065(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) { +checkUnnamed1043(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) { unittest.expect(o, unittest.hasLength(2)); checkActivityObjectAttachmentsPreviewThumbnails(o[0]); checkActivityObjectAttachmentsPreviewThumbnails(o[1]); @@ -316,14 +316,14 @@ buildCounterActivityObjectAttachmentsThumbnails--; } -buildUnnamed1066() { +buildUnnamed1044() { var o = new core.List<api.ActivityObjectAttachmentsThumbnails>(); o.add(buildActivityObjectAttachmentsThumbnails()); o.add(buildActivityObjectAttachmentsThumbnails()); return o; } -checkUnnamed1066(core.List<api.ActivityObjectAttachmentsThumbnails> o) { +checkUnnamed1044(core.List<api.ActivityObjectAttachmentsThumbnails> o) { unittest.expect(o, unittest.hasLength(2)); checkActivityObjectAttachmentsThumbnails(o[0]); checkActivityObjectAttachmentsThumbnails(o[1]); @@ -341,8 +341,8 @@ o.id = "foo"; o.image = buildActivityObjectAttachmentsImage(); o.objectType = "foo"; - o.previewThumbnails = buildUnnamed1065(); - o.thumbnails = buildUnnamed1066(); + o.previewThumbnails = buildUnnamed1043(); + o.thumbnails = buildUnnamed1044(); o.url = "foo"; } buildCounterActivityObjectAttachments--; @@ -359,21 +359,21 @@ unittest.expect(o.id, unittest.equals('foo')); checkActivityObjectAttachmentsImage(o.image); unittest.expect(o.objectType, unittest.equals('foo')); - checkUnnamed1065(o.previewThumbnails); - checkUnnamed1066(o.thumbnails); + checkUnnamed1043(o.previewThumbnails); + checkUnnamed1044(o.thumbnails); unittest.expect(o.url, unittest.equals('foo')); } buildCounterActivityObjectAttachments--; } -buildUnnamed1067() { +buildUnnamed1045() { var o = new core.List<api.ActivityObjectAttachments>(); o.add(buildActivityObjectAttachments()); o.add(buildActivityObjectAttachments()); return o; } -checkUnnamed1067(core.List<api.ActivityObjectAttachments> o) { +checkUnnamed1045(core.List<api.ActivityObjectAttachments> o) { unittest.expect(o, unittest.hasLength(2)); checkActivityObjectAttachments(o[0]); checkActivityObjectAttachments(o[1]); @@ -475,7 +475,7 @@ buildCounterActivityObject++; if (buildCounterActivityObject < 3) { o.actor = buildActivityObjectActor(); - o.attachments = buildUnnamed1067(); + o.attachments = buildUnnamed1045(); o.content = "foo"; o.id = "foo"; o.objectType = "foo"; @@ -494,7 +494,7 @@ buildCounterActivityObject++; if (buildCounterActivityObject < 3) { checkActivityObjectActor(o.actor); - checkUnnamed1067(o.attachments); + checkUnnamed1045(o.attachments); unittest.expect(o.content, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.objectType, unittest.equals('foo')); @@ -584,14 +584,14 @@ buildCounterActivity--; } -buildUnnamed1068() { +buildUnnamed1046() { var o = new core.List<api.Activity>(); o.add(buildActivity()); o.add(buildActivity()); return o; } -checkUnnamed1068(core.List<api.Activity> o) { +checkUnnamed1046(core.List<api.Activity> o) { unittest.expect(o, unittest.hasLength(2)); checkActivity(o[0]); checkActivity(o[1]); @@ -604,7 +604,7 @@ if (buildCounterActivityFeed < 3) { o.etag = "foo"; o.id = "foo"; - o.items = buildUnnamed1068(); + o.items = buildUnnamed1046(); o.kind = "foo"; o.nextLink = "foo"; o.nextPageToken = "foo"; @@ -621,7 +621,7 @@ if (buildCounterActivityFeed < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed1068(o.items); + checkUnnamed1046(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextLink, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -659,14 +659,14 @@ buildCounterAudience--; } -buildUnnamed1069() { +buildUnnamed1047() { var o = new core.List<api.Audience>(); o.add(buildAudience()); o.add(buildAudience()); return o; } -checkUnnamed1069(core.List<api.Audience> o) { +checkUnnamed1047(core.List<api.Audience> o) { unittest.expect(o, unittest.hasLength(2)); checkAudience(o[0]); checkAudience(o[1]); @@ -678,7 +678,7 @@ buildCounterAudiencesFeed++; if (buildCounterAudiencesFeed < 3) { o.etag = "foo"; - o.items = buildUnnamed1069(); + o.items = buildUnnamed1047(); o.kind = "foo"; o.nextPageToken = "foo"; o.totalItems = 42; @@ -691,7 +691,7 @@ buildCounterAudiencesFeed++; if (buildCounterAudiencesFeed < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1069(o.items); + checkUnnamed1047(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.totalItems, unittest.equals(42)); @@ -749,14 +749,14 @@ buildCounterCircle--; } -buildUnnamed1070() { +buildUnnamed1048() { var o = new core.List<api.Circle>(); o.add(buildCircle()); o.add(buildCircle()); return o; } -checkUnnamed1070(core.List<api.Circle> o) { +checkUnnamed1048(core.List<api.Circle> o) { unittest.expect(o, unittest.hasLength(2)); checkCircle(o[0]); checkCircle(o[1]); @@ -768,7 +768,7 @@ buildCounterCircleFeed++; if (buildCounterCircleFeed < 3) { o.etag = "foo"; - o.items = buildUnnamed1070(); + o.items = buildUnnamed1048(); o.kind = "foo"; o.nextLink = "foo"; o.nextPageToken = "foo"; @@ -784,7 +784,7 @@ buildCounterCircleFeed++; if (buildCounterCircleFeed < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1070(o.items); + checkUnnamed1048(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextLink, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -860,14 +860,14 @@ buildCounterCommentInReplyTo--; } -buildUnnamed1071() { +buildUnnamed1049() { var o = new core.List<api.CommentInReplyTo>(); o.add(buildCommentInReplyTo()); o.add(buildCommentInReplyTo()); return o; } -checkUnnamed1071(core.List<api.CommentInReplyTo> o) { +checkUnnamed1049(core.List<api.CommentInReplyTo> o) { unittest.expect(o, unittest.hasLength(2)); checkCommentInReplyTo(o[0]); checkCommentInReplyTo(o[1]); @@ -923,7 +923,7 @@ o.actor = buildCommentActor(); o.etag = "foo"; o.id = "foo"; - o.inReplyTo = buildUnnamed1071(); + o.inReplyTo = buildUnnamed1049(); o.kind = "foo"; o.object = buildCommentObject(); o.plusoners = buildCommentPlusoners(); @@ -942,7 +942,7 @@ checkCommentActor(o.actor); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed1071(o.inReplyTo); + checkUnnamed1049(o.inReplyTo); unittest.expect(o.kind, unittest.equals('foo')); checkCommentObject(o.object); checkCommentPlusoners(o.plusoners); @@ -954,14 +954,14 @@ buildCounterComment--; } -buildUnnamed1072() { +buildUnnamed1050() { var o = new core.List<api.Comment>(); o.add(buildComment()); o.add(buildComment()); return o; } -checkUnnamed1072(core.List<api.Comment> o) { +checkUnnamed1050(core.List<api.Comment> o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -974,7 +974,7 @@ if (buildCounterCommentFeed < 3) { o.etag = "foo"; o.id = "foo"; - o.items = buildUnnamed1072(); + o.items = buildUnnamed1050(); o.kind = "foo"; o.nextLink = "foo"; o.nextPageToken = "foo"; @@ -990,7 +990,7 @@ if (buildCounterCommentFeed < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed1072(o.items); + checkUnnamed1050(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextLink, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); @@ -1063,14 +1063,14 @@ buildCounterMediaExif--; } -buildUnnamed1073() { +buildUnnamed1051() { var o = new core.List<api.Videostream>(); o.add(buildVideostream()); o.add(buildVideostream()); return o; } -checkUnnamed1073(core.List<api.Videostream> o) { +checkUnnamed1051(core.List<api.Videostream> o) { unittest.expect(o, unittest.hasLength(2)); checkVideostream(o[0]); checkVideostream(o[1]); @@ -1092,7 +1092,7 @@ o.mediaUrl = "foo"; o.published = core.DateTime.parse("2002-02-27T14:01:02"); o.sizeBytes = "foo"; - o.streams = buildUnnamed1073(); + o.streams = buildUnnamed1051(); o.summary = "foo"; o.updated = core.DateTime.parse("2002-02-27T14:01:02"); o.url = "foo"; @@ -1118,7 +1118,7 @@ unittest.expect(o.mediaUrl, unittest.equals('foo')); unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.sizeBytes, unittest.equals('foo')); - checkUnnamed1073(o.streams); + checkUnnamed1051(o.streams); unittest.expect(o.summary, unittest.equals('foo')); unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.url, unittest.equals('foo')); @@ -1129,14 +1129,14 @@ buildCounterMedia--; } -buildUnnamed1074() { +buildUnnamed1052() { var o = new core.List<api.Person>(); o.add(buildPerson()); o.add(buildPerson()); return o; } -checkUnnamed1074(core.List<api.Person> o) { +checkUnnamed1052(core.List<api.Person> o) { unittest.expect(o, unittest.hasLength(2)); checkPerson(o[0]); checkPerson(o[1]); @@ -1148,7 +1148,7 @@ buildCounterPeopleFeed++; if (buildCounterPeopleFeed < 3) { o.etag = "foo"; - o.items = buildUnnamed1074(); + o.items = buildUnnamed1052(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -1163,7 +1163,7 @@ buildCounterPeopleFeed++; if (buildCounterPeopleFeed < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1074(o.items); + checkUnnamed1052(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -1261,14 +1261,14 @@ buildCounterPersonEmails--; } -buildUnnamed1075() { +buildUnnamed1053() { var o = new core.List<api.PersonEmails>(); o.add(buildPersonEmails()); o.add(buildPersonEmails()); return o; } -checkUnnamed1075(core.List<api.PersonEmails> o) { +checkUnnamed1053(core.List<api.PersonEmails> o) { unittest.expect(o, unittest.hasLength(2)); checkPersonEmails(o[0]); checkPersonEmails(o[1]); @@ -1359,14 +1359,14 @@ buildCounterPersonOrganizations--; } -buildUnnamed1076() { +buildUnnamed1054() { var o = new core.List<api.PersonOrganizations>(); o.add(buildPersonOrganizations()); o.add(buildPersonOrganizations()); return o; } -checkUnnamed1076(core.List<api.PersonOrganizations> o) { +checkUnnamed1054(core.List<api.PersonOrganizations> o) { unittest.expect(o, unittest.hasLength(2)); checkPersonOrganizations(o[0]); checkPersonOrganizations(o[1]); @@ -1393,14 +1393,14 @@ buildCounterPersonPlacesLived--; } -buildUnnamed1077() { +buildUnnamed1055() { var o = new core.List<api.PersonPlacesLived>(); o.add(buildPersonPlacesLived()); o.add(buildPersonPlacesLived()); return o; } -checkUnnamed1077(core.List<api.PersonPlacesLived> o) { +checkUnnamed1055(core.List<api.PersonPlacesLived> o) { unittest.expect(o, unittest.hasLength(2)); checkPersonPlacesLived(o[0]); checkPersonPlacesLived(o[1]); @@ -1429,14 +1429,14 @@ buildCounterPersonUrls--; } -buildUnnamed1078() { +buildUnnamed1056() { var o = new core.List<api.PersonUrls>(); o.add(buildPersonUrls()); o.add(buildPersonUrls()); return o; } -checkUnnamed1078(core.List<api.PersonUrls> o) { +checkUnnamed1056(core.List<api.PersonUrls> o) { unittest.expect(o, unittest.hasLength(2)); checkPersonUrls(o[0]); checkPersonUrls(o[1]); @@ -1455,7 +1455,7 @@ o.currentLocation = "foo"; o.displayName = "foo"; o.domain = "foo"; - o.emails = buildUnnamed1075(); + o.emails = buildUnnamed1053(); o.etag = "foo"; o.gender = "foo"; o.id = "foo"; @@ -1466,14 +1466,14 @@ o.nickname = "foo"; o.objectType = "foo"; o.occupation = "foo"; - o.organizations = buildUnnamed1076(); - o.placesLived = buildUnnamed1077(); + o.organizations = buildUnnamed1054(); + o.placesLived = buildUnnamed1055(); o.plusOneCount = 42; o.relationshipStatus = "foo"; o.skills = "foo"; o.tagline = "foo"; o.url = "foo"; - o.urls = buildUnnamed1078(); + o.urls = buildUnnamed1056(); o.verified = true; } buildCounterPerson--; @@ -1491,7 +1491,7 @@ unittest.expect(o.currentLocation, unittest.equals('foo')); unittest.expect(o.displayName, unittest.equals('foo')); unittest.expect(o.domain, unittest.equals('foo')); - checkUnnamed1075(o.emails); + checkUnnamed1053(o.emails); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.gender, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); @@ -1502,14 +1502,14 @@ unittest.expect(o.nickname, unittest.equals('foo')); unittest.expect(o.objectType, unittest.equals('foo')); unittest.expect(o.occupation, unittest.equals('foo')); - checkUnnamed1076(o.organizations); - checkUnnamed1077(o.placesLived); + checkUnnamed1054(o.organizations); + checkUnnamed1055(o.placesLived); unittest.expect(o.plusOneCount, unittest.equals(42)); unittest.expect(o.relationshipStatus, unittest.equals('foo')); unittest.expect(o.skills, unittest.equals('foo')); unittest.expect(o.tagline, unittest.equals('foo')); unittest.expect(o.url, unittest.equals('foo')); - checkUnnamed1078(o.urls); + checkUnnamed1056(o.urls); unittest.expect(o.verified, unittest.isTrue); } buildCounterPerson--; @@ -1630,53 +1630,53 @@ buildCounterVideostream--; } -buildUnnamed1079() { +buildUnnamed1057() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1079(core.List<core.String> o) { +checkUnnamed1057(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1080() { +buildUnnamed1058() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1080(core.List<core.String> o) { +checkUnnamed1058(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1081() { +buildUnnamed1059() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1081(core.List<core.String> o) { +checkUnnamed1059(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1082() { +buildUnnamed1060() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1082(core.List<core.String> o) { +checkUnnamed1060(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2401,8 +2401,8 @@ var mock = new common_test.HttpServerMock(); api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; var arg_circleId = "foo"; - var arg_email = buildUnnamed1079(); - var arg_userId = buildUnnamed1080(); + var arg_email = buildUnnamed1057(); + var arg_userId = buildUnnamed1058(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0; @@ -2721,8 +2721,8 @@ var mock = new common_test.HttpServerMock(); api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; var arg_circleId = "foo"; - var arg_email = buildUnnamed1081(); - var arg_userId = buildUnnamed1082(); + var arg_email = buildUnnamed1059(); + var arg_userId = buildUnnamed1060(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0;
diff --git a/generated/googleapis/test/prediction/v1_6_test.dart b/generated/googleapis/test/prediction/v1_6_test.dart index f670076..0004956 100644 --- a/generated/googleapis/test/prediction/v1_6_test.dart +++ b/generated/googleapis/test/prediction/v1_6_test.dart
@@ -37,14 +37,14 @@ buildCounterAnalyzeDataDescriptionFeaturesCategoricalValues--; } -buildUnnamed616() { +buildUnnamed590() { var o = new core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues>(); o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues()); o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues()); return o; } -checkUnnamed616(core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues> o) { +checkUnnamed590(core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues> o) { unittest.expect(o, unittest.hasLength(2)); checkAnalyzeDataDescriptionFeaturesCategoricalValues(o[0]); checkAnalyzeDataDescriptionFeaturesCategoricalValues(o[1]); @@ -56,7 +56,7 @@ buildCounterAnalyzeDataDescriptionFeaturesCategorical++; if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) { o.count = "foo"; - o.values = buildUnnamed616(); + o.values = buildUnnamed590(); } buildCounterAnalyzeDataDescriptionFeaturesCategorical--; return o; @@ -66,7 +66,7 @@ buildCounterAnalyzeDataDescriptionFeaturesCategorical++; if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) { unittest.expect(o.count, unittest.equals('foo')); - checkUnnamed616(o.values); + checkUnnamed590(o.values); } buildCounterAnalyzeDataDescriptionFeaturesCategorical--; } @@ -138,14 +138,14 @@ buildCounterAnalyzeDataDescriptionFeatures--; } -buildUnnamed617() { +buildUnnamed591() { var o = new core.List<api.AnalyzeDataDescriptionFeatures>(); o.add(buildAnalyzeDataDescriptionFeatures()); o.add(buildAnalyzeDataDescriptionFeatures()); return o; } -checkUnnamed617(core.List<api.AnalyzeDataDescriptionFeatures> o) { +checkUnnamed591(core.List<api.AnalyzeDataDescriptionFeatures> o) { unittest.expect(o, unittest.hasLength(2)); checkAnalyzeDataDescriptionFeatures(o[0]); checkAnalyzeDataDescriptionFeatures(o[1]); @@ -195,14 +195,14 @@ buildCounterAnalyzeDataDescriptionOutputFeatureText--; } -buildUnnamed618() { +buildUnnamed592() { var o = new core.List<api.AnalyzeDataDescriptionOutputFeatureText>(); o.add(buildAnalyzeDataDescriptionOutputFeatureText()); o.add(buildAnalyzeDataDescriptionOutputFeatureText()); return o; } -checkUnnamed618(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) { +checkUnnamed592(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) { unittest.expect(o, unittest.hasLength(2)); checkAnalyzeDataDescriptionOutputFeatureText(o[0]); checkAnalyzeDataDescriptionOutputFeatureText(o[1]); @@ -214,7 +214,7 @@ buildCounterAnalyzeDataDescriptionOutputFeature++; if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) { o.numeric = buildAnalyzeDataDescriptionOutputFeatureNumeric(); - o.text = buildUnnamed618(); + o.text = buildUnnamed592(); } buildCounterAnalyzeDataDescriptionOutputFeature--; return o; @@ -224,7 +224,7 @@ buildCounterAnalyzeDataDescriptionOutputFeature++; if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) { checkAnalyzeDataDescriptionOutputFeatureNumeric(o.numeric); - checkUnnamed618(o.text); + checkUnnamed592(o.text); } buildCounterAnalyzeDataDescriptionOutputFeature--; } @@ -234,7 +234,7 @@ var o = new api.AnalyzeDataDescription(); buildCounterAnalyzeDataDescription++; if (buildCounterAnalyzeDataDescription < 3) { - o.features = buildUnnamed617(); + o.features = buildUnnamed591(); o.outputFeature = buildAnalyzeDataDescriptionOutputFeature(); } buildCounterAnalyzeDataDescription--; @@ -244,72 +244,72 @@ checkAnalyzeDataDescription(api.AnalyzeDataDescription o) { buildCounterAnalyzeDataDescription++; if (buildCounterAnalyzeDataDescription < 3) { - checkUnnamed617(o.features); + checkUnnamed591(o.features); checkAnalyzeDataDescriptionOutputFeature(o.outputFeature); } buildCounterAnalyzeDataDescription--; } -buildUnnamed619() { +buildUnnamed593() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed619(core.Map<core.String, core.String> o) { +checkUnnamed593(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); } -buildUnnamed620() { +buildUnnamed594() { var o = new core.List<core.Map<core.String, core.String>>(); - o.add(buildUnnamed619()); - o.add(buildUnnamed619()); + o.add(buildUnnamed593()); + o.add(buildUnnamed593()); return o; } -checkUnnamed620(core.List<core.Map<core.String, core.String>> o) { +checkUnnamed594(core.List<core.Map<core.String, core.String>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed619(o[0]); - checkUnnamed619(o[1]); + checkUnnamed593(o[0]); + checkUnnamed593(o[1]); } -buildUnnamed621() { +buildUnnamed595() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed621(core.Map<core.String, core.String> o) { +checkUnnamed595(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); } -buildUnnamed622() { +buildUnnamed596() { var o = new core.Map<core.String, core.Map<core.String, core.String>>(); - o["x"] = buildUnnamed621(); - o["y"] = buildUnnamed621(); + o["x"] = buildUnnamed595(); + o["y"] = buildUnnamed595(); return o; } -checkUnnamed622(core.Map<core.String, core.Map<core.String, core.String>> o) { +checkUnnamed596(core.Map<core.String, core.Map<core.String, core.String>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed621(o["x"]); - checkUnnamed621(o["y"]); + checkUnnamed595(o["x"]); + checkUnnamed595(o["y"]); } -buildUnnamed623() { +buildUnnamed597() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed623(core.Map<core.String, core.String> o) { +checkUnnamed597(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); @@ -320,8 +320,8 @@ var o = new api.AnalyzeModelDescription(); buildCounterAnalyzeModelDescription++; if (buildCounterAnalyzeModelDescription < 3) { - o.confusionMatrix = buildUnnamed622(); - o.confusionMatrixRowTotals = buildUnnamed623(); + o.confusionMatrix = buildUnnamed596(); + o.confusionMatrixRowTotals = buildUnnamed597(); o.modelinfo = buildInsert2(); } buildCounterAnalyzeModelDescription--; @@ -331,8 +331,8 @@ checkAnalyzeModelDescription(api.AnalyzeModelDescription o) { buildCounterAnalyzeModelDescription++; if (buildCounterAnalyzeModelDescription < 3) { - checkUnnamed622(o.confusionMatrix); - checkUnnamed623(o.confusionMatrixRowTotals); + checkUnnamed596(o.confusionMatrix); + checkUnnamed597(o.confusionMatrixRowTotals); checkInsert2(o.modelinfo); } buildCounterAnalyzeModelDescription--; @@ -344,7 +344,7 @@ buildCounterAnalyze++; if (buildCounterAnalyze < 3) { o.dataDescription = buildAnalyzeDataDescription(); - o.errors = buildUnnamed620(); + o.errors = buildUnnamed594(); o.id = "foo"; o.kind = "foo"; o.modelDescription = buildAnalyzeModelDescription(); @@ -358,7 +358,7 @@ buildCounterAnalyze++; if (buildCounterAnalyze < 3) { checkAnalyzeDataDescription(o.dataDescription); - checkUnnamed620(o.errors); + checkUnnamed594(o.errors); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); checkAnalyzeModelDescription(o.modelDescription); @@ -367,14 +367,14 @@ buildCounterAnalyze--; } -buildUnnamed624() { +buildUnnamed598() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed624(core.List<core.Object> o) { +checkUnnamed598(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); @@ -385,7 +385,7 @@ var o = new api.InputInput(); buildCounterInputInput++; if (buildCounterInputInput < 3) { - o.csvInstance = buildUnnamed624(); + o.csvInstance = buildUnnamed598(); } buildCounterInputInput--; return o; @@ -394,7 +394,7 @@ checkInputInput(api.InputInput o) { buildCounterInputInput++; if (buildCounterInputInput < 3) { - checkUnnamed624(o.csvInstance); + checkUnnamed598(o.csvInstance); } buildCounterInputInput--; } @@ -418,14 +418,14 @@ buildCounterInput--; } -buildUnnamed625() { +buildUnnamed599() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed625(core.List<core.Object> o) { +checkUnnamed599(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo')); var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo')); @@ -436,7 +436,7 @@ var o = new api.InsertTrainingInstances(); buildCounterInsertTrainingInstances++; if (buildCounterInsertTrainingInstances < 3) { - o.csvInstance = buildUnnamed625(); + o.csvInstance = buildUnnamed599(); o.output = "foo"; } buildCounterInsertTrainingInstances--; @@ -446,49 +446,49 @@ checkInsertTrainingInstances(api.InsertTrainingInstances o) { buildCounterInsertTrainingInstances++; if (buildCounterInsertTrainingInstances < 3) { - checkUnnamed625(o.csvInstance); + checkUnnamed599(o.csvInstance); unittest.expect(o.output, unittest.equals('foo')); } buildCounterInsertTrainingInstances--; } -buildUnnamed626() { +buildUnnamed600() { var o = new core.List<api.InsertTrainingInstances>(); o.add(buildInsertTrainingInstances()); o.add(buildInsertTrainingInstances()); return o; } -checkUnnamed626(core.List<api.InsertTrainingInstances> o) { +checkUnnamed600(core.List<api.InsertTrainingInstances> o) { unittest.expect(o, unittest.hasLength(2)); checkInsertTrainingInstances(o[0]); checkInsertTrainingInstances(o[1]); } -buildUnnamed627() { +buildUnnamed601() { var o = new core.Map<core.String, core.double>(); o["x"] = 42.0; o["y"] = 42.0; return o; } -checkUnnamed627(core.Map<core.String, core.double> o) { +checkUnnamed601(core.Map<core.String, core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals(42.0)); unittest.expect(o["y"], unittest.equals(42.0)); } -buildUnnamed628() { +buildUnnamed602() { var o = new core.List<core.Map<core.String, core.double>>(); - o.add(buildUnnamed627()); - o.add(buildUnnamed627()); + o.add(buildUnnamed601()); + o.add(buildUnnamed601()); return o; } -checkUnnamed628(core.List<core.Map<core.String, core.double>> o) { +checkUnnamed602(core.List<core.Map<core.String, core.double>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed627(o[0]); - checkUnnamed627(o[1]); + checkUnnamed601(o[0]); + checkUnnamed601(o[1]); } core.int buildCounterInsert = 0; @@ -502,8 +502,8 @@ o.storageDataLocation = "foo"; o.storagePMMLLocation = "foo"; o.storagePMMLModelLocation = "foo"; - o.trainingInstances = buildUnnamed626(); - o.utility = buildUnnamed628(); + o.trainingInstances = buildUnnamed600(); + o.utility = buildUnnamed602(); } buildCounterInsert--; return o; @@ -518,8 +518,8 @@ unittest.expect(o.storageDataLocation, unittest.equals('foo')); unittest.expect(o.storagePMMLLocation, unittest.equals('foo')); unittest.expect(o.storagePMMLModelLocation, unittest.equals('foo')); - checkUnnamed626(o.trainingInstances); - checkUnnamed628(o.utility); + checkUnnamed600(o.trainingInstances); + checkUnnamed602(o.utility); } buildCounterInsert--; } @@ -592,14 +592,14 @@ buildCounterInsert2--; } -buildUnnamed629() { +buildUnnamed603() { var o = new core.List<api.Insert2>(); o.add(buildInsert2()); o.add(buildInsert2()); return o; } -checkUnnamed629(core.List<api.Insert2> o) { +checkUnnamed603(core.List<api.Insert2> o) { unittest.expect(o, unittest.hasLength(2)); checkInsert2(o[0]); checkInsert2(o[1]); @@ -610,7 +610,7 @@ var o = new api.List(); buildCounterList++; if (buildCounterList < 3) { - o.items = buildUnnamed629(); + o.items = buildUnnamed603(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -622,7 +622,7 @@ checkList(api.List o) { buildCounterList++; if (buildCounterList < 3) { - checkUnnamed629(o.items); + checkUnnamed603(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -651,14 +651,14 @@ buildCounterOutputOutputMulti--; } -buildUnnamed630() { +buildUnnamed604() { var o = new core.List<api.OutputOutputMulti>(); o.add(buildOutputOutputMulti()); o.add(buildOutputOutputMulti()); return o; } -checkUnnamed630(core.List<api.OutputOutputMulti> o) { +checkUnnamed604(core.List<api.OutputOutputMulti> o) { unittest.expect(o, unittest.hasLength(2)); checkOutputOutputMulti(o[0]); checkOutputOutputMulti(o[1]); @@ -672,7 +672,7 @@ o.id = "foo"; o.kind = "foo"; o.outputLabel = "foo"; - o.outputMulti = buildUnnamed630(); + o.outputMulti = buildUnnamed604(); o.outputValue = "foo"; o.selfLink = "foo"; } @@ -686,21 +686,21 @@ unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.outputLabel, unittest.equals('foo')); - checkUnnamed630(o.outputMulti); + checkUnnamed604(o.outputMulti); unittest.expect(o.outputValue, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); } buildCounterOutput--; } -buildUnnamed631() { +buildUnnamed605() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed631(core.List<core.Object> o) { +checkUnnamed605(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo')); var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo')); @@ -711,7 +711,7 @@ var o = new api.Update(); buildCounterUpdate++; if (buildCounterUpdate < 3) { - o.csvInstance = buildUnnamed631(); + o.csvInstance = buildUnnamed605(); o.output = "foo"; } buildCounterUpdate--; @@ -721,7 +721,7 @@ checkUpdate(api.Update o) { buildCounterUpdate++; if (buildCounterUpdate < 3) { - checkUnnamed631(o.csvInstance); + checkUnnamed605(o.csvInstance); unittest.expect(o.output, unittest.equals('foo')); } buildCounterUpdate--;
diff --git a/generated/googleapis/test/qpxexpress/v1_test.dart b/generated/googleapis/test/qpxexpress/v1_test.dart index 5f7a93b..854fdae 100644 --- a/generated/googleapis/test/qpxexpress/v1_test.dart +++ b/generated/googleapis/test/qpxexpress/v1_test.dart
@@ -64,14 +64,14 @@ buildCounterAirportData--; } -buildUnnamed340() { +buildUnnamed314() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed340(core.List<core.String> o) { +checkUnnamed314(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -84,7 +84,7 @@ if (buildCounterBagDescriptor < 3) { o.commercialName = "foo"; o.count = 42; - o.description = buildUnnamed340(); + o.description = buildUnnamed314(); o.kind = "foo"; o.subcode = "foo"; } @@ -97,7 +97,7 @@ if (buildCounterBagDescriptor < 3) { unittest.expect(o.commercialName, unittest.equals('foo')); unittest.expect(o.count, unittest.equals(42)); - checkUnnamed340(o.description); + checkUnnamed314(o.description); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.subcode, unittest.equals('foo')); } @@ -152,66 +152,66 @@ buildCounterCityData--; } -buildUnnamed341() { +buildUnnamed315() { var o = new core.List<api.AircraftData>(); o.add(buildAircraftData()); o.add(buildAircraftData()); return o; } -checkUnnamed341(core.List<api.AircraftData> o) { +checkUnnamed315(core.List<api.AircraftData> o) { unittest.expect(o, unittest.hasLength(2)); checkAircraftData(o[0]); checkAircraftData(o[1]); } -buildUnnamed342() { +buildUnnamed316() { var o = new core.List<api.AirportData>(); o.add(buildAirportData()); o.add(buildAirportData()); return o; } -checkUnnamed342(core.List<api.AirportData> o) { +checkUnnamed316(core.List<api.AirportData> o) { unittest.expect(o, unittest.hasLength(2)); checkAirportData(o[0]); checkAirportData(o[1]); } -buildUnnamed343() { +buildUnnamed317() { var o = new core.List<api.CarrierData>(); o.add(buildCarrierData()); o.add(buildCarrierData()); return o; } -checkUnnamed343(core.List<api.CarrierData> o) { +checkUnnamed317(core.List<api.CarrierData> o) { unittest.expect(o, unittest.hasLength(2)); checkCarrierData(o[0]); checkCarrierData(o[1]); } -buildUnnamed344() { +buildUnnamed318() { var o = new core.List<api.CityData>(); o.add(buildCityData()); o.add(buildCityData()); return o; } -checkUnnamed344(core.List<api.CityData> o) { +checkUnnamed318(core.List<api.CityData> o) { unittest.expect(o, unittest.hasLength(2)); checkCityData(o[0]); checkCityData(o[1]); } -buildUnnamed345() { +buildUnnamed319() { var o = new core.List<api.TaxData>(); o.add(buildTaxData()); o.add(buildTaxData()); return o; } -checkUnnamed345(core.List<api.TaxData> o) { +checkUnnamed319(core.List<api.TaxData> o) { unittest.expect(o, unittest.hasLength(2)); checkTaxData(o[0]); checkTaxData(o[1]); @@ -222,12 +222,12 @@ var o = new api.Data(); buildCounterData++; if (buildCounterData < 3) { - o.aircraft = buildUnnamed341(); - o.airport = buildUnnamed342(); - o.carrier = buildUnnamed343(); - o.city = buildUnnamed344(); + o.aircraft = buildUnnamed315(); + o.airport = buildUnnamed316(); + o.carrier = buildUnnamed317(); + o.city = buildUnnamed318(); o.kind = "foo"; - o.tax = buildUnnamed345(); + o.tax = buildUnnamed319(); } buildCounterData--; return o; @@ -236,12 +236,12 @@ checkData(api.Data o) { buildCounterData++; if (buildCounterData < 3) { - checkUnnamed341(o.aircraft); - checkUnnamed342(o.airport); - checkUnnamed343(o.carrier); - checkUnnamed344(o.city); + checkUnnamed315(o.aircraft); + checkUnnamed316(o.airport); + checkUnnamed317(o.carrier); + checkUnnamed318(o.city); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed345(o.tax); + checkUnnamed319(o.tax); } buildCounterData--; } @@ -298,14 +298,14 @@ buildCounterFlightInfo--; } -buildUnnamed346() { +buildUnnamed320() { var o = new core.List<api.BagDescriptor>(); o.add(buildBagDescriptor()); o.add(buildBagDescriptor()); return o; } -checkUnnamed346(core.List<api.BagDescriptor> o) { +checkUnnamed320(core.List<api.BagDescriptor> o) { unittest.expect(o, unittest.hasLength(2)); checkBagDescriptor(o[0]); checkBagDescriptor(o[1]); @@ -316,7 +316,7 @@ var o = new api.FreeBaggageAllowance(); buildCounterFreeBaggageAllowance++; if (buildCounterFreeBaggageAllowance < 3) { - o.bagDescriptor = buildUnnamed346(); + o.bagDescriptor = buildUnnamed320(); o.kilos = 42; o.kilosPerPiece = 42; o.kind = "foo"; @@ -330,7 +330,7 @@ checkFreeBaggageAllowance(api.FreeBaggageAllowance o) { buildCounterFreeBaggageAllowance++; if (buildCounterFreeBaggageAllowance < 3) { - checkUnnamed346(o.bagDescriptor); + checkUnnamed320(o.bagDescriptor); unittest.expect(o.kilos, unittest.equals(42)); unittest.expect(o.kilosPerPiece, unittest.equals(42)); unittest.expect(o.kind, unittest.equals('foo')); @@ -420,40 +420,40 @@ buildCounterPassengerCounts--; } -buildUnnamed347() { +buildUnnamed321() { var o = new core.List<api.FareInfo>(); o.add(buildFareInfo()); o.add(buildFareInfo()); return o; } -checkUnnamed347(core.List<api.FareInfo> o) { +checkUnnamed321(core.List<api.FareInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkFareInfo(o[0]); checkFareInfo(o[1]); } -buildUnnamed348() { +buildUnnamed322() { var o = new core.List<api.SegmentPricing>(); o.add(buildSegmentPricing()); o.add(buildSegmentPricing()); return o; } -checkUnnamed348(core.List<api.SegmentPricing> o) { +checkUnnamed322(core.List<api.SegmentPricing> o) { unittest.expect(o, unittest.hasLength(2)); checkSegmentPricing(o[0]); checkSegmentPricing(o[1]); } -buildUnnamed349() { +buildUnnamed323() { var o = new core.List<api.TaxInfo>(); o.add(buildTaxInfo()); o.add(buildTaxInfo()); return o; } -checkUnnamed349(core.List<api.TaxInfo> o) { +checkUnnamed323(core.List<api.TaxInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkTaxInfo(o[0]); checkTaxInfo(o[1]); @@ -465,7 +465,7 @@ buildCounterPricingInfo++; if (buildCounterPricingInfo < 3) { o.baseFareTotal = "foo"; - o.fare = buildUnnamed347(); + o.fare = buildUnnamed321(); o.fareCalculation = "foo"; o.kind = "foo"; o.latestTicketingTime = "foo"; @@ -475,8 +475,8 @@ o.saleFareTotal = "foo"; o.saleTaxTotal = "foo"; o.saleTotal = "foo"; - o.segmentPricing = buildUnnamed348(); - o.tax = buildUnnamed349(); + o.segmentPricing = buildUnnamed322(); + o.tax = buildUnnamed323(); } buildCounterPricingInfo--; return o; @@ -486,7 +486,7 @@ buildCounterPricingInfo++; if (buildCounterPricingInfo < 3) { unittest.expect(o.baseFareTotal, unittest.equals('foo')); - checkUnnamed347(o.fare); + checkUnnamed321(o.fare); unittest.expect(o.fareCalculation, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.latestTicketingTime, unittest.equals('foo')); @@ -496,20 +496,20 @@ unittest.expect(o.saleFareTotal, unittest.equals('foo')); unittest.expect(o.saleTaxTotal, unittest.equals('foo')); unittest.expect(o.saleTotal, unittest.equals('foo')); - checkUnnamed348(o.segmentPricing); - checkUnnamed349(o.tax); + checkUnnamed322(o.segmentPricing); + checkUnnamed323(o.tax); } buildCounterPricingInfo--; } -buildUnnamed350() { +buildUnnamed324() { var o = new core.List<api.LegInfo>(); o.add(buildLegInfo()); o.add(buildLegInfo()); return o; } -checkUnnamed350(core.List<api.LegInfo> o) { +checkUnnamed324(core.List<api.LegInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkLegInfo(o[0]); checkLegInfo(o[1]); @@ -528,7 +528,7 @@ o.flight = buildFlightInfo(); o.id = "foo"; o.kind = "foo"; - o.leg = buildUnnamed350(); + o.leg = buildUnnamed324(); o.marriedSegmentGroup = "foo"; o.subjectToGovernmentApproval = true; } @@ -547,21 +547,21 @@ checkFlightInfo(o.flight); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed350(o.leg); + checkUnnamed324(o.leg); unittest.expect(o.marriedSegmentGroup, unittest.equals('foo')); unittest.expect(o.subjectToGovernmentApproval, unittest.isTrue); } buildCounterSegmentInfo--; } -buildUnnamed351() { +buildUnnamed325() { var o = new core.List<api.FreeBaggageAllowance>(); o.add(buildFreeBaggageAllowance()); o.add(buildFreeBaggageAllowance()); return o; } -checkUnnamed351(core.List<api.FreeBaggageAllowance> o) { +checkUnnamed325(core.List<api.FreeBaggageAllowance> o) { unittest.expect(o, unittest.hasLength(2)); checkFreeBaggageAllowance(o[0]); checkFreeBaggageAllowance(o[1]); @@ -573,7 +573,7 @@ buildCounterSegmentPricing++; if (buildCounterSegmentPricing < 3) { o.fareId = "foo"; - o.freeBaggageOption = buildUnnamed351(); + o.freeBaggageOption = buildUnnamed325(); o.kind = "foo"; o.segmentId = "foo"; } @@ -585,21 +585,21 @@ buildCounterSegmentPricing++; if (buildCounterSegmentPricing < 3) { unittest.expect(o.fareId, unittest.equals('foo')); - checkUnnamed351(o.freeBaggageOption); + checkUnnamed325(o.freeBaggageOption); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.segmentId, unittest.equals('foo')); } buildCounterSegmentPricing--; } -buildUnnamed352() { +buildUnnamed326() { var o = new core.List<api.SegmentInfo>(); o.add(buildSegmentInfo()); o.add(buildSegmentInfo()); return o; } -checkUnnamed352(core.List<api.SegmentInfo> o) { +checkUnnamed326(core.List<api.SegmentInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkSegmentInfo(o[0]); checkSegmentInfo(o[1]); @@ -612,7 +612,7 @@ if (buildCounterSliceInfo < 3) { o.duration = 42; o.kind = "foo"; - o.segment = buildUnnamed352(); + o.segment = buildUnnamed326(); } buildCounterSliceInfo--; return o; @@ -623,32 +623,32 @@ if (buildCounterSliceInfo < 3) { unittest.expect(o.duration, unittest.equals(42)); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed352(o.segment); + checkUnnamed326(o.segment); } buildCounterSliceInfo--; } -buildUnnamed353() { +buildUnnamed327() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed353(core.List<core.String> o) { +checkUnnamed327(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed354() { +buildUnnamed328() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed354(core.List<core.String> o) { +checkUnnamed328(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -666,10 +666,10 @@ o.maxConnectionDuration = 42; o.maxStops = 42; o.origin = "foo"; - o.permittedCarrier = buildUnnamed353(); + o.permittedCarrier = buildUnnamed327(); o.permittedDepartureTime = buildTimeOfDayRange(); o.preferredCabin = "foo"; - o.prohibitedCarrier = buildUnnamed354(); + o.prohibitedCarrier = buildUnnamed328(); } buildCounterSliceInput--; return o; @@ -685,10 +685,10 @@ unittest.expect(o.maxConnectionDuration, unittest.equals(42)); unittest.expect(o.maxStops, unittest.equals(42)); unittest.expect(o.origin, unittest.equals('foo')); - checkUnnamed353(o.permittedCarrier); + checkUnnamed327(o.permittedCarrier); checkTimeOfDayRange(o.permittedDepartureTime); unittest.expect(o.preferredCabin, unittest.equals('foo')); - checkUnnamed354(o.prohibitedCarrier); + checkUnnamed328(o.prohibitedCarrier); } buildCounterSliceInput--; } @@ -768,27 +768,27 @@ buildCounterTimeOfDayRange--; } -buildUnnamed355() { +buildUnnamed329() { var o = new core.List<api.PricingInfo>(); o.add(buildPricingInfo()); o.add(buildPricingInfo()); return o; } -checkUnnamed355(core.List<api.PricingInfo> o) { +checkUnnamed329(core.List<api.PricingInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkPricingInfo(o[0]); checkPricingInfo(o[1]); } -buildUnnamed356() { +buildUnnamed330() { var o = new core.List<api.SliceInfo>(); o.add(buildSliceInfo()); o.add(buildSliceInfo()); return o; } -checkUnnamed356(core.List<api.SliceInfo> o) { +checkUnnamed330(core.List<api.SliceInfo> o) { unittest.expect(o, unittest.hasLength(2)); checkSliceInfo(o[0]); checkSliceInfo(o[1]); @@ -801,9 +801,9 @@ if (buildCounterTripOption < 3) { o.id = "foo"; o.kind = "foo"; - o.pricing = buildUnnamed355(); + o.pricing = buildUnnamed329(); o.saleTotal = "foo"; - o.slice = buildUnnamed356(); + o.slice = buildUnnamed330(); } buildCounterTripOption--; return o; @@ -814,21 +814,21 @@ if (buildCounterTripOption < 3) { unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed355(o.pricing); + checkUnnamed329(o.pricing); unittest.expect(o.saleTotal, unittest.equals('foo')); - checkUnnamed356(o.slice); + checkUnnamed330(o.slice); } buildCounterTripOption--; } -buildUnnamed357() { +buildUnnamed331() { var o = new core.List<api.SliceInput>(); o.add(buildSliceInput()); o.add(buildSliceInput()); return o; } -checkUnnamed357(core.List<api.SliceInput> o) { +checkUnnamed331(core.List<api.SliceInput> o) { unittest.expect(o, unittest.hasLength(2)); checkSliceInput(o[0]); checkSliceInput(o[1]); @@ -843,7 +843,7 @@ o.passengers = buildPassengerCounts(); o.refundable = true; o.saleCountry = "foo"; - o.slice = buildUnnamed357(); + o.slice = buildUnnamed331(); o.solutions = 42; } buildCounterTripOptionsRequest--; @@ -857,20 +857,20 @@ checkPassengerCounts(o.passengers); unittest.expect(o.refundable, unittest.isTrue); unittest.expect(o.saleCountry, unittest.equals('foo')); - checkUnnamed357(o.slice); + checkUnnamed331(o.slice); unittest.expect(o.solutions, unittest.equals(42)); } buildCounterTripOptionsRequest--; } -buildUnnamed358() { +buildUnnamed332() { var o = new core.List<api.TripOption>(); o.add(buildTripOption()); o.add(buildTripOption()); return o; } -checkUnnamed358(core.List<api.TripOption> o) { +checkUnnamed332(core.List<api.TripOption> o) { unittest.expect(o, unittest.hasLength(2)); checkTripOption(o[0]); checkTripOption(o[1]); @@ -884,7 +884,7 @@ o.data = buildData(); o.kind = "foo"; o.requestId = "foo"; - o.tripOption = buildUnnamed358(); + o.tripOption = buildUnnamed332(); } buildCounterTripOptionsResponse--; return o; @@ -896,7 +896,7 @@ checkData(o.data); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.requestId, unittest.equals('foo')); - checkUnnamed358(o.tripOption); + checkUnnamed332(o.tripOption); } buildCounterTripOptionsResponse--; }
diff --git a/generated/googleapis/test/reseller/v1_test.dart b/generated/googleapis/test/reseller/v1_test.dart index 12531c1..3b3895a 100644 --- a/generated/googleapis/test/reseller/v1_test.dart +++ b/generated/googleapis/test/reseller/v1_test.dart
@@ -282,14 +282,14 @@ buildCounterSubscription--; } -buildUnnamed655() { +buildUnnamed629() { var o = new core.List<api.Subscription>(); o.add(buildSubscription()); o.add(buildSubscription()); return o; } -checkUnnamed655(core.List<api.Subscription> o) { +checkUnnamed629(core.List<api.Subscription> o) { unittest.expect(o, unittest.hasLength(2)); checkSubscription(o[0]); checkSubscription(o[1]); @@ -302,7 +302,7 @@ if (buildCounterSubscriptions < 3) { o.kind = "foo"; o.nextPageToken = "foo"; - o.subscriptions = buildUnnamed655(); + o.subscriptions = buildUnnamed629(); } buildCounterSubscriptions--; return o; @@ -313,7 +313,7 @@ if (buildCounterSubscriptions < 3) { unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed655(o.subscriptions); + checkUnnamed629(o.subscriptions); } buildCounterSubscriptions--; }
diff --git a/generated/googleapis/test/siteverification/v1_test.dart b/generated/googleapis/test/siteverification/v1_test.dart index 09bf289..1256499 100644 --- a/generated/googleapis/test/siteverification/v1_test.dart +++ b/generated/googleapis/test/siteverification/v1_test.dart
@@ -79,14 +79,14 @@ buildCounterSiteVerificationWebResourceGettokenResponse--; } -buildUnnamed304() { +buildUnnamed278() { var o = new core.List<api.SiteVerificationWebResourceResource>(); o.add(buildSiteVerificationWebResourceResource()); o.add(buildSiteVerificationWebResourceResource()); return o; } -checkUnnamed304(core.List<api.SiteVerificationWebResourceResource> o) { +checkUnnamed278(core.List<api.SiteVerificationWebResourceResource> o) { unittest.expect(o, unittest.hasLength(2)); checkSiteVerificationWebResourceResource(o[0]); checkSiteVerificationWebResourceResource(o[1]); @@ -97,7 +97,7 @@ var o = new api.SiteVerificationWebResourceListResponse(); buildCounterSiteVerificationWebResourceListResponse++; if (buildCounterSiteVerificationWebResourceListResponse < 3) { - o.items = buildUnnamed304(); + o.items = buildUnnamed278(); } buildCounterSiteVerificationWebResourceListResponse--; return o; @@ -106,19 +106,19 @@ checkSiteVerificationWebResourceListResponse(api.SiteVerificationWebResourceListResponse o) { buildCounterSiteVerificationWebResourceListResponse++; if (buildCounterSiteVerificationWebResourceListResponse < 3) { - checkUnnamed304(o.items); + checkUnnamed278(o.items); } buildCounterSiteVerificationWebResourceListResponse--; } -buildUnnamed305() { +buildUnnamed279() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed305(core.List<core.String> o) { +checkUnnamed279(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -151,7 +151,7 @@ buildCounterSiteVerificationWebResourceResource++; if (buildCounterSiteVerificationWebResourceResource < 3) { o.id = "foo"; - o.owners = buildUnnamed305(); + o.owners = buildUnnamed279(); o.site = buildSiteVerificationWebResourceResourceSite(); } buildCounterSiteVerificationWebResourceResource--; @@ -162,7 +162,7 @@ buildCounterSiteVerificationWebResourceResource++; if (buildCounterSiteVerificationWebResourceResource < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed305(o.owners); + checkUnnamed279(o.owners); checkSiteVerificationWebResourceResourceSite(o.site); } buildCounterSiteVerificationWebResourceResource--;
diff --git a/generated/googleapis/test/storage/v1_test.dart b/generated/googleapis/test/storage/v1_test.dart index cd6e3ce..670a21a 100644 --- a/generated/googleapis/test/storage/v1_test.dart +++ b/generated/googleapis/test/storage/v1_test.dart
@@ -16,53 +16,53 @@ -buildUnnamed700() { +buildUnnamed674() { var o = new core.List<api.BucketAccessControl>(); o.add(buildBucketAccessControl()); o.add(buildBucketAccessControl()); return o; } -checkUnnamed700(core.List<api.BucketAccessControl> o) { +checkUnnamed674(core.List<api.BucketAccessControl> o) { unittest.expect(o, unittest.hasLength(2)); checkBucketAccessControl(o[0]); checkBucketAccessControl(o[1]); } -buildUnnamed701() { +buildUnnamed675() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed701(core.List<core.String> o) { +checkUnnamed675(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed702() { +buildUnnamed676() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed702(core.List<core.String> o) { +checkUnnamed676(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed703() { +buildUnnamed677() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed703(core.List<core.String> o) { +checkUnnamed677(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -74,9 +74,9 @@ buildCounterBucketCors++; if (buildCounterBucketCors < 3) { o.maxAgeSeconds = 42; - o.method = buildUnnamed701(); - o.origin = buildUnnamed702(); - o.responseHeader = buildUnnamed703(); + o.method = buildUnnamed675(); + o.origin = buildUnnamed676(); + o.responseHeader = buildUnnamed677(); } buildCounterBucketCors--; return o; @@ -86,34 +86,34 @@ buildCounterBucketCors++; if (buildCounterBucketCors < 3) { unittest.expect(o.maxAgeSeconds, unittest.equals(42)); - checkUnnamed701(o.method); - checkUnnamed702(o.origin); - checkUnnamed703(o.responseHeader); + checkUnnamed675(o.method); + checkUnnamed676(o.origin); + checkUnnamed677(o.responseHeader); } buildCounterBucketCors--; } -buildUnnamed704() { +buildUnnamed678() { var o = new core.List<api.BucketCors>(); o.add(buildBucketCors()); o.add(buildBucketCors()); return o; } -checkUnnamed704(core.List<api.BucketCors> o) { +checkUnnamed678(core.List<api.BucketCors> o) { unittest.expect(o, unittest.hasLength(2)); checkBucketCors(o[0]); checkBucketCors(o[1]); } -buildUnnamed705() { +buildUnnamed679() { var o = new core.List<api.ObjectAccessControl>(); o.add(buildObjectAccessControl()); o.add(buildObjectAccessControl()); return o; } -checkUnnamed705(core.List<api.ObjectAccessControl> o) { +checkUnnamed679(core.List<api.ObjectAccessControl> o) { unittest.expect(o, unittest.hasLength(2)); checkObjectAccessControl(o[0]); checkObjectAccessControl(o[1]); @@ -184,14 +184,14 @@ buildCounterBucketLifecycleRule--; } -buildUnnamed706() { +buildUnnamed680() { var o = new core.List<api.BucketLifecycleRule>(); o.add(buildBucketLifecycleRule()); o.add(buildBucketLifecycleRule()); return o; } -checkUnnamed706(core.List<api.BucketLifecycleRule> o) { +checkUnnamed680(core.List<api.BucketLifecycleRule> o) { unittest.expect(o, unittest.hasLength(2)); checkBucketLifecycleRule(o[0]); checkBucketLifecycleRule(o[1]); @@ -202,7 +202,7 @@ var o = new api.BucketLifecycle(); buildCounterBucketLifecycle++; if (buildCounterBucketLifecycle < 3) { - o.rule = buildUnnamed706(); + o.rule = buildUnnamed680(); } buildCounterBucketLifecycle--; return o; @@ -211,7 +211,7 @@ checkBucketLifecycle(api.BucketLifecycle o) { buildCounterBucketLifecycle++; if (buildCounterBucketLifecycle < 3) { - checkUnnamed706(o.rule); + checkUnnamed680(o.rule); } buildCounterBucketLifecycle--; } @@ -303,9 +303,9 @@ var o = new api.Bucket(); buildCounterBucket++; if (buildCounterBucket < 3) { - o.acl = buildUnnamed700(); - o.cors = buildUnnamed704(); - o.defaultObjectAcl = buildUnnamed705(); + o.acl = buildUnnamed674(); + o.cors = buildUnnamed678(); + o.defaultObjectAcl = buildUnnamed679(); o.etag = "foo"; o.id = "foo"; o.kind = "foo"; @@ -329,9 +329,9 @@ checkBucket(api.Bucket o) { buildCounterBucket++; if (buildCounterBucket < 3) { - checkUnnamed700(o.acl); - checkUnnamed704(o.cors); - checkUnnamed705(o.defaultObjectAcl); + checkUnnamed674(o.acl); + checkUnnamed678(o.cors); + checkUnnamed679(o.defaultObjectAcl); unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); @@ -411,14 +411,14 @@ buildCounterBucketAccessControl--; } -buildUnnamed707() { +buildUnnamed681() { var o = new core.List<api.BucketAccessControl>(); o.add(buildBucketAccessControl()); o.add(buildBucketAccessControl()); return o; } -checkUnnamed707(core.List<api.BucketAccessControl> o) { +checkUnnamed681(core.List<api.BucketAccessControl> o) { unittest.expect(o, unittest.hasLength(2)); checkBucketAccessControl(o[0]); checkBucketAccessControl(o[1]); @@ -429,7 +429,7 @@ var o = new api.BucketAccessControls(); buildCounterBucketAccessControls++; if (buildCounterBucketAccessControls < 3) { - o.items = buildUnnamed707(); + o.items = buildUnnamed681(); o.kind = "foo"; } buildCounterBucketAccessControls--; @@ -439,20 +439,20 @@ checkBucketAccessControls(api.BucketAccessControls o) { buildCounterBucketAccessControls++; if (buildCounterBucketAccessControls < 3) { - checkUnnamed707(o.items); + checkUnnamed681(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterBucketAccessControls--; } -buildUnnamed708() { +buildUnnamed682() { var o = new core.List<api.Bucket>(); o.add(buildBucket()); o.add(buildBucket()); return o; } -checkUnnamed708(core.List<api.Bucket> o) { +checkUnnamed682(core.List<api.Bucket> o) { unittest.expect(o, unittest.hasLength(2)); checkBucket(o[0]); checkBucket(o[1]); @@ -463,7 +463,7 @@ var o = new api.Buckets(); buildCounterBuckets++; if (buildCounterBuckets < 3) { - o.items = buildUnnamed708(); + o.items = buildUnnamed682(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -474,21 +474,21 @@ checkBuckets(api.Buckets o) { buildCounterBuckets++; if (buildCounterBuckets < 3) { - checkUnnamed708(o.items); + checkUnnamed682(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterBuckets--; } -buildUnnamed709() { +buildUnnamed683() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed709(core.Map<core.String, core.String> o) { +checkUnnamed683(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); @@ -503,7 +503,7 @@ o.expiration = "foo"; o.id = "foo"; o.kind = "foo"; - o.params = buildUnnamed709(); + o.params = buildUnnamed683(); o.payload = true; o.resourceId = "foo"; o.resourceUri = "foo"; @@ -521,7 +521,7 @@ unittest.expect(o.expiration, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed709(o.params); + checkUnnamed683(o.params); unittest.expect(o.payload, unittest.isTrue); unittest.expect(o.resourceId, unittest.equals('foo')); unittest.expect(o.resourceUri, unittest.equals('foo')); @@ -573,14 +573,14 @@ buildCounterComposeRequestSourceObjects--; } -buildUnnamed710() { +buildUnnamed684() { var o = new core.List<api.ComposeRequestSourceObjects>(); o.add(buildComposeRequestSourceObjects()); o.add(buildComposeRequestSourceObjects()); return o; } -checkUnnamed710(core.List<api.ComposeRequestSourceObjects> o) { +checkUnnamed684(core.List<api.ComposeRequestSourceObjects> o) { unittest.expect(o, unittest.hasLength(2)); checkComposeRequestSourceObjects(o[0]); checkComposeRequestSourceObjects(o[1]); @@ -593,7 +593,7 @@ if (buildCounterComposeRequest < 3) { o.destination = buildObject(); o.kind = "foo"; - o.sourceObjects = buildUnnamed710(); + o.sourceObjects = buildUnnamed684(); } buildCounterComposeRequest--; return o; @@ -604,32 +604,32 @@ if (buildCounterComposeRequest < 3) { checkObject(o.destination); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed710(o.sourceObjects); + checkUnnamed684(o.sourceObjects); } buildCounterComposeRequest--; } -buildUnnamed711() { +buildUnnamed685() { var o = new core.List<api.ObjectAccessControl>(); o.add(buildObjectAccessControl()); o.add(buildObjectAccessControl()); return o; } -checkUnnamed711(core.List<api.ObjectAccessControl> o) { +checkUnnamed685(core.List<api.ObjectAccessControl> o) { unittest.expect(o, unittest.hasLength(2)); checkObjectAccessControl(o[0]); checkObjectAccessControl(o[1]); } -buildUnnamed712() { +buildUnnamed686() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed712(core.Map<core.String, core.String> o) { +checkUnnamed686(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); @@ -661,7 +661,7 @@ var o = new api.Object(); buildCounterObject++; if (buildCounterObject < 3) { - o.acl = buildUnnamed711(); + o.acl = buildUnnamed685(); o.bucket = "foo"; o.cacheControl = "foo"; o.componentCount = 42; @@ -676,7 +676,7 @@ o.kind = "foo"; o.md5Hash = "foo"; o.mediaLink = "foo"; - o.metadata = buildUnnamed712(); + o.metadata = buildUnnamed686(); o.metageneration = "foo"; o.name = "foo"; o.owner = buildObjectOwner(); @@ -693,7 +693,7 @@ checkObject(api.Object o) { buildCounterObject++; if (buildCounterObject < 3) { - checkUnnamed711(o.acl); + checkUnnamed685(o.acl); unittest.expect(o.bucket, unittest.equals('foo')); unittest.expect(o.cacheControl, unittest.equals('foo')); unittest.expect(o.componentCount, unittest.equals(42)); @@ -708,7 +708,7 @@ unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.md5Hash, unittest.equals('foo')); unittest.expect(o.mediaLink, unittest.equals('foo')); - checkUnnamed712(o.metadata); + checkUnnamed686(o.metadata); unittest.expect(o.metageneration, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); checkObjectOwner(o.owner); @@ -785,14 +785,14 @@ buildCounterObjectAccessControl--; } -buildUnnamed713() { +buildUnnamed687() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed713(core.List<core.Object> o) { +checkUnnamed687(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); @@ -803,7 +803,7 @@ var o = new api.ObjectAccessControls(); buildCounterObjectAccessControls++; if (buildCounterObjectAccessControls < 3) { - o.items = buildUnnamed713(); + o.items = buildUnnamed687(); o.kind = "foo"; } buildCounterObjectAccessControls--; @@ -813,33 +813,33 @@ checkObjectAccessControls(api.ObjectAccessControls o) { buildCounterObjectAccessControls++; if (buildCounterObjectAccessControls < 3) { - checkUnnamed713(o.items); + checkUnnamed687(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterObjectAccessControls--; } -buildUnnamed714() { +buildUnnamed688() { var o = new core.List<api.Object>(); o.add(buildObject()); o.add(buildObject()); return o; } -checkUnnamed714(core.List<api.Object> o) { +checkUnnamed688(core.List<api.Object> o) { unittest.expect(o, unittest.hasLength(2)); checkObject(o[0]); checkObject(o[1]); } -buildUnnamed715() { +buildUnnamed689() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed715(core.List<core.String> o) { +checkUnnamed689(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -850,10 +850,10 @@ var o = new api.Objects(); buildCounterObjects++; if (buildCounterObjects < 3) { - o.items = buildUnnamed714(); + o.items = buildUnnamed688(); o.kind = "foo"; o.nextPageToken = "foo"; - o.prefixes = buildUnnamed715(); + o.prefixes = buildUnnamed689(); } buildCounterObjects--; return o; @@ -862,10 +862,10 @@ checkObjects(api.Objects o) { buildCounterObjects++; if (buildCounterObjects < 3) { - checkUnnamed714(o.items); + checkUnnamed688(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed715(o.prefixes); + checkUnnamed689(o.prefixes); } buildCounterObjects--; }
diff --git a/generated/googleapis/test/tasks/v1_test.dart b/generated/googleapis/test/tasks/v1_test.dart index 54a88c2..f641418 100644 --- a/generated/googleapis/test/tasks/v1_test.dart +++ b/generated/googleapis/test/tasks/v1_test.dart
@@ -39,14 +39,14 @@ buildCounterTaskLinks--; } -buildUnnamed593() { +buildUnnamed567() { var o = new core.List<api.TaskLinks>(); o.add(buildTaskLinks()); o.add(buildTaskLinks()); return o; } -checkUnnamed593(core.List<api.TaskLinks> o) { +checkUnnamed567(core.List<api.TaskLinks> o) { unittest.expect(o, unittest.hasLength(2)); checkTaskLinks(o[0]); checkTaskLinks(o[1]); @@ -64,7 +64,7 @@ o.hidden = true; o.id = "foo"; o.kind = "foo"; - o.links = buildUnnamed593(); + o.links = buildUnnamed567(); o.notes = "foo"; o.parent = "foo"; o.position = "foo"; @@ -87,7 +87,7 @@ unittest.expect(o.hidden, unittest.isTrue); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed593(o.links); + checkUnnamed567(o.links); unittest.expect(o.notes, unittest.equals('foo')); unittest.expect(o.parent, unittest.equals('foo')); unittest.expect(o.position, unittest.equals('foo')); @@ -128,14 +128,14 @@ buildCounterTaskList--; } -buildUnnamed594() { +buildUnnamed568() { var o = new core.List<api.TaskList>(); o.add(buildTaskList()); o.add(buildTaskList()); return o; } -checkUnnamed594(core.List<api.TaskList> o) { +checkUnnamed568(core.List<api.TaskList> o) { unittest.expect(o, unittest.hasLength(2)); checkTaskList(o[0]); checkTaskList(o[1]); @@ -147,7 +147,7 @@ buildCounterTaskLists++; if (buildCounterTaskLists < 3) { o.etag = "foo"; - o.items = buildUnnamed594(); + o.items = buildUnnamed568(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -159,21 +159,21 @@ buildCounterTaskLists++; if (buildCounterTaskLists < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed594(o.items); + checkUnnamed568(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterTaskLists--; } -buildUnnamed595() { +buildUnnamed569() { var o = new core.List<api.Task>(); o.add(buildTask()); o.add(buildTask()); return o; } -checkUnnamed595(core.List<api.Task> o) { +checkUnnamed569(core.List<api.Task> o) { unittest.expect(o, unittest.hasLength(2)); checkTask(o[0]); checkTask(o[1]); @@ -185,7 +185,7 @@ buildCounterTasks++; if (buildCounterTasks < 3) { o.etag = "foo"; - o.items = buildUnnamed595(); + o.items = buildUnnamed569(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -197,7 +197,7 @@ buildCounterTasks++; if (buildCounterTasks < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed595(o.items); + checkUnnamed569(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); }
diff --git a/generated/googleapis/test/translate/v2_test.dart b/generated/googleapis/test/translate/v2_test.dart index 70333a7..13a0943 100644 --- a/generated/googleapis/test/translate/v2_test.dart +++ b/generated/googleapis/test/translate/v2_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed818() { +buildUnnamed792() { var o = new core.List<api.DetectionsResource>(); o.add(buildDetectionsResource()); o.add(buildDetectionsResource()); return o; } -checkUnnamed818(core.List<api.DetectionsResource> o) { +checkUnnamed792(core.List<api.DetectionsResource> o) { unittest.expect(o, unittest.hasLength(2)); checkDetectionsResource(o[0]); checkDetectionsResource(o[1]); @@ -34,7 +34,7 @@ var o = new api.DetectionsListResponse(); buildCounterDetectionsListResponse++; if (buildCounterDetectionsListResponse < 3) { - o.detections = buildUnnamed818(); + o.detections = buildUnnamed792(); } buildCounterDetectionsListResponse--; return o; @@ -43,7 +43,7 @@ checkDetectionsListResponse(api.DetectionsListResponse o) { buildCounterDetectionsListResponse++; if (buildCounterDetectionsListResponse < 3) { - checkUnnamed818(o.detections); + checkUnnamed792(o.detections); } buildCounterDetectionsListResponse--; } @@ -84,14 +84,14 @@ checkDetectionsResourceElement(o[1]); } -buildUnnamed819() { +buildUnnamed793() { var o = new core.List<api.LanguagesResource>(); o.add(buildLanguagesResource()); o.add(buildLanguagesResource()); return o; } -checkUnnamed819(core.List<api.LanguagesResource> o) { +checkUnnamed793(core.List<api.LanguagesResource> o) { unittest.expect(o, unittest.hasLength(2)); checkLanguagesResource(o[0]); checkLanguagesResource(o[1]); @@ -102,7 +102,7 @@ var o = new api.LanguagesListResponse(); buildCounterLanguagesListResponse++; if (buildCounterLanguagesListResponse < 3) { - o.languages = buildUnnamed819(); + o.languages = buildUnnamed793(); } buildCounterLanguagesListResponse--; return o; @@ -111,7 +111,7 @@ checkLanguagesListResponse(api.LanguagesListResponse o) { buildCounterLanguagesListResponse++; if (buildCounterLanguagesListResponse < 3) { - checkUnnamed819(o.languages); + checkUnnamed793(o.languages); } buildCounterLanguagesListResponse--; } @@ -137,14 +137,14 @@ buildCounterLanguagesResource--; } -buildUnnamed820() { +buildUnnamed794() { var o = new core.List<api.TranslationsResource>(); o.add(buildTranslationsResource()); o.add(buildTranslationsResource()); return o; } -checkUnnamed820(core.List<api.TranslationsResource> o) { +checkUnnamed794(core.List<api.TranslationsResource> o) { unittest.expect(o, unittest.hasLength(2)); checkTranslationsResource(o[0]); checkTranslationsResource(o[1]); @@ -155,7 +155,7 @@ var o = new api.TranslationsListResponse(); buildCounterTranslationsListResponse++; if (buildCounterTranslationsListResponse < 3) { - o.translations = buildUnnamed820(); + o.translations = buildUnnamed794(); } buildCounterTranslationsListResponse--; return o; @@ -164,7 +164,7 @@ checkTranslationsListResponse(api.TranslationsListResponse o) { buildCounterTranslationsListResponse++; if (buildCounterTranslationsListResponse < 3) { - checkUnnamed820(o.translations); + checkUnnamed794(o.translations); } buildCounterTranslationsListResponse--; } @@ -190,40 +190,40 @@ buildCounterTranslationsResource--; } -buildUnnamed821() { +buildUnnamed795() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed821(core.List<core.String> o) { +checkUnnamed795(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed822() { +buildUnnamed796() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed822(core.List<core.String> o) { +checkUnnamed796(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed823() { +buildUnnamed797() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed823(core.List<core.String> o) { +checkUnnamed797(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -299,7 +299,7 @@ var mock = new common_test.HttpServerMock(); api.DetectionsResourceApi res = new api.TranslateApi(mock).detections; - var arg_q = buildUnnamed821(); + var arg_q = buildUnnamed795(); mock.register(unittest.expectAsync((http.BaseRequest req, json) { var path = (req.url).path; var pathOffset = 0; @@ -401,9 +401,9 @@ var mock = new common_test.HttpServerMock(); api.TranslationsResourceApi res = new api.TranslateApi(mock).translations; - var arg_q = buildUnnamed822(); + var arg_q = buildUnnamed796(); var arg_target = "foo"; - var arg_cid = buildUnnamed823(); + var arg_cid = buildUnnamed797(); var arg_format = "foo"; var arg_source = "foo"; mock.register(unittest.expectAsync((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/webfonts/v1_test.dart b/generated/googleapis/test/webfonts/v1_test.dart index 8467f5f..277175f 100644 --- a/generated/googleapis/test/webfonts/v1_test.dart +++ b/generated/googleapis/test/webfonts/v1_test.dart
@@ -16,32 +16,19 @@ -buildUnnamed78() { +buildUnnamed79() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed78(core.Map<core.String, core.String> o) { +checkUnnamed79(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); } -buildUnnamed79() { - var o = new core.List<core.String>(); - o.add("foo"); - o.add("foo"); - return o; -} - -checkUnnamed79(core.List<core.String> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect(o[0], unittest.equals('foo')); - unittest.expect(o[1], unittest.equals('foo')); -} - buildUnnamed80() { var o = new core.List<core.String>(); o.add("foo"); @@ -55,6 +42,19 @@ unittest.expect(o[1], unittest.equals('foo')); } +buildUnnamed81() { + var o = new core.List<core.String>(); + o.add("foo"); + o.add("foo"); + return o; +} + +checkUnnamed81(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect(o[0], unittest.equals('foo')); + unittest.expect(o[1], unittest.equals('foo')); +} + core.int buildCounterWebfont = 0; buildWebfont() { var o = new api.Webfont(); @@ -62,11 +62,11 @@ if (buildCounterWebfont < 3) { o.category = "foo"; o.family = "foo"; - o.files = buildUnnamed78(); + o.files = buildUnnamed79(); o.kind = "foo"; o.lastModified = core.DateTime.parse("2002-02-27T14:01:02Z"); - o.subsets = buildUnnamed79(); - o.variants = buildUnnamed80(); + o.subsets = buildUnnamed80(); + o.variants = buildUnnamed81(); o.version = "foo"; } buildCounterWebfont--; @@ -78,24 +78,24 @@ if (buildCounterWebfont < 3) { unittest.expect(o.category, unittest.equals('foo')); unittest.expect(o.family, unittest.equals('foo')); - checkUnnamed78(o.files); + checkUnnamed79(o.files); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.lastModified, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00"))); - checkUnnamed79(o.subsets); - checkUnnamed80(o.variants); + checkUnnamed80(o.subsets); + checkUnnamed81(o.variants); unittest.expect(o.version, unittest.equals('foo')); } buildCounterWebfont--; } -buildUnnamed81() { +buildUnnamed82() { var o = new core.List<api.Webfont>(); o.add(buildWebfont()); o.add(buildWebfont()); return o; } -checkUnnamed81(core.List<api.Webfont> o) { +checkUnnamed82(core.List<api.Webfont> o) { unittest.expect(o, unittest.hasLength(2)); checkWebfont(o[0]); checkWebfont(o[1]); @@ -106,7 +106,7 @@ var o = new api.WebfontList(); buildCounterWebfontList++; if (buildCounterWebfontList < 3) { - o.items = buildUnnamed81(); + o.items = buildUnnamed82(); o.kind = "foo"; } buildCounterWebfontList--; @@ -116,7 +116,7 @@ checkWebfontList(api.WebfontList o) { buildCounterWebfontList++; if (buildCounterWebfontList < 3) { - checkUnnamed81(o.items); + checkUnnamed82(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterWebfontList--;
diff --git a/generated/googleapis/test/webmasters/v3_test.dart b/generated/googleapis/test/webmasters/v3_test.dart index 7ba1321..c3db227 100644 --- a/generated/googleapis/test/webmasters/v3_test.dart +++ b/generated/googleapis/test/webmasters/v3_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed82() { +buildUnnamed83() { var o = new core.List<api.WmxSitemap>(); o.add(buildWmxSitemap()); o.add(buildWmxSitemap()); return o; } -checkUnnamed82(core.List<api.WmxSitemap> o) { +checkUnnamed83(core.List<api.WmxSitemap> o) { unittest.expect(o, unittest.hasLength(2)); checkWmxSitemap(o[0]); checkWmxSitemap(o[1]); @@ -34,7 +34,7 @@ var o = new api.SitemapsListResponse(); buildCounterSitemapsListResponse++; if (buildCounterSitemapsListResponse < 3) { - o.sitemap = buildUnnamed82(); + o.sitemap = buildUnnamed83(); } buildCounterSitemapsListResponse--; return o; @@ -43,19 +43,19 @@ checkSitemapsListResponse(api.SitemapsListResponse o) { buildCounterSitemapsListResponse++; if (buildCounterSitemapsListResponse < 3) { - checkUnnamed82(o.sitemap); + checkUnnamed83(o.sitemap); } buildCounterSitemapsListResponse--; } -buildUnnamed83() { +buildUnnamed84() { var o = new core.List<api.WmxSite>(); o.add(buildWmxSite()); o.add(buildWmxSite()); return o; } -checkUnnamed83(core.List<api.WmxSite> o) { +checkUnnamed84(core.List<api.WmxSite> o) { unittest.expect(o, unittest.hasLength(2)); checkWmxSite(o[0]); checkWmxSite(o[1]); @@ -66,7 +66,7 @@ var o = new api.SitesListResponse(); buildCounterSitesListResponse++; if (buildCounterSitesListResponse < 3) { - o.siteEntry = buildUnnamed83(); + o.siteEntry = buildUnnamed84(); } buildCounterSitesListResponse--; return o; @@ -75,7 +75,7 @@ checkSitesListResponse(api.SitesListResponse o) { buildCounterSitesListResponse++; if (buildCounterSitesListResponse < 3) { - checkUnnamed83(o.siteEntry); + checkUnnamed84(o.siteEntry); } buildCounterSitesListResponse--; } @@ -101,14 +101,14 @@ buildCounterUrlCrawlErrorCount--; } -buildUnnamed84() { +buildUnnamed85() { var o = new core.List<api.UrlCrawlErrorCount>(); o.add(buildUrlCrawlErrorCount()); o.add(buildUrlCrawlErrorCount()); return o; } -checkUnnamed84(core.List<api.UrlCrawlErrorCount> o) { +checkUnnamed85(core.List<api.UrlCrawlErrorCount> o) { unittest.expect(o, unittest.hasLength(2)); checkUrlCrawlErrorCount(o[0]); checkUrlCrawlErrorCount(o[1]); @@ -120,7 +120,7 @@ buildCounterUrlCrawlErrorCountsPerType++; if (buildCounterUrlCrawlErrorCountsPerType < 3) { o.category = "foo"; - o.entries = buildUnnamed84(); + o.entries = buildUnnamed85(); o.platform = "foo"; } buildCounterUrlCrawlErrorCountsPerType--; @@ -131,20 +131,20 @@ buildCounterUrlCrawlErrorCountsPerType++; if (buildCounterUrlCrawlErrorCountsPerType < 3) { unittest.expect(o.category, unittest.equals('foo')); - checkUnnamed84(o.entries); + checkUnnamed85(o.entries); unittest.expect(o.platform, unittest.equals('foo')); } buildCounterUrlCrawlErrorCountsPerType--; } -buildUnnamed85() { +buildUnnamed86() { var o = new core.List<api.UrlCrawlErrorCountsPerType>(); o.add(buildUrlCrawlErrorCountsPerType()); o.add(buildUrlCrawlErrorCountsPerType()); return o; } -checkUnnamed85(core.List<api.UrlCrawlErrorCountsPerType> o) { +checkUnnamed86(core.List<api.UrlCrawlErrorCountsPerType> o) { unittest.expect(o, unittest.hasLength(2)); checkUrlCrawlErrorCountsPerType(o[0]); checkUrlCrawlErrorCountsPerType(o[1]); @@ -155,7 +155,7 @@ var o = new api.UrlCrawlErrorsCountsQueryResponse(); buildCounterUrlCrawlErrorsCountsQueryResponse++; if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) { - o.countPerTypes = buildUnnamed85(); + o.countPerTypes = buildUnnamed86(); } buildCounterUrlCrawlErrorsCountsQueryResponse--; return o; @@ -164,7 +164,7 @@ checkUrlCrawlErrorsCountsQueryResponse(api.UrlCrawlErrorsCountsQueryResponse o) { buildCounterUrlCrawlErrorsCountsQueryResponse++; if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) { - checkUnnamed85(o.countPerTypes); + checkUnnamed86(o.countPerTypes); } buildCounterUrlCrawlErrorsCountsQueryResponse--; } @@ -196,14 +196,14 @@ buildCounterUrlCrawlErrorsSample--; } -buildUnnamed86() { +buildUnnamed87() { var o = new core.List<api.UrlCrawlErrorsSample>(); o.add(buildUrlCrawlErrorsSample()); o.add(buildUrlCrawlErrorsSample()); return o; } -checkUnnamed86(core.List<api.UrlCrawlErrorsSample> o) { +checkUnnamed87(core.List<api.UrlCrawlErrorsSample> o) { unittest.expect(o, unittest.hasLength(2)); checkUrlCrawlErrorsSample(o[0]); checkUrlCrawlErrorsSample(o[1]); @@ -214,7 +214,7 @@ var o = new api.UrlCrawlErrorsSamplesListResponse(); buildCounterUrlCrawlErrorsSamplesListResponse++; if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) { - o.urlCrawlErrorSample = buildUnnamed86(); + o.urlCrawlErrorSample = buildUnnamed87(); } buildCounterUrlCrawlErrorsSamplesListResponse--; return o; @@ -223,24 +223,11 @@ checkUrlCrawlErrorsSamplesListResponse(api.UrlCrawlErrorsSamplesListResponse o) { buildCounterUrlCrawlErrorsSamplesListResponse++; if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) { - checkUnnamed86(o.urlCrawlErrorSample); + checkUnnamed87(o.urlCrawlErrorSample); } buildCounterUrlCrawlErrorsSamplesListResponse--; } -buildUnnamed87() { - var o = new core.List<core.String>(); - o.add("foo"); - o.add("foo"); - return o; -} - -checkUnnamed87(core.List<core.String> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect(o[0], unittest.equals('foo')); - unittest.expect(o[1], unittest.equals('foo')); -} - buildUnnamed88() { var o = new core.List<core.String>(); o.add("foo"); @@ -254,13 +241,26 @@ unittest.expect(o[1], unittest.equals('foo')); } +buildUnnamed89() { + var o = new core.List<core.String>(); + o.add("foo"); + o.add("foo"); + return o; +} + +checkUnnamed89(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect(o[0], unittest.equals('foo')); + unittest.expect(o[1], unittest.equals('foo')); +} + core.int buildCounterUrlSampleDetails = 0; buildUrlSampleDetails() { var o = new api.UrlSampleDetails(); buildCounterUrlSampleDetails++; if (buildCounterUrlSampleDetails < 3) { - o.containingSitemaps = buildUnnamed87(); - o.linkedFromUrls = buildUnnamed88(); + o.containingSitemaps = buildUnnamed88(); + o.linkedFromUrls = buildUnnamed89(); } buildCounterUrlSampleDetails--; return o; @@ -269,8 +269,8 @@ checkUrlSampleDetails(api.UrlSampleDetails o) { buildCounterUrlSampleDetails++; if (buildCounterUrlSampleDetails < 3) { - checkUnnamed87(o.containingSitemaps); - checkUnnamed88(o.linkedFromUrls); + checkUnnamed88(o.containingSitemaps); + checkUnnamed89(o.linkedFromUrls); } buildCounterUrlSampleDetails--; } @@ -296,14 +296,14 @@ buildCounterWmxSite--; } -buildUnnamed89() { +buildUnnamed90() { var o = new core.List<api.WmxSitemapContent>(); o.add(buildWmxSitemapContent()); o.add(buildWmxSitemapContent()); return o; } -checkUnnamed89(core.List<api.WmxSitemapContent> o) { +checkUnnamed90(core.List<api.WmxSitemapContent> o) { unittest.expect(o, unittest.hasLength(2)); checkWmxSitemapContent(o[0]); checkWmxSitemapContent(o[1]); @@ -314,7 +314,7 @@ var o = new api.WmxSitemap(); buildCounterWmxSitemap++; if (buildCounterWmxSitemap < 3) { - o.contents = buildUnnamed89(); + o.contents = buildUnnamed90(); o.errors = "foo"; o.isPending = true; o.isSitemapsIndex = true; @@ -331,7 +331,7 @@ checkWmxSitemap(api.WmxSitemap o) { buildCounterWmxSitemap++; if (buildCounterWmxSitemap < 3) { - checkUnnamed89(o.contents); + checkUnnamed90(o.contents); unittest.expect(o.errors, unittest.equals('foo')); unittest.expect(o.isPending, unittest.isTrue); unittest.expect(o.isSitemapsIndex, unittest.isTrue);
diff --git a/generated/googleapis/test/youtube/v3_test.dart b/generated/googleapis/test/youtube/v3_test.dart index e9fc5e7..95b30d8 100644 --- a/generated/googleapis/test/youtube/v3_test.dart +++ b/generated/googleapis/test/youtube/v3_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed1009() { +buildUnnamed987() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1009(core.List<core.String> o) { +checkUnnamed987(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -35,7 +35,7 @@ buildCounterAccessPolicy++; if (buildCounterAccessPolicy < 3) { o.allowed = true; - o.exception = buildUnnamed1009(); + o.exception = buildUnnamed987(); } buildCounterAccessPolicy--; return o; @@ -45,7 +45,7 @@ buildCounterAccessPolicy++; if (buildCounterAccessPolicy < 3) { unittest.expect(o.allowed, unittest.isTrue); - checkUnnamed1009(o.exception); + checkUnnamed987(o.exception); } buildCounterAccessPolicy--; } @@ -234,27 +234,27 @@ buildCounterActivityContentDetailsPlaylistItem--; } -buildUnnamed1010() { +buildUnnamed988() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1010(core.List<core.String> o) { +checkUnnamed988(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1011() { +buildUnnamed989() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1011(core.List<core.String> o) { +checkUnnamed989(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -272,8 +272,8 @@ o.customCtaButtonText = "foo"; o.descriptionText = "foo"; o.destinationUrl = "foo"; - o.forecastingUrl = buildUnnamed1010(); - o.impressionUrl = buildUnnamed1011(); + o.forecastingUrl = buildUnnamed988(); + o.impressionUrl = buildUnnamed989(); o.videoId = "foo"; } buildCounterActivityContentDetailsPromotedItem--; @@ -290,8 +290,8 @@ unittest.expect(o.customCtaButtonText, unittest.equals('foo')); unittest.expect(o.descriptionText, unittest.equals('foo')); unittest.expect(o.destinationUrl, unittest.equals('foo')); - checkUnnamed1010(o.forecastingUrl); - checkUnnamed1011(o.impressionUrl); + checkUnnamed988(o.forecastingUrl); + checkUnnamed989(o.impressionUrl); unittest.expect(o.videoId, unittest.equals('foo')); } buildCounterActivityContentDetailsPromotedItem--; @@ -385,14 +385,14 @@ buildCounterActivityContentDetailsUpload--; } -buildUnnamed1012() { +buildUnnamed990() { var o = new core.List<api.Activity>(); o.add(buildActivity()); o.add(buildActivity()); return o; } -checkUnnamed1012(core.List<api.Activity> o) { +checkUnnamed990(core.List<api.Activity> o) { unittest.expect(o, unittest.hasLength(2)); checkActivity(o[0]); checkActivity(o[1]); @@ -405,7 +405,7 @@ if (buildCounterActivityListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1012(); + o.items = buildUnnamed990(); o.kind = "foo"; o.nextPageToken = "foo"; o.pageInfo = buildPageInfo(); @@ -422,7 +422,7 @@ if (buildCounterActivityListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1012(o.items); + checkUnnamed990(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPageInfo(o.pageInfo); @@ -580,14 +580,14 @@ buildCounterChannelBannerResource--; } -buildUnnamed1013() { +buildUnnamed991() { var o = new core.List<api.PropertyValue>(); o.add(buildPropertyValue()); o.add(buildPropertyValue()); return o; } -checkUnnamed1013(core.List<api.PropertyValue> o) { +checkUnnamed991(core.List<api.PropertyValue> o) { unittest.expect(o, unittest.hasLength(2)); checkPropertyValue(o[0]); checkPropertyValue(o[1]); @@ -599,7 +599,7 @@ buildCounterChannelBrandingSettings++; if (buildCounterChannelBrandingSettings < 3) { o.channel = buildChannelSettings(); - o.hints = buildUnnamed1013(); + o.hints = buildUnnamed991(); o.image = buildImageSettings(); o.watch = buildWatchSettings(); } @@ -611,7 +611,7 @@ buildCounterChannelBrandingSettings++; if (buildCounterChannelBrandingSettings < 3) { checkChannelSettings(o.channel); - checkUnnamed1013(o.hints); + checkUnnamed991(o.hints); checkImageSettings(o.image); checkWatchSettings(o.watch); } @@ -708,14 +708,14 @@ buildCounterChannelConversionPing--; } -buildUnnamed1014() { +buildUnnamed992() { var o = new core.List<api.ChannelConversionPing>(); o.add(buildChannelConversionPing()); o.add(buildChannelConversionPing()); return o; } -checkUnnamed1014(core.List<api.ChannelConversionPing> o) { +checkUnnamed992(core.List<api.ChannelConversionPing> o) { unittest.expect(o, unittest.hasLength(2)); checkChannelConversionPing(o[0]); checkChannelConversionPing(o[1]); @@ -726,7 +726,7 @@ var o = new api.ChannelConversionPings(); buildCounterChannelConversionPings++; if (buildCounterChannelConversionPings < 3) { - o.pings = buildUnnamed1014(); + o.pings = buildUnnamed992(); } buildCounterChannelConversionPings--; return o; @@ -735,19 +735,19 @@ checkChannelConversionPings(api.ChannelConversionPings o) { buildCounterChannelConversionPings++; if (buildCounterChannelConversionPings < 3) { - checkUnnamed1014(o.pings); + checkUnnamed992(o.pings); } buildCounterChannelConversionPings--; } -buildUnnamed1015() { +buildUnnamed993() { var o = new core.List<api.Channel>(); o.add(buildChannel()); o.add(buildChannel()); return o; } -checkUnnamed1015(core.List<api.Channel> o) { +checkUnnamed993(core.List<api.Channel> o) { unittest.expect(o, unittest.hasLength(2)); checkChannel(o[0]); checkChannel(o[1]); @@ -760,7 +760,7 @@ if (buildCounterChannelListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1015(); + o.items = buildUnnamed993(); o.kind = "foo"; o.nextPageToken = "foo"; o.pageInfo = buildPageInfo(); @@ -777,7 +777,7 @@ if (buildCounterChannelListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1015(o.items); + checkUnnamed993(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPageInfo(o.pageInfo); @@ -815,27 +815,27 @@ buildCounterChannelSection--; } -buildUnnamed1016() { +buildUnnamed994() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1016(core.List<core.String> o) { +checkUnnamed994(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1017() { +buildUnnamed995() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1017(core.List<core.String> o) { +checkUnnamed995(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -846,8 +846,8 @@ var o = new api.ChannelSectionContentDetails(); buildCounterChannelSectionContentDetails++; if (buildCounterChannelSectionContentDetails < 3) { - o.channels = buildUnnamed1016(); - o.playlists = buildUnnamed1017(); + o.channels = buildUnnamed994(); + o.playlists = buildUnnamed995(); } buildCounterChannelSectionContentDetails--; return o; @@ -856,20 +856,20 @@ checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { buildCounterChannelSectionContentDetails++; if (buildCounterChannelSectionContentDetails < 3) { - checkUnnamed1016(o.channels); - checkUnnamed1017(o.playlists); + checkUnnamed994(o.channels); + checkUnnamed995(o.playlists); } buildCounterChannelSectionContentDetails--; } -buildUnnamed1018() { +buildUnnamed996() { var o = new core.List<api.ChannelSection>(); o.add(buildChannelSection()); o.add(buildChannelSection()); return o; } -checkUnnamed1018(core.List<api.ChannelSection> o) { +checkUnnamed996(core.List<api.ChannelSection> o) { unittest.expect(o, unittest.hasLength(2)); checkChannelSection(o[0]); checkChannelSection(o[1]); @@ -882,7 +882,7 @@ if (buildCounterChannelSectionListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1018(); + o.items = buildUnnamed996(); o.kind = "foo"; o.visitorId = "foo"; } @@ -895,7 +895,7 @@ if (buildCounterChannelSectionListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1018(o.items); + checkUnnamed996(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.visitorId, unittest.equals('foo')); } @@ -929,14 +929,14 @@ buildCounterChannelSectionSnippet--; } -buildUnnamed1019() { +buildUnnamed997() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1019(core.List<core.String> o) { +checkUnnamed997(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -950,7 +950,7 @@ o.defaultTab = "foo"; o.description = "foo"; o.featuredChannelsTitle = "foo"; - o.featuredChannelsUrls = buildUnnamed1019(); + o.featuredChannelsUrls = buildUnnamed997(); o.keywords = "foo"; o.moderateComments = true; o.profileColor = "foo"; @@ -970,7 +970,7 @@ unittest.expect(o.defaultTab, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); - checkUnnamed1019(o.featuredChannelsUrls); + checkUnnamed997(o.featuredChannelsUrls); unittest.expect(o.keywords, unittest.equals('foo')); unittest.expect(o.moderateComments, unittest.isTrue); unittest.expect(o.profileColor, unittest.equals('foo')); @@ -1058,14 +1058,14 @@ buildCounterChannelStatus--; } -buildUnnamed1020() { +buildUnnamed998() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1020(core.List<core.String> o) { +checkUnnamed998(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1076,7 +1076,7 @@ var o = new api.ChannelTopicDetails(); buildCounterChannelTopicDetails++; if (buildCounterChannelTopicDetails < 3) { - o.topicIds = buildUnnamed1020(); + o.topicIds = buildUnnamed998(); } buildCounterChannelTopicDetails--; return o; @@ -1085,7 +1085,7 @@ checkChannelTopicDetails(api.ChannelTopicDetails o) { buildCounterChannelTopicDetails++; if (buildCounterChannelTopicDetails < 3) { - checkUnnamed1020(o.topicIds); + checkUnnamed998(o.topicIds); } buildCounterChannelTopicDetails--; } @@ -1281,14 +1281,14 @@ buildCounterGuideCategory--; } -buildUnnamed1021() { +buildUnnamed999() { var o = new core.List<api.GuideCategory>(); o.add(buildGuideCategory()); o.add(buildGuideCategory()); return o; } -checkUnnamed1021(core.List<api.GuideCategory> o) { +checkUnnamed999(core.List<api.GuideCategory> o) { unittest.expect(o, unittest.hasLength(2)); checkGuideCategory(o[0]); checkGuideCategory(o[1]); @@ -1301,7 +1301,7 @@ if (buildCounterGuideCategoryListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1021(); + o.items = buildUnnamed999(); o.kind = "foo"; o.nextPageToken = "foo"; o.pageInfo = buildPageInfo(); @@ -1318,7 +1318,7 @@ if (buildCounterGuideCategoryListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1021(o.items); + checkUnnamed999(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPageInfo(o.pageInfo); @@ -1375,14 +1375,14 @@ buildCounterI18nLanguage--; } -buildUnnamed1022() { +buildUnnamed1000() { var o = new core.List<api.I18nLanguage>(); o.add(buildI18nLanguage()); o.add(buildI18nLanguage()); return o; } -checkUnnamed1022(core.List<api.I18nLanguage> o) { +checkUnnamed1000(core.List<api.I18nLanguage> o) { unittest.expect(o, unittest.hasLength(2)); checkI18nLanguage(o[0]); checkI18nLanguage(o[1]); @@ -1395,7 +1395,7 @@ if (buildCounterI18nLanguageListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1022(); + o.items = buildUnnamed1000(); o.kind = "foo"; o.visitorId = "foo"; } @@ -1408,7 +1408,7 @@ if (buildCounterI18nLanguageListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1022(o.items); + checkUnnamed1000(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.visitorId, unittest.equals('foo')); } @@ -1461,14 +1461,14 @@ buildCounterI18nRegion--; } -buildUnnamed1023() { +buildUnnamed1001() { var o = new core.List<api.I18nRegion>(); o.add(buildI18nRegion()); o.add(buildI18nRegion()); return o; } -checkUnnamed1023(core.List<api.I18nRegion> o) { +checkUnnamed1001(core.List<api.I18nRegion> o) { unittest.expect(o, unittest.hasLength(2)); checkI18nRegion(o[0]); checkI18nRegion(o[1]); @@ -1481,7 +1481,7 @@ if (buildCounterI18nRegionListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1023(); + o.items = buildUnnamed1001(); o.kind = "foo"; o.visitorId = "foo"; } @@ -1494,7 +1494,7 @@ if (buildCounterI18nRegionListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1023(o.items); + checkUnnamed1001(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.visitorId, unittest.equals('foo')); } @@ -1654,14 +1654,14 @@ buildCounterInvideoPosition--; } -buildUnnamed1024() { +buildUnnamed1002() { var o = new core.List<api.PromotedItem>(); o.add(buildPromotedItem()); o.add(buildPromotedItem()); return o; } -checkUnnamed1024(core.List<api.PromotedItem> o) { +checkUnnamed1002(core.List<api.PromotedItem> o) { unittest.expect(o, unittest.hasLength(2)); checkPromotedItem(o[0]); checkPromotedItem(o[1]); @@ -1673,7 +1673,7 @@ buildCounterInvideoPromotion++; if (buildCounterInvideoPromotion < 3) { o.defaultTiming = buildInvideoTiming(); - o.items = buildUnnamed1024(); + o.items = buildUnnamed1002(); o.position = buildInvideoPosition(); o.useSmartTiming = true; } @@ -1685,7 +1685,7 @@ buildCounterInvideoPromotion++; if (buildCounterInvideoPromotion < 3) { checkInvideoTiming(o.defaultTiming); - checkUnnamed1024(o.items); + checkUnnamed1002(o.items); checkInvideoPosition(o.position); unittest.expect(o.useSmartTiming, unittest.isTrue); } @@ -1777,14 +1777,14 @@ buildCounterLiveBroadcastContentDetails--; } -buildUnnamed1025() { +buildUnnamed1003() { var o = new core.List<api.LiveBroadcast>(); o.add(buildLiveBroadcast()); o.add(buildLiveBroadcast()); return o; } -checkUnnamed1025(core.List<api.LiveBroadcast> o) { +checkUnnamed1003(core.List<api.LiveBroadcast> o) { unittest.expect(o, unittest.hasLength(2)); checkLiveBroadcast(o[0]); checkLiveBroadcast(o[1]); @@ -1797,7 +1797,7 @@ if (buildCounterLiveBroadcastListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1025(); + o.items = buildUnnamed1003(); o.kind = "foo"; o.nextPageToken = "foo"; o.pageInfo = buildPageInfo(); @@ -1814,7 +1814,7 @@ if (buildCounterLiveBroadcastListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1025(o.items); + checkUnnamed1003(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPageInfo(o.pageInfo); @@ -1937,14 +1937,14 @@ buildCounterLiveStreamContentDetails--; } -buildUnnamed1026() { +buildUnnamed1004() { var o = new core.List<api.LiveStream>(); o.add(buildLiveStream()); o.add(buildLiveStream()); return o; } -checkUnnamed1026(core.List<api.LiveStream> o) { +checkUnnamed1004(core.List<api.LiveStream> o) { unittest.expect(o, unittest.hasLength(2)); checkLiveStream(o[0]); checkLiveStream(o[1]); @@ -1957,7 +1957,7 @@ if (buildCounterLiveStreamListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1026(); + o.items = buildUnnamed1004(); o.kind = "foo"; o.nextPageToken = "foo"; o.pageInfo = buildPageInfo(); @@ -1974,7 +1974,7 @@ if (buildCounterLiveStreamListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1026(o.items); + checkUnnamed1004(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPageInfo(o.pageInfo); @@ -2029,14 +2029,14 @@ buildCounterLiveStreamStatus--; } -buildUnnamed1027() { +buildUnnamed1005() { var o = new core.List<api.LocalizedString>(); o.add(buildLocalizedString()); o.add(buildLocalizedString()); return o; } -checkUnnamed1027(core.List<api.LocalizedString> o) { +checkUnnamed1005(core.List<api.LocalizedString> o) { unittest.expect(o, unittest.hasLength(2)); checkLocalizedString(o[0]); checkLocalizedString(o[1]); @@ -2048,7 +2048,7 @@ buildCounterLocalizedProperty++; if (buildCounterLocalizedProperty < 3) { o.default_ = "foo"; - o.localized = buildUnnamed1027(); + o.localized = buildUnnamed1005(); } buildCounterLocalizedProperty--; return o; @@ -2058,7 +2058,7 @@ buildCounterLocalizedProperty++; if (buildCounterLocalizedProperty < 3) { unittest.expect(o.default_, unittest.equals('foo')); - checkUnnamed1027(o.localized); + checkUnnamed1005(o.localized); } buildCounterLocalizedProperty--; } @@ -2232,14 +2232,14 @@ buildCounterPlaylistItemContentDetails--; } -buildUnnamed1028() { +buildUnnamed1006() { var o = new core.List<api.PlaylistItem>(); o.add(buildPlaylistItem()); o.add(buildPlaylistItem()); return o; } -checkUnnamed1028(core.List<api.PlaylistItem> o) { +checkUnnamed1006(core.List<api.PlaylistItem> o) { unittest.expect(o, unittest.hasLength(2)); checkPlaylistItem(o[0]); checkPlaylistItem(o[1]); @@ -2252,7 +2252,7 @@ if (buildCounterPlaylistItemListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1028(); + o.items = buildUnnamed1006(); o.kind = "foo"; o.nextPageToken = "foo"; o.pageInfo = buildPageInfo(); @@ -2269,7 +2269,7 @@ if (buildCounterPlaylistItemListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1028(o.items); + checkUnnamed1006(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPageInfo(o.pageInfo); @@ -2334,14 +2334,14 @@ buildCounterPlaylistItemStatus--; } -buildUnnamed1029() { +buildUnnamed1007() { var o = new core.List<api.Playlist>(); o.add(buildPlaylist()); o.add(buildPlaylist()); return o; } -checkUnnamed1029(core.List<api.Playlist> o) { +checkUnnamed1007(core.List<api.Playlist> o) { unittest.expect(o, unittest.hasLength(2)); checkPlaylist(o[0]); checkPlaylist(o[1]); @@ -2354,7 +2354,7 @@ if (buildCounterPlaylistListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1029(); + o.items = buildUnnamed1007(); o.kind = "foo"; o.nextPageToken = "foo"; o.pageInfo = buildPageInfo(); @@ -2371,7 +2371,7 @@ if (buildCounterPlaylistListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1029(o.items); + checkUnnamed1007(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPageInfo(o.pageInfo); @@ -2401,14 +2401,14 @@ buildCounterPlaylistPlayer--; } -buildUnnamed1030() { +buildUnnamed1008() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1030(core.List<core.String> o) { +checkUnnamed1008(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -2423,7 +2423,7 @@ o.channelTitle = "foo"; o.description = "foo"; o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); - o.tags = buildUnnamed1030(); + o.tags = buildUnnamed1008(); o.thumbnails = buildThumbnailDetails(); o.title = "foo"; } @@ -2438,7 +2438,7 @@ unittest.expect(o.channelTitle, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - checkUnnamed1030(o.tags); + checkUnnamed1008(o.tags); checkThumbnailDetails(o.thumbnails); unittest.expect(o.title, unittest.equals('foo')); } @@ -2560,14 +2560,14 @@ buildCounterResourceId--; } -buildUnnamed1031() { +buildUnnamed1009() { var o = new core.List<api.SearchResult>(); o.add(buildSearchResult()); o.add(buildSearchResult()); return o; } -checkUnnamed1031(core.List<api.SearchResult> o) { +checkUnnamed1009(core.List<api.SearchResult> o) { unittest.expect(o, unittest.hasLength(2)); checkSearchResult(o[0]); checkSearchResult(o[1]); @@ -2580,7 +2580,7 @@ if (buildCounterSearchListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1031(); + o.items = buildUnnamed1009(); o.kind = "foo"; o.nextPageToken = "foo"; o.pageInfo = buildPageInfo(); @@ -2597,7 +2597,7 @@ if (buildCounterSearchListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1031(o.items); + checkUnnamed1009(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPageInfo(o.pageInfo); @@ -2716,14 +2716,14 @@ buildCounterSubscriptionContentDetails--; } -buildUnnamed1032() { +buildUnnamed1010() { var o = new core.List<api.Subscription>(); o.add(buildSubscription()); o.add(buildSubscription()); return o; } -checkUnnamed1032(core.List<api.Subscription> o) { +checkUnnamed1010(core.List<api.Subscription> o) { unittest.expect(o, unittest.hasLength(2)); checkSubscription(o[0]); checkSubscription(o[1]); @@ -2736,7 +2736,7 @@ if (buildCounterSubscriptionListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1032(); + o.items = buildUnnamed1010(); o.kind = "foo"; o.nextPageToken = "foo"; o.pageInfo = buildPageInfo(); @@ -2753,7 +2753,7 @@ if (buildCounterSubscriptionListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1032(o.items); + checkUnnamed1010(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPageInfo(o.pageInfo); @@ -2870,14 +2870,14 @@ buildCounterThumbnailDetails--; } -buildUnnamed1033() { +buildUnnamed1011() { var o = new core.List<api.ThumbnailDetails>(); o.add(buildThumbnailDetails()); o.add(buildThumbnailDetails()); return o; } -checkUnnamed1033(core.List<api.ThumbnailDetails> o) { +checkUnnamed1011(core.List<api.ThumbnailDetails> o) { unittest.expect(o, unittest.hasLength(2)); checkThumbnailDetails(o[0]); checkThumbnailDetails(o[1]); @@ -2890,7 +2890,7 @@ if (buildCounterThumbnailSetResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1033(); + o.items = buildUnnamed1011(); o.kind = "foo"; o.visitorId = "foo"; } @@ -2903,7 +2903,7 @@ if (buildCounterThumbnailSetResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1033(o.items); + checkUnnamed1011(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.visitorId, unittest.equals('foo')); } @@ -3028,14 +3028,14 @@ buildCounterVideoCategory--; } -buildUnnamed1034() { +buildUnnamed1012() { var o = new core.List<api.VideoCategory>(); o.add(buildVideoCategory()); o.add(buildVideoCategory()); return o; } -checkUnnamed1034(core.List<api.VideoCategory> o) { +checkUnnamed1012(core.List<api.VideoCategory> o) { unittest.expect(o, unittest.hasLength(2)); checkVideoCategory(o[0]); checkVideoCategory(o[1]); @@ -3048,7 +3048,7 @@ if (buildCounterVideoCategoryListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1034(); + o.items = buildUnnamed1012(); o.kind = "foo"; o.nextPageToken = "foo"; o.pageInfo = buildPageInfo(); @@ -3065,7 +3065,7 @@ if (buildCounterVideoCategoryListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1034(o.items); + checkUnnamed1012(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPageInfo(o.pageInfo); @@ -3132,27 +3132,27 @@ buildCounterVideoContentDetails--; } -buildUnnamed1035() { +buildUnnamed1013() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1035(core.List<core.String> o) { +checkUnnamed1013(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1036() { +buildUnnamed1014() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1036(core.List<core.String> o) { +checkUnnamed1014(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3163,8 +3163,8 @@ var o = new api.VideoContentDetailsRegionRestriction(); buildCounterVideoContentDetailsRegionRestriction++; if (buildCounterVideoContentDetailsRegionRestriction < 3) { - o.allowed = buildUnnamed1035(); - o.blocked = buildUnnamed1036(); + o.allowed = buildUnnamed1013(); + o.blocked = buildUnnamed1014(); } buildCounterVideoContentDetailsRegionRestriction--; return o; @@ -3173,8 +3173,8 @@ checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestriction o) { buildCounterVideoContentDetailsRegionRestriction++; if (buildCounterVideoContentDetailsRegionRestriction < 3) { - checkUnnamed1035(o.allowed); - checkUnnamed1036(o.blocked); + checkUnnamed1013(o.allowed); + checkUnnamed1014(o.blocked); } buildCounterVideoContentDetailsRegionRestriction--; } @@ -3200,14 +3200,14 @@ buildCounterVideoConversionPing--; } -buildUnnamed1037() { +buildUnnamed1015() { var o = new core.List<api.VideoConversionPing>(); o.add(buildVideoConversionPing()); o.add(buildVideoConversionPing()); return o; } -checkUnnamed1037(core.List<api.VideoConversionPing> o) { +checkUnnamed1015(core.List<api.VideoConversionPing> o) { unittest.expect(o, unittest.hasLength(2)); checkVideoConversionPing(o[0]); checkVideoConversionPing(o[1]); @@ -3218,7 +3218,7 @@ var o = new api.VideoConversionPings(); buildCounterVideoConversionPings++; if (buildCounterVideoConversionPings < 3) { - o.pings = buildUnnamed1037(); + o.pings = buildUnnamed1015(); } buildCounterVideoConversionPings--; return o; @@ -3227,32 +3227,32 @@ checkVideoConversionPings(api.VideoConversionPings o) { buildCounterVideoConversionPings++; if (buildCounterVideoConversionPings < 3) { - checkUnnamed1037(o.pings); + checkUnnamed1015(o.pings); } buildCounterVideoConversionPings--; } -buildUnnamed1038() { +buildUnnamed1016() { var o = new core.List<api.VideoFileDetailsAudioStream>(); o.add(buildVideoFileDetailsAudioStream()); o.add(buildVideoFileDetailsAudioStream()); return o; } -checkUnnamed1038(core.List<api.VideoFileDetailsAudioStream> o) { +checkUnnamed1016(core.List<api.VideoFileDetailsAudioStream> o) { unittest.expect(o, unittest.hasLength(2)); checkVideoFileDetailsAudioStream(o[0]); checkVideoFileDetailsAudioStream(o[1]); } -buildUnnamed1039() { +buildUnnamed1017() { var o = new core.List<api.VideoFileDetailsVideoStream>(); o.add(buildVideoFileDetailsVideoStream()); o.add(buildVideoFileDetailsVideoStream()); return o; } -checkUnnamed1039(core.List<api.VideoFileDetailsVideoStream> o) { +checkUnnamed1017(core.List<api.VideoFileDetailsVideoStream> o) { unittest.expect(o, unittest.hasLength(2)); checkVideoFileDetailsVideoStream(o[0]); checkVideoFileDetailsVideoStream(o[1]); @@ -3263,7 +3263,7 @@ var o = new api.VideoFileDetails(); buildCounterVideoFileDetails++; if (buildCounterVideoFileDetails < 3) { - o.audioStreams = buildUnnamed1038(); + o.audioStreams = buildUnnamed1016(); o.bitrateBps = "foo"; o.container = "foo"; o.creationTime = "foo"; @@ -3272,7 +3272,7 @@ o.fileSize = "foo"; o.fileType = "foo"; o.recordingLocation = buildGeoPoint(); - o.videoStreams = buildUnnamed1039(); + o.videoStreams = buildUnnamed1017(); } buildCounterVideoFileDetails--; return o; @@ -3281,7 +3281,7 @@ checkVideoFileDetails(api.VideoFileDetails o) { buildCounterVideoFileDetails++; if (buildCounterVideoFileDetails < 3) { - checkUnnamed1038(o.audioStreams); + checkUnnamed1016(o.audioStreams); unittest.expect(o.bitrateBps, unittest.equals('foo')); unittest.expect(o.container, unittest.equals('foo')); unittest.expect(o.creationTime, unittest.equals('foo')); @@ -3290,7 +3290,7 @@ unittest.expect(o.fileSize, unittest.equals('foo')); unittest.expect(o.fileType, unittest.equals('foo')); checkGeoPoint(o.recordingLocation); - checkUnnamed1039(o.videoStreams); + checkUnnamed1017(o.videoStreams); } buildCounterVideoFileDetails--; } @@ -3353,14 +3353,14 @@ buildCounterVideoFileDetailsVideoStream--; } -buildUnnamed1040() { +buildUnnamed1018() { var o = new core.List<api.VideoRating>(); o.add(buildVideoRating()); o.add(buildVideoRating()); return o; } -checkUnnamed1040(core.List<api.VideoRating> o) { +checkUnnamed1018(core.List<api.VideoRating> o) { unittest.expect(o, unittest.hasLength(2)); checkVideoRating(o[0]); checkVideoRating(o[1]); @@ -3372,7 +3372,7 @@ buildCounterVideoGetRatingResponse++; if (buildCounterVideoGetRatingResponse < 3) { o.etag = "foo"; - o.items = buildUnnamed1040(); + o.items = buildUnnamed1018(); o.kind = "foo"; } buildCounterVideoGetRatingResponse--; @@ -3383,20 +3383,20 @@ buildCounterVideoGetRatingResponse++; if (buildCounterVideoGetRatingResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); - checkUnnamed1040(o.items); + checkUnnamed1018(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterVideoGetRatingResponse--; } -buildUnnamed1041() { +buildUnnamed1019() { var o = new core.List<api.Video>(); o.add(buildVideo()); o.add(buildVideo()); return o; } -checkUnnamed1041(core.List<api.Video> o) { +checkUnnamed1019(core.List<api.Video> o) { unittest.expect(o, unittest.hasLength(2)); checkVideo(o[0]); checkVideo(o[1]); @@ -3409,7 +3409,7 @@ if (buildCounterVideoListResponse < 3) { o.etag = "foo"; o.eventId = "foo"; - o.items = buildUnnamed1041(); + o.items = buildUnnamed1019(); o.kind = "foo"; o.nextPageToken = "foo"; o.pageInfo = buildPageInfo(); @@ -3426,7 +3426,7 @@ if (buildCounterVideoListResponse < 3) { unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.eventId, unittest.equals('foo')); - checkUnnamed1041(o.items); + checkUnnamed1019(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); checkPageInfo(o.pageInfo); @@ -3558,14 +3558,14 @@ buildCounterVideoProcessingDetailsProcessingProgress--; } -buildUnnamed1042() { +buildUnnamed1020() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1042(core.List<core.String> o) { +checkUnnamed1020(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3576,7 +3576,7 @@ var o = new api.VideoProjectDetails(); buildCounterVideoProjectDetails++; if (buildCounterVideoProjectDetails < 3) { - o.tags = buildUnnamed1042(); + o.tags = buildUnnamed1020(); } buildCounterVideoProjectDetails--; return o; @@ -3585,7 +3585,7 @@ checkVideoProjectDetails(api.VideoProjectDetails o) { buildCounterVideoProjectDetails++; if (buildCounterVideoProjectDetails < 3) { - checkUnnamed1042(o.tags); + checkUnnamed1020(o.tags); } buildCounterVideoProjectDetails--; } @@ -3634,14 +3634,14 @@ buildCounterVideoRecordingDetails--; } -buildUnnamed1043() { +buildUnnamed1021() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1043(core.List<core.String> o) { +checkUnnamed1021(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3658,7 +3658,7 @@ o.description = "foo"; o.liveBroadcastContent = "foo"; o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); - o.tags = buildUnnamed1043(); + o.tags = buildUnnamed1021(); o.thumbnails = buildThumbnailDetails(); o.title = "foo"; } @@ -3675,7 +3675,7 @@ unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - checkUnnamed1043(o.tags); + checkUnnamed1021(o.tags); checkThumbnailDetails(o.thumbnails); unittest.expect(o.title, unittest.equals('foo')); } @@ -3742,66 +3742,66 @@ buildCounterVideoStatus--; } -buildUnnamed1044() { +buildUnnamed1022() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1044(core.List<core.String> o) { +checkUnnamed1022(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1045() { +buildUnnamed1023() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1045(core.List<core.String> o) { +checkUnnamed1023(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1046() { +buildUnnamed1024() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1046(core.List<core.String> o) { +checkUnnamed1024(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1047() { +buildUnnamed1025() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1047(core.List<core.String> o) { +checkUnnamed1025(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1048() { +buildUnnamed1026() { var o = new core.List<api.VideoSuggestionsTagSuggestion>(); o.add(buildVideoSuggestionsTagSuggestion()); o.add(buildVideoSuggestionsTagSuggestion()); return o; } -checkUnnamed1048(core.List<api.VideoSuggestionsTagSuggestion> o) { +checkUnnamed1026(core.List<api.VideoSuggestionsTagSuggestion> o) { unittest.expect(o, unittest.hasLength(2)); checkVideoSuggestionsTagSuggestion(o[0]); checkVideoSuggestionsTagSuggestion(o[1]); @@ -3812,11 +3812,11 @@ var o = new api.VideoSuggestions(); buildCounterVideoSuggestions++; if (buildCounterVideoSuggestions < 3) { - o.editorSuggestions = buildUnnamed1044(); - o.processingErrors = buildUnnamed1045(); - o.processingHints = buildUnnamed1046(); - o.processingWarnings = buildUnnamed1047(); - o.tagSuggestions = buildUnnamed1048(); + o.editorSuggestions = buildUnnamed1022(); + o.processingErrors = buildUnnamed1023(); + o.processingHints = buildUnnamed1024(); + o.processingWarnings = buildUnnamed1025(); + o.tagSuggestions = buildUnnamed1026(); } buildCounterVideoSuggestions--; return o; @@ -3825,23 +3825,23 @@ checkVideoSuggestions(api.VideoSuggestions o) { buildCounterVideoSuggestions++; if (buildCounterVideoSuggestions < 3) { - checkUnnamed1044(o.editorSuggestions); - checkUnnamed1045(o.processingErrors); - checkUnnamed1046(o.processingHints); - checkUnnamed1047(o.processingWarnings); - checkUnnamed1048(o.tagSuggestions); + checkUnnamed1022(o.editorSuggestions); + checkUnnamed1023(o.processingErrors); + checkUnnamed1024(o.processingHints); + checkUnnamed1025(o.processingWarnings); + checkUnnamed1026(o.tagSuggestions); } buildCounterVideoSuggestions--; } -buildUnnamed1049() { +buildUnnamed1027() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1049(core.List<core.String> o) { +checkUnnamed1027(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3852,7 +3852,7 @@ var o = new api.VideoSuggestionsTagSuggestion(); buildCounterVideoSuggestionsTagSuggestion++; if (buildCounterVideoSuggestionsTagSuggestion < 3) { - o.categoryRestricts = buildUnnamed1049(); + o.categoryRestricts = buildUnnamed1027(); o.tag = "foo"; } buildCounterVideoSuggestionsTagSuggestion--; @@ -3862,33 +3862,33 @@ checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { buildCounterVideoSuggestionsTagSuggestion++; if (buildCounterVideoSuggestionsTagSuggestion < 3) { - checkUnnamed1049(o.categoryRestricts); + checkUnnamed1027(o.categoryRestricts); unittest.expect(o.tag, unittest.equals('foo')); } buildCounterVideoSuggestionsTagSuggestion--; } -buildUnnamed1050() { +buildUnnamed1028() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1050(core.List<core.String> o) { +checkUnnamed1028(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1051() { +buildUnnamed1029() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1051(core.List<core.String> o) { +checkUnnamed1029(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -3899,8 +3899,8 @@ var o = new api.VideoTopicDetails(); buildCounterVideoTopicDetails++; if (buildCounterVideoTopicDetails < 3) { - o.relevantTopicIds = buildUnnamed1050(); - o.topicIds = buildUnnamed1051(); + o.relevantTopicIds = buildUnnamed1028(); + o.topicIds = buildUnnamed1029(); } buildCounterVideoTopicDetails--; return o; @@ -3909,8 +3909,8 @@ checkVideoTopicDetails(api.VideoTopicDetails o) { buildCounterVideoTopicDetails++; if (buildCounterVideoTopicDetails < 3) { - checkUnnamed1050(o.relevantTopicIds); - checkUnnamed1051(o.topicIds); + checkUnnamed1028(o.relevantTopicIds); + checkUnnamed1029(o.topicIds); } buildCounterVideoTopicDetails--; }
diff --git a/generated/googleapis/test/youtubeanalytics/v1_test.dart b/generated/googleapis/test/youtubeanalytics/v1_test.dart index 6383896..f6ba72e 100644 --- a/generated/googleapis/test/youtubeanalytics/v1_test.dart +++ b/generated/googleapis/test/youtubeanalytics/v1_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed841() { +buildUnnamed815() { var o = new core.List<api.BatchReportDefinitionTemplate>(); o.add(buildBatchReportDefinitionTemplate()); o.add(buildBatchReportDefinitionTemplate()); return o; } -checkUnnamed841(core.List<api.BatchReportDefinitionTemplate> o) { +checkUnnamed815(core.List<api.BatchReportDefinitionTemplate> o) { unittest.expect(o, unittest.hasLength(2)); checkBatchReportDefinitionTemplate(o[0]); checkBatchReportDefinitionTemplate(o[1]); @@ -34,7 +34,7 @@ var o = new api.BatchReportDefinitionList(); buildCounterBatchReportDefinitionList++; if (buildCounterBatchReportDefinitionList < 3) { - o.items = buildUnnamed841(); + o.items = buildUnnamed815(); o.kind = "foo"; } buildCounterBatchReportDefinitionList--; @@ -44,7 +44,7 @@ checkBatchReportDefinitionList(api.BatchReportDefinitionList o) { buildCounterBatchReportDefinitionList++; if (buildCounterBatchReportDefinitionList < 3) { - checkUnnamed841(o.items); + checkUnnamed815(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterBatchReportDefinitionList--; @@ -71,14 +71,14 @@ buildCounterBatchReportDefinitionTemplateDefaultOutput--; } -buildUnnamed842() { +buildUnnamed816() { var o = new core.List<api.BatchReportDefinitionTemplateDefaultOutput>(); o.add(buildBatchReportDefinitionTemplateDefaultOutput()); o.add(buildBatchReportDefinitionTemplateDefaultOutput()); return o; } -checkUnnamed842(core.List<api.BatchReportDefinitionTemplateDefaultOutput> o) { +checkUnnamed816(core.List<api.BatchReportDefinitionTemplateDefaultOutput> o) { unittest.expect(o, unittest.hasLength(2)); checkBatchReportDefinitionTemplateDefaultOutput(o[0]); checkBatchReportDefinitionTemplateDefaultOutput(o[1]); @@ -89,7 +89,7 @@ var o = new api.BatchReportDefinitionTemplate(); buildCounterBatchReportDefinitionTemplate++; if (buildCounterBatchReportDefinitionTemplate < 3) { - o.defaultOutput = buildUnnamed842(); + o.defaultOutput = buildUnnamed816(); o.id = "foo"; o.name = "foo"; o.status = "foo"; @@ -102,7 +102,7 @@ checkBatchReportDefinitionTemplate(api.BatchReportDefinitionTemplate o) { buildCounterBatchReportDefinitionTemplate++; if (buildCounterBatchReportDefinitionTemplate < 3) { - checkUnnamed842(o.defaultOutput); + checkUnnamed816(o.defaultOutput); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.status, unittest.equals('foo')); @@ -111,14 +111,14 @@ buildCounterBatchReportDefinitionTemplate--; } -buildUnnamed843() { +buildUnnamed817() { var o = new core.List<api.BatchReportTemplate>(); o.add(buildBatchReportTemplate()); o.add(buildBatchReportTemplate()); return o; } -checkUnnamed843(core.List<api.BatchReportTemplate> o) { +checkUnnamed817(core.List<api.BatchReportTemplate> o) { unittest.expect(o, unittest.hasLength(2)); checkBatchReportTemplate(o[0]); checkBatchReportTemplate(o[1]); @@ -129,7 +129,7 @@ var o = new api.BatchReportList(); buildCounterBatchReportList++; if (buildCounterBatchReportList < 3) { - o.items = buildUnnamed843(); + o.items = buildUnnamed817(); o.kind = "foo"; } buildCounterBatchReportList--; @@ -139,7 +139,7 @@ checkBatchReportList(api.BatchReportList o) { buildCounterBatchReportList++; if (buildCounterBatchReportList < 3) { - checkUnnamed843(o.items); + checkUnnamed817(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterBatchReportList--; @@ -168,14 +168,14 @@ buildCounterBatchReportTemplateOutputs--; } -buildUnnamed844() { +buildUnnamed818() { var o = new core.List<api.BatchReportTemplateOutputs>(); o.add(buildBatchReportTemplateOutputs()); o.add(buildBatchReportTemplateOutputs()); return o; } -checkUnnamed844(core.List<api.BatchReportTemplateOutputs> o) { +checkUnnamed818(core.List<api.BatchReportTemplateOutputs> o) { unittest.expect(o, unittest.hasLength(2)); checkBatchReportTemplateOutputs(o[0]); checkBatchReportTemplateOutputs(o[1]); @@ -208,7 +208,7 @@ buildCounterBatchReportTemplate++; if (buildCounterBatchReportTemplate < 3) { o.id = "foo"; - o.outputs = buildUnnamed844(); + o.outputs = buildUnnamed818(); o.reportId = "foo"; o.timeSpan = buildBatchReportTemplateTimeSpan(); o.timeUpdated = core.DateTime.parse("2002-02-27T14:01:02"); @@ -221,7 +221,7 @@ buildCounterBatchReportTemplate++; if (buildCounterBatchReportTemplate < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed844(o.outputs); + checkUnnamed818(o.outputs); unittest.expect(o.reportId, unittest.equals('foo')); checkBatchReportTemplateTimeSpan(o.timeSpan); unittest.expect(o.timeUpdated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); @@ -252,43 +252,43 @@ buildCounterResultTableColumnHeaders--; } -buildUnnamed845() { +buildUnnamed819() { var o = new core.List<api.ResultTableColumnHeaders>(); o.add(buildResultTableColumnHeaders()); o.add(buildResultTableColumnHeaders()); return o; } -checkUnnamed845(core.List<api.ResultTableColumnHeaders> o) { +checkUnnamed819(core.List<api.ResultTableColumnHeaders> o) { unittest.expect(o, unittest.hasLength(2)); checkResultTableColumnHeaders(o[0]); checkResultTableColumnHeaders(o[1]); } -buildUnnamed846() { +buildUnnamed820() { var o = new core.List<core.Object>(); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); return o; } -checkUnnamed846(core.List<core.Object> o) { +checkUnnamed820(core.List<core.Object> o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); } -buildUnnamed847() { +buildUnnamed821() { var o = new core.List<core.List<core.Object>>(); - o.add(buildUnnamed846()); - o.add(buildUnnamed846()); + o.add(buildUnnamed820()); + o.add(buildUnnamed820()); return o; } -checkUnnamed847(core.List<core.List<core.Object>> o) { +checkUnnamed821(core.List<core.List<core.Object>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed846(o[0]); - checkUnnamed846(o[1]); + checkUnnamed820(o[0]); + checkUnnamed820(o[1]); } core.int buildCounterResultTable = 0; @@ -296,9 +296,9 @@ var o = new api.ResultTable(); buildCounterResultTable++; if (buildCounterResultTable < 3) { - o.columnHeaders = buildUnnamed845(); + o.columnHeaders = buildUnnamed819(); o.kind = "foo"; - o.rows = buildUnnamed847(); + o.rows = buildUnnamed821(); } buildCounterResultTable--; return o; @@ -307,9 +307,9 @@ checkResultTable(api.ResultTable o) { buildCounterResultTable++; if (buildCounterResultTable < 3) { - checkUnnamed845(o.columnHeaders); + checkUnnamed819(o.columnHeaders); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed847(o.rows); + checkUnnamed821(o.rows); } buildCounterResultTable--; }
diff --git a/generated/googleapis_beta/CHANGELOG.md b/generated/googleapis_beta/CHANGELOG.md index 553410a..570cbbe 100644 --- a/generated/googleapis_beta/CHANGELOG.md +++ b/generated/googleapis_beta/CHANGELOG.md
@@ -1,3 +1,7 @@ +## 0.3.0 + +* [apis-breaking] genomics:v1beta: breaking changes (method argument changes and schema change) + ## 0.2.1 * [apis-new] resourceviews:v1beta2: API added
diff --git a/generated/googleapis_beta/lib/genomics/v1beta.dart b/generated/googleapis_beta/lib/genomics/v1beta.dart index 292be1f..788fa9d 100644 --- a/generated/googleapis_beta/lib/genomics/v1beta.dart +++ b/generated/googleapis_beta/lib/genomics/v1beta.dart
@@ -1511,8 +1511,13 @@ /** * Creates variant data by asynchronously importing the provided information. - * If the destination variant set already contains data, new variants will be - * merged according to the behavior of mergeVariants. + * The variants for import will be merged with any existing data and each + * other according to the behavior of mergeVariants. In particular, this means + * for merged VCF variants that have conflicting INFO fields, some data will + * be arbitrarily discarded. As a special case, for single-sample VCF files, + * QUAL and FILTER fields will be moved to the call level; these are sometimes + * interpreted in a call-specific context. Imported VCF headers are appended + * to the metadata already in a VariantSet. * * [request] - The metadata request object. * @@ -1749,7 +1754,7 @@ * If the used [http.Client] completes with an error when making a REST call, * this method will complete with the same error. */ - async.Future mergeVariants(Variant request, core.String variantSetId) { + async.Future mergeVariants(MergeVariantsRequest request, core.String variantSetId) { var _url = null; var _queryParams = new core.Map(); var _uploadMedia = null; @@ -3024,6 +3029,30 @@ } +/** Not documented yet. */ +class MergeVariantsRequest { + /** The variants to be merged with existing variants. */ + core.List<Variant> variants; + + + MergeVariantsRequest(); + + MergeVariantsRequest.fromJson(core.Map _json) { + if (_json.containsKey("variants")) { + variants = _json["variants"].map((value) => new Variant.fromJson(value)).toList(); + } + } + + core.Map toJson() { + var _json = new core.Map(); + if (variants != null) { + _json["variants"] = variants.map((value) => (value).toJson()).toList(); + } + return _json; + } +} + + /** * Metadata describes a single piece of variant call metadata. These data * include a top level key and either a single value string (value) or a list of @@ -4202,7 +4231,9 @@ class SearchVariantsRequest { /** * Only return variant calls which belong to call sets with these ids. Leaving - * this blank returns all variant calls. + * this blank returns all variant calls. If a variant has no calls belonging + * to any of these call sets, it won't be returned at all. Currently, variants + * with no calls from any call set will never be returned. */ core.List<core.String> callSetIds;
diff --git a/generated/googleapis_beta/lib/src/common_internal.dart b/generated/googleapis_beta/lib/src/common_internal.dart index b3f8034..2e522c8 100644 --- a/generated/googleapis_beta/lib/src/common_internal.dart +++ b/generated/googleapis_beta/lib/src/common_internal.dart
@@ -9,7 +9,7 @@ import "package:http/http.dart" as http; const String USER_AGENT_STRING = - 'google-api-dart-client googleapis_beta/0.2.1'; + 'google-api-dart-client googleapis_beta/0.3.0'; const CONTENT_TYPE_JSON_UTF8 = 'application/json; charset=utf-8';
diff --git a/generated/googleapis_beta/pubspec.yaml b/generated/googleapis_beta/pubspec.yaml index a961a6d..a0fef33 100644 --- a/generated/googleapis_beta/pubspec.yaml +++ b/generated/googleapis_beta/pubspec.yaml
@@ -1,5 +1,5 @@ name: googleapis_beta -version: 0.2.1 +version: 0.3.0 author: Dart Team <misc@dartlang.org> description: "Auto-generated client libraries for accessing the following APIs:autoscaler:v1beta2, cloudmonitoring:v2beta1, datastore:v1beta2, dns:v1beta1, genomics:v1beta, manager:v1beta2, pubsub:v1beta1, replicapool:v1beta1, resourceviews:v1beta1, resourceviews:v1beta2, sqladmin:v1beta3, taskqueue:v1beta2" homepage: http://www.dartlang.org/googleapis/
diff --git a/generated/googleapis_beta/test/autoscaler/v1beta2_test.dart b/generated/googleapis_beta/test/autoscaler/v1beta2_test.dart index 0bcff2a..5d3fccb 100644 --- a/generated/googleapis_beta/test/autoscaler/v1beta2_test.dart +++ b/generated/googleapis_beta/test/autoscaler/v1beta2_test.dart
@@ -49,14 +49,14 @@ buildCounterAutoscaler--; } -buildUnnamed1248() { +buildUnnamed1227() { var o = new core.List<api.Autoscaler>(); o.add(buildAutoscaler()); o.add(buildAutoscaler()); return o; } -checkUnnamed1248(core.List<api.Autoscaler> o) { +checkUnnamed1227(core.List<api.Autoscaler> o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscaler(o[0]); checkAutoscaler(o[1]); @@ -67,7 +67,7 @@ var o = new api.AutoscalerListResponse(); buildCounterAutoscalerListResponse++; if (buildCounterAutoscalerListResponse < 3) { - o.items = buildUnnamed1248(); + o.items = buildUnnamed1227(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -78,21 +78,21 @@ checkAutoscalerListResponse(api.AutoscalerListResponse o) { buildCounterAutoscalerListResponse++; if (buildCounterAutoscalerListResponse < 3) { - checkUnnamed1248(o.items); + checkUnnamed1227(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterAutoscalerListResponse--; } -buildUnnamed1249() { +buildUnnamed1228() { var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); o.add(buildAutoscalingPolicyCustomMetricUtilization()); o.add(buildAutoscalingPolicyCustomMetricUtilization()); return o; } -checkUnnamed1249(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { +checkUnnamed1228(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscalingPolicyCustomMetricUtilization(o[0]); checkAutoscalingPolicyCustomMetricUtilization(o[1]); @@ -105,7 +105,7 @@ if (buildCounterAutoscalingPolicy < 3) { o.coolDownPeriodSec = 42; o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); - o.customMetricUtilizations = buildUnnamed1249(); + o.customMetricUtilizations = buildUnnamed1228(); o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(); o.maxNumReplicas = 42; o.minNumReplicas = 42; @@ -119,7 +119,7 @@ if (buildCounterAutoscalingPolicy < 3) { unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); - checkUnnamed1249(o.customMetricUtilizations); + checkUnnamed1228(o.customMetricUtilizations); checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); unittest.expect(o.maxNumReplicas, unittest.equals(42)); unittest.expect(o.minNumReplicas, unittest.equals(42)); @@ -211,14 +211,14 @@ buildCounterOperationErrorErrors--; } -buildUnnamed1250() { +buildUnnamed1229() { var o = new core.List<api.OperationErrorErrors>(); o.add(buildOperationErrorErrors()); o.add(buildOperationErrorErrors()); return o; } -checkUnnamed1250(core.List<api.OperationErrorErrors> o) { +checkUnnamed1229(core.List<api.OperationErrorErrors> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationErrorErrors(o[0]); checkOperationErrorErrors(o[1]); @@ -229,7 +229,7 @@ var o = new api.OperationError(); buildCounterOperationError++; if (buildCounterOperationError < 3) { - o.errors = buildUnnamed1250(); + o.errors = buildUnnamed1229(); } buildCounterOperationError--; return o; @@ -238,7 +238,7 @@ checkOperationError(api.OperationError o) { buildCounterOperationError++; if (buildCounterOperationError < 3) { - checkUnnamed1250(o.errors); + checkUnnamed1229(o.errors); } buildCounterOperationError--; } @@ -264,14 +264,14 @@ buildCounterOperationWarningsData--; } -buildUnnamed1251() { +buildUnnamed1230() { var o = new core.List<api.OperationWarningsData>(); o.add(buildOperationWarningsData()); o.add(buildOperationWarningsData()); return o; } -checkUnnamed1251(core.List<api.OperationWarningsData> o) { +checkUnnamed1230(core.List<api.OperationWarningsData> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationWarningsData(o[0]); checkOperationWarningsData(o[1]); @@ -283,7 +283,7 @@ buildCounterOperationWarnings++; if (buildCounterOperationWarnings < 3) { o.code = "foo"; - o.data = buildUnnamed1251(); + o.data = buildUnnamed1230(); o.message = "foo"; } buildCounterOperationWarnings--; @@ -294,20 +294,20 @@ buildCounterOperationWarnings++; if (buildCounterOperationWarnings < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed1251(o.data); + checkUnnamed1230(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterOperationWarnings--; } -buildUnnamed1252() { +buildUnnamed1231() { var o = new core.List<api.OperationWarnings>(); o.add(buildOperationWarnings()); o.add(buildOperationWarnings()); return o; } -checkUnnamed1252(core.List<api.OperationWarnings> o) { +checkUnnamed1231(core.List<api.OperationWarnings> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationWarnings(o[0]); checkOperationWarnings(o[1]); @@ -338,7 +338,7 @@ o.targetId = "foo"; o.targetLink = "foo"; o.user = "foo"; - o.warnings = buildUnnamed1252(); + o.warnings = buildUnnamed1231(); o.zone = "foo"; } buildCounterOperation--; @@ -368,20 +368,20 @@ unittest.expect(o.targetId, unittest.equals('foo')); unittest.expect(o.targetLink, unittest.equals('foo')); unittest.expect(o.user, unittest.equals('foo')); - checkUnnamed1252(o.warnings); + checkUnnamed1231(o.warnings); unittest.expect(o.zone, unittest.equals('foo')); } buildCounterOperation--; } -buildUnnamed1253() { +buildUnnamed1232() { var o = new core.List<api.Operation>(); o.add(buildOperation()); o.add(buildOperation()); return o; } -checkUnnamed1253(core.List<api.Operation> o) { +checkUnnamed1232(core.List<api.Operation> o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -393,7 +393,7 @@ buildCounterOperationList++; if (buildCounterOperationList < 3) { o.id = "foo"; - o.items = buildUnnamed1253(); + o.items = buildUnnamed1232(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -406,7 +406,7 @@ buildCounterOperationList++; if (buildCounterOperationList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed1253(o.items); + checkUnnamed1232(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo'));
diff --git a/generated/googleapis_beta/test/cloudmonitoring/v2beta1_test.dart b/generated/googleapis_beta/test/cloudmonitoring/v2beta1_test.dart index d95a52b..0121612 100644 --- a/generated/googleapis_beta/test/cloudmonitoring/v2beta1_test.dart +++ b/generated/googleapis_beta/test/cloudmonitoring/v2beta1_test.dart
@@ -35,14 +35,14 @@ buildCounterListMetricDescriptorsRequest--; } -buildUnnamed1130() { +buildUnnamed1108() { var o = new core.List<api.MetricDescriptor>(); o.add(buildMetricDescriptor()); o.add(buildMetricDescriptor()); return o; } -checkUnnamed1130(core.List<api.MetricDescriptor> o) { +checkUnnamed1108(core.List<api.MetricDescriptor> o) { unittest.expect(o, unittest.hasLength(2)); checkMetricDescriptor(o[0]); checkMetricDescriptor(o[1]); @@ -54,7 +54,7 @@ buildCounterListMetricDescriptorsResponse++; if (buildCounterListMetricDescriptorsResponse < 3) { o.kind = "foo"; - o.metrics = buildUnnamed1130(); + o.metrics = buildUnnamed1108(); o.nextPageToken = "foo"; } buildCounterListMetricDescriptorsResponse--; @@ -65,7 +65,7 @@ buildCounterListMetricDescriptorsResponse++; if (buildCounterListMetricDescriptorsResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed1130(o.metrics); + checkUnnamed1108(o.metrics); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterListMetricDescriptorsResponse--; @@ -90,14 +90,14 @@ buildCounterListTimeseriesDescriptorsRequest--; } -buildUnnamed1131() { +buildUnnamed1109() { var o = new core.List<api.TimeseriesDescriptor>(); o.add(buildTimeseriesDescriptor()); o.add(buildTimeseriesDescriptor()); return o; } -checkUnnamed1131(core.List<api.TimeseriesDescriptor> o) { +checkUnnamed1109(core.List<api.TimeseriesDescriptor> o) { unittest.expect(o, unittest.hasLength(2)); checkTimeseriesDescriptor(o[0]); checkTimeseriesDescriptor(o[1]); @@ -111,7 +111,7 @@ o.kind = "foo"; o.nextPageToken = "foo"; o.oldest = core.DateTime.parse("2002-02-27T14:01:02"); - o.timeseries = buildUnnamed1131(); + o.timeseries = buildUnnamed1109(); o.youngest = core.DateTime.parse("2002-02-27T14:01:02"); } buildCounterListTimeseriesDescriptorsResponse--; @@ -124,7 +124,7 @@ unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.oldest, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - checkUnnamed1131(o.timeseries); + checkUnnamed1109(o.timeseries); unittest.expect(o.youngest, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); } buildCounterListTimeseriesDescriptorsResponse--; @@ -149,14 +149,14 @@ buildCounterListTimeseriesRequest--; } -buildUnnamed1132() { +buildUnnamed1110() { var o = new core.List<api.Timeseries>(); o.add(buildTimeseries()); o.add(buildTimeseries()); return o; } -checkUnnamed1132(core.List<api.Timeseries> o) { +checkUnnamed1110(core.List<api.Timeseries> o) { unittest.expect(o, unittest.hasLength(2)); checkTimeseries(o[0]); checkTimeseries(o[1]); @@ -170,7 +170,7 @@ o.kind = "foo"; o.nextPageToken = "foo"; o.oldest = core.DateTime.parse("2002-02-27T14:01:02"); - o.timeseries = buildUnnamed1132(); + o.timeseries = buildUnnamed1110(); o.youngest = core.DateTime.parse("2002-02-27T14:01:02"); } buildCounterListTimeseriesResponse--; @@ -183,20 +183,20 @@ unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.oldest, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - checkUnnamed1132(o.timeseries); + checkUnnamed1110(o.timeseries); unittest.expect(o.youngest, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); } buildCounterListTimeseriesResponse--; } -buildUnnamed1133() { +buildUnnamed1111() { var o = new core.List<api.MetricDescriptorLabelDescriptor>(); o.add(buildMetricDescriptorLabelDescriptor()); o.add(buildMetricDescriptorLabelDescriptor()); return o; } -checkUnnamed1133(core.List<api.MetricDescriptorLabelDescriptor> o) { +checkUnnamed1111(core.List<api.MetricDescriptorLabelDescriptor> o) { unittest.expect(o, unittest.hasLength(2)); checkMetricDescriptorLabelDescriptor(o[0]); checkMetricDescriptorLabelDescriptor(o[1]); @@ -208,7 +208,7 @@ buildCounterMetricDescriptor++; if (buildCounterMetricDescriptor < 3) { o.description = "foo"; - o.labels = buildUnnamed1133(); + o.labels = buildUnnamed1111(); o.name = "foo"; o.project = "foo"; o.typeDescriptor = buildMetricDescriptorTypeDescriptor(); @@ -221,7 +221,7 @@ buildCounterMetricDescriptor++; if (buildCounterMetricDescriptor < 3) { unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed1133(o.labels); + checkUnnamed1111(o.labels); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.project, unittest.equals('foo')); checkMetricDescriptorTypeDescriptor(o.typeDescriptor); @@ -302,14 +302,14 @@ buildCounterPoint--; } -buildUnnamed1134() { +buildUnnamed1112() { var o = new core.List<api.PointDistributionBucket>(); o.add(buildPointDistributionBucket()); o.add(buildPointDistributionBucket()); return o; } -checkUnnamed1134(core.List<api.PointDistributionBucket> o) { +checkUnnamed1112(core.List<api.PointDistributionBucket> o) { unittest.expect(o, unittest.hasLength(2)); checkPointDistributionBucket(o[0]); checkPointDistributionBucket(o[1]); @@ -320,7 +320,7 @@ var o = new api.PointDistribution(); buildCounterPointDistribution++; if (buildCounterPointDistribution < 3) { - o.buckets = buildUnnamed1134(); + o.buckets = buildUnnamed1112(); o.overflowBucket = buildPointDistributionOverflowBucket(); o.underflowBucket = buildPointDistributionUnderflowBucket(); } @@ -331,7 +331,7 @@ checkPointDistribution(api.PointDistribution o) { buildCounterPointDistribution++; if (buildCounterPointDistribution < 3) { - checkUnnamed1134(o.buckets); + checkUnnamed1112(o.buckets); checkPointDistributionOverflowBucket(o.overflowBucket); checkPointDistributionUnderflowBucket(o.underflowBucket); } @@ -403,14 +403,14 @@ buildCounterPointDistributionUnderflowBucket--; } -buildUnnamed1135() { +buildUnnamed1113() { var o = new core.List<api.Point>(); o.add(buildPoint()); o.add(buildPoint()); return o; } -checkUnnamed1135(core.List<api.Point> o) { +checkUnnamed1113(core.List<api.Point> o) { unittest.expect(o, unittest.hasLength(2)); checkPoint(o[0]); checkPoint(o[1]); @@ -421,7 +421,7 @@ var o = new api.Timeseries(); buildCounterTimeseries++; if (buildCounterTimeseries < 3) { - o.points = buildUnnamed1135(); + o.points = buildUnnamed1113(); o.timeseriesDesc = buildTimeseriesDescriptor(); } buildCounterTimeseries--; @@ -431,20 +431,20 @@ checkTimeseries(api.Timeseries o) { buildCounterTimeseries++; if (buildCounterTimeseries < 3) { - checkUnnamed1135(o.points); + checkUnnamed1113(o.points); checkTimeseriesDescriptor(o.timeseriesDesc); } buildCounterTimeseries--; } -buildUnnamed1136() { +buildUnnamed1114() { var o = new core.Map<core.String, core.String>(); o["x"] = "foo"; o["y"] = "foo"; return o; } -checkUnnamed1136(core.Map<core.String, core.String> o) { +checkUnnamed1114(core.Map<core.String, core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o["x"], unittest.equals('foo')); unittest.expect(o["y"], unittest.equals('foo')); @@ -455,7 +455,7 @@ var o = new api.TimeseriesDescriptor(); buildCounterTimeseriesDescriptor++; if (buildCounterTimeseriesDescriptor < 3) { - o.labels = buildUnnamed1136(); + o.labels = buildUnnamed1114(); o.metric = "foo"; o.project = "foo"; } @@ -466,34 +466,34 @@ checkTimeseriesDescriptor(api.TimeseriesDescriptor o) { buildCounterTimeseriesDescriptor++; if (buildCounterTimeseriesDescriptor < 3) { - checkUnnamed1136(o.labels); + checkUnnamed1114(o.labels); unittest.expect(o.metric, unittest.equals('foo')); unittest.expect(o.project, unittest.equals('foo')); } buildCounterTimeseriesDescriptor--; } -buildUnnamed1137() { +buildUnnamed1115() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1137(core.List<core.String> o) { +checkUnnamed1115(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1138() { +buildUnnamed1116() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1138(core.List<core.String> o) { +checkUnnamed1116(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -711,7 +711,7 @@ var arg_metric = "foo"; var arg_youngest = "foo"; var arg_count = 42; - var arg_labels = buildUnnamed1137(); + var arg_labels = buildUnnamed1115(); var arg_oldest = "foo"; var arg_pageToken = "foo"; var arg_timespan = "foo"; @@ -774,7 +774,7 @@ var arg_metric = "foo"; var arg_youngest = "foo"; var arg_count = 42; - var arg_labels = buildUnnamed1138(); + var arg_labels = buildUnnamed1116(); var arg_oldest = "foo"; var arg_pageToken = "foo"; var arg_timespan = "foo";
diff --git a/generated/googleapis_beta/test/datastore/v1beta2_test.dart b/generated/googleapis_beta/test/datastore/v1beta2_test.dart index eb863a9..9003303 100644 --- a/generated/googleapis_beta/test/datastore/v1beta2_test.dart +++ b/generated/googleapis_beta/test/datastore/v1beta2_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed1224() { +buildUnnamed1203() { var o = new core.List<api.Key>(); o.add(buildKey()); o.add(buildKey()); return o; } -checkUnnamed1224(core.List<api.Key> o) { +checkUnnamed1203(core.List<api.Key> o) { unittest.expect(o, unittest.hasLength(2)); checkKey(o[0]); checkKey(o[1]); @@ -34,7 +34,7 @@ var o = new api.AllocateIdsRequest(); buildCounterAllocateIdsRequest++; if (buildCounterAllocateIdsRequest < 3) { - o.keys = buildUnnamed1224(); + o.keys = buildUnnamed1203(); } buildCounterAllocateIdsRequest--; return o; @@ -43,19 +43,19 @@ checkAllocateIdsRequest(api.AllocateIdsRequest o) { buildCounterAllocateIdsRequest++; if (buildCounterAllocateIdsRequest < 3) { - checkUnnamed1224(o.keys); + checkUnnamed1203(o.keys); } buildCounterAllocateIdsRequest--; } -buildUnnamed1225() { +buildUnnamed1204() { var o = new core.List<api.Key>(); o.add(buildKey()); o.add(buildKey()); return o; } -checkUnnamed1225(core.List<api.Key> o) { +checkUnnamed1204(core.List<api.Key> o) { unittest.expect(o, unittest.hasLength(2)); checkKey(o[0]); checkKey(o[1]); @@ -67,7 +67,7 @@ buildCounterAllocateIdsResponse++; if (buildCounterAllocateIdsResponse < 3) { o.header = buildResponseHeader(); - o.keys = buildUnnamed1225(); + o.keys = buildUnnamed1204(); } buildCounterAllocateIdsResponse--; return o; @@ -77,7 +77,7 @@ buildCounterAllocateIdsResponse++; if (buildCounterAllocateIdsResponse < 3) { checkResponseHeader(o.header); - checkUnnamed1225(o.keys); + checkUnnamed1204(o.keys); } buildCounterAllocateIdsResponse--; } @@ -168,14 +168,14 @@ buildCounterCommitResponse--; } -buildUnnamed1226() { +buildUnnamed1205() { var o = new core.List<api.Filter>(); o.add(buildFilter()); o.add(buildFilter()); return o; } -checkUnnamed1226(core.List<api.Filter> o) { +checkUnnamed1205(core.List<api.Filter> o) { unittest.expect(o, unittest.hasLength(2)); checkFilter(o[0]); checkFilter(o[1]); @@ -186,7 +186,7 @@ var o = new api.CompositeFilter(); buildCounterCompositeFilter++; if (buildCounterCompositeFilter < 3) { - o.filters = buildUnnamed1226(); + o.filters = buildUnnamed1205(); o.operator = "foo"; } buildCounterCompositeFilter--; @@ -196,20 +196,20 @@ checkCompositeFilter(api.CompositeFilter o) { buildCounterCompositeFilter++; if (buildCounterCompositeFilter < 3) { - checkUnnamed1226(o.filters); + checkUnnamed1205(o.filters); unittest.expect(o.operator, unittest.equals('foo')); } buildCounterCompositeFilter--; } -buildUnnamed1227() { +buildUnnamed1206() { var o = new core.Map<core.String, api.Property>(); o["x"] = buildProperty(); o["y"] = buildProperty(); return o; } -checkUnnamed1227(core.Map<core.String, api.Property> o) { +checkUnnamed1206(core.Map<core.String, api.Property> o) { unittest.expect(o, unittest.hasLength(2)); checkProperty(o["x"]); checkProperty(o["y"]); @@ -221,7 +221,7 @@ buildCounterEntity++; if (buildCounterEntity < 3) { o.key = buildKey(); - o.properties = buildUnnamed1227(); + o.properties = buildUnnamed1206(); } buildCounterEntity--; return o; @@ -231,7 +231,7 @@ buildCounterEntity++; if (buildCounterEntity < 3) { checkKey(o.key); - checkUnnamed1227(o.properties); + checkUnnamed1206(o.properties); } buildCounterEntity--; } @@ -276,27 +276,27 @@ buildCounterFilter--; } -buildUnnamed1228() { +buildUnnamed1207() { var o = new core.List<api.GqlQueryArg>(); o.add(buildGqlQueryArg()); o.add(buildGqlQueryArg()); return o; } -checkUnnamed1228(core.List<api.GqlQueryArg> o) { +checkUnnamed1207(core.List<api.GqlQueryArg> o) { unittest.expect(o, unittest.hasLength(2)); checkGqlQueryArg(o[0]); checkGqlQueryArg(o[1]); } -buildUnnamed1229() { +buildUnnamed1208() { var o = new core.List<api.GqlQueryArg>(); o.add(buildGqlQueryArg()); o.add(buildGqlQueryArg()); return o; } -checkUnnamed1229(core.List<api.GqlQueryArg> o) { +checkUnnamed1208(core.List<api.GqlQueryArg> o) { unittest.expect(o, unittest.hasLength(2)); checkGqlQueryArg(o[0]); checkGqlQueryArg(o[1]); @@ -308,8 +308,8 @@ buildCounterGqlQuery++; if (buildCounterGqlQuery < 3) { o.allowLiteral = true; - o.nameArgs = buildUnnamed1228(); - o.numberArgs = buildUnnamed1229(); + o.nameArgs = buildUnnamed1207(); + o.numberArgs = buildUnnamed1208(); o.queryString = "foo"; } buildCounterGqlQuery--; @@ -320,8 +320,8 @@ buildCounterGqlQuery++; if (buildCounterGqlQuery < 3) { unittest.expect(o.allowLiteral, unittest.isTrue); - checkUnnamed1228(o.nameArgs); - checkUnnamed1229(o.numberArgs); + checkUnnamed1207(o.nameArgs); + checkUnnamed1208(o.numberArgs); unittest.expect(o.queryString, unittest.equals('foo')); } buildCounterGqlQuery--; @@ -350,14 +350,14 @@ buildCounterGqlQueryArg--; } -buildUnnamed1230() { +buildUnnamed1209() { var o = new core.List<api.KeyPathElement>(); o.add(buildKeyPathElement()); o.add(buildKeyPathElement()); return o; } -checkUnnamed1230(core.List<api.KeyPathElement> o) { +checkUnnamed1209(core.List<api.KeyPathElement> o) { unittest.expect(o, unittest.hasLength(2)); checkKeyPathElement(o[0]); checkKeyPathElement(o[1]); @@ -369,7 +369,7 @@ buildCounterKey++; if (buildCounterKey < 3) { o.partitionId = buildPartitionId(); - o.path = buildUnnamed1230(); + o.path = buildUnnamed1209(); } buildCounterKey--; return o; @@ -379,7 +379,7 @@ buildCounterKey++; if (buildCounterKey < 3) { checkPartitionId(o.partitionId); - checkUnnamed1230(o.path); + checkUnnamed1209(o.path); } buildCounterKey--; } @@ -426,14 +426,14 @@ buildCounterKindExpression--; } -buildUnnamed1231() { +buildUnnamed1210() { var o = new core.List<api.Key>(); o.add(buildKey()); o.add(buildKey()); return o; } -checkUnnamed1231(core.List<api.Key> o) { +checkUnnamed1210(core.List<api.Key> o) { unittest.expect(o, unittest.hasLength(2)); checkKey(o[0]); checkKey(o[1]); @@ -444,7 +444,7 @@ var o = new api.LookupRequest(); buildCounterLookupRequest++; if (buildCounterLookupRequest < 3) { - o.keys = buildUnnamed1231(); + o.keys = buildUnnamed1210(); o.readOptions = buildReadOptions(); } buildCounterLookupRequest--; @@ -454,46 +454,46 @@ checkLookupRequest(api.LookupRequest o) { buildCounterLookupRequest++; if (buildCounterLookupRequest < 3) { - checkUnnamed1231(o.keys); + checkUnnamed1210(o.keys); checkReadOptions(o.readOptions); } buildCounterLookupRequest--; } -buildUnnamed1232() { +buildUnnamed1211() { var o = new core.List<api.Key>(); o.add(buildKey()); o.add(buildKey()); return o; } -checkUnnamed1232(core.List<api.Key> o) { +checkUnnamed1211(core.List<api.Key> o) { unittest.expect(o, unittest.hasLength(2)); checkKey(o[0]); checkKey(o[1]); } -buildUnnamed1233() { +buildUnnamed1212() { var o = new core.List<api.EntityResult>(); o.add(buildEntityResult()); o.add(buildEntityResult()); return o; } -checkUnnamed1233(core.List<api.EntityResult> o) { +checkUnnamed1212(core.List<api.EntityResult> o) { unittest.expect(o, unittest.hasLength(2)); checkEntityResult(o[0]); checkEntityResult(o[1]); } -buildUnnamed1234() { +buildUnnamed1213() { var o = new core.List<api.EntityResult>(); o.add(buildEntityResult()); o.add(buildEntityResult()); return o; } -checkUnnamed1234(core.List<api.EntityResult> o) { +checkUnnamed1213(core.List<api.EntityResult> o) { unittest.expect(o, unittest.hasLength(2)); checkEntityResult(o[0]); checkEntityResult(o[1]); @@ -504,10 +504,10 @@ var o = new api.LookupResponse(); buildCounterLookupResponse++; if (buildCounterLookupResponse < 3) { - o.deferred = buildUnnamed1232(); - o.found = buildUnnamed1233(); + o.deferred = buildUnnamed1211(); + o.found = buildUnnamed1212(); o.header = buildResponseHeader(); - o.missing = buildUnnamed1234(); + o.missing = buildUnnamed1213(); } buildCounterLookupResponse--; return o; @@ -516,74 +516,74 @@ checkLookupResponse(api.LookupResponse o) { buildCounterLookupResponse++; if (buildCounterLookupResponse < 3) { - checkUnnamed1232(o.deferred); - checkUnnamed1233(o.found); + checkUnnamed1211(o.deferred); + checkUnnamed1212(o.found); checkResponseHeader(o.header); - checkUnnamed1234(o.missing); + checkUnnamed1213(o.missing); } buildCounterLookupResponse--; } -buildUnnamed1235() { +buildUnnamed1214() { var o = new core.List<api.Key>(); o.add(buildKey()); o.add(buildKey()); return o; } -checkUnnamed1235(core.List<api.Key> o) { +checkUnnamed1214(core.List<api.Key> o) { unittest.expect(o, unittest.hasLength(2)); checkKey(o[0]); checkKey(o[1]); } -buildUnnamed1236() { +buildUnnamed1215() { var o = new core.List<api.Entity>(); o.add(buildEntity()); o.add(buildEntity()); return o; } -checkUnnamed1236(core.List<api.Entity> o) { +checkUnnamed1215(core.List<api.Entity> o) { unittest.expect(o, unittest.hasLength(2)); checkEntity(o[0]); checkEntity(o[1]); } -buildUnnamed1237() { +buildUnnamed1216() { var o = new core.List<api.Entity>(); o.add(buildEntity()); o.add(buildEntity()); return o; } -checkUnnamed1237(core.List<api.Entity> o) { +checkUnnamed1216(core.List<api.Entity> o) { unittest.expect(o, unittest.hasLength(2)); checkEntity(o[0]); checkEntity(o[1]); } -buildUnnamed1238() { +buildUnnamed1217() { var o = new core.List<api.Entity>(); o.add(buildEntity()); o.add(buildEntity()); return o; } -checkUnnamed1238(core.List<api.Entity> o) { +checkUnnamed1217(core.List<api.Entity> o) { unittest.expect(o, unittest.hasLength(2)); checkEntity(o[0]); checkEntity(o[1]); } -buildUnnamed1239() { +buildUnnamed1218() { var o = new core.List<api.Entity>(); o.add(buildEntity()); o.add(buildEntity()); return o; } -checkUnnamed1239(core.List<api.Entity> o) { +checkUnnamed1218(core.List<api.Entity> o) { unittest.expect(o, unittest.hasLength(2)); checkEntity(o[0]); checkEntity(o[1]); @@ -594,12 +594,12 @@ var o = new api.Mutation(); buildCounterMutation++; if (buildCounterMutation < 3) { - o.delete = buildUnnamed1235(); + o.delete = buildUnnamed1214(); o.force = true; - o.insert = buildUnnamed1236(); - o.insertAutoId = buildUnnamed1237(); - o.update = buildUnnamed1238(); - o.upsert = buildUnnamed1239(); + o.insert = buildUnnamed1215(); + o.insertAutoId = buildUnnamed1216(); + o.update = buildUnnamed1217(); + o.upsert = buildUnnamed1218(); } buildCounterMutation--; return o; @@ -608,24 +608,24 @@ checkMutation(api.Mutation o) { buildCounterMutation++; if (buildCounterMutation < 3) { - checkUnnamed1235(o.delete); + checkUnnamed1214(o.delete); unittest.expect(o.force, unittest.isTrue); - checkUnnamed1236(o.insert); - checkUnnamed1237(o.insertAutoId); - checkUnnamed1238(o.update); - checkUnnamed1239(o.upsert); + checkUnnamed1215(o.insert); + checkUnnamed1216(o.insertAutoId); + checkUnnamed1217(o.update); + checkUnnamed1218(o.upsert); } buildCounterMutation--; } -buildUnnamed1240() { +buildUnnamed1219() { var o = new core.List<api.Key>(); o.add(buildKey()); o.add(buildKey()); return o; } -checkUnnamed1240(core.List<api.Key> o) { +checkUnnamed1219(core.List<api.Key> o) { unittest.expect(o, unittest.hasLength(2)); checkKey(o[0]); checkKey(o[1]); @@ -637,7 +637,7 @@ buildCounterMutationResult++; if (buildCounterMutationResult < 3) { o.indexUpdates = 42; - o.insertAutoIdKeys = buildUnnamed1240(); + o.insertAutoIdKeys = buildUnnamed1219(); } buildCounterMutationResult--; return o; @@ -647,7 +647,7 @@ buildCounterMutationResult++; if (buildCounterMutationResult < 3) { unittest.expect(o.indexUpdates, unittest.equals(42)); - checkUnnamed1240(o.insertAutoIdKeys); + checkUnnamed1219(o.insertAutoIdKeys); } buildCounterMutationResult--; } @@ -673,14 +673,14 @@ buildCounterPartitionId--; } -buildUnnamed1241() { +buildUnnamed1220() { var o = new core.List<api.Value>(); o.add(buildValue()); o.add(buildValue()); return o; } -checkUnnamed1241(core.List<api.Value> o) { +checkUnnamed1220(core.List<api.Value> o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o[0]); checkValue(o[1]); @@ -700,7 +700,7 @@ o.indexed = true; o.integerValue = "foo"; o.keyValue = buildKey(); - o.listValue = buildUnnamed1241(); + o.listValue = buildUnnamed1220(); o.meaning = 42; o.stringValue = "foo"; } @@ -720,7 +720,7 @@ unittest.expect(o.indexed, unittest.isTrue); unittest.expect(o.integerValue, unittest.equals('foo')); checkKey(o.keyValue); - checkUnnamed1241(o.listValue); + checkUnnamed1220(o.listValue); unittest.expect(o.meaning, unittest.equals(42)); unittest.expect(o.stringValue, unittest.equals('foo')); } @@ -811,53 +811,53 @@ buildCounterPropertyReference--; } -buildUnnamed1242() { +buildUnnamed1221() { var o = new core.List<api.PropertyReference>(); o.add(buildPropertyReference()); o.add(buildPropertyReference()); return o; } -checkUnnamed1242(core.List<api.PropertyReference> o) { +checkUnnamed1221(core.List<api.PropertyReference> o) { unittest.expect(o, unittest.hasLength(2)); checkPropertyReference(o[0]); checkPropertyReference(o[1]); } -buildUnnamed1243() { +buildUnnamed1222() { var o = new core.List<api.KindExpression>(); o.add(buildKindExpression()); o.add(buildKindExpression()); return o; } -checkUnnamed1243(core.List<api.KindExpression> o) { +checkUnnamed1222(core.List<api.KindExpression> o) { unittest.expect(o, unittest.hasLength(2)); checkKindExpression(o[0]); checkKindExpression(o[1]); } -buildUnnamed1244() { +buildUnnamed1223() { var o = new core.List<api.PropertyOrder>(); o.add(buildPropertyOrder()); o.add(buildPropertyOrder()); return o; } -checkUnnamed1244(core.List<api.PropertyOrder> o) { +checkUnnamed1223(core.List<api.PropertyOrder> o) { unittest.expect(o, unittest.hasLength(2)); checkPropertyOrder(o[0]); checkPropertyOrder(o[1]); } -buildUnnamed1245() { +buildUnnamed1224() { var o = new core.List<api.PropertyExpression>(); o.add(buildPropertyExpression()); o.add(buildPropertyExpression()); return o; } -checkUnnamed1245(core.List<api.PropertyExpression> o) { +checkUnnamed1224(core.List<api.PropertyExpression> o) { unittest.expect(o, unittest.hasLength(2)); checkPropertyExpression(o[0]); checkPropertyExpression(o[1]); @@ -870,12 +870,12 @@ if (buildCounterQuery < 3) { o.endCursor = "foo"; o.filter = buildFilter(); - o.groupBy = buildUnnamed1242(); - o.kinds = buildUnnamed1243(); + o.groupBy = buildUnnamed1221(); + o.kinds = buildUnnamed1222(); o.limit = 42; o.offset = 42; - o.order = buildUnnamed1244(); - o.projection = buildUnnamed1245(); + o.order = buildUnnamed1223(); + o.projection = buildUnnamed1224(); o.startCursor = "foo"; } buildCounterQuery--; @@ -887,25 +887,25 @@ if (buildCounterQuery < 3) { unittest.expect(o.endCursor, unittest.equals('foo')); checkFilter(o.filter); - checkUnnamed1242(o.groupBy); - checkUnnamed1243(o.kinds); + checkUnnamed1221(o.groupBy); + checkUnnamed1222(o.kinds); unittest.expect(o.limit, unittest.equals(42)); unittest.expect(o.offset, unittest.equals(42)); - checkUnnamed1244(o.order); - checkUnnamed1245(o.projection); + checkUnnamed1223(o.order); + checkUnnamed1224(o.projection); unittest.expect(o.startCursor, unittest.equals('foo')); } buildCounterQuery--; } -buildUnnamed1246() { +buildUnnamed1225() { var o = new core.List<api.EntityResult>(); o.add(buildEntityResult()); o.add(buildEntityResult()); return o; } -checkUnnamed1246(core.List<api.EntityResult> o) { +checkUnnamed1225(core.List<api.EntityResult> o) { unittest.expect(o, unittest.hasLength(2)); checkEntityResult(o[0]); checkEntityResult(o[1]); @@ -918,7 +918,7 @@ if (buildCounterQueryResultBatch < 3) { o.endCursor = "foo"; o.entityResultType = "foo"; - o.entityResults = buildUnnamed1246(); + o.entityResults = buildUnnamed1225(); o.moreResults = "foo"; o.skippedResults = 42; } @@ -931,7 +931,7 @@ if (buildCounterQueryResultBatch < 3) { unittest.expect(o.endCursor, unittest.equals('foo')); unittest.expect(o.entityResultType, unittest.equals('foo')); - checkUnnamed1246(o.entityResults); + checkUnnamed1225(o.entityResults); unittest.expect(o.moreResults, unittest.equals('foo')); unittest.expect(o.skippedResults, unittest.equals(42)); } @@ -1062,14 +1062,14 @@ buildCounterRunQueryResponse--; } -buildUnnamed1247() { +buildUnnamed1226() { var o = new core.List<api.Value>(); o.add(buildValue()); o.add(buildValue()); return o; } -checkUnnamed1247(core.List<api.Value> o) { +checkUnnamed1226(core.List<api.Value> o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o[0]); checkValue(o[1]); @@ -1089,7 +1089,7 @@ o.indexed = true; o.integerValue = "foo"; o.keyValue = buildKey(); - o.listValue = buildUnnamed1247(); + o.listValue = buildUnnamed1226(); o.meaning = 42; o.stringValue = "foo"; } @@ -1109,7 +1109,7 @@ unittest.expect(o.indexed, unittest.isTrue); unittest.expect(o.integerValue, unittest.equals('foo')); checkKey(o.keyValue); - checkUnnamed1247(o.listValue); + checkUnnamed1226(o.listValue); unittest.expect(o.meaning, unittest.equals(42)); unittest.expect(o.stringValue, unittest.equals('foo')); }
diff --git a/generated/googleapis_beta/test/dns/v1beta1_test.dart b/generated/googleapis_beta/test/dns/v1beta1_test.dart index 7a148d7..7af675c 100644 --- a/generated/googleapis_beta/test/dns/v1beta1_test.dart +++ b/generated/googleapis_beta/test/dns/v1beta1_test.dart
@@ -16,27 +16,27 @@ -buildUnnamed1301() { +buildUnnamed1280() { var o = new core.List<api.ResourceRecordSet>(); o.add(buildResourceRecordSet()); o.add(buildResourceRecordSet()); return o; } -checkUnnamed1301(core.List<api.ResourceRecordSet> o) { +checkUnnamed1280(core.List<api.ResourceRecordSet> o) { unittest.expect(o, unittest.hasLength(2)); checkResourceRecordSet(o[0]); checkResourceRecordSet(o[1]); } -buildUnnamed1302() { +buildUnnamed1281() { var o = new core.List<api.ResourceRecordSet>(); o.add(buildResourceRecordSet()); o.add(buildResourceRecordSet()); return o; } -checkUnnamed1302(core.List<api.ResourceRecordSet> o) { +checkUnnamed1281(core.List<api.ResourceRecordSet> o) { unittest.expect(o, unittest.hasLength(2)); checkResourceRecordSet(o[0]); checkResourceRecordSet(o[1]); @@ -47,8 +47,8 @@ var o = new api.Change(); buildCounterChange++; if (buildCounterChange < 3) { - o.additions = buildUnnamed1301(); - o.deletions = buildUnnamed1302(); + o.additions = buildUnnamed1280(); + o.deletions = buildUnnamed1281(); o.id = "foo"; o.kind = "foo"; o.startTime = "foo"; @@ -61,8 +61,8 @@ checkChange(api.Change o) { buildCounterChange++; if (buildCounterChange < 3) { - checkUnnamed1301(o.additions); - checkUnnamed1302(o.deletions); + checkUnnamed1280(o.additions); + checkUnnamed1281(o.deletions); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.startTime, unittest.equals('foo')); @@ -71,14 +71,14 @@ buildCounterChange--; } -buildUnnamed1303() { +buildUnnamed1282() { var o = new core.List<api.Change>(); o.add(buildChange()); o.add(buildChange()); return o; } -checkUnnamed1303(core.List<api.Change> o) { +checkUnnamed1282(core.List<api.Change> o) { unittest.expect(o, unittest.hasLength(2)); checkChange(o[0]); checkChange(o[1]); @@ -89,7 +89,7 @@ var o = new api.ChangesListResponse(); buildCounterChangesListResponse++; if (buildCounterChangesListResponse < 3) { - o.changes = buildUnnamed1303(); + o.changes = buildUnnamed1282(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -100,21 +100,21 @@ checkChangesListResponse(api.ChangesListResponse o) { buildCounterChangesListResponse++; if (buildCounterChangesListResponse < 3) { - checkUnnamed1303(o.changes); + checkUnnamed1282(o.changes); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterChangesListResponse--; } -buildUnnamed1304() { +buildUnnamed1283() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1304(core.List<core.String> o) { +checkUnnamed1283(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -131,7 +131,7 @@ o.id = "foo"; o.kind = "foo"; o.name = "foo"; - o.nameServers = buildUnnamed1304(); + o.nameServers = buildUnnamed1283(); } buildCounterManagedZone--; return o; @@ -146,19 +146,19 @@ unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed1304(o.nameServers); + checkUnnamed1283(o.nameServers); } buildCounterManagedZone--; } -buildUnnamed1305() { +buildUnnamed1284() { var o = new core.List<api.ManagedZone>(); o.add(buildManagedZone()); o.add(buildManagedZone()); return o; } -checkUnnamed1305(core.List<api.ManagedZone> o) { +checkUnnamed1284(core.List<api.ManagedZone> o) { unittest.expect(o, unittest.hasLength(2)); checkManagedZone(o[0]); checkManagedZone(o[1]); @@ -170,7 +170,7 @@ buildCounterManagedZonesListResponse++; if (buildCounterManagedZonesListResponse < 3) { o.kind = "foo"; - o.managedZones = buildUnnamed1305(); + o.managedZones = buildUnnamed1284(); o.nextPageToken = "foo"; } buildCounterManagedZonesListResponse--; @@ -181,7 +181,7 @@ buildCounterManagedZonesListResponse++; if (buildCounterManagedZonesListResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed1305(o.managedZones); + checkUnnamed1284(o.managedZones); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterManagedZonesListResponse--; @@ -243,14 +243,14 @@ buildCounterQuota--; } -buildUnnamed1306() { +buildUnnamed1285() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1306(core.List<core.String> o) { +checkUnnamed1285(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -263,7 +263,7 @@ if (buildCounterResourceRecordSet < 3) { o.kind = "foo"; o.name = "foo"; - o.rrdatas = buildUnnamed1306(); + o.rrdatas = buildUnnamed1285(); o.ttl = 42; o.type = "foo"; } @@ -276,21 +276,21 @@ if (buildCounterResourceRecordSet < 3) { unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed1306(o.rrdatas); + checkUnnamed1285(o.rrdatas); unittest.expect(o.ttl, unittest.equals(42)); unittest.expect(o.type, unittest.equals('foo')); } buildCounterResourceRecordSet--; } -buildUnnamed1307() { +buildUnnamed1286() { var o = new core.List<api.ResourceRecordSet>(); o.add(buildResourceRecordSet()); o.add(buildResourceRecordSet()); return o; } -checkUnnamed1307(core.List<api.ResourceRecordSet> o) { +checkUnnamed1286(core.List<api.ResourceRecordSet> o) { unittest.expect(o, unittest.hasLength(2)); checkResourceRecordSet(o[0]); checkResourceRecordSet(o[1]); @@ -303,7 +303,7 @@ if (buildCounterResourceRecordSetsListResponse < 3) { o.kind = "foo"; o.nextPageToken = "foo"; - o.rrsets = buildUnnamed1307(); + o.rrsets = buildUnnamed1286(); } buildCounterResourceRecordSetsListResponse--; return o; @@ -314,7 +314,7 @@ if (buildCounterResourceRecordSetsListResponse < 3) { unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1307(o.rrsets); + checkUnnamed1286(o.rrsets); } buildCounterResourceRecordSetsListResponse--; }
diff --git a/generated/googleapis_beta/test/genomics/v1beta_test.dart b/generated/googleapis_beta/test/genomics/v1beta_test.dart index 89734e0..67dbabf 100644 --- a/generated/googleapis_beta/test/genomics/v1beta_test.dart +++ b/generated/googleapis_beta/test/genomics/v1beta_test.dart
@@ -35,56 +35,56 @@ buildCounterBeacon--; } -buildUnnamed1172() { +buildUnnamed1150() { var o = new core.List<core.int>(); o.add(42); o.add(42); return o; } -checkUnnamed1172(core.List<core.int> o) { +checkUnnamed1150(core.List<core.int> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42)); unittest.expect(o[1], unittest.equals(42)); } -buildUnnamed1173() { +buildUnnamed1151() { var o = new core.List<core.double>(); o.add(42.0); o.add(42.0); return o; } -checkUnnamed1173(core.List<core.double> o) { +checkUnnamed1151(core.List<core.double> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42.0)); unittest.expect(o[1], unittest.equals(42.0)); } -buildUnnamed1174() { +buildUnnamed1152() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1174(core.List<core.String> o) { +checkUnnamed1152(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1175() { +buildUnnamed1153() { var o = new core.Map<core.String, core.List<core.String>>(); - o["x"] = buildUnnamed1174(); - o["y"] = buildUnnamed1174(); + o["x"] = buildUnnamed1152(); + o["y"] = buildUnnamed1152(); return o; } -checkUnnamed1175(core.Map<core.String, core.List<core.String>> o) { +checkUnnamed1153(core.Map<core.String, core.List<core.String>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1174(o["x"]); - checkUnnamed1174(o["y"]); + checkUnnamed1152(o["x"]); + checkUnnamed1152(o["y"]); } core.int buildCounterCall = 0; @@ -94,9 +94,9 @@ if (buildCounterCall < 3) { o.callSetId = "foo"; o.callSetName = "foo"; - o.genotype = buildUnnamed1172(); - o.genotypeLikelihood = buildUnnamed1173(); - o.info = buildUnnamed1175(); + o.genotype = buildUnnamed1150(); + o.genotypeLikelihood = buildUnnamed1151(); + o.info = buildUnnamed1153(); o.phaseset = "foo"; } buildCounterCall--; @@ -108,48 +108,48 @@ if (buildCounterCall < 3) { unittest.expect(o.callSetId, unittest.equals('foo')); unittest.expect(o.callSetName, unittest.equals('foo')); - checkUnnamed1172(o.genotype); - checkUnnamed1173(o.genotypeLikelihood); - checkUnnamed1175(o.info); + checkUnnamed1150(o.genotype); + checkUnnamed1151(o.genotypeLikelihood); + checkUnnamed1153(o.info); unittest.expect(o.phaseset, unittest.equals('foo')); } buildCounterCall--; } -buildUnnamed1176() { +buildUnnamed1154() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1176(core.List<core.String> o) { +checkUnnamed1154(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1177() { +buildUnnamed1155() { var o = new core.Map<core.String, core.List<core.String>>(); - o["x"] = buildUnnamed1176(); - o["y"] = buildUnnamed1176(); + o["x"] = buildUnnamed1154(); + o["y"] = buildUnnamed1154(); return o; } -checkUnnamed1177(core.Map<core.String, core.List<core.String>> o) { +checkUnnamed1155(core.Map<core.String, core.List<core.String>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1176(o["x"]); - checkUnnamed1176(o["y"]); + checkUnnamed1154(o["x"]); + checkUnnamed1154(o["y"]); } -buildUnnamed1178() { +buildUnnamed1156() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1178(core.List<core.String> o) { +checkUnnamed1156(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -162,10 +162,10 @@ if (buildCounterCallSet < 3) { o.created = "foo"; o.id = "foo"; - o.info = buildUnnamed1177(); + o.info = buildUnnamed1155(); o.name = "foo"; o.sampleId = "foo"; - o.variantSetIds = buildUnnamed1178(); + o.variantSetIds = buildUnnamed1156(); } buildCounterCallSet--; return o; @@ -176,10 +176,10 @@ if (buildCounterCallSet < 3) { unittest.expect(o.created, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed1177(o.info); + checkUnnamed1155(o.info); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.sampleId, unittest.equals('foo')); - checkUnnamed1178(o.variantSetIds); + checkUnnamed1156(o.variantSetIds); } buildCounterCallSet--; } @@ -230,27 +230,27 @@ buildCounterDataset--; } -buildUnnamed1179() { +buildUnnamed1157() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1179(core.List<core.String> o) { +checkUnnamed1157(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1180() { +buildUnnamed1158() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1180(core.List<core.String> o) { +checkUnnamed1158(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -265,13 +265,13 @@ o.callVariants = true; o.gcsOutputPath = "foo"; o.libraryName = "foo"; - o.pairedSourceUris = buildUnnamed1179(); + o.pairedSourceUris = buildUnnamed1157(); o.platformName = "foo"; o.platformUnit = "foo"; o.projectId = "foo"; o.readGroupId = "foo"; o.sampleName = "foo"; - o.sourceUris = buildUnnamed1180(); + o.sourceUris = buildUnnamed1158(); } buildCounterExperimentalCreateJobRequest--; return o; @@ -284,13 +284,13 @@ unittest.expect(o.callVariants, unittest.isTrue); unittest.expect(o.gcsOutputPath, unittest.equals('foo')); unittest.expect(o.libraryName, unittest.equals('foo')); - checkUnnamed1179(o.pairedSourceUris); + checkUnnamed1157(o.pairedSourceUris); unittest.expect(o.platformName, unittest.equals('foo')); unittest.expect(o.platformUnit, unittest.equals('foo')); unittest.expect(o.projectId, unittest.equals('foo')); unittest.expect(o.readGroupId, unittest.equals('foo')); unittest.expect(o.sampleName, unittest.equals('foo')); - checkUnnamed1180(o.sourceUris); + checkUnnamed1158(o.sourceUris); } buildCounterExperimentalCreateJobRequest--; } @@ -314,27 +314,27 @@ buildCounterExperimentalCreateJobResponse--; } -buildUnnamed1181() { +buildUnnamed1159() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1181(core.List<core.String> o) { +checkUnnamed1159(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1182() { +buildUnnamed1160() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1182(core.List<core.String> o) { +checkUnnamed1160(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -347,8 +347,8 @@ if (buildCounterExportReadsetsRequest < 3) { o.exportUri = "foo"; o.projectId = "foo"; - o.readsetIds = buildUnnamed1181(); - o.referenceNames = buildUnnamed1182(); + o.readsetIds = buildUnnamed1159(); + o.referenceNames = buildUnnamed1160(); } buildCounterExportReadsetsRequest--; return o; @@ -359,8 +359,8 @@ if (buildCounterExportReadsetsRequest < 3) { unittest.expect(o.exportUri, unittest.equals('foo')); unittest.expect(o.projectId, unittest.equals('foo')); - checkUnnamed1181(o.readsetIds); - checkUnnamed1182(o.referenceNames); + checkUnnamed1159(o.readsetIds); + checkUnnamed1160(o.referenceNames); } buildCounterExportReadsetsRequest--; } @@ -384,14 +384,14 @@ buildCounterExportReadsetsResponse--; } -buildUnnamed1183() { +buildUnnamed1161() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1183(core.List<core.String> o) { +checkUnnamed1161(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -404,7 +404,7 @@ if (buildCounterExportVariantsRequest < 3) { o.bigqueryDataset = "foo"; o.bigqueryTable = "foo"; - o.callSetIds = buildUnnamed1183(); + o.callSetIds = buildUnnamed1161(); o.format = "foo"; o.projectId = "foo"; o.variantSetId = "foo"; @@ -418,7 +418,7 @@ if (buildCounterExportVariantsRequest < 3) { unittest.expect(o.bigqueryDataset, unittest.equals('foo')); unittest.expect(o.bigqueryTable, unittest.equals('foo')); - checkUnnamed1183(o.callSetIds); + checkUnnamed1161(o.callSetIds); unittest.expect(o.format, unittest.equals('foo')); unittest.expect(o.projectId, unittest.equals('foo')); unittest.expect(o.variantSetId, unittest.equals('foo')); @@ -489,66 +489,66 @@ buildCounterHeader--; } -buildUnnamed1184() { +buildUnnamed1162() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1184(core.List<core.String> o) { +checkUnnamed1162(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1185() { +buildUnnamed1163() { var o = new core.List<api.Header>(); o.add(buildHeader()); o.add(buildHeader()); return o; } -checkUnnamed1185(core.List<api.Header> o) { +checkUnnamed1163(core.List<api.Header> o) { unittest.expect(o, unittest.hasLength(2)); checkHeader(o[0]); checkHeader(o[1]); } -buildUnnamed1186() { +buildUnnamed1164() { var o = new core.List<api.Program>(); o.add(buildProgram()); o.add(buildProgram()); return o; } -checkUnnamed1186(core.List<api.Program> o) { +checkUnnamed1164(core.List<api.Program> o) { unittest.expect(o, unittest.hasLength(2)); checkProgram(o[0]); checkProgram(o[1]); } -buildUnnamed1187() { +buildUnnamed1165() { var o = new core.List<api.ReadGroup>(); o.add(buildReadGroup()); o.add(buildReadGroup()); return o; } -checkUnnamed1187(core.List<api.ReadGroup> o) { +checkUnnamed1165(core.List<api.ReadGroup> o) { unittest.expect(o, unittest.hasLength(2)); checkReadGroup(o[0]); checkReadGroup(o[1]); } -buildUnnamed1188() { +buildUnnamed1166() { var o = new core.List<api.ReferenceSequence>(); o.add(buildReferenceSequence()); o.add(buildReferenceSequence()); return o; } -checkUnnamed1188(core.List<api.ReferenceSequence> o) { +checkUnnamed1166(core.List<api.ReferenceSequence> o) { unittest.expect(o, unittest.hasLength(2)); checkReferenceSequence(o[0]); checkReferenceSequence(o[1]); @@ -559,13 +559,13 @@ var o = new api.HeaderSection(); buildCounterHeaderSection++; if (buildCounterHeaderSection < 3) { - o.comments = buildUnnamed1184(); + o.comments = buildUnnamed1162(); o.fileUri = "foo"; o.filename = "foo"; - o.headers = buildUnnamed1185(); - o.programs = buildUnnamed1186(); - o.readGroups = buildUnnamed1187(); - o.refSequences = buildUnnamed1188(); + o.headers = buildUnnamed1163(); + o.programs = buildUnnamed1164(); + o.readGroups = buildUnnamed1165(); + o.refSequences = buildUnnamed1166(); } buildCounterHeaderSection--; return o; @@ -574,25 +574,25 @@ checkHeaderSection(api.HeaderSection o) { buildCounterHeaderSection++; if (buildCounterHeaderSection < 3) { - checkUnnamed1184(o.comments); + checkUnnamed1162(o.comments); unittest.expect(o.fileUri, unittest.equals('foo')); unittest.expect(o.filename, unittest.equals('foo')); - checkUnnamed1185(o.headers); - checkUnnamed1186(o.programs); - checkUnnamed1187(o.readGroups); - checkUnnamed1188(o.refSequences); + checkUnnamed1163(o.headers); + checkUnnamed1164(o.programs); + checkUnnamed1165(o.readGroups); + checkUnnamed1166(o.refSequences); } buildCounterHeaderSection--; } -buildUnnamed1189() { +buildUnnamed1167() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1189(core.List<core.String> o) { +checkUnnamed1167(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -604,7 +604,7 @@ buildCounterImportReadsetsRequest++; if (buildCounterImportReadsetsRequest < 3) { o.datasetId = "foo"; - o.sourceUris = buildUnnamed1189(); + o.sourceUris = buildUnnamed1167(); } buildCounterImportReadsetsRequest--; return o; @@ -614,7 +614,7 @@ buildCounterImportReadsetsRequest++; if (buildCounterImportReadsetsRequest < 3) { unittest.expect(o.datasetId, unittest.equals('foo')); - checkUnnamed1189(o.sourceUris); + checkUnnamed1167(o.sourceUris); } buildCounterImportReadsetsRequest--; } @@ -638,14 +638,14 @@ buildCounterImportReadsetsResponse--; } -buildUnnamed1190() { +buildUnnamed1168() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1190(core.List<core.String> o) { +checkUnnamed1168(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -657,7 +657,7 @@ buildCounterImportVariantsRequest++; if (buildCounterImportVariantsRequest < 3) { o.format = "foo"; - o.sourceUris = buildUnnamed1190(); + o.sourceUris = buildUnnamed1168(); o.variantSetId = "foo"; } buildCounterImportVariantsRequest--; @@ -668,7 +668,7 @@ buildCounterImportVariantsRequest++; if (buildCounterImportVariantsRequest < 3) { unittest.expect(o.format, unittest.equals('foo')); - checkUnnamed1190(o.sourceUris); + checkUnnamed1168(o.sourceUris); unittest.expect(o.variantSetId, unittest.equals('foo')); } buildCounterImportVariantsRequest--; @@ -693,40 +693,40 @@ buildCounterImportVariantsResponse--; } -buildUnnamed1191() { +buildUnnamed1169() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1191(core.List<core.String> o) { +checkUnnamed1169(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1192() { +buildUnnamed1170() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1192(core.List<core.String> o) { +checkUnnamed1170(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1193() { +buildUnnamed1171() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1193(core.List<core.String> o) { +checkUnnamed1171(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -739,13 +739,13 @@ if (buildCounterJob < 3) { o.created = "foo"; o.description = "foo"; - o.errors = buildUnnamed1191(); + o.errors = buildUnnamed1169(); o.id = "foo"; - o.importedIds = buildUnnamed1192(); + o.importedIds = buildUnnamed1170(); o.projectId = "foo"; o.request = buildJobRequest(); o.status = "foo"; - o.warnings = buildUnnamed1193(); + o.warnings = buildUnnamed1171(); } buildCounterJob--; return o; @@ -756,38 +756,38 @@ if (buildCounterJob < 3) { unittest.expect(o.created, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed1191(o.errors); + checkUnnamed1169(o.errors); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed1192(o.importedIds); + checkUnnamed1170(o.importedIds); unittest.expect(o.projectId, unittest.equals('foo')); checkJobRequest(o.request); unittest.expect(o.status, unittest.equals('foo')); - checkUnnamed1193(o.warnings); + checkUnnamed1171(o.warnings); } buildCounterJob--; } -buildUnnamed1194() { +buildUnnamed1172() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1194(core.List<core.String> o) { +checkUnnamed1172(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1195() { +buildUnnamed1173() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1195(core.List<core.String> o) { +checkUnnamed1173(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -798,8 +798,8 @@ var o = new api.JobRequest(); buildCounterJobRequest++; if (buildCounterJobRequest < 3) { - o.destination = buildUnnamed1194(); - o.source = buildUnnamed1195(); + o.destination = buildUnnamed1172(); + o.source = buildUnnamed1173(); o.type = "foo"; } buildCounterJobRequest--; @@ -809,21 +809,21 @@ checkJobRequest(api.JobRequest o) { buildCounterJobRequest++; if (buildCounterJobRequest < 3) { - checkUnnamed1194(o.destination); - checkUnnamed1195(o.source); + checkUnnamed1172(o.destination); + checkUnnamed1173(o.source); unittest.expect(o.type, unittest.equals('foo')); } buildCounterJobRequest--; } -buildUnnamed1196() { +buildUnnamed1174() { var o = new core.List<api.CoverageBucket>(); o.add(buildCoverageBucket()); o.add(buildCoverageBucket()); return o; } -checkUnnamed1196(core.List<api.CoverageBucket> o) { +checkUnnamed1174(core.List<api.CoverageBucket> o) { unittest.expect(o, unittest.hasLength(2)); checkCoverageBucket(o[0]); checkCoverageBucket(o[1]); @@ -835,7 +835,7 @@ buildCounterListCoverageBucketsResponse++; if (buildCounterListCoverageBucketsResponse < 3) { o.bucketWidth = "foo"; - o.coverageBuckets = buildUnnamed1196(); + o.coverageBuckets = buildUnnamed1174(); o.nextPageToken = "foo"; } buildCounterListCoverageBucketsResponse--; @@ -846,20 +846,20 @@ buildCounterListCoverageBucketsResponse++; if (buildCounterListCoverageBucketsResponse < 3) { unittest.expect(o.bucketWidth, unittest.equals('foo')); - checkUnnamed1196(o.coverageBuckets); + checkUnnamed1174(o.coverageBuckets); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterListCoverageBucketsResponse--; } -buildUnnamed1197() { +buildUnnamed1175() { var o = new core.List<api.Dataset>(); o.add(buildDataset()); o.add(buildDataset()); return o; } -checkUnnamed1197(core.List<api.Dataset> o) { +checkUnnamed1175(core.List<api.Dataset> o) { unittest.expect(o, unittest.hasLength(2)); checkDataset(o[0]); checkDataset(o[1]); @@ -870,7 +870,7 @@ var o = new api.ListDatasetsResponse(); buildCounterListDatasetsResponse++; if (buildCounterListDatasetsResponse < 3) { - o.datasets = buildUnnamed1197(); + o.datasets = buildUnnamed1175(); o.nextPageToken = "foo"; } buildCounterListDatasetsResponse--; @@ -880,36 +880,68 @@ checkListDatasetsResponse(api.ListDatasetsResponse o) { buildCounterListDatasetsResponse++; if (buildCounterListDatasetsResponse < 3) { - checkUnnamed1197(o.datasets); + checkUnnamed1175(o.datasets); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterListDatasetsResponse--; } -buildUnnamed1198() { +buildUnnamed1176() { + var o = new core.List<api.Variant>(); + o.add(buildVariant()); + o.add(buildVariant()); + return o; +} + +checkUnnamed1176(core.List<api.Variant> o) { + unittest.expect(o, unittest.hasLength(2)); + checkVariant(o[0]); + checkVariant(o[1]); +} + +core.int buildCounterMergeVariantsRequest = 0; +buildMergeVariantsRequest() { + var o = new api.MergeVariantsRequest(); + buildCounterMergeVariantsRequest++; + if (buildCounterMergeVariantsRequest < 3) { + o.variants = buildUnnamed1176(); + } + buildCounterMergeVariantsRequest--; + return o; +} + +checkMergeVariantsRequest(api.MergeVariantsRequest o) { + buildCounterMergeVariantsRequest++; + if (buildCounterMergeVariantsRequest < 3) { + checkUnnamed1176(o.variants); + } + buildCounterMergeVariantsRequest--; +} + +buildUnnamed1177() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1198(core.List<core.String> o) { +checkUnnamed1177(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1199() { +buildUnnamed1178() { var o = new core.Map<core.String, core.List<core.String>>(); - o["x"] = buildUnnamed1198(); - o["y"] = buildUnnamed1198(); + o["x"] = buildUnnamed1177(); + o["y"] = buildUnnamed1177(); return o; } -checkUnnamed1199(core.Map<core.String, core.List<core.String>> o) { +checkUnnamed1178(core.Map<core.String, core.List<core.String>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1198(o["x"]); - checkUnnamed1198(o["y"]); + checkUnnamed1177(o["x"]); + checkUnnamed1177(o["y"]); } core.int buildCounterMetadata = 0; @@ -919,7 +951,7 @@ if (buildCounterMetadata < 3) { o.description = "foo"; o.id = "foo"; - o.info = buildUnnamed1199(); + o.info = buildUnnamed1178(); o.key = "foo"; o.number = "foo"; o.type = "foo"; @@ -934,7 +966,7 @@ if (buildCounterMetadata < 3) { unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed1199(o.info); + checkUnnamed1178(o.info); unittest.expect(o.key, unittest.equals('foo')); unittest.expect(o.number, unittest.equals('foo')); unittest.expect(o.type, unittest.equals('foo')); @@ -970,30 +1002,30 @@ buildCounterProgram--; } -buildUnnamed1200() { +buildUnnamed1179() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1200(core.List<core.String> o) { +checkUnnamed1179(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1201() { +buildUnnamed1180() { var o = new core.Map<core.String, core.List<core.String>>(); - o["x"] = buildUnnamed1200(); - o["y"] = buildUnnamed1200(); + o["x"] = buildUnnamed1179(); + o["y"] = buildUnnamed1179(); return o; } -checkUnnamed1201(core.Map<core.String, core.List<core.String>> o) { +checkUnnamed1180(core.Map<core.String, core.List<core.String>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1200(o["x"]); - checkUnnamed1200(o["y"]); + checkUnnamed1179(o["x"]); + checkUnnamed1179(o["y"]); } core.int buildCounterRead = 0; @@ -1014,7 +1046,7 @@ o.position = 42; o.readsetId = "foo"; o.referenceSequenceName = "foo"; - o.tags = buildUnnamed1201(); + o.tags = buildUnnamed1180(); o.templateLength = 42; } buildCounterRead--; @@ -1037,7 +1069,7 @@ unittest.expect(o.position, unittest.equals(42)); unittest.expect(o.readsetId, unittest.equals('foo')); unittest.expect(o.referenceSequenceName, unittest.equals('foo')); - checkUnnamed1201(o.tags); + checkUnnamed1180(o.tags); unittest.expect(o.templateLength, unittest.equals(42)); } buildCounterRead--; @@ -1084,14 +1116,14 @@ buildCounterReadGroup--; } -buildUnnamed1202() { +buildUnnamed1181() { var o = new core.List<api.HeaderSection>(); o.add(buildHeaderSection()); o.add(buildHeaderSection()); return o; } -checkUnnamed1202(core.List<api.HeaderSection> o) { +checkUnnamed1181(core.List<api.HeaderSection> o) { unittest.expect(o, unittest.hasLength(2)); checkHeaderSection(o[0]); checkHeaderSection(o[1]); @@ -1103,7 +1135,7 @@ buildCounterReadset++; if (buildCounterReadset < 3) { o.datasetId = "foo"; - o.fileData = buildUnnamed1202(); + o.fileData = buildUnnamed1181(); o.id = "foo"; o.name = "foo"; } @@ -1115,7 +1147,7 @@ buildCounterReadset++; if (buildCounterReadset < 3) { unittest.expect(o.datasetId, unittest.equals('foo')); - checkUnnamed1202(o.fileData); + checkUnnamed1181(o.fileData); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); } @@ -1172,14 +1204,14 @@ buildCounterReferenceSequence--; } -buildUnnamed1203() { +buildUnnamed1182() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1203(core.List<core.String> o) { +checkUnnamed1182(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1193,7 +1225,7 @@ o.name = "foo"; o.pageSize = 42; o.pageToken = "foo"; - o.variantSetIds = buildUnnamed1203(); + o.variantSetIds = buildUnnamed1182(); } buildCounterSearchCallSetsRequest--; return o; @@ -1205,19 +1237,19 @@ unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.pageSize, unittest.equals(42)); unittest.expect(o.pageToken, unittest.equals('foo')); - checkUnnamed1203(o.variantSetIds); + checkUnnamed1182(o.variantSetIds); } buildCounterSearchCallSetsRequest--; } -buildUnnamed1204() { +buildUnnamed1183() { var o = new core.List<api.CallSet>(); o.add(buildCallSet()); o.add(buildCallSet()); return o; } -checkUnnamed1204(core.List<api.CallSet> o) { +checkUnnamed1183(core.List<api.CallSet> o) { unittest.expect(o, unittest.hasLength(2)); checkCallSet(o[0]); checkCallSet(o[1]); @@ -1228,7 +1260,7 @@ var o = new api.SearchCallSetsResponse(); buildCounterSearchCallSetsResponse++; if (buildCounterSearchCallSetsResponse < 3) { - o.callSets = buildUnnamed1204(); + o.callSets = buildUnnamed1183(); o.nextPageToken = "foo"; } buildCounterSearchCallSetsResponse--; @@ -1238,20 +1270,20 @@ checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { buildCounterSearchCallSetsResponse++; if (buildCounterSearchCallSetsResponse < 3) { - checkUnnamed1204(o.callSets); + checkUnnamed1183(o.callSets); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterSearchCallSetsResponse--; } -buildUnnamed1205() { +buildUnnamed1184() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1205(core.List<core.String> o) { +checkUnnamed1184(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1267,7 +1299,7 @@ o.maxResults = "foo"; o.pageToken = "foo"; o.projectId = "foo"; - o.status = buildUnnamed1205(); + o.status = buildUnnamed1184(); } buildCounterSearchJobsRequest--; return o; @@ -1281,19 +1313,19 @@ unittest.expect(o.maxResults, unittest.equals('foo')); unittest.expect(o.pageToken, unittest.equals('foo')); unittest.expect(o.projectId, unittest.equals('foo')); - checkUnnamed1205(o.status); + checkUnnamed1184(o.status); } buildCounterSearchJobsRequest--; } -buildUnnamed1206() { +buildUnnamed1185() { var o = new core.List<api.Job>(); o.add(buildJob()); o.add(buildJob()); return o; } -checkUnnamed1206(core.List<api.Job> o) { +checkUnnamed1185(core.List<api.Job> o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); @@ -1304,7 +1336,7 @@ var o = new api.SearchJobsResponse(); buildCounterSearchJobsResponse++; if (buildCounterSearchJobsResponse < 3) { - o.jobs = buildUnnamed1206(); + o.jobs = buildUnnamed1185(); o.nextPageToken = "foo"; } buildCounterSearchJobsResponse--; @@ -1314,20 +1346,20 @@ checkSearchJobsResponse(api.SearchJobsResponse o) { buildCounterSearchJobsResponse++; if (buildCounterSearchJobsResponse < 3) { - checkUnnamed1206(o.jobs); + checkUnnamed1185(o.jobs); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterSearchJobsResponse--; } -buildUnnamed1207() { +buildUnnamed1186() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1207(core.List<core.String> o) { +checkUnnamed1186(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1340,7 +1372,7 @@ if (buildCounterSearchReadsRequest < 3) { o.maxResults = "foo"; o.pageToken = "foo"; - o.readsetIds = buildUnnamed1207(); + o.readsetIds = buildUnnamed1186(); o.sequenceEnd = "foo"; o.sequenceName = "foo"; o.sequenceStart = "foo"; @@ -1354,7 +1386,7 @@ if (buildCounterSearchReadsRequest < 3) { unittest.expect(o.maxResults, unittest.equals('foo')); unittest.expect(o.pageToken, unittest.equals('foo')); - checkUnnamed1207(o.readsetIds); + checkUnnamed1186(o.readsetIds); unittest.expect(o.sequenceEnd, unittest.equals('foo')); unittest.expect(o.sequenceName, unittest.equals('foo')); unittest.expect(o.sequenceStart, unittest.equals('foo')); @@ -1362,14 +1394,14 @@ buildCounterSearchReadsRequest--; } -buildUnnamed1208() { +buildUnnamed1187() { var o = new core.List<api.Read>(); o.add(buildRead()); o.add(buildRead()); return o; } -checkUnnamed1208(core.List<api.Read> o) { +checkUnnamed1187(core.List<api.Read> o) { unittest.expect(o, unittest.hasLength(2)); checkRead(o[0]); checkRead(o[1]); @@ -1381,7 +1413,7 @@ buildCounterSearchReadsResponse++; if (buildCounterSearchReadsResponse < 3) { o.nextPageToken = "foo"; - o.reads = buildUnnamed1208(); + o.reads = buildUnnamed1187(); } buildCounterSearchReadsResponse--; return o; @@ -1391,19 +1423,19 @@ buildCounterSearchReadsResponse++; if (buildCounterSearchReadsResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1208(o.reads); + checkUnnamed1187(o.reads); } buildCounterSearchReadsResponse--; } -buildUnnamed1209() { +buildUnnamed1188() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1209(core.List<core.String> o) { +checkUnnamed1188(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1414,7 +1446,7 @@ var o = new api.SearchReadsetsRequest(); buildCounterSearchReadsetsRequest++; if (buildCounterSearchReadsetsRequest < 3) { - o.datasetIds = buildUnnamed1209(); + o.datasetIds = buildUnnamed1188(); o.maxResults = "foo"; o.name = "foo"; o.pageToken = "foo"; @@ -1426,7 +1458,7 @@ checkSearchReadsetsRequest(api.SearchReadsetsRequest o) { buildCounterSearchReadsetsRequest++; if (buildCounterSearchReadsetsRequest < 3) { - checkUnnamed1209(o.datasetIds); + checkUnnamed1188(o.datasetIds); unittest.expect(o.maxResults, unittest.equals('foo')); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.pageToken, unittest.equals('foo')); @@ -1434,14 +1466,14 @@ buildCounterSearchReadsetsRequest--; } -buildUnnamed1210() { +buildUnnamed1189() { var o = new core.List<api.Readset>(); o.add(buildReadset()); o.add(buildReadset()); return o; } -checkUnnamed1210(core.List<api.Readset> o) { +checkUnnamed1189(core.List<api.Readset> o) { unittest.expect(o, unittest.hasLength(2)); checkReadset(o[0]); checkReadset(o[1]); @@ -1453,7 +1485,7 @@ buildCounterSearchReadsetsResponse++; if (buildCounterSearchReadsetsResponse < 3) { o.nextPageToken = "foo"; - o.readsets = buildUnnamed1210(); + o.readsets = buildUnnamed1189(); } buildCounterSearchReadsetsResponse--; return o; @@ -1463,19 +1495,19 @@ buildCounterSearchReadsetsResponse++; if (buildCounterSearchReadsetsResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1210(o.readsets); + checkUnnamed1189(o.readsets); } buildCounterSearchReadsetsResponse--; } -buildUnnamed1211() { +buildUnnamed1190() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1211(core.List<core.String> o) { +checkUnnamed1190(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1486,7 +1518,7 @@ var o = new api.SearchVariantSetsRequest(); buildCounterSearchVariantSetsRequest++; if (buildCounterSearchVariantSetsRequest < 3) { - o.datasetIds = buildUnnamed1211(); + o.datasetIds = buildUnnamed1190(); o.pageSize = 42; o.pageToken = "foo"; } @@ -1497,21 +1529,21 @@ checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { buildCounterSearchVariantSetsRequest++; if (buildCounterSearchVariantSetsRequest < 3) { - checkUnnamed1211(o.datasetIds); + checkUnnamed1190(o.datasetIds); unittest.expect(o.pageSize, unittest.equals(42)); unittest.expect(o.pageToken, unittest.equals('foo')); } buildCounterSearchVariantSetsRequest--; } -buildUnnamed1212() { +buildUnnamed1191() { var o = new core.List<api.VariantSet>(); o.add(buildVariantSet()); o.add(buildVariantSet()); return o; } -checkUnnamed1212(core.List<api.VariantSet> o) { +checkUnnamed1191(core.List<api.VariantSet> o) { unittest.expect(o, unittest.hasLength(2)); checkVariantSet(o[0]); checkVariantSet(o[1]); @@ -1523,7 +1555,7 @@ buildCounterSearchVariantSetsResponse++; if (buildCounterSearchVariantSetsResponse < 3) { o.nextPageToken = "foo"; - o.variantSets = buildUnnamed1212(); + o.variantSets = buildUnnamed1191(); } buildCounterSearchVariantSetsResponse--; return o; @@ -1533,32 +1565,32 @@ buildCounterSearchVariantSetsResponse++; if (buildCounterSearchVariantSetsResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1212(o.variantSets); + checkUnnamed1191(o.variantSets); } buildCounterSearchVariantSetsResponse--; } -buildUnnamed1213() { +buildUnnamed1192() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1213(core.List<core.String> o) { +checkUnnamed1192(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1214() { +buildUnnamed1193() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1214(core.List<core.String> o) { +checkUnnamed1193(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1569,7 +1601,7 @@ var o = new api.SearchVariantsRequest(); buildCounterSearchVariantsRequest++; if (buildCounterSearchVariantsRequest < 3) { - o.callSetIds = buildUnnamed1213(); + o.callSetIds = buildUnnamed1192(); o.end = "foo"; o.maxCalls = 42; o.pageSize = 42; @@ -1577,7 +1609,7 @@ o.referenceName = "foo"; o.start = "foo"; o.variantName = "foo"; - o.variantSetIds = buildUnnamed1214(); + o.variantSetIds = buildUnnamed1193(); } buildCounterSearchVariantsRequest--; return o; @@ -1586,7 +1618,7 @@ checkSearchVariantsRequest(api.SearchVariantsRequest o) { buildCounterSearchVariantsRequest++; if (buildCounterSearchVariantsRequest < 3) { - checkUnnamed1213(o.callSetIds); + checkUnnamed1192(o.callSetIds); unittest.expect(o.end, unittest.equals('foo')); unittest.expect(o.maxCalls, unittest.equals(42)); unittest.expect(o.pageSize, unittest.equals(42)); @@ -1594,19 +1626,19 @@ unittest.expect(o.referenceName, unittest.equals('foo')); unittest.expect(o.start, unittest.equals('foo')); unittest.expect(o.variantName, unittest.equals('foo')); - checkUnnamed1214(o.variantSetIds); + checkUnnamed1193(o.variantSetIds); } buildCounterSearchVariantsRequest--; } -buildUnnamed1215() { +buildUnnamed1194() { var o = new core.List<api.Variant>(); o.add(buildVariant()); o.add(buildVariant()); return o; } -checkUnnamed1215(core.List<api.Variant> o) { +checkUnnamed1194(core.List<api.Variant> o) { unittest.expect(o, unittest.hasLength(2)); checkVariant(o[0]); checkVariant(o[1]); @@ -1618,7 +1650,7 @@ buildCounterSearchVariantsResponse++; if (buildCounterSearchVariantsResponse < 3) { o.nextPageToken = "foo"; - o.variants = buildUnnamed1215(); + o.variants = buildUnnamed1194(); } buildCounterSearchVariantsResponse--; return o; @@ -1628,84 +1660,84 @@ buildCounterSearchVariantsResponse++; if (buildCounterSearchVariantsResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1215(o.variants); + checkUnnamed1194(o.variants); } buildCounterSearchVariantsResponse--; } -buildUnnamed1216() { +buildUnnamed1195() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1216(core.List<core.String> o) { +checkUnnamed1195(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1217() { +buildUnnamed1196() { var o = new core.List<api.Call>(); o.add(buildCall()); o.add(buildCall()); return o; } -checkUnnamed1217(core.List<api.Call> o) { +checkUnnamed1196(core.List<api.Call> o) { unittest.expect(o, unittest.hasLength(2)); checkCall(o[0]); checkCall(o[1]); } -buildUnnamed1218() { +buildUnnamed1197() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1218(core.List<core.String> o) { +checkUnnamed1197(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1219() { +buildUnnamed1198() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1219(core.List<core.String> o) { +checkUnnamed1198(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1220() { +buildUnnamed1199() { var o = new core.Map<core.String, core.List<core.String>>(); - o["x"] = buildUnnamed1219(); - o["y"] = buildUnnamed1219(); + o["x"] = buildUnnamed1198(); + o["y"] = buildUnnamed1198(); return o; } -checkUnnamed1220(core.Map<core.String, core.List<core.String>> o) { +checkUnnamed1199(core.Map<core.String, core.List<core.String>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1219(o["x"]); - checkUnnamed1219(o["y"]); + checkUnnamed1198(o["x"]); + checkUnnamed1198(o["y"]); } -buildUnnamed1221() { +buildUnnamed1200() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1221(core.List<core.String> o) { +checkUnnamed1200(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1716,14 +1748,14 @@ var o = new api.Variant(); buildCounterVariant++; if (buildCounterVariant < 3) { - o.alternateBases = buildUnnamed1216(); - o.calls = buildUnnamed1217(); + o.alternateBases = buildUnnamed1195(); + o.calls = buildUnnamed1196(); o.created = "foo"; o.end = "foo"; - o.filter = buildUnnamed1218(); + o.filter = buildUnnamed1197(); o.id = "foo"; - o.info = buildUnnamed1220(); - o.names = buildUnnamed1221(); + o.info = buildUnnamed1199(); + o.names = buildUnnamed1200(); o.quality = 42.0; o.referenceBases = "foo"; o.referenceName = "foo"; @@ -1737,14 +1769,14 @@ checkVariant(api.Variant o) { buildCounterVariant++; if (buildCounterVariant < 3) { - checkUnnamed1216(o.alternateBases); - checkUnnamed1217(o.calls); + checkUnnamed1195(o.alternateBases); + checkUnnamed1196(o.calls); unittest.expect(o.created, unittest.equals('foo')); unittest.expect(o.end, unittest.equals('foo')); - checkUnnamed1218(o.filter); + checkUnnamed1197(o.filter); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed1220(o.info); - checkUnnamed1221(o.names); + checkUnnamed1199(o.info); + checkUnnamed1200(o.names); unittest.expect(o.quality, unittest.equals(42.0)); unittest.expect(o.referenceBases, unittest.equals('foo')); unittest.expect(o.referenceName, unittest.equals('foo')); @@ -1754,27 +1786,27 @@ buildCounterVariant--; } -buildUnnamed1222() { +buildUnnamed1201() { var o = new core.List<api.Metadata>(); o.add(buildMetadata()); o.add(buildMetadata()); return o; } -checkUnnamed1222(core.List<api.Metadata> o) { +checkUnnamed1201(core.List<api.Metadata> o) { unittest.expect(o, unittest.hasLength(2)); checkMetadata(o[0]); checkMetadata(o[1]); } -buildUnnamed1223() { +buildUnnamed1202() { var o = new core.List<api.ReferenceBound>(); o.add(buildReferenceBound()); o.add(buildReferenceBound()); return o; } -checkUnnamed1223(core.List<api.ReferenceBound> o) { +checkUnnamed1202(core.List<api.ReferenceBound> o) { unittest.expect(o, unittest.hasLength(2)); checkReferenceBound(o[0]); checkReferenceBound(o[1]); @@ -1787,8 +1819,8 @@ if (buildCounterVariantSet < 3) { o.datasetId = "foo"; o.id = "foo"; - o.metadata = buildUnnamed1222(); - o.referenceBounds = buildUnnamed1223(); + o.metadata = buildUnnamed1201(); + o.referenceBounds = buildUnnamed1202(); } buildCounterVariantSet--; return o; @@ -1799,8 +1831,8 @@ if (buildCounterVariantSet < 3) { unittest.expect(o.datasetId, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed1222(o.metadata); - checkUnnamed1223(o.referenceBounds); + checkUnnamed1201(o.metadata); + checkUnnamed1202(o.referenceBounds); } buildCounterVariantSet--; } @@ -2005,6 +2037,15 @@ }); + unittest.group("obj-schema-MergeVariantsRequest", () { + unittest.test("to-json--from-json", () { + var o = buildMergeVariantsRequest(); + var od = new api.MergeVariantsRequest.fromJson(o.toJson()); + checkMergeVariantsRequest(od); + }); + }); + + unittest.group("obj-schema-Metadata", () { unittest.test("to-json--from-json", () { var o = buildMetadata(); @@ -4047,11 +4088,11 @@ var mock = new common_test.HttpServerMock(); api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; - var arg_request = buildVariant(); + var arg_request = buildMergeVariantsRequest(); var arg_variantSetId = "foo"; mock.register(unittest.expectAsync((http.BaseRequest req, json) { - var obj = new api.Variant.fromJson(json); - checkVariant(obj); + var obj = new api.MergeVariantsRequest.fromJson(json); + checkMergeVariantsRequest(obj); var path = (req.url).path; var pathOffset = 0;
diff --git a/generated/googleapis_beta/test/manager/v1beta2_test.dart b/generated/googleapis_beta/test/manager/v1beta2_test.dart index 8f74e89..397cd6c 100644 --- a/generated/googleapis_beta/test/manager/v1beta2_test.dart +++ b/generated/googleapis_beta/test/manager/v1beta2_test.dart
@@ -39,14 +39,14 @@ buildCounterAccessConfig--; } -buildUnnamed1139() { +buildUnnamed1117() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1139(core.List<core.String> o) { +checkUnnamed1117(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -57,7 +57,7 @@ var o = new api.Action(); buildCounterAction++; if (buildCounterAction < 3) { - o.commands = buildUnnamed1139(); + o.commands = buildUnnamed1117(); o.timeoutMs = 42; } buildCounterAction--; @@ -67,20 +67,20 @@ checkAction(api.Action o) { buildCounterAction++; if (buildCounterAction < 3) { - checkUnnamed1139(o.commands); + checkUnnamed1117(o.commands); unittest.expect(o.timeoutMs, unittest.equals(42)); } buildCounterAction--; } -buildUnnamed1140() { +buildUnnamed1118() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1140(core.List<core.String> o) { +checkUnnamed1118(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -92,7 +92,7 @@ buildCounterAllowedRule++; if (buildCounterAllowedRule < 3) { o.IPProtocol = "foo"; - o.ports = buildUnnamed1140(); + o.ports = buildUnnamed1118(); } buildCounterAllowedRule--; return o; @@ -102,7 +102,7 @@ buildCounterAllowedRule++; if (buildCounterAllowedRule < 3) { unittest.expect(o.IPProtocol, unittest.equals('foo')); - checkUnnamed1140(o.ports); + checkUnnamed1118(o.ports); } buildCounterAllowedRule--; } @@ -178,27 +178,27 @@ buildCounterDeployState--; } -buildUnnamed1141() { +buildUnnamed1119() { var o = new core.Map<core.String, api.ModuleStatus>(); o["x"] = buildModuleStatus(); o["y"] = buildModuleStatus(); return o; } -checkUnnamed1141(core.Map<core.String, api.ModuleStatus> o) { +checkUnnamed1119(core.Map<core.String, api.ModuleStatus> o) { unittest.expect(o, unittest.hasLength(2)); checkModuleStatus(o["x"]); checkModuleStatus(o["y"]); } -buildUnnamed1142() { +buildUnnamed1120() { var o = new core.List<api.ParamOverride>(); o.add(buildParamOverride()); o.add(buildParamOverride()); return o; } -checkUnnamed1142(core.List<api.ParamOverride> o) { +checkUnnamed1120(core.List<api.ParamOverride> o) { unittest.expect(o, unittest.hasLength(2)); checkParamOverride(o[0]); checkParamOverride(o[1]); @@ -211,9 +211,9 @@ if (buildCounterDeployment < 3) { o.creationDate = "foo"; o.description = "foo"; - o.modules = buildUnnamed1141(); + o.modules = buildUnnamed1119(); o.name = "foo"; - o.overrides = buildUnnamed1142(); + o.overrides = buildUnnamed1120(); o.state = buildDeployState(); o.templateName = "foo"; } @@ -226,23 +226,23 @@ if (buildCounterDeployment < 3) { unittest.expect(o.creationDate, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed1141(o.modules); + checkUnnamed1119(o.modules); unittest.expect(o.name, unittest.equals('foo')); - checkUnnamed1142(o.overrides); + checkUnnamed1120(o.overrides); checkDeployState(o.state); unittest.expect(o.templateName, unittest.equals('foo')); } buildCounterDeployment--; } -buildUnnamed1143() { +buildUnnamed1121() { var o = new core.List<api.Deployment>(); o.add(buildDeployment()); o.add(buildDeployment()); return o; } -checkUnnamed1143(core.List<api.Deployment> o) { +checkUnnamed1121(core.List<api.Deployment> o) { unittest.expect(o, unittest.hasLength(2)); checkDeployment(o[0]); checkDeployment(o[1]); @@ -254,7 +254,7 @@ buildCounterDeploymentsListResponse++; if (buildCounterDeploymentsListResponse < 3) { o.nextPageToken = "foo"; - o.resources = buildUnnamed1143(); + o.resources = buildUnnamed1121(); } buildCounterDeploymentsListResponse--; return o; @@ -264,7 +264,7 @@ buildCounterDeploymentsListResponse++; if (buildCounterDeploymentsListResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1143(o.resources); + checkUnnamed1121(o.resources); } buildCounterDeploymentsListResponse--; } @@ -332,53 +332,53 @@ buildCounterExistingDisk--; } -buildUnnamed1144() { +buildUnnamed1122() { var o = new core.List<api.AllowedRule>(); o.add(buildAllowedRule()); o.add(buildAllowedRule()); return o; } -checkUnnamed1144(core.List<api.AllowedRule> o) { +checkUnnamed1122(core.List<api.AllowedRule> o) { unittest.expect(o, unittest.hasLength(2)); checkAllowedRule(o[0]); checkAllowedRule(o[1]); } -buildUnnamed1145() { +buildUnnamed1123() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1145(core.List<core.String> o) { +checkUnnamed1123(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1146() { +buildUnnamed1124() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1146(core.List<core.String> o) { +checkUnnamed1124(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1147() { +buildUnnamed1125() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1147(core.List<core.String> o) { +checkUnnamed1125(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -389,12 +389,12 @@ var o = new api.FirewallModule(); buildCounterFirewallModule++; if (buildCounterFirewallModule < 3) { - o.allowed = buildUnnamed1144(); + o.allowed = buildUnnamed1122(); o.description = "foo"; o.network = "foo"; - o.sourceRanges = buildUnnamed1145(); - o.sourceTags = buildUnnamed1146(); - o.targetTags = buildUnnamed1147(); + o.sourceRanges = buildUnnamed1123(); + o.sourceTags = buildUnnamed1124(); + o.targetTags = buildUnnamed1125(); } buildCounterFirewallModule--; return o; @@ -403,12 +403,12 @@ checkFirewallModule(api.FirewallModule o) { buildCounterFirewallModule++; if (buildCounterFirewallModule < 3) { - checkUnnamed1144(o.allowed); + checkUnnamed1122(o.allowed); unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.network, unittest.equals('foo')); - checkUnnamed1145(o.sourceRanges); - checkUnnamed1146(o.sourceTags); - checkUnnamed1147(o.targetTags); + checkUnnamed1123(o.sourceRanges); + checkUnnamed1124(o.sourceTags); + checkUnnamed1125(o.targetTags); } buildCounterFirewallModule--; } @@ -484,27 +484,27 @@ buildCounterHealthCheckModuleStatus--; } -buildUnnamed1148() { +buildUnnamed1126() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1148(core.List<core.String> o) { +checkUnnamed1126(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1149() { +buildUnnamed1127() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1149(core.List<core.String> o) { +checkUnnamed1127(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -516,12 +516,12 @@ buildCounterLbModule++; if (buildCounterLbModule < 3) { o.description = "foo"; - o.healthChecks = buildUnnamed1148(); + o.healthChecks = buildUnnamed1126(); o.ipAddress = "foo"; o.ipProtocol = "foo"; o.portRange = "foo"; o.sessionAffinity = "foo"; - o.targetModules = buildUnnamed1149(); + o.targetModules = buildUnnamed1127(); } buildCounterLbModule--; return o; @@ -531,12 +531,12 @@ buildCounterLbModule++; if (buildCounterLbModule < 3) { unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed1148(o.healthChecks); + checkUnnamed1126(o.healthChecks); unittest.expect(o.ipAddress, unittest.equals('foo')); unittest.expect(o.ipProtocol, unittest.equals('foo')); unittest.expect(o.portRange, unittest.equals('foo')); unittest.expect(o.sessionAffinity, unittest.equals('foo')); - checkUnnamed1149(o.targetModules); + checkUnnamed1127(o.targetModules); } buildCounterLbModule--; } @@ -562,14 +562,14 @@ buildCounterLbModuleStatus--; } -buildUnnamed1150() { +buildUnnamed1128() { var o = new core.List<api.MetadataItem>(); o.add(buildMetadataItem()); o.add(buildMetadataItem()); return o; } -checkUnnamed1150(core.List<api.MetadataItem> o) { +checkUnnamed1128(core.List<api.MetadataItem> o) { unittest.expect(o, unittest.hasLength(2)); checkMetadataItem(o[0]); checkMetadataItem(o[1]); @@ -581,7 +581,7 @@ buildCounterMetadata++; if (buildCounterMetadata < 3) { o.fingerPrint = "foo"; - o.items = buildUnnamed1150(); + o.items = buildUnnamed1128(); } buildCounterMetadata--; return o; @@ -591,7 +591,7 @@ buildCounterMetadata++; if (buildCounterMetadata < 3) { unittest.expect(o.fingerPrint, unittest.equals('foo')); - checkUnnamed1150(o.items); + checkUnnamed1128(o.items); } buildCounterMetadata--; } @@ -681,14 +681,14 @@ buildCounterModuleStatus--; } -buildUnnamed1151() { +buildUnnamed1129() { var o = new core.List<api.AccessConfig>(); o.add(buildAccessConfig()); o.add(buildAccessConfig()); return o; } -checkUnnamed1151(core.List<api.AccessConfig> o) { +checkUnnamed1129(core.List<api.AccessConfig> o) { unittest.expect(o, unittest.hasLength(2)); checkAccessConfig(o[0]); checkAccessConfig(o[1]); @@ -699,7 +699,7 @@ var o = new api.NetworkInterface(); buildCounterNetworkInterface++; if (buildCounterNetworkInterface < 3) { - o.accessConfigs = buildUnnamed1151(); + o.accessConfigs = buildUnnamed1129(); o.name = "foo"; o.network = "foo"; o.networkIp = "foo"; @@ -711,7 +711,7 @@ checkNetworkInterface(api.NetworkInterface o) { buildCounterNetworkInterface++; if (buildCounterNetworkInterface < 3) { - checkUnnamed1151(o.accessConfigs); + checkUnnamed1129(o.accessConfigs); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.network, unittest.equals('foo')); unittest.expect(o.networkIp, unittest.equals('foo')); @@ -830,27 +830,27 @@ buildCounterParamOverride--; } -buildUnnamed1152() { +buildUnnamed1130() { var o = new core.Map<core.String, api.EnvVariable>(); o["x"] = buildEnvVariable(); o["y"] = buildEnvVariable(); return o; } -checkUnnamed1152(core.Map<core.String, api.EnvVariable> o) { +checkUnnamed1130(core.Map<core.String, api.EnvVariable> o) { unittest.expect(o, unittest.hasLength(2)); checkEnvVariable(o["x"]); checkEnvVariable(o["y"]); } -buildUnnamed1153() { +buildUnnamed1131() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1153(core.List<core.String> o) { +checkUnnamed1131(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -861,8 +861,8 @@ var o = new api.ReplicaPoolModule(); buildCounterReplicaPoolModule++; if (buildCounterReplicaPoolModule < 3) { - o.envVariables = buildUnnamed1152(); - o.healthChecks = buildUnnamed1153(); + o.envVariables = buildUnnamed1130(); + o.healthChecks = buildUnnamed1131(); o.numReplicas = 42; o.replicaPoolParams = buildReplicaPoolParams(); o.resourceView = "foo"; @@ -874,8 +874,8 @@ checkReplicaPoolModule(api.ReplicaPoolModule o) { buildCounterReplicaPoolModule++; if (buildCounterReplicaPoolModule < 3) { - checkUnnamed1152(o.envVariables); - checkUnnamed1153(o.healthChecks); + checkUnnamed1130(o.envVariables); + checkUnnamed1131(o.healthChecks); unittest.expect(o.numReplicas, unittest.equals(42)); checkReplicaPoolParams(o.replicaPoolParams); unittest.expect(o.resourceView, unittest.equals('foo')); @@ -923,53 +923,53 @@ buildCounterReplicaPoolParams--; } -buildUnnamed1154() { +buildUnnamed1132() { var o = new core.List<api.ExistingDisk>(); o.add(buildExistingDisk()); o.add(buildExistingDisk()); return o; } -checkUnnamed1154(core.List<api.ExistingDisk> o) { +checkUnnamed1132(core.List<api.ExistingDisk> o) { unittest.expect(o, unittest.hasLength(2)); checkExistingDisk(o[0]); checkExistingDisk(o[1]); } -buildUnnamed1155() { +buildUnnamed1133() { var o = new core.List<api.NewDisk>(); o.add(buildNewDisk()); o.add(buildNewDisk()); return o; } -checkUnnamed1155(core.List<api.NewDisk> o) { +checkUnnamed1133(core.List<api.NewDisk> o) { unittest.expect(o, unittest.hasLength(2)); checkNewDisk(o[0]); checkNewDisk(o[1]); } -buildUnnamed1156() { +buildUnnamed1134() { var o = new core.List<api.NetworkInterface>(); o.add(buildNetworkInterface()); o.add(buildNetworkInterface()); return o; } -checkUnnamed1156(core.List<api.NetworkInterface> o) { +checkUnnamed1134(core.List<api.NetworkInterface> o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkInterface(o[0]); checkNetworkInterface(o[1]); } -buildUnnamed1157() { +buildUnnamed1135() { var o = new core.List<api.ServiceAccount>(); o.add(buildServiceAccount()); o.add(buildServiceAccount()); return o; } -checkUnnamed1157(core.List<api.ServiceAccount> o) { +checkUnnamed1135(core.List<api.ServiceAccount> o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAccount(o[0]); checkServiceAccount(o[1]); @@ -984,14 +984,14 @@ o.baseInstanceName = "foo"; o.canIpForward = true; o.description = "foo"; - o.disksToAttach = buildUnnamed1154(); - o.disksToCreate = buildUnnamed1155(); + o.disksToAttach = buildUnnamed1132(); + o.disksToCreate = buildUnnamed1133(); o.initAction = "foo"; o.machineType = "foo"; o.metadata = buildMetadata(); - o.networkInterfaces = buildUnnamed1156(); + o.networkInterfaces = buildUnnamed1134(); o.onHostMaintenance = "foo"; - o.serviceAccounts = buildUnnamed1157(); + o.serviceAccounts = buildUnnamed1135(); o.tags = buildTag(); o.zone = "foo"; } @@ -1006,28 +1006,28 @@ unittest.expect(o.baseInstanceName, unittest.equals('foo')); unittest.expect(o.canIpForward, unittest.isTrue); unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed1154(o.disksToAttach); - checkUnnamed1155(o.disksToCreate); + checkUnnamed1132(o.disksToAttach); + checkUnnamed1133(o.disksToCreate); unittest.expect(o.initAction, unittest.equals('foo')); unittest.expect(o.machineType, unittest.equals('foo')); checkMetadata(o.metadata); - checkUnnamed1156(o.networkInterfaces); + checkUnnamed1134(o.networkInterfaces); unittest.expect(o.onHostMaintenance, unittest.equals('foo')); - checkUnnamed1157(o.serviceAccounts); + checkUnnamed1135(o.serviceAccounts); checkTag(o.tags); unittest.expect(o.zone, unittest.equals('foo')); } buildCounterReplicaPoolParamsV1Beta1--; } -buildUnnamed1158() { +buildUnnamed1136() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1158(core.List<core.String> o) { +checkUnnamed1136(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1039,7 +1039,7 @@ buildCounterServiceAccount++; if (buildCounterServiceAccount < 3) { o.email = "foo"; - o.scopes = buildUnnamed1158(); + o.scopes = buildUnnamed1136(); } buildCounterServiceAccount--; return o; @@ -1049,19 +1049,19 @@ buildCounterServiceAccount++; if (buildCounterServiceAccount < 3) { unittest.expect(o.email, unittest.equals('foo')); - checkUnnamed1158(o.scopes); + checkUnnamed1136(o.scopes); } buildCounterServiceAccount--; } -buildUnnamed1159() { +buildUnnamed1137() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1159(core.List<core.String> o) { +checkUnnamed1137(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1073,7 +1073,7 @@ buildCounterTag++; if (buildCounterTag < 3) { o.fingerPrint = "foo"; - o.items = buildUnnamed1159(); + o.items = buildUnnamed1137(); } buildCounterTag--; return o; @@ -1083,32 +1083,32 @@ buildCounterTag++; if (buildCounterTag < 3) { unittest.expect(o.fingerPrint, unittest.equals('foo')); - checkUnnamed1159(o.items); + checkUnnamed1137(o.items); } buildCounterTag--; } -buildUnnamed1160() { +buildUnnamed1138() { var o = new core.Map<core.String, api.Action>(); o["x"] = buildAction(); o["y"] = buildAction(); return o; } -checkUnnamed1160(core.Map<core.String, api.Action> o) { +checkUnnamed1138(core.Map<core.String, api.Action> o) { unittest.expect(o, unittest.hasLength(2)); checkAction(o["x"]); checkAction(o["y"]); } -buildUnnamed1161() { +buildUnnamed1139() { var o = new core.Map<core.String, api.Module>(); o["x"] = buildModule(); o["y"] = buildModule(); return o; } -checkUnnamed1161(core.Map<core.String, api.Module> o) { +checkUnnamed1139(core.Map<core.String, api.Module> o) { unittest.expect(o, unittest.hasLength(2)); checkModule(o["x"]); checkModule(o["y"]); @@ -1119,9 +1119,9 @@ var o = new api.Template(); buildCounterTemplate++; if (buildCounterTemplate < 3) { - o.actions = buildUnnamed1160(); + o.actions = buildUnnamed1138(); o.description = "foo"; - o.modules = buildUnnamed1161(); + o.modules = buildUnnamed1139(); o.name = "foo"; } buildCounterTemplate--; @@ -1131,22 +1131,22 @@ checkTemplate(api.Template o) { buildCounterTemplate++; if (buildCounterTemplate < 3) { - checkUnnamed1160(o.actions); + checkUnnamed1138(o.actions); unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed1161(o.modules); + checkUnnamed1139(o.modules); unittest.expect(o.name, unittest.equals('foo')); } buildCounterTemplate--; } -buildUnnamed1162() { +buildUnnamed1140() { var o = new core.List<api.Template>(); o.add(buildTemplate()); o.add(buildTemplate()); return o; } -checkUnnamed1162(core.List<api.Template> o) { +checkUnnamed1140(core.List<api.Template> o) { unittest.expect(o, unittest.hasLength(2)); checkTemplate(o[0]); checkTemplate(o[1]); @@ -1158,7 +1158,7 @@ buildCounterTemplatesListResponse++; if (buildCounterTemplatesListResponse < 3) { o.nextPageToken = "foo"; - o.resources = buildUnnamed1162(); + o.resources = buildUnnamed1140(); } buildCounterTemplatesListResponse--; return o; @@ -1168,7 +1168,7 @@ buildCounterTemplatesListResponse++; if (buildCounterTemplatesListResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1162(o.resources); + checkUnnamed1140(o.resources); } buildCounterTemplatesListResponse--; }
diff --git a/generated/googleapis_beta/test/pubsub/v1beta1_test.dart b/generated/googleapis_beta/test/pubsub/v1beta1_test.dart index e7f4ec5..518bb38 100644 --- a/generated/googleapis_beta/test/pubsub/v1beta1_test.dart +++ b/generated/googleapis_beta/test/pubsub/v1beta1_test.dart
@@ -16,14 +16,14 @@ -buildUnnamed1163() { +buildUnnamed1141() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1163(core.List<core.String> o) { +checkUnnamed1141(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -34,7 +34,7 @@ var o = new api.AcknowledgeRequest(); buildCounterAcknowledgeRequest++; if (buildCounterAcknowledgeRequest < 3) { - o.ackId = buildUnnamed1163(); + o.ackId = buildUnnamed1141(); o.subscription = "foo"; } buildCounterAcknowledgeRequest--; @@ -44,7 +44,7 @@ checkAcknowledgeRequest(api.AcknowledgeRequest o) { buildCounterAcknowledgeRequest++; if (buildCounterAcknowledgeRequest < 3) { - checkUnnamed1163(o.ackId); + checkUnnamed1141(o.ackId); unittest.expect(o.subscription, unittest.equals('foo')); } buildCounterAcknowledgeRequest--; @@ -73,14 +73,14 @@ buildCounterLabel--; } -buildUnnamed1164() { +buildUnnamed1142() { var o = new core.List<api.Subscription>(); o.add(buildSubscription()); o.add(buildSubscription()); return o; } -checkUnnamed1164(core.List<api.Subscription> o) { +checkUnnamed1142(core.List<api.Subscription> o) { unittest.expect(o, unittest.hasLength(2)); checkSubscription(o[0]); checkSubscription(o[1]); @@ -92,7 +92,7 @@ buildCounterListSubscriptionsResponse++; if (buildCounterListSubscriptionsResponse < 3) { o.nextPageToken = "foo"; - o.subscription = buildUnnamed1164(); + o.subscription = buildUnnamed1142(); } buildCounterListSubscriptionsResponse--; return o; @@ -102,19 +102,19 @@ buildCounterListSubscriptionsResponse++; if (buildCounterListSubscriptionsResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1164(o.subscription); + checkUnnamed1142(o.subscription); } buildCounterListSubscriptionsResponse--; } -buildUnnamed1165() { +buildUnnamed1143() { var o = new core.List<api.Topic>(); o.add(buildTopic()); o.add(buildTopic()); return o; } -checkUnnamed1165(core.List<api.Topic> o) { +checkUnnamed1143(core.List<api.Topic> o) { unittest.expect(o, unittest.hasLength(2)); checkTopic(o[0]); checkTopic(o[1]); @@ -126,7 +126,7 @@ buildCounterListTopicsResponse++; if (buildCounterListTopicsResponse < 3) { o.nextPageToken = "foo"; - o.topic = buildUnnamed1165(); + o.topic = buildUnnamed1143(); } buildCounterListTopicsResponse--; return o; @@ -136,7 +136,7 @@ buildCounterListTopicsResponse++; if (buildCounterListTopicsResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1165(o.topic); + checkUnnamed1143(o.topic); } buildCounterListTopicsResponse--; } @@ -231,14 +231,14 @@ buildCounterPubsubEvent--; } -buildUnnamed1166() { +buildUnnamed1144() { var o = new core.List<api.Label>(); o.add(buildLabel()); o.add(buildLabel()); return o; } -checkUnnamed1166(core.List<api.Label> o) { +checkUnnamed1144(core.List<api.Label> o) { unittest.expect(o, unittest.hasLength(2)); checkLabel(o[0]); checkLabel(o[1]); @@ -250,7 +250,7 @@ buildCounterPubsubMessage++; if (buildCounterPubsubMessage < 3) { o.data = "foo"; - o.label = buildUnnamed1166(); + o.label = buildUnnamed1144(); } buildCounterPubsubMessage--; return o; @@ -260,7 +260,7 @@ buildCounterPubsubMessage++; if (buildCounterPubsubMessage < 3) { unittest.expect(o.data, unittest.equals('foo')); - checkUnnamed1166(o.label); + checkUnnamed1144(o.label); } buildCounterPubsubMessage--; }
diff --git a/generated/googleapis_beta/test/replicapool/v1beta1_test.dart b/generated/googleapis_beta/test/replicapool/v1beta1_test.dart index 304d2f4..f47404a 100644 --- a/generated/googleapis_beta/test/replicapool/v1beta1_test.dart +++ b/generated/googleapis_beta/test/replicapool/v1beta1_test.dart
@@ -39,27 +39,27 @@ buildCounterAccessConfig--; } -buildUnnamed1264() { +buildUnnamed1243() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1264(core.List<core.String> o) { +checkUnnamed1243(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1265() { +buildUnnamed1244() { var o = new core.List<api.EnvVariable>(); o.add(buildEnvVariable()); o.add(buildEnvVariable()); return o; } -checkUnnamed1265(core.List<api.EnvVariable> o) { +checkUnnamed1244(core.List<api.EnvVariable> o) { unittest.expect(o, unittest.hasLength(2)); checkEnvVariable(o[0]); checkEnvVariable(o[1]); @@ -70,8 +70,8 @@ var o = new api.Action(); buildCounterAction++; if (buildCounterAction < 3) { - o.commands = buildUnnamed1264(); - o.envVariables = buildUnnamed1265(); + o.commands = buildUnnamed1243(); + o.envVariables = buildUnnamed1244(); o.timeoutMilliSeconds = 42; } buildCounterAction--; @@ -81,8 +81,8 @@ checkAction(api.Action o) { buildCounterAction++; if (buildCounterAction < 3) { - checkUnnamed1264(o.commands); - checkUnnamed1265(o.envVariables); + checkUnnamed1243(o.commands); + checkUnnamed1244(o.envVariables); unittest.expect(o.timeoutMilliSeconds, unittest.equals(42)); } buildCounterAction--; @@ -209,14 +209,14 @@ buildCounterLabel--; } -buildUnnamed1266() { +buildUnnamed1245() { var o = new core.List<api.MetadataItem>(); o.add(buildMetadataItem()); o.add(buildMetadataItem()); return o; } -checkUnnamed1266(core.List<api.MetadataItem> o) { +checkUnnamed1245(core.List<api.MetadataItem> o) { unittest.expect(o, unittest.hasLength(2)); checkMetadataItem(o[0]); checkMetadataItem(o[1]); @@ -228,7 +228,7 @@ buildCounterMetadata++; if (buildCounterMetadata < 3) { o.fingerPrint = "foo"; - o.items = buildUnnamed1266(); + o.items = buildUnnamed1245(); } buildCounterMetadata--; return o; @@ -238,7 +238,7 @@ buildCounterMetadata++; if (buildCounterMetadata < 3) { unittest.expect(o.fingerPrint, unittest.equals('foo')); - checkUnnamed1266(o.items); + checkUnnamed1245(o.items); } buildCounterMetadata--; } @@ -264,14 +264,14 @@ buildCounterMetadataItem--; } -buildUnnamed1267() { +buildUnnamed1246() { var o = new core.List<api.AccessConfig>(); o.add(buildAccessConfig()); o.add(buildAccessConfig()); return o; } -checkUnnamed1267(core.List<api.AccessConfig> o) { +checkUnnamed1246(core.List<api.AccessConfig> o) { unittest.expect(o, unittest.hasLength(2)); checkAccessConfig(o[0]); checkAccessConfig(o[1]); @@ -282,7 +282,7 @@ var o = new api.NetworkInterface(); buildCounterNetworkInterface++; if (buildCounterNetworkInterface < 3) { - o.accessConfigs = buildUnnamed1267(); + o.accessConfigs = buildUnnamed1246(); o.network = "foo"; o.networkIp = "foo"; } @@ -293,7 +293,7 @@ checkNetworkInterface(api.NetworkInterface o) { buildCounterNetworkInterface++; if (buildCounterNetworkInterface < 3) { - checkUnnamed1267(o.accessConfigs); + checkUnnamed1246(o.accessConfigs); unittest.expect(o.network, unittest.equals('foo')); unittest.expect(o.networkIp, unittest.equals('foo')); } @@ -348,53 +348,53 @@ buildCounterNewDiskInitializeParams--; } -buildUnnamed1268() { +buildUnnamed1247() { var o = new core.List<api.HealthCheck>(); o.add(buildHealthCheck()); o.add(buildHealthCheck()); return o; } -checkUnnamed1268(core.List<api.HealthCheck> o) { +checkUnnamed1247(core.List<api.HealthCheck> o) { unittest.expect(o, unittest.hasLength(2)); checkHealthCheck(o[0]); checkHealthCheck(o[1]); } -buildUnnamed1269() { +buildUnnamed1248() { var o = new core.List<api.Label>(); o.add(buildLabel()); o.add(buildLabel()); return o; } -checkUnnamed1269(core.List<api.Label> o) { +checkUnnamed1248(core.List<api.Label> o) { unittest.expect(o, unittest.hasLength(2)); checkLabel(o[0]); checkLabel(o[1]); } -buildUnnamed1270() { +buildUnnamed1249() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1270(core.List<core.String> o) { +checkUnnamed1249(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1271() { +buildUnnamed1250() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1271(core.List<core.String> o) { +checkUnnamed1250(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -409,15 +409,15 @@ o.baseInstanceName = "foo"; o.currentNumReplicas = 42; o.description = "foo"; - o.healthChecks = buildUnnamed1268(); + o.healthChecks = buildUnnamed1247(); o.initialNumReplicas = 42; - o.labels = buildUnnamed1269(); + o.labels = buildUnnamed1248(); o.name = "foo"; o.numReplicas = 42; - o.resourceViews = buildUnnamed1270(); + o.resourceViews = buildUnnamed1249(); o.selfLink = "foo"; o.targetPool = "foo"; - o.targetPools = buildUnnamed1271(); + o.targetPools = buildUnnamed1250(); o.template = buildTemplate(); o.type = "foo"; } @@ -432,29 +432,29 @@ unittest.expect(o.baseInstanceName, unittest.equals('foo')); unittest.expect(o.currentNumReplicas, unittest.equals(42)); unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed1268(o.healthChecks); + checkUnnamed1247(o.healthChecks); unittest.expect(o.initialNumReplicas, unittest.equals(42)); - checkUnnamed1269(o.labels); + checkUnnamed1248(o.labels); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.numReplicas, unittest.equals(42)); - checkUnnamed1270(o.resourceViews); + checkUnnamed1249(o.resourceViews); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.targetPool, unittest.equals('foo')); - checkUnnamed1271(o.targetPools); + checkUnnamed1250(o.targetPools); checkTemplate(o.template); unittest.expect(o.type, unittest.equals('foo')); } buildCounterPool--; } -buildUnnamed1272() { +buildUnnamed1251() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1272(core.List<core.String> o) { +checkUnnamed1251(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -465,7 +465,7 @@ var o = new api.PoolsDeleteRequest(); buildCounterPoolsDeleteRequest++; if (buildCounterPoolsDeleteRequest < 3) { - o.abandonInstances = buildUnnamed1272(); + o.abandonInstances = buildUnnamed1251(); } buildCounterPoolsDeleteRequest--; return o; @@ -474,19 +474,19 @@ checkPoolsDeleteRequest(api.PoolsDeleteRequest o) { buildCounterPoolsDeleteRequest++; if (buildCounterPoolsDeleteRequest < 3) { - checkUnnamed1272(o.abandonInstances); + checkUnnamed1251(o.abandonInstances); } buildCounterPoolsDeleteRequest--; } -buildUnnamed1273() { +buildUnnamed1252() { var o = new core.List<api.Pool>(); o.add(buildPool()); o.add(buildPool()); return o; } -checkUnnamed1273(core.List<api.Pool> o) { +checkUnnamed1252(core.List<api.Pool> o) { unittest.expect(o, unittest.hasLength(2)); checkPool(o[0]); checkPool(o[1]); @@ -498,7 +498,7 @@ buildCounterPoolsListResponse++; if (buildCounterPoolsListResponse < 3) { o.nextPageToken = "foo"; - o.resources = buildUnnamed1273(); + o.resources = buildUnnamed1252(); } buildCounterPoolsListResponse--; return o; @@ -508,7 +508,7 @@ buildCounterPoolsListResponse++; if (buildCounterPoolsListResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1273(o.resources); + checkUnnamed1252(o.resources); } buildCounterPoolsListResponse--; } @@ -582,14 +582,14 @@ buildCounterReplicasDeleteRequest--; } -buildUnnamed1274() { +buildUnnamed1253() { var o = new core.List<api.Replica>(); o.add(buildReplica()); o.add(buildReplica()); return o; } -checkUnnamed1274(core.List<api.Replica> o) { +checkUnnamed1253(core.List<api.Replica> o) { unittest.expect(o, unittest.hasLength(2)); checkReplica(o[0]); checkReplica(o[1]); @@ -601,7 +601,7 @@ buildCounterReplicasListResponse++; if (buildCounterReplicasListResponse < 3) { o.nextPageToken = "foo"; - o.resources = buildUnnamed1274(); + o.resources = buildUnnamed1253(); } buildCounterReplicasListResponse--; return o; @@ -611,19 +611,19 @@ buildCounterReplicasListResponse++; if (buildCounterReplicasListResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1274(o.resources); + checkUnnamed1253(o.resources); } buildCounterReplicasListResponse--; } -buildUnnamed1275() { +buildUnnamed1254() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1275(core.List<core.String> o) { +checkUnnamed1254(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -635,7 +635,7 @@ buildCounterServiceAccount++; if (buildCounterServiceAccount < 3) { o.email = "foo"; - o.scopes = buildUnnamed1275(); + o.scopes = buildUnnamed1254(); } buildCounterServiceAccount--; return o; @@ -645,19 +645,19 @@ buildCounterServiceAccount++; if (buildCounterServiceAccount < 3) { unittest.expect(o.email, unittest.equals('foo')); - checkUnnamed1275(o.scopes); + checkUnnamed1254(o.scopes); } buildCounterServiceAccount--; } -buildUnnamed1276() { +buildUnnamed1255() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1276(core.List<core.String> o) { +checkUnnamed1255(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -669,7 +669,7 @@ buildCounterTag++; if (buildCounterTag < 3) { o.fingerPrint = "foo"; - o.items = buildUnnamed1276(); + o.items = buildUnnamed1255(); } buildCounterTag--; return o; @@ -679,19 +679,19 @@ buildCounterTag++; if (buildCounterTag < 3) { unittest.expect(o.fingerPrint, unittest.equals('foo')); - checkUnnamed1276(o.items); + checkUnnamed1255(o.items); } buildCounterTag--; } -buildUnnamed1277() { +buildUnnamed1256() { var o = new core.List<api.HealthCheck>(); o.add(buildHealthCheck()); o.add(buildHealthCheck()); return o; } -checkUnnamed1277(core.List<api.HealthCheck> o) { +checkUnnamed1256(core.List<api.HealthCheck> o) { unittest.expect(o, unittest.hasLength(2)); checkHealthCheck(o[0]); checkHealthCheck(o[1]); @@ -703,7 +703,7 @@ buildCounterTemplate++; if (buildCounterTemplate < 3) { o.action = buildAction(); - o.healthChecks = buildUnnamed1277(); + o.healthChecks = buildUnnamed1256(); o.version = "foo"; o.vmParams = buildVmParams(); } @@ -715,60 +715,60 @@ buildCounterTemplate++; if (buildCounterTemplate < 3) { checkAction(o.action); - checkUnnamed1277(o.healthChecks); + checkUnnamed1256(o.healthChecks); unittest.expect(o.version, unittest.equals('foo')); checkVmParams(o.vmParams); } buildCounterTemplate--; } -buildUnnamed1278() { +buildUnnamed1257() { var o = new core.List<api.ExistingDisk>(); o.add(buildExistingDisk()); o.add(buildExistingDisk()); return o; } -checkUnnamed1278(core.List<api.ExistingDisk> o) { +checkUnnamed1257(core.List<api.ExistingDisk> o) { unittest.expect(o, unittest.hasLength(2)); checkExistingDisk(o[0]); checkExistingDisk(o[1]); } -buildUnnamed1279() { +buildUnnamed1258() { var o = new core.List<api.NewDisk>(); o.add(buildNewDisk()); o.add(buildNewDisk()); return o; } -checkUnnamed1279(core.List<api.NewDisk> o) { +checkUnnamed1258(core.List<api.NewDisk> o) { unittest.expect(o, unittest.hasLength(2)); checkNewDisk(o[0]); checkNewDisk(o[1]); } -buildUnnamed1280() { +buildUnnamed1259() { var o = new core.List<api.NetworkInterface>(); o.add(buildNetworkInterface()); o.add(buildNetworkInterface()); return o; } -checkUnnamed1280(core.List<api.NetworkInterface> o) { +checkUnnamed1259(core.List<api.NetworkInterface> o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkInterface(o[0]); checkNetworkInterface(o[1]); } -buildUnnamed1281() { +buildUnnamed1260() { var o = new core.List<api.ServiceAccount>(); o.add(buildServiceAccount()); o.add(buildServiceAccount()); return o; } -checkUnnamed1281(core.List<api.ServiceAccount> o) { +checkUnnamed1260(core.List<api.ServiceAccount> o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAccount(o[0]); checkServiceAccount(o[1]); @@ -782,13 +782,13 @@ o.baseInstanceName = "foo"; o.canIpForward = true; o.description = "foo"; - o.disksToAttach = buildUnnamed1278(); - o.disksToCreate = buildUnnamed1279(); + o.disksToAttach = buildUnnamed1257(); + o.disksToCreate = buildUnnamed1258(); o.machineType = "foo"; o.metadata = buildMetadata(); - o.networkInterfaces = buildUnnamed1280(); + o.networkInterfaces = buildUnnamed1259(); o.onHostMaintenance = "foo"; - o.serviceAccounts = buildUnnamed1281(); + o.serviceAccounts = buildUnnamed1260(); o.tags = buildTag(); } buildCounterVmParams--; @@ -801,13 +801,13 @@ unittest.expect(o.baseInstanceName, unittest.equals('foo')); unittest.expect(o.canIpForward, unittest.isTrue); unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed1278(o.disksToAttach); - checkUnnamed1279(o.disksToCreate); + checkUnnamed1257(o.disksToAttach); + checkUnnamed1258(o.disksToCreate); unittest.expect(o.machineType, unittest.equals('foo')); checkMetadata(o.metadata); - checkUnnamed1280(o.networkInterfaces); + checkUnnamed1259(o.networkInterfaces); unittest.expect(o.onHostMaintenance, unittest.equals('foo')); - checkUnnamed1281(o.serviceAccounts); + checkUnnamed1260(o.serviceAccounts); checkTag(o.tags); } buildCounterVmParams--;
diff --git a/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart b/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart index a9fc4b0..3cff0a7 100644 --- a/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart +++ b/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart
@@ -37,14 +37,14 @@ buildCounterLabel--; } -buildUnnamed1254() { +buildUnnamed1233() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1254(core.List<core.String> o) { +checkUnnamed1233(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -55,7 +55,7 @@ var o = new api.RegionViewsAddResourcesRequest(); buildCounterRegionViewsAddResourcesRequest++; if (buildCounterRegionViewsAddResourcesRequest < 3) { - o.resources = buildUnnamed1254(); + o.resources = buildUnnamed1233(); } buildCounterRegionViewsAddResourcesRequest--; return o; @@ -64,7 +64,7 @@ checkRegionViewsAddResourcesRequest(api.RegionViewsAddResourcesRequest o) { buildCounterRegionViewsAddResourcesRequest++; if (buildCounterRegionViewsAddResourcesRequest < 3) { - checkUnnamed1254(o.resources); + checkUnnamed1233(o.resources); } buildCounterRegionViewsAddResourcesRequest--; } @@ -88,14 +88,14 @@ buildCounterRegionViewsInsertResponse--; } -buildUnnamed1255() { +buildUnnamed1234() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1255(core.List<core.String> o) { +checkUnnamed1234(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -106,7 +106,7 @@ var o = new api.RegionViewsListResourcesResponse(); buildCounterRegionViewsListResourcesResponse++; if (buildCounterRegionViewsListResourcesResponse < 3) { - o.members = buildUnnamed1255(); + o.members = buildUnnamed1234(); o.nextPageToken = "foo"; } buildCounterRegionViewsListResourcesResponse--; @@ -116,20 +116,20 @@ checkRegionViewsListResourcesResponse(api.RegionViewsListResourcesResponse o) { buildCounterRegionViewsListResourcesResponse++; if (buildCounterRegionViewsListResourcesResponse < 3) { - checkUnnamed1255(o.members); + checkUnnamed1234(o.members); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterRegionViewsListResourcesResponse--; } -buildUnnamed1256() { +buildUnnamed1235() { var o = new core.List<api.ResourceView>(); o.add(buildResourceView()); o.add(buildResourceView()); return o; } -checkUnnamed1256(core.List<api.ResourceView> o) { +checkUnnamed1235(core.List<api.ResourceView> o) { unittest.expect(o, unittest.hasLength(2)); checkResourceView(o[0]); checkResourceView(o[1]); @@ -141,7 +141,7 @@ buildCounterRegionViewsListResponse++; if (buildCounterRegionViewsListResponse < 3) { o.nextPageToken = "foo"; - o.resourceViews = buildUnnamed1256(); + o.resourceViews = buildUnnamed1235(); } buildCounterRegionViewsListResponse--; return o; @@ -151,19 +151,19 @@ buildCounterRegionViewsListResponse++; if (buildCounterRegionViewsListResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1256(o.resourceViews); + checkUnnamed1235(o.resourceViews); } buildCounterRegionViewsListResponse--; } -buildUnnamed1257() { +buildUnnamed1236() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1257(core.List<core.String> o) { +checkUnnamed1236(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -174,7 +174,7 @@ var o = new api.RegionViewsRemoveResourcesRequest(); buildCounterRegionViewsRemoveResourcesRequest++; if (buildCounterRegionViewsRemoveResourcesRequest < 3) { - o.resources = buildUnnamed1257(); + o.resources = buildUnnamed1236(); } buildCounterRegionViewsRemoveResourcesRequest--; return o; @@ -183,32 +183,32 @@ checkRegionViewsRemoveResourcesRequest(api.RegionViewsRemoveResourcesRequest o) { buildCounterRegionViewsRemoveResourcesRequest++; if (buildCounterRegionViewsRemoveResourcesRequest < 3) { - checkUnnamed1257(o.resources); + checkUnnamed1236(o.resources); } buildCounterRegionViewsRemoveResourcesRequest--; } -buildUnnamed1258() { +buildUnnamed1237() { var o = new core.List<api.Label>(); o.add(buildLabel()); o.add(buildLabel()); return o; } -checkUnnamed1258(core.List<api.Label> o) { +checkUnnamed1237(core.List<api.Label> o) { unittest.expect(o, unittest.hasLength(2)); checkLabel(o[0]); checkLabel(o[1]); } -buildUnnamed1259() { +buildUnnamed1238() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1259(core.List<core.String> o) { +checkUnnamed1238(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -223,9 +223,9 @@ o.description = "foo"; o.id = "foo"; o.kind = "foo"; - o.labels = buildUnnamed1258(); + o.labels = buildUnnamed1237(); o.lastModified = "foo"; - o.members = buildUnnamed1259(); + o.members = buildUnnamed1238(); o.name = "foo"; o.numMembers = 42; o.selfLink = "foo"; @@ -241,9 +241,9 @@ unittest.expect(o.description, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed1258(o.labels); + checkUnnamed1237(o.labels); unittest.expect(o.lastModified, unittest.equals('foo')); - checkUnnamed1259(o.members); + checkUnnamed1238(o.members); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.numMembers, unittest.equals(42)); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -251,14 +251,14 @@ buildCounterResourceView--; } -buildUnnamed1260() { +buildUnnamed1239() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1260(core.List<core.String> o) { +checkUnnamed1239(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -269,7 +269,7 @@ var o = new api.ZoneViewsAddResourcesRequest(); buildCounterZoneViewsAddResourcesRequest++; if (buildCounterZoneViewsAddResourcesRequest < 3) { - o.resources = buildUnnamed1260(); + o.resources = buildUnnamed1239(); } buildCounterZoneViewsAddResourcesRequest--; return o; @@ -278,7 +278,7 @@ checkZoneViewsAddResourcesRequest(api.ZoneViewsAddResourcesRequest o) { buildCounterZoneViewsAddResourcesRequest++; if (buildCounterZoneViewsAddResourcesRequest < 3) { - checkUnnamed1260(o.resources); + checkUnnamed1239(o.resources); } buildCounterZoneViewsAddResourcesRequest--; } @@ -302,14 +302,14 @@ buildCounterZoneViewsInsertResponse--; } -buildUnnamed1261() { +buildUnnamed1240() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1261(core.List<core.String> o) { +checkUnnamed1240(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -320,7 +320,7 @@ var o = new api.ZoneViewsListResourcesResponse(); buildCounterZoneViewsListResourcesResponse++; if (buildCounterZoneViewsListResourcesResponse < 3) { - o.members = buildUnnamed1261(); + o.members = buildUnnamed1240(); o.nextPageToken = "foo"; } buildCounterZoneViewsListResourcesResponse--; @@ -330,20 +330,20 @@ checkZoneViewsListResourcesResponse(api.ZoneViewsListResourcesResponse o) { buildCounterZoneViewsListResourcesResponse++; if (buildCounterZoneViewsListResourcesResponse < 3) { - checkUnnamed1261(o.members); + checkUnnamed1240(o.members); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterZoneViewsListResourcesResponse--; } -buildUnnamed1262() { +buildUnnamed1241() { var o = new core.List<api.ResourceView>(); o.add(buildResourceView()); o.add(buildResourceView()); return o; } -checkUnnamed1262(core.List<api.ResourceView> o) { +checkUnnamed1241(core.List<api.ResourceView> o) { unittest.expect(o, unittest.hasLength(2)); checkResourceView(o[0]); checkResourceView(o[1]); @@ -355,7 +355,7 @@ buildCounterZoneViewsListResponse++; if (buildCounterZoneViewsListResponse < 3) { o.nextPageToken = "foo"; - o.resourceViews = buildUnnamed1262(); + o.resourceViews = buildUnnamed1241(); } buildCounterZoneViewsListResponse--; return o; @@ -365,19 +365,19 @@ buildCounterZoneViewsListResponse++; if (buildCounterZoneViewsListResponse < 3) { unittest.expect(o.nextPageToken, unittest.equals('foo')); - checkUnnamed1262(o.resourceViews); + checkUnnamed1241(o.resourceViews); } buildCounterZoneViewsListResponse--; } -buildUnnamed1263() { +buildUnnamed1242() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1263(core.List<core.String> o) { +checkUnnamed1242(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -388,7 +388,7 @@ var o = new api.ZoneViewsRemoveResourcesRequest(); buildCounterZoneViewsRemoveResourcesRequest++; if (buildCounterZoneViewsRemoveResourcesRequest < 3) { - o.resources = buildUnnamed1263(); + o.resources = buildUnnamed1242(); } buildCounterZoneViewsRemoveResourcesRequest--; return o; @@ -397,7 +397,7 @@ checkZoneViewsRemoveResourcesRequest(api.ZoneViewsRemoveResourcesRequest o) { buildCounterZoneViewsRemoveResourcesRequest++; if (buildCounterZoneViewsRemoveResourcesRequest < 3) { - checkUnnamed1263(o.resources); + checkUnnamed1242(o.resources); } buildCounterZoneViewsRemoveResourcesRequest--; }
diff --git a/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart b/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart index 1bc7c91..1dafb56 100644 --- a/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart +++ b/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart
@@ -37,30 +37,30 @@ buildCounterLabel--; } -buildUnnamed1308() { +buildUnnamed1287() { var o = new core.List<core.int>(); o.add(42); o.add(42); return o; } -checkUnnamed1308(core.List<core.int> o) { +checkUnnamed1287(core.List<core.int> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals(42)); unittest.expect(o[1], unittest.equals(42)); } -buildUnnamed1309() { +buildUnnamed1288() { var o = new core.Map<core.String, core.List<core.int>>(); - o["x"] = buildUnnamed1308(); - o["y"] = buildUnnamed1308(); + o["x"] = buildUnnamed1287(); + o["y"] = buildUnnamed1287(); return o; } -checkUnnamed1309(core.Map<core.String, core.List<core.int>> o) { +checkUnnamed1288(core.Map<core.String, core.List<core.int>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1308(o["x"]); - checkUnnamed1308(o["y"]); + checkUnnamed1287(o["x"]); + checkUnnamed1287(o["y"]); } core.int buildCounterListResourceResponseItem = 0; @@ -68,7 +68,7 @@ var o = new api.ListResourceResponseItem(); buildCounterListResourceResponseItem++; if (buildCounterListResourceResponseItem < 3) { - o.endpoints = buildUnnamed1309(); + o.endpoints = buildUnnamed1288(); o.resource = "foo"; } buildCounterListResourceResponseItem--; @@ -78,7 +78,7 @@ checkListResourceResponseItem(api.ListResourceResponseItem o) { buildCounterListResourceResponseItem++; if (buildCounterListResourceResponseItem < 3) { - checkUnnamed1309(o.endpoints); + checkUnnamed1288(o.endpoints); unittest.expect(o.resource, unittest.equals('foo')); } buildCounterListResourceResponseItem--; @@ -107,14 +107,14 @@ buildCounterOperationErrorErrors--; } -buildUnnamed1310() { +buildUnnamed1289() { var o = new core.List<api.OperationErrorErrors>(); o.add(buildOperationErrorErrors()); o.add(buildOperationErrorErrors()); return o; } -checkUnnamed1310(core.List<api.OperationErrorErrors> o) { +checkUnnamed1289(core.List<api.OperationErrorErrors> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationErrorErrors(o[0]); checkOperationErrorErrors(o[1]); @@ -125,7 +125,7 @@ var o = new api.OperationError(); buildCounterOperationError++; if (buildCounterOperationError < 3) { - o.errors = buildUnnamed1310(); + o.errors = buildUnnamed1289(); } buildCounterOperationError--; return o; @@ -134,7 +134,7 @@ checkOperationError(api.OperationError o) { buildCounterOperationError++; if (buildCounterOperationError < 3) { - checkUnnamed1310(o.errors); + checkUnnamed1289(o.errors); } buildCounterOperationError--; } @@ -160,14 +160,14 @@ buildCounterOperationWarningsData--; } -buildUnnamed1311() { +buildUnnamed1290() { var o = new core.List<api.OperationWarningsData>(); o.add(buildOperationWarningsData()); o.add(buildOperationWarningsData()); return o; } -checkUnnamed1311(core.List<api.OperationWarningsData> o) { +checkUnnamed1290(core.List<api.OperationWarningsData> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationWarningsData(o[0]); checkOperationWarningsData(o[1]); @@ -179,7 +179,7 @@ buildCounterOperationWarnings++; if (buildCounterOperationWarnings < 3) { o.code = "foo"; - o.data = buildUnnamed1311(); + o.data = buildUnnamed1290(); o.message = "foo"; } buildCounterOperationWarnings--; @@ -190,20 +190,20 @@ buildCounterOperationWarnings++; if (buildCounterOperationWarnings < 3) { unittest.expect(o.code, unittest.equals('foo')); - checkUnnamed1311(o.data); + checkUnnamed1290(o.data); unittest.expect(o.message, unittest.equals('foo')); } buildCounterOperationWarnings--; } -buildUnnamed1312() { +buildUnnamed1291() { var o = new core.List<api.OperationWarnings>(); o.add(buildOperationWarnings()); o.add(buildOperationWarnings()); return o; } -checkUnnamed1312(core.List<api.OperationWarnings> o) { +checkUnnamed1291(core.List<api.OperationWarnings> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationWarnings(o[0]); checkOperationWarnings(o[1]); @@ -234,7 +234,7 @@ o.targetId = "foo"; o.targetLink = "foo"; o.user = "foo"; - o.warnings = buildUnnamed1312(); + o.warnings = buildUnnamed1291(); o.zone = "foo"; } buildCounterOperation--; @@ -264,20 +264,20 @@ unittest.expect(o.targetId, unittest.equals('foo')); unittest.expect(o.targetLink, unittest.equals('foo')); unittest.expect(o.user, unittest.equals('foo')); - checkUnnamed1312(o.warnings); + checkUnnamed1291(o.warnings); unittest.expect(o.zone, unittest.equals('foo')); } buildCounterOperation--; } -buildUnnamed1313() { +buildUnnamed1292() { var o = new core.List<api.Operation>(); o.add(buildOperation()); o.add(buildOperation()); return o; } -checkUnnamed1313(core.List<api.Operation> o) { +checkUnnamed1292(core.List<api.Operation> o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -289,7 +289,7 @@ buildCounterOperationList++; if (buildCounterOperationList < 3) { o.id = "foo"; - o.items = buildUnnamed1313(); + o.items = buildUnnamed1292(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -302,7 +302,7 @@ buildCounterOperationList++; if (buildCounterOperationList < 3) { unittest.expect(o.id, unittest.equals('foo')); - checkUnnamed1313(o.items); + checkUnnamed1292(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -310,40 +310,40 @@ buildCounterOperationList--; } -buildUnnamed1314() { +buildUnnamed1293() { var o = new core.List<api.ServiceEndpoint>(); o.add(buildServiceEndpoint()); o.add(buildServiceEndpoint()); return o; } -checkUnnamed1314(core.List<api.ServiceEndpoint> o) { +checkUnnamed1293(core.List<api.ServiceEndpoint> o) { unittest.expect(o, unittest.hasLength(2)); checkServiceEndpoint(o[0]); checkServiceEndpoint(o[1]); } -buildUnnamed1315() { +buildUnnamed1294() { var o = new core.List<api.Label>(); o.add(buildLabel()); o.add(buildLabel()); return o; } -checkUnnamed1315(core.List<api.Label> o) { +checkUnnamed1294(core.List<api.Label> o) { unittest.expect(o, unittest.hasLength(2)); checkLabel(o[0]); checkLabel(o[1]); } -buildUnnamed1316() { +buildUnnamed1295() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1316(core.List<core.String> o) { +checkUnnamed1295(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -356,14 +356,14 @@ if (buildCounterResourceView < 3) { o.creationTimestamp = "foo"; o.description = "foo"; - o.endpoints = buildUnnamed1314(); + o.endpoints = buildUnnamed1293(); o.fingerprint = "foo"; o.id = "foo"; o.kind = "foo"; - o.labels = buildUnnamed1315(); + o.labels = buildUnnamed1294(); o.name = "foo"; o.network = "foo"; - o.resources = buildUnnamed1316(); + o.resources = buildUnnamed1295(); o.selfLink = "foo"; o.size = 42; } @@ -376,14 +376,14 @@ if (buildCounterResourceView < 3) { unittest.expect(o.creationTimestamp, unittest.equals('foo')); unittest.expect(o.description, unittest.equals('foo')); - checkUnnamed1314(o.endpoints); + checkUnnamed1293(o.endpoints); unittest.expect(o.fingerprint, unittest.equals('foo')); unittest.expect(o.id, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed1315(o.labels); + checkUnnamed1294(o.labels); unittest.expect(o.name, unittest.equals('foo')); unittest.expect(o.network, unittest.equals('foo')); - checkUnnamed1316(o.resources); + checkUnnamed1295(o.resources); unittest.expect(o.selfLink, unittest.equals('foo')); unittest.expect(o.size, unittest.equals(42)); } @@ -411,14 +411,14 @@ buildCounterServiceEndpoint--; } -buildUnnamed1317() { +buildUnnamed1296() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1317(core.List<core.String> o) { +checkUnnamed1296(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -429,7 +429,7 @@ var o = new api.ZoneViewsAddResourcesRequest(); buildCounterZoneViewsAddResourcesRequest++; if (buildCounterZoneViewsAddResourcesRequest < 3) { - o.resources = buildUnnamed1317(); + o.resources = buildUnnamed1296(); } buildCounterZoneViewsAddResourcesRequest--; return o; @@ -438,19 +438,19 @@ checkZoneViewsAddResourcesRequest(api.ZoneViewsAddResourcesRequest o) { buildCounterZoneViewsAddResourcesRequest++; if (buildCounterZoneViewsAddResourcesRequest < 3) { - checkUnnamed1317(o.resources); + checkUnnamed1296(o.resources); } buildCounterZoneViewsAddResourcesRequest--; } -buildUnnamed1318() { +buildUnnamed1297() { var o = new core.List<api.ServiceEndpoint>(); o.add(buildServiceEndpoint()); o.add(buildServiceEndpoint()); return o; } -checkUnnamed1318(core.List<api.ServiceEndpoint> o) { +checkUnnamed1297(core.List<api.ServiceEndpoint> o) { unittest.expect(o, unittest.hasLength(2)); checkServiceEndpoint(o[0]); checkServiceEndpoint(o[1]); @@ -461,7 +461,7 @@ var o = new api.ZoneViewsGetServiceResponse(); buildCounterZoneViewsGetServiceResponse++; if (buildCounterZoneViewsGetServiceResponse < 3) { - o.endpoints = buildUnnamed1318(); + o.endpoints = buildUnnamed1297(); o.fingerprint = "foo"; } buildCounterZoneViewsGetServiceResponse--; @@ -471,20 +471,20 @@ checkZoneViewsGetServiceResponse(api.ZoneViewsGetServiceResponse o) { buildCounterZoneViewsGetServiceResponse++; if (buildCounterZoneViewsGetServiceResponse < 3) { - checkUnnamed1318(o.endpoints); + checkUnnamed1297(o.endpoints); unittest.expect(o.fingerprint, unittest.equals('foo')); } buildCounterZoneViewsGetServiceResponse--; } -buildUnnamed1319() { +buildUnnamed1298() { var o = new core.List<api.ResourceView>(); o.add(buildResourceView()); o.add(buildResourceView()); return o; } -checkUnnamed1319(core.List<api.ResourceView> o) { +checkUnnamed1298(core.List<api.ResourceView> o) { unittest.expect(o, unittest.hasLength(2)); checkResourceView(o[0]); checkResourceView(o[1]); @@ -495,7 +495,7 @@ var o = new api.ZoneViewsList(); buildCounterZoneViewsList++; if (buildCounterZoneViewsList < 3) { - o.items = buildUnnamed1319(); + o.items = buildUnnamed1298(); o.kind = "foo"; o.nextPageToken = "foo"; o.selfLink = "foo"; @@ -507,7 +507,7 @@ checkZoneViewsList(api.ZoneViewsList o) { buildCounterZoneViewsList++; if (buildCounterZoneViewsList < 3) { - checkUnnamed1319(o.items); + checkUnnamed1298(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); unittest.expect(o.selfLink, unittest.equals('foo')); @@ -515,14 +515,14 @@ buildCounterZoneViewsList--; } -buildUnnamed1320() { +buildUnnamed1299() { var o = new core.List<api.ListResourceResponseItem>(); o.add(buildListResourceResponseItem()); o.add(buildListResourceResponseItem()); return o; } -checkUnnamed1320(core.List<api.ListResourceResponseItem> o) { +checkUnnamed1299(core.List<api.ListResourceResponseItem> o) { unittest.expect(o, unittest.hasLength(2)); checkListResourceResponseItem(o[0]); checkListResourceResponseItem(o[1]); @@ -533,7 +533,7 @@ var o = new api.ZoneViewsListResourcesResponse(); buildCounterZoneViewsListResourcesResponse++; if (buildCounterZoneViewsListResourcesResponse < 3) { - o.items = buildUnnamed1320(); + o.items = buildUnnamed1299(); o.network = "foo"; o.nextPageToken = "foo"; } @@ -544,21 +544,21 @@ checkZoneViewsListResourcesResponse(api.ZoneViewsListResourcesResponse o) { buildCounterZoneViewsListResourcesResponse++; if (buildCounterZoneViewsListResourcesResponse < 3) { - checkUnnamed1320(o.items); + checkUnnamed1299(o.items); unittest.expect(o.network, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } buildCounterZoneViewsListResourcesResponse--; } -buildUnnamed1321() { +buildUnnamed1300() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1321(core.List<core.String> o) { +checkUnnamed1300(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -569,7 +569,7 @@ var o = new api.ZoneViewsRemoveResourcesRequest(); buildCounterZoneViewsRemoveResourcesRequest++; if (buildCounterZoneViewsRemoveResourcesRequest < 3) { - o.resources = buildUnnamed1321(); + o.resources = buildUnnamed1300(); } buildCounterZoneViewsRemoveResourcesRequest--; return o; @@ -578,19 +578,19 @@ checkZoneViewsRemoveResourcesRequest(api.ZoneViewsRemoveResourcesRequest o) { buildCounterZoneViewsRemoveResourcesRequest++; if (buildCounterZoneViewsRemoveResourcesRequest < 3) { - checkUnnamed1321(o.resources); + checkUnnamed1300(o.resources); } buildCounterZoneViewsRemoveResourcesRequest--; } -buildUnnamed1322() { +buildUnnamed1301() { var o = new core.List<api.ServiceEndpoint>(); o.add(buildServiceEndpoint()); o.add(buildServiceEndpoint()); return o; } -checkUnnamed1322(core.List<api.ServiceEndpoint> o) { +checkUnnamed1301(core.List<api.ServiceEndpoint> o) { unittest.expect(o, unittest.hasLength(2)); checkServiceEndpoint(o[0]); checkServiceEndpoint(o[1]); @@ -601,7 +601,7 @@ var o = new api.ZoneViewsSetServiceRequest(); buildCounterZoneViewsSetServiceRequest++; if (buildCounterZoneViewsSetServiceRequest < 3) { - o.endpoints = buildUnnamed1322(); + o.endpoints = buildUnnamed1301(); o.fingerprint = "foo"; o.resourceName = "foo"; } @@ -612,7 +612,7 @@ checkZoneViewsSetServiceRequest(api.ZoneViewsSetServiceRequest o) { buildCounterZoneViewsSetServiceRequest++; if (buildCounterZoneViewsSetServiceRequest < 3) { - checkUnnamed1322(o.endpoints); + checkUnnamed1301(o.endpoints); unittest.expect(o.fingerprint, unittest.equals('foo')); unittest.expect(o.resourceName, unittest.equals('foo')); }
diff --git a/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart b/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart index a592e7b..489518f 100644 --- a/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart +++ b/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart
@@ -78,14 +78,14 @@ buildCounterBackupRun--; } -buildUnnamed1282() { +buildUnnamed1261() { var o = new core.List<api.BackupRun>(); o.add(buildBackupRun()); o.add(buildBackupRun()); return o; } -checkUnnamed1282(core.List<api.BackupRun> o) { +checkUnnamed1261(core.List<api.BackupRun> o) { unittest.expect(o, unittest.hasLength(2)); checkBackupRun(o[0]); checkBackupRun(o[1]); @@ -96,7 +96,7 @@ var o = new api.BackupRunsListResponse(); buildCounterBackupRunsListResponse++; if (buildCounterBackupRunsListResponse < 3) { - o.items = buildUnnamed1282(); + o.items = buildUnnamed1261(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -107,7 +107,7 @@ checkBackupRunsListResponse(api.BackupRunsListResponse o) { buildCounterBackupRunsListResponse++; if (buildCounterBackupRunsListResponse < 3) { - checkUnnamed1282(o.items); + checkUnnamed1261(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -183,27 +183,27 @@ buildCounterDatabaseFlags--; } -buildUnnamed1283() { +buildUnnamed1262() { var o = new core.List<api.IpMapping>(); o.add(buildIpMapping()); o.add(buildIpMapping()); return o; } -checkUnnamed1283(core.List<api.IpMapping> o) { +checkUnnamed1262(core.List<api.IpMapping> o) { unittest.expect(o, unittest.hasLength(2)); checkIpMapping(o[0]); checkIpMapping(o[1]); } -buildUnnamed1284() { +buildUnnamed1263() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1284(core.List<core.String> o) { +checkUnnamed1263(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -219,13 +219,13 @@ o.etag = "foo"; o.instance = "foo"; o.instanceType = "foo"; - o.ipAddresses = buildUnnamed1283(); + o.ipAddresses = buildUnnamed1262(); o.kind = "foo"; o.masterInstanceName = "foo"; o.maxDiskSize = "foo"; o.project = "foo"; o.region = "foo"; - o.replicaNames = buildUnnamed1284(); + o.replicaNames = buildUnnamed1263(); o.serverCaCert = buildSslCert(); o.settings = buildSettings(); o.state = "foo"; @@ -242,13 +242,13 @@ unittest.expect(o.etag, unittest.equals('foo')); unittest.expect(o.instance, unittest.equals('foo')); unittest.expect(o.instanceType, unittest.equals('foo')); - checkUnnamed1283(o.ipAddresses); + checkUnnamed1262(o.ipAddresses); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.masterInstanceName, unittest.equals('foo')); unittest.expect(o.maxDiskSize, unittest.equals('foo')); unittest.expect(o.project, unittest.equals('foo')); unittest.expect(o.region, unittest.equals('foo')); - checkUnnamed1284(o.replicaNames); + checkUnnamed1263(o.replicaNames); checkSslCert(o.serverCaCert); checkSettings(o.settings); unittest.expect(o.state, unittest.equals('foo')); @@ -256,27 +256,27 @@ buildCounterDatabaseInstance--; } -buildUnnamed1285() { +buildUnnamed1264() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1285(core.List<core.String> o) { +checkUnnamed1264(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1286() { +buildUnnamed1265() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1286(core.List<core.String> o) { +checkUnnamed1265(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -287,9 +287,9 @@ var o = new api.ExportContext(); buildCounterExportContext++; if (buildCounterExportContext < 3) { - o.database = buildUnnamed1285(); + o.database = buildUnnamed1264(); o.kind = "foo"; - o.table = buildUnnamed1286(); + o.table = buildUnnamed1265(); o.uri = "foo"; } buildCounterExportContext--; @@ -299,35 +299,35 @@ checkExportContext(api.ExportContext o) { buildCounterExportContext++; if (buildCounterExportContext < 3) { - checkUnnamed1285(o.database); + checkUnnamed1264(o.database); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed1286(o.table); + checkUnnamed1265(o.table); unittest.expect(o.uri, unittest.equals('foo')); } buildCounterExportContext--; } -buildUnnamed1287() { +buildUnnamed1266() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1287(core.List<core.String> o) { +checkUnnamed1266(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1288() { +buildUnnamed1267() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1288(core.List<core.String> o) { +checkUnnamed1267(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -338,8 +338,8 @@ var o = new api.Flag(); buildCounterFlag++; if (buildCounterFlag < 3) { - o.allowedStringValues = buildUnnamed1287(); - o.appliesTo = buildUnnamed1288(); + o.allowedStringValues = buildUnnamed1266(); + o.appliesTo = buildUnnamed1267(); o.kind = "foo"; o.maxValue = "foo"; o.minValue = "foo"; @@ -353,8 +353,8 @@ checkFlag(api.Flag o) { buildCounterFlag++; if (buildCounterFlag < 3) { - checkUnnamed1287(o.allowedStringValues); - checkUnnamed1288(o.appliesTo); + checkUnnamed1266(o.allowedStringValues); + checkUnnamed1267(o.appliesTo); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.maxValue, unittest.equals('foo')); unittest.expect(o.minValue, unittest.equals('foo')); @@ -364,14 +364,14 @@ buildCounterFlag--; } -buildUnnamed1289() { +buildUnnamed1268() { var o = new core.List<api.Flag>(); o.add(buildFlag()); o.add(buildFlag()); return o; } -checkUnnamed1289(core.List<api.Flag> o) { +checkUnnamed1268(core.List<api.Flag> o) { unittest.expect(o, unittest.hasLength(2)); checkFlag(o[0]); checkFlag(o[1]); @@ -382,7 +382,7 @@ var o = new api.FlagsListResponse(); buildCounterFlagsListResponse++; if (buildCounterFlagsListResponse < 3) { - o.items = buildUnnamed1289(); + o.items = buildUnnamed1268(); o.kind = "foo"; } buildCounterFlagsListResponse--; @@ -392,20 +392,20 @@ checkFlagsListResponse(api.FlagsListResponse o) { buildCounterFlagsListResponse++; if (buildCounterFlagsListResponse < 3) { - checkUnnamed1289(o.items); + checkUnnamed1268(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterFlagsListResponse--; } -buildUnnamed1290() { +buildUnnamed1269() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1290(core.List<core.String> o) { +checkUnnamed1269(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -418,7 +418,7 @@ if (buildCounterImportContext < 3) { o.database = "foo"; o.kind = "foo"; - o.uri = buildUnnamed1290(); + o.uri = buildUnnamed1269(); } buildCounterImportContext--; return o; @@ -429,19 +429,19 @@ if (buildCounterImportContext < 3) { unittest.expect(o.database, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed1290(o.uri); + checkUnnamed1269(o.uri); } buildCounterImportContext--; } -buildUnnamed1291() { +buildUnnamed1270() { var o = new core.List<api.OperationError>(); o.add(buildOperationError()); o.add(buildOperationError()); return o; } -checkUnnamed1291(core.List<api.OperationError> o) { +checkUnnamed1270(core.List<api.OperationError> o) { unittest.expect(o, unittest.hasLength(2)); checkOperationError(o[0]); checkOperationError(o[1]); @@ -454,7 +454,7 @@ if (buildCounterInstanceOperation < 3) { o.endTime = core.DateTime.parse("2002-02-27T14:01:02"); o.enqueuedTime = core.DateTime.parse("2002-02-27T14:01:02"); - o.error = buildUnnamed1291(); + o.error = buildUnnamed1270(); o.exportContext = buildExportContext(); o.importContext = buildImportContext(); o.instance = "foo"; @@ -474,7 +474,7 @@ if (buildCounterInstanceOperation < 3) { unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); unittest.expect(o.enqueuedTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); - checkUnnamed1291(o.error); + checkUnnamed1270(o.error); checkExportContext(o.exportContext); checkImportContext(o.importContext); unittest.expect(o.instance, unittest.equals('foo')); @@ -669,14 +669,14 @@ buildCounterInstancesInsertResponse--; } -buildUnnamed1292() { +buildUnnamed1271() { var o = new core.List<api.DatabaseInstance>(); o.add(buildDatabaseInstance()); o.add(buildDatabaseInstance()); return o; } -checkUnnamed1292(core.List<api.DatabaseInstance> o) { +checkUnnamed1271(core.List<api.DatabaseInstance> o) { unittest.expect(o, unittest.hasLength(2)); checkDatabaseInstance(o[0]); checkDatabaseInstance(o[1]); @@ -687,7 +687,7 @@ var o = new api.InstancesListResponse(); buildCounterInstancesListResponse++; if (buildCounterInstancesListResponse < 3) { - o.items = buildUnnamed1292(); + o.items = buildUnnamed1271(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -698,7 +698,7 @@ checkInstancesListResponse(api.InstancesListResponse o) { buildCounterInstancesListResponse++; if (buildCounterInstancesListResponse < 3) { - checkUnnamed1292(o.items); + checkUnnamed1271(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -831,14 +831,14 @@ buildCounterInstancesUpdateResponse--; } -buildUnnamed1293() { +buildUnnamed1272() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1293(core.List<core.String> o) { +checkUnnamed1272(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -849,7 +849,7 @@ var o = new api.IpConfiguration(); buildCounterIpConfiguration++; if (buildCounterIpConfiguration < 3) { - o.authorizedNetworks = buildUnnamed1293(); + o.authorizedNetworks = buildUnnamed1272(); o.enabled = true; o.requireSsl = true; } @@ -860,7 +860,7 @@ checkIpConfiguration(api.IpConfiguration o) { buildCounterIpConfiguration++; if (buildCounterIpConfiguration < 3) { - checkUnnamed1293(o.authorizedNetworks); + checkUnnamed1272(o.authorizedNetworks); unittest.expect(o.enabled, unittest.isTrue); unittest.expect(o.requireSsl, unittest.isTrue); } @@ -932,14 +932,14 @@ buildCounterOperationError--; } -buildUnnamed1294() { +buildUnnamed1273() { var o = new core.List<api.InstanceOperation>(); o.add(buildInstanceOperation()); o.add(buildInstanceOperation()); return o; } -checkUnnamed1294(core.List<api.InstanceOperation> o) { +checkUnnamed1273(core.List<api.InstanceOperation> o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceOperation(o[0]); checkInstanceOperation(o[1]); @@ -950,7 +950,7 @@ var o = new api.OperationsListResponse(); buildCounterOperationsListResponse++; if (buildCounterOperationsListResponse < 3) { - o.items = buildUnnamed1294(); + o.items = buildUnnamed1273(); o.kind = "foo"; o.nextPageToken = "foo"; } @@ -961,7 +961,7 @@ checkOperationsListResponse(api.OperationsListResponse o) { buildCounterOperationsListResponse++; if (buildCounterOperationsListResponse < 3) { - checkUnnamed1294(o.items); + checkUnnamed1273(o.items); unittest.expect(o.kind, unittest.equals('foo')); unittest.expect(o.nextPageToken, unittest.equals('foo')); } @@ -989,40 +989,40 @@ buildCounterSetRootPasswordContext--; } -buildUnnamed1295() { +buildUnnamed1274() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1295(core.List<core.String> o) { +checkUnnamed1274(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1296() { +buildUnnamed1275() { var o = new core.List<api.BackupConfiguration>(); o.add(buildBackupConfiguration()); o.add(buildBackupConfiguration()); return o; } -checkUnnamed1296(core.List<api.BackupConfiguration> o) { +checkUnnamed1275(core.List<api.BackupConfiguration> o) { unittest.expect(o, unittest.hasLength(2)); checkBackupConfiguration(o[0]); checkBackupConfiguration(o[1]); } -buildUnnamed1297() { +buildUnnamed1276() { var o = new core.List<api.DatabaseFlags>(); o.add(buildDatabaseFlags()); o.add(buildDatabaseFlags()); return o; } -checkUnnamed1297(core.List<api.DatabaseFlags> o) { +checkUnnamed1276(core.List<api.DatabaseFlags> o) { unittest.expect(o, unittest.hasLength(2)); checkDatabaseFlags(o[0]); checkDatabaseFlags(o[1]); @@ -1034,9 +1034,9 @@ buildCounterSettings++; if (buildCounterSettings < 3) { o.activationPolicy = "foo"; - o.authorizedGaeApplications = buildUnnamed1295(); - o.backupConfiguration = buildUnnamed1296(); - o.databaseFlags = buildUnnamed1297(); + o.authorizedGaeApplications = buildUnnamed1274(); + o.backupConfiguration = buildUnnamed1275(); + o.databaseFlags = buildUnnamed1276(); o.databaseReplicationEnabled = true; o.ipConfiguration = buildIpConfiguration(); o.kind = "foo"; @@ -1054,9 +1054,9 @@ buildCounterSettings++; if (buildCounterSettings < 3) { unittest.expect(o.activationPolicy, unittest.equals('foo')); - checkUnnamed1295(o.authorizedGaeApplications); - checkUnnamed1296(o.backupConfiguration); - checkUnnamed1297(o.databaseFlags); + checkUnnamed1274(o.authorizedGaeApplications); + checkUnnamed1275(o.backupConfiguration); + checkUnnamed1276(o.databaseFlags); unittest.expect(o.databaseReplicationEnabled, unittest.isTrue); checkIpConfiguration(o.ipConfiguration); unittest.expect(o.kind, unittest.equals('foo')); @@ -1186,14 +1186,14 @@ buildCounterSslCertsInsertResponse--; } -buildUnnamed1298() { +buildUnnamed1277() { var o = new core.List<api.SslCert>(); o.add(buildSslCert()); o.add(buildSslCert()); return o; } -checkUnnamed1298(core.List<api.SslCert> o) { +checkUnnamed1277(core.List<api.SslCert> o) { unittest.expect(o, unittest.hasLength(2)); checkSslCert(o[0]); checkSslCert(o[1]); @@ -1204,7 +1204,7 @@ var o = new api.SslCertsListResponse(); buildCounterSslCertsListResponse++; if (buildCounterSslCertsListResponse < 3) { - o.items = buildUnnamed1298(); + o.items = buildUnnamed1277(); o.kind = "foo"; } buildCounterSslCertsListResponse--; @@ -1214,20 +1214,20 @@ checkSslCertsListResponse(api.SslCertsListResponse o) { buildCounterSslCertsListResponse++; if (buildCounterSslCertsListResponse < 3) { - checkUnnamed1298(o.items); + checkUnnamed1277(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterSslCertsListResponse--; } -buildUnnamed1299() { +buildUnnamed1278() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1299(core.List<core.String> o) { +checkUnnamed1278(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -1241,7 +1241,7 @@ o.DiskQuota = "foo"; o.RAM = "foo"; o.kind = "foo"; - o.region = buildUnnamed1299(); + o.region = buildUnnamed1278(); o.tier = "foo"; } buildCounterTier--; @@ -1254,20 +1254,20 @@ unittest.expect(o.DiskQuota, unittest.equals('foo')); unittest.expect(o.RAM, unittest.equals('foo')); unittest.expect(o.kind, unittest.equals('foo')); - checkUnnamed1299(o.region); + checkUnnamed1278(o.region); unittest.expect(o.tier, unittest.equals('foo')); } buildCounterTier--; } -buildUnnamed1300() { +buildUnnamed1279() { var o = new core.List<api.Tier>(); o.add(buildTier()); o.add(buildTier()); return o; } -checkUnnamed1300(core.List<api.Tier> o) { +checkUnnamed1279(core.List<api.Tier> o) { unittest.expect(o, unittest.hasLength(2)); checkTier(o[0]); checkTier(o[1]); @@ -1278,7 +1278,7 @@ var o = new api.TiersListResponse(); buildCounterTiersListResponse++; if (buildCounterTiersListResponse < 3) { - o.items = buildUnnamed1300(); + o.items = buildUnnamed1279(); o.kind = "foo"; } buildCounterTiersListResponse--; @@ -1288,7 +1288,7 @@ checkTiersListResponse(api.TiersListResponse o) { buildCounterTiersListResponse++; if (buildCounterTiersListResponse < 3) { - checkUnnamed1300(o.items); + checkUnnamed1279(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterTiersListResponse--;
diff --git a/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart b/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart index b60bef3..6e86038 100644 --- a/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart +++ b/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart
@@ -49,40 +49,40 @@ buildCounterTask--; } -buildUnnamed1167() { +buildUnnamed1145() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1167(core.List<core.String> o) { +checkUnnamed1145(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1168() { +buildUnnamed1146() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1168(core.List<core.String> o) { +checkUnnamed1146(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } -buildUnnamed1169() { +buildUnnamed1147() { var o = new core.List<core.String>(); o.add("foo"); o.add("foo"); return o; } -checkUnnamed1169(core.List<core.String> o) { +checkUnnamed1147(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); @@ -93,9 +93,9 @@ var o = new api.TaskQueueAcl(); buildCounterTaskQueueAcl++; if (buildCounterTaskQueueAcl < 3) { - o.adminEmails = buildUnnamed1167(); - o.consumerEmails = buildUnnamed1168(); - o.producerEmails = buildUnnamed1169(); + o.adminEmails = buildUnnamed1145(); + o.consumerEmails = buildUnnamed1146(); + o.producerEmails = buildUnnamed1147(); } buildCounterTaskQueueAcl--; return o; @@ -104,9 +104,9 @@ checkTaskQueueAcl(api.TaskQueueAcl o) { buildCounterTaskQueueAcl++; if (buildCounterTaskQueueAcl < 3) { - checkUnnamed1167(o.adminEmails); - checkUnnamed1168(o.consumerEmails); - checkUnnamed1169(o.producerEmails); + checkUnnamed1145(o.adminEmails); + checkUnnamed1146(o.consumerEmails); + checkUnnamed1147(o.producerEmails); } buildCounterTaskQueueAcl--; } @@ -163,14 +163,14 @@ buildCounterTaskQueue--; } -buildUnnamed1170() { +buildUnnamed1148() { var o = new core.List<api.Task>(); o.add(buildTask()); o.add(buildTask()); return o; } -checkUnnamed1170(core.List<api.Task> o) { +checkUnnamed1148(core.List<api.Task> o) { unittest.expect(o, unittest.hasLength(2)); checkTask(o[0]); checkTask(o[1]); @@ -181,7 +181,7 @@ var o = new api.Tasks(); buildCounterTasks++; if (buildCounterTasks < 3) { - o.items = buildUnnamed1170(); + o.items = buildUnnamed1148(); o.kind = "foo"; } buildCounterTasks--; @@ -191,20 +191,20 @@ checkTasks(api.Tasks o) { buildCounterTasks++; if (buildCounterTasks < 3) { - checkUnnamed1170(o.items); + checkUnnamed1148(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterTasks--; } -buildUnnamed1171() { +buildUnnamed1149() { var o = new core.List<api.Task>(); o.add(buildTask()); o.add(buildTask()); return o; } -checkUnnamed1171(core.List<api.Task> o) { +checkUnnamed1149(core.List<api.Task> o) { unittest.expect(o, unittest.hasLength(2)); checkTask(o[0]); checkTask(o[1]); @@ -215,7 +215,7 @@ var o = new api.Tasks2(); buildCounterTasks2++; if (buildCounterTasks2 < 3) { - o.items = buildUnnamed1171(); + o.items = buildUnnamed1149(); o.kind = "foo"; } buildCounterTasks2--; @@ -225,7 +225,7 @@ checkTasks2(api.Tasks2 o) { buildCounterTasks2++; if (buildCounterTasks2 < 3) { - checkUnnamed1171(o.items); + checkUnnamed1149(o.items); unittest.expect(o.kind, unittest.equals('foo')); } buildCounterTasks2--;
diff --git a/pubspec.lock b/pubspec.lock index 039bf38..9b83f79 100644 --- a/pubspec.lock +++ b/pubspec.lock
@@ -39,7 +39,7 @@ stack_trace: description: stack_trace source: hosted - version: "1.0.2" + version: "1.1.1" string_scanner: description: string_scanner source: hosted
diff --git a/resources/googleapis/CHANGELOG.md b/resources/googleapis/CHANGELOG.md index 57f9bbc..5837942 100644 --- a/resources/googleapis/CHANGELOG.md +++ b/resources/googleapis/CHANGELOG.md
@@ -1,3 +1,12 @@ +## 0.3.0 + +* [apis-removed] orkut:v2: removed (Orkut is shut down) +* [apis] compute:v1: additional schemas/methods +* [apis] doubleclicksearch:v2: schema changes +* [apis] games:v1: schema changes +* [apis] gamesManagement:v1management: schema changes +* [apis] gmail:v1: schema changes + ## 0.2.1 * [apis-new] adexchangeseller:v2.0: API added
diff --git a/resources/googleapis_beta/CHANGELOG.md b/resources/googleapis_beta/CHANGELOG.md index 553410a..570cbbe 100644 --- a/resources/googleapis_beta/CHANGELOG.md +++ b/resources/googleapis_beta/CHANGELOG.md
@@ -1,3 +1,7 @@ +## 0.3.0 + +* [apis-breaking] genomics:v1beta: breaking changes (method argument changes and schema change) + ## 0.2.1 * [apis-new] resourceviews:v1beta2: API added