Api roll 2: 2014-09-29
R=kustermann@google.com
BUG=
Review URL: https://codereview.chromium.org//612053002
diff --git a/.gitignore b/.gitignore
index f9ced93..5a608ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
packages
+.pub
diff --git a/config.yaml b/config.yaml
index 9ffd95f..290908e 100644
--- a/config.yaml
+++ b/config.yaml
@@ -1,6 +1,6 @@
packages:
- googleapis:
- version: 0.2.0
+ version: 0.2.1
author: Dart Team <misc@dartlang.org>
homepage: http://www.dartlang.org/googleapis/
readme: resources/README.md
@@ -9,6 +9,7 @@
apis:
- adexchangebuyer:v1.3 # https://developers.google.com/ad-exchange/buyer-rest/
- adexchangeseller:v1.1 # https://developers.google.com/ad-exchange/seller-rest/
+ - adexchangeseller:v2.0 # https://developers.google.com/ad-exchange/seller-rest/
- admin:directory_v1 # https://developers.google.com/admin-sdk/directory/
- admin:email_migration_v2 #https://developers.google.com/admin-sdk/email-migration/
- admin:reports_v1 # https://developers.google.com/admin-sdk/reports/
@@ -23,6 +24,7 @@
- books:v1 # https://developers.google.com/books/
- civicinfo:us_v1 # https://developers.google.com/civic-information/
- civicinfo:v1 # https://developers.google.com/civic-information/
+ - civicinfo:v2 # https://developers.google.com/civic-information/
- calendar:v3 # https://developers.google.com/google-apps/calendar/
- compute:v1 # https://developers.google.com/compute/
- content:v2 # https://developers.google.com/shopping-content/
@@ -58,11 +60,12 @@
- translate:v2 # https://developers.google.com/translate/
- urlshortener:v1 # https://developers.google.com/url-shortener/
- webfonts:v1 # https://developers.google.com/fonts/docs/developer_api
+ - webmasters:v3 # https://developers.google.com/webmaster-tools/
- youtube:v3 # https://developers.google.com/youtube/
- youtubeAnalytics:v1 # https://developers.google.com/youtube/analytics/
- googleapis_beta:
- version: 0.2.0
+ version: 0.2.1
author: Dart Team <misc@dartlang.org>
homepage: http://www.dartlang.org/googleapis/
readme: resources/README.md
@@ -77,7 +80,8 @@
- manager:v1beta2 # https://developers.google.com/deployment-manager/
- pubsub:v1beta1 # https://developers.google.com/pubsub/ (Limited Preview)
- replicapool:v1beta1 # https://developers.google.com/compute/docs/replica-pool/ (Limited Preview)
- - resourceviews:v1beta1 # https://developers.google.com/compute/docs/resource-views/ (Limited Preview)
+ - resourceviews:v1beta1 # https://cloud.google.com/compute/docs/instance-groups/ (Limited Preview)
+ - resourceviews:v1beta2 # https://cloud.google.com/compute/docs/instance-groups/
- sqladmin:v1beta3 # https://developers.google.com/cloud-sql/docs/admin-api/
- taskqueue:v1beta2 # https://developers.google.com/appengine/docs/python/taskqueue/rest/libraries
diff --git a/discovery/googleapis/adexchangebuyer__v1.3.json b/discovery/googleapis/adexchangebuyer__v1.3.json
index 725f348..7d415dc 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/uHjNEd1_7g346IAEietALP-Pc6M\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/J6ZStEPPnhd7qydEdNU7DpivHr4\"",
"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": "20140904",
+ "revision": "20140926",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/discovery/googleapis/adexchangeseller__v1.1.json b/discovery/googleapis/adexchangeseller__v1.1.json
index ac8638e..7e352be 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/bok_hcSdBm1EdbGDzvvOPwoa2gI\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/ADgw81JjT-5rCc2ZRpORGdHhmH4\"",
"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": "20140921",
+ "revision": "20140924",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/discovery/googleapis/adexchangeseller__v2.0.json b/discovery/googleapis/adexchangeseller__v2.0.json
new file mode 100644
index 0000000..3dde2bb
--- /dev/null
+++ b/discovery/googleapis/adexchangeseller__v2.0.json
@@ -0,0 +1,1164 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/adexchange.seller": {
+ "description": "View and manage your Ad Exchange data"
+ },
+ "https://www.googleapis.com/auth/adexchange.seller.readonly": {
+ "description": "View your Ad Exchange data"
+ }
+ }
+ }
+ },
+ "basePath": "/adexchangeseller/v2.0/",
+ "baseUrl": "https://www.googleapis.com/adexchangeseller/v2.0/",
+ "batchPath": "batch",
+ "canonicalName": "Ad Exchange Seller",
+ "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\"",
+ "icons": {
+ "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
+ "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
+ },
+ "id": "adexchangeseller:v2.0",
+ "kind": "discovery#restDescription",
+ "name": "adexchangeseller",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "alt": {
+ "default": "json",
+ "description": "Data format for the response.",
+ "enum": [
+ "csv",
+ "json"
+ ],
+ "enumDescriptions": [
+ "Responses with Content-Type of text/csv",
+ "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": {
+ "accounts": {
+ "methods": {
+ "get": {
+ "description": "Get information about the selected Ad Exchange account.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.get",
+ "parameterOrder": [
+ "accountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account to get information about. Tip: 'myaccount' is a valid ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "accounts/{accountId}",
+ "response": {
+ "$ref": "Account"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ },
+ "list": {
+ "description": "List all accounts available to this Ad Exchange account.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.list",
+ "parameters": {
+ "maxResults": {
+ "description": "The maximum number of accounts to include in the response, used for paging.",
+ "format": "int32",
+ "location": "query",
+ "maximum": "10000",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "accounts",
+ "response": {
+ "$ref": "Accounts"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ }
+ },
+ "resources": {
+ "adclients": {
+ "methods": {
+ "list": {
+ "description": "List all ad clients in this Ad Exchange account.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.adclients.list",
+ "parameterOrder": [
+ "accountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account to which the ad client belongs.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "maxResults": {
+ "description": "The maximum number of ad clients to include in the response, used for paging.",
+ "format": "uint32",
+ "location": "query",
+ "maximum": "10000",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "accounts/{accountId}/adclients",
+ "response": {
+ "$ref": "AdClients"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ }
+ }
+ },
+ "alerts": {
+ "methods": {
+ "list": {
+ "description": "List the alerts for this Ad Exchange account.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.alerts.list",
+ "parameterOrder": [
+ "accountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account owning the alerts.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "locale": {
+ "description": "The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "accounts/{accountId}/alerts",
+ "response": {
+ "$ref": "Alerts"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ }
+ }
+ },
+ "customchannels": {
+ "methods": {
+ "get": {
+ "description": "Get the specified custom channel from the specified ad client.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.customchannels.get",
+ "parameterOrder": [
+ "accountId",
+ "adClientId",
+ "customChannelId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account to which the ad client belongs.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "adClientId": {
+ "description": "Ad client which contains the custom channel.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "customChannelId": {
+ "description": "Custom channel to retrieve.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}",
+ "response": {
+ "$ref": "CustomChannel"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ },
+ "list": {
+ "description": "List all custom channels in the specified ad client for this Ad Exchange account.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.customchannels.list",
+ "parameterOrder": [
+ "accountId",
+ "adClientId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account to which the ad client belongs.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "adClientId": {
+ "description": "Ad client for which to list custom channels.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "maxResults": {
+ "description": "The maximum number of custom channels to include in the response, used for paging.",
+ "format": "uint32",
+ "location": "query",
+ "maximum": "10000",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "accounts/{accountId}/adclients/{adClientId}/customchannels",
+ "response": {
+ "$ref": "CustomChannels"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ }
+ }
+ },
+ "metadata": {
+ "resources": {
+ "dimensions": {
+ "methods": {
+ "list": {
+ "description": "List the metadata for the dimensions available to this AdExchange account.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.metadata.dimensions.list",
+ "parameterOrder": [
+ "accountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account with visibility to the dimensions.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "accounts/{accountId}/metadata/dimensions",
+ "response": {
+ "$ref": "Metadata"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ }
+ }
+ },
+ "metrics": {
+ "methods": {
+ "list": {
+ "description": "List the metadata for the metrics available to this AdExchange account.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.metadata.metrics.list",
+ "parameterOrder": [
+ "accountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account with visibility to the metrics.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "accounts/{accountId}/metadata/metrics",
+ "response": {
+ "$ref": "Metadata"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "preferreddeals": {
+ "methods": {
+ "get": {
+ "description": "Get information about the selected Ad Exchange Preferred Deal.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.preferreddeals.get",
+ "parameterOrder": [
+ "accountId",
+ "dealId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account owning the deal.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "dealId": {
+ "description": "Preferred deal to get information about.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "accounts/{accountId}/preferreddeals/{dealId}",
+ "response": {
+ "$ref": "PreferredDeal"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ },
+ "list": {
+ "description": "List the preferred deals for this Ad Exchange account.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.preferreddeals.list",
+ "parameterOrder": [
+ "accountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account owning the deals.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "accounts/{accountId}/preferreddeals",
+ "response": {
+ "$ref": "PreferredDeals"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ }
+ }
+ },
+ "reports": {
+ "methods": {
+ "generate": {
+ "description": "Generate an Ad Exchange report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.reports.generate",
+ "parameterOrder": [
+ "accountId",
+ "startDate",
+ "endDate"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account which owns the generated report.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "dimension": {
+ "description": "Dimensions to base the report on.",
+ "location": "query",
+ "pattern": "[a-zA-Z_]+",
+ "repeated": true,
+ "type": "string"
+ },
+ "endDate": {
+ "description": "End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.",
+ "location": "query",
+ "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Filters to be run on the report.",
+ "location": "query",
+ "pattern": "[a-zA-Z_]+(==|=@).+",
+ "repeated": true,
+ "type": "string"
+ },
+ "locale": {
+ "description": "Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.",
+ "location": "query",
+ "pattern": "[a-zA-Z_]+",
+ "type": "string"
+ },
+ "maxResults": {
+ "description": "The maximum number of rows of report data to return.",
+ "format": "uint32",
+ "location": "query",
+ "maximum": "50000",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "metric": {
+ "description": "Numeric columns to include in the report.",
+ "location": "query",
+ "pattern": "[a-zA-Z_]+",
+ "repeated": true,
+ "type": "string"
+ },
+ "sort": {
+ "description": "The name of a dimension or metric to sort the resulting report on, optionally prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.",
+ "location": "query",
+ "pattern": "(\\+|-)?[a-zA-Z_]+",
+ "repeated": true,
+ "type": "string"
+ },
+ "startDate": {
+ "description": "Start of the date range to report on in \"YYYY-MM-DD\" format, inclusive.",
+ "location": "query",
+ "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)",
+ "required": true,
+ "type": "string"
+ },
+ "startIndex": {
+ "description": "Index of the first row of report data to return.",
+ "format": "uint32",
+ "location": "query",
+ "maximum": "5000",
+ "minimum": "0",
+ "type": "integer"
+ }
+ },
+ "path": "accounts/{accountId}/reports",
+ "response": {
+ "$ref": "Report"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ],
+ "supportsMediaDownload": true
+ }
+ },
+ "resources": {
+ "saved": {
+ "methods": {
+ "generate": {
+ "description": "Generate an Ad Exchange report based on the saved report ID sent in the query parameters.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.reports.saved.generate",
+ "parameterOrder": [
+ "accountId",
+ "savedReportId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account owning the saved report.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "locale": {
+ "description": "Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.",
+ "location": "query",
+ "pattern": "[a-zA-Z_]+",
+ "type": "string"
+ },
+ "maxResults": {
+ "description": "The maximum number of rows of report data to return.",
+ "format": "int32",
+ "location": "query",
+ "maximum": "50000",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "savedReportId": {
+ "description": "The saved report to retrieve.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "startIndex": {
+ "description": "Index of the first row of report data to return.",
+ "format": "int32",
+ "location": "query",
+ "maximum": "5000",
+ "minimum": "0",
+ "type": "integer"
+ }
+ },
+ "path": "accounts/{accountId}/reports/{savedReportId}",
+ "response": {
+ "$ref": "Report"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ },
+ "list": {
+ "description": "List all saved reports in this Ad Exchange account.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.reports.saved.list",
+ "parameterOrder": [
+ "accountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account owning the saved reports.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "maxResults": {
+ "description": "The maximum number of saved reports to include in the response, used for paging.",
+ "format": "int32",
+ "location": "query",
+ "maximum": "100",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A continuation token, used to page through saved reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "accounts/{accountId}/reports/saved",
+ "response": {
+ "$ref": "SavedReports"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "urlchannels": {
+ "methods": {
+ "list": {
+ "description": "List all URL channels in the specified ad client for this Ad Exchange account.",
+ "httpMethod": "GET",
+ "id": "adexchangeseller.accounts.urlchannels.list",
+ "parameterOrder": [
+ "accountId",
+ "adClientId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account to which the ad client belongs.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "adClientId": {
+ "description": "Ad client for which to list URL channels.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "maxResults": {
+ "description": "The maximum number of URL channels to include in the response, used for paging.",
+ "format": "uint32",
+ "location": "query",
+ "maximum": "10000",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "accounts/{accountId}/adclients/{adClientId}/urlchannels",
+ "response": {
+ "$ref": "UrlChannels"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.seller",
+ "https://www.googleapis.com/auth/adexchange.seller.readonly"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20140924",
+ "rootUrl": "https://www.googleapis.com/",
+ "schemas": {
+ "Account": {
+ "id": "Account",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of this account.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "adexchangeseller#account",
+ "description": "Kind of resource this is, in this case adexchangeseller#account.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of this account.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Accounts": {
+ "id": "Accounts",
+ "properties": {
+ "etag": {
+ "description": "ETag of this response for caching purposes.",
+ "type": "string"
+ },
+ "items": {
+ "description": "The accounts returned in this list response.",
+ "items": {
+ "$ref": "Account"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "adexchangeseller#accounts",
+ "description": "Kind of list this is, in this case adexchangeseller#accounts.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "Continuation token used to page through accounts. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AdClient": {
+ "id": "AdClient",
+ "properties": {
+ "arcOptIn": {
+ "description": "Whether this ad client is opted in to ARC.",
+ "type": "boolean"
+ },
+ "id": {
+ "description": "Unique identifier of this ad client.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "adexchangeseller#adClient",
+ "description": "Kind of resource this is, in this case adexchangeseller#adClient.",
+ "type": "string"
+ },
+ "productCode": {
+ "description": "This ad client's product code, which corresponds to the PRODUCT_CODE report dimension.",
+ "type": "string"
+ },
+ "supportsReporting": {
+ "description": "Whether this ad client supports being reported on.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "AdClients": {
+ "id": "AdClients",
+ "properties": {
+ "etag": {
+ "description": "ETag of this response for caching purposes.",
+ "type": "string"
+ },
+ "items": {
+ "description": "The ad clients returned in this list response.",
+ "items": {
+ "$ref": "AdClient"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "adexchangeseller#adClients",
+ "description": "Kind of list this is, in this case adexchangeseller#adClients.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "Continuation token used to page through ad clients. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Alert": {
+ "id": "Alert",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of this alert. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "adexchangeseller#alert",
+ "description": "Kind of resource this is, in this case adexchangeseller#alert.",
+ "type": "string"
+ },
+ "message": {
+ "description": "The localized alert message.",
+ "type": "string"
+ },
+ "severity": {
+ "description": "Severity of this alert. Possible values: INFO, WARNING, SEVERE.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3, ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY, GRAYLISTED_PUBLISHER, API_HOLD.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Alerts": {
+ "id": "Alerts",
+ "properties": {
+ "items": {
+ "description": "The alerts returned in this list response.",
+ "items": {
+ "$ref": "Alert"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "adexchangeseller#alerts",
+ "description": "Kind of list this is, in this case adexchangeseller#alerts.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CustomChannel": {
+ "id": "CustomChannel",
+ "properties": {
+ "code": {
+ "description": "Code of this custom channel, not necessarily unique across ad clients.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "adexchangeseller#customChannel",
+ "description": "Kind of resource this is, in this case adexchangeseller#customChannel.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of this custom channel.",
+ "type": "string"
+ },
+ "targetingInfo": {
+ "description": "The targeting information of this custom channel, if activated.",
+ "properties": {
+ "adsAppearOn": {
+ "description": "The name used to describe this channel externally.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The external description of the channel.",
+ "type": "string"
+ },
+ "location": {
+ "description": "The locations in which ads appear. (Only valid for content and mobile content ads). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for mobile content ads are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS.",
+ "type": "string"
+ },
+ "siteLanguage": {
+ "description": "The language of the sites ads will be displayed on.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "CustomChannels": {
+ "id": "CustomChannels",
+ "properties": {
+ "etag": {
+ "description": "ETag of this response for caching purposes.",
+ "type": "string"
+ },
+ "items": {
+ "description": "The custom channels returned in this list response.",
+ "items": {
+ "$ref": "CustomChannel"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "adexchangeseller#customChannels",
+ "description": "Kind of list this is, in this case adexchangeseller#customChannels.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "Continuation token used to page through custom channels. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Metadata": {
+ "id": "Metadata",
+ "properties": {
+ "items": {
+ "items": {
+ "$ref": "ReportingMetadataEntry"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "adexchangeseller#metadata",
+ "description": "Kind of list this is, in this case adexchangeseller#metadata.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PreferredDeal": {
+ "id": "PreferredDeal",
+ "properties": {
+ "advertiserName": {
+ "description": "The name of the advertiser this deal is for.",
+ "type": "string"
+ },
+ "buyerNetworkName": {
+ "description": "The name of the buyer network this deal is for.",
+ "type": "string"
+ },
+ "currencyCode": {
+ "description": "The currency code that applies to the fixed_cpm value. If not set then assumed to be USD.",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Time when this deal stops being active in seconds since the epoch (GMT). If not set then this deal is valid until manually disabled by the publisher.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "fixedCpm": {
+ "description": "The fixed price for this preferred deal. In cpm micros of currency according to currencyCode. If set, then this preferred deal is eligible for the fixed price tier of buying (highest priority, pay exactly the configured fixed price).",
+ "format": "int64",
+ "type": "string"
+ },
+ "id": {
+ "description": "Unique identifier of this preferred deal.",
+ "format": "int64",
+ "type": "string"
+ },
+ "kind": {
+ "default": "adexchangeseller#preferredDeal",
+ "description": "Kind of resource this is, in this case adexchangeseller#preferredDeal.",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "Time when this deal becomes active in seconds since the epoch (GMT). If not set then this deal is active immediately upon creation.",
+ "format": "uint64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PreferredDeals": {
+ "id": "PreferredDeals",
+ "properties": {
+ "items": {
+ "description": "The preferred deals returned in this list response.",
+ "items": {
+ "$ref": "PreferredDeal"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "adexchangeseller#preferredDeals",
+ "description": "Kind of list this is, in this case adexchangeseller#preferredDeals.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Report": {
+ "id": "Report",
+ "properties": {
+ "averages": {
+ "description": "The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "headers": {
+ "description": "The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for each metric in the request.",
+ "items": {
+ "properties": {
+ "currency": {
+ "description": "The currency of this column. Only present if the header type is METRIC_CURRENCY.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the header.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "adexchangeseller#report",
+ "description": "Kind this is, in this case adexchangeseller#report.",
+ "type": "string"
+ },
+ "rows": {
+ "description": "The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The dimension cells contain strings, and the metric cells contain numbers.",
+ "items": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ "totalMatchedRows": {
+ "description": "The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or the report row limit.",
+ "format": "int64",
+ "type": "string"
+ },
+ "totals": {
+ "description": "The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "warnings": {
+ "description": "Any warnings associated with generation of the report.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ReportingMetadataEntry": {
+ "id": "ReportingMetadataEntry",
+ "properties": {
+ "compatibleDimensions": {
+ "description": "For metrics this is a list of dimension IDs which the metric is compatible with, for dimensions it is a list of compatibility groups the dimension belongs to.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "compatibleMetrics": {
+ "description": "The names of the metrics the dimension or metric this reporting metadata entry describes is compatible with.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "id": {
+ "description": "Unique identifier of this reporting metadata entry, corresponding to the name of the appropriate dimension or metric.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "adexchangeseller#reportingMetadataEntry",
+ "description": "Kind of resource this is, in this case adexchangeseller#reportingMetadataEntry.",
+ "type": "string"
+ },
+ "requiredDimensions": {
+ "description": "The names of the dimensions which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "requiredMetrics": {
+ "description": "The names of the metrics which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "supportedProducts": {
+ "description": "The codes of the projects supported by the dimension or metric this reporting metadata entry describes.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SavedReport": {
+ "id": "SavedReport",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of this saved report.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "adexchangeseller#savedReport",
+ "description": "Kind of resource this is, in this case adexchangeseller#savedReport.",
+ "type": "string"
+ },
+ "name": {
+ "description": "This saved report's name.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SavedReports": {
+ "id": "SavedReports",
+ "properties": {
+ "etag": {
+ "description": "ETag of this response for caching purposes.",
+ "type": "string"
+ },
+ "items": {
+ "description": "The saved reports returned in this list response.",
+ "items": {
+ "$ref": "SavedReport"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "adexchangeseller#savedReports",
+ "description": "Kind of list this is, in this case adexchangeseller#savedReports.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "Continuation token used to page through saved reports. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UrlChannel": {
+ "id": "UrlChannel",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "adexchangeseller#urlChannel",
+ "description": "Kind of resource this is, in this case adexchangeseller#urlChannel.",
+ "type": "string"
+ },
+ "urlPattern": {
+ "description": "URL Pattern of this URL channel. Does not include \"http://\" or \"https://\". Example: www.example.com/home",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UrlChannels": {
+ "id": "UrlChannels",
+ "properties": {
+ "etag": {
+ "description": "ETag of this response for caching purposes.",
+ "type": "string"
+ },
+ "items": {
+ "description": "The URL channels returned in this list response.",
+ "items": {
+ "$ref": "UrlChannel"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "adexchangeseller#urlChannels",
+ "description": "Kind of list this is, in this case adexchangeseller#urlChannels.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "adexchangeseller/v2.0/",
+ "title": "Ad Exchange Seller API",
+ "version": "v2.0"
+}
\ No newline at end of file
diff --git a/discovery/googleapis/adsense__v1.4.json b/discovery/googleapis/adsense__v1.4.json
index ec4f0a6..cab141e 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/21ZlLWjjym4MBeOUj_1PdKmd4yc\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/7hGt4enuzSgFCqOVMtdtiCxxsCM\"",
"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": "20140921",
+ "revision": "20140924",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/discovery/googleapis/adsensehost__v4.1.json b/discovery/googleapis/adsensehost__v4.1.json
index 328d61d..813961b 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/w_BZT9vnsySgZ6dEU-tvcfoerto\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/fbUSXoAT0yuhDvIo3-OJRV1mMnU\"",
"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": "20140921",
+ "revision": "20140924",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/discovery/googleapis/appstate__v1.json b/discovery/googleapis/appstate__v1.json
index 73ddc54..7d483c7 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/HUrCO3I6MchQv8ct1rfLE-lXhNs\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/Fjk669jdRgq4povFjDrtYWYh2AM\"",
"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": "20140909",
+ "revision": "20140918",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"GetResponse": {
diff --git a/discovery/googleapis/calendar__v3.json b/discovery/googleapis/calendar__v3.json
index cd3e25f..48d3d23 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/vWqMsHvvvKs-y7bO-cWrAXLs9SU\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/1bNdTf1HZZJP00wxpVt8ADRg0P0\"",
"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": "20140914",
+ "revision": "20140917",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Acl": {
diff --git a/discovery/googleapis/civicinfo__us_v1.json b/discovery/googleapis/civicinfo__us_v1.json
index 829c102..5136d54 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/xUdHq4Z75BUD9ZtUhNKiCTTAQpg\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/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"
@@ -162,7 +162,7 @@
}
}
},
- "revision": "20140918",
+ "revision": "20140814",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AdministrationRegion": {
@@ -843,6 +843,9 @@
},
"type": "array"
},
+ "precinctId": {
+ "type": "string"
+ },
"state": {
"description": "Local Election Information for the state that the voter votes in. For the US, there will only be one element in this array.",
"items": {
diff --git a/discovery/googleapis/civicinfo__v1.json b/discovery/googleapis/civicinfo__v1.json
index c51d4c3..282d48f 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/E48KE0Nyeq0wTXpsQ1wBH_VLmVc\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/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"
@@ -162,7 +162,7 @@
}
}
},
- "revision": "20140918",
+ "revision": "20140814",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AdministrationRegion": {
@@ -843,6 +843,9 @@
},
"type": "array"
},
+ "precinctId": {
+ "type": "string"
+ },
"state": {
"description": "Local Election Information for the state that the voter votes in. For the US, there will only be one element in this array.",
"items": {
diff --git a/discovery/googleapis/civicinfo__v2.json b/discovery/googleapis/civicinfo__v2.json
new file mode 100644
index 0000000..83f9d61
--- /dev/null
+++ b/discovery/googleapis/civicinfo__v2.json
@@ -0,0 +1,1023 @@
+{
+ "basePath": "/civicinfo/v2/",
+ "baseUrl": "https://www.googleapis.com/civicinfo/v2/",
+ "batchPath": "batch",
+ "canonicalName": "Civic Info",
+ "description": "An API for accessing civic information.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://developers.google.com/civic-information",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/YV4QnTSNnV4r4LSJ23wzwsBf0U0\"",
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "civicinfo:v2",
+ "kind": "discovery#restDescription",
+ "name": "civicinfo",
+ "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": {
+ "divisions": {
+ "methods": {
+ "search": {
+ "description": "Searches for political divisions by their natural name or OCD ID.",
+ "httpMethod": "GET",
+ "id": "civicinfo.divisions.search",
+ "parameters": {
+ "query": {
+ "description": "The search query. Queries can cover any parts of a OCD ID or a human readable division name. All words given in the query are treated as required patterns. In addition to that, most query operators of the Apache Lucene library are supported. See http://lucene.apache.org/core/2_9_4/queryparsersyntax.html",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "divisions",
+ "response": {
+ "$ref": "DivisionSearchResponse"
+ }
+ }
+ }
+ },
+ "elections": {
+ "methods": {
+ "electionQuery": {
+ "description": "List of available elections to query.",
+ "httpMethod": "GET",
+ "id": "civicinfo.elections.electionQuery",
+ "path": "elections",
+ "response": {
+ "$ref": "ElectionsQueryResponse"
+ }
+ },
+ "voterInfoQuery": {
+ "description": "Looks up information relevant to a voter based on the voter's registered address.",
+ "httpMethod": "GET",
+ "id": "civicinfo.elections.voterInfoQuery",
+ "parameterOrder": [
+ "address"
+ ],
+ "parameters": {
+ "address": {
+ "description": "The registered address of the voter to look up.",
+ "location": "query",
+ "required": true,
+ "type": "string"
+ },
+ "electionId": {
+ "default": "0",
+ "description": "The unique ID of the election to look up. A list of election IDs can be obtained at https://www.googleapis.com/civicinfo/{version}/elections",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "officialOnly": {
+ "default": "false",
+ "description": "If set to true, only data from official state sources will be returned.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "voterinfo",
+ "response": {
+ "$ref": "VoterInfoResponse"
+ }
+ }
+ }
+ },
+ "representatives": {
+ "methods": {
+ "representativeInfoByAddress": {
+ "description": "Looks up political geography and representative information for a single address.",
+ "httpMethod": "GET",
+ "id": "civicinfo.representatives.representativeInfoByAddress",
+ "parameters": {
+ "address": {
+ "description": "The address to look up. May only be specified if the field ocdId is not given in the URL.",
+ "location": "query",
+ "type": "string"
+ },
+ "includeOffices": {
+ "default": "true",
+ "description": "Whether to return information about offices and officials. If false, only the top-level district information will be returned.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "levels": {
+ "description": "A list of office levels to filter by. Only offices that serve at least one of these levels will be returned. Divisions that don't contain a matching office will not be returned.",
+ "enum": [
+ "administrativeArea1",
+ "administrativeArea2",
+ "country",
+ "international",
+ "locality",
+ "regional",
+ "special",
+ "subLocality1",
+ "subLocality2"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "roles": {
+ "description": "A list of office roles to filter by. Only offices fulfilling one of these roles will be returned. Divisions that don't contain a matching office will not be returned.",
+ "enum": [
+ "deputyHeadOfGovernment",
+ "executiveCouncil",
+ "governmentOfficer",
+ "headOfGovernment",
+ "headOfState",
+ "highestCourtJudge",
+ "judge",
+ "legislatorLowerBody",
+ "legislatorUpperBody",
+ "schoolBoard",
+ "specialPurposeOfficer"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ }
+ },
+ "path": "representatives",
+ "response": {
+ "$ref": "RepresentativeInfoResponse"
+ }
+ },
+ "representativeInfoByDivision": {
+ "description": "Looks up representative information for a single geographic division.",
+ "httpMethod": "GET",
+ "id": "civicinfo.representatives.representativeInfoByDivision",
+ "parameterOrder": [
+ "ocdId"
+ ],
+ "parameters": {
+ "levels": {
+ "description": "A list of office levels to filter by. Only offices that serve at least one of these levels will be returned. Divisions that don't contain a matching office will not be returned.",
+ "enum": [
+ "administrativeArea1",
+ "administrativeArea2",
+ "country",
+ "international",
+ "locality",
+ "regional",
+ "special",
+ "subLocality1",
+ "subLocality2"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "ocdId": {
+ "description": "The Open Civic Data division identifier of the division to look up.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "recursive": {
+ "description": "If true, information about all divisions contained in the division requested will be included as well. For example, if querying ocd-division/country:us/district:dc, this would also return all DC's wards and ANCs.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "roles": {
+ "description": "A list of office roles to filter by. Only offices fulfilling one of these roles will be returned. Divisions that don't contain a matching office will not be returned.",
+ "enum": [
+ "deputyHeadOfGovernment",
+ "executiveCouncil",
+ "governmentOfficer",
+ "headOfGovernment",
+ "headOfState",
+ "highestCourtJudge",
+ "judge",
+ "legislatorLowerBody",
+ "legislatorUpperBody",
+ "schoolBoard",
+ "specialPurposeOfficer"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ }
+ },
+ "path": "representatives/{ocdId}",
+ "response": {
+ "$ref": "RepresentativeInfoData"
+ }
+ }
+ }
+ }
+ },
+ "revision": "20140814",
+ "rootUrl": "https://www.googleapis.com/",
+ "schemas": {
+ "AdministrationRegion": {
+ "description": "Describes information about a regional election administrative area.",
+ "id": "AdministrationRegion",
+ "properties": {
+ "electionAdministrationBody": {
+ "$ref": "AdministrativeBody",
+ "description": "The election administration body for this area."
+ },
+ "id": {
+ "description": "An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page.",
+ "type": "string"
+ },
+ "local_jurisdiction": {
+ "$ref": "AdministrationRegion",
+ "description": "The city or county that provides election information for this voter. This object can have the same elements as state."
+ },
+ "name": {
+ "description": "The name of the jurisdiction.",
+ "type": "string"
+ },
+ "sources": {
+ "description": "A list of sources for this area. If multiple sources are listed the data has been aggregated from those sources.",
+ "items": {
+ "$ref": "Source"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "AdministrativeBody": {
+ "description": "Information about an election administrative body (e.g. County Board of Elections).",
+ "id": "AdministrativeBody",
+ "properties": {
+ "absenteeVotingInfoUrl": {
+ "description": "A URL provided by this administrative body for information on absentee voting.",
+ "type": "string"
+ },
+ "ballotInfoUrl": {
+ "description": "A URL provided by this administrative body to give contest information to the voter.",
+ "type": "string"
+ },
+ "correspondenceAddress": {
+ "$ref": "SimpleAddressType",
+ "description": "The mailing address of this administrative body."
+ },
+ "electionInfoUrl": {
+ "description": "A URL provided by this administrative body for looking up general election information.",
+ "type": "string"
+ },
+ "electionOfficials": {
+ "description": "The election officials for this election administrative body.",
+ "items": {
+ "$ref": "ElectionOfficial"
+ },
+ "type": "array"
+ },
+ "electionRegistrationConfirmationUrl": {
+ "description": "A URL provided by this administrative body for confirming that the voter is registered to vote.",
+ "type": "string"
+ },
+ "electionRegistrationUrl": {
+ "description": "A URL provided by this administrative body for looking up how to register to vote.",
+ "type": "string"
+ },
+ "electionRulesUrl": {
+ "description": "A URL provided by this administrative body describing election rules to the voter.",
+ "type": "string"
+ },
+ "hoursOfOperation": {
+ "description": "A description of the hours of operation for this administrative body.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of this election administrative body.",
+ "type": "string"
+ },
+ "physicalAddress": {
+ "$ref": "SimpleAddressType",
+ "description": "The physical address of this administrative body."
+ },
+ "voter_services": {
+ "description": "A description of the services this administrative body may provide.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "votingLocationFinderUrl": {
+ "description": "A URL provided by this administrative body for looking up where to vote.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Candidate": {
+ "description": "Information about a candidate running for elected office.",
+ "id": "Candidate",
+ "properties": {
+ "candidateUrl": {
+ "description": "The URL for the candidate's campaign web site.",
+ "type": "string"
+ },
+ "channels": {
+ "description": "A list of known (social) media channels for this candidate.",
+ "items": {
+ "$ref": "Channel"
+ },
+ "type": "array"
+ },
+ "email": {
+ "description": "The email address for the candidate's campaign.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The candidate's name.",
+ "type": "string"
+ },
+ "orderOnBallot": {
+ "description": "The order the candidate appears on the ballot for this contest.",
+ "format": "int64",
+ "type": "string"
+ },
+ "party": {
+ "description": "The full name of the party the candidate is a member of.",
+ "type": "string"
+ },
+ "phone": {
+ "description": "The voice phone number for the candidate's campaign office.",
+ "type": "string"
+ },
+ "photoUrl": {
+ "description": "A URL for a photo of the candidate.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Channel": {
+ "description": "A social media or web channel for a candidate.",
+ "id": "Channel",
+ "properties": {
+ "id": {
+ "description": "The unique public identifier for the candidate's channel.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of channel. The following is a list of types of channels, but is not exhaustive. More channel types may be added at a later time. One of: GooglePlus, YouTube, Facebook, Twitter",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Contest": {
+ "description": "Information about a contest that appears on a voter's ballot.",
+ "id": "Contest",
+ "properties": {
+ "ballotPlacement": {
+ "description": "A number specifying the position of this contest on the voter's ballot.",
+ "format": "int64",
+ "type": "string"
+ },
+ "candidates": {
+ "description": "The candidate choices for this contest.",
+ "items": {
+ "$ref": "Candidate"
+ },
+ "type": "array"
+ },
+ "district": {
+ "$ref": "ElectoralDistrict",
+ "description": "Information about the electoral district that this contest is in."
+ },
+ "electorateSpecifications": {
+ "description": "A description of any additional eligibility requirements for voting in this contest.",
+ "type": "string"
+ },
+ "id": {
+ "description": "An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page.",
+ "type": "string"
+ },
+ "level": {
+ "description": "The levels of government of the office for this contest. There may be more than one in cases where a jurisdiction effectively acts at two different levels of government; for example, the mayor of the District of Columbia acts at \"locality\" level, but also effectively at both \"administrative-area-2\" and \"administrative-area-1\".",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "numberElected": {
+ "description": "The number of candidates that will be elected to office in this contest.",
+ "format": "int64",
+ "type": "string"
+ },
+ "numberVotingFor": {
+ "description": "The number of candidates that a voter may vote for in this contest.",
+ "format": "int64",
+ "type": "string"
+ },
+ "office": {
+ "description": "The name of the office for this contest.",
+ "type": "string"
+ },
+ "primaryParty": {
+ "description": "If this is a partisan election, the name of the party it is for.",
+ "type": "string"
+ },
+ "referendumSubtitle": {
+ "description": "A brief description of the referendum. This field is only populated for contests of type 'Referendum'.",
+ "type": "string"
+ },
+ "referendumTitle": {
+ "description": "The title of the referendum (e.g. 'Proposition 42'). This field is only populated for contests of type 'Referendum'.",
+ "type": "string"
+ },
+ "referendumUrl": {
+ "description": "A link to the referendum. This field is only populated for contests of type 'Referendum'.",
+ "type": "string"
+ },
+ "roles": {
+ "description": "The roles which this office fulfills.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sources": {
+ "description": "A list of sources for this contest. If multiple sources are listed, the data has been aggregated from those sources.",
+ "items": {
+ "$ref": "Source"
+ },
+ "type": "array"
+ },
+ "special": {
+ "description": "\"Yes\" or \"No\" depending on whether this a contest being held outside the normal election cycle.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of contest. Usually this will be 'General', 'Primary', or 'Run-off' for contests with candidates. For referenda this will be 'Referendum'.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DivisionSearchResponse": {
+ "description": "The result of a division search query.",
+ "id": "DivisionSearchResponse",
+ "properties": {
+ "kind": {
+ "default": "civicinfo#divisionSearchResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#divisionSearchResponse\".",
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "$ref": "DivisionSearchResult"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "DivisionSearchResult": {
+ "description": "Represents a political geographic division that matches the requested query.",
+ "id": "DivisionSearchResult",
+ "properties": {
+ "aliases": {
+ "description": "Other Open Civic Data identifiers that refer to the same division -- for example, those that refer to other political divisions whose boundaries are defined to be coterminous with this one. For example, ocd-division/country:us/state:wy will include an alias of ocd-division/country:us/state:wy/cd:1, since Wyoming has only one Congressional district.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The name of the division.",
+ "type": "string"
+ },
+ "ocdId": {
+ "description": "The unique Open Civic Data identifier for this division.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Election": {
+ "description": "Information about the election that was queried.",
+ "id": "Election",
+ "properties": {
+ "electionDay": {
+ "description": "Day of the election in YYYY-MM-DD format.",
+ "type": "string"
+ },
+ "id": {
+ "description": "The unique ID of this election.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "A displayable name for the election.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ElectionOfficial": {
+ "description": "Information about individual election officials.",
+ "id": "ElectionOfficial",
+ "properties": {
+ "emailAddress": {
+ "description": "The email address of the election official.",
+ "type": "string"
+ },
+ "faxNumber": {
+ "description": "The fax number of the election official.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The full name of the election official.",
+ "type": "string"
+ },
+ "officePhoneNumber": {
+ "description": "The office phone number of the election official.",
+ "type": "string"
+ },
+ "title": {
+ "description": "The title of the election official.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ElectionsQueryResponse": {
+ "description": "The list of elections available for this version of the API.",
+ "id": "ElectionsQueryResponse",
+ "properties": {
+ "elections": {
+ "description": "A list of available elections",
+ "items": {
+ "$ref": "Election"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "civicinfo#electionsQueryResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#electionsQueryResponse\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ElectoralDistrict": {
+ "description": "Describes the geographic scope of a contest.",
+ "id": "ElectoralDistrict",
+ "properties": {
+ "id": {
+ "description": "An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id \"34\" and a scope of stateUpper.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the district.",
+ "type": "string"
+ },
+ "scope": {
+ "description": "The geographic scope of this district. If unspecified the district's geography is not known. One of: national, statewide, congressional, stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GeographicDivision": {
+ "description": "Describes a political geography.",
+ "id": "GeographicDivision",
+ "properties": {
+ "alsoKnownAs": {
+ "description": "Any other valid OCD IDs that refer to the same division.\n\nBecause OCD IDs are meant to be human-readable and at least somewhat predictable, there are occasionally several identifiers for a single division. These identifiers are defined to be equivalent to one another, and one is always indicated as the primary identifier. The primary identifier will be returned in ocd_id above, and any other equivalent valid identifiers will be returned in this list.\n\nFor example, if this division's OCD ID is ocd-division/country:us/district:dc, this will contain ocd-division/country:us/state:dc.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The name of the division.",
+ "type": "string"
+ },
+ "officeIndices": {
+ "description": "List of indices in the offices array, one for each office elected from this division. Will only be present if includeOffices was true (or absent) in the request.",
+ "items": {
+ "format": "uint32",
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Office": {
+ "description": "Information about an Office held by one or more Officials.",
+ "id": "Office",
+ "properties": {
+ "divisionId": {
+ "description": "The OCD ID of the division with which this office is associated.",
+ "type": "string"
+ },
+ "levels": {
+ "description": "The levels of government of which this office is part. There may be more than one in cases where a jurisdiction effectively acts at two different levels of government; for example, the mayor of the District of Columbia acts at \"locality\" level, but also effectively at both \"administrative-area-2\" and \"administrative-area-1\".",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The human-readable name of the office.",
+ "type": "string"
+ },
+ "officialIndices": {
+ "description": "List of indices in the officials array of people who presently hold this office.",
+ "items": {
+ "format": "uint32",
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "roles": {
+ "description": "The roles which this office fulfills. Roles are not meant to be exhaustive, or to exactly specify the entire set of responsibilities of a given office, but are meant to be rough categories that are useful for general selection from or sorting of a list of offices.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sources": {
+ "description": "A list of sources for this office. If multiple sources are listed, the data has been aggregated from those sources.",
+ "items": {
+ "$ref": "Source"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Official": {
+ "description": "Information about a person holding an elected office.",
+ "id": "Official",
+ "properties": {
+ "address": {
+ "description": "Addresses at which to contact the official.",
+ "items": {
+ "$ref": "SimpleAddressType"
+ },
+ "type": "array"
+ },
+ "channels": {
+ "description": "A list of known (social) media channels for this official.",
+ "items": {
+ "$ref": "Channel"
+ },
+ "type": "array"
+ },
+ "emails": {
+ "description": "The direct email addresses for the official.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The official's name.",
+ "type": "string"
+ },
+ "party": {
+ "description": "The full name of the party the official belongs to.",
+ "type": "string"
+ },
+ "phones": {
+ "description": "The official's public contact phone numbers.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "photoUrl": {
+ "description": "A URL for a photo of the official.",
+ "type": "string"
+ },
+ "urls": {
+ "description": "The official's public website URLs.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "PollingLocation": {
+ "description": "A location where a voter can vote. This may be an early vote site or an election day voting location.",
+ "id": "PollingLocation",
+ "properties": {
+ "address": {
+ "$ref": "SimpleAddressType",
+ "description": "The address of the location"
+ },
+ "endDate": {
+ "description": "The last date that this early vote site may be used. This field is not populated for polling locations.",
+ "type": "string"
+ },
+ "id": {
+ "description": "An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the early vote site. This field is not populated for polling locations.",
+ "type": "string"
+ },
+ "notes": {
+ "description": "Notes about this location (e.g. accessibility ramp or entrance to use)",
+ "type": "string"
+ },
+ "pollingHours": {
+ "description": "A description of when this location is open.",
+ "type": "string"
+ },
+ "sources": {
+ "description": "A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources.",
+ "items": {
+ "$ref": "Source"
+ },
+ "type": "array"
+ },
+ "startDate": {
+ "description": "The first date that this early vote site may be used. This field is not populated for polling locations.",
+ "type": "string"
+ },
+ "voterServices": {
+ "description": "The services provided by this early vote site. This field is not populated for polling locations.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RepresentativeInfoData": {
+ "id": "RepresentativeInfoData",
+ "properties": {
+ "divisions": {
+ "additionalProperties": {
+ "$ref": "GeographicDivision",
+ "description": "The unique Open Civic Data identifier for this division."
+ },
+ "description": "Political geographic divisions that contain the requested address.",
+ "type": "object"
+ },
+ "offices": {
+ "description": "Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request.",
+ "items": {
+ "$ref": "Office"
+ },
+ "type": "array"
+ },
+ "officials": {
+ "description": "Officials holding the offices listed above. Will only be present if includeOffices was true in the request.",
+ "items": {
+ "$ref": "Official"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "RepresentativeInfoResponse": {
+ "description": "The result of a representative info lookup query.",
+ "id": "RepresentativeInfoResponse",
+ "properties": {
+ "divisions": {
+ "additionalProperties": {
+ "$ref": "GeographicDivision",
+ "description": "The unique Open Civic Data identifier for this division."
+ },
+ "description": "Political geographic divisions that contain the requested address.",
+ "type": "object"
+ },
+ "kind": {
+ "default": "civicinfo#representativeInfoResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#representativeInfoResponse\".",
+ "type": "string"
+ },
+ "normalizedInput": {
+ "$ref": "SimpleAddressType",
+ "description": "The normalized version of the requested address"
+ },
+ "offices": {
+ "description": "Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request.",
+ "items": {
+ "$ref": "Office"
+ },
+ "type": "array"
+ },
+ "officials": {
+ "description": "Officials holding the offices listed above. Will only be present if includeOffices was true in the request.",
+ "items": {
+ "$ref": "Official"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SimpleAddressType": {
+ "description": "A simple representation of an address.",
+ "id": "SimpleAddressType",
+ "properties": {
+ "city": {
+ "description": "The city or town for the address.",
+ "type": "string"
+ },
+ "line1": {
+ "description": "The street name and number of this address.",
+ "type": "string"
+ },
+ "line2": {
+ "description": "The second line the address, if needed.",
+ "type": "string"
+ },
+ "line3": {
+ "description": "The third line of the address, if needed.",
+ "type": "string"
+ },
+ "locationName": {
+ "description": "The name of the location.",
+ "type": "string"
+ },
+ "state": {
+ "description": "The US two letter state abbreviation of the address.",
+ "type": "string"
+ },
+ "zip": {
+ "description": "The US Postal Zip Code of the address.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Source": {
+ "description": "Contains information about the data source for the element containing it.",
+ "id": "Source",
+ "properties": {
+ "name": {
+ "description": "The name of the data source.",
+ "type": "string"
+ },
+ "official": {
+ "description": "Whether this data comes from an official government source.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "VoterInfoResponse": {
+ "description": "The result of a voter info lookup query.",
+ "id": "VoterInfoResponse",
+ "properties": {
+ "contests": {
+ "description": "Contests that will appear on the voter's ballot",
+ "items": {
+ "$ref": "Contest"
+ },
+ "type": "array"
+ },
+ "earlyVoteSites": {
+ "description": "Locations where the voter is eligible to vote early, prior to election day",
+ "items": {
+ "$ref": "PollingLocation"
+ },
+ "type": "array"
+ },
+ "election": {
+ "$ref": "Election",
+ "description": "The election that was queried."
+ },
+ "kind": {
+ "default": "civicinfo#voterInfoResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#voterInfoResponse\".",
+ "type": "string"
+ },
+ "normalizedInput": {
+ "$ref": "SimpleAddressType",
+ "description": "The normalized version of the requested address"
+ },
+ "otherElections": {
+ "description": "If no election ID was specified in the query, and there was more than one election with data for the given voter, this will contain information about the other elections that could apply.",
+ "items": {
+ "$ref": "Election"
+ },
+ "type": "array"
+ },
+ "pollingLocations": {
+ "description": "Locations where the voter is eligible to vote on election day. For states with mail-in voting only, these locations will be nearby drop box locations. Drop box locations are free to the voter and may be used instead of placing the ballot in the mail.",
+ "items": {
+ "$ref": "PollingLocation"
+ },
+ "type": "array"
+ },
+ "precinctId": {
+ "type": "string"
+ },
+ "state": {
+ "description": "Local Election Information for the state that the voter votes in. For the US, there will only be one element in this array.",
+ "items": {
+ "$ref": "AdministrationRegion"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "civicinfo/v2/",
+ "title": "Google Civic Information API",
+ "version": "v2"
+}
\ No newline at end of file
diff --git a/discovery/googleapis/drive__v2.json b/discovery/googleapis/drive__v2.json
index 2cd0c09..e01a66a 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/-2NkK8k7_hT4MS2pNsIOEUlM2A0\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/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"
@@ -2429,7 +2429,7 @@
}
}
},
- "revision": "20140916",
+ "revision": "20140923",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
diff --git a/discovery/googleapis/gamesManagement__v1management.json b/discovery/googleapis/gamesManagement__v1management.json
index af9efba..952ddd5 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/IluT4nOQ5Y-TIa9GQcTCsb_yD1Y\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/SnsF096M9PHKlmCnRlQrCODnADg\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -397,7 +397,7 @@
}
}
},
- "revision": "20140905",
+ "revision": "20140918",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AchievementResetAllResponse": {
diff --git a/discovery/googleapis/games__v1.json b/discovery/googleapis/games__v1.json
index d27f753..1462555 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/EQ0bR5eQIuMQqKzDSyOJahEWsT4\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/xvi2uGQDV15HRXwhaUx6I3l2kvA\"",
"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": "20140905",
+ "revision": "20140918",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AchievementDefinition": {
diff --git a/discovery/googleapis/mapsengine__v1.json b/discovery/googleapis/mapsengine__v1.json
index 32d010b..a1f86ac 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/KLvHOFhlqcmmjqmNE4lM_SMZ6_s\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/wZALwcICZ62rQ5Pq5ko5Y5JiNrc\"",
"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": "20140919",
+ "revision": "20140924",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AcquisitionTime": {
diff --git a/discovery/googleapis/plusDomains__v1.json b/discovery/googleapis/plusDomains__v1.json
index 86febb9..10fa0ac 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/nat8N8_mZgm3flr-9YPb5O94lNs\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/sf2cjUC4FubyalOKNDeYv0A28c4\"",
"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": "20140921",
+ "revision": "20140924",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Acl": {
diff --git a/discovery/googleapis/plus__v1.json b/discovery/googleapis/plus__v1.json
index fd6d090..63743e1 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/geZLVEz_ep13WYm9tir6SMI9D5Y\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/In8TLBzJwB5MFUSo8MXucRvJtEE\"",
"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": "20140921",
+ "revision": "20140924",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Acl": {
diff --git a/discovery/googleapis/webmasters__v3.json b/discovery/googleapis/webmasters__v3.json
new file mode 100644
index 0000000..9899d00
--- /dev/null
+++ b/discovery/googleapis/webmasters__v3.json
@@ -0,0 +1,806 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/webmasters": {
+ "description": "View and modify Webmaster Tools data for your verified sites"
+ },
+ "https://www.googleapis.com/auth/webmasters.readonly": {
+ "description": "View Webmaster Tools data for your verified sites"
+ }
+ }
+ }
+ },
+ "basePath": "/webmasters/v3/",
+ "baseUrl": "https://www.googleapis.com/webmasters/v3/",
+ "batchPath": "batch",
+ "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\"",
+ "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"
+ },
+ "id": "webmasters:v3",
+ "kind": "discovery#restDescription",
+ "name": "webmasters",
+ "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": {
+ "sitemaps": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a sitemap from this site.",
+ "httpMethod": "DELETE",
+ "id": "webmasters.sitemaps.delete",
+ "parameterOrder": [
+ "siteUrl",
+ "feedpath"
+ ],
+ "parameters": {
+ "feedpath": {
+ "description": "The URL of the actual sitemap (for example http://www.example.com/sitemap.xml).",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "siteUrl": {
+ "description": "The site's URL, including protocol, for example 'http://www.example.com/'",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "sites/{siteUrl}/sitemaps/{feedpath}",
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters"
+ ]
+ },
+ "get": {
+ "description": "Retrieves information about a specific sitemap.",
+ "httpMethod": "GET",
+ "id": "webmasters.sitemaps.get",
+ "parameterOrder": [
+ "siteUrl",
+ "feedpath"
+ ],
+ "parameters": {
+ "feedpath": {
+ "description": "The URL of the actual sitemap (for example http://www.example.com/sitemap.xml).",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "siteUrl": {
+ "description": "The site's URL, including protocol, for example 'http://www.example.com/'",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "sites/{siteUrl}/sitemaps/{feedpath}",
+ "response": {
+ "$ref": "WmxSitemap"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters",
+ "https://www.googleapis.com/auth/webmasters.readonly"
+ ]
+ },
+ "list": {
+ "description": "Lists sitemaps uploaded to the site.",
+ "httpMethod": "GET",
+ "id": "webmasters.sitemaps.list",
+ "parameterOrder": [
+ "siteUrl"
+ ],
+ "parameters": {
+ "siteUrl": {
+ "description": "The site's URL, including protocol, for example 'http://www.example.com/'",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "sitemapIndex": {
+ "description": "A URL of a site's sitemap index.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "sites/{siteUrl}/sitemaps",
+ "response": {
+ "$ref": "SitemapsListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters",
+ "https://www.googleapis.com/auth/webmasters.readonly"
+ ]
+ },
+ "submit": {
+ "description": "Submits a sitemap for a site.",
+ "httpMethod": "PUT",
+ "id": "webmasters.sitemaps.submit",
+ "parameterOrder": [
+ "siteUrl",
+ "feedpath"
+ ],
+ "parameters": {
+ "feedpath": {
+ "description": "The URL of the sitemap to add.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "siteUrl": {
+ "description": "The site's URL, including protocol, for example 'http://www.example.com/'",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "sites/{siteUrl}/sitemaps/{feedpath}",
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters"
+ ]
+ }
+ }
+ },
+ "sites": {
+ "methods": {
+ "add": {
+ "description": "Adds a site to the set of the user's sites in Webmaster Tools.",
+ "httpMethod": "PUT",
+ "id": "webmasters.sites.add",
+ "parameterOrder": [
+ "siteUrl"
+ ],
+ "parameters": {
+ "siteUrl": {
+ "description": "The URL of the site to add.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "sites/{siteUrl}",
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters"
+ ]
+ },
+ "delete": {
+ "description": "Removes a site from the set of the user's Webmaster Tools sites.",
+ "httpMethod": "DELETE",
+ "id": "webmasters.sites.delete",
+ "parameterOrder": [
+ "siteUrl"
+ ],
+ "parameters": {
+ "siteUrl": {
+ "description": "The site's URL, including protocol, for example 'http://www.example.com/'",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "sites/{siteUrl}",
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters"
+ ]
+ },
+ "get": {
+ "description": "Retrieves information about specific site.",
+ "httpMethod": "GET",
+ "id": "webmasters.sites.get",
+ "parameterOrder": [
+ "siteUrl"
+ ],
+ "parameters": {
+ "siteUrl": {
+ "description": "The site's URL, including protocol, for example 'http://www.example.com/'",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "sites/{siteUrl}",
+ "response": {
+ "$ref": "WmxSite"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters",
+ "https://www.googleapis.com/auth/webmasters.readonly"
+ ]
+ },
+ "list": {
+ "description": "Lists your Webmaster Tools sites.",
+ "httpMethod": "GET",
+ "id": "webmasters.sites.list",
+ "path": "sites",
+ "response": {
+ "$ref": "SitesListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters",
+ "https://www.googleapis.com/auth/webmasters.readonly"
+ ]
+ }
+ }
+ },
+ "urlcrawlerrorscounts": {
+ "methods": {
+ "query": {
+ "description": "Retrieves a time series of the number of URL crawl errors per error category and platform.",
+ "httpMethod": "GET",
+ "id": "webmasters.urlcrawlerrorscounts.query",
+ "parameterOrder": [
+ "siteUrl"
+ ],
+ "parameters": {
+ "category": {
+ "description": "The crawl error category, for example 'serverError'. If not specified, we return results for all categories.",
+ "enum": [
+ "authPermissions",
+ "manyToOneRedirect",
+ "notFollowed",
+ "notFound",
+ "other",
+ "roboted",
+ "serverError",
+ "soft404"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "latestCountsOnly": {
+ "default": "true",
+ "description": "If true, returns only the latest crawl error counts.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "platform": {
+ "description": "The user agent type (platform) that made the request, for example 'web'. If not specified, we return results for all platforms.",
+ "enum": [
+ "mobile",
+ "smartphoneOnly",
+ "web"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "siteUrl": {
+ "description": "The site's URL, including protocol, for example 'http://www.example.com/'",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "sites/{siteUrl}/urlCrawlErrorsCounts/query",
+ "response": {
+ "$ref": "UrlCrawlErrorsCountsQueryResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters",
+ "https://www.googleapis.com/auth/webmasters.readonly"
+ ]
+ }
+ }
+ },
+ "urlcrawlerrorssamples": {
+ "methods": {
+ "get": {
+ "description": "Retrieves details about crawl errors for a site's sample URL.",
+ "httpMethod": "GET",
+ "id": "webmasters.urlcrawlerrorssamples.get",
+ "parameterOrder": [
+ "siteUrl",
+ "url",
+ "category",
+ "platform"
+ ],
+ "parameters": {
+ "category": {
+ "description": "The crawl error category, for example 'authPermissions'",
+ "enum": [
+ "authPermissions",
+ "manyToOneRedirect",
+ "notFollowed",
+ "notFound",
+ "other",
+ "roboted",
+ "serverError",
+ "soft404"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "required": true,
+ "type": "string"
+ },
+ "platform": {
+ "description": "The user agent type (platform) that made the request, for example 'web'",
+ "enum": [
+ "mobile",
+ "smartphoneOnly",
+ "web"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "required": true,
+ "type": "string"
+ },
+ "siteUrl": {
+ "description": "The site's URL, including protocol, for example 'http://www.example.com/'",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "url": {
+ "description": "The relative path (without the site) of the sample URL; must be one of the URLs returned by list",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "sites/{siteUrl}/urlCrawlErrorsSamples/{url}",
+ "response": {
+ "$ref": "UrlCrawlErrorsSample"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters",
+ "https://www.googleapis.com/auth/webmasters.readonly"
+ ]
+ },
+ "list": {
+ "description": "Lists a site's sample URLs for the specified crawl error category and platform.",
+ "httpMethod": "GET",
+ "id": "webmasters.urlcrawlerrorssamples.list",
+ "parameterOrder": [
+ "siteUrl",
+ "category",
+ "platform"
+ ],
+ "parameters": {
+ "category": {
+ "description": "The crawl error category, for example 'authPermissions'",
+ "enum": [
+ "authPermissions",
+ "manyToOneRedirect",
+ "notFollowed",
+ "notFound",
+ "other",
+ "roboted",
+ "serverError",
+ "soft404"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "required": true,
+ "type": "string"
+ },
+ "platform": {
+ "description": "The user agent type (platform) that made the request, for example 'web'",
+ "enum": [
+ "mobile",
+ "smartphoneOnly",
+ "web"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "required": true,
+ "type": "string"
+ },
+ "siteUrl": {
+ "description": "The site's URL, including protocol, for example 'http://www.example.com/'",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "sites/{siteUrl}/urlCrawlErrorsSamples",
+ "response": {
+ "$ref": "UrlCrawlErrorsSamplesListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters",
+ "https://www.googleapis.com/auth/webmasters.readonly"
+ ]
+ },
+ "markAsFixed": {
+ "description": "Marks the provided site's sample URL as fixed, and removes it from the samples list.",
+ "httpMethod": "DELETE",
+ "id": "webmasters.urlcrawlerrorssamples.markAsFixed",
+ "parameterOrder": [
+ "siteUrl",
+ "url",
+ "category",
+ "platform"
+ ],
+ "parameters": {
+ "category": {
+ "description": "The crawl error category, for example 'authPermissions'",
+ "enum": [
+ "authPermissions",
+ "manyToOneRedirect",
+ "notFollowed",
+ "notFound",
+ "other",
+ "roboted",
+ "serverError",
+ "soft404"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "required": true,
+ "type": "string"
+ },
+ "platform": {
+ "description": "The user agent type (platform) that made the request, for example 'web'",
+ "enum": [
+ "mobile",
+ "smartphoneOnly",
+ "web"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "required": true,
+ "type": "string"
+ },
+ "siteUrl": {
+ "description": "The site's URL, including protocol, for example 'http://www.example.com/'",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "url": {
+ "description": "The relative path (without the site) of the sample URL; must be one of the URLs returned by list",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "sites/{siteUrl}/urlCrawlErrorsSamples/{url}",
+ "scopes": [
+ "https://www.googleapis.com/auth/webmasters"
+ ]
+ }
+ }
+ }
+ },
+ "revision": "20140908",
+ "rootUrl": "https://www.googleapis.com/",
+ "schemas": {
+ "SitemapsListResponse": {
+ "description": "List of sitemaps.",
+ "id": "SitemapsListResponse",
+ "properties": {
+ "sitemap": {
+ "description": "Information about a sitemap entry.",
+ "items": {
+ "$ref": "WmxSitemap"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SitesListResponse": {
+ "description": "List of sites with access level information.",
+ "id": "SitesListResponse",
+ "properties": {
+ "siteEntry": {
+ "description": "Access level information for a Webmaster Tools site.",
+ "items": {
+ "$ref": "WmxSite"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "UrlCrawlErrorCount": {
+ "description": "An entry in a URL crawl errors time series.",
+ "id": "UrlCrawlErrorCount",
+ "properties": {
+ "count": {
+ "description": "The error count at the given timestamp.",
+ "format": "int64",
+ "type": "string"
+ },
+ "timestamp": {
+ "description": "The time (well, date) when errors were detected, in RFC 3339 format.",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UrlCrawlErrorCountsPerType": {
+ "description": "Number of errors per day for a specific error type (defined by platform and category).",
+ "id": "UrlCrawlErrorCountsPerType",
+ "properties": {
+ "category": {
+ "description": "The crawl error type.",
+ "type": "string"
+ },
+ "entries": {
+ "description": "The error count entries time series.",
+ "items": {
+ "$ref": "UrlCrawlErrorCount"
+ },
+ "type": "array"
+ },
+ "platform": {
+ "description": "Corresponding to the user agent that made the request.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UrlCrawlErrorsCountsQueryResponse": {
+ "description": "A time series of the number of URL crawl errors per error category and platform.",
+ "id": "UrlCrawlErrorsCountsQueryResponse",
+ "properties": {
+ "countPerTypes": {
+ "description": "The time series of the number of URL crawl errors for per error category and platform.",
+ "items": {
+ "$ref": "UrlCrawlErrorCountsPerType"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "UrlCrawlErrorsSample": {
+ "id": "UrlCrawlErrorsSample",
+ "properties": {
+ "first_detected": {
+ "description": "The time the error was first detected, in RFC 3339 format.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "last_crawled": {
+ "description": "The time when the URL was last crawled, in RFC 3339 format.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "pageUrl": {
+ "description": "The URL of an error, relative to the site.",
+ "type": "string"
+ },
+ "responseCode": {
+ "description": "The HTTP response code, if any.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "urlDetails": {
+ "$ref": "UrlSampleDetails",
+ "description": "Additional details about the URL, set only when calling get()."
+ }
+ },
+ "type": "object"
+ },
+ "UrlCrawlErrorsSamplesListResponse": {
+ "description": "List of crawl error samples.",
+ "id": "UrlCrawlErrorsSamplesListResponse",
+ "properties": {
+ "urlCrawlErrorSample": {
+ "description": "Information about the sample URL and its crawl error.",
+ "items": {
+ "$ref": "UrlCrawlErrorsSample"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "UrlSampleDetails": {
+ "description": "Additional details about the URL, set only when calling get().",
+ "id": "UrlSampleDetails",
+ "properties": {
+ "containingSitemaps": {
+ "description": "List of sitemaps pointing at this URL.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "linkedFromUrls": {
+ "description": "A sample set of URLs linking to this URL.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "WmxSite": {
+ "description": "Access level information for a Webmaster Tools site.",
+ "id": "WmxSite",
+ "properties": {
+ "permissionLevel": {
+ "description": "The user's permission level for the site.",
+ "type": "string"
+ },
+ "siteUrl": {
+ "description": "The URL of the site.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "WmxSitemap": {
+ "id": "WmxSitemap",
+ "properties": {
+ "contents": {
+ "description": "The various content types in the sitemap.",
+ "items": {
+ "$ref": "WmxSitemapContent"
+ },
+ "type": "array"
+ },
+ "errors": {
+ "description": "Number of errors in the sitemap - issues with the sitemap itself, that needs to be fixed before it can be processed correctly.",
+ "format": "int64",
+ "type": "string"
+ },
+ "isPending": {
+ "description": "If true, the sitemap has not been processed.",
+ "type": "boolean"
+ },
+ "isSitemapsIndex": {
+ "description": "If true, the sitemap is a collection of sitemaps.",
+ "type": "boolean"
+ },
+ "lastDownloaded": {
+ "description": "Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-mm-dd).",
+ "format": "date-time",
+ "type": "string"
+ },
+ "lastSubmitted": {
+ "description": "Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-dd).",
+ "format": "date-time",
+ "type": "string"
+ },
+ "path": {
+ "description": "The url of the sitemap.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of the sitemap (for example \"sitemap\").",
+ "type": "string"
+ },
+ "warnings": {
+ "description": "Number of warnings for the sitemap - issues with URLs in the sitemaps.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "WmxSitemapContent": {
+ "description": "Information about the various content types in the sitemap.",
+ "id": "WmxSitemapContent",
+ "properties": {
+ "indexed": {
+ "description": "The number of URLs from the sitemap that were indexed (of the content type).",
+ "format": "int64",
+ "type": "string"
+ },
+ "submitted": {
+ "description": "The number of URLs in the sitemap (of the content type).",
+ "format": "int64",
+ "type": "string"
+ },
+ "type": {
+ "description": "The specific type of content in this sitemap (for example \"web\", \"images\").",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "webmasters/v3/",
+ "title": "Webmaster Tools API",
+ "version": "v3"
+}
\ No newline at end of file
diff --git a/discovery/googleapis/youtube__v3.json b/discovery/googleapis/youtube__v3.json
index f65e08f..9c59976 100644
--- a/discovery/googleapis/youtube__v3.json
+++ b/discovery/googleapis/youtube__v3.json
@@ -27,10 +27,10 @@
"description": "Programmatic access to YouTube features.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/youtube/v3",
- "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/3kbeo8dbfJy5lT2_hpLO-AsyQJ0\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/zEREGG39JVAwsC_sGxbLLJMqhV0\"",
"icons": {
- "x16": "http://www.google.com/images/icons/product/youtube-16.png",
- "x32": "http://www.google.com/images/icons/product/youtube-32.png"
+ "x16": "https://www.google.com/images/icons/product/youtube-16.png",
+ "x32": "https://www.google.com/images/icons/product/youtube-32.png"
},
"id": "youtube:v3",
"kind": "discovery#restDescription",
@@ -2315,7 +2315,7 @@
}
}
},
- "revision": "20140905",
+ "revision": "20140923",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AccessPolicy": {
@@ -3334,6 +3334,22 @@
"description": "If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity.",
"type": "boolean"
},
+ "longUploadsStatus": {
+ "description": "The long uploads status of this channel. See",
+ "enum": [
+ "allowed",
+ "disallowed",
+ "eligible",
+ "longUploadsUnspecified"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
"privacyStatus": {
"description": "Privacy status of the channel.",
"enum": [
@@ -5104,6 +5120,10 @@
"position": {
"$ref": "InvideoPosition",
"description": "The spatial position within the video where the promoted item will be displayed."
+ },
+ "useSmartTiming": {
+ "description": "Indicates whether the channel's promotional campaign uses \"smart timing.\" This feature attempts to show promotions at a point in the video when they are more likely to be clicked and less likely to disrupt the viewing experience. This feature also picks up a single promotion to show on each video.",
+ "type": "boolean"
}
},
"type": "object"
@@ -5479,6 +5499,10 @@
"closedCaptionsIngestionUrl": {
"description": "The ingestion URL where the closed captions of this stream are sent.",
"type": "string"
+ },
+ "isReusable": {
+ "description": "Indicates whether the stream is reusable, which means that it can be bound to multiple broadcasts. It is common for broadcasters to reuse the same stream for many different broadcasts if those broadcasts occur at different times.\n\nIf you set this value to false, then the stream will not be reusable, which means that it can only be bound to one broadcast. Non-reusable streams differ from reusable streams in the following ways: \n- A non-reusable stream can only be bound to one broadcast. \n- A non-reusable stream might be deleted by an automated process after the broadcast ends. \n- The liveStreams.list method does not list non-reusable streams if you call the method and set the mine parameter to true. The only way to use that method to retrieve the resource for a non-reusable stream is to use the id parameter to identify the stream.",
+ "type": "boolean"
}
},
"type": "object"
diff --git a/discovery/googleapis_beta/dns__v1beta1.json b/discovery/googleapis_beta/dns__v1beta1.json
index 4aca912..bcd90bd 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/vCiVqbmmplZsFYYO1peGBVgoOI0\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/8dmWjBwqXLQv5ILN4PEcDad3Jq8\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -428,7 +428,7 @@
}
}
},
- "revision": "20140612",
+ "revision": "20140922",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Change": {
diff --git a/discovery/googleapis_beta/genomics__v1beta.json b/discovery/googleapis_beta/genomics__v1beta.json
index 1321170..118781d 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/Z3uHhhm6ncEawcl8acPHr16tDuw\"",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/JbtSbt7h4k1-H-5yVc1lnMxsqb4\"",
"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.",
+ "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.",
"httpMethod": "POST",
"id": "genomics.variants.import",
"path": "variants/import",
@@ -926,6 +926,26 @@
"https://www.googleapis.com/auth/genomics.readonly"
]
},
+ "mergeVariants": {
+ "description": "Merges the given variants with existing variants. Each variant will be merged with an existing variant that matches its reference sequence, start, end, reference bases, and alternative bases. If no such variant exists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant is added to the existing variant, and other fields (such as key/value pairs) are discarded.",
+ "httpMethod": "POST",
+ "id": "genomics.variantsets.mergeVariants",
+ "parameterOrder": [
+ "variantSetId"
+ ],
+ "parameters": {
+ "variantSetId": {
+ "description": "The destination variant set.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "variantsets/{variantSetId}/mergeVariants",
+ "request": {
+ "$ref": "Variant"
+ }
+ },
"search": {
"description": "Returns a list of all variant sets matching search criteria.",
"httpMethod": "POST",
@@ -945,7 +965,7 @@
}
}
},
- "revision": "20140917",
+ "revision": "20140924",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Beacon": {
@@ -1088,7 +1108,7 @@
"type": "object"
},
"ExperimentalCreateJobRequest": {
- "description": "The job creation request.",
+ "description": "The job creation request. Next ID: 12",
"id": "ExperimentalCreateJobRequest",
"properties": {
"align": {
@@ -1103,6 +1123,10 @@
"description": "Specifies where to copy the results of certain pipelines. This should be in the form of gs://bucket/path.",
"type": "string"
},
+ "libraryName": {
+ "description": "For alignment from FASTQ files, this specifies the library name.",
+ "type": "string"
+ },
"pairedSourceUris": {
"description": "A list of Google Cloud Storage URIs of paired end .fastq files to operate upon. If specified, this represents the second file of each paired .fastq file. The first file of each pair should be specified in sourceUris.",
"items": {
@@ -1110,11 +1134,27 @@
},
"type": "array"
},
+ "platformName": {
+ "description": "For alignment from FASTQ files, this specifies the platform name.",
+ "type": "string"
+ },
+ "platformUnit": {
+ "description": "For alignment from FASTQ files, this specifies the platform unit.",
+ "type": "string"
+ },
"projectId": {
"description": "Required. The Google Cloud Project ID with which to associate the request.",
"format": "int64",
"type": "string"
},
+ "readGroupId": {
+ "description": "For alignment from FASTQ files, this specifies the read group ID.",
+ "type": "string"
+ },
+ "sampleName": {
+ "description": "For alignment from FASTQ files, this specifies the sample name.",
+ "type": "string"
+ },
"sourceUris": {
"description": "A list of Google Cloud Storage URIs of data files to operate upon. These can be .bam, interleaved .fastq, or paired .fastq. If specifying paired .fastq files, the first of each pair of files should be listed here, and the second of each pair should be listed in pairedSourceUris.",
"items": {
@@ -1145,7 +1185,7 @@
"type": "string"
},
"projectId": {
- "description": "The Google Developers Console project number that owns this export. This is the project that will be billed.",
+ "description": "The Google Developers Console project number that owns this export.",
"format": "int64",
"type": "string"
},
@@ -1182,11 +1222,11 @@
"id": "ExportVariantsRequest",
"properties": {
"bigqueryDataset": {
- "description": "The BigQuery dataset to export data to. Note that this is distinct from the Genomics concept of \"dataset\". The caller must have WRITE access to this BigQuery dataset.",
+ "description": "The BigQuery dataset to export data to. Note that this is distinct from the Genomics concept of \"dataset\".",
"type": "string"
},
"bigqueryTable": {
- "description": "The BigQuery table to export data to. The caller must have WRITE access to this BigQuery table.",
+ "description": "The BigQuery table to export data to. If the table doesn't exist, it will be created. If it already exists, it will be overwritten.",
"type": "string"
},
"callSetIds": {
@@ -1207,7 +1247,7 @@
"type": "string"
},
"projectId": {
- "description": "The Google Cloud project number that owns this export. This is the project that will be billed.",
+ "description": "The Google Cloud project number that owns the destination BigQuery dataset. The caller must have WRITE access to this project. This project will also own the resulting export job.",
"format": "int64",
"type": "string"
},
@@ -2187,6 +2227,13 @@
"format": "int64",
"type": "string"
},
+ "filter": {
+ "description": "A list of filters (normally quality filters) this variant has failed. PASS indicates this variant has passed all filters.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"id": {
"description": "The Google generated ID of the variant, immutable.",
"type": "string"
@@ -2209,6 +2256,11 @@
},
"type": "array"
},
+ "quality": {
+ "description": "A measure of how likely this variant is to be real. A higher value is better.",
+ "format": "double",
+ "type": "number"
+ },
"referenceBases": {
"description": "The reference bases for this variant. They start at the given position.",
"type": "string"
diff --git a/discovery/googleapis_beta/resourceviews__v1beta2.json b/discovery/googleapis_beta/resourceviews__v1beta2.json
new file mode 100644
index 0000000..652f23e
--- /dev/null
+++ b/discovery/googleapis_beta/resourceviews__v1beta2.json
@@ -0,0 +1,1044 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/cloud-platform": {
+ "description": "View and manage your data across Google Cloud Platform services"
+ },
+ "https://www.googleapis.com/auth/compute": {
+ "description": "View and manage your Google Compute Engine resources"
+ },
+ "https://www.googleapis.com/auth/compute.readonly": {
+ "description": "View your Google Compute Engine resources"
+ },
+ "https://www.googleapis.com/auth/ndev.cloudman": {
+ "description": "View and manage your Google Cloud Platform management resources and deployment status information"
+ },
+ "https://www.googleapis.com/auth/ndev.cloudman.readonly": {
+ "description": "View your Google Cloud Platform management resources and deployment status information"
+ }
+ }
+ }
+ },
+ "basePath": "/resourceviews/v1beta2/projects/",
+ "baseUrl": "https://www.googleapis.com/resourceviews/v1beta2/projects/",
+ "batchPath": "batch",
+ "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\"",
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "resourceviews:v1beta2",
+ "kind": "discovery#restDescription",
+ "labels": [
+ "limited_availability"
+ ],
+ "name": "resourceviews",
+ "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": {
+ "zoneOperations": {
+ "methods": {
+ "get": {
+ "description": "Retrieves the specified zone-specific operation resource.",
+ "httpMethod": "GET",
+ "id": "resourceviews.zoneOperations.get",
+ "parameterOrder": [
+ "project",
+ "zone",
+ "operation"
+ ],
+ "parameters": {
+ "operation": {
+ "description": "Name of the operation 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"
+ },
+ "zone": {
+ "description": "Name of the zone scoping this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/operations/{operation}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly",
+ "https://www.googleapis.com/auth/ndev.cloudman",
+ "https://www.googleapis.com/auth/ndev.cloudman.readonly"
+ ]
+ },
+ "list": {
+ "description": "Retrieves the list of operation resources contained within the specified zone.",
+ "httpMethod": "GET",
+ "id": "resourceviews.zoneOperations.list",
+ "parameterOrder": [
+ "project",
+ "zone"
+ ],
+ "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"
+ },
+ "zone": {
+ "description": "Name of the zone scoping this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/operations",
+ "response": {
+ "$ref": "OperationList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly",
+ "https://www.googleapis.com/auth/ndev.cloudman",
+ "https://www.googleapis.com/auth/ndev.cloudman.readonly"
+ ]
+ }
+ }
+ },
+ "zoneViews": {
+ "methods": {
+ "addResources": {
+ "description": "Add resources to the view.",
+ "httpMethod": "POST",
+ "id": "resourceviews.zoneViews.addResources",
+ "parameterOrder": [
+ "project",
+ "zone",
+ "resourceView"
+ ],
+ "parameters": {
+ "project": {
+ "description": "The project name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "resourceView": {
+ "description": "The name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "zone": {
+ "description": "The zone name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}/addResources",
+ "request": {
+ "$ref": "ZoneViewsAddResourcesRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/ndev.cloudman"
+ ]
+ },
+ "delete": {
+ "description": "Delete a resource view.",
+ "httpMethod": "DELETE",
+ "id": "resourceviews.zoneViews.delete",
+ "parameterOrder": [
+ "project",
+ "zone",
+ "resourceView"
+ ],
+ "parameters": {
+ "project": {
+ "description": "The project name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "resourceView": {
+ "description": "The name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "zone": {
+ "description": "The zone name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/ndev.cloudman"
+ ]
+ },
+ "get": {
+ "description": "Get the information of a zonal resource view.",
+ "httpMethod": "GET",
+ "id": "resourceviews.zoneViews.get",
+ "parameterOrder": [
+ "project",
+ "zone",
+ "resourceView"
+ ],
+ "parameters": {
+ "project": {
+ "description": "The project name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "resourceView": {
+ "description": "The name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "zone": {
+ "description": "The zone name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}",
+ "response": {
+ "$ref": "ResourceView"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly",
+ "https://www.googleapis.com/auth/ndev.cloudman",
+ "https://www.googleapis.com/auth/ndev.cloudman.readonly"
+ ]
+ },
+ "getService": {
+ "description": "Get the service information of a resource view or a resource.",
+ "httpMethod": "POST",
+ "id": "resourceviews.zoneViews.getService",
+ "parameterOrder": [
+ "project",
+ "zone",
+ "resourceView"
+ ],
+ "parameters": {
+ "project": {
+ "description": "The project name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "resourceName": {
+ "description": "The name of the resource if user wants to get the service information of the resource.",
+ "location": "query",
+ "type": "string"
+ },
+ "resourceView": {
+ "description": "The name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "zone": {
+ "description": "The zone name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}/getService",
+ "response": {
+ "$ref": "ZoneViewsGetServiceResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/ndev.cloudman"
+ ]
+ },
+ "insert": {
+ "description": "Create a resource view.",
+ "httpMethod": "POST",
+ "id": "resourceviews.zoneViews.insert",
+ "parameterOrder": [
+ "project",
+ "zone"
+ ],
+ "parameters": {
+ "project": {
+ "description": "The project name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "zone": {
+ "description": "The zone name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/resourceViews",
+ "request": {
+ "$ref": "ResourceView"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/ndev.cloudman"
+ ]
+ },
+ "list": {
+ "description": "List resource views.",
+ "httpMethod": "GET",
+ "id": "resourceviews.zoneViews.list",
+ "parameterOrder": [
+ "project",
+ "zone"
+ ],
+ "parameters": {
+ "maxResults": {
+ "default": "5000",
+ "description": "Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)",
+ "format": "int32",
+ "location": "query",
+ "maximum": "5000",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "The project name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "zone": {
+ "description": "The zone name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/resourceViews",
+ "response": {
+ "$ref": "ZoneViewsList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly",
+ "https://www.googleapis.com/auth/ndev.cloudman",
+ "https://www.googleapis.com/auth/ndev.cloudman.readonly"
+ ]
+ },
+ "listResources": {
+ "description": "List the resources of the resource view.",
+ "httpMethod": "GET",
+ "id": "resourceviews.zoneViews.listResources",
+ "parameterOrder": [
+ "project",
+ "zone",
+ "resourceView"
+ ],
+ "parameters": {
+ "format": {
+ "description": "The requested format of the return value. It can be URL or URL_PORT. A JSON object will be included in the response based on the format. The default format is NONE, which results in no JSON in the response.",
+ "enum": [
+ "NONE",
+ "URL",
+ "URL_PORT"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "listState": {
+ "default": "ALL",
+ "description": "The state of the instance to list. By default, it lists all instances.",
+ "enum": [
+ "ALL",
+ "RUNNING"
+ ],
+ "enumDescriptions": [
+ "",
+ ""
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "default": "5000",
+ "description": "Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)",
+ "format": "int32",
+ "location": "query",
+ "maximum": "5000",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "The project name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "resourceView": {
+ "description": "The name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "serviceName": {
+ "description": "The service name to return in the response. It is optional and if it is not set, all the service end points will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "zone": {
+ "description": "The zone name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}/resources",
+ "response": {
+ "$ref": "ZoneViewsListResourcesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly",
+ "https://www.googleapis.com/auth/ndev.cloudman",
+ "https://www.googleapis.com/auth/ndev.cloudman.readonly"
+ ]
+ },
+ "removeResources": {
+ "description": "Remove resources from the view.",
+ "httpMethod": "POST",
+ "id": "resourceviews.zoneViews.removeResources",
+ "parameterOrder": [
+ "project",
+ "zone",
+ "resourceView"
+ ],
+ "parameters": {
+ "project": {
+ "description": "The project name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "resourceView": {
+ "description": "The name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "zone": {
+ "description": "The zone name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}/removeResources",
+ "request": {
+ "$ref": "ZoneViewsRemoveResourcesRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/ndev.cloudman"
+ ]
+ },
+ "setService": {
+ "description": "Update the service information of a resource view or a resource.",
+ "httpMethod": "POST",
+ "id": "resourceviews.zoneViews.setService",
+ "parameterOrder": [
+ "project",
+ "zone",
+ "resourceView"
+ ],
+ "parameters": {
+ "project": {
+ "description": "The project name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "resourceView": {
+ "description": "The name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "zone": {
+ "description": "The zone name of the resource view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}/setService",
+ "request": {
+ "$ref": "ZoneViewsSetServiceRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/ndev.cloudman"
+ ]
+ }
+ }
+ }
+ },
+ "revision": "20140904",
+ "rootUrl": "https://www.googleapis.com/",
+ "schemas": {
+ "Label": {
+ "description": "The Label to be applied to the resource views.",
+ "id": "Label",
+ "properties": {
+ "key": {
+ "description": "Key of the label.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Value of the label.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListResourceResponseItem": {
+ "description": "The list response item that contains the resource and end points information.",
+ "id": "ListResourceResponseItem",
+ "properties": {
+ "endpoints": {
+ "additionalProperties": {
+ "description": "The name of the service end point.",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "description": "The list of service end points on the resource.",
+ "type": "object"
+ },
+ "resource": {
+ "description": "The full URL of the resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Operation": {
+ "description": "An operation resource, used to manage asynchronous API requests.",
+ "id": "Operation",
+ "properties": {
+ "clientOperationId": {
+ "description": "[Output only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.",
+ "type": "string"
+ },
+ "creationTimestamp": {
+ "description": "[Output Only] The time that this operation was requested, in RFC3339 text format.",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "[Output Only] The time that this operation was completed, in RFC3339 text format.",
+ "type": "string"
+ },
+ "error": {
+ "description": "[Output Only] If errors occurred during processing of this operation, this field will be populated.",
+ "properties": {
+ "errors": {
+ "description": "[Output Only] The array of errors encountered while processing this operation.",
+ "items": {
+ "properties": {
+ "code": {
+ "description": "[Output Only] The error type identifier for this error.",
+ "type": "string"
+ },
+ "location": {
+ "description": "[Output Only] Indicates the field in the request which caused the error. This property is optional.",
+ "type": "string"
+ },
+ "message": {
+ "description": "[Output Only] An optional, human-readable error message.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "httpErrorMessage": {
+ "description": "[Output only] If operation fails, the HTTP error message returned.",
+ "type": "string"
+ },
+ "httpErrorStatusCode": {
+ "description": "[Output only] If operation fails, the HTTP error status code returned.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "id": {
+ "description": "[Output Only] Unique identifier for the resource, generated by the server.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "insertTime": {
+ "description": "[Output Only] The time that this operation was requested, in RFC3339 text format.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "resourceviews#operation",
+ "description": "[Output only] Type of the resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "[Output Only] Name of the resource.",
+ "type": "string"
+ },
+ "operationType": {
+ "description": "[Output only] Type of the operation. Operations include insert, update, and delete.",
+ "type": "string"
+ },
+ "progress": {
+ "description": "[Output only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "region": {
+ "description": "[Output Only] URL of the region where the operation resides. Only available when performing regional operations.",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "[Output Only] Server-defined fully-qualified URL for this resource.",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "[Output Only] The time that this operation was started by the server, in RFC3339 text format.",
+ "type": "string"
+ },
+ "status": {
+ "description": "[Output Only] Status of the operation.",
+ "type": "string"
+ },
+ "statusMessage": {
+ "description": "[Output Only] An optional textual description of the current status of the operation.",
+ "type": "string"
+ },
+ "targetId": {
+ "description": "[Output Only] Unique target ID which identifies a particular incarnation of the target.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "targetLink": {
+ "description": "[Output only] URL of the resource the operation is mutating.",
+ "type": "string"
+ },
+ "user": {
+ "description": "[Output Only] User who requested the operation, for example: user@example.com.",
+ "type": "string"
+ },
+ "warnings": {
+ "description": "[Output Only] If there are issues with this operation, a warning is returned.",
+ "items": {
+ "properties": {
+ "code": {
+ "description": "[Output only] The warning type identifier for this warning.",
+ "type": "string"
+ },
+ "data": {
+ "description": "[Output only] Metadata for this warning in key:value format.",
+ "items": {
+ "properties": {
+ "key": {
+ "description": "[Output Only] Metadata key for this warning.",
+ "type": "string"
+ },
+ "value": {
+ "description": "[Output Only] Metadata value for this warning.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "[Output only] Optional human-readable details for this warning.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "zone": {
+ "description": "[Output Only] URL of the zone where the operation resides. Only available when performing per-zone operations.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OperationList": {
+ "id": "OperationList",
+ "properties": {
+ "id": {
+ "description": "Unique identifier for the resource; defined by the server (output only).",
+ "type": "string"
+ },
+ "items": {
+ "description": "The operation resources.",
+ "items": {
+ "$ref": "Operation"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "resourceviews#operationList",
+ "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"
+ },
+ "ResourceView": {
+ "description": "The resource view object.",
+ "id": "ResourceView",
+ "properties": {
+ "creationTimestamp": {
+ "description": "The creation time of the resource view.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The detailed description of the resource view.",
+ "type": "string"
+ },
+ "endpoints": {
+ "description": "Services endpoint information.",
+ "items": {
+ "$ref": "ServiceEndpoint"
+ },
+ "type": "array"
+ },
+ "fingerprint": {
+ "description": "The fingerprint of the service endpoint information.",
+ "type": "string"
+ },
+ "id": {
+ "description": "[Output Only] The ID of the resource view.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "resourceviews#resourceView",
+ "description": "Type of the resource.",
+ "type": "string"
+ },
+ "labels": {
+ "description": "The labels for events.",
+ "items": {
+ "$ref": "Label"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The name of the resource view.",
+ "type": "string"
+ },
+ "network": {
+ "description": "The URL of a Compute Engine network to which the resources in the view belong.",
+ "type": "string"
+ },
+ "resources": {
+ "description": "A list of all resources in the resource view.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "selfLink": {
+ "description": "[Output Only] A self-link to the resource view.",
+ "type": "string"
+ },
+ "size": {
+ "description": "The total number of resources in the resource view.",
+ "format": "uint32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "ServiceEndpoint": {
+ "description": "The service endpoint that may be started in a VM.",
+ "id": "ServiceEndpoint",
+ "properties": {
+ "name": {
+ "description": "The name of the service endpoint.",
+ "type": "string"
+ },
+ "port": {
+ "description": "The port of the service endpoint.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "ZoneViewsAddResourcesRequest": {
+ "description": "The request to add resources to the resource view.",
+ "id": "ZoneViewsAddResourcesRequest",
+ "properties": {
+ "resources": {
+ "description": "The list of resources to be added.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ZoneViewsGetServiceResponse": {
+ "id": "ZoneViewsGetServiceResponse",
+ "properties": {
+ "endpoints": {
+ "description": "The service information.",
+ "items": {
+ "$ref": "ServiceEndpoint"
+ },
+ "type": "array"
+ },
+ "fingerprint": {
+ "description": "The fingerprint of the service information.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ZoneViewsList": {
+ "description": "The response to a list request.",
+ "id": "ZoneViewsList",
+ "properties": {
+ "items": {
+ "description": "The result that contains all resource views that meet the criteria.",
+ "items": {
+ "$ref": "ResourceView"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "resourceviews#zoneViewsList",
+ "description": "Type of resource.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "A token used for pagination.",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "Server defined URL for this resource (output only).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ZoneViewsListResourcesResponse": {
+ "description": "The response to a list resource request.",
+ "id": "ZoneViewsListResourcesResponse",
+ "properties": {
+ "items": {
+ "description": "The formatted JSON that is requested by the user.",
+ "items": {
+ "$ref": "ListResourceResponseItem"
+ },
+ "type": "array"
+ },
+ "network": {
+ "description": "The URL of a Compute Engine network to which the resources in the view belong.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "A token used for pagination.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ZoneViewsRemoveResourcesRequest": {
+ "description": "The request to remove resources from the resource view.",
+ "id": "ZoneViewsRemoveResourcesRequest",
+ "properties": {
+ "resources": {
+ "description": "The list of resources to be removed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ZoneViewsSetServiceRequest": {
+ "id": "ZoneViewsSetServiceRequest",
+ "properties": {
+ "endpoints": {
+ "description": "The service information to be updated.",
+ "items": {
+ "$ref": "ServiceEndpoint"
+ },
+ "type": "array"
+ },
+ "fingerprint": {
+ "description": "Fingerprint of the service information; a hash of the contents. This field is used for optimistic locking when updating the service entries.",
+ "type": "string"
+ },
+ "resourceName": {
+ "description": "The name of the resource if user wants to update the service information of the resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "resourceviews/v1beta2/projects/",
+ "title": "Resource Views API",
+ "version": "v1beta2"
+}
\ No newline at end of file
diff --git a/generated/googleapis/CHANGELOG.md b/generated/googleapis/CHANGELOG.md
index 27f79f0..57f9bbc 100644
--- a/generated/googleapis/CHANGELOG.md
+++ b/generated/googleapis/CHANGELOG.md
@@ -1,3 +1,11 @@
+## 0.2.1
+
+* [apis-new] adexchangeseller:v2.0: API added
+* [apis-new] civicinfo:v2: API added
+* [apis-new] webmasters:v3: API added
+* [apis] civicinfo:v1: schema changes
+* [apis] youtube:v3: schema changes
+
## 0.2.0
* [apis] admin:directory: additional schemas/methods
@@ -7,6 +15,7 @@
* [apis] identitytoolkit:v3: schema changes
* [apis] mirror:v1: schema changes
* [apis-breaking] mapsengine:v1: major changes (additional schemas/methods)
+* [apis-breaking] prediction:v1.6: double -> String change
* [generator] Bugfix in resumable media uploader.
* [generator] Bugfix json decoding optimization.
diff --git a/generated/googleapis/README.md b/generated/googleapis/README.md
index 0cce6f6..14296c7 100644
--- a/generated/googleapis/README.md
+++ b/generated/googleapis/README.md
@@ -71,6 +71,12 @@
Official API documentation: https://developers.google.com/ad-exchange/seller-rest/
+####  Ad Exchange Seller API - adexchangeseller v2.0
+
+Gives Ad Exchange seller users access to their inventory and the ability to generate reports
+
+Official API documentation: https://developers.google.com/ad-exchange/seller-rest/
+
####  Admin Directory API - admin directory_v1
The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more.
@@ -161,6 +167,12 @@
Official API documentation: https://developers.google.com/civic-information
+####  Google Civic Information API - civicinfo v2
+
+An API for accessing civic information.
+
+Official API documentation: https://developers.google.com/civic-information
+
####  Compute Engine API - compute v1
API for the Google Compute Engine service.
@@ -365,7 +377,13 @@
Official API documentation: https://developers.google.com/fonts/docs/developer_api
-####  YouTube Data API - youtube v3
+####  Webmaster Tools API - webmasters v3
+
+Lets you view Google Webmaster Tools data for your verified sites.
+
+Official API documentation: https://developers.google.com/webmaster-tools/v3/welcome
+
+####  YouTube Data API - youtube v3
Programmatic access to YouTube features.
diff --git a/generated/googleapis/lib/adexchangeseller/v2_0.dart b/generated/googleapis/lib/adexchangeseller/v2_0.dart
new file mode 100644
index 0000000..d7fc92d
--- /dev/null
+++ b/generated/googleapis/lib/adexchangeseller/v2_0.dart
@@ -0,0 +1,2024 @@
+library googleapis.adexchangeseller.v2_0;
+
+import "dart:core" as core;
+import "dart:collection" as collection;
+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;
+
+/**
+ * Gives Ad Exchange seller users access to their inventory and the ability to
+ * generate reports
+ */
+class AdexchangesellerApi {
+ /** View and manage your Ad Exchange data */
+ static const AdexchangeSellerScope = "https://www.googleapis.com/auth/adexchange.seller";
+
+ /** View your Ad Exchange data */
+ static const AdexchangeSellerReadonlyScope = "https://www.googleapis.com/auth/adexchange.seller.readonly";
+
+
+ final common_internal.ApiRequester _requester;
+
+ AccountsResourceApi get accounts => new AccountsResourceApi(_requester);
+
+ AdexchangesellerApi(http.Client client) :
+ _requester = new common_internal.ApiRequester(client, "https://www.googleapis.com/", "adexchangeseller/v2.0/");
+}
+
+
+/** Not documented yet. */
+class AccountsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ AccountsAdclientsResourceApi get adclients => new AccountsAdclientsResourceApi(_requester);
+ AccountsAlertsResourceApi get alerts => new AccountsAlertsResourceApi(_requester);
+ AccountsCustomchannelsResourceApi get customchannels => new AccountsCustomchannelsResourceApi(_requester);
+ AccountsMetadataResourceApi get metadata => new AccountsMetadataResourceApi(_requester);
+ AccountsPreferreddealsResourceApi get preferreddeals => new AccountsPreferreddealsResourceApi(_requester);
+ AccountsReportsResourceApi get reports => new AccountsReportsResourceApi(_requester);
+ AccountsUrlchannelsResourceApi get urlchannels => new AccountsUrlchannelsResourceApi(_requester);
+
+ AccountsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Get information about the selected Ad Exchange account.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account to get information about. Tip: 'myaccount' is a valid
+ * ID.
+ *
+ * Completes with a [Account].
+ *
+ * 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<Account> get(core.String accountId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Account.fromJson(data));
+ }
+
+ /**
+ * List all accounts available to this Ad Exchange account.
+ *
+ * Request parameters:
+ *
+ * [maxResults] - The maximum number of accounts to include in the response,
+ * used for paging.
+ * Value must be between "0" and "10000".
+ *
+ * [pageToken] - A continuation token, used to page through accounts. To
+ * retrieve the next page, set this parameter to the value of "nextPageToken"
+ * from the previous response.
+ *
+ * Completes with a [Accounts].
+ *
+ * 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<Accounts> list({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 (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+
+ _url = 'accounts';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Accounts.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class AccountsAdclientsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ AccountsAdclientsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * List all ad clients in this Ad Exchange account.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account to which the ad client belongs.
+ *
+ * [maxResults] - The maximum number of ad clients to include in the response,
+ * used for paging.
+ * Value must be between "0" and "10000".
+ *
+ * [pageToken] - A continuation token, used to page through ad clients. To
+ * retrieve the next page, set this parameter to the value of "nextPageToken"
+ * from the previous response.
+ *
+ * Completes with a [AdClients].
+ *
+ * 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<AdClients> list(core.String accountId, {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 (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/adclients';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new AdClients.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class AccountsAlertsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ AccountsAlertsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * List the alerts for this Ad Exchange account.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account owning the alerts.
+ *
+ * [locale] - The locale to use for translating alert messages. The account
+ * locale will be used if this is not supplied. The AdSense default (English)
+ * will be used if the supplied locale is invalid or unsupported.
+ *
+ * Completes with a [Alerts].
+ *
+ * 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<Alerts> list(core.String accountId, {core.String locale}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+ if (locale != null) {
+ _queryParams["locale"] = [locale];
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/alerts';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Alerts.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class AccountsCustomchannelsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ AccountsCustomchannelsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Get the specified custom channel from the specified ad client.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account to which the ad client belongs.
+ *
+ * [adClientId] - Ad client which contains the custom channel.
+ *
+ * [customChannelId] - Custom channel to retrieve.
+ *
+ * Completes with a [CustomChannel].
+ *
+ * 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<CustomChannel> get(core.String accountId, core.String adClientId, core.String customChannelId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+ if (adClientId == null) {
+ throw new core.ArgumentError("Parameter adClientId is required.");
+ }
+ if (customChannelId == null) {
+ throw new core.ArgumentError("Parameter customChannelId is required.");
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/adclients/' + common_internal.Escaper.ecapeVariable('$adClientId') + '/customchannels/' + common_internal.Escaper.ecapeVariable('$customChannelId');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new CustomChannel.fromJson(data));
+ }
+
+ /**
+ * List all custom channels in the specified ad client for this Ad Exchange
+ * account.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account to which the ad client belongs.
+ *
+ * [adClientId] - Ad client for which to list custom channels.
+ *
+ * [maxResults] - The maximum number of custom channels to include in the
+ * response, used for paging.
+ * Value must be between "0" and "10000".
+ *
+ * [pageToken] - A continuation token, used to page through custom channels.
+ * To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ *
+ * Completes with a [CustomChannels].
+ *
+ * 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<CustomChannels> list(core.String accountId, core.String adClientId, {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 (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+ if (adClientId == null) {
+ throw new core.ArgumentError("Parameter adClientId is required.");
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/adclients/' + common_internal.Escaper.ecapeVariable('$adClientId') + '/customchannels';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new CustomChannels.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class AccountsMetadataResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ AccountsMetadataDimensionsResourceApi get dimensions => new AccountsMetadataDimensionsResourceApi(_requester);
+ AccountsMetadataMetricsResourceApi get metrics => new AccountsMetadataMetricsResourceApi(_requester);
+
+ AccountsMetadataResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+}
+
+
+/** Not documented yet. */
+class AccountsMetadataDimensionsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ AccountsMetadataDimensionsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * List the metadata for the dimensions available to this AdExchange account.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account with visibility to the dimensions.
+ *
+ * Completes with a [Metadata].
+ *
+ * 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<Metadata> list(core.String accountId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/metadata/dimensions';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Metadata.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class AccountsMetadataMetricsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ AccountsMetadataMetricsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * List the metadata for the metrics available to this AdExchange account.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account with visibility to the metrics.
+ *
+ * Completes with a [Metadata].
+ *
+ * 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<Metadata> list(core.String accountId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/metadata/metrics';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Metadata.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class AccountsPreferreddealsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ AccountsPreferreddealsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Get information about the selected Ad Exchange Preferred Deal.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account owning the deal.
+ *
+ * [dealId] - Preferred deal to get information about.
+ *
+ * Completes with a [PreferredDeal].
+ *
+ * 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<PreferredDeal> get(core.String accountId, core.String dealId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+ if (dealId == null) {
+ throw new core.ArgumentError("Parameter dealId is required.");
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/preferreddeals/' + common_internal.Escaper.ecapeVariable('$dealId');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new PreferredDeal.fromJson(data));
+ }
+
+ /**
+ * List the preferred deals for this Ad Exchange account.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account owning the deals.
+ *
+ * Completes with a [PreferredDeals].
+ *
+ * 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<PreferredDeals> list(core.String accountId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/preferreddeals';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new PreferredDeals.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class AccountsReportsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ AccountsReportsSavedResourceApi get saved => new AccountsReportsSavedResourceApi(_requester);
+
+ AccountsReportsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Generate an Ad Exchange report based on the report request sent in the
+ * query parameters. Returns the result as JSON; to retrieve output in CSV
+ * format specify "alt=csv" as a query parameter.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account which owns the generated report.
+ *
+ * [startDate] - Start of the date range to report on in "YYYY-MM-DD" format,
+ * inclusive.
+ * Value must have pattern
+ * "\d{4}-\d{2}-\d{2}|(today|startOfMonth|startOfYear)(([\-\+]\d+[dwmy]){0,3}?)".
+ *
+ * [endDate] - End of the date range to report on in "YYYY-MM-DD" format,
+ * inclusive.
+ * Value must have pattern
+ * "\d{4}-\d{2}-\d{2}|(today|startOfMonth|startOfYear)(([\-\+]\d+[dwmy]){0,3}?)".
+ *
+ * [dimension] - Dimensions to base the report on.
+ * Value must have pattern "[a-zA-Z_]+".
+ *
+ * [filter] - Filters to be run on the report.
+ * Value must have pattern "[a-zA-Z_]+(==|=@).+".
+ *
+ * [locale] - Optional locale to use for translating report output to a local
+ * language. Defaults to "en_US" if not specified.
+ * Value must have pattern "[a-zA-Z_]+".
+ *
+ * [maxResults] - The maximum number of rows of report data to return.
+ * Value must be between "0" and "50000".
+ *
+ * [metric] - Numeric columns to include in the report.
+ * Value must have pattern "[a-zA-Z_]+".
+ *
+ * [sort] - The name of a dimension or metric to sort the resulting report on,
+ * optionally prefixed with "+" to sort ascending or "-" to sort descending.
+ * If no prefix is specified, the column is sorted ascending.
+ * Value must have pattern "(\+|-)?[a-zA-Z_]+".
+ *
+ * [startIndex] - Index of the first row of report data to return.
+ * Value must be between "0" and "5000".
+ *
+ * [downloadOptions] - Options for downloading. A download can be either a
+ * Metadata (default) or Media download. Partial Media downloads are possible
+ * as well.
+ *
+ * Completes with a
+ *
+ * - [Report] for Metadata downloads (see [downloadOptions]).
+ *
+ * - [common.Media] for Media downloads (see [downloadOptions]).
+ *
+ * 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 generate(core.String accountId, core.String startDate, core.String endDate, {core.List<core.String> dimension, core.List<core.String> filter, core.String locale, core.int maxResults, core.List<core.String> metric, core.List<core.String> sort, core.int startIndex, common.DownloadOptions downloadOptions: common.DownloadOptions.Metadata}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+ if (startDate == null) {
+ throw new core.ArgumentError("Parameter startDate is required.");
+ }
+ _queryParams["startDate"] = [startDate];
+ if (endDate == null) {
+ throw new core.ArgumentError("Parameter endDate is required.");
+ }
+ _queryParams["endDate"] = [endDate];
+ if (dimension != null) {
+ _queryParams["dimension"] = dimension;
+ }
+ if (filter != null) {
+ _queryParams["filter"] = filter;
+ }
+ if (locale != null) {
+ _queryParams["locale"] = [locale];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (metric != null) {
+ _queryParams["metric"] = metric;
+ }
+ if (sort != null) {
+ _queryParams["sort"] = sort;
+ }
+ if (startIndex != null) {
+ _queryParams["startIndex"] = ["${startIndex}"];
+ }
+
+ _downloadOptions = downloadOptions;
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/reports';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ if (_downloadOptions == null ||
+ _downloadOptions == common.DownloadOptions.Metadata) {
+ return _response.then((data) => new Report.fromJson(data));
+ } else {
+ return _response;
+ }
+ }
+
+}
+
+
+/** Not documented yet. */
+class AccountsReportsSavedResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ AccountsReportsSavedResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Generate an Ad Exchange report based on the saved report ID sent in the
+ * query parameters.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account owning the saved report.
+ *
+ * [savedReportId] - The saved report to retrieve.
+ *
+ * [locale] - Optional locale to use for translating report output to a local
+ * language. Defaults to "en_US" if not specified.
+ * Value must have pattern "[a-zA-Z_]+".
+ *
+ * [maxResults] - The maximum number of rows of report data to return.
+ * Value must be between "0" and "50000".
+ *
+ * [startIndex] - Index of the first row of report data to return.
+ * Value must be between "0" and "5000".
+ *
+ * Completes with a [Report].
+ *
+ * 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<Report> generate(core.String accountId, core.String savedReportId, {core.String locale, core.int maxResults, core.int startIndex}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+ if (savedReportId == null) {
+ throw new core.ArgumentError("Parameter savedReportId is required.");
+ }
+ if (locale != null) {
+ _queryParams["locale"] = [locale];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (startIndex != null) {
+ _queryParams["startIndex"] = ["${startIndex}"];
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/reports/' + common_internal.Escaper.ecapeVariable('$savedReportId');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Report.fromJson(data));
+ }
+
+ /**
+ * List all saved reports in this Ad Exchange account.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account owning the saved reports.
+ *
+ * [maxResults] - The maximum number of saved reports to include in the
+ * response, used for paging.
+ * Value must be between "0" and "100".
+ *
+ * [pageToken] - A continuation token, used to page through saved reports. To
+ * retrieve the next page, set this parameter to the value of "nextPageToken"
+ * from the previous response.
+ *
+ * Completes with a [SavedReports].
+ *
+ * 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<SavedReports> list(core.String accountId, {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 (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/reports/saved';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new SavedReports.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class AccountsUrlchannelsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ AccountsUrlchannelsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * List all URL channels in the specified ad client for this Ad Exchange
+ * account.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account to which the ad client belongs.
+ *
+ * [adClientId] - Ad client for which to list URL channels.
+ *
+ * [maxResults] - The maximum number of URL channels to include in the
+ * response, used for paging.
+ * Value must be between "0" and "10000".
+ *
+ * [pageToken] - A continuation token, used to page through URL channels. To
+ * retrieve the next page, set this parameter to the value of "nextPageToken"
+ * from the previous response.
+ *
+ * Completes with a [UrlChannels].
+ *
+ * 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<UrlChannels> list(core.String accountId, core.String adClientId, {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 (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+ if (adClientId == null) {
+ throw new core.ArgumentError("Parameter adClientId is required.");
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+
+ _url = 'accounts/' + common_internal.Escaper.ecapeVariable('$accountId') + '/adclients/' + common_internal.Escaper.ecapeVariable('$adClientId') + '/urlchannels';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new UrlChannels.fromJson(data));
+ }
+
+}
+
+
+
+/** Not documented yet. */
+class Account {
+ /** Unique identifier of this account. */
+ core.String id;
+
+ /** Kind of resource this is, in this case adexchangeseller#account. */
+ core.String kind;
+
+ /** Name of this account. */
+ core.String name;
+
+
+ Account();
+
+ Account.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class Accounts {
+ /** ETag of this response for caching purposes. */
+ core.String etag;
+
+ /** The accounts returned in this list response. */
+ core.List<Account> items;
+
+ /** Kind of list this is, in this case adexchangeseller#accounts. */
+ core.String kind;
+
+ /**
+ * Continuation token used to page through accounts. To retrieve the next page
+ * of results, set the next request's "pageToken" value to this.
+ */
+ core.String nextPageToken;
+
+
+ Accounts();
+
+ Accounts.fromJson(core.Map _json) {
+ if (_json.containsKey("etag")) {
+ etag = _json["etag"];
+ }
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new Account.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 (etag != null) {
+ _json["etag"] = etag;
+ }
+ 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 AdClient {
+ /** Whether this ad client is opted in to ARC. */
+ core.bool arcOptIn;
+
+ /** Unique identifier of this ad client. */
+ core.String id;
+
+ /** Kind of resource this is, in this case adexchangeseller#adClient. */
+ core.String kind;
+
+ /**
+ * This ad client's product code, which corresponds to the PRODUCT_CODE report
+ * dimension.
+ */
+ core.String productCode;
+
+ /** Whether this ad client supports being reported on. */
+ core.bool supportsReporting;
+
+
+ AdClient();
+
+ AdClient.fromJson(core.Map _json) {
+ if (_json.containsKey("arcOptIn")) {
+ arcOptIn = _json["arcOptIn"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("productCode")) {
+ productCode = _json["productCode"];
+ }
+ if (_json.containsKey("supportsReporting")) {
+ supportsReporting = _json["supportsReporting"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (arcOptIn != null) {
+ _json["arcOptIn"] = arcOptIn;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (productCode != null) {
+ _json["productCode"] = productCode;
+ }
+ if (supportsReporting != null) {
+ _json["supportsReporting"] = supportsReporting;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class AdClients {
+ /** ETag of this response for caching purposes. */
+ core.String etag;
+
+ /** The ad clients returned in this list response. */
+ core.List<AdClient> items;
+
+ /** Kind of list this is, in this case adexchangeseller#adClients. */
+ core.String kind;
+
+ /**
+ * Continuation token used to page through ad clients. To retrieve the next
+ * page of results, set the next request's "pageToken" value to this.
+ */
+ core.String nextPageToken;
+
+
+ AdClients();
+
+ AdClients.fromJson(core.Map _json) {
+ if (_json.containsKey("etag")) {
+ etag = _json["etag"];
+ }
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new AdClient.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 (etag != null) {
+ _json["etag"] = etag;
+ }
+ 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 Alert {
+ /**
+ * Unique identifier of this alert. This should be considered an opaque
+ * identifier; it is not safe to rely on it being in any particular format.
+ */
+ core.String id;
+
+ /** Kind of resource this is, in this case adexchangeseller#alert. */
+ core.String kind;
+
+ /** The localized alert message. */
+ core.String message;
+
+ /** Severity of this alert. Possible values: INFO, WARNING, SEVERE. */
+ core.String severity;
+
+ /**
+ * Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3,
+ * ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY,
+ * GRAYLISTED_PUBLISHER, API_HOLD.
+ */
+ core.String type;
+
+
+ Alert();
+
+ Alert.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("message")) {
+ message = _json["message"];
+ }
+ if (_json.containsKey("severity")) {
+ severity = _json["severity"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (message != null) {
+ _json["message"] = message;
+ }
+ if (severity != null) {
+ _json["severity"] = severity;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class Alerts {
+ /** The alerts returned in this list response. */
+ core.List<Alert> items;
+
+ /** Kind of list this is, in this case adexchangeseller#alerts. */
+ core.String kind;
+
+
+ Alerts();
+
+ Alerts.fromJson(core.Map _json) {
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new Alert.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;
+ }
+}
+
+
+/** The targeting information of this custom channel, if activated. */
+class CustomChannelTargetingInfo {
+ /** The name used to describe this channel externally. */
+ core.String adsAppearOn;
+
+ /** The external description of the channel. */
+ core.String description;
+
+ /**
+ * The locations in which ads appear. (Only valid for content and mobile
+ * content ads). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER,
+ * TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT,
+ * BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for
+ * mobile content ads are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS.
+ */
+ core.String location;
+
+ /** The language of the sites ads will be displayed on. */
+ core.String siteLanguage;
+
+
+ CustomChannelTargetingInfo();
+
+ CustomChannelTargetingInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("adsAppearOn")) {
+ adsAppearOn = _json["adsAppearOn"];
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("location")) {
+ location = _json["location"];
+ }
+ if (_json.containsKey("siteLanguage")) {
+ siteLanguage = _json["siteLanguage"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (adsAppearOn != null) {
+ _json["adsAppearOn"] = adsAppearOn;
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (location != null) {
+ _json["location"] = location;
+ }
+ if (siteLanguage != null) {
+ _json["siteLanguage"] = siteLanguage;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class CustomChannel {
+ /** Code of this custom channel, not necessarily unique across ad clients. */
+ core.String code;
+
+ /**
+ * Unique identifier of this custom channel. This should be considered an
+ * opaque identifier; it is not safe to rely on it being in any particular
+ * format.
+ */
+ core.String id;
+
+ /** Kind of resource this is, in this case adexchangeseller#customChannel. */
+ core.String kind;
+
+ /** Name of this custom channel. */
+ core.String name;
+
+ /** The targeting information of this custom channel, if activated. */
+ CustomChannelTargetingInfo targetingInfo;
+
+
+ CustomChannel();
+
+ CustomChannel.fromJson(core.Map _json) {
+ if (_json.containsKey("code")) {
+ code = _json["code"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("targetingInfo")) {
+ targetingInfo = new CustomChannelTargetingInfo.fromJson(_json["targetingInfo"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (code != null) {
+ _json["code"] = code;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (targetingInfo != null) {
+ _json["targetingInfo"] = (targetingInfo).toJson();
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class CustomChannels {
+ /** ETag of this response for caching purposes. */
+ core.String etag;
+
+ /** The custom channels returned in this list response. */
+ core.List<CustomChannel> items;
+
+ /** Kind of list this is, in this case adexchangeseller#customChannels. */
+ core.String kind;
+
+ /**
+ * Continuation token used to page through custom channels. To retrieve the
+ * next page of results, set the next request's "pageToken" value to this.
+ */
+ core.String nextPageToken;
+
+
+ CustomChannels();
+
+ CustomChannels.fromJson(core.Map _json) {
+ if (_json.containsKey("etag")) {
+ etag = _json["etag"];
+ }
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new CustomChannel.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 (etag != null) {
+ _json["etag"] = etag;
+ }
+ 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 Metadata {
+ /** Not documented yet. */
+ core.List<ReportingMetadataEntry> items;
+
+ /** Kind of list this is, in this case adexchangeseller#metadata. */
+ core.String kind;
+
+
+ Metadata();
+
+ Metadata.fromJson(core.Map _json) {
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new ReportingMetadataEntry.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 PreferredDeal {
+ /** The name of the advertiser this deal is for. */
+ core.String advertiserName;
+
+ /** The name of the buyer network this deal is for. */
+ core.String buyerNetworkName;
+
+ /**
+ * The currency code that applies to the fixed_cpm value. If not set then
+ * assumed to be USD.
+ */
+ core.String currencyCode;
+
+ /**
+ * Time when this deal stops being active in seconds since the epoch (GMT). If
+ * not set then this deal is valid until manually disabled by the publisher.
+ */
+ core.String endTime;
+
+ /**
+ * The fixed price for this preferred deal. In cpm micros of currency
+ * according to currencyCode. If set, then this preferred deal is eligible for
+ * the fixed price tier of buying (highest priority, pay exactly the
+ * configured fixed price).
+ */
+ core.String fixedCpm;
+
+ /** Unique identifier of this preferred deal. */
+ core.String id;
+
+ /** Kind of resource this is, in this case adexchangeseller#preferredDeal. */
+ core.String kind;
+
+ /**
+ * Time when this deal becomes active in seconds since the epoch (GMT). If not
+ * set then this deal is active immediately upon creation.
+ */
+ core.String startTime;
+
+
+ PreferredDeal();
+
+ PreferredDeal.fromJson(core.Map _json) {
+ if (_json.containsKey("advertiserName")) {
+ advertiserName = _json["advertiserName"];
+ }
+ if (_json.containsKey("buyerNetworkName")) {
+ buyerNetworkName = _json["buyerNetworkName"];
+ }
+ if (_json.containsKey("currencyCode")) {
+ currencyCode = _json["currencyCode"];
+ }
+ if (_json.containsKey("endTime")) {
+ endTime = _json["endTime"];
+ }
+ if (_json.containsKey("fixedCpm")) {
+ fixedCpm = _json["fixedCpm"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("startTime")) {
+ startTime = _json["startTime"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (advertiserName != null) {
+ _json["advertiserName"] = advertiserName;
+ }
+ if (buyerNetworkName != null) {
+ _json["buyerNetworkName"] = buyerNetworkName;
+ }
+ if (currencyCode != null) {
+ _json["currencyCode"] = currencyCode;
+ }
+ if (endTime != null) {
+ _json["endTime"] = endTime;
+ }
+ if (fixedCpm != null) {
+ _json["fixedCpm"] = fixedCpm;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (startTime != null) {
+ _json["startTime"] = startTime;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class PreferredDeals {
+ /** The preferred deals returned in this list response. */
+ core.List<PreferredDeal> items;
+
+ /** Kind of list this is, in this case adexchangeseller#preferredDeals. */
+ core.String kind;
+
+
+ PreferredDeals();
+
+ PreferredDeals.fromJson(core.Map _json) {
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new PreferredDeal.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 ReportHeaders {
+ /**
+ * The currency of this column. Only present if the header type is
+ * METRIC_CURRENCY.
+ */
+ core.String currency;
+
+ /** The name of the header. */
+ core.String name;
+
+ /**
+ * The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or
+ * METRIC_CURRENCY.
+ */
+ core.String type;
+
+
+ ReportHeaders();
+
+ ReportHeaders.fromJson(core.Map _json) {
+ if (_json.containsKey("currency")) {
+ currency = _json["currency"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (currency != null) {
+ _json["currency"] = currency;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class Report {
+ /**
+ * The averages of the report. This is the same length as any other row in the
+ * report; cells corresponding to dimension columns are empty.
+ */
+ core.List<core.String> averages;
+
+ /**
+ * The header information of the columns requested in the report. This is a
+ * list of headers; one for each dimension in the request, followed by one for
+ * each metric in the request.
+ */
+ core.List<ReportHeaders> headers;
+
+ /** Kind this is, in this case adexchangeseller#report. */
+ core.String kind;
+
+ /**
+ * The output rows of the report. Each row is a list of cells; one for each
+ * dimension in the request, followed by one for each metric in the request.
+ * The dimension cells contain strings, and the metric cells contain numbers.
+ */
+ core.List<core.List<core.String>> rows;
+
+ /**
+ * The total number of rows matched by the report request. Fewer rows may be
+ * returned in the response due to being limited by the row count requested or
+ * the report row limit.
+ */
+ core.String totalMatchedRows;
+
+ /**
+ * The totals of the report. This is the same length as any other row in the
+ * report; cells corresponding to dimension columns are empty.
+ */
+ core.List<core.String> totals;
+
+ /** Any warnings associated with generation of the report. */
+ core.List<core.String> warnings;
+
+
+ Report();
+
+ Report.fromJson(core.Map _json) {
+ if (_json.containsKey("averages")) {
+ averages = _json["averages"];
+ }
+ if (_json.containsKey("headers")) {
+ headers = _json["headers"].map((value) => new ReportHeaders.fromJson(value)).toList();
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("rows")) {
+ rows = _json["rows"];
+ }
+ if (_json.containsKey("totalMatchedRows")) {
+ totalMatchedRows = _json["totalMatchedRows"];
+ }
+ if (_json.containsKey("totals")) {
+ totals = _json["totals"];
+ }
+ if (_json.containsKey("warnings")) {
+ warnings = _json["warnings"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (averages != null) {
+ _json["averages"] = averages;
+ }
+ if (headers != null) {
+ _json["headers"] = headers.map((value) => (value).toJson()).toList();
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (rows != null) {
+ _json["rows"] = rows;
+ }
+ if (totalMatchedRows != null) {
+ _json["totalMatchedRows"] = totalMatchedRows;
+ }
+ if (totals != null) {
+ _json["totals"] = totals;
+ }
+ if (warnings != null) {
+ _json["warnings"] = warnings;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class ReportingMetadataEntry {
+ /**
+ * For metrics this is a list of dimension IDs which the metric is compatible
+ * with, for dimensions it is a list of compatibility groups the dimension
+ * belongs to.
+ */
+ core.List<core.String> compatibleDimensions;
+
+ /**
+ * The names of the metrics the dimension or metric this reporting metadata
+ * entry describes is compatible with.
+ */
+ core.List<core.String> compatibleMetrics;
+
+ /**
+ * Unique identifier of this reporting metadata entry, corresponding to the
+ * name of the appropriate dimension or metric.
+ */
+ core.String id;
+
+ /**
+ * Kind of resource this is, in this case
+ * adexchangeseller#reportingMetadataEntry.
+ */
+ core.String kind;
+
+ /**
+ * The names of the dimensions which the dimension or metric this reporting
+ * metadata entry describes requires to also be present in order for the
+ * report to be valid. Omitting these will not cause an error or warning, but
+ * may result in data which cannot be correctly interpreted.
+ */
+ core.List<core.String> requiredDimensions;
+
+ /**
+ * The names of the metrics which the dimension or metric this reporting
+ * metadata entry describes requires to also be present in order for the
+ * report to be valid. Omitting these will not cause an error or warning, but
+ * may result in data which cannot be correctly interpreted.
+ */
+ core.List<core.String> requiredMetrics;
+
+ /**
+ * The codes of the projects supported by the dimension or metric this
+ * reporting metadata entry describes.
+ */
+ core.List<core.String> supportedProducts;
+
+
+ ReportingMetadataEntry();
+
+ ReportingMetadataEntry.fromJson(core.Map _json) {
+ if (_json.containsKey("compatibleDimensions")) {
+ compatibleDimensions = _json["compatibleDimensions"];
+ }
+ if (_json.containsKey("compatibleMetrics")) {
+ compatibleMetrics = _json["compatibleMetrics"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("requiredDimensions")) {
+ requiredDimensions = _json["requiredDimensions"];
+ }
+ if (_json.containsKey("requiredMetrics")) {
+ requiredMetrics = _json["requiredMetrics"];
+ }
+ if (_json.containsKey("supportedProducts")) {
+ supportedProducts = _json["supportedProducts"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (compatibleDimensions != null) {
+ _json["compatibleDimensions"] = compatibleDimensions;
+ }
+ if (compatibleMetrics != null) {
+ _json["compatibleMetrics"] = compatibleMetrics;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (requiredDimensions != null) {
+ _json["requiredDimensions"] = requiredDimensions;
+ }
+ if (requiredMetrics != null) {
+ _json["requiredMetrics"] = requiredMetrics;
+ }
+ if (supportedProducts != null) {
+ _json["supportedProducts"] = supportedProducts;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class SavedReport {
+ /** Unique identifier of this saved report. */
+ core.String id;
+
+ /** Kind of resource this is, in this case adexchangeseller#savedReport. */
+ core.String kind;
+
+ /** This saved report's name. */
+ core.String name;
+
+
+ SavedReport();
+
+ SavedReport.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class SavedReports {
+ /** ETag of this response for caching purposes. */
+ core.String etag;
+
+ /** The saved reports returned in this list response. */
+ core.List<SavedReport> items;
+
+ /** Kind of list this is, in this case adexchangeseller#savedReports. */
+ core.String kind;
+
+ /**
+ * Continuation token used to page through saved reports. To retrieve the next
+ * page of results, set the next request's "pageToken" value to this.
+ */
+ core.String nextPageToken;
+
+
+ SavedReports();
+
+ SavedReports.fromJson(core.Map _json) {
+ if (_json.containsKey("etag")) {
+ etag = _json["etag"];
+ }
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new SavedReport.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 (etag != null) {
+ _json["etag"] = etag;
+ }
+ 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 UrlChannel {
+ /**
+ * Unique identifier of this URL channel. This should be considered an opaque
+ * identifier; it is not safe to rely on it being in any particular format.
+ */
+ core.String id;
+
+ /** Kind of resource this is, in this case adexchangeseller#urlChannel. */
+ core.String kind;
+
+ /**
+ * URL Pattern of this URL channel. Does not include "http://" or "https://".
+ * Example: www.example.com/home
+ */
+ core.String urlPattern;
+
+
+ UrlChannel();
+
+ UrlChannel.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("urlPattern")) {
+ urlPattern = _json["urlPattern"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (urlPattern != null) {
+ _json["urlPattern"] = urlPattern;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class UrlChannels {
+ /** ETag of this response for caching purposes. */
+ core.String etag;
+
+ /** The URL channels returned in this list response. */
+ core.List<UrlChannel> items;
+
+ /** Kind of list this is, in this case adexchangeseller#urlChannels. */
+ core.String kind;
+
+ /**
+ * Continuation token used to page through URL channels. To retrieve the next
+ * page of results, set the next request's "pageToken" value to this.
+ */
+ core.String nextPageToken;
+
+
+ UrlChannels();
+
+ UrlChannels.fromJson(core.Map _json) {
+ if (_json.containsKey("etag")) {
+ etag = _json["etag"];
+ }
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new UrlChannel.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 (etag != null) {
+ _json["etag"] = etag;
+ }
+ 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;
+ }
+}
+
+
diff --git a/generated/googleapis/lib/civicinfo/us_v1.dart b/generated/googleapis/lib/civicinfo/us_v1.dart
index 81a93d3..a152242 100644
--- a/generated/googleapis/lib/civicinfo/us_v1.dart
+++ b/generated/googleapis/lib/civicinfo/us_v1.dart
@@ -1708,6 +1708,9 @@
*/
core.List<PollingLocation> pollingLocations;
+ /** Not documented yet. */
+ core.String precinctId;
+
/**
* Local Election Information for the state that the voter votes in. For the
* US, there will only be one element in this array.
@@ -1743,6 +1746,9 @@
if (_json.containsKey("pollingLocations")) {
pollingLocations = _json["pollingLocations"].map((value) => new PollingLocation.fromJson(value)).toList();
}
+ if (_json.containsKey("precinctId")) {
+ precinctId = _json["precinctId"];
+ }
if (_json.containsKey("state")) {
state = _json["state"].map((value) => new AdministrationRegion.fromJson(value)).toList();
}
@@ -1771,6 +1777,9 @@
if (pollingLocations != null) {
_json["pollingLocations"] = pollingLocations.map((value) => (value).toJson()).toList();
}
+ if (precinctId != null) {
+ _json["precinctId"] = precinctId;
+ }
if (state != null) {
_json["state"] = state.map((value) => (value).toJson()).toList();
}
diff --git a/generated/googleapis/lib/civicinfo/v1.dart b/generated/googleapis/lib/civicinfo/v1.dart
index 2869359..57288ae 100644
--- a/generated/googleapis/lib/civicinfo/v1.dart
+++ b/generated/googleapis/lib/civicinfo/v1.dart
@@ -1708,6 +1708,9 @@
*/
core.List<PollingLocation> pollingLocations;
+ /** Not documented yet. */
+ core.String precinctId;
+
/**
* Local Election Information for the state that the voter votes in. For the
* US, there will only be one element in this array.
@@ -1743,6 +1746,9 @@
if (_json.containsKey("pollingLocations")) {
pollingLocations = _json["pollingLocations"].map((value) => new PollingLocation.fromJson(value)).toList();
}
+ if (_json.containsKey("precinctId")) {
+ precinctId = _json["precinctId"];
+ }
if (_json.containsKey("state")) {
state = _json["state"].map((value) => new AdministrationRegion.fromJson(value)).toList();
}
@@ -1771,6 +1777,9 @@
if (pollingLocations != null) {
_json["pollingLocations"] = pollingLocations.map((value) => (value).toJson()).toList();
}
+ if (precinctId != null) {
+ _json["precinctId"] = precinctId;
+ }
if (state != null) {
_json["state"] = state.map((value) => (value).toJson()).toList();
}
diff --git a/generated/googleapis/lib/civicinfo/v2.dart b/generated/googleapis/lib/civicinfo/v2.dart
new file mode 100644
index 0000000..c05e94d
--- /dev/null
+++ b/generated/googleapis/lib/civicinfo/v2.dart
@@ -0,0 +1,1841 @@
+library googleapis.civicinfo.v2;
+
+import "dart:core" as core;
+import "dart:collection" as collection;
+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;
+
+/** An API for accessing civic information. */
+class CivicinfoApi {
+
+ final common_internal.ApiRequester _requester;
+
+ DivisionsResourceApi get divisions => new DivisionsResourceApi(_requester);
+ ElectionsResourceApi get elections => new ElectionsResourceApi(_requester);
+ RepresentativesResourceApi get representatives => new RepresentativesResourceApi(_requester);
+
+ CivicinfoApi(http.Client client) :
+ _requester = new common_internal.ApiRequester(client, "https://www.googleapis.com/", "civicinfo/v2/");
+}
+
+
+/** Not documented yet. */
+class DivisionsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ DivisionsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Searches for political divisions by their natural name or OCD ID.
+ *
+ * Request parameters:
+ *
+ * [query] - The search query. Queries can cover any parts of a OCD ID or a
+ * human readable division name. All words given in the query are treated as
+ * required patterns. In addition to that, most query operators of the Apache
+ * Lucene library are supported. See
+ * http://lucene.apache.org/core/2_9_4/queryparsersyntax.html
+ *
+ * Completes with a [DivisionSearchResponse].
+ *
+ * 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<DivisionSearchResponse> search({core.String query}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (query != null) {
+ _queryParams["query"] = [query];
+ }
+
+
+ _url = 'divisions';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new DivisionSearchResponse.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class ElectionsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ ElectionsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * List of available elections to query.
+ *
+ * Request parameters:
+ *
+ * Completes with a [ElectionsQueryResponse].
+ *
+ * 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<ElectionsQueryResponse> electionQuery() {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+
+
+ _url = 'elections';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ElectionsQueryResponse.fromJson(data));
+ }
+
+ /**
+ * Looks up information relevant to a voter based on the voter's registered
+ * address.
+ *
+ * Request parameters:
+ *
+ * [address] - The registered address of the voter to look up.
+ *
+ * [electionId] - The unique ID of the election to look up. A list of election
+ * IDs can be obtained at
+ * https://www.googleapis.com/civicinfo/{version}/elections
+ *
+ * [officialOnly] - If set to true, only data from official state sources will
+ * be returned.
+ *
+ * Completes with a [VoterInfoResponse].
+ *
+ * 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<VoterInfoResponse> voterInfoQuery(core.String address, {core.String electionId, core.bool officialOnly}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (address == null) {
+ throw new core.ArgumentError("Parameter address is required.");
+ }
+ _queryParams["address"] = [address];
+ if (electionId != null) {
+ _queryParams["electionId"] = [electionId];
+ }
+ if (officialOnly != null) {
+ _queryParams["officialOnly"] = ["${officialOnly}"];
+ }
+
+
+ _url = 'voterinfo';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new VoterInfoResponse.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class RepresentativesResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ RepresentativesResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Looks up political geography and representative information for a single
+ * address.
+ *
+ * Request parameters:
+ *
+ * [address] - The address to look up. May only be specified if the field
+ * ocdId is not given in the URL.
+ *
+ * [includeOffices] - Whether to return information about offices and
+ * officials. If false, only the top-level district information will be
+ * returned.
+ *
+ * [levels] - A list of office levels to filter by. Only offices that serve at
+ * least one of these levels will be returned. Divisions that don't contain a
+ * matching office will not be returned.
+ *
+ * [roles] - A list of office roles to filter by. Only offices fulfilling one
+ * of these roles will be returned. Divisions that don't contain a matching
+ * office will not be returned.
+ *
+ * Completes with a [RepresentativeInfoResponse].
+ *
+ * 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<RepresentativeInfoResponse> representativeInfoByAddress({core.String address, core.bool includeOffices, core.List<core.String> levels, core.List<core.String> roles}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (address != null) {
+ _queryParams["address"] = [address];
+ }
+ if (includeOffices != null) {
+ _queryParams["includeOffices"] = ["${includeOffices}"];
+ }
+ if (levels != null) {
+ _queryParams["levels"] = levels;
+ }
+ if (roles != null) {
+ _queryParams["roles"] = roles;
+ }
+
+
+ _url = 'representatives';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new RepresentativeInfoResponse.fromJson(data));
+ }
+
+ /**
+ * Looks up representative information for a single geographic division.
+ *
+ * Request parameters:
+ *
+ * [ocdId] - The Open Civic Data division identifier of the division to look
+ * up.
+ *
+ * [levels] - A list of office levels to filter by. Only offices that serve at
+ * least one of these levels will be returned. Divisions that don't contain a
+ * matching office will not be returned.
+ *
+ * [recursive] - If true, information about all divisions contained in the
+ * division requested will be included as well. For example, if querying
+ * ocd-division/country:us/district:dc, this would also return all DC's wards
+ * and ANCs.
+ *
+ * [roles] - A list of office roles to filter by. Only offices fulfilling one
+ * of these roles will be returned. Divisions that don't contain a matching
+ * office will not be returned.
+ *
+ * Completes with a [RepresentativeInfoData].
+ *
+ * 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<RepresentativeInfoData> representativeInfoByDivision(core.String ocdId, {core.List<core.String> levels, core.bool recursive, core.List<core.String> roles}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (ocdId == null) {
+ throw new core.ArgumentError("Parameter ocdId is required.");
+ }
+ if (levels != null) {
+ _queryParams["levels"] = levels;
+ }
+ if (recursive != null) {
+ _queryParams["recursive"] = ["${recursive}"];
+ }
+ if (roles != null) {
+ _queryParams["roles"] = roles;
+ }
+
+
+ _url = 'representatives/' + common_internal.Escaper.ecapeVariable('$ocdId');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new RepresentativeInfoData.fromJson(data));
+ }
+
+}
+
+
+
+/** Describes information about a regional election administrative area. */
+class AdministrationRegion {
+ /** The election administration body for this area. */
+ AdministrativeBody electionAdministrationBody;
+
+ /**
+ * An ID for this object. IDs may change in future requests and should not be
+ * cached. Access to this field requires special access that can be requested
+ * from the Request more link on the Quotas page.
+ */
+ core.String id;
+
+ /**
+ * The city or county that provides election information for this voter. This
+ * object can have the same elements as state.
+ */
+ AdministrationRegion localJurisdiction;
+
+ /** The name of the jurisdiction. */
+ core.String name;
+
+ /**
+ * A list of sources for this area. If multiple sources are listed the data
+ * has been aggregated from those sources.
+ */
+ core.List<Source> sources;
+
+
+ AdministrationRegion();
+
+ AdministrationRegion.fromJson(core.Map _json) {
+ if (_json.containsKey("electionAdministrationBody")) {
+ electionAdministrationBody = new AdministrativeBody.fromJson(_json["electionAdministrationBody"]);
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("local_jurisdiction")) {
+ localJurisdiction = new AdministrationRegion.fromJson(_json["local_jurisdiction"]);
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("sources")) {
+ sources = _json["sources"].map((value) => new Source.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (electionAdministrationBody != null) {
+ _json["electionAdministrationBody"] = (electionAdministrationBody).toJson();
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (localJurisdiction != null) {
+ _json["local_jurisdiction"] = (localJurisdiction).toJson();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (sources != null) {
+ _json["sources"] = sources.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+
+/**
+ * Information about an election administrative body (e.g. County Board of
+ * Elections).
+ */
+class AdministrativeBody {
+ /**
+ * A URL provided by this administrative body for information on absentee
+ * voting.
+ */
+ core.String absenteeVotingInfoUrl;
+
+ /**
+ * A URL provided by this administrative body to give contest information to
+ * the voter.
+ */
+ core.String ballotInfoUrl;
+
+ /** The mailing address of this administrative body. */
+ SimpleAddressType correspondenceAddress;
+
+ /**
+ * A URL provided by this administrative body for looking up general election
+ * information.
+ */
+ core.String electionInfoUrl;
+
+ /** The election officials for this election administrative body. */
+ core.List<ElectionOfficial> electionOfficials;
+
+ /**
+ * A URL provided by this administrative body for confirming that the voter is
+ * registered to vote.
+ */
+ core.String electionRegistrationConfirmationUrl;
+
+ /**
+ * A URL provided by this administrative body for looking up how to register
+ * to vote.
+ */
+ core.String electionRegistrationUrl;
+
+ /**
+ * A URL provided by this administrative body describing election rules to the
+ * voter.
+ */
+ core.String electionRulesUrl;
+
+ /** A description of the hours of operation for this administrative body. */
+ core.String hoursOfOperation;
+
+ /** The name of this election administrative body. */
+ core.String name;
+
+ /** The physical address of this administrative body. */
+ SimpleAddressType physicalAddress;
+
+ /** A description of the services this administrative body may provide. */
+ core.List<core.String> voterServices;
+
+ /**
+ * A URL provided by this administrative body for looking up where to vote.
+ */
+ core.String votingLocationFinderUrl;
+
+
+ AdministrativeBody();
+
+ AdministrativeBody.fromJson(core.Map _json) {
+ if (_json.containsKey("absenteeVotingInfoUrl")) {
+ absenteeVotingInfoUrl = _json["absenteeVotingInfoUrl"];
+ }
+ if (_json.containsKey("ballotInfoUrl")) {
+ ballotInfoUrl = _json["ballotInfoUrl"];
+ }
+ if (_json.containsKey("correspondenceAddress")) {
+ correspondenceAddress = new SimpleAddressType.fromJson(_json["correspondenceAddress"]);
+ }
+ if (_json.containsKey("electionInfoUrl")) {
+ electionInfoUrl = _json["electionInfoUrl"];
+ }
+ if (_json.containsKey("electionOfficials")) {
+ electionOfficials = _json["electionOfficials"].map((value) => new ElectionOfficial.fromJson(value)).toList();
+ }
+ if (_json.containsKey("electionRegistrationConfirmationUrl")) {
+ electionRegistrationConfirmationUrl = _json["electionRegistrationConfirmationUrl"];
+ }
+ if (_json.containsKey("electionRegistrationUrl")) {
+ electionRegistrationUrl = _json["electionRegistrationUrl"];
+ }
+ if (_json.containsKey("electionRulesUrl")) {
+ electionRulesUrl = _json["electionRulesUrl"];
+ }
+ if (_json.containsKey("hoursOfOperation")) {
+ hoursOfOperation = _json["hoursOfOperation"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("physicalAddress")) {
+ physicalAddress = new SimpleAddressType.fromJson(_json["physicalAddress"]);
+ }
+ if (_json.containsKey("voter_services")) {
+ voterServices = _json["voter_services"];
+ }
+ if (_json.containsKey("votingLocationFinderUrl")) {
+ votingLocationFinderUrl = _json["votingLocationFinderUrl"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (absenteeVotingInfoUrl != null) {
+ _json["absenteeVotingInfoUrl"] = absenteeVotingInfoUrl;
+ }
+ if (ballotInfoUrl != null) {
+ _json["ballotInfoUrl"] = ballotInfoUrl;
+ }
+ if (correspondenceAddress != null) {
+ _json["correspondenceAddress"] = (correspondenceAddress).toJson();
+ }
+ if (electionInfoUrl != null) {
+ _json["electionInfoUrl"] = electionInfoUrl;
+ }
+ if (electionOfficials != null) {
+ _json["electionOfficials"] = electionOfficials.map((value) => (value).toJson()).toList();
+ }
+ if (electionRegistrationConfirmationUrl != null) {
+ _json["electionRegistrationConfirmationUrl"] = electionRegistrationConfirmationUrl;
+ }
+ if (electionRegistrationUrl != null) {
+ _json["electionRegistrationUrl"] = electionRegistrationUrl;
+ }
+ if (electionRulesUrl != null) {
+ _json["electionRulesUrl"] = electionRulesUrl;
+ }
+ if (hoursOfOperation != null) {
+ _json["hoursOfOperation"] = hoursOfOperation;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (physicalAddress != null) {
+ _json["physicalAddress"] = (physicalAddress).toJson();
+ }
+ if (voterServices != null) {
+ _json["voter_services"] = voterServices;
+ }
+ if (votingLocationFinderUrl != null) {
+ _json["votingLocationFinderUrl"] = votingLocationFinderUrl;
+ }
+ return _json;
+ }
+}
+
+
+/** Information about a candidate running for elected office. */
+class Candidate {
+ /** The URL for the candidate's campaign web site. */
+ core.String candidateUrl;
+
+ /** A list of known (social) media channels for this candidate. */
+ core.List<Channel> channels;
+
+ /** The email address for the candidate's campaign. */
+ core.String email;
+
+ /** The candidate's name. */
+ core.String name;
+
+ /** The order the candidate appears on the ballot for this contest. */
+ core.String orderOnBallot;
+
+ /** The full name of the party the candidate is a member of. */
+ core.String party;
+
+ /** The voice phone number for the candidate's campaign office. */
+ core.String phone;
+
+ /** A URL for a photo of the candidate. */
+ core.String photoUrl;
+
+
+ Candidate();
+
+ Candidate.fromJson(core.Map _json) {
+ if (_json.containsKey("candidateUrl")) {
+ candidateUrl = _json["candidateUrl"];
+ }
+ if (_json.containsKey("channels")) {
+ channels = _json["channels"].map((value) => new Channel.fromJson(value)).toList();
+ }
+ if (_json.containsKey("email")) {
+ email = _json["email"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("orderOnBallot")) {
+ orderOnBallot = _json["orderOnBallot"];
+ }
+ if (_json.containsKey("party")) {
+ party = _json["party"];
+ }
+ if (_json.containsKey("phone")) {
+ phone = _json["phone"];
+ }
+ if (_json.containsKey("photoUrl")) {
+ photoUrl = _json["photoUrl"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (candidateUrl != null) {
+ _json["candidateUrl"] = candidateUrl;
+ }
+ if (channels != null) {
+ _json["channels"] = channels.map((value) => (value).toJson()).toList();
+ }
+ if (email != null) {
+ _json["email"] = email;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (orderOnBallot != null) {
+ _json["orderOnBallot"] = orderOnBallot;
+ }
+ if (party != null) {
+ _json["party"] = party;
+ }
+ if (phone != null) {
+ _json["phone"] = phone;
+ }
+ if (photoUrl != null) {
+ _json["photoUrl"] = photoUrl;
+ }
+ return _json;
+ }
+}
+
+
+/** A social media or web channel for a candidate. */
+class Channel {
+ /** The unique public identifier for the candidate's channel. */
+ core.String id;
+
+ /**
+ * The type of channel. The following is a list of types of channels, but is
+ * not exhaustive. More channel types may be added at a later time. One of:
+ * GooglePlus, YouTube, Facebook, Twitter
+ */
+ core.String type;
+
+
+ Channel();
+
+ Channel.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;
+ }
+}
+
+
+/** Information about a contest that appears on a voter's ballot. */
+class Contest {
+ /**
+ * A number specifying the position of this contest on the voter's ballot.
+ */
+ core.String ballotPlacement;
+
+ /** The candidate choices for this contest. */
+ core.List<Candidate> candidates;
+
+ /** Information about the electoral district that this contest is in. */
+ ElectoralDistrict district;
+
+ /**
+ * A description of any additional eligibility requirements for voting in this
+ * contest.
+ */
+ core.String electorateSpecifications;
+
+ /**
+ * An ID for this object. IDs may change in future requests and should not be
+ * cached. Access to this field requires special access that can be requested
+ * from the Request more link on the Quotas page.
+ */
+ core.String id;
+
+ /**
+ * The levels of government of the office for this contest. There may be more
+ * than one in cases where a jurisdiction effectively acts at two different
+ * levels of government; for example, the mayor of the District of Columbia
+ * acts at "locality" level, but also effectively at both
+ * "administrative-area-2" and "administrative-area-1".
+ */
+ core.List<core.String> level;
+
+ /**
+ * The number of candidates that will be elected to office in this contest.
+ */
+ core.String numberElected;
+
+ /** The number of candidates that a voter may vote for in this contest. */
+ core.String numberVotingFor;
+
+ /** The name of the office for this contest. */
+ core.String office;
+
+ /** If this is a partisan election, the name of the party it is for. */
+ core.String primaryParty;
+
+ /**
+ * A brief description of the referendum. This field is only populated for
+ * contests of type 'Referendum'.
+ */
+ core.String referendumSubtitle;
+
+ /**
+ * The title of the referendum (e.g. 'Proposition 42'). This field is only
+ * populated for contests of type 'Referendum'.
+ */
+ core.String referendumTitle;
+
+ /**
+ * A link to the referendum. This field is only populated for contests of type
+ * 'Referendum'.
+ */
+ core.String referendumUrl;
+
+ /** The roles which this office fulfills. */
+ core.List<core.String> roles;
+
+ /**
+ * A list of sources for this contest. If multiple sources are listed, the
+ * data has been aggregated from those sources.
+ */
+ core.List<Source> sources;
+
+ /**
+ * "Yes" or "No" depending on whether this a contest being held outside the
+ * normal election cycle.
+ */
+ core.String special;
+
+ /**
+ * The type of contest. Usually this will be 'General', 'Primary', or
+ * 'Run-off' for contests with candidates. For referenda this will be
+ * 'Referendum'.
+ */
+ core.String type;
+
+
+ Contest();
+
+ Contest.fromJson(core.Map _json) {
+ if (_json.containsKey("ballotPlacement")) {
+ ballotPlacement = _json["ballotPlacement"];
+ }
+ if (_json.containsKey("candidates")) {
+ candidates = _json["candidates"].map((value) => new Candidate.fromJson(value)).toList();
+ }
+ if (_json.containsKey("district")) {
+ district = new ElectoralDistrict.fromJson(_json["district"]);
+ }
+ if (_json.containsKey("electorateSpecifications")) {
+ electorateSpecifications = _json["electorateSpecifications"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("level")) {
+ level = _json["level"];
+ }
+ if (_json.containsKey("numberElected")) {
+ numberElected = _json["numberElected"];
+ }
+ if (_json.containsKey("numberVotingFor")) {
+ numberVotingFor = _json["numberVotingFor"];
+ }
+ if (_json.containsKey("office")) {
+ office = _json["office"];
+ }
+ if (_json.containsKey("primaryParty")) {
+ primaryParty = _json["primaryParty"];
+ }
+ if (_json.containsKey("referendumSubtitle")) {
+ referendumSubtitle = _json["referendumSubtitle"];
+ }
+ if (_json.containsKey("referendumTitle")) {
+ referendumTitle = _json["referendumTitle"];
+ }
+ if (_json.containsKey("referendumUrl")) {
+ referendumUrl = _json["referendumUrl"];
+ }
+ if (_json.containsKey("roles")) {
+ roles = _json["roles"];
+ }
+ if (_json.containsKey("sources")) {
+ sources = _json["sources"].map((value) => new Source.fromJson(value)).toList();
+ }
+ if (_json.containsKey("special")) {
+ special = _json["special"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (ballotPlacement != null) {
+ _json["ballotPlacement"] = ballotPlacement;
+ }
+ if (candidates != null) {
+ _json["candidates"] = candidates.map((value) => (value).toJson()).toList();
+ }
+ if (district != null) {
+ _json["district"] = (district).toJson();
+ }
+ if (electorateSpecifications != null) {
+ _json["electorateSpecifications"] = electorateSpecifications;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (level != null) {
+ _json["level"] = level;
+ }
+ if (numberElected != null) {
+ _json["numberElected"] = numberElected;
+ }
+ if (numberVotingFor != null) {
+ _json["numberVotingFor"] = numberVotingFor;
+ }
+ if (office != null) {
+ _json["office"] = office;
+ }
+ if (primaryParty != null) {
+ _json["primaryParty"] = primaryParty;
+ }
+ if (referendumSubtitle != null) {
+ _json["referendumSubtitle"] = referendumSubtitle;
+ }
+ if (referendumTitle != null) {
+ _json["referendumTitle"] = referendumTitle;
+ }
+ if (referendumUrl != null) {
+ _json["referendumUrl"] = referendumUrl;
+ }
+ if (roles != null) {
+ _json["roles"] = roles;
+ }
+ if (sources != null) {
+ _json["sources"] = sources.map((value) => (value).toJson()).toList();
+ }
+ if (special != null) {
+ _json["special"] = special;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
+ return _json;
+ }
+}
+
+
+/** The result of a division search query. */
+class DivisionSearchResponse {
+ /**
+ * Identifies what kind of resource this is. Value: the fixed string
+ * "civicinfo#divisionSearchResponse".
+ */
+ core.String kind;
+
+ /** Not documented yet. */
+ core.List<DivisionSearchResult> results;
+
+
+ DivisionSearchResponse();
+
+ DivisionSearchResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("results")) {
+ results = _json["results"].map((value) => new DivisionSearchResult.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (results != null) {
+ _json["results"] = results.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+
+/**
+ * Represents a political geographic division that matches the requested query.
+ */
+class DivisionSearchResult {
+ /**
+ * Other Open Civic Data identifiers that refer to the same division -- for
+ * example, those that refer to other political divisions whose boundaries are
+ * defined to be coterminous with this one. For example,
+ * ocd-division/country:us/state:wy will include an alias of
+ * ocd-division/country:us/state:wy/cd:1, since Wyoming has only one
+ * Congressional district.
+ */
+ core.List<core.String> aliases;
+
+ /** The name of the division. */
+ core.String name;
+
+ /** The unique Open Civic Data identifier for this division. */
+ core.String ocdId;
+
+
+ DivisionSearchResult();
+
+ DivisionSearchResult.fromJson(core.Map _json) {
+ if (_json.containsKey("aliases")) {
+ aliases = _json["aliases"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("ocdId")) {
+ ocdId = _json["ocdId"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (aliases != null) {
+ _json["aliases"] = aliases;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (ocdId != null) {
+ _json["ocdId"] = ocdId;
+ }
+ return _json;
+ }
+}
+
+
+/** Information about the election that was queried. */
+class Election {
+ /** Day of the election in YYYY-MM-DD format. */
+ core.String electionDay;
+
+ /** The unique ID of this election. */
+ core.String id;
+
+ /** A displayable name for the election. */
+ core.String name;
+
+
+ Election();
+
+ Election.fromJson(core.Map _json) {
+ if (_json.containsKey("electionDay")) {
+ electionDay = _json["electionDay"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (electionDay != null) {
+ _json["electionDay"] = electionDay;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+
+/** Information about individual election officials. */
+class ElectionOfficial {
+ /** The email address of the election official. */
+ core.String emailAddress;
+
+ /** The fax number of the election official. */
+ core.String faxNumber;
+
+ /** The full name of the election official. */
+ core.String name;
+
+ /** The office phone number of the election official. */
+ core.String officePhoneNumber;
+
+ /** The title of the election official. */
+ core.String title;
+
+
+ ElectionOfficial();
+
+ ElectionOfficial.fromJson(core.Map _json) {
+ if (_json.containsKey("emailAddress")) {
+ emailAddress = _json["emailAddress"];
+ }
+ if (_json.containsKey("faxNumber")) {
+ faxNumber = _json["faxNumber"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("officePhoneNumber")) {
+ officePhoneNumber = _json["officePhoneNumber"];
+ }
+ if (_json.containsKey("title")) {
+ title = _json["title"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (emailAddress != null) {
+ _json["emailAddress"] = emailAddress;
+ }
+ if (faxNumber != null) {
+ _json["faxNumber"] = faxNumber;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (officePhoneNumber != null) {
+ _json["officePhoneNumber"] = officePhoneNumber;
+ }
+ if (title != null) {
+ _json["title"] = title;
+ }
+ return _json;
+ }
+}
+
+
+/** The list of elections available for this version of the API. */
+class ElectionsQueryResponse {
+ /** A list of available elections */
+ core.List<Election> elections;
+
+ /**
+ * Identifies what kind of resource this is. Value: the fixed string
+ * "civicinfo#electionsQueryResponse".
+ */
+ core.String kind;
+
+
+ ElectionsQueryResponse();
+
+ ElectionsQueryResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("elections")) {
+ elections = _json["elections"].map((value) => new Election.fromJson(value)).toList();
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (elections != null) {
+ _json["elections"] = elections.map((value) => (value).toJson()).toList();
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ return _json;
+ }
+}
+
+
+/** Describes the geographic scope of a contest. */
+class ElectoralDistrict {
+ /**
+ * An identifier for this district, relative to its scope. For example, the
+ * 34th State Senate district would have id "34" and a scope of stateUpper.
+ */
+ core.String id;
+
+ /** The name of the district. */
+ core.String name;
+
+ /**
+ * The geographic scope of this district. If unspecified the district's
+ * geography is not known. One of: national, statewide, congressional,
+ * stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide,
+ * township, countyCouncil, cityCouncil, ward, special
+ */
+ core.String scope;
+
+
+ ElectoralDistrict();
+
+ ElectoralDistrict.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("scope")) {
+ scope = _json["scope"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (scope != null) {
+ _json["scope"] = scope;
+ }
+ return _json;
+ }
+}
+
+
+/** Describes a political geography. */
+class GeographicDivision {
+ /**
+ * Any other valid OCD IDs that refer to the same division.
+ *
+ * Because OCD IDs are meant to be human-readable and at least somewhat
+ * predictable, there are occasionally several identifiers for a single
+ * division. These identifiers are defined to be equivalent to one another,
+ * and one is always indicated as the primary identifier. The primary
+ * identifier will be returned in ocd_id above, and any other equivalent valid
+ * identifiers will be returned in this list.
+ *
+ * For example, if this division's OCD ID is
+ * ocd-division/country:us/district:dc, this will contain
+ * ocd-division/country:us/state:dc.
+ */
+ core.List<core.String> alsoKnownAs;
+
+ /** The name of the division. */
+ core.String name;
+
+ /**
+ * List of indices in the offices array, one for each office elected from this
+ * division. Will only be present if includeOffices was true (or absent) in
+ * the request.
+ */
+ core.List<core.int> officeIndices;
+
+
+ GeographicDivision();
+
+ GeographicDivision.fromJson(core.Map _json) {
+ if (_json.containsKey("alsoKnownAs")) {
+ alsoKnownAs = _json["alsoKnownAs"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("officeIndices")) {
+ officeIndices = _json["officeIndices"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (alsoKnownAs != null) {
+ _json["alsoKnownAs"] = alsoKnownAs;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (officeIndices != null) {
+ _json["officeIndices"] = officeIndices;
+ }
+ return _json;
+ }
+}
+
+
+/** Information about an Office held by one or more Officials. */
+class Office {
+ /** The OCD ID of the division with which this office is associated. */
+ core.String divisionId;
+
+ /**
+ * The levels of government of which this office is part. There may be more
+ * than one in cases where a jurisdiction effectively acts at two different
+ * levels of government; for example, the mayor of the District of Columbia
+ * acts at "locality" level, but also effectively at both
+ * "administrative-area-2" and "administrative-area-1".
+ */
+ core.List<core.String> levels;
+
+ /** The human-readable name of the office. */
+ core.String name;
+
+ /**
+ * List of indices in the officials array of people who presently hold this
+ * office.
+ */
+ core.List<core.int> officialIndices;
+
+ /**
+ * The roles which this office fulfills. Roles are not meant to be exhaustive,
+ * or to exactly specify the entire set of responsibilities of a given office,
+ * but are meant to be rough categories that are useful for general selection
+ * from or sorting of a list of offices.
+ */
+ core.List<core.String> roles;
+
+ /**
+ * A list of sources for this office. If multiple sources are listed, the data
+ * has been aggregated from those sources.
+ */
+ core.List<Source> sources;
+
+
+ Office();
+
+ Office.fromJson(core.Map _json) {
+ if (_json.containsKey("divisionId")) {
+ divisionId = _json["divisionId"];
+ }
+ if (_json.containsKey("levels")) {
+ levels = _json["levels"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("officialIndices")) {
+ officialIndices = _json["officialIndices"];
+ }
+ if (_json.containsKey("roles")) {
+ roles = _json["roles"];
+ }
+ if (_json.containsKey("sources")) {
+ sources = _json["sources"].map((value) => new Source.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (divisionId != null) {
+ _json["divisionId"] = divisionId;
+ }
+ if (levels != null) {
+ _json["levels"] = levels;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (officialIndices != null) {
+ _json["officialIndices"] = officialIndices;
+ }
+ if (roles != null) {
+ _json["roles"] = roles;
+ }
+ if (sources != null) {
+ _json["sources"] = sources.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+
+/** Information about a person holding an elected office. */
+class Official {
+ /** Addresses at which to contact the official. */
+ core.List<SimpleAddressType> address;
+
+ /** A list of known (social) media channels for this official. */
+ core.List<Channel> channels;
+
+ /** The direct email addresses for the official. */
+ core.List<core.String> emails;
+
+ /** The official's name. */
+ core.String name;
+
+ /** The full name of the party the official belongs to. */
+ core.String party;
+
+ /** The official's public contact phone numbers. */
+ core.List<core.String> phones;
+
+ /** A URL for a photo of the official. */
+ core.String photoUrl;
+
+ /** The official's public website URLs. */
+ core.List<core.String> urls;
+
+
+ Official();
+
+ Official.fromJson(core.Map _json) {
+ if (_json.containsKey("address")) {
+ address = _json["address"].map((value) => new SimpleAddressType.fromJson(value)).toList();
+ }
+ if (_json.containsKey("channels")) {
+ channels = _json["channels"].map((value) => new Channel.fromJson(value)).toList();
+ }
+ if (_json.containsKey("emails")) {
+ emails = _json["emails"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("party")) {
+ party = _json["party"];
+ }
+ if (_json.containsKey("phones")) {
+ phones = _json["phones"];
+ }
+ if (_json.containsKey("photoUrl")) {
+ photoUrl = _json["photoUrl"];
+ }
+ if (_json.containsKey("urls")) {
+ urls = _json["urls"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (address != null) {
+ _json["address"] = address.map((value) => (value).toJson()).toList();
+ }
+ if (channels != null) {
+ _json["channels"] = channels.map((value) => (value).toJson()).toList();
+ }
+ if (emails != null) {
+ _json["emails"] = emails;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (party != null) {
+ _json["party"] = party;
+ }
+ if (phones != null) {
+ _json["phones"] = phones;
+ }
+ if (photoUrl != null) {
+ _json["photoUrl"] = photoUrl;
+ }
+ if (urls != null) {
+ _json["urls"] = urls;
+ }
+ return _json;
+ }
+}
+
+
+/**
+ * A location where a voter can vote. This may be an early vote site or an
+ * election day voting location.
+ */
+class PollingLocation {
+ /** The address of the location */
+ SimpleAddressType address;
+
+ /**
+ * The last date that this early vote site may be used. This field is not
+ * populated for polling locations.
+ */
+ core.String endDate;
+
+ /**
+ * An ID for this object. IDs may change in future requests and should not be
+ * cached. Access to this field requires special access that can be requested
+ * from the Request more link on the Quotas page.
+ */
+ core.String id;
+
+ /**
+ * The name of the early vote site. This field is not populated for polling
+ * locations.
+ */
+ core.String name;
+
+ /** Notes about this location (e.g. accessibility ramp or entrance to use) */
+ core.String notes;
+
+ /** A description of when this location is open. */
+ core.String pollingHours;
+
+ /**
+ * A list of sources for this location. If multiple sources are listed the
+ * data has been aggregated from those sources.
+ */
+ core.List<Source> sources;
+
+ /**
+ * The first date that this early vote site may be used. This field is not
+ * populated for polling locations.
+ */
+ core.String startDate;
+
+ /**
+ * The services provided by this early vote site. This field is not populated
+ * for polling locations.
+ */
+ core.String voterServices;
+
+
+ PollingLocation();
+
+ PollingLocation.fromJson(core.Map _json) {
+ if (_json.containsKey("address")) {
+ address = new SimpleAddressType.fromJson(_json["address"]);
+ }
+ if (_json.containsKey("endDate")) {
+ endDate = _json["endDate"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("notes")) {
+ notes = _json["notes"];
+ }
+ if (_json.containsKey("pollingHours")) {
+ pollingHours = _json["pollingHours"];
+ }
+ if (_json.containsKey("sources")) {
+ sources = _json["sources"].map((value) => new Source.fromJson(value)).toList();
+ }
+ if (_json.containsKey("startDate")) {
+ startDate = _json["startDate"];
+ }
+ if (_json.containsKey("voterServices")) {
+ voterServices = _json["voterServices"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (address != null) {
+ _json["address"] = (address).toJson();
+ }
+ if (endDate != null) {
+ _json["endDate"] = endDate;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (notes != null) {
+ _json["notes"] = notes;
+ }
+ if (pollingHours != null) {
+ _json["pollingHours"] = pollingHours;
+ }
+ if (sources != null) {
+ _json["sources"] = sources.map((value) => (value).toJson()).toList();
+ }
+ if (startDate != null) {
+ _json["startDate"] = startDate;
+ }
+ if (voterServices != null) {
+ _json["voterServices"] = voterServices;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class RepresentativeInfoData {
+ /** Political geographic divisions that contain the requested address. */
+ core.Map<core.String, GeographicDivision> divisions;
+
+ /**
+ * Elected offices referenced by the divisions listed above. Will only be
+ * present if includeOffices was true in the request.
+ */
+ core.List<Office> offices;
+
+ /**
+ * Officials holding the offices listed above. Will only be present if
+ * includeOffices was true in the request.
+ */
+ core.List<Official> officials;
+
+
+ RepresentativeInfoData();
+
+ RepresentativeInfoData.fromJson(core.Map _json) {
+ if (_json.containsKey("divisions")) {
+ divisions = common_internal.mapMap(_json["divisions"], (item) => new GeographicDivision.fromJson(item));
+ }
+ if (_json.containsKey("offices")) {
+ offices = _json["offices"].map((value) => new Office.fromJson(value)).toList();
+ }
+ if (_json.containsKey("officials")) {
+ officials = _json["officials"].map((value) => new Official.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (divisions != null) {
+ _json["divisions"] = common_internal.mapMap(divisions, (item) => (item).toJson());
+ }
+ if (offices != null) {
+ _json["offices"] = offices.map((value) => (value).toJson()).toList();
+ }
+ if (officials != null) {
+ _json["officials"] = officials.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+
+/** The result of a representative info lookup query. */
+class RepresentativeInfoResponse {
+ /** Political geographic divisions that contain the requested address. */
+ core.Map<core.String, GeographicDivision> divisions;
+
+ /**
+ * Identifies what kind of resource this is. Value: the fixed string
+ * "civicinfo#representativeInfoResponse".
+ */
+ core.String kind;
+
+ /** The normalized version of the requested address */
+ SimpleAddressType normalizedInput;
+
+ /**
+ * Elected offices referenced by the divisions listed above. Will only be
+ * present if includeOffices was true in the request.
+ */
+ core.List<Office> offices;
+
+ /**
+ * Officials holding the offices listed above. Will only be present if
+ * includeOffices was true in the request.
+ */
+ core.List<Official> officials;
+
+
+ RepresentativeInfoResponse();
+
+ RepresentativeInfoResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("divisions")) {
+ divisions = common_internal.mapMap(_json["divisions"], (item) => new GeographicDivision.fromJson(item));
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("normalizedInput")) {
+ normalizedInput = new SimpleAddressType.fromJson(_json["normalizedInput"]);
+ }
+ if (_json.containsKey("offices")) {
+ offices = _json["offices"].map((value) => new Office.fromJson(value)).toList();
+ }
+ if (_json.containsKey("officials")) {
+ officials = _json["officials"].map((value) => new Official.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (divisions != null) {
+ _json["divisions"] = common_internal.mapMap(divisions, (item) => (item).toJson());
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (normalizedInput != null) {
+ _json["normalizedInput"] = (normalizedInput).toJson();
+ }
+ if (offices != null) {
+ _json["offices"] = offices.map((value) => (value).toJson()).toList();
+ }
+ if (officials != null) {
+ _json["officials"] = officials.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+
+/** A simple representation of an address. */
+class SimpleAddressType {
+ /** The city or town for the address. */
+ core.String city;
+
+ /** The street name and number of this address. */
+ core.String line1;
+
+ /** The second line the address, if needed. */
+ core.String line2;
+
+ /** The third line of the address, if needed. */
+ core.String line3;
+
+ /** The name of the location. */
+ core.String locationName;
+
+ /** The US two letter state abbreviation of the address. */
+ core.String state;
+
+ /** The US Postal Zip Code of the address. */
+ core.String zip;
+
+
+ SimpleAddressType();
+
+ SimpleAddressType.fromJson(core.Map _json) {
+ if (_json.containsKey("city")) {
+ city = _json["city"];
+ }
+ if (_json.containsKey("line1")) {
+ line1 = _json["line1"];
+ }
+ if (_json.containsKey("line2")) {
+ line2 = _json["line2"];
+ }
+ if (_json.containsKey("line3")) {
+ line3 = _json["line3"];
+ }
+ if (_json.containsKey("locationName")) {
+ locationName = _json["locationName"];
+ }
+ if (_json.containsKey("state")) {
+ state = _json["state"];
+ }
+ if (_json.containsKey("zip")) {
+ zip = _json["zip"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (city != null) {
+ _json["city"] = city;
+ }
+ if (line1 != null) {
+ _json["line1"] = line1;
+ }
+ if (line2 != null) {
+ _json["line2"] = line2;
+ }
+ if (line3 != null) {
+ _json["line3"] = line3;
+ }
+ if (locationName != null) {
+ _json["locationName"] = locationName;
+ }
+ if (state != null) {
+ _json["state"] = state;
+ }
+ if (zip != null) {
+ _json["zip"] = zip;
+ }
+ return _json;
+ }
+}
+
+
+/**
+ * Contains information about the data source for the element containing it.
+ */
+class Source {
+ /** The name of the data source. */
+ core.String name;
+
+ /** Whether this data comes from an official government source. */
+ core.bool official;
+
+
+ Source();
+
+ Source.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("official")) {
+ official = _json["official"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (official != null) {
+ _json["official"] = official;
+ }
+ return _json;
+ }
+}
+
+
+/** The result of a voter info lookup query. */
+class VoterInfoResponse {
+ /** Contests that will appear on the voter's ballot */
+ core.List<Contest> contests;
+
+ /**
+ * Locations where the voter is eligible to vote early, prior to election day
+ */
+ core.List<PollingLocation> earlyVoteSites;
+
+ /** The election that was queried. */
+ Election election;
+
+ /**
+ * Identifies what kind of resource this is. Value: the fixed string
+ * "civicinfo#voterInfoResponse".
+ */
+ core.String kind;
+
+ /** The normalized version of the requested address */
+ SimpleAddressType normalizedInput;
+
+ /**
+ * If no election ID was specified in the query, and there was more than one
+ * election with data for the given voter, this will contain information about
+ * the other elections that could apply.
+ */
+ core.List<Election> otherElections;
+
+ /**
+ * Locations where the voter is eligible to vote on election day. For states
+ * with mail-in voting only, these locations will be nearby drop box
+ * locations. Drop box locations are free to the voter and may be used instead
+ * of placing the ballot in the mail.
+ */
+ core.List<PollingLocation> pollingLocations;
+
+ /** Not documented yet. */
+ core.String precinctId;
+
+ /**
+ * Local Election Information for the state that the voter votes in. For the
+ * US, there will only be one element in this array.
+ */
+ core.List<AdministrationRegion> state;
+
+
+ VoterInfoResponse();
+
+ VoterInfoResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("contests")) {
+ contests = _json["contests"].map((value) => new Contest.fromJson(value)).toList();
+ }
+ if (_json.containsKey("earlyVoteSites")) {
+ earlyVoteSites = _json["earlyVoteSites"].map((value) => new PollingLocation.fromJson(value)).toList();
+ }
+ if (_json.containsKey("election")) {
+ election = new Election.fromJson(_json["election"]);
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("normalizedInput")) {
+ normalizedInput = new SimpleAddressType.fromJson(_json["normalizedInput"]);
+ }
+ if (_json.containsKey("otherElections")) {
+ otherElections = _json["otherElections"].map((value) => new Election.fromJson(value)).toList();
+ }
+ if (_json.containsKey("pollingLocations")) {
+ pollingLocations = _json["pollingLocations"].map((value) => new PollingLocation.fromJson(value)).toList();
+ }
+ if (_json.containsKey("precinctId")) {
+ precinctId = _json["precinctId"];
+ }
+ if (_json.containsKey("state")) {
+ state = _json["state"].map((value) => new AdministrationRegion.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (contests != null) {
+ _json["contests"] = contests.map((value) => (value).toJson()).toList();
+ }
+ if (earlyVoteSites != null) {
+ _json["earlyVoteSites"] = earlyVoteSites.map((value) => (value).toJson()).toList();
+ }
+ if (election != null) {
+ _json["election"] = (election).toJson();
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (normalizedInput != null) {
+ _json["normalizedInput"] = (normalizedInput).toJson();
+ }
+ if (otherElections != null) {
+ _json["otherElections"] = otherElections.map((value) => (value).toJson()).toList();
+ }
+ if (pollingLocations != null) {
+ _json["pollingLocations"] = pollingLocations.map((value) => (value).toJson()).toList();
+ }
+ if (precinctId != null) {
+ _json["precinctId"] = precinctId;
+ }
+ if (state != null) {
+ _json["state"] = state.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+
diff --git a/generated/googleapis/lib/src/common_internal.dart b/generated/googleapis/lib/src/common_internal.dart
index 2b60eb2..790aa9f 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.0';
+ 'google-api-dart-client googleapis/0.2.1';
const CONTENT_TYPE_JSON_UTF8 = 'application/json; charset=utf-8';
diff --git a/generated/googleapis/lib/webmasters/v3.dart b/generated/googleapis/lib/webmasters/v3.dart
new file mode 100644
index 0000000..6c88714
--- /dev/null
+++ b/generated/googleapis/lib/webmasters/v3.dart
@@ -0,0 +1,1160 @@
+library googleapis.webmasters.v3;
+
+import "dart:core" as core;
+import "dart:collection" as collection;
+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 view Google Webmaster Tools data for your verified sites. */
+class WebmastersApi {
+ /** View and modify Webmaster Tools data for your verified sites */
+ static const WebmastersScope = "https://www.googleapis.com/auth/webmasters";
+
+ /** View Webmaster Tools data for your verified sites */
+ static const WebmastersReadonlyScope = "https://www.googleapis.com/auth/webmasters.readonly";
+
+
+ final common_internal.ApiRequester _requester;
+
+ SitemapsResourceApi get sitemaps => new SitemapsResourceApi(_requester);
+ SitesResourceApi get sites => new SitesResourceApi(_requester);
+ UrlcrawlerrorscountsResourceApi get urlcrawlerrorscounts => new UrlcrawlerrorscountsResourceApi(_requester);
+ UrlcrawlerrorssamplesResourceApi get urlcrawlerrorssamples => new UrlcrawlerrorssamplesResourceApi(_requester);
+
+ WebmastersApi(http.Client client) :
+ _requester = new common_internal.ApiRequester(client, "https://www.googleapis.com/", "webmasters/v3/");
+}
+
+
+/** Not documented yet. */
+class SitemapsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ SitemapsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Deletes a sitemap from this site.
+ *
+ * Request parameters:
+ *
+ * [siteUrl] - The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ *
+ * [feedpath] - The URL of the actual sitemap (for example
+ * http://www.example.com/sitemap.xml).
+ *
+ * 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 siteUrl, core.String feedpath) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (siteUrl == null) {
+ throw new core.ArgumentError("Parameter siteUrl is required.");
+ }
+ if (feedpath == null) {
+ throw new core.ArgumentError("Parameter feedpath is required.");
+ }
+
+ _downloadOptions = null;
+
+ _url = 'sites/' + common_internal.Escaper.ecapeVariable('$siteUrl') + '/sitemaps/' + common_internal.Escaper.ecapeVariable('$feedpath');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => null);
+ }
+
+ /**
+ * Retrieves information about a specific sitemap.
+ *
+ * Request parameters:
+ *
+ * [siteUrl] - The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ *
+ * [feedpath] - The URL of the actual sitemap (for example
+ * http://www.example.com/sitemap.xml).
+ *
+ * Completes with a [WmxSitemap].
+ *
+ * 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<WmxSitemap> get(core.String siteUrl, core.String feedpath) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (siteUrl == null) {
+ throw new core.ArgumentError("Parameter siteUrl is required.");
+ }
+ if (feedpath == null) {
+ throw new core.ArgumentError("Parameter feedpath is required.");
+ }
+
+
+ _url = 'sites/' + common_internal.Escaper.ecapeVariable('$siteUrl') + '/sitemaps/' + common_internal.Escaper.ecapeVariable('$feedpath');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new WmxSitemap.fromJson(data));
+ }
+
+ /**
+ * Lists sitemaps uploaded to the site.
+ *
+ * Request parameters:
+ *
+ * [siteUrl] - The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ *
+ * [sitemapIndex] - A URL of a site's sitemap index.
+ *
+ * Completes with a [SitemapsListResponse].
+ *
+ * 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<SitemapsListResponse> list(core.String siteUrl, {core.String sitemapIndex}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (siteUrl == null) {
+ throw new core.ArgumentError("Parameter siteUrl is required.");
+ }
+ if (sitemapIndex != null) {
+ _queryParams["sitemapIndex"] = [sitemapIndex];
+ }
+
+
+ _url = 'sites/' + common_internal.Escaper.ecapeVariable('$siteUrl') + '/sitemaps';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new SitemapsListResponse.fromJson(data));
+ }
+
+ /**
+ * Submits a sitemap for a site.
+ *
+ * Request parameters:
+ *
+ * [siteUrl] - The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ *
+ * [feedpath] - The URL of the sitemap to add.
+ *
+ * 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 submit(core.String siteUrl, core.String feedpath) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (siteUrl == null) {
+ throw new core.ArgumentError("Parameter siteUrl is required.");
+ }
+ if (feedpath == null) {
+ throw new core.ArgumentError("Parameter feedpath is required.");
+ }
+
+ _downloadOptions = null;
+
+ _url = 'sites/' + common_internal.Escaper.ecapeVariable('$siteUrl') + '/sitemaps/' + common_internal.Escaper.ecapeVariable('$feedpath');
+
+ var _response = _requester.request(_url,
+ "PUT",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => null);
+ }
+
+}
+
+
+/** Not documented yet. */
+class SitesResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ SitesResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Adds a site to the set of the user's sites in Webmaster Tools.
+ *
+ * Request parameters:
+ *
+ * [siteUrl] - The URL of the site to add.
+ *
+ * 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 add(core.String siteUrl) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (siteUrl == null) {
+ throw new core.ArgumentError("Parameter siteUrl is required.");
+ }
+
+ _downloadOptions = null;
+
+ _url = 'sites/' + common_internal.Escaper.ecapeVariable('$siteUrl');
+
+ var _response = _requester.request(_url,
+ "PUT",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => null);
+ }
+
+ /**
+ * Removes a site from the set of the user's Webmaster Tools sites.
+ *
+ * Request parameters:
+ *
+ * [siteUrl] - The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ *
+ * 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 siteUrl) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (siteUrl == null) {
+ throw new core.ArgumentError("Parameter siteUrl is required.");
+ }
+
+ _downloadOptions = null;
+
+ _url = 'sites/' + common_internal.Escaper.ecapeVariable('$siteUrl');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => null);
+ }
+
+ /**
+ * Retrieves information about specific site.
+ *
+ * Request parameters:
+ *
+ * [siteUrl] - The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ *
+ * Completes with a [WmxSite].
+ *
+ * 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<WmxSite> get(core.String siteUrl) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (siteUrl == null) {
+ throw new core.ArgumentError("Parameter siteUrl is required.");
+ }
+
+
+ _url = 'sites/' + common_internal.Escaper.ecapeVariable('$siteUrl');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new WmxSite.fromJson(data));
+ }
+
+ /**
+ * Lists your Webmaster Tools sites.
+ *
+ * Request parameters:
+ *
+ * Completes with a [SitesListResponse].
+ *
+ * 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<SitesListResponse> list() {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+
+
+ _url = 'sites';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new SitesListResponse.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class UrlcrawlerrorscountsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ UrlcrawlerrorscountsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Retrieves a time series of the number of URL crawl errors per error
+ * category and platform.
+ *
+ * Request parameters:
+ *
+ * [siteUrl] - The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ *
+ * [category] - The crawl error category, for example 'serverError'. If not
+ * specified, we return results for all categories.
+ * Possible string values are:
+ * - "authPermissions"
+ * - "manyToOneRedirect"
+ * - "notFollowed"
+ * - "notFound"
+ * - "other"
+ * - "roboted"
+ * - "serverError"
+ * - "soft404"
+ *
+ * [latestCountsOnly] - If true, returns only the latest crawl error counts.
+ *
+ * [platform] - The user agent type (platform) that made the request, for
+ * example 'web'. If not specified, we return results for all platforms.
+ * Possible string values are:
+ * - "mobile"
+ * - "smartphoneOnly"
+ * - "web"
+ *
+ * Completes with a [UrlCrawlErrorsCountsQueryResponse].
+ *
+ * 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<UrlCrawlErrorsCountsQueryResponse> query(core.String siteUrl, {core.String category, core.bool latestCountsOnly, core.String platform}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (siteUrl == null) {
+ throw new core.ArgumentError("Parameter siteUrl is required.");
+ }
+ if (category != null) {
+ _queryParams["category"] = [category];
+ }
+ if (latestCountsOnly != null) {
+ _queryParams["latestCountsOnly"] = ["${latestCountsOnly}"];
+ }
+ if (platform != null) {
+ _queryParams["platform"] = [platform];
+ }
+
+
+ _url = 'sites/' + common_internal.Escaper.ecapeVariable('$siteUrl') + '/urlCrawlErrorsCounts/query';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new UrlCrawlErrorsCountsQueryResponse.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class UrlcrawlerrorssamplesResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ UrlcrawlerrorssamplesResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Retrieves details about crawl errors for a site's sample URL.
+ *
+ * Request parameters:
+ *
+ * [siteUrl] - The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ *
+ * [url] - The relative path (without the site) of the sample URL; must be one
+ * of the URLs returned by list
+ *
+ * [category] - The crawl error category, for example 'authPermissions'
+ * Possible string values are:
+ * - "authPermissions"
+ * - "manyToOneRedirect"
+ * - "notFollowed"
+ * - "notFound"
+ * - "other"
+ * - "roboted"
+ * - "serverError"
+ * - "soft404"
+ *
+ * [platform] - The user agent type (platform) that made the request, for
+ * example 'web'
+ * Possible string values are:
+ * - "mobile"
+ * - "smartphoneOnly"
+ * - "web"
+ *
+ * Completes with a [UrlCrawlErrorsSample].
+ *
+ * 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<UrlCrawlErrorsSample> get(core.String siteUrl, core.String url, core.String category, core.String platform) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (siteUrl == null) {
+ throw new core.ArgumentError("Parameter siteUrl is required.");
+ }
+ if (url == null) {
+ throw new core.ArgumentError("Parameter url is required.");
+ }
+ if (category == null) {
+ throw new core.ArgumentError("Parameter category is required.");
+ }
+ _queryParams["category"] = [category];
+ if (platform == null) {
+ throw new core.ArgumentError("Parameter platform is required.");
+ }
+ _queryParams["platform"] = [platform];
+
+
+ _url = 'sites/' + common_internal.Escaper.ecapeVariable('$siteUrl') + '/urlCrawlErrorsSamples/' + common_internal.Escaper.ecapeVariable('$url');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new UrlCrawlErrorsSample.fromJson(data));
+ }
+
+ /**
+ * Lists a site's sample URLs for the specified crawl error category and
+ * platform.
+ *
+ * Request parameters:
+ *
+ * [siteUrl] - The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ *
+ * [category] - The crawl error category, for example 'authPermissions'
+ * Possible string values are:
+ * - "authPermissions"
+ * - "manyToOneRedirect"
+ * - "notFollowed"
+ * - "notFound"
+ * - "other"
+ * - "roboted"
+ * - "serverError"
+ * - "soft404"
+ *
+ * [platform] - The user agent type (platform) that made the request, for
+ * example 'web'
+ * Possible string values are:
+ * - "mobile"
+ * - "smartphoneOnly"
+ * - "web"
+ *
+ * Completes with a [UrlCrawlErrorsSamplesListResponse].
+ *
+ * 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<UrlCrawlErrorsSamplesListResponse> list(core.String siteUrl, core.String category, core.String platform) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (siteUrl == null) {
+ throw new core.ArgumentError("Parameter siteUrl is required.");
+ }
+ if (category == null) {
+ throw new core.ArgumentError("Parameter category is required.");
+ }
+ _queryParams["category"] = [category];
+ if (platform == null) {
+ throw new core.ArgumentError("Parameter platform is required.");
+ }
+ _queryParams["platform"] = [platform];
+
+
+ _url = 'sites/' + common_internal.Escaper.ecapeVariable('$siteUrl') + '/urlCrawlErrorsSamples';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new UrlCrawlErrorsSamplesListResponse.fromJson(data));
+ }
+
+ /**
+ * Marks the provided site's sample URL as fixed, and removes it from the
+ * samples list.
+ *
+ * Request parameters:
+ *
+ * [siteUrl] - The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ *
+ * [url] - The relative path (without the site) of the sample URL; must be one
+ * of the URLs returned by list
+ *
+ * [category] - The crawl error category, for example 'authPermissions'
+ * Possible string values are:
+ * - "authPermissions"
+ * - "manyToOneRedirect"
+ * - "notFollowed"
+ * - "notFound"
+ * - "other"
+ * - "roboted"
+ * - "serverError"
+ * - "soft404"
+ *
+ * [platform] - The user agent type (platform) that made the request, for
+ * example 'web'
+ * Possible string values are:
+ * - "mobile"
+ * - "smartphoneOnly"
+ * - "web"
+ *
+ * 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 markAsFixed(core.String siteUrl, core.String url, core.String category, core.String platform) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = common.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (siteUrl == null) {
+ throw new core.ArgumentError("Parameter siteUrl is required.");
+ }
+ if (url == null) {
+ throw new core.ArgumentError("Parameter url is required.");
+ }
+ if (category == null) {
+ throw new core.ArgumentError("Parameter category is required.");
+ }
+ _queryParams["category"] = [category];
+ if (platform == null) {
+ throw new core.ArgumentError("Parameter platform is required.");
+ }
+ _queryParams["platform"] = [platform];
+
+ _downloadOptions = null;
+
+ _url = 'sites/' + common_internal.Escaper.ecapeVariable('$siteUrl') + '/urlCrawlErrorsSamples/' + common_internal.Escaper.ecapeVariable('$url');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => null);
+ }
+
+}
+
+
+
+/** List of sitemaps. */
+class SitemapsListResponse {
+ /** Information about a sitemap entry. */
+ core.List<WmxSitemap> sitemap;
+
+
+ SitemapsListResponse();
+
+ SitemapsListResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("sitemap")) {
+ sitemap = _json["sitemap"].map((value) => new WmxSitemap.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (sitemap != null) {
+ _json["sitemap"] = sitemap.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+
+/** List of sites with access level information. */
+class SitesListResponse {
+ /** Access level information for a Webmaster Tools site. */
+ core.List<WmxSite> siteEntry;
+
+
+ SitesListResponse();
+
+ SitesListResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("siteEntry")) {
+ siteEntry = _json["siteEntry"].map((value) => new WmxSite.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (siteEntry != null) {
+ _json["siteEntry"] = siteEntry.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+
+/** An entry in a URL crawl errors time series. */
+class UrlCrawlErrorCount {
+ /** The error count at the given timestamp. */
+ core.String count;
+
+ /** The time (well, date) when errors were detected, in RFC 3339 format. */
+ core.DateTime timestamp;
+
+
+ UrlCrawlErrorCount();
+
+ UrlCrawlErrorCount.fromJson(core.Map _json) {
+ if (_json.containsKey("count")) {
+ count = _json["count"];
+ }
+ if (_json.containsKey("timestamp")) {
+ timestamp = core.DateTime.parse(_json["timestamp"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (count != null) {
+ _json["count"] = count;
+ }
+ if (timestamp != null) {
+ _json["timestamp"] = (timestamp).toIso8601String();
+ }
+ return _json;
+ }
+}
+
+
+/**
+ * Number of errors per day for a specific error type (defined by platform and
+ * category).
+ */
+class UrlCrawlErrorCountsPerType {
+ /** The crawl error type. */
+ core.String category;
+
+ /** The error count entries time series. */
+ core.List<UrlCrawlErrorCount> entries;
+
+ /** Corresponding to the user agent that made the request. */
+ core.String platform;
+
+
+ UrlCrawlErrorCountsPerType();
+
+ UrlCrawlErrorCountsPerType.fromJson(core.Map _json) {
+ if (_json.containsKey("category")) {
+ category = _json["category"];
+ }
+ if (_json.containsKey("entries")) {
+ entries = _json["entries"].map((value) => new UrlCrawlErrorCount.fromJson(value)).toList();
+ }
+ if (_json.containsKey("platform")) {
+ platform = _json["platform"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (category != null) {
+ _json["category"] = category;
+ }
+ if (entries != null) {
+ _json["entries"] = entries.map((value) => (value).toJson()).toList();
+ }
+ if (platform != null) {
+ _json["platform"] = platform;
+ }
+ return _json;
+ }
+}
+
+
+/**
+ * A time series of the number of URL crawl errors per error category and
+ * platform.
+ */
+class UrlCrawlErrorsCountsQueryResponse {
+ /**
+ * The time series of the number of URL crawl errors for per error category
+ * and platform.
+ */
+ core.List<UrlCrawlErrorCountsPerType> countPerTypes;
+
+
+ UrlCrawlErrorsCountsQueryResponse();
+
+ UrlCrawlErrorsCountsQueryResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("countPerTypes")) {
+ countPerTypes = _json["countPerTypes"].map((value) => new UrlCrawlErrorCountsPerType.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (countPerTypes != null) {
+ _json["countPerTypes"] = countPerTypes.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class UrlCrawlErrorsSample {
+ /** The time the error was first detected, in RFC 3339 format. */
+ core.DateTime firstDetected;
+
+ /** The time when the URL was last crawled, in RFC 3339 format. */
+ core.DateTime lastCrawled;
+
+ /** The URL of an error, relative to the site. */
+ core.String pageUrl;
+
+ /** The HTTP response code, if any. */
+ core.int responseCode;
+
+ /** Additional details about the URL, set only when calling get(). */
+ UrlSampleDetails urlDetails;
+
+
+ UrlCrawlErrorsSample();
+
+ UrlCrawlErrorsSample.fromJson(core.Map _json) {
+ if (_json.containsKey("first_detected")) {
+ firstDetected = core.DateTime.parse(_json["first_detected"]);
+ }
+ if (_json.containsKey("last_crawled")) {
+ lastCrawled = core.DateTime.parse(_json["last_crawled"]);
+ }
+ if (_json.containsKey("pageUrl")) {
+ pageUrl = _json["pageUrl"];
+ }
+ if (_json.containsKey("responseCode")) {
+ responseCode = _json["responseCode"];
+ }
+ if (_json.containsKey("urlDetails")) {
+ urlDetails = new UrlSampleDetails.fromJson(_json["urlDetails"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (firstDetected != null) {
+ _json["first_detected"] = (firstDetected).toIso8601String();
+ }
+ if (lastCrawled != null) {
+ _json["last_crawled"] = (lastCrawled).toIso8601String();
+ }
+ if (pageUrl != null) {
+ _json["pageUrl"] = pageUrl;
+ }
+ if (responseCode != null) {
+ _json["responseCode"] = responseCode;
+ }
+ if (urlDetails != null) {
+ _json["urlDetails"] = (urlDetails).toJson();
+ }
+ return _json;
+ }
+}
+
+
+/** List of crawl error samples. */
+class UrlCrawlErrorsSamplesListResponse {
+ /** Information about the sample URL and its crawl error. */
+ core.List<UrlCrawlErrorsSample> urlCrawlErrorSample;
+
+
+ UrlCrawlErrorsSamplesListResponse();
+
+ UrlCrawlErrorsSamplesListResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("urlCrawlErrorSample")) {
+ urlCrawlErrorSample = _json["urlCrawlErrorSample"].map((value) => new UrlCrawlErrorsSample.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (urlCrawlErrorSample != null) {
+ _json["urlCrawlErrorSample"] = urlCrawlErrorSample.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+
+/** Additional details about the URL, set only when calling get(). */
+class UrlSampleDetails {
+ /** List of sitemaps pointing at this URL. */
+ core.List<core.String> containingSitemaps;
+
+ /** A sample set of URLs linking to this URL. */
+ core.List<core.String> linkedFromUrls;
+
+
+ UrlSampleDetails();
+
+ UrlSampleDetails.fromJson(core.Map _json) {
+ if (_json.containsKey("containingSitemaps")) {
+ containingSitemaps = _json["containingSitemaps"];
+ }
+ if (_json.containsKey("linkedFromUrls")) {
+ linkedFromUrls = _json["linkedFromUrls"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (containingSitemaps != null) {
+ _json["containingSitemaps"] = containingSitemaps;
+ }
+ if (linkedFromUrls != null) {
+ _json["linkedFromUrls"] = linkedFromUrls;
+ }
+ return _json;
+ }
+}
+
+
+/** Access level information for a Webmaster Tools site. */
+class WmxSite {
+ /** The user's permission level for the site. */
+ core.String permissionLevel;
+
+ /** The URL of the site. */
+ core.String siteUrl;
+
+
+ WmxSite();
+
+ WmxSite.fromJson(core.Map _json) {
+ if (_json.containsKey("permissionLevel")) {
+ permissionLevel = _json["permissionLevel"];
+ }
+ if (_json.containsKey("siteUrl")) {
+ siteUrl = _json["siteUrl"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (permissionLevel != null) {
+ _json["permissionLevel"] = permissionLevel;
+ }
+ if (siteUrl != null) {
+ _json["siteUrl"] = siteUrl;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class WmxSitemap {
+ /** The various content types in the sitemap. */
+ core.List<WmxSitemapContent> contents;
+
+ /**
+ * Number of errors in the sitemap - issues with the sitemap itself, that
+ * needs to be fixed before it can be processed correctly.
+ */
+ core.String errors;
+
+ /** If true, the sitemap has not been processed. */
+ core.bool isPending;
+
+ /** If true, the sitemap is a collection of sitemaps. */
+ core.bool isSitemapsIndex;
+
+ /**
+ * Date & time in which this sitemap was last downloaded. Date format is in
+ * RFC 3339 format (yyyy-mm-dd).
+ */
+ core.DateTime lastDownloaded;
+
+ /**
+ * Date & time in which this sitemap was submitted. Date format is in RFC 3339
+ * format (yyyy-mm-dd).
+ */
+ core.DateTime lastSubmitted;
+
+ /** The url of the sitemap. */
+ core.String path;
+
+ /** The type of the sitemap (for example "sitemap"). */
+ core.String type;
+
+ /** Number of warnings for the sitemap - issues with URLs in the sitemaps. */
+ core.String warnings;
+
+
+ WmxSitemap();
+
+ WmxSitemap.fromJson(core.Map _json) {
+ if (_json.containsKey("contents")) {
+ contents = _json["contents"].map((value) => new WmxSitemapContent.fromJson(value)).toList();
+ }
+ if (_json.containsKey("errors")) {
+ errors = _json["errors"];
+ }
+ if (_json.containsKey("isPending")) {
+ isPending = _json["isPending"];
+ }
+ if (_json.containsKey("isSitemapsIndex")) {
+ isSitemapsIndex = _json["isSitemapsIndex"];
+ }
+ if (_json.containsKey("lastDownloaded")) {
+ lastDownloaded = core.DateTime.parse(_json["lastDownloaded"]);
+ }
+ if (_json.containsKey("lastSubmitted")) {
+ lastSubmitted = core.DateTime.parse(_json["lastSubmitted"]);
+ }
+ if (_json.containsKey("path")) {
+ path = _json["path"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ if (_json.containsKey("warnings")) {
+ warnings = _json["warnings"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (contents != null) {
+ _json["contents"] = contents.map((value) => (value).toJson()).toList();
+ }
+ if (errors != null) {
+ _json["errors"] = errors;
+ }
+ if (isPending != null) {
+ _json["isPending"] = isPending;
+ }
+ if (isSitemapsIndex != null) {
+ _json["isSitemapsIndex"] = isSitemapsIndex;
+ }
+ if (lastDownloaded != null) {
+ _json["lastDownloaded"] = (lastDownloaded).toIso8601String();
+ }
+ if (lastSubmitted != null) {
+ _json["lastSubmitted"] = (lastSubmitted).toIso8601String();
+ }
+ if (path != null) {
+ _json["path"] = path;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
+ if (warnings != null) {
+ _json["warnings"] = warnings;
+ }
+ return _json;
+ }
+}
+
+
+/** Information about the various content types in the sitemap. */
+class WmxSitemapContent {
+ /**
+ * The number of URLs from the sitemap that were indexed (of the content
+ * type).
+ */
+ core.String indexed;
+
+ /** The number of URLs in the sitemap (of the content type). */
+ core.String submitted;
+
+ /**
+ * The specific type of content in this sitemap (for example "web", "images").
+ */
+ core.String type;
+
+
+ WmxSitemapContent();
+
+ WmxSitemapContent.fromJson(core.Map _json) {
+ if (_json.containsKey("indexed")) {
+ indexed = _json["indexed"];
+ }
+ if (_json.containsKey("submitted")) {
+ submitted = _json["submitted"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (indexed != null) {
+ _json["indexed"] = indexed;
+ }
+ if (submitted != null) {
+ _json["submitted"] = submitted;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
+ return _json;
+ }
+}
+
+
diff --git a/generated/googleapis/lib/youtube/v3.dart b/generated/googleapis/lib/youtube/v3.dart
index 0f0fca2..aa96212 100644
--- a/generated/googleapis/lib/youtube/v3.dart
+++ b/generated/googleapis/lib/youtube/v3.dart
@@ -6414,6 +6414,16 @@
core.bool isLinked;
/**
+ * The long uploads status of this channel. See
+ * Possible string values are:
+ * - "allowed"
+ * - "disallowed"
+ * - "eligible"
+ * - "longUploadsUnspecified"
+ */
+ core.String longUploadsStatus;
+
+ /**
* Privacy status of the channel.
* Possible string values are:
* - "private"
@@ -6429,6 +6439,9 @@
if (_json.containsKey("isLinked")) {
isLinked = _json["isLinked"];
}
+ if (_json.containsKey("longUploadsStatus")) {
+ longUploadsStatus = _json["longUploadsStatus"];
+ }
if (_json.containsKey("privacyStatus")) {
privacyStatus = _json["privacyStatus"];
}
@@ -6439,6 +6452,9 @@
if (isLinked != null) {
_json["isLinked"] = isLinked;
}
+ if (longUploadsStatus != null) {
+ _json["longUploadsStatus"] = longUploadsStatus;
+ }
if (privacyStatus != null) {
_json["privacyStatus"] = privacyStatus;
}
@@ -8648,6 +8664,15 @@
*/
InvideoPosition position;
+ /**
+ * Indicates whether the channel's promotional campaign uses "smart timing."
+ * This feature attempts to show promotions at a point in the video when they
+ * are more likely to be clicked and less likely to disrupt the viewing
+ * experience. This feature also picks up a single promotion to show on each
+ * video.
+ */
+ core.bool useSmartTiming;
+
InvideoPromotion();
@@ -8661,6 +8686,9 @@
if (_json.containsKey("position")) {
position = new InvideoPosition.fromJson(_json["position"]);
}
+ if (_json.containsKey("useSmartTiming")) {
+ useSmartTiming = _json["useSmartTiming"];
+ }
}
core.Map toJson() {
@@ -8674,6 +8702,9 @@
if (position != null) {
_json["position"] = (position).toJson();
}
+ if (useSmartTiming != null) {
+ _json["useSmartTiming"] = useSmartTiming;
+ }
return _json;
}
}
@@ -9368,6 +9399,25 @@
/** The ingestion URL where the closed captions of this stream are sent. */
core.String closedCaptionsIngestionUrl;
+ /**
+ * Indicates whether the stream is reusable, which means that it can be bound
+ * to multiple broadcasts. It is common for broadcasters to reuse the same
+ * stream for many different broadcasts if those broadcasts occur at different
+ * times.
+ *
+ * If you set this value to false, then the stream will not be reusable, which
+ * means that it can only be bound to one broadcast. Non-reusable streams
+ * differ from reusable streams in the following ways:
+ * - A non-reusable stream can only be bound to one broadcast.
+ * - A non-reusable stream might be deleted by an automated process after the
+ * broadcast ends.
+ * - The liveStreams.list method does not list non-reusable streams if you
+ * call the method and set the mine parameter to true. The only way to use
+ * that method to retrieve the resource for a non-reusable stream is to use
+ * the id parameter to identify the stream.
+ */
+ core.bool isReusable;
+
LiveStreamContentDetails();
@@ -9375,6 +9425,9 @@
if (_json.containsKey("closedCaptionsIngestionUrl")) {
closedCaptionsIngestionUrl = _json["closedCaptionsIngestionUrl"];
}
+ if (_json.containsKey("isReusable")) {
+ isReusable = _json["isReusable"];
+ }
}
core.Map toJson() {
@@ -9382,6 +9435,9 @@
if (closedCaptionsIngestionUrl != null) {
_json["closedCaptionsIngestionUrl"] = closedCaptionsIngestionUrl;
}
+ if (isReusable != null) {
+ _json["isReusable"] = isReusable;
+ }
return _json;
}
}
diff --git a/generated/googleapis/pubspec.yaml b/generated/googleapis/pubspec.yaml
index b8648e0..9d69ef6 100644
--- a/generated/googleapis/pubspec.yaml
+++ b/generated/googleapis/pubspec.yaml
@@ -1,8 +1,8 @@
name: googleapis
-version: 0.2.0
+version: 0.2.1
author: Dart Team <misc@dartlang.org>
-description: "Auto-generated client libraries for accessing the following APIs:adexchangebuyer:v1.3, adexchangeseller:v1.1, 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, 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, youtube:v3, youtubeAnalytics:v1"
-homepage: http://www.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"
+homepage: http://www.dartlang.org/googleapis/
environment:
sdk: '>=1.0.0 <2.0.0'
dependencies:
diff --git a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
index ae05655..f29db6d 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
@@ -39,14 +39,14 @@
buildCounterAccountBidderLocation--;
}
-buildUnnamed565() {
+buildUnnamed656() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed565(core.List<api.AccountBidderLocation> o) {
+checkUnnamed656(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 = buildUnnamed565();
+ o.bidderLocation = buildUnnamed656();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -71,7 +71,7 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed565(o.bidderLocation);
+ checkUnnamed656(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--;
}
-buildUnnamed566() {
+buildUnnamed657() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed566(core.List<api.Account> o) {
+checkUnnamed657(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 = buildUnnamed566();
+ o.items = buildUnnamed657();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -109,20 +109,20 @@
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed566(o.items);
+ checkUnnamed657(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed567() {
+buildUnnamed658() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed567(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'));
@@ -135,7 +135,7 @@
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed567();
+ o.billingId = buildUnnamed658();
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'));
- checkUnnamed567(o.billingId);
+ checkUnnamed658(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed568() {
+buildUnnamed659() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed568(core.List<api.BillingInfo> o) {
+checkUnnamed659(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 = buildUnnamed568();
+ o.items = buildUnnamed659();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -181,59 +181,59 @@
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed568(o.items);
+ checkUnnamed659(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
}
-buildUnnamed569() {
+buildUnnamed660() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed569(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'));
}
-buildUnnamed570() {
+buildUnnamed661() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed570(core.List<core.int> o) {
+checkUnnamed661(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));
}
-buildUnnamed571() {
+buildUnnamed662() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed571(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'));
}
-buildUnnamed572() {
+buildUnnamed663() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed572(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'));
@@ -244,7 +244,7 @@
var o = new api.CreativeCorrections();
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- o.details = buildUnnamed572();
+ o.details = buildUnnamed663();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -254,33 +254,33 @@
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed572(o.details);
+ checkUnnamed663(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed573() {
+buildUnnamed664() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed573(core.List<api.CreativeCorrections> o) {
+checkUnnamed664(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed574() {
+buildUnnamed665() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed574(core.List<core.String> o) {
+checkUnnamed665(core.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 = buildUnnamed574();
+ o.details = buildUnnamed665();
o.reason = "foo";
}
buildCounterCreativeDisapprovalReasons--;
@@ -301,20 +301,20 @@
checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- checkUnnamed574(o.details);
+ checkUnnamed665(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeDisapprovalReasons--;
}
-buildUnnamed575() {
+buildUnnamed666() {
var o = new core.List<api.CreativeDisapprovalReasons>();
o.add(buildCreativeDisapprovalReasons());
o.add(buildCreativeDisapprovalReasons());
return o;
}
-checkUnnamed575(core.List<api.CreativeDisapprovalReasons> o) {
+checkUnnamed666(core.List<api.CreativeDisapprovalReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDisapprovalReasons(o[0]);
checkCreativeDisapprovalReasons(o[1]);
@@ -341,14 +341,14 @@
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed576() {
+buildUnnamed667() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed576(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed667(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 = buildUnnamed576();
+ o.reasons = buildUnnamed667();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -370,58 +370,58 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed576(o.reasons);
+ checkUnnamed667(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed577() {
+buildUnnamed668() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed577(core.List<core.int> o) {
+checkUnnamed668(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));
}
-buildUnnamed578() {
+buildUnnamed669() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed578(core.List<core.int> o) {
+checkUnnamed669(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));
}
-buildUnnamed579() {
+buildUnnamed670() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed579(core.List<core.int> o) {
+checkUnnamed670(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));
}
-buildUnnamed580() {
+buildUnnamed671() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed580(core.List<core.int> o) {
+checkUnnamed671(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 = buildUnnamed569();
+ o.advertiserId = buildUnnamed660();
o.advertiserName = "foo";
o.agencyId = "foo";
- o.attribute = buildUnnamed570();
+ o.attribute = buildUnnamed661();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed571();
- o.corrections = buildUnnamed573();
- o.disapprovalReasons = buildUnnamed575();
+ o.clickThroughUrl = buildUnnamed662();
+ o.corrections = buildUnnamed664();
+ o.disapprovalReasons = buildUnnamed666();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
o.kind = "foo";
- o.productCategories = buildUnnamed577();
- o.restrictedCategories = buildUnnamed578();
- o.sensitiveCategories = buildUnnamed579();
+ o.productCategories = buildUnnamed668();
+ o.restrictedCategories = buildUnnamed669();
+ o.sensitiveCategories = buildUnnamed670();
o.status = "foo";
- o.vendorType = buildUnnamed580();
+ o.vendorType = buildUnnamed671();
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));
- checkUnnamed569(o.advertiserId);
+ checkUnnamed660(o.advertiserId);
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
- checkUnnamed570(o.attribute);
+ checkUnnamed661(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed571(o.clickThroughUrl);
- checkUnnamed573(o.corrections);
- checkUnnamed575(o.disapprovalReasons);
+ checkUnnamed662(o.clickThroughUrl);
+ checkUnnamed664(o.corrections);
+ checkUnnamed666(o.disapprovalReasons);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed577(o.productCategories);
- checkUnnamed578(o.restrictedCategories);
- checkUnnamed579(o.sensitiveCategories);
+ checkUnnamed668(o.productCategories);
+ checkUnnamed669(o.restrictedCategories);
+ checkUnnamed670(o.sensitiveCategories);
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed580(o.vendorType);
+ checkUnnamed671(o.vendorType);
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
}
buildCounterCreative--;
}
-buildUnnamed581() {
+buildUnnamed672() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed581(core.List<api.Creative> o) {
+checkUnnamed672(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 = buildUnnamed581();
+ o.items = buildUnnamed672();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -513,7 +513,7 @@
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed581(o.items);
+ checkUnnamed672(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -561,14 +561,14 @@
buildCounterDirectDeal--;
}
-buildUnnamed582() {
+buildUnnamed673() {
var o = new core.List<api.DirectDeal>();
o.add(buildDirectDeal());
o.add(buildDirectDeal());
return o;
}
-checkUnnamed582(core.List<api.DirectDeal> o) {
+checkUnnamed673(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 = buildUnnamed582();
+ o.directDeals = buildUnnamed673();
o.kind = "foo";
}
buildCounterDirectDealsList--;
@@ -589,59 +589,59 @@
checkDirectDealsList(api.DirectDealsList o) {
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- checkUnnamed582(o.directDeals);
+ checkUnnamed673(o.directDeals);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectDealsList--;
}
-buildUnnamed583() {
+buildUnnamed674() {
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;
}
-checkUnnamed583(core.List<core.Object> o) {
+checkUnnamed674(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'));
}
-buildUnnamed584() {
+buildUnnamed675() {
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;
}
-checkUnnamed584(core.List<core.Object> o) {
+checkUnnamed675(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'));
}
-buildUnnamed585() {
+buildUnnamed676() {
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;
}
-checkUnnamed585(core.List<core.Object> o) {
+checkUnnamed676(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'));
}
-buildUnnamed586() {
+buildUnnamed677() {
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;
}
-checkUnnamed586(core.List<core.Object> o) {
+checkUnnamed677(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 = buildUnnamed583();
- o.cookieMatcherStatusRate = buildUnnamed584();
- o.creativeStatusRate = buildUnnamed585();
- o.hostedMatchStatusRate = buildUnnamed586();
+ o.calloutStatusRate = buildUnnamed674();
+ o.cookieMatcherStatusRate = buildUnnamed675();
+ o.creativeStatusRate = buildUnnamed676();
+ o.hostedMatchStatusRate = buildUnnamed677();
o.kind = "foo";
o.latency50thPercentile = 42.0;
o.latency85thPercentile = 42.0;
@@ -676,10 +676,10 @@
checkPerformanceReport(api.PerformanceReport o) {
buildCounterPerformanceReport++;
if (buildCounterPerformanceReport < 3) {
- checkUnnamed583(o.calloutStatusRate);
- checkUnnamed584(o.cookieMatcherStatusRate);
- checkUnnamed585(o.creativeStatusRate);
- checkUnnamed586(o.hostedMatchStatusRate);
+ checkUnnamed674(o.calloutStatusRate);
+ checkUnnamed675(o.cookieMatcherStatusRate);
+ checkUnnamed676(o.creativeStatusRate);
+ checkUnnamed677(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--;
}
-buildUnnamed587() {
+buildUnnamed678() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed587(core.List<api.PerformanceReport> o) {
+checkUnnamed678(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 = buildUnnamed587();
+ o.performanceReport = buildUnnamed678();
}
buildCounterPerformanceReportList--;
return o;
@@ -725,19 +725,19 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed587(o.performanceReport);
+ checkUnnamed678(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed588() {
+buildUnnamed679() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed588(core.List<core.String> o) {
+checkUnnamed679(core.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--;
}
-buildUnnamed589() {
+buildUnnamed680() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed589(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed680(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed590() {
+buildUnnamed681() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed590(core.List<core.String> o) {
+checkUnnamed681(core.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() {
+buildUnnamed682() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed591(core.List<core.String> o) {
+checkUnnamed682(core.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--;
}
-buildUnnamed592() {
+buildUnnamed683() {
var o = new core.List<api.PretargetingConfigExcludedPlacements>();
o.add(buildPretargetingConfigExcludedPlacements());
o.add(buildPretargetingConfigExcludedPlacements());
return o;
}
-checkUnnamed592(core.List<api.PretargetingConfigExcludedPlacements> o) {
+checkUnnamed683(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigExcludedPlacements(o[0]);
checkPretargetingConfigExcludedPlacements(o[1]);
}
-buildUnnamed593() {
+buildUnnamed684() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed593(core.List<core.String> o) {
+checkUnnamed684(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed594() {
+buildUnnamed685() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed594(core.List<core.String> o) {
+checkUnnamed685(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed595() {
+buildUnnamed686() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed595(core.List<core.String> o) {
+checkUnnamed686(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed596() {
+buildUnnamed687() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed596(core.List<core.String> o) {
+checkUnnamed687(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed597() {
+buildUnnamed688() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed597(core.List<core.String> o) {
+checkUnnamed688(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed598() {
+buildUnnamed689() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed598(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'));
}
-buildUnnamed599() {
+buildUnnamed690() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed599(core.List<core.String> o) {
+checkUnnamed690(core.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--;
}
-buildUnnamed600() {
+buildUnnamed691() {
var o = new core.List<api.PretargetingConfigPlacements>();
o.add(buildPretargetingConfigPlacements());
o.add(buildPretargetingConfigPlacements());
return o;
}
-checkUnnamed600(core.List<api.PretargetingConfigPlacements> o) {
+checkUnnamed691(core.List<api.PretargetingConfigPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigPlacements(o[0]);
checkPretargetingConfigPlacements(o[1]);
}
-buildUnnamed601() {
+buildUnnamed692() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed601(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'));
}
-buildUnnamed602() {
+buildUnnamed693() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed602(core.List<core.String> o) {
+checkUnnamed693(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed603() {
+buildUnnamed694() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed603(core.List<core.String> o) {
+checkUnnamed694(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed604() {
+buildUnnamed695() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed604(core.List<core.String> o) {
+checkUnnamed695(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed605() {
+buildUnnamed696() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed605(core.List<core.String> o) {
+checkUnnamed696(core.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 = buildUnnamed588();
- o.dimensions = buildUnnamed589();
- o.excludedContentLabels = buildUnnamed590();
- o.excludedGeoCriteriaIds = buildUnnamed591();
- o.excludedPlacements = buildUnnamed592();
- o.excludedUserLists = buildUnnamed593();
- o.excludedVerticals = buildUnnamed594();
- o.geoCriteriaIds = buildUnnamed595();
+ 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.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed596();
- o.mobileCarriers = buildUnnamed597();
- o.mobileDevices = buildUnnamed598();
- o.mobileOperatingSystemVersions = buildUnnamed599();
- o.placements = buildUnnamed600();
- o.platforms = buildUnnamed601();
- o.supportedCreativeAttributes = buildUnnamed602();
- o.userLists = buildUnnamed603();
- o.vendorTypes = buildUnnamed604();
- o.verticals = buildUnnamed605();
+ 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();
}
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'));
- checkUnnamed588(o.creativeType);
- checkUnnamed589(o.dimensions);
- checkUnnamed590(o.excludedContentLabels);
- checkUnnamed591(o.excludedGeoCriteriaIds);
- checkUnnamed592(o.excludedPlacements);
- checkUnnamed593(o.excludedUserLists);
- checkUnnamed594(o.excludedVerticals);
- checkUnnamed595(o.geoCriteriaIds);
+ checkUnnamed679(o.creativeType);
+ checkUnnamed680(o.dimensions);
+ checkUnnamed681(o.excludedContentLabels);
+ checkUnnamed682(o.excludedGeoCriteriaIds);
+ checkUnnamed683(o.excludedPlacements);
+ checkUnnamed684(o.excludedUserLists);
+ checkUnnamed685(o.excludedVerticals);
+ checkUnnamed686(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed596(o.languages);
- checkUnnamed597(o.mobileCarriers);
- checkUnnamed598(o.mobileDevices);
- checkUnnamed599(o.mobileOperatingSystemVersions);
- checkUnnamed600(o.placements);
- checkUnnamed601(o.platforms);
- checkUnnamed602(o.supportedCreativeAttributes);
- checkUnnamed603(o.userLists);
- checkUnnamed604(o.vendorTypes);
- checkUnnamed605(o.verticals);
+ 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);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed606() {
+buildUnnamed697() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed606(core.List<api.PretargetingConfig> o) {
+checkUnnamed697(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 = buildUnnamed606();
+ o.items = buildUnnamed697();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -1118,33 +1118,33 @@
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed606(o.items);
+ checkUnnamed697(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
}
-buildUnnamed607() {
+buildUnnamed698() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed607(core.List<core.int> o) {
+checkUnnamed698(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));
}
-buildUnnamed608() {
+buildUnnamed699() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed608(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'));
@@ -1745,8 +1745,8 @@
var mock = new common_test.HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed607();
- var arg_buyerCreativeId = buildUnnamed608();
+ var arg_accountId = buildUnnamed698();
+ var arg_buyerCreativeId = buildUnnamed699();
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 a3ba91c..00fae16 100644
--- a/generated/googleapis/test/adexchangeseller/v1_1_test.dart
+++ b/generated/googleapis/test/adexchangeseller/v1_1_test.dart
@@ -66,14 +66,14 @@
buildCounterAdClient--;
}
-buildUnnamed268() {
+buildUnnamed306() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed268(core.List<api.AdClient> o) {
+checkUnnamed306(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 = buildUnnamed268();
+ o.items = buildUnnamed306();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -97,7 +97,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed268(o.items);
+ checkUnnamed306(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -131,14 +131,14 @@
buildCounterAdUnit--;
}
-buildUnnamed269() {
+buildUnnamed307() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed269(core.List<api.AdUnit> o) {
+checkUnnamed307(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 = buildUnnamed269();
+ o.items = buildUnnamed307();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -162,7 +162,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed269(o.items);
+ checkUnnamed307(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -196,14 +196,14 @@
buildCounterAlert--;
}
-buildUnnamed270() {
+buildUnnamed308() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed270(core.List<api.Alert> o) {
+checkUnnamed308(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 = buildUnnamed270();
+ o.items = buildUnnamed308();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -224,7 +224,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed270(o.items);
+ checkUnnamed308(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -282,14 +282,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed271() {
+buildUnnamed309() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed271(core.List<api.CustomChannel> o) {
+checkUnnamed309(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 = buildUnnamed271();
+ o.items = buildUnnamed309();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -313,21 +313,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed271(o.items);
+ checkUnnamed309(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed272() {
+buildUnnamed310() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed272(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed310(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 = buildUnnamed272();
+ o.items = buildUnnamed310();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -348,7 +348,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed272(o.items);
+ checkUnnamed310(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -387,14 +387,14 @@
buildCounterPreferredDeal--;
}
-buildUnnamed273() {
+buildUnnamed311() {
var o = new core.List<api.PreferredDeal>();
o.add(buildPreferredDeal());
o.add(buildPreferredDeal());
return o;
}
-checkUnnamed273(core.List<api.PreferredDeal> o) {
+checkUnnamed311(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 = buildUnnamed273();
+ o.items = buildUnnamed311();
o.kind = "foo";
}
buildCounterPreferredDeals--;
@@ -415,20 +415,20 @@
checkPreferredDeals(api.PreferredDeals o) {
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- checkUnnamed273(o.items);
+ checkUnnamed311(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPreferredDeals--;
}
-buildUnnamed274() {
+buildUnnamed312() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed274(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'));
@@ -457,66 +457,66 @@
buildCounterReportHeaders--;
}
-buildUnnamed275() {
+buildUnnamed313() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed275(core.List<api.ReportHeaders> o) {
+checkUnnamed313(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed276() {
+buildUnnamed314() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed276(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'));
}
-buildUnnamed277() {
+buildUnnamed315() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed276());
- o.add(buildUnnamed276());
+ o.add(buildUnnamed314());
+ o.add(buildUnnamed314());
return o;
}
-checkUnnamed277(core.List<core.List<core.String>> o) {
+checkUnnamed315(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed276(o[0]);
- checkUnnamed276(o[1]);
+ checkUnnamed314(o[0]);
+ checkUnnamed314(o[1]);
}
-buildUnnamed278() {
+buildUnnamed316() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed278(core.List<core.String> o) {
+checkUnnamed316(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed279() {
+buildUnnamed317() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed279(core.List<core.String> o) {
+checkUnnamed317(core.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 = buildUnnamed274();
- o.headers = buildUnnamed275();
+ o.averages = buildUnnamed312();
+ o.headers = buildUnnamed313();
o.kind = "foo";
- o.rows = buildUnnamed277();
+ o.rows = buildUnnamed315();
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed278();
- o.warnings = buildUnnamed279();
+ o.totals = buildUnnamed316();
+ o.warnings = buildUnnamed317();
}
buildCounterReport--;
return o;
@@ -542,77 +542,77 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed274(o.averages);
- checkUnnamed275(o.headers);
+ checkUnnamed312(o.averages);
+ checkUnnamed313(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed277(o.rows);
+ checkUnnamed315(o.rows);
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed278(o.totals);
- checkUnnamed279(o.warnings);
+ checkUnnamed316(o.totals);
+ checkUnnamed317(o.warnings);
}
buildCounterReport--;
}
-buildUnnamed280() {
+buildUnnamed318() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed280(core.List<core.String> o) {
+checkUnnamed318(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed281() {
+buildUnnamed319() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed281(core.List<core.String> o) {
+checkUnnamed319(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed282() {
+buildUnnamed320() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed282(core.List<core.String> o) {
+checkUnnamed320(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed283() {
+buildUnnamed321() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed283(core.List<core.String> o) {
+checkUnnamed321(core.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() {
+buildUnnamed322() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed284(core.List<core.String> o) {
+checkUnnamed322(core.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 = buildUnnamed280();
- o.compatibleMetrics = buildUnnamed281();
+ o.compatibleDimensions = buildUnnamed318();
+ o.compatibleMetrics = buildUnnamed319();
o.id = "foo";
o.kind = "foo";
- o.requiredDimensions = buildUnnamed282();
- o.requiredMetrics = buildUnnamed283();
- o.supportedProducts = buildUnnamed284();
+ o.requiredDimensions = buildUnnamed320();
+ o.requiredMetrics = buildUnnamed321();
+ o.supportedProducts = buildUnnamed322();
}
buildCounterReportingMetadataEntry--;
return o;
@@ -638,13 +638,13 @@
checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed280(o.compatibleDimensions);
- checkUnnamed281(o.compatibleMetrics);
+ checkUnnamed318(o.compatibleDimensions);
+ checkUnnamed319(o.compatibleMetrics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed282(o.requiredDimensions);
- checkUnnamed283(o.requiredMetrics);
- checkUnnamed284(o.supportedProducts);
+ checkUnnamed320(o.requiredDimensions);
+ checkUnnamed321(o.requiredMetrics);
+ checkUnnamed322(o.supportedProducts);
}
buildCounterReportingMetadataEntry--;
}
@@ -672,14 +672,14 @@
buildCounterSavedReport--;
}
-buildUnnamed285() {
+buildUnnamed323() {
var o = new core.List<api.SavedReport>();
o.add(buildSavedReport());
o.add(buildSavedReport());
return o;
}
-checkUnnamed285(core.List<api.SavedReport> o) {
+checkUnnamed323(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 = buildUnnamed285();
+ o.items = buildUnnamed323();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -703,7 +703,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed285(o.items);
+ checkUnnamed323(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -733,14 +733,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed286() {
+buildUnnamed324() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed286(core.List<api.UrlChannel> o) {
+checkUnnamed324(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 = buildUnnamed286();
+ o.items = buildUnnamed324();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -764,60 +764,60 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed286(o.items);
+ checkUnnamed324(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed287() {
+buildUnnamed325() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed287(core.List<core.String> o) {
+checkUnnamed325(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed288() {
+buildUnnamed326() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed288(core.List<core.String> o) {
+checkUnnamed326(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed289() {
+buildUnnamed327() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed289(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'));
}
-buildUnnamed290() {
+buildUnnamed328() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed290(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'));
@@ -1745,12 +1745,12 @@
api.ReportsResourceApi res = new api.AdexchangesellerApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed287();
- var arg_filter = buildUnnamed288();
+ var arg_dimension = buildUnnamed325();
+ var arg_filter = buildUnnamed326();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed289();
- var arg_sort = buildUnnamed290();
+ var arg_metric = buildUnnamed327();
+ var arg_sort = buildUnnamed328();
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
new file mode 100644
index 0000000..d2cc322
--- /dev/null
+++ b/generated/googleapis/test/adexchangeseller/v2_0_test.dart
@@ -0,0 +1,1827 @@
+library googleapis.adexchangeseller.v2_0.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/adexchangeseller/v2_0.dart' as api;
+
+
+
+core.int buildCounterAccount = 0;
+buildAccount() {
+ var o = new api.Account();
+ buildCounterAccount++;
+ if (buildCounterAccount < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterAccount--;
+ return o;
+}
+
+checkAccount(api.Account o) {
+ buildCounterAccount++;
+ if (buildCounterAccount < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterAccount--;
+}
+
+buildUnnamed90() {
+ var o = new core.List<api.Account>();
+ o.add(buildAccount());
+ o.add(buildAccount());
+ return o;
+}
+
+checkUnnamed90(core.List<api.Account> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAccount(o[0]);
+ checkAccount(o[1]);
+}
+
+core.int buildCounterAccounts = 0;
+buildAccounts() {
+ var o = new api.Accounts();
+ buildCounterAccounts++;
+ if (buildCounterAccounts < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed90();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterAccounts--;
+ return o;
+}
+
+checkAccounts(api.Accounts o) {
+ buildCounterAccounts++;
+ if (buildCounterAccounts < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed90(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterAccounts--;
+}
+
+core.int buildCounterAdClient = 0;
+buildAdClient() {
+ var o = new api.AdClient();
+ buildCounterAdClient++;
+ if (buildCounterAdClient < 3) {
+ o.arcOptIn = true;
+ o.id = "foo";
+ o.kind = "foo";
+ o.productCode = "foo";
+ o.supportsReporting = true;
+ }
+ buildCounterAdClient--;
+ return o;
+}
+
+checkAdClient(api.AdClient o) {
+ buildCounterAdClient++;
+ if (buildCounterAdClient < 3) {
+ unittest.expect(o.arcOptIn, unittest.isTrue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.productCode, unittest.equals('foo'));
+ unittest.expect(o.supportsReporting, unittest.isTrue);
+ }
+ buildCounterAdClient--;
+}
+
+buildUnnamed91() {
+ var o = new core.List<api.AdClient>();
+ o.add(buildAdClient());
+ o.add(buildAdClient());
+ return o;
+}
+
+checkUnnamed91(core.List<api.AdClient> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAdClient(o[0]);
+ checkAdClient(o[1]);
+}
+
+core.int buildCounterAdClients = 0;
+buildAdClients() {
+ var o = new api.AdClients();
+ buildCounterAdClients++;
+ if (buildCounterAdClients < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed91();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterAdClients--;
+ return o;
+}
+
+checkAdClients(api.AdClients o) {
+ buildCounterAdClients++;
+ if (buildCounterAdClients < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed91(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterAdClients--;
+}
+
+core.int buildCounterAlert = 0;
+buildAlert() {
+ var o = new api.Alert();
+ buildCounterAlert++;
+ if (buildCounterAlert < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.message = "foo";
+ o.severity = "foo";
+ o.type = "foo";
+ }
+ buildCounterAlert--;
+ return o;
+}
+
+checkAlert(api.Alert o) {
+ buildCounterAlert++;
+ if (buildCounterAlert < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.message, unittest.equals('foo'));
+ unittest.expect(o.severity, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterAlert--;
+}
+
+buildUnnamed92() {
+ var o = new core.List<api.Alert>();
+ o.add(buildAlert());
+ o.add(buildAlert());
+ return o;
+}
+
+checkUnnamed92(core.List<api.Alert> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAlert(o[0]);
+ checkAlert(o[1]);
+}
+
+core.int buildCounterAlerts = 0;
+buildAlerts() {
+ var o = new api.Alerts();
+ buildCounterAlerts++;
+ if (buildCounterAlerts < 3) {
+ o.items = buildUnnamed92();
+ o.kind = "foo";
+ }
+ buildCounterAlerts--;
+ return o;
+}
+
+checkAlerts(api.Alerts o) {
+ buildCounterAlerts++;
+ if (buildCounterAlerts < 3) {
+ checkUnnamed92(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterAlerts--;
+}
+
+core.int buildCounterCustomChannelTargetingInfo = 0;
+buildCustomChannelTargetingInfo() {
+ var o = new api.CustomChannelTargetingInfo();
+ buildCounterCustomChannelTargetingInfo++;
+ if (buildCounterCustomChannelTargetingInfo < 3) {
+ o.adsAppearOn = "foo";
+ o.description = "foo";
+ o.location = "foo";
+ o.siteLanguage = "foo";
+ }
+ buildCounterCustomChannelTargetingInfo--;
+ return o;
+}
+
+checkCustomChannelTargetingInfo(api.CustomChannelTargetingInfo o) {
+ buildCounterCustomChannelTargetingInfo++;
+ if (buildCounterCustomChannelTargetingInfo < 3) {
+ unittest.expect(o.adsAppearOn, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.location, unittest.equals('foo'));
+ unittest.expect(o.siteLanguage, unittest.equals('foo'));
+ }
+ buildCounterCustomChannelTargetingInfo--;
+}
+
+core.int buildCounterCustomChannel = 0;
+buildCustomChannel() {
+ var o = new api.CustomChannel();
+ buildCounterCustomChannel++;
+ if (buildCounterCustomChannel < 3) {
+ o.code = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.targetingInfo = buildCustomChannelTargetingInfo();
+ }
+ buildCounterCustomChannel--;
+ return o;
+}
+
+checkCustomChannel(api.CustomChannel o) {
+ buildCounterCustomChannel++;
+ if (buildCounterCustomChannel < 3) {
+ unittest.expect(o.code, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkCustomChannelTargetingInfo(o.targetingInfo);
+ }
+ buildCounterCustomChannel--;
+}
+
+buildUnnamed93() {
+ var o = new core.List<api.CustomChannel>();
+ o.add(buildCustomChannel());
+ o.add(buildCustomChannel());
+ return o;
+}
+
+checkUnnamed93(core.List<api.CustomChannel> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCustomChannel(o[0]);
+ checkCustomChannel(o[1]);
+}
+
+core.int buildCounterCustomChannels = 0;
+buildCustomChannels() {
+ var o = new api.CustomChannels();
+ buildCounterCustomChannels++;
+ if (buildCounterCustomChannels < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed93();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterCustomChannels--;
+ return o;
+}
+
+checkCustomChannels(api.CustomChannels o) {
+ buildCounterCustomChannels++;
+ if (buildCounterCustomChannels < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed93(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterCustomChannels--;
+}
+
+buildUnnamed94() {
+ var o = new core.List<api.ReportingMetadataEntry>();
+ o.add(buildReportingMetadataEntry());
+ o.add(buildReportingMetadataEntry());
+ return o;
+}
+
+checkUnnamed94(core.List<api.ReportingMetadataEntry> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReportingMetadataEntry(o[0]);
+ checkReportingMetadataEntry(o[1]);
+}
+
+core.int buildCounterMetadata = 0;
+buildMetadata() {
+ var o = new api.Metadata();
+ buildCounterMetadata++;
+ if (buildCounterMetadata < 3) {
+ o.items = buildUnnamed94();
+ o.kind = "foo";
+ }
+ buildCounterMetadata--;
+ return o;
+}
+
+checkMetadata(api.Metadata o) {
+ buildCounterMetadata++;
+ if (buildCounterMetadata < 3) {
+ checkUnnamed94(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterMetadata--;
+}
+
+core.int buildCounterPreferredDeal = 0;
+buildPreferredDeal() {
+ var o = new api.PreferredDeal();
+ buildCounterPreferredDeal++;
+ if (buildCounterPreferredDeal < 3) {
+ o.advertiserName = "foo";
+ o.buyerNetworkName = "foo";
+ o.currencyCode = "foo";
+ o.endTime = "foo";
+ o.fixedCpm = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.startTime = "foo";
+ }
+ buildCounterPreferredDeal--;
+ return o;
+}
+
+checkPreferredDeal(api.PreferredDeal o) {
+ buildCounterPreferredDeal++;
+ if (buildCounterPreferredDeal < 3) {
+ unittest.expect(o.advertiserName, unittest.equals('foo'));
+ unittest.expect(o.buyerNetworkName, unittest.equals('foo'));
+ unittest.expect(o.currencyCode, unittest.equals('foo'));
+ unittest.expect(o.endTime, unittest.equals('foo'));
+ unittest.expect(o.fixedCpm, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.startTime, unittest.equals('foo'));
+ }
+ buildCounterPreferredDeal--;
+}
+
+buildUnnamed95() {
+ var o = new core.List<api.PreferredDeal>();
+ o.add(buildPreferredDeal());
+ o.add(buildPreferredDeal());
+ return o;
+}
+
+checkUnnamed95(core.List<api.PreferredDeal> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPreferredDeal(o[0]);
+ checkPreferredDeal(o[1]);
+}
+
+core.int buildCounterPreferredDeals = 0;
+buildPreferredDeals() {
+ var o = new api.PreferredDeals();
+ buildCounterPreferredDeals++;
+ if (buildCounterPreferredDeals < 3) {
+ o.items = buildUnnamed95();
+ o.kind = "foo";
+ }
+ buildCounterPreferredDeals--;
+ return o;
+}
+
+checkPreferredDeals(api.PreferredDeals o) {
+ buildCounterPreferredDeals++;
+ if (buildCounterPreferredDeals < 3) {
+ checkUnnamed95(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterPreferredDeals--;
+}
+
+buildUnnamed96() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed96(core.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 buildCounterReportHeaders = 0;
+buildReportHeaders() {
+ var o = new api.ReportHeaders();
+ buildCounterReportHeaders++;
+ if (buildCounterReportHeaders < 3) {
+ o.currency = "foo";
+ o.name = "foo";
+ o.type = "foo";
+ }
+ buildCounterReportHeaders--;
+ return o;
+}
+
+checkReportHeaders(api.ReportHeaders o) {
+ buildCounterReportHeaders++;
+ if (buildCounterReportHeaders < 3) {
+ unittest.expect(o.currency, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterReportHeaders--;
+}
+
+buildUnnamed97() {
+ var o = new core.List<api.ReportHeaders>();
+ o.add(buildReportHeaders());
+ o.add(buildReportHeaders());
+ return o;
+}
+
+checkUnnamed97(core.List<api.ReportHeaders> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReportHeaders(o[0]);
+ checkReportHeaders(o[1]);
+}
+
+buildUnnamed98() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed98(core.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");
+ return o;
+}
+
+checkUnnamed100(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed101() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed101(core.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 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");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed102(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed103() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed103(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed104() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed104(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed105() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed105(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed106() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed106(core.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.id = "foo";
+ o.kind = "foo";
+ o.requiredDimensions = buildUnnamed104();
+ o.requiredMetrics = buildUnnamed105();
+ o.supportedProducts = buildUnnamed106();
+ }
+ buildCounterReportingMetadataEntry--;
+ return o;
+}
+
+checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
+ buildCounterReportingMetadataEntry++;
+ if (buildCounterReportingMetadataEntry < 3) {
+ checkUnnamed102(o.compatibleDimensions);
+ checkUnnamed103(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);
+ }
+ buildCounterReportingMetadataEntry--;
+}
+
+core.int buildCounterSavedReport = 0;
+buildSavedReport() {
+ var o = new api.SavedReport();
+ buildCounterSavedReport++;
+ if (buildCounterSavedReport < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterSavedReport--;
+ return o;
+}
+
+checkSavedReport(api.SavedReport o) {
+ buildCounterSavedReport++;
+ if (buildCounterSavedReport < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterSavedReport--;
+}
+
+buildUnnamed107() {
+ var o = new core.List<api.SavedReport>();
+ o.add(buildSavedReport());
+ o.add(buildSavedReport());
+ return o;
+}
+
+checkUnnamed107(core.List<api.SavedReport> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSavedReport(o[0]);
+ checkSavedReport(o[1]);
+}
+
+core.int buildCounterSavedReports = 0;
+buildSavedReports() {
+ var o = new api.SavedReports();
+ buildCounterSavedReports++;
+ if (buildCounterSavedReports < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed107();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterSavedReports--;
+ return o;
+}
+
+checkSavedReports(api.SavedReports o) {
+ buildCounterSavedReports++;
+ if (buildCounterSavedReports < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed107(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSavedReports--;
+}
+
+core.int buildCounterUrlChannel = 0;
+buildUrlChannel() {
+ var o = new api.UrlChannel();
+ buildCounterUrlChannel++;
+ if (buildCounterUrlChannel < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.urlPattern = "foo";
+ }
+ buildCounterUrlChannel--;
+ return o;
+}
+
+checkUrlChannel(api.UrlChannel o) {
+ buildCounterUrlChannel++;
+ if (buildCounterUrlChannel < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.urlPattern, unittest.equals('foo'));
+ }
+ buildCounterUrlChannel--;
+}
+
+buildUnnamed108() {
+ var o = new core.List<api.UrlChannel>();
+ o.add(buildUrlChannel());
+ o.add(buildUrlChannel());
+ return o;
+}
+
+checkUnnamed108(core.List<api.UrlChannel> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUrlChannel(o[0]);
+ checkUrlChannel(o[1]);
+}
+
+core.int buildCounterUrlChannels = 0;
+buildUrlChannels() {
+ var o = new api.UrlChannels();
+ buildCounterUrlChannels++;
+ if (buildCounterUrlChannels < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed108();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterUrlChannels--;
+ return o;
+}
+
+checkUrlChannels(api.UrlChannels o) {
+ buildCounterUrlChannels++;
+ if (buildCounterUrlChannels < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed108(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");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed110(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed111() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed111(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed112() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed112(core.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", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccount();
+ var od = new api.Account.fromJson(o.toJson());
+ checkAccount(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Accounts", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccounts();
+ var od = new api.Accounts.fromJson(o.toJson());
+ checkAccounts(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-AdClient", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdClient();
+ var od = new api.AdClient.fromJson(o.toJson());
+ checkAdClient(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-AdClients", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdClients();
+ var od = new api.AdClients.fromJson(o.toJson());
+ checkAdClients(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Alert", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAlert();
+ var od = new api.Alert.fromJson(o.toJson());
+ checkAlert(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Alerts", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAlerts();
+ var od = new api.Alerts.fromJson(o.toJson());
+ checkAlerts(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-CustomChannelTargetingInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCustomChannelTargetingInfo();
+ var od = new api.CustomChannelTargetingInfo.fromJson(o.toJson());
+ checkCustomChannelTargetingInfo(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-CustomChannel", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCustomChannel();
+ var od = new api.CustomChannel.fromJson(o.toJson());
+ checkCustomChannel(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-CustomChannels", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCustomChannels();
+ var od = new api.CustomChannels.fromJson(o.toJson());
+ checkCustomChannels(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Metadata", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMetadata();
+ var od = new api.Metadata.fromJson(o.toJson());
+ checkMetadata(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-PreferredDeal", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPreferredDeal();
+ var od = new api.PreferredDeal.fromJson(o.toJson());
+ checkPreferredDeal(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-PreferredDeals", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPreferredDeals();
+ var od = new api.PreferredDeals.fromJson(o.toJson());
+ checkPreferredDeals(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ReportHeaders", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportHeaders();
+ var od = new api.ReportHeaders.fromJson(o.toJson());
+ checkReportHeaders(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Report", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReport();
+ var od = new api.Report.fromJson(o.toJson());
+ checkReport(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ReportingMetadataEntry", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportingMetadataEntry();
+ var od = new api.ReportingMetadataEntry.fromJson(o.toJson());
+ checkReportingMetadataEntry(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-SavedReport", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSavedReport();
+ var od = new api.SavedReport.fromJson(o.toJson());
+ checkSavedReport(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-SavedReports", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSavedReports();
+ var od = new api.SavedReports.fromJson(o.toJson());
+ checkSavedReports(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-UrlChannel", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUrlChannel();
+ var od = new api.UrlChannel.fromJson(o.toJson());
+ checkUrlChannel(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-UrlChannels", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUrlChannels();
+ var od = new api.UrlChannels.fromJson(o.toJson());
+ checkUrlChannels(od);
+ });
+ });
+
+
+ unittest.group("resource-AccountsResourceApi", () {
+ unittest.test("method--get", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsResourceApi res = new api.AdexchangesellerApi(mock).accounts;
+ var arg_accountId = "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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+
+ 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(buildAccount());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_accountId).then(unittest.expectAsync(((api.Account response) {
+ checkAccount(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsResourceApi res = new api.AdexchangesellerApi(mock).accounts;
+ 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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("accounts"));
+ 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(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(buildAccounts());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.Accounts response) {
+ checkAccounts(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-AccountsAdclientsResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsAdclientsResourceApi res = new api.AdexchangesellerApi(mock).accounts.adclients;
+ var arg_accountId = "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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/adclients", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/adclients"));
+ pathOffset += 10;
+
+ 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(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(buildAdClients());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_accountId, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.AdClients response) {
+ checkAdClients(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-AccountsAlertsResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsAlertsResourceApi res = new api.AdexchangesellerApi(mock).accounts.alerts;
+ var arg_accountId = "foo";
+ var arg_locale = "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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/alerts", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/alerts"));
+ 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["locale"].first, unittest.equals(arg_locale));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAlerts());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_accountId, locale: arg_locale).then(unittest.expectAsync(((api.Alerts response) {
+ checkAlerts(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-AccountsCustomchannelsResourceApi", () {
+ unittest.test("method--get", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsCustomchannelsResourceApi res = new api.AdexchangesellerApi(mock).accounts.customchannels;
+ var arg_accountId = "foo";
+ var arg_adClientId = "foo";
+ var arg_customChannelId = "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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/adclients/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/adclients/"));
+ pathOffset += 11;
+ index = path.indexOf("/customchannels/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_adClientId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/customchannels/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_customChannelId"));
+
+ 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(buildCustomChannel());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_accountId, arg_adClientId, arg_customChannelId).then(unittest.expectAsync(((api.CustomChannel response) {
+ checkCustomChannel(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsCustomchannelsResourceApi res = new api.AdexchangesellerApi(mock).accounts.customchannels;
+ var arg_accountId = "foo";
+ var arg_adClientId = "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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/adclients/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/adclients/"));
+ pathOffset += 11;
+ index = path.indexOf("/customchannels", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_adClientId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/customchannels"));
+ pathOffset += 15;
+
+ 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(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(buildCustomChannels());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_accountId, arg_adClientId, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.CustomChannels response) {
+ checkCustomChannels(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-AccountsMetadataDimensionsResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsMetadataDimensionsResourceApi res = new api.AdexchangesellerApi(mock).accounts.metadata.dimensions;
+ var arg_accountId = "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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/metadata/dimensions", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/metadata/dimensions"));
+ pathOffset += 20;
+
+ 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(buildMetadata());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_accountId).then(unittest.expectAsync(((api.Metadata response) {
+ checkMetadata(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-AccountsMetadataMetricsResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsMetadataMetricsResourceApi res = new api.AdexchangesellerApi(mock).accounts.metadata.metrics;
+ var arg_accountId = "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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/metadata/metrics", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("/metadata/metrics"));
+ 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(buildMetadata());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_accountId).then(unittest.expectAsync(((api.Metadata response) {
+ checkMetadata(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-AccountsPreferreddealsResourceApi", () {
+ unittest.test("method--get", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsPreferreddealsResourceApi res = new api.AdexchangesellerApi(mock).accounts.preferreddeals;
+ var arg_accountId = "foo";
+ var arg_dealId = "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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/preferreddeals/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/preferreddeals/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_dealId"));
+
+ 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(buildPreferredDeal());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_accountId, arg_dealId).then(unittest.expectAsync(((api.PreferredDeal response) {
+ checkPreferredDeal(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsPreferreddealsResourceApi res = new api.AdexchangesellerApi(mock).accounts.preferreddeals;
+ var arg_accountId = "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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/preferreddeals", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/preferreddeals"));
+ pathOffset += 15;
+
+ 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(buildPreferredDeals());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_accountId).then(unittest.expectAsync(((api.PreferredDeals response) {
+ checkPreferredDeals(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-AccountsReportsResourceApi", () {
+ unittest.test("method--generate", () {
+ // TODO: Implement tests for media upload;
+ // TODO: Implement tests for media download;
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsReportsResourceApi res = new api.AdexchangesellerApi(mock).accounts.reports;
+ var arg_accountId = "foo";
+ var arg_startDate = "foo";
+ var arg_endDate = "foo";
+ var arg_dimension = buildUnnamed109();
+ var arg_filter = buildUnnamed110();
+ var arg_locale = "foo";
+ var arg_maxResults = 42;
+ var arg_metric = buildUnnamed111();
+ var arg_sort = buildUnnamed112();
+ var arg_startIndex = 42;
+ 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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/reports", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/reports"));
+ 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["startDate"].first, unittest.equals(arg_startDate));
+ unittest.expect(queryMap["endDate"].first, unittest.equals(arg_endDate));
+ unittest.expect(queryMap["dimension"], unittest.equals(arg_dimension));
+ unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
+ unittest.expect(queryMap["sort"], unittest.equals(arg_sort));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first), unittest.equals(arg_startIndex));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildReport());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.generate(arg_accountId, arg_startDate, arg_endDate, dimension: arg_dimension, filter: arg_filter, locale: arg_locale, maxResults: arg_maxResults, metric: arg_metric, sort: arg_sort, startIndex: arg_startIndex).then(unittest.expectAsync(((api.Report response) {
+ checkReport(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-AccountsReportsSavedResourceApi", () {
+ unittest.test("method--generate", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsReportsSavedResourceApi res = new api.AdexchangesellerApi(mock).accounts.reports.saved;
+ var arg_accountId = "foo";
+ var arg_savedReportId = "foo";
+ var arg_locale = "foo";
+ var arg_maxResults = 42;
+ var arg_startIndex = 42;
+ 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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/reports/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/reports/"));
+ pathOffset += 9;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_savedReportId"));
+
+ 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["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first), unittest.equals(arg_startIndex));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildReport());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.generate(arg_accountId, arg_savedReportId, locale: arg_locale, maxResults: arg_maxResults, startIndex: arg_startIndex).then(unittest.expectAsync(((api.Report response) {
+ checkReport(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsReportsSavedResourceApi res = new api.AdexchangesellerApi(mock).accounts.reports.saved;
+ var arg_accountId = "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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/reports/saved", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.equals("/reports/saved"));
+ pathOffset += 14;
+
+ 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(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(buildSavedReports());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_accountId, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.SavedReports response) {
+ checkSavedReports(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-AccountsUrlchannelsResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.AccountsUrlchannelsResourceApi res = new api.AdexchangesellerApi(mock).accounts.urlchannels;
+ var arg_accountId = "foo";
+ var arg_adClientId = "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 + 22), unittest.equals("adexchangeseller/v2.0/"));
+ pathOffset += 22;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("accounts/"));
+ pathOffset += 9;
+ index = path.indexOf("/adclients/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/adclients/"));
+ pathOffset += 11;
+ index = path.indexOf("/urlchannels", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_adClientId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("/urlchannels"));
+ 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(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(buildUrlChannels());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_accountId, arg_adClientId, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.UrlChannels response) {
+ checkUrlChannels(response);
+ })));
+ });
+
+ });
+
+
+}
+
diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart
index 534c64c..2191ebb 100644
--- a/generated/googleapis/test/admin/directory_v1_test.dart
+++ b/generated/googleapis/test/admin/directory_v1_test.dart
@@ -43,14 +43,14 @@
buildCounterAlias--;
}
-buildUnnamed481() {
+buildUnnamed941() {
var o = new core.List<api.Alias>();
o.add(buildAlias());
o.add(buildAlias());
return o;
}
-checkUnnamed481(core.List<api.Alias> o) {
+checkUnnamed941(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 = buildUnnamed481();
+ o.aliases = buildUnnamed941();
o.etag = "foo";
o.kind = "foo";
}
@@ -72,7 +72,7 @@
checkAliases(api.Aliases o) {
buildCounterAliases++;
if (buildCounterAliases < 3) {
- checkUnnamed481(o.aliases);
+ checkUnnamed941(o.aliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -110,14 +110,14 @@
buildCounterAsp--;
}
-buildUnnamed482() {
+buildUnnamed942() {
var o = new core.List<api.Asp>();
o.add(buildAsp());
o.add(buildAsp());
return o;
}
-checkUnnamed482(core.List<api.Asp> o) {
+checkUnnamed942(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 = buildUnnamed482();
+ o.items = buildUnnamed942();
o.kind = "foo";
}
buildCounterAsps--;
@@ -140,20 +140,20 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed482(o.items);
+ checkUnnamed942(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAsps--;
}
-buildUnnamed483() {
+buildUnnamed943() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed483(core.Map<core.String, core.String> o) {
+checkUnnamed943(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 = buildUnnamed483();
+ o.params = buildUnnamed943();
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'));
- checkUnnamed483(o.params);
+ checkUnnamed943(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--;
}
-buildUnnamed484() {
+buildUnnamed944() {
var o = new core.List<api.ChromeOsDeviceRecentUsers>();
o.add(buildChromeOsDeviceRecentUsers());
o.add(buildChromeOsDeviceRecentUsers());
return o;
}
-checkUnnamed484(core.List<api.ChromeOsDeviceRecentUsers> o) {
+checkUnnamed944(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 = buildUnnamed484();
+ o.recentUsers = buildUnnamed944();
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'));
- checkUnnamed484(o.recentUsers);
+ checkUnnamed944(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--;
}
-buildUnnamed485() {
+buildUnnamed945() {
var o = new core.List<api.ChromeOsDevice>();
o.add(buildChromeOsDevice());
o.add(buildChromeOsDevice());
return o;
}
-checkUnnamed485(core.List<api.ChromeOsDevice> o) {
+checkUnnamed945(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 = buildUnnamed485();
+ o.chromeosdevices = buildUnnamed945();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -323,7 +323,7 @@
checkChromeOsDevices(api.ChromeOsDevices o) {
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- checkUnnamed485(o.chromeosdevices);
+ checkUnnamed945(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--;
}
-buildUnnamed486() {
+buildUnnamed946() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed486(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'));
}
-buildUnnamed487() {
+buildUnnamed947() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed487(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'));
@@ -363,7 +363,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
o.adminCreated = true;
- o.aliases = buildUnnamed486();
+ o.aliases = buildUnnamed946();
o.description = "foo";
o.directMembersCount = "foo";
o.email = "foo";
@@ -371,7 +371,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.nonEditableAliases = buildUnnamed487();
+ o.nonEditableAliases = buildUnnamed947();
}
buildCounterGroup--;
return o;
@@ -381,7 +381,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
unittest.expect(o.adminCreated, unittest.isTrue);
- checkUnnamed486(o.aliases);
+ checkUnnamed946(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'));
- checkUnnamed487(o.nonEditableAliases);
+ checkUnnamed947(o.nonEditableAliases);
}
buildCounterGroup--;
}
-buildUnnamed488() {
+buildUnnamed948() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed488(core.List<api.Group> o) {
+checkUnnamed948(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 = buildUnnamed488();
+ o.groups = buildUnnamed948();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -425,7 +425,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed488(o.groups);
+ checkUnnamed948(o.groups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -461,14 +461,14 @@
buildCounterMember--;
}
-buildUnnamed489() {
+buildUnnamed949() {
var o = new core.List<api.Member>();
o.add(buildMember());
o.add(buildMember());
return o;
}
-checkUnnamed489(core.List<api.Member> o) {
+checkUnnamed949(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 = buildUnnamed489();
+ o.members = buildUnnamed949();
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'));
- checkUnnamed489(o.members);
+ checkUnnamed949(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMembers--;
}
-buildUnnamed490() {
+buildUnnamed950() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed490(core.List<core.String> o) {
+checkUnnamed950(core.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 = buildUnnamed490();
+ o.permission = buildUnnamed950();
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'));
- checkUnnamed490(o.permission);
+ checkUnnamed950(o.permission);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
buildCounterMobileDeviceApplications--;
}
-buildUnnamed491() {
+buildUnnamed951() {
var o = new core.List<api.MobileDeviceApplications>();
o.add(buildMobileDeviceApplications());
o.add(buildMobileDeviceApplications());
return o;
}
-checkUnnamed491(core.List<api.MobileDeviceApplications> o) {
+checkUnnamed951(core.List<api.MobileDeviceApplications> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDeviceApplications(o[0]);
checkMobileDeviceApplications(o[1]);
}
-buildUnnamed492() {
+buildUnnamed952() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed492(core.List<core.String> o) {
+checkUnnamed952(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed493() {
+buildUnnamed953() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed493(core.List<core.String> o) {
+checkUnnamed953(core.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 = buildUnnamed491();
+ o.applications = buildUnnamed951();
o.basebandVersion = "foo";
o.buildNumber = "foo";
o.defaultLanguage = "foo";
o.deviceCompromisedStatus = "foo";
o.deviceId = "foo";
- o.email = buildUnnamed492();
+ o.email = buildUnnamed952();
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 = buildUnnamed493();
+ o.name = buildUnnamed953();
o.networkOperator = "foo";
o.os = "foo";
o.resourceId = "foo";
@@ -617,13 +617,13 @@
checkMobileDevice(api.MobileDevice o) {
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
- checkUnnamed491(o.applications);
+ checkUnnamed951(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'));
- checkUnnamed492(o.email);
+ checkUnnamed952(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'));
- checkUnnamed493(o.name);
+ checkUnnamed953(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--;
}
-buildUnnamed494() {
+buildUnnamed954() {
var o = new core.List<api.MobileDevice>();
o.add(buildMobileDevice());
o.add(buildMobileDevice());
return o;
}
-checkUnnamed494(core.List<api.MobileDevice> o) {
+checkUnnamed954(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 = buildUnnamed494();
+ o.mobiledevices = buildUnnamed954();
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'));
- checkUnnamed494(o.mobiledevices);
+ checkUnnamed954(o.mobiledevices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMobileDevices--;
@@ -737,14 +737,14 @@
buildCounterNotification--;
}
-buildUnnamed495() {
+buildUnnamed955() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed495(core.List<api.Notification> o) {
+checkUnnamed955(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 = buildUnnamed495();
+ o.items = buildUnnamed955();
o.kind = "foo";
o.nextPageToken = "foo";
o.unreadNotificationsCount = 42;
@@ -769,7 +769,7 @@
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed495(o.items);
+ checkUnnamed955(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--;
}
-buildUnnamed496() {
+buildUnnamed956() {
var o = new core.List<api.OrgUnit>();
o.add(buildOrgUnit());
o.add(buildOrgUnit());
return o;
}
-checkUnnamed496(core.List<api.OrgUnit> o) {
+checkUnnamed956(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 = buildUnnamed496();
+ o.organizationUnits = buildUnnamed956();
}
buildCounterOrgUnits--;
return o;
@@ -839,19 +839,19 @@
if (buildCounterOrgUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed496(o.organizationUnits);
+ checkUnnamed956(o.organizationUnits);
}
buildCounterOrgUnits--;
}
-buildUnnamed497() {
+buildUnnamed957() {
var o = new core.List<api.SchemaFieldSpec>();
o.add(buildSchemaFieldSpec());
o.add(buildSchemaFieldSpec());
return o;
}
-checkUnnamed497(core.List<api.SchemaFieldSpec> o) {
+checkUnnamed957(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 = buildUnnamed497();
+ o.fields = buildUnnamed957();
o.kind = "foo";
o.schemaId = "foo";
o.schemaName = "foo";
@@ -876,7 +876,7 @@
buildCounterSchema++;
if (buildCounterSchema < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed497(o.fields);
+ checkUnnamed957(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--;
}
-buildUnnamed498() {
+buildUnnamed958() {
var o = new core.List<api.Schema>();
o.add(buildSchema());
o.add(buildSchema());
return o;
}
-checkUnnamed498(core.List<api.Schema> o) {
+checkUnnamed958(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 = buildUnnamed498();
+ o.schemas = buildUnnamed958();
}
buildCounterSchemas--;
return o;
@@ -971,19 +971,19 @@
if (buildCounterSchemas < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed498(o.schemas);
+ checkUnnamed958(o.schemas);
}
buildCounterSchemas--;
}
-buildUnnamed499() {
+buildUnnamed959() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed499(core.List<core.String> o) {
+checkUnnamed959(core.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 = buildUnnamed499();
+ o.scopes = buildUnnamed959();
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);
- checkUnnamed499(o.scopes);
+ checkUnnamed959(o.scopes);
unittest.expect(o.userKey, unittest.equals('foo'));
}
buildCounterToken--;
}
-buildUnnamed500() {
+buildUnnamed960() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed500(core.List<api.Token> o) {
+checkUnnamed960(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 = buildUnnamed500();
+ o.items = buildUnnamed960();
o.kind = "foo";
}
buildCounterTokens--;
@@ -1052,46 +1052,46 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed500(o.items);
+ checkUnnamed960(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTokens--;
}
-buildUnnamed501() {
+buildUnnamed961() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed501(core.List<core.String> o) {
+checkUnnamed961(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed502() {
+buildUnnamed962() {
var o = new core.Map<core.String, api.UserCustomProperties>();
o["x"] = buildUserCustomProperties();
o["y"] = buildUserCustomProperties();
return o;
}
-checkUnnamed502(core.Map<core.String, api.UserCustomProperties> o) {
+checkUnnamed962(core.Map<core.String, api.UserCustomProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserCustomProperties(o["x"]);
checkUserCustomProperties(o["y"]);
}
-buildUnnamed503() {
+buildUnnamed963() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed503(core.List<core.String> o) {
+checkUnnamed963(core.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 = buildUnnamed501();
+ o.aliases = buildUnnamed961();
o.changePasswordAtNextLogin = true;
o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.customSchemas = buildUnnamed502();
+ o.customSchemas = buildUnnamed962();
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 = buildUnnamed503();
+ o.nonEditableAliases = buildUnnamed963();
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);
- checkUnnamed501(o.aliases);
+ checkUnnamed961(o.aliases);
unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue);
unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed502(o.customSchemas);
+ checkUnnamed962(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);
- checkUnnamed503(o.nonEditableAliases);
+ checkUnnamed963(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--;
}
-buildUnnamed504() {
+buildUnnamed964() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed504(core.List<api.User> o) {
+checkUnnamed964(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 = buildUnnamed504();
+ o.users = buildUnnamed964();
}
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'));
- checkUnnamed504(o.users);
+ checkUnnamed964(o.users);
}
buildCounterUsers--;
}
@@ -1557,14 +1557,14 @@
buildCounterVerificationCode--;
}
-buildUnnamed505() {
+buildUnnamed965() {
var o = new core.List<api.VerificationCode>();
o.add(buildVerificationCode());
o.add(buildVerificationCode());
return o;
}
-checkUnnamed505(core.List<api.VerificationCode> o) {
+checkUnnamed965(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 = buildUnnamed505();
+ o.items = buildUnnamed965();
o.kind = "foo";
}
buildCounterVerificationCodes--;
@@ -1587,59 +1587,59 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed505(o.items);
+ checkUnnamed965(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterVerificationCodes--;
}
-buildUnnamed506() {
+buildUnnamed966() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed506(core.List<core.String> o) {
+checkUnnamed966(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed507() {
+buildUnnamed967() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed507(core.List<core.String> o) {
+checkUnnamed967(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed508() {
+buildUnnamed968() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed508(core.List<core.String> o) {
+checkUnnamed968(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed509() {
+buildUnnamed969() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed509(core.List<core.String> o) {
+checkUnnamed969(core.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 = buildUnnamed506();
+ var arg_orgUnitPath = buildUnnamed966();
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 = buildUnnamed507();
+ var arg_orgUnitPath = buildUnnamed967();
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 = buildUnnamed508();
+ var arg_orgUnitPath = buildUnnamed968();
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 = buildUnnamed509();
+ var arg_orgUnitPath = buildUnnamed969();
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 8bb3315..f309675 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 @@
-buildUnnamed0() {
+buildUnnamed763() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed0(core.List<core.String> o) {
+checkUnnamed763(core.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 = buildUnnamed0();
+ o.labels = buildUnnamed763();
}
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'));
- checkUnnamed0(o.labels);
+ checkUnnamed763(o.labels);
}
buildCounterMailItem--;
}
diff --git a/generated/googleapis/test/admin/reports_v1_test.dart b/generated/googleapis/test/admin/reports_v1_test.dart
index ae6300c..0bdcc65 100644
--- a/generated/googleapis/test/admin/reports_v1_test.dart
+++ b/generated/googleapis/test/admin/reports_v1_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed407() {
+buildUnnamed806() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed407(core.List<api.Activity> o) {
+checkUnnamed806(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 = buildUnnamed407();
+ o.items = buildUnnamed806();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -47,7 +47,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed407(o.items);
+ checkUnnamed806(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -79,27 +79,27 @@
buildCounterActivityActor--;
}
-buildUnnamed408() {
+buildUnnamed807() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed408(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'));
}
-buildUnnamed409() {
+buildUnnamed808() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed409(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'));
@@ -112,8 +112,8 @@
if (buildCounterActivityEventsParameters < 3) {
o.boolValue = true;
o.intValue = "foo";
- o.multiIntValue = buildUnnamed408();
- o.multiValue = buildUnnamed409();
+ o.multiIntValue = buildUnnamed807();
+ o.multiValue = buildUnnamed808();
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'));
- checkUnnamed408(o.multiIntValue);
- checkUnnamed409(o.multiValue);
+ checkUnnamed807(o.multiIntValue);
+ checkUnnamed808(o.multiValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterActivityEventsParameters--;
}
-buildUnnamed410() {
+buildUnnamed809() {
var o = new core.List<api.ActivityEventsParameters>();
o.add(buildActivityEventsParameters());
o.add(buildActivityEventsParameters());
return o;
}
-checkUnnamed410(core.List<api.ActivityEventsParameters> o) {
+checkUnnamed809(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 = buildUnnamed410();
+ o.parameters = buildUnnamed809();
o.type = "foo";
}
buildCounterActivityEvents--;
@@ -164,20 +164,20 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed410(o.parameters);
+ checkUnnamed809(o.parameters);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterActivityEvents--;
}
-buildUnnamed411() {
+buildUnnamed810() {
var o = new core.List<api.ActivityEvents>();
o.add(buildActivityEvents());
o.add(buildActivityEvents());
return o;
}
-checkUnnamed411(core.List<api.ActivityEvents> o) {
+checkUnnamed810(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 = buildUnnamed411();
+ o.events = buildUnnamed810();
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'));
- checkUnnamed411(o.events);
+ checkUnnamed810(o.events);
checkActivityId(o.id);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -239,14 +239,14 @@
buildCounterActivity--;
}
-buildUnnamed412() {
+buildUnnamed811() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed412(core.Map<core.String, core.String> o) {
+checkUnnamed811(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 = buildUnnamed412();
+ o.params = buildUnnamed811();
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'));
- checkUnnamed412(o.params);
+ checkUnnamed811(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--;
}
-buildUnnamed413() {
+buildUnnamed812() {
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;
}
-checkUnnamed413(core.Map<core.String, core.Object> o) {
+checkUnnamed812(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'));
}
-buildUnnamed414() {
+buildUnnamed813() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed413());
- o.add(buildUnnamed413());
+ o.add(buildUnnamed812());
+ o.add(buildUnnamed812());
return o;
}
-checkUnnamed414(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed813(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed413(o[0]);
- checkUnnamed413(o[1]);
+ checkUnnamed812(o[0]);
+ checkUnnamed812(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 = buildUnnamed414();
+ o.msgValue = buildUnnamed813();
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'));
- checkUnnamed414(o.msgValue);
+ checkUnnamed813(o.msgValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
buildCounterUsageReportParameters--;
}
-buildUnnamed415() {
+buildUnnamed814() {
var o = new core.List<api.UsageReportParameters>();
o.add(buildUsageReportParameters());
o.add(buildUsageReportParameters());
return o;
}
-checkUnnamed415(core.List<api.UsageReportParameters> o) {
+checkUnnamed814(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 = buildUnnamed415();
+ o.parameters = buildUnnamed814();
}
buildCounterUsageReport--;
return o;
@@ -404,19 +404,19 @@
checkUsageReportEntity(o.entity);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed415(o.parameters);
+ checkUnnamed814(o.parameters);
}
buildCounterUsageReport--;
}
-buildUnnamed416() {
+buildUnnamed815() {
var o = new core.List<api.UsageReport>();
o.add(buildUsageReport());
o.add(buildUsageReport());
return o;
}
-checkUnnamed416(core.List<api.UsageReport> o) {
+checkUnnamed815(core.List<api.UsageReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReport(o[0]);
checkUsageReport(o[1]);
@@ -443,14 +443,14 @@
buildCounterUsageReportsWarningsData--;
}
-buildUnnamed417() {
+buildUnnamed816() {
var o = new core.List<api.UsageReportsWarningsData>();
o.add(buildUsageReportsWarningsData());
o.add(buildUsageReportsWarningsData());
return o;
}
-checkUnnamed417(core.List<api.UsageReportsWarningsData> o) {
+checkUnnamed816(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 = buildUnnamed417();
+ o.data = buildUnnamed816();
o.message = "foo";
}
buildCounterUsageReportsWarnings--;
@@ -473,20 +473,20 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed417(o.data);
+ checkUnnamed816(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUsageReportsWarnings--;
}
-buildUnnamed418() {
+buildUnnamed817() {
var o = new core.List<api.UsageReportsWarnings>();
o.add(buildUsageReportsWarnings());
o.add(buildUsageReportsWarnings());
return o;
}
-checkUnnamed418(core.List<api.UsageReportsWarnings> o) {
+checkUnnamed817(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 = buildUnnamed416();
- o.warnings = buildUnnamed418();
+ o.usageReports = buildUnnamed815();
+ o.warnings = buildUnnamed817();
}
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'));
- checkUnnamed416(o.usageReports);
- checkUnnamed418(o.warnings);
+ checkUnnamed815(o.usageReports);
+ checkUnnamed817(o.warnings);
}
buildCounterUsageReports--;
}
diff --git a/generated/googleapis/test/adsense/v1_4_test.dart b/generated/googleapis/test/adsense/v1_4_test.dart
index f524bce..31f7d49 100644
--- a/generated/googleapis/test/adsense/v1_4_test.dart
+++ b/generated/googleapis/test/adsense/v1_4_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed835() {
+buildUnnamed536() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed835(core.List<api.Account> o) {
+checkUnnamed536(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 = buildUnnamed835();
+ o.subAccounts = buildUnnamed536();
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);
- checkUnnamed835(o.subAccounts);
+ checkUnnamed536(o.subAccounts);
unittest.expect(o.timezone, unittest.equals('foo'));
}
buildCounterAccount--;
}
-buildUnnamed836() {
+buildUnnamed537() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed836(core.List<api.Account> o) {
+checkUnnamed537(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 = buildUnnamed836();
+ o.items = buildUnnamed537();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -89,7 +89,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed836(o.items);
+ checkUnnamed537(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -125,14 +125,14 @@
buildCounterAdClient--;
}
-buildUnnamed837() {
+buildUnnamed538() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed837(core.List<api.AdClient> o) {
+checkUnnamed538(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 = buildUnnamed837();
+ o.items = buildUnnamed538();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -156,7 +156,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed837(o.items);
+ checkUnnamed538(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -390,14 +390,14 @@
buildCounterAdUnit--;
}
-buildUnnamed838() {
+buildUnnamed539() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed838(core.List<api.AdUnit> o) {
+checkUnnamed539(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 = buildUnnamed838();
+ o.items = buildUnnamed539();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -421,21 +421,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed838(o.items);
+ checkUnnamed539(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed839() {
+buildUnnamed540() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed839(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'));
@@ -464,66 +464,66 @@
buildCounterAdsenseReportsGenerateResponseHeaders--;
}
-buildUnnamed840() {
+buildUnnamed541() {
var o = new core.List<api.AdsenseReportsGenerateResponseHeaders>();
o.add(buildAdsenseReportsGenerateResponseHeaders());
o.add(buildAdsenseReportsGenerateResponseHeaders());
return o;
}
-checkUnnamed840(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
+checkUnnamed541(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdsenseReportsGenerateResponseHeaders(o[0]);
checkAdsenseReportsGenerateResponseHeaders(o[1]);
}
-buildUnnamed841() {
+buildUnnamed542() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed841(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'));
}
-buildUnnamed842() {
+buildUnnamed543() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed841());
- o.add(buildUnnamed841());
+ o.add(buildUnnamed542());
+ o.add(buildUnnamed542());
return o;
}
-checkUnnamed842(core.List<core.List<core.String>> o) {
+checkUnnamed543(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed841(o[0]);
- checkUnnamed841(o[1]);
+ checkUnnamed542(o[0]);
+ checkUnnamed542(o[1]);
}
-buildUnnamed843() {
+buildUnnamed544() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed843(core.List<core.String> o) {
+checkUnnamed544(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed844() {
+buildUnnamed545() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed844(core.List<core.String> o) {
+checkUnnamed545(core.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 = buildUnnamed839();
+ o.averages = buildUnnamed540();
o.endDate = "foo";
- o.headers = buildUnnamed840();
+ o.headers = buildUnnamed541();
o.kind = "foo";
- o.rows = buildUnnamed842();
+ o.rows = buildUnnamed543();
o.startDate = "foo";
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed843();
- o.warnings = buildUnnamed844();
+ o.totals = buildUnnamed544();
+ o.warnings = buildUnnamed545();
}
buildCounterAdsenseReportsGenerateResponse--;
return o;
@@ -551,15 +551,15 @@
checkAdsenseReportsGenerateResponse(api.AdsenseReportsGenerateResponse o) {
buildCounterAdsenseReportsGenerateResponse++;
if (buildCounterAdsenseReportsGenerateResponse < 3) {
- checkUnnamed839(o.averages);
+ checkUnnamed540(o.averages);
unittest.expect(o.endDate, unittest.equals('foo'));
- checkUnnamed840(o.headers);
+ checkUnnamed541(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed842(o.rows);
+ checkUnnamed543(o.rows);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed843(o.totals);
- checkUnnamed844(o.warnings);
+ checkUnnamed544(o.totals);
+ checkUnnamed545(o.warnings);
}
buildCounterAdsenseReportsGenerateResponse--;
}
@@ -593,14 +593,14 @@
buildCounterAlert--;
}
-buildUnnamed845() {
+buildUnnamed546() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed845(core.List<api.Alert> o) {
+checkUnnamed546(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 = buildUnnamed845();
+ o.items = buildUnnamed546();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -621,7 +621,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed845(o.items);
+ checkUnnamed546(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -679,14 +679,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed846() {
+buildUnnamed547() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed846(core.List<api.CustomChannel> o) {
+checkUnnamed547(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 = buildUnnamed846();
+ o.items = buildUnnamed547();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -710,21 +710,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed846(o.items);
+ checkUnnamed547(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed847() {
+buildUnnamed548() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed847(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed548(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 = buildUnnamed847();
+ o.items = buildUnnamed548();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -745,7 +745,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed847(o.items);
+ checkUnnamed548(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -778,14 +778,14 @@
buildCounterPayment--;
}
-buildUnnamed848() {
+buildUnnamed549() {
var o = new core.List<api.Payment>();
o.add(buildPayment());
o.add(buildPayment());
return o;
}
-checkUnnamed848(core.List<api.Payment> o) {
+checkUnnamed549(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 = buildUnnamed848();
+ o.items = buildUnnamed549();
o.kind = "foo";
}
buildCounterPayments--;
@@ -806,72 +806,72 @@
checkPayments(api.Payments o) {
buildCounterPayments++;
if (buildCounterPayments < 3) {
- checkUnnamed848(o.items);
+ checkUnnamed549(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPayments--;
}
-buildUnnamed849() {
+buildUnnamed550() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed849(core.List<core.String> o) {
+checkUnnamed550(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed850() {
+buildUnnamed551() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed850(core.List<core.String> o) {
+checkUnnamed551(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed851() {
+buildUnnamed552() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed851(core.List<core.String> o) {
+checkUnnamed552(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed852() {
+buildUnnamed553() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed852(core.List<core.String> o) {
+checkUnnamed553(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed853() {
+buildUnnamed554() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed853(core.List<core.String> o) {
+checkUnnamed554(core.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 = buildUnnamed849();
- o.compatibleMetrics = buildUnnamed850();
+ o.compatibleDimensions = buildUnnamed550();
+ o.compatibleMetrics = buildUnnamed551();
o.id = "foo";
o.kind = "foo";
- o.requiredDimensions = buildUnnamed851();
- o.requiredMetrics = buildUnnamed852();
- o.supportedProducts = buildUnnamed853();
+ o.requiredDimensions = buildUnnamed552();
+ o.requiredMetrics = buildUnnamed553();
+ o.supportedProducts = buildUnnamed554();
}
buildCounterReportingMetadataEntry--;
return o;
@@ -897,13 +897,13 @@
checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed849(o.compatibleDimensions);
- checkUnnamed850(o.compatibleMetrics);
+ checkUnnamed550(o.compatibleDimensions);
+ checkUnnamed551(o.compatibleMetrics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed851(o.requiredDimensions);
- checkUnnamed852(o.requiredMetrics);
- checkUnnamed853(o.supportedProducts);
+ checkUnnamed552(o.requiredDimensions);
+ checkUnnamed553(o.requiredMetrics);
+ checkUnnamed554(o.supportedProducts);
}
buildCounterReportingMetadataEntry--;
}
@@ -933,14 +933,14 @@
buildCounterSavedAdStyle--;
}
-buildUnnamed854() {
+buildUnnamed555() {
var o = new core.List<api.SavedAdStyle>();
o.add(buildSavedAdStyle());
o.add(buildSavedAdStyle());
return o;
}
-checkUnnamed854(core.List<api.SavedAdStyle> o) {
+checkUnnamed555(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 = buildUnnamed854();
+ o.items = buildUnnamed555();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -964,7 +964,7 @@
buildCounterSavedAdStyles++;
if (buildCounterSavedAdStyles < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed854(o.items);
+ checkUnnamed555(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -994,14 +994,14 @@
buildCounterSavedReport--;
}
-buildUnnamed855() {
+buildUnnamed556() {
var o = new core.List<api.SavedReport>();
o.add(buildSavedReport());
o.add(buildSavedReport());
return o;
}
-checkUnnamed855(core.List<api.SavedReport> o) {
+checkUnnamed556(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 = buildUnnamed855();
+ o.items = buildUnnamed556();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1025,7 +1025,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed855(o.items);
+ checkUnnamed556(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1055,14 +1055,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed856() {
+buildUnnamed557() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed856(core.List<api.UrlChannel> o) {
+checkUnnamed557(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 = buildUnnamed856();
+ o.items = buildUnnamed557();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1086,125 +1086,125 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed856(o.items);
+ checkUnnamed557(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed857() {
+buildUnnamed558() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed857(core.List<core.String> o) {
+checkUnnamed558(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed858() {
+buildUnnamed559() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed858(core.List<core.String> o) {
+checkUnnamed559(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed859() {
+buildUnnamed560() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed859(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'));
}
-buildUnnamed860() {
+buildUnnamed561() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed860(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'));
}
-buildUnnamed861() {
+buildUnnamed562() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed861(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'));
}
-buildUnnamed862() {
+buildUnnamed563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed862(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'));
}
-buildUnnamed863() {
+buildUnnamed564() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed863(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'));
}
-buildUnnamed864() {
+buildUnnamed565() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed864(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'));
}
-buildUnnamed865() {
+buildUnnamed566() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed865(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'));
@@ -2333,12 +2333,12 @@
var arg_startDate = "foo";
var arg_endDate = "foo";
var arg_currency = "foo";
- var arg_dimension = buildUnnamed857();
- var arg_filter = buildUnnamed858();
+ var arg_dimension = buildUnnamed558();
+ var arg_filter = buildUnnamed559();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed859();
- var arg_sort = buildUnnamed860();
+ var arg_metric = buildUnnamed560();
+ var arg_sort = buildUnnamed561();
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 = buildUnnamed861();
+ var arg_accountId = buildUnnamed562();
var arg_currency = "foo";
- var arg_dimension = buildUnnamed862();
- var arg_filter = buildUnnamed863();
+ var arg_dimension = buildUnnamed563();
+ var arg_filter = buildUnnamed564();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed864();
- var arg_sort = buildUnnamed865();
+ var arg_metric = buildUnnamed565();
+ var arg_sort = buildUnnamed566();
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 3c9f6d2..0a97e2e 100644
--- a/generated/googleapis/test/adsensehost/v4_1_test.dart
+++ b/generated/googleapis/test/adsensehost/v4_1_test.dart
@@ -41,14 +41,14 @@
buildCounterAccount--;
}
-buildUnnamed995() {
+buildUnnamed632() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed995(core.List<api.Account> o) {
+checkUnnamed632(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 = buildUnnamed995();
+ o.items = buildUnnamed632();
o.kind = "foo";
}
buildCounterAccounts--;
@@ -71,7 +71,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed995(o.items);
+ checkUnnamed632(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccounts--;
@@ -104,14 +104,14 @@
buildCounterAdClient--;
}
-buildUnnamed996() {
+buildUnnamed633() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed996(core.List<api.AdClient> o) {
+checkUnnamed633(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 = buildUnnamed996();
+ o.items = buildUnnamed633();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -135,7 +135,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed996(o.items);
+ checkUnnamed633(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -340,14 +340,14 @@
buildCounterAdUnit--;
}
-buildUnnamed997() {
+buildUnnamed634() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed997(core.List<api.AdUnit> o) {
+checkUnnamed634(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 = buildUnnamed997();
+ o.items = buildUnnamed634();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -371,21 +371,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed997(o.items);
+ checkUnnamed634(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed998() {
+buildUnnamed635() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed998(core.List<core.String> o) {
+checkUnnamed635(core.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 = buildUnnamed998();
+ o.productCodes = buildUnnamed635();
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'));
- checkUnnamed998(o.productCodes);
+ checkUnnamed635(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--;
}
-buildUnnamed999() {
+buildUnnamed636() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed999(core.List<api.CustomChannel> o) {
+checkUnnamed636(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 = buildUnnamed999();
+ o.items = buildUnnamed636();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -482,21 +482,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed999(o.items);
+ checkUnnamed636(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed1000() {
+buildUnnamed637() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1000(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'));
@@ -525,66 +525,66 @@
buildCounterReportHeaders--;
}
-buildUnnamed1001() {
+buildUnnamed638() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed1001(core.List<api.ReportHeaders> o) {
+checkUnnamed638(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed1002() {
+buildUnnamed639() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1002(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'));
}
-buildUnnamed1003() {
+buildUnnamed640() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1002());
- o.add(buildUnnamed1002());
+ o.add(buildUnnamed639());
+ o.add(buildUnnamed639());
return o;
}
-checkUnnamed1003(core.List<core.List<core.String>> o) {
+checkUnnamed640(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1002(o[0]);
- checkUnnamed1002(o[1]);
+ checkUnnamed639(o[0]);
+ checkUnnamed639(o[1]);
}
-buildUnnamed1004() {
+buildUnnamed641() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1004(core.List<core.String> o) {
+checkUnnamed641(core.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() {
+buildUnnamed642() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1005(core.List<core.String> o) {
+checkUnnamed642(core.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 = buildUnnamed1000();
- o.headers = buildUnnamed1001();
+ o.averages = buildUnnamed637();
+ o.headers = buildUnnamed638();
o.kind = "foo";
- o.rows = buildUnnamed1003();
+ o.rows = buildUnnamed640();
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed1004();
- o.warnings = buildUnnamed1005();
+ o.totals = buildUnnamed641();
+ o.warnings = buildUnnamed642();
}
buildCounterReport--;
return o;
@@ -610,13 +610,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed1000(o.averages);
- checkUnnamed1001(o.headers);
+ checkUnnamed637(o.averages);
+ checkUnnamed638(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1003(o.rows);
+ checkUnnamed640(o.rows);
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed1004(o.totals);
- checkUnnamed1005(o.warnings);
+ checkUnnamed641(o.totals);
+ checkUnnamed642(o.warnings);
}
buildCounterReport--;
}
@@ -644,14 +644,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed1006() {
+buildUnnamed643() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed1006(core.List<api.UrlChannel> o) {
+checkUnnamed643(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 = buildUnnamed1006();
+ o.items = buildUnnamed643();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -675,151 +675,151 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1006(o.items);
+ checkUnnamed643(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed1007() {
+buildUnnamed644() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1007(core.List<core.String> o) {
+checkUnnamed644(core.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() {
+buildUnnamed645() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1008(core.List<core.String> o) {
+checkUnnamed645(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1009() {
+buildUnnamed646() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1009(core.List<core.String> o) {
+checkUnnamed646(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1010() {
+buildUnnamed647() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1010(core.List<core.String> o) {
+checkUnnamed647(core.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() {
+buildUnnamed648() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1011(core.List<core.String> o) {
+checkUnnamed648(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1012() {
+buildUnnamed649() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1012(core.List<core.String> o) {
+checkUnnamed649(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1013() {
+buildUnnamed650() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1013(core.List<core.String> o) {
+checkUnnamed650(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1014() {
+buildUnnamed651() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1014(core.List<core.String> o) {
+checkUnnamed651(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1015() {
+buildUnnamed652() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1015(core.List<core.String> o) {
+checkUnnamed652(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1016() {
+buildUnnamed653() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1016(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'));
}
-buildUnnamed1017() {
+buildUnnamed654() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1017(core.List<core.String> o) {
+checkUnnamed654(core.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 = buildUnnamed1007();
+ var arg_filterAdClientId = buildUnnamed644();
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 = buildUnnamed1008();
+ var arg_hostCustomChannelId = buildUnnamed645();
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 = buildUnnamed1009();
- var arg_filter = buildUnnamed1010();
+ var arg_dimension = buildUnnamed646();
+ var arg_filter = buildUnnamed647();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1011();
- var arg_sort = buildUnnamed1012();
+ var arg_metric = buildUnnamed648();
+ var arg_sort = buildUnnamed649();
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 = buildUnnamed1013();
+ var arg_productCode = buildUnnamed650();
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 = buildUnnamed1014();
- var arg_filter = buildUnnamed1015();
+ var arg_dimension = buildUnnamed651();
+ var arg_filter = buildUnnamed652();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1016();
- var arg_sort = buildUnnamed1017();
+ var arg_metric = buildUnnamed653();
+ var arg_sort = buildUnnamed654();
var arg_startIndex = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/analytics/v3_test.dart b/generated/googleapis/test/analytics/v3_test.dart
index 3d132bd..ecd55d4 100644
--- a/generated/googleapis/test/analytics/v3_test.dart
+++ b/generated/googleapis/test/analytics/v3_test.dart
@@ -37,14 +37,14 @@
buildCounterAccountChildLink--;
}
-buildUnnamed609() {
+buildUnnamed5() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed609(core.List<core.String> o) {
+checkUnnamed5(core.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.AccountPermissions();
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- o.effective = buildUnnamed609();
+ o.effective = buildUnnamed5();
}
buildCounterAccountPermissions--;
return o;
@@ -64,7 +64,7 @@
checkAccountPermissions(api.AccountPermissions o) {
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- checkUnnamed609(o.effective);
+ checkUnnamed5(o.effective);
}
buildCounterAccountPermissions--;
}
@@ -127,14 +127,14 @@
buildCounterAccountRef--;
}
-buildUnnamed610() {
+buildUnnamed6() {
var o = new core.List<api.AccountSummary>();
o.add(buildAccountSummary());
o.add(buildAccountSummary());
return o;
}
-checkUnnamed610(core.List<api.AccountSummary> o) {
+checkUnnamed6(core.List<api.AccountSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountSummary(o[0]);
checkAccountSummary(o[1]);
@@ -145,7 +145,7 @@
var o = new api.AccountSummaries();
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- o.items = buildUnnamed610();
+ o.items = buildUnnamed6();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -161,7 +161,7 @@
checkAccountSummaries(api.AccountSummaries o) {
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- checkUnnamed610(o.items);
+ checkUnnamed6(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -173,14 +173,14 @@
buildCounterAccountSummaries--;
}
-buildUnnamed611() {
+buildUnnamed7() {
var o = new core.List<api.WebPropertySummary>();
o.add(buildWebPropertySummary());
o.add(buildWebPropertySummary());
return o;
}
-checkUnnamed611(core.List<api.WebPropertySummary> o) {
+checkUnnamed7(core.List<api.WebPropertySummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPropertySummary(o[0]);
checkWebPropertySummary(o[1]);
@@ -194,7 +194,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.webProperties = buildUnnamed611();
+ o.webProperties = buildUnnamed7();
}
buildCounterAccountSummary--;
return o;
@@ -206,7 +206,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed611(o.webProperties);
+ checkUnnamed7(o.webProperties);
}
buildCounterAccountSummary--;
}
@@ -240,14 +240,14 @@
buildCounterAccountTicket--;
}
-buildUnnamed612() {
+buildUnnamed8() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed612(core.List<api.Account> o) {
+checkUnnamed8(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -258,7 +258,7 @@
var o = new api.Accounts();
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- o.items = buildUnnamed612();
+ o.items = buildUnnamed8();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -274,7 +274,7 @@
checkAccounts(api.Accounts o) {
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- checkUnnamed612(o.items);
+ checkUnnamed8(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -309,14 +309,14 @@
buildCounterAdWordsAccount--;
}
-buildUnnamed613() {
+buildUnnamed9() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed613(core.List<core.String> o) {
+checkUnnamed9(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -327,7 +327,7 @@
var o = new api.AnalyticsDataimportDeleteUploadDataRequest();
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- o.customDataImportUids = buildUnnamed613();
+ o.customDataImportUids = buildUnnamed9();
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
return o;
@@ -336,19 +336,19 @@
checkAnalyticsDataimportDeleteUploadDataRequest(api.AnalyticsDataimportDeleteUploadDataRequest o) {
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- checkUnnamed613(o.customDataImportUids);
+ checkUnnamed9(o.customDataImportUids);
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
}
-buildUnnamed614() {
+buildUnnamed10() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed614(core.Map<core.String, core.String> o) {
+checkUnnamed10(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'));
@@ -359,7 +359,7 @@
var o = new api.Column();
buildCounterColumn++;
if (buildCounterColumn < 3) {
- o.attributes = buildUnnamed614();
+ o.attributes = buildUnnamed10();
o.id = "foo";
o.kind = "foo";
}
@@ -370,34 +370,34 @@
checkColumn(api.Column o) {
buildCounterColumn++;
if (buildCounterColumn < 3) {
- checkUnnamed614(o.attributes);
+ checkUnnamed10(o.attributes);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterColumn--;
}
-buildUnnamed615() {
+buildUnnamed11() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed615(core.List<core.String> o) {
+checkUnnamed11(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed616() {
+buildUnnamed12() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed616(core.List<api.Column> o) {
+checkUnnamed12(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -408,9 +408,9 @@
var o = new api.Columns();
buildCounterColumns++;
if (buildCounterColumns < 3) {
- o.attributeNames = buildUnnamed615();
+ o.attributeNames = buildUnnamed11();
o.etag = "foo";
- o.items = buildUnnamed616();
+ o.items = buildUnnamed12();
o.kind = "foo";
o.totalResults = 42;
}
@@ -421,9 +421,9 @@
checkColumns(api.Columns o) {
buildCounterColumns++;
if (buildCounterColumns < 3) {
- checkUnnamed615(o.attributeNames);
+ checkUnnamed11(o.attributeNames);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed616(o.items);
+ checkUnnamed12(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
}
@@ -472,14 +472,14 @@
buildCounterCustomDataSourceParentLink--;
}
-buildUnnamed617() {
+buildUnnamed13() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed617(core.List<core.String> o) {
+checkUnnamed13(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -499,7 +499,7 @@
o.kind = "foo";
o.name = "foo";
o.parentLink = buildCustomDataSourceParentLink();
- o.profilesLinked = buildUnnamed617();
+ o.profilesLinked = buildUnnamed13();
o.selfLink = "foo";
o.type = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -522,7 +522,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkCustomDataSourceParentLink(o.parentLink);
- checkUnnamed617(o.profilesLinked);
+ checkUnnamed13(o.profilesLinked);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -532,14 +532,14 @@
buildCounterCustomDataSource--;
}
-buildUnnamed618() {
+buildUnnamed14() {
var o = new core.List<api.CustomDataSource>();
o.add(buildCustomDataSource());
o.add(buildCustomDataSource());
return o;
}
-checkUnnamed618(core.List<api.CustomDataSource> o) {
+checkUnnamed14(core.List<api.CustomDataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDataSource(o[0]);
checkCustomDataSource(o[1]);
@@ -550,7 +550,7 @@
var o = new api.CustomDataSources();
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- o.items = buildUnnamed618();
+ o.items = buildUnnamed14();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -566,7 +566,7 @@
checkCustomDataSources(api.CustomDataSources o) {
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- checkUnnamed618(o.items);
+ checkUnnamed14(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -620,14 +620,14 @@
buildCounterDailyUploadRecentChanges--;
}
-buildUnnamed619() {
+buildUnnamed15() {
var o = new core.List<api.DailyUploadRecentChanges>();
o.add(buildDailyUploadRecentChanges());
o.add(buildDailyUploadRecentChanges());
return o;
}
-checkUnnamed619(core.List<api.DailyUploadRecentChanges> o) {
+checkUnnamed15(core.List<api.DailyUploadRecentChanges> o) {
unittest.expect(o, unittest.hasLength(2));
checkDailyUploadRecentChanges(o[0]);
checkDailyUploadRecentChanges(o[1]);
@@ -646,7 +646,7 @@
o.kind = "foo";
o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02");
o.parentLink = buildDailyUploadParentLink();
- o.recentChanges = buildUnnamed619();
+ o.recentChanges = buildUnnamed15();
o.selfLink = "foo";
o.webPropertyId = "foo";
}
@@ -665,7 +665,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkDailyUploadParentLink(o.parentLink);
- checkUnnamed619(o.recentChanges);
+ checkUnnamed15(o.recentChanges);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.webPropertyId, unittest.equals('foo'));
}
@@ -703,14 +703,14 @@
buildCounterDailyUploadAppend--;
}
-buildUnnamed620() {
+buildUnnamed16() {
var o = new core.List<api.DailyUpload>();
o.add(buildDailyUpload());
o.add(buildDailyUpload());
return o;
}
-checkUnnamed620(core.List<api.DailyUpload> o) {
+checkUnnamed16(core.List<api.DailyUpload> o) {
unittest.expect(o, unittest.hasLength(2));
checkDailyUpload(o[0]);
checkDailyUpload(o[1]);
@@ -721,7 +721,7 @@
var o = new api.DailyUploads();
buildCounterDailyUploads++;
if (buildCounterDailyUploads < 3) {
- o.items = buildUnnamed620();
+ o.items = buildUnnamed16();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -737,7 +737,7 @@
checkDailyUploads(api.DailyUploads o) {
buildCounterDailyUploads++;
if (buildCounterDailyUploads < 3) {
- checkUnnamed620(o.items);
+ checkUnnamed16(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -749,14 +749,14 @@
buildCounterDailyUploads--;
}
-buildUnnamed621() {
+buildUnnamed17() {
var o = new core.List<api.AdWordsAccount>();
o.add(buildAdWordsAccount());
o.add(buildAdWordsAccount());
return o;
}
-checkUnnamed621(core.List<api.AdWordsAccount> o) {
+checkUnnamed17(core.List<api.AdWordsAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdWordsAccount(o[0]);
checkAdWordsAccount(o[1]);
@@ -781,14 +781,14 @@
buildCounterEntityAdWordsLinkEntity--;
}
-buildUnnamed622() {
+buildUnnamed18() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed622(core.List<core.String> o) {
+checkUnnamed18(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -799,12 +799,12 @@
var o = new api.EntityAdWordsLink();
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- o.adWordsAccounts = buildUnnamed621();
+ o.adWordsAccounts = buildUnnamed17();
o.entity = buildEntityAdWordsLinkEntity();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.profileIds = buildUnnamed622();
+ o.profileIds = buildUnnamed18();
o.selfLink = "foo";
}
buildCounterEntityAdWordsLink--;
@@ -814,25 +814,25 @@
checkEntityAdWordsLink(api.EntityAdWordsLink o) {
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- checkUnnamed621(o.adWordsAccounts);
+ checkUnnamed17(o.adWordsAccounts);
checkEntityAdWordsLinkEntity(o.entity);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed622(o.profileIds);
+ checkUnnamed18(o.profileIds);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterEntityAdWordsLink--;
}
-buildUnnamed623() {
+buildUnnamed19() {
var o = new core.List<api.EntityAdWordsLink>();
o.add(buildEntityAdWordsLink());
o.add(buildEntityAdWordsLink());
return o;
}
-checkUnnamed623(core.List<api.EntityAdWordsLink> o) {
+checkUnnamed19(core.List<api.EntityAdWordsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAdWordsLink(o[0]);
checkEntityAdWordsLink(o[1]);
@@ -843,7 +843,7 @@
var o = new api.EntityAdWordsLinks();
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- o.items = buildUnnamed623();
+ o.items = buildUnnamed19();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -858,7 +858,7 @@
checkEntityAdWordsLinks(api.EntityAdWordsLinks o) {
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- checkUnnamed623(o.items);
+ checkUnnamed19(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -892,27 +892,27 @@
buildCounterEntityUserLinkEntity--;
}
-buildUnnamed624() {
+buildUnnamed20() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed624(core.List<core.String> o) {
+checkUnnamed20(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed625() {
+buildUnnamed21() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed625(core.List<core.String> o) {
+checkUnnamed21(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -923,8 +923,8 @@
var o = new api.EntityUserLinkPermissions();
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- o.effective = buildUnnamed624();
- o.local = buildUnnamed625();
+ o.effective = buildUnnamed20();
+ o.local = buildUnnamed21();
}
buildCounterEntityUserLinkPermissions--;
return o;
@@ -933,8 +933,8 @@
checkEntityUserLinkPermissions(api.EntityUserLinkPermissions o) {
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- checkUnnamed624(o.effective);
- checkUnnamed625(o.local);
+ checkUnnamed20(o.effective);
+ checkUnnamed21(o.local);
}
buildCounterEntityUserLinkPermissions--;
}
@@ -968,14 +968,14 @@
buildCounterEntityUserLink--;
}
-buildUnnamed626() {
+buildUnnamed22() {
var o = new core.List<api.EntityUserLink>();
o.add(buildEntityUserLink());
o.add(buildEntityUserLink());
return o;
}
-checkUnnamed626(core.List<api.EntityUserLink> o) {
+checkUnnamed22(core.List<api.EntityUserLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityUserLink(o[0]);
checkEntityUserLink(o[1]);
@@ -986,7 +986,7 @@
var o = new api.EntityUserLinks();
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- o.items = buildUnnamed626();
+ o.items = buildUnnamed22();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1001,7 +1001,7 @@
checkEntityUserLinks(api.EntityUserLinks o) {
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- checkUnnamed626(o.items);
+ checkUnnamed22(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1060,14 +1060,14 @@
buildCounterExperimentVariations--;
}
-buildUnnamed627() {
+buildUnnamed23() {
var o = new core.List<api.ExperimentVariations>();
o.add(buildExperimentVariations());
o.add(buildExperimentVariations());
return o;
}
-checkUnnamed627(core.List<api.ExperimentVariations> o) {
+checkUnnamed23(core.List<api.ExperimentVariations> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperimentVariations(o[0]);
checkExperimentVariations(o[1]);
@@ -1102,7 +1102,7 @@
o.status = "foo";
o.trafficCoverage = 42.0;
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
- o.variations = buildUnnamed627();
+ o.variations = buildUnnamed23();
o.webPropertyId = "foo";
o.winnerConfidenceLevel = 42.0;
o.winnerFound = true;
@@ -1138,7 +1138,7 @@
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.trafficCoverage, unittest.equals(42.0));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed627(o.variations);
+ checkUnnamed23(o.variations);
unittest.expect(o.webPropertyId, unittest.equals('foo'));
unittest.expect(o.winnerConfidenceLevel, unittest.equals(42.0));
unittest.expect(o.winnerFound, unittest.isTrue);
@@ -1146,14 +1146,14 @@
buildCounterExperiment--;
}
-buildUnnamed628() {
+buildUnnamed24() {
var o = new core.List<api.Experiment>();
o.add(buildExperiment());
o.add(buildExperiment());
return o;
}
-checkUnnamed628(core.List<api.Experiment> o) {
+checkUnnamed24(core.List<api.Experiment> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperiment(o[0]);
checkExperiment(o[1]);
@@ -1164,7 +1164,7 @@
var o = new api.Experiments();
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- o.items = buildUnnamed628();
+ o.items = buildUnnamed24();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1180,7 +1180,7 @@
checkExperiments(api.Experiments o) {
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- checkUnnamed628(o.items);
+ checkUnnamed24(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1414,14 +1414,14 @@
buildCounterFilterRef--;
}
-buildUnnamed629() {
+buildUnnamed25() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed629(core.List<api.Filter> o) {
+checkUnnamed25(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -1432,7 +1432,7 @@
var o = new api.Filters();
buildCounterFilters++;
if (buildCounterFilters < 3) {
- o.items = buildUnnamed629();
+ o.items = buildUnnamed25();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1448,7 +1448,7 @@
checkFilters(api.Filters o) {
buildCounterFilters++;
if (buildCounterFilters < 3) {
- checkUnnamed629(o.items);
+ checkUnnamed25(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1483,14 +1483,14 @@
buildCounterGaDataColumnHeaders--;
}
-buildUnnamed630() {
+buildUnnamed26() {
var o = new core.List<api.GaDataColumnHeaders>();
o.add(buildGaDataColumnHeaders());
o.add(buildGaDataColumnHeaders());
return o;
}
-checkUnnamed630(core.List<api.GaDataColumnHeaders> o) {
+checkUnnamed26(core.List<api.GaDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataColumnHeaders(o[0]);
checkGaDataColumnHeaders(o[1]);
@@ -1519,14 +1519,14 @@
buildCounterGaDataDataTableCols--;
}
-buildUnnamed631() {
+buildUnnamed27() {
var o = new core.List<api.GaDataDataTableCols>();
o.add(buildGaDataDataTableCols());
o.add(buildGaDataDataTableCols());
return o;
}
-checkUnnamed631(core.List<api.GaDataDataTableCols> o) {
+checkUnnamed27(core.List<api.GaDataDataTableCols> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableCols(o[0]);
checkGaDataDataTableCols(o[1]);
@@ -1551,14 +1551,14 @@
buildCounterGaDataDataTableRowsC--;
}
-buildUnnamed632() {
+buildUnnamed28() {
var o = new core.List<api.GaDataDataTableRowsC>();
o.add(buildGaDataDataTableRowsC());
o.add(buildGaDataDataTableRowsC());
return o;
}
-checkUnnamed632(core.List<api.GaDataDataTableRowsC> o) {
+checkUnnamed28(core.List<api.GaDataDataTableRowsC> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRowsC(o[0]);
checkGaDataDataTableRowsC(o[1]);
@@ -1569,7 +1569,7 @@
var o = new api.GaDataDataTableRows();
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- o.c = buildUnnamed632();
+ o.c = buildUnnamed28();
}
buildCounterGaDataDataTableRows--;
return o;
@@ -1578,19 +1578,19 @@
checkGaDataDataTableRows(api.GaDataDataTableRows o) {
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- checkUnnamed632(o.c);
+ checkUnnamed28(o.c);
}
buildCounterGaDataDataTableRows--;
}
-buildUnnamed633() {
+buildUnnamed29() {
var o = new core.List<api.GaDataDataTableRows>();
o.add(buildGaDataDataTableRows());
o.add(buildGaDataDataTableRows());
return o;
}
-checkUnnamed633(core.List<api.GaDataDataTableRows> o) {
+checkUnnamed29(core.List<api.GaDataDataTableRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRows(o[0]);
checkGaDataDataTableRows(o[1]);
@@ -1601,8 +1601,8 @@
var o = new api.GaDataDataTable();
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- o.cols = buildUnnamed631();
- o.rows = buildUnnamed633();
+ o.cols = buildUnnamed27();
+ o.rows = buildUnnamed29();
}
buildCounterGaDataDataTable--;
return o;
@@ -1611,8 +1611,8 @@
checkGaDataDataTable(api.GaDataDataTable o) {
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- checkUnnamed631(o.cols);
- checkUnnamed633(o.rows);
+ checkUnnamed27(o.cols);
+ checkUnnamed29(o.rows);
}
buildCounterGaDataDataTable--;
}
@@ -1646,27 +1646,27 @@
buildCounterGaDataProfileInfo--;
}
-buildUnnamed634() {
+buildUnnamed30() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed634(core.List<core.String> o) {
+checkUnnamed30(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed635() {
+buildUnnamed31() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed635(core.List<core.String> o) {
+checkUnnamed31(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1682,10 +1682,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed634();
+ o.metrics = buildUnnamed30();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed635();
+ o.sort = buildUnnamed31();
o.start_date = "foo";
o.start_index = 42;
}
@@ -1701,50 +1701,50 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed634(o.metrics);
+ checkUnnamed30(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed635(o.sort);
+ checkUnnamed31(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
buildCounterGaDataQuery--;
}
-buildUnnamed636() {
+buildUnnamed32() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed636(core.List<core.String> o) {
+checkUnnamed32(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed637() {
+buildUnnamed33() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed636());
- o.add(buildUnnamed636());
+ o.add(buildUnnamed32());
+ o.add(buildUnnamed32());
return o;
}
-checkUnnamed637(core.List<core.List<core.String>> o) {
+checkUnnamed33(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed636(o[0]);
- checkUnnamed636(o[1]);
+ checkUnnamed32(o[0]);
+ checkUnnamed32(o[1]);
}
-buildUnnamed638() {
+buildUnnamed34() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed638(core.Map<core.String, core.String> o) {
+checkUnnamed34(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'));
@@ -1755,7 +1755,7 @@
var o = new api.GaData();
buildCounterGaData++;
if (buildCounterGaData < 3) {
- o.columnHeaders = buildUnnamed630();
+ o.columnHeaders = buildUnnamed26();
o.containsSampledData = true;
o.dataTable = buildGaDataDataTable();
o.id = "foo";
@@ -1765,12 +1765,12 @@
o.previousLink = "foo";
o.profileInfo = buildGaDataProfileInfo();
o.query = buildGaDataQuery();
- o.rows = buildUnnamed637();
+ o.rows = buildUnnamed33();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed638();
+ o.totalsForAllResults = buildUnnamed34();
}
buildCounterGaData--;
return o;
@@ -1779,7 +1779,7 @@
checkGaData(api.GaData o) {
buildCounterGaData++;
if (buildCounterGaData < 3) {
- checkUnnamed630(o.columnHeaders);
+ checkUnnamed26(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
checkGaDataDataTable(o.dataTable);
unittest.expect(o.id, unittest.equals('foo'));
@@ -1789,12 +1789,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkGaDataProfileInfo(o.profileInfo);
checkGaDataQuery(o.query);
- checkUnnamed637(o.rows);
+ checkUnnamed33(o.rows);
unittest.expect(o.sampleSize, unittest.equals('foo'));
unittest.expect(o.sampleSpace, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed638(o.totalsForAllResults);
+ checkUnnamed34(o.totalsForAllResults);
}
buildCounterGaData--;
}
@@ -1826,14 +1826,14 @@
buildCounterGoalEventDetailsEventConditions--;
}
-buildUnnamed639() {
+buildUnnamed35() {
var o = new core.List<api.GoalEventDetailsEventConditions>();
o.add(buildGoalEventDetailsEventConditions());
o.add(buildGoalEventDetailsEventConditions());
return o;
}
-checkUnnamed639(core.List<api.GoalEventDetailsEventConditions> o) {
+checkUnnamed35(core.List<api.GoalEventDetailsEventConditions> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalEventDetailsEventConditions(o[0]);
checkGoalEventDetailsEventConditions(o[1]);
@@ -1844,7 +1844,7 @@
var o = new api.GoalEventDetails();
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- o.eventConditions = buildUnnamed639();
+ o.eventConditions = buildUnnamed35();
o.useEventValue = true;
}
buildCounterGoalEventDetails--;
@@ -1854,7 +1854,7 @@
checkGoalEventDetails(api.GoalEventDetails o) {
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- checkUnnamed639(o.eventConditions);
+ checkUnnamed35(o.eventConditions);
unittest.expect(o.useEventValue, unittest.isTrue);
}
buildCounterGoalEventDetails--;
@@ -1904,14 +1904,14 @@
buildCounterGoalUrlDestinationDetailsSteps--;
}
-buildUnnamed640() {
+buildUnnamed36() {
var o = new core.List<api.GoalUrlDestinationDetailsSteps>();
o.add(buildGoalUrlDestinationDetailsSteps());
o.add(buildGoalUrlDestinationDetailsSteps());
return o;
}
-checkUnnamed640(core.List<api.GoalUrlDestinationDetailsSteps> o) {
+checkUnnamed36(core.List<api.GoalUrlDestinationDetailsSteps> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalUrlDestinationDetailsSteps(o[0]);
checkGoalUrlDestinationDetailsSteps(o[1]);
@@ -1925,7 +1925,7 @@
o.caseSensitive = true;
o.firstStepRequired = true;
o.matchType = "foo";
- o.steps = buildUnnamed640();
+ o.steps = buildUnnamed36();
o.url = "foo";
}
buildCounterGoalUrlDestinationDetails--;
@@ -1938,7 +1938,7 @@
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.firstStepRequired, unittest.isTrue);
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed640(o.steps);
+ checkUnnamed36(o.steps);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterGoalUrlDestinationDetails--;
@@ -2039,14 +2039,14 @@
buildCounterGoal--;
}
-buildUnnamed641() {
+buildUnnamed37() {
var o = new core.List<api.Goal>();
o.add(buildGoal());
o.add(buildGoal());
return o;
}
-checkUnnamed641(core.List<api.Goal> o) {
+checkUnnamed37(core.List<api.Goal> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoal(o[0]);
checkGoal(o[1]);
@@ -2057,7 +2057,7 @@
var o = new api.Goals();
buildCounterGoals++;
if (buildCounterGoals < 3) {
- o.items = buildUnnamed641();
+ o.items = buildUnnamed37();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2073,7 +2073,7 @@
checkGoals(api.Goals o) {
buildCounterGoals++;
if (buildCounterGoals < 3) {
- checkUnnamed641(o.items);
+ checkUnnamed37(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2108,14 +2108,14 @@
buildCounterMcfDataColumnHeaders--;
}
-buildUnnamed642() {
+buildUnnamed38() {
var o = new core.List<api.McfDataColumnHeaders>();
o.add(buildMcfDataColumnHeaders());
o.add(buildMcfDataColumnHeaders());
return o;
}
-checkUnnamed642(core.List<api.McfDataColumnHeaders> o) {
+checkUnnamed38(core.List<api.McfDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataColumnHeaders(o[0]);
checkMcfDataColumnHeaders(o[1]);
@@ -2150,27 +2150,27 @@
buildCounterMcfDataProfileInfo--;
}
-buildUnnamed643() {
+buildUnnamed39() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed643(core.List<core.String> o) {
+checkUnnamed39(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed644() {
+buildUnnamed40() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed644(core.List<core.String> o) {
+checkUnnamed40(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2186,10 +2186,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed643();
+ o.metrics = buildUnnamed39();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed644();
+ o.sort = buildUnnamed40();
o.start_date = "foo";
o.start_index = 42;
}
@@ -2205,10 +2205,10 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed643(o.metrics);
+ checkUnnamed39(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed644(o.sort);
+ checkUnnamed40(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
@@ -2236,14 +2236,14 @@
buildCounterMcfDataRowsConversionPathValue--;
}
-buildUnnamed645() {
+buildUnnamed41() {
var o = new core.List<api.McfDataRowsConversionPathValue>();
o.add(buildMcfDataRowsConversionPathValue());
o.add(buildMcfDataRowsConversionPathValue());
return o;
}
-checkUnnamed645(core.List<api.McfDataRowsConversionPathValue> o) {
+checkUnnamed41(core.List<api.McfDataRowsConversionPathValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRowsConversionPathValue(o[0]);
checkMcfDataRowsConversionPathValue(o[1]);
@@ -2254,7 +2254,7 @@
var o = new api.McfDataRows();
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- o.conversionPathValue = buildUnnamed645();
+ o.conversionPathValue = buildUnnamed41();
o.primitiveValue = "foo";
}
buildCounterMcfDataRows--;
@@ -2264,46 +2264,46 @@
checkMcfDataRows(api.McfDataRows o) {
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- checkUnnamed645(o.conversionPathValue);
+ checkUnnamed41(o.conversionPathValue);
unittest.expect(o.primitiveValue, unittest.equals('foo'));
}
buildCounterMcfDataRows--;
}
-buildUnnamed646() {
+buildUnnamed42() {
var o = new core.List<api.McfDataRows>();
o.add(buildMcfDataRows());
o.add(buildMcfDataRows());
return o;
}
-checkUnnamed646(core.List<api.McfDataRows> o) {
+checkUnnamed42(core.List<api.McfDataRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRows(o[0]);
checkMcfDataRows(o[1]);
}
-buildUnnamed647() {
+buildUnnamed43() {
var o = new core.List<core.List<api.McfDataRows>>();
- o.add(buildUnnamed646());
- o.add(buildUnnamed646());
+ o.add(buildUnnamed42());
+ o.add(buildUnnamed42());
return o;
}
-checkUnnamed647(core.List<core.List<api.McfDataRows>> o) {
+checkUnnamed43(core.List<core.List<api.McfDataRows>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed646(o[0]);
- checkUnnamed646(o[1]);
+ checkUnnamed42(o[0]);
+ checkUnnamed42(o[1]);
}
-buildUnnamed648() {
+buildUnnamed44() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed648(core.Map<core.String, core.String> o) {
+checkUnnamed44(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'));
@@ -2314,7 +2314,7 @@
var o = new api.McfData();
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- o.columnHeaders = buildUnnamed642();
+ o.columnHeaders = buildUnnamed38();
o.containsSampledData = true;
o.id = "foo";
o.itemsPerPage = 42;
@@ -2323,12 +2323,12 @@
o.previousLink = "foo";
o.profileInfo = buildMcfDataProfileInfo();
o.query = buildMcfDataQuery();
- o.rows = buildUnnamed647();
+ o.rows = buildUnnamed43();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed648();
+ o.totalsForAllResults = buildUnnamed44();
}
buildCounterMcfData--;
return o;
@@ -2337,7 +2337,7 @@
checkMcfData(api.McfData o) {
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- checkUnnamed642(o.columnHeaders);
+ checkUnnamed38(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.itemsPerPage, unittest.equals(42));
@@ -2346,12 +2346,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkMcfDataProfileInfo(o.profileInfo);
checkMcfDataQuery(o.query);
- checkUnnamed647(o.rows);
+ checkUnnamed43(o.rows);
unittest.expect(o.sampleSize, unittest.equals('foo'));
unittest.expect(o.sampleSpace, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed648(o.totalsForAllResults);
+ checkUnnamed44(o.totalsForAllResults);
}
buildCounterMcfData--;
}
@@ -2398,14 +2398,14 @@
buildCounterProfileParentLink--;
}
-buildUnnamed649() {
+buildUnnamed45() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed649(core.List<core.String> o) {
+checkUnnamed45(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2416,7 +2416,7 @@
var o = new api.ProfilePermissions();
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- o.effective = buildUnnamed649();
+ o.effective = buildUnnamed45();
}
buildCounterProfilePermissions--;
return o;
@@ -2425,7 +2425,7 @@
checkProfilePermissions(api.ProfilePermissions o) {
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- checkUnnamed649(o.effective);
+ checkUnnamed45(o.effective);
}
buildCounterProfilePermissions--;
}
@@ -2522,14 +2522,14 @@
buildCounterProfileFilterLink--;
}
-buildUnnamed650() {
+buildUnnamed46() {
var o = new core.List<api.ProfileFilterLink>();
o.add(buildProfileFilterLink());
o.add(buildProfileFilterLink());
return o;
}
-checkUnnamed650(core.List<api.ProfileFilterLink> o) {
+checkUnnamed46(core.List<api.ProfileFilterLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileFilterLink(o[0]);
checkProfileFilterLink(o[1]);
@@ -2540,7 +2540,7 @@
var o = new api.ProfileFilterLinks();
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- o.items = buildUnnamed650();
+ o.items = buildUnnamed46();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2556,7 +2556,7 @@
checkProfileFilterLinks(api.ProfileFilterLinks o) {
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- checkUnnamed650(o.items);
+ checkUnnamed46(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2624,14 +2624,14 @@
buildCounterProfileSummary--;
}
-buildUnnamed651() {
+buildUnnamed47() {
var o = new core.List<api.Profile>();
o.add(buildProfile());
o.add(buildProfile());
return o;
}
-checkUnnamed651(core.List<api.Profile> o) {
+checkUnnamed47(core.List<api.Profile> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfile(o[0]);
checkProfile(o[1]);
@@ -2642,7 +2642,7 @@
var o = new api.Profiles();
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- o.items = buildUnnamed651();
+ o.items = buildUnnamed47();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2658,7 +2658,7 @@
checkProfiles(api.Profiles o) {
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- checkUnnamed651(o.items);
+ checkUnnamed47(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2693,14 +2693,14 @@
buildCounterRealtimeDataColumnHeaders--;
}
-buildUnnamed652() {
+buildUnnamed48() {
var o = new core.List<api.RealtimeDataColumnHeaders>();
o.add(buildRealtimeDataColumnHeaders());
o.add(buildRealtimeDataColumnHeaders());
return o;
}
-checkUnnamed652(core.List<api.RealtimeDataColumnHeaders> o) {
+checkUnnamed48(core.List<api.RealtimeDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkRealtimeDataColumnHeaders(o[0]);
checkRealtimeDataColumnHeaders(o[1]);
@@ -2735,27 +2735,27 @@
buildCounterRealtimeDataProfileInfo--;
}
-buildUnnamed653() {
+buildUnnamed49() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed653(core.List<core.String> o) {
+checkUnnamed49(core.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() {
+buildUnnamed50() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed654(core.List<core.String> o) {
+checkUnnamed50(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2770,8 +2770,8 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed653();
- o.sort = buildUnnamed654();
+ o.metrics = buildUnnamed49();
+ o.sort = buildUnnamed50();
}
buildCounterRealtimeDataQuery--;
return o;
@@ -2784,46 +2784,46 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed653(o.metrics);
- checkUnnamed654(o.sort);
+ checkUnnamed49(o.metrics);
+ checkUnnamed50(o.sort);
}
buildCounterRealtimeDataQuery--;
}
-buildUnnamed655() {
+buildUnnamed51() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed655(core.List<core.String> o) {
+checkUnnamed51(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed656() {
+buildUnnamed52() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed655());
- o.add(buildUnnamed655());
+ o.add(buildUnnamed51());
+ o.add(buildUnnamed51());
return o;
}
-checkUnnamed656(core.List<core.List<core.String>> o) {
+checkUnnamed52(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed655(o[0]);
- checkUnnamed655(o[1]);
+ checkUnnamed51(o[0]);
+ checkUnnamed51(o[1]);
}
-buildUnnamed657() {
+buildUnnamed53() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed657(core.Map<core.String, core.String> o) {
+checkUnnamed53(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'));
@@ -2834,15 +2834,15 @@
var o = new api.RealtimeData();
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- o.columnHeaders = buildUnnamed652();
+ o.columnHeaders = buildUnnamed48();
o.id = "foo";
o.kind = "foo";
o.profileInfo = buildRealtimeDataProfileInfo();
o.query = buildRealtimeDataQuery();
- o.rows = buildUnnamed656();
+ o.rows = buildUnnamed52();
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed657();
+ o.totalsForAllResults = buildUnnamed53();
}
buildCounterRealtimeData--;
return o;
@@ -2851,15 +2851,15 @@
checkRealtimeData(api.RealtimeData o) {
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- checkUnnamed652(o.columnHeaders);
+ checkUnnamed48(o.columnHeaders);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkRealtimeDataProfileInfo(o.profileInfo);
checkRealtimeDataQuery(o.query);
- checkUnnamed656(o.rows);
+ checkUnnamed52(o.rows);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed657(o.totalsForAllResults);
+ checkUnnamed53(o.totalsForAllResults);
}
buildCounterRealtimeData--;
}
@@ -2899,14 +2899,14 @@
buildCounterSegment--;
}
-buildUnnamed658() {
+buildUnnamed54() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed658(core.List<api.Segment> o) {
+checkUnnamed54(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -2917,7 +2917,7 @@
var o = new api.Segments();
buildCounterSegments++;
if (buildCounterSegments < 3) {
- o.items = buildUnnamed658();
+ o.items = buildUnnamed54();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2933,7 +2933,7 @@
checkSegments(api.Segments o) {
buildCounterSegments++;
if (buildCounterSegments < 3) {
- checkUnnamed658(o.items);
+ checkUnnamed54(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3040,14 +3040,14 @@
buildCounterUnsampledReport--;
}
-buildUnnamed659() {
+buildUnnamed55() {
var o = new core.List<api.UnsampledReport>();
o.add(buildUnsampledReport());
o.add(buildUnsampledReport());
return o;
}
-checkUnnamed659(core.List<api.UnsampledReport> o) {
+checkUnnamed55(core.List<api.UnsampledReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUnsampledReport(o[0]);
checkUnsampledReport(o[1]);
@@ -3058,7 +3058,7 @@
var o = new api.UnsampledReports();
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- o.items = buildUnnamed659();
+ o.items = buildUnnamed55();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3074,7 +3074,7 @@
checkUnsampledReports(api.UnsampledReports o) {
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- checkUnnamed659(o.items);
+ checkUnnamed55(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3086,14 +3086,14 @@
buildCounterUnsampledReports--;
}
-buildUnnamed660() {
+buildUnnamed56() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed660(core.List<core.String> o) {
+checkUnnamed56(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3106,7 +3106,7 @@
if (buildCounterUpload < 3) {
o.accountId = "foo";
o.customDataSourceId = "foo";
- o.errors = buildUnnamed660();
+ o.errors = buildUnnamed56();
o.id = "foo";
o.kind = "foo";
o.status = "foo";
@@ -3120,7 +3120,7 @@
if (buildCounterUpload < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.customDataSourceId, unittest.equals('foo'));
- checkUnnamed660(o.errors);
+ checkUnnamed56(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -3128,14 +3128,14 @@
buildCounterUpload--;
}
-buildUnnamed661() {
+buildUnnamed57() {
var o = new core.List<api.Upload>();
o.add(buildUpload());
o.add(buildUpload());
return o;
}
-checkUnnamed661(core.List<api.Upload> o) {
+checkUnnamed57(core.List<api.Upload> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpload(o[0]);
checkUpload(o[1]);
@@ -3146,7 +3146,7 @@
var o = new api.Uploads();
buildCounterUploads++;
if (buildCounterUploads < 3) {
- o.items = buildUnnamed661();
+ o.items = buildUnnamed57();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3161,7 +3161,7 @@
checkUploads(api.Uploads o) {
buildCounterUploads++;
if (buildCounterUploads < 3) {
- checkUnnamed661(o.items);
+ checkUnnamed57(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3224,14 +3224,14 @@
buildCounterWebPropertyRef--;
}
-buildUnnamed662() {
+buildUnnamed58() {
var o = new core.List<api.ProfileSummary>();
o.add(buildProfileSummary());
o.add(buildProfileSummary());
return o;
}
-checkUnnamed662(core.List<api.ProfileSummary> o) {
+checkUnnamed58(core.List<api.ProfileSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileSummary(o[0]);
checkProfileSummary(o[1]);
@@ -3247,7 +3247,7 @@
o.kind = "foo";
o.level = "foo";
o.name = "foo";
- o.profiles = buildUnnamed662();
+ o.profiles = buildUnnamed58();
o.websiteUrl = "foo";
}
buildCounterWebPropertySummary--;
@@ -3262,20 +3262,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed662(o.profiles);
+ checkUnnamed58(o.profiles);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterWebPropertySummary--;
}
-buildUnnamed663() {
+buildUnnamed59() {
var o = new core.List<api.Webproperty>();
o.add(buildWebproperty());
o.add(buildWebproperty());
return o;
}
-checkUnnamed663(core.List<api.Webproperty> o) {
+checkUnnamed59(core.List<api.Webproperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebproperty(o[0]);
checkWebproperty(o[1]);
@@ -3286,7 +3286,7 @@
var o = new api.Webproperties();
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- o.items = buildUnnamed663();
+ o.items = buildUnnamed59();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3302,7 +3302,7 @@
checkWebproperties(api.Webproperties o) {
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- checkUnnamed663(o.items);
+ checkUnnamed59(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3356,14 +3356,14 @@
buildCounterWebpropertyParentLink--;
}
-buildUnnamed664() {
+buildUnnamed60() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed664(core.List<core.String> o) {
+checkUnnamed60(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3374,7 +3374,7 @@
var o = new api.WebpropertyPermissions();
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- o.effective = buildUnnamed664();
+ o.effective = buildUnnamed60();
}
buildCounterWebpropertyPermissions--;
return o;
@@ -3383,7 +3383,7 @@
checkWebpropertyPermissions(api.WebpropertyPermissions o) {
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- checkUnnamed664(o.effective);
+ checkUnnamed60(o.effective);
}
buildCounterWebpropertyPermissions--;
}
diff --git a/generated/googleapis/test/androidpublisher/v2_test.dart b/generated/googleapis/test/androidpublisher/v2_test.dart
index f8d4462..e5d6623 100644
--- a/generated/googleapis/test/androidpublisher/v2_test.dart
+++ b/generated/googleapis/test/androidpublisher/v2_test.dart
@@ -77,14 +77,14 @@
buildCounterApkListing--;
}
-buildUnnamed981() {
+buildUnnamed61() {
var o = new core.List<api.ApkListing>();
o.add(buildApkListing());
o.add(buildApkListing());
return o;
}
-checkUnnamed981(core.List<api.ApkListing> o) {
+checkUnnamed61(core.List<api.ApkListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkApkListing(o[0]);
checkApkListing(o[1]);
@@ -96,7 +96,7 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed981();
+ o.listings = buildUnnamed61();
}
buildCounterApkListingsListResponse--;
return o;
@@ -106,19 +106,19 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed981(o.listings);
+ checkUnnamed61(o.listings);
}
buildCounterApkListingsListResponse--;
}
-buildUnnamed982() {
+buildUnnamed62() {
var o = new core.List<api.Apk>();
o.add(buildApk());
o.add(buildApk());
return o;
}
-checkUnnamed982(core.List<api.Apk> o) {
+checkUnnamed62(core.List<api.Apk> o) {
unittest.expect(o, unittest.hasLength(2));
checkApk(o[0]);
checkApk(o[1]);
@@ -129,7 +129,7 @@
var o = new api.ApksListResponse();
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- o.apks = buildUnnamed982();
+ o.apks = buildUnnamed62();
o.kind = "foo";
}
buildCounterApksListResponse--;
@@ -139,7 +139,7 @@
checkApksListResponse(api.ApksListResponse o) {
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- checkUnnamed982(o.apks);
+ checkUnnamed62(o.apks);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterApksListResponse--;
@@ -254,14 +254,14 @@
buildCounterImage--;
}
-buildUnnamed983() {
+buildUnnamed63() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed983(core.List<api.Image> o) {
+checkUnnamed63(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -272,7 +272,7 @@
var o = new api.ImagesDeleteAllResponse();
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- o.deleted = buildUnnamed983();
+ o.deleted = buildUnnamed63();
}
buildCounterImagesDeleteAllResponse--;
return o;
@@ -281,19 +281,19 @@
checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) {
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- checkUnnamed983(o.deleted);
+ checkUnnamed63(o.deleted);
}
buildCounterImagesDeleteAllResponse--;
}
-buildUnnamed984() {
+buildUnnamed64() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed984(core.List<api.Image> o) {
+checkUnnamed64(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -304,7 +304,7 @@
var o = new api.ImagesListResponse();
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- o.images = buildUnnamed984();
+ o.images = buildUnnamed64();
}
buildCounterImagesListResponse--;
return o;
@@ -313,7 +313,7 @@
checkImagesListResponse(api.ImagesListResponse o) {
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- checkUnnamed984(o.images);
+ checkUnnamed64(o.images);
}
buildCounterImagesListResponse--;
}
@@ -337,27 +337,27 @@
buildCounterImagesUploadResponse--;
}
-buildUnnamed985() {
+buildUnnamed65() {
var o = new core.Map<core.String, api.InAppProductListing>();
o["x"] = buildInAppProductListing();
o["y"] = buildInAppProductListing();
return o;
}
-checkUnnamed985(core.Map<core.String, api.InAppProductListing> o) {
+checkUnnamed65(core.Map<core.String, api.InAppProductListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProductListing(o["x"]);
checkInAppProductListing(o["y"]);
}
-buildUnnamed986() {
+buildUnnamed66() {
var o = new core.Map<core.String, api.Price>();
o["x"] = buildPrice();
o["y"] = buildPrice();
return o;
}
-checkUnnamed986(core.Map<core.String, api.Price> o) {
+checkUnnamed66(core.Map<core.String, api.Price> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrice(o["x"]);
checkPrice(o["y"]);
@@ -370,9 +370,9 @@
if (buildCounterInAppProduct < 3) {
o.defaultLanguage = "foo";
o.defaultPrice = buildPrice();
- o.listings = buildUnnamed985();
+ o.listings = buildUnnamed65();
o.packageName = "foo";
- o.prices = buildUnnamed986();
+ o.prices = buildUnnamed66();
o.purchaseType = "foo";
o.season = buildSeason();
o.sku = "foo";
@@ -389,9 +389,9 @@
if (buildCounterInAppProduct < 3) {
unittest.expect(o.defaultLanguage, unittest.equals('foo'));
checkPrice(o.defaultPrice);
- checkUnnamed985(o.listings);
+ checkUnnamed65(o.listings);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed986(o.prices);
+ checkUnnamed66(o.prices);
unittest.expect(o.purchaseType, unittest.equals('foo'));
checkSeason(o.season);
unittest.expect(o.sku, unittest.equals('foo'));
@@ -423,14 +423,14 @@
buildCounterInAppProductListing--;
}
-buildUnnamed987() {
+buildUnnamed67() {
var o = new core.List<api.InappproductsBatchRequestEntry>();
o.add(buildInappproductsBatchRequestEntry());
o.add(buildInappproductsBatchRequestEntry());
return o;
}
-checkUnnamed987(core.List<api.InappproductsBatchRequestEntry> o) {
+checkUnnamed67(core.List<api.InappproductsBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInappproductsBatchRequestEntry(o[0]);
checkInappproductsBatchRequestEntry(o[1]);
@@ -441,7 +441,7 @@
var o = new api.InappproductsBatchRequest();
buildCounterInappproductsBatchRequest++;
if (buildCounterInappproductsBatchRequest < 3) {
- o.entrys = buildUnnamed987();
+ o.entrys = buildUnnamed67();
}
buildCounterInappproductsBatchRequest--;
return o;
@@ -450,7 +450,7 @@
checkInappproductsBatchRequest(api.InappproductsBatchRequest o) {
buildCounterInappproductsBatchRequest++;
if (buildCounterInappproductsBatchRequest < 3) {
- checkUnnamed987(o.entrys);
+ checkUnnamed67(o.entrys);
}
buildCounterInappproductsBatchRequest--;
}
@@ -480,14 +480,14 @@
buildCounterInappproductsBatchRequestEntry--;
}
-buildUnnamed988() {
+buildUnnamed68() {
var o = new core.List<api.InappproductsBatchResponseEntry>();
o.add(buildInappproductsBatchResponseEntry());
o.add(buildInappproductsBatchResponseEntry());
return o;
}
-checkUnnamed988(core.List<api.InappproductsBatchResponseEntry> o) {
+checkUnnamed68(core.List<api.InappproductsBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInappproductsBatchResponseEntry(o[0]);
checkInappproductsBatchResponseEntry(o[1]);
@@ -498,7 +498,7 @@
var o = new api.InappproductsBatchResponse();
buildCounterInappproductsBatchResponse++;
if (buildCounterInappproductsBatchResponse < 3) {
- o.entrys = buildUnnamed988();
+ o.entrys = buildUnnamed68();
o.kind = "foo";
}
buildCounterInappproductsBatchResponse--;
@@ -508,7 +508,7 @@
checkInappproductsBatchResponse(api.InappproductsBatchResponse o) {
buildCounterInappproductsBatchResponse++;
if (buildCounterInappproductsBatchResponse < 3) {
- checkUnnamed988(o.entrys);
+ checkUnnamed68(o.entrys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInappproductsBatchResponse--;
@@ -575,14 +575,14 @@
buildCounterInappproductsInsertResponse--;
}
-buildUnnamed989() {
+buildUnnamed69() {
var o = new core.List<api.InAppProduct>();
o.add(buildInAppProduct());
o.add(buildInAppProduct());
return o;
}
-checkUnnamed989(core.List<api.InAppProduct> o) {
+checkUnnamed69(core.List<api.InAppProduct> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProduct(o[0]);
checkInAppProduct(o[1]);
@@ -593,7 +593,7 @@
var o = new api.InappproductsListResponse();
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- o.inappproduct = buildUnnamed989();
+ o.inappproduct = buildUnnamed69();
o.kind = "foo";
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
@@ -605,7 +605,7 @@
checkInappproductsListResponse(api.InappproductsListResponse o) {
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- checkUnnamed989(o.inappproduct);
+ checkUnnamed69(o.inappproduct);
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
@@ -678,14 +678,14 @@
buildCounterListing--;
}
-buildUnnamed990() {
+buildUnnamed70() {
var o = new core.List<api.Listing>();
o.add(buildListing());
o.add(buildListing());
return o;
}
-checkUnnamed990(core.List<api.Listing> o) {
+checkUnnamed70(core.List<api.Listing> o) {
unittest.expect(o, unittest.hasLength(2));
checkListing(o[0]);
checkListing(o[1]);
@@ -697,7 +697,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed990();
+ o.listings = buildUnnamed70();
}
buildCounterListingsListResponse--;
return o;
@@ -707,7 +707,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed990(o.listings);
+ checkUnnamed70(o.listings);
}
buildCounterListingsListResponse--;
}
@@ -909,27 +909,27 @@
buildCounterSubscriptionPurchasesDeferResponse--;
}
-buildUnnamed991() {
+buildUnnamed71() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed991(core.List<core.String> o) {
+checkUnnamed71(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed992() {
+buildUnnamed72() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed992(core.List<core.String> o) {
+checkUnnamed72(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -940,8 +940,8 @@
var o = new api.Testers();
buildCounterTesters++;
if (buildCounterTesters < 3) {
- o.googleGroups = buildUnnamed991();
- o.googlePlusCommunities = buildUnnamed992();
+ o.googleGroups = buildUnnamed71();
+ o.googlePlusCommunities = buildUnnamed72();
}
buildCounterTesters--;
return o;
@@ -950,8 +950,8 @@
checkTesters(api.Testers o) {
buildCounterTesters++;
if (buildCounterTesters < 3) {
- checkUnnamed991(o.googleGroups);
- checkUnnamed992(o.googlePlusCommunities);
+ checkUnnamed71(o.googleGroups);
+ checkUnnamed72(o.googlePlusCommunities);
}
buildCounterTesters--;
}
@@ -977,14 +977,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed993() {
+buildUnnamed73() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed993(core.List<core.int> o) {
+checkUnnamed73(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));
@@ -997,7 +997,7 @@
if (buildCounterTrack < 3) {
o.track = "foo";
o.userFraction = 42.0;
- o.versionCodes = buildUnnamed993();
+ o.versionCodes = buildUnnamed73();
}
buildCounterTrack--;
return o;
@@ -1008,19 +1008,19 @@
if (buildCounterTrack < 3) {
unittest.expect(o.track, unittest.equals('foo'));
unittest.expect(o.userFraction, unittest.equals(42.0));
- checkUnnamed993(o.versionCodes);
+ checkUnnamed73(o.versionCodes);
}
buildCounterTrack--;
}
-buildUnnamed994() {
+buildUnnamed74() {
var o = new core.List<api.Track>();
o.add(buildTrack());
o.add(buildTrack());
return o;
}
-checkUnnamed994(core.List<api.Track> o) {
+checkUnnamed74(core.List<api.Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrack(o[0]);
checkTrack(o[1]);
@@ -1032,7 +1032,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
o.kind = "foo";
- o.tracks = buildUnnamed994();
+ o.tracks = buildUnnamed74();
}
buildCounterTracksListResponse--;
return o;
@@ -1042,7 +1042,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed994(o.tracks);
+ checkUnnamed74(o.tracks);
}
buildCounterTracksListResponse--;
}
diff --git a/generated/googleapis/test/appsactivity/v1_test.dart b/generated/googleapis/test/appsactivity/v1_test.dart
index c66a102..c4f4946 100644
--- a/generated/googleapis/test/appsactivity/v1_test.dart
+++ b/generated/googleapis/test/appsactivity/v1_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed684() {
+buildUnnamed567() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed684(core.List<api.Event> o) {
+checkUnnamed567(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 = buildUnnamed684();
+ o.singleEvents = buildUnnamed567();
}
buildCounterActivity--;
return o;
@@ -45,32 +45,32 @@
buildCounterActivity++;
if (buildCounterActivity < 3) {
checkEvent(o.combinedEvent);
- checkUnnamed684(o.singleEvents);
+ checkUnnamed567(o.singleEvents);
}
buildCounterActivity--;
}
-buildUnnamed685() {
+buildUnnamed568() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed685(core.List<core.String> o) {
+checkUnnamed568(core.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() {
+buildUnnamed569() {
var o = new core.List<api.PermissionChange>();
o.add(buildPermissionChange());
o.add(buildPermissionChange());
return o;
}
-checkUnnamed686(core.List<api.PermissionChange> o) {
+checkUnnamed569(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 = buildUnnamed685();
+ o.additionalEventTypes = buildUnnamed568();
o.eventTimeMillis = "foo";
o.fromUserDeletion = true;
o.move = buildMove();
- o.permissionChanges = buildUnnamed686();
+ o.permissionChanges = buildUnnamed569();
o.primaryEventType = "foo";
o.rename = buildRename();
o.target = buildTarget();
@@ -98,11 +98,11 @@
checkEvent(api.Event o) {
buildCounterEvent++;
if (buildCounterEvent < 3) {
- checkUnnamed685(o.additionalEventTypes);
+ checkUnnamed568(o.additionalEventTypes);
unittest.expect(o.eventTimeMillis, unittest.equals('foo'));
unittest.expect(o.fromUserDeletion, unittest.isTrue);
checkMove(o.move);
- checkUnnamed686(o.permissionChanges);
+ checkUnnamed569(o.permissionChanges);
unittest.expect(o.primaryEventType, unittest.equals('foo'));
checkRename(o.rename);
checkTarget(o.target);
@@ -111,14 +111,14 @@
buildCounterEvent--;
}
-buildUnnamed687() {
+buildUnnamed570() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed687(core.List<api.Activity> o) {
+checkUnnamed570(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 = buildUnnamed687();
+ o.activities = buildUnnamed570();
o.nextPageToken = "foo";
}
buildCounterListActivitiesResponse--;
@@ -139,33 +139,33 @@
checkListActivitiesResponse(api.ListActivitiesResponse o) {
buildCounterListActivitiesResponse++;
if (buildCounterListActivitiesResponse < 3) {
- checkUnnamed687(o.activities);
+ checkUnnamed570(o.activities);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListActivitiesResponse--;
}
-buildUnnamed688() {
+buildUnnamed571() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed688(core.List<api.Parent> o) {
+checkUnnamed571(core.List<api.Parent> o) {
unittest.expect(o, unittest.hasLength(2));
checkParent(o[0]);
checkParent(o[1]);
}
-buildUnnamed689() {
+buildUnnamed572() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed689(core.List<api.Parent> o) {
+checkUnnamed572(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 = buildUnnamed688();
- o.removedParents = buildUnnamed689();
+ o.addedParents = buildUnnamed571();
+ o.removedParents = buildUnnamed572();
}
buildCounterMove--;
return o;
@@ -186,8 +186,8 @@
checkMove(api.Move o) {
buildCounterMove++;
if (buildCounterMove < 3) {
- checkUnnamed688(o.addedParents);
- checkUnnamed689(o.removedParents);
+ checkUnnamed571(o.addedParents);
+ checkUnnamed572(o.removedParents);
}
buildCounterMove--;
}
@@ -244,27 +244,27 @@
buildCounterPermission--;
}
-buildUnnamed690() {
+buildUnnamed573() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed690(core.List<api.Permission> o) {
+checkUnnamed573(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed691() {
+buildUnnamed574() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed691(core.List<api.Permission> o) {
+checkUnnamed574(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 = buildUnnamed690();
- o.removedPermissions = buildUnnamed691();
+ o.addedPermissions = buildUnnamed573();
+ o.removedPermissions = buildUnnamed574();
}
buildCounterPermissionChange--;
return o;
@@ -285,8 +285,8 @@
checkPermissionChange(api.PermissionChange o) {
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- checkUnnamed690(o.addedPermissions);
- checkUnnamed691(o.removedPermissions);
+ checkUnnamed573(o.addedPermissions);
+ checkUnnamed574(o.removedPermissions);
}
buildCounterPermissionChange--;
}
diff --git a/generated/googleapis/test/appstate/v1_test.dart b/generated/googleapis/test/appstate/v1_test.dart
index 401abba..b069ee8 100644
--- a/generated/googleapis/test/appstate/v1_test.dart
+++ b/generated/googleapis/test/appstate/v1_test.dart
@@ -41,14 +41,14 @@
buildCounterGetResponse--;
}
-buildUnnamed971() {
+buildUnnamed762() {
var o = new core.List<api.GetResponse>();
o.add(buildGetResponse());
o.add(buildGetResponse());
return o;
}
-checkUnnamed971(core.List<api.GetResponse> o) {
+checkUnnamed762(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 = buildUnnamed971();
+ o.items = buildUnnamed762();
o.kind = "foo";
o.maximumKeyCount = 42;
}
@@ -70,7 +70,7 @@
checkListResponse(api.ListResponse o) {
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
- checkUnnamed971(o.items);
+ checkUnnamed762(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 5f085da..6dc6032 100644
--- a/generated/googleapis/test/bigquery/v2_test.dart
+++ b/generated/googleapis/test/bigquery/v2_test.dart
@@ -45,14 +45,14 @@
buildCounterDatasetAccess--;
}
-buildUnnamed1041() {
+buildUnnamed742() {
var o = new core.List<api.DatasetAccess>();
o.add(buildDatasetAccess());
o.add(buildDatasetAccess());
return o;
}
-checkUnnamed1041(core.List<api.DatasetAccess> o) {
+checkUnnamed742(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 = buildUnnamed1041();
+ o.access = buildUnnamed742();
o.creationTime = "foo";
o.datasetReference = buildDatasetReference();
o.description = "foo";
@@ -81,7 +81,7 @@
checkDataset(api.Dataset o) {
buildCounterDataset++;
if (buildCounterDataset < 3) {
- checkUnnamed1041(o.access);
+ checkUnnamed742(o.access);
unittest.expect(o.creationTime, unittest.equals('foo'));
checkDatasetReference(o.datasetReference);
unittest.expect(o.description, unittest.equals('foo'));
@@ -120,14 +120,14 @@
buildCounterDatasetListDatasets--;
}
-buildUnnamed1042() {
+buildUnnamed743() {
var o = new core.List<api.DatasetListDatasets>();
o.add(buildDatasetListDatasets());
o.add(buildDatasetListDatasets());
return o;
}
-checkUnnamed1042(core.List<api.DatasetListDatasets> o) {
+checkUnnamed743(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 = buildUnnamed1042();
+ o.datasets = buildUnnamed743();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -150,7 +150,7 @@
checkDatasetList(api.DatasetList o) {
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- checkUnnamed1042(o.datasets);
+ checkUnnamed743(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--;
}
-buildUnnamed1043() {
+buildUnnamed744() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1043(core.List<api.TableRow> o) {
+checkUnnamed744(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 = buildUnnamed1043();
+ o.rows = buildUnnamed744();
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'));
- checkUnnamed1043(o.rows);
+ checkUnnamed744(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalRows, unittest.equals('foo'));
}
@@ -314,14 +314,14 @@
buildCounterJobConfiguration--;
}
-buildUnnamed1044() {
+buildUnnamed745() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1044(core.List<core.String> o) {
+checkUnnamed745(core.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 = buildUnnamed1044();
+ o.destinationUris = buildUnnamed745();
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'));
- checkUnnamed1044(o.destinationUris);
+ checkUnnamed745(o.destinationUris);
unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
unittest.expect(o.printHeader, unittest.isTrue);
checkTableReference(o.sourceTable);
@@ -358,14 +358,14 @@
buildCounterJobConfigurationExtract--;
}
-buildUnnamed1045() {
+buildUnnamed746() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1045(core.List<core.String> o) {
+checkUnnamed746(core.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 = buildUnnamed1045();
+ o.sourceUri = buildUnnamed746();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationLink--;
@@ -390,20 +390,20 @@
if (buildCounterJobConfigurationLink < 3) {
unittest.expect(o.createDisposition, unittest.equals('foo'));
checkTableReference(o.destinationTable);
- checkUnnamed1045(o.sourceUri);
+ checkUnnamed746(o.sourceUri);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationLink--;
}
-buildUnnamed1046() {
+buildUnnamed747() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1046(core.List<core.String> o) {
+checkUnnamed747(core.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 = buildUnnamed1046();
+ o.sourceUris = buildUnnamed747();
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'));
- checkUnnamed1046(o.sourceUris);
+ checkUnnamed747(o.sourceUris);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationLoad--;
@@ -495,14 +495,14 @@
buildCounterJobConfigurationQuery--;
}
-buildUnnamed1047() {
+buildUnnamed748() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed1047(core.List<api.TableReference> o) {
+checkUnnamed748(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 = buildUnnamed1047();
+ o.sourceTables = buildUnnamed748();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationTableCopy--;
@@ -529,7 +529,7 @@
unittest.expect(o.createDisposition, unittest.equals('foo'));
checkTableReference(o.destinationTable);
checkTableReference(o.sourceTable);
- checkUnnamed1047(o.sourceTables);
+ checkUnnamed748(o.sourceTables);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationTableCopy--;
@@ -570,14 +570,14 @@
buildCounterJobListJobs--;
}
-buildUnnamed1048() {
+buildUnnamed749() {
var o = new core.List<api.JobListJobs>();
o.add(buildJobListJobs());
o.add(buildJobListJobs());
return o;
}
-checkUnnamed1048(core.List<api.JobListJobs> o) {
+checkUnnamed749(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 = buildUnnamed1048();
+ o.jobs = buildUnnamed749();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -602,7 +602,7 @@
buildCounterJobList++;
if (buildCounterJobList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1048(o.jobs);
+ checkUnnamed749(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--;
}
-buildUnnamed1049() {
+buildUnnamed750() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed1049(core.List<api.ErrorProto> o) {
+checkUnnamed750(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 = buildUnnamed1049();
+ o.errors = buildUnnamed750();
o.state = "foo";
}
buildCounterJobStatus--;
@@ -736,7 +736,7 @@
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
checkErrorProto(o.errorResult);
- checkUnnamed1049(o.errors);
+ checkUnnamed750(o.errors);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterJobStatus--;
@@ -782,14 +782,14 @@
buildCounterProjectListProjects--;
}
-buildUnnamed1050() {
+buildUnnamed751() {
var o = new core.List<api.ProjectListProjects>();
o.add(buildProjectListProjects());
o.add(buildProjectListProjects());
return o;
}
-checkUnnamed1050(core.List<api.ProjectListProjects> o) {
+checkUnnamed751(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 = buildUnnamed1050();
+ o.projects = buildUnnamed751();
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'));
- checkUnnamed1050(o.projects);
+ checkUnnamed751(o.projects);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterProjectList--;
@@ -874,14 +874,14 @@
buildCounterQueryRequest--;
}
-buildUnnamed1051() {
+buildUnnamed752() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1051(core.List<api.TableRow> o) {
+checkUnnamed752(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 = buildUnnamed1051();
+ o.rows = buildUnnamed752();
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'));
- checkUnnamed1051(o.rows);
+ checkUnnamed752(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -1009,14 +1009,14 @@
buildCounterTableDataInsertAllRequestRows--;
}
-buildUnnamed1052() {
+buildUnnamed753() {
var o = new core.List<api.TableDataInsertAllRequestRows>();
o.add(buildTableDataInsertAllRequestRows());
o.add(buildTableDataInsertAllRequestRows());
return o;
}
-checkUnnamed1052(core.List<api.TableDataInsertAllRequestRows> o) {
+checkUnnamed753(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 = buildUnnamed1052();
+ o.rows = buildUnnamed753();
}
buildCounterTableDataInsertAllRequest--;
return o;
@@ -1038,19 +1038,19 @@
buildCounterTableDataInsertAllRequest++;
if (buildCounterTableDataInsertAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1052(o.rows);
+ checkUnnamed753(o.rows);
}
buildCounterTableDataInsertAllRequest--;
}
-buildUnnamed1053() {
+buildUnnamed754() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed1053(core.List<api.ErrorProto> o) {
+checkUnnamed754(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 = buildUnnamed1053();
+ o.errors = buildUnnamed754();
o.index = 42;
}
buildCounterTableDataInsertAllResponseInsertErrors--;
@@ -1071,20 +1071,20 @@
checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsertErrors o) {
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- checkUnnamed1053(o.errors);
+ checkUnnamed754(o.errors);
unittest.expect(o.index, unittest.equals(42));
}
buildCounterTableDataInsertAllResponseInsertErrors--;
}
-buildUnnamed1054() {
+buildUnnamed755() {
var o = new core.List<api.TableDataInsertAllResponseInsertErrors>();
o.add(buildTableDataInsertAllResponseInsertErrors());
o.add(buildTableDataInsertAllResponseInsertErrors());
return o;
}
-checkUnnamed1054(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
+checkUnnamed755(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 = buildUnnamed1054();
+ o.insertErrors = buildUnnamed755();
o.kind = "foo";
}
buildCounterTableDataInsertAllResponse--;
@@ -1105,20 +1105,20 @@
checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) {
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- checkUnnamed1054(o.insertErrors);
+ checkUnnamed755(o.insertErrors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTableDataInsertAllResponse--;
}
-buildUnnamed1055() {
+buildUnnamed756() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1055(core.List<api.TableRow> o) {
+checkUnnamed756(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 = buildUnnamed1055();
+ o.rows = buildUnnamed756();
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'));
- checkUnnamed1055(o.rows);
+ checkUnnamed756(o.rows);
unittest.expect(o.totalRows, unittest.equals('foo'));
}
buildCounterTableDataList--;
}
-buildUnnamed1056() {
+buildUnnamed757() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed1056(core.List<api.TableFieldSchema> o) {
+checkUnnamed757(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 = buildUnnamed1056();
+ o.fields = buildUnnamed757();
o.mode = "foo";
o.name = "foo";
o.type = "foo";
@@ -1183,7 +1183,7 @@
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1056(o.fields);
+ checkUnnamed757(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--;
}
-buildUnnamed1057() {
+buildUnnamed758() {
var o = new core.List<api.TableListTables>();
o.add(buildTableListTables());
o.add(buildTableListTables());
return o;
}
-checkUnnamed1057(core.List<api.TableListTables> o) {
+checkUnnamed758(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 = buildUnnamed1057();
+ o.tables = buildUnnamed758();
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'));
- checkUnnamed1057(o.tables);
+ checkUnnamed758(o.tables);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterTableList--;
@@ -1281,14 +1281,14 @@
buildCounterTableReference--;
}
-buildUnnamed1058() {
+buildUnnamed759() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed1058(core.List<api.TableCell> o) {
+checkUnnamed759(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 = buildUnnamed1058();
+ o.f = buildUnnamed759();
}
buildCounterTableRow--;
return o;
@@ -1308,19 +1308,19 @@
checkTableRow(api.TableRow o) {
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- checkUnnamed1058(o.f);
+ checkUnnamed759(o.f);
}
buildCounterTableRow--;
}
-buildUnnamed1059() {
+buildUnnamed760() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed1059(core.List<api.TableFieldSchema> o) {
+checkUnnamed760(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 = buildUnnamed1059();
+ o.fields = buildUnnamed760();
}
buildCounterTableSchema--;
return o;
@@ -1340,7 +1340,7 @@
checkTableSchema(api.TableSchema o) {
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- checkUnnamed1059(o.fields);
+ checkUnnamed760(o.fields);
}
buildCounterTableSchema--;
}
@@ -1364,14 +1364,14 @@
buildCounterViewDefinition--;
}
-buildUnnamed1060() {
+buildUnnamed761() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1060(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'));
@@ -2295,7 +2295,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_projection = "foo";
- var arg_stateFilter = buildUnnamed1060();
+ var arg_stateFilter = buildUnnamed761();
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 3adb479..73c691a 100644
--- a/generated/googleapis/test/blogger/v3_test.dart
+++ b/generated/googleapis/test/blogger/v3_test.dart
@@ -60,14 +60,14 @@
buildCounterBlogPages--;
}
-buildUnnamed729() {
+buildUnnamed575() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed729(core.List<api.Post> o) {
+checkUnnamed575(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 = buildUnnamed729();
+ o.items = buildUnnamed575();
o.selfLink = "foo";
o.totalItems = 42;
}
@@ -89,7 +89,7 @@
checkBlogPosts(api.BlogPosts o) {
buildCounterBlogPosts++;
if (buildCounterBlogPosts < 3) {
- checkUnnamed729(o.items);
+ checkUnnamed575(o.items);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
@@ -139,27 +139,27 @@
buildCounterBlog--;
}
-buildUnnamed730() {
+buildUnnamed576() {
var o = new core.List<api.BlogUserInfo>();
o.add(buildBlogUserInfo());
o.add(buildBlogUserInfo());
return o;
}
-checkUnnamed730(core.List<api.BlogUserInfo> o) {
+checkUnnamed576(core.List<api.BlogUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlogUserInfo(o[0]);
checkBlogUserInfo(o[1]);
}
-buildUnnamed731() {
+buildUnnamed577() {
var o = new core.List<api.Blog>();
o.add(buildBlog());
o.add(buildBlog());
return o;
}
-checkUnnamed731(core.List<api.Blog> o) {
+checkUnnamed577(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 = buildUnnamed730();
- o.items = buildUnnamed731();
+ o.blogUserInfos = buildUnnamed576();
+ o.items = buildUnnamed577();
o.kind = "foo";
}
buildCounterBlogList--;
@@ -181,8 +181,8 @@
checkBlogList(api.BlogList o) {
buildCounterBlogList++;
if (buildCounterBlogList < 3) {
- checkUnnamed730(o.blogUserInfos);
- checkUnnamed731(o.items);
+ checkUnnamed576(o.blogUserInfos);
+ checkUnnamed577(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBlogList--;
@@ -380,14 +380,14 @@
buildCounterComment--;
}
-buildUnnamed732() {
+buildUnnamed578() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed732(core.List<api.Comment> o) {
+checkUnnamed578(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 = buildUnnamed732();
+ o.items = buildUnnamed578();
o.kind = "foo";
o.nextPageToken = "foo";
o.prevPageToken = "foo";
@@ -410,7 +410,7 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed732(o.items);
+ checkUnnamed578(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--;
}
-buildUnnamed733() {
+buildUnnamed579() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed733(core.List<api.Page> o) {
+checkUnnamed579(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 = buildUnnamed733();
+ o.items = buildUnnamed579();
o.kind = "foo";
}
buildCounterPageList--;
@@ -550,7 +550,7 @@
checkPageList(api.PageList o) {
buildCounterPageList++;
if (buildCounterPageList < 3) {
- checkUnnamed733(o.items);
+ checkUnnamed579(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPageList--;
@@ -577,14 +577,14 @@
buildCounterPageviewsCounts--;
}
-buildUnnamed734() {
+buildUnnamed580() {
var o = new core.List<api.PageviewsCounts>();
o.add(buildPageviewsCounts());
o.add(buildPageviewsCounts());
return o;
}
-checkUnnamed734(core.List<api.PageviewsCounts> o) {
+checkUnnamed580(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 = buildUnnamed734();
+ o.counts = buildUnnamed580();
o.kind = "foo";
}
buildCounterPageviews--;
@@ -607,7 +607,7 @@
buildCounterPageviews++;
if (buildCounterPageviews < 3) {
unittest.expect(o.blogId, unittest.equals('foo'));
- checkUnnamed734(o.counts);
+ checkUnnamed580(o.counts);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPageviews--;
@@ -695,27 +695,27 @@
buildCounterPostImages--;
}
-buildUnnamed735() {
+buildUnnamed581() {
var o = new core.List<api.PostImages>();
o.add(buildPostImages());
o.add(buildPostImages());
return o;
}
-checkUnnamed735(core.List<api.PostImages> o) {
+checkUnnamed581(core.List<api.PostImages> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostImages(o[0]);
checkPostImages(o[1]);
}
-buildUnnamed736() {
+buildUnnamed582() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed736(core.List<core.String> o) {
+checkUnnamed582(core.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--;
}
-buildUnnamed737() {
+buildUnnamed583() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed737(core.List<api.Comment> o) {
+checkUnnamed583(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 = buildUnnamed737();
+ o.items = buildUnnamed583();
o.selfLink = "foo";
o.totalItems = "foo";
}
@@ -775,7 +775,7 @@
checkPostReplies(api.PostReplies o) {
buildCounterPostReplies++;
if (buildCounterPostReplies < 3) {
- checkUnnamed737(o.items);
+ checkUnnamed583(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 = buildUnnamed735();
+ o.images = buildUnnamed581();
o.kind = "foo";
- o.labels = buildUnnamed736();
+ o.labels = buildUnnamed582();
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'));
- checkUnnamed735(o.images);
+ checkUnnamed581(o.images);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed736(o.labels);
+ checkUnnamed582(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--;
}
-buildUnnamed738() {
+buildUnnamed584() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed738(core.List<api.Post> o) {
+checkUnnamed584(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 = buildUnnamed738();
+ o.items = buildUnnamed584();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -866,7 +866,7 @@
checkPostList(api.PostList o) {
buildCounterPostList++;
if (buildCounterPostList < 3) {
- checkUnnamed738(o.items);
+ checkUnnamed584(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -923,14 +923,14 @@
buildCounterPostUserInfo--;
}
-buildUnnamed739() {
+buildUnnamed585() {
var o = new core.List<api.PostUserInfo>();
o.add(buildPostUserInfo());
o.add(buildPostUserInfo());
return o;
}
-checkUnnamed739(core.List<api.PostUserInfo> o) {
+checkUnnamed585(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 = buildUnnamed739();
+ o.items = buildUnnamed585();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -952,7 +952,7 @@
checkPostUserInfosList(api.PostUserInfosList o) {
buildCounterPostUserInfosList++;
if (buildCounterPostUserInfosList < 3) {
- checkUnnamed739(o.items);
+ checkUnnamed585(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1036,92 +1036,92 @@
buildCounterUser--;
}
-buildUnnamed740() {
+buildUnnamed586() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed740(core.List<core.String> o) {
+checkUnnamed586(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed741() {
+buildUnnamed587() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed741(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'));
}
-buildUnnamed742() {
+buildUnnamed588() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed742(core.List<core.String> o) {
+checkUnnamed588(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed743() {
+buildUnnamed589() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed743(core.List<core.String> o) {
+checkUnnamed589(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed744() {
+buildUnnamed590() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed744(core.List<core.String> o) {
+checkUnnamed590(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed745() {
+buildUnnamed591() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed745(core.List<core.String> o) {
+checkUnnamed591(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed746() {
+buildUnnamed592() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed746(core.List<core.String> o) {
+checkUnnamed592(core.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 = buildUnnamed740();
- var arg_status = buildUnnamed741();
+ var arg_role = buildUnnamed586();
+ var arg_status = buildUnnamed587();
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 = buildUnnamed742();
+ var arg_status = buildUnnamed588();
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 = buildUnnamed743();
+ var arg_range = buildUnnamed589();
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 = buildUnnamed744();
+ var arg_status = buildUnnamed590();
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 = buildUnnamed745();
+ var arg_status = buildUnnamed591();
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 = buildUnnamed746();
+ var arg_status = buildUnnamed592();
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 d37cc46..597d938 100644
--- a/generated/googleapis/test/books/v1_test.dart
+++ b/generated/googleapis/test/books/v1_test.dart
@@ -93,14 +93,14 @@
buildCounterAnnotationLayerSummary--;
}
-buildUnnamed526() {
+buildUnnamed970() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed526(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'));
@@ -123,7 +123,7 @@
o.kind = "foo";
o.layerId = "foo";
o.layerSummary = buildAnnotationLayerSummary();
- o.pageIds = buildUnnamed526();
+ o.pageIds = buildUnnamed970();
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);
- checkUnnamed526(o.pageIds);
+ checkUnnamed970(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--;
}
-buildUnnamed527() {
+buildUnnamed971() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed527(core.List<api.Annotation> o) {
+checkUnnamed971(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 = buildUnnamed527();
+ o.items = buildUnnamed971();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -222,7 +222,7 @@
checkAnnotations(api.Annotations o) {
buildCounterAnnotations++;
if (buildCounterAnnotations < 3) {
- checkUnnamed527(o.items);
+ checkUnnamed971(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--;
}
-buildUnnamed528() {
+buildUnnamed972() {
var o = new core.List<api.AnnotationsSummaryLayers>();
o.add(buildAnnotationsSummaryLayers());
o.add(buildAnnotationsSummaryLayers());
return o;
}
-checkUnnamed528(core.List<api.AnnotationsSummaryLayers> o) {
+checkUnnamed972(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 = buildUnnamed528();
+ o.layers = buildUnnamed972();
}
buildCounterAnnotationsSummary--;
return o;
@@ -286,19 +286,19 @@
buildCounterAnnotationsSummary++;
if (buildCounterAnnotationsSummary < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed528(o.layers);
+ checkUnnamed972(o.layers);
}
buildCounterAnnotationsSummary--;
}
-buildUnnamed529() {
+buildUnnamed973() {
var o = new core.List<api.Annotationdata>();
o.add(buildAnnotationdata());
o.add(buildAnnotationdata());
return o;
}
-checkUnnamed529(core.List<api.Annotationdata> o) {
+checkUnnamed973(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 = buildUnnamed529();
+ o.items = buildUnnamed973();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -321,7 +321,7 @@
checkAnnotationsdata(api.Annotationsdata o) {
buildCounterAnnotationsdata++;
if (buildCounterAnnotationsdata < 3) {
- checkUnnamed529(o.items);
+ checkUnnamed973(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--;
}
-buildUnnamed530() {
+buildUnnamed974() {
var o = new core.List<api.Bookshelf>();
o.add(buildBookshelf());
o.add(buildBookshelf());
return o;
}
-checkUnnamed530(core.List<api.Bookshelf> o) {
+checkUnnamed974(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 = buildUnnamed530();
+ o.items = buildUnnamed974();
o.kind = "foo";
}
buildCounterBookshelves--;
@@ -463,7 +463,7 @@
checkBookshelves(api.Bookshelves o) {
buildCounterBookshelves++;
if (buildCounterBookshelves < 3) {
- checkUnnamed530(o.items);
+ checkUnnamed974(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBookshelves--;
@@ -590,14 +590,14 @@
buildCounterDictlayerdataDictWordsDerivatives--;
}
-buildUnnamed531() {
+buildUnnamed975() {
var o = new core.List<api.DictlayerdataDictWordsDerivatives>();
o.add(buildDictlayerdataDictWordsDerivatives());
o.add(buildDictlayerdataDictWordsDerivatives());
return o;
}
-checkUnnamed531(core.List<api.DictlayerdataDictWordsDerivatives> o) {
+checkUnnamed975(core.List<api.DictlayerdataDictWordsDerivatives> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsDerivatives(o[0]);
checkDictlayerdataDictWordsDerivatives(o[1]);
@@ -645,14 +645,14 @@
buildCounterDictlayerdataDictWordsExamples--;
}
-buildUnnamed532() {
+buildUnnamed976() {
var o = new core.List<api.DictlayerdataDictWordsExamples>();
o.add(buildDictlayerdataDictWordsExamples());
o.add(buildDictlayerdataDictWordsExamples());
return o;
}
-checkUnnamed532(core.List<api.DictlayerdataDictWordsExamples> o) {
+checkUnnamed976(core.List<api.DictlayerdataDictWordsExamples> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsExamples(o[0]);
checkDictlayerdataDictWordsExamples(o[1]);
@@ -679,14 +679,14 @@
buildCounterDictlayerdataDictWordsSensesConjugations--;
}
-buildUnnamed533() {
+buildUnnamed977() {
var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>();
o.add(buildDictlayerdataDictWordsSensesConjugations());
o.add(buildDictlayerdataDictWordsSensesConjugations());
return o;
}
-checkUnnamed533(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
+checkUnnamed977(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesConjugations(o[0]);
checkDictlayerdataDictWordsSensesConjugations(o[1]);
@@ -734,14 +734,14 @@
buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--;
}
-buildUnnamed534() {
+buildUnnamed978() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>();
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
return o;
}
-checkUnnamed534(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) {
+checkUnnamed978(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 = buildUnnamed534();
+ o.examples = buildUnnamed978();
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
return o;
@@ -763,19 +763,19 @@
buildCounterDictlayerdataDictWordsSensesDefinitions++;
if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
unittest.expect(o.definition, unittest.equals('foo'));
- checkUnnamed534(o.examples);
+ checkUnnamed978(o.examples);
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
}
-buildUnnamed535() {
+buildUnnamed979() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>();
o.add(buildDictlayerdataDictWordsSensesDefinitions());
o.add(buildDictlayerdataDictWordsSensesDefinitions());
return o;
}
-checkUnnamed535(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
+checkUnnamed979(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesDefinitions(o[0]);
checkDictlayerdataDictWordsSensesDefinitions(o[1]);
@@ -844,14 +844,14 @@
buildCounterDictlayerdataDictWordsSensesSynonyms--;
}
-buildUnnamed536() {
+buildUnnamed980() {
var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>();
o.add(buildDictlayerdataDictWordsSensesSynonyms());
o.add(buildDictlayerdataDictWordsSensesSynonyms());
return o;
}
-checkUnnamed536(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
+checkUnnamed980(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 = buildUnnamed533();
- o.definitions = buildUnnamed535();
+ o.conjugations = buildUnnamed977();
+ o.definitions = buildUnnamed979();
o.partOfSpeech = "foo";
o.pronunciation = "foo";
o.pronunciationUrl = "foo";
o.source = buildDictlayerdataDictWordsSensesSource();
o.syllabification = "foo";
- o.synonyms = buildUnnamed536();
+ o.synonyms = buildUnnamed980();
}
buildCounterDictlayerdataDictWordsSenses--;
return o;
@@ -878,26 +878,26 @@
checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) {
buildCounterDictlayerdataDictWordsSenses++;
if (buildCounterDictlayerdataDictWordsSenses < 3) {
- checkUnnamed533(o.conjugations);
- checkUnnamed535(o.definitions);
+ checkUnnamed977(o.conjugations);
+ checkUnnamed979(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'));
- checkUnnamed536(o.synonyms);
+ checkUnnamed980(o.synonyms);
}
buildCounterDictlayerdataDictWordsSenses--;
}
-buildUnnamed537() {
+buildUnnamed981() {
var o = new core.List<api.DictlayerdataDictWordsSenses>();
o.add(buildDictlayerdataDictWordsSenses());
o.add(buildDictlayerdataDictWordsSenses());
return o;
}
-checkUnnamed537(core.List<api.DictlayerdataDictWordsSenses> o) {
+checkUnnamed981(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 = buildUnnamed531();
- o.examples = buildUnnamed532();
- o.senses = buildUnnamed537();
+ o.derivatives = buildUnnamed975();
+ o.examples = buildUnnamed976();
+ o.senses = buildUnnamed981();
o.source = buildDictlayerdataDictWordsSource();
}
buildCounterDictlayerdataDictWords--;
@@ -941,22 +941,22 @@
checkDictlayerdataDictWords(api.DictlayerdataDictWords o) {
buildCounterDictlayerdataDictWords++;
if (buildCounterDictlayerdataDictWords < 3) {
- checkUnnamed531(o.derivatives);
- checkUnnamed532(o.examples);
- checkUnnamed537(o.senses);
+ checkUnnamed975(o.derivatives);
+ checkUnnamed976(o.examples);
+ checkUnnamed981(o.senses);
checkDictlayerdataDictWordsSource(o.source);
}
buildCounterDictlayerdataDictWords--;
}
-buildUnnamed538() {
+buildUnnamed982() {
var o = new core.List<api.DictlayerdataDictWords>();
o.add(buildDictlayerdataDictWords());
o.add(buildDictlayerdataDictWords());
return o;
}
-checkUnnamed538(core.List<api.DictlayerdataDictWords> o) {
+checkUnnamed982(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 = buildUnnamed538();
+ o.words = buildUnnamed982();
}
buildCounterDictlayerdataDict--;
return o;
@@ -978,7 +978,7 @@
buildCounterDictlayerdataDict++;
if (buildCounterDictlayerdataDict < 3) {
checkDictlayerdataDictSource(o.source);
- checkUnnamed538(o.words);
+ checkUnnamed982(o.words);
}
buildCounterDictlayerdataDict--;
}
@@ -1047,14 +1047,14 @@
buildCounterDownloadAccessRestriction--;
}
-buildUnnamed539() {
+buildUnnamed983() {
var o = new core.List<api.DownloadAccessRestriction>();
o.add(buildDownloadAccessRestriction());
o.add(buildDownloadAccessRestriction());
return o;
}
-checkUnnamed539(core.List<api.DownloadAccessRestriction> o) {
+checkUnnamed983(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 = buildUnnamed539();
+ o.downloadAccessList = buildUnnamed983();
o.kind = "foo";
}
buildCounterDownloadAccesses--;
@@ -1075,7 +1075,7 @@
checkDownloadAccesses(api.DownloadAccesses o) {
buildCounterDownloadAccesses++;
if (buildCounterDownloadAccesses < 3) {
- checkUnnamed539(o.downloadAccessList);
+ checkUnnamed983(o.downloadAccessList);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDownloadAccesses--;
@@ -1129,30 +1129,30 @@
buildCounterGeolayerdataGeoBoundary--;
}
-buildUnnamed540() {
+buildUnnamed984() {
var o = new core.List<api.GeolayerdataGeoBoundary>();
o.add(buildGeolayerdataGeoBoundary());
o.add(buildGeolayerdataGeoBoundary());
return o;
}
-checkUnnamed540(core.List<api.GeolayerdataGeoBoundary> o) {
+checkUnnamed984(core.List<api.GeolayerdataGeoBoundary> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeolayerdataGeoBoundary(o[0]);
checkGeolayerdataGeoBoundary(o[1]);
}
-buildUnnamed541() {
+buildUnnamed985() {
var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>();
- o.add(buildUnnamed540());
- o.add(buildUnnamed540());
+ o.add(buildUnnamed984());
+ o.add(buildUnnamed984());
return o;
}
-checkUnnamed541(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
+checkUnnamed985(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed540(o[0]);
- checkUnnamed540(o[1]);
+ checkUnnamed984(o[0]);
+ checkUnnamed984(o[1]);
}
core.int buildCounterGeolayerdataGeoViewportHi = 0;
@@ -1223,7 +1223,7 @@
var o = new api.GeolayerdataGeo();
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- o.boundary = buildUnnamed541();
+ o.boundary = buildUnnamed985();
o.cachePolicy = "foo";
o.countryCode = "foo";
o.latitude = 42.0;
@@ -1239,7 +1239,7 @@
checkGeolayerdataGeo(api.GeolayerdataGeo o) {
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- checkUnnamed541(o.boundary);
+ checkUnnamed985(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--;
}
-buildUnnamed542() {
+buildUnnamed986() {
var o = new core.List<api.Layersummary>();
o.add(buildLayersummary());
o.add(buildLayersummary());
return o;
}
-checkUnnamed542(core.List<api.Layersummary> o) {
+checkUnnamed986(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 = buildUnnamed542();
+ o.items = buildUnnamed986();
o.kind = "foo";
o.totalItems = 42;
}
@@ -1303,21 +1303,21 @@
checkLayersummaries(api.Layersummaries o) {
buildCounterLayersummaries++;
if (buildCounterLayersummaries < 3) {
- checkUnnamed542(o.items);
+ checkUnnamed986(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterLayersummaries--;
}
-buildUnnamed543() {
+buildUnnamed987() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed543(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'));
@@ -1329,7 +1329,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
o.annotationCount = 42;
- o.annotationTypes = buildUnnamed543();
+ o.annotationTypes = buildUnnamed987();
o.annotationsDataLink = "foo";
o.annotationsLink = "foo";
o.contentVersion = "foo";
@@ -1350,7 +1350,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
unittest.expect(o.annotationCount, unittest.equals(42));
- checkUnnamed543(o.annotationTypes);
+ checkUnnamed987(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--;
}
-buildUnnamed544() {
+buildUnnamed988() {
var o = new core.List<api.OffersItemsItems>();
o.add(buildOffersItemsItems());
o.add(buildOffersItemsItems());
return o;
}
-checkUnnamed544(core.List<api.OffersItemsItems> o) {
+checkUnnamed988(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 = buildUnnamed544();
+ o.items = buildUnnamed988();
}
buildCounterOffersItems--;
return o;
@@ -1426,19 +1426,19 @@
if (buildCounterOffersItems < 3) {
unittest.expect(o.artUrl, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed544(o.items);
+ checkUnnamed988(o.items);
}
buildCounterOffersItems--;
}
-buildUnnamed545() {
+buildUnnamed989() {
var o = new core.List<api.OffersItems>();
o.add(buildOffersItems());
o.add(buildOffersItems());
return o;
}
-checkUnnamed545(core.List<api.OffersItems> o) {
+checkUnnamed989(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 = buildUnnamed545();
+ o.items = buildUnnamed989();
o.kind = "foo";
}
buildCounterOffers--;
@@ -1459,7 +1459,7 @@
checkOffers(api.Offers o) {
buildCounterOffers++;
if (buildCounterOffers < 3) {
- checkUnnamed545(o.items);
+ checkUnnamed989(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOffers--;
@@ -1710,14 +1710,14 @@
buildCounterVolumeLayerInfoLayers--;
}
-buildUnnamed546() {
+buildUnnamed990() {
var o = new core.List<api.VolumeLayerInfoLayers>();
o.add(buildVolumeLayerInfoLayers());
o.add(buildVolumeLayerInfoLayers());
return o;
}
-checkUnnamed546(core.List<api.VolumeLayerInfoLayers> o) {
+checkUnnamed990(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 = buildUnnamed546();
+ o.layers = buildUnnamed990();
}
buildCounterVolumeLayerInfo--;
return o;
@@ -1737,7 +1737,7 @@
checkVolumeLayerInfo(api.VolumeLayerInfo o) {
buildCounterVolumeLayerInfo++;
if (buildCounterVolumeLayerInfo < 3) {
- checkUnnamed546(o.layers);
+ checkUnnamed990(o.layers);
}
buildCounterVolumeLayerInfo--;
}
@@ -1870,14 +1870,14 @@
buildCounterVolumeSaleInfoOffers--;
}
-buildUnnamed547() {
+buildUnnamed991() {
var o = new core.List<api.VolumeSaleInfoOffers>();
o.add(buildVolumeSaleInfoOffers());
o.add(buildVolumeSaleInfoOffers());
return o;
}
-checkUnnamed547(core.List<api.VolumeSaleInfoOffers> o) {
+checkUnnamed991(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 = buildUnnamed547();
+ o.offers = buildUnnamed991();
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);
- checkUnnamed547(o.offers);
+ checkUnnamed991(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--;
}
-buildUnnamed548() {
+buildUnnamed992() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed548(core.List<core.String> o) {
+checkUnnamed992(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed549() {
+buildUnnamed993() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed549(core.List<core.String> o) {
+checkUnnamed993(core.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--;
}
-buildUnnamed550() {
+buildUnnamed994() {
var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>();
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
return o;
}
-checkUnnamed550(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
+checkUnnamed994(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 = buildUnnamed548();
+ o.authors = buildUnnamed992();
o.averageRating = 42.0;
o.canonicalVolumeLink = "foo";
- o.categories = buildUnnamed549();
+ o.categories = buildUnnamed993();
o.contentVersion = "foo";
o.description = "foo";
o.dimensions = buildVolumeVolumeInfoDimensions();
o.imageLinks = buildVolumeVolumeInfoImageLinks();
- o.industryIdentifiers = buildUnnamed550();
+ o.industryIdentifiers = buildUnnamed994();
o.infoLink = "foo";
o.language = "foo";
o.mainCategory = "foo";
@@ -2207,15 +2207,15 @@
checkVolumeVolumeInfo(api.VolumeVolumeInfo o) {
buildCounterVolumeVolumeInfo++;
if (buildCounterVolumeVolumeInfo < 3) {
- checkUnnamed548(o.authors);
+ checkUnnamed992(o.authors);
unittest.expect(o.averageRating, unittest.equals(42.0));
unittest.expect(o.canonicalVolumeLink, unittest.equals('foo'));
- checkUnnamed549(o.categories);
+ checkUnnamed993(o.categories);
unittest.expect(o.contentVersion, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
checkVolumeVolumeInfoDimensions(o.dimensions);
checkVolumeVolumeInfoImageLinks(o.imageLinks);
- checkUnnamed550(o.industryIdentifiers);
+ checkUnnamed994(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--;
}
-buildUnnamed551() {
+buildUnnamed995() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed551(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'));
@@ -2324,7 +2324,7 @@
o.id = "foo";
o.kind = "foo";
o.layerId = "foo";
- o.pageIds = buildUnnamed551();
+ o.pageIds = buildUnnamed995();
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'));
- checkUnnamed551(o.pageIds);
+ checkUnnamed995(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--;
}
-buildUnnamed552() {
+buildUnnamed996() {
var o = new core.List<api.Volumeannotation>();
o.add(buildVolumeannotation());
o.add(buildVolumeannotation());
return o;
}
-checkUnnamed552(core.List<api.Volumeannotation> o) {
+checkUnnamed996(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 = buildUnnamed552();
+ o.items = buildUnnamed996();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -2386,7 +2386,7 @@
checkVolumeannotations(api.Volumeannotations o) {
buildCounterVolumeannotations++;
if (buildCounterVolumeannotations < 3) {
- checkUnnamed552(o.items);
+ checkUnnamed996(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--;
}
-buildUnnamed553() {
+buildUnnamed997() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed553(core.List<api.Volume> o) {
+checkUnnamed997(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 = buildUnnamed553();
+ o.items = buildUnnamed997();
o.kind = "foo";
o.totalItems = 42;
}
@@ -2424,151 +2424,151 @@
checkVolumes(api.Volumes o) {
buildCounterVolumes++;
if (buildCounterVolumes < 3) {
- checkUnnamed553(o.items);
+ checkUnnamed997(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterVolumes--;
}
-buildUnnamed554() {
+buildUnnamed998() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed554(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'));
}
-buildUnnamed555() {
+buildUnnamed999() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed555(core.List<core.String> o) {
+checkUnnamed999(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed556() {
+buildUnnamed1000() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed556(core.List<core.String> o) {
+checkUnnamed1000(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed557() {
+buildUnnamed1001() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed557(core.List<core.String> o) {
+checkUnnamed1001(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed558() {
+buildUnnamed1002() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed558(core.List<core.String> o) {
+checkUnnamed1002(core.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() {
+buildUnnamed1003() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed559(core.List<core.String> o) {
+checkUnnamed1003(core.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() {
+buildUnnamed1004() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed560(core.List<core.String> o) {
+checkUnnamed1004(core.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() {
+buildUnnamed1005() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed561(core.List<core.String> o) {
+checkUnnamed1005(core.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() {
+buildUnnamed1006() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed562(core.List<core.String> o) {
+checkUnnamed1006(core.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() {
+buildUnnamed1007() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed563(core.List<core.String> o) {
+checkUnnamed1007(core.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() {
+buildUnnamed1008() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed564(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'));
@@ -3842,7 +3842,7 @@
var arg_volumeId = "foo";
var arg_layerId = "foo";
var arg_contentVersion = "foo";
- var arg_annotationDataId = buildUnnamed554();
+ var arg_annotationDataId = buildUnnamed998();
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 = buildUnnamed555();
+ var arg_volumeIds = buildUnnamed999();
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 = buildUnnamed556();
+ var arg_features = buildUnnamed1000();
var arg_locale = "foo";
var arg_showPreorders = true;
- var arg_volumeIds = buildUnnamed557();
+ var arg_volumeIds = buildUnnamed1001();
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 = buildUnnamed558();
+ var arg_layerIds = buildUnnamed1002();
var arg_maxResults = 42;
- var arg_pageIds = buildUnnamed559();
+ var arg_pageIds = buildUnnamed1003();
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 = buildUnnamed560();
+ var arg_layerIds = buildUnnamed1004();
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 = buildUnnamed561();
+ var arg_acquireMethod = buildUnnamed1005();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_processingState = buildUnnamed562();
+ var arg_processingState = buildUnnamed1006();
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 = buildUnnamed563();
+ var arg_processingState = buildUnnamed1007();
var arg_source = "foo";
var arg_startIndex = 42;
- var arg_volumeId = buildUnnamed564();
+ var arg_volumeId = buildUnnamed1008();
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 37f4a4d..a96c76d 100644
--- a/generated/googleapis/test/calendar/v3_test.dart
+++ b/generated/googleapis/test/calendar/v3_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed692() {
+buildUnnamed125() {
var o = new core.List<api.AclRule>();
o.add(buildAclRule());
o.add(buildAclRule());
return o;
}
-checkUnnamed692(core.List<api.AclRule> o) {
+checkUnnamed125(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 = buildUnnamed692();
+ o.items = buildUnnamed125();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -48,7 +48,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed692(o.items);
+ checkUnnamed125(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--;
}
-buildUnnamed693() {
+buildUnnamed126() {
var o = new core.List<api.CalendarListEntry>();
o.add(buildCalendarListEntry());
o.add(buildCalendarListEntry());
return o;
}
-checkUnnamed693(core.List<api.CalendarListEntry> o) {
+checkUnnamed126(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 = buildUnnamed693();
+ o.items = buildUnnamed126();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -167,7 +167,7 @@
buildCounterCalendarList++;
if (buildCounterCalendarList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed693(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'));
@@ -175,27 +175,27 @@
buildCounterCalendarList--;
}
-buildUnnamed694() {
+buildUnnamed127() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed694(core.List<api.EventReminder> o) {
+checkUnnamed127(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
}
-buildUnnamed695() {
+buildUnnamed128() {
var o = new core.List<api.CalendarNotification>();
o.add(buildCalendarNotification());
o.add(buildCalendarNotification());
return o;
}
-checkUnnamed695(core.List<api.CalendarNotification> o) {
+checkUnnamed128(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 = buildUnnamed695();
+ o.notifications = buildUnnamed128();
}
buildCounterCalendarListEntryNotificationSettings--;
return o;
@@ -215,7 +215,7 @@
checkCalendarListEntryNotificationSettings(api.CalendarListEntryNotificationSettings o) {
buildCounterCalendarListEntryNotificationSettings++;
if (buildCounterCalendarListEntryNotificationSettings < 3) {
- checkUnnamed695(o.notifications);
+ checkUnnamed128(o.notifications);
}
buildCounterCalendarListEntryNotificationSettings--;
}
@@ -228,7 +228,7 @@
o.accessRole = "foo";
o.backgroundColor = "foo";
o.colorId = "foo";
- o.defaultReminders = buildUnnamed694();
+ o.defaultReminders = buildUnnamed127();
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'));
- checkUnnamed694(o.defaultReminders);
+ checkUnnamed127(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--;
}
-buildUnnamed696() {
+buildUnnamed129() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed696(core.Map<core.String, core.String> o) {
+checkUnnamed129(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 = buildUnnamed696();
+ o.params = buildUnnamed129();
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'));
- checkUnnamed696(o.params);
+ checkUnnamed129(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -365,27 +365,27 @@
buildCounterColorDefinition--;
}
-buildUnnamed697() {
+buildUnnamed130() {
var o = new core.Map<core.String, api.ColorDefinition>();
o["x"] = buildColorDefinition();
o["y"] = buildColorDefinition();
return o;
}
-checkUnnamed697(core.Map<core.String, api.ColorDefinition> o) {
+checkUnnamed130(core.Map<core.String, api.ColorDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorDefinition(o["x"]);
checkColorDefinition(o["y"]);
}
-buildUnnamed698() {
+buildUnnamed131() {
var o = new core.Map<core.String, api.ColorDefinition>();
o["x"] = buildColorDefinition();
o["y"] = buildColorDefinition();
return o;
}
-checkUnnamed698(core.Map<core.String, api.ColorDefinition> o) {
+checkUnnamed131(core.Map<core.String, api.ColorDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorDefinition(o["x"]);
checkColorDefinition(o["y"]);
@@ -396,8 +396,8 @@
var o = new api.Colors();
buildCounterColors++;
if (buildCounterColors < 3) {
- o.calendar = buildUnnamed697();
- o.event = buildUnnamed698();
+ o.calendar = buildUnnamed130();
+ o.event = buildUnnamed131();
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) {
- checkUnnamed697(o.calendar);
- checkUnnamed698(o.event);
+ checkUnnamed130(o.calendar);
+ checkUnnamed131(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--;
}
-buildUnnamed699() {
+buildUnnamed132() {
var o = new core.List<api.EventAttendee>();
o.add(buildEventAttendee());
o.add(buildEventAttendee());
return o;
}
-checkUnnamed699(core.List<api.EventAttendee> o) {
+checkUnnamed132(core.List<api.EventAttendee> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventAttendee(o[0]);
checkEventAttendee(o[1]);
@@ -475,27 +475,27 @@
buildCounterEventCreator--;
}
-buildUnnamed700() {
+buildUnnamed133() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed700(core.Map<core.String, core.String> 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'));
}
-buildUnnamed701() {
+buildUnnamed134() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed701(core.Map<core.String, core.String> o) {
+checkUnnamed134(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'));
@@ -506,8 +506,8 @@
var o = new api.EventExtendedProperties();
buildCounterEventExtendedProperties++;
if (buildCounterEventExtendedProperties < 3) {
- o.private = buildUnnamed700();
- o.shared = buildUnnamed701();
+ o.private = buildUnnamed133();
+ o.shared = buildUnnamed134();
}
buildCounterEventExtendedProperties--;
return o;
@@ -516,20 +516,20 @@
checkEventExtendedProperties(api.EventExtendedProperties o) {
buildCounterEventExtendedProperties++;
if (buildCounterEventExtendedProperties < 3) {
- checkUnnamed700(o.private);
- checkUnnamed701(o.shared);
+ checkUnnamed133(o.private);
+ checkUnnamed134(o.shared);
}
buildCounterEventExtendedProperties--;
}
-buildUnnamed702() {
+buildUnnamed135() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed702(core.Map<core.String, core.String> o) {
+checkUnnamed135(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'));
@@ -544,7 +544,7 @@
o.height = 42;
o.iconLink = "foo";
o.link = "foo";
- o.preferences = buildUnnamed702();
+ o.preferences = buildUnnamed135();
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'));
- checkUnnamed702(o.preferences);
+ checkUnnamed135(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--;
}
-buildUnnamed703() {
+buildUnnamed136() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed703(core.List<core.String> o) {
+checkUnnamed136(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed704() {
+buildUnnamed137() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed704(core.List<api.EventReminder> o) {
+checkUnnamed137(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 = buildUnnamed704();
+ o.overrides = buildUnnamed137();
o.useDefault = true;
}
buildCounterEventReminders--;
@@ -634,7 +634,7 @@
checkEventReminders(api.EventReminders o) {
buildCounterEventReminders++;
if (buildCounterEventReminders < 3) {
- checkUnnamed704(o.overrides);
+ checkUnnamed137(o.overrides);
unittest.expect(o.useDefault, unittest.isTrue);
}
buildCounterEventReminders--;
@@ -667,7 +667,7 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
o.anyoneCanAddSelf = true;
- o.attendees = buildUnnamed699();
+ o.attendees = buildUnnamed132();
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 = buildUnnamed703();
+ o.recurrence = buildUnnamed136();
o.recurringEventId = "foo";
o.reminders = buildEventReminders();
o.sequence = 42;
@@ -711,7 +711,7 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
unittest.expect(o.anyoneCanAddSelf, unittest.isTrue);
- checkUnnamed699(o.attendees);
+ checkUnnamed132(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);
- checkUnnamed703(o.recurrence);
+ checkUnnamed136(o.recurrence);
unittest.expect(o.recurringEventId, unittest.equals('foo'));
checkEventReminders(o.reminders);
unittest.expect(o.sequence, unittest.equals(42));
@@ -831,27 +831,27 @@
buildCounterEventReminder--;
}
-buildUnnamed705() {
+buildUnnamed138() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed705(core.List<api.EventReminder> o) {
+checkUnnamed138(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
}
-buildUnnamed706() {
+buildUnnamed139() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed706(core.List<api.Event> o) {
+checkUnnamed139(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 = buildUnnamed705();
+ o.defaultReminders = buildUnnamed138();
o.description = "foo";
o.etag = "foo";
- o.items = buildUnnamed706();
+ o.items = buildUnnamed139();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -882,10 +882,10 @@
buildCounterEvents++;
if (buildCounterEvents < 3) {
unittest.expect(o.accessRole, unittest.equals('foo'));
- checkUnnamed705(o.defaultReminders);
+ checkUnnamed138(o.defaultReminders);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed706(o.items);
+ checkUnnamed139(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--;
}
-buildUnnamed707() {
+buildUnnamed140() {
var o = new core.List<api.TimePeriod>();
o.add(buildTimePeriod());
o.add(buildTimePeriod());
return o;
}
-checkUnnamed707(core.List<api.TimePeriod> o) {
+checkUnnamed140(core.List<api.TimePeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimePeriod(o[0]);
checkTimePeriod(o[1]);
}
-buildUnnamed708() {
+buildUnnamed141() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed708(core.List<api.Error> o) {
+checkUnnamed141(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 = buildUnnamed707();
- o.errors = buildUnnamed708();
+ o.busy = buildUnnamed140();
+ o.errors = buildUnnamed141();
}
buildCounterFreeBusyCalendar--;
return o;
@@ -937,33 +937,33 @@
checkFreeBusyCalendar(api.FreeBusyCalendar o) {
buildCounterFreeBusyCalendar++;
if (buildCounterFreeBusyCalendar < 3) {
- checkUnnamed707(o.busy);
- checkUnnamed708(o.errors);
+ checkUnnamed140(o.busy);
+ checkUnnamed141(o.errors);
}
buildCounterFreeBusyCalendar--;
}
-buildUnnamed709() {
+buildUnnamed142() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed709(core.List<core.String> o) {
+checkUnnamed142(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed710() {
+buildUnnamed143() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed710(core.List<api.Error> o) {
+checkUnnamed143(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 = buildUnnamed709();
- o.errors = buildUnnamed710();
+ o.calendars = buildUnnamed142();
+ o.errors = buildUnnamed143();
}
buildCounterFreeBusyGroup--;
return o;
@@ -984,20 +984,20 @@
checkFreeBusyGroup(api.FreeBusyGroup o) {
buildCounterFreeBusyGroup++;
if (buildCounterFreeBusyGroup < 3) {
- checkUnnamed709(o.calendars);
- checkUnnamed710(o.errors);
+ checkUnnamed142(o.calendars);
+ checkUnnamed143(o.errors);
}
buildCounterFreeBusyGroup--;
}
-buildUnnamed711() {
+buildUnnamed144() {
var o = new core.List<api.FreeBusyRequestItem>();
o.add(buildFreeBusyRequestItem());
o.add(buildFreeBusyRequestItem());
return o;
}
-checkUnnamed711(core.List<api.FreeBusyRequestItem> o) {
+checkUnnamed144(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 = buildUnnamed711();
+ o.items = buildUnnamed144();
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));
- checkUnnamed711(o.items);
+ checkUnnamed144(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--;
}
-buildUnnamed712() {
+buildUnnamed145() {
var o = new core.Map<core.String, api.FreeBusyCalendar>();
o["x"] = buildFreeBusyCalendar();
o["y"] = buildFreeBusyCalendar();
return o;
}
-checkUnnamed712(core.Map<core.String, api.FreeBusyCalendar> o) {
+checkUnnamed145(core.Map<core.String, api.FreeBusyCalendar> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyCalendar(o["x"]);
checkFreeBusyCalendar(o["y"]);
}
-buildUnnamed713() {
+buildUnnamed146() {
var o = new core.Map<core.String, api.FreeBusyGroup>();
o["x"] = buildFreeBusyGroup();
o["y"] = buildFreeBusyGroup();
return o;
}
-checkUnnamed713(core.Map<core.String, api.FreeBusyGroup> o) {
+checkUnnamed146(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 = buildUnnamed712();
- o.groups = buildUnnamed713();
+ o.calendars = buildUnnamed145();
+ o.groups = buildUnnamed146();
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) {
- checkUnnamed712(o.calendars);
- checkUnnamed713(o.groups);
+ checkUnnamed145(o.calendars);
+ checkUnnamed146(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--;
}
-buildUnnamed714() {
+buildUnnamed147() {
var o = new core.List<api.Setting>();
o.add(buildSetting());
o.add(buildSetting());
return o;
}
-checkUnnamed714(core.List<api.Setting> o) {
+checkUnnamed147(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 = buildUnnamed714();
+ o.items = buildUnnamed147();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -1161,7 +1161,7 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed714(o.items);
+ checkUnnamed147(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -1190,53 +1190,53 @@
buildCounterTimePeriod--;
}
-buildUnnamed715() {
+buildUnnamed148() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed715(core.List<core.String> 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'));
}
-buildUnnamed716() {
+buildUnnamed149() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed716(core.List<core.String> o) {
+checkUnnamed149(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed717() {
+buildUnnamed150() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed717(core.List<core.String> o) {
+checkUnnamed150(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed718() {
+buildUnnamed151() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed718(core.List<core.String> o) {
+checkUnnamed151(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3058,9 +3058,9 @@
var arg_maxResults = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_privateExtendedProperty = buildUnnamed715();
+ var arg_privateExtendedProperty = buildUnnamed148();
var arg_q = "foo";
- var arg_sharedExtendedProperty = buildUnnamed716();
+ var arg_sharedExtendedProperty = buildUnnamed149();
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 = buildUnnamed717();
+ var arg_privateExtendedProperty = buildUnnamed150();
var arg_q = "foo";
- var arg_sharedExtendedProperty = buildUnnamed718();
+ var arg_sharedExtendedProperty = buildUnnamed151();
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 3030091..4742918 100644
--- a/generated/googleapis/test/civicinfo/us_v1_test.dart
+++ b/generated/googleapis/test/civicinfo/us_v1_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed809() {
+buildUnnamed716() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed809(core.List<api.Source> o) {
+checkUnnamed716(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 = buildUnnamed809();
+ o.sources = buildUnnamed716();
}
buildCounterAdministrationRegion--;
return o;
@@ -51,32 +51,32 @@
unittest.expect(o.id, unittest.equals('foo'));
checkAdministrationRegion(o.localJurisdiction);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed809(o.sources);
+ checkUnnamed716(o.sources);
}
buildCounterAdministrationRegion--;
}
-buildUnnamed810() {
+buildUnnamed717() {
var o = new core.List<api.ElectionOfficial>();
o.add(buildElectionOfficial());
o.add(buildElectionOfficial());
return o;
}
-checkUnnamed810(core.List<api.ElectionOfficial> o) {
+checkUnnamed717(core.List<api.ElectionOfficial> o) {
unittest.expect(o, unittest.hasLength(2));
checkElectionOfficial(o[0]);
checkElectionOfficial(o[1]);
}
-buildUnnamed811() {
+buildUnnamed718() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed811(core.List<core.String> o) {
+checkUnnamed718(core.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 = buildUnnamed810();
+ o.electionOfficials = buildUnnamed717();
o.electionRegistrationConfirmationUrl = "foo";
o.electionRegistrationUrl = "foo";
o.electionRulesUrl = "foo";
o.hoursOfOperation = "foo";
o.name = "foo";
o.physicalAddress = buildSimpleAddressType();
- o.voterServices = buildUnnamed811();
+ o.voterServices = buildUnnamed718();
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'));
- checkUnnamed810(o.electionOfficials);
+ checkUnnamed717(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);
- checkUnnamed811(o.voterServices);
+ checkUnnamed718(o.voterServices);
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
}
buildCounterAdministrativeBody--;
}
-buildUnnamed812() {
+buildUnnamed719() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed812(core.List<api.Channel> o) {
+checkUnnamed719(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 = buildUnnamed812();
+ o.channels = buildUnnamed719();
o.email = "foo";
o.name = "foo";
o.orderOnBallot = "foo";
@@ -160,7 +160,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
unittest.expect(o.candidateUrl, unittest.equals('foo'));
- checkUnnamed812(o.channels);
+ checkUnnamed719(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--;
}
-buildUnnamed813() {
+buildUnnamed720() {
var o = new core.List<api.Candidate>();
o.add(buildCandidate());
o.add(buildCandidate());
return o;
}
-checkUnnamed813(core.List<api.Candidate> o) {
+checkUnnamed720(core.List<api.Candidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandidate(o[0]);
checkCandidate(o[1]);
}
-buildUnnamed814() {
+buildUnnamed721() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed814(core.List<api.Source> o) {
+checkUnnamed721(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 = buildUnnamed813();
+ o.candidates = buildUnnamed720();
o.district = buildElectoralDistrict();
o.electorateSpecifications = "foo";
o.id = "foo";
@@ -236,7 +236,7 @@
o.referendumSubtitle = "foo";
o.referendumTitle = "foo";
o.referendumUrl = "foo";
- o.sources = buildUnnamed814();
+ o.sources = buildUnnamed721();
o.special = "foo";
o.type = "foo";
}
@@ -248,7 +248,7 @@
buildCounterContest++;
if (buildCounterContest < 3) {
unittest.expect(o.ballotPlacement, unittest.equals('foo'));
- checkUnnamed813(o.candidates);
+ checkUnnamed720(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'));
- checkUnnamed814(o.sources);
+ checkUnnamed721(o.sources);
unittest.expect(o.special, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterContest--;
}
-buildUnnamed815() {
+buildUnnamed722() {
var o = new core.List<api.DivisionSearchResult>();
o.add(buildDivisionSearchResult());
o.add(buildDivisionSearchResult());
return o;
}
-checkUnnamed815(core.List<api.DivisionSearchResult> o) {
+checkUnnamed722(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 = buildUnnamed815();
+ o.results = buildUnnamed722();
o.status = "foo";
}
buildCounterDivisionSearchResponse--;
@@ -297,20 +297,20 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed815(o.results);
+ checkUnnamed722(o.results);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterDivisionSearchResponse--;
}
-buildUnnamed816() {
+buildUnnamed723() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed816(core.List<core.String> o) {
+checkUnnamed723(core.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 = buildUnnamed816();
+ o.aliases = buildUnnamed723();
o.name = "foo";
o.ocdId = "foo";
}
@@ -332,7 +332,7 @@
checkDivisionSearchResult(api.DivisionSearchResult o) {
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- checkUnnamed816(o.aliases);
+ checkUnnamed723(o.aliases);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ocdId, unittest.equals('foo'));
}
@@ -389,14 +389,14 @@
buildCounterElectionOfficial--;
}
-buildUnnamed817() {
+buildUnnamed724() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed817(core.List<api.Election> o) {
+checkUnnamed724(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 = buildUnnamed817();
+ o.elections = buildUnnamed724();
o.kind = "foo";
}
buildCounterElectionsQueryResponse--;
@@ -417,7 +417,7 @@
checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- checkUnnamed817(o.elections);
+ checkUnnamed724(o.elections);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterElectionsQueryResponse--;
@@ -446,27 +446,27 @@
buildCounterElectoralDistrict--;
}
-buildUnnamed818() {
+buildUnnamed725() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed818(core.List<core.String> o) {
+checkUnnamed725(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed819() {
+buildUnnamed726() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed819(core.List<core.String> o) {
+checkUnnamed726(core.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 = buildUnnamed818();
+ o.alsoKnownAs = buildUnnamed725();
o.name = "foo";
- o.officeIds = buildUnnamed819();
+ o.officeIds = buildUnnamed726();
o.scope = "foo";
}
buildCounterGeographicDivision--;
@@ -489,35 +489,35 @@
checkGeographicDivision(api.GeographicDivision o) {
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- checkUnnamed818(o.alsoKnownAs);
+ checkUnnamed725(o.alsoKnownAs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed819(o.officeIds);
+ checkUnnamed726(o.officeIds);
unittest.expect(o.scope, unittest.equals('foo'));
}
buildCounterGeographicDivision--;
}
-buildUnnamed820() {
+buildUnnamed727() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed820(core.List<core.String> o) {
+checkUnnamed727(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed821() {
+buildUnnamed728() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed821(core.List<api.Source> o) {
+checkUnnamed728(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 = buildUnnamed820();
- o.sources = buildUnnamed821();
+ o.officialIds = buildUnnamed727();
+ o.sources = buildUnnamed728();
}
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'));
- checkUnnamed820(o.officialIds);
- checkUnnamed821(o.sources);
+ checkUnnamed727(o.officialIds);
+ checkUnnamed728(o.sources);
}
buildCounterOffice--;
}
-buildUnnamed822() {
+buildUnnamed729() {
var o = new core.List<api.SimpleAddressType>();
o.add(buildSimpleAddressType());
o.add(buildSimpleAddressType());
return o;
}
-checkUnnamed822(core.List<api.SimpleAddressType> o) {
+checkUnnamed729(core.List<api.SimpleAddressType> o) {
unittest.expect(o, unittest.hasLength(2));
checkSimpleAddressType(o[0]);
checkSimpleAddressType(o[1]);
}
-buildUnnamed823() {
+buildUnnamed730() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed823(core.List<api.Channel> o) {
+checkUnnamed730(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
}
-buildUnnamed824() {
+buildUnnamed731() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed824(core.List<core.String> o) {
+checkUnnamed731(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed825() {
+buildUnnamed732() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed825(core.List<core.String> o) {
+checkUnnamed732(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed826() {
+buildUnnamed733() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed826(core.List<core.String> o) {
+checkUnnamed733(core.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 = buildUnnamed822();
- o.channels = buildUnnamed823();
- o.emails = buildUnnamed824();
+ o.address = buildUnnamed729();
+ o.channels = buildUnnamed730();
+ o.emails = buildUnnamed731();
o.name = "foo";
o.party = "foo";
- o.phones = buildUnnamed825();
+ o.phones = buildUnnamed732();
o.photoUrl = "foo";
- o.urls = buildUnnamed826();
+ o.urls = buildUnnamed733();
}
buildCounterOfficial--;
return o;
@@ -636,26 +636,26 @@
checkOfficial(api.Official o) {
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- checkUnnamed822(o.address);
- checkUnnamed823(o.channels);
- checkUnnamed824(o.emails);
+ checkUnnamed729(o.address);
+ checkUnnamed730(o.channels);
+ checkUnnamed731(o.emails);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.party, unittest.equals('foo'));
- checkUnnamed825(o.phones);
+ checkUnnamed732(o.phones);
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed826(o.urls);
+ checkUnnamed733(o.urls);
}
buildCounterOfficial--;
}
-buildUnnamed827() {
+buildUnnamed734() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed827(core.List<api.Source> o) {
+checkUnnamed734(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 = buildUnnamed827();
+ o.sources = buildUnnamed734();
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'));
- checkUnnamed827(o.sources);
+ checkUnnamed734(o.sources);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.voterServices, unittest.equals('foo'));
}
@@ -715,40 +715,40 @@
buildCounterRepresentativeInfoRequest--;
}
-buildUnnamed828() {
+buildUnnamed735() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed828(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed735(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed829() {
+buildUnnamed736() {
var o = new core.Map<core.String, api.Office>();
o["x"] = buildOffice();
o["y"] = buildOffice();
return o;
}
-checkUnnamed829(core.Map<core.String, api.Office> o) {
+checkUnnamed736(core.Map<core.String, api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o["x"]);
checkOffice(o["y"]);
}
-buildUnnamed830() {
+buildUnnamed737() {
var o = new core.Map<core.String, api.Official>();
o["x"] = buildOfficial();
o["y"] = buildOfficial();
return o;
}
-checkUnnamed830(core.Map<core.String, api.Official> o) {
+checkUnnamed737(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 = buildUnnamed828();
+ o.divisions = buildUnnamed735();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.offices = buildUnnamed829();
- o.officials = buildUnnamed830();
+ o.offices = buildUnnamed736();
+ o.officials = buildUnnamed737();
o.status = "foo";
}
buildCounterRepresentativeInfoResponse--;
@@ -773,11 +773,11 @@
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- checkUnnamed828(o.divisions);
+ checkUnnamed735(o.divisions);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed829(o.offices);
- checkUnnamed830(o.officials);
+ checkUnnamed736(o.offices);
+ checkUnnamed737(o.officials);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterRepresentativeInfoResponse--;
@@ -854,53 +854,53 @@
buildCounterVoterInfoRequest--;
}
-buildUnnamed831() {
+buildUnnamed738() {
var o = new core.List<api.Contest>();
o.add(buildContest());
o.add(buildContest());
return o;
}
-checkUnnamed831(core.List<api.Contest> o) {
+checkUnnamed738(core.List<api.Contest> o) {
unittest.expect(o, unittest.hasLength(2));
checkContest(o[0]);
checkContest(o[1]);
}
-buildUnnamed832() {
+buildUnnamed739() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed832(core.List<api.PollingLocation> o) {
+checkUnnamed739(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed833() {
+buildUnnamed740() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed833(core.List<api.PollingLocation> o) {
+checkUnnamed740(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed834() {
+buildUnnamed741() {
var o = new core.List<api.AdministrationRegion>();
o.add(buildAdministrationRegion());
o.add(buildAdministrationRegion());
return o;
}
-checkUnnamed834(core.List<api.AdministrationRegion> o) {
+checkUnnamed741(core.List<api.AdministrationRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrationRegion(o[0]);
checkAdministrationRegion(o[1]);
@@ -911,13 +911,14 @@
var o = new api.VoterInfoResponse();
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- o.contests = buildUnnamed831();
- o.earlyVoteSites = buildUnnamed832();
+ o.contests = buildUnnamed738();
+ o.earlyVoteSites = buildUnnamed739();
o.election = buildElection();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.pollingLocations = buildUnnamed833();
- o.state = buildUnnamed834();
+ o.pollingLocations = buildUnnamed740();
+ o.precinctId = "foo";
+ o.state = buildUnnamed741();
o.status = "foo";
}
buildCounterVoterInfoResponse--;
@@ -927,13 +928,14 @@
checkVoterInfoResponse(api.VoterInfoResponse o) {
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- checkUnnamed831(o.contests);
- checkUnnamed832(o.earlyVoteSites);
+ checkUnnamed738(o.contests);
+ checkUnnamed739(o.earlyVoteSites);
checkElection(o.election);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed833(o.pollingLocations);
- checkUnnamed834(o.state);
+ checkUnnamed740(o.pollingLocations);
+ unittest.expect(o.precinctId, unittest.equals('foo'));
+ checkUnnamed741(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 58d9291..f0297b3 100644
--- a/generated/googleapis/test/civicinfo/v1_test.dart
+++ b/generated/googleapis/test/civicinfo/v1_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed65() {
+buildUnnamed465() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed65(core.List<api.Source> o) {
+checkUnnamed465(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 = buildUnnamed65();
+ o.sources = buildUnnamed465();
}
buildCounterAdministrationRegion--;
return o;
@@ -51,32 +51,32 @@
unittest.expect(o.id, unittest.equals('foo'));
checkAdministrationRegion(o.localJurisdiction);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed65(o.sources);
+ checkUnnamed465(o.sources);
}
buildCounterAdministrationRegion--;
}
-buildUnnamed66() {
+buildUnnamed466() {
var o = new core.List<api.ElectionOfficial>();
o.add(buildElectionOfficial());
o.add(buildElectionOfficial());
return o;
}
-checkUnnamed66(core.List<api.ElectionOfficial> o) {
+checkUnnamed466(core.List<api.ElectionOfficial> o) {
unittest.expect(o, unittest.hasLength(2));
checkElectionOfficial(o[0]);
checkElectionOfficial(o[1]);
}
-buildUnnamed67() {
+buildUnnamed467() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed67(core.List<core.String> o) {
+checkUnnamed467(core.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 = buildUnnamed66();
+ o.electionOfficials = buildUnnamed466();
o.electionRegistrationConfirmationUrl = "foo";
o.electionRegistrationUrl = "foo";
o.electionRulesUrl = "foo";
o.hoursOfOperation = "foo";
o.name = "foo";
o.physicalAddress = buildSimpleAddressType();
- o.voterServices = buildUnnamed67();
+ o.voterServices = buildUnnamed467();
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'));
- checkUnnamed66(o.electionOfficials);
+ checkUnnamed466(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);
- checkUnnamed67(o.voterServices);
+ checkUnnamed467(o.voterServices);
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
}
buildCounterAdministrativeBody--;
}
-buildUnnamed68() {
+buildUnnamed468() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed68(core.List<api.Channel> o) {
+checkUnnamed468(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 = buildUnnamed68();
+ o.channels = buildUnnamed468();
o.email = "foo";
o.name = "foo";
o.orderOnBallot = "foo";
@@ -160,7 +160,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
unittest.expect(o.candidateUrl, unittest.equals('foo'));
- checkUnnamed68(o.channels);
+ checkUnnamed468(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--;
}
-buildUnnamed69() {
+buildUnnamed469() {
var o = new core.List<api.Candidate>();
o.add(buildCandidate());
o.add(buildCandidate());
return o;
}
-checkUnnamed69(core.List<api.Candidate> o) {
+checkUnnamed469(core.List<api.Candidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandidate(o[0]);
checkCandidate(o[1]);
}
-buildUnnamed70() {
+buildUnnamed470() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed70(core.List<api.Source> o) {
+checkUnnamed470(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 = buildUnnamed69();
+ o.candidates = buildUnnamed469();
o.district = buildElectoralDistrict();
o.electorateSpecifications = "foo";
o.id = "foo";
@@ -236,7 +236,7 @@
o.referendumSubtitle = "foo";
o.referendumTitle = "foo";
o.referendumUrl = "foo";
- o.sources = buildUnnamed70();
+ o.sources = buildUnnamed470();
o.special = "foo";
o.type = "foo";
}
@@ -248,7 +248,7 @@
buildCounterContest++;
if (buildCounterContest < 3) {
unittest.expect(o.ballotPlacement, unittest.equals('foo'));
- checkUnnamed69(o.candidates);
+ checkUnnamed469(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'));
- checkUnnamed70(o.sources);
+ checkUnnamed470(o.sources);
unittest.expect(o.special, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterContest--;
}
-buildUnnamed71() {
+buildUnnamed471() {
var o = new core.List<api.DivisionSearchResult>();
o.add(buildDivisionSearchResult());
o.add(buildDivisionSearchResult());
return o;
}
-checkUnnamed71(core.List<api.DivisionSearchResult> o) {
+checkUnnamed471(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 = buildUnnamed71();
+ o.results = buildUnnamed471();
o.status = "foo";
}
buildCounterDivisionSearchResponse--;
@@ -297,20 +297,20 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed71(o.results);
+ checkUnnamed471(o.results);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterDivisionSearchResponse--;
}
-buildUnnamed72() {
+buildUnnamed472() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed72(core.List<core.String> o) {
+checkUnnamed472(core.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 = buildUnnamed72();
+ o.aliases = buildUnnamed472();
o.name = "foo";
o.ocdId = "foo";
}
@@ -332,7 +332,7 @@
checkDivisionSearchResult(api.DivisionSearchResult o) {
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- checkUnnamed72(o.aliases);
+ checkUnnamed472(o.aliases);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ocdId, unittest.equals('foo'));
}
@@ -389,14 +389,14 @@
buildCounterElectionOfficial--;
}
-buildUnnamed73() {
+buildUnnamed473() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed73(core.List<api.Election> o) {
+checkUnnamed473(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 = buildUnnamed73();
+ o.elections = buildUnnamed473();
o.kind = "foo";
}
buildCounterElectionsQueryResponse--;
@@ -417,7 +417,7 @@
checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- checkUnnamed73(o.elections);
+ checkUnnamed473(o.elections);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterElectionsQueryResponse--;
@@ -446,27 +446,27 @@
buildCounterElectoralDistrict--;
}
-buildUnnamed74() {
+buildUnnamed474() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed74(core.List<core.String> o) {
+checkUnnamed474(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed75() {
+buildUnnamed475() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed75(core.List<core.String> o) {
+checkUnnamed475(core.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 = buildUnnamed74();
+ o.alsoKnownAs = buildUnnamed474();
o.name = "foo";
- o.officeIds = buildUnnamed75();
+ o.officeIds = buildUnnamed475();
o.scope = "foo";
}
buildCounterGeographicDivision--;
@@ -489,35 +489,35 @@
checkGeographicDivision(api.GeographicDivision o) {
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- checkUnnamed74(o.alsoKnownAs);
+ checkUnnamed474(o.alsoKnownAs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed75(o.officeIds);
+ checkUnnamed475(o.officeIds);
unittest.expect(o.scope, unittest.equals('foo'));
}
buildCounterGeographicDivision--;
}
-buildUnnamed76() {
+buildUnnamed476() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed76(core.List<core.String> o) {
+checkUnnamed476(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed77() {
+buildUnnamed477() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed77(core.List<api.Source> o) {
+checkUnnamed477(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 = buildUnnamed76();
- o.sources = buildUnnamed77();
+ o.officialIds = buildUnnamed476();
+ o.sources = buildUnnamed477();
}
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'));
- checkUnnamed76(o.officialIds);
- checkUnnamed77(o.sources);
+ checkUnnamed476(o.officialIds);
+ checkUnnamed477(o.sources);
}
buildCounterOffice--;
}
-buildUnnamed78() {
+buildUnnamed478() {
var o = new core.List<api.SimpleAddressType>();
o.add(buildSimpleAddressType());
o.add(buildSimpleAddressType());
return o;
}
-checkUnnamed78(core.List<api.SimpleAddressType> o) {
+checkUnnamed478(core.List<api.SimpleAddressType> o) {
unittest.expect(o, unittest.hasLength(2));
checkSimpleAddressType(o[0]);
checkSimpleAddressType(o[1]);
}
-buildUnnamed79() {
+buildUnnamed479() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed79(core.List<api.Channel> o) {
+checkUnnamed479(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
}
-buildUnnamed80() {
+buildUnnamed480() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed80(core.List<core.String> o) {
+checkUnnamed480(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed81() {
+buildUnnamed481() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed81(core.List<core.String> o) {
+checkUnnamed481(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed82() {
+buildUnnamed482() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed82(core.List<core.String> o) {
+checkUnnamed482(core.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 = buildUnnamed78();
- o.channels = buildUnnamed79();
- o.emails = buildUnnamed80();
+ o.address = buildUnnamed478();
+ o.channels = buildUnnamed479();
+ o.emails = buildUnnamed480();
o.name = "foo";
o.party = "foo";
- o.phones = buildUnnamed81();
+ o.phones = buildUnnamed481();
o.photoUrl = "foo";
- o.urls = buildUnnamed82();
+ o.urls = buildUnnamed482();
}
buildCounterOfficial--;
return o;
@@ -636,26 +636,26 @@
checkOfficial(api.Official o) {
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- checkUnnamed78(o.address);
- checkUnnamed79(o.channels);
- checkUnnamed80(o.emails);
+ checkUnnamed478(o.address);
+ checkUnnamed479(o.channels);
+ checkUnnamed480(o.emails);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.party, unittest.equals('foo'));
- checkUnnamed81(o.phones);
+ checkUnnamed481(o.phones);
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed82(o.urls);
+ checkUnnamed482(o.urls);
}
buildCounterOfficial--;
}
-buildUnnamed83() {
+buildUnnamed483() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed83(core.List<api.Source> o) {
+checkUnnamed483(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 = buildUnnamed83();
+ o.sources = buildUnnamed483();
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'));
- checkUnnamed83(o.sources);
+ checkUnnamed483(o.sources);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.voterServices, unittest.equals('foo'));
}
@@ -715,40 +715,40 @@
buildCounterRepresentativeInfoRequest--;
}
-buildUnnamed84() {
+buildUnnamed484() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed84(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed484(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed85() {
+buildUnnamed485() {
var o = new core.Map<core.String, api.Office>();
o["x"] = buildOffice();
o["y"] = buildOffice();
return o;
}
-checkUnnamed85(core.Map<core.String, api.Office> o) {
+checkUnnamed485(core.Map<core.String, api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o["x"]);
checkOffice(o["y"]);
}
-buildUnnamed86() {
+buildUnnamed486() {
var o = new core.Map<core.String, api.Official>();
o["x"] = buildOfficial();
o["y"] = buildOfficial();
return o;
}
-checkUnnamed86(core.Map<core.String, api.Official> o) {
+checkUnnamed486(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 = buildUnnamed84();
+ o.divisions = buildUnnamed484();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.offices = buildUnnamed85();
- o.officials = buildUnnamed86();
+ o.offices = buildUnnamed485();
+ o.officials = buildUnnamed486();
o.status = "foo";
}
buildCounterRepresentativeInfoResponse--;
@@ -773,11 +773,11 @@
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- checkUnnamed84(o.divisions);
+ checkUnnamed484(o.divisions);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed85(o.offices);
- checkUnnamed86(o.officials);
+ checkUnnamed485(o.offices);
+ checkUnnamed486(o.officials);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterRepresentativeInfoResponse--;
@@ -854,53 +854,53 @@
buildCounterVoterInfoRequest--;
}
-buildUnnamed87() {
+buildUnnamed487() {
var o = new core.List<api.Contest>();
o.add(buildContest());
o.add(buildContest());
return o;
}
-checkUnnamed87(core.List<api.Contest> o) {
+checkUnnamed487(core.List<api.Contest> o) {
unittest.expect(o, unittest.hasLength(2));
checkContest(o[0]);
checkContest(o[1]);
}
-buildUnnamed88() {
+buildUnnamed488() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed88(core.List<api.PollingLocation> o) {
+checkUnnamed488(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed89() {
+buildUnnamed489() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed89(core.List<api.PollingLocation> o) {
+checkUnnamed489(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed90() {
+buildUnnamed490() {
var o = new core.List<api.AdministrationRegion>();
o.add(buildAdministrationRegion());
o.add(buildAdministrationRegion());
return o;
}
-checkUnnamed90(core.List<api.AdministrationRegion> o) {
+checkUnnamed490(core.List<api.AdministrationRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrationRegion(o[0]);
checkAdministrationRegion(o[1]);
@@ -911,13 +911,14 @@
var o = new api.VoterInfoResponse();
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- o.contests = buildUnnamed87();
- o.earlyVoteSites = buildUnnamed88();
+ o.contests = buildUnnamed487();
+ o.earlyVoteSites = buildUnnamed488();
o.election = buildElection();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.pollingLocations = buildUnnamed89();
- o.state = buildUnnamed90();
+ o.pollingLocations = buildUnnamed489();
+ o.precinctId = "foo";
+ o.state = buildUnnamed490();
o.status = "foo";
}
buildCounterVoterInfoResponse--;
@@ -927,13 +928,14 @@
checkVoterInfoResponse(api.VoterInfoResponse o) {
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- checkUnnamed87(o.contests);
- checkUnnamed88(o.earlyVoteSites);
+ checkUnnamed487(o.contests);
+ checkUnnamed488(o.earlyVoteSites);
checkElection(o.election);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed89(o.pollingLocations);
- checkUnnamed90(o.state);
+ checkUnnamed489(o.pollingLocations);
+ unittest.expect(o.precinctId, unittest.equals('foo'));
+ checkUnnamed490(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
new file mode 100644
index 0000000..31e775c
--- /dev/null
+++ b/generated/googleapis/test/civicinfo/v2_test.dart
@@ -0,0 +1,1529 @@
+library googleapis.civicinfo.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/civicinfo/v2.dart' as api;
+
+
+
+buildUnnamed208() {
+ var o = new core.List<api.Source>();
+ o.add(buildSource());
+ o.add(buildSource());
+ return o;
+}
+
+checkUnnamed208(core.List<api.Source> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSource(o[0]);
+ checkSource(o[1]);
+}
+
+core.int buildCounterAdministrationRegion = 0;
+buildAdministrationRegion() {
+ var o = new api.AdministrationRegion();
+ buildCounterAdministrationRegion++;
+ if (buildCounterAdministrationRegion < 3) {
+ o.electionAdministrationBody = buildAdministrativeBody();
+ o.id = "foo";
+ o.localJurisdiction = buildAdministrationRegion();
+ o.name = "foo";
+ o.sources = buildUnnamed208();
+ }
+ buildCounterAdministrationRegion--;
+ return o;
+}
+
+checkAdministrationRegion(api.AdministrationRegion o) {
+ buildCounterAdministrationRegion++;
+ if (buildCounterAdministrationRegion < 3) {
+ checkAdministrativeBody(o.electionAdministrationBody);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkAdministrationRegion(o.localJurisdiction);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed208(o.sources);
+ }
+ buildCounterAdministrationRegion--;
+}
+
+buildUnnamed209() {
+ var o = new core.List<api.ElectionOfficial>();
+ o.add(buildElectionOfficial());
+ o.add(buildElectionOfficial());
+ return o;
+}
+
+checkUnnamed209(core.List<api.ElectionOfficial> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkElectionOfficial(o[0]);
+ checkElectionOfficial(o[1]);
+}
+
+buildUnnamed210() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed210(core.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 buildCounterAdministrativeBody = 0;
+buildAdministrativeBody() {
+ var o = new api.AdministrativeBody();
+ buildCounterAdministrativeBody++;
+ if (buildCounterAdministrativeBody < 3) {
+ o.absenteeVotingInfoUrl = "foo";
+ o.ballotInfoUrl = "foo";
+ o.correspondenceAddress = buildSimpleAddressType();
+ o.electionInfoUrl = "foo";
+ o.electionOfficials = buildUnnamed209();
+ o.electionRegistrationConfirmationUrl = "foo";
+ o.electionRegistrationUrl = "foo";
+ o.electionRulesUrl = "foo";
+ o.hoursOfOperation = "foo";
+ o.name = "foo";
+ o.physicalAddress = buildSimpleAddressType();
+ o.voterServices = buildUnnamed210();
+ o.votingLocationFinderUrl = "foo";
+ }
+ buildCounterAdministrativeBody--;
+ return o;
+}
+
+checkAdministrativeBody(api.AdministrativeBody o) {
+ buildCounterAdministrativeBody++;
+ if (buildCounterAdministrativeBody < 3) {
+ unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo'));
+ unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
+ checkSimpleAddressType(o.correspondenceAddress);
+ unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
+ checkUnnamed209(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);
+ unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
+ }
+ buildCounterAdministrativeBody--;
+}
+
+buildUnnamed211() {
+ var o = new core.List<api.Channel>();
+ o.add(buildChannel());
+ o.add(buildChannel());
+ return o;
+}
+
+checkUnnamed211(core.List<api.Channel> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkChannel(o[0]);
+ checkChannel(o[1]);
+}
+
+core.int buildCounterCandidate = 0;
+buildCandidate() {
+ var o = new api.Candidate();
+ buildCounterCandidate++;
+ if (buildCounterCandidate < 3) {
+ o.candidateUrl = "foo";
+ o.channels = buildUnnamed211();
+ o.email = "foo";
+ o.name = "foo";
+ o.orderOnBallot = "foo";
+ o.party = "foo";
+ o.phone = "foo";
+ o.photoUrl = "foo";
+ }
+ buildCounterCandidate--;
+ return o;
+}
+
+checkCandidate(api.Candidate o) {
+ buildCounterCandidate++;
+ if (buildCounterCandidate < 3) {
+ unittest.expect(o.candidateUrl, unittest.equals('foo'));
+ checkUnnamed211(o.channels);
+ unittest.expect(o.email, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.orderOnBallot, unittest.equals('foo'));
+ unittest.expect(o.party, unittest.equals('foo'));
+ unittest.expect(o.phone, unittest.equals('foo'));
+ unittest.expect(o.photoUrl, unittest.equals('foo'));
+ }
+ buildCounterCandidate--;
+}
+
+core.int buildCounterChannel = 0;
+buildChannel() {
+ var o = new api.Channel();
+ buildCounterChannel++;
+ if (buildCounterChannel < 3) {
+ o.id = "foo";
+ o.type = "foo";
+ }
+ buildCounterChannel--;
+ return o;
+}
+
+checkChannel(api.Channel o) {
+ buildCounterChannel++;
+ if (buildCounterChannel < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterChannel--;
+}
+
+buildUnnamed212() {
+ var o = new core.List<api.Candidate>();
+ o.add(buildCandidate());
+ o.add(buildCandidate());
+ return o;
+}
+
+checkUnnamed212(core.List<api.Candidate> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCandidate(o[0]);
+ checkCandidate(o[1]);
+}
+
+buildUnnamed213() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed213(core.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() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed214(core.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() {
+ var o = new core.List<api.Source>();
+ o.add(buildSource());
+ o.add(buildSource());
+ return o;
+}
+
+checkUnnamed215(core.List<api.Source> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSource(o[0]);
+ checkSource(o[1]);
+}
+
+core.int buildCounterContest = 0;
+buildContest() {
+ var o = new api.Contest();
+ buildCounterContest++;
+ if (buildCounterContest < 3) {
+ o.ballotPlacement = "foo";
+ o.candidates = buildUnnamed212();
+ o.district = buildElectoralDistrict();
+ o.electorateSpecifications = "foo";
+ o.id = "foo";
+ o.level = buildUnnamed213();
+ o.numberElected = "foo";
+ o.numberVotingFor = "foo";
+ o.office = "foo";
+ o.primaryParty = "foo";
+ o.referendumSubtitle = "foo";
+ o.referendumTitle = "foo";
+ o.referendumUrl = "foo";
+ o.roles = buildUnnamed214();
+ o.sources = buildUnnamed215();
+ o.special = "foo";
+ o.type = "foo";
+ }
+ buildCounterContest--;
+ return o;
+}
+
+checkContest(api.Contest o) {
+ buildCounterContest++;
+ if (buildCounterContest < 3) {
+ unittest.expect(o.ballotPlacement, unittest.equals('foo'));
+ checkUnnamed212(o.candidates);
+ checkElectoralDistrict(o.district);
+ unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkUnnamed213(o.level);
+ unittest.expect(o.numberElected, unittest.equals('foo'));
+ unittest.expect(o.numberVotingFor, unittest.equals('foo'));
+ unittest.expect(o.office, unittest.equals('foo'));
+ unittest.expect(o.primaryParty, unittest.equals('foo'));
+ 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);
+ unittest.expect(o.special, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterContest--;
+}
+
+buildUnnamed216() {
+ var o = new core.List<api.DivisionSearchResult>();
+ o.add(buildDivisionSearchResult());
+ o.add(buildDivisionSearchResult());
+ return o;
+}
+
+checkUnnamed216(core.List<api.DivisionSearchResult> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDivisionSearchResult(o[0]);
+ checkDivisionSearchResult(o[1]);
+}
+
+core.int buildCounterDivisionSearchResponse = 0;
+buildDivisionSearchResponse() {
+ var o = new api.DivisionSearchResponse();
+ buildCounterDivisionSearchResponse++;
+ if (buildCounterDivisionSearchResponse < 3) {
+ o.kind = "foo";
+ o.results = buildUnnamed216();
+ }
+ buildCounterDivisionSearchResponse--;
+ return o;
+}
+
+checkDivisionSearchResponse(api.DivisionSearchResponse o) {
+ buildCounterDivisionSearchResponse++;
+ if (buildCounterDivisionSearchResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed216(o.results);
+ }
+ buildCounterDivisionSearchResponse--;
+}
+
+buildUnnamed217() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+core.int buildCounterDivisionSearchResult = 0;
+buildDivisionSearchResult() {
+ var o = new api.DivisionSearchResult();
+ buildCounterDivisionSearchResult++;
+ if (buildCounterDivisionSearchResult < 3) {
+ o.aliases = buildUnnamed217();
+ o.name = "foo";
+ o.ocdId = "foo";
+ }
+ buildCounterDivisionSearchResult--;
+ return o;
+}
+
+checkDivisionSearchResult(api.DivisionSearchResult o) {
+ buildCounterDivisionSearchResult++;
+ if (buildCounterDivisionSearchResult < 3) {
+ checkUnnamed217(o.aliases);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.ocdId, unittest.equals('foo'));
+ }
+ buildCounterDivisionSearchResult--;
+}
+
+core.int buildCounterElection = 0;
+buildElection() {
+ var o = new api.Election();
+ buildCounterElection++;
+ if (buildCounterElection < 3) {
+ o.electionDay = "foo";
+ o.id = "foo";
+ o.name = "foo";
+ }
+ buildCounterElection--;
+ return o;
+}
+
+checkElection(api.Election o) {
+ buildCounterElection++;
+ if (buildCounterElection < 3) {
+ unittest.expect(o.electionDay, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterElection--;
+}
+
+core.int buildCounterElectionOfficial = 0;
+buildElectionOfficial() {
+ var o = new api.ElectionOfficial();
+ buildCounterElectionOfficial++;
+ if (buildCounterElectionOfficial < 3) {
+ o.emailAddress = "foo";
+ o.faxNumber = "foo";
+ o.name = "foo";
+ o.officePhoneNumber = "foo";
+ o.title = "foo";
+ }
+ buildCounterElectionOfficial--;
+ return o;
+}
+
+checkElectionOfficial(api.ElectionOfficial o) {
+ buildCounterElectionOfficial++;
+ if (buildCounterElectionOfficial < 3) {
+ unittest.expect(o.emailAddress, unittest.equals('foo'));
+ unittest.expect(o.faxNumber, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.officePhoneNumber, unittest.equals('foo'));
+ unittest.expect(o.title, unittest.equals('foo'));
+ }
+ buildCounterElectionOfficial--;
+}
+
+buildUnnamed218() {
+ var o = new core.List<api.Election>();
+ o.add(buildElection());
+ o.add(buildElection());
+ return o;
+}
+
+checkUnnamed218(core.List<api.Election> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkElection(o[0]);
+ checkElection(o[1]);
+}
+
+core.int buildCounterElectionsQueryResponse = 0;
+buildElectionsQueryResponse() {
+ var o = new api.ElectionsQueryResponse();
+ buildCounterElectionsQueryResponse++;
+ if (buildCounterElectionsQueryResponse < 3) {
+ o.elections = buildUnnamed218();
+ o.kind = "foo";
+ }
+ buildCounterElectionsQueryResponse--;
+ return o;
+}
+
+checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
+ buildCounterElectionsQueryResponse++;
+ if (buildCounterElectionsQueryResponse < 3) {
+ checkUnnamed218(o.elections);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterElectionsQueryResponse--;
+}
+
+core.int buildCounterElectoralDistrict = 0;
+buildElectoralDistrict() {
+ var o = new api.ElectoralDistrict();
+ buildCounterElectoralDistrict++;
+ if (buildCounterElectoralDistrict < 3) {
+ o.id = "foo";
+ o.name = "foo";
+ o.scope = "foo";
+ }
+ buildCounterElectoralDistrict--;
+ return o;
+}
+
+checkElectoralDistrict(api.ElectoralDistrict o) {
+ buildCounterElectoralDistrict++;
+ if (buildCounterElectoralDistrict < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.scope, unittest.equals('foo'));
+ }
+ buildCounterElectoralDistrict--;
+}
+
+buildUnnamed219() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed220() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed220(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 buildCounterGeographicDivision = 0;
+buildGeographicDivision() {
+ var o = new api.GeographicDivision();
+ buildCounterGeographicDivision++;
+ if (buildCounterGeographicDivision < 3) {
+ o.alsoKnownAs = buildUnnamed219();
+ o.name = "foo";
+ o.officeIndices = buildUnnamed220();
+ }
+ buildCounterGeographicDivision--;
+ return o;
+}
+
+checkGeographicDivision(api.GeographicDivision o) {
+ buildCounterGeographicDivision++;
+ if (buildCounterGeographicDivision < 3) {
+ checkUnnamed219(o.alsoKnownAs);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed220(o.officeIndices);
+ }
+ buildCounterGeographicDivision--;
+}
+
+buildUnnamed221() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed221(core.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() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed222(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() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed223(core.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() {
+ var o = new core.List<api.Source>();
+ o.add(buildSource());
+ o.add(buildSource());
+ return o;
+}
+
+checkUnnamed224(core.List<api.Source> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSource(o[0]);
+ checkSource(o[1]);
+}
+
+core.int buildCounterOffice = 0;
+buildOffice() {
+ var o = new api.Office();
+ buildCounterOffice++;
+ if (buildCounterOffice < 3) {
+ o.divisionId = "foo";
+ o.levels = buildUnnamed221();
+ o.name = "foo";
+ o.officialIndices = buildUnnamed222();
+ o.roles = buildUnnamed223();
+ o.sources = buildUnnamed224();
+ }
+ buildCounterOffice--;
+ return o;
+}
+
+checkOffice(api.Office o) {
+ buildCounterOffice++;
+ if (buildCounterOffice < 3) {
+ unittest.expect(o.divisionId, unittest.equals('foo'));
+ checkUnnamed221(o.levels);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed222(o.officialIndices);
+ checkUnnamed223(o.roles);
+ checkUnnamed224(o.sources);
+ }
+ buildCounterOffice--;
+}
+
+buildUnnamed225() {
+ var o = new core.List<api.SimpleAddressType>();
+ o.add(buildSimpleAddressType());
+ o.add(buildSimpleAddressType());
+ return o;
+}
+
+checkUnnamed225(core.List<api.SimpleAddressType> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSimpleAddressType(o[0]);
+ checkSimpleAddressType(o[1]);
+}
+
+buildUnnamed226() {
+ var o = new core.List<api.Channel>();
+ o.add(buildChannel());
+ o.add(buildChannel());
+ return o;
+}
+
+checkUnnamed226(core.List<api.Channel> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkChannel(o[0]);
+ checkChannel(o[1]);
+}
+
+buildUnnamed227() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed227(core.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() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed229() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+core.int buildCounterOfficial = 0;
+buildOfficial() {
+ var o = new api.Official();
+ buildCounterOfficial++;
+ if (buildCounterOfficial < 3) {
+ o.address = buildUnnamed225();
+ o.channels = buildUnnamed226();
+ o.emails = buildUnnamed227();
+ o.name = "foo";
+ o.party = "foo";
+ o.phones = buildUnnamed228();
+ o.photoUrl = "foo";
+ o.urls = buildUnnamed229();
+ }
+ buildCounterOfficial--;
+ return o;
+}
+
+checkOfficial(api.Official o) {
+ buildCounterOfficial++;
+ if (buildCounterOfficial < 3) {
+ checkUnnamed225(o.address);
+ checkUnnamed226(o.channels);
+ checkUnnamed227(o.emails);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.party, unittest.equals('foo'));
+ checkUnnamed228(o.phones);
+ unittest.expect(o.photoUrl, unittest.equals('foo'));
+ checkUnnamed229(o.urls);
+ }
+ buildCounterOfficial--;
+}
+
+buildUnnamed230() {
+ var o = new core.List<api.Source>();
+ o.add(buildSource());
+ o.add(buildSource());
+ return o;
+}
+
+checkUnnamed230(core.List<api.Source> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSource(o[0]);
+ checkSource(o[1]);
+}
+
+core.int buildCounterPollingLocation = 0;
+buildPollingLocation() {
+ var o = new api.PollingLocation();
+ buildCounterPollingLocation++;
+ if (buildCounterPollingLocation < 3) {
+ o.address = buildSimpleAddressType();
+ o.endDate = "foo";
+ o.id = "foo";
+ o.name = "foo";
+ o.notes = "foo";
+ o.pollingHours = "foo";
+ o.sources = buildUnnamed230();
+ o.startDate = "foo";
+ o.voterServices = "foo";
+ }
+ buildCounterPollingLocation--;
+ return o;
+}
+
+checkPollingLocation(api.PollingLocation o) {
+ buildCounterPollingLocation++;
+ if (buildCounterPollingLocation < 3) {
+ checkSimpleAddressType(o.address);
+ unittest.expect(o.endDate, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.notes, unittest.equals('foo'));
+ unittest.expect(o.pollingHours, unittest.equals('foo'));
+ checkUnnamed230(o.sources);
+ unittest.expect(o.startDate, unittest.equals('foo'));
+ unittest.expect(o.voterServices, unittest.equals('foo'));
+ }
+ buildCounterPollingLocation--;
+}
+
+buildUnnamed231() {
+ 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) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGeographicDivision(o["x"]);
+ checkGeographicDivision(o["y"]);
+}
+
+buildUnnamed232() {
+ var o = new core.List<api.Office>();
+ o.add(buildOffice());
+ o.add(buildOffice());
+ return o;
+}
+
+checkUnnamed232(core.List<api.Office> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOffice(o[0]);
+ checkOffice(o[1]);
+}
+
+buildUnnamed233() {
+ var o = new core.List<api.Official>();
+ o.add(buildOfficial());
+ o.add(buildOfficial());
+ return o;
+}
+
+checkUnnamed233(core.List<api.Official> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOfficial(o[0]);
+ checkOfficial(o[1]);
+}
+
+core.int buildCounterRepresentativeInfoData = 0;
+buildRepresentativeInfoData() {
+ var o = new api.RepresentativeInfoData();
+ buildCounterRepresentativeInfoData++;
+ if (buildCounterRepresentativeInfoData < 3) {
+ o.divisions = buildUnnamed231();
+ o.offices = buildUnnamed232();
+ o.officials = buildUnnamed233();
+ }
+ buildCounterRepresentativeInfoData--;
+ return o;
+}
+
+checkRepresentativeInfoData(api.RepresentativeInfoData o) {
+ buildCounterRepresentativeInfoData++;
+ if (buildCounterRepresentativeInfoData < 3) {
+ checkUnnamed231(o.divisions);
+ checkUnnamed232(o.offices);
+ checkUnnamed233(o.officials);
+ }
+ buildCounterRepresentativeInfoData--;
+}
+
+buildUnnamed234() {
+ 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) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGeographicDivision(o["x"]);
+ checkGeographicDivision(o["y"]);
+}
+
+buildUnnamed235() {
+ var o = new core.List<api.Office>();
+ o.add(buildOffice());
+ o.add(buildOffice());
+ return o;
+}
+
+checkUnnamed235(core.List<api.Office> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOffice(o[0]);
+ checkOffice(o[1]);
+}
+
+buildUnnamed236() {
+ var o = new core.List<api.Official>();
+ o.add(buildOfficial());
+ o.add(buildOfficial());
+ return o;
+}
+
+checkUnnamed236(core.List<api.Official> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOfficial(o[0]);
+ checkOfficial(o[1]);
+}
+
+core.int buildCounterRepresentativeInfoResponse = 0;
+buildRepresentativeInfoResponse() {
+ var o = new api.RepresentativeInfoResponse();
+ buildCounterRepresentativeInfoResponse++;
+ if (buildCounterRepresentativeInfoResponse < 3) {
+ o.divisions = buildUnnamed234();
+ o.kind = "foo";
+ o.normalizedInput = buildSimpleAddressType();
+ o.offices = buildUnnamed235();
+ o.officials = buildUnnamed236();
+ }
+ buildCounterRepresentativeInfoResponse--;
+ return o;
+}
+
+checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
+ buildCounterRepresentativeInfoResponse++;
+ if (buildCounterRepresentativeInfoResponse < 3) {
+ checkUnnamed234(o.divisions);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkSimpleAddressType(o.normalizedInput);
+ checkUnnamed235(o.offices);
+ checkUnnamed236(o.officials);
+ }
+ buildCounterRepresentativeInfoResponse--;
+}
+
+core.int buildCounterSimpleAddressType = 0;
+buildSimpleAddressType() {
+ var o = new api.SimpleAddressType();
+ buildCounterSimpleAddressType++;
+ if (buildCounterSimpleAddressType < 3) {
+ o.city = "foo";
+ o.line1 = "foo";
+ o.line2 = "foo";
+ o.line3 = "foo";
+ o.locationName = "foo";
+ o.state = "foo";
+ o.zip = "foo";
+ }
+ buildCounterSimpleAddressType--;
+ return o;
+}
+
+checkSimpleAddressType(api.SimpleAddressType o) {
+ buildCounterSimpleAddressType++;
+ if (buildCounterSimpleAddressType < 3) {
+ unittest.expect(o.city, unittest.equals('foo'));
+ unittest.expect(o.line1, unittest.equals('foo'));
+ unittest.expect(o.line2, unittest.equals('foo'));
+ unittest.expect(o.line3, unittest.equals('foo'));
+ unittest.expect(o.locationName, unittest.equals('foo'));
+ unittest.expect(o.state, unittest.equals('foo'));
+ unittest.expect(o.zip, unittest.equals('foo'));
+ }
+ buildCounterSimpleAddressType--;
+}
+
+core.int buildCounterSource = 0;
+buildSource() {
+ var o = new api.Source();
+ buildCounterSource++;
+ if (buildCounterSource < 3) {
+ o.name = "foo";
+ o.official = true;
+ }
+ buildCounterSource--;
+ return o;
+}
+
+checkSource(api.Source o) {
+ buildCounterSource++;
+ if (buildCounterSource < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.official, unittest.isTrue);
+ }
+ buildCounterSource--;
+}
+
+buildUnnamed237() {
+ var o = new core.List<api.Contest>();
+ o.add(buildContest());
+ o.add(buildContest());
+ return o;
+}
+
+checkUnnamed237(core.List<api.Contest> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkContest(o[0]);
+ checkContest(o[1]);
+}
+
+buildUnnamed238() {
+ var o = new core.List<api.PollingLocation>();
+ o.add(buildPollingLocation());
+ o.add(buildPollingLocation());
+ return o;
+}
+
+checkUnnamed238(core.List<api.PollingLocation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPollingLocation(o[0]);
+ checkPollingLocation(o[1]);
+}
+
+buildUnnamed239() {
+ var o = new core.List<api.Election>();
+ o.add(buildElection());
+ o.add(buildElection());
+ return o;
+}
+
+checkUnnamed239(core.List<api.Election> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkElection(o[0]);
+ checkElection(o[1]);
+}
+
+buildUnnamed240() {
+ var o = new core.List<api.PollingLocation>();
+ o.add(buildPollingLocation());
+ o.add(buildPollingLocation());
+ return o;
+}
+
+checkUnnamed240(core.List<api.PollingLocation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPollingLocation(o[0]);
+ checkPollingLocation(o[1]);
+}
+
+buildUnnamed241() {
+ var o = new core.List<api.AdministrationRegion>();
+ o.add(buildAdministrationRegion());
+ o.add(buildAdministrationRegion());
+ return o;
+}
+
+checkUnnamed241(core.List<api.AdministrationRegion> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAdministrationRegion(o[0]);
+ checkAdministrationRegion(o[1]);
+}
+
+core.int buildCounterVoterInfoResponse = 0;
+buildVoterInfoResponse() {
+ var o = new api.VoterInfoResponse();
+ buildCounterVoterInfoResponse++;
+ if (buildCounterVoterInfoResponse < 3) {
+ o.contests = buildUnnamed237();
+ o.earlyVoteSites = buildUnnamed238();
+ o.election = buildElection();
+ o.kind = "foo";
+ o.normalizedInput = buildSimpleAddressType();
+ o.otherElections = buildUnnamed239();
+ o.pollingLocations = buildUnnamed240();
+ o.precinctId = "foo";
+ o.state = buildUnnamed241();
+ }
+ buildCounterVoterInfoResponse--;
+ return o;
+}
+
+checkVoterInfoResponse(api.VoterInfoResponse o) {
+ buildCounterVoterInfoResponse++;
+ if (buildCounterVoterInfoResponse < 3) {
+ checkUnnamed237(o.contests);
+ checkUnnamed238(o.earlyVoteSites);
+ checkElection(o.election);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkSimpleAddressType(o.normalizedInput);
+ checkUnnamed239(o.otherElections);
+ checkUnnamed240(o.pollingLocations);
+ unittest.expect(o.precinctId, unittest.equals('foo'));
+ checkUnnamed241(o.state);
+ }
+ buildCounterVoterInfoResponse--;
+}
+
+buildUnnamed242() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed242(core.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() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed243(core.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() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed244(core.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() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed245(core.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-AdministrationRegion", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdministrationRegion();
+ var od = new api.AdministrationRegion.fromJson(o.toJson());
+ checkAdministrationRegion(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-AdministrativeBody", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdministrativeBody();
+ var od = new api.AdministrativeBody.fromJson(o.toJson());
+ checkAdministrativeBody(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Candidate", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCandidate();
+ var od = new api.Candidate.fromJson(o.toJson());
+ checkCandidate(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Channel", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildChannel();
+ var od = new api.Channel.fromJson(o.toJson());
+ checkChannel(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Contest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildContest();
+ var od = new api.Contest.fromJson(o.toJson());
+ checkContest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-DivisionSearchResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDivisionSearchResponse();
+ var od = new api.DivisionSearchResponse.fromJson(o.toJson());
+ checkDivisionSearchResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-DivisionSearchResult", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDivisionSearchResult();
+ var od = new api.DivisionSearchResult.fromJson(o.toJson());
+ checkDivisionSearchResult(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Election", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildElection();
+ var od = new api.Election.fromJson(o.toJson());
+ checkElection(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ElectionOfficial", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildElectionOfficial();
+ var od = new api.ElectionOfficial.fromJson(o.toJson());
+ checkElectionOfficial(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ElectionsQueryResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildElectionsQueryResponse();
+ var od = new api.ElectionsQueryResponse.fromJson(o.toJson());
+ checkElectionsQueryResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ElectoralDistrict", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildElectoralDistrict();
+ var od = new api.ElectoralDistrict.fromJson(o.toJson());
+ checkElectoralDistrict(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GeographicDivision", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGeographicDivision();
+ var od = new api.GeographicDivision.fromJson(o.toJson());
+ checkGeographicDivision(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Office", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOffice();
+ var od = new api.Office.fromJson(o.toJson());
+ checkOffice(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Official", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOfficial();
+ var od = new api.Official.fromJson(o.toJson());
+ checkOfficial(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-PollingLocation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPollingLocation();
+ var od = new api.PollingLocation.fromJson(o.toJson());
+ checkPollingLocation(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-RepresentativeInfoData", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRepresentativeInfoData();
+ var od = new api.RepresentativeInfoData.fromJson(o.toJson());
+ checkRepresentativeInfoData(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-RepresentativeInfoResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRepresentativeInfoResponse();
+ var od = new api.RepresentativeInfoResponse.fromJson(o.toJson());
+ checkRepresentativeInfoResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-SimpleAddressType", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSimpleAddressType();
+ var od = new api.SimpleAddressType.fromJson(o.toJson());
+ checkSimpleAddressType(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Source", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSource();
+ var od = new api.Source.fromJson(o.toJson());
+ checkSource(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-VoterInfoResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildVoterInfoResponse();
+ var od = new api.VoterInfoResponse.fromJson(o.toJson());
+ checkVoterInfoResponse(od);
+ });
+ });
+
+
+ unittest.group("resource-DivisionsResourceApi", () {
+ unittest.test("method--search", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.DivisionsResourceApi res = new api.CivicinfoApi(mock).divisions;
+ var arg_query = "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 + 13), unittest.equals("civicinfo/v2/"));
+ pathOffset += 13;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("divisions"));
+ 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["query"].first, unittest.equals(arg_query));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildDivisionSearchResponse());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.search(query: arg_query).then(unittest.expectAsync(((api.DivisionSearchResponse response) {
+ checkDivisionSearchResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-ElectionsResourceApi", () {
+ unittest.test("method--electionQuery", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ElectionsResourceApi res = new api.CivicinfoApi(mock).elections;
+ 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 + 13), unittest.equals("civicinfo/v2/"));
+ pathOffset += 13;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("elections"));
+ 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(buildElectionsQueryResponse());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.electionQuery().then(unittest.expectAsync(((api.ElectionsQueryResponse response) {
+ checkElectionsQueryResponse(response);
+ })));
+ });
+
+ unittest.test("method--voterInfoQuery", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ElectionsResourceApi res = new api.CivicinfoApi(mock).elections;
+ var arg_address = "foo";
+ var arg_electionId = "foo";
+ var arg_officialOnly = true;
+ 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 + 13), unittest.equals("civicinfo/v2/"));
+ pathOffset += 13;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("voterinfo"));
+ 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["address"].first, unittest.equals(arg_address));
+ unittest.expect(queryMap["electionId"].first, unittest.equals(arg_electionId));
+ unittest.expect(queryMap["officialOnly"].first, unittest.equals("$arg_officialOnly"));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildVoterInfoResponse());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.voterInfoQuery(arg_address, electionId: arg_electionId, officialOnly: arg_officialOnly).then(unittest.expectAsync(((api.VoterInfoResponse response) {
+ checkVoterInfoResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-RepresentativesResourceApi", () {
+ unittest.test("method--representativeInfoByAddress", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
+ var arg_address = "foo";
+ var arg_includeOffices = true;
+ var arg_levels = buildUnnamed242();
+ var arg_roles = buildUnnamed243();
+ 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 + 13), unittest.equals("civicinfo/v2/"));
+ pathOffset += 13;
+ unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("representatives"));
+ pathOffset += 15;
+
+ 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["address"].first, unittest.equals(arg_address));
+ unittest.expect(queryMap["includeOffices"].first, unittest.equals("$arg_includeOffices"));
+ unittest.expect(queryMap["levels"], unittest.equals(arg_levels));
+ unittest.expect(queryMap["roles"], unittest.equals(arg_roles));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRepresentativeInfoResponse());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.representativeInfoByAddress(address: arg_address, includeOffices: arg_includeOffices, levels: arg_levels, roles: arg_roles).then(unittest.expectAsync(((api.RepresentativeInfoResponse response) {
+ checkRepresentativeInfoResponse(response);
+ })));
+ });
+
+ unittest.test("method--representativeInfoByDivision", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
+ var arg_ocdId = "foo";
+ var arg_levels = buildUnnamed244();
+ var arg_recursive = true;
+ var arg_roles = buildUnnamed245();
+ 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 + 13), unittest.equals("civicinfo/v2/"));
+ pathOffset += 13;
+ unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("representatives/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_ocdId"));
+
+ 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["levels"], unittest.equals(arg_levels));
+ unittest.expect(queryMap["recursive"].first, unittest.equals("$arg_recursive"));
+ unittest.expect(queryMap["roles"], unittest.equals(arg_roles));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRepresentativeInfoData());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.representativeInfoByDivision(arg_ocdId, levels: arg_levels, recursive: arg_recursive, roles: arg_roles).then(unittest.expectAsync(((api.RepresentativeInfoData response) {
+ checkRepresentativeInfoData(response);
+ })));
+ });
+
+ });
+
+
+}
+
diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart
index 6cfbefb..d68c270 100644
--- a/generated/googleapis/test/compute/v1_test.dart
+++ b/generated/googleapis/test/compute/v1_test.dart
@@ -41,14 +41,14 @@
buildCounterAccessConfig--;
}
-buildUnnamed867() {
+buildUnnamed848() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed867(core.List<core.String> o) {
+checkUnnamed848(core.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 = buildUnnamed867();
+ o.users = buildUnnamed848();
}
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'));
- checkUnnamed867(o.users);
+ checkUnnamed848(o.users);
}
buildCounterAddress--;
}
-buildUnnamed868() {
+buildUnnamed849() {
var o = new core.Map<core.String, api.AddressesScopedList>();
o["x"] = buildAddressesScopedList();
o["y"] = buildAddressesScopedList();
return o;
}
-checkUnnamed868(core.Map<core.String, api.AddressesScopedList> o) {
+checkUnnamed849(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 = buildUnnamed868();
+ o.items = buildUnnamed849();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -123,7 +123,7 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed868(o.items);
+ checkUnnamed849(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--;
}
-buildUnnamed869() {
+buildUnnamed850() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed869(core.List<api.Address> o) {
+checkUnnamed850(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 = buildUnnamed869();
+ o.items = buildUnnamed850();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -163,7 +163,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed869(o.items);
+ checkUnnamed850(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--;
}
-buildUnnamed870() {
+buildUnnamed851() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed870(core.List<api.Address> o) {
+checkUnnamed851(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -205,14 +205,14 @@
buildCounterAddressesScopedListWarningData--;
}
-buildUnnamed871() {
+buildUnnamed852() {
var o = new core.List<api.AddressesScopedListWarningData>();
o.add(buildAddressesScopedListWarningData());
o.add(buildAddressesScopedListWarningData());
return o;
}
-checkUnnamed871(core.List<api.AddressesScopedListWarningData> o) {
+checkUnnamed852(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 = buildUnnamed871();
+ o.data = buildUnnamed852();
o.message = "foo";
}
buildCounterAddressesScopedListWarning--;
@@ -235,7 +235,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed871(o.data);
+ checkUnnamed852(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 = buildUnnamed870();
+ o.addresses = buildUnnamed851();
o.warning = buildAddressesScopedListWarning();
}
buildCounterAddressesScopedList--;
@@ -256,20 +256,20 @@
checkAddressesScopedList(api.AddressesScopedList o) {
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- checkUnnamed870(o.addresses);
+ checkUnnamed851(o.addresses);
checkAddressesScopedListWarning(o.warning);
}
buildCounterAddressesScopedList--;
}
-buildUnnamed872() {
+buildUnnamed853() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed872(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'));
@@ -286,7 +286,7 @@
o.index = 42;
o.initializeParams = buildAttachedDiskInitializeParams();
o.kind = "foo";
- o.licenses = buildUnnamed872();
+ o.licenses = buildUnnamed853();
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'));
- checkUnnamed872(o.licenses);
+ checkUnnamed853(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--;
}
-buildUnnamed873() {
+buildUnnamed854() {
var o = new core.List<api.Backend>();
o.add(buildBackend());
o.add(buildBackend());
return o;
}
-checkUnnamed873(core.List<api.Backend> o) {
+checkUnnamed854(core.List<api.Backend> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackend(o[0]);
checkBackend(o[1]);
}
-buildUnnamed874() {
+buildUnnamed855() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed874(core.List<core.String> o) {
+checkUnnamed855(core.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 = buildUnnamed873();
+ o.backends = buildUnnamed854();
o.creationTimestamp = "foo";
o.description = "foo";
o.fingerprint = "foo";
- o.healthChecks = buildUnnamed874();
+ o.healthChecks = buildUnnamed855();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -420,11 +420,11 @@
checkBackendService(api.BackendService o) {
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
- checkUnnamed873(o.backends);
+ checkUnnamed854(o.backends);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed874(o.healthChecks);
+ checkUnnamed855(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--;
}
-buildUnnamed875() {
+buildUnnamed856() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed875(core.List<api.HealthStatus> o) {
+checkUnnamed856(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 = buildUnnamed875();
+ o.healthStatus = buildUnnamed856();
o.kind = "foo";
}
buildCounterBackendServiceGroupHealth--;
@@ -465,20 +465,20 @@
checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) {
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- checkUnnamed875(o.healthStatus);
+ checkUnnamed856(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBackendServiceGroupHealth--;
}
-buildUnnamed876() {
+buildUnnamed857() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed876(core.List<api.BackendService> o) {
+checkUnnamed857(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 = buildUnnamed876();
+ o.items = buildUnnamed857();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -503,7 +503,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed876(o.items);
+ checkUnnamed857(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--;
}
-buildUnnamed877() {
+buildUnnamed858() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed877(core.List<core.String> o) {
+checkUnnamed858(core.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 = buildUnnamed877();
+ o.licenses = buildUnnamed858();
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'));
- checkUnnamed877(o.licenses);
+ checkUnnamed858(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--;
}
-buildUnnamed878() {
+buildUnnamed859() {
var o = new core.Map<core.String, api.DisksScopedList>();
o["x"] = buildDisksScopedList();
o["y"] = buildDisksScopedList();
return o;
}
-checkUnnamed878(core.Map<core.String, api.DisksScopedList> o) {
+checkUnnamed859(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 = buildUnnamed878();
+ o.items = buildUnnamed859();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -632,7 +632,7 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed878(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'));
@@ -640,14 +640,14 @@
buildCounterDiskAggregatedList--;
}
-buildUnnamed879() {
+buildUnnamed860() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed879(core.List<api.Disk> o) {
+checkUnnamed860(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 = buildUnnamed879();
+ o.items = buildUnnamed860();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -672,7 +672,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed879(o.items);
+ checkUnnamed860(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--;
}
-buildUnnamed880() {
+buildUnnamed861() {
var o = new core.Map<core.String, api.DiskTypesScopedList>();
o["x"] = buildDiskTypesScopedList();
o["y"] = buildDiskTypesScopedList();
return o;
}
-checkUnnamed880(core.Map<core.String, api.DiskTypesScopedList> o) {
+checkUnnamed861(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 = buildUnnamed880();
+ o.items = buildUnnamed861();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -749,7 +749,7 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed880(o.items);
+ checkUnnamed861(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--;
}
-buildUnnamed881() {
+buildUnnamed862() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed881(core.List<api.DiskType> o) {
+checkUnnamed862(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 = buildUnnamed881();
+ o.items = buildUnnamed862();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -789,7 +789,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed881(o.items);
+ checkUnnamed862(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--;
}
-buildUnnamed882() {
+buildUnnamed863() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed882(core.List<api.DiskType> o) {
+checkUnnamed863(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -831,14 +831,14 @@
buildCounterDiskTypesScopedListWarningData--;
}
-buildUnnamed883() {
+buildUnnamed864() {
var o = new core.List<api.DiskTypesScopedListWarningData>();
o.add(buildDiskTypesScopedListWarningData());
o.add(buildDiskTypesScopedListWarningData());
return o;
}
-checkUnnamed883(core.List<api.DiskTypesScopedListWarningData> o) {
+checkUnnamed864(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 = buildUnnamed883();
+ o.data = buildUnnamed864();
o.message = "foo";
}
buildCounterDiskTypesScopedListWarning--;
@@ -861,7 +861,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed883(o.data);
+ checkUnnamed864(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 = buildUnnamed882();
+ o.diskTypes = buildUnnamed863();
o.warning = buildDiskTypesScopedListWarning();
}
buildCounterDiskTypesScopedList--;
@@ -882,20 +882,20 @@
checkDiskTypesScopedList(api.DiskTypesScopedList o) {
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- checkUnnamed882(o.diskTypes);
+ checkUnnamed863(o.diskTypes);
checkDiskTypesScopedListWarning(o.warning);
}
buildCounterDiskTypesScopedList--;
}
-buildUnnamed884() {
+buildUnnamed865() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed884(core.List<api.Disk> o) {
+checkUnnamed865(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -922,14 +922,14 @@
buildCounterDisksScopedListWarningData--;
}
-buildUnnamed885() {
+buildUnnamed866() {
var o = new core.List<api.DisksScopedListWarningData>();
o.add(buildDisksScopedListWarningData());
o.add(buildDisksScopedListWarningData());
return o;
}
-checkUnnamed885(core.List<api.DisksScopedListWarningData> o) {
+checkUnnamed866(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 = buildUnnamed885();
+ o.data = buildUnnamed866();
o.message = "foo";
}
buildCounterDisksScopedListWarning--;
@@ -952,7 +952,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed885(o.data);
+ checkUnnamed866(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 = buildUnnamed884();
+ o.disks = buildUnnamed865();
o.warning = buildDisksScopedListWarning();
}
buildCounterDisksScopedList--;
@@ -973,20 +973,20 @@
checkDisksScopedList(api.DisksScopedList o) {
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- checkUnnamed884(o.disks);
+ checkUnnamed865(o.disks);
checkDisksScopedListWarning(o.warning);
}
buildCounterDisksScopedList--;
}
-buildUnnamed886() {
+buildUnnamed867() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed886(core.List<core.String> o) {
+checkUnnamed867(core.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 = buildUnnamed886();
+ o.ports = buildUnnamed867();
}
buildCounterFirewallAllowed--;
return o;
@@ -1008,58 +1008,58 @@
buildCounterFirewallAllowed++;
if (buildCounterFirewallAllowed < 3) {
unittest.expect(o.IPProtocol, unittest.equals('foo'));
- checkUnnamed886(o.ports);
+ checkUnnamed867(o.ports);
}
buildCounterFirewallAllowed--;
}
-buildUnnamed887() {
+buildUnnamed868() {
var o = new core.List<api.FirewallAllowed>();
o.add(buildFirewallAllowed());
o.add(buildFirewallAllowed());
return o;
}
-checkUnnamed887(core.List<api.FirewallAllowed> o) {
+checkUnnamed868(core.List<api.FirewallAllowed> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallAllowed(o[0]);
checkFirewallAllowed(o[1]);
}
-buildUnnamed888() {
+buildUnnamed869() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed888(core.List<core.String> o) {
+checkUnnamed869(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed889() {
+buildUnnamed870() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed889(core.List<core.String> o) {
+checkUnnamed870(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed890() {
+buildUnnamed871() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed890(core.List<core.String> o) {
+checkUnnamed871(core.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 = buildUnnamed887();
+ o.allowed = buildUnnamed868();
o.creationTimestamp = "foo";
o.description = "foo";
o.id = "foo";
@@ -1078,9 +1078,9 @@
o.name = "foo";
o.network = "foo";
o.selfLink = "foo";
- o.sourceRanges = buildUnnamed888();
- o.sourceTags = buildUnnamed889();
- o.targetTags = buildUnnamed890();
+ o.sourceRanges = buildUnnamed869();
+ o.sourceTags = buildUnnamed870();
+ o.targetTags = buildUnnamed871();
}
buildCounterFirewall--;
return o;
@@ -1089,7 +1089,7 @@
checkFirewall(api.Firewall o) {
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- checkUnnamed887(o.allowed);
+ checkUnnamed868(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'));
- checkUnnamed888(o.sourceRanges);
- checkUnnamed889(o.sourceTags);
- checkUnnamed890(o.targetTags);
+ checkUnnamed869(o.sourceRanges);
+ checkUnnamed870(o.sourceTags);
+ checkUnnamed871(o.targetTags);
}
buildCounterFirewall--;
}
-buildUnnamed891() {
+buildUnnamed872() {
var o = new core.List<api.Firewall>();
o.add(buildFirewall());
o.add(buildFirewall());
return o;
}
-checkUnnamed891(core.List<api.Firewall> o) {
+checkUnnamed872(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 = buildUnnamed891();
+ o.items = buildUnnamed872();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1136,7 +1136,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed891(o.items);
+ checkUnnamed872(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--;
}
-buildUnnamed892() {
+buildUnnamed873() {
var o = new core.Map<core.String, api.ForwardingRulesScopedList>();
o["x"] = buildForwardingRulesScopedList();
o["y"] = buildForwardingRulesScopedList();
return o;
}
-checkUnnamed892(core.Map<core.String, api.ForwardingRulesScopedList> o) {
+checkUnnamed873(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 = buildUnnamed892();
+ o.items = buildUnnamed873();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1215,7 +1215,7 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed892(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'));
@@ -1223,14 +1223,14 @@
buildCounterForwardingRuleAggregatedList--;
}
-buildUnnamed893() {
+buildUnnamed874() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed893(core.List<api.ForwardingRule> o) {
+checkUnnamed874(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 = buildUnnamed893();
+ o.items = buildUnnamed874();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1255,7 +1255,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed893(o.items);
+ checkUnnamed874(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--;
}
-buildUnnamed894() {
+buildUnnamed875() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed894(core.List<api.ForwardingRule> o) {
+checkUnnamed875(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -1297,14 +1297,14 @@
buildCounterForwardingRulesScopedListWarningData--;
}
-buildUnnamed895() {
+buildUnnamed876() {
var o = new core.List<api.ForwardingRulesScopedListWarningData>();
o.add(buildForwardingRulesScopedListWarningData());
o.add(buildForwardingRulesScopedListWarningData());
return o;
}
-checkUnnamed895(core.List<api.ForwardingRulesScopedListWarningData> o) {
+checkUnnamed876(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 = buildUnnamed895();
+ o.data = buildUnnamed876();
o.message = "foo";
}
buildCounterForwardingRulesScopedListWarning--;
@@ -1327,7 +1327,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed895(o.data);
+ checkUnnamed876(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 = buildUnnamed894();
+ o.forwardingRules = buildUnnamed875();
o.warning = buildForwardingRulesScopedListWarning();
}
buildCounterForwardingRulesScopedList--;
@@ -1348,7 +1348,7 @@
checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) {
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- checkUnnamed894(o.forwardingRules);
+ checkUnnamed875(o.forwardingRules);
checkForwardingRulesScopedListWarning(o.warning);
}
buildCounterForwardingRulesScopedList--;
@@ -1398,14 +1398,14 @@
buildCounterHealthStatus--;
}
-buildUnnamed896() {
+buildUnnamed877() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed896(core.List<core.String> o) {
+checkUnnamed877(core.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 = buildUnnamed896();
+ o.hosts = buildUnnamed877();
o.pathMatcher = "foo";
}
buildCounterHostRule--;
@@ -1428,7 +1428,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed896(o.hosts);
+ checkUnnamed877(o.hosts);
unittest.expect(o.pathMatcher, unittest.equals('foo'));
}
buildCounterHostRule--;
@@ -1477,14 +1477,14 @@
buildCounterHttpHealthCheck--;
}
-buildUnnamed897() {
+buildUnnamed878() {
var o = new core.List<api.HttpHealthCheck>();
o.add(buildHttpHealthCheck());
o.add(buildHttpHealthCheck());
return o;
}
-checkUnnamed897(core.List<api.HttpHealthCheck> o) {
+checkUnnamed878(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 = buildUnnamed897();
+ o.items = buildUnnamed878();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1509,7 +1509,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed897(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'));
@@ -1517,14 +1517,14 @@
buildCounterHttpHealthCheckList--;
}
-buildUnnamed898() {
+buildUnnamed879() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed898(core.List<core.String> o) {
+checkUnnamed879(core.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 = buildUnnamed898();
+ o.licenses = buildUnnamed879();
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'));
- checkUnnamed898(o.licenses);
+ checkUnnamed879(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
checkImageRawDisk(o.rawDisk);
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1600,14 +1600,14 @@
buildCounterImage--;
}
-buildUnnamed899() {
+buildUnnamed880() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed899(core.List<api.Image> o) {
+checkUnnamed880(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 = buildUnnamed899();
+ o.items = buildUnnamed880();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1632,7 +1632,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed899(o.items);
+ checkUnnamed880(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--;
}
-buildUnnamed900() {
+buildUnnamed881() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed900(core.List<api.AttachedDisk> o) {
+checkUnnamed881(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed901() {
+buildUnnamed882() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed901(core.List<api.NetworkInterface> o) {
+checkUnnamed882(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed902() {
+buildUnnamed883() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed902(core.List<api.ServiceAccount> o) {
+checkUnnamed883(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 = buildUnnamed900();
+ o.disks = buildUnnamed881();
o.id = "foo";
o.kind = "foo";
o.machineType = "foo";
o.metadata = buildMetadata();
o.name = "foo";
- o.networkInterfaces = buildUnnamed901();
+ o.networkInterfaces = buildUnnamed882();
o.scheduling = buildScheduling();
o.selfLink = "foo";
- o.serviceAccounts = buildUnnamed902();
+ o.serviceAccounts = buildUnnamed883();
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'));
- checkUnnamed900(o.disks);
+ checkUnnamed881(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'));
- checkUnnamed901(o.networkInterfaces);
+ checkUnnamed882(o.networkInterfaces);
checkScheduling(o.scheduling);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed902(o.serviceAccounts);
+ checkUnnamed883(o.serviceAccounts);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusMessage, unittest.equals('foo'));
checkTags(o.tags);
@@ -1730,14 +1730,14 @@
buildCounterInstance--;
}
-buildUnnamed903() {
+buildUnnamed884() {
var o = new core.Map<core.String, api.InstancesScopedList>();
o["x"] = buildInstancesScopedList();
o["y"] = buildInstancesScopedList();
return o;
}
-checkUnnamed903(core.Map<core.String, api.InstancesScopedList> o) {
+checkUnnamed884(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 = buildUnnamed903();
+ o.items = buildUnnamed884();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1762,7 +1762,7 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed903(o.items);
+ checkUnnamed884(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--;
}
-buildUnnamed904() {
+buildUnnamed885() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed904(core.List<api.Instance> o) {
+checkUnnamed885(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 = buildUnnamed904();
+ o.items = buildUnnamed885();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1802,7 +1802,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed904(o.items);
+ checkUnnamed885(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1829,14 +1829,14 @@
buildCounterInstanceReference--;
}
-buildUnnamed905() {
+buildUnnamed886() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed905(core.List<api.Instance> o) {
+checkUnnamed886(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -1863,14 +1863,14 @@
buildCounterInstancesScopedListWarningData--;
}
-buildUnnamed906() {
+buildUnnamed887() {
var o = new core.List<api.InstancesScopedListWarningData>();
o.add(buildInstancesScopedListWarningData());
o.add(buildInstancesScopedListWarningData());
return o;
}
-checkUnnamed906(core.List<api.InstancesScopedListWarningData> o) {
+checkUnnamed887(core.List<api.InstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedListWarningData(o[0]);
checkInstancesScopedListWarningData(o[1]);
@@ -1882,7 +1882,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed906();
+ o.data = buildUnnamed887();
o.message = "foo";
}
buildCounterInstancesScopedListWarning--;
@@ -1893,7 +1893,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed906(o.data);
+ checkUnnamed887(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstancesScopedListWarning--;
@@ -1904,7 +1904,7 @@
var o = new api.InstancesScopedList();
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- o.instances = buildUnnamed905();
+ o.instances = buildUnnamed886();
o.warning = buildInstancesScopedListWarning();
}
buildCounterInstancesScopedList--;
@@ -1914,7 +1914,7 @@
checkInstancesScopedList(api.InstancesScopedList o) {
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- checkUnnamed905(o.instances);
+ checkUnnamed886(o.instances);
checkInstancesScopedListWarning(o.warning);
}
buildCounterInstancesScopedList--;
@@ -1964,14 +1964,14 @@
buildCounterMachineTypeScratchDisks--;
}
-buildUnnamed907() {
+buildUnnamed888() {
var o = new core.List<api.MachineTypeScratchDisks>();
o.add(buildMachineTypeScratchDisks());
o.add(buildMachineTypeScratchDisks());
return o;
}
-checkUnnamed907(core.List<api.MachineTypeScratchDisks> o) {
+checkUnnamed888(core.List<api.MachineTypeScratchDisks> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeScratchDisks(o[0]);
checkMachineTypeScratchDisks(o[1]);
@@ -1993,7 +1993,7 @@
o.maximumPersistentDisksSizeGb = "foo";
o.memoryMb = 42;
o.name = "foo";
- o.scratchDisks = buildUnnamed907();
+ o.scratchDisks = buildUnnamed888();
o.selfLink = "foo";
o.zone = "foo";
}
@@ -2015,21 +2015,21 @@
unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo'));
unittest.expect(o.memoryMb, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed907(o.scratchDisks);
+ checkUnnamed888(o.scratchDisks);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterMachineType--;
}
-buildUnnamed908() {
+buildUnnamed889() {
var o = new core.Map<core.String, api.MachineTypesScopedList>();
o["x"] = buildMachineTypesScopedList();
o["y"] = buildMachineTypesScopedList();
return o;
}
-checkUnnamed908(core.Map<core.String, api.MachineTypesScopedList> o) {
+checkUnnamed889(core.Map<core.String, api.MachineTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedList(o["x"]);
checkMachineTypesScopedList(o["y"]);
@@ -2041,7 +2041,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed908();
+ o.items = buildUnnamed889();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2054,7 +2054,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed908(o.items);
+ checkUnnamed889(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 +2062,14 @@
buildCounterMachineTypeAggregatedList--;
}
-buildUnnamed909() {
+buildUnnamed890() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed909(core.List<api.MachineType> o) {
+checkUnnamed890(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -2081,7 +2081,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed909();
+ o.items = buildUnnamed890();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2094,7 +2094,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed909(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'));
@@ -2102,14 +2102,14 @@
buildCounterMachineTypeList--;
}
-buildUnnamed910() {
+buildUnnamed891() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed910(core.List<api.MachineType> o) {
+checkUnnamed891(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -2136,14 +2136,14 @@
buildCounterMachineTypesScopedListWarningData--;
}
-buildUnnamed911() {
+buildUnnamed892() {
var o = new core.List<api.MachineTypesScopedListWarningData>();
o.add(buildMachineTypesScopedListWarningData());
o.add(buildMachineTypesScopedListWarningData());
return o;
}
-checkUnnamed911(core.List<api.MachineTypesScopedListWarningData> o) {
+checkUnnamed892(core.List<api.MachineTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedListWarningData(o[0]);
checkMachineTypesScopedListWarningData(o[1]);
@@ -2155,7 +2155,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed911();
+ o.data = buildUnnamed892();
o.message = "foo";
}
buildCounterMachineTypesScopedListWarning--;
@@ -2166,7 +2166,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed911(o.data);
+ checkUnnamed892(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypesScopedListWarning--;
@@ -2177,7 +2177,7 @@
var o = new api.MachineTypesScopedList();
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- o.machineTypes = buildUnnamed910();
+ o.machineTypes = buildUnnamed891();
o.warning = buildMachineTypesScopedListWarning();
}
buildCounterMachineTypesScopedList--;
@@ -2187,7 +2187,7 @@
checkMachineTypesScopedList(api.MachineTypesScopedList o) {
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- checkUnnamed910(o.machineTypes);
+ checkUnnamed891(o.machineTypes);
checkMachineTypesScopedListWarning(o.warning);
}
buildCounterMachineTypesScopedList--;
@@ -2214,14 +2214,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed912() {
+buildUnnamed893() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed912(core.List<api.MetadataItems> o) {
+checkUnnamed893(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -2233,7 +2233,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed912();
+ o.items = buildUnnamed893();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -2244,7 +2244,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed912(o.items);
+ checkUnnamed893(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -2283,14 +2283,14 @@
buildCounterNetwork--;
}
-buildUnnamed913() {
+buildUnnamed894() {
var o = new core.List<api.AccessConfig>();
o.add(buildAccessConfig());
o.add(buildAccessConfig());
return o;
}
-checkUnnamed913(core.List<api.AccessConfig> o) {
+checkUnnamed894(core.List<api.AccessConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccessConfig(o[0]);
checkAccessConfig(o[1]);
@@ -2301,7 +2301,7 @@
var o = new api.NetworkInterface();
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- o.accessConfigs = buildUnnamed913();
+ o.accessConfigs = buildUnnamed894();
o.name = "foo";
o.network = "foo";
o.networkIP = "foo";
@@ -2313,7 +2313,7 @@
checkNetworkInterface(api.NetworkInterface o) {
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- checkUnnamed913(o.accessConfigs);
+ checkUnnamed894(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 +2321,14 @@
buildCounterNetworkInterface--;
}
-buildUnnamed914() {
+buildUnnamed895() {
var o = new core.List<api.Network>();
o.add(buildNetwork());
o.add(buildNetwork());
return o;
}
-checkUnnamed914(core.List<api.Network> o) {
+checkUnnamed895(core.List<api.Network> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetwork(o[0]);
checkNetwork(o[1]);
@@ -2340,7 +2340,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed914();
+ o.items = buildUnnamed895();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2353,7 +2353,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed914(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'));
@@ -2384,14 +2384,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed915() {
+buildUnnamed896() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed915(core.List<api.OperationErrorErrors> o) {
+checkUnnamed896(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -2402,7 +2402,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed915();
+ o.errors = buildUnnamed896();
}
buildCounterOperationError--;
return o;
@@ -2411,7 +2411,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed915(o.errors);
+ checkUnnamed896(o.errors);
}
buildCounterOperationError--;
}
@@ -2437,14 +2437,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed916() {
+buildUnnamed897() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed916(core.List<api.OperationWarningsData> o) {
+checkUnnamed897(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -2456,7 +2456,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed916();
+ o.data = buildUnnamed897();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -2467,20 +2467,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed916(o.data);
+ checkUnnamed897(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed917() {
+buildUnnamed898() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed917(core.List<api.OperationWarnings> o) {
+checkUnnamed898(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -2511,7 +2511,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed917();
+ o.warnings = buildUnnamed898();
o.zone = "foo";
}
buildCounterOperation--;
@@ -2541,20 +2541,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed917(o.warnings);
+ checkUnnamed898(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed918() {
+buildUnnamed899() {
var o = new core.Map<core.String, api.OperationsScopedList>();
o["x"] = buildOperationsScopedList();
o["y"] = buildOperationsScopedList();
return o;
}
-checkUnnamed918(core.Map<core.String, api.OperationsScopedList> o) {
+checkUnnamed899(core.Map<core.String, api.OperationsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedList(o["x"]);
checkOperationsScopedList(o["y"]);
@@ -2566,7 +2566,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed918();
+ o.items = buildUnnamed899();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2579,7 +2579,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed918(o.items);
+ checkUnnamed899(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 +2587,14 @@
buildCounterOperationAggregatedList--;
}
-buildUnnamed919() {
+buildUnnamed900() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed919(core.List<api.Operation> o) {
+checkUnnamed900(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -2606,7 +2606,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed919();
+ o.items = buildUnnamed900();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2619,7 +2619,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed919(o.items);
+ checkUnnamed900(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 +2627,14 @@
buildCounterOperationList--;
}
-buildUnnamed920() {
+buildUnnamed901() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed920(core.List<api.Operation> o) {
+checkUnnamed901(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -2661,14 +2661,14 @@
buildCounterOperationsScopedListWarningData--;
}
-buildUnnamed921() {
+buildUnnamed902() {
var o = new core.List<api.OperationsScopedListWarningData>();
o.add(buildOperationsScopedListWarningData());
o.add(buildOperationsScopedListWarningData());
return o;
}
-checkUnnamed921(core.List<api.OperationsScopedListWarningData> o) {
+checkUnnamed902(core.List<api.OperationsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedListWarningData(o[0]);
checkOperationsScopedListWarningData(o[1]);
@@ -2680,7 +2680,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed921();
+ o.data = buildUnnamed902();
o.message = "foo";
}
buildCounterOperationsScopedListWarning--;
@@ -2691,7 +2691,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed921(o.data);
+ checkUnnamed902(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationsScopedListWarning--;
@@ -2702,7 +2702,7 @@
var o = new api.OperationsScopedList();
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- o.operations = buildUnnamed920();
+ o.operations = buildUnnamed901();
o.warning = buildOperationsScopedListWarning();
}
buildCounterOperationsScopedList--;
@@ -2712,20 +2712,20 @@
checkOperationsScopedList(api.OperationsScopedList o) {
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- checkUnnamed920(o.operations);
+ checkUnnamed901(o.operations);
checkOperationsScopedListWarning(o.warning);
}
buildCounterOperationsScopedList--;
}
-buildUnnamed922() {
+buildUnnamed903() {
var o = new core.List<api.PathRule>();
o.add(buildPathRule());
o.add(buildPathRule());
return o;
}
-checkUnnamed922(core.List<api.PathRule> o) {
+checkUnnamed903(core.List<api.PathRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathRule(o[0]);
checkPathRule(o[1]);
@@ -2739,7 +2739,7 @@
o.defaultService = "foo";
o.description = "foo";
o.name = "foo";
- o.pathRules = buildUnnamed922();
+ o.pathRules = buildUnnamed903();
}
buildCounterPathMatcher--;
return o;
@@ -2751,19 +2751,19 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed922(o.pathRules);
+ checkUnnamed903(o.pathRules);
}
buildCounterPathMatcher--;
}
-buildUnnamed923() {
+buildUnnamed904() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed923(core.List<core.String> o) {
+checkUnnamed904(core.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 +2774,7 @@
var o = new api.PathRule();
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- o.paths = buildUnnamed923();
+ o.paths = buildUnnamed904();
o.service = "foo";
}
buildCounterPathRule--;
@@ -2784,20 +2784,20 @@
checkPathRule(api.PathRule o) {
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- checkUnnamed923(o.paths);
+ checkUnnamed904(o.paths);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterPathRule--;
}
-buildUnnamed924() {
+buildUnnamed905() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed924(core.List<api.Quota> o) {
+checkUnnamed905(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
@@ -2814,7 +2814,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed924();
+ o.quotas = buildUnnamed905();
o.selfLink = "foo";
o.usageExportLocation = buildUsageExportLocation();
}
@@ -2831,7 +2831,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed924(o.quotas);
+ checkUnnamed905(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
checkUsageExportLocation(o.usageExportLocation);
}
@@ -2861,27 +2861,27 @@
buildCounterQuota--;
}
-buildUnnamed925() {
+buildUnnamed906() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed925(core.List<api.Quota> o) {
+checkUnnamed906(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
}
-buildUnnamed926() {
+buildUnnamed907() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed926(core.List<core.String> o) {
+checkUnnamed907(core.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 +2898,10 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed925();
+ o.quotas = buildUnnamed906();
o.selfLink = "foo";
o.status = "foo";
- o.zones = buildUnnamed926();
+ o.zones = buildUnnamed907();
}
buildCounterRegion--;
return o;
@@ -2916,22 +2916,22 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed925(o.quotas);
+ checkUnnamed906(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed926(o.zones);
+ checkUnnamed907(o.zones);
}
buildCounterRegion--;
}
-buildUnnamed927() {
+buildUnnamed908() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed927(core.List<api.Region> o) {
+checkUnnamed908(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -2943,7 +2943,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
o.id = "foo";
- o.items = buildUnnamed927();
+ o.items = buildUnnamed908();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2956,7 +2956,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed927(o.items);
+ checkUnnamed908(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 +2983,14 @@
buildCounterResourceGroupReference--;
}
-buildUnnamed928() {
+buildUnnamed909() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed928(core.List<core.String> o) {
+checkUnnamed909(core.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 +3017,14 @@
buildCounterRouteWarningsData--;
}
-buildUnnamed929() {
+buildUnnamed910() {
var o = new core.List<api.RouteWarningsData>();
o.add(buildRouteWarningsData());
o.add(buildRouteWarningsData());
return o;
}
-checkUnnamed929(core.List<api.RouteWarningsData> o) {
+checkUnnamed910(core.List<api.RouteWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarningsData(o[0]);
checkRouteWarningsData(o[1]);
@@ -3036,7 +3036,7 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed929();
+ o.data = buildUnnamed910();
o.message = "foo";
}
buildCounterRouteWarnings--;
@@ -3047,20 +3047,20 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed929(o.data);
+ checkUnnamed910(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouteWarnings--;
}
-buildUnnamed930() {
+buildUnnamed911() {
var o = new core.List<api.RouteWarnings>();
o.add(buildRouteWarnings());
o.add(buildRouteWarnings());
return o;
}
-checkUnnamed930(core.List<api.RouteWarnings> o) {
+checkUnnamed911(core.List<api.RouteWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarnings(o[0]);
checkRouteWarnings(o[1]);
@@ -3084,8 +3084,8 @@
o.nextHopNetwork = "foo";
o.priority = 42;
o.selfLink = "foo";
- o.tags = buildUnnamed928();
- o.warnings = buildUnnamed930();
+ o.tags = buildUnnamed909();
+ o.warnings = buildUnnamed911();
}
buildCounterRoute--;
return o;
@@ -3107,20 +3107,20 @@
unittest.expect(o.nextHopNetwork, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed928(o.tags);
- checkUnnamed930(o.warnings);
+ checkUnnamed909(o.tags);
+ checkUnnamed911(o.warnings);
}
buildCounterRoute--;
}
-buildUnnamed931() {
+buildUnnamed912() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed931(core.List<api.Route> o) {
+checkUnnamed912(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -3132,7 +3132,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
o.id = "foo";
- o.items = buildUnnamed931();
+ o.items = buildUnnamed912();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3145,7 +3145,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed931(o.items);
+ checkUnnamed912(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 +3197,14 @@
buildCounterSerialPortOutput--;
}
-buildUnnamed932() {
+buildUnnamed913() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed932(core.List<core.String> o) {
+checkUnnamed913(core.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 +3216,7 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
o.email = "foo";
- o.scopes = buildUnnamed932();
+ o.scopes = buildUnnamed913();
}
buildCounterServiceAccount--;
return o;
@@ -3226,19 +3226,19 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed932(o.scopes);
+ checkUnnamed913(o.scopes);
}
buildCounterServiceAccount--;
}
-buildUnnamed933() {
+buildUnnamed914() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed933(core.List<core.String> o) {
+checkUnnamed914(core.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 +3254,7 @@
o.diskSizeGb = "foo";
o.id = "foo";
o.kind = "foo";
- o.licenses = buildUnnamed933();
+ o.licenses = buildUnnamed914();
o.name = "foo";
o.selfLink = "foo";
o.sourceDisk = "foo";
@@ -3275,7 +3275,7 @@
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed933(o.licenses);
+ checkUnnamed914(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 +3287,14 @@
buildCounterSnapshot--;
}
-buildUnnamed934() {
+buildUnnamed915() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed934(core.List<api.Snapshot> o) {
+checkUnnamed915(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -3306,7 +3306,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
o.id = "foo";
- o.items = buildUnnamed934();
+ o.items = buildUnnamed915();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3319,7 +3319,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed934(o.items);
+ checkUnnamed915(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 +3327,14 @@
buildCounterSnapshotList--;
}
-buildUnnamed935() {
+buildUnnamed916() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed935(core.List<core.String> o) {
+checkUnnamed916(core.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 +3346,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed935();
+ o.items = buildUnnamed916();
}
buildCounterTags--;
return o;
@@ -3356,7 +3356,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed935(o.items);
+ checkUnnamed916(o.items);
}
buildCounterTags--;
}
@@ -3392,14 +3392,14 @@
buildCounterTargetHttpProxy--;
}
-buildUnnamed936() {
+buildUnnamed917() {
var o = new core.List<api.TargetHttpProxy>();
o.add(buildTargetHttpProxy());
o.add(buildTargetHttpProxy());
return o;
}
-checkUnnamed936(core.List<api.TargetHttpProxy> o) {
+checkUnnamed917(core.List<api.TargetHttpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxy(o[0]);
checkTargetHttpProxy(o[1]);
@@ -3411,7 +3411,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed936();
+ o.items = buildUnnamed917();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3424,7 +3424,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed936(o.items);
+ checkUnnamed917(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 +3467,14 @@
buildCounterTargetInstance--;
}
-buildUnnamed937() {
+buildUnnamed918() {
var o = new core.Map<core.String, api.TargetInstancesScopedList>();
o["x"] = buildTargetInstancesScopedList();
o["y"] = buildTargetInstancesScopedList();
return o;
}
-checkUnnamed937(core.Map<core.String, api.TargetInstancesScopedList> o) {
+checkUnnamed918(core.Map<core.String, api.TargetInstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedList(o["x"]);
checkTargetInstancesScopedList(o["y"]);
@@ -3486,7 +3486,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed937();
+ o.items = buildUnnamed918();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3499,7 +3499,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed937(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'));
@@ -3507,14 +3507,14 @@
buildCounterTargetInstanceAggregatedList--;
}
-buildUnnamed938() {
+buildUnnamed919() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed938(core.List<api.TargetInstance> o) {
+checkUnnamed919(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -3526,7 +3526,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed938();
+ o.items = buildUnnamed919();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3539,7 +3539,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed938(o.items);
+ checkUnnamed919(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 +3547,14 @@
buildCounterTargetInstanceList--;
}
-buildUnnamed939() {
+buildUnnamed920() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed939(core.List<api.TargetInstance> o) {
+checkUnnamed920(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -3581,14 +3581,14 @@
buildCounterTargetInstancesScopedListWarningData--;
}
-buildUnnamed940() {
+buildUnnamed921() {
var o = new core.List<api.TargetInstancesScopedListWarningData>();
o.add(buildTargetInstancesScopedListWarningData());
o.add(buildTargetInstancesScopedListWarningData());
return o;
}
-checkUnnamed940(core.List<api.TargetInstancesScopedListWarningData> o) {
+checkUnnamed921(core.List<api.TargetInstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedListWarningData(o[0]);
checkTargetInstancesScopedListWarningData(o[1]);
@@ -3600,7 +3600,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed940();
+ o.data = buildUnnamed921();
o.message = "foo";
}
buildCounterTargetInstancesScopedListWarning--;
@@ -3611,7 +3611,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed940(o.data);
+ checkUnnamed921(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstancesScopedListWarning--;
@@ -3622,7 +3622,7 @@
var o = new api.TargetInstancesScopedList();
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- o.targetInstances = buildUnnamed939();
+ o.targetInstances = buildUnnamed920();
o.warning = buildTargetInstancesScopedListWarning();
}
buildCounterTargetInstancesScopedList--;
@@ -3632,33 +3632,33 @@
checkTargetInstancesScopedList(api.TargetInstancesScopedList o) {
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- checkUnnamed939(o.targetInstances);
+ checkUnnamed920(o.targetInstances);
checkTargetInstancesScopedListWarning(o.warning);
}
buildCounterTargetInstancesScopedList--;
}
-buildUnnamed941() {
+buildUnnamed922() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed941(core.List<core.String> o) {
+checkUnnamed922(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed942() {
+buildUnnamed923() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed942(core.List<core.String> o) {
+checkUnnamed923(core.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 +3673,9 @@
o.creationTimestamp = "foo";
o.description = "foo";
o.failoverRatio = 42.0;
- o.healthChecks = buildUnnamed941();
+ o.healthChecks = buildUnnamed922();
o.id = "foo";
- o.instances = buildUnnamed942();
+ o.instances = buildUnnamed923();
o.kind = "foo";
o.name = "foo";
o.region = "foo";
@@ -3693,9 +3693,9 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.failoverRatio, unittest.equals(42.0));
- checkUnnamed941(o.healthChecks);
+ checkUnnamed922(o.healthChecks);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed942(o.instances);
+ checkUnnamed923(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 +3705,14 @@
buildCounterTargetPool--;
}
-buildUnnamed943() {
+buildUnnamed924() {
var o = new core.Map<core.String, api.TargetPoolsScopedList>();
o["x"] = buildTargetPoolsScopedList();
o["y"] = buildTargetPoolsScopedList();
return o;
}
-checkUnnamed943(core.Map<core.String, api.TargetPoolsScopedList> o) {
+checkUnnamed924(core.Map<core.String, api.TargetPoolsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedList(o["x"]);
checkTargetPoolsScopedList(o["y"]);
@@ -3724,7 +3724,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed943();
+ o.items = buildUnnamed924();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3737,7 +3737,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed943(o.items);
+ checkUnnamed924(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 +3745,14 @@
buildCounterTargetPoolAggregatedList--;
}
-buildUnnamed944() {
+buildUnnamed925() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed944(core.List<api.HealthStatus> o) {
+checkUnnamed925(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -3763,7 +3763,7 @@
var o = new api.TargetPoolInstanceHealth();
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- o.healthStatus = buildUnnamed944();
+ o.healthStatus = buildUnnamed925();
o.kind = "foo";
}
buildCounterTargetPoolInstanceHealth--;
@@ -3773,20 +3773,20 @@
checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) {
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- checkUnnamed944(o.healthStatus);
+ checkUnnamed925(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTargetPoolInstanceHealth--;
}
-buildUnnamed945() {
+buildUnnamed926() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed945(core.List<api.TargetPool> o) {
+checkUnnamed926(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -3798,7 +3798,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
o.id = "foo";
- o.items = buildUnnamed945();
+ o.items = buildUnnamed926();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3811,7 +3811,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed945(o.items);
+ checkUnnamed926(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 +3819,14 @@
buildCounterTargetPoolList--;
}
-buildUnnamed946() {
+buildUnnamed927() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed946(core.List<api.HealthCheckReference> o) {
+checkUnnamed927(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -3837,7 +3837,7 @@
var o = new api.TargetPoolsAddHealthCheckRequest();
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed946();
+ o.healthChecks = buildUnnamed927();
}
buildCounterTargetPoolsAddHealthCheckRequest--;
return o;
@@ -3846,19 +3846,19 @@
checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) {
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- checkUnnamed946(o.healthChecks);
+ checkUnnamed927(o.healthChecks);
}
buildCounterTargetPoolsAddHealthCheckRequest--;
}
-buildUnnamed947() {
+buildUnnamed928() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed947(core.List<api.InstanceReference> o) {
+checkUnnamed928(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -3869,7 +3869,7 @@
var o = new api.TargetPoolsAddInstanceRequest();
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- o.instances = buildUnnamed947();
+ o.instances = buildUnnamed928();
}
buildCounterTargetPoolsAddInstanceRequest--;
return o;
@@ -3878,19 +3878,19 @@
checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) {
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- checkUnnamed947(o.instances);
+ checkUnnamed928(o.instances);
}
buildCounterTargetPoolsAddInstanceRequest--;
}
-buildUnnamed948() {
+buildUnnamed929() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed948(core.List<api.HealthCheckReference> o) {
+checkUnnamed929(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -3901,7 +3901,7 @@
var o = new api.TargetPoolsRemoveHealthCheckRequest();
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed948();
+ o.healthChecks = buildUnnamed929();
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
return o;
@@ -3910,19 +3910,19 @@
checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest o) {
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- checkUnnamed948(o.healthChecks);
+ checkUnnamed929(o.healthChecks);
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
}
-buildUnnamed949() {
+buildUnnamed930() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed949(core.List<api.InstanceReference> o) {
+checkUnnamed930(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -3933,7 +3933,7 @@
var o = new api.TargetPoolsRemoveInstanceRequest();
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- o.instances = buildUnnamed949();
+ o.instances = buildUnnamed930();
}
buildCounterTargetPoolsRemoveInstanceRequest--;
return o;
@@ -3942,19 +3942,19 @@
checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) {
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- checkUnnamed949(o.instances);
+ checkUnnamed930(o.instances);
}
buildCounterTargetPoolsRemoveInstanceRequest--;
}
-buildUnnamed950() {
+buildUnnamed931() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed950(core.List<api.TargetPool> o) {
+checkUnnamed931(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -3981,14 +3981,14 @@
buildCounterTargetPoolsScopedListWarningData--;
}
-buildUnnamed951() {
+buildUnnamed932() {
var o = new core.List<api.TargetPoolsScopedListWarningData>();
o.add(buildTargetPoolsScopedListWarningData());
o.add(buildTargetPoolsScopedListWarningData());
return o;
}
-checkUnnamed951(core.List<api.TargetPoolsScopedListWarningData> o) {
+checkUnnamed932(core.List<api.TargetPoolsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedListWarningData(o[0]);
checkTargetPoolsScopedListWarningData(o[1]);
@@ -4000,7 +4000,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed951();
+ o.data = buildUnnamed932();
o.message = "foo";
}
buildCounterTargetPoolsScopedListWarning--;
@@ -4011,7 +4011,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed951(o.data);
+ checkUnnamed932(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolsScopedListWarning--;
@@ -4022,7 +4022,7 @@
var o = new api.TargetPoolsScopedList();
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- o.targetPools = buildUnnamed950();
+ o.targetPools = buildUnnamed931();
o.warning = buildTargetPoolsScopedListWarning();
}
buildCounterTargetPoolsScopedList--;
@@ -4032,7 +4032,7 @@
checkTargetPoolsScopedList(api.TargetPoolsScopedList o) {
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- checkUnnamed950(o.targetPools);
+ checkUnnamed931(o.targetPools);
checkTargetPoolsScopedListWarning(o.warning);
}
buildCounterTargetPoolsScopedList--;
@@ -4082,40 +4082,40 @@
buildCounterTestFailure--;
}
-buildUnnamed952() {
+buildUnnamed933() {
var o = new core.List<api.HostRule>();
o.add(buildHostRule());
o.add(buildHostRule());
return o;
}
-checkUnnamed952(core.List<api.HostRule> o) {
+checkUnnamed933(core.List<api.HostRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHostRule(o[0]);
checkHostRule(o[1]);
}
-buildUnnamed953() {
+buildUnnamed934() {
var o = new core.List<api.PathMatcher>();
o.add(buildPathMatcher());
o.add(buildPathMatcher());
return o;
}
-checkUnnamed953(core.List<api.PathMatcher> o) {
+checkUnnamed934(core.List<api.PathMatcher> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathMatcher(o[0]);
checkPathMatcher(o[1]);
}
-buildUnnamed954() {
+buildUnnamed935() {
var o = new core.List<api.UrlMapTest>();
o.add(buildUrlMapTest());
o.add(buildUrlMapTest());
return o;
}
-checkUnnamed954(core.List<api.UrlMapTest> o) {
+checkUnnamed935(core.List<api.UrlMapTest> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapTest(o[0]);
checkUrlMapTest(o[1]);
@@ -4130,13 +4130,13 @@
o.defaultService = "foo";
o.description = "foo";
o.fingerprint = "foo";
- o.hostRules = buildUnnamed952();
+ o.hostRules = buildUnnamed933();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.pathMatchers = buildUnnamed953();
+ o.pathMatchers = buildUnnamed934();
o.selfLink = "foo";
- o.tests = buildUnnamed954();
+ o.tests = buildUnnamed935();
}
buildCounterUrlMap--;
return o;
@@ -4149,25 +4149,25 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed952(o.hostRules);
+ checkUnnamed933(o.hostRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed953(o.pathMatchers);
+ checkUnnamed934(o.pathMatchers);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed954(o.tests);
+ checkUnnamed935(o.tests);
}
buildCounterUrlMap--;
}
-buildUnnamed955() {
+buildUnnamed936() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed955(core.List<api.UrlMap> o) {
+checkUnnamed936(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
@@ -4179,7 +4179,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
o.id = "foo";
- o.items = buildUnnamed955();
+ o.items = buildUnnamed936();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4192,7 +4192,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed955(o.items);
+ checkUnnamed936(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 +4244,27 @@
buildCounterUrlMapTest--;
}
-buildUnnamed956() {
+buildUnnamed937() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed956(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'));
}
-buildUnnamed957() {
+buildUnnamed938() {
var o = new core.List<api.TestFailure>();
o.add(buildTestFailure());
o.add(buildTestFailure());
return o;
}
-checkUnnamed957(core.List<api.TestFailure> o) {
+checkUnnamed938(core.List<api.TestFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestFailure(o[0]);
checkTestFailure(o[1]);
@@ -4275,9 +4275,9 @@
var o = new api.UrlMapValidationResult();
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- o.loadErrors = buildUnnamed956();
+ o.loadErrors = buildUnnamed937();
o.loadSucceeded = true;
- o.testFailures = buildUnnamed957();
+ o.testFailures = buildUnnamed938();
o.testPassed = true;
}
buildCounterUrlMapValidationResult--;
@@ -4287,9 +4287,9 @@
checkUrlMapValidationResult(api.UrlMapValidationResult o) {
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- checkUnnamed956(o.loadErrors);
+ checkUnnamed937(o.loadErrors);
unittest.expect(o.loadSucceeded, unittest.isTrue);
- checkUnnamed957(o.testFailures);
+ checkUnnamed938(o.testFailures);
unittest.expect(o.testPassed, unittest.isTrue);
}
buildCounterUrlMapValidationResult--;
@@ -4379,14 +4379,14 @@
buildCounterZoneMaintenanceWindows--;
}
-buildUnnamed958() {
+buildUnnamed939() {
var o = new core.List<api.ZoneMaintenanceWindows>();
o.add(buildZoneMaintenanceWindows());
o.add(buildZoneMaintenanceWindows());
return o;
}
-checkUnnamed958(core.List<api.ZoneMaintenanceWindows> o) {
+checkUnnamed939(core.List<api.ZoneMaintenanceWindows> o) {
unittest.expect(o, unittest.hasLength(2));
checkZoneMaintenanceWindows(o[0]);
checkZoneMaintenanceWindows(o[1]);
@@ -4402,7 +4402,7 @@
o.description = "foo";
o.id = "foo";
o.kind = "foo";
- o.maintenanceWindows = buildUnnamed958();
+ o.maintenanceWindows = buildUnnamed939();
o.name = "foo";
o.region = "foo";
o.selfLink = "foo";
@@ -4420,7 +4420,7 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed958(o.maintenanceWindows);
+ checkUnnamed939(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 +4429,14 @@
buildCounterZone--;
}
-buildUnnamed959() {
+buildUnnamed940() {
var o = new core.List<api.Zone>();
o.add(buildZone());
o.add(buildZone());
return o;
}
-checkUnnamed959(core.List<api.Zone> o) {
+checkUnnamed940(core.List<api.Zone> o) {
unittest.expect(o, unittest.hasLength(2));
checkZone(o[0]);
checkZone(o[1]);
@@ -4448,7 +4448,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
o.id = "foo";
- o.items = buildUnnamed959();
+ o.items = buildUnnamed940();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4461,7 +4461,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed959(o.items);
+ checkUnnamed940(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/test/content/v2_test.dart b/generated/googleapis/test/content/v2_test.dart
index 0f0ba44..a628ab5 100644
--- a/generated/googleapis/test/content/v2_test.dart
+++ b/generated/googleapis/test/content/v2_test.dart
@@ -16,27 +16,27 @@
-buildUnnamed322() {
+buildUnnamed764() {
var o = new core.List<api.AccountAdwordsLink>();
o.add(buildAccountAdwordsLink());
o.add(buildAccountAdwordsLink());
return o;
}
-checkUnnamed322(core.List<api.AccountAdwordsLink> o) {
+checkUnnamed764(core.List<api.AccountAdwordsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountAdwordsLink(o[0]);
checkAccountAdwordsLink(o[1]);
}
-buildUnnamed323() {
+buildUnnamed765() {
var o = new core.List<api.AccountUser>();
o.add(buildAccountUser());
o.add(buildAccountUser());
return o;
}
-checkUnnamed323(core.List<api.AccountUser> o) {
+checkUnnamed765(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 = buildUnnamed322();
+ o.adwordsLinks = buildUnnamed764();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
o.reviewsUrl = "foo";
o.sellerId = "foo";
- o.users = buildUnnamed323();
+ o.users = buildUnnamed765();
o.websiteUrl = "foo";
}
buildCounterAccount--;
@@ -65,13 +65,13 @@
buildCounterAccount++;
if (buildCounterAccount < 3) {
unittest.expect(o.adultContent, unittest.isTrue);
- checkUnnamed322(o.adwordsLinks);
+ checkUnnamed764(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'));
- checkUnnamed323(o.users);
+ checkUnnamed765(o.users);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterAccount--;
@@ -98,14 +98,14 @@
buildCounterAccountAdwordsLink--;
}
-buildUnnamed324() {
+buildUnnamed766() {
var o = new core.List<api.AccountStatusDataQualityIssue>();
o.add(buildAccountStatusDataQualityIssue());
o.add(buildAccountStatusDataQualityIssue());
return o;
}
-checkUnnamed324(core.List<api.AccountStatusDataQualityIssue> o) {
+checkUnnamed766(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 = buildUnnamed324();
+ o.dataQualityIssues = buildUnnamed766();
o.kind = "foo";
}
buildCounterAccountStatus--;
@@ -128,20 +128,20 @@
buildCounterAccountStatus++;
if (buildCounterAccountStatus < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed324(o.dataQualityIssues);
+ checkUnnamed766(o.dataQualityIssues);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountStatus--;
}
-buildUnnamed325() {
+buildUnnamed767() {
var o = new core.List<api.AccountStatusExampleItem>();
o.add(buildAccountStatusExampleItem());
o.add(buildAccountStatusExampleItem());
return o;
}
-checkUnnamed325(core.List<api.AccountStatusExampleItem> o) {
+checkUnnamed767(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 = buildUnnamed325();
+ o.exampleItems = buildUnnamed767();
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'));
- checkUnnamed325(o.exampleItems);
+ checkUnnamed767(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--;
}
-buildUnnamed326() {
+buildUnnamed768() {
var o = new core.List<api.AccountsCustomBatchRequestEntry>();
o.add(buildAccountsCustomBatchRequestEntry());
o.add(buildAccountsCustomBatchRequestEntry());
return o;
}
-checkUnnamed326(core.List<api.AccountsCustomBatchRequestEntry> o) {
+checkUnnamed768(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 = buildUnnamed326();
+ o.entries = buildUnnamed768();
}
buildCounterAccountsCustomBatchRequest--;
return o;
@@ -255,7 +255,7 @@
checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) {
buildCounterAccountsCustomBatchRequest++;
if (buildCounterAccountsCustomBatchRequest < 3) {
- checkUnnamed326(o.entries);
+ checkUnnamed768(o.entries);
}
buildCounterAccountsCustomBatchRequest--;
}
@@ -287,14 +287,14 @@
buildCounterAccountsCustomBatchRequestEntry--;
}
-buildUnnamed327() {
+buildUnnamed769() {
var o = new core.List<api.AccountsCustomBatchResponseEntry>();
o.add(buildAccountsCustomBatchResponseEntry());
o.add(buildAccountsCustomBatchResponseEntry());
return o;
}
-checkUnnamed327(core.List<api.AccountsCustomBatchResponseEntry> o) {
+checkUnnamed769(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 = buildUnnamed327();
+ o.entries = buildUnnamed769();
o.kind = "foo";
}
buildCounterAccountsCustomBatchResponse--;
@@ -315,7 +315,7 @@
checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) {
buildCounterAccountsCustomBatchResponse++;
if (buildCounterAccountsCustomBatchResponse < 3) {
- checkUnnamed327(o.entries);
+ checkUnnamed769(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsCustomBatchResponse--;
@@ -346,14 +346,14 @@
buildCounterAccountsCustomBatchResponseEntry--;
}
-buildUnnamed328() {
+buildUnnamed770() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed328(core.List<api.Account> o) {
+checkUnnamed770(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 = buildUnnamed328();
+ o.resources = buildUnnamed770();
}
buildCounterAccountsListResponse--;
return o;
@@ -377,19 +377,19 @@
if (buildCounterAccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed328(o.resources);
+ checkUnnamed770(o.resources);
}
buildCounterAccountsListResponse--;
}
-buildUnnamed329() {
+buildUnnamed771() {
var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>();
o.add(buildAccountstatusesCustomBatchRequestEntry());
o.add(buildAccountstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed329(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
+checkUnnamed771(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 = buildUnnamed329();
+ o.entries = buildUnnamed771();
}
buildCounterAccountstatusesCustomBatchRequest--;
return o;
@@ -409,7 +409,7 @@
checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o) {
buildCounterAccountstatusesCustomBatchRequest++;
if (buildCounterAccountstatusesCustomBatchRequest < 3) {
- checkUnnamed329(o.entries);
+ checkUnnamed771(o.entries);
}
buildCounterAccountstatusesCustomBatchRequest--;
}
@@ -439,14 +439,14 @@
buildCounterAccountstatusesCustomBatchRequestEntry--;
}
-buildUnnamed330() {
+buildUnnamed772() {
var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>();
o.add(buildAccountstatusesCustomBatchResponseEntry());
o.add(buildAccountstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed330(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
+checkUnnamed772(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 = buildUnnamed330();
+ o.entries = buildUnnamed772();
o.kind = "foo";
}
buildCounterAccountstatusesCustomBatchResponse--;
@@ -467,7 +467,7 @@
checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o) {
buildCounterAccountstatusesCustomBatchResponse++;
if (buildCounterAccountstatusesCustomBatchResponse < 3) {
- checkUnnamed330(o.entries);
+ checkUnnamed772(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountstatusesCustomBatchResponse--;
@@ -496,14 +496,14 @@
buildCounterAccountstatusesCustomBatchResponseEntry--;
}
-buildUnnamed331() {
+buildUnnamed773() {
var o = new core.List<api.AccountStatus>();
o.add(buildAccountStatus());
o.add(buildAccountStatus());
return o;
}
-checkUnnamed331(core.List<api.AccountStatus> o) {
+checkUnnamed773(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 = buildUnnamed331();
+ o.resources = buildUnnamed773();
}
buildCounterAccountstatusesListResponse--;
return o;
@@ -527,19 +527,19 @@
if (buildCounterAccountstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed331(o.resources);
+ checkUnnamed773(o.resources);
}
buildCounterAccountstatusesListResponse--;
}
-buildUnnamed332() {
+buildUnnamed774() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed332(core.List<core.String> o) {
+checkUnnamed774(core.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 = buildUnnamed332();
+ o.intendedDestinations = buildUnnamed774();
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'));
- checkUnnamed332(o.intendedDestinations);
+ checkUnnamed774(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--;
}
-buildUnnamed333() {
+buildUnnamed775() {
var o = new core.List<api.DatafeedStatusError>();
o.add(buildDatafeedStatusError());
o.add(buildDatafeedStatusError());
return o;
}
-checkUnnamed333(core.List<api.DatafeedStatusError> o) {
+checkUnnamed775(core.List<api.DatafeedStatusError> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatusError(o[0]);
checkDatafeedStatusError(o[1]);
}
-buildUnnamed334() {
+buildUnnamed776() {
var o = new core.List<api.DatafeedStatusError>();
o.add(buildDatafeedStatusError());
o.add(buildDatafeedStatusError());
return o;
}
-checkUnnamed334(core.List<api.DatafeedStatusError> o) {
+checkUnnamed776(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 = buildUnnamed333();
+ o.errors = buildUnnamed775();
o.itemsTotal = "foo";
o.itemsValid = "foo";
o.kind = "foo";
o.processingStatus = "foo";
- o.warnings = buildUnnamed334();
+ o.warnings = buildUnnamed776();
}
buildCounterDatafeedStatus--;
return o;
@@ -685,24 +685,24 @@
buildCounterDatafeedStatus++;
if (buildCounterDatafeedStatus < 3) {
unittest.expect(o.datafeedId, unittest.equals('foo'));
- checkUnnamed333(o.errors);
+ checkUnnamed775(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'));
- checkUnnamed334(o.warnings);
+ checkUnnamed776(o.warnings);
}
buildCounterDatafeedStatus--;
}
-buildUnnamed335() {
+buildUnnamed777() {
var o = new core.List<api.DatafeedStatusExample>();
o.add(buildDatafeedStatusExample());
o.add(buildDatafeedStatusExample());
return o;
}
-checkUnnamed335(core.List<api.DatafeedStatusExample> o) {
+checkUnnamed777(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 = buildUnnamed335();
+ o.examples = buildUnnamed777();
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'));
- checkUnnamed335(o.examples);
+ checkUnnamed777(o.examples);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDatafeedStatusError--;
@@ -756,14 +756,14 @@
buildCounterDatafeedStatusExample--;
}
-buildUnnamed336() {
+buildUnnamed778() {
var o = new core.List<api.DatafeedsCustomBatchRequestEntry>();
o.add(buildDatafeedsCustomBatchRequestEntry());
o.add(buildDatafeedsCustomBatchRequestEntry());
return o;
}
-checkUnnamed336(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
+checkUnnamed778(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 = buildUnnamed336();
+ o.entries = buildUnnamed778();
}
buildCounterDatafeedsCustomBatchRequest--;
return o;
@@ -783,7 +783,7 @@
checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) {
buildCounterDatafeedsCustomBatchRequest++;
if (buildCounterDatafeedsCustomBatchRequest < 3) {
- checkUnnamed336(o.entries);
+ checkUnnamed778(o.entries);
}
buildCounterDatafeedsCustomBatchRequest--;
}
@@ -815,14 +815,14 @@
buildCounterDatafeedsCustomBatchRequestEntry--;
}
-buildUnnamed337() {
+buildUnnamed779() {
var o = new core.List<api.DatafeedsCustomBatchResponseEntry>();
o.add(buildDatafeedsCustomBatchResponseEntry());
o.add(buildDatafeedsCustomBatchResponseEntry());
return o;
}
-checkUnnamed337(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
+checkUnnamed779(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 = buildUnnamed337();
+ o.entries = buildUnnamed779();
o.kind = "foo";
}
buildCounterDatafeedsCustomBatchResponse--;
@@ -843,7 +843,7 @@
checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) {
buildCounterDatafeedsCustomBatchResponse++;
if (buildCounterDatafeedsCustomBatchResponse < 3) {
- checkUnnamed337(o.entries);
+ checkUnnamed779(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatafeedsCustomBatchResponse--;
@@ -872,14 +872,14 @@
buildCounterDatafeedsCustomBatchResponseEntry--;
}
-buildUnnamed338() {
+buildUnnamed780() {
var o = new core.List<api.Datafeed>();
o.add(buildDatafeed());
o.add(buildDatafeed());
return o;
}
-checkUnnamed338(core.List<api.Datafeed> o) {
+checkUnnamed780(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 = buildUnnamed338();
+ o.resources = buildUnnamed780();
}
buildCounterDatafeedsListResponse--;
return o;
@@ -901,19 +901,19 @@
buildCounterDatafeedsListResponse++;
if (buildCounterDatafeedsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed338(o.resources);
+ checkUnnamed780(o.resources);
}
buildCounterDatafeedsListResponse--;
}
-buildUnnamed339() {
+buildUnnamed781() {
var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>();
o.add(buildDatafeedstatusesCustomBatchRequestEntry());
o.add(buildDatafeedstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed339(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
+checkUnnamed781(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 = buildUnnamed339();
+ o.entries = buildUnnamed781();
}
buildCounterDatafeedstatusesCustomBatchRequest--;
return o;
@@ -933,7 +933,7 @@
checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o) {
buildCounterDatafeedstatusesCustomBatchRequest++;
if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
- checkUnnamed339(o.entries);
+ checkUnnamed781(o.entries);
}
buildCounterDatafeedstatusesCustomBatchRequest--;
}
@@ -963,14 +963,14 @@
buildCounterDatafeedstatusesCustomBatchRequestEntry--;
}
-buildUnnamed340() {
+buildUnnamed782() {
var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>();
o.add(buildDatafeedstatusesCustomBatchResponseEntry());
o.add(buildDatafeedstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed340(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
+checkUnnamed782(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 = buildUnnamed340();
+ o.entries = buildUnnamed782();
o.kind = "foo";
}
buildCounterDatafeedstatusesCustomBatchResponse--;
@@ -991,7 +991,7 @@
checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse o) {
buildCounterDatafeedstatusesCustomBatchResponse++;
if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
- checkUnnamed340(o.entries);
+ checkUnnamed782(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatafeedstatusesCustomBatchResponse--;
@@ -1020,14 +1020,14 @@
buildCounterDatafeedstatusesCustomBatchResponseEntry--;
}
-buildUnnamed341() {
+buildUnnamed783() {
var o = new core.List<api.DatafeedStatus>();
o.add(buildDatafeedStatus());
o.add(buildDatafeedStatus());
return o;
}
-checkUnnamed341(core.List<api.DatafeedStatus> o) {
+checkUnnamed783(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 = buildUnnamed341();
+ o.resources = buildUnnamed783();
}
buildCounterDatafeedstatusesListResponse--;
return o;
@@ -1049,7 +1049,7 @@
buildCounterDatafeedstatusesListResponse++;
if (buildCounterDatafeedstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed341(o.resources);
+ checkUnnamed783(o.resources);
}
buildCounterDatafeedstatusesListResponse--;
}
@@ -1077,14 +1077,14 @@
buildCounterError--;
}
-buildUnnamed342() {
+buildUnnamed784() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed342(core.List<api.Error> o) {
+checkUnnamed784(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 = buildUnnamed342();
+ o.errors = buildUnnamed784();
o.message = "foo";
}
buildCounterErrors--;
@@ -1107,7 +1107,7 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed342(o.errors);
+ checkUnnamed784(o.errors);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterErrors--;
@@ -1142,14 +1142,14 @@
buildCounterInventory--;
}
-buildUnnamed343() {
+buildUnnamed785() {
var o = new core.List<api.InventoryCustomBatchRequestEntry>();
o.add(buildInventoryCustomBatchRequestEntry());
o.add(buildInventoryCustomBatchRequestEntry());
return o;
}
-checkUnnamed343(core.List<api.InventoryCustomBatchRequestEntry> o) {
+checkUnnamed785(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 = buildUnnamed343();
+ o.entries = buildUnnamed785();
}
buildCounterInventoryCustomBatchRequest--;
return o;
@@ -1169,7 +1169,7 @@
checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) {
buildCounterInventoryCustomBatchRequest++;
if (buildCounterInventoryCustomBatchRequest < 3) {
- checkUnnamed343(o.entries);
+ checkUnnamed785(o.entries);
}
buildCounterInventoryCustomBatchRequest--;
}
@@ -1201,14 +1201,14 @@
buildCounterInventoryCustomBatchRequestEntry--;
}
-buildUnnamed344() {
+buildUnnamed786() {
var o = new core.List<api.InventoryCustomBatchResponseEntry>();
o.add(buildInventoryCustomBatchResponseEntry());
o.add(buildInventoryCustomBatchResponseEntry());
return o;
}
-checkUnnamed344(core.List<api.InventoryCustomBatchResponseEntry> o) {
+checkUnnamed786(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 = buildUnnamed344();
+ o.entries = buildUnnamed786();
o.kind = "foo";
}
buildCounterInventoryCustomBatchResponse--;
@@ -1229,7 +1229,7 @@
checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) {
buildCounterInventoryCustomBatchResponse++;
if (buildCounterInventoryCustomBatchResponse < 3) {
- checkUnnamed344(o.entries);
+ checkUnnamed786(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInventoryCustomBatchResponse--;
@@ -1348,131 +1348,131 @@
buildCounterPrice--;
}
-buildUnnamed345() {
+buildUnnamed787() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed345(core.List<core.String> o) {
+checkUnnamed787(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed346() {
+buildUnnamed788() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed346(core.List<core.String> o) {
+checkUnnamed788(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed347() {
+buildUnnamed789() {
var o = new core.List<api.ProductCustomAttribute>();
o.add(buildProductCustomAttribute());
o.add(buildProductCustomAttribute());
return o;
}
-checkUnnamed347(core.List<api.ProductCustomAttribute> o) {
+checkUnnamed789(core.List<api.ProductCustomAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductCustomAttribute(o[0]);
checkProductCustomAttribute(o[1]);
}
-buildUnnamed348() {
+buildUnnamed790() {
var o = new core.List<api.ProductCustomGroup>();
o.add(buildProductCustomGroup());
o.add(buildProductCustomGroup());
return o;
}
-checkUnnamed348(core.List<api.ProductCustomGroup> o) {
+checkUnnamed790(core.List<api.ProductCustomGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductCustomGroup(o[0]);
checkProductCustomGroup(o[1]);
}
-buildUnnamed349() {
+buildUnnamed791() {
var o = new core.List<api.ProductDestination>();
o.add(buildProductDestination());
o.add(buildProductDestination());
return o;
}
-checkUnnamed349(core.List<api.ProductDestination> o) {
+checkUnnamed791(core.List<api.ProductDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductDestination(o[0]);
checkProductDestination(o[1]);
}
-buildUnnamed350() {
+buildUnnamed792() {
var o = new core.List<api.ProductShipping>();
o.add(buildProductShipping());
o.add(buildProductShipping());
return o;
}
-checkUnnamed350(core.List<api.ProductShipping> o) {
+checkUnnamed792(core.List<api.ProductShipping> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductShipping(o[0]);
checkProductShipping(o[1]);
}
-buildUnnamed351() {
+buildUnnamed793() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed351(core.List<core.String> o) {
+checkUnnamed793(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed352() {
+buildUnnamed794() {
var o = new core.List<api.ProductTax>();
o.add(buildProductTax());
o.add(buildProductTax());
return o;
}
-checkUnnamed352(core.List<api.ProductTax> o) {
+checkUnnamed794(core.List<api.ProductTax> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductTax(o[0]);
checkProductTax(o[1]);
}
-buildUnnamed353() {
+buildUnnamed795() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed353(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'));
}
-buildUnnamed354() {
+buildUnnamed796() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed354(core.List<api.Error> o) {
+checkUnnamed796(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 = buildUnnamed345();
+ o.additionalImageLinks = buildUnnamed787();
o.adult = true;
o.adwordsGrouping = "foo";
- o.adwordsLabels = buildUnnamed346();
+ o.adwordsLabels = buildUnnamed788();
o.adwordsRedirect = "foo";
o.ageGroup = "foo";
o.availability = "foo";
@@ -1496,15 +1496,15 @@
o.color = "foo";
o.condition = "foo";
o.contentLanguage = "foo";
- o.customAttributes = buildUnnamed347();
- o.customGroups = buildUnnamed348();
+ o.customAttributes = buildUnnamed789();
+ o.customGroups = buildUnnamed790();
o.customLabel0 = "foo";
o.customLabel1 = "foo";
o.customLabel2 = "foo";
o.customLabel3 = "foo";
o.customLabel4 = "foo";
o.description = "foo";
- o.destinations = buildUnnamed349();
+ o.destinations = buildUnnamed791();
o.energyEfficiencyClass = "foo";
o.expirationDate = "foo";
o.gender = "foo";
@@ -1530,19 +1530,19 @@
o.productType = "foo";
o.salePrice = buildPrice();
o.salePriceEffectiveDate = "foo";
- o.shipping = buildUnnamed350();
+ o.shipping = buildUnnamed792();
o.shippingLabel = "foo";
o.shippingWeight = buildProductShippingWeight();
o.sizeSystem = "foo";
o.sizeType = "foo";
- o.sizes = buildUnnamed351();
+ o.sizes = buildUnnamed793();
o.targetCountry = "foo";
- o.taxes = buildUnnamed352();
+ o.taxes = buildUnnamed794();
o.title = "foo";
o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure();
o.unitPricingMeasure = buildProductUnitPricingMeasure();
- o.validatedDestinations = buildUnnamed353();
- o.warnings = buildUnnamed354();
+ o.validatedDestinations = buildUnnamed795();
+ o.warnings = buildUnnamed796();
}
buildCounterProduct--;
return o;
@@ -1551,10 +1551,10 @@
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed345(o.additionalImageLinks);
+ checkUnnamed787(o.additionalImageLinks);
unittest.expect(o.adult, unittest.isTrue);
unittest.expect(o.adwordsGrouping, unittest.equals('foo'));
- checkUnnamed346(o.adwordsLabels);
+ checkUnnamed788(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'));
- checkUnnamed347(o.customAttributes);
- checkUnnamed348(o.customGroups);
+ checkUnnamed789(o.customAttributes);
+ checkUnnamed790(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'));
- checkUnnamed349(o.destinations);
+ checkUnnamed791(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'));
- checkUnnamed350(o.shipping);
+ checkUnnamed792(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'));
- checkUnnamed351(o.sizes);
+ checkUnnamed793(o.sizes);
unittest.expect(o.targetCountry, unittest.equals('foo'));
- checkUnnamed352(o.taxes);
+ checkUnnamed794(o.taxes);
unittest.expect(o.title, unittest.equals('foo'));
checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure);
checkProductUnitPricingMeasure(o.unitPricingMeasure);
- checkUnnamed353(o.validatedDestinations);
- checkUnnamed354(o.warnings);
+ checkUnnamed795(o.validatedDestinations);
+ checkUnnamed796(o.warnings);
}
buildCounterProduct--;
}
@@ -1640,14 +1640,14 @@
buildCounterProductCustomAttribute--;
}
-buildUnnamed355() {
+buildUnnamed797() {
var o = new core.List<api.ProductCustomAttribute>();
o.add(buildProductCustomAttribute());
o.add(buildProductCustomAttribute());
return o;
}
-checkUnnamed355(core.List<api.ProductCustomAttribute> o) {
+checkUnnamed797(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 = buildUnnamed355();
+ o.attributes = buildUnnamed797();
o.name = "foo";
}
buildCounterProductCustomGroup--;
@@ -1668,7 +1668,7 @@
checkProductCustomGroup(api.ProductCustomGroup o) {
buildCounterProductCustomGroup++;
if (buildCounterProductCustomGroup < 3) {
- checkUnnamed355(o.attributes);
+ checkUnnamed797(o.attributes);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterProductCustomGroup--;
@@ -1768,27 +1768,27 @@
buildCounterProductShippingWeight--;
}
-buildUnnamed356() {
+buildUnnamed798() {
var o = new core.List<api.ProductStatusDataQualityIssue>();
o.add(buildProductStatusDataQualityIssue());
o.add(buildProductStatusDataQualityIssue());
return o;
}
-checkUnnamed356(core.List<api.ProductStatusDataQualityIssue> o) {
+checkUnnamed798(core.List<api.ProductStatusDataQualityIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatusDataQualityIssue(o[0]);
checkProductStatusDataQualityIssue(o[1]);
}
-buildUnnamed357() {
+buildUnnamed799() {
var o = new core.List<api.ProductStatusDestinationStatus>();
o.add(buildProductStatusDestinationStatus());
o.add(buildProductStatusDestinationStatus());
return o;
}
-checkUnnamed357(core.List<api.ProductStatusDestinationStatus> o) {
+checkUnnamed799(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 = buildUnnamed356();
- o.destinationStatuses = buildUnnamed357();
+ o.dataQualityIssues = buildUnnamed798();
+ o.destinationStatuses = buildUnnamed799();
o.kind = "foo";
o.link = "foo";
o.productId = "foo";
@@ -1813,8 +1813,8 @@
checkProductStatus(api.ProductStatus o) {
buildCounterProductStatus++;
if (buildCounterProductStatus < 3) {
- checkUnnamed356(o.dataQualityIssues);
- checkUnnamed357(o.destinationStatuses);
+ checkUnnamed798(o.dataQualityIssues);
+ checkUnnamed799(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--;
}
-buildUnnamed358() {
+buildUnnamed800() {
var o = new core.List<api.ProductsCustomBatchRequestEntry>();
o.add(buildProductsCustomBatchRequestEntry());
o.add(buildProductsCustomBatchRequestEntry());
return o;
}
-checkUnnamed358(core.List<api.ProductsCustomBatchRequestEntry> o) {
+checkUnnamed800(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 = buildUnnamed358();
+ o.entries = buildUnnamed800();
}
buildCounterProductsCustomBatchRequest--;
return o;
@@ -1975,7 +1975,7 @@
checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) {
buildCounterProductsCustomBatchRequest++;
if (buildCounterProductsCustomBatchRequest < 3) {
- checkUnnamed358(o.entries);
+ checkUnnamed800(o.entries);
}
buildCounterProductsCustomBatchRequest--;
}
@@ -2007,14 +2007,14 @@
buildCounterProductsCustomBatchRequestEntry--;
}
-buildUnnamed359() {
+buildUnnamed801() {
var o = new core.List<api.ProductsCustomBatchResponseEntry>();
o.add(buildProductsCustomBatchResponseEntry());
o.add(buildProductsCustomBatchResponseEntry());
return o;
}
-checkUnnamed359(core.List<api.ProductsCustomBatchResponseEntry> o) {
+checkUnnamed801(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 = buildUnnamed359();
+ o.entries = buildUnnamed801();
o.kind = "foo";
}
buildCounterProductsCustomBatchResponse--;
@@ -2035,7 +2035,7 @@
checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) {
buildCounterProductsCustomBatchResponse++;
if (buildCounterProductsCustomBatchResponse < 3) {
- checkUnnamed359(o.entries);
+ checkUnnamed801(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterProductsCustomBatchResponse--;
@@ -2066,14 +2066,14 @@
buildCounterProductsCustomBatchResponseEntry--;
}
-buildUnnamed360() {
+buildUnnamed802() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed360(core.List<api.Product> o) {
+checkUnnamed802(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 = buildUnnamed360();
+ o.resources = buildUnnamed802();
}
buildCounterProductsListResponse--;
return o;
@@ -2097,19 +2097,19 @@
if (buildCounterProductsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed360(o.resources);
+ checkUnnamed802(o.resources);
}
buildCounterProductsListResponse--;
}
-buildUnnamed361() {
+buildUnnamed803() {
var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>();
o.add(buildProductstatusesCustomBatchRequestEntry());
o.add(buildProductstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed361(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
+checkUnnamed803(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 = buildUnnamed361();
+ o.entries = buildUnnamed803();
}
buildCounterProductstatusesCustomBatchRequest--;
return o;
@@ -2129,7 +2129,7 @@
checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o) {
buildCounterProductstatusesCustomBatchRequest++;
if (buildCounterProductstatusesCustomBatchRequest < 3) {
- checkUnnamed361(o.entries);
+ checkUnnamed803(o.entries);
}
buildCounterProductstatusesCustomBatchRequest--;
}
@@ -2159,14 +2159,14 @@
buildCounterProductstatusesCustomBatchRequestEntry--;
}
-buildUnnamed362() {
+buildUnnamed804() {
var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>();
o.add(buildProductstatusesCustomBatchResponseEntry());
o.add(buildProductstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed362(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
+checkUnnamed804(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 = buildUnnamed362();
+ o.entries = buildUnnamed804();
o.kind = "foo";
}
buildCounterProductstatusesCustomBatchResponse--;
@@ -2187,7 +2187,7 @@
checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o) {
buildCounterProductstatusesCustomBatchResponse++;
if (buildCounterProductstatusesCustomBatchResponse < 3) {
- checkUnnamed362(o.entries);
+ checkUnnamed804(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterProductstatusesCustomBatchResponse--;
@@ -2218,14 +2218,14 @@
buildCounterProductstatusesCustomBatchResponseEntry--;
}
-buildUnnamed363() {
+buildUnnamed805() {
var o = new core.List<api.ProductStatus>();
o.add(buildProductStatus());
o.add(buildProductStatus());
return o;
}
-checkUnnamed363(core.List<api.ProductStatus> o) {
+checkUnnamed805(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 = buildUnnamed363();
+ o.resources = buildUnnamed805();
}
buildCounterProductstatusesListResponse--;
return o;
@@ -2249,7 +2249,7 @@
if (buildCounterProductstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed363(o.resources);
+ checkUnnamed805(o.resources);
}
buildCounterProductstatusesListResponse--;
}
diff --git a/generated/googleapis/test/coordinate/v1_test.dart b/generated/googleapis/test/coordinate/v1_test.dart
index 387d2c6..b7c1aff 100644
--- a/generated/googleapis/test/coordinate/v1_test.dart
+++ b/generated/googleapis/test/coordinate/v1_test.dart
@@ -68,14 +68,14 @@
buildCounterCustomFieldDef--;
}
-buildUnnamed470() {
+buildUnnamed246() {
var o = new core.List<api.CustomFieldDef>();
o.add(buildCustomFieldDef());
o.add(buildCustomFieldDef());
return o;
}
-checkUnnamed470(core.List<api.CustomFieldDef> o) {
+checkUnnamed246(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 = buildUnnamed470();
+ o.items = buildUnnamed246();
o.kind = "foo";
}
buildCounterCustomFieldDefListResponse--;
@@ -96,20 +96,20 @@
checkCustomFieldDefListResponse(api.CustomFieldDefListResponse o) {
buildCounterCustomFieldDefListResponse++;
if (buildCounterCustomFieldDefListResponse < 3) {
- checkUnnamed470(o.items);
+ checkUnnamed246(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomFieldDefListResponse--;
}
-buildUnnamed471() {
+buildUnnamed247() {
var o = new core.List<api.CustomField>();
o.add(buildCustomField());
o.add(buildCustomField());
return o;
}
-checkUnnamed471(core.List<api.CustomField> o) {
+checkUnnamed247(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 = buildUnnamed471();
+ o.customField = buildUnnamed247();
o.kind = "foo";
}
buildCounterCustomFields--;
@@ -130,20 +130,20 @@
checkCustomFields(api.CustomFields o) {
buildCounterCustomFields++;
if (buildCounterCustomFields < 3) {
- checkUnnamed471(o.customField);
+ checkUnnamed247(o.customField);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomFields--;
}
-buildUnnamed472() {
+buildUnnamed248() {
var o = new core.List<api.JobChange>();
o.add(buildJobChange());
o.add(buildJobChange());
return o;
}
-checkUnnamed472(core.List<api.JobChange> o) {
+checkUnnamed248(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 = buildUnnamed472();
+ o.jobChange = buildUnnamed248();
o.kind = "foo";
o.state = buildJobState();
}
@@ -167,7 +167,7 @@
buildCounterJob++;
if (buildCounterJob < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed472(o.jobChange);
+ checkUnnamed248(o.jobChange);
unittest.expect(o.kind, unittest.equals('foo'));
checkJobState(o.state);
}
@@ -197,14 +197,14 @@
buildCounterJobChange--;
}
-buildUnnamed473() {
+buildUnnamed249() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed473(core.List<api.Job> o) {
+checkUnnamed249(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 = buildUnnamed473();
+ o.items = buildUnnamed249();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -226,21 +226,21 @@
checkJobListResponse(api.JobListResponse o) {
buildCounterJobListResponse++;
if (buildCounterJobListResponse < 3) {
- checkUnnamed473(o.items);
+ checkUnnamed249(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterJobListResponse--;
}
-buildUnnamed474() {
+buildUnnamed250() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed474(core.List<core.String> o) {
+checkUnnamed250(core.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 = buildUnnamed474();
+ o.note = buildUnnamed250();
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);
- checkUnnamed474(o.note);
+ checkUnnamed250(o.note);
unittest.expect(o.progress, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterJobState--;
}
-buildUnnamed475() {
+buildUnnamed251() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed475(core.List<core.String> o) {
+checkUnnamed251(core.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 = buildUnnamed475();
+ o.addressLine = buildUnnamed251();
o.kind = "foo";
o.lat = 42.0;
o.lng = 42.0;
@@ -311,7 +311,7 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed475(o.addressLine);
+ checkUnnamed251(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--;
}
-buildUnnamed476() {
+buildUnnamed252() {
var o = new core.List<api.LocationRecord>();
o.add(buildLocationRecord());
o.add(buildLocationRecord());
return o;
}
-checkUnnamed476(core.List<api.LocationRecord> o) {
+checkUnnamed252(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 = buildUnnamed476();
+ o.items = buildUnnamed252();
o.kind = "foo";
o.nextPageToken = "foo";
o.tokenPagination = buildTokenPagination();
@@ -349,7 +349,7 @@
checkLocationListResponse(api.LocationListResponse o) {
buildCounterLocationListResponse++;
if (buildCounterLocationListResponse < 3) {
- checkUnnamed476(o.items);
+ checkUnnamed252(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkTokenPagination(o.tokenPagination);
@@ -455,14 +455,14 @@
buildCounterWorker--;
}
-buildUnnamed477() {
+buildUnnamed253() {
var o = new core.List<api.Worker>();
o.add(buildWorker());
o.add(buildWorker());
return o;
}
-checkUnnamed477(core.List<api.Worker> o) {
+checkUnnamed253(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 = buildUnnamed477();
+ o.items = buildUnnamed253();
o.kind = "foo";
}
buildCounterWorkerListResponse--;
@@ -483,46 +483,46 @@
checkWorkerListResponse(api.WorkerListResponse o) {
buildCounterWorkerListResponse++;
if (buildCounterWorkerListResponse < 3) {
- checkUnnamed477(o.items);
+ checkUnnamed253(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterWorkerListResponse--;
}
-buildUnnamed478() {
+buildUnnamed254() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed478(core.List<core.String> o) {
+checkUnnamed254(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed479() {
+buildUnnamed255() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed479(core.List<core.String> o) {
+checkUnnamed255(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed480() {
+buildUnnamed256() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed480(core.List<core.String> o) {
+checkUnnamed256(core.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 = buildUnnamed478();
+ var arg_customField = buildUnnamed254();
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 = buildUnnamed479();
+ var arg_customField = buildUnnamed255();
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 = buildUnnamed480();
+ var arg_customField = buildUnnamed256();
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 46ccc62..5b4cc3f 100644
--- a/generated/googleapis/test/customsearch/v1_test.dart
+++ b/generated/googleapis/test/customsearch/v1_test.dart
@@ -39,30 +39,30 @@
buildCounterContextFacets--;
}
-buildUnnamed291() {
+buildUnnamed170() {
var o = new core.List<api.ContextFacets>();
o.add(buildContextFacets());
o.add(buildContextFacets());
return o;
}
-checkUnnamed291(core.List<api.ContextFacets> o) {
+checkUnnamed170(core.List<api.ContextFacets> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextFacets(o[0]);
checkContextFacets(o[1]);
}
-buildUnnamed292() {
+buildUnnamed171() {
var o = new core.List<core.List<api.ContextFacets>>();
- o.add(buildUnnamed291());
- o.add(buildUnnamed291());
+ o.add(buildUnnamed170());
+ o.add(buildUnnamed170());
return o;
}
-checkUnnamed292(core.List<core.List<api.ContextFacets>> o) {
+checkUnnamed171(core.List<core.List<api.ContextFacets>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed291(o[0]);
- checkUnnamed291(o[1]);
+ checkUnnamed170(o[0]);
+ checkUnnamed170(o[1]);
}
core.int buildCounterContext = 0;
@@ -70,7 +70,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.facets = buildUnnamed292();
+ o.facets = buildUnnamed171();
o.title = "foo";
}
buildCounterContext--;
@@ -80,7 +80,7 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed292(o.facets);
+ checkUnnamed171(o.facets);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterContext--;
@@ -111,14 +111,14 @@
buildCounterPromotionBodyLines--;
}
-buildUnnamed293() {
+buildUnnamed172() {
var o = new core.List<api.PromotionBodyLines>();
o.add(buildPromotionBodyLines());
o.add(buildPromotionBodyLines());
return o;
}
-checkUnnamed293(core.List<api.PromotionBodyLines> o) {
+checkUnnamed172(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 = buildUnnamed293();
+ o.bodyLines = buildUnnamed172();
o.displayLink = "foo";
o.htmlTitle = "foo";
o.image = buildPromotionImage();
@@ -166,7 +166,7 @@
checkPromotion(api.Promotion o) {
buildCounterPromotion++;
if (buildCounterPromotion < 3) {
- checkUnnamed293(o.bodyLines);
+ checkUnnamed172(o.bodyLines);
unittest.expect(o.displayLink, unittest.equals('foo'));
unittest.expect(o.htmlTitle, unittest.equals('foo'));
checkPromotionImage(o.image);
@@ -321,56 +321,56 @@
buildCounterResultLabels--;
}
-buildUnnamed294() {
+buildUnnamed173() {
var o = new core.List<api.ResultLabels>();
o.add(buildResultLabels());
o.add(buildResultLabels());
return o;
}
-checkUnnamed294(core.List<api.ResultLabels> o) {
+checkUnnamed173(core.List<api.ResultLabels> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultLabels(o[0]);
checkResultLabels(o[1]);
}
-buildUnnamed295() {
+buildUnnamed174() {
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;
}
-checkUnnamed295(core.Map<core.String, core.Object> o) {
+checkUnnamed174(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'));
}
-buildUnnamed296() {
+buildUnnamed175() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed295());
- o.add(buildUnnamed295());
+ o.add(buildUnnamed174());
+ o.add(buildUnnamed174());
return o;
}
-checkUnnamed296(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed175(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed295(o[0]);
- checkUnnamed295(o[1]);
+ checkUnnamed174(o[0]);
+ checkUnnamed174(o[1]);
}
-buildUnnamed297() {
+buildUnnamed176() {
var o = new core.Map<core.String, core.List<core.Map<core.String, core.Object>>>();
- o["x"] = buildUnnamed296();
- o["y"] = buildUnnamed296();
+ o["x"] = buildUnnamed175();
+ o["y"] = buildUnnamed175();
return o;
}
-checkUnnamed297(core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) {
+checkUnnamed176(core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed296(o["x"]);
- checkUnnamed296(o["y"]);
+ checkUnnamed175(o["x"]);
+ checkUnnamed175(o["y"]);
}
core.int buildCounterResult = 0;
@@ -387,10 +387,10 @@
o.htmlTitle = "foo";
o.image = buildResultImage();
o.kind = "foo";
- o.labels = buildUnnamed294();
+ o.labels = buildUnnamed173();
o.link = "foo";
o.mime = "foo";
- o.pagemap = buildUnnamed297();
+ o.pagemap = buildUnnamed176();
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'));
- checkUnnamed294(o.labels);
+ checkUnnamed173(o.labels);
unittest.expect(o.link, unittest.equals('foo'));
unittest.expect(o.mime, unittest.equals('foo'));
- checkUnnamed297(o.pagemap);
+ checkUnnamed176(o.pagemap);
unittest.expect(o.snippet, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterResult--;
}
-buildUnnamed298() {
+buildUnnamed177() {
var o = new core.List<api.Result>();
o.add(buildResult());
o.add(buildResult());
return o;
}
-checkUnnamed298(core.List<api.Result> o) {
+checkUnnamed177(core.List<api.Result> o) {
unittest.expect(o, unittest.hasLength(2));
checkResult(o[0]);
checkResult(o[1]);
}
-buildUnnamed299() {
+buildUnnamed178() {
var o = new core.List<api.Promotion>();
o.add(buildPromotion());
o.add(buildPromotion());
return o;
}
-checkUnnamed299(core.List<api.Promotion> o) {
+checkUnnamed178(core.List<api.Promotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotion(o[0]);
checkPromotion(o[1]);
}
-buildUnnamed300() {
+buildUnnamed179() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed300(core.List<api.Query> o) {
+checkUnnamed179(core.List<api.Query> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuery(o[0]);
checkQuery(o[1]);
}
-buildUnnamed301() {
+buildUnnamed180() {
var o = new core.Map<core.String, core.List<api.Query>>();
- o["x"] = buildUnnamed300();
- o["y"] = buildUnnamed300();
+ o["x"] = buildUnnamed179();
+ o["y"] = buildUnnamed179();
return o;
}
-checkUnnamed301(core.Map<core.String, core.List<api.Query>> o) {
+checkUnnamed180(core.Map<core.String, core.List<api.Query>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed300(o["x"]);
- checkUnnamed300(o["y"]);
+ checkUnnamed179(o["x"]);
+ checkUnnamed179(o["y"]);
}
core.int buildCounterSearchSearchInformation = 0;
@@ -545,10 +545,10 @@
buildCounterSearch++;
if (buildCounterSearch < 3) {
o.context = buildContext();
- o.items = buildUnnamed298();
+ o.items = buildUnnamed177();
o.kind = "foo";
- o.promotions = buildUnnamed299();
- o.queries = buildUnnamed301();
+ o.promotions = buildUnnamed178();
+ o.queries = buildUnnamed180();
o.searchInformation = buildSearchSearchInformation();
o.spelling = buildSearchSpelling();
o.url = buildSearchUrl();
@@ -561,10 +561,10 @@
buildCounterSearch++;
if (buildCounterSearch < 3) {
checkContext(o.context);
- checkUnnamed298(o.items);
+ checkUnnamed177(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed299(o.promotions);
- checkUnnamed301(o.queries);
+ checkUnnamed178(o.promotions);
+ checkUnnamed180(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 f20951c..9e61150 100644
--- a/generated/googleapis/test/dfareporting/v1_3_test.dart
+++ b/generated/googleapis/test/dfareporting/v1_3_test.dart
@@ -16,27 +16,27 @@
-buildUnnamed214() {
+buildUnnamed411() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed214(core.List<api.DimensionValue> o) {
+checkUnnamed411(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed215() {
+buildUnnamed412() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed215(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'));
@@ -47,9 +47,9 @@
var o = new api.Activities();
buildCounterActivities++;
if (buildCounterActivities < 3) {
- o.filters = buildUnnamed214();
+ o.filters = buildUnnamed411();
o.kind = "foo";
- o.metricNames = buildUnnamed215();
+ o.metricNames = buildUnnamed412();
}
buildCounterActivities--;
return o;
@@ -58,9 +58,9 @@
checkActivities(api.Activities o) {
buildCounterActivities++;
if (buildCounterActivities < 3) {
- checkUnnamed214(o.filters);
+ checkUnnamed411(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed215(o.metricNames);
+ checkUnnamed412(o.metricNames);
}
buildCounterActivities--;
}
@@ -94,53 +94,53 @@
buildCounterCompatibleFields--;
}
-buildUnnamed216() {
+buildUnnamed413() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed216(core.List<api.Dimension> o) {
+checkUnnamed413(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed217() {
+buildUnnamed414() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed217(core.List<api.Dimension> o) {
+checkUnnamed414(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed218() {
+buildUnnamed415() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed218(core.List<api.Metric> o) {
+checkUnnamed415(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed219() {
+buildUnnamed416() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed219(core.List<api.Metric> o) {
+checkUnnamed416(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 = buildUnnamed216();
- o.dimensionFilters = buildUnnamed217();
+ o.breakdown = buildUnnamed413();
+ o.dimensionFilters = buildUnnamed414();
o.kind = "foo";
- o.metrics = buildUnnamed218();
- o.overlapMetrics = buildUnnamed219();
+ o.metrics = buildUnnamed415();
+ o.overlapMetrics = buildUnnamed416();
}
buildCounterCrossDimensionReachReportCompatibleFields--;
return o;
@@ -164,23 +164,23 @@
checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportCompatibleFields o) {
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- checkUnnamed216(o.breakdown);
- checkUnnamed217(o.dimensionFilters);
+ checkUnnamed413(o.breakdown);
+ checkUnnamed414(o.dimensionFilters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed218(o.metrics);
- checkUnnamed219(o.overlapMetrics);
+ checkUnnamed415(o.metrics);
+ checkUnnamed416(o.overlapMetrics);
}
buildCounterCrossDimensionReachReportCompatibleFields--;
}
-buildUnnamed220() {
+buildUnnamed417() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed220(core.List<api.DimensionValue> o) {
+checkUnnamed417(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 = buildUnnamed220();
+ o.filteredEventIds = buildUnnamed417();
o.kind = "foo";
}
buildCounterCustomRichMediaEvents--;
@@ -201,7 +201,7 @@
checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- checkUnnamed220(o.filteredEventIds);
+ checkUnnamed417(o.filteredEventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomRichMediaEvents--;
@@ -305,14 +305,14 @@
buildCounterDimensionValue--;
}
-buildUnnamed221() {
+buildUnnamed418() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed221(core.List<api.DimensionValue> o) {
+checkUnnamed418(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 = buildUnnamed221();
+ o.items = buildUnnamed418();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -336,21 +336,21 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed221(o.items);
+ checkUnnamed418(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDimensionValueList--;
}
-buildUnnamed222() {
+buildUnnamed419() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed222(core.List<api.DimensionFilter> o) {
+checkUnnamed419(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 = buildUnnamed222();
+ o.filters = buildUnnamed419();
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")));
- checkUnnamed222(o.filters);
+ checkUnnamed419(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--;
}
-buildUnnamed223() {
+buildUnnamed420() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed223(core.List<api.File> o) {
+checkUnnamed420(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 = buildUnnamed223();
+ o.items = buildUnnamed420();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -472,47 +472,47 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed223(o.items);
+ checkUnnamed420(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFileList--;
}
-buildUnnamed224() {
+buildUnnamed421() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed224(core.List<api.Dimension> o) {
+checkUnnamed421(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed225() {
+buildUnnamed422() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed225(core.List<api.Dimension> o) {
+checkUnnamed422(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed226() {
+buildUnnamed423() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed226(core.List<api.Metric> o) {
+checkUnnamed423(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 = buildUnnamed224();
- o.dimensions = buildUnnamed225();
+ o.dimensionFilters = buildUnnamed421();
+ o.dimensions = buildUnnamed422();
o.kind = "foo";
- o.metrics = buildUnnamed226();
+ o.metrics = buildUnnamed423();
}
buildCounterFloodlightReportCompatibleFields--;
return o;
@@ -535,10 +535,10 @@
checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- checkUnnamed224(o.dimensionFilters);
- checkUnnamed225(o.dimensions);
+ checkUnnamed421(o.dimensionFilters);
+ checkUnnamed422(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed226(o.metrics);
+ checkUnnamed423(o.metrics);
}
buildCounterFloodlightReportCompatibleFields--;
}
@@ -564,53 +564,53 @@
buildCounterMetric--;
}
-buildUnnamed227() {
+buildUnnamed424() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed227(core.List<api.Dimension> o) {
+checkUnnamed424(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed228() {
+buildUnnamed425() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed228(core.List<api.Dimension> o) {
+checkUnnamed425(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed229() {
+buildUnnamed426() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed229(core.List<api.Metric> o) {
+checkUnnamed426(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed230() {
+buildUnnamed427() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed230(core.List<api.Dimension> o) {
+checkUnnamed427(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 = buildUnnamed227();
- o.customFloodlightVariables = buildUnnamed228();
+ o.conversionDimensions = buildUnnamed424();
+ o.customFloodlightVariables = buildUnnamed425();
o.kind = "foo";
- o.metrics = buildUnnamed229();
- o.perInteractionDimensions = buildUnnamed230();
+ o.metrics = buildUnnamed426();
+ o.perInteractionDimensions = buildUnnamed427();
}
buildCounterPathToConversionReportCompatibleFields--;
return o;
@@ -634,75 +634,75 @@
checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatibleFields o) {
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- checkUnnamed227(o.conversionDimensions);
- checkUnnamed228(o.customFloodlightVariables);
+ checkUnnamed424(o.conversionDimensions);
+ checkUnnamed425(o.customFloodlightVariables);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed229(o.metrics);
- checkUnnamed230(o.perInteractionDimensions);
+ checkUnnamed426(o.metrics);
+ checkUnnamed427(o.perInteractionDimensions);
}
buildCounterPathToConversionReportCompatibleFields--;
}
-buildUnnamed231() {
+buildUnnamed428() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed231(core.List<api.Dimension> o) {
+checkUnnamed428(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed232() {
+buildUnnamed429() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed232(core.List<api.Dimension> o) {
+checkUnnamed429(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed233() {
+buildUnnamed430() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed233(core.List<api.Metric> o) {
+checkUnnamed430(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed234() {
+buildUnnamed431() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed234(core.List<api.Metric> o) {
+checkUnnamed431(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed235() {
+buildUnnamed432() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed235(core.List<api.Metric> o) {
+checkUnnamed432(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 = buildUnnamed231();
- o.dimensions = buildUnnamed232();
+ o.dimensionFilters = buildUnnamed428();
+ o.dimensions = buildUnnamed429();
o.kind = "foo";
- o.metrics = buildUnnamed233();
- o.pivotedActivityMetrics = buildUnnamed234();
- o.reachByFrequencyMetrics = buildUnnamed235();
+ o.metrics = buildUnnamed430();
+ o.pivotedActivityMetrics = buildUnnamed431();
+ o.reachByFrequencyMetrics = buildUnnamed432();
}
buildCounterReachReportCompatibleFields--;
return o;
@@ -727,12 +727,12 @@
checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- checkUnnamed231(o.dimensionFilters);
- checkUnnamed232(o.dimensions);
+ checkUnnamed428(o.dimensionFilters);
+ checkUnnamed429(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed233(o.metrics);
- checkUnnamed234(o.pivotedActivityMetrics);
- checkUnnamed235(o.reachByFrequencyMetrics);
+ checkUnnamed430(o.metrics);
+ checkUnnamed431(o.pivotedActivityMetrics);
+ checkUnnamed432(o.reachByFrequencyMetrics);
}
buildCounterReachReportCompatibleFields--;
}
@@ -760,40 +760,40 @@
buildCounterRecipient--;
}
-buildUnnamed236() {
+buildUnnamed433() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed236(core.List<api.DimensionValue> o) {
+checkUnnamed433(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed237() {
+buildUnnamed434() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed237(core.List<api.SortedDimension> o) {
+checkUnnamed434(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed238() {
+buildUnnamed435() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed238(core.List<core.String> o) {
+checkUnnamed435(core.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 = buildUnnamed236();
- o.dimensions = buildUnnamed237();
- o.metricNames = buildUnnamed238();
+ o.dimensionFilters = buildUnnamed433();
+ o.dimensions = buildUnnamed434();
+ o.metricNames = buildUnnamed435();
}
buildCounterReportActiveGrpCriteria--;
return o;
@@ -817,47 +817,47 @@
buildCounterReportActiveGrpCriteria++;
if (buildCounterReportActiveGrpCriteria < 3) {
checkDateRange(o.dateRange);
- checkUnnamed236(o.dimensionFilters);
- checkUnnamed237(o.dimensions);
- checkUnnamed238(o.metricNames);
+ checkUnnamed433(o.dimensionFilters);
+ checkUnnamed434(o.dimensions);
+ checkUnnamed435(o.metricNames);
}
buildCounterReportActiveGrpCriteria--;
}
-buildUnnamed239() {
+buildUnnamed436() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed239(core.List<api.DimensionValue> o) {
+checkUnnamed436(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed240() {
+buildUnnamed437() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed240(core.List<api.SortedDimension> o) {
+checkUnnamed437(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed241() {
+buildUnnamed438() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed241(core.List<core.String> o) {
+checkUnnamed438(core.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 = buildUnnamed239();
- o.dimensions = buildUnnamed240();
- o.metricNames = buildUnnamed241();
+ o.dimensionFilters = buildUnnamed436();
+ o.dimensions = buildUnnamed437();
+ o.metricNames = buildUnnamed438();
}
buildCounterReportCriteria--;
return o;
@@ -885,60 +885,60 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed239(o.dimensionFilters);
- checkUnnamed240(o.dimensions);
- checkUnnamed241(o.metricNames);
+ checkUnnamed436(o.dimensionFilters);
+ checkUnnamed437(o.dimensions);
+ checkUnnamed438(o.metricNames);
}
buildCounterReportCriteria--;
}
-buildUnnamed242() {
+buildUnnamed439() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed242(core.List<api.SortedDimension> o) {
+checkUnnamed439(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed243() {
+buildUnnamed440() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed243(core.List<api.DimensionValue> o) {
+checkUnnamed440(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed244() {
+buildUnnamed441() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed244(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'));
}
-buildUnnamed245() {
+buildUnnamed442() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed245(core.List<core.String> o) {
+checkUnnamed442(core.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 = buildUnnamed242();
+ o.breakdown = buildUnnamed439();
o.dateRange = buildDateRange();
o.dimension = "foo";
- o.dimensionFilters = buildUnnamed243();
- o.metricNames = buildUnnamed244();
- o.overlapMetricNames = buildUnnamed245();
+ o.dimensionFilters = buildUnnamed440();
+ o.metricNames = buildUnnamed441();
+ o.overlapMetricNames = buildUnnamed442();
o.pivoted = true;
}
buildCounterReportCrossDimensionReachCriteria--;
@@ -964,25 +964,25 @@
checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o) {
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- checkUnnamed242(o.breakdown);
+ checkUnnamed439(o.breakdown);
checkDateRange(o.dateRange);
unittest.expect(o.dimension, unittest.equals('foo'));
- checkUnnamed243(o.dimensionFilters);
- checkUnnamed244(o.metricNames);
- checkUnnamed245(o.overlapMetricNames);
+ checkUnnamed440(o.dimensionFilters);
+ checkUnnamed441(o.metricNames);
+ checkUnnamed442(o.overlapMetricNames);
unittest.expect(o.pivoted, unittest.isTrue);
}
buildCounterReportCrossDimensionReachCriteria--;
}
-buildUnnamed246() {
+buildUnnamed443() {
var o = new core.List<api.Recipient>();
o.add(buildRecipient());
o.add(buildRecipient());
return o;
}
-checkUnnamed246(core.List<api.Recipient> o) {
+checkUnnamed443(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 = buildUnnamed246();
+ o.recipients = buildUnnamed443();
}
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'));
- checkUnnamed246(o.recipients);
+ checkUnnamed443(o.recipients);
}
buildCounterReportDelivery--;
}
-buildUnnamed247() {
+buildUnnamed444() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed247(core.List<api.DimensionValue> o) {
+checkUnnamed444(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed248() {
+buildUnnamed445() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed248(core.List<api.DimensionValue> o) {
+checkUnnamed445(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed249() {
+buildUnnamed446() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed249(core.List<api.SortedDimension> o) {
+checkUnnamed446(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed250() {
+buildUnnamed447() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed250(core.List<core.String> o) {
+checkUnnamed447(core.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 = buildUnnamed247();
+ o.customRichMediaEvents = buildUnnamed444();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed248();
- o.dimensions = buildUnnamed249();
+ o.dimensionFilters = buildUnnamed445();
+ o.dimensions = buildUnnamed446();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed250();
+ o.metricNames = buildUnnamed447();
o.reportProperties = buildReportFloodlightCriteriaReportProperties();
}
buildCounterReportFloodlightCriteria--;
@@ -1108,90 +1108,90 @@
checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- checkUnnamed247(o.customRichMediaEvents);
+ checkUnnamed444(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed248(o.dimensionFilters);
- checkUnnamed249(o.dimensions);
+ checkUnnamed445(o.dimensionFilters);
+ checkUnnamed446(o.dimensions);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed250(o.metricNames);
+ checkUnnamed447(o.metricNames);
checkReportFloodlightCriteriaReportProperties(o.reportProperties);
}
buildCounterReportFloodlightCriteria--;
}
-buildUnnamed251() {
+buildUnnamed448() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed251(core.List<api.DimensionValue> o) {
+checkUnnamed448(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed252() {
+buildUnnamed449() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed252(core.List<api.SortedDimension> o) {
+checkUnnamed449(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed253() {
+buildUnnamed450() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed253(core.List<api.SortedDimension> o) {
+checkUnnamed450(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed254() {
+buildUnnamed451() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed254(core.List<api.DimensionValue> o) {
+checkUnnamed451(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed255() {
+buildUnnamed452() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed255(core.List<core.String> o) {
+checkUnnamed452(core.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() {
+buildUnnamed453() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed256(core.List<api.SortedDimension> o) {
+checkUnnamed453(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 = buildUnnamed251();
- o.conversionDimensions = buildUnnamed252();
- o.customFloodlightVariables = buildUnnamed253();
- o.customRichMediaEvents = buildUnnamed254();
+ o.activityFilters = buildUnnamed448();
+ o.conversionDimensions = buildUnnamed449();
+ o.customFloodlightVariables = buildUnnamed450();
+ o.customRichMediaEvents = buildUnnamed451();
o.dateRange = buildDateRange();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed255();
- o.perInteractionDimensions = buildUnnamed256();
+ o.metricNames = buildUnnamed452();
+ o.perInteractionDimensions = buildUnnamed453();
o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
}
buildCounterReportPathToConversionCriteria--;
@@ -1254,66 +1254,66 @@
checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- checkUnnamed251(o.activityFilters);
- checkUnnamed252(o.conversionDimensions);
- checkUnnamed253(o.customFloodlightVariables);
- checkUnnamed254(o.customRichMediaEvents);
+ checkUnnamed448(o.activityFilters);
+ checkUnnamed449(o.conversionDimensions);
+ checkUnnamed450(o.customFloodlightVariables);
+ checkUnnamed451(o.customRichMediaEvents);
checkDateRange(o.dateRange);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed255(o.metricNames);
- checkUnnamed256(o.perInteractionDimensions);
+ checkUnnamed452(o.metricNames);
+ checkUnnamed453(o.perInteractionDimensions);
checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
}
buildCounterReportPathToConversionCriteria--;
}
-buildUnnamed257() {
+buildUnnamed454() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed257(core.List<api.DimensionValue> o) {
+checkUnnamed454(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed258() {
+buildUnnamed455() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed258(core.List<api.SortedDimension> o) {
+checkUnnamed455(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed259() {
+buildUnnamed456() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed259(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'));
}
-buildUnnamed260() {
+buildUnnamed457() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed260(core.List<core.String> o) {
+checkUnnamed457(core.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 = buildUnnamed257();
- o.dimensions = buildUnnamed258();
- o.metricNames = buildUnnamed259();
- o.reachByFrequencyMetricNames = buildUnnamed260();
+ o.dimensionFilters = buildUnnamed454();
+ o.dimensions = buildUnnamed455();
+ o.metricNames = buildUnnamed456();
+ o.reachByFrequencyMetricNames = buildUnnamed457();
}
buildCounterReportReachCriteria--;
return o;
@@ -1342,22 +1342,22 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed257(o.dimensionFilters);
- checkUnnamed258(o.dimensions);
- checkUnnamed259(o.metricNames);
- checkUnnamed260(o.reachByFrequencyMetricNames);
+ checkUnnamed454(o.dimensionFilters);
+ checkUnnamed455(o.dimensions);
+ checkUnnamed456(o.metricNames);
+ checkUnnamed457(o.reachByFrequencyMetricNames);
}
buildCounterReportReachCriteria--;
}
-buildUnnamed261() {
+buildUnnamed458() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed261(core.List<core.String> o) {
+checkUnnamed458(core.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 = buildUnnamed261();
+ o.repeatsOnWeekDays = buildUnnamed458();
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'));
- checkUnnamed261(o.repeatsOnWeekDays);
+ checkUnnamed458(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--;
}
-buildUnnamed262() {
+buildUnnamed459() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed262(core.List<api.Dimension> o) {
+checkUnnamed459(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed263() {
+buildUnnamed460() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed263(core.List<api.Dimension> o) {
+checkUnnamed460(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed264() {
+buildUnnamed461() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed264(core.List<api.Metric> o) {
+checkUnnamed461(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed265() {
+buildUnnamed462() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed265(core.List<api.Metric> o) {
+checkUnnamed462(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 = buildUnnamed262();
- o.dimensions = buildUnnamed263();
+ o.dimensionFilters = buildUnnamed459();
+ o.dimensions = buildUnnamed460();
o.kind = "foo";
- o.metrics = buildUnnamed264();
- o.pivotedActivityMetrics = buildUnnamed265();
+ o.metrics = buildUnnamed461();
+ o.pivotedActivityMetrics = buildUnnamed462();
}
buildCounterReportCompatibleFields--;
return o;
@@ -1519,23 +1519,23 @@
checkReportCompatibleFields(api.ReportCompatibleFields o) {
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- checkUnnamed262(o.dimensionFilters);
- checkUnnamed263(o.dimensions);
+ checkUnnamed459(o.dimensionFilters);
+ checkUnnamed460(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed264(o.metrics);
- checkUnnamed265(o.pivotedActivityMetrics);
+ checkUnnamed461(o.metrics);
+ checkUnnamed462(o.pivotedActivityMetrics);
}
buildCounterReportCompatibleFields--;
}
-buildUnnamed266() {
+buildUnnamed463() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed266(core.List<api.Report> o) {
+checkUnnamed463(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 = buildUnnamed266();
+ o.items = buildUnnamed463();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1559,7 +1559,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed266(o.items);
+ checkUnnamed463(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1622,14 +1622,14 @@
buildCounterUserProfile--;
}
-buildUnnamed267() {
+buildUnnamed464() {
var o = new core.List<api.UserProfile>();
o.add(buildUserProfile());
o.add(buildUserProfile());
return o;
}
-checkUnnamed267(core.List<api.UserProfile> o) {
+checkUnnamed464(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 = buildUnnamed267();
+ o.items = buildUnnamed464();
o.kind = "foo";
}
buildCounterUserProfileList--;
@@ -1652,7 +1652,7 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed267(o.items);
+ checkUnnamed464(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 e99bee2..3490e71 100644
--- a/generated/googleapis/test/discovery/v1_test.dart
+++ b/generated/googleapis/test/discovery/v1_test.dart
@@ -37,14 +37,14 @@
buildCounterDirectoryListItemsIcons--;
}
-buildUnnamed302() {
+buildUnnamed596() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed302(core.List<core.String> o) {
+checkUnnamed596(core.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 = buildUnnamed302();
+ o.labels = buildUnnamed596();
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'));
- checkUnnamed302(o.labels);
+ checkUnnamed596(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--;
}
-buildUnnamed303() {
+buildUnnamed597() {
var o = new core.List<api.DirectoryListItems>();
o.add(buildDirectoryListItems());
o.add(buildDirectoryListItems());
return o;
}
-checkUnnamed303(core.List<api.DirectoryListItems> o) {
+checkUnnamed597(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 = buildUnnamed303();
+ o.items = buildUnnamed597();
o.kind = "foo";
}
buildCounterDirectoryList--;
@@ -121,20 +121,20 @@
buildCounterDirectoryList++;
if (buildCounterDirectoryList < 3) {
unittest.expect(o.discoveryVersion, unittest.equals('foo'));
- checkUnnamed303(o.items);
+ checkUnnamed597(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectoryList--;
}
-buildUnnamed304() {
+buildUnnamed598() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed304(core.List<core.String> o) {
+checkUnnamed598(core.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 = buildUnnamed304();
+ o.required = buildUnnamed598();
}
buildCounterJsonSchemaAnnotations--;
return o;
@@ -154,45 +154,45 @@
checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) {
buildCounterJsonSchemaAnnotations++;
if (buildCounterJsonSchemaAnnotations < 3) {
- checkUnnamed304(o.required);
+ checkUnnamed598(o.required);
}
buildCounterJsonSchemaAnnotations--;
}
-buildUnnamed305() {
+buildUnnamed599() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed305(core.List<core.String> o) {
+checkUnnamed599(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed306() {
+buildUnnamed600() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed306(core.List<core.String> o) {
+checkUnnamed600(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed307() {
+buildUnnamed601() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed307(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed601(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -219,14 +219,14 @@
buildCounterJsonSchemaVariantMap--;
}
-buildUnnamed308() {
+buildUnnamed602() {
var o = new core.List<api.JsonSchemaVariantMap>();
o.add(buildJsonSchemaVariantMap());
o.add(buildJsonSchemaVariantMap());
return o;
}
-checkUnnamed308(core.List<api.JsonSchemaVariantMap> o) {
+checkUnnamed602(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 = buildUnnamed308();
+ o.map = buildUnnamed602();
}
buildCounterJsonSchemaVariant--;
return o;
@@ -248,7 +248,7 @@
buildCounterJsonSchemaVariant++;
if (buildCounterJsonSchemaVariant < 3) {
unittest.expect(o.discriminant, unittest.equals('foo'));
- checkUnnamed308(o.map);
+ checkUnnamed602(o.map);
}
buildCounterJsonSchemaVariant--;
}
@@ -263,8 +263,8 @@
o.annotations = buildJsonSchemaAnnotations();
o.default_ = "foo";
o.description = "foo";
- o.enum_ = buildUnnamed305();
- o.enumDescriptions = buildUnnamed306();
+ o.enum_ = buildUnnamed599();
+ o.enumDescriptions = buildUnnamed600();
o.format = "foo";
o.id = "foo";
o.items = buildJsonSchema();
@@ -272,7 +272,7 @@
o.maximum = "foo";
o.minimum = "foo";
o.pattern = "foo";
- o.properties = buildUnnamed307();
+ o.properties = buildUnnamed601();
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'));
- checkUnnamed305(o.enum_);
- checkUnnamed306(o.enumDescriptions);
+ checkUnnamed599(o.enum_);
+ checkUnnamed600(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'));
- checkUnnamed307(o.properties);
+ checkUnnamed601(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--;
}
-buildUnnamed309() {
+buildUnnamed603() {
var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>();
o["x"] = buildRestDescriptionAuthOauth2ScopesValue();
o["y"] = buildRestDescriptionAuthOauth2ScopesValue();
return o;
}
-checkUnnamed309(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
+checkUnnamed603(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 = buildUnnamed309();
+ o.scopes = buildUnnamed603();
}
buildCounterRestDescriptionAuthOauth2--;
return o;
@@ -356,7 +356,7 @@
checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) {
buildCounterRestDescriptionAuthOauth2++;
if (buildCounterRestDescriptionAuthOauth2 < 3) {
- checkUnnamed309(o.scopes);
+ checkUnnamed603(o.scopes);
}
buildCounterRestDescriptionAuthOauth2--;
}
@@ -380,14 +380,14 @@
buildCounterRestDescriptionAuth--;
}
-buildUnnamed310() {
+buildUnnamed604() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed310(core.List<core.String> o) {
+checkUnnamed604(core.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--;
}
-buildUnnamed311() {
+buildUnnamed605() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed311(core.List<core.String> o) {
+checkUnnamed605(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed312() {
+buildUnnamed606() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed312(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed606(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
-buildUnnamed313() {
+buildUnnamed607() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed313(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed607(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
}
-buildUnnamed314() {
+buildUnnamed608() {
var o = new core.Map<core.String, api.RestResource>();
o["x"] = buildRestResource();
o["y"] = buildRestResource();
return o;
}
-checkUnnamed314(core.Map<core.String, api.RestResource> o) {
+checkUnnamed608(core.Map<core.String, api.RestResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestResource(o["x"]);
checkRestResource(o["y"]);
}
-buildUnnamed315() {
+buildUnnamed609() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed315(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed609(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 = buildUnnamed310();
+ o.features = buildUnnamed604();
o.icons = buildRestDescriptionIcons();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed311();
- o.methods = buildUnnamed312();
+ o.labels = buildUnnamed605();
+ o.methods = buildUnnamed606();
o.name = "foo";
o.ownerDomain = "foo";
o.ownerName = "foo";
o.packagePath = "foo";
- o.parameters = buildUnnamed313();
+ o.parameters = buildUnnamed607();
o.protocol = "foo";
- o.resources = buildUnnamed314();
+ o.resources = buildUnnamed608();
o.revision = "foo";
o.rootUrl = "foo";
- o.schemas = buildUnnamed315();
+ o.schemas = buildUnnamed609();
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'));
- checkUnnamed310(o.features);
+ checkUnnamed604(o.features);
checkRestDescriptionIcons(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed311(o.labels);
- checkUnnamed312(o.methods);
+ checkUnnamed605(o.labels);
+ checkUnnamed606(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'));
- checkUnnamed313(o.parameters);
+ checkUnnamed607(o.parameters);
unittest.expect(o.protocol, unittest.equals('foo'));
- checkUnnamed314(o.resources);
+ checkUnnamed608(o.resources);
unittest.expect(o.revision, unittest.equals('foo'));
unittest.expect(o.rootUrl, unittest.equals('foo'));
- checkUnnamed315(o.schemas);
+ checkUnnamed609(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--;
}
-buildUnnamed316() {
+buildUnnamed610() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed316(core.List<core.String> o) {
+checkUnnamed610(core.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 = buildUnnamed316();
+ o.accept = buildUnnamed610();
o.maxSize = "foo";
o.protocols = buildRestMethodMediaUploadProtocols();
}
@@ -644,34 +644,34 @@
checkRestMethodMediaUpload(api.RestMethodMediaUpload o) {
buildCounterRestMethodMediaUpload++;
if (buildCounterRestMethodMediaUpload < 3) {
- checkUnnamed316(o.accept);
+ checkUnnamed610(o.accept);
unittest.expect(o.maxSize, unittest.equals('foo'));
checkRestMethodMediaUploadProtocols(o.protocols);
}
buildCounterRestMethodMediaUpload--;
}
-buildUnnamed317() {
+buildUnnamed611() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed317(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'));
}
-buildUnnamed318() {
+buildUnnamed612() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed318(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed612(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -717,14 +717,14 @@
buildCounterRestMethodResponse--;
}
-buildUnnamed319() {
+buildUnnamed613() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed319(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'));
@@ -740,12 +740,12 @@
o.httpMethod = "foo";
o.id = "foo";
o.mediaUpload = buildRestMethodMediaUpload();
- o.parameterOrder = buildUnnamed317();
- o.parameters = buildUnnamed318();
+ o.parameterOrder = buildUnnamed611();
+ o.parameters = buildUnnamed612();
o.path = "foo";
o.request = buildRestMethodRequest();
o.response = buildRestMethodResponse();
- o.scopes = buildUnnamed319();
+ o.scopes = buildUnnamed613();
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);
- checkUnnamed317(o.parameterOrder);
- checkUnnamed318(o.parameters);
+ checkUnnamed611(o.parameterOrder);
+ checkUnnamed612(o.parameters);
unittest.expect(o.path, unittest.equals('foo'));
checkRestMethodRequest(o.request);
checkRestMethodResponse(o.response);
- checkUnnamed319(o.scopes);
+ checkUnnamed613(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--;
}
-buildUnnamed320() {
+buildUnnamed614() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed320(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed614(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
-buildUnnamed321() {
+buildUnnamed615() {
var o = new core.Map<core.String, api.RestResource>();
o["x"] = buildRestResource();
o["y"] = buildRestResource();
return o;
}
-checkUnnamed321(core.Map<core.String, api.RestResource> o) {
+checkUnnamed615(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 = buildUnnamed320();
- o.resources = buildUnnamed321();
+ o.methods = buildUnnamed614();
+ o.resources = buildUnnamed615();
}
buildCounterRestResource--;
return o;
@@ -816,8 +816,8 @@
checkRestResource(api.RestResource o) {
buildCounterRestResource++;
if (buildCounterRestResource < 3) {
- checkUnnamed320(o.methods);
- checkUnnamed321(o.resources);
+ checkUnnamed614(o.methods);
+ checkUnnamed615(o.resources);
}
buildCounterRestResource--;
}
diff --git a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
index 6372088..b801c68 100644
--- a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
+++ b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed719() {
+buildUnnamed1083() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed719(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'));
@@ -34,7 +34,7 @@
var o = new api.DownloadLineItemsRequest();
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
- o.filterIds = buildUnnamed719();
+ o.filterIds = buildUnnamed1083();
o.filterType = "foo";
o.format = "foo";
}
@@ -45,7 +45,7 @@
checkDownloadLineItemsRequest(api.DownloadLineItemsRequest o) {
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
- checkUnnamed719(o.filterIds);
+ checkUnnamed1083(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
}
@@ -92,14 +92,14 @@
buildCounterFilterPair--;
}
-buildUnnamed720() {
+buildUnnamed1084() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed720(core.List<api.Query> o) {
+checkUnnamed1084(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 = buildUnnamed720();
+ o.queries = buildUnnamed1084();
}
buildCounterListQueriesResponse--;
return o;
@@ -121,19 +121,19 @@
buildCounterListQueriesResponse++;
if (buildCounterListQueriesResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed720(o.queries);
+ checkUnnamed1084(o.queries);
}
buildCounterListQueriesResponse--;
}
-buildUnnamed721() {
+buildUnnamed1085() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed721(core.List<api.Report> o) {
+checkUnnamed1085(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 = buildUnnamed721();
+ o.reports = buildUnnamed1085();
}
buildCounterListReportsResponse--;
return o;
@@ -155,45 +155,45 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed721(o.reports);
+ checkUnnamed1085(o.reports);
}
buildCounterListReportsResponse--;
}
-buildUnnamed722() {
+buildUnnamed1086() {
var o = new core.List<api.FilterPair>();
o.add(buildFilterPair());
o.add(buildFilterPair());
return o;
}
-checkUnnamed722(core.List<api.FilterPair> o) {
+checkUnnamed1086(core.List<api.FilterPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterPair(o[0]);
checkFilterPair(o[1]);
}
-buildUnnamed723() {
+buildUnnamed1087() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed723(core.List<core.String> o) {
+checkUnnamed1087(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed724() {
+buildUnnamed1088() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed724(core.List<core.String> o) {
+checkUnnamed1088(core.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 = buildUnnamed722();
- o.groupBys = buildUnnamed723();
+ o.filters = buildUnnamed1086();
+ o.groupBys = buildUnnamed1087();
o.includeInviteData = true;
- o.metrics = buildUnnamed724();
+ o.metrics = buildUnnamed1088();
o.type = "foo";
}
buildCounterParameters--;
@@ -217,10 +217,10 @@
checkParameters(api.Parameters o) {
buildCounterParameters++;
if (buildCounterParameters < 3) {
- checkUnnamed722(o.filters);
- checkUnnamed723(o.groupBys);
+ checkUnnamed1086(o.filters);
+ checkUnnamed1087(o.groupBys);
unittest.expect(o.includeInviteData, unittest.isTrue);
- checkUnnamed724(o.metrics);
+ checkUnnamed1088(o.metrics);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterParameters--;
@@ -259,14 +259,14 @@
buildCounterQuery--;
}
-buildUnnamed725() {
+buildUnnamed1089() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed725(core.List<core.String> o) {
+checkUnnamed1089(core.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 = buildUnnamed725();
+ o.shareEmailAddress = buildUnnamed1089();
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);
- checkUnnamed725(o.shareEmailAddress);
+ checkUnnamed1089(o.shareEmailAddress);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterQueryMetadata--;
@@ -447,14 +447,14 @@
buildCounterReportStatus--;
}
-buildUnnamed726() {
+buildUnnamed1090() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed726(core.List<core.String> o) {
+checkUnnamed1090(core.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 = buildUnnamed726();
+ o.errors = buildUnnamed1090();
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'));
- checkUnnamed726(o.errors);
+ checkUnnamed1090(o.errors);
unittest.expect(o.persisted, unittest.isTrue);
unittest.expect(o.rowNumber, unittest.equals(42));
}
@@ -556,27 +556,27 @@
buildCounterUploadLineItemsResponse--;
}
-buildUnnamed727() {
+buildUnnamed1091() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed727(core.List<core.String> o) {
+checkUnnamed1091(core.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() {
+buildUnnamed1092() {
var o = new core.List<api.RowStatus>();
o.add(buildRowStatus());
o.add(buildRowStatus());
return o;
}
-checkUnnamed728(core.List<api.RowStatus> o) {
+checkUnnamed1092(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 = buildUnnamed727();
- o.rowStatus = buildUnnamed728();
+ o.errors = buildUnnamed1091();
+ o.rowStatus = buildUnnamed1092();
}
buildCounterUploadStatus--;
return o;
@@ -597,8 +597,8 @@
checkUploadStatus(api.UploadStatus o) {
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- checkUnnamed727(o.errors);
- checkUnnamed728(o.rowStatus);
+ checkUnnamed1091(o.errors);
+ checkUnnamed1092(o.rowStatus);
}
buildCounterUploadStatus--;
}
diff --git a/generated/googleapis/test/doubleclicksearch/v2_test.dart b/generated/googleapis/test/doubleclicksearch/v2_test.dart
index d5ceea3..c774a02 100644
--- a/generated/googleapis/test/doubleclicksearch/v2_test.dart
+++ b/generated/googleapis/test/doubleclicksearch/v2_test.dart
@@ -45,27 +45,27 @@
buildCounterAvailability--;
}
-buildUnnamed759() {
+buildUnnamed113() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed759(core.List<api.CustomDimension> o) {
+checkUnnamed113(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
}
-buildUnnamed760() {
+buildUnnamed114() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed760(core.List<api.CustomMetric> o) {
+checkUnnamed114(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 = buildUnnamed759();
- o.customMetric = buildUnnamed760();
+ o.customDimension = buildUnnamed113();
+ o.customMetric = buildUnnamed114();
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'));
- checkUnnamed759(o.customDimension);
- checkUnnamed760(o.customMetric);
+ checkUnnamed113(o.customDimension);
+ checkUnnamed114(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--;
}
-buildUnnamed761() {
+buildUnnamed115() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed761(core.List<api.Conversion> o) {
+checkUnnamed115(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 = buildUnnamed761();
+ o.conversion = buildUnnamed115();
o.kind = "foo";
}
buildCounterConversionList--;
@@ -162,7 +162,7 @@
checkConversionList(api.ConversionList o) {
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- checkUnnamed761(o.conversion);
+ checkUnnamed115(o.conversion);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionList--;
@@ -231,27 +231,27 @@
buildCounterReportFiles--;
}
-buildUnnamed762() {
+buildUnnamed116() {
var o = new core.List<api.ReportFiles>();
o.add(buildReportFiles());
o.add(buildReportFiles());
return o;
}
-checkUnnamed762(core.List<api.ReportFiles> o) {
+checkUnnamed116(core.List<api.ReportFiles> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportFiles(o[0]);
checkReportFiles(o[1]);
}
-buildUnnamed763() {
+buildUnnamed117() {
var o = new core.List<api.ReportRow>();
o.add(buildReportRow());
o.add(buildReportRow());
return o;
}
-checkUnnamed763(core.List<api.ReportRow> o) {
+checkUnnamed117(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 = buildUnnamed762();
+ o.files = buildUnnamed116();
o.id = "foo";
o.isReportReady = true;
o.kind = "foo";
o.request = buildReportRequest();
o.rowCount = 42;
- o.rows = buildUnnamed763();
+ o.rows = buildUnnamed117();
o.statisticsCurrencyCode = "foo";
o.statisticsTimeZone = "foo";
}
@@ -279,13 +279,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed762(o.files);
+ checkUnnamed116(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));
- checkUnnamed763(o.rows);
+ checkUnnamed117(o.rows);
unittest.expect(o.statisticsCurrencyCode, unittest.equals('foo'));
unittest.expect(o.statisticsTimeZone, unittest.equals('foo'));
}
@@ -325,27 +325,27 @@
buildCounterReportApiColumnSpec--;
}
-buildUnnamed764() {
+buildUnnamed118() {
var o = new core.List<api.ReportApiColumnSpec>();
o.add(buildReportApiColumnSpec());
o.add(buildReportApiColumnSpec());
return o;
}
-checkUnnamed764(core.List<api.ReportApiColumnSpec> o) {
+checkUnnamed118(core.List<api.ReportApiColumnSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportApiColumnSpec(o[0]);
checkReportApiColumnSpec(o[1]);
}
-buildUnnamed765() {
+buildUnnamed119() {
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;
}
-checkUnnamed765(core.List<core.Object> o) {
+checkUnnamed119(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 +358,7 @@
if (buildCounterReportRequestFilters < 3) {
o.column = buildReportApiColumnSpec();
o.operator = "foo";
- o.values = buildUnnamed765();
+ o.values = buildUnnamed119();
}
buildCounterReportRequestFilters--;
return o;
@@ -369,19 +369,19 @@
if (buildCounterReportRequestFilters < 3) {
checkReportApiColumnSpec(o.column);
unittest.expect(o.operator, unittest.equals('foo'));
- checkUnnamed765(o.values);
+ checkUnnamed119(o.values);
}
buildCounterReportRequestFilters--;
}
-buildUnnamed766() {
+buildUnnamed120() {
var o = new core.List<api.ReportRequestFilters>();
o.add(buildReportRequestFilters());
o.add(buildReportRequestFilters());
return o;
}
-checkUnnamed766(core.List<api.ReportRequestFilters> o) {
+checkUnnamed120(core.List<api.ReportRequestFilters> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestFilters(o[0]);
checkReportRequestFilters(o[1]);
@@ -408,14 +408,14 @@
buildCounterReportRequestOrderBy--;
}
-buildUnnamed767() {
+buildUnnamed121() {
var o = new core.List<api.ReportRequestOrderBy>();
o.add(buildReportRequestOrderBy());
o.add(buildReportRequestOrderBy());
return o;
}
-checkUnnamed767(core.List<api.ReportRequestOrderBy> o) {
+checkUnnamed121(core.List<api.ReportRequestOrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestOrderBy(o[0]);
checkReportRequestOrderBy(o[1]);
@@ -482,13 +482,13 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.columns = buildUnnamed764();
+ o.columns = buildUnnamed118();
o.downloadFormat = "foo";
- o.filters = buildUnnamed766();
+ o.filters = buildUnnamed120();
o.includeDeletedEntities = true;
o.includeRemovedEntities = true;
o.maxRowsPerFile = 42;
- o.orderBy = buildUnnamed767();
+ o.orderBy = buildUnnamed121();
o.reportScope = buildReportRequestReportScope();
o.reportType = "foo";
o.rowCount = 42;
@@ -504,13 +504,13 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed764(o.columns);
+ checkUnnamed118(o.columns);
unittest.expect(o.downloadFormat, unittest.equals('foo'));
- checkUnnamed766(o.filters);
+ checkUnnamed120(o.filters);
unittest.expect(o.includeDeletedEntities, unittest.isTrue);
unittest.expect(o.includeRemovedEntities, unittest.isTrue);
unittest.expect(o.maxRowsPerFile, unittest.equals(42));
- checkUnnamed767(o.orderBy);
+ checkUnnamed121(o.orderBy);
checkReportRequestReportScope(o.reportScope);
unittest.expect(o.reportType, unittest.equals('foo'));
unittest.expect(o.rowCount, unittest.equals(42));
@@ -558,14 +558,14 @@
buildCounterSavedColumn--;
}
-buildUnnamed768() {
+buildUnnamed122() {
var o = new core.List<api.SavedColumn>();
o.add(buildSavedColumn());
o.add(buildSavedColumn());
return o;
}
-checkUnnamed768(core.List<api.SavedColumn> o) {
+checkUnnamed122(core.List<api.SavedColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedColumn(o[0]);
checkSavedColumn(o[1]);
@@ -576,7 +576,7 @@
var o = new api.SavedColumnList();
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- o.items = buildUnnamed768();
+ o.items = buildUnnamed122();
o.kind = "foo";
}
buildCounterSavedColumnList--;
@@ -586,20 +586,20 @@
checkSavedColumnList(api.SavedColumnList o) {
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- checkUnnamed768(o.items);
+ checkUnnamed122(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSavedColumnList--;
}
-buildUnnamed769() {
+buildUnnamed123() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed769(core.List<api.Availability> o) {
+checkUnnamed123(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -610,7 +610,7 @@
var o = new api.UpdateAvailabilityRequest();
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- o.availabilities = buildUnnamed769();
+ o.availabilities = buildUnnamed123();
}
buildCounterUpdateAvailabilityRequest--;
return o;
@@ -619,19 +619,19 @@
checkUpdateAvailabilityRequest(api.UpdateAvailabilityRequest o) {
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- checkUnnamed769(o.availabilities);
+ checkUnnamed123(o.availabilities);
}
buildCounterUpdateAvailabilityRequest--;
}
-buildUnnamed770() {
+buildUnnamed124() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed770(core.List<api.Availability> o) {
+checkUnnamed124(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -642,7 +642,7 @@
var o = new api.UpdateAvailabilityResponse();
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- o.availabilities = buildUnnamed770();
+ o.availabilities = buildUnnamed124();
}
buildCounterUpdateAvailabilityResponse--;
return o;
@@ -651,7 +651,7 @@
checkUpdateAvailabilityResponse(api.UpdateAvailabilityResponse o) {
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- checkUnnamed770(o.availabilities);
+ checkUnnamed124(o.availabilities);
}
buildCounterUpdateAvailabilityResponse--;
}
diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart
index dc53a96..b5d62c8 100644
--- a/generated/googleapis/test/drive/v2_test.dart
+++ b/generated/googleapis/test/drive/v2_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed419() {
+buildUnnamed1093() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed419(core.List<core.String> o) {
+checkUnnamed1093(core.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 = buildUnnamed419();
+ o.additionalRoles = buildUnnamed1093();
o.primaryRole = "foo";
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
@@ -44,20 +44,20 @@
checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) {
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- checkUnnamed419(o.additionalRoles);
+ checkUnnamed1093(o.additionalRoles);
unittest.expect(o.primaryRole, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
}
-buildUnnamed420() {
+buildUnnamed1094() {
var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>();
o.add(buildAboutAdditionalRoleInfoRoleSets());
o.add(buildAboutAdditionalRoleInfoRoleSets());
return o;
}
-checkUnnamed420(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
+checkUnnamed1094(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 = buildUnnamed420();
+ o.roleSets = buildUnnamed1094();
o.type = "foo";
}
buildCounterAboutAdditionalRoleInfo--;
@@ -78,33 +78,33 @@
checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) {
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- checkUnnamed420(o.roleSets);
+ checkUnnamed1094(o.roleSets);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfo--;
}
-buildUnnamed421() {
+buildUnnamed1095() {
var o = new core.List<api.AboutAdditionalRoleInfo>();
o.add(buildAboutAdditionalRoleInfo());
o.add(buildAboutAdditionalRoleInfo());
return o;
}
-checkUnnamed421(core.List<api.AboutAdditionalRoleInfo> o) {
+checkUnnamed1095(core.List<api.AboutAdditionalRoleInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfo(o[0]);
checkAboutAdditionalRoleInfo(o[1]);
}
-buildUnnamed422() {
+buildUnnamed1096() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed422(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'));
@@ -116,7 +116,7 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed422();
+ o.targets = buildUnnamed1096();
}
buildCounterAboutExportFormats--;
return o;
@@ -126,19 +126,19 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed422(o.targets);
+ checkUnnamed1096(o.targets);
}
buildCounterAboutExportFormats--;
}
-buildUnnamed423() {
+buildUnnamed1097() {
var o = new core.List<api.AboutExportFormats>();
o.add(buildAboutExportFormats());
o.add(buildAboutExportFormats());
return o;
}
-checkUnnamed423(core.List<api.AboutExportFormats> o) {
+checkUnnamed1097(core.List<api.AboutExportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutExportFormats(o[0]);
checkAboutExportFormats(o[1]);
@@ -165,27 +165,27 @@
buildCounterAboutFeatures--;
}
-buildUnnamed424() {
+buildUnnamed1098() {
var o = new core.List<api.AboutFeatures>();
o.add(buildAboutFeatures());
o.add(buildAboutFeatures());
return o;
}
-checkUnnamed424(core.List<api.AboutFeatures> o) {
+checkUnnamed1098(core.List<api.AboutFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutFeatures(o[0]);
checkAboutFeatures(o[1]);
}
-buildUnnamed425() {
+buildUnnamed1099() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed425(core.List<core.String> o) {
+checkUnnamed1099(core.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 = buildUnnamed425();
+ o.targets = buildUnnamed1099();
}
buildCounterAboutImportFormats--;
return o;
@@ -207,19 +207,19 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed425(o.targets);
+ checkUnnamed1099(o.targets);
}
buildCounterAboutImportFormats--;
}
-buildUnnamed426() {
+buildUnnamed1100() {
var o = new core.List<api.AboutImportFormats>();
o.add(buildAboutImportFormats());
o.add(buildAboutImportFormats());
return o;
}
-checkUnnamed426(core.List<api.AboutImportFormats> o) {
+checkUnnamed1100(core.List<api.AboutImportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutImportFormats(o[0]);
checkAboutImportFormats(o[1]);
@@ -246,14 +246,14 @@
buildCounterAboutMaxUploadSizes--;
}
-buildUnnamed427() {
+buildUnnamed1101() {
var o = new core.List<api.AboutMaxUploadSizes>();
o.add(buildAboutMaxUploadSizes());
o.add(buildAboutMaxUploadSizes());
return o;
}
-checkUnnamed427(core.List<api.AboutMaxUploadSizes> o) {
+checkUnnamed1101(core.List<api.AboutMaxUploadSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutMaxUploadSizes(o[0]);
checkAboutMaxUploadSizes(o[1]);
@@ -280,14 +280,14 @@
buildCounterAboutQuotaBytesByService--;
}
-buildUnnamed428() {
+buildUnnamed1102() {
var o = new core.List<api.AboutQuotaBytesByService>();
o.add(buildAboutQuotaBytesByService());
o.add(buildAboutQuotaBytesByService());
return o;
}
-checkUnnamed428(core.List<api.AboutQuotaBytesByService> o) {
+checkUnnamed1102(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 = buildUnnamed421();
+ o.additionalRoleInfo = buildUnnamed1095();
o.domainSharingPolicy = "foo";
o.etag = "foo";
- o.exportFormats = buildUnnamed423();
- o.features = buildUnnamed424();
- o.importFormats = buildUnnamed426();
+ o.exportFormats = buildUnnamed1097();
+ o.features = buildUnnamed1098();
+ o.importFormats = buildUnnamed1100();
o.isCurrentAppInstalled = true;
o.kind = "foo";
o.languageCode = "foo";
o.largestChangeId = "foo";
- o.maxUploadSizes = buildUnnamed427();
+ o.maxUploadSizes = buildUnnamed1101();
o.name = "foo";
o.permissionId = "foo";
- o.quotaBytesByService = buildUnnamed428();
+ o.quotaBytesByService = buildUnnamed1102();
o.quotaBytesTotal = "foo";
o.quotaBytesUsed = "foo";
o.quotaBytesUsedAggregate = "foo";
@@ -329,20 +329,20 @@
checkAbout(api.About o) {
buildCounterAbout++;
if (buildCounterAbout < 3) {
- checkUnnamed421(o.additionalRoleInfo);
+ checkUnnamed1095(o.additionalRoleInfo);
unittest.expect(o.domainSharingPolicy, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed423(o.exportFormats);
- checkUnnamed424(o.features);
- checkUnnamed426(o.importFormats);
+ checkUnnamed1097(o.exportFormats);
+ checkUnnamed1098(o.features);
+ checkUnnamed1100(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'));
- checkUnnamed427(o.maxUploadSizes);
+ checkUnnamed1101(o.maxUploadSizes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
- checkUnnamed428(o.quotaBytesByService);
+ checkUnnamed1102(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--;
}
-buildUnnamed429() {
+buildUnnamed1103() {
var o = new core.List<api.AppIcons>();
o.add(buildAppIcons());
o.add(buildAppIcons());
return o;
}
-checkUnnamed429(core.List<api.AppIcons> o) {
+checkUnnamed1103(core.List<api.AppIcons> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppIcons(o[0]);
checkAppIcons(o[1]);
}
-buildUnnamed430() {
+buildUnnamed1104() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed430(core.List<core.String> o) {
+checkUnnamed1104(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed431() {
+buildUnnamed1105() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed431(core.List<core.String> o) {
+checkUnnamed1105(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed432() {
+buildUnnamed1106() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed432(core.List<core.String> o) {
+checkUnnamed1106(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed433() {
+buildUnnamed1107() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed433(core.List<core.String> o) {
+checkUnnamed1107(core.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 = buildUnnamed429();
+ o.icons = buildUnnamed1103();
o.id = "foo";
o.installed = true;
o.kind = "foo";
@@ -461,12 +461,12 @@
o.name = "foo";
o.objectType = "foo";
o.openUrlTemplate = "foo";
- o.primaryFileExtensions = buildUnnamed430();
- o.primaryMimeTypes = buildUnnamed431();
+ o.primaryFileExtensions = buildUnnamed1104();
+ o.primaryMimeTypes = buildUnnamed1105();
o.productId = "foo";
o.productUrl = "foo";
- o.secondaryFileExtensions = buildUnnamed432();
- o.secondaryMimeTypes = buildUnnamed433();
+ o.secondaryFileExtensions = buildUnnamed1106();
+ o.secondaryMimeTypes = buildUnnamed1107();
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);
- checkUnnamed429(o.icons);
+ checkUnnamed1103(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'));
- checkUnnamed430(o.primaryFileExtensions);
- checkUnnamed431(o.primaryMimeTypes);
+ checkUnnamed1104(o.primaryFileExtensions);
+ checkUnnamed1105(o.primaryMimeTypes);
unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.productUrl, unittest.equals('foo'));
- checkUnnamed432(o.secondaryFileExtensions);
- checkUnnamed433(o.secondaryMimeTypes);
+ checkUnnamed1106(o.secondaryFileExtensions);
+ checkUnnamed1107(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--;
}
-buildUnnamed434() {
+buildUnnamed1108() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed434(core.List<core.String> o) {
+checkUnnamed1108(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed435() {
+buildUnnamed1109() {
var o = new core.List<api.App>();
o.add(buildApp());
o.add(buildApp());
return o;
}
-checkUnnamed435(core.List<api.App> o) {
+checkUnnamed1109(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 = buildUnnamed434();
+ o.defaultAppIds = buildUnnamed1108();
o.etag = "foo";
- o.items = buildUnnamed435();
+ o.items = buildUnnamed1109();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -553,9 +553,9 @@
checkAppList(api.AppList o) {
buildCounterAppList++;
if (buildCounterAppList < 3) {
- checkUnnamed434(o.defaultAppIds);
+ checkUnnamed1108(o.defaultAppIds);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed435(o.items);
+ checkUnnamed1109(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -593,14 +593,14 @@
buildCounterChange--;
}
-buildUnnamed436() {
+buildUnnamed1110() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed436(core.List<api.Change> o) {
+checkUnnamed1110(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 = buildUnnamed436();
+ o.items = buildUnnamed1110();
o.kind = "foo";
o.largestChangeId = "foo";
o.nextLink = "foo";
@@ -627,7 +627,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed436(o.items);
+ checkUnnamed1110(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--;
}
-buildUnnamed437() {
+buildUnnamed1111() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed437(core.Map<core.String, core.String> o) {
+checkUnnamed1111(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 = buildUnnamed437();
+ o.params = buildUnnamed1111();
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'));
- checkUnnamed437(o.params);
+ checkUnnamed1111(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--;
}
-buildUnnamed438() {
+buildUnnamed1112() {
var o = new core.List<api.ChildReference>();
o.add(buildChildReference());
o.add(buildChildReference());
return o;
}
-checkUnnamed438(core.List<api.ChildReference> o) {
+checkUnnamed1112(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 = buildUnnamed438();
+ o.items = buildUnnamed1112();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -720,7 +720,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed438(o.items);
+ checkUnnamed1112(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--;
}
-buildUnnamed439() {
+buildUnnamed1113() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed439(core.List<api.CommentReply> o) {
+checkUnnamed1113(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 = buildUnnamed439();
+ o.replies = buildUnnamed1113();
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")));
- checkUnnamed439(o.replies);
+ checkUnnamed1113(o.replies);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterComment--;
}
-buildUnnamed440() {
+buildUnnamed1114() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed440(core.List<api.Comment> o) {
+checkUnnamed1114(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 = buildUnnamed440();
+ o.items = buildUnnamed1114();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -866,7 +866,7 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed440(o.items);
+ checkUnnamed1114(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--;
}
-buildUnnamed441() {
+buildUnnamed1115() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed441(core.List<api.CommentReply> o) {
+checkUnnamed1115(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 = buildUnnamed441();
+ o.items = buildUnnamed1115();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -941,7 +941,7 @@
checkCommentReplyList(api.CommentReplyList o) {
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- checkUnnamed441(o.items);
+ checkUnnamed1115(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--;
}
-buildUnnamed442() {
+buildUnnamed1116() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed442(core.Map<core.String, core.String> o) {
+checkUnnamed1116(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--;
}
-buildUnnamed443() {
+buildUnnamed1117() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed443(core.Map<core.String, core.String> o) {
+checkUnnamed1117(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'));
}
-buildUnnamed444() {
+buildUnnamed1118() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed444(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'));
}
-buildUnnamed445() {
+buildUnnamed1119() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed445(core.List<api.User> o) {
+checkUnnamed1119(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed446() {
+buildUnnamed1120() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed446(core.List<api.ParentReference> o) {
+checkUnnamed1120(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
}
-buildUnnamed447() {
+buildUnnamed1121() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed447(core.List<api.Permission> o) {
+checkUnnamed1121(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed448() {
+buildUnnamed1122() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed448(core.List<api.Property> o) {
+checkUnnamed1122(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 = buildUnnamed442();
+ o.exportLinks = buildUnnamed1116();
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 = buildUnnamed443();
+ o.openWithLinks = buildUnnamed1117();
o.originalFilename = "foo";
- o.ownerNames = buildUnnamed444();
- o.owners = buildUnnamed445();
- o.parents = buildUnnamed446();
- o.permissions = buildUnnamed447();
- o.properties = buildUnnamed448();
+ o.ownerNames = buildUnnamed1118();
+ o.owners = buildUnnamed1119();
+ o.parents = buildUnnamed1120();
+ o.permissions = buildUnnamed1121();
+ o.properties = buildUnnamed1122();
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);
- checkUnnamed442(o.exportLinks);
+ checkUnnamed1116(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")));
- checkUnnamed443(o.openWithLinks);
+ checkUnnamed1117(o.openWithLinks);
unittest.expect(o.originalFilename, unittest.equals('foo'));
- checkUnnamed444(o.ownerNames);
- checkUnnamed445(o.owners);
- checkUnnamed446(o.parents);
- checkUnnamed447(o.permissions);
- checkUnnamed448(o.properties);
+ checkUnnamed1118(o.ownerNames);
+ checkUnnamed1119(o.owners);
+ checkUnnamed1120(o.parents);
+ checkUnnamed1121(o.permissions);
+ checkUnnamed1122(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--;
}
-buildUnnamed449() {
+buildUnnamed1123() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed449(core.List<api.File> o) {
+checkUnnamed1123(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 = buildUnnamed449();
+ o.items = buildUnnamed1123();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1363,7 +1363,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed449(o.items);
+ checkUnnamed1123(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--;
}
-buildUnnamed450() {
+buildUnnamed1124() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed450(core.List<api.ParentReference> o) {
+checkUnnamed1124(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 = buildUnnamed450();
+ o.items = buildUnnamed1124();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1403,7 +1403,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed450(o.items);
+ checkUnnamed1124(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -1437,14 +1437,14 @@
buildCounterParentReference--;
}
-buildUnnamed451() {
+buildUnnamed1125() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed451(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'));
@@ -1455,7 +1455,7 @@
var o = new api.Permission();
buildCounterPermission++;
if (buildCounterPermission < 3) {
- o.additionalRoles = buildUnnamed451();
+ o.additionalRoles = buildUnnamed1125();
o.authKey = "foo";
o.domain = "foo";
o.emailAddress = "foo";
@@ -1477,7 +1477,7 @@
checkPermission(api.Permission o) {
buildCounterPermission++;
if (buildCounterPermission < 3) {
- checkUnnamed451(o.additionalRoles);
+ checkUnnamed1125(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--;
}
-buildUnnamed452() {
+buildUnnamed1126() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed452(core.List<api.Permission> o) {
+checkUnnamed1126(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 = buildUnnamed452();
+ o.items = buildUnnamed1126();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1547,7 +1547,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed452(o.items);
+ checkUnnamed1126(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -1583,14 +1583,14 @@
buildCounterProperty--;
}
-buildUnnamed453() {
+buildUnnamed1127() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed453(core.List<api.Property> o) {
+checkUnnamed1127(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 = buildUnnamed453();
+ o.items = buildUnnamed1127();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1614,21 +1614,21 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed453(o.items);
+ checkUnnamed1127(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterPropertyList--;
}
-buildUnnamed454() {
+buildUnnamed1128() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed454(core.Map<core.String, core.String> o) {
+checkUnnamed1128(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 = buildUnnamed454();
+ o.exportLinks = buildUnnamed1128();
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'));
- checkUnnamed454(o.exportLinks);
+ checkUnnamed1128(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--;
}
-buildUnnamed455() {
+buildUnnamed1129() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed455(core.List<api.Revision> o) {
+checkUnnamed1129(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 = buildUnnamed455();
+ o.items = buildUnnamed1129();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1718,7 +1718,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed455(o.items);
+ checkUnnamed1129(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 70cfe32..fcbedf4 100644
--- a/generated/googleapis/test/freebase/v1_test.dart
+++ b/generated/googleapis/test/freebase/v1_test.dart
@@ -64,14 +64,14 @@
buildCounterReconcileCandidate--;
}
-buildUnnamed747() {
+buildUnnamed1052() {
var o = new core.List<api.ReconcileCandidate>();
o.add(buildReconcileCandidate());
o.add(buildReconcileCandidate());
return o;
}
-checkUnnamed747(core.List<api.ReconcileCandidate> o) {
+checkUnnamed1052(core.List<api.ReconcileCandidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkReconcileCandidate(o[0]);
checkReconcileCandidate(o[1]);
@@ -121,14 +121,14 @@
buildCounterReconcileGetWarning--;
}
-buildUnnamed748() {
+buildUnnamed1053() {
var o = new core.List<api.ReconcileGetWarning>();
o.add(buildReconcileGetWarning());
o.add(buildReconcileGetWarning());
return o;
}
-checkUnnamed748(core.List<api.ReconcileGetWarning> o) {
+checkUnnamed1053(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 = buildUnnamed747();
+ o.candidate = buildUnnamed1052();
o.costs = buildReconcileGetCosts();
o.match = buildReconcileCandidate();
- o.warning = buildUnnamed748();
+ o.warning = buildUnnamed1053();
}
buildCounterReconcileGet--;
return o;
@@ -151,139 +151,139 @@
checkReconcileGet(api.ReconcileGet o) {
buildCounterReconcileGet++;
if (buildCounterReconcileGet < 3) {
- checkUnnamed747(o.candidate);
+ checkUnnamed1052(o.candidate);
checkReconcileGetCosts(o.costs);
checkReconcileCandidate(o.match);
- checkUnnamed748(o.warning);
+ checkUnnamed1053(o.warning);
}
buildCounterReconcileGet--;
}
-buildUnnamed749() {
+buildUnnamed1054() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed749(core.List<core.String> o) {
+checkUnnamed1054(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed750() {
+buildUnnamed1055() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed750(core.List<core.String> o) {
+checkUnnamed1055(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed751() {
+buildUnnamed1056() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed751(core.List<core.String> o) {
+checkUnnamed1056(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed752() {
+buildUnnamed1057() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed752(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'));
}
-buildUnnamed753() {
+buildUnnamed1058() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed753(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'));
}
-buildUnnamed754() {
+buildUnnamed1059() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed754(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'));
}
-buildUnnamed755() {
+buildUnnamed1060() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed755(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'));
}
-buildUnnamed756() {
+buildUnnamed1061() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed756(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'));
}
-buildUnnamed757() {
+buildUnnamed1062() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed757(core.List<core.String> o) {
+checkUnnamed1062(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed758() {
+buildUnnamed1063() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed758(core.List<core.String> o) {
+checkUnnamed1063(core.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 = buildUnnamed749();
- var arg_lang = buildUnnamed750();
+ var arg_kind = buildUnnamed1054();
+ var arg_lang = buildUnnamed1055();
var arg_limit = 42;
var arg_name = "foo";
- var arg_prop = buildUnnamed751();
+ var arg_prop = buildUnnamed1056();
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 = buildUnnamed752();
+ var arg_domain = buildUnnamed1057();
var arg_encode = "foo";
var arg_exact = true;
- var arg_filter = buildUnnamed753();
+ var arg_filter = buildUnnamed1058();
var arg_format = "foo";
var arg_help = "foo";
var arg_indent = true;
- var arg_lang = buildUnnamed754();
+ var arg_lang = buildUnnamed1059();
var arg_limit = 42;
- var arg_mid = buildUnnamed755();
+ var arg_mid = buildUnnamed1060();
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 = buildUnnamed756();
- var arg_with_ = buildUnnamed757();
- var arg_without = buildUnnamed758();
+ var arg_type = buildUnnamed1061();
+ var arg_with_ = buildUnnamed1062();
+ var arg_without = buildUnnamed1063();
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 a4f2599..d7b8aa0 100644
--- a/generated/googleapis/test/fusiontables/v1_test.dart
+++ b/generated/googleapis/test/fusiontables/v1_test.dart
@@ -97,14 +97,14 @@
buildCounterColumn--;
}
-buildUnnamed1018() {
+buildUnnamed275() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed1018(core.List<api.Column> o) {
+checkUnnamed275(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 = buildUnnamed1018();
+ o.items = buildUnnamed275();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -127,7 +127,7 @@
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed1018(o.items);
+ checkUnnamed275(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--;
}
-buildUnnamed1019() {
+buildUnnamed276() {
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;
}
-checkUnnamed1019(core.List<core.Object> o) {
+checkUnnamed276(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 = buildUnnamed1019();
+ o.geometries = buildUnnamed276();
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) {
- checkUnnamed1019(o.geometries);
+ checkUnnamed276(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--;
}
-buildUnnamed1020() {
+buildUnnamed277() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1020(core.List<core.double> o) {
+checkUnnamed277(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));
}
-buildUnnamed1021() {
+buildUnnamed278() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed1020());
- o.add(buildUnnamed1020());
+ o.add(buildUnnamed277());
+ o.add(buildUnnamed277());
return o;
}
-checkUnnamed1021(core.List<core.List<core.double>> o) {
+checkUnnamed278(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1020(o[0]);
- checkUnnamed1020(o[1]);
+ checkUnnamed277(o[0]);
+ checkUnnamed277(o[1]);
}
core.int buildCounterLine = 0;
@@ -223,7 +223,7 @@
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed1021();
+ o.coordinates = buildUnnamed278();
o.type = "foo";
}
buildCounterLine--;
@@ -233,7 +233,7 @@
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed1021(o.coordinates);
+ checkUnnamed278(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -266,14 +266,14 @@
buildCounterLineStyle--;
}
-buildUnnamed1022() {
+buildUnnamed279() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1022(core.List<core.double> o) {
+checkUnnamed279(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 = buildUnnamed1022();
+ o.coordinates = buildUnnamed279();
o.type = "foo";
}
buildCounterPoint--;
@@ -294,7 +294,7 @@
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed1022(o.coordinates);
+ checkUnnamed279(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -321,43 +321,43 @@
buildCounterPointStyle--;
}
-buildUnnamed1023() {
+buildUnnamed280() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1023(core.List<core.double> o) {
+checkUnnamed280(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));
}
-buildUnnamed1024() {
+buildUnnamed281() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed1023());
- o.add(buildUnnamed1023());
+ o.add(buildUnnamed280());
+ o.add(buildUnnamed280());
return o;
}
-checkUnnamed1024(core.List<core.List<core.double>> o) {
+checkUnnamed281(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1023(o[0]);
- checkUnnamed1023(o[1]);
+ checkUnnamed280(o[0]);
+ checkUnnamed280(o[1]);
}
-buildUnnamed1025() {
+buildUnnamed282() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed1024());
- o.add(buildUnnamed1024());
+ o.add(buildUnnamed281());
+ o.add(buildUnnamed281());
return o;
}
-checkUnnamed1025(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed282(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1024(o[0]);
- checkUnnamed1024(o[1]);
+ checkUnnamed281(o[0]);
+ checkUnnamed281(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -365,7 +365,7 @@
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed1025();
+ o.coordinates = buildUnnamed282();
o.type = "foo";
}
buildCounterPolygon--;
@@ -375,7 +375,7 @@
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed1025(o.coordinates);
+ checkUnnamed282(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -414,43 +414,43 @@
buildCounterPolygonStyle--;
}
-buildUnnamed1026() {
+buildUnnamed283() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1026(core.List<core.String> o) {
+checkUnnamed283(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1027() {
+buildUnnamed284() {
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;
}
-checkUnnamed1027(core.List<core.Object> o) {
+checkUnnamed284(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'));
}
-buildUnnamed1028() {
+buildUnnamed285() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed1027());
- o.add(buildUnnamed1027());
+ o.add(buildUnnamed284());
+ o.add(buildUnnamed284());
return o;
}
-checkUnnamed1028(core.List<core.List<core.Object>> o) {
+checkUnnamed285(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1027(o[0]);
- checkUnnamed1027(o[1]);
+ checkUnnamed284(o[0]);
+ checkUnnamed284(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -458,9 +458,9 @@
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed1026();
+ o.columns = buildUnnamed283();
o.kind = "foo";
- o.rows = buildUnnamed1028();
+ o.rows = buildUnnamed285();
}
buildCounterSqlresponse--;
return o;
@@ -469,21 +469,21 @@
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed1026(o.columns);
+ checkUnnamed283(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1028(o.rows);
+ checkUnnamed285(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed1029() {
+buildUnnamed286() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed1029(core.List<api.Bucket> o) {
+checkUnnamed286(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -510,14 +510,14 @@
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed1030() {
+buildUnnamed287() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed1030(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed287(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 = buildUnnamed1030();
+ o.colors = buildUnnamed287();
o.max = 42.0;
o.min = 42.0;
}
@@ -539,7 +539,7 @@
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed1030(o.colors);
+ checkUnnamed287(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 = buildUnnamed1029();
+ o.buckets = buildUnnamed286();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -563,7 +563,7 @@
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed1029(o.buckets);
+ checkUnnamed286(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -602,14 +602,14 @@
buildCounterStyleSetting--;
}
-buildUnnamed1031() {
+buildUnnamed288() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed1031(core.List<api.StyleSetting> o) {
+checkUnnamed288(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 = buildUnnamed1031();
+ o.items = buildUnnamed288();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -632,7 +632,7 @@
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed1031(o.items);
+ checkUnnamed288(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--;
}
-buildUnnamed1032() {
+buildUnnamed289() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1032(core.List<core.String> o) {
+checkUnnamed289(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1033() {
+buildUnnamed290() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed1033(core.List<api.Column> o) {
+checkUnnamed290(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 = buildUnnamed1032();
- o.columns = buildUnnamed1033();
+ o.baseTableIds = buildUnnamed289();
+ o.columns = buildUnnamed290();
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'));
- checkUnnamed1032(o.baseTableIds);
- checkUnnamed1033(o.columns);
+ checkUnnamed289(o.baseTableIds);
+ checkUnnamed290(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--;
}
-buildUnnamed1034() {
+buildUnnamed291() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed1034(core.List<api.Table> o) {
+checkUnnamed291(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 = buildUnnamed1034();
+ o.items = buildUnnamed291();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -732,7 +732,7 @@
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed1034(o.items);
+ checkUnnamed291(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -766,14 +766,14 @@
buildCounterTask--;
}
-buildUnnamed1035() {
+buildUnnamed292() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed1035(core.List<api.Task> o) {
+checkUnnamed292(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 = buildUnnamed1035();
+ o.items = buildUnnamed292();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -796,7 +796,7 @@
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed1035(o.items);
+ checkUnnamed292(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--;
}
-buildUnnamed1036() {
+buildUnnamed293() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1036(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'));
@@ -822,7 +822,7 @@
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed1036();
+ o.automaticColumnNames = buildUnnamed293();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -836,7 +836,7 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed1036(o.automaticColumnNames);
+ checkUnnamed293(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--;
}
-buildUnnamed1037() {
+buildUnnamed294() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed1037(core.List<api.Template> o) {
+checkUnnamed294(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 = buildUnnamed1037();
+ o.items = buildUnnamed294();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -876,7 +876,7 @@
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed1037(o.items);
+ checkUnnamed294(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 ab68f90..52cd71e 100644
--- a/generated/googleapis/test/games/v1_test.dart
+++ b/generated/googleapis/test/games/v1_test.dart
@@ -59,14 +59,14 @@
buildCounterAchievementDefinition--;
}
-buildUnnamed20() {
+buildUnnamed491() {
var o = new core.List<api.AchievementDefinition>();
o.add(buildAchievementDefinition());
o.add(buildAchievementDefinition());
return o;
}
-checkUnnamed20(core.List<api.AchievementDefinition> o) {
+checkUnnamed491(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 = buildUnnamed20();
+ o.items = buildUnnamed491();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -88,7 +88,7 @@
checkAchievementDefinitionsListResponse(api.AchievementDefinitionsListResponse o) {
buildCounterAchievementDefinitionsListResponse++;
if (buildCounterAchievementDefinitionsListResponse < 3) {
- checkUnnamed20(o.items);
+ checkUnnamed491(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -183,14 +183,14 @@
buildCounterAchievementUnlockResponse--;
}
-buildUnnamed21() {
+buildUnnamed492() {
var o = new core.List<api.AchievementUpdateRequest>();
o.add(buildAchievementUpdateRequest());
o.add(buildAchievementUpdateRequest());
return o;
}
-checkUnnamed21(core.List<api.AchievementUpdateRequest> o) {
+checkUnnamed492(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 = buildUnnamed21();
+ o.updates = buildUnnamed492();
}
buildCounterAchievementUpdateMultipleRequest--;
return o;
@@ -212,19 +212,19 @@
buildCounterAchievementUpdateMultipleRequest++;
if (buildCounterAchievementUpdateMultipleRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed21(o.updates);
+ checkUnnamed492(o.updates);
}
buildCounterAchievementUpdateMultipleRequest--;
}
-buildUnnamed22() {
+buildUnnamed493() {
var o = new core.List<api.AchievementUpdateResponse>();
o.add(buildAchievementUpdateResponse());
o.add(buildAchievementUpdateResponse());
return o;
}
-checkUnnamed22(core.List<api.AchievementUpdateResponse> o) {
+checkUnnamed493(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 = buildUnnamed22();
+ o.updatedAchievements = buildUnnamed493();
}
buildCounterAchievementUpdateMultipleResponse--;
return o;
@@ -246,7 +246,7 @@
buildCounterAchievementUpdateMultipleResponse++;
if (buildCounterAchievementUpdateMultipleResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed22(o.updatedAchievements);
+ checkUnnamed493(o.updatedAchievements);
}
buildCounterAchievementUpdateMultipleResponse--;
}
@@ -357,40 +357,40 @@
buildCounterAnonymousPlayer--;
}
-buildUnnamed23() {
+buildUnnamed494() {
var o = new core.List<api.ImageAsset>();
o.add(buildImageAsset());
o.add(buildImageAsset());
return o;
}
-checkUnnamed23(core.List<api.ImageAsset> o) {
+checkUnnamed494(core.List<api.ImageAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkImageAsset(o[0]);
checkImageAsset(o[1]);
}
-buildUnnamed24() {
+buildUnnamed495() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed24(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'));
}
-buildUnnamed25() {
+buildUnnamed496() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed25(core.List<api.Instance> o) {
+checkUnnamed496(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -402,13 +402,13 @@
buildCounterApplication++;
if (buildCounterApplication < 3) {
o.achievementCount = 42;
- o.assets = buildUnnamed23();
+ o.assets = buildUnnamed494();
o.author = "foo";
o.category = buildApplicationCategory();
o.description = "foo";
- o.enabledFeatures = buildUnnamed24();
+ o.enabledFeatures = buildUnnamed495();
o.id = "foo";
- o.instances = buildUnnamed25();
+ o.instances = buildUnnamed496();
o.kind = "foo";
o.lastUpdatedTimestamp = "foo";
o.leaderboardCount = 42;
@@ -422,13 +422,13 @@
buildCounterApplication++;
if (buildCounterApplication < 3) {
unittest.expect(o.achievementCount, unittest.equals(42));
- checkUnnamed23(o.assets);
+ checkUnnamed494(o.assets);
unittest.expect(o.author, unittest.equals('foo'));
checkApplicationCategory(o.category);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed24(o.enabledFeatures);
+ checkUnnamed495(o.enabledFeatures);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed25(o.instances);
+ checkUnnamed496(o.instances);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo'));
unittest.expect(o.leaderboardCount, unittest.equals(42));
@@ -483,14 +483,14 @@
buildCounterCategory--;
}
-buildUnnamed26() {
+buildUnnamed497() {
var o = new core.List<api.Category>();
o.add(buildCategory());
o.add(buildCategory());
return o;
}
-checkUnnamed26(core.List<api.Category> o) {
+checkUnnamed497(core.List<api.Category> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategory(o[0]);
checkCategory(o[1]);
@@ -501,7 +501,7 @@
var o = new api.CategoryListResponse();
buildCounterCategoryListResponse++;
if (buildCounterCategoryListResponse < 3) {
- o.items = buildUnnamed26();
+ o.items = buildUnnamed497();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -512,7 +512,7 @@
checkCategoryListResponse(api.CategoryListResponse o) {
buildCounterCategoryListResponse++;
if (buildCounterCategoryListResponse < 3) {
- checkUnnamed26(o.items);
+ checkUnnamed497(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -563,14 +563,14 @@
buildCounterEventChild--;
}
-buildUnnamed27() {
+buildUnnamed498() {
var o = new core.List<api.EventChild>();
o.add(buildEventChild());
o.add(buildEventChild());
return o;
}
-checkUnnamed27(core.List<api.EventChild> o) {
+checkUnnamed498(core.List<api.EventChild> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventChild(o[0]);
checkEventChild(o[1]);
@@ -581,7 +581,7 @@
var o = new api.EventDefinition();
buildCounterEventDefinition++;
if (buildCounterEventDefinition < 3) {
- o.childEvents = buildUnnamed27();
+ o.childEvents = buildUnnamed498();
o.description = "foo";
o.displayName = "foo";
o.id = "foo";
@@ -597,7 +597,7 @@
checkEventDefinition(api.EventDefinition o) {
buildCounterEventDefinition++;
if (buildCounterEventDefinition < 3) {
- checkUnnamed27(o.childEvents);
+ checkUnnamed498(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 +609,14 @@
buildCounterEventDefinition--;
}
-buildUnnamed28() {
+buildUnnamed499() {
var o = new core.List<api.EventDefinition>();
o.add(buildEventDefinition());
o.add(buildEventDefinition());
return o;
}
-checkUnnamed28(core.List<api.EventDefinition> o) {
+checkUnnamed499(core.List<api.EventDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventDefinition(o[0]);
checkEventDefinition(o[1]);
@@ -627,7 +627,7 @@
var o = new api.EventDefinitionListResponse();
buildCounterEventDefinitionListResponse++;
if (buildCounterEventDefinitionListResponse < 3) {
- o.items = buildUnnamed28();
+ o.items = buildUnnamed499();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -638,7 +638,7 @@
checkEventDefinitionListResponse(api.EventDefinitionListResponse o) {
buildCounterEventDefinitionListResponse++;
if (buildCounterEventDefinitionListResponse < 3) {
- checkUnnamed28(o.items);
+ checkUnnamed499(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -668,14 +668,14 @@
buildCounterEventPeriodRange--;
}
-buildUnnamed29() {
+buildUnnamed500() {
var o = new core.List<api.EventUpdateRequest>();
o.add(buildEventUpdateRequest());
o.add(buildEventUpdateRequest());
return o;
}
-checkUnnamed29(core.List<api.EventUpdateRequest> o) {
+checkUnnamed500(core.List<api.EventUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventUpdateRequest(o[0]);
checkEventUpdateRequest(o[1]);
@@ -688,7 +688,7 @@
if (buildCounterEventPeriodUpdate < 3) {
o.kind = "foo";
o.timePeriod = buildEventPeriodRange();
- o.updates = buildUnnamed29();
+ o.updates = buildUnnamed500();
}
buildCounterEventPeriodUpdate--;
return o;
@@ -699,7 +699,7 @@
if (buildCounterEventPeriodUpdate < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
checkEventPeriodRange(o.timePeriod);
- checkUnnamed29(o.updates);
+ checkUnnamed500(o.updates);
}
buildCounterEventPeriodUpdate--;
}
@@ -727,14 +727,14 @@
buildCounterEventRecordFailure--;
}
-buildUnnamed30() {
+buildUnnamed501() {
var o = new core.List<api.EventPeriodUpdate>();
o.add(buildEventPeriodUpdate());
o.add(buildEventPeriodUpdate());
return o;
}
-checkUnnamed30(core.List<api.EventPeriodUpdate> o) {
+checkUnnamed501(core.List<api.EventPeriodUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventPeriodUpdate(o[0]);
checkEventPeriodUpdate(o[1]);
@@ -748,7 +748,7 @@
o.currentTimeMillis = "foo";
o.kind = "foo";
o.requestId = "foo";
- o.timePeriods = buildUnnamed30();
+ o.timePeriods = buildUnnamed501();
}
buildCounterEventRecordRequest--;
return o;
@@ -760,7 +760,7 @@
unittest.expect(o.currentTimeMillis, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed30(o.timePeriods);
+ checkUnnamed501(o.timePeriods);
}
buildCounterEventRecordRequest--;
}
@@ -788,40 +788,40 @@
buildCounterEventUpdateRequest--;
}
-buildUnnamed31() {
+buildUnnamed502() {
var o = new core.List<api.EventBatchRecordFailure>();
o.add(buildEventBatchRecordFailure());
o.add(buildEventBatchRecordFailure());
return o;
}
-checkUnnamed31(core.List<api.EventBatchRecordFailure> o) {
+checkUnnamed502(core.List<api.EventBatchRecordFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventBatchRecordFailure(o[0]);
checkEventBatchRecordFailure(o[1]);
}
-buildUnnamed32() {
+buildUnnamed503() {
var o = new core.List<api.EventRecordFailure>();
o.add(buildEventRecordFailure());
o.add(buildEventRecordFailure());
return o;
}
-checkUnnamed32(core.List<api.EventRecordFailure> o) {
+checkUnnamed503(core.List<api.EventRecordFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventRecordFailure(o[0]);
checkEventRecordFailure(o[1]);
}
-buildUnnamed33() {
+buildUnnamed504() {
var o = new core.List<api.PlayerEvent>();
o.add(buildPlayerEvent());
o.add(buildPlayerEvent());
return o;
}
-checkUnnamed33(core.List<api.PlayerEvent> o) {
+checkUnnamed504(core.List<api.PlayerEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerEvent(o[0]);
checkPlayerEvent(o[1]);
@@ -832,10 +832,10 @@
var o = new api.EventUpdateResponse();
buildCounterEventUpdateResponse++;
if (buildCounterEventUpdateResponse < 3) {
- o.batchFailures = buildUnnamed31();
- o.eventFailures = buildUnnamed32();
+ o.batchFailures = buildUnnamed502();
+ o.eventFailures = buildUnnamed503();
o.kind = "foo";
- o.playerEvents = buildUnnamed33();
+ o.playerEvents = buildUnnamed504();
}
buildCounterEventUpdateResponse--;
return o;
@@ -844,10 +844,10 @@
checkEventUpdateResponse(api.EventUpdateResponse o) {
buildCounterEventUpdateResponse++;
if (buildCounterEventUpdateResponse < 3) {
- checkUnnamed31(o.batchFailures);
- checkUnnamed32(o.eventFailures);
+ checkUnnamed502(o.batchFailures);
+ checkUnnamed503(o.eventFailures);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed33(o.playerEvents);
+ checkUnnamed504(o.playerEvents);
}
buildCounterEventUpdateResponse--;
}
@@ -1101,14 +1101,14 @@
buildCounterLeaderboardEntry--;
}
-buildUnnamed34() {
+buildUnnamed505() {
var o = new core.List<api.Leaderboard>();
o.add(buildLeaderboard());
o.add(buildLeaderboard());
return o;
}
-checkUnnamed34(core.List<api.Leaderboard> o) {
+checkUnnamed505(core.List<api.Leaderboard> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboard(o[0]);
checkLeaderboard(o[1]);
@@ -1119,7 +1119,7 @@
var o = new api.LeaderboardListResponse();
buildCounterLeaderboardListResponse++;
if (buildCounterLeaderboardListResponse < 3) {
- o.items = buildUnnamed34();
+ o.items = buildUnnamed505();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1130,7 +1130,7 @@
checkLeaderboardListResponse(api.LeaderboardListResponse o) {
buildCounterLeaderboardListResponse++;
if (buildCounterLeaderboardListResponse < 3) {
- checkUnnamed34(o.items);
+ checkUnnamed505(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1164,14 +1164,14 @@
buildCounterLeaderboardScoreRank--;
}
-buildUnnamed35() {
+buildUnnamed506() {
var o = new core.List<api.LeaderboardEntry>();
o.add(buildLeaderboardEntry());
o.add(buildLeaderboardEntry());
return o;
}
-checkUnnamed35(core.List<api.LeaderboardEntry> o) {
+checkUnnamed506(core.List<api.LeaderboardEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboardEntry(o[0]);
checkLeaderboardEntry(o[1]);
@@ -1182,7 +1182,7 @@
var o = new api.LeaderboardScores();
buildCounterLeaderboardScores++;
if (buildCounterLeaderboardScores < 3) {
- o.items = buildUnnamed35();
+ o.items = buildUnnamed506();
o.kind = "foo";
o.nextPageToken = "foo";
o.numScores = "foo";
@@ -1196,7 +1196,7 @@
checkLeaderboardScores(api.LeaderboardScores o) {
buildCounterLeaderboardScores++;
if (buildCounterLeaderboardScores < 3) {
- checkUnnamed35(o.items);
+ checkUnnamed506(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 +1206,14 @@
buildCounterLeaderboardScores--;
}
-buildUnnamed36() {
+buildUnnamed507() {
var o = new core.List<api.PlayerLevel>();
o.add(buildPlayerLevel());
o.add(buildPlayerLevel());
return o;
}
-checkUnnamed36(core.List<api.PlayerLevel> o) {
+checkUnnamed507(core.List<api.PlayerLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerLevel(o[0]);
checkPlayerLevel(o[1]);
@@ -1226,7 +1226,7 @@
if (buildCounterMetagameConfig < 3) {
o.currentVersion = 42;
o.kind = "foo";
- o.playerLevels = buildUnnamed36();
+ o.playerLevels = buildUnnamed507();
}
buildCounterMetagameConfig--;
return o;
@@ -1237,7 +1237,7 @@
if (buildCounterMetagameConfig < 3) {
unittest.expect(o.currentVersion, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed36(o.playerLevels);
+ checkUnnamed507(o.playerLevels);
}
buildCounterMetagameConfig--;
}
@@ -1466,14 +1466,14 @@
buildCounterPlayerAchievement--;
}
-buildUnnamed37() {
+buildUnnamed508() {
var o = new core.List<api.PlayerAchievement>();
o.add(buildPlayerAchievement());
o.add(buildPlayerAchievement());
return o;
}
-checkUnnamed37(core.List<api.PlayerAchievement> o) {
+checkUnnamed508(core.List<api.PlayerAchievement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerAchievement(o[0]);
checkPlayerAchievement(o[1]);
@@ -1484,7 +1484,7 @@
var o = new api.PlayerAchievementListResponse();
buildCounterPlayerAchievementListResponse++;
if (buildCounterPlayerAchievementListResponse < 3) {
- o.items = buildUnnamed37();
+ o.items = buildUnnamed508();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1495,7 +1495,7 @@
checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) {
buildCounterPlayerAchievementListResponse++;
if (buildCounterPlayerAchievementListResponse < 3) {
- checkUnnamed37(o.items);
+ checkUnnamed508(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1529,14 +1529,14 @@
buildCounterPlayerEvent--;
}
-buildUnnamed38() {
+buildUnnamed509() {
var o = new core.List<api.PlayerEvent>();
o.add(buildPlayerEvent());
o.add(buildPlayerEvent());
return o;
}
-checkUnnamed38(core.List<api.PlayerEvent> o) {
+checkUnnamed509(core.List<api.PlayerEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerEvent(o[0]);
checkPlayerEvent(o[1]);
@@ -1547,7 +1547,7 @@
var o = new api.PlayerEventListResponse();
buildCounterPlayerEventListResponse++;
if (buildCounterPlayerEventListResponse < 3) {
- o.items = buildUnnamed38();
+ o.items = buildUnnamed509();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1558,7 +1558,7 @@
checkPlayerEventListResponse(api.PlayerEventListResponse o) {
buildCounterPlayerEventListResponse++;
if (buildCounterPlayerEventListResponse < 3) {
- checkUnnamed38(o.items);
+ checkUnnamed509(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1627,14 +1627,14 @@
buildCounterPlayerLeaderboardScore--;
}
-buildUnnamed39() {
+buildUnnamed510() {
var o = new core.List<api.PlayerLeaderboardScore>();
o.add(buildPlayerLeaderboardScore());
o.add(buildPlayerLeaderboardScore());
return o;
}
-checkUnnamed39(core.List<api.PlayerLeaderboardScore> o) {
+checkUnnamed510(core.List<api.PlayerLeaderboardScore> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerLeaderboardScore(o[0]);
checkPlayerLeaderboardScore(o[1]);
@@ -1645,7 +1645,7 @@
var o = new api.PlayerLeaderboardScoreListResponse();
buildCounterPlayerLeaderboardScoreListResponse++;
if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
- o.items = buildUnnamed39();
+ o.items = buildUnnamed510();
o.kind = "foo";
o.nextPageToken = "foo";
o.player = buildPlayer();
@@ -1657,7 +1657,7 @@
checkPlayerLeaderboardScoreListResponse(api.PlayerLeaderboardScoreListResponse o) {
buildCounterPlayerLeaderboardScoreListResponse++;
if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
- checkUnnamed39(o.items);
+ checkUnnamed510(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPlayer(o.player);
@@ -1690,14 +1690,14 @@
buildCounterPlayerLevel--;
}
-buildUnnamed40() {
+buildUnnamed511() {
var o = new core.List<api.Player>();
o.add(buildPlayer());
o.add(buildPlayer());
return o;
}
-checkUnnamed40(core.List<api.Player> o) {
+checkUnnamed511(core.List<api.Player> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayer(o[0]);
checkPlayer(o[1]);
@@ -1708,7 +1708,7 @@
var o = new api.PlayerListResponse();
buildCounterPlayerListResponse++;
if (buildCounterPlayerListResponse < 3) {
- o.items = buildUnnamed40();
+ o.items = buildUnnamed511();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1719,7 +1719,7 @@
checkPlayerListResponse(api.PlayerListResponse o) {
buildCounterPlayerListResponse++;
if (buildCounterPlayerListResponse < 3) {
- checkUnnamed40(o.items);
+ checkUnnamed511(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1753,14 +1753,14 @@
buildCounterPlayerScore--;
}
-buildUnnamed41() {
+buildUnnamed512() {
var o = new core.List<api.PlayerScoreResponse>();
o.add(buildPlayerScoreResponse());
o.add(buildPlayerScoreResponse());
return o;
}
-checkUnnamed41(core.List<api.PlayerScoreResponse> o) {
+checkUnnamed512(core.List<api.PlayerScoreResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScoreResponse(o[0]);
checkPlayerScoreResponse(o[1]);
@@ -1772,7 +1772,7 @@
buildCounterPlayerScoreListResponse++;
if (buildCounterPlayerScoreListResponse < 3) {
o.kind = "foo";
- o.submittedScores = buildUnnamed41();
+ o.submittedScores = buildUnnamed512();
}
buildCounterPlayerScoreListResponse--;
return o;
@@ -1782,32 +1782,32 @@
buildCounterPlayerScoreListResponse++;
if (buildCounterPlayerScoreListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed41(o.submittedScores);
+ checkUnnamed512(o.submittedScores);
}
buildCounterPlayerScoreListResponse--;
}
-buildUnnamed42() {
+buildUnnamed513() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed42(core.List<core.String> o) {
+checkUnnamed513(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed43() {
+buildUnnamed514() {
var o = new core.List<api.PlayerScore>();
o.add(buildPlayerScore());
o.add(buildPlayerScore());
return o;
}
-checkUnnamed43(core.List<api.PlayerScore> o) {
+checkUnnamed514(core.List<api.PlayerScore> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScore(o[0]);
checkPlayerScore(o[1]);
@@ -1818,12 +1818,12 @@
var o = new api.PlayerScoreResponse();
buildCounterPlayerScoreResponse++;
if (buildCounterPlayerScoreResponse < 3) {
- o.beatenScoreTimeSpans = buildUnnamed42();
+ o.beatenScoreTimeSpans = buildUnnamed513();
o.formattedScore = "foo";
o.kind = "foo";
o.leaderboardId = "foo";
o.scoreTag = "foo";
- o.unbeatenScores = buildUnnamed43();
+ o.unbeatenScores = buildUnnamed514();
}
buildCounterPlayerScoreResponse--;
return o;
@@ -1832,24 +1832,24 @@
checkPlayerScoreResponse(api.PlayerScoreResponse o) {
buildCounterPlayerScoreResponse++;
if (buildCounterPlayerScoreResponse < 3) {
- checkUnnamed42(o.beatenScoreTimeSpans);
+ checkUnnamed513(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'));
- checkUnnamed43(o.unbeatenScores);
+ checkUnnamed514(o.unbeatenScores);
}
buildCounterPlayerScoreResponse--;
}
-buildUnnamed44() {
+buildUnnamed515() {
var o = new core.List<api.ScoreSubmission>();
o.add(buildScoreSubmission());
o.add(buildScoreSubmission());
return o;
}
-checkUnnamed44(core.List<api.ScoreSubmission> o) {
+checkUnnamed515(core.List<api.ScoreSubmission> o) {
unittest.expect(o, unittest.hasLength(2));
checkScoreSubmission(o[0]);
checkScoreSubmission(o[1]);
@@ -1861,7 +1861,7 @@
buildCounterPlayerScoreSubmissionList++;
if (buildCounterPlayerScoreSubmissionList < 3) {
o.kind = "foo";
- o.scores = buildUnnamed44();
+ o.scores = buildUnnamed515();
}
buildCounterPlayerScoreSubmissionList--;
return o;
@@ -1871,7 +1871,7 @@
buildCounterPlayerScoreSubmissionList++;
if (buildCounterPlayerScoreSubmissionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed44(o.scores);
+ checkUnnamed515(o.scores);
}
buildCounterPlayerScoreSubmissionList--;
}
@@ -1943,14 +1943,14 @@
buildCounterPushTokenId--;
}
-buildUnnamed45() {
+buildUnnamed516() {
var o = new core.List<api.QuestMilestone>();
o.add(buildQuestMilestone());
o.add(buildQuestMilestone());
return o;
}
-checkUnnamed45(core.List<api.QuestMilestone> o) {
+checkUnnamed516(core.List<api.QuestMilestone> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuestMilestone(o[0]);
checkQuestMilestone(o[1]);
@@ -1972,7 +1972,7 @@
o.isDefaultIconUrl = true;
o.kind = "foo";
o.lastUpdatedTimestampMillis = "foo";
- o.milestones = buildUnnamed45();
+ o.milestones = buildUnnamed516();
o.name = "foo";
o.notifyTimestampMillis = "foo";
o.startTimestampMillis = "foo";
@@ -1996,7 +1996,7 @@
unittest.expect(o.isDefaultIconUrl, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo'));
- checkUnnamed45(o.milestones);
+ checkUnnamed516(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 +2055,14 @@
buildCounterQuestCriterion--;
}
-buildUnnamed46() {
+buildUnnamed517() {
var o = new core.List<api.Quest>();
o.add(buildQuest());
o.add(buildQuest());
return o;
}
-checkUnnamed46(core.List<api.Quest> o) {
+checkUnnamed517(core.List<api.Quest> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuest(o[0]);
checkQuest(o[1]);
@@ -2073,7 +2073,7 @@
var o = new api.QuestListResponse();
buildCounterQuestListResponse++;
if (buildCounterQuestListResponse < 3) {
- o.items = buildUnnamed46();
+ o.items = buildUnnamed517();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2084,21 +2084,21 @@
checkQuestListResponse(api.QuestListResponse o) {
buildCounterQuestListResponse++;
if (buildCounterQuestListResponse < 3) {
- checkUnnamed46(o.items);
+ checkUnnamed517(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterQuestListResponse--;
}
-buildUnnamed47() {
+buildUnnamed518() {
var o = new core.List<api.QuestCriterion>();
o.add(buildQuestCriterion());
o.add(buildQuestCriterion());
return o;
}
-checkUnnamed47(core.List<api.QuestCriterion> o) {
+checkUnnamed518(core.List<api.QuestCriterion> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuestCriterion(o[0]);
checkQuestCriterion(o[1]);
@@ -2110,7 +2110,7 @@
buildCounterQuestMilestone++;
if (buildCounterQuestMilestone < 3) {
o.completionRewardData = "foo";
- o.criteria = buildUnnamed47();
+ o.criteria = buildUnnamed518();
o.id = "foo";
o.kind = "foo";
o.state = "foo";
@@ -2123,7 +2123,7 @@
buildCounterQuestMilestone++;
if (buildCounterQuestMilestone < 3) {
unittest.expect(o.completionRewardData, unittest.equals('foo'));
- checkUnnamed47(o.criteria);
+ checkUnnamed518(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 +2154,14 @@
buildCounterRevisionCheckResponse--;
}
-buildUnnamed48() {
+buildUnnamed519() {
var o = new core.List<api.RoomParticipant>();
o.add(buildRoomParticipant());
o.add(buildRoomParticipant());
return o;
}
-checkUnnamed48(core.List<api.RoomParticipant> o) {
+checkUnnamed519(core.List<api.RoomParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomParticipant(o[0]);
checkRoomParticipant(o[1]);
@@ -2180,7 +2180,7 @@
o.inviterId = "foo";
o.kind = "foo";
o.lastUpdateDetails = buildRoomModification();
- o.participants = buildUnnamed48();
+ o.participants = buildUnnamed519();
o.roomId = "foo";
o.roomStatusVersion = 42;
o.status = "foo";
@@ -2201,7 +2201,7 @@
unittest.expect(o.inviterId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkRoomModification(o.lastUpdateDetails);
- checkUnnamed48(o.participants);
+ checkUnnamed519(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 +2277,27 @@
buildCounterRoomClientAddress--;
}
-buildUnnamed49() {
+buildUnnamed520() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed49(core.List<core.String> o) {
+checkUnnamed520(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed50() {
+buildUnnamed521() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed50(core.List<core.String> o) {
+checkUnnamed521(core.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 +2309,9 @@
buildCounterRoomCreateRequest++;
if (buildCounterRoomCreateRequest < 3) {
o.autoMatchingCriteria = buildRoomAutoMatchingCriteria();
- o.capabilities = buildUnnamed49();
+ o.capabilities = buildUnnamed520();
o.clientAddress = buildRoomClientAddress();
- o.invitedPlayerIds = buildUnnamed50();
+ o.invitedPlayerIds = buildUnnamed521();
o.kind = "foo";
o.networkDiagnostics = buildNetworkDiagnostics();
o.requestId = "foo";
@@ -2325,9 +2325,9 @@
buildCounterRoomCreateRequest++;
if (buildCounterRoomCreateRequest < 3) {
checkRoomAutoMatchingCriteria(o.autoMatchingCriteria);
- checkUnnamed49(o.capabilities);
+ checkUnnamed520(o.capabilities);
checkRoomClientAddress(o.clientAddress);
- checkUnnamed50(o.invitedPlayerIds);
+ checkUnnamed521(o.invitedPlayerIds);
unittest.expect(o.kind, unittest.equals('foo'));
checkNetworkDiagnostics(o.networkDiagnostics);
unittest.expect(o.requestId, unittest.equals('foo'));
@@ -2336,14 +2336,14 @@
buildCounterRoomCreateRequest--;
}
-buildUnnamed51() {
+buildUnnamed522() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed51(core.List<core.String> o) {
+checkUnnamed522(core.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 +2354,7 @@
var o = new api.RoomJoinRequest();
buildCounterRoomJoinRequest++;
if (buildCounterRoomJoinRequest < 3) {
- o.capabilities = buildUnnamed51();
+ o.capabilities = buildUnnamed522();
o.clientAddress = buildRoomClientAddress();
o.kind = "foo";
o.networkDiagnostics = buildNetworkDiagnostics();
@@ -2366,7 +2366,7 @@
checkRoomJoinRequest(api.RoomJoinRequest o) {
buildCounterRoomJoinRequest++;
if (buildCounterRoomJoinRequest < 3) {
- checkUnnamed51(o.capabilities);
+ checkUnnamed522(o.capabilities);
checkRoomClientAddress(o.clientAddress);
unittest.expect(o.kind, unittest.equals('foo'));
checkNetworkDiagnostics(o.networkDiagnostics);
@@ -2374,14 +2374,14 @@
buildCounterRoomJoinRequest--;
}
-buildUnnamed52() {
+buildUnnamed523() {
var o = new core.List<api.PeerSessionDiagnostics>();
o.add(buildPeerSessionDiagnostics());
o.add(buildPeerSessionDiagnostics());
return o;
}
-checkUnnamed52(core.List<api.PeerSessionDiagnostics> o) {
+checkUnnamed523(core.List<api.PeerSessionDiagnostics> o) {
unittest.expect(o, unittest.hasLength(2));
checkPeerSessionDiagnostics(o[0]);
checkPeerSessionDiagnostics(o[1]);
@@ -2398,7 +2398,7 @@
o.kind = "foo";
o.networkOperatorCode = "foo";
o.networkOperatorName = "foo";
- o.peerSession = buildUnnamed52();
+ o.peerSession = buildUnnamed523();
o.socketsUsed = true;
}
buildCounterRoomLeaveDiagnostics--;
@@ -2414,7 +2414,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.networkOperatorCode, unittest.equals('foo'));
unittest.expect(o.networkOperatorName, unittest.equals('foo'));
- checkUnnamed52(o.peerSession);
+ checkUnnamed523(o.peerSession);
unittest.expect(o.socketsUsed, unittest.isTrue);
}
buildCounterRoomLeaveDiagnostics--;
@@ -2443,14 +2443,14 @@
buildCounterRoomLeaveRequest--;
}
-buildUnnamed53() {
+buildUnnamed524() {
var o = new core.List<api.Room>();
o.add(buildRoom());
o.add(buildRoom());
return o;
}
-checkUnnamed53(core.List<api.Room> o) {
+checkUnnamed524(core.List<api.Room> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoom(o[0]);
checkRoom(o[1]);
@@ -2461,7 +2461,7 @@
var o = new api.RoomList();
buildCounterRoomList++;
if (buildCounterRoomList < 3) {
- o.items = buildUnnamed53();
+ o.items = buildUnnamed524();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2472,7 +2472,7 @@
checkRoomList(api.RoomList o) {
buildCounterRoomList++;
if (buildCounterRoomList < 3) {
- checkUnnamed53(o.items);
+ checkUnnamed524(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2533,14 +2533,14 @@
buildCounterRoomP2PStatus--;
}
-buildUnnamed54() {
+buildUnnamed525() {
var o = new core.List<api.RoomP2PStatus>();
o.add(buildRoomP2PStatus());
o.add(buildRoomP2PStatus());
return o;
}
-checkUnnamed54(core.List<api.RoomP2PStatus> o) {
+checkUnnamed525(core.List<api.RoomP2PStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomP2PStatus(o[0]);
checkRoomP2PStatus(o[1]);
@@ -2552,7 +2552,7 @@
buildCounterRoomP2PStatuses++;
if (buildCounterRoomP2PStatuses < 3) {
o.kind = "foo";
- o.updates = buildUnnamed54();
+ o.updates = buildUnnamed525();
}
buildCounterRoomP2PStatuses--;
return o;
@@ -2562,19 +2562,19 @@
buildCounterRoomP2PStatuses++;
if (buildCounterRoomP2PStatuses < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed54(o.updates);
+ checkUnnamed525(o.updates);
}
buildCounterRoomP2PStatuses--;
}
-buildUnnamed55() {
+buildUnnamed526() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed55(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'));
@@ -2587,7 +2587,7 @@
if (buildCounterRoomParticipant < 3) {
o.autoMatched = true;
o.autoMatchedPlayer = buildAnonymousPlayer();
- o.capabilities = buildUnnamed55();
+ o.capabilities = buildUnnamed526();
o.clientAddress = buildRoomClientAddress();
o.connected = true;
o.id = "foo";
@@ -2605,7 +2605,7 @@
if (buildCounterRoomParticipant < 3) {
unittest.expect(o.autoMatched, unittest.isTrue);
checkAnonymousPlayer(o.autoMatchedPlayer);
- checkUnnamed55(o.capabilities);
+ checkUnnamed526(o.capabilities);
checkRoomClientAddress(o.clientAddress);
unittest.expect(o.connected, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
@@ -2617,14 +2617,14 @@
buildCounterRoomParticipant--;
}
-buildUnnamed56() {
+buildUnnamed527() {
var o = new core.List<api.RoomParticipant>();
o.add(buildRoomParticipant());
o.add(buildRoomParticipant());
return o;
}
-checkUnnamed56(core.List<api.RoomParticipant> o) {
+checkUnnamed527(core.List<api.RoomParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomParticipant(o[0]);
checkRoomParticipant(o[1]);
@@ -2637,7 +2637,7 @@
if (buildCounterRoomStatus < 3) {
o.autoMatchingStatus = buildRoomAutoMatchStatus();
o.kind = "foo";
- o.participants = buildUnnamed56();
+ o.participants = buildUnnamed527();
o.roomId = "foo";
o.status = "foo";
o.statusVersion = 42;
@@ -2651,7 +2651,7 @@
if (buildCounterRoomStatus < 3) {
checkRoomAutoMatchStatus(o.autoMatchingStatus);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed56(o.participants);
+ checkUnnamed527(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 +2750,14 @@
buildCounterSnapshotImage--;
}
-buildUnnamed57() {
+buildUnnamed528() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed57(core.List<api.Snapshot> o) {
+checkUnnamed528(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -2768,7 +2768,7 @@
var o = new api.SnapshotListResponse();
buildCounterSnapshotListResponse++;
if (buildCounterSnapshotListResponse < 3) {
- o.items = buildUnnamed57();
+ o.items = buildUnnamed528();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2779,7 +2779,7 @@
checkSnapshotListResponse(api.SnapshotListResponse o) {
buildCounterSnapshotListResponse++;
if (buildCounterSnapshotListResponse < 3) {
- checkUnnamed57(o.items);
+ checkUnnamed528(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2811,27 +2811,27 @@
buildCounterTurnBasedAutoMatchingCriteria--;
}
-buildUnnamed58() {
+buildUnnamed529() {
var o = new core.List<api.TurnBasedMatchParticipant>();
o.add(buildTurnBasedMatchParticipant());
o.add(buildTurnBasedMatchParticipant());
return o;
}
-checkUnnamed58(core.List<api.TurnBasedMatchParticipant> o) {
+checkUnnamed529(core.List<api.TurnBasedMatchParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatchParticipant(o[0]);
checkTurnBasedMatchParticipant(o[1]);
}
-buildUnnamed59() {
+buildUnnamed530() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed59(core.List<api.ParticipantResult> o) {
+checkUnnamed530(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -2853,11 +2853,11 @@
o.matchId = "foo";
o.matchNumber = 42;
o.matchVersion = 42;
- o.participants = buildUnnamed58();
+ o.participants = buildUnnamed529();
o.pendingParticipantId = "foo";
o.previousMatchData = buildTurnBasedMatchData();
o.rematchId = "foo";
- o.results = buildUnnamed59();
+ o.results = buildUnnamed530();
o.status = "foo";
o.userMatchStatus = "foo";
o.variant = 42;
@@ -2881,11 +2881,11 @@
unittest.expect(o.matchId, unittest.equals('foo'));
unittest.expect(o.matchNumber, unittest.equals(42));
unittest.expect(o.matchVersion, unittest.equals(42));
- checkUnnamed58(o.participants);
+ checkUnnamed529(o.participants);
unittest.expect(o.pendingParticipantId, unittest.equals('foo'));
checkTurnBasedMatchData(o.previousMatchData);
unittest.expect(o.rematchId, unittest.equals('foo'));
- checkUnnamed59(o.results);
+ checkUnnamed530(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 +2894,14 @@
buildCounterTurnBasedMatch--;
}
-buildUnnamed60() {
+buildUnnamed531() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed60(core.List<core.String> o) {
+checkUnnamed531(core.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 +2913,7 @@
buildCounterTurnBasedMatchCreateRequest++;
if (buildCounterTurnBasedMatchCreateRequest < 3) {
o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria();
- o.invitedPlayerIds = buildUnnamed60();
+ o.invitedPlayerIds = buildUnnamed531();
o.kind = "foo";
o.requestId = "foo";
o.variant = 42;
@@ -2926,7 +2926,7 @@
buildCounterTurnBasedMatchCreateRequest++;
if (buildCounterTurnBasedMatchCreateRequest < 3) {
checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria);
- checkUnnamed60(o.invitedPlayerIds);
+ checkUnnamed531(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 +2978,14 @@
buildCounterTurnBasedMatchDataRequest--;
}
-buildUnnamed61() {
+buildUnnamed532() {
var o = new core.List<api.TurnBasedMatch>();
o.add(buildTurnBasedMatch());
o.add(buildTurnBasedMatch());
return o;
}
-checkUnnamed61(core.List<api.TurnBasedMatch> o) {
+checkUnnamed532(core.List<api.TurnBasedMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatch(o[0]);
checkTurnBasedMatch(o[1]);
@@ -2996,7 +2996,7 @@
var o = new api.TurnBasedMatchList();
buildCounterTurnBasedMatchList++;
if (buildCounterTurnBasedMatchList < 3) {
- o.items = buildUnnamed61();
+ o.items = buildUnnamed532();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3007,7 +3007,7 @@
checkTurnBasedMatchList(api.TurnBasedMatchList o) {
buildCounterTurnBasedMatchList++;
if (buildCounterTurnBasedMatchList < 3) {
- checkUnnamed61(o.items);
+ checkUnnamed532(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3089,14 +3089,14 @@
buildCounterTurnBasedMatchRematch--;
}
-buildUnnamed62() {
+buildUnnamed533() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed62(core.List<api.ParticipantResult> o) {
+checkUnnamed533(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -3110,7 +3110,7 @@
o.data = buildTurnBasedMatchDataRequest();
o.kind = "foo";
o.matchVersion = 42;
- o.results = buildUnnamed62();
+ o.results = buildUnnamed533();
}
buildCounterTurnBasedMatchResults--;
return o;
@@ -3122,19 +3122,19 @@
checkTurnBasedMatchDataRequest(o.data);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.matchVersion, unittest.equals(42));
- checkUnnamed62(o.results);
+ checkUnnamed533(o.results);
}
buildCounterTurnBasedMatchResults--;
}
-buildUnnamed63() {
+buildUnnamed534() {
var o = new core.List<api.TurnBasedMatch>();
o.add(buildTurnBasedMatch());
o.add(buildTurnBasedMatch());
return o;
}
-checkUnnamed63(core.List<api.TurnBasedMatch> o) {
+checkUnnamed534(core.List<api.TurnBasedMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatch(o[0]);
checkTurnBasedMatch(o[1]);
@@ -3145,7 +3145,7 @@
var o = new api.TurnBasedMatchSync();
buildCounterTurnBasedMatchSync++;
if (buildCounterTurnBasedMatchSync < 3) {
- o.items = buildUnnamed63();
+ o.items = buildUnnamed534();
o.kind = "foo";
o.moreAvailable = true;
o.nextPageToken = "foo";
@@ -3157,7 +3157,7 @@
checkTurnBasedMatchSync(api.TurnBasedMatchSync o) {
buildCounterTurnBasedMatchSync++;
if (buildCounterTurnBasedMatchSync < 3) {
- checkUnnamed63(o.items);
+ checkUnnamed534(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.moreAvailable, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -3165,14 +3165,14 @@
buildCounterTurnBasedMatchSync--;
}
-buildUnnamed64() {
+buildUnnamed535() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed64(core.List<api.ParticipantResult> o) {
+checkUnnamed535(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -3187,7 +3187,7 @@
o.kind = "foo";
o.matchVersion = 42;
o.pendingParticipantId = "foo";
- o.results = buildUnnamed64();
+ o.results = buildUnnamed535();
}
buildCounterTurnBasedMatchTurn--;
return o;
@@ -3200,7 +3200,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.matchVersion, unittest.equals(42));
unittest.expect(o.pendingParticipantId, unittest.equals('foo'));
- checkUnnamed64(o.results);
+ checkUnnamed535(o.results);
}
buildCounterTurnBasedMatchTurn--;
}
diff --git a/generated/googleapis/test/gamesmanagement/v1management_test.dart b/generated/googleapis/test/gamesmanagement/v1management_test.dart
index c137213..90152ce 100644
--- a/generated/googleapis/test/gamesmanagement/v1management_test.dart
+++ b/generated/googleapis/test/gamesmanagement/v1management_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed456() {
+buildUnnamed75() {
var o = new core.List<api.AchievementResetResponse>();
o.add(buildAchievementResetResponse());
o.add(buildAchievementResetResponse());
return o;
}
-checkUnnamed456(core.List<api.AchievementResetResponse> o) {
+checkUnnamed75(core.List<api.AchievementResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementResetResponse(o[0]);
checkAchievementResetResponse(o[1]);
@@ -35,7 +35,7 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed456();
+ o.results = buildUnnamed75();
}
buildCounterAchievementResetAllResponse--;
return o;
@@ -45,7 +45,7 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed456(o.results);
+ checkUnnamed75(o.results);
}
buildCounterAchievementResetAllResponse--;
}
@@ -167,14 +167,14 @@
buildCounterHiddenPlayer--;
}
-buildUnnamed457() {
+buildUnnamed76() {
var o = new core.List<api.HiddenPlayer>();
o.add(buildHiddenPlayer());
o.add(buildHiddenPlayer());
return o;
}
-checkUnnamed457(core.List<api.HiddenPlayer> o) {
+checkUnnamed76(core.List<api.HiddenPlayer> o) {
unittest.expect(o, unittest.hasLength(2));
checkHiddenPlayer(o[0]);
checkHiddenPlayer(o[1]);
@@ -185,7 +185,7 @@
var o = new api.HiddenPlayerList();
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- o.items = buildUnnamed457();
+ o.items = buildUnnamed76();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -196,7 +196,7 @@
checkHiddenPlayerList(api.HiddenPlayerList o) {
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- checkUnnamed457(o.items);
+ checkUnnamed76(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -257,14 +257,14 @@
buildCounterPlayer--;
}
-buildUnnamed458() {
+buildUnnamed77() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed458(core.List<core.String> o) {
+checkUnnamed77(core.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 +276,7 @@
buildCounterPlayerScoreResetResponse++;
if (buildCounterPlayerScoreResetResponse < 3) {
o.kind = "foo";
- o.resetScoreTimeSpans = buildUnnamed458();
+ o.resetScoreTimeSpans = buildUnnamed77();
}
buildCounterPlayerScoreResetResponse--;
return o;
@@ -286,7 +286,7 @@
buildCounterPlayerScoreResetResponse++;
if (buildCounterPlayerScoreResetResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed458(o.resetScoreTimeSpans);
+ checkUnnamed77(o.resetScoreTimeSpans);
}
buildCounterPlayerScoreResetResponse--;
}
diff --git a/generated/googleapis/test/gmail/v1_test.dart b/generated/googleapis/test/gmail/v1_test.dart
index b90e3f0..4e75094 100644
--- a/generated/googleapis/test/gmail/v1_test.dart
+++ b/generated/googleapis/test/gmail/v1_test.dart
@@ -37,14 +37,14 @@
buildCounterDraft--;
}
-buildUnnamed190() {
+buildUnnamed824() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed190(core.List<api.Message> o) {
+checkUnnamed824(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 = buildUnnamed190();
+ o.messages = buildUnnamed824();
}
buildCounterHistory--;
return o;
@@ -66,7 +66,7 @@
buildCounterHistory++;
if (buildCounterHistory < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed190(o.messages);
+ checkUnnamed824(o.messages);
}
buildCounterHistory--;
}
@@ -98,14 +98,14 @@
buildCounterLabel--;
}
-buildUnnamed191() {
+buildUnnamed825() {
var o = new core.List<api.Draft>();
o.add(buildDraft());
o.add(buildDraft());
return o;
}
-checkUnnamed191(core.List<api.Draft> o) {
+checkUnnamed825(core.List<api.Draft> o) {
unittest.expect(o, unittest.hasLength(2));
checkDraft(o[0]);
checkDraft(o[1]);
@@ -116,7 +116,7 @@
var o = new api.ListDraftsResponse();
buildCounterListDraftsResponse++;
if (buildCounterListDraftsResponse < 3) {
- o.drafts = buildUnnamed191();
+ o.drafts = buildUnnamed825();
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
}
@@ -127,21 +127,21 @@
checkListDraftsResponse(api.ListDraftsResponse o) {
buildCounterListDraftsResponse++;
if (buildCounterListDraftsResponse < 3) {
- checkUnnamed191(o.drafts);
+ checkUnnamed825(o.drafts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
}
buildCounterListDraftsResponse--;
}
-buildUnnamed192() {
+buildUnnamed826() {
var o = new core.List<api.History>();
o.add(buildHistory());
o.add(buildHistory());
return o;
}
-checkUnnamed192(core.List<api.History> o) {
+checkUnnamed826(core.List<api.History> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistory(o[0]);
checkHistory(o[1]);
@@ -152,7 +152,7 @@
var o = new api.ListHistoryResponse();
buildCounterListHistoryResponse++;
if (buildCounterListHistoryResponse < 3) {
- o.history = buildUnnamed192();
+ o.history = buildUnnamed826();
o.historyId = "foo";
o.nextPageToken = "foo";
}
@@ -163,21 +163,21 @@
checkListHistoryResponse(api.ListHistoryResponse o) {
buildCounterListHistoryResponse++;
if (buildCounterListHistoryResponse < 3) {
- checkUnnamed192(o.history);
+ checkUnnamed826(o.history);
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListHistoryResponse--;
}
-buildUnnamed193() {
+buildUnnamed827() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed193(core.List<api.Label> o) {
+checkUnnamed827(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
@@ -188,7 +188,7 @@
var o = new api.ListLabelsResponse();
buildCounterListLabelsResponse++;
if (buildCounterListLabelsResponse < 3) {
- o.labels = buildUnnamed193();
+ o.labels = buildUnnamed827();
}
buildCounterListLabelsResponse--;
return o;
@@ -197,19 +197,19 @@
checkListLabelsResponse(api.ListLabelsResponse o) {
buildCounterListLabelsResponse++;
if (buildCounterListLabelsResponse < 3) {
- checkUnnamed193(o.labels);
+ checkUnnamed827(o.labels);
}
buildCounterListLabelsResponse--;
}
-buildUnnamed194() {
+buildUnnamed828() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed194(core.List<api.Message> o) {
+checkUnnamed828(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
@@ -220,7 +220,7 @@
var o = new api.ListMessagesResponse();
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- o.messages = buildUnnamed194();
+ o.messages = buildUnnamed828();
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
}
@@ -231,21 +231,21 @@
checkListMessagesResponse(api.ListMessagesResponse o) {
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- checkUnnamed194(o.messages);
+ checkUnnamed828(o.messages);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
}
buildCounterListMessagesResponse--;
}
-buildUnnamed195() {
+buildUnnamed829() {
var o = new core.List<api.Thread>();
o.add(buildThread());
o.add(buildThread());
return o;
}
-checkUnnamed195(core.List<api.Thread> o) {
+checkUnnamed829(core.List<api.Thread> o) {
unittest.expect(o, unittest.hasLength(2));
checkThread(o[0]);
checkThread(o[1]);
@@ -258,7 +258,7 @@
if (buildCounterListThreadsResponse < 3) {
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
- o.threads = buildUnnamed195();
+ o.threads = buildUnnamed829();
}
buildCounterListThreadsResponse--;
return o;
@@ -269,19 +269,19 @@
if (buildCounterListThreadsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
- checkUnnamed195(o.threads);
+ checkUnnamed829(o.threads);
}
buildCounterListThreadsResponse--;
}
-buildUnnamed196() {
+buildUnnamed830() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed196(core.List<core.String> o) {
+checkUnnamed830(core.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 +294,7 @@
if (buildCounterMessage < 3) {
o.historyId = "foo";
o.id = "foo";
- o.labelIds = buildUnnamed196();
+ o.labelIds = buildUnnamed830();
o.payload = buildMessagePart();
o.raw = "foo";
o.sizeEstimate = 42;
@@ -310,7 +310,7 @@
if (buildCounterMessage < 3) {
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed196(o.labelIds);
+ checkUnnamed830(o.labelIds);
checkMessagePart(o.payload);
unittest.expect(o.raw, unittest.equals('foo'));
unittest.expect(o.sizeEstimate, unittest.equals(42));
@@ -320,27 +320,27 @@
buildCounterMessage--;
}
-buildUnnamed197() {
+buildUnnamed831() {
var o = new core.List<api.MessagePartHeader>();
o.add(buildMessagePartHeader());
o.add(buildMessagePartHeader());
return o;
}
-checkUnnamed197(core.List<api.MessagePartHeader> o) {
+checkUnnamed831(core.List<api.MessagePartHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessagePartHeader(o[0]);
checkMessagePartHeader(o[1]);
}
-buildUnnamed198() {
+buildUnnamed832() {
var o = new core.List<api.MessagePart>();
o.add(buildMessagePart());
o.add(buildMessagePart());
return o;
}
-checkUnnamed198(core.List<api.MessagePart> o) {
+checkUnnamed832(core.List<api.MessagePart> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessagePart(o[0]);
checkMessagePart(o[1]);
@@ -353,10 +353,10 @@
if (buildCounterMessagePart < 3) {
o.body = buildMessagePartBody();
o.filename = "foo";
- o.headers = buildUnnamed197();
+ o.headers = buildUnnamed831();
o.mimeType = "foo";
o.partId = "foo";
- o.parts = buildUnnamed198();
+ o.parts = buildUnnamed832();
}
buildCounterMessagePart--;
return o;
@@ -367,10 +367,10 @@
if (buildCounterMessagePart < 3) {
checkMessagePartBody(o.body);
unittest.expect(o.filename, unittest.equals('foo'));
- checkUnnamed197(o.headers);
+ checkUnnamed831(o.headers);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.partId, unittest.equals('foo'));
- checkUnnamed198(o.parts);
+ checkUnnamed832(o.parts);
}
buildCounterMessagePart--;
}
@@ -419,27 +419,27 @@
buildCounterMessagePartHeader--;
}
-buildUnnamed199() {
+buildUnnamed833() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed199(core.List<core.String> o) {
+checkUnnamed833(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed200() {
+buildUnnamed834() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed200(core.List<core.String> o) {
+checkUnnamed834(core.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 +450,8 @@
var o = new api.ModifyMessageRequest();
buildCounterModifyMessageRequest++;
if (buildCounterModifyMessageRequest < 3) {
- o.addLabelIds = buildUnnamed199();
- o.removeLabelIds = buildUnnamed200();
+ o.addLabelIds = buildUnnamed833();
+ o.removeLabelIds = buildUnnamed834();
}
buildCounterModifyMessageRequest--;
return o;
@@ -460,33 +460,33 @@
checkModifyMessageRequest(api.ModifyMessageRequest o) {
buildCounterModifyMessageRequest++;
if (buildCounterModifyMessageRequest < 3) {
- checkUnnamed199(o.addLabelIds);
- checkUnnamed200(o.removeLabelIds);
+ checkUnnamed833(o.addLabelIds);
+ checkUnnamed834(o.removeLabelIds);
}
buildCounterModifyMessageRequest--;
}
-buildUnnamed201() {
+buildUnnamed835() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed201(core.List<core.String> o) {
+checkUnnamed835(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed202() {
+buildUnnamed836() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed202(core.List<core.String> o) {
+checkUnnamed836(core.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 +497,8 @@
var o = new api.ModifyThreadRequest();
buildCounterModifyThreadRequest++;
if (buildCounterModifyThreadRequest < 3) {
- o.addLabelIds = buildUnnamed201();
- o.removeLabelIds = buildUnnamed202();
+ o.addLabelIds = buildUnnamed835();
+ o.removeLabelIds = buildUnnamed836();
}
buildCounterModifyThreadRequest--;
return o;
@@ -507,20 +507,20 @@
checkModifyThreadRequest(api.ModifyThreadRequest o) {
buildCounterModifyThreadRequest++;
if (buildCounterModifyThreadRequest < 3) {
- checkUnnamed201(o.addLabelIds);
- checkUnnamed202(o.removeLabelIds);
+ checkUnnamed835(o.addLabelIds);
+ checkUnnamed836(o.removeLabelIds);
}
buildCounterModifyThreadRequest--;
}
-buildUnnamed203() {
+buildUnnamed837() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed203(core.List<api.Message> o) {
+checkUnnamed837(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
@@ -533,7 +533,7 @@
if (buildCounterThread < 3) {
o.historyId = "foo";
o.id = "foo";
- o.messages = buildUnnamed203();
+ o.messages = buildUnnamed837();
o.snippet = "foo";
}
buildCounterThread--;
@@ -545,46 +545,46 @@
if (buildCounterThread < 3) {
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed203(o.messages);
+ checkUnnamed837(o.messages);
unittest.expect(o.snippet, unittest.equals('foo'));
}
buildCounterThread--;
}
-buildUnnamed204() {
+buildUnnamed838() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed204(core.List<core.String> o) {
+checkUnnamed838(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed205() {
+buildUnnamed839() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed205(core.List<core.String> o) {
+checkUnnamed839(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed206() {
+buildUnnamed840() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed206(core.List<core.String> o) {
+checkUnnamed840(core.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 +1381,7 @@
var arg_userId = "foo";
var arg_id = "foo";
var arg_format = "foo";
- var arg_metadataHeaders = buildUnnamed204();
+ var arg_metadataHeaders = buildUnnamed838();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1527,7 +1527,7 @@
api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages;
var arg_userId = "foo";
var arg_includeSpamTrash = true;
- var arg_labelIds = buildUnnamed205();
+ var arg_labelIds = buildUnnamed839();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_q = "foo";
@@ -1896,7 +1896,7 @@
api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads;
var arg_userId = "foo";
var arg_includeSpamTrash = true;
- var arg_labelIds = buildUnnamed206();
+ var arg_labelIds = buildUnnamed840();
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 bede624..545440b 100644
--- a/generated/googleapis/test/identitytoolkit/v3_test.dart
+++ b/generated/googleapis/test/identitytoolkit/v3_test.dart
@@ -64,14 +64,14 @@
buildCounterDeleteAccountResponse--;
}
-buildUnnamed961() {
+buildUnnamed329() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed961(core.List<api.UserInfo> o) {
+checkUnnamed329(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 = buildUnnamed961();
+ o.users = buildUnnamed329();
}
buildCounterDownloadAccountResponse--;
return o;
@@ -95,19 +95,19 @@
if (buildCounterDownloadAccountResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed961(o.users);
+ checkUnnamed329(o.users);
}
buildCounterDownloadAccountResponse--;
}
-buildUnnamed962() {
+buildUnnamed330() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed962(core.List<api.UserInfo> o) {
+checkUnnamed330(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 = buildUnnamed962();
+ o.users = buildUnnamed330();
}
buildCounterGetAccountInfoResponse--;
return o;
@@ -129,7 +129,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed962(o.users);
+ checkUnnamed330(o.users);
}
buildCounterGetAccountInfoResponse--;
}
@@ -228,27 +228,27 @@
buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--;
}
-buildUnnamed963() {
+buildUnnamed331() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed963(core.List<core.String> o) {
+checkUnnamed331(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed964() {
+buildUnnamed332() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed964(core.List<core.String> o) {
+checkUnnamed332(core.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 = buildUnnamed963();
+ o.email = buildUnnamed331();
o.idToken = "foo";
- o.localId = buildUnnamed964();
+ o.localId = buildUnnamed332();
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
return o;
@@ -270,9 +270,9 @@
checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelyingpartyGetAccountInfoRequest o) {
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
- checkUnnamed963(o.email);
+ checkUnnamed331(o.email);
unittest.expect(o.idToken, unittest.equals('foo'));
- checkUnnamed964(o.localId);
+ checkUnnamed332(o.localId);
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
}
@@ -315,14 +315,14 @@
buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--;
}
-buildUnnamed965() {
+buildUnnamed333() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed965(core.List<core.String> o) {
+checkUnnamed333(core.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 = buildUnnamed965();
+ o.provider = buildUnnamed333();
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'));
- checkUnnamed965(o.provider);
+ checkUnnamed333(o.provider);
unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue);
}
buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--;
}
-buildUnnamed966() {
+buildUnnamed334() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed966(core.List<api.UserInfo> o) {
+checkUnnamed334(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 = buildUnnamed966();
+ o.users = buildUnnamed334();
}
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'));
- checkUnnamed966(o.users);
+ checkUnnamed334(o.users);
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
}
@@ -536,14 +536,14 @@
buildCounterSetAccountInfoResponseProviderUserInfo--;
}
-buildUnnamed967() {
+buildUnnamed335() {
var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>();
o.add(buildSetAccountInfoResponseProviderUserInfo());
o.add(buildSetAccountInfoResponseProviderUserInfo());
return o;
}
-checkUnnamed967(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
+checkUnnamed335(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 = buildUnnamed967();
+ o.providerUserInfo = buildUnnamed335();
}
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'));
- checkUnnamed967(o.providerUserInfo);
+ checkUnnamed335(o.providerUserInfo);
}
buildCounterSetAccountInfoResponse--;
}
@@ -597,14 +597,14 @@
buildCounterUploadAccountResponseError--;
}
-buildUnnamed968() {
+buildUnnamed336() {
var o = new core.List<api.UploadAccountResponseError>();
o.add(buildUploadAccountResponseError());
o.add(buildUploadAccountResponseError());
return o;
}
-checkUnnamed968(core.List<api.UploadAccountResponseError> o) {
+checkUnnamed336(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 = buildUnnamed968();
+ o.error = buildUnnamed336();
o.kind = "foo";
}
buildCounterUploadAccountResponse--;
@@ -625,7 +625,7 @@
checkUploadAccountResponse(api.UploadAccountResponse o) {
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- checkUnnamed968(o.error);
+ checkUnnamed336(o.error);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUploadAccountResponse--;
@@ -656,14 +656,14 @@
buildCounterUserInfoProviderUserInfo--;
}
-buildUnnamed969() {
+buildUnnamed337() {
var o = new core.List<api.UserInfoProviderUserInfo>();
o.add(buildUserInfoProviderUserInfo());
o.add(buildUserInfoProviderUserInfo());
return o;
}
-checkUnnamed969(core.List<api.UserInfoProviderUserInfo> o) {
+checkUnnamed337(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 = buildUnnamed969();
+ o.providerUserInfo = buildUnnamed337();
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'));
- checkUnnamed969(o.providerUserInfo);
+ checkUnnamed337(o.providerUserInfo);
unittest.expect(o.salt, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterUserInfo--;
}
-buildUnnamed970() {
+buildUnnamed338() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed970(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'));
@@ -750,7 +750,7 @@
o.photoUrl = "foo";
o.providerId = "foo";
o.timeZone = "foo";
- o.verifiedProvider = buildUnnamed970();
+ o.verifiedProvider = buildUnnamed338();
}
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'));
- checkUnnamed970(o.verifiedProvider);
+ checkUnnamed338(o.verifiedProvider);
}
buildCounterVerifyAssertionResponse--;
}
diff --git a/generated/googleapis/test/licensing/v1_test.dart b/generated/googleapis/test/licensing/v1_test.dart
index 472432c..6525c35 100644
--- a/generated/googleapis/test/licensing/v1_test.dart
+++ b/generated/googleapis/test/licensing/v1_test.dart
@@ -64,14 +64,14 @@
buildCounterLicenseAssignmentInsert--;
}
-buildUnnamed866() {
+buildUnnamed339() {
var o = new core.List<api.LicenseAssignment>();
o.add(buildLicenseAssignment());
o.add(buildLicenseAssignment());
return o;
}
-checkUnnamed866(core.List<api.LicenseAssignment> o) {
+checkUnnamed339(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 = buildUnnamed866();
+ o.items = buildUnnamed339();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -95,7 +95,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed866(o.items);
+ checkUnnamed339(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 ac2f2ce..c7cb066 100644
--- a/generated/googleapis/test/mapsengine/v1_test.dart
+++ b/generated/googleapis/test/mapsengine/v1_test.dart
@@ -39,27 +39,27 @@
buildCounterAcquisitionTime--;
}
-buildUnnamed91() {
+buildUnnamed359() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed91(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));
}
-buildUnnamed92() {
+buildUnnamed360() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed92(core.List<core.String> o) {
+checkUnnamed360(core.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 = buildUnnamed91();
+ o.bbox = buildUnnamed359();
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 = buildUnnamed92();
+ o.tags = buildUnnamed360();
o.type = "foo";
o.writersCanEditPermissions = true;
}
@@ -92,7 +92,7 @@
checkAsset(api.Asset o) {
buildCounterAsset++;
if (buildCounterAsset < 3) {
- checkUnnamed91(o.bbox);
+ checkUnnamed359(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'));
- checkUnnamed92(o.tags);
+ checkUnnamed360(o.tags);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.writersCanEditPermissions, unittest.isTrue);
}
buildCounterAsset--;
}
-buildUnnamed93() {
+buildUnnamed361() {
var o = new core.List<api.Asset>();
o.add(buildAsset());
o.add(buildAsset());
return o;
}
-checkUnnamed93(core.List<api.Asset> o) {
+checkUnnamed361(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 = buildUnnamed93();
+ o.assets = buildUnnamed361();
o.nextPageToken = "foo";
}
buildCounterAssetsListResponse--;
@@ -138,7 +138,7 @@
checkAssetsListResponse(api.AssetsListResponse o) {
buildCounterAssetsListResponse++;
if (buildCounterAssetsListResponse < 3) {
- checkUnnamed93(o.assets);
+ checkUnnamed361(o.assets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAssetsListResponse--;
@@ -220,14 +220,14 @@
checkDatasource(o[1]);
}
-buildUnnamed94() {
+buildUnnamed362() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed94(core.List<api.Filter> o) {
+checkUnnamed362(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 = buildUnnamed94();
+ o.filters = buildUnnamed362();
o.lineOptions = buildLineStyle();
o.name = "foo";
o.pointOptions = buildPointStyle();
@@ -252,7 +252,7 @@
checkDisplayRule(api.DisplayRule o) {
buildCounterDisplayRule++;
if (buildCounterDisplayRule < 3) {
- checkUnnamed94(o.filters);
+ checkUnnamed362(o.filters);
checkLineStyle(o.lineOptions);
unittest.expect(o.name, unittest.equals('foo'));
checkPointStyle(o.pointOptions);
@@ -304,27 +304,27 @@
buildCounterFeatureInfo--;
}
-buildUnnamed95() {
+buildUnnamed363() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed95(core.List<core.String> o) {
+checkUnnamed363(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed96() {
+buildUnnamed364() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed96(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'));
@@ -335,8 +335,8 @@
var o = new api.FeaturesBatchDeleteRequest();
buildCounterFeaturesBatchDeleteRequest++;
if (buildCounterFeaturesBatchDeleteRequest < 3) {
- o.gxIds = buildUnnamed95();
- o.primaryKeys = buildUnnamed96();
+ o.gxIds = buildUnnamed363();
+ o.primaryKeys = buildUnnamed364();
}
buildCounterFeaturesBatchDeleteRequest--;
return o;
@@ -345,20 +345,20 @@
checkFeaturesBatchDeleteRequest(api.FeaturesBatchDeleteRequest o) {
buildCounterFeaturesBatchDeleteRequest++;
if (buildCounterFeaturesBatchDeleteRequest < 3) {
- checkUnnamed95(o.gxIds);
- checkUnnamed96(o.primaryKeys);
+ checkUnnamed363(o.gxIds);
+ checkUnnamed364(o.primaryKeys);
}
buildCounterFeaturesBatchDeleteRequest--;
}
-buildUnnamed97() {
+buildUnnamed365() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed97(core.List<api.Feature> o) {
+checkUnnamed365(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 = buildUnnamed97();
+ o.features = buildUnnamed365();
o.normalizeGeometries = true;
}
buildCounterFeaturesBatchInsertRequest--;
@@ -379,20 +379,20 @@
checkFeaturesBatchInsertRequest(api.FeaturesBatchInsertRequest o) {
buildCounterFeaturesBatchInsertRequest++;
if (buildCounterFeaturesBatchInsertRequest < 3) {
- checkUnnamed97(o.features);
+ checkUnnamed365(o.features);
unittest.expect(o.normalizeGeometries, unittest.isTrue);
}
buildCounterFeaturesBatchInsertRequest--;
}
-buildUnnamed98() {
+buildUnnamed366() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed98(core.List<api.Feature> o) {
+checkUnnamed366(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 = buildUnnamed98();
+ o.features = buildUnnamed366();
o.normalizeGeometries = true;
}
buildCounterFeaturesBatchPatchRequest--;
@@ -413,20 +413,20 @@
checkFeaturesBatchPatchRequest(api.FeaturesBatchPatchRequest o) {
buildCounterFeaturesBatchPatchRequest++;
if (buildCounterFeaturesBatchPatchRequest < 3) {
- checkUnnamed98(o.features);
+ checkUnnamed366(o.features);
unittest.expect(o.normalizeGeometries, unittest.isTrue);
}
buildCounterFeaturesBatchPatchRequest--;
}
-buildUnnamed99() {
+buildUnnamed367() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed99(core.List<api.Feature> o) {
+checkUnnamed367(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 = buildUnnamed99();
+ o.features = buildUnnamed367();
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));
- checkUnnamed99(o.features);
+ checkUnnamed367(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) {
- checkUnnamed100(o.geometries);
+ checkUnnamed368(o.geometries);
}
buildCounterGeoJsonGeometryCollection--;
}
@@ -521,14 +521,14 @@
(o);
}
-buildUnnamed100() {
+buildUnnamed368() {
var o = new core.List<api.GeoJsonGeometry>();
o.add(buildGeoJsonGeometry());
o.add(buildGeoJsonGeometry());
return o;
}
-checkUnnamed100(core.List<api.GeoJsonGeometry> o) {
+checkUnnamed368(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 = buildUnnamed100();
+ o.geometries = buildUnnamed368();
}
buildCounterGeoJsonGeometryCollection--;
return o;
@@ -548,19 +548,19 @@
checkGeoJsonGeometryCollection(api.GeoJsonGeometryCollection o) {
buildCounterGeoJsonGeometryCollection++;
if (buildCounterGeoJsonGeometryCollection < 3) {
- checkUnnamed100(o.geometries);
+ checkUnnamed368(o.geometries);
}
buildCounterGeoJsonGeometryCollection--;
}
-buildUnnamed101() {
+buildUnnamed369() {
var o = new core.List<api.GeoJsonPosition>();
o.add(buildGeoJsonPosition());
o.add(buildGeoJsonPosition());
return o;
}
-checkUnnamed101(core.List<api.GeoJsonPosition> o) {
+checkUnnamed369(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 = buildUnnamed101();
+ o.coordinates = buildUnnamed369();
}
buildCounterGeoJsonLineString--;
return o;
@@ -580,35 +580,35 @@
checkGeoJsonLineString(api.GeoJsonLineString o) {
buildCounterGeoJsonLineString++;
if (buildCounterGeoJsonLineString < 3) {
- checkUnnamed101(o.coordinates);
+ checkUnnamed369(o.coordinates);
}
buildCounterGeoJsonLineString--;
}
-buildUnnamed102() {
+buildUnnamed370() {
var o = new core.List<api.GeoJsonPosition>();
o.add(buildGeoJsonPosition());
o.add(buildGeoJsonPosition());
return o;
}
-checkUnnamed102(core.List<api.GeoJsonPosition> o) {
+checkUnnamed370(core.List<api.GeoJsonPosition> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeoJsonPosition(o[0]);
checkGeoJsonPosition(o[1]);
}
-buildUnnamed103() {
+buildUnnamed371() {
var o = new core.List<core.List<api.GeoJsonPosition>>();
- o.add(buildUnnamed102());
- o.add(buildUnnamed102());
+ o.add(buildUnnamed370());
+ o.add(buildUnnamed370());
return o;
}
-checkUnnamed103(core.List<core.List<api.GeoJsonPosition>> o) {
+checkUnnamed371(core.List<core.List<api.GeoJsonPosition>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed102(o[0]);
- checkUnnamed102(o[1]);
+ checkUnnamed370(o[0]);
+ checkUnnamed370(o[1]);
}
core.int buildCounterGeoJsonMultiLineString = 0;
@@ -616,7 +616,7 @@
var o = new api.GeoJsonMultiLineString();
buildCounterGeoJsonMultiLineString++;
if (buildCounterGeoJsonMultiLineString < 3) {
- o.coordinates = buildUnnamed103();
+ o.coordinates = buildUnnamed371();
}
buildCounterGeoJsonMultiLineString--;
return o;
@@ -625,19 +625,19 @@
checkGeoJsonMultiLineString(api.GeoJsonMultiLineString o) {
buildCounterGeoJsonMultiLineString++;
if (buildCounterGeoJsonMultiLineString < 3) {
- checkUnnamed103(o.coordinates);
+ checkUnnamed371(o.coordinates);
}
buildCounterGeoJsonMultiLineString--;
}
-buildUnnamed104() {
+buildUnnamed372() {
var o = new core.List<api.GeoJsonPosition>();
o.add(buildGeoJsonPosition());
o.add(buildGeoJsonPosition());
return o;
}
-checkUnnamed104(core.List<api.GeoJsonPosition> o) {
+checkUnnamed372(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 = buildUnnamed104();
+ o.coordinates = buildUnnamed372();
}
buildCounterGeoJsonMultiPoint--;
return o;
@@ -657,48 +657,48 @@
checkGeoJsonMultiPoint(api.GeoJsonMultiPoint o) {
buildCounterGeoJsonMultiPoint++;
if (buildCounterGeoJsonMultiPoint < 3) {
- checkUnnamed104(o.coordinates);
+ checkUnnamed372(o.coordinates);
}
buildCounterGeoJsonMultiPoint--;
}
-buildUnnamed105() {
+buildUnnamed373() {
var o = new core.List<api.GeoJsonPosition>();
o.add(buildGeoJsonPosition());
o.add(buildGeoJsonPosition());
return o;
}
-checkUnnamed105(core.List<api.GeoJsonPosition> o) {
+checkUnnamed373(core.List<api.GeoJsonPosition> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeoJsonPosition(o[0]);
checkGeoJsonPosition(o[1]);
}
-buildUnnamed106() {
+buildUnnamed374() {
var o = new core.List<core.List<api.GeoJsonPosition>>();
- o.add(buildUnnamed105());
- o.add(buildUnnamed105());
+ o.add(buildUnnamed373());
+ o.add(buildUnnamed373());
return o;
}
-checkUnnamed106(core.List<core.List<api.GeoJsonPosition>> o) {
+checkUnnamed374(core.List<core.List<api.GeoJsonPosition>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed105(o[0]);
- checkUnnamed105(o[1]);
+ checkUnnamed373(o[0]);
+ checkUnnamed373(o[1]);
}
-buildUnnamed107() {
+buildUnnamed375() {
var o = new core.List<core.List<core.List<api.GeoJsonPosition>>>();
- o.add(buildUnnamed106());
- o.add(buildUnnamed106());
+ o.add(buildUnnamed374());
+ o.add(buildUnnamed374());
return o;
}
-checkUnnamed107(core.List<core.List<core.List<api.GeoJsonPosition>>> o) {
+checkUnnamed375(core.List<core.List<core.List<api.GeoJsonPosition>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed106(o[0]);
- checkUnnamed106(o[1]);
+ checkUnnamed374(o[0]);
+ checkUnnamed374(o[1]);
}
core.int buildCounterGeoJsonMultiPolygon = 0;
@@ -706,7 +706,7 @@
var o = new api.GeoJsonMultiPolygon();
buildCounterGeoJsonMultiPolygon++;
if (buildCounterGeoJsonMultiPolygon < 3) {
- o.coordinates = buildUnnamed107();
+ o.coordinates = buildUnnamed375();
}
buildCounterGeoJsonMultiPolygon--;
return o;
@@ -715,7 +715,7 @@
checkGeoJsonMultiPolygon(api.GeoJsonMultiPolygon o) {
buildCounterGeoJsonMultiPolygon++;
if (buildCounterGeoJsonMultiPolygon < 3) {
- checkUnnamed107(o.coordinates);
+ checkUnnamed375(o.coordinates);
}
buildCounterGeoJsonMultiPolygon--;
}
@@ -739,30 +739,30 @@
buildCounterGeoJsonPoint--;
}
-buildUnnamed108() {
+buildUnnamed376() {
var o = new core.List<api.GeoJsonPosition>();
o.add(buildGeoJsonPosition());
o.add(buildGeoJsonPosition());
return o;
}
-checkUnnamed108(core.List<api.GeoJsonPosition> o) {
+checkUnnamed376(core.List<api.GeoJsonPosition> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeoJsonPosition(o[0]);
checkGeoJsonPosition(o[1]);
}
-buildUnnamed109() {
+buildUnnamed377() {
var o = new core.List<core.List<api.GeoJsonPosition>>();
- o.add(buildUnnamed108());
- o.add(buildUnnamed108());
+ o.add(buildUnnamed376());
+ o.add(buildUnnamed376());
return o;
}
-checkUnnamed109(core.List<core.List<api.GeoJsonPosition>> o) {
+checkUnnamed377(core.List<core.List<api.GeoJsonPosition>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed108(o[0]);
- checkUnnamed108(o[1]);
+ checkUnnamed376(o[0]);
+ checkUnnamed376(o[1]);
}
core.int buildCounterGeoJsonPolygon = 0;
@@ -770,7 +770,7 @@
var o = new api.GeoJsonPolygon();
buildCounterGeoJsonPolygon++;
if (buildCounterGeoJsonPolygon < 3) {
- o.coordinates = buildUnnamed109();
+ o.coordinates = buildUnnamed377();
}
buildCounterGeoJsonPolygon--;
return o;
@@ -779,7 +779,7 @@
checkGeoJsonPolygon(api.GeoJsonPolygon o) {
buildCounterGeoJsonPolygon++;
if (buildCounterGeoJsonPolygon < 3) {
- checkUnnamed109(o.coordinates);
+ checkUnnamed377(o.coordinates);
}
buildCounterGeoJsonPolygon--;
}
@@ -858,14 +858,14 @@
buildCounterIconStyle--;
}
-buildUnnamed110() {
+buildUnnamed378() {
var o = new core.List<api.Icon>();
o.add(buildIcon());
o.add(buildIcon());
return o;
}
-checkUnnamed110(core.List<api.Icon> o) {
+checkUnnamed378(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 = buildUnnamed110();
+ o.icons = buildUnnamed378();
o.nextPageToken = "foo";
}
buildCounterIconsListResponse--;
@@ -886,7 +886,7 @@
checkIconsListResponse(api.IconsListResponse o) {
buildCounterIconsListResponse++;
if (buildCounterIconsListResponse < 3) {
- checkUnnamed110(o.icons);
+ checkUnnamed378(o.icons);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterIconsListResponse--;
@@ -936,14 +936,14 @@
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed111() {
+buildUnnamed379() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed111(core.List<core.double> o) {
+checkUnnamed379(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 = buildUnnamed111();
+ o.bbox = buildUnnamed379();
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) {
- checkUnnamed111(o.bbox);
+ checkUnnamed379(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--;
}
-buildUnnamed112() {
+buildUnnamed380() {
var o = new core.List<api.Layer>();
o.add(buildLayer());
o.add(buildLayer());
return o;
}
-checkUnnamed112(core.List<api.Layer> o) {
+checkUnnamed380(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 = buildUnnamed112();
+ o.layers = buildUnnamed380();
o.nextPageToken = "foo";
}
buildCounterLayersListResponse--;
@@ -1034,20 +1034,20 @@
checkLayersListResponse(api.LayersListResponse o) {
buildCounterLayersListResponse++;
if (buildCounterLayersListResponse < 3) {
- checkUnnamed112(o.layers);
+ checkUnnamed380(o.layers);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterLayersListResponse--;
}
-buildUnnamed113() {
+buildUnnamed381() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed113(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));
@@ -1082,7 +1082,7 @@
buildCounterLineStyle++;
if (buildCounterLineStyle < 3) {
o.border = buildBorder();
- o.dash = buildUnnamed113();
+ o.dash = buildUnnamed381();
o.label = buildLabelStyle();
o.stroke = buildLineStyleStroke();
}
@@ -1094,34 +1094,34 @@
buildCounterLineStyle++;
if (buildCounterLineStyle < 3) {
checkBorder(o.border);
- checkUnnamed113(o.dash);
+ checkUnnamed381(o.dash);
checkLabelStyle(o.label);
checkLineStyleStroke(o.stroke);
}
buildCounterLineStyle--;
}
-buildUnnamed114() {
+buildUnnamed382() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed114(core.List<core.double> o) {
+checkUnnamed382(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));
}
-buildUnnamed115() {
+buildUnnamed383() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed115(core.List<core.String> o) {
+checkUnnamed383(core.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 = buildUnnamed114();
+ o.bbox = buildUnnamed382();
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 = buildUnnamed115();
+ o.versions = buildUnnamed383();
o.writersCanEditPermissions = true;
}
buildCounterMap--;
@@ -1159,7 +1159,7 @@
checkMap(api.Map o) {
buildCounterMap++;
if (buildCounterMap < 3) {
- checkUnnamed114(o.bbox);
+ checkUnnamed382(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);
- checkUnnamed115(o.versions);
+ checkUnnamed383(o.versions);
unittest.expect(o.writersCanEditPermissions, unittest.isTrue);
}
buildCounterMap--;
@@ -1195,27 +1195,27 @@
checkMapItem(o[1]);
}
-buildUnnamed116() {
+buildUnnamed384() {
var o = new core.List<api.MapItem>();
o.add(buildMapItem());
o.add(buildMapItem());
return o;
}
-checkUnnamed116(core.List<api.MapItem> o) {
+checkUnnamed384(core.List<api.MapItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkMapItem(o[0]);
checkMapItem(o[1]);
}
-buildUnnamed117() {
+buildUnnamed385() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed117(core.List<core.double> o) {
+checkUnnamed385(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 = buildUnnamed116();
- o.defaultViewport = buildUnnamed117();
+ o.contents = buildUnnamed384();
+ o.defaultViewport = buildUnnamed385();
o.expandable = true;
o.key = "foo";
o.name = "foo";
@@ -1240,8 +1240,8 @@
checkMapFolder(api.MapFolder o) {
buildCounterMapFolder++;
if (buildCounterMapFolder < 3) {
- checkUnnamed116(o.contents);
- checkUnnamed117(o.defaultViewport);
+ checkUnnamed384(o.contents);
+ checkUnnamed385(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) {
- checkUnnamed116(o.contents);
- checkUnnamed117(o.defaultViewport);
+ checkUnnamed384(o.contents);
+ checkUnnamed385(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);
}
-buildUnnamed118() {
+buildUnnamed386() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed118(core.List<core.double> o) {
+checkUnnamed386(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 = buildUnnamed118();
+ o.defaultViewport = buildUnnamed386();
o.kmlUrl = "foo";
o.name = "foo";
o.visibility = "foo";
@@ -1301,7 +1301,7 @@
checkMapKmlLink(api.MapKmlLink o) {
buildCounterMapKmlLink++;
if (buildCounterMapKmlLink < 3) {
- checkUnnamed118(o.defaultViewport);
+ checkUnnamed386(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--;
}
-buildUnnamed119() {
+buildUnnamed387() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed119(core.List<core.double> o) {
+checkUnnamed387(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 = buildUnnamed119();
+ o.defaultViewport = buildUnnamed387();
o.id = "foo";
o.key = "foo";
o.name = "foo";
@@ -1340,7 +1340,7 @@
checkMapLayer(api.MapLayer o) {
buildCounterMapLayer++;
if (buildCounterMapLayer < 3) {
- checkUnnamed119(o.defaultViewport);
+ checkUnnamed387(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--;
}
-buildUnnamed120() {
+buildUnnamed388() {
var o = new core.List<api.Map>();
o.add(buildMap());
o.add(buildMap());
return o;
}
-checkUnnamed120(core.List<api.Map> o) {
+checkUnnamed388(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 = buildUnnamed120();
+ o.maps = buildUnnamed388();
o.nextPageToken = "foo";
}
buildCounterMapsListResponse--;
@@ -1377,7 +1377,7 @@
checkMapsListResponse(api.MapsListResponse o) {
buildCounterMapsListResponse++;
if (buildCounterMapsListResponse < 3) {
- checkUnnamed120(o.maps);
+ checkUnnamed388(o.maps);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMapsListResponse--;
@@ -1402,14 +1402,14 @@
buildCounterParent--;
}
-buildUnnamed121() {
+buildUnnamed389() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed121(core.List<api.Parent> o) {
+checkUnnamed389(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 = buildUnnamed121();
+ o.parents = buildUnnamed389();
}
buildCounterParentsListResponse--;
return o;
@@ -1431,7 +1431,7 @@
buildCounterParentsListResponse++;
if (buildCounterParentsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed121(o.parents);
+ checkUnnamed389(o.parents);
}
buildCounterParentsListResponse--;
}
@@ -1461,14 +1461,14 @@
buildCounterPermission--;
}
-buildUnnamed122() {
+buildUnnamed390() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed122(core.List<core.String> o) {
+checkUnnamed390(core.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 = buildUnnamed122();
+ o.ids = buildUnnamed390();
}
buildCounterPermissionsBatchDeleteRequest--;
return o;
@@ -1488,7 +1488,7 @@
checkPermissionsBatchDeleteRequest(api.PermissionsBatchDeleteRequest o) {
buildCounterPermissionsBatchDeleteRequest++;
if (buildCounterPermissionsBatchDeleteRequest < 3) {
- checkUnnamed122(o.ids);
+ checkUnnamed390(o.ids);
}
buildCounterPermissionsBatchDeleteRequest--;
}
@@ -1510,14 +1510,14 @@
buildCounterPermissionsBatchDeleteResponse--;
}
-buildUnnamed123() {
+buildUnnamed391() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed123(core.List<api.Permission> o) {
+checkUnnamed391(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 = buildUnnamed123();
+ o.permissions = buildUnnamed391();
}
buildCounterPermissionsBatchUpdateRequest--;
return o;
@@ -1537,7 +1537,7 @@
checkPermissionsBatchUpdateRequest(api.PermissionsBatchUpdateRequest o) {
buildCounterPermissionsBatchUpdateRequest++;
if (buildCounterPermissionsBatchUpdateRequest < 3) {
- checkUnnamed123(o.permissions);
+ checkUnnamed391(o.permissions);
}
buildCounterPermissionsBatchUpdateRequest--;
}
@@ -1559,14 +1559,14 @@
buildCounterPermissionsBatchUpdateResponse--;
}
-buildUnnamed124() {
+buildUnnamed392() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed124(core.List<api.Permission> o) {
+checkUnnamed392(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 = buildUnnamed124();
+ o.permissions = buildUnnamed392();
}
buildCounterPermissionsListResponse--;
return o;
@@ -1586,7 +1586,7 @@
checkPermissionsListResponse(api.PermissionsListResponse o) {
buildCounterPermissionsListResponse++;
if (buildCounterPermissionsListResponse < 3) {
- checkUnnamed124(o.permissions);
+ checkUnnamed392(o.permissions);
}
buildCounterPermissionsListResponse--;
}
@@ -1671,14 +1671,14 @@
buildCounterProject--;
}
-buildUnnamed125() {
+buildUnnamed393() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed125(core.List<api.Project> o) {
+checkUnnamed393(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 = buildUnnamed125();
+ o.projects = buildUnnamed393();
}
buildCounterProjectsListResponse--;
return o;
@@ -1698,7 +1698,7 @@
checkProjectsListResponse(api.ProjectsListResponse o) {
buildCounterProjectsListResponse++;
if (buildCounterProjectsListResponse < 3) {
- checkUnnamed125(o.projects);
+ checkUnnamed393(o.projects);
}
buildCounterProjectsListResponse--;
}
@@ -1747,14 +1747,14 @@
buildCounterPublishedLayer--;
}
-buildUnnamed126() {
+buildUnnamed394() {
var o = new core.List<api.PublishedLayer>();
o.add(buildPublishedLayer());
o.add(buildPublishedLayer());
return o;
}
-checkUnnamed126(core.List<api.PublishedLayer> o) {
+checkUnnamed394(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 = buildUnnamed126();
+ o.layers = buildUnnamed394();
o.nextPageToken = "foo";
}
buildCounterPublishedLayersListResponse--;
@@ -1775,7 +1775,7 @@
checkPublishedLayersListResponse(api.PublishedLayersListResponse o) {
buildCounterPublishedLayersListResponse++;
if (buildCounterPublishedLayersListResponse < 3) {
- checkUnnamed126(o.layers);
+ checkUnnamed394(o.layers);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterPublishedLayersListResponse--;
@@ -1810,14 +1810,14 @@
buildCounterPublishedMap--;
}
-buildUnnamed127() {
+buildUnnamed395() {
var o = new core.List<api.PublishedMap>();
o.add(buildPublishedMap());
o.add(buildPublishedMap());
return o;
}
-checkUnnamed127(core.List<api.PublishedMap> o) {
+checkUnnamed395(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 = buildUnnamed127();
+ o.maps = buildUnnamed395();
o.nextPageToken = "foo";
}
buildCounterPublishedMapsListResponse--;
@@ -1838,33 +1838,33 @@
checkPublishedMapsListResponse(api.PublishedMapsListResponse o) {
buildCounterPublishedMapsListResponse++;
if (buildCounterPublishedMapsListResponse < 3) {
- checkUnnamed127(o.maps);
+ checkUnnamed395(o.maps);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterPublishedMapsListResponse--;
}
-buildUnnamed128() {
+buildUnnamed396() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed128(core.List<core.double> o) {
+checkUnnamed396(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));
}
-buildUnnamed129() {
+buildUnnamed397() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed129(core.List<api.File> o) {
+checkUnnamed397(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 = buildUnnamed128();
+ o.bbox = buildUnnamed396();
o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
o.creatorEmail = "foo";
o.description = "foo";
o.draftAccessList = "foo";
o.etag = "foo";
- o.files = buildUnnamed129();
+ o.files = buildUnnamed397();
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'));
- checkUnnamed128(o.bbox);
+ checkUnnamed396(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'));
- checkUnnamed129(o.files);
+ checkUnnamed397(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--;
}
-buildUnnamed130() {
+buildUnnamed398() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed130(core.List<core.double> o) {
+checkUnnamed398(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 = buildUnnamed130();
+ o.bbox = buildUnnamed398();
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'));
- checkUnnamed130(o.bbox);
+ checkUnnamed398(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--;
}
-buildUnnamed131() {
+buildUnnamed399() {
var o = new core.List<api.RasterCollection>();
o.add(buildRasterCollection());
o.add(buildRasterCollection());
return o;
}
-checkUnnamed131(core.List<api.RasterCollection> o) {
+checkUnnamed399(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 = buildUnnamed131();
+ o.rasterCollections = buildUnnamed399();
}
buildCounterRasterCollectionsListResponse--;
return o;
@@ -2018,32 +2018,32 @@
buildCounterRasterCollectionsListResponse++;
if (buildCounterRasterCollectionsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed131(o.rasterCollections);
+ checkUnnamed399(o.rasterCollections);
}
buildCounterRasterCollectionsListResponse--;
}
-buildUnnamed132() {
+buildUnnamed400() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed132(core.List<core.double> o) {
+checkUnnamed400(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));
}
-buildUnnamed133() {
+buildUnnamed401() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed133(core.List<core.String> o) {
+checkUnnamed401(core.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 = buildUnnamed132();
+ o.bbox = buildUnnamed400();
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 = buildUnnamed133();
+ o.tags = buildUnnamed401();
}
buildCounterRasterCollectionsRaster--;
return o;
@@ -2071,7 +2071,7 @@
checkRasterCollectionsRaster(api.RasterCollectionsRaster o) {
buildCounterRasterCollectionsRaster++;
if (buildCounterRasterCollectionsRaster < 3) {
- checkUnnamed132(o.bbox);
+ checkUnnamed400(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'));
- checkUnnamed133(o.tags);
+ checkUnnamed401(o.tags);
}
buildCounterRasterCollectionsRaster--;
}
-buildUnnamed134() {
+buildUnnamed402() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed134(core.List<core.String> o) {
+checkUnnamed402(core.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 = buildUnnamed134();
+ o.ids = buildUnnamed402();
}
buildCounterRasterCollectionsRasterBatchDeleteRequest--;
return o;
@@ -2111,7 +2111,7 @@
checkRasterCollectionsRasterBatchDeleteRequest(api.RasterCollectionsRasterBatchDeleteRequest o) {
buildCounterRasterCollectionsRasterBatchDeleteRequest++;
if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) {
- checkUnnamed134(o.ids);
+ checkUnnamed402(o.ids);
}
buildCounterRasterCollectionsRasterBatchDeleteRequest--;
}
@@ -2133,14 +2133,14 @@
buildCounterRasterCollectionsRastersBatchDeleteResponse--;
}
-buildUnnamed135() {
+buildUnnamed403() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed135(core.List<core.String> o) {
+checkUnnamed403(core.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 = buildUnnamed135();
+ o.ids = buildUnnamed403();
}
buildCounterRasterCollectionsRastersBatchInsertRequest--;
return o;
@@ -2160,7 +2160,7 @@
checkRasterCollectionsRastersBatchInsertRequest(api.RasterCollectionsRastersBatchInsertRequest o) {
buildCounterRasterCollectionsRastersBatchInsertRequest++;
if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) {
- checkUnnamed135(o.ids);
+ checkUnnamed403(o.ids);
}
buildCounterRasterCollectionsRastersBatchInsertRequest--;
}
@@ -2182,14 +2182,14 @@
buildCounterRasterCollectionsRastersBatchInsertResponse--;
}
-buildUnnamed136() {
+buildUnnamed404() {
var o = new core.List<api.RasterCollectionsRaster>();
o.add(buildRasterCollectionsRaster());
o.add(buildRasterCollectionsRaster());
return o;
}
-checkUnnamed136(core.List<api.RasterCollectionsRaster> o) {
+checkUnnamed404(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 = buildUnnamed136();
+ o.rasters = buildUnnamed404();
}
buildCounterRasterCollectionsRastersListResponse--;
return o;
@@ -2211,19 +2211,19 @@
buildCounterRasterCollectionsRastersListResponse++;
if (buildCounterRasterCollectionsRastersListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed136(o.rasters);
+ checkUnnamed404(o.rasters);
}
buildCounterRasterCollectionsRastersListResponse--;
}
-buildUnnamed137() {
+buildUnnamed405() {
var o = new core.List<api.Raster>();
o.add(buildRaster());
o.add(buildRaster());
return o;
}
-checkUnnamed137(core.List<api.Raster> o) {
+checkUnnamed405(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 = buildUnnamed137();
+ o.rasters = buildUnnamed405();
}
buildCounterRastersListResponse--;
return o;
@@ -2245,7 +2245,7 @@
buildCounterRastersListResponse++;
if (buildCounterRastersListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed137(o.rasters);
+ checkUnnamed405(o.rasters);
}
buildCounterRastersListResponse--;
}
@@ -2298,14 +2298,14 @@
buildCounterScalingFunction--;
}
-buildUnnamed138() {
+buildUnnamed406() {
var o = new core.List<api.TableColumn>();
o.add(buildTableColumn());
o.add(buildTableColumn());
return o;
}
-checkUnnamed138(core.List<api.TableColumn> o) {
+checkUnnamed406(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 = buildUnnamed138();
+ o.columns = buildUnnamed406();
o.primaryGeometry = "foo";
o.primaryKey = "foo";
}
@@ -2327,7 +2327,7 @@
checkSchema(api.Schema o) {
buildCounterSchema++;
if (buildCounterSchema < 3) {
- checkUnnamed138(o.columns);
+ checkUnnamed406(o.columns);
unittest.expect(o.primaryGeometry, unittest.equals('foo'));
unittest.expect(o.primaryKey, unittest.equals('foo'));
}
@@ -2355,27 +2355,27 @@
buildCounterSizeRange--;
}
-buildUnnamed139() {
+buildUnnamed407() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed139(core.List<core.double> o) {
+checkUnnamed407(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));
}
-buildUnnamed140() {
+buildUnnamed408() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed140(core.List<api.File> o) {
+checkUnnamed408(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 = buildUnnamed139();
+ o.bbox = buildUnnamed407();
o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
o.creatorEmail = "foo";
o.description = "foo";
o.draftAccessList = "foo";
o.etag = "foo";
- o.files = buildUnnamed140();
+ o.files = buildUnnamed408();
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) {
- checkUnnamed139(o.bbox);
+ checkUnnamed407(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'));
- checkUnnamed140(o.files);
+ checkUnnamed408(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--;
}
-buildUnnamed141() {
+buildUnnamed409() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed141(core.List<api.Table> o) {
+checkUnnamed409(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 = buildUnnamed141();
+ o.tables = buildUnnamed409();
}
buildCounterTablesListResponse--;
return o;
@@ -2484,7 +2484,7 @@
buildCounterTablesListResponse++;
if (buildCounterTablesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed141(o.tables);
+ checkUnnamed409(o.tables);
}
buildCounterTablesListResponse--;
}
@@ -2523,14 +2523,14 @@
buildCounterValueRange--;
}
-buildUnnamed142() {
+buildUnnamed410() {
var o = new core.List<api.DisplayRule>();
o.add(buildDisplayRule());
o.add(buildDisplayRule());
return o;
}
-checkUnnamed142(core.List<api.DisplayRule> o) {
+checkUnnamed410(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 = buildUnnamed142();
+ o.displayRules = buildUnnamed410();
o.featureInfo = buildFeatureInfo();
o.type = "foo";
}
@@ -2552,7 +2552,7 @@
checkVectorStyle(api.VectorStyle o) {
buildCounterVectorStyle++;
if (buildCounterVectorStyle < 3) {
- checkUnnamed142(o.displayRules);
+ checkUnnamed410(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 b617075..58feed6 100644
--- a/generated/googleapis/test/mirror/v1_test.dart
+++ b/generated/googleapis/test/mirror/v1_test.dart
@@ -16,40 +16,40 @@
-buildUnnamed771() {
+buildUnnamed152() {
var o = new core.List<api.AuthToken>();
o.add(buildAuthToken());
o.add(buildAuthToken());
return o;
}
-checkUnnamed771(core.List<api.AuthToken> o) {
+checkUnnamed152(core.List<api.AuthToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthToken(o[0]);
checkAuthToken(o[1]);
}
-buildUnnamed772() {
+buildUnnamed153() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed772(core.List<core.String> o) {
+checkUnnamed153(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed773() {
+buildUnnamed154() {
var o = new core.List<api.UserData>();
o.add(buildUserData());
o.add(buildUserData());
return o;
}
-checkUnnamed773(core.List<api.UserData> o) {
+checkUnnamed154(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 = buildUnnamed771();
- o.features = buildUnnamed772();
+ o.authTokens = buildUnnamed152();
+ o.features = buildUnnamed153();
o.password = "foo";
- o.userData = buildUnnamed773();
+ o.userData = buildUnnamed154();
}
buildCounterAccount--;
return o;
@@ -72,10 +72,10 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed771(o.authTokens);
- checkUnnamed772(o.features);
+ checkUnnamed152(o.authTokens);
+ checkUnnamed153(o.features);
unittest.expect(o.password, unittest.equals('foo'));
- checkUnnamed773(o.userData);
+ checkUnnamed154(o.userData);
}
buildCounterAccount--;
}
@@ -105,14 +105,14 @@
buildCounterAttachment--;
}
-buildUnnamed774() {
+buildUnnamed155() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed774(core.List<api.Attachment> o) {
+checkUnnamed155(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 = buildUnnamed774();
+ o.items = buildUnnamed155();
o.kind = "foo";
}
buildCounterAttachmentsListResponse--;
@@ -133,7 +133,7 @@
checkAttachmentsListResponse(api.AttachmentsListResponse o) {
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- checkUnnamed774(o.items);
+ checkUnnamed155(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAttachmentsListResponse--;
@@ -179,53 +179,53 @@
buildCounterCommand--;
}
-buildUnnamed775() {
+buildUnnamed156() {
var o = new core.List<api.Command>();
o.add(buildCommand());
o.add(buildCommand());
return o;
}
-checkUnnamed775(core.List<api.Command> o) {
+checkUnnamed156(core.List<api.Command> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommand(o[0]);
checkCommand(o[1]);
}
-buildUnnamed776() {
+buildUnnamed157() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed776(core.List<core.String> 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'));
}
-buildUnnamed777() {
+buildUnnamed158() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed777(core.List<core.String> o) {
+checkUnnamed158(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed778() {
+buildUnnamed159() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed778(core.List<core.String> o) {
+checkUnnamed159(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -236,15 +236,15 @@
var o = new api.Contact();
buildCounterContact++;
if (buildCounterContact < 3) {
- o.acceptCommands = buildUnnamed775();
- o.acceptTypes = buildUnnamed776();
+ o.acceptCommands = buildUnnamed156();
+ o.acceptTypes = buildUnnamed157();
o.displayName = "foo";
o.id = "foo";
- o.imageUrls = buildUnnamed777();
+ o.imageUrls = buildUnnamed158();
o.kind = "foo";
o.phoneNumber = "foo";
o.priority = 42;
- o.sharingFeatures = buildUnnamed778();
+ o.sharingFeatures = buildUnnamed159();
o.source = "foo";
o.speakableName = "foo";
o.type = "foo";
@@ -256,15 +256,15 @@
checkContact(api.Contact o) {
buildCounterContact++;
if (buildCounterContact < 3) {
- checkUnnamed775(o.acceptCommands);
- checkUnnamed776(o.acceptTypes);
+ checkUnnamed156(o.acceptCommands);
+ checkUnnamed157(o.acceptTypes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed777(o.imageUrls);
+ checkUnnamed158(o.imageUrls);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
- checkUnnamed778(o.sharingFeatures);
+ checkUnnamed159(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--;
}
-buildUnnamed779() {
+buildUnnamed160() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed779(core.List<api.Contact> o) {
+checkUnnamed160(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 = buildUnnamed779();
+ o.items = buildUnnamed160();
o.kind = "foo";
}
buildCounterContactsListResponse--;
@@ -300,7 +300,7 @@
checkContactsListResponse(api.ContactsListResponse o) {
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- checkUnnamed779(o.items);
+ checkUnnamed160(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterContactsListResponse--;
@@ -339,14 +339,14 @@
buildCounterLocation--;
}
-buildUnnamed780() {
+buildUnnamed161() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed780(core.List<api.Location> o) {
+checkUnnamed161(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 = buildUnnamed780();
+ o.items = buildUnnamed161();
o.kind = "foo";
}
buildCounterLocationsListResponse--;
@@ -367,20 +367,20 @@
checkLocationsListResponse(api.LocationsListResponse o) {
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- checkUnnamed780(o.items);
+ checkUnnamed161(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLocationsListResponse--;
}
-buildUnnamed781() {
+buildUnnamed162() {
var o = new core.List<api.MenuValue>();
o.add(buildMenuValue());
o.add(buildMenuValue());
return o;
}
-checkUnnamed781(core.List<api.MenuValue> o) {
+checkUnnamed162(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 = buildUnnamed781();
+ o.values = buildUnnamed162();
}
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);
- checkUnnamed781(o.values);
+ checkUnnamed162(o.values);
}
buildCounterMenuItem--;
}
@@ -438,14 +438,14 @@
buildCounterMenuValue--;
}
-buildUnnamed782() {
+buildUnnamed163() {
var o = new core.List<api.UserAction>();
o.add(buildUserAction());
o.add(buildUserAction());
return o;
}
-checkUnnamed782(core.List<api.UserAction> o) {
+checkUnnamed163(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 = buildUnnamed782();
+ o.userActions = buildUnnamed163();
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'));
- checkUnnamed782(o.userActions);
+ checkUnnamed163(o.userActions);
unittest.expect(o.userToken, unittest.equals('foo'));
unittest.expect(o.verifyToken, unittest.equals('foo'));
}
@@ -524,14 +524,14 @@
buildCounterSetting--;
}
-buildUnnamed783() {
+buildUnnamed164() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed783(core.List<core.String> o) {
+checkUnnamed164(core.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 = buildUnnamed783();
+ o.operation = buildUnnamed164();
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);
- checkUnnamed783(o.operation);
+ checkUnnamed164(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--;
}
-buildUnnamed784() {
+buildUnnamed165() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed784(core.List<api.Subscription> o) {
+checkUnnamed165(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 = buildUnnamed784();
+ o.items = buildUnnamed165();
o.kind = "foo";
}
buildCounterSubscriptionsListResponse--;
@@ -600,46 +600,46 @@
checkSubscriptionsListResponse(api.SubscriptionsListResponse o) {
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- checkUnnamed784(o.items);
+ checkUnnamed165(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSubscriptionsListResponse--;
}
-buildUnnamed785() {
+buildUnnamed166() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed785(core.List<api.Attachment> o) {
+checkUnnamed166(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
}
-buildUnnamed786() {
+buildUnnamed167() {
var o = new core.List<api.MenuItem>();
o.add(buildMenuItem());
o.add(buildMenuItem());
return o;
}
-checkUnnamed786(core.List<api.MenuItem> o) {
+checkUnnamed167(core.List<api.MenuItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuItem(o[0]);
checkMenuItem(o[1]);
}
-buildUnnamed787() {
+buildUnnamed168() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed787(core.List<api.Contact> o) {
+checkUnnamed168(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 = buildUnnamed785();
+ o.attachments = buildUnnamed166();
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 = buildUnnamed786();
+ o.menuItems = buildUnnamed167();
o.notification = buildNotificationConfig();
o.pinScore = 42;
- o.recipients = buildUnnamed787();
+ o.recipients = buildUnnamed168();
o.selfLink = "foo";
o.sourceItemId = "foo";
o.speakableText = "foo";
@@ -684,7 +684,7 @@
checkTimelineItem(api.TimelineItem o) {
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- checkUnnamed785(o.attachments);
+ checkUnnamed166(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);
- checkUnnamed786(o.menuItems);
+ checkUnnamed167(o.menuItems);
checkNotificationConfig(o.notification);
unittest.expect(o.pinScore, unittest.equals(42));
- checkUnnamed787(o.recipients);
+ checkUnnamed168(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--;
}
-buildUnnamed788() {
+buildUnnamed169() {
var o = new core.List<api.TimelineItem>();
o.add(buildTimelineItem());
o.add(buildTimelineItem());
return o;
}
-checkUnnamed788(core.List<api.TimelineItem> o) {
+checkUnnamed169(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 = buildUnnamed788();
+ o.items = buildUnnamed169();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -743,7 +743,7 @@
checkTimelineListResponse(api.TimelineListResponse o) {
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- checkUnnamed788(o.items);
+ checkUnnamed169(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
index ff06d99..b8a4f6e 100644
--- a/generated/googleapis/test/orkut/v2_test.dart
+++ b/generated/googleapis/test/orkut/v2_test.dart
@@ -37,14 +37,14 @@
buildCounterAclItems--;
}
-buildUnnamed143() {
+buildUnnamed181() {
var o = new core.List<api.AclItems>();
o.add(buildAclItems());
o.add(buildAclItems());
return o;
}
-checkUnnamed143(core.List<api.AclItems> o) {
+checkUnnamed181(core.List<api.AclItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkAclItems(o[0]);
checkAclItems(o[1]);
@@ -56,7 +56,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
o.description = "foo";
- o.items = buildUnnamed143();
+ o.items = buildUnnamed181();
o.kind = "foo";
o.totalParticipants = 42;
}
@@ -68,47 +68,47 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed143(o.items);
+ checkUnnamed181(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalParticipants, unittest.equals(42));
}
buildCounterAcl--;
}
-buildUnnamed144() {
+buildUnnamed182() {
var o = new core.List<api.OrkutLinkResource>();
o.add(buildOrkutLinkResource());
o.add(buildOrkutLinkResource());
return o;
}
-checkUnnamed144(core.List<api.OrkutLinkResource> o) {
+checkUnnamed182(core.List<api.OrkutLinkResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutLinkResource(o[0]);
checkOrkutLinkResource(o[1]);
}
-buildUnnamed145() {
+buildUnnamed183() {
var o = new core.List<api.OrkutActivityobjectsResource>();
o.add(buildOrkutActivityobjectsResource());
o.add(buildOrkutActivityobjectsResource());
return o;
}
-checkUnnamed145(core.List<api.OrkutActivityobjectsResource> o) {
+checkUnnamed183(core.List<api.OrkutActivityobjectsResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutActivityobjectsResource(o[0]);
checkOrkutActivityobjectsResource(o[1]);
}
-buildUnnamed146() {
+buildUnnamed184() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed146(core.List<api.Comment> o) {
+checkUnnamed184(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -119,7 +119,7 @@
var o = new api.ActivityObjectReplies();
buildCounterActivityObjectReplies++;
if (buildCounterActivityObjectReplies < 3) {
- o.items = buildUnnamed146();
+ o.items = buildUnnamed184();
o.totalItems = "foo";
o.url = "foo";
}
@@ -130,7 +130,7 @@
checkActivityObjectReplies(api.ActivityObjectReplies o) {
buildCounterActivityObjectReplies++;
if (buildCounterActivityObjectReplies < 3) {
- checkUnnamed146(o.items);
+ checkUnnamed184(o.items);
unittest.expect(o.totalItems, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
}
@@ -143,7 +143,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
o.content = "foo";
- o.items = buildUnnamed145();
+ o.items = buildUnnamed183();
o.objectType = "foo";
o.replies = buildActivityObjectReplies();
}
@@ -155,7 +155,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
unittest.expect(o.content, unittest.equals('foo'));
- checkUnnamed145(o.items);
+ checkUnnamed183(o.items);
unittest.expect(o.objectType, unittest.equals('foo'));
checkActivityObjectReplies(o.replies);
}
@@ -171,7 +171,7 @@
o.actor = buildOrkutAuthorResource();
o.id = "foo";
o.kind = "foo";
- o.links = buildUnnamed144();
+ o.links = buildUnnamed182();
o.object = buildActivityObject();
o.published = core.DateTime.parse("2002-02-27T14:01:02");
o.title = "foo";
@@ -189,7 +189,7 @@
checkOrkutAuthorResource(o.actor);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed144(o.links);
+ 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'));
@@ -199,14 +199,14 @@
buildCounterActivity--;
}
-buildUnnamed147() {
+buildUnnamed185() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed147(core.List<api.Activity> o) {
+checkUnnamed185(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -217,7 +217,7 @@
var o = new api.ActivityList();
buildCounterActivityList++;
if (buildCounterActivityList < 3) {
- o.items = buildUnnamed147();
+ o.items = buildUnnamed185();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -228,7 +228,7 @@
checkActivityList(api.ActivityList o) {
buildCounterActivityList++;
if (buildCounterActivityList < 3) {
- checkUnnamed147(o.items);
+ checkUnnamed185(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -270,14 +270,14 @@
buildCounterBadge--;
}
-buildUnnamed148() {
+buildUnnamed186() {
var o = new core.List<api.Badge>();
o.add(buildBadge());
o.add(buildBadge());
return o;
}
-checkUnnamed148(core.List<api.Badge> o) {
+checkUnnamed186(core.List<api.Badge> o) {
unittest.expect(o, unittest.hasLength(2));
checkBadge(o[0]);
checkBadge(o[1]);
@@ -288,7 +288,7 @@
var o = new api.BadgeList();
buildCounterBadgeList++;
if (buildCounterBadgeList < 3) {
- o.items = buildUnnamed148();
+ o.items = buildUnnamed186();
o.kind = "foo";
}
buildCounterBadgeList--;
@@ -298,7 +298,7 @@
checkBadgeList(api.BadgeList o) {
buildCounterBadgeList++;
if (buildCounterBadgeList < 3) {
- checkUnnamed148(o.items);
+ checkUnnamed186(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBadgeList--;
@@ -329,14 +329,14 @@
buildCounterCommentInReplyTo--;
}
-buildUnnamed149() {
+buildUnnamed187() {
var o = new core.List<api.OrkutLinkResource>();
o.add(buildOrkutLinkResource());
o.add(buildOrkutLinkResource());
return o;
}
-checkUnnamed149(core.List<api.OrkutLinkResource> o) {
+checkUnnamed187(core.List<api.OrkutLinkResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutLinkResource(o[0]);
checkOrkutLinkResource(o[1]);
@@ -352,7 +352,7 @@
o.id = "foo";
o.inReplyTo = buildCommentInReplyTo();
o.kind = "foo";
- o.links = buildUnnamed149();
+ o.links = buildUnnamed187();
o.published = core.DateTime.parse("2002-02-27T14:01:02");
}
buildCounterComment--;
@@ -367,20 +367,20 @@
unittest.expect(o.id, unittest.equals('foo'));
checkCommentInReplyTo(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed149(o.links);
+ checkUnnamed187(o.links);
unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
}
buildCounterComment--;
}
-buildUnnamed150() {
+buildUnnamed188() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed150(core.List<api.Comment> o) {
+checkUnnamed188(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -391,7 +391,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.items = buildUnnamed150();
+ o.items = buildUnnamed188();
o.kind = "foo";
o.nextPageToken = "foo";
o.previousPageToken = "foo";
@@ -403,7 +403,7 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed150(o.items);
+ checkUnnamed188(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.previousPageToken, unittest.equals('foo'));
@@ -411,40 +411,40 @@
buildCounterCommentList--;
}
-buildUnnamed151() {
+buildUnnamed189() {
var o = new core.List<api.OrkutAuthorResource>();
o.add(buildOrkutAuthorResource());
o.add(buildOrkutAuthorResource());
return o;
}
-checkUnnamed151(core.List<api.OrkutAuthorResource> o) {
+checkUnnamed189(core.List<api.OrkutAuthorResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutAuthorResource(o[0]);
checkOrkutAuthorResource(o[1]);
}
-buildUnnamed152() {
+buildUnnamed190() {
var o = new core.List<api.OrkutLinkResource>();
o.add(buildOrkutLinkResource());
o.add(buildOrkutLinkResource());
return o;
}
-checkUnnamed152(core.List<api.OrkutLinkResource> o) {
+checkUnnamed190(core.List<api.OrkutLinkResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutLinkResource(o[0]);
checkOrkutLinkResource(o[1]);
}
-buildUnnamed153() {
+buildUnnamed191() {
var o = new core.List<api.OrkutAuthorResource>();
o.add(buildOrkutAuthorResource());
o.add(buildOrkutAuthorResource());
return o;
}
-checkUnnamed153(core.List<api.OrkutAuthorResource> o) {
+checkUnnamed191(core.List<api.OrkutAuthorResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutAuthorResource(o[0]);
checkOrkutAuthorResource(o[1]);
@@ -456,16 +456,16 @@
buildCounterCommunity++;
if (buildCounterCommunity < 3) {
o.category = "foo";
- o.coOwners = buildUnnamed151();
+ 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 = buildUnnamed152();
+ o.links = buildUnnamed190();
o.location = "foo";
o.memberCount = 42;
- o.moderators = buildUnnamed153();
+ o.moderators = buildUnnamed191();
o.name = "foo";
o.owner = buildOrkutAuthorResource();
o.photoUrl = "foo";
@@ -478,16 +478,16 @@
buildCounterCommunity++;
if (buildCounterCommunity < 3) {
unittest.expect(o.category, unittest.equals('foo'));
- checkUnnamed151(o.coOwners);
+ 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'));
- checkUnnamed152(o.links);
+ checkUnnamed190(o.links);
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.memberCount, unittest.equals(42));
- checkUnnamed153(o.moderators);
+ checkUnnamed191(o.moderators);
unittest.expect(o.name, unittest.equals('foo'));
checkOrkutAuthorResource(o.owner);
unittest.expect(o.photoUrl, unittest.equals('foo'));
@@ -495,14 +495,14 @@
buildCounterCommunity--;
}
-buildUnnamed154() {
+buildUnnamed192() {
var o = new core.List<api.Community>();
o.add(buildCommunity());
o.add(buildCommunity());
return o;
}
-checkUnnamed154(core.List<api.Community> o) {
+checkUnnamed192(core.List<api.Community> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommunity(o[0]);
checkCommunity(o[1]);
@@ -513,7 +513,7 @@
var o = new api.CommunityList();
buildCounterCommunityList++;
if (buildCounterCommunityList < 3) {
- o.items = buildUnnamed154();
+ o.items = buildUnnamed192();
o.kind = "foo";
}
buildCounterCommunityList--;
@@ -523,7 +523,7 @@
checkCommunityList(api.CommunityList o) {
buildCounterCommunityList++;
if (buildCounterCommunityList < 3) {
- checkUnnamed154(o.items);
+ checkUnnamed192(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCommunityList--;
@@ -552,14 +552,14 @@
buildCounterCommunityMembers--;
}
-buildUnnamed155() {
+buildUnnamed193() {
var o = new core.List<api.CommunityMembers>();
o.add(buildCommunityMembers());
o.add(buildCommunityMembers());
return o;
}
-checkUnnamed155(core.List<api.CommunityMembers> o) {
+checkUnnamed193(core.List<api.CommunityMembers> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommunityMembers(o[0]);
checkCommunityMembers(o[1]);
@@ -571,7 +571,7 @@
buildCounterCommunityMembersList++;
if (buildCounterCommunityMembersList < 3) {
o.firstPageToken = "foo";
- o.items = buildUnnamed155();
+ o.items = buildUnnamed193();
o.kind = "foo";
o.lastPageToken = "foo";
o.nextPageToken = "foo";
@@ -585,7 +585,7 @@
buildCounterCommunityMembersList++;
if (buildCounterCommunityMembersList < 3) {
unittest.expect(o.firstPageToken, unittest.equals('foo'));
- checkUnnamed155(o.items);
+ checkUnnamed193(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastPageToken, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -633,14 +633,14 @@
buildCounterCommunityMembershipStatus--;
}
-buildUnnamed156() {
+buildUnnamed194() {
var o = new core.List<api.OrkutLinkResource>();
o.add(buildOrkutLinkResource());
o.add(buildOrkutLinkResource());
return o;
}
-checkUnnamed156(core.List<api.OrkutLinkResource> o) {
+checkUnnamed194(core.List<api.OrkutLinkResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutLinkResource(o[0]);
checkOrkutLinkResource(o[1]);
@@ -657,7 +657,7 @@
o.id = "foo";
o.isSpam = true;
o.kind = "foo";
- o.links = buildUnnamed156();
+ o.links = buildUnnamed194();
o.subject = "foo";
}
buildCounterCommunityMessage--;
@@ -673,20 +673,20 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isSpam, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed156(o.links);
+ checkUnnamed194(o.links);
unittest.expect(o.subject, unittest.equals('foo'));
}
buildCounterCommunityMessage--;
}
-buildUnnamed157() {
+buildUnnamed195() {
var o = new core.List<api.CommunityMessage>();
o.add(buildCommunityMessage());
o.add(buildCommunityMessage());
return o;
}
-checkUnnamed157(core.List<api.CommunityMessage> o) {
+checkUnnamed195(core.List<api.CommunityMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommunityMessage(o[0]);
checkCommunityMessage(o[1]);
@@ -698,7 +698,7 @@
buildCounterCommunityMessageList++;
if (buildCounterCommunityMessageList < 3) {
o.firstPageToken = "foo";
- o.items = buildUnnamed157();
+ o.items = buildUnnamed195();
o.kind = "foo";
o.lastPageToken = "foo";
o.nextPageToken = "foo";
@@ -712,7 +712,7 @@
buildCounterCommunityMessageList++;
if (buildCounterCommunityMessageList < 3) {
unittest.expect(o.firstPageToken, unittest.equals('foo'));
- checkUnnamed157(o.items);
+ checkUnnamed195(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastPageToken, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -740,40 +740,40 @@
buildCounterCommunityPollImage--;
}
-buildUnnamed158() {
+buildUnnamed196() {
var o = new core.List<api.OrkutLinkResource>();
o.add(buildOrkutLinkResource());
o.add(buildOrkutLinkResource());
return o;
}
-checkUnnamed158(core.List<api.OrkutLinkResource> o) {
+checkUnnamed196(core.List<api.OrkutLinkResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutLinkResource(o[0]);
checkOrkutLinkResource(o[1]);
}
-buildUnnamed159() {
+buildUnnamed197() {
var o = new core.List<api.OrkutCommunitypolloptionResource>();
o.add(buildOrkutCommunitypolloptionResource());
o.add(buildOrkutCommunitypolloptionResource());
return o;
}
-checkUnnamed159(core.List<api.OrkutCommunitypolloptionResource> o) {
+checkUnnamed197(core.List<api.OrkutCommunitypolloptionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutCommunitypolloptionResource(o[0]);
checkOrkutCommunitypolloptionResource(o[1]);
}
-buildUnnamed160() {
+buildUnnamed198() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed160(core.List<core.int> 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));
@@ -801,11 +801,11 @@
o.isVotingAllowedForNonMembers = true;
o.kind = "foo";
o.lastUpdate = core.DateTime.parse("2002-02-27T14:01:02");
- o.links = buildUnnamed158();
- o.options = buildUnnamed159();
+ o.links = buildUnnamed196();
+ o.options = buildUnnamed197();
o.question = "foo";
o.totalNumberOfVotes = 42;
- o.votedOptions = buildUnnamed160();
+ o.votedOptions = buildUnnamed198();
}
buildCounterCommunityPoll--;
return o;
@@ -831,11 +831,11 @@
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")));
- checkUnnamed158(o.links);
- checkUnnamed159(o.options);
+ checkUnnamed196(o.links);
+ checkUnnamed197(o.options);
unittest.expect(o.question, unittest.equals('foo'));
unittest.expect(o.totalNumberOfVotes, unittest.equals(42));
- checkUnnamed160(o.votedOptions);
+ checkUnnamed198(o.votedOptions);
}
buildCounterCommunityPoll--;
}
@@ -867,14 +867,14 @@
buildCounterCommunityPollComment--;
}
-buildUnnamed161() {
+buildUnnamed199() {
var o = new core.List<api.CommunityPollComment>();
o.add(buildCommunityPollComment());
o.add(buildCommunityPollComment());
return o;
}
-checkUnnamed161(core.List<api.CommunityPollComment> o) {
+checkUnnamed199(core.List<api.CommunityPollComment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommunityPollComment(o[0]);
checkCommunityPollComment(o[1]);
@@ -886,7 +886,7 @@
buildCounterCommunityPollCommentList++;
if (buildCounterCommunityPollCommentList < 3) {
o.firstPageToken = "foo";
- o.items = buildUnnamed161();
+ o.items = buildUnnamed199();
o.kind = "foo";
o.lastPageToken = "foo";
o.nextPageToken = "foo";
@@ -900,7 +900,7 @@
buildCounterCommunityPollCommentList++;
if (buildCounterCommunityPollCommentList < 3) {
unittest.expect(o.firstPageToken, unittest.equals('foo'));
- checkUnnamed161(o.items);
+ checkUnnamed199(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastPageToken, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -909,14 +909,14 @@
buildCounterCommunityPollCommentList--;
}
-buildUnnamed162() {
+buildUnnamed200() {
var o = new core.List<api.CommunityPoll>();
o.add(buildCommunityPoll());
o.add(buildCommunityPoll());
return o;
}
-checkUnnamed162(core.List<api.CommunityPoll> o) {
+checkUnnamed200(core.List<api.CommunityPoll> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommunityPoll(o[0]);
checkCommunityPoll(o[1]);
@@ -928,7 +928,7 @@
buildCounterCommunityPollList++;
if (buildCounterCommunityPollList < 3) {
o.firstPageToken = "foo";
- o.items = buildUnnamed162();
+ o.items = buildUnnamed200();
o.kind = "foo";
o.lastPageToken = "foo";
o.nextPageToken = "foo";
@@ -942,7 +942,7 @@
buildCounterCommunityPollList++;
if (buildCounterCommunityPollList < 3) {
unittest.expect(o.firstPageToken, unittest.equals('foo'));
- checkUnnamed162(o.items);
+ checkUnnamed200(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastPageToken, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -951,14 +951,14 @@
buildCounterCommunityPollList--;
}
-buildUnnamed163() {
+buildUnnamed201() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed163(core.List<core.int> 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));
@@ -971,7 +971,7 @@
if (buildCounterCommunityPollVote < 3) {
o.isVotevisible = true;
o.kind = "foo";
- o.optionIds = buildUnnamed163();
+ o.optionIds = buildUnnamed201();
}
buildCounterCommunityPollVote--;
return o;
@@ -982,32 +982,32 @@
if (buildCounterCommunityPollVote < 3) {
unittest.expect(o.isVotevisible, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed163(o.optionIds);
+ checkUnnamed201(o.optionIds);
}
buildCounterCommunityPollVote--;
}
-buildUnnamed164() {
+buildUnnamed202() {
var o = new core.List<api.OrkutLinkResource>();
o.add(buildOrkutLinkResource());
o.add(buildOrkutLinkResource());
return o;
}
-checkUnnamed164(core.List<api.OrkutLinkResource> o) {
+checkUnnamed202(core.List<api.OrkutLinkResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutLinkResource(o[0]);
checkOrkutLinkResource(o[1]);
}
-buildUnnamed165() {
+buildUnnamed203() {
var o = new core.List<api.CommunityMessage>();
o.add(buildCommunityMessage());
o.add(buildCommunityMessage());
return o;
}
-checkUnnamed165(core.List<api.CommunityMessage> o) {
+checkUnnamed203(core.List<api.CommunityMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommunityMessage(o[0]);
checkCommunityMessage(o[1]);
@@ -1025,8 +1025,8 @@
o.kind = "foo";
o.lastUpdate = core.DateTime.parse("2002-02-27T14:01:02");
o.latestMessageSnippet = "foo";
- o.links = buildUnnamed164();
- o.messages = buildUnnamed165();
+ o.links = buildUnnamed202();
+ o.messages = buildUnnamed203();
o.numberOfReplies = 42;
o.title = "foo";
}
@@ -1044,22 +1044,22 @@
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'));
- checkUnnamed164(o.links);
- checkUnnamed165(o.messages);
+ checkUnnamed202(o.links);
+ checkUnnamed203(o.messages);
unittest.expect(o.numberOfReplies, unittest.equals(42));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterCommunityTopic--;
}
-buildUnnamed166() {
+buildUnnamed204() {
var o = new core.List<api.CommunityTopic>();
o.add(buildCommunityTopic());
o.add(buildCommunityTopic());
return o;
}
-checkUnnamed166(core.List<api.CommunityTopic> o) {
+checkUnnamed204(core.List<api.CommunityTopic> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommunityTopic(o[0]);
checkCommunityTopic(o[1]);
@@ -1071,7 +1071,7 @@
buildCounterCommunityTopicList++;
if (buildCounterCommunityTopicList < 3) {
o.firstPageToken = "foo";
- o.items = buildUnnamed166();
+ o.items = buildUnnamed204();
o.kind = "foo";
o.lastPageToken = "foo";
o.nextPageToken = "foo";
@@ -1085,7 +1085,7 @@
buildCounterCommunityTopicList++;
if (buildCounterCommunityTopicList < 3) {
unittest.expect(o.firstPageToken, unittest.equals('foo'));
- checkUnnamed166(o.items);
+ checkUnnamed204(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastPageToken, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1094,14 +1094,14 @@
buildCounterCommunityTopicList--;
}
-buildUnnamed167() {
+buildUnnamed205() {
var o = new core.List<api.OrkutCounterResource>();
o.add(buildOrkutCounterResource());
o.add(buildOrkutCounterResource());
return o;
}
-checkUnnamed167(core.List<api.OrkutCounterResource> o) {
+checkUnnamed205(core.List<api.OrkutCounterResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutCounterResource(o[0]);
checkOrkutCounterResource(o[1]);
@@ -1112,7 +1112,7 @@
var o = new api.Counters();
buildCounterCounters++;
if (buildCounterCounters < 3) {
- o.items = buildUnnamed167();
+ o.items = buildUnnamed205();
o.kind = "foo";
}
buildCounterCounters--;
@@ -1122,20 +1122,20 @@
checkCounters(api.Counters o) {
buildCounterCounters++;
if (buildCounterCounters < 3) {
- checkUnnamed167(o.items);
+ checkUnnamed205(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCounters--;
}
-buildUnnamed168() {
+buildUnnamed206() {
var o = new core.List<api.OrkutLinkResource>();
o.add(buildOrkutLinkResource());
o.add(buildOrkutLinkResource());
return o;
}
-checkUnnamed168(core.List<api.OrkutLinkResource> o) {
+checkUnnamed206(core.List<api.OrkutLinkResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutLinkResource(o[0]);
checkOrkutLinkResource(o[1]);
@@ -1150,7 +1150,7 @@
o.content = "foo";
o.displayName = "foo";
o.id = "foo";
- o.links = buildUnnamed168();
+ o.links = buildUnnamed206();
o.objectType = "foo";
o.person = buildOrkutActivitypersonResource();
}
@@ -1165,7 +1165,7 @@
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed168(o.links);
+ checkUnnamed206(o.links);
unittest.expect(o.objectType, unittest.equals('foo'));
checkOrkutActivitypersonResource(o.person);
}
@@ -1377,14 +1377,14 @@
buildCounterOrkutLinkResource--;
}
-buildUnnamed169() {
+buildUnnamed207() {
var o = new core.List<api.OrkutLinkResource>();
o.add(buildOrkutLinkResource());
o.add(buildOrkutLinkResource());
return o;
}
-checkUnnamed169(core.List<api.OrkutLinkResource> o) {
+checkUnnamed207(core.List<api.OrkutLinkResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrkutLinkResource(o[0]);
checkOrkutLinkResource(o[1]);
@@ -1396,7 +1396,7 @@
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
o.kind = "foo";
- o.links = buildUnnamed169();
+ o.links = buildUnnamed207();
o.visibility = "foo";
}
buildCounterVisibility--;
@@ -1407,7 +1407,7 @@
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed169(o.links);
+ checkUnnamed207(o.links);
unittest.expect(o.visibility, unittest.equals('foo'));
}
buildCounterVisibility--;
diff --git a/generated/googleapis/test/pagespeedonline/v1_test.dart b/generated/googleapis/test/pagespeedonline/v1_test.dart
index 066590e..6ea94c9 100644
--- a/generated/googleapis/test/pagespeedonline/v1_test.dart
+++ b/generated/googleapis/test/pagespeedonline/v1_test.dart
@@ -37,14 +37,14 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs--;
}
-buildUnnamed972() {
+buildUnnamed295() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs());
return o;
}
-checkUnnamed972(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs> o) {
+checkUnnamed295(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 = buildUnnamed972();
+ o.args = buildUnnamed295();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--;
@@ -65,7 +65,7 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksHeader(api.ResultFormattedResultsRuleResultsValueUrlBlocksHeader o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader < 3) {
- checkUnnamed972(o.args);
+ checkUnnamed295(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--;
@@ -92,14 +92,14 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs--;
}
-buildUnnamed973() {
+buildUnnamed296() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs());
return o;
}
-checkUnnamed973(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs> o) {
+checkUnnamed296(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 = buildUnnamed973();
+ o.args = buildUnnamed296();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--;
@@ -120,20 +120,20 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails < 3) {
- checkUnnamed973(o.args);
+ checkUnnamed296(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--;
}
-buildUnnamed974() {
+buildUnnamed297() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails());
return o;
}
-checkUnnamed974(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails> o) {
+checkUnnamed297(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(o[1]);
@@ -160,14 +160,14 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs--;
}
-buildUnnamed975() {
+buildUnnamed298() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs());
return o;
}
-checkUnnamed975(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs> o) {
+checkUnnamed298(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 = buildUnnamed975();
+ o.args = buildUnnamed298();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult--;
@@ -188,7 +188,7 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult < 3) {
- checkUnnamed975(o.args);
+ checkUnnamed298(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 = buildUnnamed974();
+ o.details = buildUnnamed297();
o.result = buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
@@ -209,20 +209,20 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- checkUnnamed974(o.details);
+ checkUnnamed297(o.details);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(o.result);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
}
-buildUnnamed976() {
+buildUnnamed299() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
return o;
}
-checkUnnamed976(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
+checkUnnamed299(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 = buildUnnamed976();
+ o.urls = buildUnnamed299();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
return o;
@@ -244,19 +244,19 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
checkResultFormattedResultsRuleResultsValueUrlBlocksHeader(o.header);
- checkUnnamed976(o.urls);
+ checkUnnamed299(o.urls);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
}
-buildUnnamed977() {
+buildUnnamed300() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
return o;
}
-checkUnnamed977(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
+checkUnnamed300(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 = buildUnnamed977();
+ o.urlBlocks = buildUnnamed300();
}
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));
- checkUnnamed977(o.urlBlocks);
+ checkUnnamed300(o.urlBlocks);
}
buildCounterResultFormattedResultsRuleResultsValue--;
}
-buildUnnamed978() {
+buildUnnamed301() {
var o = new core.Map<core.String, api.ResultFormattedResultsRuleResultsValue>();
o["x"] = buildResultFormattedResultsRuleResultsValue();
o["y"] = buildResultFormattedResultsRuleResultsValue();
return o;
}
-checkUnnamed978(core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
+checkUnnamed301(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 = buildUnnamed978();
+ o.ruleResults = buildUnnamed301();
}
buildCounterResultFormattedResults--;
return o;
@@ -314,19 +314,19 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed978(o.ruleResults);
+ checkUnnamed301(o.ruleResults);
}
buildCounterResultFormattedResults--;
}
-buildUnnamed979() {
+buildUnnamed302() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed979(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'));
@@ -428,7 +428,7 @@
if (buildCounterResult < 3) {
o.formattedResults = buildResultFormattedResults();
o.id = "foo";
- o.invalidRules = buildUnnamed979();
+ o.invalidRules = buildUnnamed302();
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'));
- checkUnnamed979(o.invalidRules);
+ checkUnnamed302(o.invalidRules);
unittest.expect(o.kind, unittest.equals('foo'));
checkResultPageStats(o.pageStats);
unittest.expect(o.responseCode, unittest.equals(42));
@@ -458,14 +458,14 @@
buildCounterResult--;
}
-buildUnnamed980() {
+buildUnnamed303() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed980(core.List<core.String> o) {
+checkUnnamed303(core.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 = buildUnnamed980();
+ var arg_rule = buildUnnamed303();
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 d8fdd7d..2e0ea97 100644
--- a/generated/googleapis/test/plus/v1_test.dart
+++ b/generated/googleapis/test/plus/v1_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed170() {
+buildUnnamed257() {
var o = new core.List<api.PlusAclentryResource>();
o.add(buildPlusAclentryResource());
o.add(buildPlusAclentryResource());
return o;
}
-checkUnnamed170(core.List<api.PlusAclentryResource> o) {
+checkUnnamed257(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 = buildUnnamed170();
+ o.items = buildUnnamed257();
o.kind = "foo";
}
buildCounterAcl--;
@@ -46,7 +46,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed170(o.items);
+ checkUnnamed257(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAcl--;
@@ -282,14 +282,14 @@
buildCounterActivityObjectAttachmentsThumbnails--;
}
-buildUnnamed171() {
+buildUnnamed258() {
var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
o.add(buildActivityObjectAttachmentsThumbnails());
o.add(buildActivityObjectAttachmentsThumbnails());
return o;
}
-checkUnnamed171(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
+checkUnnamed258(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 = buildUnnamed171();
+ o.thumbnails = buildUnnamed258();
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'));
- checkUnnamed171(o.thumbnails);
+ checkUnnamed258(o.thumbnails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterActivityObjectAttachments--;
}
-buildUnnamed172() {
+buildUnnamed259() {
var o = new core.List<api.ActivityObjectAttachments>();
o.add(buildActivityObjectAttachments());
o.add(buildActivityObjectAttachments());
return o;
}
-checkUnnamed172(core.List<api.ActivityObjectAttachments> o) {
+checkUnnamed259(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 = buildUnnamed172();
+ o.attachments = buildUnnamed259();
o.content = "foo";
o.id = "foo";
o.objectType = "foo";
@@ -430,7 +430,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
checkActivityObjectActor(o.actor);
- checkUnnamed172(o.attachments);
+ checkUnnamed259(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--;
}
-buildUnnamed173() {
+buildUnnamed260() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed173(core.List<api.Activity> o) {
+checkUnnamed260(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 = buildUnnamed173();
+ o.items = buildUnnamed260();
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'));
- checkUnnamed173(o.items);
+ checkUnnamed260(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--;
}
-buildUnnamed174() {
+buildUnnamed261() {
var o = new core.List<api.CommentInReplyTo>();
o.add(buildCommentInReplyTo());
o.add(buildCommentInReplyTo());
return o;
}
-checkUnnamed174(core.List<api.CommentInReplyTo> o) {
+checkUnnamed261(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 = buildUnnamed174();
+ o.inReplyTo = buildUnnamed261();
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'));
- checkUnnamed174(o.inReplyTo);
+ checkUnnamed261(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
checkCommentObject(o.object);
checkCommentPlusoners(o.plusoners);
@@ -726,14 +726,14 @@
buildCounterComment--;
}
-buildUnnamed175() {
+buildUnnamed262() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed175(core.List<api.Comment> o) {
+checkUnnamed262(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 = buildUnnamed175();
+ o.items = buildUnnamed262();
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'));
- checkUnnamed175(o.items);
+ checkUnnamed262(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--;
}
-buildUnnamed176() {
+buildUnnamed263() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed176(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'));
}
-buildUnnamed177() {
+buildUnnamed264() {
var o = new core.List<api.ItemScope>();
o.add(buildItemScope());
o.add(buildItemScope());
return o;
}
-checkUnnamed177(core.List<api.ItemScope> o) {
+checkUnnamed264(core.List<api.ItemScope> o) {
unittest.expect(o, unittest.hasLength(2));
checkItemScope(o[0]);
checkItemScope(o[1]);
}
-buildUnnamed178() {
+buildUnnamed265() {
var o = new core.List<api.ItemScope>();
o.add(buildItemScope());
o.add(buildItemScope());
return o;
}
-checkUnnamed178(core.List<api.ItemScope> o) {
+checkUnnamed265(core.List<api.ItemScope> o) {
unittest.expect(o, unittest.hasLength(2));
checkItemScope(o[0]);
checkItemScope(o[1]);
}
-buildUnnamed179() {
+buildUnnamed266() {
var o = new core.List<api.ItemScope>();
o.add(buildItemScope());
o.add(buildItemScope());
return o;
}
-checkUnnamed179(core.List<api.ItemScope> o) {
+checkUnnamed266(core.List<api.ItemScope> o) {
unittest.expect(o, unittest.hasLength(2));
checkItemScope(o[0]);
checkItemScope(o[1]);
}
-buildUnnamed180() {
+buildUnnamed267() {
var o = new core.List<api.ItemScope>();
o.add(buildItemScope());
o.add(buildItemScope());
return o;
}
-checkUnnamed180(core.List<api.ItemScope> o) {
+checkUnnamed267(core.List<api.ItemScope> o) {
unittest.expect(o, unittest.hasLength(2));
checkItemScope(o[0]);
checkItemScope(o[1]);
}
-buildUnnamed181() {
+buildUnnamed268() {
var o = new core.List<api.ItemScope>();
o.add(buildItemScope());
o.add(buildItemScope());
return o;
}
-checkUnnamed181(core.List<api.ItemScope> o) {
+checkUnnamed268(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 = buildUnnamed176();
+ o.additionalName = buildUnnamed263();
o.address = buildItemScope();
o.addressCountry = "foo";
o.addressLocality = "foo";
o.addressRegion = "foo";
- o.associatedMedia = buildUnnamed177();
+ o.associatedMedia = buildUnnamed264();
o.attendeeCount = 42;
- o.attendees = buildUnnamed178();
+ o.attendees = buildUnnamed265();
o.audio = buildItemScope();
- o.author = buildUnnamed179();
+ o.author = buildUnnamed266();
o.bestRating = "foo";
o.birthDate = "foo";
o.byArtist = buildItemScope();
o.caption = "foo";
o.contentSize = "foo";
o.contentUrl = "foo";
- o.contributor = buildUnnamed180();
+ o.contributor = buildUnnamed267();
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 = buildUnnamed181();
+ o.performers = buildUnnamed268();
o.playerType = "foo";
o.postOfficeBoxNumber = "foo";
o.postalCode = "foo";
@@ -919,23 +919,23 @@
buildCounterItemScope++;
if (buildCounterItemScope < 3) {
checkItemScope(o.about);
- checkUnnamed176(o.additionalName);
+ checkUnnamed263(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'));
- checkUnnamed177(o.associatedMedia);
+ checkUnnamed264(o.associatedMedia);
unittest.expect(o.attendeeCount, unittest.equals(42));
- checkUnnamed178(o.attendees);
+ checkUnnamed265(o.attendees);
checkItemScope(o.audio);
- checkUnnamed179(o.author);
+ checkUnnamed266(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'));
- checkUnnamed180(o.contributor);
+ checkUnnamed267(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);
- checkUnnamed181(o.performers);
+ checkUnnamed268(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--;
}
-buildUnnamed182() {
+buildUnnamed269() {
var o = new core.List<api.Moment>();
o.add(buildMoment());
o.add(buildMoment());
return o;
}
-checkUnnamed182(core.List<api.Moment> o) {
+checkUnnamed269(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 = buildUnnamed182();
+ o.items = buildUnnamed269();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1043,7 +1043,7 @@
buildCounterMomentsFeed++;
if (buildCounterMomentsFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed182(o.items);
+ checkUnnamed269(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--;
}
-buildUnnamed183() {
+buildUnnamed270() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed183(core.List<api.Person> o) {
+checkUnnamed270(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 = buildUnnamed183();
+ o.items = buildUnnamed270();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1088,7 +1088,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed183(o.items);
+ checkUnnamed270(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--;
}
-buildUnnamed184() {
+buildUnnamed271() {
var o = new core.List<api.PersonEmails>();
o.add(buildPersonEmails());
o.add(buildPersonEmails());
return o;
}
-checkUnnamed184(core.List<api.PersonEmails> o) {
+checkUnnamed271(core.List<api.PersonEmails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonEmails(o[0]);
checkPersonEmails(o[1]);
@@ -1305,14 +1305,14 @@
buildCounterPersonOrganizations--;
}
-buildUnnamed185() {
+buildUnnamed272() {
var o = new core.List<api.PersonOrganizations>();
o.add(buildPersonOrganizations());
o.add(buildPersonOrganizations());
return o;
}
-checkUnnamed185(core.List<api.PersonOrganizations> o) {
+checkUnnamed272(core.List<api.PersonOrganizations> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonOrganizations(o[0]);
checkPersonOrganizations(o[1]);
@@ -1339,14 +1339,14 @@
buildCounterPersonPlacesLived--;
}
-buildUnnamed186() {
+buildUnnamed273() {
var o = new core.List<api.PersonPlacesLived>();
o.add(buildPersonPlacesLived());
o.add(buildPersonPlacesLived());
return o;
}
-checkUnnamed186(core.List<api.PersonPlacesLived> o) {
+checkUnnamed273(core.List<api.PersonPlacesLived> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonPlacesLived(o[0]);
checkPersonPlacesLived(o[1]);
@@ -1375,14 +1375,14 @@
buildCounterPersonUrls--;
}
-buildUnnamed187() {
+buildUnnamed274() {
var o = new core.List<api.PersonUrls>();
o.add(buildPersonUrls());
o.add(buildPersonUrls());
return o;
}
-checkUnnamed187(core.List<api.PersonUrls> o) {
+checkUnnamed274(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 = buildUnnamed184();
+ o.emails = buildUnnamed271();
o.etag = "foo";
o.gender = "foo";
o.id = "foo";
@@ -1414,14 +1414,14 @@
o.nickname = "foo";
o.objectType = "foo";
o.occupation = "foo";
- o.organizations = buildUnnamed185();
- o.placesLived = buildUnnamed186();
+ o.organizations = buildUnnamed272();
+ o.placesLived = buildUnnamed273();
o.plusOneCount = 42;
o.relationshipStatus = "foo";
o.skills = "foo";
o.tagline = "foo";
o.url = "foo";
- o.urls = buildUnnamed187();
+ o.urls = buildUnnamed274();
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'));
- checkUnnamed184(o.emails);
+ checkUnnamed271(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'));
- checkUnnamed185(o.organizations);
- checkUnnamed186(o.placesLived);
+ checkUnnamed272(o.organizations);
+ checkUnnamed273(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'));
- checkUnnamed187(o.urls);
+ checkUnnamed274(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 690b693..f25de9d 100644
--- a/generated/googleapis/test/plusdomains/v1_test.dart
+++ b/generated/googleapis/test/plusdomains/v1_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed665() {
+buildUnnamed1064() {
var o = new core.List<api.PlusDomainsAclentryResource>();
o.add(buildPlusDomainsAclentryResource());
o.add(buildPlusDomainsAclentryResource());
return o;
}
-checkUnnamed665(core.List<api.PlusDomainsAclentryResource> o) {
+checkUnnamed1064(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 = buildUnnamed665();
+ o.items = buildUnnamed1064();
o.kind = "foo";
}
buildCounterAcl--;
@@ -48,7 +48,7 @@
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.domainRestricted, unittest.isTrue);
- checkUnnamed665(o.items);
+ checkUnnamed1064(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAcl--;
@@ -255,14 +255,14 @@
buildCounterActivityObjectAttachmentsPreviewThumbnails--;
}
-buildUnnamed666() {
+buildUnnamed1065() {
var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>();
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
return o;
}
-checkUnnamed666(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
+checkUnnamed1065(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsPreviewThumbnails(o[0]);
checkActivityObjectAttachmentsPreviewThumbnails(o[1]);
@@ -316,14 +316,14 @@
buildCounterActivityObjectAttachmentsThumbnails--;
}
-buildUnnamed667() {
+buildUnnamed1066() {
var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
o.add(buildActivityObjectAttachmentsThumbnails());
o.add(buildActivityObjectAttachmentsThumbnails());
return o;
}
-checkUnnamed667(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
+checkUnnamed1066(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 = buildUnnamed666();
- o.thumbnails = buildUnnamed667();
+ o.previewThumbnails = buildUnnamed1065();
+ o.thumbnails = buildUnnamed1066();
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'));
- checkUnnamed666(o.previewThumbnails);
- checkUnnamed667(o.thumbnails);
+ checkUnnamed1065(o.previewThumbnails);
+ checkUnnamed1066(o.thumbnails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterActivityObjectAttachments--;
}
-buildUnnamed668() {
+buildUnnamed1067() {
var o = new core.List<api.ActivityObjectAttachments>();
o.add(buildActivityObjectAttachments());
o.add(buildActivityObjectAttachments());
return o;
}
-checkUnnamed668(core.List<api.ActivityObjectAttachments> o) {
+checkUnnamed1067(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 = buildUnnamed668();
+ o.attachments = buildUnnamed1067();
o.content = "foo";
o.id = "foo";
o.objectType = "foo";
@@ -494,7 +494,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
checkActivityObjectActor(o.actor);
- checkUnnamed668(o.attachments);
+ checkUnnamed1067(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--;
}
-buildUnnamed669() {
+buildUnnamed1068() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed669(core.List<api.Activity> o) {
+checkUnnamed1068(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 = buildUnnamed669();
+ o.items = buildUnnamed1068();
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'));
- checkUnnamed669(o.items);
+ checkUnnamed1068(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--;
}
-buildUnnamed670() {
+buildUnnamed1069() {
var o = new core.List<api.Audience>();
o.add(buildAudience());
o.add(buildAudience());
return o;
}
-checkUnnamed670(core.List<api.Audience> o) {
+checkUnnamed1069(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 = buildUnnamed670();
+ o.items = buildUnnamed1069();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -691,7 +691,7 @@
buildCounterAudiencesFeed++;
if (buildCounterAudiencesFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed670(o.items);
+ checkUnnamed1069(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--;
}
-buildUnnamed671() {
+buildUnnamed1070() {
var o = new core.List<api.Circle>();
o.add(buildCircle());
o.add(buildCircle());
return o;
}
-checkUnnamed671(core.List<api.Circle> o) {
+checkUnnamed1070(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 = buildUnnamed671();
+ o.items = buildUnnamed1070();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -784,7 +784,7 @@
buildCounterCircleFeed++;
if (buildCounterCircleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed671(o.items);
+ checkUnnamed1070(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--;
}
-buildUnnamed672() {
+buildUnnamed1071() {
var o = new core.List<api.CommentInReplyTo>();
o.add(buildCommentInReplyTo());
o.add(buildCommentInReplyTo());
return o;
}
-checkUnnamed672(core.List<api.CommentInReplyTo> o) {
+checkUnnamed1071(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 = buildUnnamed672();
+ o.inReplyTo = buildUnnamed1071();
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'));
- checkUnnamed672(o.inReplyTo);
+ checkUnnamed1071(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
checkCommentObject(o.object);
checkCommentPlusoners(o.plusoners);
@@ -954,14 +954,14 @@
buildCounterComment--;
}
-buildUnnamed673() {
+buildUnnamed1072() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed673(core.List<api.Comment> o) {
+checkUnnamed1072(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 = buildUnnamed673();
+ o.items = buildUnnamed1072();
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'));
- checkUnnamed673(o.items);
+ checkUnnamed1072(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--;
}
-buildUnnamed674() {
+buildUnnamed1073() {
var o = new core.List<api.Videostream>();
o.add(buildVideostream());
o.add(buildVideostream());
return o;
}
-checkUnnamed674(core.List<api.Videostream> o) {
+checkUnnamed1073(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 = buildUnnamed674();
+ o.streams = buildUnnamed1073();
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'));
- checkUnnamed674(o.streams);
+ checkUnnamed1073(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--;
}
-buildUnnamed675() {
+buildUnnamed1074() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed675(core.List<api.Person> o) {
+checkUnnamed1074(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 = buildUnnamed675();
+ o.items = buildUnnamed1074();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1163,7 +1163,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed675(o.items);
+ checkUnnamed1074(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--;
}
-buildUnnamed676() {
+buildUnnamed1075() {
var o = new core.List<api.PersonEmails>();
o.add(buildPersonEmails());
o.add(buildPersonEmails());
return o;
}
-checkUnnamed676(core.List<api.PersonEmails> o) {
+checkUnnamed1075(core.List<api.PersonEmails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonEmails(o[0]);
checkPersonEmails(o[1]);
@@ -1359,14 +1359,14 @@
buildCounterPersonOrganizations--;
}
-buildUnnamed677() {
+buildUnnamed1076() {
var o = new core.List<api.PersonOrganizations>();
o.add(buildPersonOrganizations());
o.add(buildPersonOrganizations());
return o;
}
-checkUnnamed677(core.List<api.PersonOrganizations> o) {
+checkUnnamed1076(core.List<api.PersonOrganizations> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonOrganizations(o[0]);
checkPersonOrganizations(o[1]);
@@ -1393,14 +1393,14 @@
buildCounterPersonPlacesLived--;
}
-buildUnnamed678() {
+buildUnnamed1077() {
var o = new core.List<api.PersonPlacesLived>();
o.add(buildPersonPlacesLived());
o.add(buildPersonPlacesLived());
return o;
}
-checkUnnamed678(core.List<api.PersonPlacesLived> o) {
+checkUnnamed1077(core.List<api.PersonPlacesLived> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonPlacesLived(o[0]);
checkPersonPlacesLived(o[1]);
@@ -1429,14 +1429,14 @@
buildCounterPersonUrls--;
}
-buildUnnamed679() {
+buildUnnamed1078() {
var o = new core.List<api.PersonUrls>();
o.add(buildPersonUrls());
o.add(buildPersonUrls());
return o;
}
-checkUnnamed679(core.List<api.PersonUrls> o) {
+checkUnnamed1078(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 = buildUnnamed676();
+ o.emails = buildUnnamed1075();
o.etag = "foo";
o.gender = "foo";
o.id = "foo";
@@ -1466,14 +1466,14 @@
o.nickname = "foo";
o.objectType = "foo";
o.occupation = "foo";
- o.organizations = buildUnnamed677();
- o.placesLived = buildUnnamed678();
+ o.organizations = buildUnnamed1076();
+ o.placesLived = buildUnnamed1077();
o.plusOneCount = 42;
o.relationshipStatus = "foo";
o.skills = "foo";
o.tagline = "foo";
o.url = "foo";
- o.urls = buildUnnamed679();
+ o.urls = buildUnnamed1078();
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'));
- checkUnnamed676(o.emails);
+ checkUnnamed1075(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'));
- checkUnnamed677(o.organizations);
- checkUnnamed678(o.placesLived);
+ checkUnnamed1076(o.organizations);
+ checkUnnamed1077(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'));
- checkUnnamed679(o.urls);
+ checkUnnamed1078(o.urls);
unittest.expect(o.verified, unittest.isTrue);
}
buildCounterPerson--;
@@ -1630,53 +1630,53 @@
buildCounterVideostream--;
}
-buildUnnamed680() {
+buildUnnamed1079() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed680(core.List<core.String> o) {
+checkUnnamed1079(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed681() {
+buildUnnamed1080() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed681(core.List<core.String> o) {
+checkUnnamed1080(core.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() {
+buildUnnamed1081() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed682(core.List<core.String> o) {
+checkUnnamed1081(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed683() {
+buildUnnamed1082() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed683(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'));
@@ -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 = buildUnnamed680();
- var arg_userId = buildUnnamed681();
+ var arg_email = buildUnnamed1079();
+ var arg_userId = buildUnnamed1080();
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 = buildUnnamed682();
- var arg_userId = buildUnnamed683();
+ var arg_email = buildUnnamed1081();
+ var arg_userId = buildUnnamed1082();
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 4f0e790..f670076 100644
--- a/generated/googleapis/test/prediction/v1_6_test.dart
+++ b/generated/googleapis/test/prediction/v1_6_test.dart
@@ -37,14 +37,14 @@
buildCounterAnalyzeDataDescriptionFeaturesCategoricalValues--;
}
-buildUnnamed793() {
+buildUnnamed616() {
var o = new core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues>();
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
return o;
}
-checkUnnamed793(core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues> o) {
+checkUnnamed616(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 = buildUnnamed793();
+ o.values = buildUnnamed616();
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
return o;
@@ -66,7 +66,7 @@
buildCounterAnalyzeDataDescriptionFeaturesCategorical++;
if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) {
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed793(o.values);
+ checkUnnamed616(o.values);
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
}
@@ -138,14 +138,14 @@
buildCounterAnalyzeDataDescriptionFeatures--;
}
-buildUnnamed794() {
+buildUnnamed617() {
var o = new core.List<api.AnalyzeDataDescriptionFeatures>();
o.add(buildAnalyzeDataDescriptionFeatures());
o.add(buildAnalyzeDataDescriptionFeatures());
return o;
}
-checkUnnamed794(core.List<api.AnalyzeDataDescriptionFeatures> o) {
+checkUnnamed617(core.List<api.AnalyzeDataDescriptionFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionFeatures(o[0]);
checkAnalyzeDataDescriptionFeatures(o[1]);
@@ -195,14 +195,14 @@
buildCounterAnalyzeDataDescriptionOutputFeatureText--;
}
-buildUnnamed795() {
+buildUnnamed618() {
var o = new core.List<api.AnalyzeDataDescriptionOutputFeatureText>();
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
return o;
}
-checkUnnamed795(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) {
+checkUnnamed618(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 = buildUnnamed795();
+ o.text = buildUnnamed618();
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
return o;
@@ -224,7 +224,7 @@
buildCounterAnalyzeDataDescriptionOutputFeature++;
if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) {
checkAnalyzeDataDescriptionOutputFeatureNumeric(o.numeric);
- checkUnnamed795(o.text);
+ checkUnnamed618(o.text);
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
}
@@ -234,7 +234,7 @@
var o = new api.AnalyzeDataDescription();
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- o.features = buildUnnamed794();
+ o.features = buildUnnamed617();
o.outputFeature = buildAnalyzeDataDescriptionOutputFeature();
}
buildCounterAnalyzeDataDescription--;
@@ -244,72 +244,72 @@
checkAnalyzeDataDescription(api.AnalyzeDataDescription o) {
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- checkUnnamed794(o.features);
+ checkUnnamed617(o.features);
checkAnalyzeDataDescriptionOutputFeature(o.outputFeature);
}
buildCounterAnalyzeDataDescription--;
}
-buildUnnamed796() {
+buildUnnamed619() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed796(core.Map<core.String, core.String> o) {
+checkUnnamed619(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'));
}
-buildUnnamed797() {
+buildUnnamed620() {
var o = new core.List<core.Map<core.String, core.String>>();
- o.add(buildUnnamed796());
- o.add(buildUnnamed796());
+ o.add(buildUnnamed619());
+ o.add(buildUnnamed619());
return o;
}
-checkUnnamed797(core.List<core.Map<core.String, core.String>> o) {
+checkUnnamed620(core.List<core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed796(o[0]);
- checkUnnamed796(o[1]);
+ checkUnnamed619(o[0]);
+ checkUnnamed619(o[1]);
}
-buildUnnamed798() {
+buildUnnamed621() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed798(core.Map<core.String, core.String> o) {
+checkUnnamed621(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'));
}
-buildUnnamed799() {
+buildUnnamed622() {
var o = new core.Map<core.String, core.Map<core.String, core.String>>();
- o["x"] = buildUnnamed798();
- o["y"] = buildUnnamed798();
+ o["x"] = buildUnnamed621();
+ o["y"] = buildUnnamed621();
return o;
}
-checkUnnamed799(core.Map<core.String, core.Map<core.String, core.String>> o) {
+checkUnnamed622(core.Map<core.String, core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed798(o["x"]);
- checkUnnamed798(o["y"]);
+ checkUnnamed621(o["x"]);
+ checkUnnamed621(o["y"]);
}
-buildUnnamed800() {
+buildUnnamed623() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed800(core.Map<core.String, core.String> o) {
+checkUnnamed623(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 = buildUnnamed799();
- o.confusionMatrixRowTotals = buildUnnamed800();
+ o.confusionMatrix = buildUnnamed622();
+ o.confusionMatrixRowTotals = buildUnnamed623();
o.modelinfo = buildInsert2();
}
buildCounterAnalyzeModelDescription--;
@@ -331,8 +331,8 @@
checkAnalyzeModelDescription(api.AnalyzeModelDescription o) {
buildCounterAnalyzeModelDescription++;
if (buildCounterAnalyzeModelDescription < 3) {
- checkUnnamed799(o.confusionMatrix);
- checkUnnamed800(o.confusionMatrixRowTotals);
+ checkUnnamed622(o.confusionMatrix);
+ checkUnnamed623(o.confusionMatrixRowTotals);
checkInsert2(o.modelinfo);
}
buildCounterAnalyzeModelDescription--;
@@ -344,7 +344,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
o.dataDescription = buildAnalyzeDataDescription();
- o.errors = buildUnnamed797();
+ o.errors = buildUnnamed620();
o.id = "foo";
o.kind = "foo";
o.modelDescription = buildAnalyzeModelDescription();
@@ -358,7 +358,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
checkAnalyzeDataDescription(o.dataDescription);
- checkUnnamed797(o.errors);
+ checkUnnamed620(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkAnalyzeModelDescription(o.modelDescription);
@@ -367,14 +367,14 @@
buildCounterAnalyze--;
}
-buildUnnamed801() {
+buildUnnamed624() {
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;
}
-checkUnnamed801(core.List<core.Object> o) {
+checkUnnamed624(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 = buildUnnamed801();
+ o.csvInstance = buildUnnamed624();
}
buildCounterInputInput--;
return o;
@@ -394,7 +394,7 @@
checkInputInput(api.InputInput o) {
buildCounterInputInput++;
if (buildCounterInputInput < 3) {
- checkUnnamed801(o.csvInstance);
+ checkUnnamed624(o.csvInstance);
}
buildCounterInputInput--;
}
@@ -418,14 +418,14 @@
buildCounterInput--;
}
-buildUnnamed802() {
+buildUnnamed625() {
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;
}
-checkUnnamed802(core.List<core.Object> o) {
+checkUnnamed625(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 = buildUnnamed802();
+ o.csvInstance = buildUnnamed625();
o.output = "foo";
}
buildCounterInsertTrainingInstances--;
@@ -446,49 +446,49 @@
checkInsertTrainingInstances(api.InsertTrainingInstances o) {
buildCounterInsertTrainingInstances++;
if (buildCounterInsertTrainingInstances < 3) {
- checkUnnamed802(o.csvInstance);
+ checkUnnamed625(o.csvInstance);
unittest.expect(o.output, unittest.equals('foo'));
}
buildCounterInsertTrainingInstances--;
}
-buildUnnamed803() {
+buildUnnamed626() {
var o = new core.List<api.InsertTrainingInstances>();
o.add(buildInsertTrainingInstances());
o.add(buildInsertTrainingInstances());
return o;
}
-checkUnnamed803(core.List<api.InsertTrainingInstances> o) {
+checkUnnamed626(core.List<api.InsertTrainingInstances> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsertTrainingInstances(o[0]);
checkInsertTrainingInstances(o[1]);
}
-buildUnnamed804() {
+buildUnnamed627() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed804(core.Map<core.String, core.double> o) {
+checkUnnamed627(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));
}
-buildUnnamed805() {
+buildUnnamed628() {
var o = new core.List<core.Map<core.String, core.double>>();
- o.add(buildUnnamed804());
- o.add(buildUnnamed804());
+ o.add(buildUnnamed627());
+ o.add(buildUnnamed627());
return o;
}
-checkUnnamed805(core.List<core.Map<core.String, core.double>> o) {
+checkUnnamed628(core.List<core.Map<core.String, core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed804(o[0]);
- checkUnnamed804(o[1]);
+ checkUnnamed627(o[0]);
+ checkUnnamed627(o[1]);
}
core.int buildCounterInsert = 0;
@@ -502,8 +502,8 @@
o.storageDataLocation = "foo";
o.storagePMMLLocation = "foo";
o.storagePMMLModelLocation = "foo";
- o.trainingInstances = buildUnnamed803();
- o.utility = buildUnnamed805();
+ o.trainingInstances = buildUnnamed626();
+ o.utility = buildUnnamed628();
}
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'));
- checkUnnamed803(o.trainingInstances);
- checkUnnamed805(o.utility);
+ checkUnnamed626(o.trainingInstances);
+ checkUnnamed628(o.utility);
}
buildCounterInsert--;
}
@@ -592,14 +592,14 @@
buildCounterInsert2--;
}
-buildUnnamed806() {
+buildUnnamed629() {
var o = new core.List<api.Insert2>();
o.add(buildInsert2());
o.add(buildInsert2());
return o;
}
-checkUnnamed806(core.List<api.Insert2> o) {
+checkUnnamed629(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 = buildUnnamed806();
+ o.items = buildUnnamed629();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -622,7 +622,7 @@
checkList(api.List o) {
buildCounterList++;
if (buildCounterList < 3) {
- checkUnnamed806(o.items);
+ checkUnnamed629(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--;
}
-buildUnnamed807() {
+buildUnnamed630() {
var o = new core.List<api.OutputOutputMulti>();
o.add(buildOutputOutputMulti());
o.add(buildOutputOutputMulti());
return o;
}
-checkUnnamed807(core.List<api.OutputOutputMulti> o) {
+checkUnnamed630(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 = buildUnnamed807();
+ o.outputMulti = buildUnnamed630();
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'));
- checkUnnamed807(o.outputMulti);
+ checkUnnamed630(o.outputMulti);
unittest.expect(o.outputValue, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterOutput--;
}
-buildUnnamed808() {
+buildUnnamed631() {
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;
}
-checkUnnamed808(core.List<core.Object> o) {
+checkUnnamed631(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 = buildUnnamed808();
+ o.csvInstance = buildUnnamed631();
o.output = "foo";
}
buildCounterUpdate--;
@@ -721,7 +721,7 @@
checkUpdate(api.Update o) {
buildCounterUpdate++;
if (buildCounterUpdate < 3) {
- checkUnnamed808(o.csvInstance);
+ checkUnnamed631(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 daea4bc..5f7a93b 100644
--- a/generated/googleapis/test/qpxexpress/v1_test.dart
+++ b/generated/googleapis/test/qpxexpress/v1_test.dart
@@ -64,14 +64,14 @@
buildCounterAirportData--;
}
-buildUnnamed1() {
+buildUnnamed340() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1(core.List<core.String> o) {
+checkUnnamed340(core.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 = buildUnnamed1();
+ o.description = buildUnnamed340();
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));
- checkUnnamed1(o.description);
+ checkUnnamed340(o.description);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.subcode, unittest.equals('foo'));
}
@@ -152,66 +152,66 @@
buildCounterCityData--;
}
-buildUnnamed2() {
+buildUnnamed341() {
var o = new core.List<api.AircraftData>();
o.add(buildAircraftData());
o.add(buildAircraftData());
return o;
}
-checkUnnamed2(core.List<api.AircraftData> o) {
+checkUnnamed341(core.List<api.AircraftData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAircraftData(o[0]);
checkAircraftData(o[1]);
}
-buildUnnamed3() {
+buildUnnamed342() {
var o = new core.List<api.AirportData>();
o.add(buildAirportData());
o.add(buildAirportData());
return o;
}
-checkUnnamed3(core.List<api.AirportData> o) {
+checkUnnamed342(core.List<api.AirportData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAirportData(o[0]);
checkAirportData(o[1]);
}
-buildUnnamed4() {
+buildUnnamed343() {
var o = new core.List<api.CarrierData>();
o.add(buildCarrierData());
o.add(buildCarrierData());
return o;
}
-checkUnnamed4(core.List<api.CarrierData> o) {
+checkUnnamed343(core.List<api.CarrierData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCarrierData(o[0]);
checkCarrierData(o[1]);
}
-buildUnnamed5() {
+buildUnnamed344() {
var o = new core.List<api.CityData>();
o.add(buildCityData());
o.add(buildCityData());
return o;
}
-checkUnnamed5(core.List<api.CityData> o) {
+checkUnnamed344(core.List<api.CityData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCityData(o[0]);
checkCityData(o[1]);
}
-buildUnnamed6() {
+buildUnnamed345() {
var o = new core.List<api.TaxData>();
o.add(buildTaxData());
o.add(buildTaxData());
return o;
}
-checkUnnamed6(core.List<api.TaxData> o) {
+checkUnnamed345(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 = buildUnnamed2();
- o.airport = buildUnnamed3();
- o.carrier = buildUnnamed4();
- o.city = buildUnnamed5();
+ o.aircraft = buildUnnamed341();
+ o.airport = buildUnnamed342();
+ o.carrier = buildUnnamed343();
+ o.city = buildUnnamed344();
o.kind = "foo";
- o.tax = buildUnnamed6();
+ o.tax = buildUnnamed345();
}
buildCounterData--;
return o;
@@ -236,12 +236,12 @@
checkData(api.Data o) {
buildCounterData++;
if (buildCounterData < 3) {
- checkUnnamed2(o.aircraft);
- checkUnnamed3(o.airport);
- checkUnnamed4(o.carrier);
- checkUnnamed5(o.city);
+ checkUnnamed341(o.aircraft);
+ checkUnnamed342(o.airport);
+ checkUnnamed343(o.carrier);
+ checkUnnamed344(o.city);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed6(o.tax);
+ checkUnnamed345(o.tax);
}
buildCounterData--;
}
@@ -298,14 +298,14 @@
buildCounterFlightInfo--;
}
-buildUnnamed7() {
+buildUnnamed346() {
var o = new core.List<api.BagDescriptor>();
o.add(buildBagDescriptor());
o.add(buildBagDescriptor());
return o;
}
-checkUnnamed7(core.List<api.BagDescriptor> o) {
+checkUnnamed346(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 = buildUnnamed7();
+ o.bagDescriptor = buildUnnamed346();
o.kilos = 42;
o.kilosPerPiece = 42;
o.kind = "foo";
@@ -330,7 +330,7 @@
checkFreeBaggageAllowance(api.FreeBaggageAllowance o) {
buildCounterFreeBaggageAllowance++;
if (buildCounterFreeBaggageAllowance < 3) {
- checkUnnamed7(o.bagDescriptor);
+ checkUnnamed346(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--;
}
-buildUnnamed8() {
+buildUnnamed347() {
var o = new core.List<api.FareInfo>();
o.add(buildFareInfo());
o.add(buildFareInfo());
return o;
}
-checkUnnamed8(core.List<api.FareInfo> o) {
+checkUnnamed347(core.List<api.FareInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFareInfo(o[0]);
checkFareInfo(o[1]);
}
-buildUnnamed9() {
+buildUnnamed348() {
var o = new core.List<api.SegmentPricing>();
o.add(buildSegmentPricing());
o.add(buildSegmentPricing());
return o;
}
-checkUnnamed9(core.List<api.SegmentPricing> o) {
+checkUnnamed348(core.List<api.SegmentPricing> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentPricing(o[0]);
checkSegmentPricing(o[1]);
}
-buildUnnamed10() {
+buildUnnamed349() {
var o = new core.List<api.TaxInfo>();
o.add(buildTaxInfo());
o.add(buildTaxInfo());
return o;
}
-checkUnnamed10(core.List<api.TaxInfo> o) {
+checkUnnamed349(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 = buildUnnamed8();
+ o.fare = buildUnnamed347();
o.fareCalculation = "foo";
o.kind = "foo";
o.latestTicketingTime = "foo";
@@ -475,8 +475,8 @@
o.saleFareTotal = "foo";
o.saleTaxTotal = "foo";
o.saleTotal = "foo";
- o.segmentPricing = buildUnnamed9();
- o.tax = buildUnnamed10();
+ o.segmentPricing = buildUnnamed348();
+ o.tax = buildUnnamed349();
}
buildCounterPricingInfo--;
return o;
@@ -486,7 +486,7 @@
buildCounterPricingInfo++;
if (buildCounterPricingInfo < 3) {
unittest.expect(o.baseFareTotal, unittest.equals('foo'));
- checkUnnamed8(o.fare);
+ checkUnnamed347(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'));
- checkUnnamed9(o.segmentPricing);
- checkUnnamed10(o.tax);
+ checkUnnamed348(o.segmentPricing);
+ checkUnnamed349(o.tax);
}
buildCounterPricingInfo--;
}
-buildUnnamed11() {
+buildUnnamed350() {
var o = new core.List<api.LegInfo>();
o.add(buildLegInfo());
o.add(buildLegInfo());
return o;
}
-checkUnnamed11(core.List<api.LegInfo> o) {
+checkUnnamed350(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 = buildUnnamed11();
+ o.leg = buildUnnamed350();
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'));
- checkUnnamed11(o.leg);
+ checkUnnamed350(o.leg);
unittest.expect(o.marriedSegmentGroup, unittest.equals('foo'));
unittest.expect(o.subjectToGovernmentApproval, unittest.isTrue);
}
buildCounterSegmentInfo--;
}
-buildUnnamed12() {
+buildUnnamed351() {
var o = new core.List<api.FreeBaggageAllowance>();
o.add(buildFreeBaggageAllowance());
o.add(buildFreeBaggageAllowance());
return o;
}
-checkUnnamed12(core.List<api.FreeBaggageAllowance> o) {
+checkUnnamed351(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 = buildUnnamed12();
+ o.freeBaggageOption = buildUnnamed351();
o.kind = "foo";
o.segmentId = "foo";
}
@@ -585,21 +585,21 @@
buildCounterSegmentPricing++;
if (buildCounterSegmentPricing < 3) {
unittest.expect(o.fareId, unittest.equals('foo'));
- checkUnnamed12(o.freeBaggageOption);
+ checkUnnamed351(o.freeBaggageOption);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.segmentId, unittest.equals('foo'));
}
buildCounterSegmentPricing--;
}
-buildUnnamed13() {
+buildUnnamed352() {
var o = new core.List<api.SegmentInfo>();
o.add(buildSegmentInfo());
o.add(buildSegmentInfo());
return o;
}
-checkUnnamed13(core.List<api.SegmentInfo> o) {
+checkUnnamed352(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 = buildUnnamed13();
+ o.segment = buildUnnamed352();
}
buildCounterSliceInfo--;
return o;
@@ -623,32 +623,32 @@
if (buildCounterSliceInfo < 3) {
unittest.expect(o.duration, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed13(o.segment);
+ checkUnnamed352(o.segment);
}
buildCounterSliceInfo--;
}
-buildUnnamed14() {
+buildUnnamed353() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed14(core.List<core.String> o) {
+checkUnnamed353(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed15() {
+buildUnnamed354() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed15(core.List<core.String> o) {
+checkUnnamed354(core.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 = buildUnnamed14();
+ o.permittedCarrier = buildUnnamed353();
o.permittedDepartureTime = buildTimeOfDayRange();
o.preferredCabin = "foo";
- o.prohibitedCarrier = buildUnnamed15();
+ o.prohibitedCarrier = buildUnnamed354();
}
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'));
- checkUnnamed14(o.permittedCarrier);
+ checkUnnamed353(o.permittedCarrier);
checkTimeOfDayRange(o.permittedDepartureTime);
unittest.expect(o.preferredCabin, unittest.equals('foo'));
- checkUnnamed15(o.prohibitedCarrier);
+ checkUnnamed354(o.prohibitedCarrier);
}
buildCounterSliceInput--;
}
@@ -768,27 +768,27 @@
buildCounterTimeOfDayRange--;
}
-buildUnnamed16() {
+buildUnnamed355() {
var o = new core.List<api.PricingInfo>();
o.add(buildPricingInfo());
o.add(buildPricingInfo());
return o;
}
-checkUnnamed16(core.List<api.PricingInfo> o) {
+checkUnnamed355(core.List<api.PricingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingInfo(o[0]);
checkPricingInfo(o[1]);
}
-buildUnnamed17() {
+buildUnnamed356() {
var o = new core.List<api.SliceInfo>();
o.add(buildSliceInfo());
o.add(buildSliceInfo());
return o;
}
-checkUnnamed17(core.List<api.SliceInfo> o) {
+checkUnnamed356(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 = buildUnnamed16();
+ o.pricing = buildUnnamed355();
o.saleTotal = "foo";
- o.slice = buildUnnamed17();
+ o.slice = buildUnnamed356();
}
buildCounterTripOption--;
return o;
@@ -814,21 +814,21 @@
if (buildCounterTripOption < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed16(o.pricing);
+ checkUnnamed355(o.pricing);
unittest.expect(o.saleTotal, unittest.equals('foo'));
- checkUnnamed17(o.slice);
+ checkUnnamed356(o.slice);
}
buildCounterTripOption--;
}
-buildUnnamed18() {
+buildUnnamed357() {
var o = new core.List<api.SliceInput>();
o.add(buildSliceInput());
o.add(buildSliceInput());
return o;
}
-checkUnnamed18(core.List<api.SliceInput> o) {
+checkUnnamed357(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 = buildUnnamed18();
+ o.slice = buildUnnamed357();
o.solutions = 42;
}
buildCounterTripOptionsRequest--;
@@ -857,20 +857,20 @@
checkPassengerCounts(o.passengers);
unittest.expect(o.refundable, unittest.isTrue);
unittest.expect(o.saleCountry, unittest.equals('foo'));
- checkUnnamed18(o.slice);
+ checkUnnamed357(o.slice);
unittest.expect(o.solutions, unittest.equals(42));
}
buildCounterTripOptionsRequest--;
}
-buildUnnamed19() {
+buildUnnamed358() {
var o = new core.List<api.TripOption>();
o.add(buildTripOption());
o.add(buildTripOption());
return o;
}
-checkUnnamed19(core.List<api.TripOption> o) {
+checkUnnamed358(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 = buildUnnamed19();
+ o.tripOption = buildUnnamed358();
}
buildCounterTripOptionsResponse--;
return o;
@@ -896,7 +896,7 @@
checkData(o.data);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed19(o.tripOption);
+ checkUnnamed358(o.tripOption);
}
buildCounterTripOptionsResponse--;
}
diff --git a/generated/googleapis/test/reseller/v1_test.dart b/generated/googleapis/test/reseller/v1_test.dart
index 8045341..12531c1 100644
--- a/generated/googleapis/test/reseller/v1_test.dart
+++ b/generated/googleapis/test/reseller/v1_test.dart
@@ -282,14 +282,14 @@
buildCounterSubscription--;
}
-buildUnnamed960() {
+buildUnnamed655() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed960(core.List<api.Subscription> o) {
+checkUnnamed655(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 = buildUnnamed960();
+ o.subscriptions = buildUnnamed655();
}
buildCounterSubscriptions--;
return o;
@@ -313,7 +313,7 @@
if (buildCounterSubscriptions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed960(o.subscriptions);
+ checkUnnamed655(o.subscriptions);
}
buildCounterSubscriptions--;
}
diff --git a/generated/googleapis/test/siteverification/v1_test.dart b/generated/googleapis/test/siteverification/v1_test.dart
index 4373116..09bf289 100644
--- a/generated/googleapis/test/siteverification/v1_test.dart
+++ b/generated/googleapis/test/siteverification/v1_test.dart
@@ -79,14 +79,14 @@
buildCounterSiteVerificationWebResourceGettokenResponse--;
}
-buildUnnamed188() {
+buildUnnamed304() {
var o = new core.List<api.SiteVerificationWebResourceResource>();
o.add(buildSiteVerificationWebResourceResource());
o.add(buildSiteVerificationWebResourceResource());
return o;
}
-checkUnnamed188(core.List<api.SiteVerificationWebResourceResource> o) {
+checkUnnamed304(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 = buildUnnamed188();
+ o.items = buildUnnamed304();
}
buildCounterSiteVerificationWebResourceListResponse--;
return o;
@@ -106,19 +106,19 @@
checkSiteVerificationWebResourceListResponse(api.SiteVerificationWebResourceListResponse o) {
buildCounterSiteVerificationWebResourceListResponse++;
if (buildCounterSiteVerificationWebResourceListResponse < 3) {
- checkUnnamed188(o.items);
+ checkUnnamed304(o.items);
}
buildCounterSiteVerificationWebResourceListResponse--;
}
-buildUnnamed189() {
+buildUnnamed305() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed189(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'));
@@ -151,7 +151,7 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
o.id = "foo";
- o.owners = buildUnnamed189();
+ o.owners = buildUnnamed305();
o.site = buildSiteVerificationWebResourceResourceSite();
}
buildCounterSiteVerificationWebResourceResource--;
@@ -162,7 +162,7 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed189(o.owners);
+ checkUnnamed305(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 078671d..cd6e3ce 100644
--- a/generated/googleapis/test/storage/v1_test.dart
+++ b/generated/googleapis/test/storage/v1_test.dart
@@ -16,53 +16,53 @@
-buildUnnamed510() {
+buildUnnamed700() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed510(core.List<api.BucketAccessControl> o) {
+checkUnnamed700(core.List<api.BucketAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketAccessControl(o[0]);
checkBucketAccessControl(o[1]);
}
-buildUnnamed511() {
+buildUnnamed701() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed511(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'));
}
-buildUnnamed512() {
+buildUnnamed702() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed512(core.List<core.String> o) {
+checkUnnamed702(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed513() {
+buildUnnamed703() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed513(core.List<core.String> o) {
+checkUnnamed703(core.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 = buildUnnamed511();
- o.origin = buildUnnamed512();
- o.responseHeader = buildUnnamed513();
+ o.method = buildUnnamed701();
+ o.origin = buildUnnamed702();
+ o.responseHeader = buildUnnamed703();
}
buildCounterBucketCors--;
return o;
@@ -86,34 +86,34 @@
buildCounterBucketCors++;
if (buildCounterBucketCors < 3) {
unittest.expect(o.maxAgeSeconds, unittest.equals(42));
- checkUnnamed511(o.method);
- checkUnnamed512(o.origin);
- checkUnnamed513(o.responseHeader);
+ checkUnnamed701(o.method);
+ checkUnnamed702(o.origin);
+ checkUnnamed703(o.responseHeader);
}
buildCounterBucketCors--;
}
-buildUnnamed514() {
+buildUnnamed704() {
var o = new core.List<api.BucketCors>();
o.add(buildBucketCors());
o.add(buildBucketCors());
return o;
}
-checkUnnamed514(core.List<api.BucketCors> o) {
+checkUnnamed704(core.List<api.BucketCors> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketCors(o[0]);
checkBucketCors(o[1]);
}
-buildUnnamed515() {
+buildUnnamed705() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed515(core.List<api.ObjectAccessControl> o) {
+checkUnnamed705(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -184,14 +184,14 @@
buildCounterBucketLifecycleRule--;
}
-buildUnnamed516() {
+buildUnnamed706() {
var o = new core.List<api.BucketLifecycleRule>();
o.add(buildBucketLifecycleRule());
o.add(buildBucketLifecycleRule());
return o;
}
-checkUnnamed516(core.List<api.BucketLifecycleRule> o) {
+checkUnnamed706(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 = buildUnnamed516();
+ o.rule = buildUnnamed706();
}
buildCounterBucketLifecycle--;
return o;
@@ -211,7 +211,7 @@
checkBucketLifecycle(api.BucketLifecycle o) {
buildCounterBucketLifecycle++;
if (buildCounterBucketLifecycle < 3) {
- checkUnnamed516(o.rule);
+ checkUnnamed706(o.rule);
}
buildCounterBucketLifecycle--;
}
@@ -303,9 +303,9 @@
var o = new api.Bucket();
buildCounterBucket++;
if (buildCounterBucket < 3) {
- o.acl = buildUnnamed510();
- o.cors = buildUnnamed514();
- o.defaultObjectAcl = buildUnnamed515();
+ o.acl = buildUnnamed700();
+ o.cors = buildUnnamed704();
+ o.defaultObjectAcl = buildUnnamed705();
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
@@ -329,9 +329,9 @@
checkBucket(api.Bucket o) {
buildCounterBucket++;
if (buildCounterBucket < 3) {
- checkUnnamed510(o.acl);
- checkUnnamed514(o.cors);
- checkUnnamed515(o.defaultObjectAcl);
+ checkUnnamed700(o.acl);
+ checkUnnamed704(o.cors);
+ checkUnnamed705(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--;
}
-buildUnnamed517() {
+buildUnnamed707() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed517(core.List<api.BucketAccessControl> o) {
+checkUnnamed707(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 = buildUnnamed517();
+ o.items = buildUnnamed707();
o.kind = "foo";
}
buildCounterBucketAccessControls--;
@@ -439,20 +439,20 @@
checkBucketAccessControls(api.BucketAccessControls o) {
buildCounterBucketAccessControls++;
if (buildCounterBucketAccessControls < 3) {
- checkUnnamed517(o.items);
+ checkUnnamed707(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBucketAccessControls--;
}
-buildUnnamed518() {
+buildUnnamed708() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed518(core.List<api.Bucket> o) {
+checkUnnamed708(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 = buildUnnamed518();
+ o.items = buildUnnamed708();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -474,21 +474,21 @@
checkBuckets(api.Buckets o) {
buildCounterBuckets++;
if (buildCounterBuckets < 3) {
- checkUnnamed518(o.items);
+ checkUnnamed708(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterBuckets--;
}
-buildUnnamed519() {
+buildUnnamed709() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed519(core.Map<core.String, core.String> o) {
+checkUnnamed709(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 = buildUnnamed519();
+ o.params = buildUnnamed709();
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'));
- checkUnnamed519(o.params);
+ checkUnnamed709(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--;
}
-buildUnnamed520() {
+buildUnnamed710() {
var o = new core.List<api.ComposeRequestSourceObjects>();
o.add(buildComposeRequestSourceObjects());
o.add(buildComposeRequestSourceObjects());
return o;
}
-checkUnnamed520(core.List<api.ComposeRequestSourceObjects> o) {
+checkUnnamed710(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 = buildUnnamed520();
+ o.sourceObjects = buildUnnamed710();
}
buildCounterComposeRequest--;
return o;
@@ -604,32 +604,32 @@
if (buildCounterComposeRequest < 3) {
checkObject(o.destination);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed520(o.sourceObjects);
+ checkUnnamed710(o.sourceObjects);
}
buildCounterComposeRequest--;
}
-buildUnnamed521() {
+buildUnnamed711() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed521(core.List<api.ObjectAccessControl> o) {
+checkUnnamed711(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
}
-buildUnnamed522() {
+buildUnnamed712() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed522(core.Map<core.String, core.String> o) {
+checkUnnamed712(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 = buildUnnamed521();
+ o.acl = buildUnnamed711();
o.bucket = "foo";
o.cacheControl = "foo";
o.componentCount = 42;
@@ -676,7 +676,7 @@
o.kind = "foo";
o.md5Hash = "foo";
o.mediaLink = "foo";
- o.metadata = buildUnnamed522();
+ o.metadata = buildUnnamed712();
o.metageneration = "foo";
o.name = "foo";
o.owner = buildObjectOwner();
@@ -693,7 +693,7 @@
checkObject(api.Object o) {
buildCounterObject++;
if (buildCounterObject < 3) {
- checkUnnamed521(o.acl);
+ checkUnnamed711(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'));
- checkUnnamed522(o.metadata);
+ checkUnnamed712(o.metadata);
unittest.expect(o.metageneration, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkObjectOwner(o.owner);
@@ -785,14 +785,14 @@
buildCounterObjectAccessControl--;
}
-buildUnnamed523() {
+buildUnnamed713() {
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;
}
-checkUnnamed523(core.List<core.Object> o) {
+checkUnnamed713(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 = buildUnnamed523();
+ o.items = buildUnnamed713();
o.kind = "foo";
}
buildCounterObjectAccessControls--;
@@ -813,33 +813,33 @@
checkObjectAccessControls(api.ObjectAccessControls o) {
buildCounterObjectAccessControls++;
if (buildCounterObjectAccessControls < 3) {
- checkUnnamed523(o.items);
+ checkUnnamed713(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterObjectAccessControls--;
}
-buildUnnamed524() {
+buildUnnamed714() {
var o = new core.List<api.Object>();
o.add(buildObject());
o.add(buildObject());
return o;
}
-checkUnnamed524(core.List<api.Object> o) {
+checkUnnamed714(core.List<api.Object> o) {
unittest.expect(o, unittest.hasLength(2));
checkObject(o[0]);
checkObject(o[1]);
}
-buildUnnamed525() {
+buildUnnamed715() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed525(core.List<core.String> o) {
+checkUnnamed715(core.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 = buildUnnamed524();
+ o.items = buildUnnamed714();
o.kind = "foo";
o.nextPageToken = "foo";
- o.prefixes = buildUnnamed525();
+ o.prefixes = buildUnnamed715();
}
buildCounterObjects--;
return o;
@@ -862,10 +862,10 @@
checkObjects(api.Objects o) {
buildCounterObjects++;
if (buildCounterObjects < 3) {
- checkUnnamed524(o.items);
+ checkUnnamed714(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed525(o.prefixes);
+ checkUnnamed715(o.prefixes);
}
buildCounterObjects--;
}
diff --git a/generated/googleapis/test/tasks/v1_test.dart b/generated/googleapis/test/tasks/v1_test.dart
index 5315b51..54a88c2 100644
--- a/generated/googleapis/test/tasks/v1_test.dart
+++ b/generated/googleapis/test/tasks/v1_test.dart
@@ -39,14 +39,14 @@
buildCounterTaskLinks--;
}
-buildUnnamed1038() {
+buildUnnamed593() {
var o = new core.List<api.TaskLinks>();
o.add(buildTaskLinks());
o.add(buildTaskLinks());
return o;
}
-checkUnnamed1038(core.List<api.TaskLinks> o) {
+checkUnnamed593(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 = buildUnnamed1038();
+ o.links = buildUnnamed593();
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'));
- checkUnnamed1038(o.links);
+ checkUnnamed593(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--;
}
-buildUnnamed1039() {
+buildUnnamed594() {
var o = new core.List<api.TaskList>();
o.add(buildTaskList());
o.add(buildTaskList());
return o;
}
-checkUnnamed1039(core.List<api.TaskList> o) {
+checkUnnamed594(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 = buildUnnamed1039();
+ o.items = buildUnnamed594();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -159,21 +159,21 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1039(o.items);
+ checkUnnamed594(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterTaskLists--;
}
-buildUnnamed1040() {
+buildUnnamed595() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed1040(core.List<api.Task> o) {
+checkUnnamed595(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 = buildUnnamed1040();
+ o.items = buildUnnamed595();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -197,7 +197,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1040(o.items);
+ checkUnnamed595(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 1d84cce..70333a7 100644
--- a/generated/googleapis/test/translate/v2_test.dart
+++ b/generated/googleapis/test/translate/v2_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed459() {
+buildUnnamed818() {
var o = new core.List<api.DetectionsResource>();
o.add(buildDetectionsResource());
o.add(buildDetectionsResource());
return o;
}
-checkUnnamed459(core.List<api.DetectionsResource> o) {
+checkUnnamed818(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 = buildUnnamed459();
+ o.detections = buildUnnamed818();
}
buildCounterDetectionsListResponse--;
return o;
@@ -43,7 +43,7 @@
checkDetectionsListResponse(api.DetectionsListResponse o) {
buildCounterDetectionsListResponse++;
if (buildCounterDetectionsListResponse < 3) {
- checkUnnamed459(o.detections);
+ checkUnnamed818(o.detections);
}
buildCounterDetectionsListResponse--;
}
@@ -84,14 +84,14 @@
checkDetectionsResourceElement(o[1]);
}
-buildUnnamed460() {
+buildUnnamed819() {
var o = new core.List<api.LanguagesResource>();
o.add(buildLanguagesResource());
o.add(buildLanguagesResource());
return o;
}
-checkUnnamed460(core.List<api.LanguagesResource> o) {
+checkUnnamed819(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 = buildUnnamed460();
+ o.languages = buildUnnamed819();
}
buildCounterLanguagesListResponse--;
return o;
@@ -111,7 +111,7 @@
checkLanguagesListResponse(api.LanguagesListResponse o) {
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
- checkUnnamed460(o.languages);
+ checkUnnamed819(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -137,14 +137,14 @@
buildCounterLanguagesResource--;
}
-buildUnnamed461() {
+buildUnnamed820() {
var o = new core.List<api.TranslationsResource>();
o.add(buildTranslationsResource());
o.add(buildTranslationsResource());
return o;
}
-checkUnnamed461(core.List<api.TranslationsResource> o) {
+checkUnnamed820(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 = buildUnnamed461();
+ o.translations = buildUnnamed820();
}
buildCounterTranslationsListResponse--;
return o;
@@ -164,7 +164,7 @@
checkTranslationsListResponse(api.TranslationsListResponse o) {
buildCounterTranslationsListResponse++;
if (buildCounterTranslationsListResponse < 3) {
- checkUnnamed461(o.translations);
+ checkUnnamed820(o.translations);
}
buildCounterTranslationsListResponse--;
}
@@ -190,40 +190,40 @@
buildCounterTranslationsResource--;
}
-buildUnnamed462() {
+buildUnnamed821() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed462(core.List<core.String> o) {
+checkUnnamed821(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed463() {
+buildUnnamed822() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed463(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'));
}
-buildUnnamed464() {
+buildUnnamed823() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed464(core.List<core.String> o) {
+checkUnnamed823(core.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 = buildUnnamed462();
+ var arg_q = buildUnnamed821();
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 = buildUnnamed463();
+ var arg_q = buildUnnamed822();
var arg_target = "foo";
- var arg_cid = buildUnnamed464();
+ var arg_cid = buildUnnamed823();
var arg_format = "foo";
var arg_source = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/urlshortener/v1_test.dart b/generated/googleapis/test/urlshortener/v1_test.dart
index d8326f5..17b68ba 100644
--- a/generated/googleapis/test/urlshortener/v1_test.dart
+++ b/generated/googleapis/test/urlshortener/v1_test.dart
@@ -16,53 +16,53 @@
-buildUnnamed465() {
+buildUnnamed0() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed465(core.List<api.StringCount> o) {
+checkUnnamed0(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed466() {
+buildUnnamed1() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed466(core.List<api.StringCount> o) {
+checkUnnamed1(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed467() {
+buildUnnamed2() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed467(core.List<api.StringCount> o) {
+checkUnnamed2(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed468() {
+buildUnnamed3() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed468(core.List<api.StringCount> o) {
+checkUnnamed3(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
@@ -73,11 +73,11 @@
var o = new api.AnalyticsSnapshot();
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- o.browsers = buildUnnamed465();
- o.countries = buildUnnamed466();
+ o.browsers = buildUnnamed0();
+ o.countries = buildUnnamed1();
o.longUrlClicks = "foo";
- o.platforms = buildUnnamed467();
- o.referrers = buildUnnamed468();
+ o.platforms = buildUnnamed2();
+ o.referrers = buildUnnamed3();
o.shortUrlClicks = "foo";
}
buildCounterAnalyticsSnapshot--;
@@ -87,11 +87,11 @@
checkAnalyticsSnapshot(api.AnalyticsSnapshot o) {
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- checkUnnamed465(o.browsers);
- checkUnnamed466(o.countries);
+ checkUnnamed0(o.browsers);
+ checkUnnamed1(o.countries);
unittest.expect(o.longUrlClicks, unittest.equals('foo'));
- checkUnnamed467(o.platforms);
- checkUnnamed468(o.referrers);
+ checkUnnamed2(o.platforms);
+ checkUnnamed3(o.referrers);
unittest.expect(o.shortUrlClicks, unittest.equals('foo'));
}
buildCounterAnalyticsSnapshot--;
@@ -174,14 +174,14 @@
buildCounterUrl--;
}
-buildUnnamed469() {
+buildUnnamed4() {
var o = new core.List<api.Url>();
o.add(buildUrl());
o.add(buildUrl());
return o;
}
-checkUnnamed469(core.List<api.Url> o) {
+checkUnnamed4(core.List<api.Url> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrl(o[0]);
checkUrl(o[1]);
@@ -192,7 +192,7 @@
var o = new api.UrlHistory();
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- o.items = buildUnnamed469();
+ o.items = buildUnnamed4();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -205,7 +205,7 @@
checkUrlHistory(api.UrlHistory o) {
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- checkUnnamed469(o.items);
+ checkUnnamed4(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
diff --git a/generated/googleapis/test/webfonts/v1_test.dart b/generated/googleapis/test/webfonts/v1_test.dart
index dc7c9e3..8467f5f 100644
--- a/generated/googleapis/test/webfonts/v1_test.dart
+++ b/generated/googleapis/test/webfonts/v1_test.dart
@@ -16,40 +16,40 @@
-buildUnnamed789() {
+buildUnnamed78() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed789(core.Map<core.String, core.String> o) {
+checkUnnamed78(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'));
}
-buildUnnamed790() {
+buildUnnamed79() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed790(core.List<core.String> 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'));
}
-buildUnnamed791() {
+buildUnnamed80() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed791(core.List<core.String> o) {
+checkUnnamed80(core.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,11 +62,11 @@
if (buildCounterWebfont < 3) {
o.category = "foo";
o.family = "foo";
- o.files = buildUnnamed789();
+ o.files = buildUnnamed78();
o.kind = "foo";
o.lastModified = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.subsets = buildUnnamed790();
- o.variants = buildUnnamed791();
+ o.subsets = buildUnnamed79();
+ o.variants = buildUnnamed80();
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'));
- checkUnnamed789(o.files);
+ checkUnnamed78(o.files);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastModified, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed790(o.subsets);
- checkUnnamed791(o.variants);
+ checkUnnamed79(o.subsets);
+ checkUnnamed80(o.variants);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterWebfont--;
}
-buildUnnamed792() {
+buildUnnamed81() {
var o = new core.List<api.Webfont>();
o.add(buildWebfont());
o.add(buildWebfont());
return o;
}
-checkUnnamed792(core.List<api.Webfont> o) {
+checkUnnamed81(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 = buildUnnamed792();
+ o.items = buildUnnamed81();
o.kind = "foo";
}
buildCounterWebfontList--;
@@ -116,7 +116,7 @@
checkWebfontList(api.WebfontList o) {
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- checkUnnamed792(o.items);
+ checkUnnamed81(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
new file mode 100644
index 0000000..7ba1321
--- /dev/null
+++ b/generated/googleapis/test/webmasters/v3_test.dart
@@ -0,0 +1,1134 @@
+library googleapis.webmasters.v3.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/webmasters/v3.dart' as api;
+
+
+
+buildUnnamed82() {
+ var o = new core.List<api.WmxSitemap>();
+ o.add(buildWmxSitemap());
+ o.add(buildWmxSitemap());
+ return o;
+}
+
+checkUnnamed82(core.List<api.WmxSitemap> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkWmxSitemap(o[0]);
+ checkWmxSitemap(o[1]);
+}
+
+core.int buildCounterSitemapsListResponse = 0;
+buildSitemapsListResponse() {
+ var o = new api.SitemapsListResponse();
+ buildCounterSitemapsListResponse++;
+ if (buildCounterSitemapsListResponse < 3) {
+ o.sitemap = buildUnnamed82();
+ }
+ buildCounterSitemapsListResponse--;
+ return o;
+}
+
+checkSitemapsListResponse(api.SitemapsListResponse o) {
+ buildCounterSitemapsListResponse++;
+ if (buildCounterSitemapsListResponse < 3) {
+ checkUnnamed82(o.sitemap);
+ }
+ buildCounterSitemapsListResponse--;
+}
+
+buildUnnamed83() {
+ var o = new core.List<api.WmxSite>();
+ o.add(buildWmxSite());
+ o.add(buildWmxSite());
+ return o;
+}
+
+checkUnnamed83(core.List<api.WmxSite> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkWmxSite(o[0]);
+ checkWmxSite(o[1]);
+}
+
+core.int buildCounterSitesListResponse = 0;
+buildSitesListResponse() {
+ var o = new api.SitesListResponse();
+ buildCounterSitesListResponse++;
+ if (buildCounterSitesListResponse < 3) {
+ o.siteEntry = buildUnnamed83();
+ }
+ buildCounterSitesListResponse--;
+ return o;
+}
+
+checkSitesListResponse(api.SitesListResponse o) {
+ buildCounterSitesListResponse++;
+ if (buildCounterSitesListResponse < 3) {
+ checkUnnamed83(o.siteEntry);
+ }
+ buildCounterSitesListResponse--;
+}
+
+core.int buildCounterUrlCrawlErrorCount = 0;
+buildUrlCrawlErrorCount() {
+ var o = new api.UrlCrawlErrorCount();
+ buildCounterUrlCrawlErrorCount++;
+ if (buildCounterUrlCrawlErrorCount < 3) {
+ o.count = "foo";
+ o.timestamp = core.DateTime.parse("2002-02-27T14:01:02");
+ }
+ buildCounterUrlCrawlErrorCount--;
+ return o;
+}
+
+checkUrlCrawlErrorCount(api.UrlCrawlErrorCount o) {
+ buildCounterUrlCrawlErrorCount++;
+ if (buildCounterUrlCrawlErrorCount < 3) {
+ unittest.expect(o.count, unittest.equals('foo'));
+ unittest.expect(o.timestamp, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
+ }
+ buildCounterUrlCrawlErrorCount--;
+}
+
+buildUnnamed84() {
+ var o = new core.List<api.UrlCrawlErrorCount>();
+ o.add(buildUrlCrawlErrorCount());
+ o.add(buildUrlCrawlErrorCount());
+ return o;
+}
+
+checkUnnamed84(core.List<api.UrlCrawlErrorCount> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUrlCrawlErrorCount(o[0]);
+ checkUrlCrawlErrorCount(o[1]);
+}
+
+core.int buildCounterUrlCrawlErrorCountsPerType = 0;
+buildUrlCrawlErrorCountsPerType() {
+ var o = new api.UrlCrawlErrorCountsPerType();
+ buildCounterUrlCrawlErrorCountsPerType++;
+ if (buildCounterUrlCrawlErrorCountsPerType < 3) {
+ o.category = "foo";
+ o.entries = buildUnnamed84();
+ o.platform = "foo";
+ }
+ buildCounterUrlCrawlErrorCountsPerType--;
+ return o;
+}
+
+checkUrlCrawlErrorCountsPerType(api.UrlCrawlErrorCountsPerType o) {
+ buildCounterUrlCrawlErrorCountsPerType++;
+ if (buildCounterUrlCrawlErrorCountsPerType < 3) {
+ unittest.expect(o.category, unittest.equals('foo'));
+ checkUnnamed84(o.entries);
+ unittest.expect(o.platform, unittest.equals('foo'));
+ }
+ buildCounterUrlCrawlErrorCountsPerType--;
+}
+
+buildUnnamed85() {
+ var o = new core.List<api.UrlCrawlErrorCountsPerType>();
+ o.add(buildUrlCrawlErrorCountsPerType());
+ o.add(buildUrlCrawlErrorCountsPerType());
+ return o;
+}
+
+checkUnnamed85(core.List<api.UrlCrawlErrorCountsPerType> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUrlCrawlErrorCountsPerType(o[0]);
+ checkUrlCrawlErrorCountsPerType(o[1]);
+}
+
+core.int buildCounterUrlCrawlErrorsCountsQueryResponse = 0;
+buildUrlCrawlErrorsCountsQueryResponse() {
+ var o = new api.UrlCrawlErrorsCountsQueryResponse();
+ buildCounterUrlCrawlErrorsCountsQueryResponse++;
+ if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) {
+ o.countPerTypes = buildUnnamed85();
+ }
+ buildCounterUrlCrawlErrorsCountsQueryResponse--;
+ return o;
+}
+
+checkUrlCrawlErrorsCountsQueryResponse(api.UrlCrawlErrorsCountsQueryResponse o) {
+ buildCounterUrlCrawlErrorsCountsQueryResponse++;
+ if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) {
+ checkUnnamed85(o.countPerTypes);
+ }
+ buildCounterUrlCrawlErrorsCountsQueryResponse--;
+}
+
+core.int buildCounterUrlCrawlErrorsSample = 0;
+buildUrlCrawlErrorsSample() {
+ var o = new api.UrlCrawlErrorsSample();
+ buildCounterUrlCrawlErrorsSample++;
+ if (buildCounterUrlCrawlErrorsSample < 3) {
+ o.firstDetected = core.DateTime.parse("2002-02-27T14:01:02");
+ o.lastCrawled = core.DateTime.parse("2002-02-27T14:01:02");
+ o.pageUrl = "foo";
+ o.responseCode = 42;
+ o.urlDetails = buildUrlSampleDetails();
+ }
+ buildCounterUrlCrawlErrorsSample--;
+ return o;
+}
+
+checkUrlCrawlErrorsSample(api.UrlCrawlErrorsSample o) {
+ buildCounterUrlCrawlErrorsSample++;
+ if (buildCounterUrlCrawlErrorsSample < 3) {
+ unittest.expect(o.firstDetected, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
+ unittest.expect(o.lastCrawled, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
+ unittest.expect(o.pageUrl, unittest.equals('foo'));
+ unittest.expect(o.responseCode, unittest.equals(42));
+ checkUrlSampleDetails(o.urlDetails);
+ }
+ buildCounterUrlCrawlErrorsSample--;
+}
+
+buildUnnamed86() {
+ var o = new core.List<api.UrlCrawlErrorsSample>();
+ o.add(buildUrlCrawlErrorsSample());
+ o.add(buildUrlCrawlErrorsSample());
+ return o;
+}
+
+checkUnnamed86(core.List<api.UrlCrawlErrorsSample> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUrlCrawlErrorsSample(o[0]);
+ checkUrlCrawlErrorsSample(o[1]);
+}
+
+core.int buildCounterUrlCrawlErrorsSamplesListResponse = 0;
+buildUrlCrawlErrorsSamplesListResponse() {
+ var o = new api.UrlCrawlErrorsSamplesListResponse();
+ buildCounterUrlCrawlErrorsSamplesListResponse++;
+ if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
+ o.urlCrawlErrorSample = buildUnnamed86();
+ }
+ buildCounterUrlCrawlErrorsSamplesListResponse--;
+ return o;
+}
+
+checkUrlCrawlErrorsSamplesListResponse(api.UrlCrawlErrorsSamplesListResponse o) {
+ buildCounterUrlCrawlErrorsSamplesListResponse++;
+ if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
+ checkUnnamed86(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");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed88(core.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();
+ }
+ buildCounterUrlSampleDetails--;
+ return o;
+}
+
+checkUrlSampleDetails(api.UrlSampleDetails o) {
+ buildCounterUrlSampleDetails++;
+ if (buildCounterUrlSampleDetails < 3) {
+ checkUnnamed87(o.containingSitemaps);
+ checkUnnamed88(o.linkedFromUrls);
+ }
+ buildCounterUrlSampleDetails--;
+}
+
+core.int buildCounterWmxSite = 0;
+buildWmxSite() {
+ var o = new api.WmxSite();
+ buildCounterWmxSite++;
+ if (buildCounterWmxSite < 3) {
+ o.permissionLevel = "foo";
+ o.siteUrl = "foo";
+ }
+ buildCounterWmxSite--;
+ return o;
+}
+
+checkWmxSite(api.WmxSite o) {
+ buildCounterWmxSite++;
+ if (buildCounterWmxSite < 3) {
+ unittest.expect(o.permissionLevel, unittest.equals('foo'));
+ unittest.expect(o.siteUrl, unittest.equals('foo'));
+ }
+ buildCounterWmxSite--;
+}
+
+buildUnnamed89() {
+ var o = new core.List<api.WmxSitemapContent>();
+ o.add(buildWmxSitemapContent());
+ o.add(buildWmxSitemapContent());
+ return o;
+}
+
+checkUnnamed89(core.List<api.WmxSitemapContent> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkWmxSitemapContent(o[0]);
+ checkWmxSitemapContent(o[1]);
+}
+
+core.int buildCounterWmxSitemap = 0;
+buildWmxSitemap() {
+ var o = new api.WmxSitemap();
+ buildCounterWmxSitemap++;
+ if (buildCounterWmxSitemap < 3) {
+ o.contents = buildUnnamed89();
+ o.errors = "foo";
+ o.isPending = true;
+ o.isSitemapsIndex = true;
+ o.lastDownloaded = core.DateTime.parse("2002-02-27T14:01:02");
+ o.lastSubmitted = core.DateTime.parse("2002-02-27T14:01:02");
+ o.path = "foo";
+ o.type = "foo";
+ o.warnings = "foo";
+ }
+ buildCounterWmxSitemap--;
+ return o;
+}
+
+checkWmxSitemap(api.WmxSitemap o) {
+ buildCounterWmxSitemap++;
+ if (buildCounterWmxSitemap < 3) {
+ checkUnnamed89(o.contents);
+ unittest.expect(o.errors, unittest.equals('foo'));
+ unittest.expect(o.isPending, unittest.isTrue);
+ unittest.expect(o.isSitemapsIndex, unittest.isTrue);
+ unittest.expect(o.lastDownloaded, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
+ unittest.expect(o.lastSubmitted, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
+ unittest.expect(o.path, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.warnings, unittest.equals('foo'));
+ }
+ buildCounterWmxSitemap--;
+}
+
+core.int buildCounterWmxSitemapContent = 0;
+buildWmxSitemapContent() {
+ var o = new api.WmxSitemapContent();
+ buildCounterWmxSitemapContent++;
+ if (buildCounterWmxSitemapContent < 3) {
+ o.indexed = "foo";
+ o.submitted = "foo";
+ o.type = "foo";
+ }
+ buildCounterWmxSitemapContent--;
+ return o;
+}
+
+checkWmxSitemapContent(api.WmxSitemapContent o) {
+ buildCounterWmxSitemapContent++;
+ if (buildCounterWmxSitemapContent < 3) {
+ unittest.expect(o.indexed, unittest.equals('foo'));
+ unittest.expect(o.submitted, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterWmxSitemapContent--;
+}
+
+
+main() {
+ unittest.group("obj-schema-SitemapsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSitemapsListResponse();
+ var od = new api.SitemapsListResponse.fromJson(o.toJson());
+ checkSitemapsListResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-SitesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSitesListResponse();
+ var od = new api.SitesListResponse.fromJson(o.toJson());
+ checkSitesListResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-UrlCrawlErrorCount", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUrlCrawlErrorCount();
+ var od = new api.UrlCrawlErrorCount.fromJson(o.toJson());
+ checkUrlCrawlErrorCount(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-UrlCrawlErrorCountsPerType", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUrlCrawlErrorCountsPerType();
+ var od = new api.UrlCrawlErrorCountsPerType.fromJson(o.toJson());
+ checkUrlCrawlErrorCountsPerType(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-UrlCrawlErrorsCountsQueryResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUrlCrawlErrorsCountsQueryResponse();
+ var od = new api.UrlCrawlErrorsCountsQueryResponse.fromJson(o.toJson());
+ checkUrlCrawlErrorsCountsQueryResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-UrlCrawlErrorsSample", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUrlCrawlErrorsSample();
+ var od = new api.UrlCrawlErrorsSample.fromJson(o.toJson());
+ checkUrlCrawlErrorsSample(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-UrlCrawlErrorsSamplesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUrlCrawlErrorsSamplesListResponse();
+ var od = new api.UrlCrawlErrorsSamplesListResponse.fromJson(o.toJson());
+ checkUrlCrawlErrorsSamplesListResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-UrlSampleDetails", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUrlSampleDetails();
+ var od = new api.UrlSampleDetails.fromJson(o.toJson());
+ checkUrlSampleDetails(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-WmxSite", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildWmxSite();
+ var od = new api.WmxSite.fromJson(o.toJson());
+ checkWmxSite(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-WmxSitemap", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildWmxSitemap();
+ var od = new api.WmxSitemap.fromJson(o.toJson());
+ checkWmxSitemap(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-WmxSitemapContent", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildWmxSitemapContent();
+ var od = new api.WmxSitemapContent.fromJson(o.toJson());
+ checkWmxSitemapContent(od);
+ });
+ });
+
+
+ unittest.group("resource-SitemapsResourceApi", () {
+ unittest.test("method--delete", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.SitemapsResourceApi res = new api.WebmastersApi(mock).sitemaps;
+ var arg_siteUrl = "foo";
+ var arg_feedpath = "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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("sites/"));
+ pathOffset += 6;
+ index = path.indexOf("/sitemaps/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_siteUrl"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/sitemaps/"));
+ pathOffset += 10;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_feedpath"));
+
+ 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_siteUrl, arg_feedpath).then(unittest.expectAsync((_) {}));
+ });
+
+ unittest.test("method--get", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.SitemapsResourceApi res = new api.WebmastersApi(mock).sitemaps;
+ var arg_siteUrl = "foo";
+ var arg_feedpath = "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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("sites/"));
+ pathOffset += 6;
+ index = path.indexOf("/sitemaps/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_siteUrl"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/sitemaps/"));
+ pathOffset += 10;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_feedpath"));
+
+ 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(buildWmxSitemap());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_siteUrl, arg_feedpath).then(unittest.expectAsync(((api.WmxSitemap response) {
+ checkWmxSitemap(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.SitemapsResourceApi res = new api.WebmastersApi(mock).sitemaps;
+ var arg_siteUrl = "foo";
+ var arg_sitemapIndex = "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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("sites/"));
+ pathOffset += 6;
+ index = path.indexOf("/sitemaps", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_siteUrl"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/sitemaps"));
+ 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["sitemapIndex"].first, unittest.equals(arg_sitemapIndex));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSitemapsListResponse());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_siteUrl, sitemapIndex: arg_sitemapIndex).then(unittest.expectAsync(((api.SitemapsListResponse response) {
+ checkSitemapsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--submit", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.SitemapsResourceApi res = new api.WebmastersApi(mock).sitemaps;
+ var arg_siteUrl = "foo";
+ var arg_feedpath = "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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("sites/"));
+ pathOffset += 6;
+ index = path.indexOf("/sitemaps/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_siteUrl"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/sitemaps/"));
+ pathOffset += 10;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_feedpath"));
+
+ 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.submit(arg_siteUrl, arg_feedpath).then(unittest.expectAsync((_) {}));
+ });
+
+ });
+
+
+ unittest.group("resource-SitesResourceApi", () {
+ unittest.test("method--add", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.SitesResourceApi res = new api.WebmastersApi(mock).sites;
+ var arg_siteUrl = "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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("sites/"));
+ pathOffset += 6;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_siteUrl"));
+
+ 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.add(arg_siteUrl).then(unittest.expectAsync((_) {}));
+ });
+
+ unittest.test("method--delete", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.SitesResourceApi res = new api.WebmastersApi(mock).sites;
+ var arg_siteUrl = "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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("sites/"));
+ pathOffset += 6;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_siteUrl"));
+
+ 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_siteUrl).then(unittest.expectAsync((_) {}));
+ });
+
+ unittest.test("method--get", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.SitesResourceApi res = new api.WebmastersApi(mock).sites;
+ var arg_siteUrl = "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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("sites/"));
+ pathOffset += 6;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_siteUrl"));
+
+ 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(buildWmxSite());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_siteUrl).then(unittest.expectAsync(((api.WmxSite response) {
+ checkWmxSite(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.SitesResourceApi res = new api.WebmastersApi(mock).sites;
+ 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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equals("sites"));
+ pathOffset += 5;
+
+ 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(buildSitesListResponse());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list().then(unittest.expectAsync(((api.SitesListResponse response) {
+ checkSitesListResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-UrlcrawlerrorscountsResourceApi", () {
+ unittest.test("method--query", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.UrlcrawlerrorscountsResourceApi res = new api.WebmastersApi(mock).urlcrawlerrorscounts;
+ var arg_siteUrl = "foo";
+ var arg_category = "foo";
+ var arg_latestCountsOnly = true;
+ var arg_platform = "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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("sites/"));
+ pathOffset += 6;
+ index = path.indexOf("/urlCrawlErrorsCounts/query", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_siteUrl"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.equals("/urlCrawlErrorsCounts/query"));
+ pathOffset += 27;
+
+ 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["category"].first, unittest.equals(arg_category));
+ unittest.expect(queryMap["latestCountsOnly"].first, unittest.equals("$arg_latestCountsOnly"));
+ unittest.expect(queryMap["platform"].first, unittest.equals(arg_platform));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUrlCrawlErrorsCountsQueryResponse());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.query(arg_siteUrl, category: arg_category, latestCountsOnly: arg_latestCountsOnly, platform: arg_platform).then(unittest.expectAsync(((api.UrlCrawlErrorsCountsQueryResponse response) {
+ checkUrlCrawlErrorsCountsQueryResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-UrlcrawlerrorssamplesResourceApi", () {
+ unittest.test("method--get", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.UrlcrawlerrorssamplesResourceApi res = new api.WebmastersApi(mock).urlcrawlerrorssamples;
+ var arg_siteUrl = "foo";
+ var arg_url = "foo";
+ var arg_category = "foo";
+ var arg_platform = "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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("sites/"));
+ pathOffset += 6;
+ index = path.indexOf("/urlCrawlErrorsSamples/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_siteUrl"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.equals("/urlCrawlErrorsSamples/"));
+ pathOffset += 23;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_url"));
+
+ 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["category"].first, unittest.equals(arg_category));
+ unittest.expect(queryMap["platform"].first, unittest.equals(arg_platform));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUrlCrawlErrorsSample());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_siteUrl, arg_url, arg_category, arg_platform).then(unittest.expectAsync(((api.UrlCrawlErrorsSample response) {
+ checkUrlCrawlErrorsSample(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.UrlcrawlerrorssamplesResourceApi res = new api.WebmastersApi(mock).urlcrawlerrorssamples;
+ var arg_siteUrl = "foo";
+ var arg_category = "foo";
+ var arg_platform = "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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("sites/"));
+ pathOffset += 6;
+ index = path.indexOf("/urlCrawlErrorsSamples", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_siteUrl"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.equals("/urlCrawlErrorsSamples"));
+ pathOffset += 22;
+
+ 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["category"].first, unittest.equals(arg_category));
+ unittest.expect(queryMap["platform"].first, unittest.equals(arg_platform));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUrlCrawlErrorsSamplesListResponse());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_siteUrl, arg_category, arg_platform).then(unittest.expectAsync(((api.UrlCrawlErrorsSamplesListResponse response) {
+ checkUrlCrawlErrorsSamplesListResponse(response);
+ })));
+ });
+
+ unittest.test("method--markAsFixed", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.UrlcrawlerrorssamplesResourceApi res = new api.WebmastersApi(mock).urlcrawlerrorssamples;
+ var arg_siteUrl = "foo";
+ var arg_url = "foo";
+ var arg_category = "foo";
+ var arg_platform = "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 + 14), unittest.equals("webmasters/v3/"));
+ pathOffset += 14;
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("sites/"));
+ pathOffset += 6;
+ index = path.indexOf("/urlCrawlErrorsSamples/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_siteUrl"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.equals("/urlCrawlErrorsSamples/"));
+ pathOffset += 23;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_url"));
+
+ 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["category"].first, unittest.equals(arg_category));
+ unittest.expect(queryMap["platform"].first, unittest.equals(arg_platform));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.markAsFixed(arg_siteUrl, arg_url, arg_category, arg_platform).then(unittest.expectAsync((_) {}));
+ });
+
+ });
+
+
+}
+
diff --git a/generated/googleapis/test/youtube/v3_test.dart b/generated/googleapis/test/youtube/v3_test.dart
index 0fa2da9..e9fc5e7 100644
--- a/generated/googleapis/test/youtube/v3_test.dart
+++ b/generated/googleapis/test/youtube/v3_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed364() {
+buildUnnamed1009() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed364(core.List<core.String> o) {
+checkUnnamed1009(core.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 = buildUnnamed364();
+ o.exception = buildUnnamed1009();
}
buildCounterAccessPolicy--;
return o;
@@ -45,7 +45,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
unittest.expect(o.allowed, unittest.isTrue);
- checkUnnamed364(o.exception);
+ checkUnnamed1009(o.exception);
}
buildCounterAccessPolicy--;
}
@@ -234,27 +234,27 @@
buildCounterActivityContentDetailsPlaylistItem--;
}
-buildUnnamed365() {
+buildUnnamed1010() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed365(core.List<core.String> o) {
+checkUnnamed1010(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed366() {
+buildUnnamed1011() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed366(core.List<core.String> o) {
+checkUnnamed1011(core.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 = buildUnnamed365();
- o.impressionUrl = buildUnnamed366();
+ o.forecastingUrl = buildUnnamed1010();
+ o.impressionUrl = buildUnnamed1011();
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'));
- checkUnnamed365(o.forecastingUrl);
- checkUnnamed366(o.impressionUrl);
+ checkUnnamed1010(o.forecastingUrl);
+ checkUnnamed1011(o.impressionUrl);
unittest.expect(o.videoId, unittest.equals('foo'));
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -385,14 +385,14 @@
buildCounterActivityContentDetailsUpload--;
}
-buildUnnamed367() {
+buildUnnamed1012() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed367(core.List<api.Activity> o) {
+checkUnnamed1012(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 = buildUnnamed367();
+ o.items = buildUnnamed1012();
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'));
- checkUnnamed367(o.items);
+ checkUnnamed1012(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -580,14 +580,14 @@
buildCounterChannelBannerResource--;
}
-buildUnnamed368() {
+buildUnnamed1013() {
var o = new core.List<api.PropertyValue>();
o.add(buildPropertyValue());
o.add(buildPropertyValue());
return o;
}
-checkUnnamed368(core.List<api.PropertyValue> o) {
+checkUnnamed1013(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 = buildUnnamed368();
+ o.hints = buildUnnamed1013();
o.image = buildImageSettings();
o.watch = buildWatchSettings();
}
@@ -611,7 +611,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
checkChannelSettings(o.channel);
- checkUnnamed368(o.hints);
+ checkUnnamed1013(o.hints);
checkImageSettings(o.image);
checkWatchSettings(o.watch);
}
@@ -708,14 +708,14 @@
buildCounterChannelConversionPing--;
}
-buildUnnamed369() {
+buildUnnamed1014() {
var o = new core.List<api.ChannelConversionPing>();
o.add(buildChannelConversionPing());
o.add(buildChannelConversionPing());
return o;
}
-checkUnnamed369(core.List<api.ChannelConversionPing> o) {
+checkUnnamed1014(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 = buildUnnamed369();
+ o.pings = buildUnnamed1014();
}
buildCounterChannelConversionPings--;
return o;
@@ -735,19 +735,19 @@
checkChannelConversionPings(api.ChannelConversionPings o) {
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- checkUnnamed369(o.pings);
+ checkUnnamed1014(o.pings);
}
buildCounterChannelConversionPings--;
}
-buildUnnamed370() {
+buildUnnamed1015() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed370(core.List<api.Channel> o) {
+checkUnnamed1015(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 = buildUnnamed370();
+ o.items = buildUnnamed1015();
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'));
- checkUnnamed370(o.items);
+ checkUnnamed1015(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -815,27 +815,27 @@
buildCounterChannelSection--;
}
-buildUnnamed371() {
+buildUnnamed1016() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed371(core.List<core.String> o) {
+checkUnnamed1016(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed372() {
+buildUnnamed1017() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed372(core.List<core.String> o) {
+checkUnnamed1017(core.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 = buildUnnamed371();
- o.playlists = buildUnnamed372();
+ o.channels = buildUnnamed1016();
+ o.playlists = buildUnnamed1017();
}
buildCounterChannelSectionContentDetails--;
return o;
@@ -856,20 +856,20 @@
checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- checkUnnamed371(o.channels);
- checkUnnamed372(o.playlists);
+ checkUnnamed1016(o.channels);
+ checkUnnamed1017(o.playlists);
}
buildCounterChannelSectionContentDetails--;
}
-buildUnnamed373() {
+buildUnnamed1018() {
var o = new core.List<api.ChannelSection>();
o.add(buildChannelSection());
o.add(buildChannelSection());
return o;
}
-checkUnnamed373(core.List<api.ChannelSection> o) {
+checkUnnamed1018(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 = buildUnnamed373();
+ o.items = buildUnnamed1018();
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'));
- checkUnnamed373(o.items);
+ checkUnnamed1018(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -929,14 +929,14 @@
buildCounterChannelSectionSnippet--;
}
-buildUnnamed374() {
+buildUnnamed1019() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed374(core.List<core.String> o) {
+checkUnnamed1019(core.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 = buildUnnamed374();
+ o.featuredChannelsUrls = buildUnnamed1019();
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'));
- checkUnnamed374(o.featuredChannelsUrls);
+ checkUnnamed1019(o.featuredChannelsUrls);
unittest.expect(o.keywords, unittest.equals('foo'));
unittest.expect(o.moderateComments, unittest.isTrue);
unittest.expect(o.profileColor, unittest.equals('foo'));
@@ -1041,6 +1041,7 @@
buildCounterChannelStatus++;
if (buildCounterChannelStatus < 3) {
o.isLinked = true;
+ o.longUploadsStatus = "foo";
o.privacyStatus = "foo";
}
buildCounterChannelStatus--;
@@ -1051,19 +1052,20 @@
buildCounterChannelStatus++;
if (buildCounterChannelStatus < 3) {
unittest.expect(o.isLinked, unittest.isTrue);
+ unittest.expect(o.longUploadsStatus, unittest.equals('foo'));
unittest.expect(o.privacyStatus, unittest.equals('foo'));
}
buildCounterChannelStatus--;
}
-buildUnnamed375() {
+buildUnnamed1020() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed375(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'));
@@ -1074,7 +1076,7 @@
var o = new api.ChannelTopicDetails();
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- o.topicIds = buildUnnamed375();
+ o.topicIds = buildUnnamed1020();
}
buildCounterChannelTopicDetails--;
return o;
@@ -1083,7 +1085,7 @@
checkChannelTopicDetails(api.ChannelTopicDetails o) {
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- checkUnnamed375(o.topicIds);
+ checkUnnamed1020(o.topicIds);
}
buildCounterChannelTopicDetails--;
}
@@ -1279,14 +1281,14 @@
buildCounterGuideCategory--;
}
-buildUnnamed376() {
+buildUnnamed1021() {
var o = new core.List<api.GuideCategory>();
o.add(buildGuideCategory());
o.add(buildGuideCategory());
return o;
}
-checkUnnamed376(core.List<api.GuideCategory> o) {
+checkUnnamed1021(core.List<api.GuideCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuideCategory(o[0]);
checkGuideCategory(o[1]);
@@ -1299,7 +1301,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed376();
+ o.items = buildUnnamed1021();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1316,7 +1318,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed376(o.items);
+ checkUnnamed1021(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1373,14 +1375,14 @@
buildCounterI18nLanguage--;
}
-buildUnnamed377() {
+buildUnnamed1022() {
var o = new core.List<api.I18nLanguage>();
o.add(buildI18nLanguage());
o.add(buildI18nLanguage());
return o;
}
-checkUnnamed377(core.List<api.I18nLanguage> o) {
+checkUnnamed1022(core.List<api.I18nLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nLanguage(o[0]);
checkI18nLanguage(o[1]);
@@ -1393,7 +1395,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed377();
+ o.items = buildUnnamed1022();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -1406,7 +1408,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed377(o.items);
+ checkUnnamed1022(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -1459,14 +1461,14 @@
buildCounterI18nRegion--;
}
-buildUnnamed378() {
+buildUnnamed1023() {
var o = new core.List<api.I18nRegion>();
o.add(buildI18nRegion());
o.add(buildI18nRegion());
return o;
}
-checkUnnamed378(core.List<api.I18nRegion> o) {
+checkUnnamed1023(core.List<api.I18nRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nRegion(o[0]);
checkI18nRegion(o[1]);
@@ -1479,7 +1481,7 @@
if (buildCounterI18nRegionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed378();
+ o.items = buildUnnamed1023();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -1492,7 +1494,7 @@
if (buildCounterI18nRegionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed378(o.items);
+ checkUnnamed1023(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -1652,14 +1654,14 @@
buildCounterInvideoPosition--;
}
-buildUnnamed379() {
+buildUnnamed1024() {
var o = new core.List<api.PromotedItem>();
o.add(buildPromotedItem());
o.add(buildPromotedItem());
return o;
}
-checkUnnamed379(core.List<api.PromotedItem> o) {
+checkUnnamed1024(core.List<api.PromotedItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotedItem(o[0]);
checkPromotedItem(o[1]);
@@ -1671,8 +1673,9 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
o.defaultTiming = buildInvideoTiming();
- o.items = buildUnnamed379();
+ o.items = buildUnnamed1024();
o.position = buildInvideoPosition();
+ o.useSmartTiming = true;
}
buildCounterInvideoPromotion--;
return o;
@@ -1682,8 +1685,9 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
checkInvideoTiming(o.defaultTiming);
- checkUnnamed379(o.items);
+ checkUnnamed1024(o.items);
checkInvideoPosition(o.position);
+ unittest.expect(o.useSmartTiming, unittest.isTrue);
}
buildCounterInvideoPromotion--;
}
@@ -1773,14 +1777,14 @@
buildCounterLiveBroadcastContentDetails--;
}
-buildUnnamed380() {
+buildUnnamed1025() {
var o = new core.List<api.LiveBroadcast>();
o.add(buildLiveBroadcast());
o.add(buildLiveBroadcast());
return o;
}
-checkUnnamed380(core.List<api.LiveBroadcast> o) {
+checkUnnamed1025(core.List<api.LiveBroadcast> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcast(o[0]);
checkLiveBroadcast(o[1]);
@@ -1793,7 +1797,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed380();
+ o.items = buildUnnamed1025();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1810,7 +1814,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed380(o.items);
+ checkUnnamed1025(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1918,6 +1922,7 @@
buildCounterLiveStreamContentDetails++;
if (buildCounterLiveStreamContentDetails < 3) {
o.closedCaptionsIngestionUrl = "foo";
+ o.isReusable = true;
}
buildCounterLiveStreamContentDetails--;
return o;
@@ -1927,18 +1932,19 @@
buildCounterLiveStreamContentDetails++;
if (buildCounterLiveStreamContentDetails < 3) {
unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo'));
+ unittest.expect(o.isReusable, unittest.isTrue);
}
buildCounterLiveStreamContentDetails--;
}
-buildUnnamed381() {
+buildUnnamed1026() {
var o = new core.List<api.LiveStream>();
o.add(buildLiveStream());
o.add(buildLiveStream());
return o;
}
-checkUnnamed381(core.List<api.LiveStream> o) {
+checkUnnamed1026(core.List<api.LiveStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStream(o[0]);
checkLiveStream(o[1]);
@@ -1951,7 +1957,7 @@
if (buildCounterLiveStreamListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed381();
+ o.items = buildUnnamed1026();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1968,7 +1974,7 @@
if (buildCounterLiveStreamListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed381(o.items);
+ checkUnnamed1026(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2023,14 +2029,14 @@
buildCounterLiveStreamStatus--;
}
-buildUnnamed382() {
+buildUnnamed1027() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed382(core.List<api.LocalizedString> o) {
+checkUnnamed1027(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -2042,7 +2048,7 @@
buildCounterLocalizedProperty++;
if (buildCounterLocalizedProperty < 3) {
o.default_ = "foo";
- o.localized = buildUnnamed382();
+ o.localized = buildUnnamed1027();
}
buildCounterLocalizedProperty--;
return o;
@@ -2052,7 +2058,7 @@
buildCounterLocalizedProperty++;
if (buildCounterLocalizedProperty < 3) {
unittest.expect(o.default_, unittest.equals('foo'));
- checkUnnamed382(o.localized);
+ checkUnnamed1027(o.localized);
}
buildCounterLocalizedProperty--;
}
@@ -2226,14 +2232,14 @@
buildCounterPlaylistItemContentDetails--;
}
-buildUnnamed383() {
+buildUnnamed1028() {
var o = new core.List<api.PlaylistItem>();
o.add(buildPlaylistItem());
o.add(buildPlaylistItem());
return o;
}
-checkUnnamed383(core.List<api.PlaylistItem> o) {
+checkUnnamed1028(core.List<api.PlaylistItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistItem(o[0]);
checkPlaylistItem(o[1]);
@@ -2246,7 +2252,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed383();
+ o.items = buildUnnamed1028();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2263,7 +2269,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed383(o.items);
+ checkUnnamed1028(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2328,14 +2334,14 @@
buildCounterPlaylistItemStatus--;
}
-buildUnnamed384() {
+buildUnnamed1029() {
var o = new core.List<api.Playlist>();
o.add(buildPlaylist());
o.add(buildPlaylist());
return o;
}
-checkUnnamed384(core.List<api.Playlist> o) {
+checkUnnamed1029(core.List<api.Playlist> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylist(o[0]);
checkPlaylist(o[1]);
@@ -2348,7 +2354,7 @@
if (buildCounterPlaylistListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed384();
+ o.items = buildUnnamed1029();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2365,7 +2371,7 @@
if (buildCounterPlaylistListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed384(o.items);
+ checkUnnamed1029(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2395,14 +2401,14 @@
buildCounterPlaylistPlayer--;
}
-buildUnnamed385() {
+buildUnnamed1030() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed385(core.List<core.String> o) {
+checkUnnamed1030(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2417,7 +2423,7 @@
o.channelTitle = "foo";
o.description = "foo";
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed385();
+ o.tags = buildUnnamed1030();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -2432,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")));
- checkUnnamed385(o.tags);
+ checkUnnamed1030(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -2554,14 +2560,14 @@
buildCounterResourceId--;
}
-buildUnnamed386() {
+buildUnnamed1031() {
var o = new core.List<api.SearchResult>();
o.add(buildSearchResult());
o.add(buildSearchResult());
return o;
}
-checkUnnamed386(core.List<api.SearchResult> o) {
+checkUnnamed1031(core.List<api.SearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchResult(o[0]);
checkSearchResult(o[1]);
@@ -2574,7 +2580,7 @@
if (buildCounterSearchListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed386();
+ o.items = buildUnnamed1031();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2591,7 +2597,7 @@
if (buildCounterSearchListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed386(o.items);
+ checkUnnamed1031(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2710,14 +2716,14 @@
buildCounterSubscriptionContentDetails--;
}
-buildUnnamed387() {
+buildUnnamed1032() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed387(core.List<api.Subscription> o) {
+checkUnnamed1032(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -2730,7 +2736,7 @@
if (buildCounterSubscriptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed387();
+ o.items = buildUnnamed1032();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2747,7 +2753,7 @@
if (buildCounterSubscriptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed387(o.items);
+ checkUnnamed1032(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2864,14 +2870,14 @@
buildCounterThumbnailDetails--;
}
-buildUnnamed388() {
+buildUnnamed1033() {
var o = new core.List<api.ThumbnailDetails>();
o.add(buildThumbnailDetails());
o.add(buildThumbnailDetails());
return o;
}
-checkUnnamed388(core.List<api.ThumbnailDetails> o) {
+checkUnnamed1033(core.List<api.ThumbnailDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkThumbnailDetails(o[0]);
checkThumbnailDetails(o[1]);
@@ -2884,7 +2890,7 @@
if (buildCounterThumbnailSetResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed388();
+ o.items = buildUnnamed1033();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2897,7 +2903,7 @@
if (buildCounterThumbnailSetResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed388(o.items);
+ checkUnnamed1033(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -3022,14 +3028,14 @@
buildCounterVideoCategory--;
}
-buildUnnamed389() {
+buildUnnamed1034() {
var o = new core.List<api.VideoCategory>();
o.add(buildVideoCategory());
o.add(buildVideoCategory());
return o;
}
-checkUnnamed389(core.List<api.VideoCategory> o) {
+checkUnnamed1034(core.List<api.VideoCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoCategory(o[0]);
checkVideoCategory(o[1]);
@@ -3042,7 +3048,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed389();
+ o.items = buildUnnamed1034();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3059,7 +3065,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed389(o.items);
+ checkUnnamed1034(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3126,27 +3132,27 @@
buildCounterVideoContentDetails--;
}
-buildUnnamed390() {
+buildUnnamed1035() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed390(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'));
}
-buildUnnamed391() {
+buildUnnamed1036() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed391(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'));
@@ -3157,8 +3163,8 @@
var o = new api.VideoContentDetailsRegionRestriction();
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- o.allowed = buildUnnamed390();
- o.blocked = buildUnnamed391();
+ o.allowed = buildUnnamed1035();
+ o.blocked = buildUnnamed1036();
}
buildCounterVideoContentDetailsRegionRestriction--;
return o;
@@ -3167,8 +3173,8 @@
checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestriction o) {
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- checkUnnamed390(o.allowed);
- checkUnnamed391(o.blocked);
+ checkUnnamed1035(o.allowed);
+ checkUnnamed1036(o.blocked);
}
buildCounterVideoContentDetailsRegionRestriction--;
}
@@ -3194,14 +3200,14 @@
buildCounterVideoConversionPing--;
}
-buildUnnamed392() {
+buildUnnamed1037() {
var o = new core.List<api.VideoConversionPing>();
o.add(buildVideoConversionPing());
o.add(buildVideoConversionPing());
return o;
}
-checkUnnamed392(core.List<api.VideoConversionPing> o) {
+checkUnnamed1037(core.List<api.VideoConversionPing> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoConversionPing(o[0]);
checkVideoConversionPing(o[1]);
@@ -3212,7 +3218,7 @@
var o = new api.VideoConversionPings();
buildCounterVideoConversionPings++;
if (buildCounterVideoConversionPings < 3) {
- o.pings = buildUnnamed392();
+ o.pings = buildUnnamed1037();
}
buildCounterVideoConversionPings--;
return o;
@@ -3221,32 +3227,32 @@
checkVideoConversionPings(api.VideoConversionPings o) {
buildCounterVideoConversionPings++;
if (buildCounterVideoConversionPings < 3) {
- checkUnnamed392(o.pings);
+ checkUnnamed1037(o.pings);
}
buildCounterVideoConversionPings--;
}
-buildUnnamed393() {
+buildUnnamed1038() {
var o = new core.List<api.VideoFileDetailsAudioStream>();
o.add(buildVideoFileDetailsAudioStream());
o.add(buildVideoFileDetailsAudioStream());
return o;
}
-checkUnnamed393(core.List<api.VideoFileDetailsAudioStream> o) {
+checkUnnamed1038(core.List<api.VideoFileDetailsAudioStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsAudioStream(o[0]);
checkVideoFileDetailsAudioStream(o[1]);
}
-buildUnnamed394() {
+buildUnnamed1039() {
var o = new core.List<api.VideoFileDetailsVideoStream>();
o.add(buildVideoFileDetailsVideoStream());
o.add(buildVideoFileDetailsVideoStream());
return o;
}
-checkUnnamed394(core.List<api.VideoFileDetailsVideoStream> o) {
+checkUnnamed1039(core.List<api.VideoFileDetailsVideoStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsVideoStream(o[0]);
checkVideoFileDetailsVideoStream(o[1]);
@@ -3257,7 +3263,7 @@
var o = new api.VideoFileDetails();
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- o.audioStreams = buildUnnamed393();
+ o.audioStreams = buildUnnamed1038();
o.bitrateBps = "foo";
o.container = "foo";
o.creationTime = "foo";
@@ -3266,7 +3272,7 @@
o.fileSize = "foo";
o.fileType = "foo";
o.recordingLocation = buildGeoPoint();
- o.videoStreams = buildUnnamed394();
+ o.videoStreams = buildUnnamed1039();
}
buildCounterVideoFileDetails--;
return o;
@@ -3275,7 +3281,7 @@
checkVideoFileDetails(api.VideoFileDetails o) {
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- checkUnnamed393(o.audioStreams);
+ checkUnnamed1038(o.audioStreams);
unittest.expect(o.bitrateBps, unittest.equals('foo'));
unittest.expect(o.container, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
@@ -3284,7 +3290,7 @@
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.fileType, unittest.equals('foo'));
checkGeoPoint(o.recordingLocation);
- checkUnnamed394(o.videoStreams);
+ checkUnnamed1039(o.videoStreams);
}
buildCounterVideoFileDetails--;
}
@@ -3347,14 +3353,14 @@
buildCounterVideoFileDetailsVideoStream--;
}
-buildUnnamed395() {
+buildUnnamed1040() {
var o = new core.List<api.VideoRating>();
o.add(buildVideoRating());
o.add(buildVideoRating());
return o;
}
-checkUnnamed395(core.List<api.VideoRating> o) {
+checkUnnamed1040(core.List<api.VideoRating> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoRating(o[0]);
checkVideoRating(o[1]);
@@ -3366,7 +3372,7 @@
buildCounterVideoGetRatingResponse++;
if (buildCounterVideoGetRatingResponse < 3) {
o.etag = "foo";
- o.items = buildUnnamed395();
+ o.items = buildUnnamed1040();
o.kind = "foo";
}
buildCounterVideoGetRatingResponse--;
@@ -3377,20 +3383,20 @@
buildCounterVideoGetRatingResponse++;
if (buildCounterVideoGetRatingResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed395(o.items);
+ checkUnnamed1040(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterVideoGetRatingResponse--;
}
-buildUnnamed396() {
+buildUnnamed1041() {
var o = new core.List<api.Video>();
o.add(buildVideo());
o.add(buildVideo());
return o;
}
-checkUnnamed396(core.List<api.Video> o) {
+checkUnnamed1041(core.List<api.Video> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideo(o[0]);
checkVideo(o[1]);
@@ -3403,7 +3409,7 @@
if (buildCounterVideoListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed396();
+ o.items = buildUnnamed1041();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3420,7 +3426,7 @@
if (buildCounterVideoListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed396(o.items);
+ checkUnnamed1041(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3552,14 +3558,14 @@
buildCounterVideoProcessingDetailsProcessingProgress--;
}
-buildUnnamed397() {
+buildUnnamed1042() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed397(core.List<core.String> o) {
+checkUnnamed1042(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3570,7 +3576,7 @@
var o = new api.VideoProjectDetails();
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- o.tags = buildUnnamed397();
+ o.tags = buildUnnamed1042();
}
buildCounterVideoProjectDetails--;
return o;
@@ -3579,7 +3585,7 @@
checkVideoProjectDetails(api.VideoProjectDetails o) {
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- checkUnnamed397(o.tags);
+ checkUnnamed1042(o.tags);
}
buildCounterVideoProjectDetails--;
}
@@ -3628,14 +3634,14 @@
buildCounterVideoRecordingDetails--;
}
-buildUnnamed398() {
+buildUnnamed1043() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed398(core.List<core.String> o) {
+checkUnnamed1043(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3652,7 +3658,7 @@
o.description = "foo";
o.liveBroadcastContent = "foo";
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed398();
+ o.tags = buildUnnamed1043();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -3669,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")));
- checkUnnamed398(o.tags);
+ checkUnnamed1043(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -3736,66 +3742,66 @@
buildCounterVideoStatus--;
}
-buildUnnamed399() {
+buildUnnamed1044() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed399(core.List<core.String> o) {
+checkUnnamed1044(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed400() {
+buildUnnamed1045() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed400(core.List<core.String> o) {
+checkUnnamed1045(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed401() {
+buildUnnamed1046() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed401(core.List<core.String> o) {
+checkUnnamed1046(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed402() {
+buildUnnamed1047() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed402(core.List<core.String> o) {
+checkUnnamed1047(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed403() {
+buildUnnamed1048() {
var o = new core.List<api.VideoSuggestionsTagSuggestion>();
o.add(buildVideoSuggestionsTagSuggestion());
o.add(buildVideoSuggestionsTagSuggestion());
return o;
}
-checkUnnamed403(core.List<api.VideoSuggestionsTagSuggestion> o) {
+checkUnnamed1048(core.List<api.VideoSuggestionsTagSuggestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoSuggestionsTagSuggestion(o[0]);
checkVideoSuggestionsTagSuggestion(o[1]);
@@ -3806,11 +3812,11 @@
var o = new api.VideoSuggestions();
buildCounterVideoSuggestions++;
if (buildCounterVideoSuggestions < 3) {
- o.editorSuggestions = buildUnnamed399();
- o.processingErrors = buildUnnamed400();
- o.processingHints = buildUnnamed401();
- o.processingWarnings = buildUnnamed402();
- o.tagSuggestions = buildUnnamed403();
+ o.editorSuggestions = buildUnnamed1044();
+ o.processingErrors = buildUnnamed1045();
+ o.processingHints = buildUnnamed1046();
+ o.processingWarnings = buildUnnamed1047();
+ o.tagSuggestions = buildUnnamed1048();
}
buildCounterVideoSuggestions--;
return o;
@@ -3819,23 +3825,23 @@
checkVideoSuggestions(api.VideoSuggestions o) {
buildCounterVideoSuggestions++;
if (buildCounterVideoSuggestions < 3) {
- checkUnnamed399(o.editorSuggestions);
- checkUnnamed400(o.processingErrors);
- checkUnnamed401(o.processingHints);
- checkUnnamed402(o.processingWarnings);
- checkUnnamed403(o.tagSuggestions);
+ checkUnnamed1044(o.editorSuggestions);
+ checkUnnamed1045(o.processingErrors);
+ checkUnnamed1046(o.processingHints);
+ checkUnnamed1047(o.processingWarnings);
+ checkUnnamed1048(o.tagSuggestions);
}
buildCounterVideoSuggestions--;
}
-buildUnnamed404() {
+buildUnnamed1049() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed404(core.List<core.String> o) {
+checkUnnamed1049(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3846,7 +3852,7 @@
var o = new api.VideoSuggestionsTagSuggestion();
buildCounterVideoSuggestionsTagSuggestion++;
if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- o.categoryRestricts = buildUnnamed404();
+ o.categoryRestricts = buildUnnamed1049();
o.tag = "foo";
}
buildCounterVideoSuggestionsTagSuggestion--;
@@ -3856,33 +3862,33 @@
checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
buildCounterVideoSuggestionsTagSuggestion++;
if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- checkUnnamed404(o.categoryRestricts);
+ checkUnnamed1049(o.categoryRestricts);
unittest.expect(o.tag, unittest.equals('foo'));
}
buildCounterVideoSuggestionsTagSuggestion--;
}
-buildUnnamed405() {
+buildUnnamed1050() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed405(core.List<core.String> o) {
+checkUnnamed1050(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed406() {
+buildUnnamed1051() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed406(core.List<core.String> o) {
+checkUnnamed1051(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3893,8 +3899,8 @@
var o = new api.VideoTopicDetails();
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- o.relevantTopicIds = buildUnnamed405();
- o.topicIds = buildUnnamed406();
+ o.relevantTopicIds = buildUnnamed1050();
+ o.topicIds = buildUnnamed1051();
}
buildCounterVideoTopicDetails--;
return o;
@@ -3903,8 +3909,8 @@
checkVideoTopicDetails(api.VideoTopicDetails o) {
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- checkUnnamed405(o.relevantTopicIds);
- checkUnnamed406(o.topicIds);
+ checkUnnamed1050(o.relevantTopicIds);
+ checkUnnamed1051(o.topicIds);
}
buildCounterVideoTopicDetails--;
}
diff --git a/generated/googleapis/test/youtubeanalytics/v1_test.dart b/generated/googleapis/test/youtubeanalytics/v1_test.dart
index 78dbab8..6383896 100644
--- a/generated/googleapis/test/youtubeanalytics/v1_test.dart
+++ b/generated/googleapis/test/youtubeanalytics/v1_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed207() {
+buildUnnamed841() {
var o = new core.List<api.BatchReportDefinitionTemplate>();
o.add(buildBatchReportDefinitionTemplate());
o.add(buildBatchReportDefinitionTemplate());
return o;
}
-checkUnnamed207(core.List<api.BatchReportDefinitionTemplate> o) {
+checkUnnamed841(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 = buildUnnamed207();
+ o.items = buildUnnamed841();
o.kind = "foo";
}
buildCounterBatchReportDefinitionList--;
@@ -44,7 +44,7 @@
checkBatchReportDefinitionList(api.BatchReportDefinitionList o) {
buildCounterBatchReportDefinitionList++;
if (buildCounterBatchReportDefinitionList < 3) {
- checkUnnamed207(o.items);
+ checkUnnamed841(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBatchReportDefinitionList--;
@@ -71,14 +71,14 @@
buildCounterBatchReportDefinitionTemplateDefaultOutput--;
}
-buildUnnamed208() {
+buildUnnamed842() {
var o = new core.List<api.BatchReportDefinitionTemplateDefaultOutput>();
o.add(buildBatchReportDefinitionTemplateDefaultOutput());
o.add(buildBatchReportDefinitionTemplateDefaultOutput());
return o;
}
-checkUnnamed208(core.List<api.BatchReportDefinitionTemplateDefaultOutput> o) {
+checkUnnamed842(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 = buildUnnamed208();
+ o.defaultOutput = buildUnnamed842();
o.id = "foo";
o.name = "foo";
o.status = "foo";
@@ -102,7 +102,7 @@
checkBatchReportDefinitionTemplate(api.BatchReportDefinitionTemplate o) {
buildCounterBatchReportDefinitionTemplate++;
if (buildCounterBatchReportDefinitionTemplate < 3) {
- checkUnnamed208(o.defaultOutput);
+ checkUnnamed842(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--;
}
-buildUnnamed209() {
+buildUnnamed843() {
var o = new core.List<api.BatchReportTemplate>();
o.add(buildBatchReportTemplate());
o.add(buildBatchReportTemplate());
return o;
}
-checkUnnamed209(core.List<api.BatchReportTemplate> o) {
+checkUnnamed843(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 = buildUnnamed209();
+ o.items = buildUnnamed843();
o.kind = "foo";
}
buildCounterBatchReportList--;
@@ -139,7 +139,7 @@
checkBatchReportList(api.BatchReportList o) {
buildCounterBatchReportList++;
if (buildCounterBatchReportList < 3) {
- checkUnnamed209(o.items);
+ checkUnnamed843(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBatchReportList--;
@@ -168,14 +168,14 @@
buildCounterBatchReportTemplateOutputs--;
}
-buildUnnamed210() {
+buildUnnamed844() {
var o = new core.List<api.BatchReportTemplateOutputs>();
o.add(buildBatchReportTemplateOutputs());
o.add(buildBatchReportTemplateOutputs());
return o;
}
-checkUnnamed210(core.List<api.BatchReportTemplateOutputs> o) {
+checkUnnamed844(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 = buildUnnamed210();
+ o.outputs = buildUnnamed844();
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'));
- checkUnnamed210(o.outputs);
+ checkUnnamed844(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--;
}
-buildUnnamed211() {
+buildUnnamed845() {
var o = new core.List<api.ResultTableColumnHeaders>();
o.add(buildResultTableColumnHeaders());
o.add(buildResultTableColumnHeaders());
return o;
}
-checkUnnamed211(core.List<api.ResultTableColumnHeaders> o) {
+checkUnnamed845(core.List<api.ResultTableColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultTableColumnHeaders(o[0]);
checkResultTableColumnHeaders(o[1]);
}
-buildUnnamed212() {
+buildUnnamed846() {
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;
}
-checkUnnamed212(core.List<core.Object> o) {
+checkUnnamed846(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'));
}
-buildUnnamed213() {
+buildUnnamed847() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed212());
- o.add(buildUnnamed212());
+ o.add(buildUnnamed846());
+ o.add(buildUnnamed846());
return o;
}
-checkUnnamed213(core.List<core.List<core.Object>> o) {
+checkUnnamed847(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed212(o[0]);
- checkUnnamed212(o[1]);
+ checkUnnamed846(o[0]);
+ checkUnnamed846(o[1]);
}
core.int buildCounterResultTable = 0;
@@ -296,9 +296,9 @@
var o = new api.ResultTable();
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- o.columnHeaders = buildUnnamed211();
+ o.columnHeaders = buildUnnamed845();
o.kind = "foo";
- o.rows = buildUnnamed213();
+ o.rows = buildUnnamed847();
}
buildCounterResultTable--;
return o;
@@ -307,9 +307,9 @@
checkResultTable(api.ResultTable o) {
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- checkUnnamed211(o.columnHeaders);
+ checkUnnamed845(o.columnHeaders);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed213(o.rows);
+ checkUnnamed847(o.rows);
}
buildCounterResultTable--;
}
diff --git a/generated/googleapis_beta/CHANGELOG.md b/generated/googleapis_beta/CHANGELOG.md
index 9954163..553410a 100644
--- a/generated/googleapis_beta/CHANGELOG.md
+++ b/generated/googleapis_beta/CHANGELOG.md
@@ -1,3 +1,8 @@
+## 0.2.1
+
+* [apis-new] resourceviews:v1beta2: API added
+* [apis] genomics:v1beta: additional method/schema changes
+
## 0.2.0
* [apis] autoscaler:v1beta2: schema changes
diff --git a/generated/googleapis_beta/README.md b/generated/googleapis_beta/README.md
index e67a400..4347de5 100644
--- a/generated/googleapis_beta/README.md
+++ b/generated/googleapis_beta/README.md
@@ -113,6 +113,12 @@
Official API documentation: https://developers.google.com/compute/
+####  Resource Views API - resourceviews v1beta2
+
+The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.
+
+Official API documentation: https://developers.google.com/compute/
+
####  Cloud SQL Administration API - sqladmin v1beta3
API for Cloud SQL database instance management.
diff --git a/generated/googleapis_beta/lib/genomics/v1beta.dart b/generated/googleapis_beta/lib/genomics/v1beta.dart
index e681268..292be1f 100644
--- a/generated/googleapis_beta/lib/genomics/v1beta.dart
+++ b/generated/googleapis_beta/lib/genomics/v1beta.dart
@@ -1511,6 +1511,8 @@
/**
* 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.
*
* [request] - The metadata request object.
*
@@ -1726,6 +1728,57 @@
}
/**
+ * Merges the given variants with existing variants. Each variant will be
+ * merged with an existing variant that matches its reference sequence, start,
+ * end, reference bases, and alternative bases. If no such variant exists, a
+ * new one will be created.
+ *
+ * When variants are merged, the call information from the new variant is
+ * added to the existing variant, and other fields (such as key/value pairs)
+ * are discarded.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [variantSetId] - The destination variant set.
+ *
+ * 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 mergeVariants(Variant request, core.String variantSetId) {
+ 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 (variantSetId == null) {
+ throw new core.ArgumentError("Parameter variantSetId is required.");
+ }
+
+ _downloadOptions = null;
+
+ _url = 'variantsets/' + common_internal.Escaper.ecapeVariable('$variantSetId') + '/mergeVariants';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => null);
+ }
+
+ /**
* Returns a list of all variant sets matching search criteria.
*
* [request] - The metadata request object.
@@ -2053,7 +2106,7 @@
}
-/** The job creation request. */
+/** The job creation request. Next ID: 12 */
class ExperimentalCreateJobRequest {
/**
* Specifies whether or not to run the alignment pipeline. At least one of
@@ -2075,6 +2128,9 @@
*/
core.String gcsOutputPath;
+ /** For alignment from FASTQ files, this specifies the library name. */
+ core.String libraryName;
+
/**
* A list of Google Cloud Storage URIs of paired end .fastq files to operate
* upon. If specified, this represents the second file of each paired .fastq
@@ -2082,11 +2138,23 @@
*/
core.List<core.String> pairedSourceUris;
+ /** For alignment from FASTQ files, this specifies the platform name. */
+ core.String platformName;
+
+ /** For alignment from FASTQ files, this specifies the platform unit. */
+ core.String platformUnit;
+
/**
* Required. The Google Cloud Project ID with which to associate the request.
*/
core.String projectId;
+ /** For alignment from FASTQ files, this specifies the read group ID. */
+ core.String readGroupId;
+
+ /** For alignment from FASTQ files, this specifies the sample name. */
+ core.String sampleName;
+
/**
* A list of Google Cloud Storage URIs of data files to operate upon. These
* can be .bam, interleaved .fastq, or paired .fastq. If specifying paired
@@ -2108,12 +2176,27 @@
if (_json.containsKey("gcsOutputPath")) {
gcsOutputPath = _json["gcsOutputPath"];
}
+ if (_json.containsKey("libraryName")) {
+ libraryName = _json["libraryName"];
+ }
if (_json.containsKey("pairedSourceUris")) {
pairedSourceUris = _json["pairedSourceUris"];
}
+ if (_json.containsKey("platformName")) {
+ platformName = _json["platformName"];
+ }
+ if (_json.containsKey("platformUnit")) {
+ platformUnit = _json["platformUnit"];
+ }
if (_json.containsKey("projectId")) {
projectId = _json["projectId"];
}
+ if (_json.containsKey("readGroupId")) {
+ readGroupId = _json["readGroupId"];
+ }
+ if (_json.containsKey("sampleName")) {
+ sampleName = _json["sampleName"];
+ }
if (_json.containsKey("sourceUris")) {
sourceUris = _json["sourceUris"];
}
@@ -2130,12 +2213,27 @@
if (gcsOutputPath != null) {
_json["gcsOutputPath"] = gcsOutputPath;
}
+ if (libraryName != null) {
+ _json["libraryName"] = libraryName;
+ }
if (pairedSourceUris != null) {
_json["pairedSourceUris"] = pairedSourceUris;
}
+ if (platformName != null) {
+ _json["platformName"] = platformName;
+ }
+ if (platformUnit != null) {
+ _json["platformUnit"] = platformUnit;
+ }
if (projectId != null) {
_json["projectId"] = projectId;
}
+ if (readGroupId != null) {
+ _json["readGroupId"] = readGroupId;
+ }
+ if (sampleName != null) {
+ _json["sampleName"] = sampleName;
+ }
if (sourceUris != null) {
_json["sourceUris"] = sourceUris;
}
@@ -2177,10 +2275,7 @@
*/
core.String exportUri;
- /**
- * The Google Developers Console project number that owns this export. This is
- * the project that will be billed.
- */
+ /** The Google Developers Console project number that owns this export. */
core.String projectId;
/** The IDs of the readsets to export. */
@@ -2258,14 +2353,13 @@
class ExportVariantsRequest {
/**
* The BigQuery dataset to export data to. Note that this is distinct from the
- * Genomics concept of "dataset". The caller must have WRITE access to this
- * BigQuery dataset.
+ * Genomics concept of "dataset".
*/
core.String bigqueryDataset;
/**
- * The BigQuery table to export data to. The caller must have WRITE access to
- * this BigQuery table.
+ * The BigQuery table to export data to. If the table doesn't exist, it will
+ * be created. If it already exists, it will be overwritten.
*/
core.String bigqueryTable;
@@ -2283,8 +2377,9 @@
core.String format;
/**
- * The Google Cloud project number that owns this export. This is the project
- * that will be billed.
+ * The Google Cloud project number that owns the destination BigQuery dataset.
+ * The caller must have WRITE access to this project. This project will also
+ * own the resulting export job.
*/
core.String projectId;
@@ -4281,6 +4376,12 @@
*/
core.String end;
+ /**
+ * A list of filters (normally quality filters) this variant has failed. PASS
+ * indicates this variant has passed all filters.
+ */
+ core.List<core.String> filter;
+
/** The Google generated ID of the variant, immutable. */
core.String id;
@@ -4291,6 +4392,12 @@
core.List<core.String> names;
/**
+ * A measure of how likely this variant is to be real. A higher value is
+ * better.
+ */
+ core.double quality;
+
+ /**
* The reference bases for this variant. They start at the given position.
*/
core.String referenceBases;
@@ -4323,6 +4430,9 @@
if (_json.containsKey("end")) {
end = _json["end"];
}
+ if (_json.containsKey("filter")) {
+ filter = _json["filter"];
+ }
if (_json.containsKey("id")) {
id = _json["id"];
}
@@ -4332,6 +4442,9 @@
if (_json.containsKey("names")) {
names = _json["names"];
}
+ if (_json.containsKey("quality")) {
+ quality = _json["quality"];
+ }
if (_json.containsKey("referenceBases")) {
referenceBases = _json["referenceBases"];
}
@@ -4360,6 +4473,9 @@
if (end != null) {
_json["end"] = end;
}
+ if (filter != null) {
+ _json["filter"] = filter;
+ }
if (id != null) {
_json["id"] = id;
}
@@ -4369,6 +4485,9 @@
if (names != null) {
_json["names"] = names;
}
+ if (quality != null) {
+ _json["quality"] = quality;
+ }
if (referenceBases != null) {
_json["referenceBases"] = referenceBases;
}
diff --git a/generated/googleapis_beta/lib/resourceviews/v1beta2.dart b/generated/googleapis_beta/lib/resourceviews/v1beta2.dart
new file mode 100644
index 0000000..25eb122
--- /dev/null
+++ b/generated/googleapis_beta/lib/resourceviews/v1beta2.dart
@@ -0,0 +1,1640 @@
+library googleapis_beta.resourceviews.v1beta2;
+
+import "dart:core" as core;
+import "dart:collection" as collection;
+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;
+
+/**
+ * The Resource View API allows users to create and manage logical sets of
+ * Google Compute Engine instances.
+ */
+class ResourceviewsApi {
+ /** View and manage your data across Google Cloud Platform services */
+ static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform";
+
+ /** View and manage your Google Compute Engine resources */
+ static const ComputeScope = "https://www.googleapis.com/auth/compute";
+
+ /** View your Google Compute Engine resources */
+ static const ComputeReadonlyScope = "https://www.googleapis.com/auth/compute.readonly";
+
+ /**
+ * View and manage your Google Cloud Platform management resources and
+ * deployment status information
+ */
+ static const NdevCloudmanScope = "https://www.googleapis.com/auth/ndev.cloudman";
+
+ /**
+ * View your Google Cloud Platform management resources and deployment status
+ * information
+ */
+ static const NdevCloudmanReadonlyScope = "https://www.googleapis.com/auth/ndev.cloudman.readonly";
+
+
+ final common_internal.ApiRequester _requester;
+
+ ZoneOperationsResourceApi get zoneOperations => new ZoneOperationsResourceApi(_requester);
+ ZoneViewsResourceApi get zoneViews => new ZoneViewsResourceApi(_requester);
+
+ ResourceviewsApi(http.Client client) :
+ _requester = new common_internal.ApiRequester(client, "https://www.googleapis.com/", "resourceviews/v1beta2/projects/");
+}
+
+
+/** Not documented yet. */
+class ZoneOperationsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ ZoneOperationsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Retrieves the specified zone-specific operation 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])?))".
+ *
+ * [zone] - Name of the zone scoping this request.
+ * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
+ *
+ * [operation] - Name of the operation resource to return.
+ * 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> get(core.String project, core.String zone, core.String operation) {
+ 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 (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (operation == null) {
+ throw new core.ArgumentError("Parameter operation is required.");
+ }
+
+
+ _url = common_internal.Escaper.ecapeVariable('$project') + '/zones/' + common_internal.Escaper.ecapeVariable('$zone') + '/operations/' + common_internal.Escaper.ecapeVariable('$operation');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * zone.
+ *
+ * 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])?))".
+ *
+ * [zone] - Name of the zone scoping this request.
+ * Value must have pattern "[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 [OperationList].
+ *
+ * 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<OperationList> list(core.String project, core.String zone, {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 (zone == null) {
+ throw new core.ArgumentError("Parameter zone 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') + '/zones/' + common_internal.Escaper.ecapeVariable('$zone') + '/operations';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OperationList.fromJson(data));
+ }
+
+}
+
+
+/** Not documented yet. */
+class ZoneViewsResourceApi {
+ final common_internal.ApiRequester _requester;
+
+ ZoneViewsResourceApi(common_internal.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Add resources to the view.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [project] - The project name of the resource view.
+ *
+ * [zone] - The zone name of the resource view.
+ *
+ * [resourceView] - The name of the resource view.
+ *
+ * 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> addResources(ZoneViewsAddResourcesRequest request, core.String project, core.String zone, core.String resourceView) {
+ 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.");
+ }
+ if (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (resourceView == null) {
+ throw new core.ArgumentError("Parameter resourceView is required.");
+ }
+
+
+ _url = common_internal.Escaper.ecapeVariable('$project') + '/zones/' + common_internal.Escaper.ecapeVariable('$zone') + '/resourceViews/' + common_internal.Escaper.ecapeVariable('$resourceView') + '/addResources';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * Delete a resource view.
+ *
+ * Request parameters:
+ *
+ * [project] - The project name of the resource view.
+ *
+ * [zone] - The zone name of the resource view.
+ *
+ * [resourceView] - The name of the resource view.
+ *
+ * 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 zone, core.String resourceView) {
+ 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 (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (resourceView == null) {
+ throw new core.ArgumentError("Parameter resourceView is required.");
+ }
+
+
+ _url = common_internal.Escaper.ecapeVariable('$project') + '/zones/' + common_internal.Escaper.ecapeVariable('$zone') + '/resourceViews/' + common_internal.Escaper.ecapeVariable('$resourceView');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * Get the information of a zonal resource view.
+ *
+ * Request parameters:
+ *
+ * [project] - The project name of the resource view.
+ *
+ * [zone] - The zone name of the resource view.
+ *
+ * [resourceView] - The name of the resource view.
+ *
+ * Completes with a [ResourceView].
+ *
+ * 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<ResourceView> get(core.String project, core.String zone, core.String resourceView) {
+ 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 (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (resourceView == null) {
+ throw new core.ArgumentError("Parameter resourceView is required.");
+ }
+
+
+ _url = common_internal.Escaper.ecapeVariable('$project') + '/zones/' + common_internal.Escaper.ecapeVariable('$zone') + '/resourceViews/' + common_internal.Escaper.ecapeVariable('$resourceView');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ResourceView.fromJson(data));
+ }
+
+ /**
+ * Get the service information of a resource view or a resource.
+ *
+ * Request parameters:
+ *
+ * [project] - The project name of the resource view.
+ *
+ * [zone] - The zone name of the resource view.
+ *
+ * [resourceView] - The name of the resource view.
+ *
+ * [resourceName] - The name of the resource if user wants to get the service
+ * information of the resource.
+ *
+ * Completes with a [ZoneViewsGetServiceResponse].
+ *
+ * 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<ZoneViewsGetServiceResponse> getService(core.String project, core.String zone, core.String resourceView, {core.String resourceName}) {
+ 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 (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (resourceView == null) {
+ throw new core.ArgumentError("Parameter resourceView is required.");
+ }
+ if (resourceName != null) {
+ _queryParams["resourceName"] = [resourceName];
+ }
+
+
+ _url = common_internal.Escaper.ecapeVariable('$project') + '/zones/' + common_internal.Escaper.ecapeVariable('$zone') + '/resourceViews/' + common_internal.Escaper.ecapeVariable('$resourceView') + '/getService';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ZoneViewsGetServiceResponse.fromJson(data));
+ }
+
+ /**
+ * Create a resource view.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [project] - The project name of the resource view.
+ *
+ * [zone] - The zone name of the resource view.
+ *
+ * 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(ResourceView request, core.String project, core.String zone) {
+ 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.");
+ }
+ if (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+
+
+ _url = common_internal.Escaper.ecapeVariable('$project') + '/zones/' + common_internal.Escaper.ecapeVariable('$zone') + '/resourceViews';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * List resource views.
+ *
+ * Request parameters:
+ *
+ * [project] - The project name of the resource view.
+ *
+ * [zone] - The zone name of the resource view.
+ *
+ * [maxResults] - Maximum count of results to be returned. Acceptable values
+ * are 0 to 5000, inclusive. (Default: 5000)
+ * Value must be between "0" and "5000".
+ *
+ * [pageToken] - Specifies a nextPageToken returned by a previous list
+ * request. This token can be used to request the next page of results from a
+ * previous list request.
+ *
+ * Completes with a [ZoneViewsList].
+ *
+ * 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<ZoneViewsList> list(core.String project, core.String zone, {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 (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+
+ _url = common_internal.Escaper.ecapeVariable('$project') + '/zones/' + common_internal.Escaper.ecapeVariable('$zone') + '/resourceViews';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ZoneViewsList.fromJson(data));
+ }
+
+ /**
+ * List the resources of the resource view.
+ *
+ * Request parameters:
+ *
+ * [project] - The project name of the resource view.
+ *
+ * [zone] - The zone name of the resource view.
+ *
+ * [resourceView] - The name of the resource view.
+ *
+ * [format] - The requested format of the return value. It can be URL or
+ * URL_PORT. A JSON object will be included in the response based on the
+ * format. The default format is NONE, which results in no JSON in the
+ * response.
+ * Possible string values are:
+ * - "NONE"
+ * - "URL"
+ * - "URL_PORT"
+ *
+ * [listState] - The state of the instance to list. By default, it lists all
+ * instances.
+ * Possible string values are:
+ * - "ALL"
+ * - "RUNNING"
+ *
+ * [maxResults] - Maximum count of results to be returned. Acceptable values
+ * are 0 to 5000, inclusive. (Default: 5000)
+ * Value must be between "0" and "5000".
+ *
+ * [pageToken] - Specifies a nextPageToken returned by a previous list
+ * request. This token can be used to request the next page of results from a
+ * previous list request.
+ *
+ * [serviceName] - The service name to return in the response. It is optional
+ * and if it is not set, all the service end points will be returned.
+ *
+ * Completes with a [ZoneViewsListResourcesResponse].
+ *
+ * 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<ZoneViewsListResourcesResponse> listResources(core.String project, core.String zone, core.String resourceView, {core.String format, core.String listState, core.int maxResults, core.String pageToken, core.String serviceName}) {
+ 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 (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (resourceView == null) {
+ throw new core.ArgumentError("Parameter resourceView is required.");
+ }
+ if (format != null) {
+ _queryParams["format"] = [format];
+ }
+ if (listState != null) {
+ _queryParams["listState"] = [listState];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (serviceName != null) {
+ _queryParams["serviceName"] = [serviceName];
+ }
+
+
+ _url = common_internal.Escaper.ecapeVariable('$project') + '/zones/' + common_internal.Escaper.ecapeVariable('$zone') + '/resourceViews/' + common_internal.Escaper.ecapeVariable('$resourceView') + '/resources';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ZoneViewsListResourcesResponse.fromJson(data));
+ }
+
+ /**
+ * Remove resources from the view.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [project] - The project name of the resource view.
+ *
+ * [zone] - The zone name of the resource view.
+ *
+ * [resourceView] - The name of the resource view.
+ *
+ * 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> removeResources(ZoneViewsRemoveResourcesRequest request, core.String project, core.String zone, core.String resourceView) {
+ 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.");
+ }
+ if (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (resourceView == null) {
+ throw new core.ArgumentError("Parameter resourceView is required.");
+ }
+
+
+ _url = common_internal.Escaper.ecapeVariable('$project') + '/zones/' + common_internal.Escaper.ecapeVariable('$zone') + '/resourceViews/' + common_internal.Escaper.ecapeVariable('$resourceView') + '/removeResources';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * Update the service information of a resource view or a resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [project] - The project name of the resource view.
+ *
+ * [zone] - The zone name of the resource view.
+ *
+ * [resourceView] - The name of the resource view.
+ *
+ * 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> setService(ZoneViewsSetServiceRequest request, core.String project, core.String zone, core.String resourceView) {
+ 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.");
+ }
+ if (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (resourceView == null) {
+ throw new core.ArgumentError("Parameter resourceView is required.");
+ }
+
+
+ _url = common_internal.Escaper.ecapeVariable('$project') + '/zones/' + common_internal.Escaper.ecapeVariable('$zone') + '/resourceViews/' + common_internal.Escaper.ecapeVariable('$resourceView') + '/setService';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+}
+
+
+
+/** The Label to be applied to the resource views. */
+class Label {
+ /** Key of the label. */
+ core.String key;
+
+ /** Value of the label. */
+ core.String value;
+
+
+ Label();
+
+ Label.fromJson(core.Map _json) {
+ if (_json.containsKey("key")) {
+ key = _json["key"];
+ }
+ if (_json.containsKey("value")) {
+ value = _json["value"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (key != null) {
+ _json["key"] = key;
+ }
+ if (value != null) {
+ _json["value"] = value;
+ }
+ return _json;
+ }
+}
+
+
+/**
+ * The list response item that contains the resource and end points information.
+ */
+class ListResourceResponseItem {
+ /** The list of service end points on the resource. */
+ core.Map<core.String, core.List<core.int>> endpoints;
+
+ /** The full URL of the resource. */
+ core.String resource;
+
+
+ ListResourceResponseItem();
+
+ ListResourceResponseItem.fromJson(core.Map _json) {
+ if (_json.containsKey("endpoints")) {
+ endpoints = _json["endpoints"];
+ }
+ if (_json.containsKey("resource")) {
+ resource = _json["resource"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (endpoints != null) {
+ _json["endpoints"] = endpoints;
+ }
+ if (resource != null) {
+ _json["resource"] = resource;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class OperationErrorErrors {
+ /** [Output Only] The error type identifier for this error. */
+ core.String code;
+
+ /**
+ * [Output Only] Indicates the field in the request which caused the error.
+ * This property is optional.
+ */
+ core.String location;
+
+ /** [Output Only] An optional, human-readable error message. */
+ core.String message;
+
+
+ OperationErrorErrors();
+
+ OperationErrorErrors.fromJson(core.Map _json) {
+ if (_json.containsKey("code")) {
+ code = _json["code"];
+ }
+ if (_json.containsKey("location")) {
+ location = _json["location"];
+ }
+ if (_json.containsKey("message")) {
+ message = _json["message"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (code != null) {
+ _json["code"] = code;
+ }
+ if (location != null) {
+ _json["location"] = location;
+ }
+ if (message != null) {
+ _json["message"] = message;
+ }
+ return _json;
+ }
+}
+
+
+/**
+ * [Output Only] If errors occurred during processing of this operation, this
+ * field will be populated.
+ */
+class OperationError {
+ /**
+ * [Output Only] The array of errors encountered while processing this
+ * operation.
+ */
+ core.List<OperationErrorErrors> errors;
+
+
+ OperationError();
+
+ OperationError.fromJson(core.Map _json) {
+ if (_json.containsKey("errors")) {
+ errors = _json["errors"].map((value) => new OperationErrorErrors.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (errors != null) {
+ _json["errors"] = errors.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class OperationWarningsData {
+ /** [Output Only] Metadata key for this warning. */
+ core.String key;
+
+ /** [Output Only] Metadata value for this warning. */
+ core.String value;
+
+
+ OperationWarningsData();
+
+ OperationWarningsData.fromJson(core.Map _json) {
+ if (_json.containsKey("key")) {
+ key = _json["key"];
+ }
+ if (_json.containsKey("value")) {
+ value = _json["value"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (key != null) {
+ _json["key"] = key;
+ }
+ if (value != null) {
+ _json["value"] = value;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class OperationWarnings {
+ /** [Output only] The warning type identifier for this warning. */
+ core.String code;
+
+ /** [Output only] Metadata for this warning in key:value format. */
+ core.List<OperationWarningsData> data;
+
+ /** [Output only] Optional human-readable details for this warning. */
+ core.String message;
+
+
+ OperationWarnings();
+
+ OperationWarnings.fromJson(core.Map _json) {
+ if (_json.containsKey("code")) {
+ code = _json["code"];
+ }
+ if (_json.containsKey("data")) {
+ data = _json["data"].map((value) => new OperationWarningsData.fromJson(value)).toList();
+ }
+ if (_json.containsKey("message")) {
+ message = _json["message"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (code != null) {
+ _json["code"] = code;
+ }
+ if (data != null) {
+ _json["data"] = data.map((value) => (value).toJson()).toList();
+ }
+ if (message != null) {
+ _json["message"] = message;
+ }
+ return _json;
+ }
+}
+
+
+/** An operation resource, used to manage asynchronous API requests. */
+class Operation {
+ /**
+ * [Output only] An optional identifier specified by the client when the
+ * mutation was initiated. Must be unique for all operation resources in the
+ * project.
+ */
+ core.String clientOperationId;
+
+ /**
+ * [Output Only] The time that this operation was requested, in RFC3339 text
+ * format.
+ */
+ core.String creationTimestamp;
+
+ /**
+ * [Output Only] The time that this operation was completed, in RFC3339 text
+ * format.
+ */
+ core.String endTime;
+
+ /**
+ * [Output Only] If errors occurred during processing of this operation, this
+ * field will be populated.
+ */
+ OperationError error;
+
+ /** [Output only] If operation fails, the HTTP error message returned. */
+ core.String httpErrorMessage;
+
+ /** [Output only] If operation fails, the HTTP error status code returned. */
+ core.int httpErrorStatusCode;
+
+ /**
+ * [Output Only] Unique identifier for the resource, generated by the server.
+ */
+ core.String id;
+
+ /**
+ * [Output Only] The time that this operation was requested, in RFC3339 text
+ * format.
+ */
+ core.String insertTime;
+
+ /** [Output only] Type of the resource. */
+ core.String kind;
+
+ /** [Output Only] Name of the resource. */
+ core.String name;
+
+ /**
+ * [Output only] Type of the operation. Operations include insert, update, and
+ * delete.
+ */
+ core.String operationType;
+
+ /**
+ * [Output only] An optional progress indicator that ranges from 0 to 100.
+ * There is no requirement that this be linear or support any granularity of
+ * operations. This should not be used to guess at when the operation will be
+ * complete. This number should be monotonically increasing as the operation
+ * progresses.
+ */
+ core.int progress;
+
+ /**
+ * [Output Only] URL of the region where the operation resides. Only available
+ * when performing regional operations.
+ */
+ core.String region;
+
+ /** [Output Only] Server-defined fully-qualified URL for this resource. */
+ core.String selfLink;
+
+ /**
+ * [Output Only] The time that this operation was started by the server, in
+ * RFC3339 text format.
+ */
+ core.String startTime;
+
+ /** [Output Only] Status of the operation. */
+ core.String status;
+
+ /**
+ * [Output Only] An optional textual description of the current status of the
+ * operation.
+ */
+ core.String statusMessage;
+
+ /**
+ * [Output Only] Unique target ID which identifies a particular incarnation of
+ * the target.
+ */
+ core.String targetId;
+
+ /** [Output only] URL of the resource the operation is mutating. */
+ core.String targetLink;
+
+ /**
+ * [Output Only] User who requested the operation, for example:
+ * user@example.com.
+ */
+ core.String user;
+
+ /**
+ * [Output Only] If there are issues with this operation, a warning is
+ * returned.
+ */
+ core.List<OperationWarnings> warnings;
+
+ /**
+ * [Output Only] URL of the zone where the operation resides. Only available
+ * when performing per-zone operations.
+ */
+ core.String zone;
+
+
+ Operation();
+
+ Operation.fromJson(core.Map _json) {
+ if (_json.containsKey("clientOperationId")) {
+ clientOperationId = _json["clientOperationId"];
+ }
+ if (_json.containsKey("creationTimestamp")) {
+ creationTimestamp = _json["creationTimestamp"];
+ }
+ if (_json.containsKey("endTime")) {
+ endTime = _json["endTime"];
+ }
+ if (_json.containsKey("error")) {
+ error = new OperationError.fromJson(_json["error"]);
+ }
+ if (_json.containsKey("httpErrorMessage")) {
+ httpErrorMessage = _json["httpErrorMessage"];
+ }
+ if (_json.containsKey("httpErrorStatusCode")) {
+ httpErrorStatusCode = _json["httpErrorStatusCode"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("insertTime")) {
+ insertTime = _json["insertTime"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("operationType")) {
+ operationType = _json["operationType"];
+ }
+ if (_json.containsKey("progress")) {
+ progress = _json["progress"];
+ }
+ if (_json.containsKey("region")) {
+ region = _json["region"];
+ }
+ if (_json.containsKey("selfLink")) {
+ selfLink = _json["selfLink"];
+ }
+ if (_json.containsKey("startTime")) {
+ startTime = _json["startTime"];
+ }
+ if (_json.containsKey("status")) {
+ status = _json["status"];
+ }
+ if (_json.containsKey("statusMessage")) {
+ statusMessage = _json["statusMessage"];
+ }
+ if (_json.containsKey("targetId")) {
+ targetId = _json["targetId"];
+ }
+ if (_json.containsKey("targetLink")) {
+ targetLink = _json["targetLink"];
+ }
+ if (_json.containsKey("user")) {
+ user = _json["user"];
+ }
+ if (_json.containsKey("warnings")) {
+ warnings = _json["warnings"].map((value) => new OperationWarnings.fromJson(value)).toList();
+ }
+ if (_json.containsKey("zone")) {
+ zone = _json["zone"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (clientOperationId != null) {
+ _json["clientOperationId"] = clientOperationId;
+ }
+ if (creationTimestamp != null) {
+ _json["creationTimestamp"] = creationTimestamp;
+ }
+ if (endTime != null) {
+ _json["endTime"] = endTime;
+ }
+ if (error != null) {
+ _json["error"] = (error).toJson();
+ }
+ if (httpErrorMessage != null) {
+ _json["httpErrorMessage"] = httpErrorMessage;
+ }
+ if (httpErrorStatusCode != null) {
+ _json["httpErrorStatusCode"] = httpErrorStatusCode;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (insertTime != null) {
+ _json["insertTime"] = insertTime;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (operationType != null) {
+ _json["operationType"] = operationType;
+ }
+ if (progress != null) {
+ _json["progress"] = progress;
+ }
+ if (region != null) {
+ _json["region"] = region;
+ }
+ if (selfLink != null) {
+ _json["selfLink"] = selfLink;
+ }
+ if (startTime != null) {
+ _json["startTime"] = startTime;
+ }
+ if (status != null) {
+ _json["status"] = status;
+ }
+ if (statusMessage != null) {
+ _json["statusMessage"] = statusMessage;
+ }
+ if (targetId != null) {
+ _json["targetId"] = targetId;
+ }
+ if (targetLink != null) {
+ _json["targetLink"] = targetLink;
+ }
+ if (user != null) {
+ _json["user"] = user;
+ }
+ if (warnings != null) {
+ _json["warnings"] = warnings.map((value) => (value).toJson()).toList();
+ }
+ if (zone != null) {
+ _json["zone"] = zone;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class OperationList {
+ /**
+ * Unique identifier for the resource; defined by the server (output only).
+ */
+ core.String id;
+
+ /** The operation resources. */
+ core.List<Operation> 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;
+
+
+ OperationList();
+
+ OperationList.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new Operation.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;
+ }
+}
+
+
+/** The resource view object. */
+class ResourceView {
+ /** The creation time of the resource view. */
+ core.String creationTimestamp;
+
+ /** The detailed description of the resource view. */
+ core.String description;
+
+ /** Services endpoint information. */
+ core.List<ServiceEndpoint> endpoints;
+
+ /** The fingerprint of the service endpoint information. */
+ core.String fingerprint;
+
+ /** [Output Only] The ID of the resource view. */
+ core.String id;
+
+ /** Type of the resource. */
+ core.String kind;
+
+ /** The labels for events. */
+ core.List<Label> labels;
+
+ /** The name of the resource view. */
+ core.String name;
+
+ /**
+ * The URL of a Compute Engine network to which the resources in the view
+ * belong.
+ */
+ core.String network;
+
+ /** A list of all resources in the resource view. */
+ core.List<core.String> resources;
+
+ /** [Output Only] A self-link to the resource view. */
+ core.String selfLink;
+
+ /** The total number of resources in the resource view. */
+ core.int size;
+
+
+ ResourceView();
+
+ ResourceView.fromJson(core.Map _json) {
+ if (_json.containsKey("creationTimestamp")) {
+ creationTimestamp = _json["creationTimestamp"];
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("endpoints")) {
+ endpoints = _json["endpoints"].map((value) => new ServiceEndpoint.fromJson(value)).toList();
+ }
+ if (_json.containsKey("fingerprint")) {
+ fingerprint = _json["fingerprint"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("labels")) {
+ labels = _json["labels"].map((value) => new Label.fromJson(value)).toList();
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("network")) {
+ network = _json["network"];
+ }
+ if (_json.containsKey("resources")) {
+ resources = _json["resources"];
+ }
+ if (_json.containsKey("selfLink")) {
+ selfLink = _json["selfLink"];
+ }
+ if (_json.containsKey("size")) {
+ size = _json["size"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (creationTimestamp != null) {
+ _json["creationTimestamp"] = creationTimestamp;
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (endpoints != null) {
+ _json["endpoints"] = endpoints.map((value) => (value).toJson()).toList();
+ }
+ if (fingerprint != null) {
+ _json["fingerprint"] = fingerprint;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (labels != null) {
+ _json["labels"] = labels.map((value) => (value).toJson()).toList();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (network != null) {
+ _json["network"] = network;
+ }
+ if (resources != null) {
+ _json["resources"] = resources;
+ }
+ if (selfLink != null) {
+ _json["selfLink"] = selfLink;
+ }
+ if (size != null) {
+ _json["size"] = size;
+ }
+ return _json;
+ }
+}
+
+
+/** The service endpoint that may be started in a VM. */
+class ServiceEndpoint {
+ /** The name of the service endpoint. */
+ core.String name;
+
+ /** The port of the service endpoint. */
+ core.int port;
+
+
+ ServiceEndpoint();
+
+ ServiceEndpoint.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("port")) {
+ port = _json["port"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (port != null) {
+ _json["port"] = port;
+ }
+ return _json;
+ }
+}
+
+
+/** The request to add resources to the resource view. */
+class ZoneViewsAddResourcesRequest {
+ /** The list of resources to be added. */
+ core.List<core.String> resources;
+
+
+ ZoneViewsAddResourcesRequest();
+
+ ZoneViewsAddResourcesRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("resources")) {
+ resources = _json["resources"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (resources != null) {
+ _json["resources"] = resources;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class ZoneViewsGetServiceResponse {
+ /** The service information. */
+ core.List<ServiceEndpoint> endpoints;
+
+ /** The fingerprint of the service information. */
+ core.String fingerprint;
+
+
+ ZoneViewsGetServiceResponse();
+
+ ZoneViewsGetServiceResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("endpoints")) {
+ endpoints = _json["endpoints"].map((value) => new ServiceEndpoint.fromJson(value)).toList();
+ }
+ if (_json.containsKey("fingerprint")) {
+ fingerprint = _json["fingerprint"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (endpoints != null) {
+ _json["endpoints"] = endpoints.map((value) => (value).toJson()).toList();
+ }
+ if (fingerprint != null) {
+ _json["fingerprint"] = fingerprint;
+ }
+ return _json;
+ }
+}
+
+
+/** The response to a list request. */
+class ZoneViewsList {
+ /** The result that contains all resource views that meet the criteria. */
+ core.List<ResourceView> items;
+
+ /** Type of resource. */
+ core.String kind;
+
+ /** A token used for pagination. */
+ core.String nextPageToken;
+
+ /** Server defined URL for this resource (output only). */
+ core.String selfLink;
+
+
+ ZoneViewsList();
+
+ ZoneViewsList.fromJson(core.Map _json) {
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new ResourceView.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 (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;
+ }
+}
+
+
+/** The response to a list resource request. */
+class ZoneViewsListResourcesResponse {
+ /** The formatted JSON that is requested by the user. */
+ core.List<ListResourceResponseItem> items;
+
+ /**
+ * The URL of a Compute Engine network to which the resources in the view
+ * belong.
+ */
+ core.String network;
+
+ /** A token used for pagination. */
+ core.String nextPageToken;
+
+
+ ZoneViewsListResourcesResponse();
+
+ ZoneViewsListResourcesResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new ListResourceResponseItem.fromJson(value)).toList();
+ }
+ if (_json.containsKey("network")) {
+ network = _json["network"];
+ }
+ 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 (network != null) {
+ _json["network"] = network;
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ return _json;
+ }
+}
+
+
+/** The request to remove resources from the resource view. */
+class ZoneViewsRemoveResourcesRequest {
+ /** The list of resources to be removed. */
+ core.List<core.String> resources;
+
+
+ ZoneViewsRemoveResourcesRequest();
+
+ ZoneViewsRemoveResourcesRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("resources")) {
+ resources = _json["resources"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (resources != null) {
+ _json["resources"] = resources;
+ }
+ return _json;
+ }
+}
+
+
+/** Not documented yet. */
+class ZoneViewsSetServiceRequest {
+ /** The service information to be updated. */
+ core.List<ServiceEndpoint> endpoints;
+
+ /**
+ * Fingerprint of the service information; a hash of the contents. This field
+ * is used for optimistic locking when updating the service entries.
+ */
+ core.String fingerprint;
+
+ /**
+ * The name of the resource if user wants to update the service information of
+ * the resource.
+ */
+ core.String resourceName;
+
+
+ ZoneViewsSetServiceRequest();
+
+ ZoneViewsSetServiceRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("endpoints")) {
+ endpoints = _json["endpoints"].map((value) => new ServiceEndpoint.fromJson(value)).toList();
+ }
+ if (_json.containsKey("fingerprint")) {
+ fingerprint = _json["fingerprint"];
+ }
+ if (_json.containsKey("resourceName")) {
+ resourceName = _json["resourceName"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (endpoints != null) {
+ _json["endpoints"] = endpoints.map((value) => (value).toJson()).toList();
+ }
+ if (fingerprint != null) {
+ _json["fingerprint"] = fingerprint;
+ }
+ if (resourceName != null) {
+ _json["resourceName"] = resourceName;
+ }
+ return _json;
+ }
+}
+
+
diff --git a/generated/googleapis_beta/lib/src/common_internal.dart b/generated/googleapis_beta/lib/src/common_internal.dart
index a489b3a..b3f8034 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.0';
+ 'google-api-dart-client googleapis_beta/0.2.1';
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 731a0f5..a961a6d 100644
--- a/generated/googleapis_beta/pubspec.yaml
+++ b/generated/googleapis_beta/pubspec.yaml
@@ -1,8 +1,8 @@
name: googleapis_beta
-version: 0.2.0
+version: 0.2.1
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, sqladmin:v1beta3, taskqueue:v1beta2"
-homepage: http://www.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/
environment:
sdk: '>=1.0.0 <2.0.0'
dependencies:
diff --git a/generated/googleapis_beta/test/autoscaler/v1beta2_test.dart b/generated/googleapis_beta/test/autoscaler/v1beta2_test.dart
index 95e82ae..0bcff2a 100644
--- a/generated/googleapis_beta/test/autoscaler/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/autoscaler/v1beta2_test.dart
@@ -49,14 +49,14 @@
buildCounterAutoscaler--;
}
-buildUnnamed1144() {
+buildUnnamed1248() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed1144(core.List<api.Autoscaler> o) {
+checkUnnamed1248(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 = buildUnnamed1144();
+ o.items = buildUnnamed1248();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -78,21 +78,21 @@
checkAutoscalerListResponse(api.AutoscalerListResponse o) {
buildCounterAutoscalerListResponse++;
if (buildCounterAutoscalerListResponse < 3) {
- checkUnnamed1144(o.items);
+ checkUnnamed1248(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAutoscalerListResponse--;
}
-buildUnnamed1145() {
+buildUnnamed1249() {
var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>();
o.add(buildAutoscalingPolicyCustomMetricUtilization());
o.add(buildAutoscalingPolicyCustomMetricUtilization());
return o;
}
-checkUnnamed1145(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
+checkUnnamed1249(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 = buildUnnamed1145();
+ o.customMetricUtilizations = buildUnnamed1249();
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);
- checkUnnamed1145(o.customMetricUtilizations);
+ checkUnnamed1249(o.customMetricUtilizations);
checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization);
unittest.expect(o.maxNumReplicas, unittest.equals(42));
unittest.expect(o.minNumReplicas, unittest.equals(42));
@@ -211,14 +211,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed1146() {
+buildUnnamed1250() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed1146(core.List<api.OperationErrorErrors> o) {
+checkUnnamed1250(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 = buildUnnamed1146();
+ o.errors = buildUnnamed1250();
}
buildCounterOperationError--;
return o;
@@ -238,7 +238,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed1146(o.errors);
+ checkUnnamed1250(o.errors);
}
buildCounterOperationError--;
}
@@ -264,14 +264,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed1147() {
+buildUnnamed1251() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed1147(core.List<api.OperationWarningsData> o) {
+checkUnnamed1251(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 = buildUnnamed1147();
+ o.data = buildUnnamed1251();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -294,20 +294,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1147(o.data);
+ checkUnnamed1251(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed1148() {
+buildUnnamed1252() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed1148(core.List<api.OperationWarnings> o) {
+checkUnnamed1252(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 = buildUnnamed1148();
+ o.warnings = buildUnnamed1252();
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'));
- checkUnnamed1148(o.warnings);
+ checkUnnamed1252(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed1149() {
+buildUnnamed1253() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1149(core.List<api.Operation> o) {
+checkUnnamed1253(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 = buildUnnamed1149();
+ o.items = buildUnnamed1253();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -406,7 +406,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1149(o.items);
+ checkUnnamed1253(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 96d99ee..d95a52b 100644
--- a/generated/googleapis_beta/test/cloudmonitoring/v2beta1_test.dart
+++ b/generated/googleapis_beta/test/cloudmonitoring/v2beta1_test.dart
@@ -35,14 +35,14 @@
buildCounterListMetricDescriptorsRequest--;
}
-buildUnnamed1205() {
+buildUnnamed1130() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1205(core.List<api.MetricDescriptor> o) {
+checkUnnamed1130(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 = buildUnnamed1205();
+ o.metrics = buildUnnamed1130();
o.nextPageToken = "foo";
}
buildCounterListMetricDescriptorsResponse--;
@@ -65,7 +65,7 @@
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1205(o.metrics);
+ checkUnnamed1130(o.metrics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMetricDescriptorsResponse--;
@@ -90,14 +90,14 @@
buildCounterListTimeseriesDescriptorsRequest--;
}
-buildUnnamed1206() {
+buildUnnamed1131() {
var o = new core.List<api.TimeseriesDescriptor>();
o.add(buildTimeseriesDescriptor());
o.add(buildTimeseriesDescriptor());
return o;
}
-checkUnnamed1206(core.List<api.TimeseriesDescriptor> o) {
+checkUnnamed1131(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 = buildUnnamed1206();
+ o.timeseries = buildUnnamed1131();
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")));
- checkUnnamed1206(o.timeseries);
+ checkUnnamed1131(o.timeseries);
unittest.expect(o.youngest, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
}
buildCounterListTimeseriesDescriptorsResponse--;
@@ -149,14 +149,14 @@
buildCounterListTimeseriesRequest--;
}
-buildUnnamed1207() {
+buildUnnamed1132() {
var o = new core.List<api.Timeseries>();
o.add(buildTimeseries());
o.add(buildTimeseries());
return o;
}
-checkUnnamed1207(core.List<api.Timeseries> o) {
+checkUnnamed1132(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 = buildUnnamed1207();
+ o.timeseries = buildUnnamed1132();
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")));
- checkUnnamed1207(o.timeseries);
+ checkUnnamed1132(o.timeseries);
unittest.expect(o.youngest, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
}
buildCounterListTimeseriesResponse--;
}
-buildUnnamed1208() {
+buildUnnamed1133() {
var o = new core.List<api.MetricDescriptorLabelDescriptor>();
o.add(buildMetricDescriptorLabelDescriptor());
o.add(buildMetricDescriptorLabelDescriptor());
return o;
}
-checkUnnamed1208(core.List<api.MetricDescriptorLabelDescriptor> o) {
+checkUnnamed1133(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 = buildUnnamed1208();
+ o.labels = buildUnnamed1133();
o.name = "foo";
o.project = "foo";
o.typeDescriptor = buildMetricDescriptorTypeDescriptor();
@@ -221,7 +221,7 @@
buildCounterMetricDescriptor++;
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1208(o.labels);
+ checkUnnamed1133(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.project, unittest.equals('foo'));
checkMetricDescriptorTypeDescriptor(o.typeDescriptor);
@@ -302,14 +302,14 @@
buildCounterPoint--;
}
-buildUnnamed1209() {
+buildUnnamed1134() {
var o = new core.List<api.PointDistributionBucket>();
o.add(buildPointDistributionBucket());
o.add(buildPointDistributionBucket());
return o;
}
-checkUnnamed1209(core.List<api.PointDistributionBucket> o) {
+checkUnnamed1134(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 = buildUnnamed1209();
+ o.buckets = buildUnnamed1134();
o.overflowBucket = buildPointDistributionOverflowBucket();
o.underflowBucket = buildPointDistributionUnderflowBucket();
}
@@ -331,7 +331,7 @@
checkPointDistribution(api.PointDistribution o) {
buildCounterPointDistribution++;
if (buildCounterPointDistribution < 3) {
- checkUnnamed1209(o.buckets);
+ checkUnnamed1134(o.buckets);
checkPointDistributionOverflowBucket(o.overflowBucket);
checkPointDistributionUnderflowBucket(o.underflowBucket);
}
@@ -403,14 +403,14 @@
buildCounterPointDistributionUnderflowBucket--;
}
-buildUnnamed1210() {
+buildUnnamed1135() {
var o = new core.List<api.Point>();
o.add(buildPoint());
o.add(buildPoint());
return o;
}
-checkUnnamed1210(core.List<api.Point> o) {
+checkUnnamed1135(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 = buildUnnamed1210();
+ o.points = buildUnnamed1135();
o.timeseriesDesc = buildTimeseriesDescriptor();
}
buildCounterTimeseries--;
@@ -431,20 +431,20 @@
checkTimeseries(api.Timeseries o) {
buildCounterTimeseries++;
if (buildCounterTimeseries < 3) {
- checkUnnamed1210(o.points);
+ checkUnnamed1135(o.points);
checkTimeseriesDescriptor(o.timeseriesDesc);
}
buildCounterTimeseries--;
}
-buildUnnamed1211() {
+buildUnnamed1136() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1211(core.Map<core.String, core.String> o) {
+checkUnnamed1136(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 = buildUnnamed1211();
+ o.labels = buildUnnamed1136();
o.metric = "foo";
o.project = "foo";
}
@@ -466,34 +466,34 @@
checkTimeseriesDescriptor(api.TimeseriesDescriptor o) {
buildCounterTimeseriesDescriptor++;
if (buildCounterTimeseriesDescriptor < 3) {
- checkUnnamed1211(o.labels);
+ checkUnnamed1136(o.labels);
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.project, unittest.equals('foo'));
}
buildCounterTimeseriesDescriptor--;
}
-buildUnnamed1212() {
+buildUnnamed1137() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1212(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'));
}
-buildUnnamed1213() {
+buildUnnamed1138() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1213(core.List<core.String> o) {
+checkUnnamed1138(core.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 = buildUnnamed1212();
+ var arg_labels = buildUnnamed1137();
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 = buildUnnamed1213();
+ var arg_labels = buildUnnamed1138();
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 85aa41a..eb863a9 100644
--- a/generated/googleapis_beta/test/datastore/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/datastore/v1beta2_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed1214() {
+buildUnnamed1224() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed1214(core.List<api.Key> o) {
+checkUnnamed1224(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 = buildUnnamed1214();
+ o.keys = buildUnnamed1224();
}
buildCounterAllocateIdsRequest--;
return o;
@@ -43,19 +43,19 @@
checkAllocateIdsRequest(api.AllocateIdsRequest o) {
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- checkUnnamed1214(o.keys);
+ checkUnnamed1224(o.keys);
}
buildCounterAllocateIdsRequest--;
}
-buildUnnamed1215() {
+buildUnnamed1225() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed1215(core.List<api.Key> o) {
+checkUnnamed1225(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 = buildUnnamed1215();
+ o.keys = buildUnnamed1225();
}
buildCounterAllocateIdsResponse--;
return o;
@@ -77,7 +77,7 @@
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
checkResponseHeader(o.header);
- checkUnnamed1215(o.keys);
+ checkUnnamed1225(o.keys);
}
buildCounterAllocateIdsResponse--;
}
@@ -168,14 +168,14 @@
buildCounterCommitResponse--;
}
-buildUnnamed1216() {
+buildUnnamed1226() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed1216(core.List<api.Filter> o) {
+checkUnnamed1226(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 = buildUnnamed1216();
+ o.filters = buildUnnamed1226();
o.operator = "foo";
}
buildCounterCompositeFilter--;
@@ -196,20 +196,20 @@
checkCompositeFilter(api.CompositeFilter o) {
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- checkUnnamed1216(o.filters);
+ checkUnnamed1226(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterCompositeFilter--;
}
-buildUnnamed1217() {
+buildUnnamed1227() {
var o = new core.Map<core.String, api.Property>();
o["x"] = buildProperty();
o["y"] = buildProperty();
return o;
}
-checkUnnamed1217(core.Map<core.String, api.Property> o) {
+checkUnnamed1227(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 = buildUnnamed1217();
+ o.properties = buildUnnamed1227();
}
buildCounterEntity--;
return o;
@@ -231,7 +231,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
checkKey(o.key);
- checkUnnamed1217(o.properties);
+ checkUnnamed1227(o.properties);
}
buildCounterEntity--;
}
@@ -276,27 +276,27 @@
buildCounterFilter--;
}
-buildUnnamed1218() {
+buildUnnamed1228() {
var o = new core.List<api.GqlQueryArg>();
o.add(buildGqlQueryArg());
o.add(buildGqlQueryArg());
return o;
}
-checkUnnamed1218(core.List<api.GqlQueryArg> o) {
+checkUnnamed1228(core.List<api.GqlQueryArg> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryArg(o[0]);
checkGqlQueryArg(o[1]);
}
-buildUnnamed1219() {
+buildUnnamed1229() {
var o = new core.List<api.GqlQueryArg>();
o.add(buildGqlQueryArg());
o.add(buildGqlQueryArg());
return o;
}
-checkUnnamed1219(core.List<api.GqlQueryArg> o) {
+checkUnnamed1229(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 = buildUnnamed1218();
- o.numberArgs = buildUnnamed1219();
+ o.nameArgs = buildUnnamed1228();
+ o.numberArgs = buildUnnamed1229();
o.queryString = "foo";
}
buildCounterGqlQuery--;
@@ -320,8 +320,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
unittest.expect(o.allowLiteral, unittest.isTrue);
- checkUnnamed1218(o.nameArgs);
- checkUnnamed1219(o.numberArgs);
+ checkUnnamed1228(o.nameArgs);
+ checkUnnamed1229(o.numberArgs);
unittest.expect(o.queryString, unittest.equals('foo'));
}
buildCounterGqlQuery--;
@@ -350,14 +350,14 @@
buildCounterGqlQueryArg--;
}
-buildUnnamed1220() {
+buildUnnamed1230() {
var o = new core.List<api.KeyPathElement>();
o.add(buildKeyPathElement());
o.add(buildKeyPathElement());
return o;
}
-checkUnnamed1220(core.List<api.KeyPathElement> o) {
+checkUnnamed1230(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 = buildUnnamed1220();
+ o.path = buildUnnamed1230();
}
buildCounterKey--;
return o;
@@ -379,7 +379,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
checkPartitionId(o.partitionId);
- checkUnnamed1220(o.path);
+ checkUnnamed1230(o.path);
}
buildCounterKey--;
}
@@ -426,14 +426,14 @@
buildCounterKindExpression--;
}
-buildUnnamed1221() {
+buildUnnamed1231() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed1221(core.List<api.Key> o) {
+checkUnnamed1231(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 = buildUnnamed1221();
+ o.keys = buildUnnamed1231();
o.readOptions = buildReadOptions();
}
buildCounterLookupRequest--;
@@ -454,46 +454,46 @@
checkLookupRequest(api.LookupRequest o) {
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- checkUnnamed1221(o.keys);
+ checkUnnamed1231(o.keys);
checkReadOptions(o.readOptions);
}
buildCounterLookupRequest--;
}
-buildUnnamed1222() {
+buildUnnamed1232() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed1222(core.List<api.Key> o) {
+checkUnnamed1232(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed1223() {
+buildUnnamed1233() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed1223(core.List<api.EntityResult> o) {
+checkUnnamed1233(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
}
-buildUnnamed1224() {
+buildUnnamed1234() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed1224(core.List<api.EntityResult> o) {
+checkUnnamed1234(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 = buildUnnamed1222();
- o.found = buildUnnamed1223();
+ o.deferred = buildUnnamed1232();
+ o.found = buildUnnamed1233();
o.header = buildResponseHeader();
- o.missing = buildUnnamed1224();
+ o.missing = buildUnnamed1234();
}
buildCounterLookupResponse--;
return o;
@@ -516,74 +516,74 @@
checkLookupResponse(api.LookupResponse o) {
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- checkUnnamed1222(o.deferred);
- checkUnnamed1223(o.found);
+ checkUnnamed1232(o.deferred);
+ checkUnnamed1233(o.found);
checkResponseHeader(o.header);
- checkUnnamed1224(o.missing);
+ checkUnnamed1234(o.missing);
}
buildCounterLookupResponse--;
}
-buildUnnamed1225() {
+buildUnnamed1235() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed1225(core.List<api.Key> o) {
+checkUnnamed1235(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed1226() {
+buildUnnamed1236() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed1226(core.List<api.Entity> o) {
+checkUnnamed1236(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed1227() {
+buildUnnamed1237() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed1227(core.List<api.Entity> o) {
+checkUnnamed1237(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed1228() {
+buildUnnamed1238() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed1228(core.List<api.Entity> o) {
+checkUnnamed1238(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed1229() {
+buildUnnamed1239() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed1229(core.List<api.Entity> o) {
+checkUnnamed1239(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 = buildUnnamed1225();
+ o.delete = buildUnnamed1235();
o.force = true;
- o.insert = buildUnnamed1226();
- o.insertAutoId = buildUnnamed1227();
- o.update = buildUnnamed1228();
- o.upsert = buildUnnamed1229();
+ o.insert = buildUnnamed1236();
+ o.insertAutoId = buildUnnamed1237();
+ o.update = buildUnnamed1238();
+ o.upsert = buildUnnamed1239();
}
buildCounterMutation--;
return o;
@@ -608,24 +608,24 @@
checkMutation(api.Mutation o) {
buildCounterMutation++;
if (buildCounterMutation < 3) {
- checkUnnamed1225(o.delete);
+ checkUnnamed1235(o.delete);
unittest.expect(o.force, unittest.isTrue);
- checkUnnamed1226(o.insert);
- checkUnnamed1227(o.insertAutoId);
- checkUnnamed1228(o.update);
- checkUnnamed1229(o.upsert);
+ checkUnnamed1236(o.insert);
+ checkUnnamed1237(o.insertAutoId);
+ checkUnnamed1238(o.update);
+ checkUnnamed1239(o.upsert);
}
buildCounterMutation--;
}
-buildUnnamed1230() {
+buildUnnamed1240() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed1230(core.List<api.Key> o) {
+checkUnnamed1240(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 = buildUnnamed1230();
+ o.insertAutoIdKeys = buildUnnamed1240();
}
buildCounterMutationResult--;
return o;
@@ -647,7 +647,7 @@
buildCounterMutationResult++;
if (buildCounterMutationResult < 3) {
unittest.expect(o.indexUpdates, unittest.equals(42));
- checkUnnamed1230(o.insertAutoIdKeys);
+ checkUnnamed1240(o.insertAutoIdKeys);
}
buildCounterMutationResult--;
}
@@ -673,14 +673,14 @@
buildCounterPartitionId--;
}
-buildUnnamed1231() {
+buildUnnamed1241() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed1231(core.List<api.Value> o) {
+checkUnnamed1241(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 = buildUnnamed1231();
+ o.listValue = buildUnnamed1241();
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);
- checkUnnamed1231(o.listValue);
+ checkUnnamed1241(o.listValue);
unittest.expect(o.meaning, unittest.equals(42));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
@@ -811,53 +811,53 @@
buildCounterPropertyReference--;
}
-buildUnnamed1232() {
+buildUnnamed1242() {
var o = new core.List<api.PropertyReference>();
o.add(buildPropertyReference());
o.add(buildPropertyReference());
return o;
}
-checkUnnamed1232(core.List<api.PropertyReference> o) {
+checkUnnamed1242(core.List<api.PropertyReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyReference(o[0]);
checkPropertyReference(o[1]);
}
-buildUnnamed1233() {
+buildUnnamed1243() {
var o = new core.List<api.KindExpression>();
o.add(buildKindExpression());
o.add(buildKindExpression());
return o;
}
-checkUnnamed1233(core.List<api.KindExpression> o) {
+checkUnnamed1243(core.List<api.KindExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkKindExpression(o[0]);
checkKindExpression(o[1]);
}
-buildUnnamed1234() {
+buildUnnamed1244() {
var o = new core.List<api.PropertyOrder>();
o.add(buildPropertyOrder());
o.add(buildPropertyOrder());
return o;
}
-checkUnnamed1234(core.List<api.PropertyOrder> o) {
+checkUnnamed1244(core.List<api.PropertyOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyOrder(o[0]);
checkPropertyOrder(o[1]);
}
-buildUnnamed1235() {
+buildUnnamed1245() {
var o = new core.List<api.PropertyExpression>();
o.add(buildPropertyExpression());
o.add(buildPropertyExpression());
return o;
}
-checkUnnamed1235(core.List<api.PropertyExpression> o) {
+checkUnnamed1245(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 = buildUnnamed1232();
- o.kinds = buildUnnamed1233();
+ o.groupBy = buildUnnamed1242();
+ o.kinds = buildUnnamed1243();
o.limit = 42;
o.offset = 42;
- o.order = buildUnnamed1234();
- o.projection = buildUnnamed1235();
+ o.order = buildUnnamed1244();
+ o.projection = buildUnnamed1245();
o.startCursor = "foo";
}
buildCounterQuery--;
@@ -887,25 +887,25 @@
if (buildCounterQuery < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
checkFilter(o.filter);
- checkUnnamed1232(o.groupBy);
- checkUnnamed1233(o.kinds);
+ checkUnnamed1242(o.groupBy);
+ checkUnnamed1243(o.kinds);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.offset, unittest.equals(42));
- checkUnnamed1234(o.order);
- checkUnnamed1235(o.projection);
+ checkUnnamed1244(o.order);
+ checkUnnamed1245(o.projection);
unittest.expect(o.startCursor, unittest.equals('foo'));
}
buildCounterQuery--;
}
-buildUnnamed1236() {
+buildUnnamed1246() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed1236(core.List<api.EntityResult> o) {
+checkUnnamed1246(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 = buildUnnamed1236();
+ o.entityResults = buildUnnamed1246();
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'));
- checkUnnamed1236(o.entityResults);
+ checkUnnamed1246(o.entityResults);
unittest.expect(o.moreResults, unittest.equals('foo'));
unittest.expect(o.skippedResults, unittest.equals(42));
}
@@ -1062,14 +1062,14 @@
buildCounterRunQueryResponse--;
}
-buildUnnamed1237() {
+buildUnnamed1247() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed1237(core.List<api.Value> o) {
+checkUnnamed1247(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 = buildUnnamed1237();
+ o.listValue = buildUnnamed1247();
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);
- checkUnnamed1237(o.listValue);
+ checkUnnamed1247(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 66f16aa..7a148d7 100644
--- a/generated/googleapis_beta/test/dns/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/dns/v1beta1_test.dart
@@ -16,27 +16,27 @@
-buildUnnamed1080() {
+buildUnnamed1301() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed1080(core.List<api.ResourceRecordSet> o) {
+checkUnnamed1301(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
}
-buildUnnamed1081() {
+buildUnnamed1302() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed1081(core.List<api.ResourceRecordSet> o) {
+checkUnnamed1302(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 = buildUnnamed1080();
- o.deletions = buildUnnamed1081();
+ o.additions = buildUnnamed1301();
+ o.deletions = buildUnnamed1302();
o.id = "foo";
o.kind = "foo";
o.startTime = "foo";
@@ -61,8 +61,8 @@
checkChange(api.Change o) {
buildCounterChange++;
if (buildCounterChange < 3) {
- checkUnnamed1080(o.additions);
- checkUnnamed1081(o.deletions);
+ checkUnnamed1301(o.additions);
+ checkUnnamed1302(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--;
}
-buildUnnamed1082() {
+buildUnnamed1303() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed1082(core.List<api.Change> o) {
+checkUnnamed1303(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 = buildUnnamed1082();
+ o.changes = buildUnnamed1303();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -100,21 +100,21 @@
checkChangesListResponse(api.ChangesListResponse o) {
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- checkUnnamed1082(o.changes);
+ checkUnnamed1303(o.changes);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangesListResponse--;
}
-buildUnnamed1083() {
+buildUnnamed1304() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1083(core.List<core.String> o) {
+checkUnnamed1304(core.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 = buildUnnamed1083();
+ o.nameServers = buildUnnamed1304();
}
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'));
- checkUnnamed1083(o.nameServers);
+ checkUnnamed1304(o.nameServers);
}
buildCounterManagedZone--;
}
-buildUnnamed1084() {
+buildUnnamed1305() {
var o = new core.List<api.ManagedZone>();
o.add(buildManagedZone());
o.add(buildManagedZone());
return o;
}
-checkUnnamed1084(core.List<api.ManagedZone> o) {
+checkUnnamed1305(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 = buildUnnamed1084();
+ o.managedZones = buildUnnamed1305();
o.nextPageToken = "foo";
}
buildCounterManagedZonesListResponse--;
@@ -181,7 +181,7 @@
buildCounterManagedZonesListResponse++;
if (buildCounterManagedZonesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1084(o.managedZones);
+ checkUnnamed1305(o.managedZones);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManagedZonesListResponse--;
@@ -243,14 +243,14 @@
buildCounterQuota--;
}
-buildUnnamed1085() {
+buildUnnamed1306() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1085(core.List<core.String> o) {
+checkUnnamed1306(core.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 = buildUnnamed1085();
+ o.rrdatas = buildUnnamed1306();
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'));
- checkUnnamed1085(o.rrdatas);
+ checkUnnamed1306(o.rrdatas);
unittest.expect(o.ttl, unittest.equals(42));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterResourceRecordSet--;
}
-buildUnnamed1086() {
+buildUnnamed1307() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed1086(core.List<api.ResourceRecordSet> o) {
+checkUnnamed1307(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 = buildUnnamed1086();
+ o.rrsets = buildUnnamed1307();
}
buildCounterResourceRecordSetsListResponse--;
return o;
@@ -314,7 +314,7 @@
if (buildCounterResourceRecordSetsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1086(o.rrsets);
+ checkUnnamed1307(o.rrsets);
}
buildCounterResourceRecordSetsListResponse--;
}
diff --git a/generated/googleapis_beta/test/genomics/v1beta_test.dart b/generated/googleapis_beta/test/genomics/v1beta_test.dart
index c4d1830..89734e0 100644
--- a/generated/googleapis_beta/test/genomics/v1beta_test.dart
+++ b/generated/googleapis_beta/test/genomics/v1beta_test.dart
@@ -35,56 +35,56 @@
buildCounterBeacon--;
}
-buildUnnamed1150() {
+buildUnnamed1172() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1150(core.List<core.int> o) {
+checkUnnamed1172(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));
}
-buildUnnamed1151() {
+buildUnnamed1173() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1151(core.List<core.double> o) {
+checkUnnamed1173(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));
}
-buildUnnamed1152() {
+buildUnnamed1174() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1152(core.List<core.String> o) {
+checkUnnamed1174(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1153() {
+buildUnnamed1175() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1152();
- o["y"] = buildUnnamed1152();
+ o["x"] = buildUnnamed1174();
+ o["y"] = buildUnnamed1174();
return o;
}
-checkUnnamed1153(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed1175(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1152(o["x"]);
- checkUnnamed1152(o["y"]);
+ checkUnnamed1174(o["x"]);
+ checkUnnamed1174(o["y"]);
}
core.int buildCounterCall = 0;
@@ -94,9 +94,9 @@
if (buildCounterCall < 3) {
o.callSetId = "foo";
o.callSetName = "foo";
- o.genotype = buildUnnamed1150();
- o.genotypeLikelihood = buildUnnamed1151();
- o.info = buildUnnamed1153();
+ o.genotype = buildUnnamed1172();
+ o.genotypeLikelihood = buildUnnamed1173();
+ o.info = buildUnnamed1175();
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'));
- checkUnnamed1150(o.genotype);
- checkUnnamed1151(o.genotypeLikelihood);
- checkUnnamed1153(o.info);
+ checkUnnamed1172(o.genotype);
+ checkUnnamed1173(o.genotypeLikelihood);
+ checkUnnamed1175(o.info);
unittest.expect(o.phaseset, unittest.equals('foo'));
}
buildCounterCall--;
}
-buildUnnamed1154() {
+buildUnnamed1176() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1154(core.List<core.String> o) {
+checkUnnamed1176(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1155() {
+buildUnnamed1177() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1154();
- o["y"] = buildUnnamed1154();
+ o["x"] = buildUnnamed1176();
+ o["y"] = buildUnnamed1176();
return o;
}
-checkUnnamed1155(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed1177(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1154(o["x"]);
- checkUnnamed1154(o["y"]);
+ checkUnnamed1176(o["x"]);
+ checkUnnamed1176(o["y"]);
}
-buildUnnamed1156() {
+buildUnnamed1178() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1156(core.List<core.String> o) {
+checkUnnamed1178(core.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 = buildUnnamed1155();
+ o.info = buildUnnamed1177();
o.name = "foo";
o.sampleId = "foo";
- o.variantSetIds = buildUnnamed1156();
+ o.variantSetIds = buildUnnamed1178();
}
buildCounterCallSet--;
return o;
@@ -176,10 +176,10 @@
if (buildCounterCallSet < 3) {
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1155(o.info);
+ checkUnnamed1177(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
- checkUnnamed1156(o.variantSetIds);
+ checkUnnamed1178(o.variantSetIds);
}
buildCounterCallSet--;
}
@@ -230,27 +230,27 @@
buildCounterDataset--;
}
-buildUnnamed1157() {
+buildUnnamed1179() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1157(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'));
}
-buildUnnamed1158() {
+buildUnnamed1180() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1158(core.List<core.String> o) {
+checkUnnamed1180(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -264,9 +264,14 @@
o.align = true;
o.callVariants = true;
o.gcsOutputPath = "foo";
- o.pairedSourceUris = buildUnnamed1157();
+ o.libraryName = "foo";
+ o.pairedSourceUris = buildUnnamed1179();
+ o.platformName = "foo";
+ o.platformUnit = "foo";
o.projectId = "foo";
- o.sourceUris = buildUnnamed1158();
+ o.readGroupId = "foo";
+ o.sampleName = "foo";
+ o.sourceUris = buildUnnamed1180();
}
buildCounterExperimentalCreateJobRequest--;
return o;
@@ -278,9 +283,14 @@
unittest.expect(o.align, unittest.isTrue);
unittest.expect(o.callVariants, unittest.isTrue);
unittest.expect(o.gcsOutputPath, unittest.equals('foo'));
- checkUnnamed1157(o.pairedSourceUris);
+ unittest.expect(o.libraryName, unittest.equals('foo'));
+ checkUnnamed1179(o.pairedSourceUris);
+ unittest.expect(o.platformName, unittest.equals('foo'));
+ unittest.expect(o.platformUnit, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed1158(o.sourceUris);
+ unittest.expect(o.readGroupId, unittest.equals('foo'));
+ unittest.expect(o.sampleName, unittest.equals('foo'));
+ checkUnnamed1180(o.sourceUris);
}
buildCounterExperimentalCreateJobRequest--;
}
@@ -304,27 +314,27 @@
buildCounterExperimentalCreateJobResponse--;
}
-buildUnnamed1159() {
+buildUnnamed1181() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1159(core.List<core.String> o) {
+checkUnnamed1181(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1160() {
+buildUnnamed1182() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1160(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'));
@@ -337,8 +347,8 @@
if (buildCounterExportReadsetsRequest < 3) {
o.exportUri = "foo";
o.projectId = "foo";
- o.readsetIds = buildUnnamed1159();
- o.referenceNames = buildUnnamed1160();
+ o.readsetIds = buildUnnamed1181();
+ o.referenceNames = buildUnnamed1182();
}
buildCounterExportReadsetsRequest--;
return o;
@@ -349,8 +359,8 @@
if (buildCounterExportReadsetsRequest < 3) {
unittest.expect(o.exportUri, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed1159(o.readsetIds);
- checkUnnamed1160(o.referenceNames);
+ checkUnnamed1181(o.readsetIds);
+ checkUnnamed1182(o.referenceNames);
}
buildCounterExportReadsetsRequest--;
}
@@ -374,14 +384,14 @@
buildCounterExportReadsetsResponse--;
}
-buildUnnamed1161() {
+buildUnnamed1183() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1161(core.List<core.String> o) {
+checkUnnamed1183(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -394,7 +404,7 @@
if (buildCounterExportVariantsRequest < 3) {
o.bigqueryDataset = "foo";
o.bigqueryTable = "foo";
- o.callSetIds = buildUnnamed1161();
+ o.callSetIds = buildUnnamed1183();
o.format = "foo";
o.projectId = "foo";
o.variantSetId = "foo";
@@ -408,7 +418,7 @@
if (buildCounterExportVariantsRequest < 3) {
unittest.expect(o.bigqueryDataset, unittest.equals('foo'));
unittest.expect(o.bigqueryTable, unittest.equals('foo'));
- checkUnnamed1161(o.callSetIds);
+ checkUnnamed1183(o.callSetIds);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.variantSetId, unittest.equals('foo'));
@@ -479,66 +489,66 @@
buildCounterHeader--;
}
-buildUnnamed1162() {
+buildUnnamed1184() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1162(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'));
}
-buildUnnamed1163() {
+buildUnnamed1185() {
var o = new core.List<api.Header>();
o.add(buildHeader());
o.add(buildHeader());
return o;
}
-checkUnnamed1163(core.List<api.Header> o) {
+checkUnnamed1185(core.List<api.Header> o) {
unittest.expect(o, unittest.hasLength(2));
checkHeader(o[0]);
checkHeader(o[1]);
}
-buildUnnamed1164() {
+buildUnnamed1186() {
var o = new core.List<api.Program>();
o.add(buildProgram());
o.add(buildProgram());
return o;
}
-checkUnnamed1164(core.List<api.Program> o) {
+checkUnnamed1186(core.List<api.Program> o) {
unittest.expect(o, unittest.hasLength(2));
checkProgram(o[0]);
checkProgram(o[1]);
}
-buildUnnamed1165() {
+buildUnnamed1187() {
var o = new core.List<api.ReadGroup>();
o.add(buildReadGroup());
o.add(buildReadGroup());
return o;
}
-checkUnnamed1165(core.List<api.ReadGroup> o) {
+checkUnnamed1187(core.List<api.ReadGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadGroup(o[0]);
checkReadGroup(o[1]);
}
-buildUnnamed1166() {
+buildUnnamed1188() {
var o = new core.List<api.ReferenceSequence>();
o.add(buildReferenceSequence());
o.add(buildReferenceSequence());
return o;
}
-checkUnnamed1166(core.List<api.ReferenceSequence> o) {
+checkUnnamed1188(core.List<api.ReferenceSequence> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceSequence(o[0]);
checkReferenceSequence(o[1]);
@@ -549,13 +559,13 @@
var o = new api.HeaderSection();
buildCounterHeaderSection++;
if (buildCounterHeaderSection < 3) {
- o.comments = buildUnnamed1162();
+ o.comments = buildUnnamed1184();
o.fileUri = "foo";
o.filename = "foo";
- o.headers = buildUnnamed1163();
- o.programs = buildUnnamed1164();
- o.readGroups = buildUnnamed1165();
- o.refSequences = buildUnnamed1166();
+ o.headers = buildUnnamed1185();
+ o.programs = buildUnnamed1186();
+ o.readGroups = buildUnnamed1187();
+ o.refSequences = buildUnnamed1188();
}
buildCounterHeaderSection--;
return o;
@@ -564,25 +574,25 @@
checkHeaderSection(api.HeaderSection o) {
buildCounterHeaderSection++;
if (buildCounterHeaderSection < 3) {
- checkUnnamed1162(o.comments);
+ checkUnnamed1184(o.comments);
unittest.expect(o.fileUri, unittest.equals('foo'));
unittest.expect(o.filename, unittest.equals('foo'));
- checkUnnamed1163(o.headers);
- checkUnnamed1164(o.programs);
- checkUnnamed1165(o.readGroups);
- checkUnnamed1166(o.refSequences);
+ checkUnnamed1185(o.headers);
+ checkUnnamed1186(o.programs);
+ checkUnnamed1187(o.readGroups);
+ checkUnnamed1188(o.refSequences);
}
buildCounterHeaderSection--;
}
-buildUnnamed1167() {
+buildUnnamed1189() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1167(core.List<core.String> o) {
+checkUnnamed1189(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -594,7 +604,7 @@
buildCounterImportReadsetsRequest++;
if (buildCounterImportReadsetsRequest < 3) {
o.datasetId = "foo";
- o.sourceUris = buildUnnamed1167();
+ o.sourceUris = buildUnnamed1189();
}
buildCounterImportReadsetsRequest--;
return o;
@@ -604,7 +614,7 @@
buildCounterImportReadsetsRequest++;
if (buildCounterImportReadsetsRequest < 3) {
unittest.expect(o.datasetId, unittest.equals('foo'));
- checkUnnamed1167(o.sourceUris);
+ checkUnnamed1189(o.sourceUris);
}
buildCounterImportReadsetsRequest--;
}
@@ -628,14 +638,14 @@
buildCounterImportReadsetsResponse--;
}
-buildUnnamed1168() {
+buildUnnamed1190() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1168(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'));
@@ -647,7 +657,7 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
o.format = "foo";
- o.sourceUris = buildUnnamed1168();
+ o.sourceUris = buildUnnamed1190();
o.variantSetId = "foo";
}
buildCounterImportVariantsRequest--;
@@ -658,7 +668,7 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed1168(o.sourceUris);
+ checkUnnamed1190(o.sourceUris);
unittest.expect(o.variantSetId, unittest.equals('foo'));
}
buildCounterImportVariantsRequest--;
@@ -683,40 +693,40 @@
buildCounterImportVariantsResponse--;
}
-buildUnnamed1169() {
+buildUnnamed1191() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1169(core.List<core.String> o) {
+checkUnnamed1191(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1170() {
+buildUnnamed1192() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1170(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'));
}
-buildUnnamed1171() {
+buildUnnamed1193() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1171(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'));
@@ -729,13 +739,13 @@
if (buildCounterJob < 3) {
o.created = "foo";
o.description = "foo";
- o.errors = buildUnnamed1169();
+ o.errors = buildUnnamed1191();
o.id = "foo";
- o.importedIds = buildUnnamed1170();
+ o.importedIds = buildUnnamed1192();
o.projectId = "foo";
o.request = buildJobRequest();
o.status = "foo";
- o.warnings = buildUnnamed1171();
+ o.warnings = buildUnnamed1193();
}
buildCounterJob--;
return o;
@@ -746,38 +756,38 @@
if (buildCounterJob < 3) {
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1169(o.errors);
+ checkUnnamed1191(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1170(o.importedIds);
+ checkUnnamed1192(o.importedIds);
unittest.expect(o.projectId, unittest.equals('foo'));
checkJobRequest(o.request);
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed1171(o.warnings);
+ checkUnnamed1193(o.warnings);
}
buildCounterJob--;
}
-buildUnnamed1172() {
+buildUnnamed1194() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1172(core.List<core.String> o) {
+checkUnnamed1194(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1173() {
+buildUnnamed1195() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1173(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'));
@@ -788,8 +798,8 @@
var o = new api.JobRequest();
buildCounterJobRequest++;
if (buildCounterJobRequest < 3) {
- o.destination = buildUnnamed1172();
- o.source = buildUnnamed1173();
+ o.destination = buildUnnamed1194();
+ o.source = buildUnnamed1195();
o.type = "foo";
}
buildCounterJobRequest--;
@@ -799,21 +809,21 @@
checkJobRequest(api.JobRequest o) {
buildCounterJobRequest++;
if (buildCounterJobRequest < 3) {
- checkUnnamed1172(o.destination);
- checkUnnamed1173(o.source);
+ checkUnnamed1194(o.destination);
+ checkUnnamed1195(o.source);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterJobRequest--;
}
-buildUnnamed1174() {
+buildUnnamed1196() {
var o = new core.List<api.CoverageBucket>();
o.add(buildCoverageBucket());
o.add(buildCoverageBucket());
return o;
}
-checkUnnamed1174(core.List<api.CoverageBucket> o) {
+checkUnnamed1196(core.List<api.CoverageBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverageBucket(o[0]);
checkCoverageBucket(o[1]);
@@ -825,7 +835,7 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
o.bucketWidth = "foo";
- o.coverageBuckets = buildUnnamed1174();
+ o.coverageBuckets = buildUnnamed1196();
o.nextPageToken = "foo";
}
buildCounterListCoverageBucketsResponse--;
@@ -836,20 +846,20 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
unittest.expect(o.bucketWidth, unittest.equals('foo'));
- checkUnnamed1174(o.coverageBuckets);
+ checkUnnamed1196(o.coverageBuckets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoverageBucketsResponse--;
}
-buildUnnamed1175() {
+buildUnnamed1197() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed1175(core.List<api.Dataset> o) {
+checkUnnamed1197(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -860,7 +870,7 @@
var o = new api.ListDatasetsResponse();
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- o.datasets = buildUnnamed1175();
+ o.datasets = buildUnnamed1197();
o.nextPageToken = "foo";
}
buildCounterListDatasetsResponse--;
@@ -870,36 +880,36 @@
checkListDatasetsResponse(api.ListDatasetsResponse o) {
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- checkUnnamed1175(o.datasets);
+ checkUnnamed1197(o.datasets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatasetsResponse--;
}
-buildUnnamed1176() {
+buildUnnamed1198() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1176(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'));
}
-buildUnnamed1177() {
+buildUnnamed1199() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1176();
- o["y"] = buildUnnamed1176();
+ o["x"] = buildUnnamed1198();
+ o["y"] = buildUnnamed1198();
return o;
}
-checkUnnamed1177(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));
- checkUnnamed1176(o["x"]);
- checkUnnamed1176(o["y"]);
+ checkUnnamed1198(o["x"]);
+ checkUnnamed1198(o["y"]);
}
core.int buildCounterMetadata = 0;
@@ -909,7 +919,7 @@
if (buildCounterMetadata < 3) {
o.description = "foo";
o.id = "foo";
- o.info = buildUnnamed1177();
+ o.info = buildUnnamed1199();
o.key = "foo";
o.number = "foo";
o.type = "foo";
@@ -924,7 +934,7 @@
if (buildCounterMetadata < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1177(o.info);
+ checkUnnamed1199(o.info);
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -960,30 +970,30 @@
buildCounterProgram--;
}
-buildUnnamed1178() {
+buildUnnamed1200() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1178(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'));
}
-buildUnnamed1179() {
+buildUnnamed1201() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1178();
- o["y"] = buildUnnamed1178();
+ o["x"] = buildUnnamed1200();
+ o["y"] = buildUnnamed1200();
return o;
}
-checkUnnamed1179(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed1201(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1178(o["x"]);
- checkUnnamed1178(o["y"]);
+ checkUnnamed1200(o["x"]);
+ checkUnnamed1200(o["y"]);
}
core.int buildCounterRead = 0;
@@ -1004,7 +1014,7 @@
o.position = 42;
o.readsetId = "foo";
o.referenceSequenceName = "foo";
- o.tags = buildUnnamed1179();
+ o.tags = buildUnnamed1201();
o.templateLength = 42;
}
buildCounterRead--;
@@ -1027,7 +1037,7 @@
unittest.expect(o.position, unittest.equals(42));
unittest.expect(o.readsetId, unittest.equals('foo'));
unittest.expect(o.referenceSequenceName, unittest.equals('foo'));
- checkUnnamed1179(o.tags);
+ checkUnnamed1201(o.tags);
unittest.expect(o.templateLength, unittest.equals(42));
}
buildCounterRead--;
@@ -1074,14 +1084,14 @@
buildCounterReadGroup--;
}
-buildUnnamed1180() {
+buildUnnamed1202() {
var o = new core.List<api.HeaderSection>();
o.add(buildHeaderSection());
o.add(buildHeaderSection());
return o;
}
-checkUnnamed1180(core.List<api.HeaderSection> o) {
+checkUnnamed1202(core.List<api.HeaderSection> o) {
unittest.expect(o, unittest.hasLength(2));
checkHeaderSection(o[0]);
checkHeaderSection(o[1]);
@@ -1093,7 +1103,7 @@
buildCounterReadset++;
if (buildCounterReadset < 3) {
o.datasetId = "foo";
- o.fileData = buildUnnamed1180();
+ o.fileData = buildUnnamed1202();
o.id = "foo";
o.name = "foo";
}
@@ -1105,7 +1115,7 @@
buildCounterReadset++;
if (buildCounterReadset < 3) {
unittest.expect(o.datasetId, unittest.equals('foo'));
- checkUnnamed1180(o.fileData);
+ checkUnnamed1202(o.fileData);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -1162,14 +1172,14 @@
buildCounterReferenceSequence--;
}
-buildUnnamed1181() {
+buildUnnamed1203() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1181(core.List<core.String> o) {
+checkUnnamed1203(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1183,7 +1193,7 @@
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.variantSetIds = buildUnnamed1181();
+ o.variantSetIds = buildUnnamed1203();
}
buildCounterSearchCallSetsRequest--;
return o;
@@ -1195,19 +1205,19 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed1181(o.variantSetIds);
+ checkUnnamed1203(o.variantSetIds);
}
buildCounterSearchCallSetsRequest--;
}
-buildUnnamed1182() {
+buildUnnamed1204() {
var o = new core.List<api.CallSet>();
o.add(buildCallSet());
o.add(buildCallSet());
return o;
}
-checkUnnamed1182(core.List<api.CallSet> o) {
+checkUnnamed1204(core.List<api.CallSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkCallSet(o[0]);
checkCallSet(o[1]);
@@ -1218,7 +1228,7 @@
var o = new api.SearchCallSetsResponse();
buildCounterSearchCallSetsResponse++;
if (buildCounterSearchCallSetsResponse < 3) {
- o.callSets = buildUnnamed1182();
+ o.callSets = buildUnnamed1204();
o.nextPageToken = "foo";
}
buildCounterSearchCallSetsResponse--;
@@ -1228,20 +1238,20 @@
checkSearchCallSetsResponse(api.SearchCallSetsResponse o) {
buildCounterSearchCallSetsResponse++;
if (buildCounterSearchCallSetsResponse < 3) {
- checkUnnamed1182(o.callSets);
+ checkUnnamed1204(o.callSets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchCallSetsResponse--;
}
-buildUnnamed1183() {
+buildUnnamed1205() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1183(core.List<core.String> o) {
+checkUnnamed1205(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1257,7 +1267,7 @@
o.maxResults = "foo";
o.pageToken = "foo";
o.projectId = "foo";
- o.status = buildUnnamed1183();
+ o.status = buildUnnamed1205();
}
buildCounterSearchJobsRequest--;
return o;
@@ -1271,19 +1281,19 @@
unittest.expect(o.maxResults, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed1183(o.status);
+ checkUnnamed1205(o.status);
}
buildCounterSearchJobsRequest--;
}
-buildUnnamed1184() {
+buildUnnamed1206() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed1184(core.List<api.Job> o) {
+checkUnnamed1206(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -1294,7 +1304,7 @@
var o = new api.SearchJobsResponse();
buildCounterSearchJobsResponse++;
if (buildCounterSearchJobsResponse < 3) {
- o.jobs = buildUnnamed1184();
+ o.jobs = buildUnnamed1206();
o.nextPageToken = "foo";
}
buildCounterSearchJobsResponse--;
@@ -1304,20 +1314,20 @@
checkSearchJobsResponse(api.SearchJobsResponse o) {
buildCounterSearchJobsResponse++;
if (buildCounterSearchJobsResponse < 3) {
- checkUnnamed1184(o.jobs);
+ checkUnnamed1206(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchJobsResponse--;
}
-buildUnnamed1185() {
+buildUnnamed1207() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1185(core.List<core.String> o) {
+checkUnnamed1207(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1330,7 +1340,7 @@
if (buildCounterSearchReadsRequest < 3) {
o.maxResults = "foo";
o.pageToken = "foo";
- o.readsetIds = buildUnnamed1185();
+ o.readsetIds = buildUnnamed1207();
o.sequenceEnd = "foo";
o.sequenceName = "foo";
o.sequenceStart = "foo";
@@ -1344,7 +1354,7 @@
if (buildCounterSearchReadsRequest < 3) {
unittest.expect(o.maxResults, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed1185(o.readsetIds);
+ checkUnnamed1207(o.readsetIds);
unittest.expect(o.sequenceEnd, unittest.equals('foo'));
unittest.expect(o.sequenceName, unittest.equals('foo'));
unittest.expect(o.sequenceStart, unittest.equals('foo'));
@@ -1352,14 +1362,14 @@
buildCounterSearchReadsRequest--;
}
-buildUnnamed1186() {
+buildUnnamed1208() {
var o = new core.List<api.Read>();
o.add(buildRead());
o.add(buildRead());
return o;
}
-checkUnnamed1186(core.List<api.Read> o) {
+checkUnnamed1208(core.List<api.Read> o) {
unittest.expect(o, unittest.hasLength(2));
checkRead(o[0]);
checkRead(o[1]);
@@ -1371,7 +1381,7 @@
buildCounterSearchReadsResponse++;
if (buildCounterSearchReadsResponse < 3) {
o.nextPageToken = "foo";
- o.reads = buildUnnamed1186();
+ o.reads = buildUnnamed1208();
}
buildCounterSearchReadsResponse--;
return o;
@@ -1381,19 +1391,19 @@
buildCounterSearchReadsResponse++;
if (buildCounterSearchReadsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1186(o.reads);
+ checkUnnamed1208(o.reads);
}
buildCounterSearchReadsResponse--;
}
-buildUnnamed1187() {
+buildUnnamed1209() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1187(core.List<core.String> o) {
+checkUnnamed1209(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1404,7 +1414,7 @@
var o = new api.SearchReadsetsRequest();
buildCounterSearchReadsetsRequest++;
if (buildCounterSearchReadsetsRequest < 3) {
- o.datasetIds = buildUnnamed1187();
+ o.datasetIds = buildUnnamed1209();
o.maxResults = "foo";
o.name = "foo";
o.pageToken = "foo";
@@ -1416,7 +1426,7 @@
checkSearchReadsetsRequest(api.SearchReadsetsRequest o) {
buildCounterSearchReadsetsRequest++;
if (buildCounterSearchReadsetsRequest < 3) {
- checkUnnamed1187(o.datasetIds);
+ checkUnnamed1209(o.datasetIds);
unittest.expect(o.maxResults, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
@@ -1424,14 +1434,14 @@
buildCounterSearchReadsetsRequest--;
}
-buildUnnamed1188() {
+buildUnnamed1210() {
var o = new core.List<api.Readset>();
o.add(buildReadset());
o.add(buildReadset());
return o;
}
-checkUnnamed1188(core.List<api.Readset> o) {
+checkUnnamed1210(core.List<api.Readset> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadset(o[0]);
checkReadset(o[1]);
@@ -1443,7 +1453,7 @@
buildCounterSearchReadsetsResponse++;
if (buildCounterSearchReadsetsResponse < 3) {
o.nextPageToken = "foo";
- o.readsets = buildUnnamed1188();
+ o.readsets = buildUnnamed1210();
}
buildCounterSearchReadsetsResponse--;
return o;
@@ -1453,19 +1463,19 @@
buildCounterSearchReadsetsResponse++;
if (buildCounterSearchReadsetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1188(o.readsets);
+ checkUnnamed1210(o.readsets);
}
buildCounterSearchReadsetsResponse--;
}
-buildUnnamed1189() {
+buildUnnamed1211() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1189(core.List<core.String> o) {
+checkUnnamed1211(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1476,7 +1486,7 @@
var o = new api.SearchVariantSetsRequest();
buildCounterSearchVariantSetsRequest++;
if (buildCounterSearchVariantSetsRequest < 3) {
- o.datasetIds = buildUnnamed1189();
+ o.datasetIds = buildUnnamed1211();
o.pageSize = 42;
o.pageToken = "foo";
}
@@ -1487,21 +1497,21 @@
checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) {
buildCounterSearchVariantSetsRequest++;
if (buildCounterSearchVariantSetsRequest < 3) {
- checkUnnamed1189(o.datasetIds);
+ checkUnnamed1211(o.datasetIds);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
}
buildCounterSearchVariantSetsRequest--;
}
-buildUnnamed1190() {
+buildUnnamed1212() {
var o = new core.List<api.VariantSet>();
o.add(buildVariantSet());
o.add(buildVariantSet());
return o;
}
-checkUnnamed1190(core.List<api.VariantSet> o) {
+checkUnnamed1212(core.List<api.VariantSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantSet(o[0]);
checkVariantSet(o[1]);
@@ -1513,7 +1523,7 @@
buildCounterSearchVariantSetsResponse++;
if (buildCounterSearchVariantSetsResponse < 3) {
o.nextPageToken = "foo";
- o.variantSets = buildUnnamed1190();
+ o.variantSets = buildUnnamed1212();
}
buildCounterSearchVariantSetsResponse--;
return o;
@@ -1523,32 +1533,32 @@
buildCounterSearchVariantSetsResponse++;
if (buildCounterSearchVariantSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1190(o.variantSets);
+ checkUnnamed1212(o.variantSets);
}
buildCounterSearchVariantSetsResponse--;
}
-buildUnnamed1191() {
+buildUnnamed1213() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1191(core.List<core.String> o) {
+checkUnnamed1213(core.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() {
+buildUnnamed1214() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1192(core.List<core.String> o) {
+checkUnnamed1214(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1559,7 +1569,7 @@
var o = new api.SearchVariantsRequest();
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- o.callSetIds = buildUnnamed1191();
+ o.callSetIds = buildUnnamed1213();
o.end = "foo";
o.maxCalls = 42;
o.pageSize = 42;
@@ -1567,7 +1577,7 @@
o.referenceName = "foo";
o.start = "foo";
o.variantName = "foo";
- o.variantSetIds = buildUnnamed1192();
+ o.variantSetIds = buildUnnamed1214();
}
buildCounterSearchVariantsRequest--;
return o;
@@ -1576,7 +1586,7 @@
checkSearchVariantsRequest(api.SearchVariantsRequest o) {
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- checkUnnamed1191(o.callSetIds);
+ checkUnnamed1213(o.callSetIds);
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.maxCalls, unittest.equals(42));
unittest.expect(o.pageSize, unittest.equals(42));
@@ -1584,19 +1594,19 @@
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
unittest.expect(o.variantName, unittest.equals('foo'));
- checkUnnamed1192(o.variantSetIds);
+ checkUnnamed1214(o.variantSetIds);
}
buildCounterSearchVariantsRequest--;
}
-buildUnnamed1193() {
+buildUnnamed1215() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed1193(core.List<api.Variant> o) {
+checkUnnamed1215(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -1608,7 +1618,7 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
o.nextPageToken = "foo";
- o.variants = buildUnnamed1193();
+ o.variants = buildUnnamed1215();
}
buildCounterSearchVariantsResponse--;
return o;
@@ -1618,71 +1628,84 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1193(o.variants);
+ checkUnnamed1215(o.variants);
}
buildCounterSearchVariantsResponse--;
}
-buildUnnamed1194() {
+buildUnnamed1216() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1194(core.List<core.String> o) {
+checkUnnamed1216(core.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() {
+buildUnnamed1217() {
var o = new core.List<api.Call>();
o.add(buildCall());
o.add(buildCall());
return o;
}
-checkUnnamed1195(core.List<api.Call> o) {
+checkUnnamed1217(core.List<api.Call> o) {
unittest.expect(o, unittest.hasLength(2));
checkCall(o[0]);
checkCall(o[1]);
}
-buildUnnamed1196() {
+buildUnnamed1218() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1196(core.List<core.String> o) {
+checkUnnamed1218(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1197() {
- var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1196();
- o["y"] = buildUnnamed1196();
- return o;
-}
-
-checkUnnamed1197(core.Map<core.String, core.List<core.String>> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1196(o["x"]);
- checkUnnamed1196(o["y"]);
-}
-
-buildUnnamed1198() {
+buildUnnamed1219() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1198(core.List<core.String> o) {
+checkUnnamed1219(core.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() {
+ var o = new core.Map<core.String, core.List<core.String>>();
+ o["x"] = buildUnnamed1219();
+ o["y"] = buildUnnamed1219();
+ return o;
+}
+
+checkUnnamed1220(core.Map<core.String, core.List<core.String>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed1219(o["x"]);
+ checkUnnamed1219(o["y"]);
+}
+
+buildUnnamed1221() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1221(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1693,13 +1716,15 @@
var o = new api.Variant();
buildCounterVariant++;
if (buildCounterVariant < 3) {
- o.alternateBases = buildUnnamed1194();
- o.calls = buildUnnamed1195();
+ o.alternateBases = buildUnnamed1216();
+ o.calls = buildUnnamed1217();
o.created = "foo";
o.end = "foo";
+ o.filter = buildUnnamed1218();
o.id = "foo";
- o.info = buildUnnamed1197();
- o.names = buildUnnamed1198();
+ o.info = buildUnnamed1220();
+ o.names = buildUnnamed1221();
+ o.quality = 42.0;
o.referenceBases = "foo";
o.referenceName = "foo";
o.start = "foo";
@@ -1712,13 +1737,15 @@
checkVariant(api.Variant o) {
buildCounterVariant++;
if (buildCounterVariant < 3) {
- checkUnnamed1194(o.alternateBases);
- checkUnnamed1195(o.calls);
+ checkUnnamed1216(o.alternateBases);
+ checkUnnamed1217(o.calls);
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
+ checkUnnamed1218(o.filter);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1197(o.info);
- checkUnnamed1198(o.names);
+ checkUnnamed1220(o.info);
+ checkUnnamed1221(o.names);
+ unittest.expect(o.quality, unittest.equals(42.0));
unittest.expect(o.referenceBases, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
@@ -1727,27 +1754,27 @@
buildCounterVariant--;
}
-buildUnnamed1199() {
+buildUnnamed1222() {
var o = new core.List<api.Metadata>();
o.add(buildMetadata());
o.add(buildMetadata());
return o;
}
-checkUnnamed1199(core.List<api.Metadata> o) {
+checkUnnamed1222(core.List<api.Metadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadata(o[0]);
checkMetadata(o[1]);
}
-buildUnnamed1200() {
+buildUnnamed1223() {
var o = new core.List<api.ReferenceBound>();
o.add(buildReferenceBound());
o.add(buildReferenceBound());
return o;
}
-checkUnnamed1200(core.List<api.ReferenceBound> o) {
+checkUnnamed1223(core.List<api.ReferenceBound> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceBound(o[0]);
checkReferenceBound(o[1]);
@@ -1760,8 +1787,8 @@
if (buildCounterVariantSet < 3) {
o.datasetId = "foo";
o.id = "foo";
- o.metadata = buildUnnamed1199();
- o.referenceBounds = buildUnnamed1200();
+ o.metadata = buildUnnamed1222();
+ o.referenceBounds = buildUnnamed1223();
}
buildCounterVariantSet--;
return o;
@@ -1772,8 +1799,8 @@
if (buildCounterVariantSet < 3) {
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1199(o.metadata);
- checkUnnamed1200(o.referenceBounds);
+ checkUnnamed1222(o.metadata);
+ checkUnnamed1223(o.referenceBounds);
}
buildCounterVariantSet--;
}
@@ -4016,6 +4043,61 @@
})));
});
+ unittest.test("method--mergeVariants", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
+ var arg_request = buildVariant();
+ var arg_variantSetId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.Variant.fromJson(json);
+ checkVariant(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 + 16), unittest.equals("genomics/v1beta/"));
+ pathOffset += 16;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("variantsets/"));
+ pathOffset += 12;
+ index = path.indexOf("/mergeVariants", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_variantSetId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.equals("/mergeVariants"));
+ pathOffset += 14;
+
+ 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.mergeVariants(arg_request, arg_variantSetId).then(unittest.expectAsync((_) {}));
+ });
+
unittest.test("method--search", () {
var mock = new common_test.HttpServerMock();
diff --git a/generated/googleapis_beta/test/manager/v1beta2_test.dart b/generated/googleapis_beta/test/manager/v1beta2_test.dart
index 2d0165e..8f74e89 100644
--- a/generated/googleapis_beta/test/manager/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/manager/v1beta2_test.dart
@@ -39,14 +39,14 @@
buildCounterAccessConfig--;
}
-buildUnnamed1120() {
+buildUnnamed1139() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1120(core.List<core.String> o) {
+checkUnnamed1139(core.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 = buildUnnamed1120();
+ o.commands = buildUnnamed1139();
o.timeoutMs = 42;
}
buildCounterAction--;
@@ -67,20 +67,20 @@
checkAction(api.Action o) {
buildCounterAction++;
if (buildCounterAction < 3) {
- checkUnnamed1120(o.commands);
+ checkUnnamed1139(o.commands);
unittest.expect(o.timeoutMs, unittest.equals(42));
}
buildCounterAction--;
}
-buildUnnamed1121() {
+buildUnnamed1140() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1121(core.List<core.String> o) {
+checkUnnamed1140(core.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 = buildUnnamed1121();
+ o.ports = buildUnnamed1140();
}
buildCounterAllowedRule--;
return o;
@@ -102,7 +102,7 @@
buildCounterAllowedRule++;
if (buildCounterAllowedRule < 3) {
unittest.expect(o.IPProtocol, unittest.equals('foo'));
- checkUnnamed1121(o.ports);
+ checkUnnamed1140(o.ports);
}
buildCounterAllowedRule--;
}
@@ -178,27 +178,27 @@
buildCounterDeployState--;
}
-buildUnnamed1122() {
+buildUnnamed1141() {
var o = new core.Map<core.String, api.ModuleStatus>();
o["x"] = buildModuleStatus();
o["y"] = buildModuleStatus();
return o;
}
-checkUnnamed1122(core.Map<core.String, api.ModuleStatus> o) {
+checkUnnamed1141(core.Map<core.String, api.ModuleStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkModuleStatus(o["x"]);
checkModuleStatus(o["y"]);
}
-buildUnnamed1123() {
+buildUnnamed1142() {
var o = new core.List<api.ParamOverride>();
o.add(buildParamOverride());
o.add(buildParamOverride());
return o;
}
-checkUnnamed1123(core.List<api.ParamOverride> o) {
+checkUnnamed1142(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 = buildUnnamed1122();
+ o.modules = buildUnnamed1141();
o.name = "foo";
- o.overrides = buildUnnamed1123();
+ o.overrides = buildUnnamed1142();
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'));
- checkUnnamed1122(o.modules);
+ checkUnnamed1141(o.modules);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1123(o.overrides);
+ checkUnnamed1142(o.overrides);
checkDeployState(o.state);
unittest.expect(o.templateName, unittest.equals('foo'));
}
buildCounterDeployment--;
}
-buildUnnamed1124() {
+buildUnnamed1143() {
var o = new core.List<api.Deployment>();
o.add(buildDeployment());
o.add(buildDeployment());
return o;
}
-checkUnnamed1124(core.List<api.Deployment> o) {
+checkUnnamed1143(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 = buildUnnamed1124();
+ o.resources = buildUnnamed1143();
}
buildCounterDeploymentsListResponse--;
return o;
@@ -264,7 +264,7 @@
buildCounterDeploymentsListResponse++;
if (buildCounterDeploymentsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1124(o.resources);
+ checkUnnamed1143(o.resources);
}
buildCounterDeploymentsListResponse--;
}
@@ -332,53 +332,53 @@
buildCounterExistingDisk--;
}
-buildUnnamed1125() {
+buildUnnamed1144() {
var o = new core.List<api.AllowedRule>();
o.add(buildAllowedRule());
o.add(buildAllowedRule());
return o;
}
-checkUnnamed1125(core.List<api.AllowedRule> o) {
+checkUnnamed1144(core.List<api.AllowedRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAllowedRule(o[0]);
checkAllowedRule(o[1]);
}
-buildUnnamed1126() {
+buildUnnamed1145() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1126(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'));
}
-buildUnnamed1127() {
+buildUnnamed1146() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1127(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'));
}
-buildUnnamed1128() {
+buildUnnamed1147() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1128(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'));
@@ -389,12 +389,12 @@
var o = new api.FirewallModule();
buildCounterFirewallModule++;
if (buildCounterFirewallModule < 3) {
- o.allowed = buildUnnamed1125();
+ o.allowed = buildUnnamed1144();
o.description = "foo";
o.network = "foo";
- o.sourceRanges = buildUnnamed1126();
- o.sourceTags = buildUnnamed1127();
- o.targetTags = buildUnnamed1128();
+ o.sourceRanges = buildUnnamed1145();
+ o.sourceTags = buildUnnamed1146();
+ o.targetTags = buildUnnamed1147();
}
buildCounterFirewallModule--;
return o;
@@ -403,12 +403,12 @@
checkFirewallModule(api.FirewallModule o) {
buildCounterFirewallModule++;
if (buildCounterFirewallModule < 3) {
- checkUnnamed1125(o.allowed);
+ checkUnnamed1144(o.allowed);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
- checkUnnamed1126(o.sourceRanges);
- checkUnnamed1127(o.sourceTags);
- checkUnnamed1128(o.targetTags);
+ checkUnnamed1145(o.sourceRanges);
+ checkUnnamed1146(o.sourceTags);
+ checkUnnamed1147(o.targetTags);
}
buildCounterFirewallModule--;
}
@@ -484,27 +484,27 @@
buildCounterHealthCheckModuleStatus--;
}
-buildUnnamed1129() {
+buildUnnamed1148() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1129(core.List<core.String> o) {
+checkUnnamed1148(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1130() {
+buildUnnamed1149() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1130(core.List<core.String> o) {
+checkUnnamed1149(core.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 = buildUnnamed1129();
+ o.healthChecks = buildUnnamed1148();
o.ipAddress = "foo";
o.ipProtocol = "foo";
o.portRange = "foo";
o.sessionAffinity = "foo";
- o.targetModules = buildUnnamed1130();
+ o.targetModules = buildUnnamed1149();
}
buildCounterLbModule--;
return o;
@@ -531,12 +531,12 @@
buildCounterLbModule++;
if (buildCounterLbModule < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1129(o.healthChecks);
+ checkUnnamed1148(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'));
- checkUnnamed1130(o.targetModules);
+ checkUnnamed1149(o.targetModules);
}
buildCounterLbModule--;
}
@@ -562,14 +562,14 @@
buildCounterLbModuleStatus--;
}
-buildUnnamed1131() {
+buildUnnamed1150() {
var o = new core.List<api.MetadataItem>();
o.add(buildMetadataItem());
o.add(buildMetadataItem());
return o;
}
-checkUnnamed1131(core.List<api.MetadataItem> o) {
+checkUnnamed1150(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 = buildUnnamed1131();
+ o.items = buildUnnamed1150();
}
buildCounterMetadata--;
return o;
@@ -591,7 +591,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
unittest.expect(o.fingerPrint, unittest.equals('foo'));
- checkUnnamed1131(o.items);
+ checkUnnamed1150(o.items);
}
buildCounterMetadata--;
}
@@ -681,14 +681,14 @@
buildCounterModuleStatus--;
}
-buildUnnamed1132() {
+buildUnnamed1151() {
var o = new core.List<api.AccessConfig>();
o.add(buildAccessConfig());
o.add(buildAccessConfig());
return o;
}
-checkUnnamed1132(core.List<api.AccessConfig> o) {
+checkUnnamed1151(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 = buildUnnamed1132();
+ o.accessConfigs = buildUnnamed1151();
o.name = "foo";
o.network = "foo";
o.networkIp = "foo";
@@ -711,7 +711,7 @@
checkNetworkInterface(api.NetworkInterface o) {
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- checkUnnamed1132(o.accessConfigs);
+ checkUnnamed1151(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--;
}
-buildUnnamed1133() {
+buildUnnamed1152() {
var o = new core.Map<core.String, api.EnvVariable>();
o["x"] = buildEnvVariable();
o["y"] = buildEnvVariable();
return o;
}
-checkUnnamed1133(core.Map<core.String, api.EnvVariable> o) {
+checkUnnamed1152(core.Map<core.String, api.EnvVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvVariable(o["x"]);
checkEnvVariable(o["y"]);
}
-buildUnnamed1134() {
+buildUnnamed1153() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1134(core.List<core.String> o) {
+checkUnnamed1153(core.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 = buildUnnamed1133();
- o.healthChecks = buildUnnamed1134();
+ o.envVariables = buildUnnamed1152();
+ o.healthChecks = buildUnnamed1153();
o.numReplicas = 42;
o.replicaPoolParams = buildReplicaPoolParams();
o.resourceView = "foo";
@@ -874,8 +874,8 @@
checkReplicaPoolModule(api.ReplicaPoolModule o) {
buildCounterReplicaPoolModule++;
if (buildCounterReplicaPoolModule < 3) {
- checkUnnamed1133(o.envVariables);
- checkUnnamed1134(o.healthChecks);
+ checkUnnamed1152(o.envVariables);
+ checkUnnamed1153(o.healthChecks);
unittest.expect(o.numReplicas, unittest.equals(42));
checkReplicaPoolParams(o.replicaPoolParams);
unittest.expect(o.resourceView, unittest.equals('foo'));
@@ -923,53 +923,53 @@
buildCounterReplicaPoolParams--;
}
-buildUnnamed1135() {
+buildUnnamed1154() {
var o = new core.List<api.ExistingDisk>();
o.add(buildExistingDisk());
o.add(buildExistingDisk());
return o;
}
-checkUnnamed1135(core.List<api.ExistingDisk> o) {
+checkUnnamed1154(core.List<api.ExistingDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkExistingDisk(o[0]);
checkExistingDisk(o[1]);
}
-buildUnnamed1136() {
+buildUnnamed1155() {
var o = new core.List<api.NewDisk>();
o.add(buildNewDisk());
o.add(buildNewDisk());
return o;
}
-checkUnnamed1136(core.List<api.NewDisk> o) {
+checkUnnamed1155(core.List<api.NewDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkNewDisk(o[0]);
checkNewDisk(o[1]);
}
-buildUnnamed1137() {
+buildUnnamed1156() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed1137(core.List<api.NetworkInterface> o) {
+checkUnnamed1156(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed1138() {
+buildUnnamed1157() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed1138(core.List<api.ServiceAccount> o) {
+checkUnnamed1157(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 = buildUnnamed1135();
- o.disksToCreate = buildUnnamed1136();
+ o.disksToAttach = buildUnnamed1154();
+ o.disksToCreate = buildUnnamed1155();
o.initAction = "foo";
o.machineType = "foo";
o.metadata = buildMetadata();
- o.networkInterfaces = buildUnnamed1137();
+ o.networkInterfaces = buildUnnamed1156();
o.onHostMaintenance = "foo";
- o.serviceAccounts = buildUnnamed1138();
+ o.serviceAccounts = buildUnnamed1157();
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'));
- checkUnnamed1135(o.disksToAttach);
- checkUnnamed1136(o.disksToCreate);
+ checkUnnamed1154(o.disksToAttach);
+ checkUnnamed1155(o.disksToCreate);
unittest.expect(o.initAction, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
- checkUnnamed1137(o.networkInterfaces);
+ checkUnnamed1156(o.networkInterfaces);
unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
- checkUnnamed1138(o.serviceAccounts);
+ checkUnnamed1157(o.serviceAccounts);
checkTag(o.tags);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterReplicaPoolParamsV1Beta1--;
}
-buildUnnamed1139() {
+buildUnnamed1158() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1139(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'));
@@ -1039,7 +1039,7 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
o.email = "foo";
- o.scopes = buildUnnamed1139();
+ o.scopes = buildUnnamed1158();
}
buildCounterServiceAccount--;
return o;
@@ -1049,19 +1049,19 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed1139(o.scopes);
+ checkUnnamed1158(o.scopes);
}
buildCounterServiceAccount--;
}
-buildUnnamed1140() {
+buildUnnamed1159() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1140(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'));
@@ -1073,7 +1073,7 @@
buildCounterTag++;
if (buildCounterTag < 3) {
o.fingerPrint = "foo";
- o.items = buildUnnamed1140();
+ o.items = buildUnnamed1159();
}
buildCounterTag--;
return o;
@@ -1083,32 +1083,32 @@
buildCounterTag++;
if (buildCounterTag < 3) {
unittest.expect(o.fingerPrint, unittest.equals('foo'));
- checkUnnamed1140(o.items);
+ checkUnnamed1159(o.items);
}
buildCounterTag--;
}
-buildUnnamed1141() {
+buildUnnamed1160() {
var o = new core.Map<core.String, api.Action>();
o["x"] = buildAction();
o["y"] = buildAction();
return o;
}
-checkUnnamed1141(core.Map<core.String, api.Action> o) {
+checkUnnamed1160(core.Map<core.String, api.Action> o) {
unittest.expect(o, unittest.hasLength(2));
checkAction(o["x"]);
checkAction(o["y"]);
}
-buildUnnamed1142() {
+buildUnnamed1161() {
var o = new core.Map<core.String, api.Module>();
o["x"] = buildModule();
o["y"] = buildModule();
return o;
}
-checkUnnamed1142(core.Map<core.String, api.Module> o) {
+checkUnnamed1161(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 = buildUnnamed1141();
+ o.actions = buildUnnamed1160();
o.description = "foo";
- o.modules = buildUnnamed1142();
+ o.modules = buildUnnamed1161();
o.name = "foo";
}
buildCounterTemplate--;
@@ -1131,22 +1131,22 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed1141(o.actions);
+ checkUnnamed1160(o.actions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1142(o.modules);
+ checkUnnamed1161(o.modules);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterTemplate--;
}
-buildUnnamed1143() {
+buildUnnamed1162() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed1143(core.List<api.Template> o) {
+checkUnnamed1162(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 = buildUnnamed1143();
+ o.resources = buildUnnamed1162();
}
buildCounterTemplatesListResponse--;
return o;
@@ -1168,7 +1168,7 @@
buildCounterTemplatesListResponse++;
if (buildCounterTemplatesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1143(o.resources);
+ checkUnnamed1162(o.resources);
}
buildCounterTemplatesListResponse--;
}
diff --git a/generated/googleapis_beta/test/pubsub/v1beta1_test.dart b/generated/googleapis_beta/test/pubsub/v1beta1_test.dart
index f7ea541..e7f4ec5 100644
--- a/generated/googleapis_beta/test/pubsub/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/pubsub/v1beta1_test.dart
@@ -16,14 +16,14 @@
-buildUnnamed1201() {
+buildUnnamed1163() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1201(core.List<core.String> o) {
+checkUnnamed1163(core.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 = buildUnnamed1201();
+ o.ackId = buildUnnamed1163();
o.subscription = "foo";
}
buildCounterAcknowledgeRequest--;
@@ -44,7 +44,7 @@
checkAcknowledgeRequest(api.AcknowledgeRequest o) {
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- checkUnnamed1201(o.ackId);
+ checkUnnamed1163(o.ackId);
unittest.expect(o.subscription, unittest.equals('foo'));
}
buildCounterAcknowledgeRequest--;
@@ -73,14 +73,14 @@
buildCounterLabel--;
}
-buildUnnamed1202() {
+buildUnnamed1164() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1202(core.List<api.Subscription> o) {
+checkUnnamed1164(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 = buildUnnamed1202();
+ o.subscription = buildUnnamed1164();
}
buildCounterListSubscriptionsResponse--;
return o;
@@ -102,19 +102,19 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1202(o.subscription);
+ checkUnnamed1164(o.subscription);
}
buildCounterListSubscriptionsResponse--;
}
-buildUnnamed1203() {
+buildUnnamed1165() {
var o = new core.List<api.Topic>();
o.add(buildTopic());
o.add(buildTopic());
return o;
}
-checkUnnamed1203(core.List<api.Topic> o) {
+checkUnnamed1165(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 = buildUnnamed1203();
+ o.topic = buildUnnamed1165();
}
buildCounterListTopicsResponse--;
return o;
@@ -136,7 +136,7 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1203(o.topic);
+ checkUnnamed1165(o.topic);
}
buildCounterListTopicsResponse--;
}
@@ -231,14 +231,14 @@
buildCounterPubsubEvent--;
}
-buildUnnamed1204() {
+buildUnnamed1166() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed1204(core.List<api.Label> o) {
+checkUnnamed1166(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 = buildUnnamed1204();
+ o.label = buildUnnamed1166();
}
buildCounterPubsubMessage--;
return o;
@@ -260,7 +260,7 @@
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
unittest.expect(o.data, unittest.equals('foo'));
- checkUnnamed1204(o.label);
+ checkUnnamed1166(o.label);
}
buildCounterPubsubMessage--;
}
diff --git a/generated/googleapis_beta/test/replicapool/v1beta1_test.dart b/generated/googleapis_beta/test/replicapool/v1beta1_test.dart
index 47cfda4..304d2f4 100644
--- a/generated/googleapis_beta/test/replicapool/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/replicapool/v1beta1_test.dart
@@ -39,27 +39,27 @@
buildCounterAccessConfig--;
}
-buildUnnamed1087() {
+buildUnnamed1264() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1087(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'));
}
-buildUnnamed1088() {
+buildUnnamed1265() {
var o = new core.List<api.EnvVariable>();
o.add(buildEnvVariable());
o.add(buildEnvVariable());
return o;
}
-checkUnnamed1088(core.List<api.EnvVariable> o) {
+checkUnnamed1265(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 = buildUnnamed1087();
- o.envVariables = buildUnnamed1088();
+ o.commands = buildUnnamed1264();
+ o.envVariables = buildUnnamed1265();
o.timeoutMilliSeconds = 42;
}
buildCounterAction--;
@@ -81,8 +81,8 @@
checkAction(api.Action o) {
buildCounterAction++;
if (buildCounterAction < 3) {
- checkUnnamed1087(o.commands);
- checkUnnamed1088(o.envVariables);
+ checkUnnamed1264(o.commands);
+ checkUnnamed1265(o.envVariables);
unittest.expect(o.timeoutMilliSeconds, unittest.equals(42));
}
buildCounterAction--;
@@ -209,14 +209,14 @@
buildCounterLabel--;
}
-buildUnnamed1089() {
+buildUnnamed1266() {
var o = new core.List<api.MetadataItem>();
o.add(buildMetadataItem());
o.add(buildMetadataItem());
return o;
}
-checkUnnamed1089(core.List<api.MetadataItem> o) {
+checkUnnamed1266(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 = buildUnnamed1089();
+ o.items = buildUnnamed1266();
}
buildCounterMetadata--;
return o;
@@ -238,7 +238,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
unittest.expect(o.fingerPrint, unittest.equals('foo'));
- checkUnnamed1089(o.items);
+ checkUnnamed1266(o.items);
}
buildCounterMetadata--;
}
@@ -264,14 +264,14 @@
buildCounterMetadataItem--;
}
-buildUnnamed1090() {
+buildUnnamed1267() {
var o = new core.List<api.AccessConfig>();
o.add(buildAccessConfig());
o.add(buildAccessConfig());
return o;
}
-checkUnnamed1090(core.List<api.AccessConfig> o) {
+checkUnnamed1267(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 = buildUnnamed1090();
+ o.accessConfigs = buildUnnamed1267();
o.network = "foo";
o.networkIp = "foo";
}
@@ -293,7 +293,7 @@
checkNetworkInterface(api.NetworkInterface o) {
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- checkUnnamed1090(o.accessConfigs);
+ checkUnnamed1267(o.accessConfigs);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.networkIp, unittest.equals('foo'));
}
@@ -348,53 +348,53 @@
buildCounterNewDiskInitializeParams--;
}
-buildUnnamed1091() {
+buildUnnamed1268() {
var o = new core.List<api.HealthCheck>();
o.add(buildHealthCheck());
o.add(buildHealthCheck());
return o;
}
-checkUnnamed1091(core.List<api.HealthCheck> o) {
+checkUnnamed1268(core.List<api.HealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheck(o[0]);
checkHealthCheck(o[1]);
}
-buildUnnamed1092() {
+buildUnnamed1269() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed1092(core.List<api.Label> o) {
+checkUnnamed1269(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
}
-buildUnnamed1093() {
+buildUnnamed1270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1093(core.List<core.String> o) {
+checkUnnamed1270(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1094() {
+buildUnnamed1271() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1094(core.List<core.String> o) {
+checkUnnamed1271(core.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 = buildUnnamed1091();
+ o.healthChecks = buildUnnamed1268();
o.initialNumReplicas = 42;
- o.labels = buildUnnamed1092();
+ o.labels = buildUnnamed1269();
o.name = "foo";
o.numReplicas = 42;
- o.resourceViews = buildUnnamed1093();
+ o.resourceViews = buildUnnamed1270();
o.selfLink = "foo";
o.targetPool = "foo";
- o.targetPools = buildUnnamed1094();
+ o.targetPools = buildUnnamed1271();
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'));
- checkUnnamed1091(o.healthChecks);
+ checkUnnamed1268(o.healthChecks);
unittest.expect(o.initialNumReplicas, unittest.equals(42));
- checkUnnamed1092(o.labels);
+ checkUnnamed1269(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.numReplicas, unittest.equals(42));
- checkUnnamed1093(o.resourceViews);
+ checkUnnamed1270(o.resourceViews);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.targetPool, unittest.equals('foo'));
- checkUnnamed1094(o.targetPools);
+ checkUnnamed1271(o.targetPools);
checkTemplate(o.template);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPool--;
}
-buildUnnamed1095() {
+buildUnnamed1272() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1095(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'));
@@ -465,7 +465,7 @@
var o = new api.PoolsDeleteRequest();
buildCounterPoolsDeleteRequest++;
if (buildCounterPoolsDeleteRequest < 3) {
- o.abandonInstances = buildUnnamed1095();
+ o.abandonInstances = buildUnnamed1272();
}
buildCounterPoolsDeleteRequest--;
return o;
@@ -474,19 +474,19 @@
checkPoolsDeleteRequest(api.PoolsDeleteRequest o) {
buildCounterPoolsDeleteRequest++;
if (buildCounterPoolsDeleteRequest < 3) {
- checkUnnamed1095(o.abandonInstances);
+ checkUnnamed1272(o.abandonInstances);
}
buildCounterPoolsDeleteRequest--;
}
-buildUnnamed1096() {
+buildUnnamed1273() {
var o = new core.List<api.Pool>();
o.add(buildPool());
o.add(buildPool());
return o;
}
-checkUnnamed1096(core.List<api.Pool> o) {
+checkUnnamed1273(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 = buildUnnamed1096();
+ o.resources = buildUnnamed1273();
}
buildCounterPoolsListResponse--;
return o;
@@ -508,7 +508,7 @@
buildCounterPoolsListResponse++;
if (buildCounterPoolsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1096(o.resources);
+ checkUnnamed1273(o.resources);
}
buildCounterPoolsListResponse--;
}
@@ -582,14 +582,14 @@
buildCounterReplicasDeleteRequest--;
}
-buildUnnamed1097() {
+buildUnnamed1274() {
var o = new core.List<api.Replica>();
o.add(buildReplica());
o.add(buildReplica());
return o;
}
-checkUnnamed1097(core.List<api.Replica> o) {
+checkUnnamed1274(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 = buildUnnamed1097();
+ o.resources = buildUnnamed1274();
}
buildCounterReplicasListResponse--;
return o;
@@ -611,19 +611,19 @@
buildCounterReplicasListResponse++;
if (buildCounterReplicasListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1097(o.resources);
+ checkUnnamed1274(o.resources);
}
buildCounterReplicasListResponse--;
}
-buildUnnamed1098() {
+buildUnnamed1275() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1098(core.List<core.String> o) {
+checkUnnamed1275(core.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 = buildUnnamed1098();
+ o.scopes = buildUnnamed1275();
}
buildCounterServiceAccount--;
return o;
@@ -645,19 +645,19 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed1098(o.scopes);
+ checkUnnamed1275(o.scopes);
}
buildCounterServiceAccount--;
}
-buildUnnamed1099() {
+buildUnnamed1276() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1099(core.List<core.String> o) {
+checkUnnamed1276(core.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 = buildUnnamed1099();
+ o.items = buildUnnamed1276();
}
buildCounterTag--;
return o;
@@ -679,19 +679,19 @@
buildCounterTag++;
if (buildCounterTag < 3) {
unittest.expect(o.fingerPrint, unittest.equals('foo'));
- checkUnnamed1099(o.items);
+ checkUnnamed1276(o.items);
}
buildCounterTag--;
}
-buildUnnamed1100() {
+buildUnnamed1277() {
var o = new core.List<api.HealthCheck>();
o.add(buildHealthCheck());
o.add(buildHealthCheck());
return o;
}
-checkUnnamed1100(core.List<api.HealthCheck> o) {
+checkUnnamed1277(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 = buildUnnamed1100();
+ o.healthChecks = buildUnnamed1277();
o.version = "foo";
o.vmParams = buildVmParams();
}
@@ -715,60 +715,60 @@
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
checkAction(o.action);
- checkUnnamed1100(o.healthChecks);
+ checkUnnamed1277(o.healthChecks);
unittest.expect(o.version, unittest.equals('foo'));
checkVmParams(o.vmParams);
}
buildCounterTemplate--;
}
-buildUnnamed1101() {
+buildUnnamed1278() {
var o = new core.List<api.ExistingDisk>();
o.add(buildExistingDisk());
o.add(buildExistingDisk());
return o;
}
-checkUnnamed1101(core.List<api.ExistingDisk> o) {
+checkUnnamed1278(core.List<api.ExistingDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkExistingDisk(o[0]);
checkExistingDisk(o[1]);
}
-buildUnnamed1102() {
+buildUnnamed1279() {
var o = new core.List<api.NewDisk>();
o.add(buildNewDisk());
o.add(buildNewDisk());
return o;
}
-checkUnnamed1102(core.List<api.NewDisk> o) {
+checkUnnamed1279(core.List<api.NewDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkNewDisk(o[0]);
checkNewDisk(o[1]);
}
-buildUnnamed1103() {
+buildUnnamed1280() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed1103(core.List<api.NetworkInterface> o) {
+checkUnnamed1280(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed1104() {
+buildUnnamed1281() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed1104(core.List<api.ServiceAccount> o) {
+checkUnnamed1281(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 = buildUnnamed1101();
- o.disksToCreate = buildUnnamed1102();
+ o.disksToAttach = buildUnnamed1278();
+ o.disksToCreate = buildUnnamed1279();
o.machineType = "foo";
o.metadata = buildMetadata();
- o.networkInterfaces = buildUnnamed1103();
+ o.networkInterfaces = buildUnnamed1280();
o.onHostMaintenance = "foo";
- o.serviceAccounts = buildUnnamed1104();
+ o.serviceAccounts = buildUnnamed1281();
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'));
- checkUnnamed1101(o.disksToAttach);
- checkUnnamed1102(o.disksToCreate);
+ checkUnnamed1278(o.disksToAttach);
+ checkUnnamed1279(o.disksToCreate);
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
- checkUnnamed1103(o.networkInterfaces);
+ checkUnnamed1280(o.networkInterfaces);
unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
- checkUnnamed1104(o.serviceAccounts);
+ checkUnnamed1281(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 51b32b7..a9fc4b0 100644
--- a/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart
@@ -37,14 +37,14 @@
buildCounterLabel--;
}
-buildUnnamed1110() {
+buildUnnamed1254() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1110(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'));
@@ -55,7 +55,7 @@
var o = new api.RegionViewsAddResourcesRequest();
buildCounterRegionViewsAddResourcesRequest++;
if (buildCounterRegionViewsAddResourcesRequest < 3) {
- o.resources = buildUnnamed1110();
+ o.resources = buildUnnamed1254();
}
buildCounterRegionViewsAddResourcesRequest--;
return o;
@@ -64,7 +64,7 @@
checkRegionViewsAddResourcesRequest(api.RegionViewsAddResourcesRequest o) {
buildCounterRegionViewsAddResourcesRequest++;
if (buildCounterRegionViewsAddResourcesRequest < 3) {
- checkUnnamed1110(o.resources);
+ checkUnnamed1254(o.resources);
}
buildCounterRegionViewsAddResourcesRequest--;
}
@@ -88,14 +88,14 @@
buildCounterRegionViewsInsertResponse--;
}
-buildUnnamed1111() {
+buildUnnamed1255() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1111(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'));
@@ -106,7 +106,7 @@
var o = new api.RegionViewsListResourcesResponse();
buildCounterRegionViewsListResourcesResponse++;
if (buildCounterRegionViewsListResourcesResponse < 3) {
- o.members = buildUnnamed1111();
+ o.members = buildUnnamed1255();
o.nextPageToken = "foo";
}
buildCounterRegionViewsListResourcesResponse--;
@@ -116,20 +116,20 @@
checkRegionViewsListResourcesResponse(api.RegionViewsListResourcesResponse o) {
buildCounterRegionViewsListResourcesResponse++;
if (buildCounterRegionViewsListResourcesResponse < 3) {
- checkUnnamed1111(o.members);
+ checkUnnamed1255(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRegionViewsListResourcesResponse--;
}
-buildUnnamed1112() {
+buildUnnamed1256() {
var o = new core.List<api.ResourceView>();
o.add(buildResourceView());
o.add(buildResourceView());
return o;
}
-checkUnnamed1112(core.List<api.ResourceView> o) {
+checkUnnamed1256(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 = buildUnnamed1112();
+ o.resourceViews = buildUnnamed1256();
}
buildCounterRegionViewsListResponse--;
return o;
@@ -151,19 +151,19 @@
buildCounterRegionViewsListResponse++;
if (buildCounterRegionViewsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1112(o.resourceViews);
+ checkUnnamed1256(o.resourceViews);
}
buildCounterRegionViewsListResponse--;
}
-buildUnnamed1113() {
+buildUnnamed1257() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1113(core.List<core.String> o) {
+checkUnnamed1257(core.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 = buildUnnamed1113();
+ o.resources = buildUnnamed1257();
}
buildCounterRegionViewsRemoveResourcesRequest--;
return o;
@@ -183,32 +183,32 @@
checkRegionViewsRemoveResourcesRequest(api.RegionViewsRemoveResourcesRequest o) {
buildCounterRegionViewsRemoveResourcesRequest++;
if (buildCounterRegionViewsRemoveResourcesRequest < 3) {
- checkUnnamed1113(o.resources);
+ checkUnnamed1257(o.resources);
}
buildCounterRegionViewsRemoveResourcesRequest--;
}
-buildUnnamed1114() {
+buildUnnamed1258() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed1114(core.List<api.Label> o) {
+checkUnnamed1258(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
}
-buildUnnamed1115() {
+buildUnnamed1259() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1115(core.List<core.String> o) {
+checkUnnamed1259(core.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 = buildUnnamed1114();
+ o.labels = buildUnnamed1258();
o.lastModified = "foo";
- o.members = buildUnnamed1115();
+ o.members = buildUnnamed1259();
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'));
- checkUnnamed1114(o.labels);
+ checkUnnamed1258(o.labels);
unittest.expect(o.lastModified, unittest.equals('foo'));
- checkUnnamed1115(o.members);
+ checkUnnamed1259(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--;
}
-buildUnnamed1116() {
+buildUnnamed1260() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1116(core.List<core.String> o) {
+checkUnnamed1260(core.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 = buildUnnamed1116();
+ o.resources = buildUnnamed1260();
}
buildCounterZoneViewsAddResourcesRequest--;
return o;
@@ -278,7 +278,7 @@
checkZoneViewsAddResourcesRequest(api.ZoneViewsAddResourcesRequest o) {
buildCounterZoneViewsAddResourcesRequest++;
if (buildCounterZoneViewsAddResourcesRequest < 3) {
- checkUnnamed1116(o.resources);
+ checkUnnamed1260(o.resources);
}
buildCounterZoneViewsAddResourcesRequest--;
}
@@ -302,14 +302,14 @@
buildCounterZoneViewsInsertResponse--;
}
-buildUnnamed1117() {
+buildUnnamed1261() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1117(core.List<core.String> o) {
+checkUnnamed1261(core.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 = buildUnnamed1117();
+ o.members = buildUnnamed1261();
o.nextPageToken = "foo";
}
buildCounterZoneViewsListResourcesResponse--;
@@ -330,20 +330,20 @@
checkZoneViewsListResourcesResponse(api.ZoneViewsListResourcesResponse o) {
buildCounterZoneViewsListResourcesResponse++;
if (buildCounterZoneViewsListResourcesResponse < 3) {
- checkUnnamed1117(o.members);
+ checkUnnamed1261(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterZoneViewsListResourcesResponse--;
}
-buildUnnamed1118() {
+buildUnnamed1262() {
var o = new core.List<api.ResourceView>();
o.add(buildResourceView());
o.add(buildResourceView());
return o;
}
-checkUnnamed1118(core.List<api.ResourceView> o) {
+checkUnnamed1262(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 = buildUnnamed1118();
+ o.resourceViews = buildUnnamed1262();
}
buildCounterZoneViewsListResponse--;
return o;
@@ -365,19 +365,19 @@
buildCounterZoneViewsListResponse++;
if (buildCounterZoneViewsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1118(o.resourceViews);
+ checkUnnamed1262(o.resourceViews);
}
buildCounterZoneViewsListResponse--;
}
-buildUnnamed1119() {
+buildUnnamed1263() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1119(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'));
@@ -388,7 +388,7 @@
var o = new api.ZoneViewsRemoveResourcesRequest();
buildCounterZoneViewsRemoveResourcesRequest++;
if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
- o.resources = buildUnnamed1119();
+ o.resources = buildUnnamed1263();
}
buildCounterZoneViewsRemoveResourcesRequest--;
return o;
@@ -397,7 +397,7 @@
checkZoneViewsRemoveResourcesRequest(api.ZoneViewsRemoveResourcesRequest o) {
buildCounterZoneViewsRemoveResourcesRequest++;
if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
- checkUnnamed1119(o.resources);
+ checkUnnamed1263(o.resources);
}
buildCounterZoneViewsRemoveResourcesRequest--;
}
diff --git a/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart b/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart
new file mode 100644
index 0000000..1bc7c91
--- /dev/null
+++ b/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart
@@ -0,0 +1,1296 @@
+library googleapis_beta.resourceviews.v1beta2.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_beta/common/common.dart' as common;
+import 'package:googleapis_beta/src/common_internal.dart' as common_internal;
+import '../common/common_internal_test.dart' as common_test;
+
+import 'package:googleapis_beta/resourceviews/v1beta2.dart' as api;
+
+
+
+core.int buildCounterLabel = 0;
+buildLabel() {
+ var o = new api.Label();
+ buildCounterLabel++;
+ if (buildCounterLabel < 3) {
+ o.key = "foo";
+ o.value = "foo";
+ }
+ buildCounterLabel--;
+ return o;
+}
+
+checkLabel(api.Label o) {
+ buildCounterLabel++;
+ if (buildCounterLabel < 3) {
+ unittest.expect(o.key, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterLabel--;
+}
+
+buildUnnamed1308() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed1308(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() {
+ var o = new core.Map<core.String, core.List<core.int>>();
+ o["x"] = buildUnnamed1308();
+ o["y"] = buildUnnamed1308();
+ return o;
+}
+
+checkUnnamed1309(core.Map<core.String, core.List<core.int>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed1308(o["x"]);
+ checkUnnamed1308(o["y"]);
+}
+
+core.int buildCounterListResourceResponseItem = 0;
+buildListResourceResponseItem() {
+ var o = new api.ListResourceResponseItem();
+ buildCounterListResourceResponseItem++;
+ if (buildCounterListResourceResponseItem < 3) {
+ o.endpoints = buildUnnamed1309();
+ o.resource = "foo";
+ }
+ buildCounterListResourceResponseItem--;
+ return o;
+}
+
+checkListResourceResponseItem(api.ListResourceResponseItem o) {
+ buildCounterListResourceResponseItem++;
+ if (buildCounterListResourceResponseItem < 3) {
+ checkUnnamed1309(o.endpoints);
+ unittest.expect(o.resource, unittest.equals('foo'));
+ }
+ buildCounterListResourceResponseItem--;
+}
+
+core.int buildCounterOperationErrorErrors = 0;
+buildOperationErrorErrors() {
+ var o = new api.OperationErrorErrors();
+ buildCounterOperationErrorErrors++;
+ if (buildCounterOperationErrorErrors < 3) {
+ o.code = "foo";
+ o.location = "foo";
+ o.message = "foo";
+ }
+ buildCounterOperationErrorErrors--;
+ return o;
+}
+
+checkOperationErrorErrors(api.OperationErrorErrors o) {
+ buildCounterOperationErrorErrors++;
+ if (buildCounterOperationErrorErrors < 3) {
+ unittest.expect(o.code, unittest.equals('foo'));
+ unittest.expect(o.location, unittest.equals('foo'));
+ unittest.expect(o.message, unittest.equals('foo'));
+ }
+ buildCounterOperationErrorErrors--;
+}
+
+buildUnnamed1310() {
+ var o = new core.List<api.OperationErrorErrors>();
+ o.add(buildOperationErrorErrors());
+ o.add(buildOperationErrorErrors());
+ return o;
+}
+
+checkUnnamed1310(core.List<api.OperationErrorErrors> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperationErrorErrors(o[0]);
+ checkOperationErrorErrors(o[1]);
+}
+
+core.int buildCounterOperationError = 0;
+buildOperationError() {
+ var o = new api.OperationError();
+ buildCounterOperationError++;
+ if (buildCounterOperationError < 3) {
+ o.errors = buildUnnamed1310();
+ }
+ buildCounterOperationError--;
+ return o;
+}
+
+checkOperationError(api.OperationError o) {
+ buildCounterOperationError++;
+ if (buildCounterOperationError < 3) {
+ checkUnnamed1310(o.errors);
+ }
+ buildCounterOperationError--;
+}
+
+core.int buildCounterOperationWarningsData = 0;
+buildOperationWarningsData() {
+ var o = new api.OperationWarningsData();
+ buildCounterOperationWarningsData++;
+ if (buildCounterOperationWarningsData < 3) {
+ o.key = "foo";
+ o.value = "foo";
+ }
+ buildCounterOperationWarningsData--;
+ return o;
+}
+
+checkOperationWarningsData(api.OperationWarningsData o) {
+ buildCounterOperationWarningsData++;
+ if (buildCounterOperationWarningsData < 3) {
+ unittest.expect(o.key, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterOperationWarningsData--;
+}
+
+buildUnnamed1311() {
+ var o = new core.List<api.OperationWarningsData>();
+ o.add(buildOperationWarningsData());
+ o.add(buildOperationWarningsData());
+ return o;
+}
+
+checkUnnamed1311(core.List<api.OperationWarningsData> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperationWarningsData(o[0]);
+ checkOperationWarningsData(o[1]);
+}
+
+core.int buildCounterOperationWarnings = 0;
+buildOperationWarnings() {
+ var o = new api.OperationWarnings();
+ buildCounterOperationWarnings++;
+ if (buildCounterOperationWarnings < 3) {
+ o.code = "foo";
+ o.data = buildUnnamed1311();
+ o.message = "foo";
+ }
+ buildCounterOperationWarnings--;
+ return o;
+}
+
+checkOperationWarnings(api.OperationWarnings o) {
+ buildCounterOperationWarnings++;
+ if (buildCounterOperationWarnings < 3) {
+ unittest.expect(o.code, unittest.equals('foo'));
+ checkUnnamed1311(o.data);
+ unittest.expect(o.message, unittest.equals('foo'));
+ }
+ buildCounterOperationWarnings--;
+}
+
+buildUnnamed1312() {
+ var o = new core.List<api.OperationWarnings>();
+ o.add(buildOperationWarnings());
+ o.add(buildOperationWarnings());
+ return o;
+}
+
+checkUnnamed1312(core.List<api.OperationWarnings> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperationWarnings(o[0]);
+ checkOperationWarnings(o[1]);
+}
+
+core.int buildCounterOperation = 0;
+buildOperation() {
+ var o = new api.Operation();
+ buildCounterOperation++;
+ if (buildCounterOperation < 3) {
+ o.clientOperationId = "foo";
+ o.creationTimestamp = "foo";
+ o.endTime = "foo";
+ o.error = buildOperationError();
+ o.httpErrorMessage = "foo";
+ o.httpErrorStatusCode = 42;
+ o.id = "foo";
+ o.insertTime = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.operationType = "foo";
+ o.progress = 42;
+ o.region = "foo";
+ o.selfLink = "foo";
+ o.startTime = "foo";
+ o.status = "foo";
+ o.statusMessage = "foo";
+ o.targetId = "foo";
+ o.targetLink = "foo";
+ o.user = "foo";
+ o.warnings = buildUnnamed1312();
+ o.zone = "foo";
+ }
+ buildCounterOperation--;
+ return o;
+}
+
+checkOperation(api.Operation o) {
+ buildCounterOperation++;
+ if (buildCounterOperation < 3) {
+ unittest.expect(o.clientOperationId, unittest.equals('foo'));
+ unittest.expect(o.creationTimestamp, unittest.equals('foo'));
+ unittest.expect(o.endTime, unittest.equals('foo'));
+ checkOperationError(o.error);
+ unittest.expect(o.httpErrorMessage, unittest.equals('foo'));
+ unittest.expect(o.httpErrorStatusCode, unittest.equals(42));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.insertTime, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.operationType, unittest.equals('foo'));
+ unittest.expect(o.progress, unittest.equals(42));
+ unittest.expect(o.region, unittest.equals('foo'));
+ unittest.expect(o.selfLink, unittest.equals('foo'));
+ unittest.expect(o.startTime, unittest.equals('foo'));
+ unittest.expect(o.status, unittest.equals('foo'));
+ unittest.expect(o.statusMessage, unittest.equals('foo'));
+ unittest.expect(o.targetId, unittest.equals('foo'));
+ unittest.expect(o.targetLink, unittest.equals('foo'));
+ unittest.expect(o.user, unittest.equals('foo'));
+ checkUnnamed1312(o.warnings);
+ unittest.expect(o.zone, unittest.equals('foo'));
+ }
+ buildCounterOperation--;
+}
+
+buildUnnamed1313() {
+ var o = new core.List<api.Operation>();
+ o.add(buildOperation());
+ o.add(buildOperation());
+ return o;
+}
+
+checkUnnamed1313(core.List<api.Operation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperation(o[0]);
+ checkOperation(o[1]);
+}
+
+core.int buildCounterOperationList = 0;
+buildOperationList() {
+ var o = new api.OperationList();
+ buildCounterOperationList++;
+ if (buildCounterOperationList < 3) {
+ o.id = "foo";
+ o.items = buildUnnamed1313();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.selfLink = "foo";
+ }
+ buildCounterOperationList--;
+ return o;
+}
+
+checkOperationList(api.OperationList o) {
+ buildCounterOperationList++;
+ if (buildCounterOperationList < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkUnnamed1313(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ unittest.expect(o.selfLink, unittest.equals('foo'));
+ }
+ buildCounterOperationList--;
+}
+
+buildUnnamed1314() {
+ var o = new core.List<api.ServiceEndpoint>();
+ o.add(buildServiceEndpoint());
+ o.add(buildServiceEndpoint());
+ return o;
+}
+
+checkUnnamed1314(core.List<api.ServiceEndpoint> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkServiceEndpoint(o[0]);
+ checkServiceEndpoint(o[1]);
+}
+
+buildUnnamed1315() {
+ var o = new core.List<api.Label>();
+ o.add(buildLabel());
+ o.add(buildLabel());
+ return o;
+}
+
+checkUnnamed1315(core.List<api.Label> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLabel(o[0]);
+ checkLabel(o[1]);
+}
+
+buildUnnamed1316() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1316(core.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 buildCounterResourceView = 0;
+buildResourceView() {
+ var o = new api.ResourceView();
+ buildCounterResourceView++;
+ if (buildCounterResourceView < 3) {
+ o.creationTimestamp = "foo";
+ o.description = "foo";
+ o.endpoints = buildUnnamed1314();
+ o.fingerprint = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.labels = buildUnnamed1315();
+ o.name = "foo";
+ o.network = "foo";
+ o.resources = buildUnnamed1316();
+ o.selfLink = "foo";
+ o.size = 42;
+ }
+ buildCounterResourceView--;
+ return o;
+}
+
+checkResourceView(api.ResourceView o) {
+ buildCounterResourceView++;
+ if (buildCounterResourceView < 3) {
+ unittest.expect(o.creationTimestamp, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ checkUnnamed1314(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);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.network, unittest.equals('foo'));
+ checkUnnamed1316(o.resources);
+ unittest.expect(o.selfLink, unittest.equals('foo'));
+ unittest.expect(o.size, unittest.equals(42));
+ }
+ buildCounterResourceView--;
+}
+
+core.int buildCounterServiceEndpoint = 0;
+buildServiceEndpoint() {
+ var o = new api.ServiceEndpoint();
+ buildCounterServiceEndpoint++;
+ if (buildCounterServiceEndpoint < 3) {
+ o.name = "foo";
+ o.port = 42;
+ }
+ buildCounterServiceEndpoint--;
+ return o;
+}
+
+checkServiceEndpoint(api.ServiceEndpoint o) {
+ buildCounterServiceEndpoint++;
+ if (buildCounterServiceEndpoint < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.port, unittest.equals(42));
+ }
+ buildCounterServiceEndpoint--;
+}
+
+buildUnnamed1317() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1317(core.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 buildCounterZoneViewsAddResourcesRequest = 0;
+buildZoneViewsAddResourcesRequest() {
+ var o = new api.ZoneViewsAddResourcesRequest();
+ buildCounterZoneViewsAddResourcesRequest++;
+ if (buildCounterZoneViewsAddResourcesRequest < 3) {
+ o.resources = buildUnnamed1317();
+ }
+ buildCounterZoneViewsAddResourcesRequest--;
+ return o;
+}
+
+checkZoneViewsAddResourcesRequest(api.ZoneViewsAddResourcesRequest o) {
+ buildCounterZoneViewsAddResourcesRequest++;
+ if (buildCounterZoneViewsAddResourcesRequest < 3) {
+ checkUnnamed1317(o.resources);
+ }
+ buildCounterZoneViewsAddResourcesRequest--;
+}
+
+buildUnnamed1318() {
+ var o = new core.List<api.ServiceEndpoint>();
+ o.add(buildServiceEndpoint());
+ o.add(buildServiceEndpoint());
+ return o;
+}
+
+checkUnnamed1318(core.List<api.ServiceEndpoint> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkServiceEndpoint(o[0]);
+ checkServiceEndpoint(o[1]);
+}
+
+core.int buildCounterZoneViewsGetServiceResponse = 0;
+buildZoneViewsGetServiceResponse() {
+ var o = new api.ZoneViewsGetServiceResponse();
+ buildCounterZoneViewsGetServiceResponse++;
+ if (buildCounterZoneViewsGetServiceResponse < 3) {
+ o.endpoints = buildUnnamed1318();
+ o.fingerprint = "foo";
+ }
+ buildCounterZoneViewsGetServiceResponse--;
+ return o;
+}
+
+checkZoneViewsGetServiceResponse(api.ZoneViewsGetServiceResponse o) {
+ buildCounterZoneViewsGetServiceResponse++;
+ if (buildCounterZoneViewsGetServiceResponse < 3) {
+ checkUnnamed1318(o.endpoints);
+ unittest.expect(o.fingerprint, unittest.equals('foo'));
+ }
+ buildCounterZoneViewsGetServiceResponse--;
+}
+
+buildUnnamed1319() {
+ var o = new core.List<api.ResourceView>();
+ o.add(buildResourceView());
+ o.add(buildResourceView());
+ return o;
+}
+
+checkUnnamed1319(core.List<api.ResourceView> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkResourceView(o[0]);
+ checkResourceView(o[1]);
+}
+
+core.int buildCounterZoneViewsList = 0;
+buildZoneViewsList() {
+ var o = new api.ZoneViewsList();
+ buildCounterZoneViewsList++;
+ if (buildCounterZoneViewsList < 3) {
+ o.items = buildUnnamed1319();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.selfLink = "foo";
+ }
+ buildCounterZoneViewsList--;
+ return o;
+}
+
+checkZoneViewsList(api.ZoneViewsList o) {
+ buildCounterZoneViewsList++;
+ if (buildCounterZoneViewsList < 3) {
+ checkUnnamed1319(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ unittest.expect(o.selfLink, unittest.equals('foo'));
+ }
+ buildCounterZoneViewsList--;
+}
+
+buildUnnamed1320() {
+ var o = new core.List<api.ListResourceResponseItem>();
+ o.add(buildListResourceResponseItem());
+ o.add(buildListResourceResponseItem());
+ return o;
+}
+
+checkUnnamed1320(core.List<api.ListResourceResponseItem> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkListResourceResponseItem(o[0]);
+ checkListResourceResponseItem(o[1]);
+}
+
+core.int buildCounterZoneViewsListResourcesResponse = 0;
+buildZoneViewsListResourcesResponse() {
+ var o = new api.ZoneViewsListResourcesResponse();
+ buildCounterZoneViewsListResourcesResponse++;
+ if (buildCounterZoneViewsListResourcesResponse < 3) {
+ o.items = buildUnnamed1320();
+ o.network = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterZoneViewsListResourcesResponse--;
+ return o;
+}
+
+checkZoneViewsListResourcesResponse(api.ZoneViewsListResourcesResponse o) {
+ buildCounterZoneViewsListResourcesResponse++;
+ if (buildCounterZoneViewsListResourcesResponse < 3) {
+ checkUnnamed1320(o.items);
+ unittest.expect(o.network, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterZoneViewsListResourcesResponse--;
+}
+
+buildUnnamed1321() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1321(core.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 buildCounterZoneViewsRemoveResourcesRequest = 0;
+buildZoneViewsRemoveResourcesRequest() {
+ var o = new api.ZoneViewsRemoveResourcesRequest();
+ buildCounterZoneViewsRemoveResourcesRequest++;
+ if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
+ o.resources = buildUnnamed1321();
+ }
+ buildCounterZoneViewsRemoveResourcesRequest--;
+ return o;
+}
+
+checkZoneViewsRemoveResourcesRequest(api.ZoneViewsRemoveResourcesRequest o) {
+ buildCounterZoneViewsRemoveResourcesRequest++;
+ if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
+ checkUnnamed1321(o.resources);
+ }
+ buildCounterZoneViewsRemoveResourcesRequest--;
+}
+
+buildUnnamed1322() {
+ var o = new core.List<api.ServiceEndpoint>();
+ o.add(buildServiceEndpoint());
+ o.add(buildServiceEndpoint());
+ return o;
+}
+
+checkUnnamed1322(core.List<api.ServiceEndpoint> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkServiceEndpoint(o[0]);
+ checkServiceEndpoint(o[1]);
+}
+
+core.int buildCounterZoneViewsSetServiceRequest = 0;
+buildZoneViewsSetServiceRequest() {
+ var o = new api.ZoneViewsSetServiceRequest();
+ buildCounterZoneViewsSetServiceRequest++;
+ if (buildCounterZoneViewsSetServiceRequest < 3) {
+ o.endpoints = buildUnnamed1322();
+ o.fingerprint = "foo";
+ o.resourceName = "foo";
+ }
+ buildCounterZoneViewsSetServiceRequest--;
+ return o;
+}
+
+checkZoneViewsSetServiceRequest(api.ZoneViewsSetServiceRequest o) {
+ buildCounterZoneViewsSetServiceRequest++;
+ if (buildCounterZoneViewsSetServiceRequest < 3) {
+ checkUnnamed1322(o.endpoints);
+ unittest.expect(o.fingerprint, unittest.equals('foo'));
+ unittest.expect(o.resourceName, unittest.equals('foo'));
+ }
+ buildCounterZoneViewsSetServiceRequest--;
+}
+
+
+main() {
+ unittest.group("obj-schema-Label", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLabel();
+ var od = new api.Label.fromJson(o.toJson());
+ checkLabel(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListResourceResponseItem", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListResourceResponseItem();
+ var od = new api.ListResourceResponseItem.fromJson(o.toJson());
+ checkListResourceResponseItem(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-OperationErrorErrors", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperationErrorErrors();
+ var od = new api.OperationErrorErrors.fromJson(o.toJson());
+ checkOperationErrorErrors(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-OperationError", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperationError();
+ var od = new api.OperationError.fromJson(o.toJson());
+ checkOperationError(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-OperationWarningsData", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperationWarningsData();
+ var od = new api.OperationWarningsData.fromJson(o.toJson());
+ checkOperationWarningsData(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-OperationWarnings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperationWarnings();
+ var od = new api.OperationWarnings.fromJson(o.toJson());
+ checkOperationWarnings(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Operation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperation();
+ var od = new api.Operation.fromJson(o.toJson());
+ checkOperation(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-OperationList", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperationList();
+ var od = new api.OperationList.fromJson(o.toJson());
+ checkOperationList(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ResourceView", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildResourceView();
+ var od = new api.ResourceView.fromJson(o.toJson());
+ checkResourceView(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ServiceEndpoint", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildServiceEndpoint();
+ var od = new api.ServiceEndpoint.fromJson(o.toJson());
+ checkServiceEndpoint(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ZoneViewsAddResourcesRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildZoneViewsAddResourcesRequest();
+ var od = new api.ZoneViewsAddResourcesRequest.fromJson(o.toJson());
+ checkZoneViewsAddResourcesRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ZoneViewsGetServiceResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildZoneViewsGetServiceResponse();
+ var od = new api.ZoneViewsGetServiceResponse.fromJson(o.toJson());
+ checkZoneViewsGetServiceResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ZoneViewsList", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildZoneViewsList();
+ var od = new api.ZoneViewsList.fromJson(o.toJson());
+ checkZoneViewsList(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ZoneViewsListResourcesResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildZoneViewsListResourcesResponse();
+ var od = new api.ZoneViewsListResourcesResponse.fromJson(o.toJson());
+ checkZoneViewsListResourcesResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ZoneViewsRemoveResourcesRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildZoneViewsRemoveResourcesRequest();
+ var od = new api.ZoneViewsRemoveResourcesRequest.fromJson(o.toJson());
+ checkZoneViewsRemoveResourcesRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ZoneViewsSetServiceRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildZoneViewsSetServiceRequest();
+ var od = new api.ZoneViewsSetServiceRequest.fromJson(o.toJson());
+ checkZoneViewsSetServiceRequest(od);
+ });
+ });
+
+
+ unittest.group("resource-ZoneOperationsResourceApi", () {
+ unittest.test("method--get", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ZoneOperationsResourceApi res = new api.ResourceviewsApi(mock).zoneOperations;
+ var arg_project = "foo";
+ var arg_zone = "foo";
+ var arg_operation = "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.get(arg_project, arg_zone, arg_operation).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ZoneOperationsResourceApi res = new api.ResourceviewsApi(mock).zoneOperations;
+ var arg_project = "foo";
+ var arg_zone = "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(buildOperationList());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_project, arg_zone, filter: arg_filter, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.OperationList response) {
+ checkOperationList(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-ZoneViewsResourceApi", () {
+ unittest.test("method--addResources", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ZoneViewsResourceApi res = new api.ResourceviewsApi(mock).zoneViews;
+ var arg_request = buildZoneViewsAddResourcesRequest();
+ var arg_project = "foo";
+ var arg_zone = "foo";
+ var arg_resourceView = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ZoneViewsAddResourcesRequest.fromJson(json);
+ checkZoneViewsAddResourcesRequest(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.addResources(arg_request, arg_project, arg_zone, arg_resourceView).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--delete", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ZoneViewsResourceApi res = new api.ResourceviewsApi(mock).zoneViews;
+ var arg_project = "foo";
+ var arg_zone = "foo";
+ var arg_resourceView = "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_zone, arg_resourceView).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ZoneViewsResourceApi res = new api.ResourceviewsApi(mock).zoneViews;
+ var arg_project = "foo";
+ var arg_zone = "foo";
+ var arg_resourceView = "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(buildResourceView());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_project, arg_zone, arg_resourceView).then(unittest.expectAsync(((api.ResourceView response) {
+ checkResourceView(response);
+ })));
+ });
+
+ unittest.test("method--getService", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ZoneViewsResourceApi res = new api.ResourceviewsApi(mock).zoneViews;
+ var arg_project = "foo";
+ var arg_zone = "foo";
+ var arg_resourceView = "foo";
+ var arg_resourceName = "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["resourceName"].first, unittest.equals(arg_resourceName));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildZoneViewsGetServiceResponse());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.getService(arg_project, arg_zone, arg_resourceView, resourceName: arg_resourceName).then(unittest.expectAsync(((api.ZoneViewsGetServiceResponse response) {
+ checkZoneViewsGetServiceResponse(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ZoneViewsResourceApi res = new api.ResourceviewsApi(mock).zoneViews;
+ var arg_request = buildResourceView();
+ var arg_project = "foo";
+ var arg_zone = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ResourceView.fromJson(json);
+ checkResourceView(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, arg_zone).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ZoneViewsResourceApi res = new api.ResourceviewsApi(mock).zoneViews;
+ var arg_project = "foo";
+ var arg_zone = "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(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(buildZoneViewsList());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_project, arg_zone, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ZoneViewsList response) {
+ checkZoneViewsList(response);
+ })));
+ });
+
+ unittest.test("method--listResources", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ZoneViewsResourceApi res = new api.ResourceviewsApi(mock).zoneViews;
+ var arg_project = "foo";
+ var arg_zone = "foo";
+ var arg_resourceView = "foo";
+ var arg_format = "foo";
+ var arg_listState = "foo";
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_serviceName = "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["format"].first, unittest.equals(arg_format));
+ unittest.expect(queryMap["listState"].first, unittest.equals(arg_listState));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["serviceName"].first, unittest.equals(arg_serviceName));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildZoneViewsListResourcesResponse());
+ return new async.Future.value(common_test.stringResponse(200, h, resp));
+ }), true);
+ res.listResources(arg_project, arg_zone, arg_resourceView, format: arg_format, listState: arg_listState, maxResults: arg_maxResults, pageToken: arg_pageToken, serviceName: arg_serviceName).then(unittest.expectAsync(((api.ZoneViewsListResourcesResponse response) {
+ checkZoneViewsListResourcesResponse(response);
+ })));
+ });
+
+ unittest.test("method--removeResources", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ZoneViewsResourceApi res = new api.ResourceviewsApi(mock).zoneViews;
+ var arg_request = buildZoneViewsRemoveResourcesRequest();
+ var arg_project = "foo";
+ var arg_zone = "foo";
+ var arg_resourceView = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ZoneViewsRemoveResourcesRequest.fromJson(json);
+ checkZoneViewsRemoveResourcesRequest(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.removeResources(arg_request, arg_project, arg_zone, arg_resourceView).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--setService", () {
+
+ var mock = new common_test.HttpServerMock();
+ api.ZoneViewsResourceApi res = new api.ResourceviewsApi(mock).zoneViews;
+ var arg_request = buildZoneViewsSetServiceRequest();
+ var arg_project = "foo";
+ var arg_zone = "foo";
+ var arg_resourceView = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ZoneViewsSetServiceRequest.fromJson(json);
+ checkZoneViewsSetServiceRequest(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.setService(arg_request, arg_project, arg_zone, arg_resourceView).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ });
+
+
+}
+
diff --git a/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart b/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart
index 1c0642b..a592e7b 100644
--- a/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart
+++ b/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart
@@ -78,14 +78,14 @@
buildCounterBackupRun--;
}
-buildUnnamed1061() {
+buildUnnamed1282() {
var o = new core.List<api.BackupRun>();
o.add(buildBackupRun());
o.add(buildBackupRun());
return o;
}
-checkUnnamed1061(core.List<api.BackupRun> o) {
+checkUnnamed1282(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 = buildUnnamed1061();
+ o.items = buildUnnamed1282();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -107,7 +107,7 @@
checkBackupRunsListResponse(api.BackupRunsListResponse o) {
buildCounterBackupRunsListResponse++;
if (buildCounterBackupRunsListResponse < 3) {
- checkUnnamed1061(o.items);
+ checkUnnamed1282(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -183,27 +183,27 @@
buildCounterDatabaseFlags--;
}
-buildUnnamed1062() {
+buildUnnamed1283() {
var o = new core.List<api.IpMapping>();
o.add(buildIpMapping());
o.add(buildIpMapping());
return o;
}
-checkUnnamed1062(core.List<api.IpMapping> o) {
+checkUnnamed1283(core.List<api.IpMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkIpMapping(o[0]);
checkIpMapping(o[1]);
}
-buildUnnamed1063() {
+buildUnnamed1284() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1063(core.List<core.String> o) {
+checkUnnamed1284(core.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 = buildUnnamed1062();
+ o.ipAddresses = buildUnnamed1283();
o.kind = "foo";
o.masterInstanceName = "foo";
o.maxDiskSize = "foo";
o.project = "foo";
o.region = "foo";
- o.replicaNames = buildUnnamed1063();
+ o.replicaNames = buildUnnamed1284();
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'));
- checkUnnamed1062(o.ipAddresses);
+ checkUnnamed1283(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'));
- checkUnnamed1063(o.replicaNames);
+ checkUnnamed1284(o.replicaNames);
checkSslCert(o.serverCaCert);
checkSettings(o.settings);
unittest.expect(o.state, unittest.equals('foo'));
@@ -256,27 +256,27 @@
buildCounterDatabaseInstance--;
}
-buildUnnamed1064() {
+buildUnnamed1285() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1064(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'));
}
-buildUnnamed1065() {
+buildUnnamed1286() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1065(core.List<core.String> o) {
+checkUnnamed1286(core.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 = buildUnnamed1064();
+ o.database = buildUnnamed1285();
o.kind = "foo";
- o.table = buildUnnamed1065();
+ o.table = buildUnnamed1286();
o.uri = "foo";
}
buildCounterExportContext--;
@@ -299,35 +299,35 @@
checkExportContext(api.ExportContext o) {
buildCounterExportContext++;
if (buildCounterExportContext < 3) {
- checkUnnamed1064(o.database);
+ checkUnnamed1285(o.database);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1065(o.table);
+ checkUnnamed1286(o.table);
unittest.expect(o.uri, unittest.equals('foo'));
}
buildCounterExportContext--;
}
-buildUnnamed1066() {
+buildUnnamed1287() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1066(core.List<core.String> o) {
+checkUnnamed1287(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1067() {
+buildUnnamed1288() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1067(core.List<core.String> o) {
+checkUnnamed1288(core.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 = buildUnnamed1066();
- o.appliesTo = buildUnnamed1067();
+ o.allowedStringValues = buildUnnamed1287();
+ o.appliesTo = buildUnnamed1288();
o.kind = "foo";
o.maxValue = "foo";
o.minValue = "foo";
@@ -353,8 +353,8 @@
checkFlag(api.Flag o) {
buildCounterFlag++;
if (buildCounterFlag < 3) {
- checkUnnamed1066(o.allowedStringValues);
- checkUnnamed1067(o.appliesTo);
+ checkUnnamed1287(o.allowedStringValues);
+ checkUnnamed1288(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--;
}
-buildUnnamed1068() {
+buildUnnamed1289() {
var o = new core.List<api.Flag>();
o.add(buildFlag());
o.add(buildFlag());
return o;
}
-checkUnnamed1068(core.List<api.Flag> o) {
+checkUnnamed1289(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 = buildUnnamed1068();
+ o.items = buildUnnamed1289();
o.kind = "foo";
}
buildCounterFlagsListResponse--;
@@ -392,20 +392,20 @@
checkFlagsListResponse(api.FlagsListResponse o) {
buildCounterFlagsListResponse++;
if (buildCounterFlagsListResponse < 3) {
- checkUnnamed1068(o.items);
+ checkUnnamed1289(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFlagsListResponse--;
}
-buildUnnamed1069() {
+buildUnnamed1290() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1069(core.List<core.String> o) {
+checkUnnamed1290(core.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 = buildUnnamed1069();
+ o.uri = buildUnnamed1290();
}
buildCounterImportContext--;
return o;
@@ -429,19 +429,19 @@
if (buildCounterImportContext < 3) {
unittest.expect(o.database, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1069(o.uri);
+ checkUnnamed1290(o.uri);
}
buildCounterImportContext--;
}
-buildUnnamed1070() {
+buildUnnamed1291() {
var o = new core.List<api.OperationError>();
o.add(buildOperationError());
o.add(buildOperationError());
return o;
}
-checkUnnamed1070(core.List<api.OperationError> o) {
+checkUnnamed1291(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 = buildUnnamed1070();
+ o.error = buildUnnamed1291();
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")));
- checkUnnamed1070(o.error);
+ checkUnnamed1291(o.error);
checkExportContext(o.exportContext);
checkImportContext(o.importContext);
unittest.expect(o.instance, unittest.equals('foo'));
@@ -669,14 +669,14 @@
buildCounterInstancesInsertResponse--;
}
-buildUnnamed1071() {
+buildUnnamed1292() {
var o = new core.List<api.DatabaseInstance>();
o.add(buildDatabaseInstance());
o.add(buildDatabaseInstance());
return o;
}
-checkUnnamed1071(core.List<api.DatabaseInstance> o) {
+checkUnnamed1292(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 = buildUnnamed1071();
+ o.items = buildUnnamed1292();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -698,7 +698,7 @@
checkInstancesListResponse(api.InstancesListResponse o) {
buildCounterInstancesListResponse++;
if (buildCounterInstancesListResponse < 3) {
- checkUnnamed1071(o.items);
+ checkUnnamed1292(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -831,14 +831,14 @@
buildCounterInstancesUpdateResponse--;
}
-buildUnnamed1072() {
+buildUnnamed1293() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1072(core.List<core.String> o) {
+checkUnnamed1293(core.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 = buildUnnamed1072();
+ o.authorizedNetworks = buildUnnamed1293();
o.enabled = true;
o.requireSsl = true;
}
@@ -860,7 +860,7 @@
checkIpConfiguration(api.IpConfiguration o) {
buildCounterIpConfiguration++;
if (buildCounterIpConfiguration < 3) {
- checkUnnamed1072(o.authorizedNetworks);
+ checkUnnamed1293(o.authorizedNetworks);
unittest.expect(o.enabled, unittest.isTrue);
unittest.expect(o.requireSsl, unittest.isTrue);
}
@@ -932,14 +932,14 @@
buildCounterOperationError--;
}
-buildUnnamed1073() {
+buildUnnamed1294() {
var o = new core.List<api.InstanceOperation>();
o.add(buildInstanceOperation());
o.add(buildInstanceOperation());
return o;
}
-checkUnnamed1073(core.List<api.InstanceOperation> o) {
+checkUnnamed1294(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 = buildUnnamed1073();
+ o.items = buildUnnamed1294();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -961,7 +961,7 @@
checkOperationsListResponse(api.OperationsListResponse o) {
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
- checkUnnamed1073(o.items);
+ checkUnnamed1294(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -989,40 +989,40 @@
buildCounterSetRootPasswordContext--;
}
-buildUnnamed1074() {
+buildUnnamed1295() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1074(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'));
}
-buildUnnamed1075() {
+buildUnnamed1296() {
var o = new core.List<api.BackupConfiguration>();
o.add(buildBackupConfiguration());
o.add(buildBackupConfiguration());
return o;
}
-checkUnnamed1075(core.List<api.BackupConfiguration> o) {
+checkUnnamed1296(core.List<api.BackupConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackupConfiguration(o[0]);
checkBackupConfiguration(o[1]);
}
-buildUnnamed1076() {
+buildUnnamed1297() {
var o = new core.List<api.DatabaseFlags>();
o.add(buildDatabaseFlags());
o.add(buildDatabaseFlags());
return o;
}
-checkUnnamed1076(core.List<api.DatabaseFlags> o) {
+checkUnnamed1297(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 = buildUnnamed1074();
- o.backupConfiguration = buildUnnamed1075();
- o.databaseFlags = buildUnnamed1076();
+ o.authorizedGaeApplications = buildUnnamed1295();
+ o.backupConfiguration = buildUnnamed1296();
+ o.databaseFlags = buildUnnamed1297();
o.databaseReplicationEnabled = true;
o.ipConfiguration = buildIpConfiguration();
o.kind = "foo";
@@ -1054,9 +1054,9 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
unittest.expect(o.activationPolicy, unittest.equals('foo'));
- checkUnnamed1074(o.authorizedGaeApplications);
- checkUnnamed1075(o.backupConfiguration);
- checkUnnamed1076(o.databaseFlags);
+ checkUnnamed1295(o.authorizedGaeApplications);
+ checkUnnamed1296(o.backupConfiguration);
+ checkUnnamed1297(o.databaseFlags);
unittest.expect(o.databaseReplicationEnabled, unittest.isTrue);
checkIpConfiguration(o.ipConfiguration);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1186,14 +1186,14 @@
buildCounterSslCertsInsertResponse--;
}
-buildUnnamed1077() {
+buildUnnamed1298() {
var o = new core.List<api.SslCert>();
o.add(buildSslCert());
o.add(buildSslCert());
return o;
}
-checkUnnamed1077(core.List<api.SslCert> o) {
+checkUnnamed1298(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 = buildUnnamed1077();
+ o.items = buildUnnamed1298();
o.kind = "foo";
}
buildCounterSslCertsListResponse--;
@@ -1214,20 +1214,20 @@
checkSslCertsListResponse(api.SslCertsListResponse o) {
buildCounterSslCertsListResponse++;
if (buildCounterSslCertsListResponse < 3) {
- checkUnnamed1077(o.items);
+ checkUnnamed1298(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSslCertsListResponse--;
}
-buildUnnamed1078() {
+buildUnnamed1299() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1078(core.List<core.String> o) {
+checkUnnamed1299(core.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 = buildUnnamed1078();
+ o.region = buildUnnamed1299();
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'));
- checkUnnamed1078(o.region);
+ checkUnnamed1299(o.region);
unittest.expect(o.tier, unittest.equals('foo'));
}
buildCounterTier--;
}
-buildUnnamed1079() {
+buildUnnamed1300() {
var o = new core.List<api.Tier>();
o.add(buildTier());
o.add(buildTier());
return o;
}
-checkUnnamed1079(core.List<api.Tier> o) {
+checkUnnamed1300(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 = buildUnnamed1079();
+ o.items = buildUnnamed1300();
o.kind = "foo";
}
buildCounterTiersListResponse--;
@@ -1288,7 +1288,7 @@
checkTiersListResponse(api.TiersListResponse o) {
buildCounterTiersListResponse++;
if (buildCounterTiersListResponse < 3) {
- checkUnnamed1079(o.items);
+ checkUnnamed1300(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 24fd751..b60bef3 100644
--- a/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart
@@ -49,40 +49,40 @@
buildCounterTask--;
}
-buildUnnamed1105() {
+buildUnnamed1167() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1105(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'));
}
-buildUnnamed1106() {
+buildUnnamed1168() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1106(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'));
}
-buildUnnamed1107() {
+buildUnnamed1169() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1107(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'));
@@ -93,9 +93,9 @@
var o = new api.TaskQueueAcl();
buildCounterTaskQueueAcl++;
if (buildCounterTaskQueueAcl < 3) {
- o.adminEmails = buildUnnamed1105();
- o.consumerEmails = buildUnnamed1106();
- o.producerEmails = buildUnnamed1107();
+ o.adminEmails = buildUnnamed1167();
+ o.consumerEmails = buildUnnamed1168();
+ o.producerEmails = buildUnnamed1169();
}
buildCounterTaskQueueAcl--;
return o;
@@ -104,9 +104,9 @@
checkTaskQueueAcl(api.TaskQueueAcl o) {
buildCounterTaskQueueAcl++;
if (buildCounterTaskQueueAcl < 3) {
- checkUnnamed1105(o.adminEmails);
- checkUnnamed1106(o.consumerEmails);
- checkUnnamed1107(o.producerEmails);
+ checkUnnamed1167(o.adminEmails);
+ checkUnnamed1168(o.consumerEmails);
+ checkUnnamed1169(o.producerEmails);
}
buildCounterTaskQueueAcl--;
}
@@ -163,14 +163,14 @@
buildCounterTaskQueue--;
}
-buildUnnamed1108() {
+buildUnnamed1170() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed1108(core.List<api.Task> o) {
+checkUnnamed1170(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 = buildUnnamed1108();
+ o.items = buildUnnamed1170();
o.kind = "foo";
}
buildCounterTasks--;
@@ -191,20 +191,20 @@
checkTasks(api.Tasks o) {
buildCounterTasks++;
if (buildCounterTasks < 3) {
- checkUnnamed1108(o.items);
+ checkUnnamed1170(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTasks--;
}
-buildUnnamed1109() {
+buildUnnamed1171() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed1109(core.List<api.Task> o) {
+checkUnnamed1171(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 = buildUnnamed1109();
+ o.items = buildUnnamed1171();
o.kind = "foo";
}
buildCounterTasks2--;
@@ -225,7 +225,7 @@
checkTasks2(api.Tasks2 o) {
buildCounterTasks2++;
if (buildCounterTasks2 < 3) {
- checkUnnamed1109(o.items);
+ checkUnnamed1171(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTasks2--;
diff --git a/pubspec.lock b/pubspec.lock
index b21eda4..039bf38 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -15,8 +15,8 @@
version: "0.9.0"
discovery_api_client_generator:
description:
- ref: "00b3043ef8e7c9269df63a93cf0f34f209657cb4"
- resolved-ref: "00b3043ef8e7c9269df63a93cf0f34f209657cb4"
+ ref: "357ad269094094ce0b6a4b8316ddc75f3fb7f23c"
+ resolved-ref: "357ad269094094ce0b6a4b8316ddc75f3fb7f23c"
url: "https://github.com/dart-lang/discovery_api_dart_client_generator"
source: git
version: "0.5.1-dev"
diff --git a/pubspec.yaml b/pubspec.yaml
index 3302406..8d330a8 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -6,5 +6,5 @@
discovery_api_client_generator:
git:
url: https://github.com/dart-lang/discovery_api_dart_client_generator
- ref: 00b3043ef8e7c9269df63a93cf0f34f209657cb4
+ ref: 357ad269094094ce0b6a4b8316ddc75f3fb7f23c
version: ">=0.5.0 <0.6.0"
diff --git a/resources/googleapis/CHANGELOG.md b/resources/googleapis/CHANGELOG.md
index 17d617f..57f9bbc 100644
--- a/resources/googleapis/CHANGELOG.md
+++ b/resources/googleapis/CHANGELOG.md
@@ -1,3 +1,11 @@
+## 0.2.1
+
+* [apis-new] adexchangeseller:v2.0: API added
+* [apis-new] civicinfo:v2: API added
+* [apis-new] webmasters:v3: API added
+* [apis] civicinfo:v1: schema changes
+* [apis] youtube:v3: schema changes
+
## 0.2.0
* [apis] admin:directory: additional schemas/methods
diff --git a/resources/googleapis_beta/CHANGELOG.md b/resources/googleapis_beta/CHANGELOG.md
index 9954163..553410a 100644
--- a/resources/googleapis_beta/CHANGELOG.md
+++ b/resources/googleapis_beta/CHANGELOG.md
@@ -1,3 +1,8 @@
+## 0.2.1
+
+* [apis-new] resourceviews:v1beta2: API added
+* [apis] genomics:v1beta: additional method/schema changes
+
## 0.2.0
* [apis] autoscaler:v1beta2: schema changes