Api-roll 48: 2017-04-18
R=vegorov@google.com
Review-Url: https://codereview.chromium.org//2824163002 .
diff --git a/generated/googleapis/CHANGELOG.md b/generated/googleapis/CHANGELOG.md
index d4dc530..01a45a9 100644
--- a/generated/googleapis/CHANGELOG.md
+++ b/generated/googleapis/CHANGELOG.md
@@ -1,3 +1,27 @@
+## 0.39.0
+
+[api-new] tracing:v2
+[api] books:v1
+[api] compute:v1
+[api] container:v1
+[api] drive:v2
+[api] drive:v3
+[api] iam:v1
+[api] identitytoolkit:v3
+[api] logging:v2
+[api] servicemanagement:v1
+[api] serviceuser:v1
+[api] storage:v1
+[api-breaking] cloudfunctions:v1
+[api-breaking] cloudresourcemanager:v1
+[api-breaking] compute:v1
+[api-breaking] consumersurveys:v2
+[api-breaking] content:v2
+[api-breaking] servicemanagement:v1
+[api-breaking] storagetransfer:v1
+[api-breaking] surveys:v2
+[api-removed] tracingv1
+
## 0.37.0
* [api-new] cloudfunctions:v1
diff --git a/generated/googleapis/README.md b/generated/googleapis/README.md
index 9fddfcc..890be2a 100644
--- a/generated/googleapis/README.md
+++ b/generated/googleapis/README.md
@@ -155,7 +155,7 @@
####  Google App Engine Admin API - appengine v1
-Provisions and manages App Engine applications.
+The App Engine Admin API enables developers to provision and manage their App Engine applications.
Official API documentation: https://cloud.google.com/appengine/docs/admin-api/
@@ -264,7 +264,7 @@
####  Google Container Engine API - container v1
-Builds and manages clusters that run container-based applications, powered by open source Kubernetes technology.
+The Google Container Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.
Official API documentation: https://cloud.google.com/container-engine/
@@ -660,7 +660,7 @@
Official API documentation: https://developers.google.com/google-apps/tasks/firstapp
-####  Google Tracing API - tracing v1
+####  Google Tracing API - tracing v2
Send and retrieve trace data from Google Stackdriver Trace.
diff --git a/generated/googleapis/lib/admin/reports_v1.dart b/generated/googleapis/lib/admin/reports_v1.dart
index a7c0798..b22a764 100644
--- a/generated/googleapis/lib/admin/reports_v1.dart
+++ b/generated/googleapis/lib/admin/reports_v1.dart
@@ -322,7 +322,7 @@
* [parameters] - Represents the application name, parameter name pairs to
* fetch in csv as app_name1:param_name1, app_name2:param_name2.
* Value must have pattern
- * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)".
+ * "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)".
*
* Completes with a [UsageReports].
*
@@ -393,7 +393,7 @@
* [filters] - Represents the set of filters including parameter operator
* value.
* Value must have pattern
- * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)".
+ * "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)".
*
* [maxResults] - Maximum number of results to return. Maximum allowed is 1000
*
@@ -402,7 +402,7 @@
* [parameters] - Represents the application name, parameter name pairs to
* fetch in csv as app_name1:param_name1, app_name2:param_name2.
* Value must have pattern
- * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)".
+ * "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)".
*
* Completes with a [UsageReports].
*
diff --git a/generated/googleapis/lib/androidenterprise/v1.dart b/generated/googleapis/lib/androidenterprise/v1.dart
index 3f17333..81a09e1 100644
--- a/generated/googleapis/lib/androidenterprise/v1.dart
+++ b/generated/googleapis/lib/androidenterprise/v1.dart
@@ -632,8 +632,7 @@
/**
* Returns the store layout for the enterprise. If the store layout has not
- * been set, or if the store layout has no homepageId set, returns a NOT_FOUND
- * error.
+ * been set, returns "basic" as the store layout type and no homepage.
*
* Request parameters:
*
@@ -916,8 +915,8 @@
* contains apps approved by the admin, and that have been added to the
* available product set for a user (using the setAvailableProductSet call).
* Apps on the page are sorted in order of their product ID value. If you
- * create a custom store layout (by setting storeLayoutType = "custom"), the
- * basic store layout is disabled.
+ * create a custom store layout (by setting storeLayoutType = "custom" and
+ * setting a homepage), the basic store layout is disabled.
*
* [request] - The metadata request object.
*
@@ -6579,15 +6578,11 @@
*/
class StoreLayout {
/**
- * The ID of the store page to be used as the homepage. The homepage will be
- * used as the first page shown in the managed Google Play store.
+ * The ID of the store page to be used as the homepage. The homepage is the
+ * first page shown in the managed Google Play Store.
*
- * If a homepage has not been set, the Play store shown on devices will be
- * empty. Not specifying a homepage on a store layout effectively empties the
- * store.
- *
- * If there exists at least one page, this field must be set to the ID of a
- * valid page.
+ * Not specifying a homepage is equivalent to setting the store layout type to
+ * "basic".
*/
core.String homepageId;
/**
@@ -6596,13 +6591,10 @@
*/
core.String kind;
/**
- * The store layout type. By default, this value is set to "basic". If set to
- * "custom", "homepageId" must be specified. If set to "basic", the layout
- * will consist of all approved apps accessible by the user, split in pages of
- * 100 each; in this case, "homepageId" must not be specified. The "basic"
- * setting takes precedence over any existing collections setup for this
- * enterprise (if any). Should the enterprise use collectionViewers for
- * controlling access rights, these will still be respected.
+ * The store layout type. By default, this value is set to "basic" if the
+ * homepageId field is not set, and to "custom" otherwise. If set to "basic",
+ * the layout will consist of all approved apps that have been whitelisted for
+ * the user.
*/
core.String storeLayoutType;
diff --git a/generated/googleapis/lib/appengine/v1.dart b/generated/googleapis/lib/appengine/v1.dart
index a28db0c..f931428 100644
--- a/generated/googleapis/lib/appengine/v1.dart
+++ b/generated/googleapis/lib/appengine/v1.dart
@@ -14,7 +14,10 @@
const core.String USER_AGENT = 'dart-api-client appengine/v1';
-/** Provisions and manages App Engine applications. */
+/**
+ * The App Engine Admin API enables developers to provision and manage their App
+ * Engine applications.
+ */
class AppengineApi {
/** View and manage your applications deployed on Google App Engine */
static const AppengineAdminScope = "https://www.googleapis.com/auth/appengine.admin";
@@ -47,11 +50,12 @@
/**
* Creates an App Engine application for a Google Cloud Platform project.
- * Required fields: id - The ID of the target Cloud Platform project. location
- * - The region (https://cloud.google.com/appengine/docs/locations) where you
- * want the App Engine application located.For more information about App
- * Engine applications, see Managing Projects, Applications, and Billing
- * (https://cloud.google.com/appengine/docs/python/console/).
+ * Required fields:
+ * id - The ID of the target Cloud Platform project.
+ * location - The region (https://cloud.google.com/appengine/docs/locations)
+ * where you want the App Engine application located.For more information
+ * about App Engine applications, see Managing Projects, Applications, and
+ * Billing (https://cloud.google.com/appengine/docs/python/console/).
*
* [request] - The metadata request object.
*
@@ -131,9 +135,10 @@
/**
* Updates the specified Application resource. You can update the following
- * fields: auth_domain - Google authentication domain for controlling user
- * access to the application. default_cookie_expiration - Cookie expiration
- * policy for the application.
+ * fields:
+ * auth_domain - Google authentication domain for controlling user access to
+ * the application.
+ * default_cookie_expiration - Cookie expiration policy for the application.
*
* [request] - The metadata request object.
*
@@ -291,11 +296,11 @@
* [appsId] - Part of `name`. The resource that owns the locations collection,
* if applicable.
*
- * [filter] - The standard list filter.
+ * [pageToken] - The standard list page token.
*
* [pageSize] - The standard list page size.
*
- * [pageToken] - The standard list page token.
+ * [filter] - The standard list filter.
*
* Completes with a [ListLocationsResponse].
*
@@ -305,7 +310,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLocationsResponse> list(core.String appsId, {core.String filter, core.int pageSize, core.String pageToken}) {
+ async.Future<ListLocationsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -316,14 +321,14 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
_url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations';
@@ -405,10 +410,10 @@
*
* [filter] - The standard list filter.
*
- * [pageSize] - The standard list page size.
- *
* [pageToken] - The standard list page token.
*
+ * [pageSize] - The standard list page size.
+ *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -417,7 +422,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list(core.String appsId, {core.String filter, core.int pageSize, core.String pageToken}) {
+ async.Future<ListOperationsResponse> list(core.String appsId, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -431,12 +436,12 @@
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations';
@@ -559,10 +564,10 @@
* [appsId] - Part of `parent`. Name of the parent Application resource.
* Example: apps/myapp.
*
- * [pageSize] - Maximum results to return per page.
- *
* [pageToken] - Continuation token for fetching the next page of results.
*
+ * [pageSize] - Maximum results to return per page.
+ *
* Completes with a [ListServicesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -571,7 +576,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListServicesResponse> list(core.String appsId, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListServicesResponse> list(core.String appsId, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -582,12 +587,12 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services';
@@ -613,8 +618,6 @@
*
* [servicesId] - Part of `name`. See documentation of `appsId`.
*
- * [updateMask] - Standard field mask for the set of fields to be updated.
- *
* [migrateTraffic] - Set to true to gradually shift traffic to one or more
* versions that you specify. By default, traffic is shifted immediately. For
* gradual traffic migration, the target versions must be located within
@@ -629,6 +632,8 @@
* Splitting Traffic
* (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
*
+ * [updateMask] - Standard field mask for the set of fields to be updated.
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -637,7 +642,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(Service request, core.String appsId, core.String servicesId, {core.String updateMask, core.bool migrateTraffic}) {
+ async.Future<Operation> patch(Service request, core.String appsId, core.String servicesId, {core.bool migrateTraffic, core.String updateMask}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -654,12 +659,12 @@
if (servicesId == null) {
throw new core.ArgumentError("Parameter servicesId is required.");
}
- if (updateMask != null) {
- _queryParams["updateMask"] = [updateMask];
- }
if (migrateTraffic != null) {
_queryParams["migrateTraffic"] = ["${migrateTraffic}"];
}
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
_url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId');
@@ -853,15 +858,15 @@
*
* [servicesId] - Part of `parent`. See documentation of `appsId`.
*
+ * [pageToken] - Continuation token for fetching the next page of results.
+ *
+ * [pageSize] - Maximum results to return per page.
+ *
* [view] - Controls the set of fields returned in the List response.
* Possible string values are:
* - "BASIC" : A BASIC.
* - "FULL" : A FULL.
*
- * [pageSize] - Maximum results to return per page.
- *
- * [pageToken] - Continuation token for fetching the next page of results.
- *
* Completes with a [ListVersionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -870,7 +875,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListVersionsResponse> list(core.String appsId, core.String servicesId, {core.String view, core.int pageSize, core.String pageToken}) {
+ async.Future<ListVersionsResponse> list(core.String appsId, core.String servicesId, {core.String pageToken, core.int pageSize, core.String view}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -884,14 +889,14 @@
if (servicesId == null) {
throw new core.ArgumentError("Parameter servicesId is required.");
}
- if (view != null) {
- _queryParams["view"] = [view];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (view != null) {
+ _queryParams["view"] = [view];
}
_url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions';
@@ -909,18 +914,21 @@
/**
* Updates the specified Version resource. You can specify the following
* fields depending on the App Engine environment and type of scaling that the
- * version resource uses: serving_status
+ * version resource uses:
+ * serving_status
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status):
- * For Version resources that use basic scaling, manual scaling, or run in the
- * App Engine flexible environment. instance_class
+ * For Version resources that use basic scaling, manual scaling, or run in
+ * the App Engine flexible environment.
+ * instance_class
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class):
* For Version resources that run in the App Engine standard environment.
* automatic_scaling.min_idle_instances
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
- * For Version resources that use automatic scaling and run in the App Engine
- * standard environment. automatic_scaling.max_idle_instances
+ * For Version resources that use automatic scaling and run in the App Engine
+ * standard environment.
+ * automatic_scaling.max_idle_instances
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
- * For Version resources that use automatic scaling and run in the App Engine
+ * For Version resources that use automatic scaling and run in the App Engine
* standard environment.
*
* [request] - The metadata request object.
@@ -1178,10 +1186,10 @@
*
* [versionsId] - Part of `parent`. See documentation of `appsId`.
*
- * [pageSize] - Maximum results to return per page.
- *
* [pageToken] - Continuation token for fetching the next page of results.
*
+ * [pageSize] - Maximum results to return per page.
+ *
* Completes with a [ListInstancesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1190,7 +1198,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListInstancesResponse> list(core.String appsId, core.String servicesId, core.String versionsId, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListInstancesResponse> list(core.String appsId, core.String servicesId, core.String versionsId, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1207,12 +1215,12 @@
if (versionsId == null) {
throw new core.ArgumentError("Parameter versionsId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.ecapeVariable('$versionsId') + '/instances';
@@ -1240,18 +1248,26 @@
* Action to take when users access resources that require authentication.
* Defaults to redirect.
* Possible string values are:
- * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED.
- * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT.
- * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED.
+ * - "AUTH_FAIL_ACTION_UNSPECIFIED" : Not specified. AUTH_FAIL_ACTION_REDIRECT
+ * is assumed.
+ * - "AUTH_FAIL_ACTION_REDIRECT" : Redirects user to "accounts.google.com".
+ * The user is redirected back to the application URL after signing in or
+ * creating an account.
+ * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : Rejects request with a 401 HTTP status
+ * code and an error message.
*/
core.String authFailAction;
/**
* Level of login required to access this resource. Defaults to optional.
* Possible string values are:
- * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED.
- * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL.
- * - "LOGIN_ADMIN" : A LOGIN_ADMIN.
- * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED.
+ * - "LOGIN_UNSPECIFIED" : Not specified. LOGIN_OPTIONAL is assumed.
+ * - "LOGIN_OPTIONAL" : Does not require that the user is signed in.
+ * - "LOGIN_ADMIN" : If the user is not signed in, the auth_fail_action is
+ * taken. In addition, if the user is not an administrator for the
+ * application, they are given an error message regardless of
+ * auth_fail_action. If the user is an administrator, the handler proceeds.
+ * - "LOGIN_REQUIRED" : If the user has signed in, the handler proceeds
+ * normally. Otherwise, the auth_fail_action is taken.
*/
core.String login;
/** Path to the script from the application root directory. */
@@ -1259,11 +1275,18 @@
/**
* Security (HTTPS) enforcement for this URL.
* Possible string values are:
- * - "SECURE_UNSPECIFIED" : A SECURE_UNSPECIFIED.
- * - "SECURE_DEFAULT" : A SECURE_DEFAULT.
- * - "SECURE_NEVER" : A SECURE_NEVER.
- * - "SECURE_OPTIONAL" : A SECURE_OPTIONAL.
- * - "SECURE_ALWAYS" : A SECURE_ALWAYS.
+ * - "SECURE_UNSPECIFIED" : Not specified.
+ * - "SECURE_DEFAULT" : Both HTTP and HTTPS requests with URLs that match the
+ * handler succeed without redirects. The application can examine the request
+ * to determine which protocol was used, and respond accordingly.
+ * - "SECURE_NEVER" : Requests for a URL that match this handler that use
+ * HTTPS are automatically redirected to the HTTP equivalent URL.
+ * - "SECURE_OPTIONAL" : Both HTTP and HTTPS requests with URLs that match the
+ * handler succeed without redirects. The application can examine the request
+ * to determine which protocol was used and respond accordingly.
+ * - "SECURE_ALWAYS" : Requests for a URL that match this handler that do not
+ * use HTTPS are automatically redirected to the HTTPS URL with the same path.
+ * Query parameters are reserved for the redirect.
*/
core.String securityLevel;
/** URL to serve the endpoint at. */
@@ -1394,10 +1417,10 @@
/**
* Serving status of this application.
* Possible string values are:
- * - "UNSPECIFIED" : A UNSPECIFIED.
- * - "SERVING" : A SERVING.
- * - "USER_DISABLED" : A USER_DISABLED.
- * - "SYSTEM_DISABLED" : A SYSTEM_DISABLED.
+ * - "UNSPECIFIED" : Serving status is unspecified.
+ * - "SERVING" : Application is serving.
+ * - "USER_DISABLED" : Application has been disabled by the user.
+ * - "SYSTEM_DISABLED" : Application has been disabled by the system.
*/
core.String servingStatus;
@@ -1723,8 +1746,9 @@
/** Request message for Instances.DebugInstance. */
class DebugInstanceRequest {
/**
- * Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa
- * [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
+ * Public SSH key to add to the instance. Examples:
+ * [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]
+ * [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
* {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information,
* see Adding and Removing SSH Keys
* (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
@@ -1886,11 +1910,12 @@
/**
* Error condition this handler applies to.
* Possible string values are:
- * - "ERROR_CODE_UNSPECIFIED" : A ERROR_CODE_UNSPECIFIED.
- * - "ERROR_CODE_DEFAULT" : A ERROR_CODE_DEFAULT.
- * - "ERROR_CODE_OVER_QUOTA" : A ERROR_CODE_OVER_QUOTA.
- * - "ERROR_CODE_DOS_API_DENIAL" : A ERROR_CODE_DOS_API_DENIAL.
- * - "ERROR_CODE_TIMEOUT" : A ERROR_CODE_TIMEOUT.
+ * - "ERROR_CODE_UNSPECIFIED" : Not specified. ERROR_CODE_DEFAULT is assumed.
+ * - "ERROR_CODE_DEFAULT" : All other error types.
+ * - "ERROR_CODE_OVER_QUOTA" : Application has exceeded a resource quota.
+ * - "ERROR_CODE_DOS_API_DENIAL" : Client blocked by the application's Denial
+ * of Service protection configuration.
+ * - "ERROR_CODE_TIMEOUT" : Deadline reached before the application responds.
*/
core.String errorCode;
/** MIME type of file. Defaults to text/html. */
@@ -1940,7 +1965,8 @@
core.String sha1Sum;
/**
* URL source to use to fetch this file. Must be a URL to a resource in Google
- * Cloud Storage in the form 'http(s)://storage.googleapis.com//'.
+ * Cloud Storage in the form
+ * 'http(s)://storage.googleapis.com/<bucket>/<object>'.
*/
core.String sourceUrl;
@@ -2124,9 +2150,9 @@
/**
* Availability of the instance.@OutputOnly
* Possible string values are:
- * - "UNSPECIFIED" : A UNSPECIFIED.
- * - "RESIDENT" : A RESIDENT.
- * - "DYNAMIC" : A DYNAMIC.
+ * - "UNSPECIFIED"
+ * - "RESIDENT"
+ * - "DYNAMIC"
*/
core.String availability;
/** Average latency (ms) over the last minute.@OutputOnly */
@@ -2693,16 +2719,17 @@
* Google Cloud Platform sub-network where the virtual machines are created.
* Specify the short name, not the resource path.If a subnetwork name is
* specified, a network name will also be required unless it is for the
- * default network. If the network the VM instance is being created in is a
- * Legacy network, then the IP address is allocated from the IPv4Range. If the
- * network the VM instance is being created in is an auto Subnet Mode Network,
- * then only network name should be specified (not the subnetwork_name) and
- * the IP address is created from the IPCidrRange of the subnetwork that
- * exists in that zone for that network. If the network the VM instance is
- * being created in is a custom Subnet Mode Network, then the subnetwork_name
- * must be specified and the IP address is created from the IPCidrRange of the
- * subnetwork.If specified, the subnetwork must exist in the same region as
- * the Flex app.
+ * default network.
+ * If the network the VM instance is being created in is a Legacy network,
+ * then the IP address is allocated from the IPv4Range.
+ * If the network the VM instance is being created in is an auto Subnet Mode
+ * Network, then only network name should be specified (not the
+ * subnetwork_name) and the IP address is created from the IPCidrRange of the
+ * subnetwork that exists in that zone for that network.
+ * If the network the VM instance is being created in is a custom Subnet Mode
+ * Network, then the subnetwork_name must be specified and the IP address is
+ * created from the IPCidrRange of the subnetwork.If specified, the subnetwork
+ * must exist in the same region as the Flex app.
*/
core.String subnetworkName;
@@ -3557,36 +3584,38 @@
/**
* The Status type defines a logical error model that is suitable for different
* programming environments, including REST APIs and RPC APIs. It is used by
- * gRPC (https://github.com/grpc). The error model is designed to be: Simple to
- * use and understand for most users Flexible enough to meet unexpected
- * needsOverviewThe Status message contains three pieces of data: error code,
- * error message, and error details. The error code should be an enum value of
- * google.rpc.Code, but it may accept additional error codes if needed. The
- * error message should be a developer-facing English message that helps
- * developers understand and resolve the error. If a localized user-facing error
- * message is needed, put the localized message in the error details or localize
- * it in the client. The optional error details may contain arbitrary
- * information about the error. There is a predefined set of error detail types
- * in the package google.rpc which can be used for common error
- * conditions.Language mappingThe Status message is the logical representation
- * of the error model, but it is not necessarily the actual wire format. When
- * the Status message is exposed in different client libraries and different
- * wire protocols, it can be mapped differently. For example, it will likely be
- * mapped to some exceptions in Java, but more likely mapped to some error codes
- * in C.Other usesThe error model and the Status message can be used in a
- * variety of environments, either with or without APIs, to provide a consistent
- * developer experience across different environments.Example uses of this error
- * model include: Partial errors. If a service needs to return partial errors to
- * the client, it may embed the Status in the normal response to indicate the
- * partial errors. Workflow errors. A typical workflow has multiple steps. Each
- * step may have a Status message for error reporting purpose. Batch operations.
- * If a client uses batch request and batch response, the Status message should
- * be used directly inside batch response, one for each error sub-response.
+ * gRPC (https://github.com/grpc). The error model is designed to be:
+ * Simple to use and understand for most users
+ * Flexible enough to meet unexpected needsOverviewThe Status message contains
+ * three pieces of data: error code, error message, and error details. The error
+ * code should be an enum value of google.rpc.Code, but it may accept additional
+ * error codes if needed. The error message should be a developer-facing English
+ * message that helps developers understand and resolve the error. If a
+ * localized user-facing error message is needed, put the localized message in
+ * the error details or localize it in the client. The optional error details
+ * may contain arbitrary information about the error. There is a predefined set
+ * of error detail types in the package google.rpc which can be used for common
+ * error conditions.Language mappingThe Status message is the logical
+ * representation of the error model, but it is not necessarily the actual wire
+ * format. When the Status message is exposed in different client libraries and
+ * different wire protocols, it can be mapped differently. For example, it will
+ * likely be mapped to some exceptions in Java, but more likely mapped to some
+ * error codes in C.Other usesThe error model and the Status message can be used
+ * in a variety of environments, either with or without APIs, to provide a
+ * consistent developer experience across different environments.Example uses of
+ * this error model include:
+ * Partial errors. If a service needs to return partial errors to the client, it
+ * may embed the Status in the normal response to indicate the partial errors.
+ * Workflow errors. A typical workflow has multiple steps. Each step may have a
+ * Status message for error reporting purpose.
+ * Batch operations. If a client uses batch request and batch response, the
+ * Status message should be used directly inside batch response, one for each
+ * error sub-response.
* Asynchronous operations. If an API call embeds asynchronous operation results
* in its response, the status of those operations should be represented
- * directly using the Status message. Logging. If some API errors are stored in
- * logs, the message Status could be used directly after any stripping needed
- * for security/privacy reasons.
+ * directly using the Status message.
+ * Logging. If some API errors are stored in logs, the message Status could be
+ * used directly after any stripping needed for security/privacy reasons.
*/
class Status {
/** The status code, which should be an enum value of google.rpc.Code. */
@@ -3655,10 +3684,14 @@
* selection algorithm will be stable for either type until allocations are
* changed.
* Possible string values are:
- * - "UNSPECIFIED" : A UNSPECIFIED.
- * - "COOKIE" : A COOKIE.
- * - "IP" : A IP.
- * - "RANDOM" : A RANDOM.
+ * - "UNSPECIFIED" : Diversion method unspecified.
+ * - "COOKIE" : Diversion based on a specially named cookie, "GOOGAPPUID." The
+ * cookie must be set by the application itself or no diversion will occur.
+ * - "IP" : Diversion based on applying the modulus operation to a fingerprint
+ * of the IP address.
+ * - "RANDOM" : Diversion based on weighted random assignment. An incoming
+ * request is randomly routed to a version in the traffic split, with
+ * probability proportional to the version's traffic share.
*/
core.String shardBy;
@@ -3745,30 +3778,38 @@
* Action to take when users access resources that require authentication.
* Defaults to redirect.
* Possible string values are:
- * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED.
- * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT.
- * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED.
+ * - "AUTH_FAIL_ACTION_UNSPECIFIED" : Not specified. AUTH_FAIL_ACTION_REDIRECT
+ * is assumed.
+ * - "AUTH_FAIL_ACTION_REDIRECT" : Redirects user to "accounts.google.com".
+ * The user is redirected back to the application URL after signing in or
+ * creating an account.
+ * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : Rejects request with a 401 HTTP status
+ * code and an error message.
*/
core.String authFailAction;
/**
* Level of login required to access this resource.
* Possible string values are:
- * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED.
- * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL.
- * - "LOGIN_ADMIN" : A LOGIN_ADMIN.
- * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED.
+ * - "LOGIN_UNSPECIFIED" : Not specified. LOGIN_OPTIONAL is assumed.
+ * - "LOGIN_OPTIONAL" : Does not require that the user is signed in.
+ * - "LOGIN_ADMIN" : If the user is not signed in, the auth_fail_action is
+ * taken. In addition, if the user is not an administrator for the
+ * application, they are given an error message regardless of
+ * auth_fail_action. If the user is an administrator, the handler proceeds.
+ * - "LOGIN_REQUIRED" : If the user has signed in, the handler proceeds
+ * normally. Otherwise, the auth_fail_action is taken.
*/
core.String login;
/**
* 30x code to use when performing redirects for the secure field. Defaults to
* 302.
* Possible string values are:
- * - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : A
- * REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED.
- * - "REDIRECT_HTTP_RESPONSE_CODE_301" : A REDIRECT_HTTP_RESPONSE_CODE_301.
- * - "REDIRECT_HTTP_RESPONSE_CODE_302" : A REDIRECT_HTTP_RESPONSE_CODE_302.
- * - "REDIRECT_HTTP_RESPONSE_CODE_303" : A REDIRECT_HTTP_RESPONSE_CODE_303.
- * - "REDIRECT_HTTP_RESPONSE_CODE_307" : A REDIRECT_HTTP_RESPONSE_CODE_307.
+ * - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : Not specified. 302 is
+ * assumed.
+ * - "REDIRECT_HTTP_RESPONSE_CODE_301" : 301 Moved Permanently code.
+ * - "REDIRECT_HTTP_RESPONSE_CODE_302" : 302 Moved Temporarily code.
+ * - "REDIRECT_HTTP_RESPONSE_CODE_303" : 303 See Other code.
+ * - "REDIRECT_HTTP_RESPONSE_CODE_307" : 307 Temporary Redirect code.
*/
core.String redirectHttpResponseCode;
/** Executes a script to handle the request that matches this URL pattern. */
@@ -3776,11 +3817,18 @@
/**
* Security (HTTPS) enforcement for this URL.
* Possible string values are:
- * - "SECURE_UNSPECIFIED" : A SECURE_UNSPECIFIED.
- * - "SECURE_DEFAULT" : A SECURE_DEFAULT.
- * - "SECURE_NEVER" : A SECURE_NEVER.
- * - "SECURE_OPTIONAL" : A SECURE_OPTIONAL.
- * - "SECURE_ALWAYS" : A SECURE_ALWAYS.
+ * - "SECURE_UNSPECIFIED" : Not specified.
+ * - "SECURE_DEFAULT" : Both HTTP and HTTPS requests with URLs that match the
+ * handler succeed without redirects. The application can examine the request
+ * to determine which protocol was used, and respond accordingly.
+ * - "SECURE_NEVER" : Requests for a URL that match this handler that use
+ * HTTPS are automatically redirected to the HTTP equivalent URL.
+ * - "SECURE_OPTIONAL" : Both HTTP and HTTPS requests with URLs that match the
+ * handler succeed without redirects. The application can examine the request
+ * to determine which protocol was used and respond accordingly.
+ * - "SECURE_ALWAYS" : Requests for a URL that match this handler that do not
+ * use HTTPS are automatically redirected to the HTTPS URL with the same path.
+ * Query parameters are reserved for the redirect.
*/
core.String securityLevel;
/** Returns the contents of a file, such as an image, as the response. */
@@ -3948,9 +3996,9 @@
core.List<core.String> inboundServices;
/**
* Instance class that is used to run this version. Valid values are:
- * AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2,
- * B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling
- * or BasicScaling.
+ * AutomaticScaling: F1, F2, F4, F4_1G
+ * ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for
+ * AutomaticScaling and B1 for ManualScaling or BasicScaling.
*/
core.String instanceClass;
/**
@@ -3997,9 +4045,11 @@
* status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
* invalid value. Defaults to SERVING.
* Possible string values are:
- * - "SERVING_STATUS_UNSPECIFIED" : A SERVING_STATUS_UNSPECIFIED.
- * - "SERVING" : A SERVING.
- * - "STOPPED" : A STOPPED.
+ * - "SERVING_STATUS_UNSPECIFIED" : Not specified.
+ * - "SERVING" : Currently serving. Instances are created according to the
+ * scaling settings of the version.
+ * - "STOPPED" : Disabled. No instances will be created and the scaling
+ * settings are ignored until the state of the version changes to SERVING.
*/
core.String servingStatus;
/** Whether multiple requests can be dispatched to this version at once. */
@@ -4259,7 +4309,8 @@
core.int filesCount;
/**
* URL of the zip file to deploy from. Must be a URL to a resource in Google
- * Cloud Storage in the form 'http(s)://storage.googleapis.com//'.
+ * Cloud Storage in the form
+ * 'http(s)://storage.googleapis.com/<bucket>/<object>'.
*/
core.String sourceUrl;
diff --git a/generated/googleapis/lib/bigquery/v2.dart b/generated/googleapis/lib/bigquery/v2.dart
index 2795b3b..b5de958 100644
--- a/generated/googleapis/lib/bigquery/v2.dart
+++ b/generated/googleapis/lib/bigquery/v2.dart
@@ -2823,8 +2823,8 @@
* [Optional] Specifies a string that represents a null value in a CSV file.
* For example, if you specify "\N", BigQuery interprets "\N" as a null value
* when loading a CSV file. The default value is the empty string. If you set
- * this property to a custom value, BigQuery still interprets the empty string
- * as a null value for all data types except for STRING and BYTE. For STRING
+ * this property to a custom value, BigQuery throws an error if an empty
+ * string is present for all data types except for STRING and BYTE. For STRING
* and BYTE columns, BigQuery interprets the empty string as an empty value.
*/
core.String nullMarker;
@@ -3038,8 +3038,10 @@
class JobConfigurationQuery {
/**
- * If true, allows the query to produce arbitrarily large result tables at a
- * slight cost in performance. Requires destinationTable to be set.
+ * [Optional] If true and query uses legacy SQL dialect, allows the query to
+ * produce arbitrarily large result tables at a slight cost in performance.
+ * Requires destinationTable to be set. For standard SQL queries, this flag is
+ * ignored and large results are always allowed.
*/
core.bool allowLargeResults;
/**
@@ -3062,9 +3064,10 @@
*/
TableReference destinationTable;
/**
- * [Optional] Flattens all nested and repeated fields in the query results.
- * The default value is true. allowLargeResults must be true if this is set to
- * false.
+ * [Optional] If true and query uses legacy SQL dialect, flattens all nested
+ * and repeated fields in the query results. allowLargeResults must be true if
+ * this is set to false. For standard SQL queries, this flag is ignored and
+ * results are never flattened.
*/
core.bool flattenResults;
/**
diff --git a/generated/googleapis/lib/books/v1.dart b/generated/googleapis/lib/books/v1.dart
index 919f7d4..69d4fa8 100644
--- a/generated/googleapis/lib/books/v1.dart
+++ b/generated/googleapis/lib/books/v1.dart
@@ -1288,6 +1288,8 @@
*
* Request parameters:
*
+ * [annotationId] - The ID for the annotation to insert.
+ *
* [country] - ISO-3166-1 code to override the IP-based location.
*
* [showOnlySummaryInResponse] - Requests that only the summary of the
@@ -1303,7 +1305,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Annotation> insert(Annotation request, {core.String country, core.bool showOnlySummaryInResponse, core.String source}) {
+ async.Future<Annotation> insert(Annotation request, {core.String annotationId, core.String country, core.bool showOnlySummaryInResponse, core.String source}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1314,6 +1316,9 @@
if (request != null) {
_body = convert.JSON.encode((request).toJson());
}
+ if (annotationId != null) {
+ _queryParams["annotationId"] = [annotationId];
+ }
if (country != null) {
_queryParams["country"] = [country];
}
@@ -6270,9 +6275,30 @@
}
}
+class UsersettingsNotificationRewardExpirations {
+ core.String optedState;
+
+ UsersettingsNotificationRewardExpirations();
+
+ UsersettingsNotificationRewardExpirations.fromJson(core.Map _json) {
+ if (_json.containsKey("opted_state")) {
+ optedState = _json["opted_state"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (optedState != null) {
+ _json["opted_state"] = optedState;
+ }
+ return _json;
+ }
+}
+
class UsersettingsNotification {
UsersettingsNotificationMoreFromAuthors moreFromAuthors;
UsersettingsNotificationMoreFromSeries moreFromSeries;
+ UsersettingsNotificationRewardExpirations rewardExpirations;
UsersettingsNotification();
@@ -6283,6 +6309,9 @@
if (_json.containsKey("moreFromSeries")) {
moreFromSeries = new UsersettingsNotificationMoreFromSeries.fromJson(_json["moreFromSeries"]);
}
+ if (_json.containsKey("rewardExpirations")) {
+ rewardExpirations = new UsersettingsNotificationRewardExpirations.fromJson(_json["rewardExpirations"]);
+ }
}
core.Map toJson() {
@@ -6293,6 +6322,9 @@
if (moreFromSeries != null) {
_json["moreFromSeries"] = (moreFromSeries).toJson();
}
+ if (rewardExpirations != null) {
+ _json["rewardExpirations"] = (rewardExpirations).toJson();
+ }
return _json;
}
}
diff --git a/generated/googleapis/lib/cloudbuild/v1.dart b/generated/googleapis/lib/cloudbuild/v1.dart
index 2d8e4c9..7008468 100644
--- a/generated/googleapis/lib/cloudbuild/v1.dart
+++ b/generated/googleapis/lib/cloudbuild/v1.dart
@@ -365,12 +365,12 @@
*
* [projectId] - ID of the project.
*
+ * [pageToken] - Token to provide to skip to a particular spot in the list.
+ *
* [pageSize] - Number of results to return in the list.
*
* [filter] - The raw filter text to constrain the results.
*
- * [pageToken] - Token to provide to skip to a particular spot in the list.
- *
* Completes with a [ListBuildsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -379,7 +379,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListBuildsResponse> list(core.String projectId, {core.int pageSize, core.String filter, core.String pageToken}) {
+ async.Future<ListBuildsResponse> list(core.String projectId, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -390,15 +390,15 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/builds';
diff --git a/generated/googleapis/lib/clouddebugger/v2.dart b/generated/googleapis/lib/clouddebugger/v2.dart
index b2082c6..788f7d9 100644
--- a/generated/googleapis/lib/clouddebugger/v2.dart
+++ b/generated/googleapis/lib/clouddebugger/v2.dart
@@ -130,11 +130,6 @@
*
* [debuggeeId] - Identifies the debuggee.
*
- * [waitToken] - A wait token that, if specified, blocks the method call until
- * the list
- * of active breakpoints has changed, or a server selected timeout has
- * expired. The value should be set from the last returned response.
- *
* [successOnTimeout] - If set to `true`, returns `google.rpc.Code.OK` status
* and sets the
* `wait_expired` response field to `true` when the server-selected timeout
@@ -143,6 +138,11 @@
* If set to `false`, returns `google.rpc.Code.ABORTED` status when the
* server-selected timeout has expired (deprecated).
*
+ * [waitToken] - A wait token that, if specified, blocks the method call until
+ * the list
+ * of active breakpoints has changed, or a server selected timeout has
+ * expired. The value should be set from the last returned response.
+ *
* Completes with a [ListActiveBreakpointsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -151,7 +151,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListActiveBreakpointsResponse> list(core.String debuggeeId, {core.String waitToken, core.bool successOnTimeout}) {
+ async.Future<ListActiveBreakpointsResponse> list(core.String debuggeeId, {core.bool successOnTimeout, core.String waitToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -162,12 +162,12 @@
if (debuggeeId == null) {
throw new core.ArgumentError("Parameter debuggeeId is required.");
}
- if (waitToken != null) {
- _queryParams["waitToken"] = [waitToken];
- }
if (successOnTimeout != null) {
_queryParams["successOnTimeout"] = ["${successOnTimeout}"];
}
+ if (waitToken != null) {
+ _queryParams["waitToken"] = [waitToken];
+ }
_url = 'v2/controller/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId') + '/breakpoints';
@@ -264,9 +264,6 @@
*
* Request parameters:
*
- * [clientVersion] - The client version making the call.
- * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
- *
* [includeInactive] - When set to `true`, the result includes all debuggees.
* Otherwise, the
* result includes only debuggees that are active.
@@ -274,6 +271,9 @@
* [project] - Project number of a Google Cloud project whose debuggees to
* list.
*
+ * [clientVersion] - The client version making the call.
+ * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
+ *
* Completes with a [ListDebuggeesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -282,7 +282,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListDebuggeesResponse> list({core.String clientVersion, core.bool includeInactive, core.String project}) {
+ async.Future<ListDebuggeesResponse> list({core.bool includeInactive, core.String project, core.String clientVersion}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -290,15 +290,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (clientVersion != null) {
- _queryParams["clientVersion"] = [clientVersion];
- }
if (includeInactive != null) {
_queryParams["includeInactive"] = ["${includeInactive}"];
}
if (project != null) {
_queryParams["project"] = [project];
}
+ if (clientVersion != null) {
+ _queryParams["clientVersion"] = [clientVersion];
+ }
_url = 'v2/debugger/debuggees';
@@ -428,6 +428,18 @@
*
* [debuggeeId] - ID of the debuggee whose breakpoints to list.
*
+ * [includeAllUsers] - When set to `true`, the response includes the list of
+ * breakpoints set by
+ * any user. Otherwise, it includes only breakpoints set by the caller.
+ *
+ * [includeInactive] - When set to `true`, the response includes active and
+ * inactive
+ * breakpoints. Otherwise, it includes only active breakpoints.
+ *
+ * [stripResults] - This field is deprecated. The following fields are always
+ * stripped out of
+ * the result: `stack_frames`, `evaluated_expressions` and `variable_table`.
+ *
* [waitToken] - A wait token that, if specified, blocks the call until the
* breakpoints
* list has changed, or a server selected timeout has expired. The value
@@ -435,26 +447,14 @@
* `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which
* should be called again with the same `wait_token`.
*
- * [clientVersion] - The client version making the call.
- * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
- *
* [action_value] - Only breakpoints with the specified action will pass the
* filter.
* Possible string values are:
* - "CAPTURE" : A CAPTURE.
* - "LOG" : A LOG.
*
- * [includeInactive] - When set to `true`, the response includes active and
- * inactive
- * breakpoints. Otherwise, it includes only active breakpoints.
- *
- * [includeAllUsers] - When set to `true`, the response includes the list of
- * breakpoints set by
- * any user. Otherwise, it includes only breakpoints set by the caller.
- *
- * [stripResults] - This field is deprecated. The following fields are always
- * stripped out of
- * the result: `stack_frames`, `evaluated_expressions` and `variable_table`.
+ * [clientVersion] - The client version making the call.
+ * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
*
* Completes with a [ListBreakpointsResponse].
*
@@ -464,7 +464,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListBreakpointsResponse> list(core.String debuggeeId, {core.String waitToken, core.String clientVersion, core.String action_value, core.bool includeInactive, core.bool includeAllUsers, core.bool stripResults}) {
+ async.Future<ListBreakpointsResponse> list(core.String debuggeeId, {core.bool includeAllUsers, core.bool includeInactive, core.bool stripResults, core.String waitToken, core.String action_value, core.String clientVersion}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -475,24 +475,24 @@
if (debuggeeId == null) {
throw new core.ArgumentError("Parameter debuggeeId is required.");
}
- if (waitToken != null) {
- _queryParams["waitToken"] = [waitToken];
- }
- if (clientVersion != null) {
- _queryParams["clientVersion"] = [clientVersion];
- }
- if (action_value != null) {
- _queryParams["action.value"] = [action_value];
+ if (includeAllUsers != null) {
+ _queryParams["includeAllUsers"] = ["${includeAllUsers}"];
}
if (includeInactive != null) {
_queryParams["includeInactive"] = ["${includeInactive}"];
}
- if (includeAllUsers != null) {
- _queryParams["includeAllUsers"] = ["${includeAllUsers}"];
- }
if (stripResults != null) {
_queryParams["stripResults"] = ["${stripResults}"];
}
+ if (waitToken != null) {
+ _queryParams["waitToken"] = [waitToken];
+ }
+ if (action_value != null) {
+ _queryParams["action.value"] = [action_value];
+ }
+ if (clientVersion != null) {
+ _queryParams["clientVersion"] = [clientVersion];
+ }
_url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId') + '/breakpoints';
diff --git a/generated/googleapis/lib/cloudfunctions/v1.dart b/generated/googleapis/lib/cloudfunctions/v1.dart
index d9a0fd9..b27c05e 100644
--- a/generated/googleapis/lib/cloudfunctions/v1.dart
+++ b/generated/googleapis/lib/cloudfunctions/v1.dart
@@ -19,137 +19,14 @@
* events.
*/
class CloudfunctionsApi {
- /** View and manage your data across Google Cloud Platform services */
- static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform";
-
final commons.ApiRequester _requester;
- ProjectsResourceApi get projects => new ProjectsResourceApi(_requester);
-
CloudfunctionsApi(http.Client client, {core.String rootUrl: "https://cloudfunctions.googleapis.com/", core.String servicePath: ""}) :
_requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
}
-class ProjectsResourceApi {
- final commons.ApiRequester _requester;
-
- ProjectsLocationsResourceApi get locations => new ProjectsLocationsResourceApi(_requester);
-
- ProjectsResourceApi(commons.ApiRequester client) :
- _requester = client;
-}
-
-
-class ProjectsLocationsResourceApi {
- final commons.ApiRequester _requester;
-
- ProjectsLocationsResourceApi(commons.ApiRequester client) :
- _requester = client;
-
- /**
- * Get information about a location.
- *
- * Request parameters:
- *
- * [name] - Resource name for the location.
- * Value must have pattern "^projects/[^/]+/locations/[^/]+$".
- *
- * Completes with a [Location].
- *
- * Completes with a [commons.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<Location> get(core.String name) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (name == null) {
- throw new core.ArgumentError("Parameter name is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
-
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new Location.fromJson(data));
- }
-
-}
-
-
-
-/** A resource that represents Google Cloud Platform location. */
-class Location {
- /**
- * Cross-service attributes for the location. For example
- *
- * {"cloud.googleapis.com/region": "us-east1"}
- */
- core.Map<core.String, core.String> labels;
- /** The canonical id for this location. For example: `"us-east1"`. */
- core.String locationId;
- /**
- * Service-specific metadata. For example the available capacity at the given
- * location.
- *
- * The values for Object must be JSON objects. It can consist of `num`,
- * `String`, `bool` and `null` as well as `Map` and `List` values.
- */
- core.Map<core.String, core.Object> metadata;
- /**
- * Resource name for the location, which may vary between implementations.
- * For example: `"projects/example-project/locations/us-east1"`
- */
- core.String name;
-
- Location();
-
- Location.fromJson(core.Map _json) {
- if (_json.containsKey("labels")) {
- labels = _json["labels"];
- }
- if (_json.containsKey("locationId")) {
- locationId = _json["locationId"];
- }
- if (_json.containsKey("metadata")) {
- metadata = _json["metadata"];
- }
- if (_json.containsKey("name")) {
- name = _json["name"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (labels != null) {
- _json["labels"] = labels;
- }
- if (locationId != null) {
- _json["locationId"] = locationId;
- }
- if (metadata != null) {
- _json["metadata"] = metadata;
- }
- if (name != null) {
- _json["name"] = name;
- }
- return _json;
- }
-}
/** Metadata describing an Operation */
class OperationMetadataV1Beta2 {
diff --git a/generated/googleapis/lib/cloudkms/v1.dart b/generated/googleapis/lib/cloudkms/v1.dart
index dcd05c2..4ef6dd8 100644
--- a/generated/googleapis/lib/cloudkms/v1.dart
+++ b/generated/googleapis/lib/cloudkms/v1.dart
@@ -98,12 +98,12 @@
* [name] - The resource that owns the locations collection, if applicable.
* Value must have pattern "^projects/[^/]+$".
*
+ * [pageSize] - The standard list page size.
+ *
* [filter] - The standard list filter.
*
* [pageToken] - The standard list page token.
*
- * [pageSize] - The standard list page size.
- *
* Completes with a [ListLocationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -112,7 +112,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLocationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListLocationsResponse> list(core.String name, {core.int pageSize, core.String filter, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -123,15 +123,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/locations';
@@ -302,14 +302,14 @@
* KeyRings, in the format `projects / * /locations / * `.
* Value must have pattern "^projects/[^/]+/locations/[^/]+$".
*
+ * [pageToken] - Optional pagination token, returned earlier via
+ * ListKeyRingsResponse.next_page_token.
+ *
* [pageSize] - Optional limit on the number of KeyRings to include in the
* response. Further KeyRings can subsequently be obtained by
* including the ListKeyRingsResponse.next_page_token in a subsequent
* request. If unspecified, the server will pick an appropriate default.
*
- * [pageToken] - Optional pagination token, returned earlier via
- * ListKeyRingsResponse.next_page_token.
- *
* Completes with a [ListKeyRingsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -318,7 +318,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListKeyRingsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListKeyRingsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -329,12 +329,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/keyRings';
@@ -710,14 +710,14 @@
* `projects / * /locations / * /keyRings / * `.
* Value must have pattern "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$".
*
+ * [pageToken] - Optional pagination token, returned earlier via
+ * ListCryptoKeysResponse.next_page_token.
+ *
* [pageSize] - Optional limit on the number of CryptoKeys to include in the
* response. Further CryptoKeys can subsequently be obtained by
* including the ListCryptoKeysResponse.next_page_token in a subsequent
* request. If unspecified, the server will pick an appropriate default.
*
- * [pageToken] - Optional pagination token, returned earlier via
- * ListCryptoKeysResponse.next_page_token.
- *
* Completes with a [ListCryptoKeysResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -726,7 +726,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListCryptoKeysResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListCryptoKeysResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -737,12 +737,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeys';
@@ -1126,15 +1126,15 @@
* Value must have pattern
* "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$".
*
- * [pageToken] - Optional pagination token, returned earlier via
- * ListCryptoKeyVersionsResponse.next_page_token.
- *
* [pageSize] - Optional limit on the number of CryptoKeyVersions to
* include in the response. Further CryptoKeyVersions can
* subsequently be obtained by including the
* ListCryptoKeyVersionsResponse.next_page_token in a subsequent request.
* If unspecified, the server will pick an appropriate default.
*
+ * [pageToken] - Optional pagination token, returned earlier via
+ * ListCryptoKeyVersionsResponse.next_page_token.
+ *
* Completes with a [ListCryptoKeyVersionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1143,7 +1143,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListCryptoKeyVersionsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListCryptoKeyVersionsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1154,12 +1154,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeyVersions';
@@ -1299,42 +1299,45 @@
* the union of the two AuditConfigs is used for that service: the log_types
* specified in each AuditConfig are enabled, and the exempted_members in each
* AuditConfig are exempted.
+ *
* Example Policy with multiple AuditConfigs:
- * {
- * "audit_configs": [
+ *
* {
- * "service": "allServices"
- * "audit_log_configs": [
+ * "audit_configs": [
* {
- * "log_type": "DATA_READ",
- * "exempted_members": [
- * "user:foo@gmail.com"
+ * "service": "allServices"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * "exempted_members": [
+ * "user:foo@gmail.com"
+ * ]
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * },
+ * {
+ * "log_type": "ADMIN_READ",
+ * }
* ]
* },
* {
- * "log_type": "DATA_WRITE",
- * },
- * {
- * "log_type": "ADMIN_READ",
- * }
- * ]
- * },
- * {
- * "service": "fooservice@googleapis.com"
- * "audit_log_configs": [
- * {
- * "log_type": "DATA_READ",
- * },
- * {
- * "log_type": "DATA_WRITE",
- * "exempted_members": [
- * "user:bar@gmail.com"
+ * "service": "fooservice.googleapis.com"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * "exempted_members": [
+ * "user:bar@gmail.com"
+ * ]
+ * }
* ]
* }
* ]
* }
- * ]
- * }
+ *
* For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
* logging. It also exempts foo@gmail.com from DATA_READ logging, and
* bar@gmail.com from DATA_WRITE logging.
diff --git a/generated/googleapis/lib/cloudresourcemanager/v1.dart b/generated/googleapis/lib/cloudresourcemanager/v1.dart
index 3fb17ca..8b3f60f 100644
--- a/generated/googleapis/lib/cloudresourcemanager/v1.dart
+++ b/generated/googleapis/lib/cloudresourcemanager/v1.dart
@@ -91,51 +91,6 @@
}
/**
- * Clears a `Policy` from a resource.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - Name of the resource for the `Policy` to clear.
- * Value must have pattern "^folders/[^/]+$".
- *
- * Completes with a [Empty].
- *
- * Completes with a [commons.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<Empty> clearOrgPolicyV1(ClearOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':clearOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new Empty.fromJson(data));
- }
-
- /**
* Gets the effective `Policy` on a resource. This is the result of merging
* `Policies` in the resource hierarchy. The returned `Policy` will not have
* an `etag`set because it is a computed `Policy` across multiple resources.
@@ -184,54 +139,6 @@
}
/**
- * Gets the effective `Policy` on a resource. This is the result of merging
- * `Policies` in the resource hierarchy. The returned `Policy` will not have
- * an `etag`set because it is a computed `Policy` across multiple resources.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - The name of the resource to start computing the effective
- * `Policy`.
- * Value must have pattern "^folders/[^/]+$".
- *
- * Completes with a [OrgPolicy].
- *
- * Completes with a [commons.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<OrgPolicy> getEffectiveOrgPolicyV1(GetEffectiveOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getEffectiveOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new OrgPolicy.fromJson(data));
- }
-
- /**
* Gets a `Policy` on a resource.
*
* If no `Policy` is set on the resource, a `Policy` is returned with default
@@ -282,56 +189,6 @@
}
/**
- * Gets a `Policy` on a resource.
- *
- * If no `Policy` is set on the resource, a `Policy` is returned with default
- * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
- * `etag` value can be used with `SetOrgPolicy()` to create or update a
- * `Policy` during read-modify-write.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - Name of the resource the `Policy` is set on.
- * Value must have pattern "^folders/[^/]+$".
- *
- * Completes with a [OrgPolicy].
- *
- * Completes with a [commons.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<OrgPolicy> getOrgPolicyV1(GetOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new OrgPolicy.fromJson(data));
- }
-
- /**
* Lists `Constraints` that could be applied on the specified resource.
*
* [request] - The metadata request object.
@@ -470,55 +327,6 @@
return _response.then((data) => new OrgPolicy.fromJson(data));
}
- /**
- * Updates the specified `Policy` on the resource. Creates a new `Policy` for
- * that `Constraint` on the resource if one does not exist.
- *
- * Not supplying an `etag` on the request `Policy` results in an unconditional
- * write of the `Policy`.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - Resource name of the resource to attach the `Policy`.
- * Value must have pattern "^folders/[^/]+$".
- *
- * Completes with a [OrgPolicy].
- *
- * Completes with a [commons.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<OrgPolicy> setOrgPolicyV1(SetOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new OrgPolicy.fromJson(data));
- }
-
}
@@ -779,51 +587,6 @@
}
/**
- * Clears a `Policy` from a resource.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - Name of the resource for the `Policy` to clear.
- * Value must have pattern "^organizations/[^/]+$".
- *
- * Completes with a [Empty].
- *
- * Completes with a [commons.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<Empty> clearOrgPolicyV1(ClearOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':clearOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new Empty.fromJson(data));
- }
-
- /**
* Fetches an Organization resource identified by the specified resource name.
*
* Request parameters:
@@ -913,54 +676,6 @@
}
/**
- * Gets the effective `Policy` on a resource. This is the result of merging
- * `Policies` in the resource hierarchy. The returned `Policy` will not have
- * an `etag`set because it is a computed `Policy` across multiple resources.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - The name of the resource to start computing the effective
- * `Policy`.
- * Value must have pattern "^organizations/[^/]+$".
- *
- * Completes with a [OrgPolicy].
- *
- * Completes with a [commons.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<OrgPolicy> getEffectiveOrgPolicyV1(GetEffectiveOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getEffectiveOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new OrgPolicy.fromJson(data));
- }
-
- /**
* Gets the access control policy for an Organization resource. May be empty
* if no such policy or resource exists. The `resource` field should be the
* organization's resource name, e.g. "organizations/123".
@@ -1060,56 +775,6 @@
}
/**
- * Gets a `Policy` on a resource.
- *
- * If no `Policy` is set on the resource, a `Policy` is returned with default
- * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
- * `etag` value can be used with `SetOrgPolicy()` to create or update a
- * `Policy` during read-modify-write.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - Name of the resource the `Policy` is set on.
- * Value must have pattern "^organizations/[^/]+$".
- *
- * Completes with a [OrgPolicy].
- *
- * Completes with a [commons.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<OrgPolicy> getOrgPolicyV1(GetOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new OrgPolicy.fromJson(data));
- }
-
- /**
* Lists `Constraints` that could be applied on the specified resource.
*
* [request] - The metadata request object.
@@ -1340,55 +1005,6 @@
}
/**
- * Updates the specified `Policy` on the resource. Creates a new `Policy` for
- * that `Constraint` on the resource if one does not exist.
- *
- * Not supplying an `etag` on the request `Policy` results in an unconditional
- * write of the `Policy`.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - Resource name of the resource to attach the `Policy`.
- * Value must have pattern "^organizations/[^/]+$".
- *
- * Completes with a [OrgPolicy].
- *
- * Completes with a [commons.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<OrgPolicy> setOrgPolicyV1(SetOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new OrgPolicy.fromJson(data));
- }
-
- /**
* Returns permissions that a caller has on the specified Organization.
* The `resource` field should be the organization's resource name,
* e.g. "organizations/123".
@@ -1492,51 +1108,6 @@
}
/**
- * Clears a `Policy` from a resource.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - Name of the resource for the `Policy` to clear.
- * Value must have pattern "^projects/[^/]+$".
- *
- * Completes with a [Empty].
- *
- * Completes with a [commons.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<Empty> clearOrgPolicyV1(ClearOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':clearOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new Empty.fromJson(data));
- }
-
- /**
* Request that a new Project be created. The result is an Operation which
* can be used to track the creation process. It is automatically deleted
* after a few hours, so there is no need to call DeleteOperation.
@@ -1788,54 +1359,6 @@
}
/**
- * Gets the effective `Policy` on a resource. This is the result of merging
- * `Policies` in the resource hierarchy. The returned `Policy` will not have
- * an `etag`set because it is a computed `Policy` across multiple resources.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - The name of the resource to start computing the effective
- * `Policy`.
- * Value must have pattern "^projects/[^/]+$".
- *
- * Completes with a [OrgPolicy].
- *
- * Completes with a [commons.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<OrgPolicy> getEffectiveOrgPolicyV1(GetEffectiveOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getEffectiveOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new OrgPolicy.fromJson(data));
- }
-
- /**
* Returns the IAM access control policy for the specified Project.
* Permission is denied if the policy or the resource does not exist.
*
@@ -1933,56 +1456,6 @@
}
/**
- * Gets a `Policy` on a resource.
- *
- * If no `Policy` is set on the resource, a `Policy` is returned with default
- * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
- * `etag` value can be used with `SetOrgPolicy()` to create or update a
- * `Policy` during read-modify-write.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - Name of the resource the `Policy` is set on.
- * Value must have pattern "^projects/[^/]+$".
- *
- * Completes with a [OrgPolicy].
- *
- * Completes with a [commons.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<OrgPolicy> getOrgPolicyV1(GetOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new OrgPolicy.fromJson(data));
- }
-
- /**
* Lists Projects that are visible to the user and satisfy the
* specified filter. This method returns Projects in an unspecified order.
* New Projects do not necessarily appear at the end of the list.
@@ -2001,7 +1474,7 @@
*
* |Filter|Description|
* |------|-----------|
- * |name:*|The project has a name.|
+ * |name:how*|The project's name starts with "how".|
* |name:Howl|The project's name is `Howl` or `howl`.|
* |name:HOWL|Equivalent to above.|
* |NAME:howl|Equivalent to above.|
@@ -2285,55 +1758,6 @@
}
/**
- * Updates the specified `Policy` on the resource. Creates a new `Policy` for
- * that `Constraint` on the resource if one does not exist.
- *
- * Not supplying an `etag` on the request `Policy` results in an unconditional
- * write of the `Policy`.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [resource] - Resource name of the resource to attach the `Policy`.
- * Value must have pattern "^projects/[^/]+$".
- *
- * Completes with a [OrgPolicy].
- *
- * Completes with a [commons.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<OrgPolicy> setOrgPolicyV1(SetOrgPolicyRequest request, core.String resource) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (resource == null) {
- throw new core.ArgumentError("Parameter resource is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setOrgPolicyV1';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new OrgPolicy.fromJson(data));
- }
-
- /**
* Returns permissions that a caller has on the specified Project.
*
* [request] - The metadata request object.
@@ -2510,48 +1934,51 @@
* Specifies the audit configuration for a service.
* The configuration determines which permission types are logged, and what
* identities, if any, are exempted from logging.
- * An AuditConifg must have one or more AuditLogConfigs.
+ * An AuditConfig must have one or more AuditLogConfigs.
*
* If there are AuditConfigs for both `allServices` and a specific service,
* the union of the two AuditConfigs is used for that service: the log_types
* specified in each AuditConfig are enabled, and the exempted_members in each
* AuditConfig are exempted.
+ *
* Example Policy with multiple AuditConfigs:
- * {
- * "audit_configs": [
+ *
* {
- * "service": "allServices"
- * "audit_log_configs": [
+ * "audit_configs": [
* {
- * "log_type": "DATA_READ",
- * "exempted_members": [
- * "user:foo@gmail.com"
+ * "service": "allServices"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * "exempted_members": [
+ * "user:foo@gmail.com"
+ * ]
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * },
+ * {
+ * "log_type": "ADMIN_READ",
+ * }
* ]
* },
* {
- * "log_type": "DATA_WRITE",
- * },
- * {
- * "log_type": "ADMIN_READ",
- * }
- * ]
- * },
- * {
- * "service": "fooservice@googleapis.com"
- * "audit_log_configs": [
- * {
- * "log_type": "DATA_READ",
- * },
- * {
- * "log_type": "DATA_WRITE",
- * "exempted_members": [
- * "user:bar@gmail.com"
+ * "service": "fooservice.googleapis.com"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * "exempted_members": [
+ * "user:bar@gmail.com"
+ * ]
+ * }
* ]
* }
* ]
* }
- * ]
- * }
+ *
* For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
* logging. It also exempts foo@gmail.com from DATA_READ logging, and
* bar@gmail.com from DATA_WRITE logging.
@@ -3051,6 +2478,9 @@
* already being moved.
* - "FOLDER_TO_DELETE_NON_EMPTY" : The folder the caller is trying to delete
* contains active resources.
+ * - "DELETED_FOLDER_HEIGHT_VIOLATION" : The attempted action would violate
+ * the max deleted folder depth
+ * constraint.
*/
core.String errorMessageId;
diff --git a/generated/googleapis/lib/cloudtrace/v1.dart b/generated/googleapis/lib/cloudtrace/v1.dart
index ac2d1d3..92c16c1 100644
--- a/generated/googleapis/lib/cloudtrace/v1.dart
+++ b/generated/googleapis/lib/cloudtrace/v1.dart
@@ -156,6 +156,20 @@
*
* [projectId] - ID of the Cloud project where the trace data is stored.
*
+ * [orderBy] - Field used to sort the returned traces. Optional.
+ * Can be one of the following:
+ *
+ * * `trace_id`
+ * * `name` (`name` field of root span in the trace)
+ * * `duration` (difference between `end_time` and `start_time` fields of
+ * the root span)
+ * * `start` (`start_time` field of the root span)
+ *
+ * Descending order can be specified by appending `desc` to the sort field
+ * (for example, `name desc`).
+ *
+ * Only one sort field is permitted.
+ *
* [filter] - An optional filter for the request.
*
* [endTime] - Start of the time interval (inclusive) during which the trace
@@ -183,20 +197,6 @@
* - "ROOTSPAN" : A ROOTSPAN.
* - "COMPLETE" : A COMPLETE.
*
- * [orderBy] - Field used to sort the returned traces. Optional.
- * Can be one of the following:
- *
- * * `trace_id`
- * * `name` (`name` field of root span in the trace)
- * * `duration` (difference between `end_time` and `start_time` fields of
- * the root span)
- * * `start` (`start_time` field of the root span)
- *
- * Descending order can be specified by appending `desc` to the sort field
- * (for example, `name desc`).
- *
- * Only one sort field is permitted.
- *
* Completes with a [ListTracesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -205,7 +205,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTracesResponse> list(core.String projectId, {core.String filter, core.String endTime, core.String startTime, core.String pageToken, core.int pageSize, core.String view, core.String orderBy}) {
+ async.Future<ListTracesResponse> list(core.String projectId, {core.String orderBy, core.String filter, core.String endTime, core.String startTime, core.String pageToken, core.int pageSize, core.String view}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -216,6 +216,9 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -234,9 +237,6 @@
if (view != null) {
_queryParams["view"] = [view];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/traces';
diff --git a/generated/googleapis/lib/compute/v1.dart b/generated/googleapis/lib/compute/v1.dart
index 1e4b83f..6fa083c 100644
--- a/generated/googleapis/lib/compute/v1.dart
+++ b/generated/googleapis/lib/compute/v1.dart
@@ -844,7 +844,7 @@
* [zone] - Name of the zone for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
- * [autoscaler] - Name of the autoscaler to update.
+ * [autoscaler] - Name of the autoscaler to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
* Completes with a [Operation].
@@ -855,7 +855,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(Autoscaler request, core.String project, core.String zone, core.String autoscaler) {
+ async.Future<Operation> patch(Autoscaler request, core.String project, core.String zone, {core.String autoscaler}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -872,10 +872,9 @@
if (zone == null) {
throw new core.ArgumentError("Parameter zone is required.");
}
- if (autoscaler == null) {
- throw new core.ArgumentError("Parameter autoscaler is required.");
+ if (autoscaler != null) {
+ _queryParams["autoscaler"] = [autoscaler];
}
- _queryParams["autoscaler"] = [autoscaler];
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/autoscalers';
@@ -1211,7 +1210,7 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
- * [backendBucket] - Name of the BackendBucket resource to update.
+ * [backendBucket] - Name of the BackendBucket resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
* Completes with a [Operation].
@@ -1712,7 +1711,7 @@
}
/**
- * Updates the specified BackendService resource with the data included in the
+ * Patches the specified BackendService resource with the data included in the
* request. There are several restrictions and guidelines to keep in mind when
* updating a backend service. Read Restrictions and Guidelines for more
* information. This method supports patch semantics.
@@ -1725,7 +1724,7 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
- * [backendService] - Name of the BackendService resource to update.
+ * [backendService] - Name of the BackendService resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
* Completes with a [Operation].
@@ -2843,7 +2842,9 @@
/**
* Updates the specified firewall rule with the data included in the request.
- * This method supports patch semantics.
+ * Using PUT method, can only update following fields of firewall rule:
+ * allowed, description, sourceRanges, sourceTags, targetTags. This method
+ * supports patch semantics.
*
* [request] - The metadata request object.
*
@@ -2896,6 +2897,8 @@
/**
* Updates the specified firewall rule with the data included in the request.
+ * Using PUT method, can only update following fields of firewall rule:
+ * allowed, description, sourceRanges, sourceTags, targetTags.
*
* [request] - The metadata request object.
*
@@ -4500,7 +4503,7 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
- * [healthCheck] - Name of the HealthCheck resource to update.
+ * [healthCheck] - Name of the HealthCheck resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
* Completes with a [Operation].
@@ -4857,7 +4860,7 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
- * [httpHealthCheck] - Name of the HttpHealthCheck resource to update.
+ * [httpHealthCheck] - Name of the HttpHealthCheck resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
* Completes with a [Operation].
@@ -5214,7 +5217,7 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
- * [httpsHealthCheck] - Name of the HttpsHealthCheck resource to update.
+ * [httpsHealthCheck] - Name of the HttpsHealthCheck resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
* Completes with a [Operation].
@@ -5684,6 +5687,8 @@
* not yet been removed from the group. You must separately verify the status
* of the abandoning action with the listmanagedinstances method.
*
+ * You can specify a maximum of 1000 instances with this method per request.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -5898,6 +5903,8 @@
* still being deleted. You must separately verify the status of the deleting
* action with the listmanagedinstances method.
*
+ * You can specify a maximum of 1000 instances with this method per request.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -6011,6 +6018,8 @@
* in the group have not yet been created. You must separately verify the
* status of the individual instances with the listmanagedinstances method.
*
+ * A managed instance group can have up to 1000 VM instances per group.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -6248,6 +6257,8 @@
* been recreated. You must separately verify the status of the recreating
* action with the listmanagedinstances method.
*
+ * You can specify a maximum of 1000 instances with this method per request.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -8089,7 +8100,8 @@
}
/**
- * Performs a hard reset on the instance.
+ * Performs a reset on the instance. For more information, see Resetting an
+ * instance.
*
* Request parameters:
*
@@ -9819,7 +9831,7 @@
* [region] - Name of the region scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
- * [autoscaler] - Name of the autoscaler to update.
+ * [autoscaler] - Name of the autoscaler to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
* Completes with a [Operation].
@@ -9830,7 +9842,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(Autoscaler request, core.String project, core.String region, core.String autoscaler) {
+ async.Future<Operation> patch(Autoscaler request, core.String project, core.String region, {core.String autoscaler}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -9847,10 +9859,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
- if (autoscaler == null) {
- throw new core.ArgumentError("Parameter autoscaler is required.");
+ if (autoscaler != null) {
+ _queryParams["autoscaler"] = [autoscaler];
}
- _queryParams["autoscaler"] = [autoscaler];
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/autoscalers';
@@ -10275,7 +10286,7 @@
* [region] - Name of the region scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
- * [backendService] - Name of the BackendService resource to update.
+ * [backendService] - Name of the BackendService resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
* Completes with a [Operation].
@@ -10399,6 +10410,8 @@
* not yet been removed from the group. You must separately verify the status
* of the abandoning action with the listmanagedinstances method.
*
+ * You can specify a maximum of 1000 instances with this method per request.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -10513,6 +10526,8 @@
* still being deleted. You must separately verify the status of the deleting
* action with the listmanagedinstances method.
*
+ * You can specify a maximum of 1000 instances with this method per request.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -10625,6 +10640,8 @@
* in the group have not yet been created. You must separately verify the
* status of the individual instances with the listmanagedinstances method.
*
+ * A regional managed instance group can contain up to 2000 instances.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -10859,6 +10876,8 @@
* been recreated. You must separately verify the status of the recreating
* action with the listmanagedinstances method.
*
+ * You can specify a maximum of 1000 instances with this method per request.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -12233,7 +12252,7 @@
}
/**
- * Updates the specified Router resource with the data included in the
+ * Patches the specified Router resource with the data included in the
* request. This method supports patch semantics.
*
* [request] - The metadata request object.
@@ -12247,7 +12266,7 @@
* [region] - Name of the region for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
- * [router] - Name of the Router resource to update.
+ * [router] - Name of the Router resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
* Completes with a [Operation].
@@ -13551,6 +13570,65 @@
return _response.then((data) => new SubnetworkList.fromJson(data));
}
+ /**
+ * Set whether VMs in this subnet can access Google services without assigning
+ * external IP addresses through Cloudpath.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [project] - Project ID for 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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
+ *
+ * [region] - Name of the region scoping this request.
+ * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
+ *
+ * [subnetwork] - Name of the Subnetwork resource.
+ * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
+ *
+ * Completes with a [Operation].
+ *
+ * Completes with a [commons.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> setPrivateIpGoogleAccess(SubnetworksSetPrivateIpGoogleAccessRequest request, core.String project, core.String region, core.String subnetwork) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.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 (region == null) {
+ throw new core.ArgumentError("Parameter region is required.");
+ }
+ if (subnetwork == null) {
+ throw new core.ArgumentError("Parameter subnetwork is required.");
+ }
+
+ _url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/subnetworks/' + commons.Escaper.ecapeVariable('$subnetwork') + '/setPrivateIpGoogleAccess';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
}
@@ -16402,7 +16480,7 @@
}
/**
- * Updates the specified UrlMap resource with the data included in the
+ * Patches the specified UrlMap resource with the data included in the
* request. This method supports patch semantics.
*
* [request] - The metadata request object.
@@ -16413,7 +16491,7 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
- * [urlMap] - Name of the UrlMap resource to update.
+ * [urlMap] - Name of the UrlMap resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
* Completes with a [Operation].
@@ -17326,7 +17404,11 @@
* configs.
*/
core.String kind;
- /** Name of this access configuration. */
+ /**
+ * The name of this access configuration. The default and recommended name is
+ * External NAT but you can use any arbitrary string you would like. For
+ * example, My external IP or Network Access.
+ */
core.String name;
/**
* An external IP address associated with this instance. Specify an unused
@@ -17380,10 +17462,7 @@
/** A reserved address resource. */
class Address {
- /**
- * The static external IP address represented by this resource. Only IPv4 is
- * supported.
- */
+ /** The static external IP address represented by this resource. */
core.String address;
/** [Output Only] Creation timestamp in RFC3339 text format. */
core.String creationTimestamp;
@@ -18982,6 +19061,8 @@
core.int affinityCookieTtlSec;
/** The list of backends that serve this BackendService. */
core.List<Backend> backends;
+ /** Cloud CDN configuration for this BackendService. */
+ BackendServiceCdnPolicy cdnPolicy;
ConnectionDraining connectionDraining;
/** [Output Only] Creation timestamp in RFC3339 text format. */
core.String creationTimestamp;
@@ -19117,6 +19198,9 @@
if (_json.containsKey("backends")) {
backends = _json["backends"].map((value) => new Backend.fromJson(value)).toList();
}
+ if (_json.containsKey("cdnPolicy")) {
+ cdnPolicy = new BackendServiceCdnPolicy.fromJson(_json["cdnPolicy"]);
+ }
if (_json.containsKey("connectionDraining")) {
connectionDraining = new ConnectionDraining.fromJson(_json["connectionDraining"]);
}
@@ -19178,6 +19262,9 @@
if (backends != null) {
_json["backends"] = backends.map((value) => (value).toJson()).toList();
}
+ if (cdnPolicy != null) {
+ _json["cdnPolicy"] = (cdnPolicy).toJson();
+ }
if (connectionDraining != null) {
_json["connectionDraining"] = (connectionDraining).toJson();
}
@@ -19289,6 +19376,28 @@
}
}
+/** Message containing Cloud CDN configuration for a backend service. */
+class BackendServiceCdnPolicy {
+ /** The CacheKeyPolicy for this CdnPolicy. */
+ CacheKeyPolicy cacheKeyPolicy;
+
+ BackendServiceCdnPolicy();
+
+ BackendServiceCdnPolicy.fromJson(core.Map _json) {
+ if (_json.containsKey("cacheKeyPolicy")) {
+ cacheKeyPolicy = new CacheKeyPolicy.fromJson(_json["cacheKeyPolicy"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (cacheKeyPolicy != null) {
+ _json["cacheKeyPolicy"] = (cacheKeyPolicy).toJson();
+ }
+ return _json;
+ }
+}
+
class BackendServiceGroupHealth {
core.List<HealthStatus> healthStatus;
/**
@@ -19551,6 +19660,78 @@
}
}
+/**
+ * Message containing what to include in the cache key for a request for Cloud
+ * CDN.
+ */
+class CacheKeyPolicy {
+ /** If true, requests to different hosts will be cached separately. */
+ core.bool includeHost;
+ /** If true, http and https requests will be cached separately. */
+ core.bool includeProtocol;
+ /**
+ * If true, include query string parameters in the cache key according to
+ * query_string_whitelist and query_string_blacklist. If neither is set, the
+ * entire query string will be included. If false, the query string will be
+ * excluded from the cache key entirely.
+ */
+ core.bool includeQueryString;
+ /**
+ * Names of query string parameters to exclude in cache keys. All other
+ * parameters will be included. Either specify query_string_whitelist or
+ * query_string_blacklist, not both. '&' and '=' will be percent encoded and
+ * not treated as delimiters.
+ */
+ core.List<core.String> queryStringBlacklist;
+ /**
+ * Names of query string parameters to include in cache keys. All other
+ * parameters will be excluded. Either specify query_string_whitelist or
+ * query_string_blacklist, not both. '&' and '=' will be percent encoded and
+ * not treated as delimiters.
+ */
+ core.List<core.String> queryStringWhitelist;
+
+ CacheKeyPolicy();
+
+ CacheKeyPolicy.fromJson(core.Map _json) {
+ if (_json.containsKey("includeHost")) {
+ includeHost = _json["includeHost"];
+ }
+ if (_json.containsKey("includeProtocol")) {
+ includeProtocol = _json["includeProtocol"];
+ }
+ if (_json.containsKey("includeQueryString")) {
+ includeQueryString = _json["includeQueryString"];
+ }
+ if (_json.containsKey("queryStringBlacklist")) {
+ queryStringBlacklist = _json["queryStringBlacklist"];
+ }
+ if (_json.containsKey("queryStringWhitelist")) {
+ queryStringWhitelist = _json["queryStringWhitelist"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (includeHost != null) {
+ _json["includeHost"] = includeHost;
+ }
+ if (includeProtocol != null) {
+ _json["includeProtocol"] = includeProtocol;
+ }
+ if (includeQueryString != null) {
+ _json["includeQueryString"] = includeQueryString;
+ }
+ if (queryStringBlacklist != null) {
+ _json["queryStringBlacklist"] = queryStringBlacklist;
+ }
+ if (queryStringWhitelist != null) {
+ _json["queryStringWhitelist"] = queryStringWhitelist;
+ }
+ return _json;
+ }
+}
+
/** Message containing connection draining configuration. */
class ConnectionDraining {
/**
@@ -21074,8 +21255,7 @@
* When the load balancing scheme is INTERNAL, a single port or a comma
* separated list of ports can be configured. Only packets addressed to these
* ports will be forwarded to the backends configured with this forwarding
- * rule. If the port list is not provided then all ports are allowed to pass
- * through.
+ * rule.
*
* You may specify a maximum of up to 5 ports.
*/
@@ -21103,8 +21283,7 @@
* forwarding rules, this target must live in the same region as the
* forwarding rule. For global forwarding rules, this target must be a global
* load balancing resource. The forwarded traffic must be of a type
- * appropriate to the target object. For example, TargetHttpProxy requires
- * HTTP traffic, and TargetHttpsProxy requires HTTPS traffic.
+ * appropriate to the target object.
*
* This field is not used for internal load balancing.
*/
@@ -22885,7 +23064,7 @@
* connecting to the internet. Only one interface is supported per instance.
*/
core.List<NetworkInterface> networkInterfaces;
- /** Scheduling options for this instance. */
+ /** Sets the scheduling options for this instance. */
Scheduling scheduling;
/** [Output Only] Server-defined URL for this resource. */
core.String selfLink;
@@ -27563,7 +27742,10 @@
}
class RegionInstanceGroupManagersAbandonInstancesRequest {
- /** The names of one or more instances to abandon. */
+ /**
+ * The URLs of one or more instances to abandon. This can be a full URL or a
+ * partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
+ */
core.List<core.String> instances;
RegionInstanceGroupManagersAbandonInstancesRequest();
@@ -27584,7 +27766,10 @@
}
class RegionInstanceGroupManagersDeleteInstancesRequest {
- /** The names of one or more instances to delete. */
+ /**
+ * The URLs of one or more instances to delete. This can be a full URL or a
+ * partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
+ */
core.List<core.String> instances;
RegionInstanceGroupManagersDeleteInstancesRequest();
@@ -28606,8 +28791,9 @@
*/
core.String ipRange;
/**
- * URI of linked VPN tunnel. It must be in the same region as the router. Each
- * interface can have at most one linked resource.
+ * URI of the linked VPN tunnel. It must be in the same region as the router.
+ * Each interface can have at most one linked resource and it could either be
+ * a VPN Tunnel or an interconnect attachment.
*/
core.String linkedVpnTunnel;
/**
@@ -29111,6 +29297,9 @@
* terminated by Compute Engine (not terminated by a user). You can only set
* the automatic restart option for standard instances. Preemptible instances
* cannot be automatically restarted.
+ *
+ * By default, this is set to true so an instance is automatically restarted
+ * if it is terminated by Compute Engine.
*/
core.bool automaticRestart;
/**
@@ -29123,7 +29312,11 @@
* - "TERMINATE"
*/
core.String onHostMaintenance;
- /** Whether the instance is preemptible. */
+ /**
+ * Defines whether the instance is preemptible. This can only be set during
+ * instance creation, it cannot be set or changed after the instance has been
+ * created.
+ */
core.bool preemptible;
Scheduling();
@@ -29725,6 +29918,11 @@
* the distributed mode can have subnetworks.
*/
core.String network;
+ /**
+ * Whether the VMs in this subnet can access Google services without assigned
+ * external IP addresses.
+ */
+ core.bool privateIpGoogleAccess;
/** URL of the region where the Subnetwork resides. */
core.String region;
/** [Output Only] Server-defined URL for the resource. */
@@ -29757,6 +29955,9 @@
if (_json.containsKey("network")) {
network = _json["network"];
}
+ if (_json.containsKey("privateIpGoogleAccess")) {
+ privateIpGoogleAccess = _json["privateIpGoogleAccess"];
+ }
if (_json.containsKey("region")) {
region = _json["region"];
}
@@ -29791,6 +29992,9 @@
if (network != null) {
_json["network"] = network;
}
+ if (privateIpGoogleAccess != null) {
+ _json["privateIpGoogleAccess"] = privateIpGoogleAccess;
+ }
if (region != null) {
_json["region"] = region;
}
@@ -30091,6 +30295,26 @@
}
}
+class SubnetworksSetPrivateIpGoogleAccessRequest {
+ core.bool privateIpGoogleAccess;
+
+ SubnetworksSetPrivateIpGoogleAccessRequest();
+
+ SubnetworksSetPrivateIpGoogleAccessRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("privateIpGoogleAccess")) {
+ privateIpGoogleAccess = _json["privateIpGoogleAccess"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (privateIpGoogleAccess != null) {
+ _json["privateIpGoogleAccess"] = privateIpGoogleAccess;
+ }
+ return _json;
+ }
+}
+
class TCPHealthCheck {
/**
* The TCP port number for the health check request. The default value is 80.
diff --git a/generated/googleapis/lib/consumersurveys/v2.dart b/generated/googleapis/lib/consumersurveys/v2.dart
index 6dadc12..da70291 100644
--- a/generated/googleapis/lib/consumersurveys/v2.dart
+++ b/generated/googleapis/lib/consumersurveys/v2.dart
@@ -1301,8 +1301,6 @@
* error reporting or troubleshooting requests.
*/
core.String requestId;
- /** Survey object containing the specification of the started Survey. */
- Survey resource;
SurveysStartResponse();
@@ -1310,9 +1308,6 @@
if (_json.containsKey("requestId")) {
requestId = _json["requestId"];
}
- if (_json.containsKey("resource")) {
- resource = new Survey.fromJson(_json["resource"]);
- }
}
core.Map toJson() {
@@ -1320,9 +1315,6 @@
if (requestId != null) {
_json["requestId"] = requestId;
}
- if (resource != null) {
- _json["resource"] = (resource).toJson();
- }
return _json;
}
}
@@ -1333,8 +1325,6 @@
* error reporting or troubleshooting requests.
*/
core.String requestId;
- /** Survey object containing the specification of the stopped Survey. */
- Survey resource;
SurveysStopResponse();
@@ -1342,9 +1332,6 @@
if (_json.containsKey("requestId")) {
requestId = _json["requestId"];
}
- if (_json.containsKey("resource")) {
- resource = new Survey.fromJson(_json["resource"]);
- }
}
core.Map toJson() {
@@ -1352,9 +1339,6 @@
if (requestId != null) {
_json["requestId"] = requestId;
}
- if (resource != null) {
- _json["resource"] = (resource).toJson();
- }
return _json;
}
}
diff --git a/generated/googleapis/lib/container/v1.dart b/generated/googleapis/lib/container/v1.dart
index 86bcca3..c0f3c30 100644
--- a/generated/googleapis/lib/container/v1.dart
+++ b/generated/googleapis/lib/container/v1.dart
@@ -15,8 +15,8 @@
const core.String USER_AGENT = 'dart-api-client container/v1';
/**
- * Builds and manages clusters that run container-based applications, powered by
- * open source Kubernetes technology.
+ * The Google Container Engine API is used for building and managing container
+ * based applications, powered by the open source Kubernetes technology.
*/
class ContainerApi {
/** View and manage your data across Google Cloud Platform services */
@@ -60,7 +60,8 @@
* number](https://support.google.com/cloud/answer/6158840).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) to return operations for.
+ * [zone](/compute/docs/zones#available)
+ * to return operations for.
*
* Completes with a [ServerConfig].
*
@@ -110,13 +111,18 @@
/**
* Creates a cluster, consisting of the specified number and type of Google
- * Compute Engine instances. By default, the cluster is created in the
- * project's [default network](/compute/docs/networks-and-firewalls#networks).
- * One firewall is added for the cluster. After cluster creation, the cluster
- * creates routes for each node to allow the containers on that node to
- * communicate with all other instances in the cluster. Finally, an entry is
- * added to the project's global metadata indicating which CIDR range is being
- * used by the cluster.
+ * Compute Engine instances.
+ *
+ * By default, the cluster is created in the project's
+ * [default network](/compute/docs/networks-and-firewalls#networks).
+ *
+ * One firewall is added for the cluster. After cluster creation,
+ * the cluster creates routes for each node to allow the containers
+ * on that node to communicate with all other instances in the
+ * cluster.
+ *
+ * Finally, an entry is added to the project's global metadata indicating
+ * which CIDR range is being used by the cluster.
*
* [request] - The metadata request object.
*
@@ -126,7 +132,8 @@
* number](https://support.google.com/cloud/answer/6158840).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*
* Completes with a [Operation].
*
@@ -168,10 +175,14 @@
/**
* Deletes the cluster, including the Kubernetes endpoint and all worker
- * nodes. Firewalls and routes that were configured during cluster creation
- * are also deleted. Other Google Compute Engine resources that might be in
- * use by the cluster (e.g. load balancer resources) will not be deleted if
- * they weren't present at the initial create time.
+ * nodes.
+ *
+ * Firewalls and routes that were configured during cluster creation
+ * are also deleted.
+ *
+ * Other Google Compute Engine resources that might be in use by the cluster
+ * (e.g. load balancer resources) will not be deleted if they weren't present
+ * at the initial create time.
*
* Request parameters:
*
@@ -179,7 +190,8 @@
* number](https://support.google.com/cloud/answer/6158840).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*
* [clusterId] - The name of the cluster to delete.
*
@@ -230,7 +242,8 @@
* number](https://support.google.com/cloud/answer/6158840).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*
* [clusterId] - The name of the cluster to retrieve.
*
@@ -273,6 +286,63 @@
}
/**
+ * Enables or disables the ABAC authorization mechanism on a cluster.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [projectId] - The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ *
+ * [zone] - The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
+ *
+ * [clusterId] - The name of the cluster to update.
+ *
+ * Completes with a [Operation].
+ *
+ * Completes with a [commons.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> legacyAbac(SetLegacyAbacRequest request, core.String projectId, core.String zone, core.String clusterId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (projectId == null) {
+ throw new core.ArgumentError("Parameter projectId is required.");
+ }
+ if (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (clusterId == null) {
+ throw new core.ArgumentError("Parameter clusterId is required.");
+ }
+
+ _url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/clusters/' + commons.Escaper.ecapeVariable('$clusterId') + '/legacyAbac';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
* Lists all clusters owned by a project in either the specified zone or all
* zones.
*
@@ -282,8 +352,8 @@
* number](https://support.google.com/cloud/answer/6158840).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides, or "-"
- * for all zones.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides, or "-" for all zones.
*
* Completes with a [ListClustersResponse].
*
@@ -321,6 +391,122 @@
}
/**
+ * Sets labels on a cluster.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [projectId] - The Google Developers Console [project ID or project
+ * number](https://developers.google.com/console/help/new/#projectnumber).
+ *
+ * [zone] - The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
+ *
+ * [clusterId] - The name of the cluster.
+ *
+ * Completes with a [Operation].
+ *
+ * Completes with a [commons.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> resourceLabels(SetLabelsRequest request, core.String projectId, core.String zone, core.String clusterId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (projectId == null) {
+ throw new core.ArgumentError("Parameter projectId is required.");
+ }
+ if (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (clusterId == null) {
+ throw new core.ArgumentError("Parameter clusterId is required.");
+ }
+
+ _url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/clusters/' + commons.Escaper.ecapeVariable('$clusterId') + '/resourceLabels';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * Used to set master auth materials. Currently supports :-
+ * Changing the admin password of a specific cluster.
+ * This can be either via password generation or explicitly set the password.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [projectId] - The Google Developers Console [project ID or project
+ * number](https://support.google.com/cloud/answer/6158840).
+ *
+ * [zone] - The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
+ *
+ * [clusterId] - The name of the cluster to upgrade.
+ *
+ * Completes with a [Operation].
+ *
+ * Completes with a [commons.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> setMasterAuth(SetMasterAuthRequest request, core.String projectId, core.String zone, core.String clusterId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (projectId == null) {
+ throw new core.ArgumentError("Parameter projectId is required.");
+ }
+ if (zone == null) {
+ throw new core.ArgumentError("Parameter zone is required.");
+ }
+ if (clusterId == null) {
+ throw new core.ArgumentError("Parameter clusterId is required.");
+ }
+
+ _url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/clusters/' + commons.Escaper.ecapeVariable('$clusterId') + ':setMasterAuth';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
* Updates the settings of a specific cluster.
*
* [request] - The metadata request object.
@@ -331,7 +517,8 @@
* number](https://support.google.com/cloud/answer/6158840).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*
* [clusterId] - The name of the cluster to upgrade.
*
@@ -396,7 +583,8 @@
* number](https://developers.google.com/console/help/new/#projectnumber).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*
* [clusterId] - The name of the cluster.
*
@@ -450,7 +638,8 @@
* number](https://developers.google.com/console/help/new/#projectnumber).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*
* [clusterId] - The name of the cluster.
*
@@ -506,7 +695,8 @@
* number](https://developers.google.com/console/help/new/#projectnumber).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*
* [clusterId] - The name of the cluster.
*
@@ -562,7 +752,8 @@
* number](https://developers.google.com/console/help/new/#projectnumber).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*
* [clusterId] - The name of the cluster.
*
@@ -605,8 +796,8 @@
}
/**
- * Roll back the previously Aborted or Failed NodePool upgrade. This will be
- * an no-op if the last upgrade successfully completed.
+ * Roll back the previously Aborted or Failed NodePool upgrade.
+ * This will be an no-op if the last upgrade successfully completed.
*
* [request] - The metadata request object.
*
@@ -616,7 +807,8 @@
* number](https://support.google.com/cloud/answer/6158840).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*
* [clusterId] - The name of the cluster to rollback.
*
@@ -677,7 +869,8 @@
* number](https://support.google.com/cloud/answer/6158840).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*
* [clusterId] - The name of the cluster to update.
*
@@ -801,7 +994,8 @@
* number](https://support.google.com/cloud/answer/6158840).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*
* [operationId] - The server-assigned `name` of the operation.
*
@@ -852,8 +1046,8 @@
* number](https://support.google.com/cloud/answer/6158840).
*
* [zone] - The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) to return operations for, or `-` for
- * all zones.
+ * [zone](/compute/docs/zones#available)
+ * to return operations for, or `-` for all zones.
*
* Completes with a [ListOperationsResponse].
*
@@ -900,9 +1094,9 @@
*/
class AddonsConfig {
/**
- * Configuration for the horizontal pod autoscaling feature, which increases
- * or decreases the number of replica pods a replication controller has based
- * on the resource usage of the existing pods.
+ * Configuration for the horizontal pod autoscaling feature, which
+ * increases or decreases the number of replica pods a replication controller
+ * has based on the resource usage of the existing pods.
*/
HorizontalPodAutoscaling horizontalPodAutoscaling;
/**
@@ -935,19 +1129,19 @@
}
/**
- * AutoUpgradeOptions defines the set of options for the user to control how the
- * Auto Upgrades will proceed.
+ * AutoUpgradeOptions defines the set of options for the user to control how
+ * the Auto Upgrades will proceed.
*/
class AutoUpgradeOptions {
/**
- * [Output only] This field is set when upgrades are about to commence with
- * the approximate start time for the upgrades, in
+ * [Output only] This field is set when upgrades are about to commence
+ * with the approximate start time for the upgrades, in
* [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
*/
core.String autoUpgradeStartTime;
/**
- * [Output only] This field is set when upgrades are about to commence with
- * the description of the upgrade.
+ * [Output only] This field is set when upgrades are about to commence
+ * with the description of the upgrade.
*/
core.String description;
@@ -995,8 +1189,8 @@
/**
* The IP address range of the container pods in this cluster, in
* [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- * notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically
- * chosen or specify a `/14` block in `10.0.0.0/8`.
+ * notation (e.g. `10.96.0.0/14`). Leave blank to have
+ * one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
*/
core.String clusterIpv4Cidr;
/**
@@ -1009,9 +1203,9 @@
/** [Output only] The number of nodes currently in the cluster. */
core.int currentNodeCount;
/**
- * [Output only] The current version of the node software components. If they
- * are currently at multiple versions because they're in the process of being
- * upgraded, this reflects the minimum version of all nodes.
+ * [Output only] The current version of the node software components.
+ * If they are currently at multiple versions because they're in the process
+ * of being upgraded, this reflects the minimum version of all nodes.
*/
core.String currentNodeVersion;
/** An optional description of this cluster. */
@@ -1019,21 +1213,24 @@
/**
* Kubernetes alpha features are enabled on this cluster. This includes alpha
* API groups (e.g. v1alpha1) and features that may not be production ready in
- * the kubernetes version of the master and nodes. The cluster has no SLA for
- * uptime and master/node upgrades are disabled. Alpha enabled clusters are
- * automatically deleted thirty days after creation.
+ * the kubernetes version of the master and nodes.
+ * The cluster has no SLA for uptime and master/node upgrades are disabled.
+ * Alpha enabled clusters are automatically deleted thirty days after
+ * creation.
*/
core.bool enableKubernetesAlpha;
/**
- * [Output only] The IP address of this cluster's master endpoint. The
- * endpoint can be accessed from the internet at
- * `https://username:password@endpoint/`. See the `masterAuth` property of
- * this resource for username and password information.
+ * [Output only] The IP address of this cluster's master endpoint.
+ * The endpoint can be accessed from the internet at
+ * `https://username:password@endpoint/`.
+ *
+ * See the `masterAuth` property of this resource for username and
+ * password information.
*/
core.String endpoint;
/**
- * [Output only] The time the cluster will be automatically deleted in
- * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+ * [Output only] The time the cluster will be automatically
+ * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
*/
core.String expireTime;
/**
@@ -1044,19 +1241,25 @@
core.String initialClusterVersion;
/**
* The number of nodes to create in this cluster. You must ensure that your
- * Compute Engine resource quota is sufficient for this number of instances.
- * You must also have available firewall and routes quota. For requests, this
- * field should only be used in lieu of a "node_pool" object, since this
- * configuration (along with the "node_config") will be used to create a
- * "NodePool" object with an auto-generated name. Do not use this and a
- * node_pool at the same time.
+ * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+ * is sufficient for this number of instances. You must also have available
+ * firewall and routes quota.
+ * For requests, this field should only be used in lieu of a
+ * "node_pool" object, since this configuration (along with the
+ * "node_config") will be used to create a "NodePool" object with an
+ * auto-generated name. Do not use this and a node_pool at the same time.
*/
core.int initialNodeCount;
/**
* [Output only] The resource URLs of [instance
- * groups](/compute/docs/instance-groups/) associated with this cluster.
+ * groups](/compute/docs/instance-groups/) associated with this
+ * cluster.
*/
core.List<core.String> instanceGroupUrls;
+ /** The fingerprint of the set of labels for this cluster. */
+ core.String labelFingerprint;
+ /** Configuration for the legacy ABAC authorization mode. */
+ LegacyAbac legacyAbac;
/**
* The list of Google Compute Engine
* [locations](/compute/docs/zones#available) in which the cluster's nodes
@@ -1064,44 +1267,52 @@
*/
core.List<core.String> locations;
/**
- * The logging service the cluster should use to write logs. Currently
- * available options: * `logging.googleapis.com` - the Google Cloud Logging
- * service. * `none` - no logs will be exported from the cluster. * if left as
- * an empty string,`logging.googleapis.com` will be used.
+ * The logging service the cluster should use to write logs.
+ * Currently available options:
+ *
+ * * `logging.googleapis.com` - the Google Cloud Logging service.
+ * * `none` - no logs will be exported from the cluster.
+ * * if left as an empty string,`logging.googleapis.com` will be used.
*/
core.String loggingService;
/** The authentication information for accessing the master endpoint. */
MasterAuth masterAuth;
/**
- * The monitoring service the cluster should use to write metrics. Currently
- * available options: * `monitoring.googleapis.com` - the Google Cloud
- * Monitoring service. * `none` - no metrics will be exported from the
- * cluster. * if left as an empty string, `monitoring.googleapis.com` will be
- * used.
+ * The monitoring service the cluster should use to write metrics.
+ * Currently available options:
+ *
+ * * `monitoring.googleapis.com` - the Google Cloud Monitoring service.
+ * * `none` - no metrics will be exported from the cluster.
+ * * if left as an empty string, `monitoring.googleapis.com` will be used.
*/
core.String monitoringService;
/**
- * The name of this cluster. The name must be unique within this project and
- * zone, and can be up to 40 characters with the following restrictions: *
- * Lowercase letters, numbers, and hyphens only. * Must start with a letter. *
- * Must end with a number or a letter.
+ * The name of this cluster. The name must be unique within this project
+ * and zone, and can be up to 40 characters with the following restrictions:
+ *
+ * * Lowercase letters, numbers, and hyphens only.
+ * * Must start with a letter.
+ * * Must end with a number or a letter.
*/
core.String name;
/**
* The name of the Google Compute Engine
* [network](/compute/docs/networks-and-firewalls#networks) to which the
- * cluster is connected. If left unspecified, the `default` network will be
- * used.
+ * cluster is connected. If left unspecified, the `default` network
+ * will be used.
*/
core.String network;
/**
- * Parameters used in creating the cluster's nodes. See `nodeConfig` for the
- * description of its properties. For requests, this field should only be used
- * in lieu of a "node_pool" object, since this configuration (along with the
+ * Parameters used in creating the cluster's nodes.
+ * See `nodeConfig` for the description of its properties.
+ * For requests, this field should only be used in lieu of a
+ * "node_pool" object, since this configuration (along with the
* "initial_node_count") will be used to create a "NodePool" object with an
- * auto-generated name. Do not use this and a node_pool at the same time. For
- * responses, this field will be populated with the node configuration of the
- * first node pool. If unspecified, the defaults are used.
+ * auto-generated name. Do not use this and a node_pool at the same time.
+ * For responses, this field will be populated with the node configuration of
+ * the first node pool.
+ *
+ * If unspecified, the defaults are used.
*/
NodeConfig nodeConfig;
/**
@@ -1111,29 +1322,42 @@
*/
core.int nodeIpv4CidrSize;
/**
- * The node pools associated with this cluster. This field should not be set
- * if "node_config" or "initial_node_count" are specified.
+ * The node pools associated with this cluster.
+ * This field should not be set if "node_config" or "initial_node_count" are
+ * specified.
*/
core.List<NodePool> nodePools;
+ /**
+ * The resource labels for the cluster to use to annotate any related GCE
+ * resources.
+ */
+ ResourceLabels resourceLabels;
/** [Output only] Server-defined URL for the resource. */
core.String selfLink;
/**
- * [Output only] The IP address range of the Kubernetes services in this
- * cluster, in
+ * [Output only] The IP address range of the Kubernetes services in
+ * this cluster, in
* [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- * notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the
- * last `/16` from the container CIDR.
+ * notation (e.g. `1.2.3.4/29`). Service addresses are
+ * typically put in the last `/16` from the container CIDR.
*/
core.String servicesIpv4Cidr;
/**
* [Output only] The current status of this cluster.
* Possible string values are:
- * - "STATUS_UNSPECIFIED" : A STATUS_UNSPECIFIED.
- * - "PROVISIONING" : A PROVISIONING.
- * - "RUNNING" : A RUNNING.
- * - "RECONCILING" : A RECONCILING.
- * - "STOPPING" : A STOPPING.
- * - "ERROR" : A ERROR.
+ * - "STATUS_UNSPECIFIED" : Not set.
+ * - "PROVISIONING" : The PROVISIONING state indicates the cluster is being
+ * created.
+ * - "RUNNING" : The RUNNING state indicates the cluster has been created and
+ * is fully
+ * usable.
+ * - "RECONCILING" : The RECONCILING state indicates that some work is
+ * actively being done on
+ * the cluster, such as upgrading the master or node software. Details can
+ * be found in the `statusMessage` field.
+ * - "STOPPING" : The STOPPING state indicates the cluster is being deleted.
+ * - "ERROR" : The ERROR state indicates the cluster may be unusable. Details
+ * can be found in the `statusMessage` field.
*/
core.String status;
/**
@@ -1143,12 +1367,14 @@
core.String statusMessage;
/**
* The name of the Google Compute Engine
- * [subnetwork](/compute/docs/subnetworks) to which the cluster is connected.
+ * [subnetwork](/compute/docs/subnetworks) to which the
+ * cluster is connected.
*/
core.String subnetwork;
/**
* [Output only] The name of the Google Compute Engine
- * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * [zone](/compute/docs/zones#available) in which the cluster
+ * resides.
*/
core.String zone;
@@ -1194,6 +1420,12 @@
if (_json.containsKey("instanceGroupUrls")) {
instanceGroupUrls = _json["instanceGroupUrls"];
}
+ if (_json.containsKey("labelFingerprint")) {
+ labelFingerprint = _json["labelFingerprint"];
+ }
+ if (_json.containsKey("legacyAbac")) {
+ legacyAbac = new LegacyAbac.fromJson(_json["legacyAbac"]);
+ }
if (_json.containsKey("locations")) {
locations = _json["locations"];
}
@@ -1221,6 +1453,9 @@
if (_json.containsKey("nodePools")) {
nodePools = _json["nodePools"].map((value) => new NodePool.fromJson(value)).toList();
}
+ if (_json.containsKey("resourceLabels")) {
+ resourceLabels = new ResourceLabels.fromJson(_json["resourceLabels"]);
+ }
if (_json.containsKey("selfLink")) {
selfLink = _json["selfLink"];
}
@@ -1282,6 +1517,12 @@
if (instanceGroupUrls != null) {
_json["instanceGroupUrls"] = instanceGroupUrls;
}
+ if (labelFingerprint != null) {
+ _json["labelFingerprint"] = labelFingerprint;
+ }
+ if (legacyAbac != null) {
+ _json["legacyAbac"] = (legacyAbac).toJson();
+ }
if (locations != null) {
_json["locations"] = locations;
}
@@ -1309,6 +1550,9 @@
if (nodePools != null) {
_json["nodePools"] = nodePools.map((value) => (value).toJson()).toList();
}
+ if (resourceLabels != null) {
+ _json["resourceLabels"] = (resourceLabels).toJson();
+ }
if (selfLink != null) {
_json["selfLink"] = selfLink;
}
@@ -1332,24 +1576,26 @@
}
/**
- * ClusterUpdate describes an update to the cluster. Exactly one update can be
- * applied to a cluster with each request, so at most one field can be provided.
+ * ClusterUpdate describes an update to the cluster. Exactly one update can
+ * be applied to a cluster with each request, so at most one field can be
+ * provided.
*/
class ClusterUpdate {
/** Configurations for the various addons available to run in the cluster. */
AddonsConfig desiredAddonsConfig;
/**
- * The desired image type for the node pool. NOTE: Set the "desired_node_pool"
- * field as well.
+ * The desired image type for the node pool.
+ * NOTE: Set the "desired_node_pool" field as well.
*/
core.String desiredImageType;
/**
* The desired list of Google Compute Engine
* [locations](/compute/docs/zones#available) in which the cluster's nodes
- * should be located. Changing the locations a cluster is in will result in
- * nodes being either created or removed from the cluster, depending on
- * whether locations are being added or removed. This list must always include
- * the cluster's primary zone.
+ * should be located. Changing the locations a cluster is in will result
+ * in nodes being either created or removed from the cluster, depending on
+ * whether locations are being added or removed.
+ *
+ * This list must always include the cluster's primary zone.
*/
core.List<core.String> desiredLocations;
/**
@@ -1359,16 +1605,18 @@
*/
core.String desiredMasterVersion;
/**
- * The monitoring service the cluster should use to write metrics. Currently
- * available options: * "monitoring.googleapis.com" - the Google Cloud
- * Monitoring service * "none" - no metrics will be exported from the cluster
+ * The monitoring service the cluster should use to write metrics.
+ * Currently available options:
+ *
+ * * "monitoring.googleapis.com" - the Google Cloud Monitoring service
+ * * "none" - no metrics will be exported from the cluster
*/
core.String desiredMonitoringService;
/**
* Autoscaler configuration for the node pool specified in
- * desired_node_pool_id. If there is only one pool in the cluster and
- * desired_node_pool_id is not provided then the change applies to that single
- * node pool.
+ * desired_node_pool_id. If there is only one pool in the
+ * cluster and desired_node_pool_id is not provided then
+ * the change applies to that single node pool.
*/
NodePoolAutoscaling desiredNodePoolAutoscaling;
/**
@@ -1379,8 +1627,9 @@
*/
core.String desiredNodePoolId;
/**
- * The Kubernetes version to change the nodes to (typically an upgrade). Use
- * `-` to upgrade to the latest version supported by the server.
+ * The Kubernetes version to change the nodes to (typically an
+ * upgrade). Use `-` to upgrade to the latest version supported by
+ * the server.
*/
core.String desiredNodeVersion;
@@ -1492,10 +1741,14 @@
/**
* A generic empty message that you can re-use to avoid defining duplicated
- * empty messages in your APIs. A typical example is to use it as the request or
- * the response type of an API method. For instance: service Foo { rpc
- * Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON
- * representation for `Empty` is empty JSON object `{}`.
+ * empty messages in your APIs. A typical example is to use it as the request
+ * or the response type of an API method. For instance:
+ *
+ * service Foo {
+ * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+ * }
+ *
+ * The JSON representation for `Empty` is empty JSON object `{}`.
*/
class Empty {
@@ -1546,8 +1799,8 @@
*/
class HttpLoadBalancing {
/**
- * Whether the HTTP Load Balancing controller is enabled in the cluster. When
- * enabled, it runs a small pod in the cluster that manages the load
+ * Whether the HTTP Load Balancing controller is enabled in the cluster.
+ * When enabled, it runs a small pod in the cluster that manages the load
* balancers.
*/
core.bool disabled;
@@ -1569,16 +1822,79 @@
}
}
+/**
+ * A label to be applied to Google Compute Engine resources. It must comply
+ * with RFC1035 for each key and value.
+ */
+class Item {
+ /** The Key for this label. */
+ core.String key;
+ /** The Value for this label. */
+ core.String value;
+
+ Item();
+
+ Item.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;
+ }
+}
+
+/**
+ * Configuration for the legacy Attribute Based Access Control authorization
+ * mode.
+ */
+class LegacyAbac {
+ /**
+ * Whether the ABAC authorizer is enabled for this cluster. When enabled,
+ * identities in the system, including service accounts, nodes, and
+ * controllers, will have statically granted permissions beyond those
+ * provided by the RBAC configuration or IAM.
+ */
+ core.bool enabled;
+
+ LegacyAbac();
+
+ LegacyAbac.fromJson(core.Map _json) {
+ if (_json.containsKey("enabled")) {
+ enabled = _json["enabled"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (enabled != null) {
+ _json["enabled"] = enabled;
+ }
+ return _json;
+ }
+}
+
/** ListClustersResponse is the result of ListClustersRequest. */
class ListClustersResponse {
/**
- * A list of clusters in the project in the specified zone, or across all
- * ones.
+ * A list of clusters in the project in the specified zone, or
+ * across all ones.
*/
core.List<Cluster> clusters;
/**
- * If any zones are listed here, the list of clusters returned may be missing
- * those zones.
+ * If any zones are listed here, the list of clusters returned
+ * may be missing those zones.
*/
core.List<core.String> missingZones;
@@ -1630,8 +1946,8 @@
/** ListOperationsResponse is the result of ListOperationsRequest. */
class ListOperationsResponse {
/**
- * If any zones are listed here, the list of operations returned may be
- * missing the operations from those zones.
+ * If any zones are listed here, the list of operations returned
+ * may be missing the operations from those zones.
*/
core.List<core.String> missingZones;
/** A list of operations in the project in the specified zone. */
@@ -1672,13 +1988,13 @@
*/
core.String clientCertificate;
/**
- * [Output only] Base64-encoded private key used by clients to authenticate to
- * the cluster endpoint.
+ * [Output only] Base64-encoded private key used by clients to authenticate
+ * to the cluster endpoint.
*/
core.String clientKey;
/**
- * [Output only] Base64-encoded public certificate that is the root of trust
- * for the cluster.
+ * [Output only] Base64-encoded public certificate that is the root of
+ * trust for the cluster.
*/
core.String clusterCaCertificate;
/**
@@ -1736,63 +2052,77 @@
/** Parameters that describe the nodes in a cluster. */
class NodeConfig {
/**
- * Size of the disk attached to each node, specified in GB. The smallest
- * allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
+ * Size of the disk attached to each node, specified in GB.
+ * The smallest allowed disk size is 10GB.
+ *
+ * If unspecified, the default disk size is 100GB.
*/
core.int diskSizeGb;
/**
- * The image type to use for this node. Note that for a given image type, the
- * latest version of it will be used.
+ * The image type to use for this node. Note that for a given image type,
+ * the latest version of it will be used.
*/
core.String imageType;
/**
* The map of Kubernetes labels (key/value pairs) to be applied to each node.
- * These will added in addition to any default label(s) that Kubernetes may
- * apply to the node. In case of conflict in label keys, the applied set may
- * differ depending on the Kubernetes version -- it's best to assume the
- * behavior is undefined and conflicts should be avoided. For more
- * information, including usage and the valid values, see:
+ * These will added in addition to any default label(s) that
+ * Kubernetes may apply to the node.
+ * In case of conflict in label keys, the applied set may differ depending on
+ * the Kubernetes version -- it's best to assume the behavior is undefined
+ * and conflicts should be avoided.
+ * For more information, including usage and the valid values, see:
* http://kubernetes.io/v1.1/docs/user-guide/labels.html
*/
core.Map<core.String, core.String> labels;
/**
- * The number of local SSD disks to be attached to the node. The limit for
- * this value is dependant upon the maximum number of disks available on a
- * machine per zone. See:
- * https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits for
- * more information.
+ * The number of local SSD disks to be attached to the node.
+ *
+ * The limit for this value is dependant upon the maximum number of
+ * disks available on a machine per zone. See:
+ * https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits
+ * for more information.
*/
core.int localSsdCount;
/**
* The name of a Google Compute Engine [machine
- * type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified,
- * the default machine type is `n1-standard-1`.
+ * type](/compute/docs/machine-types) (e.g.
+ * `n1-standard-1`).
+ *
+ * If unspecified, the default machine type is
+ * `n1-standard-1`.
*/
core.String machineType;
/**
- * The metadata key/value pairs assigned to instances in the cluster. Keys
- * must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in
- * length. These are reflected as part of a URL in the metadata server.
+ * The metadata key/value pairs assigned to instances in the cluster.
+ *
+ * Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
+ * in length. These are reflected as part of a URL in the metadata server.
* Additionally, to avoid ambiguity, keys must not conflict with any other
* metadata keys for the project or be one of the four reserved keys:
- * "instance-template", "kube-env", "startup-script", and "user-data" Values
- * are free-form strings, and only have meaning as interpreted by the image
- * running in the instance. The only restriction placed on them is that each
- * value's size must be less than or equal to 32 KB. The total size of all
- * keys and values must be less than 512 KB.
+ * "instance-template", "kube-env", "startup-script", and "user-data"
+ *
+ * Values are free-form strings, and only have meaning as interpreted by
+ * the image running in the instance. The only restriction placed on them is
+ * that each value's size must be less than or equal to 32 KB.
+ *
+ * The total size of all keys and values must be less than 512 KB.
*/
core.Map<core.String, core.String> metadata;
/**
- * The set of Google API scopes to be made available on all of the node VMs
- * under the "default" service account. The following scopes are recommended,
- * but not required, and by default are not included: *
- * `https://www.googleapis.com/auth/compute` is required for mounting
- * persistent storage on your nodes. *
- * `https://www.googleapis.com/auth/devstorage.read_only` is required for
- * communicating with **gcr.io** (the [Google Container
- * Registry](/container-registry/)). If unspecified, no scopes are added,
- * unless Cloud Logging or Cloud Monitoring are enabled, in which case their
- * required scopes will be added.
+ * The set of Google API scopes to be made available on all of the
+ * node VMs under the "default" service account.
+ *
+ * The following scopes are recommended, but not required, and by default are
+ * not included:
+ *
+ * * `https://www.googleapis.com/auth/compute` is required for mounting
+ * persistent storage on your nodes.
+ * * `https://www.googleapis.com/auth/devstorage.read_only` is required for
+ * communicating with **gcr.io**
+ * (the [Google Container Registry](/container-registry/)).
+ *
+ * If unspecified, no scopes are added, unless Cloud Logging or Cloud
+ * Monitoring are enabled, in which case their required scopes will be added.
*/
core.List<core.String> oauthScopes;
/**
@@ -1802,15 +2132,15 @@
*/
core.bool preemptible;
/**
- * The Google Cloud Platform Service Account to be used by the node VMs. If no
- * Service Account is specified, the "default" service account is used.
+ * The Google Cloud Platform Service Account to be used by the node VMs. If
+ * no Service Account is specified, the "default" service account is used.
*/
core.String serviceAccount;
/**
* The list of instance tags applied to all nodes. Tags are used to identify
- * valid sources or targets for network firewalls and are specified by the
- * client during cluster or node pool creation. Each tag within the list must
- * comply with RFC1035.
+ * valid sources or targets for network firewalls and are specified by
+ * the client during cluster or node pool creation. Each tag within the list
+ * must comply with RFC1035.
*/
core.List<core.String> tags;
@@ -1890,7 +2220,18 @@
* node pool.
*/
class NodeManagement {
- /** Whether the nodes will be automatically upgraded. */
+ /**
+ * A flag that specifies whether the node auto-repair is enabled for the node
+ * pool. If enabled, the nodes in this node pool will be monitored and, if
+ * they fail health checks too many times, an automatic repair action will be
+ * triggered.
+ */
+ core.bool autoRepair;
+ /**
+ * A flag that specifies whether node auto-upgrade is enabled for the node
+ * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
+ * up to date with the latest release version of Kubernetes.
+ */
core.bool autoUpgrade;
/** Specifies the Auto Upgrade knobs for the node pool. */
AutoUpgradeOptions upgradeOptions;
@@ -1898,6 +2239,9 @@
NodeManagement();
NodeManagement.fromJson(core.Map _json) {
+ if (_json.containsKey("autoRepair")) {
+ autoRepair = _json["autoRepair"];
+ }
if (_json.containsKey("autoUpgrade")) {
autoUpgrade = _json["autoUpgrade"];
}
@@ -1908,6 +2252,9 @@
core.Map toJson() {
var _json = new core.Map();
+ if (autoRepair != null) {
+ _json["autoRepair"] = autoRepair;
+ }
if (autoUpgrade != null) {
_json["autoUpgrade"] = autoUpgrade;
}
@@ -1919,8 +2266,8 @@
}
/**
- * NodePool contains the name and configuration for a cluster's node pool. Node
- * pools are a set of nodes (i.e. VM's), with a common configuration and
+ * NodePool contains the name and configuration for a cluster's node pool.
+ * Node pools are a set of nodes (i.e. VM's), with a common configuration and
* specification, under the control of the cluster master. They may have a set
* of Kubernetes labels applied to them, which may be used to reference them
* during pod scheduling. They may also be resized up or down, to accommodate
@@ -1928,21 +2275,23 @@
*/
class NodePool {
/**
- * Autoscaler configuration for this NodePool. Autoscaler is enabled only if a
- * valid configuration is present.
+ * Autoscaler configuration for this NodePool. Autoscaler is enabled
+ * only if a valid configuration is present.
*/
NodePoolAutoscaling autoscaling;
/** The node configuration of the pool. */
NodeConfig config;
/**
- * The initial node count for the pool. You must ensure that your Compute
- * Engine resource quota is sufficient for this number of instances. You must
- * also have available firewall and routes quota.
+ * The initial node count for the pool. You must ensure that your
+ * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+ * is sufficient for this number of instances. You must also have available
+ * firewall and routes quota.
*/
core.int initialNodeCount;
/**
* [Output only] The resource URLs of [instance
- * groups](/compute/docs/instance-groups/) associated with this node pool.
+ * groups](/compute/docs/instance-groups/) associated with this
+ * node pool.
*/
core.List<core.String> instanceGroupUrls;
/** NodeManagement configuration for this NodePool. */
@@ -1954,18 +2303,29 @@
/**
* [Output only] The status of the nodes in this pool instance.
* Possible string values are:
- * - "STATUS_UNSPECIFIED" : A STATUS_UNSPECIFIED.
- * - "PROVISIONING" : A PROVISIONING.
- * - "RUNNING" : A RUNNING.
- * - "RUNNING_WITH_ERROR" : A RUNNING_WITH_ERROR.
- * - "RECONCILING" : A RECONCILING.
- * - "STOPPING" : A STOPPING.
- * - "ERROR" : A ERROR.
+ * - "STATUS_UNSPECIFIED" : Not set.
+ * - "PROVISIONING" : The PROVISIONING state indicates the node pool is being
+ * created.
+ * - "RUNNING" : The RUNNING state indicates the node pool has been created
+ * and is fully usable.
+ * - "RUNNING_WITH_ERROR" : The RUNNING_WITH_ERROR state indicates the node
+ * pool has been created
+ * and is partially usable. Some error state has occurred and some
+ * functionality may be impaired. Customer may need to reissue a request
+ * or trigger a new update.
+ * - "RECONCILING" : The RECONCILING state indicates that some work is
+ * actively being done on
+ * the node pool, such as upgrading node software. Details can
+ * be found in the `statusMessage` field.
+ * - "STOPPING" : The STOPPING state indicates the node pool is being deleted.
+ * - "ERROR" : The ERROR state indicates the node pool may be unusable.
+ * Details
+ * can be found in the `statusMessage` field.
*/
core.String status;
/**
- * [Output only] Additional information about the current status of this node
- * pool instance, if available.
+ * [Output only] Additional information about the current status of this
+ * node pool instance, if available.
*/
core.String statusMessage;
/** [Output only] The version of the Kubernetes of this node. */
@@ -2101,16 +2461,20 @@
/**
* The operation type.
* Possible string values are:
- * - "TYPE_UNSPECIFIED" : A TYPE_UNSPECIFIED.
- * - "CREATE_CLUSTER" : A CREATE_CLUSTER.
- * - "DELETE_CLUSTER" : A DELETE_CLUSTER.
- * - "UPGRADE_MASTER" : A UPGRADE_MASTER.
- * - "UPGRADE_NODES" : A UPGRADE_NODES.
- * - "REPAIR_CLUSTER" : A REPAIR_CLUSTER.
- * - "UPDATE_CLUSTER" : A UPDATE_CLUSTER.
- * - "CREATE_NODE_POOL" : A CREATE_NODE_POOL.
- * - "DELETE_NODE_POOL" : A DELETE_NODE_POOL.
- * - "SET_NODE_POOL_MANAGEMENT" : A SET_NODE_POOL_MANAGEMENT.
+ * - "TYPE_UNSPECIFIED" : Not set.
+ * - "CREATE_CLUSTER" : Cluster create.
+ * - "DELETE_CLUSTER" : Cluster delete.
+ * - "UPGRADE_MASTER" : A master upgrade.
+ * - "UPGRADE_NODES" : A node upgrade.
+ * - "REPAIR_CLUSTER" : Cluster repair.
+ * - "UPDATE_CLUSTER" : Cluster update.
+ * - "CREATE_NODE_POOL" : Node pool create.
+ * - "DELETE_NODE_POOL" : Node pool delete.
+ * - "SET_NODE_POOL_MANAGEMENT" : Set node pool management.
+ * - "AUTO_REPAIR_NODES" : Automatic node pool repair.
+ * - "AUTO_UPGRADE_NODES" : Automatic node upgrade.
+ * - "SET_LABELS" : Set labels.
+ * - "SET_MASTER_AUTH" : Set/generate master auth materials
*/
core.String operationType;
/** Server-defined URL for the resource. */
@@ -2118,11 +2482,11 @@
/**
* The current status of the operation.
* Possible string values are:
- * - "STATUS_UNSPECIFIED" : A STATUS_UNSPECIFIED.
- * - "PENDING" : A PENDING.
- * - "RUNNING" : A RUNNING.
- * - "DONE" : A DONE.
- * - "ABORTING" : A ABORTING.
+ * - "STATUS_UNSPECIFIED" : Not set.
+ * - "PENDING" : The operation has been created.
+ * - "RUNNING" : The operation is currently running.
+ * - "DONE" : The operation is done, either cancelled or completed.
+ * - "ABORTING" : The operation is aborting.
*/
core.String status;
/** If an error has occurred, a textual description of the error. */
@@ -2130,8 +2494,9 @@
/** Server-defined URL for the target of the operation. */
core.String targetLink;
/**
- * The name of the Google Compute Engine [zone](/compute/docs/zones#available)
- * in which the operation is taking place.
+ * The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the operation
+ * is taking place.
*/
core.String zone;
@@ -2195,6 +2560,33 @@
}
/**
+ * The set of Google Compute Engine labels that will be applied to any
+ * underlying resources that the Google Container Cluster creates or uses.
+ * These are merely metadata on the resources, and do not change the behavior
+ * of the cluster.
+ */
+class ResourceLabels {
+ /** The list of labels. */
+ core.List<Item> items;
+
+ ResourceLabels();
+
+ ResourceLabels.fromJson(core.Map _json) {
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new Item.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (items != null) {
+ _json["items"] = items.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/**
* RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
* NodePool upgrade. This will be an no-op if the last upgrade successfully
* completed.
@@ -2267,6 +2659,108 @@
}
/**
+ * SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
+ * Engine cluster, which will in turn set them for Google Compute Engine
+ * resources used by that cluster
+ */
+class SetLabelsRequest {
+ /**
+ * The fingerprint of the previous set of labels for this resource,
+ * used to detect conflicts. The fingerprint is initially generated by
+ * Container Engine and changes after every request to modify or update
+ * labels. You must always provide an up-to-date fingerprint hash when
+ * updating or changing labels. Make a <code>get()</code> request to the
+ * resource to get the latest fingerprint.
+ */
+ core.String labelFingerprint;
+ /** The labels to set for that cluster. */
+ ResourceLabels resourceLabels;
+
+ SetLabelsRequest();
+
+ SetLabelsRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("labelFingerprint")) {
+ labelFingerprint = _json["labelFingerprint"];
+ }
+ if (_json.containsKey("resourceLabels")) {
+ resourceLabels = new ResourceLabels.fromJson(_json["resourceLabels"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (labelFingerprint != null) {
+ _json["labelFingerprint"] = labelFingerprint;
+ }
+ if (resourceLabels != null) {
+ _json["resourceLabels"] = (resourceLabels).toJson();
+ }
+ return _json;
+ }
+}
+
+/**
+ * SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
+ * a cluster.
+ */
+class SetLegacyAbacRequest {
+ /** Whether ABAC authorization will be enabled in the cluster. */
+ core.bool enabled;
+
+ SetLegacyAbacRequest();
+
+ SetLegacyAbacRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("enabled")) {
+ enabled = _json["enabled"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (enabled != null) {
+ _json["enabled"] = enabled;
+ }
+ return _json;
+ }
+}
+
+/** SetMasterAuthRequest updates the admin password of a cluster. */
+class SetMasterAuthRequest {
+ /**
+ * The exact form of action to be taken on the master auth
+ * Possible string values are:
+ * - "UNKNOWN" : Operation is unknown and will error out
+ * - "SET_PASSWORD" : Set the password to a user generated value.
+ * - "GENERATE_PASSWORD" : Generate a new password and set it to that.
+ */
+ core.String action;
+ /** A description of the update. */
+ MasterAuth update;
+
+ SetMasterAuthRequest();
+
+ SetMasterAuthRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("action")) {
+ action = _json["action"];
+ }
+ if (_json.containsKey("update")) {
+ update = new MasterAuth.fromJson(_json["update"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (action != null) {
+ _json["action"] = action;
+ }
+ if (update != null) {
+ _json["update"] = (update).toJson();
+ }
+ return _json;
+ }
+}
+
+/**
* SetNodePoolManagementRequest sets the node management properties of a node
* pool.
*/
diff --git a/generated/googleapis/lib/content/v2.dart b/generated/googleapis/lib/content/v2.dart
index b280ba4..4f5e716 100644
--- a/generated/googleapis/lib/content/v2.dart
+++ b/generated/googleapis/lib/content/v2.dart
@@ -26,7 +26,6 @@
final commons.ApiRequester _requester;
AccountsResourceApi get accounts => new AccountsResourceApi(_requester);
- AccountshippingResourceApi get accountshipping => new AccountshippingResourceApi(_requester);
AccountstatusesResourceApi get accountstatuses => new AccountstatusesResourceApi(_requester);
AccounttaxResourceApi get accounttax => new AccounttaxResourceApi(_requester);
DatafeedsResourceApi get datafeeds => new DatafeedsResourceApi(_requester);
@@ -442,275 +441,6 @@
}
-class AccountshippingResourceApi {
- final commons.ApiRequester _requester;
-
- AccountshippingResourceApi(commons.ApiRequester client) :
- _requester = client;
-
- /**
- * Retrieves and updates the shipping settings of multiple accounts in a
- * single request.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [dryRun] - Flag to run the request in dry-run mode.
- *
- * Completes with a [AccountshippingCustomBatchResponse].
- *
- * Completes with a [commons.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<AccountshippingCustomBatchResponse> custombatch(AccountshippingCustomBatchRequest request, {core.bool dryRun}) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (dryRun != null) {
- _queryParams["dryRun"] = ["${dryRun}"];
- }
-
- _url = 'accountshipping/batch';
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new AccountshippingCustomBatchResponse.fromJson(data));
- }
-
- /**
- * Retrieves the shipping settings of the account. This method can only be
- * called for accounts to which the managing account has access: either the
- * managing account itself or sub-accounts if the managing account is a
- * multi-client account.
- *
- * Request parameters:
- *
- * [merchantId] - The ID of the managing account.
- *
- * [accountId] - The ID of the account for which to get/update account
- * shipping settings.
- *
- * Completes with a [AccountShipping].
- *
- * Completes with a [commons.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<AccountShipping> get(core.String merchantId, core.String accountId) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (merchantId == null) {
- throw new core.ArgumentError("Parameter merchantId is required.");
- }
- if (accountId == null) {
- throw new core.ArgumentError("Parameter accountId is required.");
- }
-
- _url = commons.Escaper.ecapeVariable('$merchantId') + '/accountshipping/' + commons.Escaper.ecapeVariable('$accountId');
-
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new AccountShipping.fromJson(data));
- }
-
- /**
- * Lists the shipping settings of the sub-accounts in your Merchant Center
- * account. This method can only be called for multi-client accounts.
- *
- * Request parameters:
- *
- * [merchantId] - The ID of the managing account.
- *
- * [maxResults] - The maximum number of shipping settings to return in the
- * response, used for paging.
- *
- * [pageToken] - The token returned by the previous request.
- *
- * Completes with a [AccountshippingListResponse].
- *
- * Completes with a [commons.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<AccountshippingListResponse> list(core.String merchantId, {core.int maxResults, core.String pageToken}) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (merchantId == null) {
- throw new core.ArgumentError("Parameter merchantId is required.");
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
-
- _url = commons.Escaper.ecapeVariable('$merchantId') + '/accountshipping';
-
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new AccountshippingListResponse.fromJson(data));
- }
-
- /**
- * Updates the shipping settings of the account. This method can only be
- * called for accounts to which the managing account has access: either the
- * managing account itself or sub-accounts if the managing account is a
- * multi-client account. This method supports patch semantics.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [merchantId] - The ID of the managing account.
- *
- * [accountId] - The ID of the account for which to get/update account
- * shipping settings.
- *
- * [dryRun] - Flag to run the request in dry-run mode.
- *
- * Completes with a [AccountShipping].
- *
- * Completes with a [commons.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<AccountShipping> patch(AccountShipping request, core.String merchantId, core.String accountId, {core.bool dryRun}) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (merchantId == null) {
- throw new core.ArgumentError("Parameter merchantId is required.");
- }
- if (accountId == null) {
- throw new core.ArgumentError("Parameter accountId is required.");
- }
- if (dryRun != null) {
- _queryParams["dryRun"] = ["${dryRun}"];
- }
-
- _url = commons.Escaper.ecapeVariable('$merchantId') + '/accountshipping/' + commons.Escaper.ecapeVariable('$accountId');
-
- var _response = _requester.request(_url,
- "PATCH",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new AccountShipping.fromJson(data));
- }
-
- /**
- * Updates the shipping settings of the account. This method can only be
- * called for accounts to which the managing account has access: either the
- * managing account itself or sub-accounts if the managing account is a
- * multi-client account.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [merchantId] - The ID of the managing account.
- *
- * [accountId] - The ID of the account for which to get/update account
- * shipping settings.
- *
- * [dryRun] - Flag to run the request in dry-run mode.
- *
- * Completes with a [AccountShipping].
- *
- * Completes with a [commons.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<AccountShipping> update(AccountShipping request, core.String merchantId, core.String accountId, {core.bool dryRun}) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (request != null) {
- _body = convert.JSON.encode((request).toJson());
- }
- if (merchantId == null) {
- throw new core.ArgumentError("Parameter merchantId is required.");
- }
- if (accountId == null) {
- throw new core.ArgumentError("Parameter accountId is required.");
- }
- if (dryRun != null) {
- _queryParams["dryRun"] = ["${dryRun}"];
- }
-
- _url = commons.Escaper.ecapeVariable('$merchantId') + '/accountshipping/' + commons.Escaper.ecapeVariable('$accountId');
-
- var _response = _requester.request(_url,
- "PUT",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new AccountShipping.fromJson(data));
- }
-
-}
-
-
class AccountstatusesResourceApi {
final commons.ApiRequester _requester;
@@ -1845,8 +1575,8 @@
}
/**
- * Cancels all line items in an order. This method can only be called for
- * non-multi-client accounts.
+ * Cancels all line items in an order, making a full refund. This method can
+ * only be called for non-multi-client accounts.
*
* [request] - The metadata request object.
*
@@ -1895,8 +1625,8 @@
}
/**
- * Cancels a line item. This method can only be called for non-multi-client
- * accounts.
+ * Cancels a line item, making a full refund. This method can only be called
+ * for non-multi-client accounts.
*
* [request] - The metadata request object.
*
@@ -3412,612 +3142,6 @@
}
}
-/** The shipping settings of a merchant account. */
-class AccountShipping {
- /** The ID of the account to which these account shipping settings belong. */
- core.String accountId;
- /** Carrier-based shipping calculations. */
- core.List<AccountShippingCarrierRate> carrierRates;
- /**
- * Identifies what kind of resource this is. Value: the fixed string
- * "content#accountShipping".
- */
- core.String kind;
- /** Location groups for shipping. */
- core.List<AccountShippingLocationGroup> locationGroups;
- /** Rate tables definitions. */
- core.List<AccountShippingRateTable> rateTables;
- /** Shipping services describing shipping fees calculation. */
- core.List<AccountShippingShippingService> services;
-
- AccountShipping();
-
- AccountShipping.fromJson(core.Map _json) {
- if (_json.containsKey("accountId")) {
- accountId = _json["accountId"];
- }
- if (_json.containsKey("carrierRates")) {
- carrierRates = _json["carrierRates"].map((value) => new AccountShippingCarrierRate.fromJson(value)).toList();
- }
- if (_json.containsKey("kind")) {
- kind = _json["kind"];
- }
- if (_json.containsKey("locationGroups")) {
- locationGroups = _json["locationGroups"].map((value) => new AccountShippingLocationGroup.fromJson(value)).toList();
- }
- if (_json.containsKey("rateTables")) {
- rateTables = _json["rateTables"].map((value) => new AccountShippingRateTable.fromJson(value)).toList();
- }
- if (_json.containsKey("services")) {
- services = _json["services"].map((value) => new AccountShippingShippingService.fromJson(value)).toList();
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (accountId != null) {
- _json["accountId"] = accountId;
- }
- if (carrierRates != null) {
- _json["carrierRates"] = carrierRates.map((value) => (value).toJson()).toList();
- }
- if (kind != null) {
- _json["kind"] = kind;
- }
- if (locationGroups != null) {
- _json["locationGroups"] = locationGroups.map((value) => (value).toJson()).toList();
- }
- if (rateTables != null) {
- _json["rateTables"] = rateTables.map((value) => (value).toJson()).toList();
- }
- if (services != null) {
- _json["services"] = services.map((value) => (value).toJson()).toList();
- }
- return _json;
- }
-}
-
-/** A carrier-calculated shipping rate. */
-class AccountShippingCarrierRate {
- /**
- * The carrier that is responsible for the shipping, such as "UPS", "FedEx",
- * or "USPS".
- */
- core.String carrier;
- /** The carrier service, such as "Ground" or "2Day". */
- core.String carrierService;
- /** Additive shipping rate modifier. */
- Price modifierFlatRate;
- /**
- * Multiplicative shipping rate modifier in percent. Represented as a floating
- * point number without the percentage character.
- */
- core.String modifierPercent;
- /** The name of the carrier rate. */
- core.String name;
- /**
- * The sale country for which this carrier rate is valid, represented as a
- * CLDR territory code.
- */
- core.String saleCountry;
- /** Shipping origin represented as a postal code. */
- core.String shippingOrigin;
-
- AccountShippingCarrierRate();
-
- AccountShippingCarrierRate.fromJson(core.Map _json) {
- if (_json.containsKey("carrier")) {
- carrier = _json["carrier"];
- }
- if (_json.containsKey("carrierService")) {
- carrierService = _json["carrierService"];
- }
- if (_json.containsKey("modifierFlatRate")) {
- modifierFlatRate = new Price.fromJson(_json["modifierFlatRate"]);
- }
- if (_json.containsKey("modifierPercent")) {
- modifierPercent = _json["modifierPercent"];
- }
- if (_json.containsKey("name")) {
- name = _json["name"];
- }
- if (_json.containsKey("saleCountry")) {
- saleCountry = _json["saleCountry"];
- }
- if (_json.containsKey("shippingOrigin")) {
- shippingOrigin = _json["shippingOrigin"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (carrier != null) {
- _json["carrier"] = carrier;
- }
- if (carrierService != null) {
- _json["carrierService"] = carrierService;
- }
- if (modifierFlatRate != null) {
- _json["modifierFlatRate"] = (modifierFlatRate).toJson();
- }
- if (modifierPercent != null) {
- _json["modifierPercent"] = modifierPercent;
- }
- if (name != null) {
- _json["name"] = name;
- }
- if (saleCountry != null) {
- _json["saleCountry"] = saleCountry;
- }
- if (shippingOrigin != null) {
- _json["shippingOrigin"] = shippingOrigin;
- }
- return _json;
- }
-}
-
-class AccountShippingCondition {
- /**
- * Delivery location in terms of a location group name. A location group with
- * this name must be specified among location groups.
- */
- core.String deliveryLocationGroup;
- /**
- * Delivery location in terms of a location ID. Can be used to represent
- * administrative areas, smaller country subdivisions, or cities.
- */
- core.String deliveryLocationId;
- /** Delivery location in terms of a postal code. */
- core.String deliveryPostalCode;
- /** Delivery location in terms of a postal code range. */
- AccountShippingPostalCodeRange deliveryPostalCodeRange;
- /**
- * Maximum shipping price. Forms an interval between the maximum of smaller
- * prices (exclusive) and this price (inclusive).
- */
- Price priceMax;
- /**
- * Shipping label of the product. The products with the label are matched.
- */
- core.String shippingLabel;
- /**
- * Maximum shipping weight. Forms an interval between the maximum of smaller
- * weight (exclusive) and this weight (inclusive).
- */
- Weight weightMax;
-
- AccountShippingCondition();
-
- AccountShippingCondition.fromJson(core.Map _json) {
- if (_json.containsKey("deliveryLocationGroup")) {
- deliveryLocationGroup = _json["deliveryLocationGroup"];
- }
- if (_json.containsKey("deliveryLocationId")) {
- deliveryLocationId = _json["deliveryLocationId"];
- }
- if (_json.containsKey("deliveryPostalCode")) {
- deliveryPostalCode = _json["deliveryPostalCode"];
- }
- if (_json.containsKey("deliveryPostalCodeRange")) {
- deliveryPostalCodeRange = new AccountShippingPostalCodeRange.fromJson(_json["deliveryPostalCodeRange"]);
- }
- if (_json.containsKey("priceMax")) {
- priceMax = new Price.fromJson(_json["priceMax"]);
- }
- if (_json.containsKey("shippingLabel")) {
- shippingLabel = _json["shippingLabel"];
- }
- if (_json.containsKey("weightMax")) {
- weightMax = new Weight.fromJson(_json["weightMax"]);
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (deliveryLocationGroup != null) {
- _json["deliveryLocationGroup"] = deliveryLocationGroup;
- }
- if (deliveryLocationId != null) {
- _json["deliveryLocationId"] = deliveryLocationId;
- }
- if (deliveryPostalCode != null) {
- _json["deliveryPostalCode"] = deliveryPostalCode;
- }
- if (deliveryPostalCodeRange != null) {
- _json["deliveryPostalCodeRange"] = (deliveryPostalCodeRange).toJson();
- }
- if (priceMax != null) {
- _json["priceMax"] = (priceMax).toJson();
- }
- if (shippingLabel != null) {
- _json["shippingLabel"] = shippingLabel;
- }
- if (weightMax != null) {
- _json["weightMax"] = (weightMax).toJson();
- }
- return _json;
- }
-}
-
-/**
- * A user-defined locations group in a given country. All the locations of the
- * group must be of the same type.
- */
-class AccountShippingLocationGroup {
- /**
- * The CLDR territory code of the country in which this location group is.
- */
- core.String country;
- /**
- * A location ID (also called criteria ID) representing administrative areas,
- * smaller country subdivisions (counties), or cities.
- */
- core.List<core.String> locationIds;
- /** The name of the location group. */
- core.String name;
- /** A postal code range representing a city or a set of cities. */
- core.List<AccountShippingPostalCodeRange> postalCodeRanges;
- /**
- * A postal code representing a city or a set of cities.
- * - A single postal code (e.g., 12345)
- * - A postal code prefix followed by a star (e.g., 1234*)
- */
- core.List<core.String> postalCodes;
-
- AccountShippingLocationGroup();
-
- AccountShippingLocationGroup.fromJson(core.Map _json) {
- if (_json.containsKey("country")) {
- country = _json["country"];
- }
- if (_json.containsKey("locationIds")) {
- locationIds = _json["locationIds"];
- }
- if (_json.containsKey("name")) {
- name = _json["name"];
- }
- if (_json.containsKey("postalCodeRanges")) {
- postalCodeRanges = _json["postalCodeRanges"].map((value) => new AccountShippingPostalCodeRange.fromJson(value)).toList();
- }
- if (_json.containsKey("postalCodes")) {
- postalCodes = _json["postalCodes"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (country != null) {
- _json["country"] = country;
- }
- if (locationIds != null) {
- _json["locationIds"] = locationIds;
- }
- if (name != null) {
- _json["name"] = name;
- }
- if (postalCodeRanges != null) {
- _json["postalCodeRanges"] = postalCodeRanges.map((value) => (value).toJson()).toList();
- }
- if (postalCodes != null) {
- _json["postalCodes"] = postalCodes;
- }
- return _json;
- }
-}
-
-/**
- * A postal code range, that can be either:
- * - A range of postal codes (e.g., start=12340, end=12359)
- * - A range of postal codes prefixes (e.g., start=1234* end=1235*). Prefixes
- * must be of the same length (e.g., start=12* end=2* is invalid).
- */
-class AccountShippingPostalCodeRange {
- /** The last (inclusive) postal code or prefix of the range. */
- core.String end;
- /** The first (inclusive) postal code or prefix of the range. */
- core.String start;
-
- AccountShippingPostalCodeRange();
-
- AccountShippingPostalCodeRange.fromJson(core.Map _json) {
- if (_json.containsKey("end")) {
- end = _json["end"];
- }
- if (_json.containsKey("start")) {
- start = _json["start"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (end != null) {
- _json["end"] = end;
- }
- if (start != null) {
- _json["start"] = start;
- }
- return _json;
- }
-}
-
-/**
- * A single or bi-dimensional table of shipping rates. Each dimension is defined
- * in terms of consecutive price/weight ranges, delivery locations, or shipping
- * labels.
- */
-class AccountShippingRateTable {
- /**
- * One-dimensional table cells define one condition along the same dimension.
- * Bi-dimensional table cells use two dimensions with respectively M and N
- * distinct values and must contain exactly M * N cells with distinct
- * conditions (for each possible value pairs).
- */
- core.List<AccountShippingRateTableCell> content;
- /** The name of the rate table. */
- core.String name;
- /**
- * The sale country for which this table is valid, represented as a CLDR
- * territory code.
- */
- core.String saleCountry;
-
- AccountShippingRateTable();
-
- AccountShippingRateTable.fromJson(core.Map _json) {
- if (_json.containsKey("content")) {
- content = _json["content"].map((value) => new AccountShippingRateTableCell.fromJson(value)).toList();
- }
- if (_json.containsKey("name")) {
- name = _json["name"];
- }
- if (_json.containsKey("saleCountry")) {
- saleCountry = _json["saleCountry"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (content != null) {
- _json["content"] = content.map((value) => (value).toJson()).toList();
- }
- if (name != null) {
- _json["name"] = name;
- }
- if (saleCountry != null) {
- _json["saleCountry"] = saleCountry;
- }
- return _json;
- }
-}
-
-class AccountShippingRateTableCell {
- /**
- * Conditions for which the cell is valid. All cells in a table must use the
- * same dimension or pair of dimensions among price, weight, shipping label or
- * delivery location. If no condition is specified, the cell acts as a
- * catch-all and matches all the elements that are not matched by other cells
- * in this dimension.
- */
- AccountShippingCondition condition;
- /** The rate applicable if the cell conditions are matched. */
- Price rate;
-
- AccountShippingRateTableCell();
-
- AccountShippingRateTableCell.fromJson(core.Map _json) {
- if (_json.containsKey("condition")) {
- condition = new AccountShippingCondition.fromJson(_json["condition"]);
- }
- if (_json.containsKey("rate")) {
- rate = new Price.fromJson(_json["rate"]);
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (condition != null) {
- _json["condition"] = (condition).toJson();
- }
- if (rate != null) {
- _json["rate"] = (rate).toJson();
- }
- return _json;
- }
-}
-
-/** Shipping services provided in a country. */
-class AccountShippingShippingService {
- /** Whether the shipping service is available. */
- core.bool active;
- /** Calculation method for the "simple" case that needs no rules. */
- AccountShippingShippingServiceCalculationMethod calculationMethod;
- /** Decision tree for "complicated" shipping cost calculation. */
- AccountShippingShippingServiceCostRule costRuleTree;
- /**
- * The maximum number of days in transit. Must be a value between 0 and 250
- * included. A value of 0 means same day delivery.
- */
- core.String maxDaysInTransit;
- /**
- * The minimum number of days in transit. Must be a value between 0 and
- * maxDaysIntransit included. A value of 0 means same day delivery.
- */
- core.String minDaysInTransit;
- /** The name of this shipping service. */
- core.String name;
- /**
- * The CLDR territory code of the sale country for which this service can be
- * used.
- */
- core.String saleCountry;
-
- AccountShippingShippingService();
-
- AccountShippingShippingService.fromJson(core.Map _json) {
- if (_json.containsKey("active")) {
- active = _json["active"];
- }
- if (_json.containsKey("calculationMethod")) {
- calculationMethod = new AccountShippingShippingServiceCalculationMethod.fromJson(_json["calculationMethod"]);
- }
- if (_json.containsKey("costRuleTree")) {
- costRuleTree = new AccountShippingShippingServiceCostRule.fromJson(_json["costRuleTree"]);
- }
- if (_json.containsKey("maxDaysInTransit")) {
- maxDaysInTransit = _json["maxDaysInTransit"];
- }
- if (_json.containsKey("minDaysInTransit")) {
- minDaysInTransit = _json["minDaysInTransit"];
- }
- if (_json.containsKey("name")) {
- name = _json["name"];
- }
- if (_json.containsKey("saleCountry")) {
- saleCountry = _json["saleCountry"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (active != null) {
- _json["active"] = active;
- }
- if (calculationMethod != null) {
- _json["calculationMethod"] = (calculationMethod).toJson();
- }
- if (costRuleTree != null) {
- _json["costRuleTree"] = (costRuleTree).toJson();
- }
- if (maxDaysInTransit != null) {
- _json["maxDaysInTransit"] = maxDaysInTransit;
- }
- if (minDaysInTransit != null) {
- _json["minDaysInTransit"] = minDaysInTransit;
- }
- if (name != null) {
- _json["name"] = name;
- }
- if (saleCountry != null) {
- _json["saleCountry"] = saleCountry;
- }
- return _json;
- }
-}
-
-/** Shipping cost calculation method. Exactly one of the field is set. */
-class AccountShippingShippingServiceCalculationMethod {
- /** Name of the carrier rate to use for the calculation. */
- core.String carrierRate;
- /** Delivery is excluded. Valid only within cost rules tree. */
- core.bool excluded;
- /**
- * Fixed price shipping, represented as a floating point number associated
- * with a currency.
- */
- Price flatRate;
- /**
- * Percentage of the price, represented as a floating point number without the
- * percentage character.
- */
- core.String percentageRate;
- /** Name of the rate table to use for the calculation. */
- core.String rateTable;
-
- AccountShippingShippingServiceCalculationMethod();
-
- AccountShippingShippingServiceCalculationMethod.fromJson(core.Map _json) {
- if (_json.containsKey("carrierRate")) {
- carrierRate = _json["carrierRate"];
- }
- if (_json.containsKey("excluded")) {
- excluded = _json["excluded"];
- }
- if (_json.containsKey("flatRate")) {
- flatRate = new Price.fromJson(_json["flatRate"]);
- }
- if (_json.containsKey("percentageRate")) {
- percentageRate = _json["percentageRate"];
- }
- if (_json.containsKey("rateTable")) {
- rateTable = _json["rateTable"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (carrierRate != null) {
- _json["carrierRate"] = carrierRate;
- }
- if (excluded != null) {
- _json["excluded"] = excluded;
- }
- if (flatRate != null) {
- _json["flatRate"] = (flatRate).toJson();
- }
- if (percentageRate != null) {
- _json["percentageRate"] = percentageRate;
- }
- if (rateTable != null) {
- _json["rateTable"] = rateTable;
- }
- return _json;
- }
-}
-
-/**
- * Building block of the cost calculation decision tree.
- * - The tree root should have no condition and no calculation method.
- * - All the children must have a condition on the same dimension. The first
- * child matching a condition is entered, therefore, price and weight conditions
- * form contiguous intervals.
- * - The last child of an element must have no condition and matches all
- * elements not previously matched.
- * - Children and calculation method are mutually exclusive, and exactly one of
- * them must be defined; the root must only have children.
- */
-class AccountShippingShippingServiceCostRule {
- /** Final calculation method to be used only in leaf nodes. */
- AccountShippingShippingServiceCalculationMethod calculationMethod;
- /**
- * Subsequent rules to be applied, only for inner nodes. The last child must
- * not specify a condition and acts as a catch-all.
- */
- core.List<AccountShippingShippingServiceCostRule> children;
- /**
- * Condition for this rule to be applicable. If no condition is specified, the
- * rule acts as a catch-all.
- */
- AccountShippingCondition condition;
-
- AccountShippingShippingServiceCostRule();
-
- AccountShippingShippingServiceCostRule.fromJson(core.Map _json) {
- if (_json.containsKey("calculationMethod")) {
- calculationMethod = new AccountShippingShippingServiceCalculationMethod.fromJson(_json["calculationMethod"]);
- }
- if (_json.containsKey("children")) {
- children = _json["children"].map((value) => new AccountShippingShippingServiceCostRule.fromJson(value)).toList();
- }
- if (_json.containsKey("condition")) {
- condition = new AccountShippingCondition.fromJson(_json["condition"]);
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (calculationMethod != null) {
- _json["calculationMethod"] = (calculationMethod).toJson();
- }
- if (children != null) {
- _json["children"] = children.map((value) => (value).toJson()).toList();
- }
- if (condition != null) {
- _json["condition"] = (condition).toJson();
- }
- return _json;
- }
-}
-
/**
* The status of an account, i.e., information about its products, which is
* computed offline and not returned immediately at insertion time.
@@ -4589,207 +3713,6 @@
}
}
-class AccountshippingCustomBatchRequest {
- /** The request entries to be processed in the batch. */
- core.List<AccountshippingCustomBatchRequestEntry> entries;
-
- AccountshippingCustomBatchRequest();
-
- AccountshippingCustomBatchRequest.fromJson(core.Map _json) {
- if (_json.containsKey("entries")) {
- entries = _json["entries"].map((value) => new AccountshippingCustomBatchRequestEntry.fromJson(value)).toList();
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (entries != null) {
- _json["entries"] = entries.map((value) => (value).toJson()).toList();
- }
- return _json;
- }
-}
-
-/** A batch entry encoding a single non-batch accountshipping request. */
-class AccountshippingCustomBatchRequestEntry {
- /**
- * The ID of the account for which to get/update account shipping settings.
- */
- core.String accountId;
- /**
- * The account shipping settings to update. Only defined if the method is
- * update.
- */
- AccountShipping accountShipping;
- /** An entry ID, unique within the batch request. */
- core.int batchId;
- /** The ID of the managing account. */
- core.String merchantId;
- core.String method;
-
- AccountshippingCustomBatchRequestEntry();
-
- AccountshippingCustomBatchRequestEntry.fromJson(core.Map _json) {
- if (_json.containsKey("accountId")) {
- accountId = _json["accountId"];
- }
- if (_json.containsKey("accountShipping")) {
- accountShipping = new AccountShipping.fromJson(_json["accountShipping"]);
- }
- if (_json.containsKey("batchId")) {
- batchId = _json["batchId"];
- }
- if (_json.containsKey("merchantId")) {
- merchantId = _json["merchantId"];
- }
- if (_json.containsKey("method")) {
- method = _json["method"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (accountId != null) {
- _json["accountId"] = accountId;
- }
- if (accountShipping != null) {
- _json["accountShipping"] = (accountShipping).toJson();
- }
- if (batchId != null) {
- _json["batchId"] = batchId;
- }
- if (merchantId != null) {
- _json["merchantId"] = merchantId;
- }
- if (method != null) {
- _json["method"] = method;
- }
- return _json;
- }
-}
-
-class AccountshippingCustomBatchResponse {
- /** The result of the execution of the batch requests. */
- core.List<AccountshippingCustomBatchResponseEntry> entries;
- /**
- * Identifies what kind of resource this is. Value: the fixed string
- * "content#accountshippingCustomBatchResponse".
- */
- core.String kind;
-
- AccountshippingCustomBatchResponse();
-
- AccountshippingCustomBatchResponse.fromJson(core.Map _json) {
- if (_json.containsKey("entries")) {
- entries = _json["entries"].map((value) => new AccountshippingCustomBatchResponseEntry.fromJson(value)).toList();
- }
- if (_json.containsKey("kind")) {
- kind = _json["kind"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (entries != null) {
- _json["entries"] = entries.map((value) => (value).toJson()).toList();
- }
- if (kind != null) {
- _json["kind"] = kind;
- }
- return _json;
- }
-}
-
-/** A batch entry encoding a single non-batch accountshipping response. */
-class AccountshippingCustomBatchResponseEntry {
- /** The retrieved or updated account shipping settings. */
- AccountShipping accountShipping;
- /** The ID of the request entry this entry responds to. */
- core.int batchId;
- /** A list of errors defined if and only if the request failed. */
- Errors errors;
- /**
- * Identifies what kind of resource this is. Value: the fixed string
- * "content#accountshippingCustomBatchResponseEntry".
- */
- core.String kind;
-
- AccountshippingCustomBatchResponseEntry();
-
- AccountshippingCustomBatchResponseEntry.fromJson(core.Map _json) {
- if (_json.containsKey("accountShipping")) {
- accountShipping = new AccountShipping.fromJson(_json["accountShipping"]);
- }
- if (_json.containsKey("batchId")) {
- batchId = _json["batchId"];
- }
- if (_json.containsKey("errors")) {
- errors = new Errors.fromJson(_json["errors"]);
- }
- if (_json.containsKey("kind")) {
- kind = _json["kind"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (accountShipping != null) {
- _json["accountShipping"] = (accountShipping).toJson();
- }
- if (batchId != null) {
- _json["batchId"] = batchId;
- }
- if (errors != null) {
- _json["errors"] = (errors).toJson();
- }
- if (kind != null) {
- _json["kind"] = kind;
- }
- return _json;
- }
-}
-
-class AccountshippingListResponse {
- /**
- * Identifies what kind of resource this is. Value: the fixed string
- * "content#accountshippingListResponse".
- */
- core.String kind;
- /**
- * The token for the retrieval of the next page of account shipping settings.
- */
- core.String nextPageToken;
- core.List<AccountShipping> resources;
-
- AccountshippingListResponse();
-
- AccountshippingListResponse.fromJson(core.Map _json) {
- if (_json.containsKey("kind")) {
- kind = _json["kind"];
- }
- if (_json.containsKey("nextPageToken")) {
- nextPageToken = _json["nextPageToken"];
- }
- if (_json.containsKey("resources")) {
- resources = _json["resources"].map((value) => new AccountShipping.fromJson(value)).toList();
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (kind != null) {
- _json["kind"] = kind;
- }
- if (nextPageToken != null) {
- _json["nextPageToken"] = nextPageToken;
- }
- if (resources != null) {
- _json["resources"] = resources.map((value) => (value).toJson()).toList();
- }
- return _json;
- }
-}
-
class AccountstatusesCustomBatchRequest {
/** The request entries to be processed in the batch. */
core.List<AccountstatusesCustomBatchRequestEntry> entries;
@@ -11345,7 +10268,7 @@
}
}
-/** A batch entry encoding a single non-batch accountshipping request. */
+/** A batch entry encoding a single non-batch shippingsettings request. */
class ShippingsettingsCustomBatchRequestEntry {
/**
* The ID of the account for which to get/update account shipping settings.
diff --git a/generated/googleapis/lib/content/v2sandbox.dart b/generated/googleapis/lib/content/v2sandbox.dart
index 94f0bdb..84d144a 100644
--- a/generated/googleapis/lib/content/v2sandbox.dart
+++ b/generated/googleapis/lib/content/v2sandbox.dart
@@ -135,8 +135,8 @@
}
/**
- * Cancels all line items in an order. This method can only be called for
- * non-multi-client accounts.
+ * Cancels all line items in an order, making a full refund. This method can
+ * only be called for non-multi-client accounts.
*
* [request] - The metadata request object.
*
@@ -185,8 +185,8 @@
}
/**
- * Cancels a line item. This method can only be called for non-multi-client
- * accounts.
+ * Cancels a line item, making a full refund. This method can only be called
+ * for non-multi-client accounts.
*
* [request] - The metadata request object.
*
diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart
index bf49c00..d3e5547 100644
--- a/generated/googleapis/lib/dataproc/v1.dart
+++ b/generated/googleapis/lib/dataproc/v1.dart
@@ -278,8 +278,6 @@
* [region] - Required The Cloud Dataproc region in which to handle the
* request.
*
- * [pageToken] - Optional The standard List page token.
- *
* [pageSize] - Optional The standard List page size.
*
* [filter] - Optional A filter constraining the clusters to list. Filters are
@@ -294,6 +292,8 @@
* implicit AND operator.Example filter:status.state = ACTIVE AND clusterName
* = mycluster AND labels.env = staging AND labels.starred = *
*
+ * [pageToken] - Optional The standard List page token.
+ *
* Completes with a [ListClustersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -302,7 +302,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListClustersResponse> list(core.String projectId, core.String region, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListClustersResponse> list(core.String projectId, core.String region, {core.int pageSize, core.String filter, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -316,15 +316,15 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/clusters';
@@ -605,14 +605,6 @@
* [region] - Required The Cloud Dataproc region in which to handle the
* request.
*
- * [pageToken] - Optional The page token, returned by a previous call, to
- * request the next page of results.
- *
- * [pageSize] - Optional The number of results to return in each response.
- *
- * [clusterName] - Optional If set, the returned jobs list includes only jobs
- * that were submitted to the named cluster.
- *
* [filter] - Optional A filter constraining the jobs to list. Filters are
* case-sensitive and have the following syntax:field = value AND field =
* value ...where field is status.state or labels.[KEY], and [KEY] is a label
@@ -629,6 +621,14 @@
* - "ACTIVE" : A ACTIVE.
* - "NON_ACTIVE" : A NON_ACTIVE.
*
+ * [pageToken] - Optional The page token, returned by a previous call, to
+ * request the next page of results.
+ *
+ * [pageSize] - Optional The number of results to return in each response.
+ *
+ * [clusterName] - Optional If set, the returned jobs list includes only jobs
+ * that were submitted to the named cluster.
+ *
* Completes with a [ListJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -637,7 +637,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListJobsResponse> list(core.String projectId, core.String region, {core.String pageToken, core.int pageSize, core.String clusterName, core.String filter, core.String jobStateMatcher}) {
+ async.Future<ListJobsResponse> list(core.String projectId, core.String region, {core.String filter, core.String jobStateMatcher, core.String pageToken, core.int pageSize, core.String clusterName}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -651,6 +651,12 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (jobStateMatcher != null) {
+ _queryParams["jobStateMatcher"] = [jobStateMatcher];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -660,12 +666,6 @@
if (clusterName != null) {
_queryParams["clusterName"] = [clusterName];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (jobStateMatcher != null) {
- _queryParams["jobStateMatcher"] = [jobStateMatcher];
- }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/jobs';
diff --git a/generated/googleapis/lib/deploymentmanager/v2.dart b/generated/googleapis/lib/deploymentmanager/v2.dart
index 9cf8b5f..825bbe4 100644
--- a/generated/googleapis/lib/deploymentmanager/v2.dart
+++ b/generated/googleapis/lib/deploymentmanager/v2.dart
@@ -1347,14 +1347,19 @@
* If there are AuditConfigs for both `allServices` and a specific service, the
* union of the two AuditConfigs is used for that service: the log_types
* specified in each AuditConfig are enabled, and the exempted_members in each
- * AuditConfig are exempted. Example Policy with multiple AuditConfigs: {
- * "audit_configs": [ { "service": "allServices" "audit_log_configs": [ {
+ * AuditConfig are exempted.
+ *
+ * Example Policy with multiple AuditConfigs:
+ *
+ * { "audit_configs": [ { "service": "allServices" "audit_log_configs": [ {
* "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, {
* "log_type": "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service":
- * "fooservice@googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ",
+ * "fooservice.googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ",
* }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] }
- * ] } ] } For fooservice, this policy enables DATA_READ, DATA_WRITE and
- * ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and
+ * ] } ] }
+ *
+ * For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
+ * logging. It also exempts foo@gmail.com from DATA_READ logging, and
* bar@gmail.com from DATA_WRITE logging.
*/
class AuditConfig {
diff --git a/generated/googleapis/lib/drive/v2.dart b/generated/googleapis/lib/drive/v2.dart
index dbb3911..237b9a1 100644
--- a/generated/googleapis/lib/drive/v2.dart
+++ b/generated/googleapis/lib/drive/v2.dart
@@ -1618,7 +1618,9 @@
* [includeTeamDriveItems] - Whether Team Drive items should be included in
* results.
*
- * [maxResults] - Maximum number of files to return.
+ * [maxResults] - The maximum number of files to return per page. Partial or
+ * empty result pages are possible even before the end of the files list has
+ * been reached.
*
* [orderBy] - A comma-separated list of sort keys. Valid keys are
* 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate',
@@ -4261,6 +4263,43 @@
}
}
+class AboutTeamDriveThemes {
+ /** A link to this Team Drive theme's background image. */
+ core.String backgroundImageLink;
+ /** The color of this Team Drive theme as an RGB hex string. */
+ core.String colorRgb;
+ /** The ID of the theme. */
+ core.String id;
+
+ AboutTeamDriveThemes();
+
+ AboutTeamDriveThemes.fromJson(core.Map _json) {
+ if (_json.containsKey("backgroundImageLink")) {
+ backgroundImageLink = _json["backgroundImageLink"];
+ }
+ if (_json.containsKey("colorRgb")) {
+ colorRgb = _json["colorRgb"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (backgroundImageLink != null) {
+ _json["backgroundImageLink"] = backgroundImageLink;
+ }
+ if (colorRgb != null) {
+ _json["colorRgb"] = colorRgb;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ return _json;
+ }
+}
+
/** An item with user information and settings. */
class About {
/**
@@ -4334,6 +4373,8 @@
core.String rootFolderId;
/** A link back to this item. */
core.String selfLink;
+ /** A list of themes that are supported for Team Drives. */
+ core.List<AboutTeamDriveThemes> teamDriveThemes;
/** The authenticated user. */
User user;
@@ -4409,6 +4450,9 @@
if (_json.containsKey("selfLink")) {
selfLink = _json["selfLink"];
}
+ if (_json.containsKey("teamDriveThemes")) {
+ teamDriveThemes = _json["teamDriveThemes"].map((value) => new AboutTeamDriveThemes.fromJson(value)).toList();
+ }
if (_json.containsKey("user")) {
user = new User.fromJson(_json["user"]);
}
@@ -4485,6 +4529,9 @@
if (selfLink != null) {
_json["selfLink"] = selfLink;
}
+ if (teamDriveThemes != null) {
+ _json["teamDriveThemes"] = teamDriveThemes.map((value) => (value).toJson()).toList();
+ }
if (user != null) {
_json["user"] = (user).toJson();
}
@@ -5645,8 +5692,8 @@
}
/**
- * Capabilities the current user has on the file. Each capability corresponds to
- * a fine-grained action that a user may take.
+ * Capabilities the current user has on this file. Each capability corresponds
+ * to a fine-grained action that a user may take.
*/
class FileCapabilities {
/**
@@ -5654,19 +5701,19 @@
* false when the item is not a folder.
*/
core.bool canAddChildren;
- /** Whether the current user can comment on the file. */
+ /** Whether the current user can comment on this file. */
core.bool canComment;
/**
- * Whether the file can be copied by the current user. For a Team Drive item,
- * whether non-folder descendants of this item, or this item itself if it is
- * not a folder, can be copied.
+ * Whether the current user can copy this file. For a Team Drive item, whether
+ * the current user can copy non-folder descendants of this item, or this item
+ * itself if it is not a folder.
*/
core.bool canCopy;
- /** Whether the file can be deleted by the current user. */
+ /** Whether the current user can delete this file. */
core.bool canDelete;
- /** Whether the file can be downloaded by the current user. */
+ /** Whether the current user can download this file. */
core.bool canDownload;
- /** Whether the file can be edited by the current user. */
+ /** Whether the current user can edit this file. */
core.bool canEdit;
/**
* Whether the current user can list the children of this folder. This is
@@ -5686,14 +5733,14 @@
*/
core.bool canMoveTeamDriveItem;
/**
- * Whether the current user has read access to the Revisions resource of the
- * file. For a Team Drive item, whether revisions of non-folder descendants of
- * this item, or this item itself if it is not a folder, can be read.
+ * Whether the current user can read the revisions resource of this file. For
+ * a Team Drive item, whether revisions of non-folder descendants of this
+ * item, or this item itself if it is not a folder, can be read.
*/
core.bool canReadRevisions;
/**
- * Whether the current user has read access to the Team Drive to which this
- * file belongs. Only populated for Team Drive files.
+ * Whether the current user can read the Team Drive to which this file
+ * belongs. Only populated for Team Drive files.
*/
core.bool canReadTeamDrive;
/**
@@ -5701,15 +5748,15 @@
* always false when the item is not a folder.
*/
core.bool canRemoveChildren;
- /** Whether the file can be renamed by the current user. */
+ /** Whether the current user can rename this file. */
core.bool canRename;
/**
- * Whether the file's sharing settings can be modified by the current user.
+ * Whether the current user can modify the sharing settings for this file.
*/
core.bool canShare;
- /** Whether the file can be trashed by the current user. */
+ /** Whether the current user can move this file to trash. */
core.bool canTrash;
- /** Whether the file can be restored from the trash by the current user. */
+ /** Whether the current user can restore this file from trash. */
core.bool canUntrash;
FileCapabilities();
@@ -6225,25 +6272,16 @@
core.String alternateLink;
/** Whether this file is in the Application Data folder. */
core.bool appDataContents;
- /**
- * Whether the current user can comment on the file. Deprecated: use
- * capabilities/canComment.
- */
+ /** Deprecated: use capabilities/canComment. */
core.bool canComment;
- /**
- * Whether the current user has read access to the Revisions resource of the
- * file. Deprecated: use capabilities/canReadRevisions.
- */
+ /** Deprecated: use capabilities/canReadRevisions. */
core.bool canReadRevisions;
/**
- * Capabilities the current user has on the file. Each capability corresponds
+ * Capabilities the current user has on this file. Each capability corresponds
* to a fine-grained action that a user may take.
*/
FileCapabilities capabilities;
- /**
- * Whether the file can be copied by the current user. Deprecated: use
- * capabilities/canCopy.
- */
+ /** Deprecated: use capabilities/canCopy. */
core.bool copyable;
/** Create time for this file (formatted RFC 3339 timestamp). */
core.DateTime createdDate;
@@ -6255,10 +6293,7 @@
/** A short description of the file. */
core.String description;
core.String downloadUrl;
- /**
- * Whether the file can be edited by the current user. Deprecated: use
- * capabilities/canEdit.
- */
+ /** Deprecated: use capabilities/canEdit. */
core.bool editable;
/** A link for embedding the file. */
core.String embedLink;
@@ -6403,10 +6438,7 @@
core.String quotaBytesUsed;
/** A link back to this file. */
core.String selfLink;
- /**
- * Whether the file's sharing settings can be modified by the current user.
- * Deprecated: use capabilities/canShare.
- */
+ /** Deprecated: use capabilities/canShare. */
core.bool shareable;
/** Whether the file has been shared. Not populated for Team Drive files. */
core.bool shared;
@@ -7187,6 +7219,11 @@
/** The authkey parameter required for this permission. */
core.String authKey;
/**
+ * Whether the account of the permission has been deleted. This field only
+ * pertains to user and group permissions.
+ */
+ core.bool deleted;
+ /**
* The domain name of the entity this permission refers to. This is an
* output-only field which is present when the permission type is user, group
* or domain.
@@ -7235,7 +7272,7 @@
/** A link back to this permission. */
core.String selfLink;
/**
- * Details of whether the Permissions on this Team Drive item are inherited or
+ * Details of whether the permissions on this Team Drive item are inherited or
* directly on this item. This is an output-only field which is present only
* for Team Drive items.
*/
@@ -7268,6 +7305,9 @@
if (_json.containsKey("authKey")) {
authKey = _json["authKey"];
}
+ if (_json.containsKey("deleted")) {
+ deleted = _json["deleted"];
+ }
if (_json.containsKey("domain")) {
domain = _json["domain"];
}
@@ -7320,6 +7360,9 @@
if (authKey != null) {
_json["authKey"] = authKey;
}
+ if (deleted != null) {
+ _json["deleted"] = deleted;
+ }
if (domain != null) {
_json["domain"] = domain;
}
@@ -7854,23 +7897,93 @@
}
}
+/**
+ * An image file and cropping parameters from which a background image for this
+ * Team Drive is set. This is a write only field that can only be set on a
+ * drive.teamdrives.update request that does not set themeId. When specified,
+ * all fields of the backgroundImageFile must be set.
+ */
+class TeamDriveBackgroundImageFile {
+ /** The ID of an image file in Drive to use for the background image. */
+ core.String id;
+ /**
+ * The width of the cropped image in the closed range of 0 to 1, which is the
+ * width of the cropped image divided by the width of the entire image. The
+ * height is computed by applying a width to height aspect ratio of 80 to 9.
+ * The resulting image must be at least 1280 pixels wide and 144 pixels high.
+ */
+ core.double width;
+ /**
+ * The X coordinate of the upper left corner of the cropping area in the
+ * background image. This is a value in the closed range of 0 to 1 which is
+ * the horizontal distance from the left side of the entire image to the left
+ * side of the cropping area divided by the width of the entire image.
+ */
+ core.double xCoordinate;
+ /**
+ * The Y coordinate of the upper left corner of the cropping area in the
+ * background image. This is a value in the closed range of 0 to 1 which is
+ * the vertical distance from the top side of the entire image to the top side
+ * of the cropping area divided by the height of the entire image.
+ */
+ core.double yCoordinate;
+
+ TeamDriveBackgroundImageFile();
+
+ TeamDriveBackgroundImageFile.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("width")) {
+ width = _json["width"];
+ }
+ if (_json.containsKey("xCoordinate")) {
+ xCoordinate = _json["xCoordinate"];
+ }
+ if (_json.containsKey("yCoordinate")) {
+ yCoordinate = _json["yCoordinate"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (width != null) {
+ _json["width"] = width;
+ }
+ if (xCoordinate != null) {
+ _json["xCoordinate"] = xCoordinate;
+ }
+ if (yCoordinate != null) {
+ _json["yCoordinate"] = yCoordinate;
+ }
+ return _json;
+ }
+}
+
/** Capabilities the current user has on this Team Drive. */
class TeamDriveCapabilities {
/**
* Whether the current user can add children to folders in this Team Drive.
*/
core.bool canAddChildren;
+ /** Whether the current user can change the background of this Team Drive. */
+ core.bool canChangeTeamDriveBackground;
/** Whether the current user can comment on files in this Team Drive. */
core.bool canComment;
- /** Whether files in this Team Drive can be copied by the current user. */
+ /** Whether the current user can copy files in this Team Drive. */
core.bool canCopy;
- /** Whether this Team Drive can be deleted by the current user. */
- core.bool canDeleteTeamDrive;
/**
- * Whether files in this Team Drive can be downloaded by the current user.
+ * Whether the current user can delete this Team Drive. Attempting to delete
+ * the Team Drive may still fail if there are untrashed items inside the Team
+ * Drive.
*/
+ core.bool canDeleteTeamDrive;
+ /** Whether the current user can download files in this Team Drive. */
core.bool canDownload;
- /** Whether files in this Team Drive can be edited by the current user. */
+ /** Whether the current user can edit files in this Team Drive */
core.bool canEdit;
/**
* Whether the current user can list the children of folders in this Team
@@ -7883,8 +7996,8 @@
*/
core.bool canManageMembers;
/**
- * Whether the current user has read access to the Revisions resource of files
- * in this Team Drive.
+ * Whether the current user can read the revisions resource of files in this
+ * Team Drive.
*/
core.bool canReadRevisions;
/**
@@ -7893,11 +8006,10 @@
*/
core.bool canRemoveChildren;
/**
- * Whether files or folders in this Team Drive can be renamed by the current
- * user.
+ * Whether the current user can rename files or folders in this Team Drive.
*/
core.bool canRename;
- /** Whether this Team Drive can be renamed by the current user. */
+ /** Whether the current user can rename this Team Drive. */
core.bool canRenameTeamDrive;
/**
* Whether the current user can share files or folders in this Team Drive.
@@ -7910,6 +8022,9 @@
if (_json.containsKey("canAddChildren")) {
canAddChildren = _json["canAddChildren"];
}
+ if (_json.containsKey("canChangeTeamDriveBackground")) {
+ canChangeTeamDriveBackground = _json["canChangeTeamDriveBackground"];
+ }
if (_json.containsKey("canComment")) {
canComment = _json["canComment"];
}
@@ -7953,6 +8068,9 @@
if (canAddChildren != null) {
_json["canAddChildren"] = canAddChildren;
}
+ if (canChangeTeamDriveBackground != null) {
+ _json["canChangeTeamDriveBackground"] = canChangeTeamDriveBackground;
+ }
if (canComment != null) {
_json["canComment"] = canComment;
}
@@ -7995,9 +8113,23 @@
/** Representation of a Team Drive. */
class TeamDrive {
+ /**
+ * An image file and cropping parameters from which a background image for
+ * this Team Drive is set. This is a write only field that can only be set on
+ * a drive.teamdrives.update request that does not set themeId. When
+ * specified, all fields of the backgroundImageFile must be set.
+ */
+ TeamDriveBackgroundImageFile backgroundImageFile;
+ /** A short-lived link to this Team Drive's background image. */
+ core.String backgroundImageLink;
/** Capabilities the current user has on this Team Drive. */
TeamDriveCapabilities capabilities;
/**
+ * The color of this Team Drive as an RGB hex string. It can only be set on a
+ * drive.teamdrives.update request that does not set themeId.
+ */
+ core.String colorRgb;
+ /**
* The ID of this Team Drive which is also the ID of the top level folder for
* this Team Drive.
*/
@@ -8006,13 +8138,31 @@
core.String kind;
/** The name of this Team Drive. */
core.String name;
+ /**
+ * The ID of the theme from which the background image and color will be set.
+ * The set of possible teamDriveThemes can be retrieved from a drive.about.get
+ * response. When not specified on a drive.teamdrives.insert request, a random
+ * theme is chosen from which the background image and color are set. This is
+ * a write only field that can only be set on a request that does not set
+ * colorRgb or backgroundImageFile.
+ */
+ core.String themeId;
TeamDrive();
TeamDrive.fromJson(core.Map _json) {
+ if (_json.containsKey("backgroundImageFile")) {
+ backgroundImageFile = new TeamDriveBackgroundImageFile.fromJson(_json["backgroundImageFile"]);
+ }
+ if (_json.containsKey("backgroundImageLink")) {
+ backgroundImageLink = _json["backgroundImageLink"];
+ }
if (_json.containsKey("capabilities")) {
capabilities = new TeamDriveCapabilities.fromJson(_json["capabilities"]);
}
+ if (_json.containsKey("colorRgb")) {
+ colorRgb = _json["colorRgb"];
+ }
if (_json.containsKey("id")) {
id = _json["id"];
}
@@ -8022,13 +8172,25 @@
if (_json.containsKey("name")) {
name = _json["name"];
}
+ if (_json.containsKey("themeId")) {
+ themeId = _json["themeId"];
+ }
}
core.Map toJson() {
var _json = new core.Map();
+ if (backgroundImageFile != null) {
+ _json["backgroundImageFile"] = (backgroundImageFile).toJson();
+ }
+ if (backgroundImageLink != null) {
+ _json["backgroundImageLink"] = backgroundImageLink;
+ }
if (capabilities != null) {
_json["capabilities"] = (capabilities).toJson();
}
+ if (colorRgb != null) {
+ _json["colorRgb"] = colorRgb;
+ }
if (id != null) {
_json["id"] = id;
}
@@ -8038,6 +8200,9 @@
if (name != null) {
_json["name"] = name;
}
+ if (themeId != null) {
+ _json["themeId"] = themeId;
+ }
return _json;
}
}
diff --git a/generated/googleapis/lib/drive/v3.dart b/generated/googleapis/lib/drive/v3.dart
index 679ae36..ca1b743 100644
--- a/generated/googleapis/lib/drive/v3.dart
+++ b/generated/googleapis/lib/drive/v3.dart
@@ -1114,7 +1114,9 @@
* approximately one million files in which the requested sort order is
* ignored.
*
- * [pageSize] - The maximum number of files to return per page.
+ * [pageSize] - The maximum number of files to return per page. Partial or
+ * empty result pages are possible even before the end of the files list has
+ * been reached.
* Value must be between "1" and "1000".
*
* [pageToken] - The token for continuing a previous list request on the next
@@ -2445,6 +2447,43 @@
}
}
+class AboutTeamDriveThemes {
+ /** A link to this Team Drive theme's background image. */
+ core.String backgroundImageLink;
+ /** The color of this Team Drive theme as an RGB hex string. */
+ core.String colorRgb;
+ /** The ID of the theme. */
+ core.String id;
+
+ AboutTeamDriveThemes();
+
+ AboutTeamDriveThemes.fromJson(core.Map _json) {
+ if (_json.containsKey("backgroundImageLink")) {
+ backgroundImageLink = _json["backgroundImageLink"];
+ }
+ if (_json.containsKey("colorRgb")) {
+ colorRgb = _json["colorRgb"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (backgroundImageLink != null) {
+ _json["backgroundImageLink"] = backgroundImageLink;
+ }
+ if (colorRgb != null) {
+ _json["colorRgb"] = colorRgb;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ return _json;
+ }
+}
+
/** Information about the user, the user's Drive, and system capabilities. */
class About {
/** Whether the user has installed the requesting app. */
@@ -2473,6 +2512,8 @@
* bytes.
*/
AboutStorageQuota storageQuota;
+ /** A list of themes that are supported for Team Drives. */
+ core.List<AboutTeamDriveThemes> teamDriveThemes;
/** The authenticated user. */
User user;
@@ -2503,6 +2544,9 @@
if (_json.containsKey("storageQuota")) {
storageQuota = new AboutStorageQuota.fromJson(_json["storageQuota"]);
}
+ if (_json.containsKey("teamDriveThemes")) {
+ teamDriveThemes = _json["teamDriveThemes"].map((value) => new AboutTeamDriveThemes.fromJson(value)).toList();
+ }
if (_json.containsKey("user")) {
user = new User.fromJson(_json["user"]);
}
@@ -2534,6 +2578,9 @@
if (storageQuota != null) {
_json["storageQuota"] = (storageQuota).toJson();
}
+ if (teamDriveThemes != null) {
+ _json["teamDriveThemes"] = teamDriveThemes.map((value) => (value).toJson()).toList();
+ }
if (user != null) {
_json["user"] = (user).toJson();
}
@@ -3013,32 +3060,32 @@
}
/**
- * Capabilities the current user has on the file. Each capability corresponds to
- * a fine-grained action that a user may take.
+ * Capabilities the current user has on this file. Each capability corresponds
+ * to a fine-grained action that a user may take.
*/
class FileCapabilities {
/**
- * Whether the user can add children to this folder. This is always false when
- * the item is not a folder.
+ * Whether the current user can add children to this folder. This is always
+ * false when the item is not a folder.
*/
core.bool canAddChildren;
- /** Whether the user can comment on the file. */
+ /** Whether the current user can comment on this file. */
core.bool canComment;
/**
- * Whether the user can copy the file. For a Team Drive item, whether
- * non-folder descendants of this item, or this item itself if it is not a
- * folder, can be copied.
+ * Whether the current user can copy this file. For a Team Drive item, whether
+ * the current user can copy non-folder descendants of this item, or this item
+ * itself if it is not a folder.
*/
core.bool canCopy;
- /** Whether the file can be deleted by the user. */
+ /** Whether the current user can delete this file. */
core.bool canDelete;
- /** Whether the file can be downloaded by the user. */
+ /** Whether the current user can download this file. */
core.bool canDownload;
- /** Whether the user can edit the file's content. */
+ /** Whether the current user can edit this file. */
core.bool canEdit;
/**
- * Whether the user can list the children of this folder. This is always false
- * when the item is not a folder.
+ * Whether the current user can list the children of this folder. This is
+ * always false when the item is not a folder.
*/
core.bool canListChildren;
/**
@@ -3047,36 +3094,37 @@
*/
core.bool canMoveItemIntoTeamDrive;
/**
- * Whether the user can move this Team Drive item by changing its parent. Note
- * that a request to change the parent for this item may still fail depending
- * on the new parent that is being added. Only populated for Team Drive files.
+ * Whether the current user can move this Team Drive item by changing its
+ * parent. Note that a request to change the parent for this item may still
+ * fail depending on the new parent that is being added. Only populated for
+ * Team Drive files.
*/
core.bool canMoveTeamDriveItem;
/**
- * Whether the user has read access to the Revisions resource of the file. For
+ * Whether the current user can read the revisions resource of this file. For
* a Team Drive item, whether revisions of non-folder descendants of this
* item, or this item itself if it is not a folder, can be read.
*/
core.bool canReadRevisions;
/**
- * Whether the user has read access to the Team Drive to which this file
+ * Whether the current user can read the Team Drive to which this file
* belongs. Only populated for Team Drive files.
*/
core.bool canReadTeamDrive;
/**
- * Whether the user can remove children from this folder. This is always false
- * when the item is not a folder.
+ * Whether the current user can remove children from this folder. This is
+ * always false when the item is not a folder.
*/
core.bool canRemoveChildren;
- /** Whether the file can be renamed by the user. */
+ /** Whether the current user can rename this file. */
core.bool canRename;
/**
- * Whether the user can modify the file's permissions and sharing settings.
+ * Whether the current user can modify the sharing settings for this file.
*/
core.bool canShare;
- /** Whether the file can be trashed by the user. */
+ /** Whether the current user can move this file to trash. */
core.bool canTrash;
- /** Whether the file can be restored from the trash by the current user. */
+ /** Whether the current user can restore this file from trash. */
core.bool canUntrash;
FileCapabilities();
@@ -3540,7 +3588,7 @@
*/
core.Map<core.String, core.String> appProperties;
/**
- * Capabilities the current user has on the file. Each capability corresponds
+ * Capabilities the current user has on this file. Each capability corresponds
* to a fine-grained action that a user may take.
*/
FileCapabilities capabilities;
@@ -4249,6 +4297,11 @@
* This is only applicable for permissions of type domain or anyone.
*/
core.bool allowFileDiscovery;
+ /**
+ * Whether the account of the permission has been deleted. This field only
+ * pertains to user and group permissions.
+ */
+ core.bool deleted;
/** A displayable name for users, groups or domains. */
core.String displayName;
/** The domain to which this permission refers. */
@@ -4288,7 +4341,7 @@
*/
core.String role;
/**
- * Details of whether the Permissions on this Team Drive item are inherited or
+ * Details of whether the permissions on this Team Drive item are inherited or
* directly on this item. This is an output-only field which is present only
* for Team Drive items.
*/
@@ -4308,6 +4361,9 @@
if (_json.containsKey("allowFileDiscovery")) {
allowFileDiscovery = _json["allowFileDiscovery"];
}
+ if (_json.containsKey("deleted")) {
+ deleted = _json["deleted"];
+ }
if (_json.containsKey("displayName")) {
displayName = _json["displayName"];
}
@@ -4345,6 +4401,9 @@
if (allowFileDiscovery != null) {
_json["allowFileDiscovery"] = allowFileDiscovery;
}
+ if (deleted != null) {
+ _json["deleted"] = deleted;
+ }
if (displayName != null) {
_json["displayName"] = displayName;
}
@@ -4791,23 +4850,93 @@
}
}
+/**
+ * An image file and cropping parameters from which a background image for this
+ * Team Drive is set. This is a write only field that can only be set on a
+ * drive.teamdrives.update request that does not set themeId. When specified,
+ * all fields of the backgroundImageFile must be set.
+ */
+class TeamDriveBackgroundImageFile {
+ /** The ID of an image file in Drive to use for the background image. */
+ core.String id;
+ /**
+ * The width of the cropped image in the closed range of 0 to 1, which is the
+ * width of the cropped image divided by the width of the entire image. The
+ * height is computed by applying a width to height aspect ratio of 80 to 9.
+ * The resulting image must be at least 1280 pixels wide and 144 pixels high.
+ */
+ core.double width;
+ /**
+ * The X coordinate of the upper left corner of the cropping area in the
+ * background image. This is a value in the closed range of 0 to 1 which is
+ * the horizontal distance from the left side of the entire image to the left
+ * side of the cropping area divided by the width of the entire image.
+ */
+ core.double xCoordinate;
+ /**
+ * The Y coordinate of the upper left corner of the cropping area in the
+ * background image. This is a value in the closed range of 0 to 1 which is
+ * the vertical distance from the top side of the entire image to the top side
+ * of the cropping area divided by the height of the entire image.
+ */
+ core.double yCoordinate;
+
+ TeamDriveBackgroundImageFile();
+
+ TeamDriveBackgroundImageFile.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("width")) {
+ width = _json["width"];
+ }
+ if (_json.containsKey("xCoordinate")) {
+ xCoordinate = _json["xCoordinate"];
+ }
+ if (_json.containsKey("yCoordinate")) {
+ yCoordinate = _json["yCoordinate"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (width != null) {
+ _json["width"] = width;
+ }
+ if (xCoordinate != null) {
+ _json["xCoordinate"] = xCoordinate;
+ }
+ if (yCoordinate != null) {
+ _json["yCoordinate"] = yCoordinate;
+ }
+ return _json;
+ }
+}
+
/** Capabilities the current user has on this Team Drive. */
class TeamDriveCapabilities {
/**
* Whether the current user can add children to folders in this Team Drive.
*/
core.bool canAddChildren;
+ /** Whether the current user can change the background of this Team Drive. */
+ core.bool canChangeTeamDriveBackground;
/** Whether the current user can comment on files in this Team Drive. */
core.bool canComment;
- /** Whether files in this Team Drive can be copied by the current user. */
+ /** Whether the current user can copy files in this Team Drive. */
core.bool canCopy;
- /** Whether this Team Drive can be deleted by the current user. */
- core.bool canDeleteTeamDrive;
/**
- * Whether files in this Team Drive can be downloaded by the current user.
+ * Whether the current user can delete this Team Drive. Attempting to delete
+ * the Team Drive may still fail if there are untrashed items inside the Team
+ * Drive.
*/
+ core.bool canDeleteTeamDrive;
+ /** Whether the current user can download files in this Team Drive. */
core.bool canDownload;
- /** Whether files in this Team Drive can be edited by the current user. */
+ /** Whether the current user can edit files in this Team Drive */
core.bool canEdit;
/**
* Whether the current user can list the children of folders in this Team
@@ -4820,8 +4949,8 @@
*/
core.bool canManageMembers;
/**
- * Whether the current user has read access to the Revisions resource of files
- * in this Team Drive.
+ * Whether the current user can read the revisions resource of files in this
+ * Team Drive.
*/
core.bool canReadRevisions;
/**
@@ -4830,11 +4959,10 @@
*/
core.bool canRemoveChildren;
/**
- * Whether files or folders in this Team Drive can be renamed by the current
- * user.
+ * Whether the current user can rename files or folders in this Team Drive.
*/
core.bool canRename;
- /** Whether this Team Drive can be renamed by the current user. */
+ /** Whether the current user can rename this Team Drive. */
core.bool canRenameTeamDrive;
/**
* Whether the current user can share files or folders in this Team Drive.
@@ -4847,6 +4975,9 @@
if (_json.containsKey("canAddChildren")) {
canAddChildren = _json["canAddChildren"];
}
+ if (_json.containsKey("canChangeTeamDriveBackground")) {
+ canChangeTeamDriveBackground = _json["canChangeTeamDriveBackground"];
+ }
if (_json.containsKey("canComment")) {
canComment = _json["canComment"];
}
@@ -4890,6 +5021,9 @@
if (canAddChildren != null) {
_json["canAddChildren"] = canAddChildren;
}
+ if (canChangeTeamDriveBackground != null) {
+ _json["canChangeTeamDriveBackground"] = canChangeTeamDriveBackground;
+ }
if (canComment != null) {
_json["canComment"] = canComment;
}
@@ -4932,9 +5066,23 @@
/** Representation of a Team Drive. */
class TeamDrive {
+ /**
+ * An image file and cropping parameters from which a background image for
+ * this Team Drive is set. This is a write only field that can only be set on
+ * a drive.teamdrives.update request that does not set themeId. When
+ * specified, all fields of the backgroundImageFile must be set.
+ */
+ TeamDriveBackgroundImageFile backgroundImageFile;
+ /** A short-lived link to this Team Drive's background image. */
+ core.String backgroundImageLink;
/** Capabilities the current user has on this Team Drive. */
TeamDriveCapabilities capabilities;
/**
+ * The color of this Team Drive as an RGB hex string. It can only be set on a
+ * drive.teamdrives.update request that does not set themeId.
+ */
+ core.String colorRgb;
+ /**
* The ID of this Team Drive which is also the ID of the top level folder for
* this Team Drive.
*/
@@ -4946,13 +5094,31 @@
core.String kind;
/** The name of this Team Drive. */
core.String name;
+ /**
+ * The ID of the theme from which the background image and color will be set.
+ * The set of possible teamDriveThemes can be retrieved from a drive.about.get
+ * response. When not specified on a drive.teamdrives.create request, a random
+ * theme is chosen from which the background image and color are set. This is
+ * a write only field that can only be set on a request that does not set
+ * colorRgb or backgroundImageFile.
+ */
+ core.String themeId;
TeamDrive();
TeamDrive.fromJson(core.Map _json) {
+ if (_json.containsKey("backgroundImageFile")) {
+ backgroundImageFile = new TeamDriveBackgroundImageFile.fromJson(_json["backgroundImageFile"]);
+ }
+ if (_json.containsKey("backgroundImageLink")) {
+ backgroundImageLink = _json["backgroundImageLink"];
+ }
if (_json.containsKey("capabilities")) {
capabilities = new TeamDriveCapabilities.fromJson(_json["capabilities"]);
}
+ if (_json.containsKey("colorRgb")) {
+ colorRgb = _json["colorRgb"];
+ }
if (_json.containsKey("id")) {
id = _json["id"];
}
@@ -4962,13 +5128,25 @@
if (_json.containsKey("name")) {
name = _json["name"];
}
+ if (_json.containsKey("themeId")) {
+ themeId = _json["themeId"];
+ }
}
core.Map toJson() {
var _json = new core.Map();
+ if (backgroundImageFile != null) {
+ _json["backgroundImageFile"] = (backgroundImageFile).toJson();
+ }
+ if (backgroundImageLink != null) {
+ _json["backgroundImageLink"] = backgroundImageLink;
+ }
if (capabilities != null) {
_json["capabilities"] = (capabilities).toJson();
}
+ if (colorRgb != null) {
+ _json["colorRgb"] = colorRgb;
+ }
if (id != null) {
_json["id"] = id;
}
@@ -4978,6 +5156,9 @@
if (name != null) {
_json["name"] = name;
}
+ if (themeId != null) {
+ _json["themeId"] = themeId;
+ }
return _json;
}
}
diff --git a/generated/googleapis/lib/firebaserules/v1.dart b/generated/googleapis/lib/firebaserules/v1.dart
index 4995237..ad977e0 100644
--- a/generated/googleapis/lib/firebaserules/v1.dart
+++ b/generated/googleapis/lib/firebaserules/v1.dart
@@ -600,6 +600,14 @@
* Format: `projects/{project_id}`
* Value must have pattern "^projects/[^/]+$".
*
+ * [pageToken] - Next page token for loading the next batch of `Ruleset`
+ * instances.
+ *
+ * [pageSize] - Page size to load. Maximum of 100. Defaults to 10.
+ * Note: `page_size` is just a hint and the service may choose to load less
+ * than `page_size` due to the size of the output. To traverse all of the
+ * releases, caller should iterate until the `page_token` is empty.
+ *
* [filter] - `Ruleset` filter. The list method supports filters with
* restrictions on
* `Ruleset.name`.
@@ -609,14 +617,6 @@
*
* Example: `create_time > date("2017-01-01") AND name=UUID-*`
*
- * [pageToken] - Next page token for loading the next batch of `Ruleset`
- * instances.
- *
- * [pageSize] - Page size to load. Maximum of 100. Defaults to 10.
- * Note: `page_size` is just a hint and the service may choose to load less
- * than `page_size` due to the size of the output. To traverse all of the
- * releases, caller should iterate until the `page_token` is empty.
- *
* Completes with a [ListRulesetsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -625,7 +625,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListRulesetsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListRulesetsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -636,15 +636,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/rulesets';
diff --git a/generated/googleapis/lib/genomics/v1.dart b/generated/googleapis/lib/genomics/v1.dart
index 9c73080..1a00fe3 100644
--- a/generated/googleapis/lib/genomics/v1.dart
+++ b/generated/googleapis/lib/genomics/v1.dart
@@ -1410,6 +1410,12 @@
* [name] - The name of the operation collection.
* Value must have pattern "^operations$".
*
+ * [pageToken] - The standard list page token.
+ *
+ * [pageSize] - The maximum number of results to return. If unspecified,
+ * defaults to
+ * 256. The maximum value is 2048.
+ *
* [filter] - A string for filtering Operations.
* The following filter fields are supported:
*
@@ -1430,12 +1436,6 @@
* * `projectId = my-project AND labels.color = *`
* * `projectId = my-project AND labels.color = red`
*
- * [pageToken] - The standard list page token.
- *
- * [pageSize] - The maximum number of results to return. If unspecified,
- * defaults to
- * 256. The maximum value is 2048.
- *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1444,7 +1444,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1455,15 +1455,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -1826,15 +1826,6 @@
* [readGroupSetId] - Required. The ID of the read group set over which
* coverage is requested.
*
- * [referenceName] - The name of the reference to query, within the reference
- * set associated
- * with this query. Optional.
- *
- * [end] - The end position of the range on the reference, 0-based exclusive.
- * If
- * specified, `referenceName` must also be specified. If unset or 0, defaults
- * to the length of the reference.
- *
* [pageToken] - The continuation token, which is used to page through large
* result sets.
* To get the next page of results, set this parameter to the value of
@@ -1857,6 +1848,15 @@
* `bucketWidth` is currently 2048 base pairs; this is subject to
* change.
*
+ * [referenceName] - The name of the reference to query, within the reference
+ * set associated
+ * with this query. Optional.
+ *
+ * [end] - The end position of the range on the reference, 0-based exclusive.
+ * If
+ * specified, `referenceName` must also be specified. If unset or 0, defaults
+ * to the length of the reference.
+ *
* Completes with a [ListCoverageBucketsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1865,7 +1865,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {core.String referenceName, core.String end, core.String pageToken, core.int pageSize, core.String start, core.String targetBucketWidth}) {
+ async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {core.String pageToken, core.int pageSize, core.String start, core.String targetBucketWidth, core.String referenceName, core.String end}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1876,12 +1876,6 @@
if (readGroupSetId == null) {
throw new core.ArgumentError("Parameter readGroupSetId is required.");
}
- if (referenceName != null) {
- _queryParams["referenceName"] = [referenceName];
- }
- if (end != null) {
- _queryParams["end"] = [end];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -1894,6 +1888,12 @@
if (targetBucketWidth != null) {
_queryParams["targetBucketWidth"] = [targetBucketWidth];
}
+ if (referenceName != null) {
+ _queryParams["referenceName"] = [referenceName];
+ }
+ if (end != null) {
+ _queryParams["end"] = [end];
+ }
_url = 'v1/readgroupsets/' + commons.Escaper.ecapeVariable('$readGroupSetId') + '/coveragebuckets';
@@ -2104,12 +2104,6 @@
*
* [referenceId] - The ID of the reference.
*
- * [start] - The start position (0-based) of this query. Defaults to 0.
- *
- * [end] - The end position (0-based, exclusive) of this query. Defaults to
- * the length
- * of this reference.
- *
* [pageToken] - The continuation token, which is used to page through large
* result sets.
* To get the next page of results, set this parameter to the value of
@@ -2120,6 +2114,12 @@
* defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base
* pairs).
*
+ * [start] - The start position (0-based) of this query. Defaults to 0.
+ *
+ * [end] - The end position (0-based, exclusive) of this query. Defaults to
+ * the length
+ * of this reference.
+ *
* Completes with a [ListBasesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2128,7 +2128,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListBasesResponse> list(core.String referenceId, {core.String start, core.String end, core.String pageToken, core.int pageSize}) {
+ async.Future<ListBasesResponse> list(core.String referenceId, {core.String pageToken, core.int pageSize, core.String start, core.String end}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2139,18 +2139,18 @@
if (referenceId == null) {
throw new core.ArgumentError("Parameter referenceId is required.");
}
- if (start != null) {
- _queryParams["start"] = [start];
- }
- if (end != null) {
- _queryParams["end"] = [end];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (start != null) {
+ _queryParams["start"] = [start];
+ }
+ if (end != null) {
+ _queryParams["end"] = [end];
+ }
_url = 'v1/references/' + commons.Escaper.ecapeVariable('$referenceId') + '/bases';
@@ -4238,7 +4238,10 @@
* - "FORMAT_UNSPECIFIED"
* - "FORMAT_VCF" : VCF (Variant Call Format). The VCF files may be gzip
* compressed. gVCF is
- * also supported.
+ * also supported. Disclaimer: gzip VCF imports are currently much slower
+ * than equivalent uncompressed VCF imports. For this reason, uncompressed
+ * VCF is currently recommended for imports with more than 1GB combined
+ * uncompressed size, or for time sensitive imports.
* - "FORMAT_COMPLETE_GENOMICS" : Complete Genomics masterVarBeta format. The
* masterVarBeta files may
* be bzip2 compressed.
diff --git a/generated/googleapis/lib/iam/v1.dart b/generated/googleapis/lib/iam/v1.dart
index fb25a17..7df115a 100644
--- a/generated/googleapis/lib/iam/v1.dart
+++ b/generated/googleapis/lib/iam/v1.dart
@@ -1242,6 +1242,13 @@
* `//cloudresourcemanager.googleapis.com/projects/my-project`.
*/
core.String fullResourceName;
+ /** Optional limit on the number of roles to include in the response. */
+ core.int pageSize;
+ /**
+ * Optional pagination token returned in an earlier
+ * QueryGrantableRolesResponse.
+ */
+ core.String pageToken;
QueryGrantableRolesRequest();
@@ -1249,6 +1256,12 @@
if (_json.containsKey("fullResourceName")) {
fullResourceName = _json["fullResourceName"];
}
+ if (_json.containsKey("pageSize")) {
+ pageSize = _json["pageSize"];
+ }
+ if (_json.containsKey("pageToken")) {
+ pageToken = _json["pageToken"];
+ }
}
core.Map toJson() {
@@ -1256,18 +1269,32 @@
if (fullResourceName != null) {
_json["fullResourceName"] = fullResourceName;
}
+ if (pageSize != null) {
+ _json["pageSize"] = pageSize;
+ }
+ if (pageToken != null) {
+ _json["pageToken"] = pageToken;
+ }
return _json;
}
}
/** The grantable role query response. */
class QueryGrantableRolesResponse {
+ /**
+ * To retrieve the next page of results, set
+ * `QueryGrantableRolesRequest.page_token` to this value.
+ */
+ core.String nextPageToken;
/** The list of matching roles. */
core.List<Role> roles;
QueryGrantableRolesResponse();
QueryGrantableRolesResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
if (_json.containsKey("roles")) {
roles = _json["roles"].map((value) => new Role.fromJson(value)).toList();
}
@@ -1275,6 +1302,9 @@
core.Map toJson() {
var _json = new core.Map();
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
if (roles != null) {
_json["roles"] = roles.map((value) => (value).toJson()).toList();
}
diff --git a/generated/googleapis/lib/identitytoolkit/v3.dart b/generated/googleapis/lib/identitytoolkit/v3.dart
index 2142d1d..bd52a59 100644
--- a/generated/googleapis/lib/identitytoolkit/v3.dart
+++ b/generated/googleapis/lib/identitytoolkit/v3.dart
@@ -2928,6 +2928,8 @@
core.String email;
/** User's identifier at IDP. */
core.String federatedId;
+ /** User's phone number. */
+ core.String phoneNumber;
/** The user's photo url at the IDP. */
core.String photoUrl;
/**
@@ -2953,6 +2955,9 @@
if (_json.containsKey("federatedId")) {
federatedId = _json["federatedId"];
}
+ if (_json.containsKey("phoneNumber")) {
+ phoneNumber = _json["phoneNumber"];
+ }
if (_json.containsKey("photoUrl")) {
photoUrl = _json["photoUrl"];
}
@@ -2978,6 +2983,9 @@
if (federatedId != null) {
_json["federatedId"] = federatedId;
}
+ if (phoneNumber != null) {
+ _json["phoneNumber"] = phoneNumber;
+ }
if (photoUrl != null) {
_json["photoUrl"] = photoUrl;
}
@@ -3023,6 +3031,8 @@
}
/** The timestamp when the password was last updated. */
core.double passwordUpdatedAt;
+ /** User's phone number. */
+ core.String phoneNumber;
/** The URL of the user profile photo. */
core.String photoUrl;
/** The IDP of the user. */
@@ -3078,6 +3088,9 @@
if (_json.containsKey("passwordUpdatedAt")) {
passwordUpdatedAt = _json["passwordUpdatedAt"];
}
+ if (_json.containsKey("phoneNumber")) {
+ phoneNumber = _json["phoneNumber"];
+ }
if (_json.containsKey("photoUrl")) {
photoUrl = _json["photoUrl"];
}
@@ -3133,6 +3146,9 @@
if (passwordUpdatedAt != null) {
_json["passwordUpdatedAt"] = passwordUpdatedAt;
}
+ if (phoneNumber != null) {
+ _json["phoneNumber"] = phoneNumber;
+ }
if (photoUrl != null) {
_json["photoUrl"] = photoUrl;
}
diff --git a/generated/googleapis/lib/kgsearch/v1.dart b/generated/googleapis/lib/kgsearch/v1.dart
index 33a26bb..25fbae4 100644
--- a/generated/googleapis/lib/kgsearch/v1.dart
+++ b/generated/googleapis/lib/kgsearch/v1.dart
@@ -39,6 +39,12 @@
*
* Request parameters:
*
+ * [indent] - Enables indenting of json results.
+ *
+ * [languages] - The list of language codes (defined in ISO 693) to run the
+ * query with,
+ * e.g. 'en'.
+ *
* [ids] - The list of entity id to be used for search instead of query
* string.
* To specify multiple ids in the HTTP request, repeat the parameter in the
@@ -54,12 +60,6 @@
* (as defined in http://schema.org/Person). If multiple types are specified,
* returned entities will contain one or more of these types.
*
- * [indent] - Enables indenting of json results.
- *
- * [languages] - The list of language codes (defined in ISO 693) to run the
- * query with,
- * e.g. 'en'.
- *
* Completes with a [SearchResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -68,7 +68,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<SearchResponse> search({core.List<core.String> ids, core.int limit, core.bool prefix, core.String query, core.List<core.String> types, core.bool indent, core.List<core.String> languages}) {
+ async.Future<SearchResponse> search({core.bool indent, core.List<core.String> languages, core.List<core.String> ids, core.int limit, core.bool prefix, core.String query, core.List<core.String> types}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -76,6 +76,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (indent != null) {
+ _queryParams["indent"] = ["${indent}"];
+ }
+ if (languages != null) {
+ _queryParams["languages"] = languages;
+ }
if (ids != null) {
_queryParams["ids"] = ids;
}
@@ -91,12 +97,6 @@
if (types != null) {
_queryParams["types"] = types;
}
- if (indent != null) {
- _queryParams["indent"] = ["${indent}"];
- }
- if (languages != null) {
- _queryParams["languages"] = languages;
- }
_url = 'v1/entities:search';
diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart
index 8eb3647..29db833 100644
--- a/generated/googleapis/lib/logging/v2.dart
+++ b/generated/googleapis/lib/logging/v2.dart
@@ -127,15 +127,15 @@
*
* Value must have pattern "^billingAccounts/[^/]+$".
*
- * [pageSize] - Optional. The maximum number of results to return from this
- * request. Non-positive values are ignored. The presence of nextPageToken in
- * the response indicates that more results might be available.
- *
* [pageToken] - Optional. If present, then retrieve the next batch of results
* from the preceding call to this method. pageToken must be the value of
* nextPageToken from the previous response. The values of other method
* parameters should be identical to those in the previous call.
*
+ * [pageSize] - Optional. The maximum number of results to return from this
+ * request. Non-positive values are ignored. The presence of nextPageToken in
+ * the response indicates that more results might be available.
+ *
* Completes with a [ListLogsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -144,7 +144,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLogsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -155,12 +155,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs';
@@ -873,15 +873,15 @@
*
* Value must have pattern "^folders/[^/]+$".
*
- * [pageSize] - Optional. The maximum number of results to return from this
- * request. Non-positive values are ignored. The presence of nextPageToken in
- * the response indicates that more results might be available.
- *
* [pageToken] - Optional. If present, then retrieve the next batch of results
* from the preceding call to this method. pageToken must be the value of
* nextPageToken from the previous response. The values of other method
* parameters should be identical to those in the previous call.
*
+ * [pageSize] - Optional. The maximum number of results to return from this
+ * request. Non-positive values are ignored. The presence of nextPageToken in
+ * the response indicates that more results might be available.
+ *
* Completes with a [ListSinksResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -890,7 +890,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListSinksResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListSinksResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -901,12 +901,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks';
@@ -1004,15 +1004,15 @@
*
* Request parameters:
*
- * [pageSize] - Optional. The maximum number of results to return from this
- * request. Non-positive values are ignored. The presence of nextPageToken in
- * the response indicates that more results might be available.
- *
* [pageToken] - Optional. If present, then retrieve the next batch of results
* from the preceding call to this method. pageToken must be the value of
* nextPageToken from the previous response. The values of other method
* parameters should be identical to those in the previous call.
*
+ * [pageSize] - Optional. The maximum number of results to return from this
+ * request. Non-positive values are ignored. The presence of nextPageToken in
+ * the response indicates that more results might be available.
+ *
* Completes with a [ListMonitoredResourceDescriptorsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1021,7 +1021,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListMonitoredResourceDescriptorsResponse> list({core.int pageSize, core.String pageToken}) {
+ async.Future<ListMonitoredResourceDescriptorsResponse> list({core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1029,12 +1029,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v2/monitoredResourceDescriptors';
@@ -1132,15 +1132,15 @@
*
* Value must have pattern "^organizations/[^/]+$".
*
- * [pageSize] - Optional. The maximum number of results to return from this
- * request. Non-positive values are ignored. The presence of nextPageToken in
- * the response indicates that more results might be available.
- *
* [pageToken] - Optional. If present, then retrieve the next batch of results
* from the preceding call to this method. pageToken must be the value of
* nextPageToken from the previous response. The values of other method
* parameters should be identical to those in the previous call.
*
+ * [pageSize] - Optional. The maximum number of results to return from this
+ * request. Non-positive values are ignored. The presence of nextPageToken in
+ * the response indicates that more results might be available.
+ *
* Completes with a [ListLogsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1149,7 +1149,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLogsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1160,12 +1160,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs';
@@ -1361,15 +1361,15 @@
*
* Value must have pattern "^organizations/[^/]+$".
*
- * [pageSize] - Optional. The maximum number of results to return from this
- * request. Non-positive values are ignored. The presence of nextPageToken in
- * the response indicates that more results might be available.
- *
* [pageToken] - Optional. If present, then retrieve the next batch of results
* from the preceding call to this method. pageToken must be the value of
* nextPageToken from the previous response. The values of other method
* parameters should be identical to those in the previous call.
*
+ * [pageSize] - Optional. The maximum number of results to return from this
+ * request. Non-positive values are ignored. The presence of nextPageToken in
+ * the response indicates that more results might be available.
+ *
* Completes with a [ListSinksResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1378,7 +1378,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListSinksResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListSinksResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1389,12 +1389,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks';
@@ -1562,15 +1562,15 @@
*
* Value must have pattern "^projects/[^/]+$".
*
- * [pageSize] - Optional. The maximum number of results to return from this
- * request. Non-positive values are ignored. The presence of nextPageToken in
- * the response indicates that more results might be available.
- *
* [pageToken] - Optional. If present, then retrieve the next batch of results
* from the preceding call to this method. pageToken must be the value of
* nextPageToken from the previous response. The values of other method
* parameters should be identical to those in the previous call.
*
+ * [pageSize] - Optional. The maximum number of results to return from this
+ * request. Non-positive values are ignored. The presence of nextPageToken in
+ * the response indicates that more results might be available.
+ *
* Completes with a [ListLogsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1579,7 +1579,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLogsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1590,12 +1590,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs';
@@ -3144,6 +3144,16 @@
*/
core.String filter;
/**
+ * Optional. This field presently applies only to sinks in organizations and
+ * folders. If true, then logs from children of this entity will also be
+ * available to this sink for export. Whether particular log entries from the
+ * children are exported depends on the sink's filter expression. For example,
+ * if this sink is associated with an organization, then logs from all
+ * projects in the organization as well as from the organization itself will
+ * be available for export.
+ */
+ core.bool includeChildren;
+ /**
* Required. The client-assigned sink identifier, unique within the project.
* Example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100
* characters and can include only the following characters: upper and
@@ -3192,6 +3202,9 @@
if (_json.containsKey("filter")) {
filter = _json["filter"];
}
+ if (_json.containsKey("includeChildren")) {
+ includeChildren = _json["includeChildren"];
+ }
if (_json.containsKey("name")) {
name = _json["name"];
}
@@ -3217,6 +3230,9 @@
if (filter != null) {
_json["filter"] = filter;
}
+ if (includeChildren != null) {
+ _json["includeChildren"] = includeChildren;
+ }
if (name != null) {
_json["name"] = name;
}
diff --git a/generated/googleapis/lib/manufacturers/v1.dart b/generated/googleapis/lib/manufacturers/v1.dart
index 694400b..4dee964 100644
--- a/generated/googleapis/lib/manufacturers/v1.dart
+++ b/generated/googleapis/lib/manufacturers/v1.dart
@@ -114,12 +114,12 @@
* `account_id` - The ID of the Manufacturer Center account.
* Value must have pattern "^accounts/[^/]+$".
*
- * [pageToken] - The token returned by the previous request.
- *
* [pageSize] - Maximum number of product statuses to return in the response,
* used for
* paging.
*
+ * [pageToken] - The token returned by the previous request.
+ *
* Completes with a [ListProductsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -128,7 +128,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListProductsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListProductsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -139,12 +139,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/products';
diff --git a/generated/googleapis/lib/ml/v1.dart b/generated/googleapis/lib/ml/v1.dart
index 08b8512..2001f8a 100644
--- a/generated/googleapis/lib/ml/v1.dart
+++ b/generated/googleapis/lib/ml/v1.dart
@@ -288,13 +288,6 @@
* Authorization: requires `Viewer` role on the specified project.
* Value must have pattern "^projects/[^/]+$".
*
- * [filter] - Optional. Specifies the subset of jobs to retrieve.
- *
- * [pageToken] - Optional. A page token to request the next page of results.
- *
- * You get the token from the `next_page_token` field of the response from
- * the previous call.
- *
* [pageSize] - Optional. The number of jobs to retrieve per "page" of
* results. If there
* are more remaining results than this number, the response message will
@@ -302,6 +295,13 @@
*
* The default value is 20, and the maximum page size is 100.
*
+ * [filter] - Optional. Specifies the subset of jobs to retrieve.
+ *
+ * [pageToken] - Optional. A page token to request the next page of results.
+ *
+ * You get the token from the `next_page_token` field of the response from
+ * the previous call.
+ *
* Completes with a [GoogleCloudMlV1ListJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -310,7 +310,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1ListJobsResponse> list(core.String parent, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<GoogleCloudMlV1ListJobsResponse> list(core.String parent, {core.int pageSize, core.String filter, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -321,15 +321,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/jobs';
@@ -508,11 +508,6 @@
* Authorization: requires `Viewer` role on the specified project.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageToken] - Optional. A page token to request the next page of results.
- *
- * You get the token from the `next_page_token` field of the response from
- * the previous call.
- *
* [pageSize] - Optional. The number of models to retrieve per "page" of
* results. If there
* are more remaining results than this number, the response message will
@@ -520,6 +515,11 @@
*
* The default value is 20, and the maximum page size is 100.
*
+ * [pageToken] - Optional. A page token to request the next page of results.
+ *
+ * You get the token from the `next_page_token` field of the response from
+ * the previous call.
+ *
* Completes with a [GoogleCloudMlV1ListModelsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -528,7 +528,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1ListModelsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<GoogleCloudMlV1ListModelsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -539,12 +539,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/models';
@@ -733,11 +733,6 @@
* Authorization: requires `Viewer` role on the parent project.
* Value must have pattern "^projects/[^/]+/models/[^/]+$".
*
- * [pageToken] - Optional. A page token to request the next page of results.
- *
- * You get the token from the `next_page_token` field of the response from
- * the previous call.
- *
* [pageSize] - Optional. The number of versions to retrieve per "page" of
* results. If
* there are more remaining results than this number, the response message
@@ -745,6 +740,11 @@
*
* The default value is 20, and the maximum page size is 100.
*
+ * [pageToken] - Optional. A page token to request the next page of results.
+ *
+ * You get the token from the `next_page_token` field of the response from
+ * the previous call.
+ *
* Completes with a [GoogleCloudMlV1ListVersionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -753,7 +753,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1ListVersionsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<GoogleCloudMlV1ListVersionsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -764,12 +764,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/versions';
@@ -2311,6 +2311,7 @@
/**
* Required. The Google Cloud Storage location of the packages with
* the training program and any additional dependencies.
+ * The maximum number of package URIs is 100.
*/
core.List<core.String> packageUris;
/**
@@ -2555,14 +2556,15 @@
* Required. The Google Cloud Storage location of the trained model used to
* create the version. See the
* [overview of model
- * deployment](/ml-engine/docs/concepts/deployment-overview) for
- * more informaiton.
+ * deployment](/ml-engine/docs/concepts/deployment-overview) for more
+ * informaiton.
*
* When passing Version to
* [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.versions/create)
* the model service uses the specified location as the source of the model.
* Once deployed, the model version is hosted by the prediction service, so
* this location is useful only as a historical record.
+ * The total number of model files can't exceed 1000.
*/
core.String deploymentUri;
/**
@@ -2778,14 +2780,15 @@
* Required. The Google Cloud Storage location of the trained model used to
* create the version. See the
* [overview of model
- * deployment](/ml-engine/docs/concepts/deployment-overview) for
- * more informaiton.
+ * deployment](/ml-engine/docs/concepts/deployment-overview) for more
+ * informaiton.
*
* When passing Version to
* [projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create)
* the model service uses the specified location as the source of the model.
* Once deployed, the model version is hosted by the prediction service, so
* this location is useful only as a historical record.
+ * The total number of model files can't exceed 1000.
*/
core.String deploymentUri;
/**
diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart
index 59111b3..3f425ac 100644
--- a/generated/googleapis/lib/monitoring/v3.dart
+++ b/generated/googleapis/lib/monitoring/v3.dart
@@ -635,6 +635,12 @@
* "projects/{project_id_or_number}".
* Value must have pattern "^projects/[^/]+$".
*
+ * [filter] - If this field is empty, all custom and system-defined metric
+ * descriptors are returned. Otherwise, the filter specifies which metric
+ * descriptors are to be returned. For example, the following filter matches
+ * all custom metrics:
+ * metric.type = starts_with("custom.googleapis.com/")
+ *
* [pageToken] - If this field is not empty then it must contain the
* nextPageToken value returned by a previous call to this method. Using this
* field causes the method to return additional results from the previous
@@ -643,12 +649,6 @@
* [pageSize] - A positive number that is the maximum number of results to
* return.
*
- * [filter] - If this field is empty, all custom and system-defined metric
- * descriptors are returned. Otherwise, the filter specifies which metric
- * descriptors are to be returned. For example, the following filter matches
- * all custom metrics:
- * metric.type = starts_with("custom.googleapis.com/")
- *
* Completes with a [ListMetricDescriptorsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -657,7 +657,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListMetricDescriptorsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListMetricDescriptorsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -668,15 +668,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/metricDescriptors';
@@ -876,34 +876,6 @@
* "projects/{project_id_or_number}".
* Value must have pattern "^projects/[^/]+$".
*
- * [aggregation_groupByFields] - The set of fields to preserve when
- * crossSeriesReducer is specified. The groupByFields determine how the time
- * series are partitioned into subsets prior to applying the aggregation
- * function. Each subset contains time series that have the same value for
- * each of the grouping fields. Each individual time series is a member of
- * exactly one subset. The crossSeriesReducer is applied to each subset of
- * time series. It is not possible to reduce across different resource types,
- * so this field implicitly contains resource.type. Fields not specified in
- * groupByFields are aggregated away. If groupByFields is not specified and
- * all the time series have the same resource type, then the time series are
- * aggregated into a single output time series. If crossSeriesReducer is not
- * defined, this field is ignored.
- *
- * [interval_endTime] - Required. The end of the time interval.
- *
- * [aggregation_alignmentPeriod] - The alignment period for per-time series
- * alignment. If present, alignmentPeriod must be at least 60 seconds. After
- * per-time series alignment, each time series will contain data points only
- * on the period boundaries. If perSeriesAligner is not specified or equals
- * ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified
- * and does not equal ALIGN_NONE, then this field must be defined; otherwise
- * an error is returned.
- *
- * [pageSize] - A positive number that is the maximum number of results to
- * return. When view field sets to FULL, it limits the number of Points server
- * will return; if view field is HEADERS, it limits the number of TimeSeries
- * server will return.
- *
* [orderBy] - Specifies the order in which the points of the time series
* should be returned. By default, results are not ordered. Currently, this
* field must be left blank.
@@ -978,6 +950,105 @@
* - "FULL" : A FULL.
* - "HEADERS" : A HEADERS.
*
+ * [secondaryAggregation_crossSeriesReducer] - The approach to be used to
+ * combine time series. Not all reducer functions may be applied to all time
+ * series, depending on the metric type and the value type of the original
+ * time series. Reduction may change the metric type of value type of the time
+ * series.Time series data must be aligned in order to perform cross-time
+ * series reduction. If crossSeriesReducer is specified, then perSeriesAligner
+ * must be specified and not equal ALIGN_NONE and alignmentPeriod must be
+ * specified; otherwise, an error is returned.
+ * Possible string values are:
+ * - "REDUCE_NONE" : A REDUCE_NONE.
+ * - "REDUCE_MEAN" : A REDUCE_MEAN.
+ * - "REDUCE_MIN" : A REDUCE_MIN.
+ * - "REDUCE_MAX" : A REDUCE_MAX.
+ * - "REDUCE_SUM" : A REDUCE_SUM.
+ * - "REDUCE_STDDEV" : A REDUCE_STDDEV.
+ * - "REDUCE_COUNT" : A REDUCE_COUNT.
+ * - "REDUCE_COUNT_TRUE" : A REDUCE_COUNT_TRUE.
+ * - "REDUCE_FRACTION_TRUE" : A REDUCE_FRACTION_TRUE.
+ * - "REDUCE_PERCENTILE_99" : A REDUCE_PERCENTILE_99.
+ * - "REDUCE_PERCENTILE_95" : A REDUCE_PERCENTILE_95.
+ * - "REDUCE_PERCENTILE_50" : A REDUCE_PERCENTILE_50.
+ * - "REDUCE_PERCENTILE_05" : A REDUCE_PERCENTILE_05.
+ *
+ * [secondaryAggregation_groupByFields] - The set of fields to preserve when
+ * crossSeriesReducer is specified. The groupByFields determine how the time
+ * series are partitioned into subsets prior to applying the aggregation
+ * function. Each subset contains time series that have the same value for
+ * each of the grouping fields. Each individual time series is a member of
+ * exactly one subset. The crossSeriesReducer is applied to each subset of
+ * time series. It is not possible to reduce across different resource types,
+ * so this field implicitly contains resource.type. Fields not specified in
+ * groupByFields are aggregated away. If groupByFields is not specified and
+ * all the time series have the same resource type, then the time series are
+ * aggregated into a single output time series. If crossSeriesReducer is not
+ * defined, this field is ignored.
+ *
+ * [aggregation_groupByFields] - The set of fields to preserve when
+ * crossSeriesReducer is specified. The groupByFields determine how the time
+ * series are partitioned into subsets prior to applying the aggregation
+ * function. Each subset contains time series that have the same value for
+ * each of the grouping fields. Each individual time series is a member of
+ * exactly one subset. The crossSeriesReducer is applied to each subset of
+ * time series. It is not possible to reduce across different resource types,
+ * so this field implicitly contains resource.type. Fields not specified in
+ * groupByFields are aggregated away. If groupByFields is not specified and
+ * all the time series have the same resource type, then the time series are
+ * aggregated into a single output time series. If crossSeriesReducer is not
+ * defined, this field is ignored.
+ *
+ * [interval_endTime] - Required. The end of the time interval.
+ *
+ * [aggregation_alignmentPeriod] - The alignment period for per-time series
+ * alignment. If present, alignmentPeriod must be at least 60 seconds. After
+ * per-time series alignment, each time series will contain data points only
+ * on the period boundaries. If perSeriesAligner is not specified or equals
+ * ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified
+ * and does not equal ALIGN_NONE, then this field must be defined; otherwise
+ * an error is returned.
+ *
+ * [secondaryAggregation_alignmentPeriod] - The alignment period for per-time
+ * series alignment. If present, alignmentPeriod must be at least 60 seconds.
+ * After per-time series alignment, each time series will contain data points
+ * only on the period boundaries. If perSeriesAligner is not specified or
+ * equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is
+ * specified and does not equal ALIGN_NONE, then this field must be defined;
+ * otherwise an error is returned.
+ *
+ * [pageSize] - A positive number that is the maximum number of results to
+ * return. When view field sets to FULL, it limits the number of Points server
+ * will return; if view field is HEADERS, it limits the number of TimeSeries
+ * server will return.
+ *
+ * [secondaryAggregation_perSeriesAligner] - The approach to be used to align
+ * individual time series. Not all alignment functions may be applied to all
+ * time series, depending on the metric type and value type of the original
+ * time series. Alignment may change the metric type or the value type of the
+ * time series.Time series data must be aligned in order to perform cross-time
+ * series reduction. If crossSeriesReducer is specified, then perSeriesAligner
+ * must be specified and not equal ALIGN_NONE and alignmentPeriod must be
+ * specified; otherwise, an error is returned.
+ * Possible string values are:
+ * - "ALIGN_NONE" : A ALIGN_NONE.
+ * - "ALIGN_DELTA" : A ALIGN_DELTA.
+ * - "ALIGN_RATE" : A ALIGN_RATE.
+ * - "ALIGN_INTERPOLATE" : A ALIGN_INTERPOLATE.
+ * - "ALIGN_NEXT_OLDER" : A ALIGN_NEXT_OLDER.
+ * - "ALIGN_MIN" : A ALIGN_MIN.
+ * - "ALIGN_MAX" : A ALIGN_MAX.
+ * - "ALIGN_MEAN" : A ALIGN_MEAN.
+ * - "ALIGN_COUNT" : A ALIGN_COUNT.
+ * - "ALIGN_SUM" : A ALIGN_SUM.
+ * - "ALIGN_STDDEV" : A ALIGN_STDDEV.
+ * - "ALIGN_COUNT_TRUE" : A ALIGN_COUNT_TRUE.
+ * - "ALIGN_FRACTION_TRUE" : A ALIGN_FRACTION_TRUE.
+ * - "ALIGN_PERCENTILE_99" : A ALIGN_PERCENTILE_99.
+ * - "ALIGN_PERCENTILE_95" : A ALIGN_PERCENTILE_95.
+ * - "ALIGN_PERCENTILE_50" : A ALIGN_PERCENTILE_50.
+ * - "ALIGN_PERCENTILE_05" : A ALIGN_PERCENTILE_05.
+ *
* Completes with a [ListTimeSeriesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -986,7 +1057,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTimeSeriesResponse> list(core.String name, {core.List<core.String> aggregation_groupByFields, core.String interval_endTime, core.String aggregation_alignmentPeriod, core.int pageSize, core.String orderBy, core.String aggregation_crossSeriesReducer, core.String filter, core.String pageToken, core.String aggregation_perSeriesAligner, core.String interval_startTime, core.String view}) {
+ async.Future<ListTimeSeriesResponse> list(core.String name, {core.String orderBy, core.String aggregation_crossSeriesReducer, core.String filter, core.String pageToken, core.String aggregation_perSeriesAligner, core.String interval_startTime, core.String view, core.String secondaryAggregation_crossSeriesReducer, core.List<core.String> secondaryAggregation_groupByFields, core.List<core.String> aggregation_groupByFields, core.String interval_endTime, core.String aggregation_alignmentPeriod, core.String secondaryAggregation_alignmentPeriod, core.int pageSize, core.String secondaryAggregation_perSeriesAligner}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -997,18 +1068,6 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (aggregation_groupByFields != null) {
- _queryParams["aggregation.groupByFields"] = aggregation_groupByFields;
- }
- if (interval_endTime != null) {
- _queryParams["interval.endTime"] = [interval_endTime];
- }
- if (aggregation_alignmentPeriod != null) {
- _queryParams["aggregation.alignmentPeriod"] = [aggregation_alignmentPeriod];
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
@@ -1030,6 +1089,30 @@
if (view != null) {
_queryParams["view"] = [view];
}
+ if (secondaryAggregation_crossSeriesReducer != null) {
+ _queryParams["secondaryAggregation.crossSeriesReducer"] = [secondaryAggregation_crossSeriesReducer];
+ }
+ if (secondaryAggregation_groupByFields != null) {
+ _queryParams["secondaryAggregation.groupByFields"] = secondaryAggregation_groupByFields;
+ }
+ if (aggregation_groupByFields != null) {
+ _queryParams["aggregation.groupByFields"] = aggregation_groupByFields;
+ }
+ if (interval_endTime != null) {
+ _queryParams["interval.endTime"] = [interval_endTime];
+ }
+ if (aggregation_alignmentPeriod != null) {
+ _queryParams["aggregation.alignmentPeriod"] = [aggregation_alignmentPeriod];
+ }
+ if (secondaryAggregation_alignmentPeriod != null) {
+ _queryParams["secondaryAggregation.alignmentPeriod"] = [secondaryAggregation_alignmentPeriod];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (secondaryAggregation_perSeriesAligner != null) {
+ _queryParams["secondaryAggregation.perSeriesAligner"] = [secondaryAggregation_perSeriesAligner];
+ }
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/timeSeries';
@@ -1934,7 +2017,7 @@
}
}
-/** The ListMonitoredResourcDescriptors response. */
+/** The ListMonitoredResourceDescriptors response. */
class ListMonitoredResourceDescriptorsResponse {
/**
* If there are more results than have been returned, then this field is set
diff --git a/generated/googleapis/lib/partners/v2.dart b/generated/googleapis/lib/partners/v2.dart
index 18756c6..8d5f796 100644
--- a/generated/googleapis/lib/partners/v2.dart
+++ b/generated/googleapis/lib/partners/v2.dart
@@ -50,6 +50,15 @@
*
* Request parameters:
*
+ * [pageSize] - Requested page size. Server may return fewer analytics than
+ * requested.
+ * If unspecified or set to 0, default value is 30.
+ * Specifies the number of days in the date range when querying analytics.
+ * The `page_token` represents the end date of the date range
+ * and the start date is calculated using the `page_size` as the number
+ * of days BEFORE the end date.
+ * Must be a non-negative integer.
+ *
* [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
* where the traffic comes from.
* An identifier has multiple letters created by a team which redirected the
@@ -82,15 +91,6 @@
* of the date range of results to return.
* If unspecified or set to "", default value is the current date.
*
- * [pageSize] - Requested page size. Server may return fewer analytics than
- * requested.
- * If unspecified or set to 0, default value is 30.
- * Specifies the number of days in the date range when querying analytics.
- * The `page_token` represents the end date of the date range
- * and the start date is calculated using the `page_size` as the number
- * of days BEFORE the end date.
- * Must be a non-negative integer.
- *
* Completes with a [ListAnalyticsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -99,7 +99,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListAnalyticsResponse> list({core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken, core.int pageSize}) {
+ async.Future<ListAnalyticsResponse> list({core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -107,6 +107,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
}
@@ -131,9 +134,6 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
_url = 'v2/analytics';
@@ -215,11 +215,6 @@
*
* [companyId] - The ID of the company to retrieve.
*
- * [requestMetadata_partnersSessionId] - Google Partners session ID.
- *
- * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
- * instead of the user's ID.
- *
* [view] - The view of `Company` resource to be returned. This must not be
* `COMPANY_VIEW_UNSPECIFIED`.
* Possible string values are:
@@ -259,6 +254,11 @@
* farthest in distance from given address and farthest to closest distance
* from given address respectively.
*
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
* Completes with a [GetCompanyResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -267,7 +267,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GetCompanyResponse> get(core.String companyId, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String view, core.String requestMetadata_locale, core.String address, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_userOverrides_ipAddress, core.String currencyCode, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String orderBy}) {
+ async.Future<GetCompanyResponse> get(core.String companyId, {core.String view, core.String requestMetadata_locale, core.String address, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_userOverrides_ipAddress, core.String currencyCode, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String orderBy, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -278,12 +278,6 @@
if (companyId == null) {
throw new core.ArgumentError("Parameter companyId is required.");
}
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
- }
- if (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
- }
if (view != null) {
_queryParams["view"] = [view];
}
@@ -311,6 +305,12 @@
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
_url = 'v2/companies/' + commons.Escaper.ecapeVariable('$companyId');
@@ -329,6 +329,12 @@
*
* Request parameters:
*
+ * [websiteUrl] - Website URL that will help to find a better matched company.
+ * .
+ *
+ * [gpsMotivations] - List of reasons for using Google Partner Search to get
+ * companies.
+ *
* [languageCodes] - List of language codes that company can support. Only
* primary language
* subtags are accepted as defined by
@@ -359,12 +365,12 @@
* [maxMonthlyBudget_currencyCode] - The 3-letter currency code defined in ISO
* 4217.
*
- * [minMonthlyBudget_currencyCode] - The 3-letter currency code defined in ISO
- * 4217.
- *
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
* instead of the user's ID.
*
+ * [minMonthlyBudget_currencyCode] - The 3-letter currency code defined in ISO
+ * 4217.
+ *
* [view] - The view of the `Company` resource to be returned. This must not
* be
* `COMPANY_VIEW_UNSPECIFIED`.
@@ -414,22 +420,16 @@
*
* [requestMetadata_partnersSessionId] - Google Partners session ID.
*
+ * [companyName] - Company name to search for.
+ *
* [pageToken] - A token identifying a page of results that the server
* returns.
* Typically, this is the value of `ListCompaniesResponse.next_page_token`
* returned from the previous call to
* ListCompanies.
*
- * [companyName] - Company name to search for.
- *
* [industries] - List of industries the company can help with.
*
- * [websiteUrl] - Website URL that will help to find a better matched company.
- * .
- *
- * [gpsMotivations] - List of reasons for using Google Partner Search to get
- * companies.
- *
* Completes with a [ListCompaniesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -438,7 +438,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListCompaniesResponse> list({core.List<core.String> languageCodes, core.int pageSize, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String orderBy, core.List<core.String> specializations, core.String maxMonthlyBudget_currencyCode, core.String minMonthlyBudget_currencyCode, core.String requestMetadata_userOverrides_userId, core.String view, core.String address, core.String requestMetadata_locale, core.String minMonthlyBudget_units, core.int maxMonthlyBudget_nanos, core.List<core.String> services, core.String maxMonthlyBudget_units, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_trafficSource_trafficSubId, core.int minMonthlyBudget_nanos, core.String requestMetadata_partnersSessionId, core.String pageToken, core.String companyName, core.List<core.String> industries, core.String websiteUrl, core.List<core.String> gpsMotivations}) {
+ async.Future<ListCompaniesResponse> list({core.String websiteUrl, core.List<core.String> gpsMotivations, core.List<core.String> languageCodes, core.int pageSize, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String orderBy, core.List<core.String> specializations, core.String maxMonthlyBudget_currencyCode, core.String requestMetadata_userOverrides_userId, core.String minMonthlyBudget_currencyCode, core.String view, core.String address, core.String requestMetadata_locale, core.String minMonthlyBudget_units, core.int maxMonthlyBudget_nanos, core.List<core.String> services, core.String maxMonthlyBudget_units, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_trafficSource_trafficSubId, core.int minMonthlyBudget_nanos, core.String requestMetadata_partnersSessionId, core.String companyName, core.String pageToken, core.List<core.String> industries}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -446,6 +446,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (websiteUrl != null) {
+ _queryParams["websiteUrl"] = [websiteUrl];
+ }
+ if (gpsMotivations != null) {
+ _queryParams["gpsMotivations"] = gpsMotivations;
+ }
if (languageCodes != null) {
_queryParams["languageCodes"] = languageCodes;
}
@@ -467,12 +473,12 @@
if (maxMonthlyBudget_currencyCode != null) {
_queryParams["maxMonthlyBudget.currencyCode"] = [maxMonthlyBudget_currencyCode];
}
- if (minMonthlyBudget_currencyCode != null) {
- _queryParams["minMonthlyBudget.currencyCode"] = [minMonthlyBudget_currencyCode];
- }
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
}
+ if (minMonthlyBudget_currencyCode != null) {
+ _queryParams["minMonthlyBudget.currencyCode"] = [minMonthlyBudget_currencyCode];
+ }
if (view != null) {
_queryParams["view"] = [view];
}
@@ -506,21 +512,15 @@
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (companyName != null) {
_queryParams["companyName"] = [companyName];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (industries != null) {
_queryParams["industries"] = industries;
}
- if (websiteUrl != null) {
- _queryParams["websiteUrl"] = [websiteUrl];
- }
- if (gpsMotivations != null) {
- _queryParams["gpsMotivations"] = gpsMotivations;
- }
_url = 'v2/companies';
@@ -616,11 +616,11 @@
* - "CET_DIGITAL_SALES" : A CET_DIGITAL_SALES.
* - "CET_MOBILE_SITES" : A CET_MOBILE_SITES.
*
- * [requestMetadata_partnersSessionId] - Google Partners session ID.
- *
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
* instead of the user's ID.
*
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
* [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
* where the traffic comes from.
* An identifier has multiple letters created by a team which redirected the
@@ -647,7 +647,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ExamToken> getToken(core.String examType, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ async.Future<ExamToken> getToken(core.String examType, {core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -658,12 +658,12 @@
if (examType == null) {
throw new core.ArgumentError("Parameter examType is required.");
}
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
- }
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
}
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
}
@@ -707,17 +707,6 @@
*
* Request parameters:
*
- * [requestMetadata_experimentIds] - Experiment IDs the current request
- * belongs to.
- *
- * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- * indicate where the traffic comes from.
- * An identifier has multiple letters created by a team which redirected the
- * traffic to us.
- *
- * [orderBy] - How to order Leads. Currently, only `create_time`
- * and `create_time desc` are supported
- *
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
* instead of the user's ID.
*
@@ -743,6 +732,17 @@
* [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
* the user's geo-located IP address.
*
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [orderBy] - How to order Leads. Currently, only `create_time`
+ * and `create_time desc` are supported
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
* Completes with a [ListLeadsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -751,7 +751,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLeadsResponse> list({core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String orderBy, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
+ async.Future<ListLeadsResponse> list({core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String orderBy, core.String requestMetadata_trafficSource_trafficSubId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -759,15 +759,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
- }
- if (requestMetadata_trafficSource_trafficSubId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
}
@@ -789,6 +780,15 @@
if (requestMetadata_userOverrides_ipAddress != null) {
_queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
}
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
_url = 'v2/leads';
@@ -818,11 +818,6 @@
*
* Request parameters:
*
- * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
- * instead of the user's ID.
- *
- * [requestMetadata_partnersSessionId] - Google Partners session ID.
- *
* [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
* where the traffic comes from.
* An identifier has multiple letters created by a team which redirected the
@@ -841,6 +836,11 @@
* An identifier has multiple letters created by a team which redirected the
* traffic to us.
*
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
* Completes with a [ListOffersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -849,7 +849,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOffersResponse> list({core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ async.Future<ListOffersResponse> list({core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -857,12 +857,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
- }
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
- }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
}
@@ -878,6 +872,12 @@
if (requestMetadata_trafficSource_trafficSubId != null) {
_queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
}
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
_url = 'v2/offers';
@@ -905,24 +905,6 @@
*
* Request parameters:
*
- * [requestMetadata_experimentIds] - Experiment IDs the current request
- * belongs to.
- *
- * [entireCompany] - if true, show history for the entire company. Requires
- * user to be admin.
- *
- * [orderBy] - Comma-separated list of fields to order by, e.g.:
- * "foo,bar,baz".
- * Use "foo desc" to sort descending.
- * List of valid field names is: name, offer_code, expiration_time, status,
- * last_modified_time, sender_name, creation_time, country_code,
- * offer_type.
- *
- * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- * indicate where the traffic comes from.
- * An identifier has multiple letters created by a team which redirected the
- * traffic to us.
- *
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
* instead of the user's ID.
*
@@ -942,6 +924,24 @@
* [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
* the user's geo-located IP address.
*
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [entireCompany] - if true, show history for the entire company. Requires
+ * user to be admin.
+ *
+ * [orderBy] - Comma-separated list of fields to order by, e.g.:
+ * "foo,bar,baz".
+ * Use "foo desc" to sort descending.
+ * List of valid field names is: name, offer_code, expiration_time, status,
+ * last_modified_time, sender_name, creation_time, country_code,
+ * offer_type.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
* Completes with a [ListOffersHistoryResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -950,7 +950,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOffersHistoryResponse> list({core.List<core.String> requestMetadata_experimentIds, core.bool entireCompany, core.String orderBy, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
+ async.Future<ListOffersHistoryResponse> list({core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.bool entireCompany, core.String orderBy, core.String requestMetadata_trafficSource_trafficSubId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -958,18 +958,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
- }
- if (entireCompany != null) {
- _queryParams["entireCompany"] = ["${entireCompany}"];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (requestMetadata_trafficSource_trafficSubId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
- }
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
}
@@ -991,6 +979,18 @@
if (requestMetadata_userOverrides_ipAddress != null) {
_queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
}
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (entireCompany != null) {
+ _queryParams["entireCompany"] = ["${entireCompany}"];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
_url = 'v2/offers/history';
@@ -1066,6 +1066,16 @@
*
* Request parameters:
*
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
* [requestMetadata_experimentIds] - Experiment IDs the current request
* belongs to.
*
@@ -1079,16 +1089,6 @@
*
* [requestMetadata_partnersSessionId] - Google Partners session ID.
*
- * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
- * where the traffic comes from.
- * An identifier has multiple letters created by a team which redirected the
- * traffic to us.
- *
- * [requestMetadata_locale] - Locale to use for the current request.
- *
- * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
- * the user's geo-located IP address.
- *
* Completes with a [ListUserStatesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1097,7 +1097,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListUserStatesResponse> list({core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
+ async.Future<ListUserStatesResponse> list({core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1105,6 +1105,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
if (requestMetadata_experimentIds != null) {
_queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
}
@@ -1117,15 +1126,6 @@
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
- if (requestMetadata_trafficSource_trafficSourceId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
- }
- if (requestMetadata_locale != null) {
- _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
- }
- if (requestMetadata_userOverrides_ipAddress != null) {
- _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
- }
_url = 'v2/userStates';
@@ -1166,11 +1166,11 @@
* An identifier has multiple letters created by a team which redirected the
* traffic to us.
*
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
* instead of the user's ID.
*
- * [requestMetadata_partnersSessionId] - Google Partners session ID.
- *
* [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
* where the traffic comes from.
* An identifier has multiple letters created by a team which redirected the
@@ -1189,7 +1189,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<CompanyRelation> createCompanyRelation(CompanyRelation request, core.String userId, {core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
+ async.Future<CompanyRelation> createCompanyRelation(CompanyRelation request, core.String userId, {core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1209,12 +1209,12 @@
if (requestMetadata_trafficSource_trafficSubId != null) {
_queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
}
- if (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
- }
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
}
@@ -1330,11 +1330,11 @@
* the currently
* authenticated user.
*
- * [requestMetadata_partnersSessionId] - Google Partners session ID.
- *
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
* instead of the user's ID.
*
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
* [userView] - Specifies what parts of the user information to return.
* Possible string values are:
* - "BASIC" : A BASIC.
@@ -1367,7 +1367,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<User> get(core.String userId, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String userView, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ async.Future<User> get(core.String userId, {core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String userView, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1378,12 +1378,12 @@
if (userId == null) {
throw new core.ArgumentError("Parameter userId is required.");
}
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
- }
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
}
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
if (userView != null) {
_queryParams["userView"] = [userView];
}
@@ -1423,11 +1423,11 @@
*
* Request parameters:
*
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
* instead of the user's ID.
*
- * [requestMetadata_partnersSessionId] - Google Partners session ID.
- *
* [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
* where the traffic comes from.
* An identifier has multiple letters created by a team which redirected the
@@ -1454,7 +1454,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<UserProfile> updateProfile(UserProfile request, {core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ async.Future<UserProfile> updateProfile(UserProfile request, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1465,12 +1465,12 @@
if (request != null) {
_body = convert.JSON.encode((request).toJson());
}
- if (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
- }
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
}
@@ -1514,16 +1514,6 @@
*
* Request parameters:
*
- * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
- * where the traffic comes from.
- * An identifier has multiple letters created by a team which redirected the
- * traffic to us.
- *
- * [requestMetadata_locale] - Locale to use for the current request.
- *
- * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
- * the user's geo-located IP address.
- *
* [requestMetadata_experimentIds] - Experiment IDs the current request
* belongs to.
*
@@ -1537,6 +1527,16 @@
*
* [requestMetadata_partnersSessionId] - Google Partners session ID.
*
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
* Completes with a [GetPartnersStatusResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1545,7 +1545,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GetPartnersStatusResponse> getPartnersstatus({core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId}) {
+ async.Future<GetPartnersStatusResponse> getPartnersstatus({core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1553,15 +1553,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (requestMetadata_trafficSource_trafficSourceId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
- }
- if (requestMetadata_locale != null) {
- _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
- }
- if (requestMetadata_userOverrides_ipAddress != null) {
- _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
- }
if (requestMetadata_experimentIds != null) {
_queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
}
@@ -1574,6 +1565,15 @@
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
_url = 'v2/partnersstatus';
@@ -1684,11 +1684,11 @@
*
* Request parameters:
*
- * [requestMetadata_partnersSessionId] - Google Partners session ID.
- *
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
* instead of the user's ID.
*
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
* [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
* where the traffic comes from.
* An identifier has multiple letters created by a team which redirected the
@@ -1719,7 +1719,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Lead> updateLeads(Lead request, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.String updateMask, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ async.Future<Lead> updateLeads(Lead request, {core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.String updateMask, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1730,12 +1730,12 @@
if (request != null) {
_body = convert.JSON.encode((request).toJson());
}
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
- }
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
}
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
}
diff --git a/generated/googleapis/lib/people/v1.dart b/generated/googleapis/lib/people/v1.dart
index 1c81523..a36b0ba 100644
--- a/generated/googleapis/lib/people/v1.dart
+++ b/generated/googleapis/lib/people/v1.dart
@@ -193,8 +193,16 @@
* `people/me` is valid.
* Value must have pattern "^people/[^/]+$".
*
+ * [requestSyncToken] - Whether the response should include a sync token,
+ * which can be used to get
+ * all changes since the last request.
+ *
* [pageToken] - The token of the page to be returned.
*
+ * [pageSize] - The number of connections to include in the response. Valid
+ * values are
+ * between 1 and 500, inclusive. Defaults to 100.
+ *
* [requestMask_includeField] - Comma-separated list of fields to be included
* in the response. Omitting
* this field will include all fields except for connections.list requests,
@@ -203,10 +211,6 @@
* Each path should start with `person.`: for example, `person.names` or
* `person.photos`.
*
- * [pageSize] - The number of connections to include in the response. Valid
- * values are
- * between 1 and 500, inclusive. Defaults to 100.
- *
* [syncToken] - A sync token, returned by a previous call to
* `people.connections.list`.
* Only resources changed since the sync token was created will be returned.
@@ -219,10 +223,6 @@
* - "FIRST_NAME_ASCENDING" : A FIRST_NAME_ASCENDING.
* - "LAST_NAME_ASCENDING" : A LAST_NAME_ASCENDING.
*
- * [requestSyncToken] - Whether the response should include a sync token,
- * which can be used to get
- * all changes since the last request.
- *
* Completes with a [ListConnectionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -231,7 +231,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListConnectionsResponse> list(core.String resourceName, {core.String pageToken, core.String requestMask_includeField, core.int pageSize, core.String syncToken, core.String sortOrder, core.bool requestSyncToken}) {
+ async.Future<ListConnectionsResponse> list(core.String resourceName, {core.bool requestSyncToken, core.String pageToken, core.int pageSize, core.String requestMask_includeField, core.String syncToken, core.String sortOrder}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -242,24 +242,24 @@
if (resourceName == null) {
throw new core.ArgumentError("Parameter resourceName is required.");
}
+ if (requestSyncToken != null) {
+ _queryParams["requestSyncToken"] = ["${requestSyncToken}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (requestMask_includeField != null) {
- _queryParams["requestMask.includeField"] = [requestMask_includeField];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (requestMask_includeField != null) {
+ _queryParams["requestMask.includeField"] = [requestMask_includeField];
+ }
if (syncToken != null) {
_queryParams["syncToken"] = [syncToken];
}
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
- if (requestSyncToken != null) {
- _queryParams["requestSyncToken"] = ["${requestSyncToken}"];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resourceName') + '/connections';
@@ -1540,13 +1540,11 @@
/**
* Information about a person merged from various data sources such as the
- * authenticated user's contacts and profile data. Fields other than IDs,
- * metadata, and group memberships are user-edited.
+ * authenticated user's contacts and profile data.
*
* Most fields can have multiple items. The items in a field have no guaranteed
* order, but each non-empty field is guaranteed to have exactly one field with
* `metadata.primary` set to true.
- * NEXT_ID: 31
*/
class Person {
/** The person's street addresses. */
diff --git a/generated/googleapis/lib/playmoviespartner/v1.dart b/generated/googleapis/lib/playmoviespartner/v1.dart
index f6568d4..d660efb 100644
--- a/generated/googleapis/lib/playmoviespartner/v1.dart
+++ b/generated/googleapis/lib/playmoviespartner/v1.dart
@@ -103,10 +103,15 @@
* [accountId] - REQUIRED. See _General rules_ for more information about this
* field.
*
- * [pageToken] - See _List methods rules_ for info about this field.
+ * [title] - Filter that matches Avails with a `title_internal_alias`,
+ * `series_title_internal_alias`, `season_title_internal_alias`,
+ * or `episode_title_internal_alias` that contains the given
+ * case-insensitive title.
*
* [videoIds] - Filter Avails that match any of the given `video_id`s.
*
+ * [pageToken] - See _List methods rules_ for info about this field.
+ *
* [pageSize] - See _List methods rules_ for info about this field.
*
* [altIds] - Filter Avails that match (case-insensitive) any of the given
@@ -125,11 +130,6 @@
* given country codes,
* using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us").
*
- * [title] - Filter that matches Avails with a `title_internal_alias`,
- * `series_title_internal_alias`, `season_title_internal_alias`,
- * or `episode_title_internal_alias` that contains the given
- * case-insensitive title.
- *
* Completes with a [ListAvailsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -138,7 +138,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListAvailsResponse> list(core.String accountId, {core.String pageToken, core.List<core.String> videoIds, core.int pageSize, core.List<core.String> altIds, core.List<core.String> pphNames, core.String altId, core.List<core.String> studioNames, core.List<core.String> territories, core.String title}) {
+ async.Future<ListAvailsResponse> list(core.String accountId, {core.String title, core.List<core.String> videoIds, core.String pageToken, core.int pageSize, core.List<core.String> altIds, core.List<core.String> pphNames, core.String altId, core.List<core.String> studioNames, core.List<core.String> territories}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -149,12 +149,15 @@
if (accountId == null) {
throw new core.ArgumentError("Parameter accountId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (title != null) {
+ _queryParams["title"] = [title];
}
if (videoIds != null) {
_queryParams["videoIds"] = videoIds;
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -173,9 +176,6 @@
if (territories != null) {
_queryParams["territories"] = territories;
}
- if (title != null) {
- _queryParams["title"] = [title];
- }
_url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/avails';
@@ -257,6 +257,12 @@
* [accountId] - REQUIRED. See _General rules_ for more information about this
* field.
*
+ * [studioNames] - See _List methods rules_ for info about this field.
+ *
+ * [name] - Filter that matches Orders with a `name`, `show`, `season` or
+ * `episode`
+ * that contains the given case-insensitive name.
+ *
* [videoIds] - Filter Orders that match any of the given `video_id`s.
*
* [customId] - Filter Orders that match a case-insensitive, partner-specific
@@ -270,12 +276,6 @@
*
* [status] - Filter Orders that match one of the given status.
*
- * [studioNames] - See _List methods rules_ for info about this field.
- *
- * [name] - Filter that matches Orders with a `name`, `show`, `season` or
- * `episode`
- * that contains the given case-insensitive name.
- *
* Completes with a [ListOrdersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -284,7 +284,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOrdersResponse> list(core.String accountId, {core.List<core.String> videoIds, core.String customId, core.String pageToken, core.int pageSize, core.List<core.String> pphNames, core.List<core.String> status, core.List<core.String> studioNames, core.String name}) {
+ async.Future<ListOrdersResponse> list(core.String accountId, {core.List<core.String> studioNames, core.String name, core.List<core.String> videoIds, core.String customId, core.String pageToken, core.int pageSize, core.List<core.String> pphNames, core.List<core.String> status}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -295,6 +295,12 @@
if (accountId == null) {
throw new core.ArgumentError("Parameter accountId is required.");
}
+ if (studioNames != null) {
+ _queryParams["studioNames"] = studioNames;
+ }
+ if (name != null) {
+ _queryParams["name"] = [name];
+ }
if (videoIds != null) {
_queryParams["videoIds"] = videoIds;
}
@@ -313,12 +319,6 @@
if (status != null) {
_queryParams["status"] = status;
}
- if (studioNames != null) {
- _queryParams["studioNames"] = studioNames;
- }
- if (name != null) {
- _queryParams["name"] = [name];
- }
_url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/orders';
@@ -354,20 +354,15 @@
* [accountId] - REQUIRED. See _General rules_ for more information about this
* field.
*
- * [studioNames] - See _List methods rules_ for info about this field.
- *
- * [name] - Filter that matches StoreInfos with a `name` or `show_name`
- * that contains the given case-insensitive name.
- *
* [seasonIds] - Filter StoreInfos that match any of the given `season_id`s.
*
- * [videoIds] - Filter StoreInfos that match any of the given `video_id`s.
+ * [pageToken] - See _List methods rules_ for info about this field.
*
* [videoId] - Filter StoreInfos that match a given `video_id`.
* NOTE: this field is deprecated and will be removed on V2; `video_ids`
* should be used instead.
*
- * [pageToken] - See _List methods rules_ for info about this field.
+ * [videoIds] - Filter StoreInfos that match any of the given `video_id`s.
*
* [pageSize] - See _List methods rules_ for info about this field.
*
@@ -379,6 +374,11 @@
* given country
* codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us").
*
+ * [studioNames] - See _List methods rules_ for info about this field.
+ *
+ * [name] - Filter that matches StoreInfos with a `name` or `show_name`
+ * that contains the given case-insensitive name.
+ *
* Completes with a [ListStoreInfosResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -387,7 +387,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListStoreInfosResponse> list(core.String accountId, {core.List<core.String> studioNames, core.String name, core.List<core.String> seasonIds, core.List<core.String> videoIds, core.String videoId, core.String pageToken, core.int pageSize, core.List<core.String> mids, core.List<core.String> pphNames, core.List<core.String> countries}) {
+ async.Future<ListStoreInfosResponse> list(core.String accountId, {core.List<core.String> seasonIds, core.String pageToken, core.String videoId, core.List<core.String> videoIds, core.int pageSize, core.List<core.String> mids, core.List<core.String> pphNames, core.List<core.String> countries, core.List<core.String> studioNames, core.String name}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -398,23 +398,17 @@
if (accountId == null) {
throw new core.ArgumentError("Parameter accountId is required.");
}
- if (studioNames != null) {
- _queryParams["studioNames"] = studioNames;
- }
- if (name != null) {
- _queryParams["name"] = [name];
- }
if (seasonIds != null) {
_queryParams["seasonIds"] = seasonIds;
}
- if (videoIds != null) {
- _queryParams["videoIds"] = videoIds;
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (videoId != null) {
_queryParams["videoId"] = [videoId];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (videoIds != null) {
+ _queryParams["videoIds"] = videoIds;
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
@@ -428,6 +422,12 @@
if (countries != null) {
_queryParams["countries"] = countries;
}
+ if (studioNames != null) {
+ _queryParams["studioNames"] = studioNames;
+ }
+ if (name != null) {
+ _queryParams["name"] = [name];
+ }
_url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/storeInfos';
diff --git a/generated/googleapis/lib/runtimeconfig/v1.dart b/generated/googleapis/lib/runtimeconfig/v1.dart
index 2cdcdf4..ece11ed 100644
--- a/generated/googleapis/lib/runtimeconfig/v1.dart
+++ b/generated/googleapis/lib/runtimeconfig/v1.dart
@@ -150,12 +150,12 @@
* [name] - The name of the operation collection.
* Value must have pattern "^operations$".
*
- * [pageToken] - The standard list page token.
- *
* [pageSize] - The standard list page size.
*
* [filter] - The standard list filter.
*
+ * [pageToken] - The standard list page token.
+ *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -164,7 +164,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.int pageSize, core.String filter, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -175,15 +175,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
diff --git a/generated/googleapis/lib/servicemanagement/v1.dart b/generated/googleapis/lib/servicemanagement/v1.dart
index 46b97a3..499540d 100644
--- a/generated/googleapis/lib/servicemanagement/v1.dart
+++ b/generated/googleapis/lib/servicemanagement/v1.dart
@@ -96,10 +96,6 @@
*
* Request parameters:
*
- * [name] - Not used.
- *
- * [pageToken] - The standard list page token.
- *
* [pageSize] - The maximum number of operations to return. If unspecified,
* defaults to
* 50. The maximum value is 100.
@@ -126,6 +122,10 @@
* * `serviceName={some-service}.googleapis.com AND (status=done OR
* startTime>="2017-02-01")`
*
+ * [name] - Not used.
+ *
+ * [pageToken] - The standard list page token.
+ *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -134,7 +134,7 @@
* If the used [http_1.Client] completes with an error when making a REST
* call, this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list({core.String name, core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListOperationsResponse> list({core.int pageSize, core.String filter, core.String name, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -142,18 +142,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (name != null) {
- _queryParams["name"] = [name];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (name != null) {
+ _queryParams["name"] = [name];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/operations';
@@ -577,8 +577,6 @@
*
* Request parameters:
*
- * [producerProjectId] - Include services produced by the specified project.
- *
* [consumerId] - Include services consumed by the specified consumer.
*
* The Google Service Management implementation accepts the following
@@ -591,6 +589,8 @@
*
* [pageSize] - Requested size of the next page of data.
*
+ * [producerProjectId] - Include services produced by the specified project.
+ *
* Completes with a [ListServicesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -599,7 +599,7 @@
* If the used [http_1.Client] completes with an error when making a REST
* call, this method will complete with the same error.
*/
- async.Future<ListServicesResponse> list({core.String producerProjectId, core.String consumerId, core.String pageToken, core.int pageSize}) {
+ async.Future<ListServicesResponse> list({core.String consumerId, core.String pageToken, core.int pageSize, core.String producerProjectId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -607,9 +607,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (producerProjectId != null) {
- _queryParams["producerProjectId"] = [producerProjectId];
- }
if (consumerId != null) {
_queryParams["consumerId"] = [consumerId];
}
@@ -619,6 +616,9 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (producerProjectId != null) {
+ _queryParams["producerProjectId"] = [producerProjectId];
+ }
_url = 'v1/services';
@@ -1119,10 +1119,10 @@
* [overview](/service-management/overview)
* for naming requirements. For example: `example.googleapis.com`.
*
- * [pageSize] - The max number of items to include in the response list.
- *
* [pageToken] - The token of the page to retrieve.
*
+ * [pageSize] - The max number of items to include in the response list.
+ *
* Completes with a [ListServiceRolloutsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1131,7 +1131,7 @@
* If the used [http_1.Client] completes with an error when making a REST
* call, this method will complete with the same error.
*/
- async.Future<ListServiceRolloutsResponse> list(core.String serviceName, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListServiceRolloutsResponse> list(core.String serviceName, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1142,12 +1142,12 @@
if (serviceName == null) {
throw new core.ArgumentError("Parameter serviceName is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/services/' + commons.Escaper.ecapeVariable('$serviceName') + '/rollouts';
@@ -1305,42 +1305,45 @@
* the union of the two AuditConfigs is used for that service: the log_types
* specified in each AuditConfig are enabled, and the exempted_members in each
* AuditConfig are exempted.
+ *
* Example Policy with multiple AuditConfigs:
- * {
- * "audit_configs": [
+ *
* {
- * "service": "allServices"
- * "audit_log_configs": [
+ * "audit_configs": [
* {
- * "log_type": "DATA_READ",
- * "exempted_members": [
- * "user:foo@gmail.com"
+ * "service": "allServices"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * "exempted_members": [
+ * "user:foo@gmail.com"
+ * ]
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * },
+ * {
+ * "log_type": "ADMIN_READ",
+ * }
* ]
* },
* {
- * "log_type": "DATA_WRITE",
- * },
- * {
- * "log_type": "ADMIN_READ",
- * }
- * ]
- * },
- * {
- * "service": "fooservice@googleapis.com"
- * "audit_log_configs": [
- * {
- * "log_type": "DATA_READ",
- * },
- * {
- * "log_type": "DATA_WRITE",
- * "exempted_members": [
- * "user:bar@gmail.com"
+ * "service": "fooservice.googleapis.com"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * "exempted_members": [
+ * "user:bar@gmail.com"
+ * ]
+ * }
* ]
* }
* ]
* }
- * ]
- * }
+ *
* For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
* logging. It also exempts foo@gmail.com from DATA_READ logging, and
* bar@gmail.com from DATA_WRITE logging.
@@ -2874,6 +2877,14 @@
core.List<core.String> features;
/** The canonical name of this endpoint. */
core.String name;
+ /**
+ * The specification of an Internet routable address of API frontend that will
+ * handle requests to this [API
+ * Endpoint](https://cloud.google.com/apis/design/glossary).
+ * It should be either a valid IPv4 address or a fully-qualified domain name.
+ * For example, "8.8.8.8" or "myservice.appspot.com".
+ */
+ core.String target;
Endpoint();
@@ -2893,6 +2904,9 @@
if (_json.containsKey("name")) {
name = _json["name"];
}
+ if (_json.containsKey("target")) {
+ target = _json["target"];
+ }
}
core.Map toJson() {
@@ -2912,6 +2926,9 @@
if (name != null) {
_json["name"] = name;
}
+ if (target != null) {
+ _json["target"] = target;
+ }
return _json;
}
}
@@ -3200,8 +3217,6 @@
* Must be equal to the "name" field for a FlowName enum.
*/
core.String flowName;
- /** Is the update for the operation persisted? */
- core.bool isPersisted;
/**
* The full name of the resources that this flow is directly associated with.
*/
@@ -3221,9 +3236,6 @@
if (_json.containsKey("flowName")) {
flowName = _json["flowName"];
}
- if (_json.containsKey("isPersisted")) {
- isPersisted = _json["isPersisted"];
- }
if (_json.containsKey("resourceNames")) {
resourceNames = _json["resourceNames"];
}
@@ -3243,9 +3255,6 @@
if (flowName != null) {
_json["flowName"] = flowName;
}
- if (isPersisted != null) {
- _json["isPersisted"] = isPersisted;
- }
if (resourceNames != null) {
_json["resourceNames"] = resourceNames;
}
@@ -3378,6 +3387,15 @@
*/
class Http {
/**
+ * When set to true, URL path parmeters will be fully URI-decoded except in
+ * cases of single segment matches in reserved expansion, where "%2F" will be
+ * left encoded.
+ *
+ * The default behavior is to not decode RFC 6570 reserved characters in multi
+ * segment matches.
+ */
+ core.bool fullyDecodeReservedExpansion;
+ /**
* A list of HTTP configuration rules that apply to individual API methods.
*
* **NOTE:** All service configuration rules follow "last one wins" order.
@@ -3387,6 +3405,9 @@
Http();
Http.fromJson(core.Map _json) {
+ if (_json.containsKey("fullyDecodeReservedExpansion")) {
+ fullyDecodeReservedExpansion = _json["fullyDecodeReservedExpansion"];
+ }
if (_json.containsKey("rules")) {
rules = _json["rules"].map((value) => new HttpRule.fromJson(value)).toList();
}
@@ -3394,6 +3415,9 @@
core.Map toJson() {
var _json = new core.Map();
+ if (fullyDecodeReservedExpansion != null) {
+ _json["fullyDecodeReservedExpansion"] = fullyDecodeReservedExpansion;
+ }
if (rules != null) {
_json["rules"] = rules.map((value) => (value).toJson()).toList();
}
@@ -4527,6 +4551,53 @@
}
/**
+ * Bind API methods to metrics. Binding a method to a metric causes that
+ * metric's configured quota, billing, and monitoring behaviors to apply to the
+ * method call.
+ *
+ * Used by metric-based quotas only.
+ */
+class MetricRule {
+ /**
+ * Metrics to update when the selected methods are called, and the associated
+ * cost applied to each metric.
+ *
+ * The key of the map is the metric name, and the values are the amount
+ * increased for the metric against which the quota limits are defined.
+ * The value must not be negative.
+ */
+ core.Map<core.String, core.String> metricCosts;
+ /**
+ * Selects the methods to which this rule applies.
+ *
+ * Refer to selector for syntax details.
+ */
+ core.String selector;
+
+ MetricRule();
+
+ MetricRule.fromJson(core.Map _json) {
+ if (_json.containsKey("metricCosts")) {
+ metricCosts = _json["metricCosts"];
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (metricCosts != null) {
+ _json["metricCosts"] = metricCosts;
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
+
+/**
* Declares an API to be included in this API. The including API must
* redeclare all the methods from the included API, but documentation
* and options are inherited as follows:
@@ -5259,6 +5330,328 @@
}
/**
+ * Quota configuration helps to achieve fairness and budgeting in service
+ * usage.
+ *
+ * The quota configuration works this way:
+ * - The service configuration defines a set of metrics.
+ * - For API calls, the quota.metric_rules maps methods to metrics with
+ * corresponding costs.
+ * - The quota.limits defines limits on the metrics, which will be used for
+ * quota checks at runtime.
+ *
+ * An example quota configuration in yaml format:
+ *
+ * quota:
+ *
+ * - name: apiWriteQpsPerProject
+ * metric: library.googleapis.com/write_calls
+ * unit: "1/min/{project}" # rate limit for consumer projects
+ * values:
+ * STANDARD: 10000
+ *
+ *
+ * # The metric rules bind all methods to the read_calls metric,
+ * # except for the UpdateBook and DeleteBook methods. These two methods
+ * # are mapped to the write_calls metric, with the UpdateBook method
+ * # consuming at twice rate as the DeleteBook method.
+ * metric_rules:
+ * - selector: "*"
+ * metric_costs:
+ * library.googleapis.com/read_calls: 1
+ * - selector: google.example.library.v1.LibraryService.UpdateBook
+ * metric_costs:
+ * library.googleapis.com/write_calls: 2
+ * - selector: google.example.library.v1.LibraryService.DeleteBook
+ * metric_costs:
+ * library.googleapis.com/write_calls: 1
+ *
+ * Corresponding Metric definition:
+ *
+ * metrics:
+ * - name: library.googleapis.com/read_calls
+ * display_name: Read requests
+ * metric_kind: DELTA
+ * value_type: INT64
+ *
+ * - name: library.googleapis.com/write_calls
+ * display_name: Write requests
+ * metric_kind: DELTA
+ * value_type: INT64
+ */
+class Quota {
+ /**
+ * List of `QuotaLimit` definitions for the service.
+ *
+ * Used by metric-based quotas only.
+ */
+ core.List<QuotaLimit> limits;
+ /**
+ * List of `MetricRule` definitions, each one mapping a selected method to one
+ * or more metrics.
+ *
+ * Used by metric-based quotas only.
+ */
+ core.List<MetricRule> metricRules;
+
+ Quota();
+
+ Quota.fromJson(core.Map _json) {
+ if (_json.containsKey("limits")) {
+ limits = _json["limits"].map((value) => new QuotaLimit.fromJson(value)).toList();
+ }
+ if (_json.containsKey("metricRules")) {
+ metricRules = _json["metricRules"].map((value) => new MetricRule.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (limits != null) {
+ _json["limits"] = limits.map((value) => (value).toJson()).toList();
+ }
+ if (metricRules != null) {
+ _json["metricRules"] = metricRules.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/**
+ * `QuotaLimit` defines a specific limit that applies over a specified duration
+ * for a limit type. There can be at most one limit for a duration and limit
+ * type combination defined within a `QuotaGroup`.
+ */
+class QuotaLimit {
+ /**
+ * Default number of tokens that can be consumed during the specified
+ * duration. This is the number of tokens assigned when a client
+ * application developer activates the service for his/her project.
+ *
+ * Specifying a value of 0 will block all requests. This can be used if you
+ * are provisioning quota to selected consumers and blocking others.
+ * Similarly, a value of -1 will indicate an unlimited quota. No other
+ * negative values are allowed.
+ *
+ * Used by group-based quotas only.
+ */
+ core.String defaultLimit;
+ /**
+ * Optional. User-visible, extended description for this quota limit.
+ * Should be used only when more context is needed to understand this limit
+ * than provided by the limit's display name (see: `display_name`).
+ */
+ core.String description;
+ /**
+ * User-visible display name for this limit.
+ * Optional. If not set, the UI will provide a default display name based on
+ * the quota configuration. This field can be used to override the default
+ * display name generated from the configuration.
+ */
+ core.String displayName;
+ /**
+ * Duration of this limit in textual notation. Example: "100s", "24h", "1d".
+ * For duration longer than a day, only multiple of days is supported. We
+ * support only "100s" and "1d" for now. Additional support will be added in
+ * the future. "0" indicates indefinite duration.
+ *
+ * Used by group-based quotas only.
+ */
+ core.String duration;
+ /**
+ * Free tier value displayed in the Developers Console for this limit.
+ * The free tier is the number of tokens that will be subtracted from the
+ * billed amount when billing is enabled.
+ * This field can only be set on a limit with duration "1d", in a billable
+ * group; it is invalid on any other limit. If this field is not set, it
+ * defaults to 0, indicating that there is no free tier for this service.
+ *
+ * Used by group-based quotas only.
+ */
+ core.String freeTier;
+ /**
+ * Maximum number of tokens that can be consumed during the specified
+ * duration. Client application developers can override the default limit up
+ * to this maximum. If specified, this value cannot be set to a value less
+ * than the default limit. If not specified, it is set to the default limit.
+ *
+ * To allow clients to apply overrides with no upper bound, set this to -1,
+ * indicating unlimited maximum quota.
+ *
+ * Used by group-based quotas only.
+ */
+ core.String maxLimit;
+ /**
+ * The name of the metric this quota limit applies to. The quota limits with
+ * the same metric will be checked together during runtime. The metric must be
+ * defined within the service config.
+ *
+ * Used by metric-based quotas only.
+ */
+ core.String metric;
+ /**
+ * Name of the quota limit. The name is used to refer to the limit when
+ * overriding the default limit on per-consumer basis.
+ *
+ * For group-based quota limits, the name must be unique within the quota
+ * group. If a name is not provided, it will be generated from the limit_by
+ * and duration fields.
+ *
+ * For metric-based quota limits, the name must be provided, and it must be
+ * unique within the service. The name can only include alphanumeric
+ * characters as well as '-'.
+ *
+ * The maximum length of the limit name is 64 characters.
+ *
+ * The name of a limit is used as a unique identifier for this limit.
+ * Therefore, once a limit has been put into use, its name should be
+ * immutable. You can use the display_name field to provide a user-friendly
+ * name for the limit. The display name can be evolved over time without
+ * affecting the identity of the limit.
+ */
+ core.String name;
+ /**
+ * Specify the unit of the quota limit. It uses the same syntax as
+ * Metric.unit. The supported unit kinds are determined by the quota
+ * backend system.
+ *
+ * The [Google Service Control](https://cloud.google.com/service-control)
+ * supports the following unit components:
+ * * One of the time intevals:
+ * * "/min" for quota every minute.
+ * * "/d" for quota every 24 hours, starting 00:00 US Pacific Time.
+ * * Otherwise the quota won't be reset by time, such as storage limit.
+ * * One and only one of the granted containers:
+ * * "/{organization}" quota for an organization.
+ * * "/{project}" quota for a project.
+ * * "/{folder}" quota for a folder.
+ * * "/{resource}" quota for a universal resource.
+ * * Zero or more quota segmentation dimension. Not all combos are valid.
+ * * "/{region}" quota for every region. Not to be used with time intervals.
+ * * Otherwise the resources granted on the target is not segmented.
+ * * "/{zone}" quota for every zone. Not to be used with time intervals.
+ * * Otherwise the resources granted on the target is not segmented.
+ * * "/{resource}" quota for a resource associated with a project or org.
+ *
+ * Here are some examples:
+ * * "1/min/{project}" for quota per minute per project.
+ * * "1/min/{user}" for quota per minute per user.
+ * * "1/min/{organization}" for quota per minute per organization.
+ *
+ * Note: the order of unit components is insignificant.
+ * The "1" at the beginning is required to follow the metric unit syntax.
+ *
+ * Used by metric-based quotas only.
+ */
+ core.String unit;
+ /**
+ * Tiered limit values. Also allows for regional or zone overrides for these
+ * values if "/{region}" or "/{zone}" is specified in the unit field.
+ *
+ * Currently supported tiers from low to high:
+ * VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
+ *
+ * To apply different limit values for users according to their tiers, specify
+ * the values for the tiers you want to differentiate. For example:
+ * {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
+ *
+ * The limit value for each tier is optional except for the tier STANDARD.
+ * The limit value for an unspecified tier falls to the value of its next
+ * tier towards tier STANDARD. For the above example, the limit value for tier
+ * STANDARD is 500.
+ *
+ * To apply the same limit value for all users, just specify limit value for
+ * tier STANDARD. For example: {STANDARD:500}.
+ *
+ * To apply a regional overide for a tier, add a map entry with key
+ * "<TIER>/<region>", where <region> is a region name. Similarly, for a zone
+ * override, add a map entry with key "<TIER>/{zone}".
+ * Further, a wildcard can be used at the end of a zone name in order to
+ * specify zone level overrides. For example:
+ * LOW: 10, STANDARD: 50, HIGH: 100,
+ * LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
+ * LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
+ *
+ * The regional overrides tier set for each region must be the same as
+ * the tier set for default limit values. Same rule applies for zone overrides
+ * tier as well.
+ *
+ * Used by metric-based quotas only.
+ */
+ core.Map<core.String, core.String> values;
+
+ QuotaLimit();
+
+ QuotaLimit.fromJson(core.Map _json) {
+ if (_json.containsKey("defaultLimit")) {
+ defaultLimit = _json["defaultLimit"];
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("duration")) {
+ duration = _json["duration"];
+ }
+ if (_json.containsKey("freeTier")) {
+ freeTier = _json["freeTier"];
+ }
+ if (_json.containsKey("maxLimit")) {
+ maxLimit = _json["maxLimit"];
+ }
+ if (_json.containsKey("metric")) {
+ metric = _json["metric"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("unit")) {
+ unit = _json["unit"];
+ }
+ if (_json.containsKey("values")) {
+ values = _json["values"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (defaultLimit != null) {
+ _json["defaultLimit"] = defaultLimit;
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (duration != null) {
+ _json["duration"] = duration;
+ }
+ if (freeTier != null) {
+ _json["freeTier"] = freeTier;
+ }
+ if (maxLimit != null) {
+ _json["maxLimit"] = maxLimit;
+ }
+ if (metric != null) {
+ _json["metric"] = metric;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (unit != null) {
+ _json["unit"] = unit;
+ }
+ if (values != null) {
+ _json["values"] = values;
+ }
+ return _json;
+ }
+}
+
+/**
* A rollout resource that defines how service configuration versions are pushed
* to control plane systems. Typically, you create a new version of the
* service config, and then create a Rollout to push the service config.
@@ -5562,6 +5955,8 @@
* manage consumption of the service, etc.
*/
core.String producerProjectId;
+ /** Quota configuration. */
+ Quota quota;
/**
* Output only. The source information for this configuration if available.
*/
@@ -5657,6 +6052,9 @@
if (_json.containsKey("producerProjectId")) {
producerProjectId = _json["producerProjectId"];
}
+ if (_json.containsKey("quota")) {
+ quota = new Quota.fromJson(_json["quota"]);
+ }
if (_json.containsKey("sourceInfo")) {
sourceInfo = new SourceInfo.fromJson(_json["sourceInfo"]);
}
@@ -5742,6 +6140,9 @@
if (producerProjectId != null) {
_json["producerProjectId"] = producerProjectId;
}
+ if (quota != null) {
+ _json["quota"] = (quota).toJson();
+ }
if (sourceInfo != null) {
_json["sourceInfo"] = (sourceInfo).toJson();
}
diff --git a/generated/googleapis/lib/serviceuser/v1.dart b/generated/googleapis/lib/serviceuser/v1.dart
index 8641cbf..35401f7 100644
--- a/generated/googleapis/lib/serviceuser/v1.dart
+++ b/generated/googleapis/lib/serviceuser/v1.dart
@@ -1237,6 +1237,14 @@
core.List<core.String> features;
/** The canonical name of this endpoint. */
core.String name;
+ /**
+ * The specification of an Internet routable address of API frontend that will
+ * handle requests to this [API
+ * Endpoint](https://cloud.google.com/apis/design/glossary).
+ * It should be either a valid IPv4 address or a fully-qualified domain name.
+ * For example, "8.8.8.8" or "myservice.appspot.com".
+ */
+ core.String target;
Endpoint();
@@ -1256,6 +1264,9 @@
if (_json.containsKey("name")) {
name = _json["name"];
}
+ if (_json.containsKey("target")) {
+ target = _json["target"];
+ }
}
core.Map toJson() {
@@ -1275,6 +1286,9 @@
if (name != null) {
_json["name"] = name;
}
+ if (target != null) {
+ _json["target"] = target;
+ }
return _json;
}
}
@@ -1539,6 +1553,15 @@
*/
class Http {
/**
+ * When set to true, URL path parmeters will be fully URI-decoded except in
+ * cases of single segment matches in reserved expansion, where "%2F" will be
+ * left encoded.
+ *
+ * The default behavior is to not decode RFC 6570 reserved characters in multi
+ * segment matches.
+ */
+ core.bool fullyDecodeReservedExpansion;
+ /**
* A list of HTTP configuration rules that apply to individual API methods.
*
* **NOTE:** All service configuration rules follow "last one wins" order.
@@ -1548,6 +1571,9 @@
Http();
Http.fromJson(core.Map _json) {
+ if (_json.containsKey("fullyDecodeReservedExpansion")) {
+ fullyDecodeReservedExpansion = _json["fullyDecodeReservedExpansion"];
+ }
if (_json.containsKey("rules")) {
rules = _json["rules"].map((value) => new HttpRule.fromJson(value)).toList();
}
@@ -1555,6 +1581,9 @@
core.Map toJson() {
var _json = new core.Map();
+ if (fullyDecodeReservedExpansion != null) {
+ _json["fullyDecodeReservedExpansion"] = fullyDecodeReservedExpansion;
+ }
if (rules != null) {
_json["rules"] = rules.map((value) => (value).toJson()).toList();
}
@@ -2525,6 +2554,53 @@
}
/**
+ * Bind API methods to metrics. Binding a method to a metric causes that
+ * metric's configured quota, billing, and monitoring behaviors to apply to the
+ * method call.
+ *
+ * Used by metric-based quotas only.
+ */
+class MetricRule {
+ /**
+ * Metrics to update when the selected methods are called, and the associated
+ * cost applied to each metric.
+ *
+ * The key of the map is the metric name, and the values are the amount
+ * increased for the metric against which the quota limits are defined.
+ * The value must not be negative.
+ */
+ core.Map<core.String, core.String> metricCosts;
+ /**
+ * Selects the methods to which this rule applies.
+ *
+ * Refer to selector for syntax details.
+ */
+ core.String selector;
+
+ MetricRule();
+
+ MetricRule.fromJson(core.Map _json) {
+ if (_json.containsKey("metricCosts")) {
+ metricCosts = _json["metricCosts"];
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (metricCosts != null) {
+ _json["metricCosts"] = metricCosts;
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
+
+/**
* Declares an API to be included in this API. The including API must
* redeclare all the methods from the included API, but documentation
* and options are inherited as follows:
@@ -3169,6 +3245,328 @@
}
}
+/**
+ * Quota configuration helps to achieve fairness and budgeting in service
+ * usage.
+ *
+ * The quota configuration works this way:
+ * - The service configuration defines a set of metrics.
+ * - For API calls, the quota.metric_rules maps methods to metrics with
+ * corresponding costs.
+ * - The quota.limits defines limits on the metrics, which will be used for
+ * quota checks at runtime.
+ *
+ * An example quota configuration in yaml format:
+ *
+ * quota:
+ *
+ * - name: apiWriteQpsPerProject
+ * metric: library.googleapis.com/write_calls
+ * unit: "1/min/{project}" # rate limit for consumer projects
+ * values:
+ * STANDARD: 10000
+ *
+ *
+ * # The metric rules bind all methods to the read_calls metric,
+ * # except for the UpdateBook and DeleteBook methods. These two methods
+ * # are mapped to the write_calls metric, with the UpdateBook method
+ * # consuming at twice rate as the DeleteBook method.
+ * metric_rules:
+ * - selector: "*"
+ * metric_costs:
+ * library.googleapis.com/read_calls: 1
+ * - selector: google.example.library.v1.LibraryService.UpdateBook
+ * metric_costs:
+ * library.googleapis.com/write_calls: 2
+ * - selector: google.example.library.v1.LibraryService.DeleteBook
+ * metric_costs:
+ * library.googleapis.com/write_calls: 1
+ *
+ * Corresponding Metric definition:
+ *
+ * metrics:
+ * - name: library.googleapis.com/read_calls
+ * display_name: Read requests
+ * metric_kind: DELTA
+ * value_type: INT64
+ *
+ * - name: library.googleapis.com/write_calls
+ * display_name: Write requests
+ * metric_kind: DELTA
+ * value_type: INT64
+ */
+class Quota {
+ /**
+ * List of `QuotaLimit` definitions for the service.
+ *
+ * Used by metric-based quotas only.
+ */
+ core.List<QuotaLimit> limits;
+ /**
+ * List of `MetricRule` definitions, each one mapping a selected method to one
+ * or more metrics.
+ *
+ * Used by metric-based quotas only.
+ */
+ core.List<MetricRule> metricRules;
+
+ Quota();
+
+ Quota.fromJson(core.Map _json) {
+ if (_json.containsKey("limits")) {
+ limits = _json["limits"].map((value) => new QuotaLimit.fromJson(value)).toList();
+ }
+ if (_json.containsKey("metricRules")) {
+ metricRules = _json["metricRules"].map((value) => new MetricRule.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (limits != null) {
+ _json["limits"] = limits.map((value) => (value).toJson()).toList();
+ }
+ if (metricRules != null) {
+ _json["metricRules"] = metricRules.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/**
+ * `QuotaLimit` defines a specific limit that applies over a specified duration
+ * for a limit type. There can be at most one limit for a duration and limit
+ * type combination defined within a `QuotaGroup`.
+ */
+class QuotaLimit {
+ /**
+ * Default number of tokens that can be consumed during the specified
+ * duration. This is the number of tokens assigned when a client
+ * application developer activates the service for his/her project.
+ *
+ * Specifying a value of 0 will block all requests. This can be used if you
+ * are provisioning quota to selected consumers and blocking others.
+ * Similarly, a value of -1 will indicate an unlimited quota. No other
+ * negative values are allowed.
+ *
+ * Used by group-based quotas only.
+ */
+ core.String defaultLimit;
+ /**
+ * Optional. User-visible, extended description for this quota limit.
+ * Should be used only when more context is needed to understand this limit
+ * than provided by the limit's display name (see: `display_name`).
+ */
+ core.String description;
+ /**
+ * User-visible display name for this limit.
+ * Optional. If not set, the UI will provide a default display name based on
+ * the quota configuration. This field can be used to override the default
+ * display name generated from the configuration.
+ */
+ core.String displayName;
+ /**
+ * Duration of this limit in textual notation. Example: "100s", "24h", "1d".
+ * For duration longer than a day, only multiple of days is supported. We
+ * support only "100s" and "1d" for now. Additional support will be added in
+ * the future. "0" indicates indefinite duration.
+ *
+ * Used by group-based quotas only.
+ */
+ core.String duration;
+ /**
+ * Free tier value displayed in the Developers Console for this limit.
+ * The free tier is the number of tokens that will be subtracted from the
+ * billed amount when billing is enabled.
+ * This field can only be set on a limit with duration "1d", in a billable
+ * group; it is invalid on any other limit. If this field is not set, it
+ * defaults to 0, indicating that there is no free tier for this service.
+ *
+ * Used by group-based quotas only.
+ */
+ core.String freeTier;
+ /**
+ * Maximum number of tokens that can be consumed during the specified
+ * duration. Client application developers can override the default limit up
+ * to this maximum. If specified, this value cannot be set to a value less
+ * than the default limit. If not specified, it is set to the default limit.
+ *
+ * To allow clients to apply overrides with no upper bound, set this to -1,
+ * indicating unlimited maximum quota.
+ *
+ * Used by group-based quotas only.
+ */
+ core.String maxLimit;
+ /**
+ * The name of the metric this quota limit applies to. The quota limits with
+ * the same metric will be checked together during runtime. The metric must be
+ * defined within the service config.
+ *
+ * Used by metric-based quotas only.
+ */
+ core.String metric;
+ /**
+ * Name of the quota limit. The name is used to refer to the limit when
+ * overriding the default limit on per-consumer basis.
+ *
+ * For group-based quota limits, the name must be unique within the quota
+ * group. If a name is not provided, it will be generated from the limit_by
+ * and duration fields.
+ *
+ * For metric-based quota limits, the name must be provided, and it must be
+ * unique within the service. The name can only include alphanumeric
+ * characters as well as '-'.
+ *
+ * The maximum length of the limit name is 64 characters.
+ *
+ * The name of a limit is used as a unique identifier for this limit.
+ * Therefore, once a limit has been put into use, its name should be
+ * immutable. You can use the display_name field to provide a user-friendly
+ * name for the limit. The display name can be evolved over time without
+ * affecting the identity of the limit.
+ */
+ core.String name;
+ /**
+ * Specify the unit of the quota limit. It uses the same syntax as
+ * Metric.unit. The supported unit kinds are determined by the quota
+ * backend system.
+ *
+ * The [Google Service Control](https://cloud.google.com/service-control)
+ * supports the following unit components:
+ * * One of the time intevals:
+ * * "/min" for quota every minute.
+ * * "/d" for quota every 24 hours, starting 00:00 US Pacific Time.
+ * * Otherwise the quota won't be reset by time, such as storage limit.
+ * * One and only one of the granted containers:
+ * * "/{organization}" quota for an organization.
+ * * "/{project}" quota for a project.
+ * * "/{folder}" quota for a folder.
+ * * "/{resource}" quota for a universal resource.
+ * * Zero or more quota segmentation dimension. Not all combos are valid.
+ * * "/{region}" quota for every region. Not to be used with time intervals.
+ * * Otherwise the resources granted on the target is not segmented.
+ * * "/{zone}" quota for every zone. Not to be used with time intervals.
+ * * Otherwise the resources granted on the target is not segmented.
+ * * "/{resource}" quota for a resource associated with a project or org.
+ *
+ * Here are some examples:
+ * * "1/min/{project}" for quota per minute per project.
+ * * "1/min/{user}" for quota per minute per user.
+ * * "1/min/{organization}" for quota per minute per organization.
+ *
+ * Note: the order of unit components is insignificant.
+ * The "1" at the beginning is required to follow the metric unit syntax.
+ *
+ * Used by metric-based quotas only.
+ */
+ core.String unit;
+ /**
+ * Tiered limit values. Also allows for regional or zone overrides for these
+ * values if "/{region}" or "/{zone}" is specified in the unit field.
+ *
+ * Currently supported tiers from low to high:
+ * VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
+ *
+ * To apply different limit values for users according to their tiers, specify
+ * the values for the tiers you want to differentiate. For example:
+ * {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
+ *
+ * The limit value for each tier is optional except for the tier STANDARD.
+ * The limit value for an unspecified tier falls to the value of its next
+ * tier towards tier STANDARD. For the above example, the limit value for tier
+ * STANDARD is 500.
+ *
+ * To apply the same limit value for all users, just specify limit value for
+ * tier STANDARD. For example: {STANDARD:500}.
+ *
+ * To apply a regional overide for a tier, add a map entry with key
+ * "<TIER>/<region>", where <region> is a region name. Similarly, for a zone
+ * override, add a map entry with key "<TIER>/{zone}".
+ * Further, a wildcard can be used at the end of a zone name in order to
+ * specify zone level overrides. For example:
+ * LOW: 10, STANDARD: 50, HIGH: 100,
+ * LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
+ * LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
+ *
+ * The regional overrides tier set for each region must be the same as
+ * the tier set for default limit values. Same rule applies for zone overrides
+ * tier as well.
+ *
+ * Used by metric-based quotas only.
+ */
+ core.Map<core.String, core.String> values;
+
+ QuotaLimit();
+
+ QuotaLimit.fromJson(core.Map _json) {
+ if (_json.containsKey("defaultLimit")) {
+ defaultLimit = _json["defaultLimit"];
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("duration")) {
+ duration = _json["duration"];
+ }
+ if (_json.containsKey("freeTier")) {
+ freeTier = _json["freeTier"];
+ }
+ if (_json.containsKey("maxLimit")) {
+ maxLimit = _json["maxLimit"];
+ }
+ if (_json.containsKey("metric")) {
+ metric = _json["metric"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("unit")) {
+ unit = _json["unit"];
+ }
+ if (_json.containsKey("values")) {
+ values = _json["values"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (defaultLimit != null) {
+ _json["defaultLimit"] = defaultLimit;
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (duration != null) {
+ _json["duration"] = duration;
+ }
+ if (freeTier != null) {
+ _json["freeTier"] = freeTier;
+ }
+ if (maxLimit != null) {
+ _json["maxLimit"] = maxLimit;
+ }
+ if (metric != null) {
+ _json["metric"] = metric;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (unit != null) {
+ _json["unit"] = unit;
+ }
+ if (values != null) {
+ _json["values"] = values;
+ }
+ return _json;
+ }
+}
+
/** Response message for SearchServices method. */
class SearchServicesResponse {
/**
@@ -3305,6 +3703,8 @@
* manage consumption of the service, etc.
*/
core.String producerProjectId;
+ /** Quota configuration. */
+ Quota quota;
/**
* Output only. The source information for this configuration if available.
*/
@@ -3400,6 +3800,9 @@
if (_json.containsKey("producerProjectId")) {
producerProjectId = _json["producerProjectId"];
}
+ if (_json.containsKey("quota")) {
+ quota = new Quota.fromJson(_json["quota"]);
+ }
if (_json.containsKey("sourceInfo")) {
sourceInfo = new SourceInfo.fromJson(_json["sourceInfo"]);
}
@@ -3485,6 +3888,9 @@
if (producerProjectId != null) {
_json["producerProjectId"] = producerProjectId;
}
+ if (quota != null) {
+ _json["quota"] = (quota).toJson();
+ }
if (sourceInfo != null) {
_json["sourceInfo"] = (sourceInfo).toJson();
}
diff --git a/generated/googleapis/lib/sheets/v4.dart b/generated/googleapis/lib/sheets/v4.dart
index b19eb35..5811207 100644
--- a/generated/googleapis/lib/sheets/v4.dart
+++ b/generated/googleapis/lib/sheets/v4.dart
@@ -311,6 +311,20 @@
* [range] - The A1 notation of a range to search for a logical table of data.
* Values will be appended after the last row of the table.
*
+ * [responseDateTimeRenderOption] - Determines how dates, times, and durations
+ * in the response should be
+ * rendered. This is ignored if response_value_render_option is
+ * FORMATTED_VALUE.
+ * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
+ * Possible string values are:
+ * - "SERIAL_NUMBER" : A SERIAL_NUMBER.
+ * - "FORMATTED_STRING" : A FORMATTED_STRING.
+ *
+ * [includeValuesInResponse] - Determines if the update response should
+ * include the values
+ * of the cells that were appended. By default, responses
+ * do not include the updated values.
+ *
* [responseValueRenderOption] - Determines how values in the response should
* be rendered.
* The default render option is ValueRenderOption.FORMATTED_VALUE.
@@ -330,20 +344,6 @@
* - "RAW" : A RAW.
* - "USER_ENTERED" : A USER_ENTERED.
*
- * [responseDateTimeRenderOption] - Determines how dates, times, and durations
- * in the response should be
- * rendered. This is ignored if response_value_render_option is
- * FORMATTED_VALUE.
- * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
- * Possible string values are:
- * - "SERIAL_NUMBER" : A SERIAL_NUMBER.
- * - "FORMATTED_STRING" : A FORMATTED_STRING.
- *
- * [includeValuesInResponse] - Determines if the update response should
- * include the values
- * of the cells that were appended. By default, responses
- * do not include the updated values.
- *
* Completes with a [AppendValuesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -352,7 +352,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<AppendValuesResponse> append(ValueRange request, core.String spreadsheetId, core.String range, {core.String responseValueRenderOption, core.String insertDataOption, core.String valueInputOption, core.String responseDateTimeRenderOption, core.bool includeValuesInResponse}) {
+ async.Future<AppendValuesResponse> append(ValueRange request, core.String spreadsheetId, core.String range, {core.String responseDateTimeRenderOption, core.bool includeValuesInResponse, core.String responseValueRenderOption, core.String insertDataOption, core.String valueInputOption}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -369,6 +369,12 @@
if (range == null) {
throw new core.ArgumentError("Parameter range is required.");
}
+ if (responseDateTimeRenderOption != null) {
+ _queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOption];
+ }
+ if (includeValuesInResponse != null) {
+ _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"];
+ }
if (responseValueRenderOption != null) {
_queryParams["responseValueRenderOption"] = [responseValueRenderOption];
}
@@ -378,12 +384,6 @@
if (valueInputOption != null) {
_queryParams["valueInputOption"] = [valueInputOption];
}
- if (responseDateTimeRenderOption != null) {
- _queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOption];
- }
- if (includeValuesInResponse != null) {
- _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"];
- }
_url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values/' + commons.Escaper.ecapeVariable('$range') + ':append';
@@ -1670,7 +1670,7 @@
core.String chartType;
/**
* The domain of data this is charting.
- * Only a single domain is currently supported.
+ * Only a single domain is supported.
*/
core.List<BasicChartDomain> domains;
/**
@@ -1810,7 +1810,7 @@
}
}
-/** The response when updating a range of values in a spreadsheet. */
+/** The response when clearing a range of values in a spreadsheet. */
class BatchClearValuesResponse {
/**
* The ranges that were cleared, in A1 notation.
@@ -1887,7 +1887,11 @@
* resource.
*/
core.bool includeSpreadsheetInResponse;
- /** A list of updates to apply to the spreadsheet. */
+ /**
+ * A list of updates to apply to the spreadsheet.
+ * Requests will be applied in the order they are specified.
+ * If any request is not valid, no requests will be applied.
+ */
core.List<Request> requests;
/**
* True if grid data should be returned. Meaningful only if
diff --git a/generated/googleapis/lib/slides/v1.dart b/generated/googleapis/lib/slides/v1.dart
index 2859275..d10867c 100644
--- a/generated/googleapis/lib/slides/v1.dart
+++ b/generated/googleapis/lib/slides/v1.dart
@@ -460,10 +460,7 @@
class BatchUpdatePresentationRequest {
/** A list of updates to apply to the presentation. */
core.List<Request> requests;
- /**
- * Provides control over how write requests are executed, such as
- * conditionally updating the presentation.
- */
+ /** Provides control over how write requests are executed. */
WriteControl writeControl;
BatchUpdatePresentationRequest();
@@ -3217,9 +3214,11 @@
*
* The format of the revision ID may change over time, so it should be treated
* opaquely. A returned revision ID is only guaranteed to be valid for 24
- * hours after it has been returned and cannot be shared across
- * users. Callers can assume that if two revision IDs are equal then the
- * presentation has not changed.
+ * hours after it has been returned and cannot be shared across users. If the
+ * revision ID is unchanged between calls, then the presentation has not
+ * changed. Conversely, a changed ID (for the same presentation and user)
+ * usually means the presentation has been updated; however, a changed ID can
+ * also be due to internal factors such as ID format changes.
*/
core.String revisionId;
/** Slide specific properties. Only set if page_type = SLIDE. */
@@ -3635,8 +3634,8 @@
core.String alignment;
/**
* The text direction of this paragraph. If unset, the value defaults to
- * LEFT_TO_RIGHT
- * since text direction is not inherited.
+ * LEFT_TO_RIGHT since
+ * text direction is not inherited.
* Possible string values are:
* - "TEXT_DIRECTION_UNSPECIFIED" : The text direction is inherited from the
* parent.
@@ -3756,8 +3755,8 @@
*/
class Placeholder {
/**
- * The index of the placeholder. If the same placeholder types are the present
- * in the same page, they would have different index values.
+ * The index of the placeholder. If the same placeholder types are present in
+ * the same page, they would have different index values.
*/
core.int index;
/**
@@ -3867,9 +3866,11 @@
*
* The format of the revision ID may change over time, so it should be treated
* opaquely. A returned revision ID is only guaranteed to be valid for 24
- * hours after it has been returned and cannot be shared across users. Callers
- * can assume that if two revision IDs are equal then the presentation has not
- * changed.
+ * hours after it has been returned and cannot be shared across users. If the
+ * revision ID is unchanged between calls, then the presentation has not
+ * changed. Conversely, a changed ID (for the same presentation and user)
+ * usually means the presentation has been updated; however, a changed ID can
+ * also be due to internal factors such as ID format changes.
*/
core.String revisionId;
/**
@@ -7121,13 +7122,13 @@
core.String fontFamily;
/**
* The rendered weight of the text. This field can have any value that is a
- * multiple of 100 between 100 and 900, inclusive. This range corresponds to
- * only the numerical values described in the "Cascading Style Sheets Level
- * 2 Revision 1 (CSS 2.1) Specification",
- * [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The
- * non-numerical values in the specification are disallowed. Weights greater
- * than or equal to 700 are considered bold, and weights less than 700 are
- * not bold. The default value is `400` ("normal").
+ * multiple of `100` between `100` and `900`, inclusive. This range
+ * corresponds to the numerical values described in the CSS 2.1
+ * Specification, [section
+ * 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
+ * with non-numerical values disallowed. Weights greater than or equal to
+ * `700` are considered bold, and weights less than `700`are not bold. The
+ * default value is `400` ("normal").
*/
core.int weight;
diff --git a/generated/googleapis/lib/sourcerepo/v1.dart b/generated/googleapis/lib/sourcerepo/v1.dart
index b308053..0452fe3 100644
--- a/generated/googleapis/lib/sourcerepo/v1.dart
+++ b/generated/googleapis/lib/sourcerepo/v1.dart
@@ -373,42 +373,45 @@
* the union of the two AuditConfigs is used for that service: the log_types
* specified in each AuditConfig are enabled, and the exempted_members in each
* AuditConfig are exempted.
+ *
* Example Policy with multiple AuditConfigs:
- * {
- * "audit_configs": [
+ *
* {
- * "service": "allServices"
- * "audit_log_configs": [
+ * "audit_configs": [
* {
- * "log_type": "DATA_READ",
- * "exempted_members": [
- * "user:foo@gmail.com"
+ * "service": "allServices"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * "exempted_members": [
+ * "user:foo@gmail.com"
+ * ]
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * },
+ * {
+ * "log_type": "ADMIN_READ",
+ * }
* ]
* },
* {
- * "log_type": "DATA_WRITE",
- * },
- * {
- * "log_type": "ADMIN_READ",
- * }
- * ]
- * },
- * {
- * "service": "fooservice@googleapis.com"
- * "audit_log_configs": [
- * {
- * "log_type": "DATA_READ",
- * },
- * {
- * "log_type": "DATA_WRITE",
- * "exempted_members": [
- * "user:bar@gmail.com"
+ * "service": "fooservice.googleapis.com"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * "exempted_members": [
+ * "user:bar@gmail.com"
+ * ]
+ * }
* ]
* }
* ]
* }
- * ]
- * }
+ *
* For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
* logging. It also exempts foo@gmail.com from DATA_READ logging, and
* bar@gmail.com from DATA_WRITE logging.
diff --git a/generated/googleapis/lib/spanner/v1.dart b/generated/googleapis/lib/spanner/v1.dart
index e0f5398..d463414 100644
--- a/generated/googleapis/lib/spanner/v1.dart
+++ b/generated/googleapis/lib/spanner/v1.dart
@@ -102,14 +102,14 @@
* `projects/<project>`.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageSize] - Number of instance configurations to be returned in the
- * response. If 0 or
- * less, defaults to the server's maximum allowed page size.
- *
* [pageToken] - If non-empty, `page_token` should contain a
* next_page_token
* from a previous ListInstanceConfigsResponse.
*
+ * [pageSize] - Number of instance configurations to be returned in the
+ * response. If 0 or
+ * less, defaults to the server's maximum allowed page size.
+ *
* Completes with a [ListInstanceConfigsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -118,7 +118,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListInstanceConfigsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListInstanceConfigsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -129,12 +129,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/instanceConfigs';
@@ -910,14 +910,14 @@
* Values are of the form `projects/<project>/instances/<instance>`.
* Value must have pattern "^projects/[^/]+/instances/[^/]+$".
*
- * [pageSize] - Number of databases to be returned in the response. If 0 or
- * less,
- * defaults to the server's maximum allowed page size.
- *
* [pageToken] - If non-empty, `page_token` should contain a
* next_page_token from a
* previous ListDatabasesResponse.
*
+ * [pageSize] - Number of databases to be returned in the response. If 0 or
+ * less,
+ * defaults to the server's maximum allowed page size.
+ *
* Completes with a [ListDatabasesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -926,7 +926,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListDatabasesResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListDatabasesResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -937,12 +937,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/databases';
@@ -1271,12 +1271,12 @@
* Value must have pattern
* "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations$".
*
- * [filter] - The standard list filter.
- *
* [pageToken] - The standard list page token.
*
* [pageSize] - The standard list page size.
*
+ * [filter] - The standard list filter.
+ *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1285,7 +1285,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1296,15 +1296,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -2053,9 +2053,53 @@
/**
* Specifies the audit configuration for a service.
- * It consists of which permission types are logged, and what identities, if
- * any, are exempted from logging.
+ * The configuration determines which permission types are logged, and what
+ * identities, if any, are exempted from logging.
* An AuditConifg must have one or more AuditLogConfigs.
+ *
+ * If there are AuditConfigs for both `allServices` and a specific service,
+ * the union of the two AuditConfigs is used for that service: the log_types
+ * specified in each AuditConfig are enabled, and the exempted_members in each
+ * AuditConfig are exempted.
+ * Example Policy with multiple AuditConfigs:
+ * {
+ * "audit_configs": [
+ * {
+ * "service": "allServices"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * "exempted_members": [
+ * "user:foo@gmail.com"
+ * ]
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * },
+ * {
+ * "log_type": "ADMIN_READ",
+ * }
+ * ]
+ * },
+ * {
+ * "service": "fooservice@googleapis.com"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * "exempted_members": [
+ * "user:bar@gmail.com"
+ * ]
+ * }
+ * ]
+ * }
+ * ]
+ * }
+ * For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
+ * logging. It also exempts foo@gmail.com from DATA_READ logging, and
+ * bar@gmail.com from DATA_WRITE logging.
*/
class AuditConfig {
/**
@@ -2063,12 +2107,6 @@
* Next ID: 4
*/
core.List<AuditLogConfig> auditLogConfigs;
- /**
- * Specifies the identities that are exempted from "data access" audit
- * logging for the `service` specified above.
- * Follows the same format of Binding.members.
- * This field is deprecated in favor of per-permission-type exemptions.
- */
core.List<core.String> exemptedMembers;
/**
* Specifies a service that will be enabled for audit logging.
@@ -2421,6 +2459,15 @@
* access, and are thus only used in a strictly positive context
* (e.g. ALLOW/IN or DENY/NOT_IN).
* See: go/rpc-security-policy-dynamicauth.
+ * - "JUSTIFICATION_TYPE" : What types of justifications have been supplied
+ * with this request.
+ * String values should match enum names from tech.iam.JustificationType,
+ * e.g. "MANUAL_STRING". It is not permitted to grant access based on
+ * the *absence* of a justification, so justification conditions can only
+ * be used in a "positive" context (e.g., ALLOW/IN or DENY/NOT_IN).
+ *
+ * Multiple justifications, e.g., a Buganizer ID and a manually-entered
+ * reason, are normal and supported.
*/
core.String iam;
/**
@@ -2429,8 +2476,12 @@
* - "NO_OP" : Default no-op.
* - "EQUALS" : DEPRECATED. Use IN instead.
* - "NOT_EQUALS" : DEPRECATED. Use NOT_IN instead.
- * - "IN" : Set-inclusion check.
- * - "NOT_IN" : Set-exclusion check.
+ * - "IN" : The condition is true if the subject (or any element of it if it
+ * is
+ * a set) matches any of the supplied values.
+ * - "NOT_IN" : The condition is true if the subject (or every element of it
+ * if it is
+ * a set) matches none of the supplied values.
* - "DISCHARGED" : Subject is discharged
*/
core.String op;
@@ -4675,8 +4726,8 @@
Policy policy;
/**
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
- * the fields in the mask will be modified. If no mask is provided, a default
- * mask is used:
+ * the fields in the mask will be modified. If no mask is provided, the
+ * following default mask is used:
* paths: "bindings, etag"
* This field is only used by Cloud IAM.
*/
diff --git a/generated/googleapis/lib/storage/v1.dart b/generated/googleapis/lib/storage/v1.dart
index b71019f..ffc670a 100644
--- a/generated/googleapis/lib/storage/v1.dart
+++ b/generated/googleapis/lib/storage/v1.dart
@@ -40,8 +40,10 @@
BucketsResourceApi get buckets => new BucketsResourceApi(_requester);
ChannelsResourceApi get channels => new ChannelsResourceApi(_requester);
DefaultObjectAccessControlsResourceApi get defaultObjectAccessControls => new DefaultObjectAccessControlsResourceApi(_requester);
+ NotificationsResourceApi get notifications => new NotificationsResourceApi(_requester);
ObjectAccessControlsResourceApi get objectAccessControls => new ObjectAccessControlsResourceApi(_requester);
ObjectsResourceApi get objects => new ObjectsResourceApi(_requester);
+ ProjectsResourceApi get projects => new ProjectsResourceApi(_requester);
StorageApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "storage/v1/"}) :
_requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
@@ -1289,6 +1291,186 @@
}
+class NotificationsResourceApi {
+ final commons.ApiRequester _requester;
+
+ NotificationsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Permanently deletes a notification subscription.
+ *
+ * Request parameters:
+ *
+ * [bucket] - The parent bucket of the notification.
+ *
+ * [notification] - ID of the notification to delete.
+ *
+ * Completes with a [commons.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 bucket, core.String notification) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (bucket == null) {
+ throw new core.ArgumentError("Parameter bucket is required.");
+ }
+ if (notification == null) {
+ throw new core.ArgumentError("Parameter notification is required.");
+ }
+
+ _downloadOptions = null;
+
+ _url = 'b/' + commons.Escaper.ecapeVariable('$bucket') + '/notificationConfigs/' + commons.Escaper.ecapeVariable('$notification');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => null);
+ }
+
+ /**
+ * View a notification configuration.
+ *
+ * Request parameters:
+ *
+ * [bucket] - The parent bucket of the notification.
+ *
+ * [notification] - Notification ID
+ *
+ * Completes with a [Notification].
+ *
+ * Completes with a [commons.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<Notification> get(core.String bucket, core.String notification) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (bucket == null) {
+ throw new core.ArgumentError("Parameter bucket is required.");
+ }
+ if (notification == null) {
+ throw new core.ArgumentError("Parameter notification is required.");
+ }
+
+ _url = 'b/' + commons.Escaper.ecapeVariable('$bucket') + '/notificationConfigs/' + commons.Escaper.ecapeVariable('$notification');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Notification.fromJson(data));
+ }
+
+ /**
+ * Creates a notification subscription for a given bucket.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [bucket] - The parent bucket of the notification.
+ *
+ * Completes with a [Notification].
+ *
+ * Completes with a [commons.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<Notification> insert(Notification request, core.String bucket) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (bucket == null) {
+ throw new core.ArgumentError("Parameter bucket is required.");
+ }
+
+ _url = 'b/' + commons.Escaper.ecapeVariable('$bucket') + '/notificationConfigs';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Notification.fromJson(data));
+ }
+
+ /**
+ * Retrieves a list of notification subscriptions for a given bucket.
+ *
+ * Request parameters:
+ *
+ * [bucket] - Name of a GCS bucket.
+ *
+ * Completes with a [Notifications].
+ *
+ * Completes with a [commons.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<Notifications> list(core.String bucket) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (bucket == null) {
+ throw new core.ArgumentError("Parameter bucket is required.");
+ }
+
+ _url = 'b/' + commons.Escaper.ecapeVariable('$bucket') + '/notificationConfigs';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Notifications.fromJson(data));
+ }
+
+}
+
+
class ObjectAccessControlsResourceApi {
final commons.ApiRequester _requester;
@@ -2957,6 +3139,64 @@
}
+class ProjectsResourceApi {
+ final commons.ApiRequester _requester;
+
+ ProjectsServiceAccountResourceApi get serviceAccount => new ProjectsServiceAccountResourceApi(_requester);
+
+ ProjectsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+}
+
+
+class ProjectsServiceAccountResourceApi {
+ final commons.ApiRequester _requester;
+
+ ProjectsServiceAccountResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Get the email address of this project's GCS service account.
+ *
+ * Request parameters:
+ *
+ * [projectId] - Project ID
+ *
+ * Completes with a [ServiceAccount].
+ *
+ * Completes with a [commons.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<ServiceAccount> get(core.String projectId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (projectId == null) {
+ throw new core.ArgumentError("Parameter projectId is required.");
+ }
+
+ _url = 'projects/' + commons.Escaper.ecapeVariable('$projectId') + '/serviceAccount';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ServiceAccount.fromJson(data));
+ }
+
+}
+
+
class BucketCors {
/**
@@ -3330,6 +3570,8 @@
core.String id;
/** The kind of item this is. For buckets, this is always storage#bucket. */
core.String kind;
+ /** User-provided labels, in key/value pairs. */
+ core.Map<core.String, core.String> labels;
/**
* The bucket's lifecycle configuration. See lifecycle management for more
* information.
@@ -3402,6 +3644,9 @@
if (_json.containsKey("kind")) {
kind = _json["kind"];
}
+ if (_json.containsKey("labels")) {
+ labels = _json["labels"];
+ }
if (_json.containsKey("lifecycle")) {
lifecycle = new BucketLifecycle.fromJson(_json["lifecycle"]);
}
@@ -3463,6 +3708,9 @@
if (kind != null) {
_json["kind"] = kind;
}
+ if (labels != null) {
+ _json["labels"] = labels;
+ }
if (lifecycle != null) {
_json["lifecycle"] = (lifecycle).toJson();
}
@@ -3945,6 +4193,140 @@
}
}
+/** A subscription to receive Google PubSub notifications. */
+class Notification {
+ /**
+ * An optional list of additional attributes to attach to each Cloud PubSub
+ * message published for this notification subscription.
+ */
+ core.Map<core.String, core.String> customAttributes;
+ /** HTTP 1.1 Entity tag for this subscription notification. */
+ core.String etag;
+ /**
+ * If present, only send notifications about listed event types. If empty,
+ * sent notifications for all event types.
+ */
+ core.List<core.String> eventTypes;
+ /** The ID of the notification. */
+ core.String id;
+ /**
+ * The kind of item this is. For notifications, this is always
+ * storage#notification.
+ */
+ core.String kind;
+ /**
+ * If present, only apply this notification configuration to object names that
+ * begin with this prefix.
+ */
+ core.String objectNamePrefix;
+ /** The desired content of the Payload. */
+ core.String payloadFormat;
+ /** The canonical URL of this notification. */
+ core.String selfLink;
+ /**
+ * The Cloud PubSub topic to which this subscription publishes. Formatted as:
+ * '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
+ */
+ core.String topic;
+
+ Notification();
+
+ Notification.fromJson(core.Map _json) {
+ if (_json.containsKey("custom_attributes")) {
+ customAttributes = _json["custom_attributes"];
+ }
+ if (_json.containsKey("etag")) {
+ etag = _json["etag"];
+ }
+ if (_json.containsKey("event_types")) {
+ eventTypes = _json["event_types"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("object_name_prefix")) {
+ objectNamePrefix = _json["object_name_prefix"];
+ }
+ if (_json.containsKey("payload_format")) {
+ payloadFormat = _json["payload_format"];
+ }
+ if (_json.containsKey("selfLink")) {
+ selfLink = _json["selfLink"];
+ }
+ if (_json.containsKey("topic")) {
+ topic = _json["topic"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (customAttributes != null) {
+ _json["custom_attributes"] = customAttributes;
+ }
+ if (etag != null) {
+ _json["etag"] = etag;
+ }
+ if (eventTypes != null) {
+ _json["event_types"] = eventTypes;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (objectNamePrefix != null) {
+ _json["object_name_prefix"] = objectNamePrefix;
+ }
+ if (payloadFormat != null) {
+ _json["payload_format"] = payloadFormat;
+ }
+ if (selfLink != null) {
+ _json["selfLink"] = selfLink;
+ }
+ if (topic != null) {
+ _json["topic"] = topic;
+ }
+ return _json;
+ }
+}
+
+/** A list of notification subscriptions. */
+class Notifications {
+ /** The list of items. */
+ core.List<Notification> items;
+ /**
+ * The kind of item this is. For lists of notifications, this is always
+ * storage#notifications.
+ */
+ core.String kind;
+
+ Notifications();
+
+ Notifications.fromJson(core.Map _json) {
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new Notification.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;
+ }
+}
+
/**
* Metadata of customer-supplied encryption key, if the object is encrypted by
* such a key.
@@ -4747,6 +5129,39 @@
}
}
+/** A subscription to receive Google PubSub notifications. */
+class ServiceAccount {
+ /** The ID of the notification. */
+ core.String emailAddress;
+ /**
+ * The kind of item this is. For notifications, this is always
+ * storage#notification.
+ */
+ core.String kind;
+
+ ServiceAccount();
+
+ ServiceAccount.fromJson(core.Map _json) {
+ if (_json.containsKey("email_address")) {
+ emailAddress = _json["email_address"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (emailAddress != null) {
+ _json["email_address"] = emailAddress;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ return _json;
+ }
+}
+
/** A storage.(buckets|objects).testIamPermissions response. */
class TestIamPermissionsResponse {
/** The kind of item this is. */
diff --git a/generated/googleapis/lib/storagetransfer/v1.dart b/generated/googleapis/lib/storagetransfer/v1.dart
index e1d6d86..886a088 100644
--- a/generated/googleapis/lib/storagetransfer/v1.dart
+++ b/generated/googleapis/lib/storagetransfer/v1.dart
@@ -28,7 +28,6 @@
GoogleServiceAccountsResourceApi get googleServiceAccounts => new GoogleServiceAccountsResourceApi(_requester);
TransferJobsResourceApi get transferJobs => new TransferJobsResourceApi(_requester);
TransferOperationsResourceApi get transferOperations => new TransferOperationsResourceApi(_requester);
- V1ResourceApi get v1 => new V1ResourceApi(_requester);
StoragetransferApi(http.Client client, {core.String rootUrl: "https://storagetransfer.googleapis.com/", core.String servicePath: ""}) :
_requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
@@ -42,18 +41,21 @@
_requester = client;
/**
- * Returns the Google service account that is used by Storage Transfer Service
- * to access buckets in the project where transfers run or in other projects.
- * Each Google service account is associated with one Google Developers
- * Console project. Users should add this service account to the Google Cloud
- * Storage bucket ACLs to grant access to Storage Transfer Service. This
- * service account is created and owned by Storage Transfer Service and can
+ * Returns the Google service account that is used by Storage Transfer
+ * Service to access buckets in the project where transfers
+ * run or in other projects. Each Google service account is associated
+ * with one Google Cloud Platform Console project. Users
+ * should add this service account to the Google Cloud Storage bucket
+ * ACLs to grant access to Storage Transfer Service. This service
+ * account is created and owned by Storage Transfer Service and can
* only be used by Storage Transfer Service.
*
* Request parameters:
*
- * [projectId] - The ID of the Google Developers Console project that the
- * Google service account is associated with. Required.
+ * [projectId] - The ID of the Google Cloud Platform Console project that the
+ * Google service
+ * account is associated with.
+ * Required.
*
* Completes with a [GoogleServiceAccount].
*
@@ -140,11 +142,13 @@
*
* Request parameters:
*
- * [jobName] - The job to get. Required.
- * Value must have pattern "^transferJobs/.*$".
+ * [jobName] - The job to get.
+ * Required.
+ * Value must have pattern "^transferJobs/.+$".
*
- * [projectId] - The ID of the Google Developers Console project that owns the
- * job. Required.
+ * [projectId] - The ID of the Google Cloud Platform Console project that owns
+ * the job.
+ * Required.
*
* Completes with a [TransferJob].
*
@@ -186,17 +190,19 @@
*
* Request parameters:
*
- * [filter] - A list of query parameters specified as JSON text in the form of
- * {"`project_id`":"my_project_id", "`job_names`":["jobid1","jobid2",...],
- * "`job_statuses`":["status1","status2",...]}. Since `job_names` and
- * `job_statuses` support multiple values, their values must be specified with
- * array notation. `project_id` is required. `job_names` and `job_statuses`
- * are optional. The valid values for `job_statuses` are case-insensitive:
- * `ENABLED`, `DISABLED`, and `DELETED`.
+ * [pageToken] - The list page token.
*
* [pageSize] - The list page size. The max allowed value is 256.
*
- * [pageToken] - The list page token.
+ * [filter] - A list of query parameters specified as JSON text in the form of
+ * {"project_id":"my_project_id",
+ * "job_names":["jobid1","jobid2",...],
+ * "job_statuses":["status1","status2",...]}.
+ * Since `job_names` and `job_statuses` support multiple values, their values
+ * must be specified with array notation. `project_id` is required.
+ * `job_names`
+ * and `job_statuses` are optional. The valid values for `job_statuses` are
+ * case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
*
* Completes with a [ListTransferJobsResponse].
*
@@ -206,7 +212,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTransferJobsResponse> list({core.String filter, core.int pageSize, core.String pageToken}) {
+ async.Future<ListTransferJobsResponse> list({core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -214,14 +220,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
_url = 'v1/transferJobs';
@@ -238,15 +244,16 @@
/**
* Updates a transfer job. Updating a job's transfer spec does not affect
- * transfer operations that are running already. Updating the scheduling of a
- * job is not allowed.
+ * transfer operations that are running already. Updating the scheduling
+ * of a job is not allowed.
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [jobName] - The name of job to update. Required.
- * Value must have pattern "^transferJobs/.*$".
+ * [jobName] - The name of job to update.
+ * Required.
+ * Value must have pattern "^transferJobs/.+$".
*
* Completes with a [TransferJob].
*
@@ -299,7 +306,7 @@
* Request parameters:
*
* [name] - The name of the operation resource to be cancelled.
- * Value must have pattern "^transferOperations/.*$".
+ * Value must have pattern "^transferOperations/.+$".
*
* Completes with a [Empty].
*
@@ -339,7 +346,7 @@
* Request parameters:
*
* [name] - The name of the operation resource to be deleted.
- * Value must have pattern "^transferOperations/.*$".
+ * Value must have pattern "^transferOperations/.+$".
*
* Completes with a [Empty].
*
@@ -374,14 +381,14 @@
}
/**
- * Gets the latest state of a long-running operation. Clients can use this
+ * Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service.
*
* Request parameters:
*
* [name] - The name of the operation resource.
- * Value must have pattern "^transferOperations/.*$".
+ * Value must have pattern "^transferOperations/.+$".
*
* Completes with a [Operation].
*
@@ -417,20 +424,27 @@
/**
* Lists operations that match the specified filter in the request. If the
- * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the
- * `name` binding below allows API services to override the binding to use
- * different resource name schemes, such as `users / * /operations`.
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding
+ * to use different resource name schemes, such as `users / * /operations`.
*
* Request parameters:
*
* [name] - The value `transferOperations`.
* Value must have pattern "^transferOperations$".
*
- * [filter] - The standard list filter.
+ * [filter] - A list of query parameters specified as JSON text in the form of
+ * {\"project_id\" : \"my_project_id\", \"job_names\" : [\"jobid1\",
+ * \"jobid2\",...], \"operation_names\" : [\"opid1\", \"opid2\",...],
+ * \"transfer_statuses\":[\"status1\", \"status2\",...]}. Since `job_names`,
+ * `operation_names`, and `transfer_statuses` support multiple values, they
+ * must be specified with array notation. `job_names`, `operation_names`, and
+ * `transfer_statuses` are optional.
*
- * [pageSize] - The standard list page size.
+ * [pageToken] - The list page token.
*
- * [pageToken] - The standard list page token.
+ * [pageSize] - The list page size. The max allowed value is 256.
*
* Completes with a [ListOperationsResponse].
*
@@ -440,7 +454,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list(core.String name, {core.String filter, core.int pageSize, core.String pageToken}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -454,12 +468,12 @@
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -480,8 +494,9 @@
*
* Request parameters:
*
- * [name] - The name of the transfer operation. Required.
- * Value must have pattern "^transferOperations/.*$".
+ * [name] - The name of the transfer operation.
+ * Required.
+ * Value must have pattern "^transferOperations/.+$".
*
* Completes with a [Empty].
*
@@ -525,8 +540,9 @@
*
* Request parameters:
*
- * [name] - The name of the transfer operation. Required.
- * Value must have pattern "^transferOperations/.*$".
+ * [name] - The name of the transfer operation.
+ * Required.
+ * Value must have pattern "^transferOperations/.+$".
*
* Completes with a [Empty].
*
@@ -566,68 +582,17 @@
}
-class V1ResourceApi {
- final commons.ApiRequester _requester;
-
- V1ResourceApi(commons.ApiRequester client) :
- _requester = client;
-
- /**
- * Returns the Google service account that is used by Storage Transfer Service
- * to access buckets in the project where transfers run or in other projects.
- * Each Google service account is associated with one Google Developers
- * Console project. Users should add this service account to the Google Cloud
- * Storage bucket ACLs to grant access to Storage Transfer Service. This
- * service account is created and owned by Storage Transfer Service and can
- * only be used by Storage Transfer Service.
- *
- * Request parameters:
- *
- * [projectId] - The ID of the Google Developers Console project that the
- * Google service account is associated with. Required.
- *
- * Completes with a [GoogleServiceAccount].
- *
- * Completes with a [commons.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<GoogleServiceAccount> getGoogleServiceAccount({core.String projectId}) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (projectId != null) {
- _queryParams["projectId"] = [projectId];
- }
-
- _url = 'v1:getGoogleServiceAccount';
-
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new GoogleServiceAccount.fromJson(data));
- }
-
-}
-
-
/**
- * AWS access key (see [AWS Security
+ * AWS access key (see
+ * [AWS Security
* Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)).
*/
class AwsAccessKey {
- /** AWS access key ID. Required. */
+ /**
+ * AWS access key ID.
+ * Required.
+ */
core.String accessKeyId;
/**
* AWS secret access key. This field is not returned in RPC responses.
@@ -659,18 +624,20 @@
}
/**
- * An AwsS3Data can be a data source, but not a data sink. In an AwsS3Data, an
- * object's name is the S3 object's key name.
+ * An AwsS3Data can be a data source, but not a data sink.
+ * In an AwsS3Data, an object's name is the S3 object's key name.
*/
class AwsS3Data {
/**
* AWS access key used to sign the API requests to the AWS S3 bucket.
- * Permissions on the bucket must be granted to the access ID of the AWS
- * access key. Required.
+ * Permissions on the bucket must be granted to the access ID of the
+ * AWS access key.
+ * Required.
*/
AwsAccessKey awsAccessKey;
/**
- * S3 Bucket name (see [Creating a
+ * S3 Bucket name (see
+ * [Creating a
* bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)).
* Required.
*/
@@ -701,25 +668,24 @@
/**
* Represents a whole calendar date, e.g. date of birth. The time of day and
- * time zone are either specified elsewhere or are not significant. The date is
- * relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a
- * year and month where the day is not significant, e.g. credit card expiration
- * date. The year may be 0 to represent a month and day independent of year,
- * e.g. anniversary date. Related types are
- * [google.type.TimeOfDay][google.type.TimeOfDay] and
- * `google.protobuf.Timestamp`.
+ * time zone are either specified elsewhere or are not significant. The date
+ * is relative to the Proleptic Gregorian Calendar. The day may be 0 to
+ * represent a year and month where the day is not significant, e.g. credit card
+ * expiration date. The year may be 0 to represent a month and day independent
+ * of year, e.g. anniversary date. Related types are google.type.TimeOfDay
+ * and `google.protobuf.Timestamp`.
*/
class Date {
/**
* Day of month. Must be from 1 to 31 and valid for the year and month, or 0
- * if specifying a year/month where the day is not sigificant.
+ * if specifying a year/month where the day is not significant.
*/
core.int day;
- /** Month of year of date. Must be from 1 to 12. */
+ /** Month of year. Must be from 1 to 12. */
core.int month;
/**
- * Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a
- * year.
+ * Year of date. Must be from 1 to 9999, or 0 if specifying a date without
+ * a year.
*/
core.int year;
@@ -754,10 +720,14 @@
/**
* A generic empty message that you can re-use to avoid defining duplicated
- * empty messages in your APIs. A typical example is to use it as the request or
- * the response type of an API method. For instance: service Foo { rpc
- * Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON
- * representation for `Empty` is empty JSON object `{}`.
+ * empty messages in your APIs. A typical example is to use it as the request
+ * or the response type of an API method. For instance:
+ *
+ * service Foo {
+ * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+ * }
+ *
+ * The JSON representation for `Empty` is empty JSON object `{}`.
*/
class Empty {
@@ -777,8 +747,9 @@
/** A list of messages that carry the error details. */
core.List<core.String> errorDetails;
/**
- * A URL that refers to the target (a data source, a data sink, or an object)
- * with which the error is associated. Required.
+ * A URL that refers to the target (a data source, a data sink,
+ * or an object) with which the error is associated.
+ * Required.
*/
core.String url;
@@ -806,32 +777,151 @@
}
/**
- * A summary of errors by error code, plus a count and sample error log entries.
+ * A summary of errors by error code, plus a count and sample error log
+ * entries.
*/
class ErrorSummary {
/**
* Required.
* Possible string values are:
- * - "OK" : A OK.
- * - "CANCELLED" : A CANCELLED.
- * - "UNKNOWN" : A UNKNOWN.
- * - "INVALID_ARGUMENT" : A INVALID_ARGUMENT.
- * - "DEADLINE_EXCEEDED" : A DEADLINE_EXCEEDED.
- * - "NOT_FOUND" : A NOT_FOUND.
- * - "ALREADY_EXISTS" : A ALREADY_EXISTS.
- * - "PERMISSION_DENIED" : A PERMISSION_DENIED.
- * - "UNAUTHENTICATED" : A UNAUTHENTICATED.
- * - "RESOURCE_EXHAUSTED" : A RESOURCE_EXHAUSTED.
- * - "FAILED_PRECONDITION" : A FAILED_PRECONDITION.
- * - "ABORTED" : A ABORTED.
- * - "OUT_OF_RANGE" : A OUT_OF_RANGE.
- * - "UNIMPLEMENTED" : A UNIMPLEMENTED.
- * - "INTERNAL" : A INTERNAL.
- * - "UNAVAILABLE" : A UNAVAILABLE.
- * - "DATA_LOSS" : A DATA_LOSS.
+ * - "OK" : Not an error; returned on success
+ *
+ * HTTP Mapping: 200 OK
+ * - "CANCELLED" : The operation was cancelled, typically by the caller.
+ *
+ * HTTP Mapping: 499 Client Closed Request
+ * - "UNKNOWN" : Unknown error. For example, this error may be returned when
+ * a `Status` value received from another address space belongs to
+ * an error space that is not known in this address space. Also
+ * errors raised by APIs that do not return enough error information
+ * may be converted to this error.
+ *
+ * HTTP Mapping: 500 Internal Server Error
+ * - "INVALID_ARGUMENT" : The client specified an invalid argument. Note that
+ * this differs
+ * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
+ * that are problematic regardless of the state of the system
+ * (e.g., a malformed file name).
+ *
+ * HTTP Mapping: 400 Bad Request
+ * - "DEADLINE_EXCEEDED" : The deadline expired before the operation could
+ * complete. For operations
+ * that change the state of the system, this error may be returned
+ * even if the operation has completed successfully. For example, a
+ * successful response from a server could have been delayed long
+ * enough for the deadline to expire.
+ *
+ * HTTP Mapping: 504 Gateway Timeout
+ * - "NOT_FOUND" : Some requested entity (e.g., file or directory) was not
+ * found.
+ *
+ * Note to server developers: if a request is denied for an entire class
+ * of users, such as gradual feature rollout or undocumented whitelist,
+ * `NOT_FOUND` may be used. If a request is denied for some users within
+ * a class of users, such as user-based access control, `PERMISSION_DENIED`
+ * must be used.
+ *
+ * HTTP Mapping: 404 Not Found
+ * - "ALREADY_EXISTS" : The entity that a client attempted to create (e.g.,
+ * file or directory)
+ * already exists.
+ *
+ * HTTP Mapping: 409 Conflict
+ * - "PERMISSION_DENIED" : The caller does not have permission to execute the
+ * specified
+ * operation. `PERMISSION_DENIED` must not be used for rejections
+ * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
+ * instead for those errors). `PERMISSION_DENIED` must not be
+ * used if the caller can not be identified (use `UNAUTHENTICATED`
+ * instead for those errors). This error code does not imply the
+ * request is valid or the requested entity exists or satisfies
+ * other pre-conditions.
+ *
+ * HTTP Mapping: 403 Forbidden
+ * - "UNAUTHENTICATED" : The request does not have valid authentication
+ * credentials for the
+ * operation.
+ *
+ * HTTP Mapping: 401 Unauthorized
+ * - "RESOURCE_EXHAUSTED" : Some resource has been exhausted, perhaps a
+ * per-user quota, or
+ * perhaps the entire file system is out of space.
+ *
+ * HTTP Mapping: 429 Too Many Requests
+ * - "FAILED_PRECONDITION" : The operation was rejected because the system is
+ * not in a state
+ * required for the operation's execution. For example, the directory
+ * to be deleted is non-empty, an rmdir operation is applied to
+ * a non-directory, etc.
+ *
+ * Service implementors can use the following guidelines to decide
+ * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
+ * (a) Use `UNAVAILABLE` if the client can retry just the failing call.
+ * (b) Use `ABORTED` if the client should retry at a higher level
+ * (e.g., when a client-specified test-and-set fails, indicating the
+ * client should restart a read-modify-write sequence).
+ * (c) Use `FAILED_PRECONDITION` if the client should not retry until
+ * the system state has been explicitly fixed. E.g., if an "rmdir"
+ * fails because the directory is non-empty, `FAILED_PRECONDITION`
+ * should be returned since the client should not retry unless
+ * the files are deleted from the directory.
+ *
+ * HTTP Mapping: 400 Bad Request
+ * - "ABORTED" : The operation was aborted, typically due to a concurrency
+ * issue such as
+ * a sequencer check failure or transaction abort.
+ *
+ * See the guidelines above for deciding between `FAILED_PRECONDITION`,
+ * `ABORTED`, and `UNAVAILABLE`.
+ *
+ * HTTP Mapping: 409 Conflict
+ * - "OUT_OF_RANGE" : The operation was attempted past the valid range. E.g.,
+ * seeking or
+ * reading past end-of-file.
+ *
+ * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
+ * be fixed if the system state changes. For example, a 32-bit file
+ * system will generate `INVALID_ARGUMENT` if asked to read at an
+ * offset that is not in the range [0,2^32-1], but it will generate
+ * `OUT_OF_RANGE` if asked to read from an offset past the current
+ * file size.
+ *
+ * There is a fair bit of overlap between `FAILED_PRECONDITION` and
+ * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific
+ * error) when it applies so that callers who are iterating through
+ * a space can easily look for an `OUT_OF_RANGE` error to detect when
+ * they are done.
+ *
+ * HTTP Mapping: 400 Bad Request
+ * - "UNIMPLEMENTED" : The operation is not implemented or is not
+ * supported/enabled in this
+ * service.
+ *
+ * HTTP Mapping: 501 Not Implemented
+ * - "INTERNAL" : Internal errors. This means that some invariants expected
+ * by the
+ * underlying system have been broken. This error code is reserved
+ * for serious errors.
+ *
+ * HTTP Mapping: 500 Internal Server Error
+ * - "UNAVAILABLE" : The service is currently unavailable. This is most
+ * likely a
+ * transient condition, which can be corrected by retrying with
+ * a backoff.
+ *
+ * See the guidelines above for deciding between `FAILED_PRECONDITION`,
+ * `ABORTED`, and `UNAVAILABLE`.
+ *
+ * HTTP Mapping: 503 Service Unavailable
+ * - "DATA_LOSS" : Unrecoverable data loss or corruption.
+ *
+ * HTTP Mapping: 500 Internal Server Error
*/
core.String errorCode;
- /** Count of this type of error. Required. */
+ /**
+ * Count of this type of error.
+ * Required.
+ */
core.String errorCount;
/** Error samples. */
core.List<ErrorLogEntry> errorLogEntries;
@@ -872,7 +962,8 @@
*/
class GcsData {
/**
- * Google Cloud Storage bucket name (see [Bucket Name
+ * Google Cloud Storage bucket name (see
+ * [Bucket Name
* Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
* Required.
*/
@@ -919,29 +1010,55 @@
/**
* An HttpData specifies a list of objects on the web to be transferred over
- * HTTP. The information of the objects to be transferred is contained in a file
- * referenced by a URL. The first line in the file must be "TsvHttpData-1.0",
- * which specifies the format of the file. Subsequent lines specify the
- * information of the list of objects, one object per list entry. Each entry has
- * the following tab-delimited fields: * HTTP URL * Length * MD5 - This field is
- * a base64-encoded MD5 hash of the object An HTTP URL that points to the object
- * to be transferred. It must be a valid URL with URL scheme HTTP or HTTPS. When
- * an object with URL `http(s)://hostname:port/` is transferred to the data
- * sink, the name of the object at the data sink is `/`. Length and MD5 provide
- * the size and the base64-encoded MD5 hash of the object. If Length does not
- * match the actual length of the object fetched, the object will not be
- * transferred. If MD5 does not match the MD5 computed from the transferred
- * bytes, the object transfer will fail. `lastModificationTime` is not available
- * in HttpData objects. The objects that the URL list points to must allow
- * public access. Storage Transfer Service obeys `robots.txt` rules and requires
- * the HTTP server to support Range requests and to return a Content-Length
+ * HTTP. The information of the objects to be transferred is contained in a
+ * file referenced by a URL. The first line in the file must be
+ * "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines
+ * specify the information of the list of objects, one object per list entry.
+ * Each entry has the following tab-delimited fields:
+ *
+ * * HTTP URL - The location of the object.
+ *
+ * * Length - The size of the object in bytes.
+ *
+ * * MD5 - The base64-encoded MD5 hash of the object.
+ *
+ * For an example of a valid TSV file, see
+ * [Transferring data from
+ * URLs](https://cloud.google.com/storage/transfer/#urls)
+ *
+ * When transferring data based on a URL list, keep the following in mind:
+ *
+ * * When an object located at `http(s)://hostname:port/<URL-path>` is
+ * transferred
+ * to a data sink, the name of the object at the data sink is
+ * `<hostname>/<URL-path>`.
+ *
+ * * If the specified size of an object does not match the actual size of the
+ * object fetched, the object will not be transferred.
+ *
+ * * If the specified MD5 does not match the MD5 computed from the transferred
+ * bytes, the object transfer will fail. For more information, see
+ * [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5)
+ *
+ * * Ensure that each URL you specify is publicly accessible. For
+ * example, in Google Cloud Storage you can
+ * [share an object publicly]
+ * (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get
+ * a link to it.
+ *
+ * * Storage Transfer Service obeys `robots.txt` rules and requires the source
+ * HTTP server to support `Range` requests and to return a `Content-Length`
* header in each response.
+ *
+ * * [ObjectConditions](#ObjectConditions) have no effect when filtering objects
+ * to transfer.
*/
class HttpData {
/**
- * The URL that points to the file that stores the object list entries. This
- * file must allow public access. Currently, only URLs with HTTP and HTTPS
- * schemes are supported. Required.
+ * The URL that points to the file that stores the object list entries.
+ * This file must allow public access. Currently, only URLs with HTTP and
+ * HTTPS schemes are supported.
+ * Required.
*/
core.String listUrl;
@@ -962,10 +1079,7 @@
}
}
-/**
- * The response message for
- * [Operations.ListOperations][google.longrunning.Operations.ListOperations].
- */
+/** The response message for Operations.ListOperations. */
class ListOperationsResponse {
/** The standard List next-page token. */
core.String nextPageToken;
@@ -1029,27 +1143,46 @@
class ObjectConditions {
/**
* `excludePrefixes` must follow the requirements described for
- * `includePrefixes`. The max size of `excludePrefixes` is 20.
+ * `includePrefixes`.
+ *
+ * The max size of `excludePrefixes` is 1000.
*/
core.List<core.String> excludePrefixes;
/**
* If `includePrefixes` is specified, objects that satisfy the object
- * conditions must have names that start with one of the `includePrefixes` and
- * that do not start with any of the `excludePrefixes`. If `includePrefixes`
+ * conditions must have names that start with one of the `includePrefixes`
+ * and that do not start with any of the `excludePrefixes`. If
+ * `includePrefixes`
* is not specified, all objects except those that have names starting with
* one of the `excludePrefixes` must satisfy the object conditions.
- * Requirements: * Each include-prefix and exclude-prefix can contain any
- * sequence of Unicode characters, of max length 1024 bytes when UTF8-encoded,
- * and must not contain Carriage Return or Line Feed characters. Wildcard
- * matching and regular expression matching are not supported. * None of the
- * include-prefix or the exclude-prefix values can be empty, if specified. *
- * Each include-prefix must include a distinct portion of the object
- * namespace, i.e., no include-prefix may be a prefix of another
- * include-prefix. * Each exclude-prefix must exclude a distinct portion of
- * the object namespace, i.e., no exclude-prefix may be a prefix of another
- * exclude-prefix. * If `includePrefixes` is specified, then each
- * exclude-prefix must start with the value of a path explicitly included by
- * `includePrefixes`. The max size of `includePrefixes` is 20.
+ *
+ * Requirements:
+ *
+ * * Each include-prefix and exclude-prefix can contain any sequence of
+ * Unicode characters, of max length 1024 bytes when UTF8-encoded, and
+ * must not contain Carriage Return or Line Feed characters. Wildcard
+ * matching and regular expression matching are not supported.
+ *
+ * * Each include-prefix and exclude-prefix must omit the leading slash.
+ * For example, to include the `requests.gz` object in a transfer from
+ * `s3://my-aws-bucket/logs/y=2015/requests.gz`, specify the include
+ * prefix as `logs/y=2015/requests.gz`.
+ *
+ * * None of the include-prefix or the exclude-prefix values can be empty,
+ * if specified.
+ *
+ * * Each include-prefix must include a distinct portion of the object
+ * namespace, i.e., no include-prefix may be a prefix of another
+ * include-prefix.
+ *
+ * * Each exclude-prefix must exclude a distinct portion of the object
+ * namespace, i.e., no exclude-prefix may be a prefix of another
+ * exclude-prefix.
+ *
+ * * If `includePrefixes` is specified, then each exclude-prefix must start
+ * with the value of a path explicitly included by `includePrefixes`.
+ *
+ * The max size of `includePrefixes` is 1000.
*/
core.List<core.String> includePrefixes;
/**
@@ -1059,11 +1192,11 @@
core.String maxTimeElapsedSinceLastModification;
/**
* If unspecified, `minTimeElapsedSinceLastModification` takes a zero value
- * and `maxTimeElapsedSinceLastModification` takes the maximum possible value
- * of Duration. Objects that satisfy the object conditions must either have a
- * `lastModificationTime` greater or equal to `NOW` -
- * `maxTimeElapsedSinceLastModification` and less than `NOW` -
- * `minTimeElapsedSinceLastModification`, or not have a
+ * and `maxTimeElapsedSinceLastModification` takes the maximum possible
+ * value of Duration. Objects that satisfy the object conditions
+ * must either have a `lastModificationTime` greater or equal to
+ * `NOW` - `maxTimeElapsedSinceLastModification` and less than
+ * `NOW` - `minTimeElapsedSinceLastModification`, or not have a
* `lastModificationTime`.
*/
core.String minTimeElapsedSinceLastModification;
@@ -1109,11 +1242,12 @@
*/
class Operation {
/**
- * If the value is `false`, it means the operation is still in progress. If
- * true, the operation is completed and the `result` is available.
+ * If the value is `false`, it means the operation is still in progress.
+ * If true, the operation is completed, and either `error` or `response` is
+ * available.
*/
core.bool done;
- /** The error result of the operation in case of failure. */
+ /** The error result of the operation in case of failure or cancellation. */
Status error;
/**
* Represents the transfer operation object.
@@ -1124,18 +1258,19 @@
core.Map<core.String, core.Object> metadata;
/**
* The server-assigned name, which is only unique within the same service that
- * originally returns it. If you use the default HTTP mapping above, the
- * `name` should have the format of `operations/some/unique/name`.
+ * originally returns it. If you use the default HTTP mapping, the `name`
+ * should have the format of `transferOperations/some/unique/name`.
*/
core.String name;
/**
- * The normal response of the operation in case of success. If the original
+ * The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is
- * `google.protobuf.Empty`. If the original method is standard
- * `Get`/`Create`/`Update`, the response should be the resource. For other
- * methods, the response should have the type `XxxResponse`, where `Xxx` is
- * the original method name. For example, if the original method name is
- * `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+ * `google.protobuf.Empty`. If the original method is standard
+ * `Get`/`Create`/`Update`, the response should be the resource. For other
+ * methods, the response should have the type `XxxResponse`, where `Xxx`
+ * is the original method name. For example, if the original method name
+ * is `TakeSnapshot()`, the inferred response type is
+ * `TakeSnapshotResponse`.
*
* The values for Object must be JSON objects. It can consist of `num`,
* `String`, `bool` and `null` as well as `Map` and `List` values.
@@ -1214,16 +1349,26 @@
/** Transfers can be scheduled to recur or to run just once. */
class Schedule {
/**
- * The last day the recurring transfer will be run. If `scheduleEndDate` is
- * the same as `scheduleStartDate`, the transfer will be executed only once.
+ * The last day the recurring transfer will be run. If `scheduleEndDate`
+ * is the same as `scheduleStartDate`, the transfer will be executed only
+ * once.
*/
Date scheduleEndDate;
- /** The first day the recurring transfer is scheduled to run. Required. */
+ /**
+ * The first day the recurring transfer is scheduled to run. If
+ * `scheduleStartDate` is in the past, the transfer will run for the first
+ * time on the following day.
+ * Required.
+ */
Date scheduleStartDate;
/**
* The time in UTC at which the transfer will be scheduled to start in a day.
- * Transfers may start later than this time. If not specified, transfers are
- * scheduled to start at midnight UTC.
+ * Transfers may start later than this time. If not specified, recurring and
+ * one-time transfers that are scheduled to run today will run immediately;
+ * recurring transfers that are scheduled to run on a future date will start
+ * at approximately midnight UTC on that date. Note that when configuring a
+ * transfer with the Cloud Platform Console, the transfer's start time in a
+ * day is specified in your local timezone.
*/
TimeOfDay startTimeOfDay;
@@ -1258,48 +1403,66 @@
/**
* The `Status` type defines a logical error model that is suitable for
- * different programming environments, including REST APIs and RPC APIs. It is
- * used by [gRPC](https://github.com/grpc). The error model is designed to be: -
- * Simple to use and understand for most users - Flexible enough to meet
- * unexpected needs # Overview The `Status` message contains three pieces of
- * data: error code, error message, and error details. The error code should be
- * an enum value of [google.rpc.Code][google.rpc.Code], but it may accept
- * additional error codes if needed. The error message should be a
- * developer-facing English message that helps developers *understand* and
- * *resolve* the error. If a localized user-facing error message is needed, put
- * the localized message in the error details or localize it in the client. The
- * optional error details may contain arbitrary information about the error.
- * There is a predefined set of error detail types in the package `google.rpc`
- * which can be used for common error conditions. # Language mapping The
- * `Status` message is the logical representation of the error model, but it is
- * not necessarily the actual wire format. When the `Status` message is exposed
- * in different client libraries and different wire protocols, it can be mapped
- * differently. For example, it will likely be mapped to some exceptions in
- * Java, but more likely mapped to some error codes in C. # Other uses The error
- * model and the `Status` message can be used in a variety of environments,
- * either with or without APIs, to provide a consistent developer experience
- * across different environments. Example uses of this error model include: -
- * Partial errors. If a service needs to return partial errors to the client, it
- * may embed the `Status` in the normal response to indicate the partial errors.
- * - Workflow errors. A typical workflow has multiple steps. Each step may have
- * a `Status` message for error reporting purpose. - Batch operations. If a
- * client uses batch request and batch response, the `Status` message should be
- * used directly inside batch response, one for each error sub-response. -
- * Asynchronous operations. If an API call embeds asynchronous operation results
- * in its response, the status of those operations should be represented
- * directly using the `Status` message. - Logging. If some API errors are stored
- * in logs, the message `Status` could be used directly after any stripping
- * needed for security/privacy reasons.
+ * different
+ * programming environments, including REST APIs and RPC APIs. It is used by
+ * [gRPC](https://github.com/grpc). The error model is designed to be:
+ *
+ * - Simple to use and understand for most users
+ * - Flexible enough to meet unexpected needs
+ *
+ * # Overview
+ *
+ * The `Status` message contains three pieces of data: error code, error
+ * message,
+ * and error details. The error code should be an enum value of
+ * google.rpc.Code, but it may accept additional error codes if needed. The
+ * error message should be a developer-facing English message that helps
+ * developers *understand* and *resolve* the error. If a localized user-facing
+ * error message is needed, put the localized message in the error details or
+ * localize it in the client. The optional error details may contain arbitrary
+ * information about the error. There is a predefined set of error detail types
+ * in the package `google.rpc` which can be used for common error conditions.
+ *
+ * # Language mapping
+ *
+ * The `Status` message is the logical representation of the error model, but it
+ * is not necessarily the actual wire format. When the `Status` message is
+ * exposed in different client libraries and different wire protocols, it can be
+ * mapped differently. For example, it will likely be mapped to some exceptions
+ * in Java, but more likely mapped to some error codes in C.
+ *
+ * # Other uses
+ *
+ * The error model and the `Status` message can be used in a variety of
+ * environments, either with or without APIs, to provide a
+ * consistent developer experience across different environments.
+ *
+ * Example uses of this error model include:
+ *
+ * - Partial errors. If a service needs to return partial errors to the client,
+ * it may embed the `Status` in the normal response to indicate the partial
+ * errors.
+ *
+ * - Workflow errors. A typical workflow has multiple steps. Each step may
+ * have a `Status` message for error reporting purpose.
+ *
+ * - Batch operations. If a client uses batch request and batch response, the
+ * `Status` message should be used directly inside batch response, one for
+ * each error sub-response.
+ *
+ * - Asynchronous operations. If an API call embeds asynchronous operation
+ * results in its response, the status of those operations should be
+ * represented directly using the `Status` message.
+ *
+ * - Logging. If some API errors are stored in logs, the message `Status` could
+ * be used directly after any stripping needed for security/privacy reasons.
*/
class Status {
- /**
- * The status code, which should be an enum value of
- * [google.rpc.Code][google.rpc.Code].
- */
+ /** The status code, which should be an enum value of google.rpc.Code. */
core.int code;
/**
- * A list of messages that carry the error details. There will be a common set
- * of message types for APIs to use.
+ * A list of messages that carry the error details. There will be a
+ * common set of message types for APIs to use.
*
* The values for Object must be JSON objects. It can consist of `num`,
* `String`, `bool` and `null` as well as `Map` and `List` values.
@@ -1308,8 +1471,7 @@
/**
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
- * [google.rpc.Status.details][google.rpc.Status.details] field, or localized
- * by the client.
+ * google.rpc.Status.details field, or localized by the client.
*/
core.String message;
@@ -1344,9 +1506,8 @@
/**
* Represents a time of day. The date and time zone are either not significant
- * or are specified elsewhere. An API may chose to allow leap seconds. Related
- * types are [google.type.Date][google.type.Date] and
- * `google.protobuf.Timestamp`.
+ * or are specified elsewhere. An API may choose to allow leap seconds. Related
+ * types are google.type.Date and `google.protobuf.Timestamp`.
*/
class TimeOfDay {
/**
@@ -1412,8 +1573,9 @@
/** Bytes that failed to be deleted from the data sink. */
core.String bytesFailedToDeleteFromSink;
/**
- * Bytes found in the data source that are scheduled to be transferred, which
- * will be copied, excluded based on conditions, or skipped due to failures.
+ * Bytes found in the data source that are scheduled to be transferred,
+ * which will be copied, excluded based on conditions, or skipped due to
+ * failures.
*/
core.String bytesFoundFromSource;
/** Bytes found only in the data sink that are scheduled to be deleted. */
@@ -1573,34 +1735,44 @@
/** This field cannot be changed by user requests. */
core.String lastModificationTime;
/**
- * A globally unique name assigned by Storage Transfer Service when the job is
- * created. This field should be left empty in requests to create a new
+ * A globally unique name assigned by Storage Transfer Service when the
+ * job is created. This field should be left empty in requests to create a new
* transfer job; otherwise, the requests result in an `INVALID_ARGUMENT`
* error.
*/
core.String name;
/**
- * The ID of the Google Developers Console project that owns the job.
+ * The ID of the Google Cloud Platform Console project that owns the job.
* Required.
*/
core.String projectId;
- /** Schedule specification. Required. */
+ /**
+ * Schedule specification.
+ * Required.
+ */
Schedule schedule;
/**
* Status of the job. This value MUST be specified for
- * `CreateTransferJobRequests`. NOTE: The effect of the new job status takes
- * place during a subsequent job run. For example, if you change the job
- * status from `ENABLED` to `DISABLED`, and an operation spawned by the
- * transfer is running, the status change would not affect the current
- * operation.
+ * `CreateTransferJobRequests`.
+ *
+ * NOTE: The effect of the new job status takes place during a subsequent job
+ * run. For example, if you change the job status from `ENABLED` to
+ * `DISABLED`, and an operation spawned by the transfer is running, the status
+ * change would not affect the current operation.
* Possible string values are:
- * - "STATUS_UNSPECIFIED" : A STATUS_UNSPECIFIED.
- * - "ENABLED" : A ENABLED.
- * - "DISABLED" : A DISABLED.
- * - "DELETED" : A DELETED.
+ * - "STATUS_UNSPECIFIED" : Zero is an illegal value.
+ * - "ENABLED" : New transfers will be performed based on the schedule.
+ * - "DISABLED" : New transfers will not be scheduled.
+ * - "DELETED" : This is a soft delete state. After a transfer job is set to
+ * this
+ * state, the job and all the transfer executions are subject to
+ * garbage collection.
*/
core.String status;
- /** Transfer specification. Required. */
+ /**
+ * Transfer specification.
+ * Required.
+ */
TransferSpec transferSpec;
TransferJob();
@@ -1679,7 +1851,8 @@
/** A globally unique ID assigned by the system. */
core.String name;
/**
- * The ID of the Google Developers Console project that owns the operation.
+ * The ID of the Google Cloud Platform Console project that owns the
+ * operation.
* Required.
*/
core.String projectId;
@@ -1688,17 +1861,20 @@
/**
* Status of the transfer operation.
* Possible string values are:
- * - "STATUS_UNSPECIFIED" : A STATUS_UNSPECIFIED.
- * - "IN_PROGRESS" : A IN_PROGRESS.
- * - "PAUSED" : A PAUSED.
- * - "SUCCESS" : A SUCCESS.
- * - "FAILED" : A FAILED.
- * - "ABORTED" : A ABORTED.
+ * - "STATUS_UNSPECIFIED" : Zero is an illegal value.
+ * - "IN_PROGRESS" : In progress.
+ * - "PAUSED" : Paused.
+ * - "SUCCESS" : Completed successfully.
+ * - "FAILED" : Terminated due to an unrecoverable failure.
+ * - "ABORTED" : Aborted by the user.
*/
core.String status;
/** The name of the transfer job that triggers this transfer operation. */
core.String transferJobName;
- /** Transfer specification. Required. */
+ /**
+ * Transfer specification.
+ * Required.
+ */
TransferSpec transferSpec;
TransferOperation();
@@ -1767,8 +1943,8 @@
}
/**
- * TransferOptions uses three boolean parameters to define the actions to be
- * performed on objects in a transfer.
+ * TransferOptions uses three boolean parameters to define the actions
+ * to be performed on objects in a transfer.
*/
class TransferOptions {
/**
@@ -1822,8 +1998,8 @@
HttpData httpDataSource;
/**
* Only objects that satisfy these object conditions are included in the set
- * of data source and data sink objects. Object conditions based on objects'
- * `lastModificationTime` do not exclude objects in a data sink.
+ * of data source and data sink objects. Object conditions based on
+ * objects' `lastModificationTime` do not exclude objects in a data sink.
*/
ObjectConditions objectConditions;
/**
@@ -1883,16 +2059,19 @@
/** Request passed to UpdateTransferJob. */
class UpdateTransferJobRequest {
/**
- * The ID of the Google Developers Console project that owns the job.
+ * The ID of the Google Cloud Platform Console project that owns the job.
* Required.
*/
core.String projectId;
- /** The job to update. Required. */
+ /**
+ * The job to update.
+ * Required.
+ */
TransferJob transferJob;
/**
* The field mask of the fields in `transferJob` that are to be updated in
- * this request. Fields in `transferJob` that can be updated are:
- * `description`, `transferSpec`, and `status`. To update the `transferSpec`
+ * this request. Fields in `transferJob` that can be updated are:
+ * `description`, `transferSpec`, and `status`. To update the `transferSpec`
* of the job, a complete transfer specification has to be provided. An
* incomplete specification which misses any required fields will be rejected
* with the error `INVALID_ARGUMENT`.
diff --git a/generated/googleapis/lib/surveys/v2.dart b/generated/googleapis/lib/surveys/v2.dart
index 574f558..c99660b 100644
--- a/generated/googleapis/lib/surveys/v2.dart
+++ b/generated/googleapis/lib/surveys/v2.dart
@@ -1482,8 +1482,6 @@
* error reporting or troubleshooting requests.
*/
core.String requestId;
- /** Survey object containing the specification of the started Survey. */
- Survey resource;
SurveysStartResponse();
@@ -1491,9 +1489,6 @@
if (_json.containsKey("requestId")) {
requestId = _json["requestId"];
}
- if (_json.containsKey("resource")) {
- resource = new Survey.fromJson(_json["resource"]);
- }
}
core.Map toJson() {
@@ -1501,9 +1496,6 @@
if (requestId != null) {
_json["requestId"] = requestId;
}
- if (resource != null) {
- _json["resource"] = (resource).toJson();
- }
return _json;
}
}
@@ -1514,8 +1506,6 @@
* error reporting or troubleshooting requests.
*/
core.String requestId;
- /** Survey object containing the specification of the stopped Survey. */
- Survey resource;
SurveysStopResponse();
@@ -1523,9 +1513,6 @@
if (_json.containsKey("requestId")) {
requestId = _json["requestId"];
}
- if (_json.containsKey("resource")) {
- resource = new Survey.fromJson(_json["resource"]);
- }
}
core.Map toJson() {
@@ -1533,9 +1520,6 @@
if (requestId != null) {
_json["requestId"] = requestId;
}
- if (resource != null) {
- _json["resource"] = (resource).toJson();
- }
return _json;
}
}
diff --git a/generated/googleapis/lib/tracing/v1.dart b/generated/googleapis/lib/tracing/v2.dart
similarity index 80%
rename from generated/googleapis/lib/tracing/v1.dart
rename to generated/googleapis/lib/tracing/v2.dart
index d7a38ba..a1c7de0 100644
--- a/generated/googleapis/lib/tracing/v1.dart
+++ b/generated/googleapis/lib/tracing/v2.dart
@@ -1,6 +1,6 @@
// This is a generated file (see the discoveryapis_generator project).
-library googleapis.tracing.v1;
+library googleapis.tracing.v2;
import 'dart:core' as core;
import 'dart:async' as async;
@@ -12,7 +12,7 @@
export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
ApiRequestError, DetailedApiRequestError;
-const core.String USER_AGENT = 'dart-api-client tracing/v1';
+const core.String USER_AGENT = 'dart-api-client tracing/v2';
/** Send and retrieve trace data from Google Stackdriver Trace. */
class TracingApi {
@@ -48,21 +48,24 @@
class ProjectsTracesResourceApi {
final commons.ApiRequester _requester;
+ ProjectsTracesSpansResourceApi get spans => new ProjectsTracesSpansResourceApi(_requester);
+
ProjectsTracesResourceApi(commons.ApiRequester client) :
_requester = client;
/**
- * Sends new spans to Stackdriver Trace or updates existing spans. If the
- * name of a trace that you send matches that of an existing trace, any fields
- * in the existing trace and its spans are overwritten by the provided values,
- * and any new fields provided are merged with the existing trace data. If the
- * name does not match, a new trace is created with given set of spans.
+ * Sends new spans to Stackdriver Trace or updates existing traces. If the
+ * name of a trace that you send matches that of an existing trace, new spans
+ * are added to the existing trace. Attempt to update existing spans results
+ * undefined behavior. If the name does not match, a new trace is created
+ * with given set of spans.
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [parent] - ID of the Cloud project where the trace data is stored.
+ * [name] - Name of the project where the spans belong to. Format is
+ * `projects/PROJECT_ID`.
* Value must have pattern "^projects/[^/]+$".
*
* Completes with a [Empty].
@@ -73,7 +76,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Empty> batchUpdate(BatchUpdateSpansRequest request, core.String parent) {
+ async.Future<Empty> batchWrite(BatchWriteSpansRequest request, core.String name) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -84,11 +87,11 @@
if (request != null) {
_body = convert.JSON.encode((request).toJson());
}
- if (parent == null) {
- throw new core.ArgumentError("Parameter parent is required.");
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/traces:batchUpdate';
+ _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$name') + '/traces:batchWrite';
var _response = _requester.request(_url,
"POST",
@@ -101,62 +104,14 @@
}
/**
- * Returns a specific trace.
- *
- * Request parameters:
- *
- * [name] - ID of the trace. Format is `projects/PROJECT_ID/traces/TRACE_ID`.
- * Value must have pattern "^projects/[^/]+/traces/[^/]+$".
- *
- * Completes with a [Trace].
- *
- * Completes with a [commons.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<Trace> get(core.String name) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (name == null) {
- throw new core.ArgumentError("Parameter name is required.");
- }
-
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
-
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new Trace.fromJson(data));
- }
-
- /**
* Returns of a list of traces that match the specified filter conditions.
*
* Request parameters:
*
- * [parent] - ID of the Cloud project where the trace data is stored.
+ * [parent] - ID of the Cloud project where the trace data is stored which is
+ * `projects/PROJECT_ID`.
* Value must have pattern "^projects/[^/]+$".
*
- * [filter] - An optional filter for the request.
- * Example:
- * `version_label_key:a some_label:some_label_key`
- * returns traces from version `a` and has `some_label` with `some_label_key`.
- *
- * [endTime] - End of the time interval (inclusive) during which the trace
- * data was
- * collected from the application.
- *
* [startTime] - Start of the time interval (inclusive) during which the trace
* data was
* collected from the application.
@@ -184,6 +139,15 @@
*
* Only one sort field is permitted.
*
+ * [filter] - An optional filter for the request.
+ * Example:
+ * `version_label_key:a some_label:some_label_key`
+ * returns traces from version `a` and has `some_label` with `some_label_key`.
+ *
+ * [endTime] - End of the time interval (inclusive) during which the trace
+ * data was
+ * collected from the application.
+ *
* Completes with a [ListTracesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -192,7 +156,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTracesResponse> list(core.String parent, {core.String filter, core.String endTime, core.String startTime, core.String pageToken, core.int pageSize, core.String orderBy}) {
+ async.Future<ListTracesResponse> list(core.String parent, {core.String startTime, core.String pageToken, core.int pageSize, core.String orderBy, core.String filter, core.String endTime}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -203,12 +167,6 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (endTime != null) {
- _queryParams["endTime"] = [endTime];
- }
if (startTime != null) {
_queryParams["startTime"] = [startTime];
}
@@ -221,8 +179,14 @@
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (endTime != null) {
+ _queryParams["endTime"] = [endTime];
+ }
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/traces';
+ _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/traces';
var _response = _requester.request(_url,
"GET",
@@ -239,7 +203,7 @@
*
* Request parameters:
*
- * [name] - ID of the trace for which to list child spans. Format is
+ * [parent] - ID of the trace for which to list child spans. Format is
* `projects/PROJECT_ID/traces/TRACE_ID`.
* Value must have pattern "^projects/[^/]+/traces/[^/]+$".
*
@@ -255,7 +219,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListSpansResponse> listSpans(core.String name, {core.String pageToken}) {
+ async.Future<ListSpansResponse> listSpans(core.String parent, {core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -263,14 +227,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (name == null) {
- throw new core.ArgumentError("Parameter name is required.");
+ if (parent == null) {
+ throw new core.ArgumentError("Parameter parent is required.");
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + ':listSpans';
+ _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + ':listSpans';
var _response = _requester.request(_url,
"GET",
@@ -285,12 +249,83 @@
}
+class ProjectsTracesSpansResourceApi {
+ final commons.ApiRequester _requester;
-/** Text annotation with a set of attributes. */
+ ProjectsTracesSpansResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Creates a new Span.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [name] - The resource name of Span in the format
+ * `projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID`.
+ * `TRACE_ID` is a unique identifier for a trace within a project and is a
+ * base16-encoded, case-insensitive string and is required to be 32 char long.
+ * `SPAN_ID` is a unique identifier for a span within a trace. It is a
+ * base 16-encoded, case-insensitive string of a 8-bytes array and is required
+ * to be 16 char long.
+ * Value must have pattern "^projects/[^/]+/traces/[^/]+/spans/[^/]+$".
+ *
+ * Completes with a [Span].
+ *
+ * Completes with a [commons.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<Span> create(Span request, core.String name) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+
+ _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$name');
+
+ var _response = _requester.request(_url,
+ "PUT",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Span.fromJson(data));
+ }
+
+}
+
+
+
+/**
+ * Text annotation with a set of attributes. A maximum of 32 annotations are
+ * allowed per Span.
+ */
class Annotation {
- /** A set of attributes on the annotation. */
+ /**
+ * A set of attributes on the annotation. A maximum of 4 attributes are
+ * allowed per Annotation. The maximum key length is 128 bytes. The
+ * value can be a string (up to 256 bytes), integer, or boolean
+ * (true/false).
+ */
core.Map<core.String, AttributeValue> attributes;
- /** A user-supplied message describing the event. */
+ /**
+ * A user-supplied message describing the event. The maximum length for
+ * the description is 256 characters.
+ */
core.String description;
Annotation();
@@ -354,23 +389,23 @@
}
}
-/** The request message for the `BatchUpdateSpans` method. */
-class BatchUpdateSpansRequest {
- /** A map from trace name to spans to be stored or updated. */
- core.Map<core.String, SpanUpdates> spanUpdates;
+/** The request message for the `BatchWriteSpans` method. */
+class BatchWriteSpansRequest {
+ /** A collection of spans. */
+ core.List<Span> spans;
- BatchUpdateSpansRequest();
+ BatchWriteSpansRequest();
- BatchUpdateSpansRequest.fromJson(core.Map _json) {
- if (_json.containsKey("spanUpdates")) {
- spanUpdates = commons.mapMap(_json["spanUpdates"], (item) => new SpanUpdates.fromJson(item));
+ BatchWriteSpansRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("spans")) {
+ spans = _json["spans"].map((value) => new Span.fromJson(value)).toList();
}
}
core.Map toJson() {
var _json = new core.Map();
- if (spanUpdates != null) {
- _json["spanUpdates"] = commons.mapMap(spanUpdates, (item) => (item).toJson());
+ if (spans != null) {
+ _json["spans"] = spans.map((value) => (value).toJson()).toList();
}
return _json;
}
@@ -401,14 +436,24 @@
}
/**
- * A pointer from this span to another span in a different `Trace`. Used
+ * A pointer from this span to another span in a different `Trace` within
+ * the same service project or within a different service project. Used
* (for example) in batching operations, where a single batch handler
- * processes multiple requests from different traces.
+ * processes multiple requests from different traces or when receives a
+ * request from a different service project.
*/
class Link {
- /** The `id` of the linked span. */
+ /**
+ * `SPAN_ID` is a unique identifier for a span within a trace. It is a
+ * base16-encoded, case-insensitive string of a 8-bytes array and is
+ * required to be 16 char long.
+ */
core.String spanId;
- /** The ID of the parent trace of the linked span. */
+ /**
+ * `TRACE_ID` is a unique identifier for a trace within a project. It is
+ * a base16-encoded, case-insensitive string of a 16-bytes array and is
+ * required to be 32 char long.
+ */
core.String traceId;
/**
* The relationship of the current span relative to the linked span.
@@ -519,13 +564,13 @@
/** Binary module. */
class Module {
/**
- * Build_id is a unique identifier for the module,
- * usually a hash of its contents
+ * Build_id is a unique identifier for the module, usually a hash of its
+ * contents (up to 128 characters).
*/
core.String buildId;
/**
* E.g. main binary, kernel modules, and dynamic libraries
- * such as libc.so, sharedlib.so
+ * such as libc.so, sharedlib.so (up to 256 characters).
*/
core.String module;
@@ -552,8 +597,15 @@
}
}
-/** An event describing an RPC message sent/received on the network. */
+/**
+ * An event describing an RPC message sent/received on the network. A
+ * maximum of 128 network events are allowed per Span.
+ */
class NetworkEvent {
+ /** An identifier for the message, which must be unique in this span. */
+ core.String messageId;
+ /** The number of bytes sent or received. */
+ core.String messageSize;
/**
* If available, this is the kernel time:
*
@@ -561,11 +613,7 @@
* * For received messages, this is the time at which the last bit was
* received.
*/
- core.String kernelTime;
- /** An identifier for the message, which must be unique in this span. */
- core.String messageId;
- /** The number of bytes sent or received. */
- core.String messageSize;
+ core.String time;
/**
* Type of NetworkEvent. Indicates whether the RPC message was sent or
* received.
@@ -579,15 +627,15 @@
NetworkEvent();
NetworkEvent.fromJson(core.Map _json) {
- if (_json.containsKey("kernelTime")) {
- kernelTime = _json["kernelTime"];
- }
if (_json.containsKey("messageId")) {
messageId = _json["messageId"];
}
if (_json.containsKey("messageSize")) {
messageSize = _json["messageSize"];
}
+ if (_json.containsKey("time")) {
+ time = _json["time"];
+ }
if (_json.containsKey("type")) {
type = _json["type"];
}
@@ -595,15 +643,15 @@
core.Map toJson() {
var _json = new core.Map();
- if (kernelTime != null) {
- _json["kernelTime"] = kernelTime;
- }
if (messageId != null) {
_json["messageId"] = messageId;
}
if (messageSize != null) {
_json["messageSize"] = messageSize;
}
+ if (time != null) {
+ _json["time"] = time;
+ }
if (type != null) {
_json["type"] = type;
}
@@ -621,9 +669,9 @@
*/
class Span {
/**
- * Properties of a span in key:value format. The maximum length for the
- * key is 128 characters. The value can be a string (up to 2000 characters),
- * int, or boolean.
+ * Attributes of a span with a key:value format. A maximum of 16 custom
+ * attributes are allowed per Span. The maximum key length is 128 bytes. The
+ * value can be a string (up to 256 bytes), integer, or boolean (true/false).
*
* Some common pair examples:
*
@@ -638,18 +686,16 @@
* "abc.com/myattribute": true
*/
core.Map<core.String, AttributeValue> attributes;
- /** True if this span has a remote parent (is an RPC server span). */
- core.bool hasRemoteParent;
/**
- * Identifier for the span. Must be a 64-bit integer other than 0 and
- * unique within a trace.
+ * Description of the operation in the span. It is sanitized and displayed in
+ * the Stackdriver Trace tool in the
+ * {% dynamic print site_values.console_name %}.
+ * The display_name may be a method name or some other per-call site
+ * name. For the same executable and the same call point, a best practice is
+ * to use a consistent operation name, which makes it easier to correlate
+ * cross-trace spans.
*/
- core.String id;
- /**
- * A collection of links, which are references from this span to another span
- * in a different trace.
- */
- core.List<Link> links;
+ core.String displayName;
/**
* End time of the span.
* On the client side, this is the local machine clock time at which the span
@@ -657,7 +703,35 @@
* side, this is the time at which the server application handler stopped
* running.
*/
- core.String localEndTime;
+ core.String endTime;
+ /**
+ * A collection of links, which are references from this span to a span
+ * in the same or different trace.
+ */
+ core.List<Link> links;
+ /**
+ * The resource name of Span in the format
+ * `projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID`.
+ * `TRACE_ID` is a unique identifier for a trace within a project and is a
+ * base16-encoded, case-insensitive string and is required to be 32 char long.
+ * `SPAN_ID` is a unique identifier for a span within a trace. It is a
+ * base 16-encoded, case-insensitive string of a 8-bytes array and is required
+ * to be 16 char long.
+ */
+ core.String name;
+ /**
+ * ID of parent span which is a base 16-encoded, case-insensitive string of
+ * a 8-bytes array and is required to be 16 char long. If this is a root span,
+ * the value must be empty.
+ */
+ core.String parentSpanId;
+ /**
+ * Unique identifier for a span within a trace. It is a base 16-encoded,
+ * case-insensitive string of a 8-bytes array and is required.
+ */
+ core.String spanId;
+ /** Stack trace captured at the start of the span. */
+ StackTrace stackTrace;
/**
* Start time of the span.
* On the client side, this is the local machine clock time at which the span
@@ -665,23 +739,7 @@
* side, this is the time at which the server application handler started
* running.
*/
- core.String localStartTime;
- /**
- * Name of the span. The span name is sanitized and displayed in the
- * Stackdriver Trace tool in the {% dynamic print site_values.console_name %}.
- * The name may be a method name or some other per-call site name.
- * For the same executable and the same call point, a best practice is
- * to use a consistent name, which makes it easier to correlate
- * cross-trace spans.
- */
- core.String name;
- /**
- * ID of the parent span. If this is a root span, the value must be `0` or
- * empty.
- */
- core.String parentId;
- /** Stack trace captured at the start of the span. */
- StackTrace stackTrace;
+ core.String startTime;
/** An optional final status for this span. */
Status status;
/**
@@ -697,30 +755,30 @@
if (_json.containsKey("attributes")) {
attributes = commons.mapMap(_json["attributes"], (item) => new AttributeValue.fromJson(item));
}
- if (_json.containsKey("hasRemoteParent")) {
- hasRemoteParent = _json["hasRemoteParent"];
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
}
- if (_json.containsKey("id")) {
- id = _json["id"];
+ if (_json.containsKey("endTime")) {
+ endTime = _json["endTime"];
}
if (_json.containsKey("links")) {
links = _json["links"].map((value) => new Link.fromJson(value)).toList();
}
- if (_json.containsKey("localEndTime")) {
- localEndTime = _json["localEndTime"];
- }
- if (_json.containsKey("localStartTime")) {
- localStartTime = _json["localStartTime"];
- }
if (_json.containsKey("name")) {
name = _json["name"];
}
- if (_json.containsKey("parentId")) {
- parentId = _json["parentId"];
+ if (_json.containsKey("parentSpanId")) {
+ parentSpanId = _json["parentSpanId"];
+ }
+ if (_json.containsKey("spanId")) {
+ spanId = _json["spanId"];
}
if (_json.containsKey("stackTrace")) {
stackTrace = new StackTrace.fromJson(_json["stackTrace"]);
}
+ if (_json.containsKey("startTime")) {
+ startTime = _json["startTime"];
+ }
if (_json.containsKey("status")) {
status = new Status.fromJson(_json["status"]);
}
@@ -734,30 +792,30 @@
if (attributes != null) {
_json["attributes"] = commons.mapMap(attributes, (item) => (item).toJson());
}
- if (hasRemoteParent != null) {
- _json["hasRemoteParent"] = hasRemoteParent;
+ if (displayName != null) {
+ _json["displayName"] = displayName;
}
- if (id != null) {
- _json["id"] = id;
+ if (endTime != null) {
+ _json["endTime"] = endTime;
}
if (links != null) {
_json["links"] = links.map((value) => (value).toJson()).toList();
}
- if (localEndTime != null) {
- _json["localEndTime"] = localEndTime;
- }
- if (localStartTime != null) {
- _json["localStartTime"] = localStartTime;
- }
if (name != null) {
_json["name"] = name;
}
- if (parentId != null) {
- _json["parentId"] = parentId;
+ if (parentSpanId != null) {
+ _json["parentSpanId"] = parentSpanId;
+ }
+ if (spanId != null) {
+ _json["spanId"] = spanId;
}
if (stackTrace != null) {
_json["stackTrace"] = (stackTrace).toJson();
}
+ if (startTime != null) {
+ _json["startTime"] = startTime;
+ }
if (status != null) {
_json["status"] = (status).toJson();
}
@@ -768,28 +826,6 @@
}
}
-/** Collection of spans to update. */
-class SpanUpdates {
- /** A collection of spans. */
- core.List<Span> spans;
-
- SpanUpdates();
-
- SpanUpdates.fromJson(core.Map _json) {
- if (_json.containsKey("spans")) {
- spans = _json["spans"].map((value) => new Span.fromJson(value)).toList();
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (spans != null) {
- _json["spans"] = spans.map((value) => (value).toJson()).toList();
- }
- return _json;
- }
-}
-
/** Represents a single stack frame in a stack trace. */
class StackFrame {
/**
@@ -797,11 +833,11 @@
* May not be available in some languages.
*/
core.String columnNumber;
- /** The filename of the file containing this frame. */
+ /** The filename of the file containing this frame (up to 256 characters). */
core.String fileName;
/**
* The fully-qualified name that uniquely identifies this function or
- * method.
+ * method (up to 1024 characters).
*/
core.String functionName;
/** Line number of the frame. */
@@ -811,10 +847,10 @@
/**
* Used when the function name is
* [mangled](http://www.avabodh.com/cxxin/namemangling.html). May be
- * fully-qualified.
+ * fully-qualified (up to 1024 characters).
*/
core.String originalFunctionName;
- /** The version of the deployed source code. */
+ /** The version of the deployed source code (up to 128 characters). */
core.String sourceVersion;
StackFrame();
@@ -872,7 +908,7 @@
/** StackTrace collected in a trace. */
class StackTrace {
- /** Stack frames of this stack trace. */
+ /** Stack frames in this stack trace. A maximum of 128 frames are allowed. */
core.List<StackFrame> stackFrame;
/**
* The hash ID is used to conserve network bandwidth for duplicate
@@ -1017,10 +1053,10 @@
class TimeEvent {
/** One or more key:value pairs. */
Annotation annotation;
- /** The timestamp indicating the time the event occurred. */
- core.String localTime;
/** An event describing an RPC message sent/received on the network. */
NetworkEvent networkEvent;
+ /** The timestamp indicating the time the event occurred. */
+ core.String time;
TimeEvent();
@@ -1028,12 +1064,12 @@
if (_json.containsKey("annotation")) {
annotation = new Annotation.fromJson(_json["annotation"]);
}
- if (_json.containsKey("localTime")) {
- localTime = _json["localTime"];
- }
if (_json.containsKey("networkEvent")) {
networkEvent = new NetworkEvent.fromJson(_json["networkEvent"]);
}
+ if (_json.containsKey("time")) {
+ time = _json["time"];
+ }
}
core.Map toJson() {
@@ -1041,12 +1077,12 @@
if (annotation != null) {
_json["annotation"] = (annotation).toJson();
}
- if (localTime != null) {
- _json["localTime"] = localTime;
- }
if (networkEvent != null) {
_json["networkEvent"] = (networkEvent).toJson();
}
+ if (time != null) {
+ _json["time"] = time;
+ }
return _json;
}
}
@@ -1058,9 +1094,10 @@
*/
class Trace {
/**
- * A globally unique identifier for the trace in the format
- * `projects/PROJECT_NUMBER/traces/TRACE_ID`. `TRACE_ID` is a base16-encoded
- * string of a 128-bit number and is required to be 32 char long.
+ * The resource name of Trace in the format
+ * `projects/PROJECT_ID/traces/TRACE_ID`. `TRACE_ID` is a unique identifier
+ * for a trace within a project and is a base16-encoded, case-insensitive
+ * string and is required to be 32 char long.
*/
core.String name;
diff --git a/generated/googleapis/lib/youtubereporting/v1.dart b/generated/googleapis/lib/youtubereporting/v1.dart
index 9ab8ae0..bf1264e 100644
--- a/generated/googleapis/lib/youtubereporting/v1.dart
+++ b/generated/googleapis/lib/youtubereporting/v1.dart
@@ -193,6 +193,10 @@
*
* Request parameters:
*
+ * [onBehalfOfContentOwner] - The content owner's external ID on which behalf
+ * the user is acting on. If
+ * not set, the user is acting for himself (his own channel).
+ *
* [pageToken] - A token identifying a page of results the server should
* return. Typically,
* this is the value of
@@ -208,10 +212,6 @@
* requested.
* If unspecified, server will pick an appropriate default.
*
- * [onBehalfOfContentOwner] - The content owner's external ID on which behalf
- * the user is acting on. If
- * not set, the user is acting for himself (his own channel).
- *
* Completes with a [ListJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -220,7 +220,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListJobsResponse> list({core.String pageToken, core.bool includeSystemManaged, core.int pageSize, core.String onBehalfOfContentOwner}) {
+ async.Future<ListJobsResponse> list({core.String onBehalfOfContentOwner, core.String pageToken, core.bool includeSystemManaged, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -228,6 +228,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -237,9 +240,6 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
_url = 'v1/jobs';
@@ -321,31 +321,31 @@
*
* [jobId] - The ID of the job.
*
- * [onBehalfOfContentOwner] - The content owner's external ID on which behalf
- * the user is acting on. If
- * not set, the user is acting for himself (his own channel).
- *
- * [startTimeBefore] - If set, only reports whose start time is smaller than
- * the specified
- * date/time are returned.
- *
* [createdAfter] - If set, only reports created after the specified date/time
* are returned.
*
- * [startTimeAtOrAfter] - If set, only reports whose start time is greater
- * than or equal the
- * specified date/time are returned.
- *
* [pageToken] - A token identifying a page of results the server should
* return. Typically,
* this is the value of
* ListReportsResponse.next_page_token
* returned in response to the previous call to the `ListReports` method.
*
+ * [startTimeAtOrAfter] - If set, only reports whose start time is greater
+ * than or equal the
+ * specified date/time are returned.
+ *
* [pageSize] - Requested page size. Server may return fewer report types than
* requested.
* If unspecified, server will pick an appropriate default.
*
+ * [onBehalfOfContentOwner] - The content owner's external ID on which behalf
+ * the user is acting on. If
+ * not set, the user is acting for himself (his own channel).
+ *
+ * [startTimeBefore] - If set, only reports whose start time is smaller than
+ * the specified
+ * date/time are returned.
+ *
* Completes with a [ListReportsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -354,7 +354,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListReportsResponse> list(core.String jobId, {core.String onBehalfOfContentOwner, core.String startTimeBefore, core.String createdAfter, core.String startTimeAtOrAfter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListReportsResponse> list(core.String jobId, {core.String createdAfter, core.String pageToken, core.String startTimeAtOrAfter, core.int pageSize, core.String onBehalfOfContentOwner, core.String startTimeBefore}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -365,24 +365,24 @@
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
+ if (createdAfter != null) {
+ _queryParams["createdAfter"] = [createdAfter];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (startTimeAtOrAfter != null) {
+ _queryParams["startTimeAtOrAfter"] = [startTimeAtOrAfter];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (onBehalfOfContentOwner != null) {
_queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
if (startTimeBefore != null) {
_queryParams["startTimeBefore"] = [startTimeBefore];
}
- if (createdAfter != null) {
- _queryParams["createdAfter"] = [createdAfter];
- }
- if (startTimeAtOrAfter != null) {
- _queryParams["startTimeAtOrAfter"] = [startTimeAtOrAfter];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
_url = 'v1/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/reports';
diff --git a/generated/googleapis/pubspec.yaml b/generated/googleapis/pubspec.yaml
index 3f0e905..e319cf8 100644
--- a/generated/googleapis/pubspec.yaml
+++ b/generated/googleapis/pubspec.yaml
@@ -1,7 +1,7 @@
name: googleapis
-version: 0.37.0
+version: 0.38.0
author: Dart Team <misc@dartlang.org>
-description: "Auto-generated client libraries for accessing the following APIs:acceleratedmobilepageurl:v1, adexchangebuyer:v1.3, adexchangebuyer:v1.4, adexchangeseller:v1.1, adexchangeseller:v2.0, admin:datatransfer_v1, admin:directory_v1, admin:reports_v1, adsense:v1.4, adsensehost:v4.1, analytics:v3, analyticsreporting:v4, androidenterprise:v1, androidpublisher:v2, appengine:v1, appsactivity:v1, appstate:v1, bigquery:v2, blogger:v3, books:v1, calendar:v3, civicinfo:v2, classroom:v1, cloudbilling:v1, cloudbuild:v1, clouddebugger:v2, cloudfunctions:v1, cloudkms:v1, cloudresourcemanager:v1, cloudtrace:v1, compute:v1, consumersurveys:v2, container:v1, content:v2, content:v2sandbox, customsearch:v1, dataproc:v1, datastore:v1, deploymentmanager:v2, dfareporting:v2.6, dfareporting:v2.7, discovery:v1, dns:v1, doubleclickbidmanager:v1, doubleclicksearch:v2, drive:v2, drive:v3, firebasedynamiclinks:v1, firebaserules:v1, fitness:v1, fusiontables:v1, fusiontables:v2, games:v1, gamesConfiguration:v1configuration, gamesManagement:v1management, genomics:v1, gmail:v1, groupsmigration:v1, groupssettings:v1, iam:v1, identitytoolkit:v3, kgsearch:v1, language:v1, licensing:v1, logging:v2, manufacturers:v1, mirror:v1, ml:v1, monitoring:v3, oauth2:v2, pagespeedonline:v1, pagespeedonline:v2, partners:v2, people:v1, playmoviespartner:v1, plus:v1, plusDomains:v1, prediction:v1.6, pubsub:v1, qpxExpress:v1, reseller:v1, runtimeconfig:v1, safebrowsing:v4, script:v1, searchconsole:v1, servicecontrol:v1, servicemanagement:v1, serviceuser:v1, sheets:v4, siteVerification:v1, slides:v1, sourcerepo:v1, spanner:v1, storage:v1, storagetransfer:v1, surveys:v2, tagmanager:v1, tasks:v1, tracing:v1, translate:v2, urlshortener:v1, vision:v1, webfonts:v1, webmasters:v3, youtube:v3, youtubeAnalytics:v1, youtubereporting:v1"
+description: "Auto-generated client libraries for accessing the following APIs:acceleratedmobilepageurl:v1, adexchangebuyer:v1.3, adexchangebuyer:v1.4, adexchangeseller:v1.1, adexchangeseller:v2.0, admin:datatransfer_v1, admin:directory_v1, admin:reports_v1, adsense:v1.4, adsensehost:v4.1, analytics:v3, analyticsreporting:v4, androidenterprise:v1, androidpublisher:v2, appengine:v1, appsactivity:v1, appstate:v1, bigquery:v2, blogger:v3, books:v1, calendar:v3, civicinfo:v2, classroom:v1, cloudbilling:v1, cloudbuild:v1, clouddebugger:v2, cloudfunctions:v1, cloudkms:v1, cloudresourcemanager:v1, cloudtrace:v1, compute:v1, consumersurveys:v2, container:v1, content:v2, content:v2sandbox, customsearch:v1, dataproc:v1, datastore:v1, deploymentmanager:v2, dfareporting:v2.6, dfareporting:v2.7, discovery:v1, dns:v1, doubleclickbidmanager:v1, doubleclicksearch:v2, drive:v2, drive:v3, firebasedynamiclinks:v1, firebaserules:v1, fitness:v1, fusiontables:v1, fusiontables:v2, games:v1, gamesConfiguration:v1configuration, gamesManagement:v1management, genomics:v1, gmail:v1, groupsmigration:v1, groupssettings:v1, iam:v1, identitytoolkit:v3, kgsearch:v1, language:v1, licensing:v1, logging:v2, manufacturers:v1, mirror:v1, ml:v1, monitoring:v3, oauth2:v2, pagespeedonline:v1, pagespeedonline:v2, partners:v2, people:v1, playmoviespartner:v1, plus:v1, plusDomains:v1, prediction:v1.6, pubsub:v1, qpxExpress:v1, reseller:v1, runtimeconfig:v1, safebrowsing:v4, script:v1, searchconsole:v1, servicecontrol:v1, servicemanagement:v1, serviceuser:v1, sheets:v4, siteVerification:v1, slides:v1, sourcerepo:v1, spanner:v1, storage:v1, storagetransfer:v1, surveys:v2, tagmanager:v1, tasks:v1, tracing:v2, translate:v2, urlshortener:v1, vision:v1, webfonts:v1, webmasters:v3, youtube:v3, youtubeAnalytics:v1, youtubereporting:v1"
homepage: http://www.dartlang.org/googleapis/
environment:
sdk: '>=1.14.0 <2.0.0'
diff --git a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
index 3d6c3c1..741241d 100644
--- a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
+++ b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
@@ -97,14 +97,14 @@
buildCounterAmpUrlError--;
}
-buildUnnamed1160() {
+buildUnnamed1155() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1160(core.List<core.String> o) {
+checkUnnamed1155(core.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 @@
buildCounterBatchGetAmpUrlsRequest++;
if (buildCounterBatchGetAmpUrlsRequest < 3) {
o.lookupStrategy = "foo";
- o.urls = buildUnnamed1160();
+ o.urls = buildUnnamed1155();
}
buildCounterBatchGetAmpUrlsRequest--;
return o;
@@ -126,32 +126,32 @@
buildCounterBatchGetAmpUrlsRequest++;
if (buildCounterBatchGetAmpUrlsRequest < 3) {
unittest.expect(o.lookupStrategy, unittest.equals('foo'));
- checkUnnamed1160(o.urls);
+ checkUnnamed1155(o.urls);
}
buildCounterBatchGetAmpUrlsRequest--;
}
-buildUnnamed1161() {
+buildUnnamed1156() {
var o = new core.List<api.AmpUrl>();
o.add(buildAmpUrl());
o.add(buildAmpUrl());
return o;
}
-checkUnnamed1161(core.List<api.AmpUrl> o) {
+checkUnnamed1156(core.List<api.AmpUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkAmpUrl(o[0]);
checkAmpUrl(o[1]);
}
-buildUnnamed1162() {
+buildUnnamed1157() {
var o = new core.List<api.AmpUrlError>();
o.add(buildAmpUrlError());
o.add(buildAmpUrlError());
return o;
}
-checkUnnamed1162(core.List<api.AmpUrlError> o) {
+checkUnnamed1157(core.List<api.AmpUrlError> o) {
unittest.expect(o, unittest.hasLength(2));
checkAmpUrlError(o[0]);
checkAmpUrlError(o[1]);
@@ -162,8 +162,8 @@
var o = new api.BatchGetAmpUrlsResponse();
buildCounterBatchGetAmpUrlsResponse++;
if (buildCounterBatchGetAmpUrlsResponse < 3) {
- o.ampUrls = buildUnnamed1161();
- o.urlErrors = buildUnnamed1162();
+ o.ampUrls = buildUnnamed1156();
+ o.urlErrors = buildUnnamed1157();
}
buildCounterBatchGetAmpUrlsResponse--;
return o;
@@ -172,8 +172,8 @@
checkBatchGetAmpUrlsResponse(api.BatchGetAmpUrlsResponse o) {
buildCounterBatchGetAmpUrlsResponse++;
if (buildCounterBatchGetAmpUrlsResponse < 3) {
- checkUnnamed1161(o.ampUrls);
- checkUnnamed1162(o.urlErrors);
+ checkUnnamed1156(o.ampUrls);
+ checkUnnamed1157(o.urlErrors);
}
buildCounterBatchGetAmpUrlsResponse--;
}
diff --git a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
index e609150..2009891 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
@@ -74,14 +74,14 @@
buildCounterAccountBidderLocation--;
}
-buildUnnamed868() {
+buildUnnamed859() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed868(core.List<api.AccountBidderLocation> o) {
+checkUnnamed859(core.List<api.AccountBidderLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountBidderLocation(o[0]);
checkAccountBidderLocation(o[1]);
@@ -92,7 +92,7 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.bidderLocation = buildUnnamed868();
+ o.bidderLocation = buildUnnamed859();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -108,7 +108,7 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed868(o.bidderLocation);
+ checkUnnamed859(o.bidderLocation);
unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals(42));
@@ -120,14 +120,14 @@
buildCounterAccount--;
}
-buildUnnamed869() {
+buildUnnamed860() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed869(core.List<api.Account> o) {
+checkUnnamed860(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -138,7 +138,7 @@
var o = new api.AccountsList();
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- o.items = buildUnnamed869();
+ o.items = buildUnnamed860();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -148,20 +148,20 @@
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed869(o.items);
+ checkUnnamed860(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed870() {
+buildUnnamed861() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed870(core.List<core.String> o) {
+checkUnnamed861(core.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 @@
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed870();
+ o.billingId = buildUnnamed861();
o.kind = "foo";
}
buildCounterBillingInfo--;
@@ -186,20 +186,20 @@
if (buildCounterBillingInfo < 3) {
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.accountName, unittest.equals('foo'));
- checkUnnamed870(o.billingId);
+ checkUnnamed861(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed871() {
+buildUnnamed862() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed871(core.List<api.BillingInfo> o) {
+checkUnnamed862(core.List<api.BillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingInfo(o[0]);
checkBillingInfo(o[1]);
@@ -210,7 +210,7 @@
var o = new api.BillingInfoList();
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- o.items = buildUnnamed871();
+ o.items = buildUnnamed862();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -220,7 +220,7 @@
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed871(o.items);
+ checkUnnamed862(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -255,53 +255,53 @@
buildCounterBudget--;
}
-buildUnnamed872() {
+buildUnnamed863() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed872(core.List<core.String> o) {
+checkUnnamed863(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed873() {
+buildUnnamed864() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed873(core.List<core.int> o) {
+checkUnnamed864(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));
}
-buildUnnamed874() {
+buildUnnamed865() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed874(core.List<core.String> o) {
+checkUnnamed865(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed875() {
+buildUnnamed866() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed875(core.List<core.String> o) {
+checkUnnamed866(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -312,7 +312,7 @@
var o = new api.CreativeCorrections();
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- o.details = buildUnnamed875();
+ o.details = buildUnnamed866();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -322,33 +322,33 @@
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed875(o.details);
+ checkUnnamed866(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed876() {
+buildUnnamed867() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed876(core.List<api.CreativeCorrections> o) {
+checkUnnamed867(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed877() {
+buildUnnamed868() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed877(core.List<core.String> o) {
+checkUnnamed868(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -359,7 +359,7 @@
var o = new api.CreativeDisapprovalReasons();
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- o.details = buildUnnamed877();
+ o.details = buildUnnamed868();
o.reason = "foo";
}
buildCounterCreativeDisapprovalReasons--;
@@ -369,20 +369,20 @@
checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- checkUnnamed877(o.details);
+ checkUnnamed868(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeDisapprovalReasons--;
}
-buildUnnamed878() {
+buildUnnamed869() {
var o = new core.List<api.CreativeDisapprovalReasons>();
o.add(buildCreativeDisapprovalReasons());
o.add(buildCreativeDisapprovalReasons());
return o;
}
-checkUnnamed878(core.List<api.CreativeDisapprovalReasons> o) {
+checkUnnamed869(core.List<api.CreativeDisapprovalReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDisapprovalReasons(o[0]);
checkCreativeDisapprovalReasons(o[1]);
@@ -409,14 +409,14 @@
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed879() {
+buildUnnamed870() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed879(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed870(core.List<api.CreativeFilteringReasonsReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFilteringReasonsReasons(o[0]);
checkCreativeFilteringReasonsReasons(o[1]);
@@ -428,7 +428,7 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
o.date = "foo";
- o.reasons = buildUnnamed879();
+ o.reasons = buildUnnamed870();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -438,19 +438,19 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed879(o.reasons);
+ checkUnnamed870(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed880() {
+buildUnnamed871() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed880(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'));
@@ -502,14 +502,14 @@
buildCounterCreativeNativeAdImage--;
}
-buildUnnamed881() {
+buildUnnamed872() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed881(core.List<core.String> o) {
+checkUnnamed872(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -550,7 +550,7 @@
o.clickTrackingUrl = "foo";
o.headline = "foo";
o.image = buildCreativeNativeAdImage();
- o.impressionTrackingUrl = buildUnnamed881();
+ o.impressionTrackingUrl = buildUnnamed872();
o.logo = buildCreativeNativeAdLogo();
o.price = "foo";
o.starRating = 42.0;
@@ -570,7 +570,7 @@
unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
unittest.expect(o.headline, unittest.equals('foo'));
checkCreativeNativeAdImage(o.image);
- checkUnnamed881(o.impressionTrackingUrl);
+ checkUnnamed872(o.impressionTrackingUrl);
checkCreativeNativeAdLogo(o.logo);
unittest.expect(o.price, unittest.equals('foo'));
unittest.expect(o.starRating, unittest.equals(42.0));
@@ -579,53 +579,53 @@
buildCounterCreativeNativeAd--;
}
-buildUnnamed882() {
+buildUnnamed873() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed882(core.List<core.int> o) {
+checkUnnamed873(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));
}
-buildUnnamed883() {
+buildUnnamed874() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed883(core.List<core.int> o) {
+checkUnnamed874(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));
}
-buildUnnamed884() {
+buildUnnamed875() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed884(core.List<core.int> o) {
+checkUnnamed875(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));
}
-buildUnnamed885() {
+buildUnnamed876() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed885(core.List<core.int> o) {
+checkUnnamed876(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));
@@ -638,25 +638,25 @@
if (buildCounterCreative < 3) {
o.HTMLSnippet = "foo";
o.accountId = 42;
- o.advertiserId = buildUnnamed872();
+ o.advertiserId = buildUnnamed863();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed873();
+ o.attribute = buildUnnamed864();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed874();
- o.corrections = buildUnnamed876();
- o.disapprovalReasons = buildUnnamed878();
+ o.clickThroughUrl = buildUnnamed865();
+ o.corrections = buildUnnamed867();
+ o.disapprovalReasons = buildUnnamed869();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed880();
+ o.impressionTrackingUrl = buildUnnamed871();
o.kind = "foo";
o.nativeAd = buildCreativeNativeAd();
- o.productCategories = buildUnnamed882();
- o.restrictedCategories = buildUnnamed883();
- o.sensitiveCategories = buildUnnamed884();
+ o.productCategories = buildUnnamed873();
+ o.restrictedCategories = buildUnnamed874();
+ o.sensitiveCategories = buildUnnamed875();
o.status = "foo";
- o.vendorType = buildUnnamed885();
+ o.vendorType = buildUnnamed876();
o.version = 42;
o.videoURL = "foo";
o.width = 42;
@@ -670,25 +670,25 @@
if (buildCounterCreative < 3) {
unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
unittest.expect(o.accountId, unittest.equals(42));
- checkUnnamed872(o.advertiserId);
+ checkUnnamed863(o.advertiserId);
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed873(o.attribute);
+ checkUnnamed864(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed874(o.clickThroughUrl);
- checkUnnamed876(o.corrections);
- checkUnnamed878(o.disapprovalReasons);
+ checkUnnamed865(o.clickThroughUrl);
+ checkUnnamed867(o.corrections);
+ checkUnnamed869(o.disapprovalReasons);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed880(o.impressionTrackingUrl);
+ checkUnnamed871(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
checkCreativeNativeAd(o.nativeAd);
- checkUnnamed882(o.productCategories);
- checkUnnamed883(o.restrictedCategories);
- checkUnnamed884(o.sensitiveCategories);
+ checkUnnamed873(o.productCategories);
+ checkUnnamed874(o.restrictedCategories);
+ checkUnnamed875(o.sensitiveCategories);
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed885(o.vendorType);
+ checkUnnamed876(o.vendorType);
unittest.expect(o.version, unittest.equals(42));
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -696,14 +696,14 @@
buildCounterCreative--;
}
-buildUnnamed886() {
+buildUnnamed877() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed886(core.List<api.Creative> o) {
+checkUnnamed877(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -714,7 +714,7 @@
var o = new api.CreativesList();
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- o.items = buildUnnamed886();
+ o.items = buildUnnamed877();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -725,7 +725,7 @@
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed886(o.items);
+ checkUnnamed877(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -779,14 +779,14 @@
buildCounterDirectDeal--;
}
-buildUnnamed887() {
+buildUnnamed878() {
var o = new core.List<api.DirectDeal>();
o.add(buildDirectDeal());
o.add(buildDirectDeal());
return o;
}
-checkUnnamed887(core.List<api.DirectDeal> o) {
+checkUnnamed878(core.List<api.DirectDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectDeal(o[0]);
checkDirectDeal(o[1]);
@@ -797,7 +797,7 @@
var o = new api.DirectDealsList();
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- o.directDeals = buildUnnamed887();
+ o.directDeals = buildUnnamed878();
o.kind = "foo";
}
buildCounterDirectDealsList--;
@@ -807,59 +807,59 @@
checkDirectDealsList(api.DirectDealsList o) {
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- checkUnnamed887(o.directDeals);
+ checkUnnamed878(o.directDeals);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectDealsList--;
}
-buildUnnamed888() {
+buildUnnamed879() {
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;
}
-checkUnnamed888(core.List<core.Object> o) {
+checkUnnamed879(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'));
}
-buildUnnamed889() {
+buildUnnamed880() {
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;
}
-checkUnnamed889(core.List<core.Object> o) {
+checkUnnamed880(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'));
}
-buildUnnamed890() {
+buildUnnamed881() {
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;
}
-checkUnnamed890(core.List<core.Object> o) {
+checkUnnamed881(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'));
}
-buildUnnamed891() {
+buildUnnamed882() {
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;
}
-checkUnnamed891(core.List<core.Object> o) {
+checkUnnamed882(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'));
@@ -872,11 +872,11 @@
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed888();
- o.cookieMatcherStatusRate = buildUnnamed889();
- o.creativeStatusRate = buildUnnamed890();
+ o.calloutStatusRate = buildUnnamed879();
+ o.cookieMatcherStatusRate = buildUnnamed880();
+ o.creativeStatusRate = buildUnnamed881();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed891();
+ o.hostedMatchStatusRate = buildUnnamed882();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -902,11 +902,11 @@
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed888(o.calloutStatusRate);
- checkUnnamed889(o.cookieMatcherStatusRate);
- checkUnnamed890(o.creativeStatusRate);
+ checkUnnamed879(o.calloutStatusRate);
+ checkUnnamed880(o.cookieMatcherStatusRate);
+ checkUnnamed881(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed891(o.hostedMatchStatusRate);
+ checkUnnamed882(o.hostedMatchStatusRate);
unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
@@ -926,14 +926,14 @@
buildCounterPerformanceReport--;
}
-buildUnnamed892() {
+buildUnnamed883() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed892(core.List<api.PerformanceReport> o) {
+checkUnnamed883(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -945,7 +945,7 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed892();
+ o.performanceReport = buildUnnamed883();
}
buildCounterPerformanceReportList--;
return o;
@@ -955,19 +955,19 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed892(o.performanceReport);
+ checkUnnamed883(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed893() {
+buildUnnamed884() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed893(core.List<core.String> o) {
+checkUnnamed884(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -994,40 +994,40 @@
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed894() {
+buildUnnamed885() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed894(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed885(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed895() {
+buildUnnamed886() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed895(core.List<core.String> o) {
+checkUnnamed886(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed896() {
+buildUnnamed887() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed896(core.List<core.String> o) {
+checkUnnamed887(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1054,19 +1054,157 @@
buildCounterPretargetingConfigExcludedPlacements--;
}
-buildUnnamed897() {
+buildUnnamed888() {
var o = new core.List<api.PretargetingConfigExcludedPlacements>();
o.add(buildPretargetingConfigExcludedPlacements());
o.add(buildPretargetingConfigExcludedPlacements());
return o;
}
-checkUnnamed897(core.List<api.PretargetingConfigExcludedPlacements> o) {
+checkUnnamed888(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigExcludedPlacements(o[0]);
checkPretargetingConfigExcludedPlacements(o[1]);
}
+buildUnnamed889() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed889(core.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() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed890(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed891() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed891(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed892() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed892(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed893() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed893(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed894() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed894(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed895() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed895(core.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 buildCounterPretargetingConfigPlacements = 0;
+buildPretargetingConfigPlacements() {
+ var o = new api.PretargetingConfigPlacements();
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ o.token = "foo";
+ o.type = "foo";
+ }
+ buildCounterPretargetingConfigPlacements--;
+ return o;
+}
+
+checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ unittest.expect(o.token, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterPretargetingConfigPlacements--;
+}
+
+buildUnnamed896() {
+ var o = new core.List<api.PretargetingConfigPlacements>();
+ o.add(buildPretargetingConfigPlacements());
+ o.add(buildPretargetingConfigPlacements());
+ return o;
+}
+
+checkUnnamed896(core.List<api.PretargetingConfigPlacements> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPretargetingConfigPlacements(o[0]);
+ checkPretargetingConfigPlacements(o[1]);
+}
+
+buildUnnamed897() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed897(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
buildUnnamed898() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1119,144 +1257,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed902() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed902(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed903() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed903(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed904() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-core.int buildCounterPretargetingConfigPlacements = 0;
-buildPretargetingConfigPlacements() {
- var o = new api.PretargetingConfigPlacements();
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- o.token = "foo";
- o.type = "foo";
- }
- buildCounterPretargetingConfigPlacements--;
- return o;
-}
-
-checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- unittest.expect(o.token, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterPretargetingConfigPlacements--;
-}
-
-buildUnnamed905() {
- var o = new core.List<api.PretargetingConfigPlacements>();
- o.add(buildPretargetingConfigPlacements());
- o.add(buildPretargetingConfigPlacements());
- return o;
-}
-
-checkUnnamed905(core.List<api.PretargetingConfigPlacements> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPretargetingConfigPlacements(o[0]);
- checkPretargetingConfigPlacements(o[1]);
-}
-
-buildUnnamed906() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed906(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed907() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed908() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed908(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed909() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed910() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed910(core.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 buildCounterPretargetingConfig = 0;
buildPretargetingConfig() {
var o = new api.PretargetingConfig();
@@ -1265,26 +1265,26 @@
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed893();
- o.dimensions = buildUnnamed894();
- o.excludedContentLabels = buildUnnamed895();
- o.excludedGeoCriteriaIds = buildUnnamed896();
- o.excludedPlacements = buildUnnamed897();
- o.excludedUserLists = buildUnnamed898();
- o.excludedVerticals = buildUnnamed899();
- o.geoCriteriaIds = buildUnnamed900();
+ o.creativeType = buildUnnamed884();
+ o.dimensions = buildUnnamed885();
+ o.excludedContentLabels = buildUnnamed886();
+ o.excludedGeoCriteriaIds = buildUnnamed887();
+ o.excludedPlacements = buildUnnamed888();
+ o.excludedUserLists = buildUnnamed889();
+ o.excludedVerticals = buildUnnamed890();
+ o.geoCriteriaIds = buildUnnamed891();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed901();
- o.mobileCarriers = buildUnnamed902();
- o.mobileDevices = buildUnnamed903();
- o.mobileOperatingSystemVersions = buildUnnamed904();
- o.placements = buildUnnamed905();
- o.platforms = buildUnnamed906();
- o.supportedCreativeAttributes = buildUnnamed907();
- o.userLists = buildUnnamed908();
- o.vendorTypes = buildUnnamed909();
- o.verticals = buildUnnamed910();
+ o.languages = buildUnnamed892();
+ o.mobileCarriers = buildUnnamed893();
+ o.mobileDevices = buildUnnamed894();
+ o.mobileOperatingSystemVersions = buildUnnamed895();
+ o.placements = buildUnnamed896();
+ o.platforms = buildUnnamed897();
+ o.supportedCreativeAttributes = buildUnnamed898();
+ o.userLists = buildUnnamed899();
+ o.vendorTypes = buildUnnamed900();
+ o.verticals = buildUnnamed901();
}
buildCounterPretargetingConfig--;
return o;
@@ -1296,38 +1296,38 @@
unittest.expect(o.billingId, unittest.equals('foo'));
unittest.expect(o.configId, unittest.equals('foo'));
unittest.expect(o.configName, unittest.equals('foo'));
- checkUnnamed893(o.creativeType);
- checkUnnamed894(o.dimensions);
- checkUnnamed895(o.excludedContentLabels);
- checkUnnamed896(o.excludedGeoCriteriaIds);
- checkUnnamed897(o.excludedPlacements);
- checkUnnamed898(o.excludedUserLists);
- checkUnnamed899(o.excludedVerticals);
- checkUnnamed900(o.geoCriteriaIds);
+ checkUnnamed884(o.creativeType);
+ checkUnnamed885(o.dimensions);
+ checkUnnamed886(o.excludedContentLabels);
+ checkUnnamed887(o.excludedGeoCriteriaIds);
+ checkUnnamed888(o.excludedPlacements);
+ checkUnnamed889(o.excludedUserLists);
+ checkUnnamed890(o.excludedVerticals);
+ checkUnnamed891(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed901(o.languages);
- checkUnnamed902(o.mobileCarriers);
- checkUnnamed903(o.mobileDevices);
- checkUnnamed904(o.mobileOperatingSystemVersions);
- checkUnnamed905(o.placements);
- checkUnnamed906(o.platforms);
- checkUnnamed907(o.supportedCreativeAttributes);
- checkUnnamed908(o.userLists);
- checkUnnamed909(o.vendorTypes);
- checkUnnamed910(o.verticals);
+ checkUnnamed892(o.languages);
+ checkUnnamed893(o.mobileCarriers);
+ checkUnnamed894(o.mobileDevices);
+ checkUnnamed895(o.mobileOperatingSystemVersions);
+ checkUnnamed896(o.placements);
+ checkUnnamed897(o.platforms);
+ checkUnnamed898(o.supportedCreativeAttributes);
+ checkUnnamed899(o.userLists);
+ checkUnnamed900(o.vendorTypes);
+ checkUnnamed901(o.verticals);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed911() {
+buildUnnamed902() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed911(core.List<api.PretargetingConfig> o) {
+checkUnnamed902(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -1338,7 +1338,7 @@
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed911();
+ o.items = buildUnnamed902();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -1348,33 +1348,33 @@
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed911(o.items);
+ checkUnnamed902(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
}
-buildUnnamed912() {
+buildUnnamed903() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed912(core.List<core.int> o) {
+checkUnnamed903(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));
}
-buildUnnamed913() {
+buildUnnamed904() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed913(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'));
@@ -2203,8 +2203,8 @@
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed912();
- var arg_buyerCreativeId = buildUnnamed913();
+ var arg_accountId = buildUnnamed903();
+ var arg_buyerCreativeId = buildUnnamed904();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_statusFilter = "foo";
diff --git a/generated/googleapis/test/adexchangebuyer/v1_4_test.dart b/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
index 72ee973..f3d1a94 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
@@ -76,14 +76,14 @@
buildCounterAccountBidderLocation--;
}
-buildUnnamed1777() {
+buildUnnamed1789() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed1777(core.List<api.AccountBidderLocation> o) {
+checkUnnamed1789(core.List<api.AccountBidderLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountBidderLocation(o[0]);
checkAccountBidderLocation(o[1]);
@@ -94,7 +94,7 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.bidderLocation = buildUnnamed1777();
+ o.bidderLocation = buildUnnamed1789();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -110,7 +110,7 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed1777(o.bidderLocation);
+ checkUnnamed1789(o.bidderLocation);
unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals(42));
@@ -122,14 +122,14 @@
buildCounterAccount--;
}
-buildUnnamed1778() {
+buildUnnamed1790() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1778(core.List<api.Account> o) {
+checkUnnamed1790(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -140,7 +140,7 @@
var o = new api.AccountsList();
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- o.items = buildUnnamed1778();
+ o.items = buildUnnamed1790();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -150,20 +150,20 @@
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed1778(o.items);
+ checkUnnamed1790(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed1779() {
+buildUnnamed1791() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1779(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1791(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -174,7 +174,7 @@
var o = new api.AddOrderDealsRequest();
buildCounterAddOrderDealsRequest++;
if (buildCounterAddOrderDealsRequest < 3) {
- o.deals = buildUnnamed1779();
+ o.deals = buildUnnamed1791();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
}
@@ -185,21 +185,21 @@
checkAddOrderDealsRequest(api.AddOrderDealsRequest o) {
buildCounterAddOrderDealsRequest++;
if (buildCounterAddOrderDealsRequest < 3) {
- checkUnnamed1779(o.deals);
+ checkUnnamed1791(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
}
buildCounterAddOrderDealsRequest--;
}
-buildUnnamed1780() {
+buildUnnamed1792() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1780(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1792(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -210,7 +210,7 @@
var o = new api.AddOrderDealsResponse();
buildCounterAddOrderDealsResponse++;
if (buildCounterAddOrderDealsResponse < 3) {
- o.deals = buildUnnamed1780();
+ o.deals = buildUnnamed1792();
o.proposalRevisionNumber = "foo";
}
buildCounterAddOrderDealsResponse--;
@@ -220,20 +220,20 @@
checkAddOrderDealsResponse(api.AddOrderDealsResponse o) {
buildCounterAddOrderDealsResponse++;
if (buildCounterAddOrderDealsResponse < 3) {
- checkUnnamed1780(o.deals);
+ checkUnnamed1792(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
}
buildCounterAddOrderDealsResponse--;
}
-buildUnnamed1781() {
+buildUnnamed1793() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed1781(core.List<api.MarketplaceNote> o) {
+checkUnnamed1793(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -244,7 +244,7 @@
var o = new api.AddOrderNotesRequest();
buildCounterAddOrderNotesRequest++;
if (buildCounterAddOrderNotesRequest < 3) {
- o.notes = buildUnnamed1781();
+ o.notes = buildUnnamed1793();
}
buildCounterAddOrderNotesRequest--;
return o;
@@ -253,19 +253,19 @@
checkAddOrderNotesRequest(api.AddOrderNotesRequest o) {
buildCounterAddOrderNotesRequest++;
if (buildCounterAddOrderNotesRequest < 3) {
- checkUnnamed1781(o.notes);
+ checkUnnamed1793(o.notes);
}
buildCounterAddOrderNotesRequest--;
}
-buildUnnamed1782() {
+buildUnnamed1794() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed1782(core.List<api.MarketplaceNote> o) {
+checkUnnamed1794(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -276,7 +276,7 @@
var o = new api.AddOrderNotesResponse();
buildCounterAddOrderNotesResponse++;
if (buildCounterAddOrderNotesResponse < 3) {
- o.notes = buildUnnamed1782();
+ o.notes = buildUnnamed1794();
}
buildCounterAddOrderNotesResponse--;
return o;
@@ -285,19 +285,19 @@
checkAddOrderNotesResponse(api.AddOrderNotesResponse o) {
buildCounterAddOrderNotesResponse++;
if (buildCounterAddOrderNotesResponse < 3) {
- checkUnnamed1782(o.notes);
+ checkUnnamed1794(o.notes);
}
buildCounterAddOrderNotesResponse--;
}
-buildUnnamed1783() {
+buildUnnamed1795() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1783(core.List<core.String> o) {
+checkUnnamed1795(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -310,7 +310,7 @@
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed1783();
+ o.billingId = buildUnnamed1795();
o.kind = "foo";
}
buildCounterBillingInfo--;
@@ -322,20 +322,20 @@
if (buildCounterBillingInfo < 3) {
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.accountName, unittest.equals('foo'));
- checkUnnamed1783(o.billingId);
+ checkUnnamed1795(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed1784() {
+buildUnnamed1796() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed1784(core.List<api.BillingInfo> o) {
+checkUnnamed1796(core.List<api.BillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingInfo(o[0]);
checkBillingInfo(o[1]);
@@ -346,7 +346,7 @@
var o = new api.BillingInfoList();
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- o.items = buildUnnamed1784();
+ o.items = buildUnnamed1796();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -356,7 +356,7 @@
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed1784(o.items);
+ checkUnnamed1796(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -431,14 +431,14 @@
buildCounterContactInformation--;
}
-buildUnnamed1785() {
+buildUnnamed1797() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed1785(core.List<api.Proposal> o) {
+checkUnnamed1797(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -449,7 +449,7 @@
var o = new api.CreateOrdersRequest();
buildCounterCreateOrdersRequest++;
if (buildCounterCreateOrdersRequest < 3) {
- o.proposals = buildUnnamed1785();
+ o.proposals = buildUnnamed1797();
o.webPropertyCode = "foo";
}
buildCounterCreateOrdersRequest--;
@@ -459,20 +459,20 @@
checkCreateOrdersRequest(api.CreateOrdersRequest o) {
buildCounterCreateOrdersRequest++;
if (buildCounterCreateOrdersRequest < 3) {
- checkUnnamed1785(o.proposals);
+ checkUnnamed1797(o.proposals);
unittest.expect(o.webPropertyCode, unittest.equals('foo'));
}
buildCounterCreateOrdersRequest--;
}
-buildUnnamed1786() {
+buildUnnamed1798() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed1786(core.List<api.Proposal> o) {
+checkUnnamed1798(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -483,7 +483,7 @@
var o = new api.CreateOrdersResponse();
buildCounterCreateOrdersResponse++;
if (buildCounterCreateOrdersResponse < 3) {
- o.proposals = buildUnnamed1786();
+ o.proposals = buildUnnamed1798();
}
buildCounterCreateOrdersResponse--;
return o;
@@ -492,84 +492,84 @@
checkCreateOrdersResponse(api.CreateOrdersResponse o) {
buildCounterCreateOrdersResponse++;
if (buildCounterCreateOrdersResponse < 3) {
- checkUnnamed1786(o.proposals);
+ checkUnnamed1798(o.proposals);
}
buildCounterCreateOrdersResponse--;
}
-buildUnnamed1787() {
+buildUnnamed1799() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1787(core.List<core.String> o) {
+checkUnnamed1799(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1788() {
+buildUnnamed1800() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1788(core.List<core.int> o) {
+checkUnnamed1800(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));
}
-buildUnnamed1789() {
+buildUnnamed1801() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1789(core.List<core.String> o) {
+checkUnnamed1801(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1790() {
+buildUnnamed1802() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1790(core.List<core.String> o) {
+checkUnnamed1802(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1791() {
+buildUnnamed1803() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1791(core.List<core.int> o) {
+checkUnnamed1803(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));
}
-buildUnnamed1792() {
+buildUnnamed1804() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1792(core.List<core.String> o) {
+checkUnnamed1804(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -580,10 +580,10 @@
var o = new api.CreativeCorrectionsContexts();
buildCounterCreativeCorrectionsContexts++;
if (buildCounterCreativeCorrectionsContexts < 3) {
- o.auctionType = buildUnnamed1790();
+ o.auctionType = buildUnnamed1802();
o.contextType = "foo";
- o.geoCriteriaId = buildUnnamed1791();
- o.platform = buildUnnamed1792();
+ o.geoCriteriaId = buildUnnamed1803();
+ o.platform = buildUnnamed1804();
}
buildCounterCreativeCorrectionsContexts--;
return o;
@@ -592,35 +592,35 @@
checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) {
buildCounterCreativeCorrectionsContexts++;
if (buildCounterCreativeCorrectionsContexts < 3) {
- checkUnnamed1790(o.auctionType);
+ checkUnnamed1802(o.auctionType);
unittest.expect(o.contextType, unittest.equals('foo'));
- checkUnnamed1791(o.geoCriteriaId);
- checkUnnamed1792(o.platform);
+ checkUnnamed1803(o.geoCriteriaId);
+ checkUnnamed1804(o.platform);
}
buildCounterCreativeCorrectionsContexts--;
}
-buildUnnamed1793() {
+buildUnnamed1805() {
var o = new core.List<api.CreativeCorrectionsContexts>();
o.add(buildCreativeCorrectionsContexts());
o.add(buildCreativeCorrectionsContexts());
return o;
}
-checkUnnamed1793(core.List<api.CreativeCorrectionsContexts> o) {
+checkUnnamed1805(core.List<api.CreativeCorrectionsContexts> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrectionsContexts(o[0]);
checkCreativeCorrectionsContexts(o[1]);
}
-buildUnnamed1794() {
+buildUnnamed1806() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1794(core.List<core.String> o) {
+checkUnnamed1806(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -631,8 +631,8 @@
var o = new api.CreativeCorrections();
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- o.contexts = buildUnnamed1793();
- o.details = buildUnnamed1794();
+ o.contexts = buildUnnamed1805();
+ o.details = buildUnnamed1806();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -642,34 +642,34 @@
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed1793(o.contexts);
- checkUnnamed1794(o.details);
+ checkUnnamed1805(o.contexts);
+ checkUnnamed1806(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed1795() {
+buildUnnamed1807() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed1795(core.List<api.CreativeCorrections> o) {
+checkUnnamed1807(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed1796() {
+buildUnnamed1808() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1796(core.List<core.String> o) {
+checkUnnamed1808(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -696,14 +696,14 @@
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed1797() {
+buildUnnamed1809() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed1797(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed1809(core.List<api.CreativeFilteringReasonsReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFilteringReasonsReasons(o[0]);
checkCreativeFilteringReasonsReasons(o[1]);
@@ -715,7 +715,7 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
o.date = "foo";
- o.reasons = buildUnnamed1797();
+ o.reasons = buildUnnamed1809();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -725,32 +725,32 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed1797(o.reasons);
+ checkUnnamed1809(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed1798() {
+buildUnnamed1810() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1798(core.List<core.String> o) {
+checkUnnamed1810(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1799() {
+buildUnnamed1811() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1799(core.List<core.String> o) {
+checkUnnamed1811(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -802,14 +802,14 @@
buildCounterCreativeNativeAdImage--;
}
-buildUnnamed1800() {
+buildUnnamed1812() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1800(core.List<core.String> o) {
+checkUnnamed1812(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -851,7 +851,7 @@
o.clickTrackingUrl = "foo";
o.headline = "foo";
o.image = buildCreativeNativeAdImage();
- o.impressionTrackingUrl = buildUnnamed1800();
+ o.impressionTrackingUrl = buildUnnamed1812();
o.logo = buildCreativeNativeAdLogo();
o.price = "foo";
o.starRating = 42.0;
@@ -873,7 +873,7 @@
unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
unittest.expect(o.headline, unittest.equals('foo'));
checkCreativeNativeAdImage(o.image);
- checkUnnamed1800(o.impressionTrackingUrl);
+ checkUnnamed1812(o.impressionTrackingUrl);
checkCreativeNativeAdLogo(o.logo);
unittest.expect(o.price, unittest.equals('foo'));
unittest.expect(o.starRating, unittest.equals(42.0));
@@ -883,79 +883,79 @@
buildCounterCreativeNativeAd--;
}
-buildUnnamed1801() {
+buildUnnamed1813() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1801(core.List<core.int> o) {
+checkUnnamed1813(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));
}
-buildUnnamed1802() {
+buildUnnamed1814() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1802(core.List<core.int> o) {
+checkUnnamed1814(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));
}
-buildUnnamed1803() {
+buildUnnamed1815() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1803(core.List<core.int> o) {
+checkUnnamed1815(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));
}
-buildUnnamed1804() {
+buildUnnamed1816() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1804(core.List<core.String> o) {
+checkUnnamed1816(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1805() {
+buildUnnamed1817() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1805(core.List<core.int> o) {
+checkUnnamed1817(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));
}
-buildUnnamed1806() {
+buildUnnamed1818() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1806(core.List<core.String> o) {
+checkUnnamed1818(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -966,10 +966,10 @@
var o = new api.CreativeServingRestrictionsContexts();
buildCounterCreativeServingRestrictionsContexts++;
if (buildCounterCreativeServingRestrictionsContexts < 3) {
- o.auctionType = buildUnnamed1804();
+ o.auctionType = buildUnnamed1816();
o.contextType = "foo";
- o.geoCriteriaId = buildUnnamed1805();
- o.platform = buildUnnamed1806();
+ o.geoCriteriaId = buildUnnamed1817();
+ o.platform = buildUnnamed1818();
}
buildCounterCreativeServingRestrictionsContexts--;
return o;
@@ -978,35 +978,35 @@
checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts o) {
buildCounterCreativeServingRestrictionsContexts++;
if (buildCounterCreativeServingRestrictionsContexts < 3) {
- checkUnnamed1804(o.auctionType);
+ checkUnnamed1816(o.auctionType);
unittest.expect(o.contextType, unittest.equals('foo'));
- checkUnnamed1805(o.geoCriteriaId);
- checkUnnamed1806(o.platform);
+ checkUnnamed1817(o.geoCriteriaId);
+ checkUnnamed1818(o.platform);
}
buildCounterCreativeServingRestrictionsContexts--;
}
-buildUnnamed1807() {
+buildUnnamed1819() {
var o = new core.List<api.CreativeServingRestrictionsContexts>();
o.add(buildCreativeServingRestrictionsContexts());
o.add(buildCreativeServingRestrictionsContexts());
return o;
}
-checkUnnamed1807(core.List<api.CreativeServingRestrictionsContexts> o) {
+checkUnnamed1819(core.List<api.CreativeServingRestrictionsContexts> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictionsContexts(o[0]);
checkCreativeServingRestrictionsContexts(o[1]);
}
-buildUnnamed1808() {
+buildUnnamed1820() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1808(core.List<core.String> o) {
+checkUnnamed1820(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1017,7 +1017,7 @@
var o = new api.CreativeServingRestrictionsDisapprovalReasons();
buildCounterCreativeServingRestrictionsDisapprovalReasons++;
if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
- o.details = buildUnnamed1808();
+ o.details = buildUnnamed1820();
o.reason = "foo";
}
buildCounterCreativeServingRestrictionsDisapprovalReasons--;
@@ -1027,20 +1027,20 @@
checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictionsDisapprovalReasons o) {
buildCounterCreativeServingRestrictionsDisapprovalReasons++;
if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
- checkUnnamed1808(o.details);
+ checkUnnamed1820(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeServingRestrictionsDisapprovalReasons--;
}
-buildUnnamed1809() {
+buildUnnamed1821() {
var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>();
o.add(buildCreativeServingRestrictionsDisapprovalReasons());
o.add(buildCreativeServingRestrictionsDisapprovalReasons());
return o;
}
-checkUnnamed1809(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) {
+checkUnnamed1821(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictionsDisapprovalReasons(o[0]);
checkCreativeServingRestrictionsDisapprovalReasons(o[1]);
@@ -1051,8 +1051,8 @@
var o = new api.CreativeServingRestrictions();
buildCounterCreativeServingRestrictions++;
if (buildCounterCreativeServingRestrictions < 3) {
- o.contexts = buildUnnamed1807();
- o.disapprovalReasons = buildUnnamed1809();
+ o.contexts = buildUnnamed1819();
+ o.disapprovalReasons = buildUnnamed1821();
o.reason = "foo";
}
buildCounterCreativeServingRestrictions--;
@@ -1062,34 +1062,34 @@
checkCreativeServingRestrictions(api.CreativeServingRestrictions o) {
buildCounterCreativeServingRestrictions++;
if (buildCounterCreativeServingRestrictions < 3) {
- checkUnnamed1807(o.contexts);
- checkUnnamed1809(o.disapprovalReasons);
+ checkUnnamed1819(o.contexts);
+ checkUnnamed1821(o.disapprovalReasons);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeServingRestrictions--;
}
-buildUnnamed1810() {
+buildUnnamed1822() {
var o = new core.List<api.CreativeServingRestrictions>();
o.add(buildCreativeServingRestrictions());
o.add(buildCreativeServingRestrictions());
return o;
}
-checkUnnamed1810(core.List<api.CreativeServingRestrictions> o) {
+checkUnnamed1822(core.List<api.CreativeServingRestrictions> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictions(o[0]);
checkCreativeServingRestrictions(o[1]);
}
-buildUnnamed1811() {
+buildUnnamed1823() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1811(core.List<core.int> o) {
+checkUnnamed1823(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));
@@ -1103,28 +1103,28 @@
o.HTMLSnippet = "foo";
o.accountId = 42;
o.adChoicesDestinationUrl = "foo";
- o.advertiserId = buildUnnamed1787();
+ o.advertiserId = buildUnnamed1799();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed1788();
+ o.attribute = buildUnnamed1800();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed1789();
- o.corrections = buildUnnamed1795();
+ o.clickThroughUrl = buildUnnamed1801();
+ o.corrections = buildUnnamed1807();
o.dealsStatus = "foo";
- o.detectedDomains = buildUnnamed1796();
+ o.detectedDomains = buildUnnamed1808();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed1798();
+ o.impressionTrackingUrl = buildUnnamed1810();
o.kind = "foo";
- o.languages = buildUnnamed1799();
+ o.languages = buildUnnamed1811();
o.nativeAd = buildCreativeNativeAd();
o.openAuctionStatus = "foo";
- o.productCategories = buildUnnamed1801();
- o.restrictedCategories = buildUnnamed1802();
- o.sensitiveCategories = buildUnnamed1803();
- o.servingRestrictions = buildUnnamed1810();
- o.vendorType = buildUnnamed1811();
+ o.productCategories = buildUnnamed1813();
+ o.restrictedCategories = buildUnnamed1814();
+ o.sensitiveCategories = buildUnnamed1815();
+ o.servingRestrictions = buildUnnamed1822();
+ o.vendorType = buildUnnamed1823();
o.version = 42;
o.videoURL = "foo";
o.width = 42;
@@ -1139,28 +1139,28 @@
unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo'));
- checkUnnamed1787(o.advertiserId);
+ checkUnnamed1799(o.advertiserId);
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed1788(o.attribute);
+ checkUnnamed1800(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed1789(o.clickThroughUrl);
- checkUnnamed1795(o.corrections);
+ checkUnnamed1801(o.clickThroughUrl);
+ checkUnnamed1807(o.corrections);
unittest.expect(o.dealsStatus, unittest.equals('foo'));
- checkUnnamed1796(o.detectedDomains);
+ checkUnnamed1808(o.detectedDomains);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed1798(o.impressionTrackingUrl);
+ checkUnnamed1810(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1799(o.languages);
+ checkUnnamed1811(o.languages);
checkCreativeNativeAd(o.nativeAd);
unittest.expect(o.openAuctionStatus, unittest.equals('foo'));
- checkUnnamed1801(o.productCategories);
- checkUnnamed1802(o.restrictedCategories);
- checkUnnamed1803(o.sensitiveCategories);
- checkUnnamed1810(o.servingRestrictions);
- checkUnnamed1811(o.vendorType);
+ checkUnnamed1813(o.productCategories);
+ checkUnnamed1814(o.restrictedCategories);
+ checkUnnamed1815(o.sensitiveCategories);
+ checkUnnamed1822(o.servingRestrictions);
+ checkUnnamed1823(o.vendorType);
unittest.expect(o.version, unittest.equals(42));
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -1191,14 +1191,14 @@
buildCounterCreativeDealIdsDealStatuses--;
}
-buildUnnamed1812() {
+buildUnnamed1824() {
var o = new core.List<api.CreativeDealIdsDealStatuses>();
o.add(buildCreativeDealIdsDealStatuses());
o.add(buildCreativeDealIdsDealStatuses());
return o;
}
-checkUnnamed1812(core.List<api.CreativeDealIdsDealStatuses> o) {
+checkUnnamed1824(core.List<api.CreativeDealIdsDealStatuses> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDealIdsDealStatuses(o[0]);
checkCreativeDealIdsDealStatuses(o[1]);
@@ -1209,7 +1209,7 @@
var o = new api.CreativeDealIds();
buildCounterCreativeDealIds++;
if (buildCounterCreativeDealIds < 3) {
- o.dealStatuses = buildUnnamed1812();
+ o.dealStatuses = buildUnnamed1824();
o.kind = "foo";
}
buildCounterCreativeDealIds--;
@@ -1219,20 +1219,20 @@
checkCreativeDealIds(api.CreativeDealIds o) {
buildCounterCreativeDealIds++;
if (buildCounterCreativeDealIds < 3) {
- checkUnnamed1812(o.dealStatuses);
+ checkUnnamed1824(o.dealStatuses);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCreativeDealIds--;
}
-buildUnnamed1813() {
+buildUnnamed1825() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed1813(core.List<api.Creative> o) {
+checkUnnamed1825(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -1243,7 +1243,7 @@
var o = new api.CreativesList();
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- o.items = buildUnnamed1813();
+ o.items = buildUnnamed1825();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1254,7 +1254,7 @@
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed1813(o.items);
+ checkUnnamed1825(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1346,14 +1346,14 @@
buildCounterDealTerms--;
}
-buildUnnamed1814() {
+buildUnnamed1826() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed1814(core.List<api.PricePerBuyer> o) {
+checkUnnamed1826(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1365,7 +1365,7 @@
buildCounterDealTermsGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo();
- o.fixedPrices = buildUnnamed1814();
+ o.fixedPrices = buildUnnamed1826();
o.guaranteedImpressions = "foo";
o.guaranteedLooks = "foo";
o.minimumDailyLooks = "foo";
@@ -1378,7 +1378,7 @@
buildCounterDealTermsGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo);
- checkUnnamed1814(o.fixedPrices);
+ checkUnnamed1826(o.fixedPrices);
unittest.expect(o.guaranteedImpressions, unittest.equals('foo'));
unittest.expect(o.guaranteedLooks, unittest.equals('foo'));
unittest.expect(o.minimumDailyLooks, unittest.equals('foo'));
@@ -1411,14 +1411,14 @@
buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--;
}
-buildUnnamed1815() {
+buildUnnamed1827() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed1815(core.List<api.PricePerBuyer> o) {
+checkUnnamed1827(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1430,7 +1430,7 @@
buildCounterDealTermsNonGuaranteedAuctionTerms++;
if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
o.autoOptimizePrivateAuction = true;
- o.reservePricePerBuyers = buildUnnamed1815();
+ o.reservePricePerBuyers = buildUnnamed1827();
}
buildCounterDealTermsNonGuaranteedAuctionTerms--;
return o;
@@ -1440,19 +1440,19 @@
buildCounterDealTermsNonGuaranteedAuctionTerms++;
if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue);
- checkUnnamed1815(o.reservePricePerBuyers);
+ checkUnnamed1827(o.reservePricePerBuyers);
}
buildCounterDealTermsNonGuaranteedAuctionTerms--;
}
-buildUnnamed1816() {
+buildUnnamed1828() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed1816(core.List<api.PricePerBuyer> o) {
+checkUnnamed1828(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1463,7 +1463,7 @@
var o = new api.DealTermsNonGuaranteedFixedPriceTerms();
buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
- o.fixedPrices = buildUnnamed1816();
+ o.fixedPrices = buildUnnamed1828();
}
buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
return o;
@@ -1472,7 +1472,7 @@
checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceTerms o) {
buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
- checkUnnamed1816(o.fixedPrices);
+ checkUnnamed1828(o.fixedPrices);
}
buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
}
@@ -1498,14 +1498,14 @@
buildCounterDealTermsRubiconNonGuaranteedTerms--;
}
-buildUnnamed1817() {
+buildUnnamed1829() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1817(core.List<core.String> o) {
+checkUnnamed1829(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1516,7 +1516,7 @@
var o = new api.DeleteOrderDealsRequest();
buildCounterDeleteOrderDealsRequest++;
if (buildCounterDeleteOrderDealsRequest < 3) {
- o.dealIds = buildUnnamed1817();
+ o.dealIds = buildUnnamed1829();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
}
@@ -1527,21 +1527,21 @@
checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) {
buildCounterDeleteOrderDealsRequest++;
if (buildCounterDeleteOrderDealsRequest < 3) {
- checkUnnamed1817(o.dealIds);
+ checkUnnamed1829(o.dealIds);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
}
buildCounterDeleteOrderDealsRequest--;
}
-buildUnnamed1818() {
+buildUnnamed1830() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1818(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1830(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1552,7 +1552,7 @@
var o = new api.DeleteOrderDealsResponse();
buildCounterDeleteOrderDealsResponse++;
if (buildCounterDeleteOrderDealsResponse < 3) {
- o.deals = buildUnnamed1818();
+ o.deals = buildUnnamed1830();
o.proposalRevisionNumber = "foo";
}
buildCounterDeleteOrderDealsResponse--;
@@ -1562,20 +1562,20 @@
checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) {
buildCounterDeleteOrderDealsResponse++;
if (buildCounterDeleteOrderDealsResponse < 3) {
- checkUnnamed1818(o.deals);
+ checkUnnamed1830(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
}
buildCounterDeleteOrderDealsResponse--;
}
-buildUnnamed1819() {
+buildUnnamed1831() {
var o = new core.List<api.DeliveryControlFrequencyCap>();
o.add(buildDeliveryControlFrequencyCap());
o.add(buildDeliveryControlFrequencyCap());
return o;
}
-checkUnnamed1819(core.List<api.DeliveryControlFrequencyCap> o) {
+checkUnnamed1831(core.List<api.DeliveryControlFrequencyCap> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeliveryControlFrequencyCap(o[0]);
checkDeliveryControlFrequencyCap(o[1]);
@@ -1588,7 +1588,7 @@
if (buildCounterDeliveryControl < 3) {
o.creativeBlockingLevel = "foo";
o.deliveryRateType = "foo";
- o.frequencyCaps = buildUnnamed1819();
+ o.frequencyCaps = buildUnnamed1831();
}
buildCounterDeliveryControl--;
return o;
@@ -1599,7 +1599,7 @@
if (buildCounterDeliveryControl < 3) {
unittest.expect(o.creativeBlockingLevel, unittest.equals('foo'));
unittest.expect(o.deliveryRateType, unittest.equals('foo'));
- checkUnnamed1819(o.frequencyCaps);
+ checkUnnamed1831(o.frequencyCaps);
}
buildCounterDeliveryControl--;
}
@@ -1627,14 +1627,14 @@
buildCounterDeliveryControlFrequencyCap--;
}
-buildUnnamed1820() {
+buildUnnamed1832() {
var o = new core.List<api.DimensionDimensionValue>();
o.add(buildDimensionDimensionValue());
o.add(buildDimensionDimensionValue());
return o;
}
-checkUnnamed1820(core.List<api.DimensionDimensionValue> o) {
+checkUnnamed1832(core.List<api.DimensionDimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionDimensionValue(o[0]);
checkDimensionDimensionValue(o[1]);
@@ -1646,7 +1646,7 @@
buildCounterDimension++;
if (buildCounterDimension < 3) {
o.dimensionType = "foo";
- o.dimensionValues = buildUnnamed1820();
+ o.dimensionValues = buildUnnamed1832();
}
buildCounterDimension--;
return o;
@@ -1656,7 +1656,7 @@
buildCounterDimension++;
if (buildCounterDimension < 3) {
unittest.expect(o.dimensionType, unittest.equals('foo'));
- checkUnnamed1820(o.dimensionValues);
+ checkUnnamed1832(o.dimensionValues);
}
buildCounterDimension--;
}
@@ -1684,14 +1684,14 @@
buildCounterDimensionDimensionValue--;
}
-buildUnnamed1821() {
+buildUnnamed1833() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1821(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1833(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1702,7 +1702,7 @@
var o = new api.EditAllOrderDealsRequest();
buildCounterEditAllOrderDealsRequest++;
if (buildCounterEditAllOrderDealsRequest < 3) {
- o.deals = buildUnnamed1821();
+ o.deals = buildUnnamed1833();
o.proposal = buildProposal();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
@@ -1714,7 +1714,7 @@
checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) {
buildCounterEditAllOrderDealsRequest++;
if (buildCounterEditAllOrderDealsRequest < 3) {
- checkUnnamed1821(o.deals);
+ checkUnnamed1833(o.deals);
checkProposal(o.proposal);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
@@ -1722,14 +1722,14 @@
buildCounterEditAllOrderDealsRequest--;
}
-buildUnnamed1822() {
+buildUnnamed1834() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1822(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1834(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1740,7 +1740,7 @@
var o = new api.EditAllOrderDealsResponse();
buildCounterEditAllOrderDealsResponse++;
if (buildCounterEditAllOrderDealsResponse < 3) {
- o.deals = buildUnnamed1822();
+ o.deals = buildUnnamed1834();
o.orderRevisionNumber = "foo";
}
buildCounterEditAllOrderDealsResponse--;
@@ -1750,20 +1750,20 @@
checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) {
buildCounterEditAllOrderDealsResponse++;
if (buildCounterEditAllOrderDealsResponse < 3) {
- checkUnnamed1822(o.deals);
+ checkUnnamed1834(o.deals);
unittest.expect(o.orderRevisionNumber, unittest.equals('foo'));
}
buildCounterEditAllOrderDealsResponse--;
}
-buildUnnamed1823() {
+buildUnnamed1835() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed1823(core.List<api.Product> o) {
+checkUnnamed1835(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -1774,7 +1774,7 @@
var o = new api.GetOffersResponse();
buildCounterGetOffersResponse++;
if (buildCounterGetOffersResponse < 3) {
- o.products = buildUnnamed1823();
+ o.products = buildUnnamed1835();
}
buildCounterGetOffersResponse--;
return o;
@@ -1783,19 +1783,19 @@
checkGetOffersResponse(api.GetOffersResponse o) {
buildCounterGetOffersResponse++;
if (buildCounterGetOffersResponse < 3) {
- checkUnnamed1823(o.products);
+ checkUnnamed1835(o.products);
}
buildCounterGetOffersResponse--;
}
-buildUnnamed1824() {
+buildUnnamed1836() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1824(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1836(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1806,7 +1806,7 @@
var o = new api.GetOrderDealsResponse();
buildCounterGetOrderDealsResponse++;
if (buildCounterGetOrderDealsResponse < 3) {
- o.deals = buildUnnamed1824();
+ o.deals = buildUnnamed1836();
}
buildCounterGetOrderDealsResponse--;
return o;
@@ -1815,19 +1815,19 @@
checkGetOrderDealsResponse(api.GetOrderDealsResponse o) {
buildCounterGetOrderDealsResponse++;
if (buildCounterGetOrderDealsResponse < 3) {
- checkUnnamed1824(o.deals);
+ checkUnnamed1836(o.deals);
}
buildCounterGetOrderDealsResponse--;
}
-buildUnnamed1825() {
+buildUnnamed1837() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed1825(core.List<api.MarketplaceNote> o) {
+checkUnnamed1837(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -1838,7 +1838,7 @@
var o = new api.GetOrderNotesResponse();
buildCounterGetOrderNotesResponse++;
if (buildCounterGetOrderNotesResponse < 3) {
- o.notes = buildUnnamed1825();
+ o.notes = buildUnnamed1837();
}
buildCounterGetOrderNotesResponse--;
return o;
@@ -1847,19 +1847,19 @@
checkGetOrderNotesResponse(api.GetOrderNotesResponse o) {
buildCounterGetOrderNotesResponse++;
if (buildCounterGetOrderNotesResponse < 3) {
- checkUnnamed1825(o.notes);
+ checkUnnamed1837(o.notes);
}
buildCounterGetOrderNotesResponse--;
}
-buildUnnamed1826() {
+buildUnnamed1838() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed1826(core.List<api.Proposal> o) {
+checkUnnamed1838(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -1870,7 +1870,7 @@
var o = new api.GetOrdersResponse();
buildCounterGetOrdersResponse++;
if (buildCounterGetOrdersResponse < 3) {
- o.proposals = buildUnnamed1826();
+ o.proposals = buildUnnamed1838();
}
buildCounterGetOrdersResponse--;
return o;
@@ -1879,19 +1879,19 @@
checkGetOrdersResponse(api.GetOrdersResponse o) {
buildCounterGetOrdersResponse++;
if (buildCounterGetOrdersResponse < 3) {
- checkUnnamed1826(o.proposals);
+ checkUnnamed1838(o.proposals);
}
buildCounterGetOrdersResponse--;
}
-buildUnnamed1827() {
+buildUnnamed1839() {
var o = new core.List<api.PublisherProfileApiProto>();
o.add(buildPublisherProfileApiProto());
o.add(buildPublisherProfileApiProto());
return o;
}
-checkUnnamed1827(core.List<api.PublisherProfileApiProto> o) {
+checkUnnamed1839(core.List<api.PublisherProfileApiProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublisherProfileApiProto(o[0]);
checkPublisherProfileApiProto(o[1]);
@@ -1902,7 +1902,7 @@
var o = new api.GetPublisherProfilesByAccountIdResponse();
buildCounterGetPublisherProfilesByAccountIdResponse++;
if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
- o.profiles = buildUnnamed1827();
+ o.profiles = buildUnnamed1839();
}
buildCounterGetPublisherProfilesByAccountIdResponse--;
return o;
@@ -1911,32 +1911,32 @@
checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountIdResponse o) {
buildCounterGetPublisherProfilesByAccountIdResponse++;
if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
- checkUnnamed1827(o.profiles);
+ checkUnnamed1839(o.profiles);
}
buildCounterGetPublisherProfilesByAccountIdResponse--;
}
-buildUnnamed1828() {
+buildUnnamed1840() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed1828(core.List<api.ContactInformation> o) {
+checkUnnamed1840(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed1829() {
+buildUnnamed1841() {
var o = new core.List<api.SharedTargeting>();
o.add(buildSharedTargeting());
o.add(buildSharedTargeting());
return o;
}
-checkUnnamed1829(core.List<api.SharedTargeting> o) {
+checkUnnamed1841(core.List<api.SharedTargeting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSharedTargeting(o[0]);
checkSharedTargeting(o[1]);
@@ -1966,8 +1966,8 @@
o.productRevisionNumber = "foo";
o.programmaticCreativeSource = "foo";
o.proposalId = "foo";
- o.sellerContacts = buildUnnamed1828();
- o.sharedTargetings = buildUnnamed1829();
+ o.sellerContacts = buildUnnamed1840();
+ o.sharedTargetings = buildUnnamed1841();
o.syndicationProduct = "foo";
o.terms = buildDealTerms();
o.webPropertyCode = "foo";
@@ -1998,8 +1998,8 @@
unittest.expect(o.productRevisionNumber, unittest.equals('foo'));
unittest.expect(o.programmaticCreativeSource, unittest.equals('foo'));
unittest.expect(o.proposalId, unittest.equals('foo'));
- checkUnnamed1828(o.sellerContacts);
- checkUnnamed1829(o.sharedTargetings);
+ checkUnnamed1840(o.sellerContacts);
+ checkUnnamed1841(o.sharedTargetings);
unittest.expect(o.syndicationProduct, unittest.equals('foo'));
checkDealTerms(o.terms);
unittest.expect(o.webPropertyCode, unittest.equals('foo'));
@@ -2086,53 +2086,53 @@
buildCounterMarketplaceNote--;
}
-buildUnnamed1830() {
+buildUnnamed1842() {
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;
}
-checkUnnamed1830(core.List<core.Object> o) {
+checkUnnamed1842(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'));
}
-buildUnnamed1831() {
+buildUnnamed1843() {
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;
}
-checkUnnamed1831(core.List<core.Object> o) {
+checkUnnamed1843(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'));
}
-buildUnnamed1832() {
+buildUnnamed1844() {
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;
}
-checkUnnamed1832(core.List<core.Object> o) {
+checkUnnamed1844(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'));
}
-buildUnnamed1833() {
+buildUnnamed1845() {
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;
}
-checkUnnamed1833(core.List<core.Object> o) {
+checkUnnamed1845(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'));
@@ -2145,11 +2145,11 @@
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed1830();
- o.cookieMatcherStatusRate = buildUnnamed1831();
- o.creativeStatusRate = buildUnnamed1832();
+ o.calloutStatusRate = buildUnnamed1842();
+ o.cookieMatcherStatusRate = buildUnnamed1843();
+ o.creativeStatusRate = buildUnnamed1844();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed1833();
+ o.hostedMatchStatusRate = buildUnnamed1845();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -2175,11 +2175,11 @@
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed1830(o.calloutStatusRate);
- checkUnnamed1831(o.cookieMatcherStatusRate);
- checkUnnamed1832(o.creativeStatusRate);
+ checkUnnamed1842(o.calloutStatusRate);
+ checkUnnamed1843(o.cookieMatcherStatusRate);
+ checkUnnamed1844(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed1833(o.hostedMatchStatusRate);
+ checkUnnamed1845(o.hostedMatchStatusRate);
unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
@@ -2199,14 +2199,14 @@
buildCounterPerformanceReport--;
}
-buildUnnamed1834() {
+buildUnnamed1846() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed1834(core.List<api.PerformanceReport> o) {
+checkUnnamed1846(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -2218,7 +2218,7 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed1834();
+ o.performanceReport = buildUnnamed1846();
}
buildCounterPerformanceReportList--;
return o;
@@ -2228,19 +2228,19 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1834(o.performanceReport);
+ checkUnnamed1846(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed1835() {
+buildUnnamed1847() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1835(core.List<core.String> o) {
+checkUnnamed1847(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2267,217 +2267,19 @@
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed1836() {
+buildUnnamed1848() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed1836(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed1848(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed1837() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1837(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1838() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1838(core.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 buildCounterPretargetingConfigExcludedPlacements = 0;
-buildPretargetingConfigExcludedPlacements() {
- var o = new api.PretargetingConfigExcludedPlacements();
- buildCounterPretargetingConfigExcludedPlacements++;
- if (buildCounterPretargetingConfigExcludedPlacements < 3) {
- o.token = "foo";
- o.type = "foo";
- }
- buildCounterPretargetingConfigExcludedPlacements--;
- return o;
-}
-
-checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacements o) {
- buildCounterPretargetingConfigExcludedPlacements++;
- if (buildCounterPretargetingConfigExcludedPlacements < 3) {
- unittest.expect(o.token, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterPretargetingConfigExcludedPlacements--;
-}
-
-buildUnnamed1839() {
- var o = new core.List<api.PretargetingConfigExcludedPlacements>();
- o.add(buildPretargetingConfigExcludedPlacements());
- o.add(buildPretargetingConfigExcludedPlacements());
- return o;
-}
-
-checkUnnamed1839(core.List<api.PretargetingConfigExcludedPlacements> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPretargetingConfigExcludedPlacements(o[0]);
- checkPretargetingConfigExcludedPlacements(o[1]);
-}
-
-buildUnnamed1840() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1840(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1841() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1841(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1842() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1842(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1843() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1843(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1844() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1844(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1845() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1845(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1846() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1846(core.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 buildCounterPretargetingConfigPlacements = 0;
-buildPretargetingConfigPlacements() {
- var o = new api.PretargetingConfigPlacements();
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- o.token = "foo";
- o.type = "foo";
- }
- buildCounterPretargetingConfigPlacements--;
- return o;
-}
-
-checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- unittest.expect(o.token, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterPretargetingConfigPlacements--;
-}
-
-buildUnnamed1847() {
- var o = new core.List<api.PretargetingConfigPlacements>();
- o.add(buildPretargetingConfigPlacements());
- o.add(buildPretargetingConfigPlacements());
- return o;
-}
-
-checkUnnamed1847(core.List<api.PretargetingConfigPlacements> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPretargetingConfigPlacements(o[0]);
- checkPretargetingConfigPlacements(o[1]);
-}
-
-buildUnnamed1848() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1848(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1849() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2504,17 +2306,38 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1851() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+core.int buildCounterPretargetingConfigExcludedPlacements = 0;
+buildPretargetingConfigExcludedPlacements() {
+ var o = new api.PretargetingConfigExcludedPlacements();
+ buildCounterPretargetingConfigExcludedPlacements++;
+ if (buildCounterPretargetingConfigExcludedPlacements < 3) {
+ o.token = "foo";
+ o.type = "foo";
+ }
+ buildCounterPretargetingConfigExcludedPlacements--;
return o;
}
-checkUnnamed1851(core.List<core.String> o) {
+checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacements o) {
+ buildCounterPretargetingConfigExcludedPlacements++;
+ if (buildCounterPretargetingConfigExcludedPlacements < 3) {
+ unittest.expect(o.token, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterPretargetingConfigExcludedPlacements--;
+}
+
+buildUnnamed1851() {
+ var o = new core.List<api.PretargetingConfigExcludedPlacements>();
+ o.add(buildPretargetingConfigExcludedPlacements());
+ o.add(buildPretargetingConfigExcludedPlacements());
+ return o;
+}
+
+checkUnnamed1851(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkPretargetingConfigExcludedPlacements(o[0]);
+ checkPretargetingConfigExcludedPlacements(o[1]);
}
buildUnnamed1852() {
@@ -2543,6 +2366,183 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1854() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1854(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1855() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1855(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1856() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1856(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1857() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1857(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1858() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1858(core.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 buildCounterPretargetingConfigPlacements = 0;
+buildPretargetingConfigPlacements() {
+ var o = new api.PretargetingConfigPlacements();
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ o.token = "foo";
+ o.type = "foo";
+ }
+ buildCounterPretargetingConfigPlacements--;
+ return o;
+}
+
+checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ unittest.expect(o.token, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterPretargetingConfigPlacements--;
+}
+
+buildUnnamed1859() {
+ var o = new core.List<api.PretargetingConfigPlacements>();
+ o.add(buildPretargetingConfigPlacements());
+ o.add(buildPretargetingConfigPlacements());
+ return o;
+}
+
+checkUnnamed1859(core.List<api.PretargetingConfigPlacements> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPretargetingConfigPlacements(o[0]);
+ checkPretargetingConfigPlacements(o[1]);
+}
+
+buildUnnamed1860() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1860(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1861() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1861(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1862() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1862(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1863() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1863(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1864() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1864(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1865() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1865(core.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 buildCounterPretargetingConfigVideoPlayerSizes = 0;
buildPretargetingConfigVideoPlayerSizes() {
var o = new api.PretargetingConfigVideoPlayerSizes();
@@ -2566,14 +2566,14 @@
buildCounterPretargetingConfigVideoPlayerSizes--;
}
-buildUnnamed1854() {
+buildUnnamed1866() {
var o = new core.List<api.PretargetingConfigVideoPlayerSizes>();
o.add(buildPretargetingConfigVideoPlayerSizes());
o.add(buildPretargetingConfigVideoPlayerSizes());
return o;
}
-checkUnnamed1854(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
+checkUnnamed1866(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigVideoPlayerSizes(o[0]);
checkPretargetingConfigVideoPlayerSizes(o[1]);
@@ -2587,29 +2587,29 @@
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed1835();
- o.dimensions = buildUnnamed1836();
- o.excludedContentLabels = buildUnnamed1837();
- o.excludedGeoCriteriaIds = buildUnnamed1838();
- o.excludedPlacements = buildUnnamed1839();
- o.excludedUserLists = buildUnnamed1840();
- o.excludedVerticals = buildUnnamed1841();
- o.geoCriteriaIds = buildUnnamed1842();
+ o.creativeType = buildUnnamed1847();
+ o.dimensions = buildUnnamed1848();
+ o.excludedContentLabels = buildUnnamed1849();
+ o.excludedGeoCriteriaIds = buildUnnamed1850();
+ o.excludedPlacements = buildUnnamed1851();
+ o.excludedUserLists = buildUnnamed1852();
+ o.excludedVerticals = buildUnnamed1853();
+ o.geoCriteriaIds = buildUnnamed1854();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed1843();
+ o.languages = buildUnnamed1855();
o.minimumViewabilityDecile = 42;
- o.mobileCarriers = buildUnnamed1844();
- o.mobileDevices = buildUnnamed1845();
- o.mobileOperatingSystemVersions = buildUnnamed1846();
- o.placements = buildUnnamed1847();
- o.platforms = buildUnnamed1848();
- o.supportedCreativeAttributes = buildUnnamed1849();
- o.userIdentifierDataRequired = buildUnnamed1850();
- o.userLists = buildUnnamed1851();
- o.vendorTypes = buildUnnamed1852();
- o.verticals = buildUnnamed1853();
- o.videoPlayerSizes = buildUnnamed1854();
+ o.mobileCarriers = buildUnnamed1856();
+ o.mobileDevices = buildUnnamed1857();
+ o.mobileOperatingSystemVersions = buildUnnamed1858();
+ o.placements = buildUnnamed1859();
+ o.platforms = buildUnnamed1860();
+ o.supportedCreativeAttributes = buildUnnamed1861();
+ o.userIdentifierDataRequired = buildUnnamed1862();
+ o.userLists = buildUnnamed1863();
+ o.vendorTypes = buildUnnamed1864();
+ o.verticals = buildUnnamed1865();
+ o.videoPlayerSizes = buildUnnamed1866();
}
buildCounterPretargetingConfig--;
return o;
@@ -2621,41 +2621,41 @@
unittest.expect(o.billingId, unittest.equals('foo'));
unittest.expect(o.configId, unittest.equals('foo'));
unittest.expect(o.configName, unittest.equals('foo'));
- checkUnnamed1835(o.creativeType);
- checkUnnamed1836(o.dimensions);
- checkUnnamed1837(o.excludedContentLabels);
- checkUnnamed1838(o.excludedGeoCriteriaIds);
- checkUnnamed1839(o.excludedPlacements);
- checkUnnamed1840(o.excludedUserLists);
- checkUnnamed1841(o.excludedVerticals);
- checkUnnamed1842(o.geoCriteriaIds);
+ checkUnnamed1847(o.creativeType);
+ checkUnnamed1848(o.dimensions);
+ checkUnnamed1849(o.excludedContentLabels);
+ checkUnnamed1850(o.excludedGeoCriteriaIds);
+ checkUnnamed1851(o.excludedPlacements);
+ checkUnnamed1852(o.excludedUserLists);
+ checkUnnamed1853(o.excludedVerticals);
+ checkUnnamed1854(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1843(o.languages);
+ checkUnnamed1855(o.languages);
unittest.expect(o.minimumViewabilityDecile, unittest.equals(42));
- checkUnnamed1844(o.mobileCarriers);
- checkUnnamed1845(o.mobileDevices);
- checkUnnamed1846(o.mobileOperatingSystemVersions);
- checkUnnamed1847(o.placements);
- checkUnnamed1848(o.platforms);
- checkUnnamed1849(o.supportedCreativeAttributes);
- checkUnnamed1850(o.userIdentifierDataRequired);
- checkUnnamed1851(o.userLists);
- checkUnnamed1852(o.vendorTypes);
- checkUnnamed1853(o.verticals);
- checkUnnamed1854(o.videoPlayerSizes);
+ checkUnnamed1856(o.mobileCarriers);
+ checkUnnamed1857(o.mobileDevices);
+ checkUnnamed1858(o.mobileOperatingSystemVersions);
+ checkUnnamed1859(o.placements);
+ checkUnnamed1860(o.platforms);
+ checkUnnamed1861(o.supportedCreativeAttributes);
+ checkUnnamed1862(o.userIdentifierDataRequired);
+ checkUnnamed1863(o.userLists);
+ checkUnnamed1864(o.vendorTypes);
+ checkUnnamed1865(o.verticals);
+ checkUnnamed1866(o.videoPlayerSizes);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed1855() {
+buildUnnamed1867() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed1855(core.List<api.PretargetingConfig> o) {
+checkUnnamed1867(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -2666,7 +2666,7 @@
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed1855();
+ o.items = buildUnnamed1867();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -2676,7 +2676,7 @@
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed1855(o.items);
+ checkUnnamed1867(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
@@ -2751,40 +2751,40 @@
buildCounterPrivateData--;
}
-buildUnnamed1856() {
+buildUnnamed1868() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed1856(core.List<api.ContactInformation> o) {
+checkUnnamed1868(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed1857() {
+buildUnnamed1869() {
var o = new core.List<api.MarketplaceLabel>();
o.add(buildMarketplaceLabel());
o.add(buildMarketplaceLabel());
return o;
}
-checkUnnamed1857(core.List<api.MarketplaceLabel> o) {
+checkUnnamed1869(core.List<api.MarketplaceLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceLabel(o[0]);
checkMarketplaceLabel(o[1]);
}
-buildUnnamed1858() {
+buildUnnamed1870() {
var o = new core.List<api.SharedTargeting>();
o.add(buildSharedTargeting());
o.add(buildSharedTargeting());
return o;
}
-checkUnnamed1858(core.List<api.SharedTargeting> o) {
+checkUnnamed1870(core.List<api.SharedTargeting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSharedTargeting(o[0]);
checkSharedTargeting(o[1]);
@@ -2796,14 +2796,14 @@
buildCounterProduct++;
if (buildCounterProduct < 3) {
o.creationTimeMs = "foo";
- o.creatorContacts = buildUnnamed1856();
+ o.creatorContacts = buildUnnamed1868();
o.deliveryControl = buildDeliveryControl();
o.flightEndTimeMs = "foo";
o.flightStartTimeMs = "foo";
o.hasCreatorSignedOff = true;
o.inventorySource = "foo";
o.kind = "foo";
- o.labels = buildUnnamed1857();
+ o.labels = buildUnnamed1869();
o.lastUpdateTimeMs = "foo";
o.legacyOfferId = "foo";
o.marketplacePublisherProfileId = "foo";
@@ -2814,7 +2814,7 @@
o.publisherProvidedForecast = buildPublisherProvidedForecast();
o.revisionNumber = "foo";
o.seller = buildSeller();
- o.sharedTargetings = buildUnnamed1858();
+ o.sharedTargetings = buildUnnamed1870();
o.state = "foo";
o.syndicationProduct = "foo";
o.terms = buildDealTerms();
@@ -2828,14 +2828,14 @@
buildCounterProduct++;
if (buildCounterProduct < 3) {
unittest.expect(o.creationTimeMs, unittest.equals('foo'));
- checkUnnamed1856(o.creatorContacts);
+ checkUnnamed1868(o.creatorContacts);
checkDeliveryControl(o.deliveryControl);
unittest.expect(o.flightEndTimeMs, unittest.equals('foo'));
unittest.expect(o.flightStartTimeMs, unittest.equals('foo'));
unittest.expect(o.hasCreatorSignedOff, unittest.isTrue);
unittest.expect(o.inventorySource, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1857(o.labels);
+ checkUnnamed1869(o.labels);
unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo'));
unittest.expect(o.legacyOfferId, unittest.equals('foo'));
unittest.expect(o.marketplacePublisherProfileId, unittest.equals('foo'));
@@ -2846,7 +2846,7 @@
checkPublisherProvidedForecast(o.publisherProvidedForecast);
unittest.expect(o.revisionNumber, unittest.equals('foo'));
checkSeller(o.seller);
- checkUnnamed1858(o.sharedTargetings);
+ checkUnnamed1870(o.sharedTargetings);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.syndicationProduct, unittest.equals('foo'));
checkDealTerms(o.terms);
@@ -2855,53 +2855,53 @@
buildCounterProduct--;
}
-buildUnnamed1859() {
+buildUnnamed1871() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed1859(core.List<api.ContactInformation> o) {
+checkUnnamed1871(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed1860() {
+buildUnnamed1872() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1860(core.List<core.String> o) {
+checkUnnamed1872(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1861() {
+buildUnnamed1873() {
var o = new core.List<api.MarketplaceLabel>();
o.add(buildMarketplaceLabel());
o.add(buildMarketplaceLabel());
return o;
}
-checkUnnamed1861(core.List<api.MarketplaceLabel> o) {
+checkUnnamed1873(core.List<api.MarketplaceLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceLabel(o[0]);
checkMarketplaceLabel(o[1]);
}
-buildUnnamed1862() {
+buildUnnamed1874() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed1862(core.List<api.ContactInformation> o) {
+checkUnnamed1874(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
@@ -2914,16 +2914,16 @@
if (buildCounterProposal < 3) {
o.billedBuyer = buildBuyer();
o.buyer = buildBuyer();
- o.buyerContacts = buildUnnamed1859();
+ o.buyerContacts = buildUnnamed1871();
o.buyerPrivateData = buildPrivateData();
- o.dbmAdvertiserIds = buildUnnamed1860();
+ o.dbmAdvertiserIds = buildUnnamed1872();
o.hasBuyerSignedOff = true;
o.hasSellerSignedOff = true;
o.inventorySource = "foo";
o.isRenegotiating = true;
o.isSetupComplete = true;
o.kind = "foo";
- o.labels = buildUnnamed1861();
+ o.labels = buildUnnamed1873();
o.lastUpdaterOrCommentorRole = "foo";
o.name = "foo";
o.negotiationId = "foo";
@@ -2934,7 +2934,7 @@
o.revisionNumber = "foo";
o.revisionTimeMs = "foo";
o.seller = buildSeller();
- o.sellerContacts = buildUnnamed1862();
+ o.sellerContacts = buildUnnamed1874();
}
buildCounterProposal--;
return o;
@@ -2945,16 +2945,16 @@
if (buildCounterProposal < 3) {
checkBuyer(o.billedBuyer);
checkBuyer(o.buyer);
- checkUnnamed1859(o.buyerContacts);
+ checkUnnamed1871(o.buyerContacts);
checkPrivateData(o.buyerPrivateData);
- checkUnnamed1860(o.dbmAdvertiserIds);
+ checkUnnamed1872(o.dbmAdvertiserIds);
unittest.expect(o.hasBuyerSignedOff, unittest.isTrue);
unittest.expect(o.hasSellerSignedOff, unittest.isTrue);
unittest.expect(o.inventorySource, unittest.equals('foo'));
unittest.expect(o.isRenegotiating, unittest.isTrue);
unittest.expect(o.isSetupComplete, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1861(o.labels);
+ checkUnnamed1873(o.labels);
unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.negotiationId, unittest.equals('foo'));
@@ -2965,32 +2965,32 @@
unittest.expect(o.revisionNumber, unittest.equals('foo'));
unittest.expect(o.revisionTimeMs, unittest.equals('foo'));
checkSeller(o.seller);
- checkUnnamed1862(o.sellerContacts);
+ checkUnnamed1874(o.sellerContacts);
}
buildCounterProposal--;
}
-buildUnnamed1863() {
+buildUnnamed1875() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1863(core.List<core.String> o) {
+checkUnnamed1875(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1864() {
+buildUnnamed1876() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1864(core.List<core.String> o) {
+checkUnnamed1876(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3016,14 +3016,14 @@
o.overview = "foo";
o.profileId = 42;
o.programmaticContact = "foo";
- o.publisherDomains = buildUnnamed1863();
+ o.publisherDomains = buildUnnamed1875();
o.publisherProfileId = "foo";
o.publisherProvidedForecast = buildPublisherProvidedForecast();
o.rateCardInfoLink = "foo";
o.samplePageLink = "foo";
o.seller = buildSeller();
o.state = "foo";
- o.topHeadlines = buildUnnamed1864();
+ o.topHeadlines = buildUnnamed1876();
}
buildCounterPublisherProfileApiProto--;
return o;
@@ -3047,26 +3047,26 @@
unittest.expect(o.overview, unittest.equals('foo'));
unittest.expect(o.profileId, unittest.equals(42));
unittest.expect(o.programmaticContact, unittest.equals('foo'));
- checkUnnamed1863(o.publisherDomains);
+ checkUnnamed1875(o.publisherDomains);
unittest.expect(o.publisherProfileId, unittest.equals('foo'));
checkPublisherProvidedForecast(o.publisherProvidedForecast);
unittest.expect(o.rateCardInfoLink, unittest.equals('foo'));
unittest.expect(o.samplePageLink, unittest.equals('foo'));
checkSeller(o.seller);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed1864(o.topHeadlines);
+ checkUnnamed1876(o.topHeadlines);
}
buildCounterPublisherProfileApiProto--;
}
-buildUnnamed1865() {
+buildUnnamed1877() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed1865(core.List<api.Dimension> o) {
+checkUnnamed1877(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -3077,7 +3077,7 @@
var o = new api.PublisherProvidedForecast();
buildCounterPublisherProvidedForecast++;
if (buildCounterPublisherProvidedForecast < 3) {
- o.dimensions = buildUnnamed1865();
+ o.dimensions = buildUnnamed1877();
o.weeklyImpressions = "foo";
o.weeklyUniques = "foo";
}
@@ -3088,7 +3088,7 @@
checkPublisherProvidedForecast(api.PublisherProvidedForecast o) {
buildCounterPublisherProvidedForecast++;
if (buildCounterPublisherProvidedForecast < 3) {
- checkUnnamed1865(o.dimensions);
+ checkUnnamed1877(o.dimensions);
unittest.expect(o.weeklyImpressions, unittest.equals('foo'));
unittest.expect(o.weeklyUniques, unittest.equals('foo'));
}
@@ -3116,27 +3116,27 @@
buildCounterSeller--;
}
-buildUnnamed1866() {
+buildUnnamed1878() {
var o = new core.List<api.TargetingValue>();
o.add(buildTargetingValue());
o.add(buildTargetingValue());
return o;
}
-checkUnnamed1866(core.List<api.TargetingValue> o) {
+checkUnnamed1878(core.List<api.TargetingValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValue(o[0]);
checkTargetingValue(o[1]);
}
-buildUnnamed1867() {
+buildUnnamed1879() {
var o = new core.List<api.TargetingValue>();
o.add(buildTargetingValue());
o.add(buildTargetingValue());
return o;
}
-checkUnnamed1867(core.List<api.TargetingValue> o) {
+checkUnnamed1879(core.List<api.TargetingValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValue(o[0]);
checkTargetingValue(o[1]);
@@ -3147,8 +3147,8 @@
var o = new api.SharedTargeting();
buildCounterSharedTargeting++;
if (buildCounterSharedTargeting < 3) {
- o.exclusions = buildUnnamed1866();
- o.inclusions = buildUnnamed1867();
+ o.exclusions = buildUnnamed1878();
+ o.inclusions = buildUnnamed1879();
o.key = "foo";
}
buildCounterSharedTargeting--;
@@ -3158,8 +3158,8 @@
checkSharedTargeting(api.SharedTargeting o) {
buildCounterSharedTargeting++;
if (buildCounterSharedTargeting < 3) {
- checkUnnamed1866(o.exclusions);
- checkUnnamed1867(o.inclusions);
+ checkUnnamed1878(o.exclusions);
+ checkUnnamed1879(o.inclusions);
unittest.expect(o.key, unittest.equals('foo'));
}
buildCounterSharedTargeting--;
@@ -3190,14 +3190,14 @@
buildCounterTargetingValue--;
}
-buildUnnamed1868() {
+buildUnnamed1880() {
var o = new core.List<api.TargetingValueSize>();
o.add(buildTargetingValueSize());
o.add(buildTargetingValueSize());
return o;
}
-checkUnnamed1868(core.List<api.TargetingValueSize> o) {
+checkUnnamed1880(core.List<api.TargetingValueSize> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValueSize(o[0]);
checkTargetingValueSize(o[1]);
@@ -3208,7 +3208,7 @@
var o = new api.TargetingValueCreativeSize();
buildCounterTargetingValueCreativeSize++;
if (buildCounterTargetingValueCreativeSize < 3) {
- o.companionSizes = buildUnnamed1868();
+ o.companionSizes = buildUnnamed1880();
o.creativeSizeType = "foo";
o.size = buildTargetingValueSize();
o.skippableAdType = "foo";
@@ -3220,7 +3220,7 @@
checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) {
buildCounterTargetingValueCreativeSize++;
if (buildCounterTargetingValueCreativeSize < 3) {
- checkUnnamed1868(o.companionSizes);
+ checkUnnamed1880(o.companionSizes);
unittest.expect(o.creativeSizeType, unittest.equals('foo'));
checkTargetingValueSize(o.size);
unittest.expect(o.skippableAdType, unittest.equals('foo'));
@@ -3228,14 +3228,14 @@
buildCounterTargetingValueCreativeSize--;
}
-buildUnnamed1869() {
+buildUnnamed1881() {
var o = new core.List<api.TargetingValueDayPartTargetingDayPart>();
o.add(buildTargetingValueDayPartTargetingDayPart());
o.add(buildTargetingValueDayPartTargetingDayPart());
return o;
}
-checkUnnamed1869(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
+checkUnnamed1881(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValueDayPartTargetingDayPart(o[0]);
checkTargetingValueDayPartTargetingDayPart(o[1]);
@@ -3246,7 +3246,7 @@
var o = new api.TargetingValueDayPartTargeting();
buildCounterTargetingValueDayPartTargeting++;
if (buildCounterTargetingValueDayPartTargeting < 3) {
- o.dayParts = buildUnnamed1869();
+ o.dayParts = buildUnnamed1881();
o.timeZoneType = "foo";
}
buildCounterTargetingValueDayPartTargeting--;
@@ -3256,7 +3256,7 @@
checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) {
buildCounterTargetingValueDayPartTargeting++;
if (buildCounterTargetingValueDayPartTargeting < 3) {
- checkUnnamed1869(o.dayParts);
+ checkUnnamed1881(o.dayParts);
unittest.expect(o.timeZoneType, unittest.equals('foo'));
}
buildCounterTargetingValueDayPartTargeting--;
@@ -3335,27 +3335,27 @@
buildCounterUpdatePrivateAuctionProposalRequest--;
}
-buildUnnamed1870() {
+buildUnnamed1882() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1870(core.List<core.int> o) {
+checkUnnamed1882(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));
}
-buildUnnamed1871() {
+buildUnnamed1883() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1871(core.List<core.String> o) {
+checkUnnamed1883(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4719,8 +4719,8 @@
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed1870();
- var arg_buyerCreativeId = buildUnnamed1871();
+ var arg_accountId = buildUnnamed1882();
+ var arg_buyerCreativeId = buildUnnamed1883();
var arg_dealsStatusFilter = "foo";
var arg_maxResults = 42;
var arg_openAuctionStatusFilter = "foo";
diff --git a/generated/googleapis/test/adexchangeseller/v1_1_test.dart b/generated/googleapis/test/adexchangeseller/v1_1_test.dart
index 465d53c..0e45df9 100644
--- a/generated/googleapis/test/adexchangeseller/v1_1_test.dart
+++ b/generated/googleapis/test/adexchangeseller/v1_1_test.dart
@@ -101,14 +101,14 @@
buildCounterAdClient--;
}
-buildUnnamed221() {
+buildUnnamed219() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed221(core.List<api.AdClient> o) {
+checkUnnamed219(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -120,7 +120,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed221();
+ o.items = buildUnnamed219();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -132,7 +132,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed221(o.items);
+ checkUnnamed219(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -166,14 +166,14 @@
buildCounterAdUnit--;
}
-buildUnnamed222() {
+buildUnnamed220() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed222(core.List<api.AdUnit> o) {
+checkUnnamed220(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -185,7 +185,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed222();
+ o.items = buildUnnamed220();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -197,7 +197,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed222(o.items);
+ checkUnnamed220(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -231,14 +231,14 @@
buildCounterAlert--;
}
-buildUnnamed223() {
+buildUnnamed221() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed223(core.List<api.Alert> o) {
+checkUnnamed221(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -249,7 +249,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed223();
+ o.items = buildUnnamed221();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -259,7 +259,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed223(o.items);
+ checkUnnamed221(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -317,14 +317,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed224() {
+buildUnnamed222() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed224(core.List<api.CustomChannel> o) {
+checkUnnamed222(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -336,7 +336,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed224();
+ o.items = buildUnnamed222();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -348,21 +348,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed224(o.items);
+ checkUnnamed222(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed225() {
+buildUnnamed223() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed225(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed223(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -373,7 +373,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed225();
+ o.items = buildUnnamed223();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -383,7 +383,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed225(o.items);
+ checkUnnamed223(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -422,14 +422,14 @@
buildCounterPreferredDeal--;
}
-buildUnnamed226() {
+buildUnnamed224() {
var o = new core.List<api.PreferredDeal>();
o.add(buildPreferredDeal());
o.add(buildPreferredDeal());
return o;
}
-checkUnnamed226(core.List<api.PreferredDeal> o) {
+checkUnnamed224(core.List<api.PreferredDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkPreferredDeal(o[0]);
checkPreferredDeal(o[1]);
@@ -440,7 +440,7 @@
var o = new api.PreferredDeals();
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- o.items = buildUnnamed226();
+ o.items = buildUnnamed224();
o.kind = "foo";
}
buildCounterPreferredDeals--;
@@ -450,20 +450,20 @@
checkPreferredDeals(api.PreferredDeals o) {
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- checkUnnamed226(o.items);
+ checkUnnamed224(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPreferredDeals--;
}
-buildUnnamed227() {
+buildUnnamed225() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed227(core.List<core.String> o) {
+checkUnnamed225(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -492,19 +492,45 @@
buildCounterReportHeaders--;
}
-buildUnnamed228() {
+buildUnnamed226() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed228(core.List<api.ReportHeaders> o) {
+checkUnnamed226(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(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.List<core.String>>();
+ o.add(buildUnnamed227());
+ o.add(buildUnnamed227());
+ return o;
+}
+
+checkUnnamed228(core.List<core.List<core.String>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed227(o[0]);
+ checkUnnamed227(o[1]);
+}
+
buildUnnamed229() {
var o = new core.List<core.String>();
o.add("foo");
@@ -519,16 +545,47 @@
}
buildUnnamed230() {
- var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed229());
- o.add(buildUnnamed229());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed230(core.List<core.List<core.String>> o) {
+checkUnnamed230(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed229(o[0]);
- checkUnnamed229(o[1]);
+ 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 = buildUnnamed225();
+ o.headers = buildUnnamed226();
+ o.kind = "foo";
+ o.rows = buildUnnamed228();
+ o.totalMatchedRows = "foo";
+ o.totals = buildUnnamed229();
+ o.warnings = buildUnnamed230();
+ }
+ buildCounterReport--;
+ return o;
+}
+
+checkReport(api.Report o) {
+ buildCounterReport++;
+ if (buildCounterReport < 3) {
+ checkUnnamed225(o.averages);
+ checkUnnamed226(o.headers);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed228(o.rows);
+ unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
+ checkUnnamed229(o.totals);
+ checkUnnamed230(o.warnings);
+ }
+ buildCounterReport--;
}
buildUnnamed231() {
@@ -557,37 +614,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterReport = 0;
-buildReport() {
- var o = new api.Report();
- buildCounterReport++;
- if (buildCounterReport < 3) {
- o.averages = buildUnnamed227();
- o.headers = buildUnnamed228();
- o.kind = "foo";
- o.rows = buildUnnamed230();
- o.totalMatchedRows = "foo";
- o.totals = buildUnnamed231();
- o.warnings = buildUnnamed232();
- }
- buildCounterReport--;
- return o;
-}
-
-checkReport(api.Report o) {
- buildCounterReport++;
- if (buildCounterReport < 3) {
- checkUnnamed227(o.averages);
- checkUnnamed228(o.headers);
- unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed230(o.rows);
- unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed231(o.totals);
- checkUnnamed232(o.warnings);
- }
- buildCounterReport--;
-}
-
buildUnnamed233() {
var o = new core.List<core.String>();
o.add("foo");
@@ -627,44 +653,18 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed236() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed236(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed237() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed237(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
core.int buildCounterReportingMetadataEntry = 0;
buildReportingMetadataEntry() {
var o = new api.ReportingMetadataEntry();
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- o.compatibleDimensions = buildUnnamed233();
- o.compatibleMetrics = buildUnnamed234();
+ o.compatibleDimensions = buildUnnamed231();
+ o.compatibleMetrics = buildUnnamed232();
o.id = "foo";
o.kind = "foo";
- o.requiredDimensions = buildUnnamed235();
- o.requiredMetrics = buildUnnamed236();
- o.supportedProducts = buildUnnamed237();
+ o.requiredDimensions = buildUnnamed233();
+ o.requiredMetrics = buildUnnamed234();
+ o.supportedProducts = buildUnnamed235();
}
buildCounterReportingMetadataEntry--;
return o;
@@ -673,13 +673,13 @@
checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed233(o.compatibleDimensions);
- checkUnnamed234(o.compatibleMetrics);
+ checkUnnamed231(o.compatibleDimensions);
+ checkUnnamed232(o.compatibleMetrics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed235(o.requiredDimensions);
- checkUnnamed236(o.requiredMetrics);
- checkUnnamed237(o.supportedProducts);
+ checkUnnamed233(o.requiredDimensions);
+ checkUnnamed234(o.requiredMetrics);
+ checkUnnamed235(o.supportedProducts);
}
buildCounterReportingMetadataEntry--;
}
@@ -707,14 +707,14 @@
buildCounterSavedReport--;
}
-buildUnnamed238() {
+buildUnnamed236() {
var o = new core.List<api.SavedReport>();
o.add(buildSavedReport());
o.add(buildSavedReport());
return o;
}
-checkUnnamed238(core.List<api.SavedReport> o) {
+checkUnnamed236(core.List<api.SavedReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedReport(o[0]);
checkSavedReport(o[1]);
@@ -726,7 +726,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
o.etag = "foo";
- o.items = buildUnnamed238();
+ o.items = buildUnnamed236();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -738,7 +738,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed238(o.items);
+ checkUnnamed236(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -768,14 +768,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed239() {
+buildUnnamed237() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed239(core.List<api.UrlChannel> o) {
+checkUnnamed237(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -787,7 +787,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed239();
+ o.items = buildUnnamed237();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -799,13 +799,39 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed239(o.items);
+ checkUnnamed237(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
+buildUnnamed238() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed238(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed239() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed239(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
buildUnnamed240() {
var o = new core.List<core.String>();
o.add("foo");
@@ -832,32 +858,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-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'));
-}
-
main() {
unittest.group("obj-schema-Account", () {
@@ -1780,12 +1780,12 @@
api.ReportsResourceApi res = new api.AdexchangesellerApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed240();
- var arg_filter = buildUnnamed241();
+ var arg_dimension = buildUnnamed238();
+ var arg_filter = buildUnnamed239();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed242();
- var arg_sort = buildUnnamed243();
+ var arg_metric = buildUnnamed240();
+ var arg_sort = buildUnnamed241();
var arg_startIndex = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/adexchangeseller/v2_0_test.dart b/generated/googleapis/test/adexchangeseller/v2_0_test.dart
index 7dc1d6d..8fb416c 100644
--- a/generated/googleapis/test/adexchangeseller/v2_0_test.dart
+++ b/generated/googleapis/test/adexchangeseller/v2_0_test.dart
@@ -74,14 +74,14 @@
buildCounterAccount--;
}
-buildUnnamed1532() {
+buildUnnamed1529() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1532(core.List<api.Account> o) {
+checkUnnamed1529(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -93,7 +93,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed1532();
+ o.items = buildUnnamed1529();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -105,7 +105,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1532(o.items);
+ checkUnnamed1529(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -139,14 +139,14 @@
buildCounterAdClient--;
}
-buildUnnamed1533() {
+buildUnnamed1530() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed1533(core.List<api.AdClient> o) {
+checkUnnamed1530(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -158,7 +158,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed1533();
+ o.items = buildUnnamed1530();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -170,7 +170,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1533(o.items);
+ checkUnnamed1530(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -204,14 +204,14 @@
buildCounterAlert--;
}
-buildUnnamed1534() {
+buildUnnamed1531() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed1534(core.List<api.Alert> o) {
+checkUnnamed1531(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -222,7 +222,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed1534();
+ o.items = buildUnnamed1531();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -232,7 +232,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed1534(o.items);
+ checkUnnamed1531(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -290,14 +290,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed1535() {
+buildUnnamed1532() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed1535(core.List<api.CustomChannel> o) {
+checkUnnamed1532(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -309,7 +309,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1535();
+ o.items = buildUnnamed1532();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -321,21 +321,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1535(o.items);
+ checkUnnamed1532(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed1536() {
+buildUnnamed1533() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed1536(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed1533(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -346,7 +346,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed1536();
+ o.items = buildUnnamed1533();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -356,7 +356,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed1536(o.items);
+ checkUnnamed1533(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -395,14 +395,14 @@
buildCounterPreferredDeal--;
}
-buildUnnamed1537() {
+buildUnnamed1534() {
var o = new core.List<api.PreferredDeal>();
o.add(buildPreferredDeal());
o.add(buildPreferredDeal());
return o;
}
-checkUnnamed1537(core.List<api.PreferredDeal> o) {
+checkUnnamed1534(core.List<api.PreferredDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkPreferredDeal(o[0]);
checkPreferredDeal(o[1]);
@@ -413,7 +413,7 @@
var o = new api.PreferredDeals();
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- o.items = buildUnnamed1537();
+ o.items = buildUnnamed1534();
o.kind = "foo";
}
buildCounterPreferredDeals--;
@@ -423,20 +423,20 @@
checkPreferredDeals(api.PreferredDeals o) {
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- checkUnnamed1537(o.items);
+ checkUnnamed1534(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPreferredDeals--;
}
-buildUnnamed1538() {
+buildUnnamed1535() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1538(core.List<core.String> o) {
+checkUnnamed1535(core.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,19 +465,58 @@
buildCounterReportHeaders--;
}
-buildUnnamed1539() {
+buildUnnamed1536() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed1539(core.List<api.ReportHeaders> o) {
+checkUnnamed1536(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
+buildUnnamed1537() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1537(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1538() {
+ var o = new core.List<core.List<core.String>>();
+ o.add(buildUnnamed1537());
+ o.add(buildUnnamed1537());
+ return o;
+}
+
+checkUnnamed1538(core.List<core.List<core.String>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed1537(o[0]);
+ checkUnnamed1537(o[1]);
+}
+
+buildUnnamed1539() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1539(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
buildUnnamed1540() {
var o = new core.List<core.String>();
o.add("foo");
@@ -491,17 +530,48 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1541() {
- var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1540());
- o.add(buildUnnamed1540());
+core.int buildCounterReport = 0;
+buildReport() {
+ var o = new api.Report();
+ buildCounterReport++;
+ if (buildCounterReport < 3) {
+ o.averages = buildUnnamed1535();
+ o.headers = buildUnnamed1536();
+ o.kind = "foo";
+ o.rows = buildUnnamed1538();
+ o.totalMatchedRows = "foo";
+ o.totals = buildUnnamed1539();
+ o.warnings = buildUnnamed1540();
+ }
+ buildCounterReport--;
return o;
}
-checkUnnamed1541(core.List<core.List<core.String>> o) {
+checkReport(api.Report o) {
+ buildCounterReport++;
+ if (buildCounterReport < 3) {
+ checkUnnamed1535(o.averages);
+ checkUnnamed1536(o.headers);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed1538(o.rows);
+ unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
+ checkUnnamed1539(o.totals);
+ checkUnnamed1540(o.warnings);
+ }
+ buildCounterReport--;
+}
+
+buildUnnamed1541() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1541(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1540(o[0]);
- checkUnnamed1540(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed1542() {
@@ -530,37 +600,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterReport = 0;
-buildReport() {
- var o = new api.Report();
- buildCounterReport++;
- if (buildCounterReport < 3) {
- o.averages = buildUnnamed1538();
- o.headers = buildUnnamed1539();
- o.kind = "foo";
- o.rows = buildUnnamed1541();
- o.totalMatchedRows = "foo";
- o.totals = buildUnnamed1542();
- o.warnings = buildUnnamed1543();
- }
- buildCounterReport--;
- return o;
-}
-
-checkReport(api.Report o) {
- buildCounterReport++;
- if (buildCounterReport < 3) {
- checkUnnamed1538(o.averages);
- checkUnnamed1539(o.headers);
- unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1541(o.rows);
- unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed1542(o.totals);
- checkUnnamed1543(o.warnings);
- }
- buildCounterReport--;
-}
-
buildUnnamed1544() {
var o = new core.List<core.String>();
o.add("foo");
@@ -587,57 +626,18 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1546() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1546(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1547() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1547(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1548() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1548(core.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 = buildUnnamed1544();
- o.compatibleMetrics = buildUnnamed1545();
+ o.compatibleDimensions = buildUnnamed1541();
+ o.compatibleMetrics = buildUnnamed1542();
o.id = "foo";
o.kind = "foo";
- o.requiredDimensions = buildUnnamed1546();
- o.requiredMetrics = buildUnnamed1547();
- o.supportedProducts = buildUnnamed1548();
+ o.requiredDimensions = buildUnnamed1543();
+ o.requiredMetrics = buildUnnamed1544();
+ o.supportedProducts = buildUnnamed1545();
}
buildCounterReportingMetadataEntry--;
return o;
@@ -646,13 +646,13 @@
checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed1544(o.compatibleDimensions);
- checkUnnamed1545(o.compatibleMetrics);
+ checkUnnamed1541(o.compatibleDimensions);
+ checkUnnamed1542(o.compatibleMetrics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1546(o.requiredDimensions);
- checkUnnamed1547(o.requiredMetrics);
- checkUnnamed1548(o.supportedProducts);
+ checkUnnamed1543(o.requiredDimensions);
+ checkUnnamed1544(o.requiredMetrics);
+ checkUnnamed1545(o.supportedProducts);
}
buildCounterReportingMetadataEntry--;
}
@@ -680,14 +680,14 @@
buildCounterSavedReport--;
}
-buildUnnamed1549() {
+buildUnnamed1546() {
var o = new core.List<api.SavedReport>();
o.add(buildSavedReport());
o.add(buildSavedReport());
return o;
}
-checkUnnamed1549(core.List<api.SavedReport> o) {
+checkUnnamed1546(core.List<api.SavedReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedReport(o[0]);
checkSavedReport(o[1]);
@@ -699,7 +699,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
o.etag = "foo";
- o.items = buildUnnamed1549();
+ o.items = buildUnnamed1546();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -711,7 +711,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1549(o.items);
+ checkUnnamed1546(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -741,14 +741,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed1550() {
+buildUnnamed1547() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed1550(core.List<api.UrlChannel> o) {
+checkUnnamed1547(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -760,7 +760,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1550();
+ o.items = buildUnnamed1547();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -772,13 +772,52 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1550(o.items);
+ checkUnnamed1547(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
+buildUnnamed1548() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1548(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1549() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1549(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1550() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1550(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
buildUnnamed1551() {
var o = new core.List<core.String>();
o.add("foo");
@@ -792,45 +831,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1552() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1552(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1553() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1553(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1554() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1554(core.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", () {
@@ -1598,12 +1598,12 @@
var arg_accountId = "foo";
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed1551();
- var arg_filter = buildUnnamed1552();
+ var arg_dimension = buildUnnamed1548();
+ var arg_filter = buildUnnamed1549();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1553();
- var arg_sort = buildUnnamed1554();
+ var arg_metric = buildUnnamed1550();
+ var arg_sort = buildUnnamed1551();
var arg_startIndex = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/admin/datatransfer_v1_test.dart b/generated/googleapis/test/admin/datatransfer_v1_test.dart
index a2d5cc2..341336b 100644
--- a/generated/googleapis/test/admin/datatransfer_v1_test.dart
+++ b/generated/googleapis/test/admin/datatransfer_v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed113() {
+buildUnnamed111() {
var o = new core.List<api.ApplicationTransferParam>();
o.add(buildApplicationTransferParam());
o.add(buildApplicationTransferParam());
return o;
}
-checkUnnamed113(core.List<api.ApplicationTransferParam> o) {
+checkUnnamed111(core.List<api.ApplicationTransferParam> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationTransferParam(o[0]);
checkApplicationTransferParam(o[1]);
@@ -73,7 +73,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.transferParams = buildUnnamed113();
+ o.transferParams = buildUnnamed111();
}
buildCounterApplication--;
return o;
@@ -86,19 +86,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed113(o.transferParams);
+ checkUnnamed111(o.transferParams);
}
buildCounterApplication--;
}
-buildUnnamed114() {
+buildUnnamed112() {
var o = new core.List<api.ApplicationTransferParam>();
o.add(buildApplicationTransferParam());
o.add(buildApplicationTransferParam());
return o;
}
-checkUnnamed114(core.List<api.ApplicationTransferParam> o) {
+checkUnnamed112(core.List<api.ApplicationTransferParam> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationTransferParam(o[0]);
checkApplicationTransferParam(o[1]);
@@ -110,7 +110,7 @@
buildCounterApplicationDataTransfer++;
if (buildCounterApplicationDataTransfer < 3) {
o.applicationId = "foo";
- o.applicationTransferParams = buildUnnamed114();
+ o.applicationTransferParams = buildUnnamed112();
o.applicationTransferStatus = "foo";
}
buildCounterApplicationDataTransfer--;
@@ -121,20 +121,20 @@
buildCounterApplicationDataTransfer++;
if (buildCounterApplicationDataTransfer < 3) {
unittest.expect(o.applicationId, unittest.equals('foo'));
- checkUnnamed114(o.applicationTransferParams);
+ checkUnnamed112(o.applicationTransferParams);
unittest.expect(o.applicationTransferStatus, unittest.equals('foo'));
}
buildCounterApplicationDataTransfer--;
}
-buildUnnamed115() {
+buildUnnamed113() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed115(core.List<core.String> o) {
+checkUnnamed113(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -146,7 +146,7 @@
buildCounterApplicationTransferParam++;
if (buildCounterApplicationTransferParam < 3) {
o.key = "foo";
- o.value = buildUnnamed115();
+ o.value = buildUnnamed113();
}
buildCounterApplicationTransferParam--;
return o;
@@ -156,19 +156,19 @@
buildCounterApplicationTransferParam++;
if (buildCounterApplicationTransferParam < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed115(o.value);
+ checkUnnamed113(o.value);
}
buildCounterApplicationTransferParam--;
}
-buildUnnamed116() {
+buildUnnamed114() {
var o = new core.List<api.Application>();
o.add(buildApplication());
o.add(buildApplication());
return o;
}
-checkUnnamed116(core.List<api.Application> o) {
+checkUnnamed114(core.List<api.Application> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplication(o[0]);
checkApplication(o[1]);
@@ -179,7 +179,7 @@
var o = new api.ApplicationsListResponse();
buildCounterApplicationsListResponse++;
if (buildCounterApplicationsListResponse < 3) {
- o.applications = buildUnnamed116();
+ o.applications = buildUnnamed114();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -191,7 +191,7 @@
checkApplicationsListResponse(api.ApplicationsListResponse o) {
buildCounterApplicationsListResponse++;
if (buildCounterApplicationsListResponse < 3) {
- checkUnnamed116(o.applications);
+ checkUnnamed114(o.applications);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -199,14 +199,14 @@
buildCounterApplicationsListResponse--;
}
-buildUnnamed117() {
+buildUnnamed115() {
var o = new core.List<api.ApplicationDataTransfer>();
o.add(buildApplicationDataTransfer());
o.add(buildApplicationDataTransfer());
return o;
}
-checkUnnamed117(core.List<api.ApplicationDataTransfer> o) {
+checkUnnamed115(core.List<api.ApplicationDataTransfer> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationDataTransfer(o[0]);
checkApplicationDataTransfer(o[1]);
@@ -217,7 +217,7 @@
var o = new api.DataTransfer();
buildCounterDataTransfer++;
if (buildCounterDataTransfer < 3) {
- o.applicationDataTransfers = buildUnnamed117();
+ o.applicationDataTransfers = buildUnnamed115();
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
@@ -233,7 +233,7 @@
checkDataTransfer(api.DataTransfer o) {
buildCounterDataTransfer++;
if (buildCounterDataTransfer < 3) {
- checkUnnamed117(o.applicationDataTransfers);
+ checkUnnamed115(o.applicationDataTransfers);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -245,14 +245,14 @@
buildCounterDataTransfer--;
}
-buildUnnamed118() {
+buildUnnamed116() {
var o = new core.List<api.DataTransfer>();
o.add(buildDataTransfer());
o.add(buildDataTransfer());
return o;
}
-checkUnnamed118(core.List<api.DataTransfer> o) {
+checkUnnamed116(core.List<api.DataTransfer> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataTransfer(o[0]);
checkDataTransfer(o[1]);
@@ -263,7 +263,7 @@
var o = new api.DataTransfersListResponse();
buildCounterDataTransfersListResponse++;
if (buildCounterDataTransfersListResponse < 3) {
- o.dataTransfers = buildUnnamed118();
+ o.dataTransfers = buildUnnamed116();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -275,7 +275,7 @@
checkDataTransfersListResponse(api.DataTransfersListResponse o) {
buildCounterDataTransfersListResponse++;
if (buildCounterDataTransfersListResponse < 3) {
- checkUnnamed118(o.dataTransfers);
+ checkUnnamed116(o.dataTransfers);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart
index 9d7c78b..2a1f690 100644
--- a/generated/googleapis/test/admin/directory_v1_test.dart
+++ b/generated/googleapis/test/admin/directory_v1_test.dart
@@ -78,14 +78,14 @@
buildCounterAlias--;
}
-buildUnnamed729() {
+buildUnnamed716() {
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;
}
-checkUnnamed729(core.List<core.Object> o) {
+checkUnnamed716(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'));
@@ -96,7 +96,7 @@
var o = new api.Aliases();
buildCounterAliases++;
if (buildCounterAliases < 3) {
- o.aliases = buildUnnamed729();
+ o.aliases = buildUnnamed716();
o.etag = "foo";
o.kind = "foo";
}
@@ -107,7 +107,7 @@
checkAliases(api.Aliases o) {
buildCounterAliases++;
if (buildCounterAliases < 3) {
- checkUnnamed729(o.aliases);
+ checkUnnamed716(o.aliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -145,14 +145,14 @@
buildCounterAsp--;
}
-buildUnnamed730() {
+buildUnnamed717() {
var o = new core.List<api.Asp>();
o.add(buildAsp());
o.add(buildAsp());
return o;
}
-checkUnnamed730(core.List<api.Asp> o) {
+checkUnnamed717(core.List<api.Asp> o) {
unittest.expect(o, unittest.hasLength(2));
checkAsp(o[0]);
checkAsp(o[1]);
@@ -164,7 +164,7 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
o.etag = "foo";
- o.items = buildUnnamed730();
+ o.items = buildUnnamed717();
o.kind = "foo";
}
buildCounterAsps--;
@@ -175,7 +175,7 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed730(o.items);
+ checkUnnamed717(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAsps--;
@@ -212,14 +212,14 @@
buildCounterCalendarResource--;
}
-buildUnnamed731() {
+buildUnnamed718() {
var o = new core.List<api.CalendarResource>();
o.add(buildCalendarResource());
o.add(buildCalendarResource());
return o;
}
-checkUnnamed731(core.List<api.CalendarResource> o) {
+checkUnnamed718(core.List<api.CalendarResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarResource(o[0]);
checkCalendarResource(o[1]);
@@ -231,7 +231,7 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
o.etag = "foo";
- o.items = buildUnnamed731();
+ o.items = buildUnnamed718();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -243,21 +243,21 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed731(o.items);
+ checkUnnamed718(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCalendarResources--;
}
-buildUnnamed732() {
+buildUnnamed719() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed732(core.Map<core.String, core.String> o) {
+checkUnnamed719(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'));
@@ -272,7 +272,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed732();
+ o.params = buildUnnamed719();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -290,7 +290,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed732(o.params);
+ checkUnnamed719(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -321,14 +321,14 @@
buildCounterChromeOsDeviceActiveTimeRanges--;
}
-buildUnnamed733() {
+buildUnnamed720() {
var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>();
o.add(buildChromeOsDeviceActiveTimeRanges());
o.add(buildChromeOsDeviceActiveTimeRanges());
return o;
}
-checkUnnamed733(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
+checkUnnamed720(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceActiveTimeRanges(o[0]);
checkChromeOsDeviceActiveTimeRanges(o[1]);
@@ -355,14 +355,14 @@
buildCounterChromeOsDeviceRecentUsers--;
}
-buildUnnamed734() {
+buildUnnamed721() {
var o = new core.List<api.ChromeOsDeviceRecentUsers>();
o.add(buildChromeOsDeviceRecentUsers());
o.add(buildChromeOsDeviceRecentUsers());
return o;
}
-checkUnnamed734(core.List<api.ChromeOsDeviceRecentUsers> o) {
+checkUnnamed721(core.List<api.ChromeOsDeviceRecentUsers> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceRecentUsers(o[0]);
checkChromeOsDeviceRecentUsers(o[1]);
@@ -373,7 +373,7 @@
var o = new api.ChromeOsDevice();
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- o.activeTimeRanges = buildUnnamed733();
+ o.activeTimeRanges = buildUnnamed720();
o.annotatedAssetId = "foo";
o.annotatedLocation = "foo";
o.annotatedUser = "foo";
@@ -393,7 +393,7 @@
o.orgUnitPath = "foo";
o.osVersion = "foo";
o.platformVersion = "foo";
- o.recentUsers = buildUnnamed734();
+ o.recentUsers = buildUnnamed721();
o.serialNumber = "foo";
o.status = "foo";
o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02");
@@ -406,7 +406,7 @@
checkChromeOsDevice(api.ChromeOsDevice o) {
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- checkUnnamed733(o.activeTimeRanges);
+ checkUnnamed720(o.activeTimeRanges);
unittest.expect(o.annotatedAssetId, unittest.equals('foo'));
unittest.expect(o.annotatedLocation, unittest.equals('foo'));
unittest.expect(o.annotatedUser, unittest.equals('foo'));
@@ -426,7 +426,7 @@
unittest.expect(o.orgUnitPath, unittest.equals('foo'));
unittest.expect(o.osVersion, unittest.equals('foo'));
unittest.expect(o.platformVersion, unittest.equals('foo'));
- checkUnnamed734(o.recentUsers);
+ checkUnnamed721(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")));
@@ -456,14 +456,14 @@
buildCounterChromeOsDeviceAction--;
}
-buildUnnamed735() {
+buildUnnamed722() {
var o = new core.List<api.ChromeOsDevice>();
o.add(buildChromeOsDevice());
o.add(buildChromeOsDevice());
return o;
}
-checkUnnamed735(core.List<api.ChromeOsDevice> o) {
+checkUnnamed722(core.List<api.ChromeOsDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDevice(o[0]);
checkChromeOsDevice(o[1]);
@@ -474,7 +474,7 @@
var o = new api.ChromeOsDevices();
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- o.chromeosdevices = buildUnnamed735();
+ o.chromeosdevices = buildUnnamed722();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -486,7 +486,7 @@
checkChromeOsDevices(api.ChromeOsDevices o) {
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- checkUnnamed735(o.chromeosdevices);
+ checkUnnamed722(o.chromeosdevices);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -593,14 +593,14 @@
buildCounterDomainAlias--;
}
-buildUnnamed736() {
+buildUnnamed723() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed736(core.List<api.DomainAlias> o) {
+checkUnnamed723(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -611,7 +611,7 @@
var o = new api.DomainAliases();
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- o.domainAliases = buildUnnamed736();
+ o.domainAliases = buildUnnamed723();
o.etag = "foo";
o.kind = "foo";
}
@@ -622,21 +622,21 @@
checkDomainAliases(api.DomainAliases o) {
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- checkUnnamed736(o.domainAliases);
+ checkUnnamed723(o.domainAliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDomainAliases--;
}
-buildUnnamed737() {
+buildUnnamed724() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed737(core.List<api.DomainAlias> o) {
+checkUnnamed724(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -648,7 +648,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
o.creationTime = "foo";
- o.domainAliases = buildUnnamed737();
+ o.domainAliases = buildUnnamed724();
o.domainName = "foo";
o.etag = "foo";
o.isPrimary = true;
@@ -663,7 +663,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
unittest.expect(o.creationTime, unittest.equals('foo'));
- checkUnnamed737(o.domainAliases);
+ checkUnnamed724(o.domainAliases);
unittest.expect(o.domainName, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isPrimary, unittest.isTrue);
@@ -673,14 +673,14 @@
buildCounterDomains--;
}
-buildUnnamed738() {
+buildUnnamed725() {
var o = new core.List<api.Domains>();
o.add(buildDomains());
o.add(buildDomains());
return o;
}
-checkUnnamed738(core.List<api.Domains> o) {
+checkUnnamed725(core.List<api.Domains> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomains(o[0]);
checkDomains(o[1]);
@@ -691,7 +691,7 @@
var o = new api.Domains2();
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- o.domains = buildUnnamed738();
+ o.domains = buildUnnamed725();
o.etag = "foo";
o.kind = "foo";
}
@@ -702,34 +702,34 @@
checkDomains2(api.Domains2 o) {
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- checkUnnamed738(o.domains);
+ checkUnnamed725(o.domains);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDomains2--;
}
-buildUnnamed739() {
+buildUnnamed726() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed739(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'));
}
-buildUnnamed740() {
+buildUnnamed727() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed740(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'));
@@ -741,7 +741,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
o.adminCreated = true;
- o.aliases = buildUnnamed739();
+ o.aliases = buildUnnamed726();
o.description = "foo";
o.directMembersCount = "foo";
o.email = "foo";
@@ -749,7 +749,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.nonEditableAliases = buildUnnamed740();
+ o.nonEditableAliases = buildUnnamed727();
}
buildCounterGroup--;
return o;
@@ -759,7 +759,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
unittest.expect(o.adminCreated, unittest.isTrue);
- checkUnnamed739(o.aliases);
+ checkUnnamed726(o.aliases);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.directMembersCount, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -767,19 +767,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed740(o.nonEditableAliases);
+ checkUnnamed727(o.nonEditableAliases);
}
buildCounterGroup--;
}
-buildUnnamed741() {
+buildUnnamed728() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed741(core.List<api.Group> o) {
+checkUnnamed728(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -791,7 +791,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
o.etag = "foo";
- o.groups = buildUnnamed741();
+ o.groups = buildUnnamed728();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -803,7 +803,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed741(o.groups);
+ checkUnnamed728(o.groups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -841,14 +841,14 @@
buildCounterMember--;
}
-buildUnnamed742() {
+buildUnnamed729() {
var o = new core.List<api.Member>();
o.add(buildMember());
o.add(buildMember());
return o;
}
-checkUnnamed742(core.List<api.Member> o) {
+checkUnnamed729(core.List<api.Member> o) {
unittest.expect(o, unittest.hasLength(2));
checkMember(o[0]);
checkMember(o[1]);
@@ -861,7 +861,7 @@
if (buildCounterMembers < 3) {
o.etag = "foo";
o.kind = "foo";
- o.members = buildUnnamed742();
+ o.members = buildUnnamed729();
o.nextPageToken = "foo";
}
buildCounterMembers--;
@@ -873,20 +873,20 @@
if (buildCounterMembers < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed742(o.members);
+ checkUnnamed729(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMembers--;
}
-buildUnnamed743() {
+buildUnnamed730() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed743(core.List<core.String> o) {
+checkUnnamed730(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -899,7 +899,7 @@
if (buildCounterMobileDeviceApplications < 3) {
o.displayName = "foo";
o.packageName = "foo";
- o.permission = buildUnnamed743();
+ o.permission = buildUnnamed730();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -912,60 +912,60 @@
if (buildCounterMobileDeviceApplications < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed743(o.permission);
+ checkUnnamed730(o.permission);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
buildCounterMobileDeviceApplications--;
}
-buildUnnamed744() {
+buildUnnamed731() {
var o = new core.List<api.MobileDeviceApplications>();
o.add(buildMobileDeviceApplications());
o.add(buildMobileDeviceApplications());
return o;
}
-checkUnnamed744(core.List<api.MobileDeviceApplications> o) {
+checkUnnamed731(core.List<api.MobileDeviceApplications> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDeviceApplications(o[0]);
checkMobileDeviceApplications(o[1]);
}
-buildUnnamed745() {
+buildUnnamed732() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed745(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'));
}
-buildUnnamed746() {
+buildUnnamed733() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed746(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'));
}
-buildUnnamed747() {
+buildUnnamed734() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed747(core.List<core.String> o) {
+checkUnnamed734(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -977,7 +977,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
o.adbStatus = true;
- o.applications = buildUnnamed744();
+ o.applications = buildUnnamed731();
o.basebandVersion = "foo";
o.bootloaderVersion = "foo";
o.brand = "foo";
@@ -987,7 +987,7 @@
o.deviceCompromisedStatus = "foo";
o.deviceId = "foo";
o.devicePasswordStatus = "foo";
- o.email = buildUnnamed745();
+ o.email = buildUnnamed732();
o.encryptionStatus = "foo";
o.etag = "foo";
o.firstSync = core.DateTime.parse("2002-02-27T14:01:02");
@@ -1001,10 +1001,10 @@
o.manufacturer = "foo";
o.meid = "foo";
o.model = "foo";
- o.name = buildUnnamed746();
+ o.name = buildUnnamed733();
o.networkOperator = "foo";
o.os = "foo";
- o.otherAccountsInfo = buildUnnamed747();
+ o.otherAccountsInfo = buildUnnamed734();
o.privilege = "foo";
o.releaseVersion = "foo";
o.resourceId = "foo";
@@ -1025,7 +1025,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
unittest.expect(o.adbStatus, unittest.isTrue);
- checkUnnamed744(o.applications);
+ checkUnnamed731(o.applications);
unittest.expect(o.basebandVersion, unittest.equals('foo'));
unittest.expect(o.bootloaderVersion, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
@@ -1035,7 +1035,7 @@
unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo'));
unittest.expect(o.deviceId, unittest.equals('foo'));
unittest.expect(o.devicePasswordStatus, unittest.equals('foo'));
- checkUnnamed745(o.email);
+ checkUnnamed732(o.email);
unittest.expect(o.encryptionStatus, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -1049,10 +1049,10 @@
unittest.expect(o.manufacturer, unittest.equals('foo'));
unittest.expect(o.meid, unittest.equals('foo'));
unittest.expect(o.model, unittest.equals('foo'));
- checkUnnamed746(o.name);
+ checkUnnamed733(o.name);
unittest.expect(o.networkOperator, unittest.equals('foo'));
unittest.expect(o.os, unittest.equals('foo'));
- checkUnnamed747(o.otherAccountsInfo);
+ checkUnnamed734(o.otherAccountsInfo);
unittest.expect(o.privilege, unittest.equals('foo'));
unittest.expect(o.releaseVersion, unittest.equals('foo'));
unittest.expect(o.resourceId, unittest.equals('foo'));
@@ -1087,14 +1087,14 @@
buildCounterMobileDeviceAction--;
}
-buildUnnamed748() {
+buildUnnamed735() {
var o = new core.List<api.MobileDevice>();
o.add(buildMobileDevice());
o.add(buildMobileDevice());
return o;
}
-checkUnnamed748(core.List<api.MobileDevice> o) {
+checkUnnamed735(core.List<api.MobileDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDevice(o[0]);
checkMobileDevice(o[1]);
@@ -1107,7 +1107,7 @@
if (buildCounterMobileDevices < 3) {
o.etag = "foo";
o.kind = "foo";
- o.mobiledevices = buildUnnamed748();
+ o.mobiledevices = buildUnnamed735();
o.nextPageToken = "foo";
}
buildCounterMobileDevices--;
@@ -1119,7 +1119,7 @@
if (buildCounterMobileDevices < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed748(o.mobiledevices);
+ checkUnnamed735(o.mobiledevices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMobileDevices--;
@@ -1158,14 +1158,14 @@
buildCounterNotification--;
}
-buildUnnamed749() {
+buildUnnamed736() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed749(core.List<api.Notification> o) {
+checkUnnamed736(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1177,7 +1177,7 @@
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
o.etag = "foo";
- o.items = buildUnnamed749();
+ o.items = buildUnnamed736();
o.kind = "foo";
o.nextPageToken = "foo";
o.unreadNotificationsCount = 42;
@@ -1190,7 +1190,7 @@
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed749(o.items);
+ checkUnnamed736(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.unreadNotificationsCount, unittest.equals(42));
@@ -1233,14 +1233,14 @@
buildCounterOrgUnit--;
}
-buildUnnamed750() {
+buildUnnamed737() {
var o = new core.List<api.OrgUnit>();
o.add(buildOrgUnit());
o.add(buildOrgUnit());
return o;
}
-checkUnnamed750(core.List<api.OrgUnit> o) {
+checkUnnamed737(core.List<api.OrgUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrgUnit(o[0]);
checkOrgUnit(o[1]);
@@ -1253,7 +1253,7 @@
if (buildCounterOrgUnits < 3) {
o.etag = "foo";
o.kind = "foo";
- o.organizationUnits = buildUnnamed750();
+ o.organizationUnits = buildUnnamed737();
}
buildCounterOrgUnits--;
return o;
@@ -1264,19 +1264,19 @@
if (buildCounterOrgUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed750(o.organizationUnits);
+ checkUnnamed737(o.organizationUnits);
}
buildCounterOrgUnits--;
}
-buildUnnamed751() {
+buildUnnamed738() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed751(core.List<api.Privilege> o) {
+checkUnnamed738(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1287,7 +1287,7 @@
var o = new api.Privilege();
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- o.childPrivileges = buildUnnamed751();
+ o.childPrivileges = buildUnnamed738();
o.etag = "foo";
o.isOuScopable = true;
o.kind = "foo";
@@ -1302,7 +1302,7 @@
checkPrivilege(api.Privilege o) {
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- checkUnnamed751(o.childPrivileges);
+ checkUnnamed738(o.childPrivileges);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isOuScopable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1313,14 +1313,14 @@
buildCounterPrivilege--;
}
-buildUnnamed752() {
+buildUnnamed739() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed752(core.List<api.Privilege> o) {
+checkUnnamed739(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1332,7 +1332,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
o.etag = "foo";
- o.items = buildUnnamed752();
+ o.items = buildUnnamed739();
o.kind = "foo";
}
buildCounterPrivileges--;
@@ -1343,7 +1343,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed752(o.items);
+ checkUnnamed739(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPrivileges--;
@@ -1370,14 +1370,14 @@
buildCounterRoleRolePrivileges--;
}
-buildUnnamed753() {
+buildUnnamed740() {
var o = new core.List<api.RoleRolePrivileges>();
o.add(buildRoleRolePrivileges());
o.add(buildRoleRolePrivileges());
return o;
}
-checkUnnamed753(core.List<api.RoleRolePrivileges> o) {
+checkUnnamed740(core.List<api.RoleRolePrivileges> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleRolePrivileges(o[0]);
checkRoleRolePrivileges(o[1]);
@@ -1395,7 +1395,7 @@
o.roleDescription = "foo";
o.roleId = "foo";
o.roleName = "foo";
- o.rolePrivileges = buildUnnamed753();
+ o.rolePrivileges = buildUnnamed740();
}
buildCounterRole--;
return o;
@@ -1411,7 +1411,7 @@
unittest.expect(o.roleDescription, unittest.equals('foo'));
unittest.expect(o.roleId, unittest.equals('foo'));
unittest.expect(o.roleName, unittest.equals('foo'));
- checkUnnamed753(o.rolePrivileges);
+ checkUnnamed740(o.rolePrivileges);
}
buildCounterRole--;
}
@@ -1447,14 +1447,14 @@
buildCounterRoleAssignment--;
}
-buildUnnamed754() {
+buildUnnamed741() {
var o = new core.List<api.RoleAssignment>();
o.add(buildRoleAssignment());
o.add(buildRoleAssignment());
return o;
}
-checkUnnamed754(core.List<api.RoleAssignment> o) {
+checkUnnamed741(core.List<api.RoleAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleAssignment(o[0]);
checkRoleAssignment(o[1]);
@@ -1466,7 +1466,7 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
o.etag = "foo";
- o.items = buildUnnamed754();
+ o.items = buildUnnamed741();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1478,21 +1478,21 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed754(o.items);
+ checkUnnamed741(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoleAssignments--;
}
-buildUnnamed755() {
+buildUnnamed742() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed755(core.List<api.Role> o) {
+checkUnnamed742(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -1504,7 +1504,7 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
o.etag = "foo";
- o.items = buildUnnamed755();
+ o.items = buildUnnamed742();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1516,21 +1516,21 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed755(o.items);
+ checkUnnamed742(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoles--;
}
-buildUnnamed756() {
+buildUnnamed743() {
var o = new core.List<api.SchemaFieldSpec>();
o.add(buildSchemaFieldSpec());
o.add(buildSchemaFieldSpec());
return o;
}
-checkUnnamed756(core.List<api.SchemaFieldSpec> o) {
+checkUnnamed743(core.List<api.SchemaFieldSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchemaFieldSpec(o[0]);
checkSchemaFieldSpec(o[1]);
@@ -1542,7 +1542,7 @@
buildCounterSchema++;
if (buildCounterSchema < 3) {
o.etag = "foo";
- o.fields = buildUnnamed756();
+ o.fields = buildUnnamed743();
o.kind = "foo";
o.schemaId = "foo";
o.schemaName = "foo";
@@ -1555,7 +1555,7 @@
buildCounterSchema++;
if (buildCounterSchema < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed756(o.fields);
+ checkUnnamed743(o.fields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.schemaId, unittest.equals('foo'));
unittest.expect(o.schemaName, unittest.equals('foo'));
@@ -1619,14 +1619,14 @@
buildCounterSchemaFieldSpec--;
}
-buildUnnamed757() {
+buildUnnamed744() {
var o = new core.List<api.Schema>();
o.add(buildSchema());
o.add(buildSchema());
return o;
}
-checkUnnamed757(core.List<api.Schema> o) {
+checkUnnamed744(core.List<api.Schema> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchema(o[0]);
checkSchema(o[1]);
@@ -1639,7 +1639,7 @@
if (buildCounterSchemas < 3) {
o.etag = "foo";
o.kind = "foo";
- o.schemas = buildUnnamed757();
+ o.schemas = buildUnnamed744();
}
buildCounterSchemas--;
return o;
@@ -1650,19 +1650,19 @@
if (buildCounterSchemas < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed757(o.schemas);
+ checkUnnamed744(o.schemas);
}
buildCounterSchemas--;
}
-buildUnnamed758() {
+buildUnnamed745() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed758(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'));
@@ -1679,7 +1679,7 @@
o.etag = "foo";
o.kind = "foo";
o.nativeApp = true;
- o.scopes = buildUnnamed758();
+ o.scopes = buildUnnamed745();
o.userKey = "foo";
}
buildCounterToken--;
@@ -1695,20 +1695,20 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nativeApp, unittest.isTrue);
- checkUnnamed758(o.scopes);
+ checkUnnamed745(o.scopes);
unittest.expect(o.userKey, unittest.equals('foo'));
}
buildCounterToken--;
}
-buildUnnamed759() {
+buildUnnamed746() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed759(core.List<api.Token> o) {
+checkUnnamed746(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -1720,7 +1720,7 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
o.etag = "foo";
- o.items = buildUnnamed759();
+ o.items = buildUnnamed746();
o.kind = "foo";
}
buildCounterTokens--;
@@ -1731,46 +1731,46 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed759(o.items);
+ checkUnnamed746(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTokens--;
}
-buildUnnamed760() {
+buildUnnamed747() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed760(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'));
}
-buildUnnamed761() {
+buildUnnamed748() {
var o = new core.Map<core.String, api.UserCustomProperties>();
o["x"] = buildUserCustomProperties();
o["y"] = buildUserCustomProperties();
return o;
}
-checkUnnamed761(core.Map<core.String, api.UserCustomProperties> o) {
+checkUnnamed748(core.Map<core.String, api.UserCustomProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserCustomProperties(o["x"]);
checkUserCustomProperties(o["y"]);
}
-buildUnnamed762() {
+buildUnnamed749() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed762(core.List<core.String> o) {
+checkUnnamed749(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1783,10 +1783,10 @@
if (buildCounterUser < 3) {
o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.agreedToTerms = true;
- o.aliases = buildUnnamed760();
+ o.aliases = buildUnnamed747();
o.changePasswordAtNextLogin = true;
o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.customSchemas = buildUnnamed761();
+ o.customSchemas = buildUnnamed748();
o.customerId = "foo";
o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02");
o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
@@ -1805,7 +1805,7 @@
o.kind = "foo";
o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02");
o.name = buildUserName();
- o.nonEditableAliases = buildUnnamed762();
+ o.nonEditableAliases = buildUnnamed749();
o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.orgUnitPath = "foo";
o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
@@ -1830,10 +1830,10 @@
if (buildCounterUser < 3) {
var casted3 = (o.addresses) 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.agreedToTerms, unittest.isTrue);
- checkUnnamed760(o.aliases);
+ checkUnnamed747(o.aliases);
unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue);
unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed761(o.customSchemas);
+ checkUnnamed748(o.customSchemas);
unittest.expect(o.customerId, unittest.equals('foo'));
unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
var casted4 = (o.emails) 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'));
@@ -1852,7 +1852,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);
- checkUnnamed762(o.nonEditableAliases);
+ checkUnnamed749(o.nonEditableAliases);
var casted7 = (o.notes) 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'));
unittest.expect(o.orgUnitPath, unittest.equals('foo'));
var casted8 = (o.organizations) 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'));
@@ -2287,14 +2287,14 @@
buildCounterUserWebsite--;
}
-buildUnnamed763() {
+buildUnnamed750() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed763(core.List<api.User> o) {
+checkUnnamed750(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -2309,7 +2309,7 @@
o.kind = "foo";
o.nextPageToken = "foo";
o.triggerEvent = "foo";
- o.users = buildUnnamed763();
+ o.users = buildUnnamed750();
}
buildCounterUsers--;
return o;
@@ -2322,7 +2322,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.triggerEvent, unittest.equals('foo'));
- checkUnnamed763(o.users);
+ checkUnnamed750(o.users);
}
buildCounterUsers--;
}
@@ -2352,14 +2352,14 @@
buildCounterVerificationCode--;
}
-buildUnnamed764() {
+buildUnnamed751() {
var o = new core.List<api.VerificationCode>();
o.add(buildVerificationCode());
o.add(buildVerificationCode());
return o;
}
-checkUnnamed764(core.List<api.VerificationCode> o) {
+checkUnnamed751(core.List<api.VerificationCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkVerificationCode(o[0]);
checkVerificationCode(o[1]);
@@ -2371,7 +2371,7 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
o.etag = "foo";
- o.items = buildUnnamed764();
+ o.items = buildUnnamed751();
o.kind = "foo";
}
buildCounterVerificationCodes--;
@@ -2382,59 +2382,59 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed764(o.items);
+ checkUnnamed751(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterVerificationCodes--;
}
-buildUnnamed765() {
+buildUnnamed752() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed765(core.List<core.String> o) {
+checkUnnamed752(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed766() {
+buildUnnamed753() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed766(core.List<core.String> o) {
+checkUnnamed753(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed767() {
+buildUnnamed754() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed767(core.List<core.String> o) {
+checkUnnamed754(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed768() {
+buildUnnamed755() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed768(core.List<core.String> o) {
+checkUnnamed755(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5539,7 +5539,7 @@
var mock = new HttpServerMock();
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed765();
+ var arg_orgUnitPath = buildUnnamed752();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5593,7 +5593,7 @@
var mock = new HttpServerMock();
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed766();
+ var arg_orgUnitPath = buildUnnamed753();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5764,7 +5764,7 @@
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_request = buildOrgUnit();
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed767();
+ var arg_orgUnitPath = buildUnnamed754();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.OrgUnit.fromJson(json);
checkOrgUnit(obj);
@@ -5824,7 +5824,7 @@
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_request = buildOrgUnit();
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed768();
+ var arg_orgUnitPath = buildUnnamed755();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.OrgUnit.fromJson(json);
checkOrgUnit(obj);
diff --git a/generated/googleapis/test/admin/reports_v1_test.dart b/generated/googleapis/test/admin/reports_v1_test.dart
index 8bb51e3..b75348c 100644
--- a/generated/googleapis/test/admin/reports_v1_test.dart
+++ b/generated/googleapis/test/admin/reports_v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed619() {
+buildUnnamed605() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed619(core.List<api.Activity> o) {
+checkUnnamed605(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -70,7 +70,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
o.etag = "foo";
- o.items = buildUnnamed619();
+ o.items = buildUnnamed605();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -82,7 +82,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed619(o.items);
+ checkUnnamed605(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -114,27 +114,27 @@
buildCounterActivityActor--;
}
-buildUnnamed620() {
+buildUnnamed606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed620(core.List<core.String> o) {
+checkUnnamed606(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed621() {
+buildUnnamed607() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed621(core.List<core.String> o) {
+checkUnnamed607(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -147,8 +147,8 @@
if (buildCounterActivityEventsParameters < 3) {
o.boolValue = true;
o.intValue = "foo";
- o.multiIntValue = buildUnnamed620();
- o.multiValue = buildUnnamed621();
+ o.multiIntValue = buildUnnamed606();
+ o.multiValue = buildUnnamed607();
o.name = "foo";
o.value = "foo";
}
@@ -161,22 +161,22 @@
if (buildCounterActivityEventsParameters < 3) {
unittest.expect(o.boolValue, unittest.isTrue);
unittest.expect(o.intValue, unittest.equals('foo'));
- checkUnnamed620(o.multiIntValue);
- checkUnnamed621(o.multiValue);
+ checkUnnamed606(o.multiIntValue);
+ checkUnnamed607(o.multiValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterActivityEventsParameters--;
}
-buildUnnamed622() {
+buildUnnamed608() {
var o = new core.List<api.ActivityEventsParameters>();
o.add(buildActivityEventsParameters());
o.add(buildActivityEventsParameters());
return o;
}
-checkUnnamed622(core.List<api.ActivityEventsParameters> o) {
+checkUnnamed608(core.List<api.ActivityEventsParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEventsParameters(o[0]);
checkActivityEventsParameters(o[1]);
@@ -188,7 +188,7 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
o.name = "foo";
- o.parameters = buildUnnamed622();
+ o.parameters = buildUnnamed608();
o.type = "foo";
}
buildCounterActivityEvents--;
@@ -199,20 +199,20 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed622(o.parameters);
+ checkUnnamed608(o.parameters);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterActivityEvents--;
}
-buildUnnamed623() {
+buildUnnamed609() {
var o = new core.List<api.ActivityEvents>();
o.add(buildActivityEvents());
o.add(buildActivityEvents());
return o;
}
-checkUnnamed623(core.List<api.ActivityEvents> o) {
+checkUnnamed609(core.List<api.ActivityEvents> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEvents(o[0]);
checkActivityEvents(o[1]);
@@ -250,7 +250,7 @@
if (buildCounterActivity < 3) {
o.actor = buildActivityActor();
o.etag = "foo";
- o.events = buildUnnamed623();
+ o.events = buildUnnamed609();
o.id = buildActivityId();
o.ipAddress = "foo";
o.kind = "foo";
@@ -265,7 +265,7 @@
if (buildCounterActivity < 3) {
checkActivityActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed623(o.events);
+ checkUnnamed609(o.events);
checkActivityId(o.id);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -274,14 +274,14 @@
buildCounterActivity--;
}
-buildUnnamed624() {
+buildUnnamed610() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed624(core.Map<core.String, core.String> o) {
+checkUnnamed610(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'));
@@ -296,7 +296,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed624();
+ o.params = buildUnnamed610();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -314,7 +314,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed624(o.params);
+ checkUnnamed610(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -349,30 +349,30 @@
buildCounterUsageReportEntity--;
}
-buildUnnamed625() {
+buildUnnamed611() {
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;
}
-checkUnnamed625(core.Map<core.String, core.Object> o) {
+checkUnnamed611(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'));
}
-buildUnnamed626() {
+buildUnnamed612() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed625());
- o.add(buildUnnamed625());
+ o.add(buildUnnamed611());
+ o.add(buildUnnamed611());
return o;
}
-checkUnnamed626(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed612(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed625(o[0]);
- checkUnnamed625(o[1]);
+ checkUnnamed611(o[0]);
+ checkUnnamed611(o[1]);
}
core.int buildCounterUsageReportParameters = 0;
@@ -383,7 +383,7 @@
o.boolValue = true;
o.datetimeValue = core.DateTime.parse("2002-02-27T14:01:02");
o.intValue = "foo";
- o.msgValue = buildUnnamed626();
+ o.msgValue = buildUnnamed612();
o.name = "foo";
o.stringValue = "foo";
}
@@ -397,21 +397,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'));
- checkUnnamed626(o.msgValue);
+ checkUnnamed612(o.msgValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
buildCounterUsageReportParameters--;
}
-buildUnnamed627() {
+buildUnnamed613() {
var o = new core.List<api.UsageReportParameters>();
o.add(buildUsageReportParameters());
o.add(buildUsageReportParameters());
return o;
}
-checkUnnamed627(core.List<api.UsageReportParameters> o) {
+checkUnnamed613(core.List<api.UsageReportParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportParameters(o[0]);
checkUsageReportParameters(o[1]);
@@ -426,7 +426,7 @@
o.entity = buildUsageReportEntity();
o.etag = "foo";
o.kind = "foo";
- o.parameters = buildUnnamed627();
+ o.parameters = buildUnnamed613();
}
buildCounterUsageReport--;
return o;
@@ -439,19 +439,19 @@
checkUsageReportEntity(o.entity);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed627(o.parameters);
+ checkUnnamed613(o.parameters);
}
buildCounterUsageReport--;
}
-buildUnnamed628() {
+buildUnnamed614() {
var o = new core.List<api.UsageReport>();
o.add(buildUsageReport());
o.add(buildUsageReport());
return o;
}
-checkUnnamed628(core.List<api.UsageReport> o) {
+checkUnnamed614(core.List<api.UsageReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReport(o[0]);
checkUsageReport(o[1]);
@@ -478,14 +478,14 @@
buildCounterUsageReportsWarningsData--;
}
-buildUnnamed629() {
+buildUnnamed615() {
var o = new core.List<api.UsageReportsWarningsData>();
o.add(buildUsageReportsWarningsData());
o.add(buildUsageReportsWarningsData());
return o;
}
-checkUnnamed629(core.List<api.UsageReportsWarningsData> o) {
+checkUnnamed615(core.List<api.UsageReportsWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarningsData(o[0]);
checkUsageReportsWarningsData(o[1]);
@@ -497,7 +497,7 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed629();
+ o.data = buildUnnamed615();
o.message = "foo";
}
buildCounterUsageReportsWarnings--;
@@ -508,20 +508,20 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed629(o.data);
+ checkUnnamed615(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUsageReportsWarnings--;
}
-buildUnnamed630() {
+buildUnnamed616() {
var o = new core.List<api.UsageReportsWarnings>();
o.add(buildUsageReportsWarnings());
o.add(buildUsageReportsWarnings());
return o;
}
-checkUnnamed630(core.List<api.UsageReportsWarnings> o) {
+checkUnnamed616(core.List<api.UsageReportsWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarnings(o[0]);
checkUsageReportsWarnings(o[1]);
@@ -535,8 +535,8 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.usageReports = buildUnnamed628();
- o.warnings = buildUnnamed630();
+ o.usageReports = buildUnnamed614();
+ o.warnings = buildUnnamed616();
}
buildCounterUsageReports--;
return o;
@@ -548,8 +548,8 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed628(o.usageReports);
- checkUnnamed630(o.warnings);
+ checkUnnamed614(o.usageReports);
+ checkUnnamed616(o.warnings);
}
buildCounterUsageReports--;
}
diff --git a/generated/googleapis/test/adsense/v1_4_test.dart b/generated/googleapis/test/adsense/v1_4_test.dart
index a7a8347..be84566 100644
--- a/generated/googleapis/test/adsense/v1_4_test.dart
+++ b/generated/googleapis/test/adsense/v1_4_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1670() {
+buildUnnamed1682() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1670(core.List<api.Account> o) {
+checkUnnamed1682(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -74,7 +74,7 @@
o.kind = "foo";
o.name = "foo";
o.premium = true;
- o.subAccounts = buildUnnamed1670();
+ o.subAccounts = buildUnnamed1682();
o.timezone = "foo";
}
buildCounterAccount--;
@@ -89,20 +89,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.premium, unittest.isTrue);
- checkUnnamed1670(o.subAccounts);
+ checkUnnamed1682(o.subAccounts);
unittest.expect(o.timezone, unittest.equals('foo'));
}
buildCounterAccount--;
}
-buildUnnamed1671() {
+buildUnnamed1683() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1671(core.List<api.Account> o) {
+checkUnnamed1683(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -114,7 +114,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed1671();
+ o.items = buildUnnamed1683();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -126,7 +126,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1671(o.items);
+ checkUnnamed1683(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -160,14 +160,14 @@
buildCounterAdClient--;
}
-buildUnnamed1672() {
+buildUnnamed1684() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed1672(core.List<api.AdClient> o) {
+checkUnnamed1684(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -179,7 +179,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed1672();
+ o.items = buildUnnamed1684();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -191,7 +191,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1672(o.items);
+ checkUnnamed1684(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -425,14 +425,14 @@
buildCounterAdUnit--;
}
-buildUnnamed1673() {
+buildUnnamed1685() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed1673(core.List<api.AdUnit> o) {
+checkUnnamed1685(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -444,7 +444,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed1673();
+ o.items = buildUnnamed1685();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -456,21 +456,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1673(o.items);
+ checkUnnamed1685(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed1674() {
+buildUnnamed1686() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1674(core.List<core.String> o) {
+checkUnnamed1686(core.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,66 +499,66 @@
buildCounterAdsenseReportsGenerateResponseHeaders--;
}
-buildUnnamed1675() {
+buildUnnamed1687() {
var o = new core.List<api.AdsenseReportsGenerateResponseHeaders>();
o.add(buildAdsenseReportsGenerateResponseHeaders());
o.add(buildAdsenseReportsGenerateResponseHeaders());
return o;
}
-checkUnnamed1675(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
+checkUnnamed1687(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdsenseReportsGenerateResponseHeaders(o[0]);
checkAdsenseReportsGenerateResponseHeaders(o[1]);
}
-buildUnnamed1676() {
+buildUnnamed1688() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1676(core.List<core.String> o) {
+checkUnnamed1688(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1677() {
+buildUnnamed1689() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1676());
- o.add(buildUnnamed1676());
+ o.add(buildUnnamed1688());
+ o.add(buildUnnamed1688());
return o;
}
-checkUnnamed1677(core.List<core.List<core.String>> o) {
+checkUnnamed1689(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1676(o[0]);
- checkUnnamed1676(o[1]);
+ checkUnnamed1688(o[0]);
+ checkUnnamed1688(o[1]);
}
-buildUnnamed1678() {
+buildUnnamed1690() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1678(core.List<core.String> o) {
+checkUnnamed1690(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1679() {
+buildUnnamed1691() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1679(core.List<core.String> o) {
+checkUnnamed1691(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -569,15 +569,15 @@
var o = new api.AdsenseReportsGenerateResponse();
buildCounterAdsenseReportsGenerateResponse++;
if (buildCounterAdsenseReportsGenerateResponse < 3) {
- o.averages = buildUnnamed1674();
+ o.averages = buildUnnamed1686();
o.endDate = "foo";
- o.headers = buildUnnamed1675();
+ o.headers = buildUnnamed1687();
o.kind = "foo";
- o.rows = buildUnnamed1677();
+ o.rows = buildUnnamed1689();
o.startDate = "foo";
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed1678();
- o.warnings = buildUnnamed1679();
+ o.totals = buildUnnamed1690();
+ o.warnings = buildUnnamed1691();
}
buildCounterAdsenseReportsGenerateResponse--;
return o;
@@ -586,15 +586,15 @@
checkAdsenseReportsGenerateResponse(api.AdsenseReportsGenerateResponse o) {
buildCounterAdsenseReportsGenerateResponse++;
if (buildCounterAdsenseReportsGenerateResponse < 3) {
- checkUnnamed1674(o.averages);
+ checkUnnamed1686(o.averages);
unittest.expect(o.endDate, unittest.equals('foo'));
- checkUnnamed1675(o.headers);
+ checkUnnamed1687(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1677(o.rows);
+ checkUnnamed1689(o.rows);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed1678(o.totals);
- checkUnnamed1679(o.warnings);
+ checkUnnamed1690(o.totals);
+ checkUnnamed1691(o.warnings);
}
buildCounterAdsenseReportsGenerateResponse--;
}
@@ -628,14 +628,14 @@
buildCounterAlert--;
}
-buildUnnamed1680() {
+buildUnnamed1692() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed1680(core.List<api.Alert> o) {
+checkUnnamed1692(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -646,7 +646,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed1680();
+ o.items = buildUnnamed1692();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -656,7 +656,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed1680(o.items);
+ checkUnnamed1692(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -714,14 +714,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed1681() {
+buildUnnamed1693() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed1681(core.List<api.CustomChannel> o) {
+checkUnnamed1693(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -733,7 +733,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1681();
+ o.items = buildUnnamed1693();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -745,21 +745,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1681(o.items);
+ checkUnnamed1693(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed1682() {
+buildUnnamed1694() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed1682(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed1694(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -770,7 +770,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed1682();
+ o.items = buildUnnamed1694();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -780,7 +780,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed1682(o.items);
+ checkUnnamed1694(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -813,14 +813,14 @@
buildCounterPayment--;
}
-buildUnnamed1683() {
+buildUnnamed1695() {
var o = new core.List<api.Payment>();
o.add(buildPayment());
o.add(buildPayment());
return o;
}
-checkUnnamed1683(core.List<api.Payment> o) {
+checkUnnamed1695(core.List<api.Payment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPayment(o[0]);
checkPayment(o[1]);
@@ -831,7 +831,7 @@
var o = new api.Payments();
buildCounterPayments++;
if (buildCounterPayments < 3) {
- o.items = buildUnnamed1683();
+ o.items = buildUnnamed1695();
o.kind = "foo";
}
buildCounterPayments--;
@@ -841,345 +841,12 @@
checkPayments(api.Payments o) {
buildCounterPayments++;
if (buildCounterPayments < 3) {
- checkUnnamed1683(o.items);
+ checkUnnamed1695(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPayments--;
}
-buildUnnamed1684() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1684(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1685() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1685(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1686() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1686(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1687() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1687(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1688() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1688(core.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 = buildUnnamed1684();
- o.compatibleMetrics = buildUnnamed1685();
- o.id = "foo";
- o.kind = "foo";
- o.requiredDimensions = buildUnnamed1686();
- o.requiredMetrics = buildUnnamed1687();
- o.supportedProducts = buildUnnamed1688();
- }
- buildCounterReportingMetadataEntry--;
- return o;
-}
-
-checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
- buildCounterReportingMetadataEntry++;
- if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed1684(o.compatibleDimensions);
- checkUnnamed1685(o.compatibleMetrics);
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1686(o.requiredDimensions);
- checkUnnamed1687(o.requiredMetrics);
- checkUnnamed1688(o.supportedProducts);
- }
- buildCounterReportingMetadataEntry--;
-}
-
-core.int buildCounterSavedAdStyle = 0;
-buildSavedAdStyle() {
- var o = new api.SavedAdStyle();
- buildCounterSavedAdStyle++;
- if (buildCounterSavedAdStyle < 3) {
- o.adStyle = buildAdStyle();
- o.id = "foo";
- o.kind = "foo";
- o.name = "foo";
- }
- buildCounterSavedAdStyle--;
- return o;
-}
-
-checkSavedAdStyle(api.SavedAdStyle o) {
- buildCounterSavedAdStyle++;
- if (buildCounterSavedAdStyle < 3) {
- checkAdStyle(o.adStyle);
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- }
- buildCounterSavedAdStyle--;
-}
-
-buildUnnamed1689() {
- var o = new core.List<api.SavedAdStyle>();
- o.add(buildSavedAdStyle());
- o.add(buildSavedAdStyle());
- return o;
-}
-
-checkUnnamed1689(core.List<api.SavedAdStyle> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSavedAdStyle(o[0]);
- checkSavedAdStyle(o[1]);
-}
-
-core.int buildCounterSavedAdStyles = 0;
-buildSavedAdStyles() {
- var o = new api.SavedAdStyles();
- buildCounterSavedAdStyles++;
- if (buildCounterSavedAdStyles < 3) {
- o.etag = "foo";
- o.items = buildUnnamed1689();
- o.kind = "foo";
- o.nextPageToken = "foo";
- }
- buildCounterSavedAdStyles--;
- return o;
-}
-
-checkSavedAdStyles(api.SavedAdStyles o) {
- buildCounterSavedAdStyles++;
- if (buildCounterSavedAdStyles < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1689(o.items);
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSavedAdStyles--;
-}
-
-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--;
-}
-
-buildUnnamed1690() {
- var o = new core.List<api.SavedReport>();
- o.add(buildSavedReport());
- o.add(buildSavedReport());
- return o;
-}
-
-checkUnnamed1690(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 = buildUnnamed1690();
- o.kind = "foo";
- o.nextPageToken = "foo";
- }
- buildCounterSavedReports--;
- return o;
-}
-
-checkSavedReports(api.SavedReports o) {
- buildCounterSavedReports++;
- if (buildCounterSavedReports < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1690(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--;
-}
-
-buildUnnamed1691() {
- var o = new core.List<api.UrlChannel>();
- o.add(buildUrlChannel());
- o.add(buildUrlChannel());
- return o;
-}
-
-checkUnnamed1691(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 = buildUnnamed1691();
- o.kind = "foo";
- o.nextPageToken = "foo";
- }
- buildCounterUrlChannels--;
- return o;
-}
-
-checkUrlChannels(api.UrlChannels o) {
- buildCounterUrlChannels++;
- if (buildCounterUrlChannels < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1691(o.items);
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterUrlChannels--;
-}
-
-buildUnnamed1692() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1692(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1693() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1693(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1694() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1694(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1695() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1695(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1696() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1245,6 +912,339 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterReportingMetadataEntry = 0;
+buildReportingMetadataEntry() {
+ var o = new api.ReportingMetadataEntry();
+ buildCounterReportingMetadataEntry++;
+ if (buildCounterReportingMetadataEntry < 3) {
+ o.compatibleDimensions = buildUnnamed1696();
+ o.compatibleMetrics = buildUnnamed1697();
+ o.id = "foo";
+ o.kind = "foo";
+ o.requiredDimensions = buildUnnamed1698();
+ o.requiredMetrics = buildUnnamed1699();
+ o.supportedProducts = buildUnnamed1700();
+ }
+ buildCounterReportingMetadataEntry--;
+ return o;
+}
+
+checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
+ buildCounterReportingMetadataEntry++;
+ if (buildCounterReportingMetadataEntry < 3) {
+ checkUnnamed1696(o.compatibleDimensions);
+ checkUnnamed1697(o.compatibleMetrics);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed1698(o.requiredDimensions);
+ checkUnnamed1699(o.requiredMetrics);
+ checkUnnamed1700(o.supportedProducts);
+ }
+ buildCounterReportingMetadataEntry--;
+}
+
+core.int buildCounterSavedAdStyle = 0;
+buildSavedAdStyle() {
+ var o = new api.SavedAdStyle();
+ buildCounterSavedAdStyle++;
+ if (buildCounterSavedAdStyle < 3) {
+ o.adStyle = buildAdStyle();
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterSavedAdStyle--;
+ return o;
+}
+
+checkSavedAdStyle(api.SavedAdStyle o) {
+ buildCounterSavedAdStyle++;
+ if (buildCounterSavedAdStyle < 3) {
+ checkAdStyle(o.adStyle);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterSavedAdStyle--;
+}
+
+buildUnnamed1701() {
+ var o = new core.List<api.SavedAdStyle>();
+ o.add(buildSavedAdStyle());
+ o.add(buildSavedAdStyle());
+ return o;
+}
+
+checkUnnamed1701(core.List<api.SavedAdStyle> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSavedAdStyle(o[0]);
+ checkSavedAdStyle(o[1]);
+}
+
+core.int buildCounterSavedAdStyles = 0;
+buildSavedAdStyles() {
+ var o = new api.SavedAdStyles();
+ buildCounterSavedAdStyles++;
+ if (buildCounterSavedAdStyles < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed1701();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterSavedAdStyles--;
+ return o;
+}
+
+checkSavedAdStyles(api.SavedAdStyles o) {
+ buildCounterSavedAdStyles++;
+ if (buildCounterSavedAdStyles < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed1701(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSavedAdStyles--;
+}
+
+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--;
+}
+
+buildUnnamed1702() {
+ var o = new core.List<api.SavedReport>();
+ o.add(buildSavedReport());
+ o.add(buildSavedReport());
+ return o;
+}
+
+checkUnnamed1702(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 = buildUnnamed1702();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterSavedReports--;
+ return o;
+}
+
+checkSavedReports(api.SavedReports o) {
+ buildCounterSavedReports++;
+ if (buildCounterSavedReports < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed1702(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--;
+}
+
+buildUnnamed1703() {
+ var o = new core.List<api.UrlChannel>();
+ o.add(buildUrlChannel());
+ o.add(buildUrlChannel());
+ return o;
+}
+
+checkUnnamed1703(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 = buildUnnamed1703();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterUrlChannels--;
+ return o;
+}
+
+checkUrlChannels(api.UrlChannels o) {
+ buildCounterUrlChannels++;
+ if (buildCounterUrlChannels < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed1703(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterUrlChannels--;
+}
+
+buildUnnamed1704() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1704(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1705() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1705(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1706() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1706(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1707() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1707(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1708() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1708(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1709() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1709(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1710() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1710(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1711() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1711(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1712() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1712(core.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", () {
@@ -2368,12 +2368,12 @@
var arg_startDate = "foo";
var arg_endDate = "foo";
var arg_currency = "foo";
- var arg_dimension = buildUnnamed1692();
- var arg_filter = buildUnnamed1693();
+ var arg_dimension = buildUnnamed1704();
+ var arg_filter = buildUnnamed1705();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1694();
- var arg_sort = buildUnnamed1695();
+ var arg_metric = buildUnnamed1706();
+ var arg_sort = buildUnnamed1707();
var arg_startIndex = 42;
var arg_useTimezoneReporting = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -3495,14 +3495,14 @@
api.ReportsResourceApi res = new api.AdsenseApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_accountId = buildUnnamed1696();
+ var arg_accountId = buildUnnamed1708();
var arg_currency = "foo";
- var arg_dimension = buildUnnamed1697();
- var arg_filter = buildUnnamed1698();
+ var arg_dimension = buildUnnamed1709();
+ var arg_filter = buildUnnamed1710();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1699();
- var arg_sort = buildUnnamed1700();
+ var arg_metric = buildUnnamed1711();
+ var arg_sort = buildUnnamed1712();
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 1eef0cf..18fd053 100644
--- a/generated/googleapis/test/adsensehost/v4_1_test.dart
+++ b/generated/googleapis/test/adsensehost/v4_1_test.dart
@@ -76,14 +76,14 @@
buildCounterAccount--;
}
-buildUnnamed2924() {
+buildUnnamed2938() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed2924(core.List<api.Account> o) {
+checkUnnamed2938(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -95,7 +95,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed2924();
+ o.items = buildUnnamed2938();
o.kind = "foo";
}
buildCounterAccounts--;
@@ -106,7 +106,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2924(o.items);
+ checkUnnamed2938(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccounts--;
@@ -139,14 +139,14 @@
buildCounterAdClient--;
}
-buildUnnamed2925() {
+buildUnnamed2939() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed2925(core.List<api.AdClient> o) {
+checkUnnamed2939(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -158,7 +158,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed2925();
+ o.items = buildUnnamed2939();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -170,7 +170,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2925(o.items);
+ checkUnnamed2939(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -375,14 +375,14 @@
buildCounterAdUnit--;
}
-buildUnnamed2926() {
+buildUnnamed2940() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed2926(core.List<api.AdUnit> o) {
+checkUnnamed2940(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -394,7 +394,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed2926();
+ o.items = buildUnnamed2940();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,21 +406,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2926(o.items);
+ checkUnnamed2940(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed2927() {
+buildUnnamed2941() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2927(core.List<core.String> o) {
+checkUnnamed2941(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -434,7 +434,7 @@
o.accountId = "foo";
o.id = "foo";
o.kind = "foo";
- o.productCodes = buildUnnamed2927();
+ o.productCodes = buildUnnamed2941();
o.redirectUrl = "foo";
o.status = "foo";
o.userLocale = "foo";
@@ -451,7 +451,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2927(o.productCodes);
+ checkUnnamed2941(o.productCodes);
unittest.expect(o.redirectUrl, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.userLocale, unittest.equals('foo'));
@@ -486,14 +486,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed2928() {
+buildUnnamed2942() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed2928(core.List<api.CustomChannel> o) {
+checkUnnamed2942(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -505,7 +505,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed2928();
+ o.items = buildUnnamed2942();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -517,21 +517,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2928(o.items);
+ checkUnnamed2942(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed2929() {
+buildUnnamed2943() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2929(core.List<core.String> o) {
+checkUnnamed2943(core.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,66 +560,66 @@
buildCounterReportHeaders--;
}
-buildUnnamed2930() {
+buildUnnamed2944() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed2930(core.List<api.ReportHeaders> o) {
+checkUnnamed2944(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed2931() {
+buildUnnamed2945() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2931(core.List<core.String> o) {
+checkUnnamed2945(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2932() {
+buildUnnamed2946() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed2931());
- o.add(buildUnnamed2931());
+ o.add(buildUnnamed2945());
+ o.add(buildUnnamed2945());
return o;
}
-checkUnnamed2932(core.List<core.List<core.String>> o) {
+checkUnnamed2946(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2931(o[0]);
- checkUnnamed2931(o[1]);
+ checkUnnamed2945(o[0]);
+ checkUnnamed2945(o[1]);
}
-buildUnnamed2933() {
+buildUnnamed2947() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2933(core.List<core.String> o) {
+checkUnnamed2947(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2934() {
+buildUnnamed2948() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2934(core.List<core.String> o) {
+checkUnnamed2948(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -630,13 +630,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.averages = buildUnnamed2929();
- o.headers = buildUnnamed2930();
+ o.averages = buildUnnamed2943();
+ o.headers = buildUnnamed2944();
o.kind = "foo";
- o.rows = buildUnnamed2932();
+ o.rows = buildUnnamed2946();
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed2933();
- o.warnings = buildUnnamed2934();
+ o.totals = buildUnnamed2947();
+ o.warnings = buildUnnamed2948();
}
buildCounterReport--;
return o;
@@ -645,13 +645,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed2929(o.averages);
- checkUnnamed2930(o.headers);
+ checkUnnamed2943(o.averages);
+ checkUnnamed2944(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2932(o.rows);
+ checkUnnamed2946(o.rows);
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed2933(o.totals);
- checkUnnamed2934(o.warnings);
+ checkUnnamed2947(o.totals);
+ checkUnnamed2948(o.warnings);
}
buildCounterReport--;
}
@@ -679,14 +679,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed2935() {
+buildUnnamed2949() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed2935(core.List<api.UrlChannel> o) {
+checkUnnamed2949(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -698,7 +698,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed2935();
+ o.items = buildUnnamed2949();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -710,151 +710,151 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2935(o.items);
+ checkUnnamed2949(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed2936() {
+buildUnnamed2950() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2936(core.List<core.String> o) {
+checkUnnamed2950(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2937() {
+buildUnnamed2951() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2937(core.List<core.String> o) {
+checkUnnamed2951(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2938() {
+buildUnnamed2952() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2938(core.List<core.String> o) {
+checkUnnamed2952(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2939() {
+buildUnnamed2953() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2939(core.List<core.String> o) {
+checkUnnamed2953(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2940() {
+buildUnnamed2954() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2940(core.List<core.String> o) {
+checkUnnamed2954(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2941() {
+buildUnnamed2955() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2941(core.List<core.String> o) {
+checkUnnamed2955(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2942() {
+buildUnnamed2956() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2942(core.List<core.String> o) {
+checkUnnamed2956(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2943() {
+buildUnnamed2957() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2943(core.List<core.String> o) {
+checkUnnamed2957(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2944() {
+buildUnnamed2958() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2944(core.List<core.String> o) {
+checkUnnamed2958(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2945() {
+buildUnnamed2959() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2945(core.List<core.String> o) {
+checkUnnamed2959(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2946() {
+buildUnnamed2960() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2946(core.List<core.String> o) {
+checkUnnamed2960(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1096,7 +1096,7 @@
var mock = new HttpServerMock();
api.AccountsResourceApi res = new api.AdsensehostApi(mock).accounts;
- var arg_filterAdClientId = buildUnnamed2936();
+ var arg_filterAdClientId = buildUnnamed2950();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1398,7 +1398,7 @@
var arg_accountId = "foo";
var arg_adClientId = "foo";
var arg_adUnitId = "foo";
- var arg_hostCustomChannelId = buildUnnamed2937();
+ var arg_hostCustomChannelId = buildUnnamed2951();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1737,12 +1737,12 @@
var arg_accountId = "foo";
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed2938();
- var arg_filter = buildUnnamed2939();
+ var arg_dimension = buildUnnamed2952();
+ var arg_filter = buildUnnamed2953();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed2940();
- var arg_sort = buildUnnamed2941();
+ var arg_metric = buildUnnamed2954();
+ var arg_sort = buildUnnamed2955();
var arg_startIndex = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1911,7 +1911,7 @@
var mock = new HttpServerMock();
api.AssociationsessionsResourceApi res = new api.AdsensehostApi(mock).associationsessions;
- var arg_productCode = buildUnnamed2942();
+ var arg_productCode = buildUnnamed2956();
var arg_websiteUrl = "foo";
var arg_userLocale = "foo";
var arg_websiteLocale = "foo";
@@ -2365,12 +2365,12 @@
api.ReportsResourceApi res = new api.AdsensehostApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed2943();
- var arg_filter = buildUnnamed2944();
+ var arg_dimension = buildUnnamed2957();
+ var arg_filter = buildUnnamed2958();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed2945();
- var arg_sort = buildUnnamed2946();
+ var arg_metric = buildUnnamed2959();
+ var arg_sort = buildUnnamed2960();
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 9a040a1..048c0fe 100644
--- a/generated/googleapis/test/analytics/v3_test.dart
+++ b/generated/googleapis/test/analytics/v3_test.dart
@@ -72,14 +72,14 @@
buildCounterAccountChildLink--;
}
-buildUnnamed918() {
+buildUnnamed909() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed918(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'));
@@ -90,7 +90,7 @@
var o = new api.AccountPermissions();
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- o.effective = buildUnnamed918();
+ o.effective = buildUnnamed909();
}
buildCounterAccountPermissions--;
return o;
@@ -99,7 +99,7 @@
checkAccountPermissions(api.AccountPermissions o) {
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- checkUnnamed918(o.effective);
+ checkUnnamed909(o.effective);
}
buildCounterAccountPermissions--;
}
@@ -164,14 +164,14 @@
buildCounterAccountRef--;
}
-buildUnnamed919() {
+buildUnnamed910() {
var o = new core.List<api.AccountSummary>();
o.add(buildAccountSummary());
o.add(buildAccountSummary());
return o;
}
-checkUnnamed919(core.List<api.AccountSummary> o) {
+checkUnnamed910(core.List<api.AccountSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountSummary(o[0]);
checkAccountSummary(o[1]);
@@ -182,7 +182,7 @@
var o = new api.AccountSummaries();
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- o.items = buildUnnamed919();
+ o.items = buildUnnamed910();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -198,7 +198,7 @@
checkAccountSummaries(api.AccountSummaries o) {
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- checkUnnamed919(o.items);
+ checkUnnamed910(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -210,14 +210,14 @@
buildCounterAccountSummaries--;
}
-buildUnnamed920() {
+buildUnnamed911() {
var o = new core.List<api.WebPropertySummary>();
o.add(buildWebPropertySummary());
o.add(buildWebPropertySummary());
return o;
}
-checkUnnamed920(core.List<api.WebPropertySummary> o) {
+checkUnnamed911(core.List<api.WebPropertySummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPropertySummary(o[0]);
checkWebPropertySummary(o[1]);
@@ -232,7 +232,7 @@
o.kind = "foo";
o.name = "foo";
o.starred = true;
- o.webProperties = buildUnnamed920();
+ o.webProperties = buildUnnamed911();
}
buildCounterAccountSummary--;
return o;
@@ -245,7 +245,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.starred, unittest.isTrue);
- checkUnnamed920(o.webProperties);
+ checkUnnamed911(o.webProperties);
}
buildCounterAccountSummary--;
}
@@ -279,14 +279,14 @@
buildCounterAccountTicket--;
}
-buildUnnamed921() {
+buildUnnamed912() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed921(core.List<api.Account> o) {
+checkUnnamed912(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -297,7 +297,7 @@
var o = new api.Accounts();
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- o.items = buildUnnamed921();
+ o.items = buildUnnamed912();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -313,7 +313,7 @@
checkAccounts(api.Accounts o) {
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- checkUnnamed921(o.items);
+ checkUnnamed912(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -348,14 +348,14 @@
buildCounterAdWordsAccount--;
}
-buildUnnamed922() {
+buildUnnamed913() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed922(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'));
@@ -366,7 +366,7 @@
var o = new api.AnalyticsDataimportDeleteUploadDataRequest();
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- o.customDataImportUids = buildUnnamed922();
+ o.customDataImportUids = buildUnnamed913();
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
return o;
@@ -375,19 +375,19 @@
checkAnalyticsDataimportDeleteUploadDataRequest(api.AnalyticsDataimportDeleteUploadDataRequest o) {
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- checkUnnamed922(o.customDataImportUids);
+ checkUnnamed913(o.customDataImportUids);
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
}
-buildUnnamed923() {
+buildUnnamed914() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed923(core.Map<core.String, core.String> o) {
+checkUnnamed914(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'));
@@ -398,7 +398,7 @@
var o = new api.Column();
buildCounterColumn++;
if (buildCounterColumn < 3) {
- o.attributes = buildUnnamed923();
+ o.attributes = buildUnnamed914();
o.id = "foo";
o.kind = "foo";
}
@@ -409,34 +409,34 @@
checkColumn(api.Column o) {
buildCounterColumn++;
if (buildCounterColumn < 3) {
- checkUnnamed923(o.attributes);
+ checkUnnamed914(o.attributes);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterColumn--;
}
-buildUnnamed924() {
+buildUnnamed915() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed924(core.List<core.String> o) {
+checkUnnamed915(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed925() {
+buildUnnamed916() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed925(core.List<api.Column> o) {
+checkUnnamed916(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -447,9 +447,9 @@
var o = new api.Columns();
buildCounterColumns++;
if (buildCounterColumns < 3) {
- o.attributeNames = buildUnnamed924();
+ o.attributeNames = buildUnnamed915();
o.etag = "foo";
- o.items = buildUnnamed925();
+ o.items = buildUnnamed916();
o.kind = "foo";
o.totalResults = 42;
}
@@ -460,9 +460,9 @@
checkColumns(api.Columns o) {
buildCounterColumns++;
if (buildCounterColumns < 3) {
- checkUnnamed924(o.attributeNames);
+ checkUnnamed915(o.attributeNames);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed925(o.items);
+ checkUnnamed916(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
}
@@ -511,14 +511,14 @@
buildCounterCustomDataSourceParentLink--;
}
-buildUnnamed926() {
+buildUnnamed917() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed926(core.List<core.String> o) {
+checkUnnamed917(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -538,7 +538,7 @@
o.kind = "foo";
o.name = "foo";
o.parentLink = buildCustomDataSourceParentLink();
- o.profilesLinked = buildUnnamed926();
+ o.profilesLinked = buildUnnamed917();
o.selfLink = "foo";
o.type = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -561,7 +561,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkCustomDataSourceParentLink(o.parentLink);
- checkUnnamed926(o.profilesLinked);
+ checkUnnamed917(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")));
@@ -571,14 +571,14 @@
buildCounterCustomDataSource--;
}
-buildUnnamed927() {
+buildUnnamed918() {
var o = new core.List<api.CustomDataSource>();
o.add(buildCustomDataSource());
o.add(buildCustomDataSource());
return o;
}
-checkUnnamed927(core.List<api.CustomDataSource> o) {
+checkUnnamed918(core.List<api.CustomDataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDataSource(o[0]);
checkCustomDataSource(o[1]);
@@ -589,7 +589,7 @@
var o = new api.CustomDataSources();
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- o.items = buildUnnamed927();
+ o.items = buildUnnamed918();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -605,7 +605,7 @@
checkCustomDataSources(api.CustomDataSources o) {
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- checkUnnamed927(o.items);
+ checkUnnamed918(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -679,14 +679,14 @@
buildCounterCustomDimension--;
}
-buildUnnamed928() {
+buildUnnamed919() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed928(core.List<api.CustomDimension> o) {
+checkUnnamed919(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
@@ -697,7 +697,7 @@
var o = new api.CustomDimensions();
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- o.items = buildUnnamed928();
+ o.items = buildUnnamed919();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -713,7 +713,7 @@
checkCustomDimensions(api.CustomDimensions o) {
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- checkUnnamed928(o.items);
+ checkUnnamed919(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -793,14 +793,14 @@
buildCounterCustomMetric--;
}
-buildUnnamed929() {
+buildUnnamed920() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed929(core.List<api.CustomMetric> o) {
+checkUnnamed920(core.List<api.CustomMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomMetric(o[0]);
checkCustomMetric(o[1]);
@@ -811,7 +811,7 @@
var o = new api.CustomMetrics();
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- o.items = buildUnnamed929();
+ o.items = buildUnnamed920();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -827,7 +827,7 @@
checkCustomMetrics(api.CustomMetrics o) {
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- checkUnnamed929(o.items);
+ checkUnnamed920(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -839,14 +839,14 @@
buildCounterCustomMetrics--;
}
-buildUnnamed930() {
+buildUnnamed921() {
var o = new core.List<api.AdWordsAccount>();
o.add(buildAdWordsAccount());
o.add(buildAdWordsAccount());
return o;
}
-checkUnnamed930(core.List<api.AdWordsAccount> o) {
+checkUnnamed921(core.List<api.AdWordsAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdWordsAccount(o[0]);
checkAdWordsAccount(o[1]);
@@ -871,14 +871,14 @@
buildCounterEntityAdWordsLinkEntity--;
}
-buildUnnamed931() {
+buildUnnamed922() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed931(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'));
@@ -889,12 +889,12 @@
var o = new api.EntityAdWordsLink();
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- o.adWordsAccounts = buildUnnamed930();
+ o.adWordsAccounts = buildUnnamed921();
o.entity = buildEntityAdWordsLinkEntity();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.profileIds = buildUnnamed931();
+ o.profileIds = buildUnnamed922();
o.selfLink = "foo";
}
buildCounterEntityAdWordsLink--;
@@ -904,25 +904,25 @@
checkEntityAdWordsLink(api.EntityAdWordsLink o) {
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- checkUnnamed930(o.adWordsAccounts);
+ checkUnnamed921(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'));
- checkUnnamed931(o.profileIds);
+ checkUnnamed922(o.profileIds);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterEntityAdWordsLink--;
}
-buildUnnamed932() {
+buildUnnamed923() {
var o = new core.List<api.EntityAdWordsLink>();
o.add(buildEntityAdWordsLink());
o.add(buildEntityAdWordsLink());
return o;
}
-checkUnnamed932(core.List<api.EntityAdWordsLink> o) {
+checkUnnamed923(core.List<api.EntityAdWordsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAdWordsLink(o[0]);
checkEntityAdWordsLink(o[1]);
@@ -933,7 +933,7 @@
var o = new api.EntityAdWordsLinks();
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- o.items = buildUnnamed932();
+ o.items = buildUnnamed923();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -948,7 +948,7 @@
checkEntityAdWordsLinks(api.EntityAdWordsLinks o) {
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- checkUnnamed932(o.items);
+ checkUnnamed923(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -982,27 +982,27 @@
buildCounterEntityUserLinkEntity--;
}
-buildUnnamed933() {
+buildUnnamed924() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed933(core.List<core.String> o) {
+checkUnnamed924(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed934() {
+buildUnnamed925() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed934(core.List<core.String> o) {
+checkUnnamed925(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1013,8 +1013,8 @@
var o = new api.EntityUserLinkPermissions();
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- o.effective = buildUnnamed933();
- o.local = buildUnnamed934();
+ o.effective = buildUnnamed924();
+ o.local = buildUnnamed925();
}
buildCounterEntityUserLinkPermissions--;
return o;
@@ -1023,8 +1023,8 @@
checkEntityUserLinkPermissions(api.EntityUserLinkPermissions o) {
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- checkUnnamed933(o.effective);
- checkUnnamed934(o.local);
+ checkUnnamed924(o.effective);
+ checkUnnamed925(o.local);
}
buildCounterEntityUserLinkPermissions--;
}
@@ -1058,14 +1058,14 @@
buildCounterEntityUserLink--;
}
-buildUnnamed935() {
+buildUnnamed926() {
var o = new core.List<api.EntityUserLink>();
o.add(buildEntityUserLink());
o.add(buildEntityUserLink());
return o;
}
-checkUnnamed935(core.List<api.EntityUserLink> o) {
+checkUnnamed926(core.List<api.EntityUserLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityUserLink(o[0]);
checkEntityUserLink(o[1]);
@@ -1076,7 +1076,7 @@
var o = new api.EntityUserLinks();
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- o.items = buildUnnamed935();
+ o.items = buildUnnamed926();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1091,7 +1091,7 @@
checkEntityUserLinks(api.EntityUserLinks o) {
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- checkUnnamed935(o.items);
+ checkUnnamed926(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1150,14 +1150,14 @@
buildCounterExperimentVariations--;
}
-buildUnnamed936() {
+buildUnnamed927() {
var o = new core.List<api.ExperimentVariations>();
o.add(buildExperimentVariations());
o.add(buildExperimentVariations());
return o;
}
-checkUnnamed936(core.List<api.ExperimentVariations> o) {
+checkUnnamed927(core.List<api.ExperimentVariations> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperimentVariations(o[0]);
checkExperimentVariations(o[1]);
@@ -1192,7 +1192,7 @@
o.status = "foo";
o.trafficCoverage = 42.0;
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
- o.variations = buildUnnamed936();
+ o.variations = buildUnnamed927();
o.webPropertyId = "foo";
o.winnerConfidenceLevel = 42.0;
o.winnerFound = true;
@@ -1228,7 +1228,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")));
- checkUnnamed936(o.variations);
+ checkUnnamed927(o.variations);
unittest.expect(o.webPropertyId, unittest.equals('foo'));
unittest.expect(o.winnerConfidenceLevel, unittest.equals(42.0));
unittest.expect(o.winnerFound, unittest.isTrue);
@@ -1236,14 +1236,14 @@
buildCounterExperiment--;
}
-buildUnnamed937() {
+buildUnnamed928() {
var o = new core.List<api.Experiment>();
o.add(buildExperiment());
o.add(buildExperiment());
return o;
}
-checkUnnamed937(core.List<api.Experiment> o) {
+checkUnnamed928(core.List<api.Experiment> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperiment(o[0]);
checkExperiment(o[1]);
@@ -1254,7 +1254,7 @@
var o = new api.Experiments();
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- o.items = buildUnnamed937();
+ o.items = buildUnnamed928();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1270,7 +1270,7 @@
checkExperiments(api.Experiments o) {
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- checkUnnamed937(o.items);
+ checkUnnamed928(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1518,14 +1518,14 @@
buildCounterFilterRef--;
}
-buildUnnamed938() {
+buildUnnamed929() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed938(core.List<api.Filter> o) {
+checkUnnamed929(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -1536,7 +1536,7 @@
var o = new api.Filters();
buildCounterFilters++;
if (buildCounterFilters < 3) {
- o.items = buildUnnamed938();
+ o.items = buildUnnamed929();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1552,7 +1552,7 @@
checkFilters(api.Filters o) {
buildCounterFilters++;
if (buildCounterFilters < 3) {
- checkUnnamed938(o.items);
+ checkUnnamed929(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1587,14 +1587,14 @@
buildCounterGaDataColumnHeaders--;
}
-buildUnnamed939() {
+buildUnnamed930() {
var o = new core.List<api.GaDataColumnHeaders>();
o.add(buildGaDataColumnHeaders());
o.add(buildGaDataColumnHeaders());
return o;
}
-checkUnnamed939(core.List<api.GaDataColumnHeaders> o) {
+checkUnnamed930(core.List<api.GaDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataColumnHeaders(o[0]);
checkGaDataColumnHeaders(o[1]);
@@ -1623,14 +1623,14 @@
buildCounterGaDataDataTableCols--;
}
-buildUnnamed940() {
+buildUnnamed931() {
var o = new core.List<api.GaDataDataTableCols>();
o.add(buildGaDataDataTableCols());
o.add(buildGaDataDataTableCols());
return o;
}
-checkUnnamed940(core.List<api.GaDataDataTableCols> o) {
+checkUnnamed931(core.List<api.GaDataDataTableCols> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableCols(o[0]);
checkGaDataDataTableCols(o[1]);
@@ -1655,14 +1655,14 @@
buildCounterGaDataDataTableRowsC--;
}
-buildUnnamed941() {
+buildUnnamed932() {
var o = new core.List<api.GaDataDataTableRowsC>();
o.add(buildGaDataDataTableRowsC());
o.add(buildGaDataDataTableRowsC());
return o;
}
-checkUnnamed941(core.List<api.GaDataDataTableRowsC> o) {
+checkUnnamed932(core.List<api.GaDataDataTableRowsC> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRowsC(o[0]);
checkGaDataDataTableRowsC(o[1]);
@@ -1673,7 +1673,7 @@
var o = new api.GaDataDataTableRows();
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- o.c = buildUnnamed941();
+ o.c = buildUnnamed932();
}
buildCounterGaDataDataTableRows--;
return o;
@@ -1682,19 +1682,19 @@
checkGaDataDataTableRows(api.GaDataDataTableRows o) {
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- checkUnnamed941(o.c);
+ checkUnnamed932(o.c);
}
buildCounterGaDataDataTableRows--;
}
-buildUnnamed942() {
+buildUnnamed933() {
var o = new core.List<api.GaDataDataTableRows>();
o.add(buildGaDataDataTableRows());
o.add(buildGaDataDataTableRows());
return o;
}
-checkUnnamed942(core.List<api.GaDataDataTableRows> o) {
+checkUnnamed933(core.List<api.GaDataDataTableRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRows(o[0]);
checkGaDataDataTableRows(o[1]);
@@ -1705,8 +1705,8 @@
var o = new api.GaDataDataTable();
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- o.cols = buildUnnamed940();
- o.rows = buildUnnamed942();
+ o.cols = buildUnnamed931();
+ o.rows = buildUnnamed933();
}
buildCounterGaDataDataTable--;
return o;
@@ -1715,8 +1715,8 @@
checkGaDataDataTable(api.GaDataDataTable o) {
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- checkUnnamed940(o.cols);
- checkUnnamed942(o.rows);
+ checkUnnamed931(o.cols);
+ checkUnnamed933(o.rows);
}
buildCounterGaDataDataTable--;
}
@@ -1750,27 +1750,27 @@
buildCounterGaDataProfileInfo--;
}
-buildUnnamed943() {
+buildUnnamed934() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed943(core.List<core.String> o) {
+checkUnnamed934(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed944() {
+buildUnnamed935() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed944(core.List<core.String> o) {
+checkUnnamed935(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1786,10 +1786,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed943();
+ o.metrics = buildUnnamed934();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed944();
+ o.sort = buildUnnamed935();
o.start_date = "foo";
o.start_index = 42;
}
@@ -1805,50 +1805,50 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed943(o.metrics);
+ checkUnnamed934(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed944(o.sort);
+ checkUnnamed935(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
buildCounterGaDataQuery--;
}
-buildUnnamed945() {
+buildUnnamed936() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed945(core.List<core.String> o) {
+checkUnnamed936(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed946() {
+buildUnnamed937() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed945());
- o.add(buildUnnamed945());
+ o.add(buildUnnamed936());
+ o.add(buildUnnamed936());
return o;
}
-checkUnnamed946(core.List<core.List<core.String>> o) {
+checkUnnamed937(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed945(o[0]);
- checkUnnamed945(o[1]);
+ checkUnnamed936(o[0]);
+ checkUnnamed936(o[1]);
}
-buildUnnamed947() {
+buildUnnamed938() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed947(core.Map<core.String, core.String> o) {
+checkUnnamed938(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'));
@@ -1859,7 +1859,7 @@
var o = new api.GaData();
buildCounterGaData++;
if (buildCounterGaData < 3) {
- o.columnHeaders = buildUnnamed939();
+ o.columnHeaders = buildUnnamed930();
o.containsSampledData = true;
o.dataLastRefreshed = "foo";
o.dataTable = buildGaDataDataTable();
@@ -1870,12 +1870,12 @@
o.previousLink = "foo";
o.profileInfo = buildGaDataProfileInfo();
o.query = buildGaDataQuery();
- o.rows = buildUnnamed946();
+ o.rows = buildUnnamed937();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed947();
+ o.totalsForAllResults = buildUnnamed938();
}
buildCounterGaData--;
return o;
@@ -1884,7 +1884,7 @@
checkGaData(api.GaData o) {
buildCounterGaData++;
if (buildCounterGaData < 3) {
- checkUnnamed939(o.columnHeaders);
+ checkUnnamed930(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.dataLastRefreshed, unittest.equals('foo'));
checkGaDataDataTable(o.dataTable);
@@ -1895,12 +1895,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkGaDataProfileInfo(o.profileInfo);
checkGaDataQuery(o.query);
- checkUnnamed946(o.rows);
+ checkUnnamed937(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));
- checkUnnamed947(o.totalsForAllResults);
+ checkUnnamed938(o.totalsForAllResults);
}
buildCounterGaData--;
}
@@ -1932,14 +1932,14 @@
buildCounterGoalEventDetailsEventConditions--;
}
-buildUnnamed948() {
+buildUnnamed939() {
var o = new core.List<api.GoalEventDetailsEventConditions>();
o.add(buildGoalEventDetailsEventConditions());
o.add(buildGoalEventDetailsEventConditions());
return o;
}
-checkUnnamed948(core.List<api.GoalEventDetailsEventConditions> o) {
+checkUnnamed939(core.List<api.GoalEventDetailsEventConditions> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalEventDetailsEventConditions(o[0]);
checkGoalEventDetailsEventConditions(o[1]);
@@ -1950,7 +1950,7 @@
var o = new api.GoalEventDetails();
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- o.eventConditions = buildUnnamed948();
+ o.eventConditions = buildUnnamed939();
o.useEventValue = true;
}
buildCounterGoalEventDetails--;
@@ -1960,7 +1960,7 @@
checkGoalEventDetails(api.GoalEventDetails o) {
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- checkUnnamed948(o.eventConditions);
+ checkUnnamed939(o.eventConditions);
unittest.expect(o.useEventValue, unittest.isTrue);
}
buildCounterGoalEventDetails--;
@@ -2010,14 +2010,14 @@
buildCounterGoalUrlDestinationDetailsSteps--;
}
-buildUnnamed949() {
+buildUnnamed940() {
var o = new core.List<api.GoalUrlDestinationDetailsSteps>();
o.add(buildGoalUrlDestinationDetailsSteps());
o.add(buildGoalUrlDestinationDetailsSteps());
return o;
}
-checkUnnamed949(core.List<api.GoalUrlDestinationDetailsSteps> o) {
+checkUnnamed940(core.List<api.GoalUrlDestinationDetailsSteps> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalUrlDestinationDetailsSteps(o[0]);
checkGoalUrlDestinationDetailsSteps(o[1]);
@@ -2031,7 +2031,7 @@
o.caseSensitive = true;
o.firstStepRequired = true;
o.matchType = "foo";
- o.steps = buildUnnamed949();
+ o.steps = buildUnnamed940();
o.url = "foo";
}
buildCounterGoalUrlDestinationDetails--;
@@ -2044,7 +2044,7 @@
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.firstStepRequired, unittest.isTrue);
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed949(o.steps);
+ checkUnnamed940(o.steps);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterGoalUrlDestinationDetails--;
@@ -2145,14 +2145,14 @@
buildCounterGoal--;
}
-buildUnnamed950() {
+buildUnnamed941() {
var o = new core.List<api.Goal>();
o.add(buildGoal());
o.add(buildGoal());
return o;
}
-checkUnnamed950(core.List<api.Goal> o) {
+checkUnnamed941(core.List<api.Goal> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoal(o[0]);
checkGoal(o[1]);
@@ -2163,7 +2163,7 @@
var o = new api.Goals();
buildCounterGoals++;
if (buildCounterGoals < 3) {
- o.items = buildUnnamed950();
+ o.items = buildUnnamed941();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2179,7 +2179,7 @@
checkGoals(api.Goals o) {
buildCounterGoals++;
if (buildCounterGoals < 3) {
- checkUnnamed950(o.items);
+ checkUnnamed941(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2278,14 +2278,14 @@
buildCounterMcfDataColumnHeaders--;
}
-buildUnnamed951() {
+buildUnnamed942() {
var o = new core.List<api.McfDataColumnHeaders>();
o.add(buildMcfDataColumnHeaders());
o.add(buildMcfDataColumnHeaders());
return o;
}
-checkUnnamed951(core.List<api.McfDataColumnHeaders> o) {
+checkUnnamed942(core.List<api.McfDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataColumnHeaders(o[0]);
checkMcfDataColumnHeaders(o[1]);
@@ -2320,27 +2320,27 @@
buildCounterMcfDataProfileInfo--;
}
-buildUnnamed952() {
+buildUnnamed943() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed952(core.List<core.String> o) {
+checkUnnamed943(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed953() {
+buildUnnamed944() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed953(core.List<core.String> o) {
+checkUnnamed944(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2356,10 +2356,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed952();
+ o.metrics = buildUnnamed943();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed953();
+ o.sort = buildUnnamed944();
o.start_date = "foo";
o.start_index = 42;
}
@@ -2375,10 +2375,10 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed952(o.metrics);
+ checkUnnamed943(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed953(o.sort);
+ checkUnnamed944(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
@@ -2406,14 +2406,14 @@
buildCounterMcfDataRowsConversionPathValue--;
}
-buildUnnamed954() {
+buildUnnamed945() {
var o = new core.List<api.McfDataRowsConversionPathValue>();
o.add(buildMcfDataRowsConversionPathValue());
o.add(buildMcfDataRowsConversionPathValue());
return o;
}
-checkUnnamed954(core.List<api.McfDataRowsConversionPathValue> o) {
+checkUnnamed945(core.List<api.McfDataRowsConversionPathValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRowsConversionPathValue(o[0]);
checkMcfDataRowsConversionPathValue(o[1]);
@@ -2424,7 +2424,7 @@
var o = new api.McfDataRows();
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- o.conversionPathValue = buildUnnamed954();
+ o.conversionPathValue = buildUnnamed945();
o.primitiveValue = "foo";
}
buildCounterMcfDataRows--;
@@ -2434,46 +2434,46 @@
checkMcfDataRows(api.McfDataRows o) {
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- checkUnnamed954(o.conversionPathValue);
+ checkUnnamed945(o.conversionPathValue);
unittest.expect(o.primitiveValue, unittest.equals('foo'));
}
buildCounterMcfDataRows--;
}
-buildUnnamed955() {
+buildUnnamed946() {
var o = new core.List<api.McfDataRows>();
o.add(buildMcfDataRows());
o.add(buildMcfDataRows());
return o;
}
-checkUnnamed955(core.List<api.McfDataRows> o) {
+checkUnnamed946(core.List<api.McfDataRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRows(o[0]);
checkMcfDataRows(o[1]);
}
-buildUnnamed956() {
+buildUnnamed947() {
var o = new core.List<core.List<api.McfDataRows>>();
- o.add(buildUnnamed955());
- o.add(buildUnnamed955());
+ o.add(buildUnnamed946());
+ o.add(buildUnnamed946());
return o;
}
-checkUnnamed956(core.List<core.List<api.McfDataRows>> o) {
+checkUnnamed947(core.List<core.List<api.McfDataRows>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed955(o[0]);
- checkUnnamed955(o[1]);
+ checkUnnamed946(o[0]);
+ checkUnnamed946(o[1]);
}
-buildUnnamed957() {
+buildUnnamed948() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed957(core.Map<core.String, core.String> o) {
+checkUnnamed948(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'));
@@ -2484,7 +2484,7 @@
var o = new api.McfData();
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- o.columnHeaders = buildUnnamed951();
+ o.columnHeaders = buildUnnamed942();
o.containsSampledData = true;
o.id = "foo";
o.itemsPerPage = 42;
@@ -2493,12 +2493,12 @@
o.previousLink = "foo";
o.profileInfo = buildMcfDataProfileInfo();
o.query = buildMcfDataQuery();
- o.rows = buildUnnamed956();
+ o.rows = buildUnnamed947();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed957();
+ o.totalsForAllResults = buildUnnamed948();
}
buildCounterMcfData--;
return o;
@@ -2507,7 +2507,7 @@
checkMcfData(api.McfData o) {
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- checkUnnamed951(o.columnHeaders);
+ checkUnnamed942(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.itemsPerPage, unittest.equals(42));
@@ -2516,12 +2516,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkMcfDataProfileInfo(o.profileInfo);
checkMcfDataQuery(o.query);
- checkUnnamed956(o.rows);
+ checkUnnamed947(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));
- checkUnnamed957(o.totalsForAllResults);
+ checkUnnamed948(o.totalsForAllResults);
}
buildCounterMcfData--;
}
@@ -2568,14 +2568,14 @@
buildCounterProfileParentLink--;
}
-buildUnnamed958() {
+buildUnnamed949() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed958(core.List<core.String> o) {
+checkUnnamed949(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2586,7 +2586,7 @@
var o = new api.ProfilePermissions();
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- o.effective = buildUnnamed958();
+ o.effective = buildUnnamed949();
}
buildCounterProfilePermissions--;
return o;
@@ -2595,7 +2595,7 @@
checkProfilePermissions(api.ProfilePermissions o) {
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- checkUnnamed958(o.effective);
+ checkUnnamed949(o.effective);
}
buildCounterProfilePermissions--;
}
@@ -2698,14 +2698,14 @@
buildCounterProfileFilterLink--;
}
-buildUnnamed959() {
+buildUnnamed950() {
var o = new core.List<api.ProfileFilterLink>();
o.add(buildProfileFilterLink());
o.add(buildProfileFilterLink());
return o;
}
-checkUnnamed959(core.List<api.ProfileFilterLink> o) {
+checkUnnamed950(core.List<api.ProfileFilterLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileFilterLink(o[0]);
checkProfileFilterLink(o[1]);
@@ -2716,7 +2716,7 @@
var o = new api.ProfileFilterLinks();
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- o.items = buildUnnamed959();
+ o.items = buildUnnamed950();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2732,7 +2732,7 @@
checkProfileFilterLinks(api.ProfileFilterLinks o) {
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- checkUnnamed959(o.items);
+ checkUnnamed950(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2802,14 +2802,14 @@
buildCounterProfileSummary--;
}
-buildUnnamed960() {
+buildUnnamed951() {
var o = new core.List<api.Profile>();
o.add(buildProfile());
o.add(buildProfile());
return o;
}
-checkUnnamed960(core.List<api.Profile> o) {
+checkUnnamed951(core.List<api.Profile> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfile(o[0]);
checkProfile(o[1]);
@@ -2820,7 +2820,7 @@
var o = new api.Profiles();
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- o.items = buildUnnamed960();
+ o.items = buildUnnamed951();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2836,7 +2836,7 @@
checkProfiles(api.Profiles o) {
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- checkUnnamed960(o.items);
+ checkUnnamed951(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2871,14 +2871,14 @@
buildCounterRealtimeDataColumnHeaders--;
}
-buildUnnamed961() {
+buildUnnamed952() {
var o = new core.List<api.RealtimeDataColumnHeaders>();
o.add(buildRealtimeDataColumnHeaders());
o.add(buildRealtimeDataColumnHeaders());
return o;
}
-checkUnnamed961(core.List<api.RealtimeDataColumnHeaders> o) {
+checkUnnamed952(core.List<api.RealtimeDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkRealtimeDataColumnHeaders(o[0]);
checkRealtimeDataColumnHeaders(o[1]);
@@ -2913,27 +2913,27 @@
buildCounterRealtimeDataProfileInfo--;
}
-buildUnnamed962() {
+buildUnnamed953() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed962(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'));
}
-buildUnnamed963() {
+buildUnnamed954() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed963(core.List<core.String> o) {
+checkUnnamed954(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2948,8 +2948,8 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed962();
- o.sort = buildUnnamed963();
+ o.metrics = buildUnnamed953();
+ o.sort = buildUnnamed954();
}
buildCounterRealtimeDataQuery--;
return o;
@@ -2962,46 +2962,46 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed962(o.metrics);
- checkUnnamed963(o.sort);
+ checkUnnamed953(o.metrics);
+ checkUnnamed954(o.sort);
}
buildCounterRealtimeDataQuery--;
}
-buildUnnamed964() {
+buildUnnamed955() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed964(core.List<core.String> o) {
+checkUnnamed955(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed965() {
+buildUnnamed956() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed964());
- o.add(buildUnnamed964());
+ o.add(buildUnnamed955());
+ o.add(buildUnnamed955());
return o;
}
-checkUnnamed965(core.List<core.List<core.String>> o) {
+checkUnnamed956(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed964(o[0]);
- checkUnnamed964(o[1]);
+ checkUnnamed955(o[0]);
+ checkUnnamed955(o[1]);
}
-buildUnnamed966() {
+buildUnnamed957() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed966(core.Map<core.String, core.String> o) {
+checkUnnamed957(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'));
@@ -3012,15 +3012,15 @@
var o = new api.RealtimeData();
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- o.columnHeaders = buildUnnamed961();
+ o.columnHeaders = buildUnnamed952();
o.id = "foo";
o.kind = "foo";
o.profileInfo = buildRealtimeDataProfileInfo();
o.query = buildRealtimeDataQuery();
- o.rows = buildUnnamed965();
+ o.rows = buildUnnamed956();
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed966();
+ o.totalsForAllResults = buildUnnamed957();
}
buildCounterRealtimeData--;
return o;
@@ -3029,15 +3029,15 @@
checkRealtimeData(api.RealtimeData o) {
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- checkUnnamed961(o.columnHeaders);
+ checkUnnamed952(o.columnHeaders);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkRealtimeDataProfileInfo(o.profileInfo);
checkRealtimeDataQuery(o.query);
- checkUnnamed965(o.rows);
+ checkUnnamed956(o.rows);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed966(o.totalsForAllResults);
+ checkUnnamed957(o.totalsForAllResults);
}
buildCounterRealtimeData--;
}
@@ -3061,27 +3061,27 @@
buildCounterRemarketingAudienceAudienceDefinition--;
}
-buildUnnamed967() {
+buildUnnamed958() {
var o = new core.List<api.LinkedForeignAccount>();
o.add(buildLinkedForeignAccount());
o.add(buildLinkedForeignAccount());
return o;
}
-checkUnnamed967(core.List<api.LinkedForeignAccount> o) {
+checkUnnamed958(core.List<api.LinkedForeignAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinkedForeignAccount(o[0]);
checkLinkedForeignAccount(o[1]);
}
-buildUnnamed968() {
+buildUnnamed959() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed968(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'));
@@ -3142,8 +3142,8 @@
o.id = "foo";
o.internalWebPropertyId = "foo";
o.kind = "foo";
- o.linkedAdAccounts = buildUnnamed967();
- o.linkedViews = buildUnnamed968();
+ o.linkedAdAccounts = buildUnnamed958();
+ o.linkedViews = buildUnnamed959();
o.name = "foo";
o.stateBasedAudienceDefinition = buildRemarketingAudienceStateBasedAudienceDefinition();
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -3164,8 +3164,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed967(o.linkedAdAccounts);
- checkUnnamed968(o.linkedViews);
+ checkUnnamed958(o.linkedAdAccounts);
+ checkUnnamed959(o.linkedViews);
unittest.expect(o.name, unittest.equals('foo'));
checkRemarketingAudienceStateBasedAudienceDefinition(o.stateBasedAudienceDefinition);
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -3174,14 +3174,14 @@
buildCounterRemarketingAudience--;
}
-buildUnnamed969() {
+buildUnnamed960() {
var o = new core.List<api.RemarketingAudience>();
o.add(buildRemarketingAudience());
o.add(buildRemarketingAudience());
return o;
}
-checkUnnamed969(core.List<api.RemarketingAudience> o) {
+checkUnnamed960(core.List<api.RemarketingAudience> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingAudience(o[0]);
checkRemarketingAudience(o[1]);
@@ -3192,7 +3192,7 @@
var o = new api.RemarketingAudiences();
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- o.items = buildUnnamed969();
+ o.items = buildUnnamed960();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3208,7 +3208,7 @@
checkRemarketingAudiences(api.RemarketingAudiences o) {
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- checkUnnamed969(o.items);
+ checkUnnamed960(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3255,14 +3255,14 @@
buildCounterSegment--;
}
-buildUnnamed970() {
+buildUnnamed961() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed970(core.List<api.Segment> o) {
+checkUnnamed961(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -3273,7 +3273,7 @@
var o = new api.Segments();
buildCounterSegments++;
if (buildCounterSegments < 3) {
- o.items = buildUnnamed970();
+ o.items = buildUnnamed961();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3289,7 +3289,7 @@
checkSegments(api.Segments o) {
buildCounterSegments++;
if (buildCounterSegments < 3) {
- checkUnnamed970(o.items);
+ checkUnnamed961(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3396,14 +3396,14 @@
buildCounterUnsampledReport--;
}
-buildUnnamed971() {
+buildUnnamed962() {
var o = new core.List<api.UnsampledReport>();
o.add(buildUnsampledReport());
o.add(buildUnsampledReport());
return o;
}
-checkUnnamed971(core.List<api.UnsampledReport> o) {
+checkUnnamed962(core.List<api.UnsampledReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUnsampledReport(o[0]);
checkUnsampledReport(o[1]);
@@ -3414,7 +3414,7 @@
var o = new api.UnsampledReports();
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- o.items = buildUnnamed971();
+ o.items = buildUnnamed962();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3430,7 +3430,7 @@
checkUnsampledReports(api.UnsampledReports o) {
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- checkUnnamed971(o.items);
+ checkUnnamed962(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3442,14 +3442,14 @@
buildCounterUnsampledReports--;
}
-buildUnnamed972() {
+buildUnnamed963() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed972(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'));
@@ -3462,7 +3462,7 @@
if (buildCounterUpload < 3) {
o.accountId = "foo";
o.customDataSourceId = "foo";
- o.errors = buildUnnamed972();
+ o.errors = buildUnnamed963();
o.id = "foo";
o.kind = "foo";
o.status = "foo";
@@ -3476,7 +3476,7 @@
if (buildCounterUpload < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.customDataSourceId, unittest.equals('foo'));
- checkUnnamed972(o.errors);
+ checkUnnamed963(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -3484,14 +3484,14 @@
buildCounterUpload--;
}
-buildUnnamed973() {
+buildUnnamed964() {
var o = new core.List<api.Upload>();
o.add(buildUpload());
o.add(buildUpload());
return o;
}
-checkUnnamed973(core.List<api.Upload> o) {
+checkUnnamed964(core.List<api.Upload> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpload(o[0]);
checkUpload(o[1]);
@@ -3502,7 +3502,7 @@
var o = new api.Uploads();
buildCounterUploads++;
if (buildCounterUploads < 3) {
- o.items = buildUnnamed973();
+ o.items = buildUnnamed964();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3517,7 +3517,7 @@
checkUploads(api.Uploads o) {
buildCounterUploads++;
if (buildCounterUploads < 3) {
- checkUnnamed973(o.items);
+ checkUnnamed964(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3580,14 +3580,14 @@
buildCounterWebPropertyRef--;
}
-buildUnnamed974() {
+buildUnnamed965() {
var o = new core.List<api.ProfileSummary>();
o.add(buildProfileSummary());
o.add(buildProfileSummary());
return o;
}
-checkUnnamed974(core.List<api.ProfileSummary> o) {
+checkUnnamed965(core.List<api.ProfileSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileSummary(o[0]);
checkProfileSummary(o[1]);
@@ -3603,7 +3603,7 @@
o.kind = "foo";
o.level = "foo";
o.name = "foo";
- o.profiles = buildUnnamed974();
+ o.profiles = buildUnnamed965();
o.starred = true;
o.websiteUrl = "foo";
}
@@ -3619,21 +3619,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed974(o.profiles);
+ checkUnnamed965(o.profiles);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterWebPropertySummary--;
}
-buildUnnamed975() {
+buildUnnamed966() {
var o = new core.List<api.Webproperty>();
o.add(buildWebproperty());
o.add(buildWebproperty());
return o;
}
-checkUnnamed975(core.List<api.Webproperty> o) {
+checkUnnamed966(core.List<api.Webproperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebproperty(o[0]);
checkWebproperty(o[1]);
@@ -3644,7 +3644,7 @@
var o = new api.Webproperties();
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- o.items = buildUnnamed975();
+ o.items = buildUnnamed966();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3660,7 +3660,7 @@
checkWebproperties(api.Webproperties o) {
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- checkUnnamed975(o.items);
+ checkUnnamed966(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3714,14 +3714,14 @@
buildCounterWebpropertyParentLink--;
}
-buildUnnamed976() {
+buildUnnamed967() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed976(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'));
@@ -3732,7 +3732,7 @@
var o = new api.WebpropertyPermissions();
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- o.effective = buildUnnamed976();
+ o.effective = buildUnnamed967();
}
buildCounterWebpropertyPermissions--;
return o;
@@ -3741,7 +3741,7 @@
checkWebpropertyPermissions(api.WebpropertyPermissions o) {
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- checkUnnamed976(o.effective);
+ checkUnnamed967(o.effective);
}
buildCounterWebpropertyPermissions--;
}
diff --git a/generated/googleapis/test/analyticsreporting/v4_test.dart b/generated/googleapis/test/analyticsreporting/v4_test.dart
index b32829c..72ea5cc 100644
--- a/generated/googleapis/test/analyticsreporting/v4_test.dart
+++ b/generated/googleapis/test/analyticsreporting/v4_test.dart
@@ -74,14 +74,14 @@
buildCounterCohort--;
}
-buildUnnamed159() {
+buildUnnamed157() {
var o = new core.List<api.Cohort>();
o.add(buildCohort());
o.add(buildCohort());
return o;
}
-checkUnnamed159(core.List<api.Cohort> o) {
+checkUnnamed157(core.List<api.Cohort> o) {
unittest.expect(o, unittest.hasLength(2));
checkCohort(o[0]);
checkCohort(o[1]);
@@ -92,7 +92,7 @@
var o = new api.CohortGroup();
buildCounterCohortGroup++;
if (buildCounterCohortGroup < 3) {
- o.cohorts = buildUnnamed159();
+ o.cohorts = buildUnnamed157();
o.lifetimeValue = true;
}
buildCounterCohortGroup--;
@@ -102,20 +102,20 @@
checkCohortGroup(api.CohortGroup o) {
buildCounterCohortGroup++;
if (buildCounterCohortGroup < 3) {
- checkUnnamed159(o.cohorts);
+ checkUnnamed157(o.cohorts);
unittest.expect(o.lifetimeValue, unittest.isTrue);
}
buildCounterCohortGroup--;
}
-buildUnnamed160() {
+buildUnnamed158() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed160(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'));
@@ -126,7 +126,7 @@
var o = new api.ColumnHeader();
buildCounterColumnHeader++;
if (buildCounterColumnHeader < 3) {
- o.dimensions = buildUnnamed160();
+ o.dimensions = buildUnnamed158();
o.metricHeader = buildMetricHeader();
}
buildCounterColumnHeader--;
@@ -136,7 +136,7 @@
checkColumnHeader(api.ColumnHeader o) {
buildCounterColumnHeader++;
if (buildCounterColumnHeader < 3) {
- checkUnnamed160(o.dimensions);
+ checkUnnamed158(o.dimensions);
checkMetricHeader(o.metricHeader);
}
buildCounterColumnHeader--;
@@ -163,19 +163,87 @@
buildCounterDateRange--;
}
-buildUnnamed161() {
+buildUnnamed159() {
var o = new core.List<api.PivotValueRegion>();
o.add(buildPivotValueRegion());
o.add(buildPivotValueRegion());
return o;
}
-checkUnnamed161(core.List<api.PivotValueRegion> o) {
+checkUnnamed159(core.List<api.PivotValueRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotValueRegion(o[0]);
checkPivotValueRegion(o[1]);
}
+buildUnnamed160() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed160(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterDateRangeValues = 0;
+buildDateRangeValues() {
+ var o = new api.DateRangeValues();
+ buildCounterDateRangeValues++;
+ if (buildCounterDateRangeValues < 3) {
+ o.pivotValueRegions = buildUnnamed159();
+ o.values = buildUnnamed160();
+ }
+ buildCounterDateRangeValues--;
+ return o;
+}
+
+checkDateRangeValues(api.DateRangeValues o) {
+ buildCounterDateRangeValues++;
+ if (buildCounterDateRangeValues < 3) {
+ checkUnnamed159(o.pivotValueRegions);
+ checkUnnamed160(o.values);
+ }
+ buildCounterDateRangeValues--;
+}
+
+buildUnnamed161() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed161(core.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 buildCounterDimension = 0;
+buildDimension() {
+ var o = new api.Dimension();
+ buildCounterDimension++;
+ if (buildCounterDimension < 3) {
+ o.histogramBuckets = buildUnnamed161();
+ o.name = "foo";
+ }
+ buildCounterDimension--;
+ return o;
+}
+
+checkDimension(api.Dimension o) {
+ buildCounterDimension++;
+ if (buildCounterDimension < 3) {
+ checkUnnamed161(o.histogramBuckets);
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterDimension--;
+}
+
buildUnnamed162() {
var o = new core.List<core.String>();
o.add("foo");
@@ -189,74 +257,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterDateRangeValues = 0;
-buildDateRangeValues() {
- var o = new api.DateRangeValues();
- buildCounterDateRangeValues++;
- if (buildCounterDateRangeValues < 3) {
- o.pivotValueRegions = buildUnnamed161();
- o.values = buildUnnamed162();
- }
- buildCounterDateRangeValues--;
- return o;
-}
-
-checkDateRangeValues(api.DateRangeValues o) {
- buildCounterDateRangeValues++;
- if (buildCounterDateRangeValues < 3) {
- checkUnnamed161(o.pivotValueRegions);
- checkUnnamed162(o.values);
- }
- buildCounterDateRangeValues--;
-}
-
-buildUnnamed163() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed163(core.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 buildCounterDimension = 0;
-buildDimension() {
- var o = new api.Dimension();
- buildCounterDimension++;
- if (buildCounterDimension < 3) {
- o.histogramBuckets = buildUnnamed163();
- o.name = "foo";
- }
- buildCounterDimension--;
- return o;
-}
-
-checkDimension(api.Dimension o) {
- buildCounterDimension++;
- if (buildCounterDimension < 3) {
- checkUnnamed163(o.histogramBuckets);
- unittest.expect(o.name, unittest.equals('foo'));
- }
- buildCounterDimension--;
-}
-
-buildUnnamed164() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
core.int buildCounterDimensionFilter = 0;
buildDimensionFilter() {
var o = new api.DimensionFilter();
@@ -264,7 +264,7 @@
if (buildCounterDimensionFilter < 3) {
o.caseSensitive = true;
o.dimensionName = "foo";
- o.expressions = buildUnnamed164();
+ o.expressions = buildUnnamed162();
o.not = true;
o.operator = "foo";
}
@@ -277,21 +277,21 @@
if (buildCounterDimensionFilter < 3) {
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.dimensionName, unittest.equals('foo'));
- checkUnnamed164(o.expressions);
+ checkUnnamed162(o.expressions);
unittest.expect(o.not, unittest.isTrue);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterDimensionFilter--;
}
-buildUnnamed165() {
+buildUnnamed163() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed165(core.List<api.DimensionFilter> o) {
+checkUnnamed163(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -302,7 +302,7 @@
var o = new api.DimensionFilterClause();
buildCounterDimensionFilterClause++;
if (buildCounterDimensionFilterClause < 3) {
- o.filters = buildUnnamed165();
+ o.filters = buildUnnamed163();
o.operator = "foo";
}
buildCounterDimensionFilterClause--;
@@ -312,7 +312,7 @@
checkDimensionFilterClause(api.DimensionFilterClause o) {
buildCounterDimensionFilterClause++;
if (buildCounterDimensionFilterClause < 3) {
- checkUnnamed165(o.filters);
+ checkUnnamed163(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterDimensionFilterClause--;
@@ -341,14 +341,14 @@
buildCounterDynamicSegment--;
}
-buildUnnamed166() {
+buildUnnamed164() {
var o = new core.List<api.ReportRequest>();
o.add(buildReportRequest());
o.add(buildReportRequest());
return o;
}
-checkUnnamed166(core.List<api.ReportRequest> o) {
+checkUnnamed164(core.List<api.ReportRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequest(o[0]);
checkReportRequest(o[1]);
@@ -359,7 +359,7 @@
var o = new api.GetReportsRequest();
buildCounterGetReportsRequest++;
if (buildCounterGetReportsRequest < 3) {
- o.reportRequests = buildUnnamed166();
+ o.reportRequests = buildUnnamed164();
}
buildCounterGetReportsRequest--;
return o;
@@ -368,19 +368,19 @@
checkGetReportsRequest(api.GetReportsRequest o) {
buildCounterGetReportsRequest++;
if (buildCounterGetReportsRequest < 3) {
- checkUnnamed166(o.reportRequests);
+ checkUnnamed164(o.reportRequests);
}
buildCounterGetReportsRequest--;
}
-buildUnnamed167() {
+buildUnnamed165() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed167(core.List<api.Report> o) {
+checkUnnamed165(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -391,7 +391,7 @@
var o = new api.GetReportsResponse();
buildCounterGetReportsResponse++;
if (buildCounterGetReportsResponse < 3) {
- o.reports = buildUnnamed167();
+ o.reports = buildUnnamed165();
}
buildCounterGetReportsResponse--;
return o;
@@ -400,7 +400,7 @@
checkGetReportsResponse(api.GetReportsResponse o) {
buildCounterGetReportsResponse++;
if (buildCounterGetReportsResponse < 3) {
- checkUnnamed167(o.reports);
+ checkUnnamed165(o.reports);
}
buildCounterGetReportsResponse--;
}
@@ -453,14 +453,14 @@
buildCounterMetricFilter--;
}
-buildUnnamed168() {
+buildUnnamed166() {
var o = new core.List<api.MetricFilter>();
o.add(buildMetricFilter());
o.add(buildMetricFilter());
return o;
}
-checkUnnamed168(core.List<api.MetricFilter> o) {
+checkUnnamed166(core.List<api.MetricFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricFilter(o[0]);
checkMetricFilter(o[1]);
@@ -471,7 +471,7 @@
var o = new api.MetricFilterClause();
buildCounterMetricFilterClause++;
if (buildCounterMetricFilterClause < 3) {
- o.filters = buildUnnamed168();
+ o.filters = buildUnnamed166();
o.operator = "foo";
}
buildCounterMetricFilterClause--;
@@ -481,33 +481,33 @@
checkMetricFilterClause(api.MetricFilterClause o) {
buildCounterMetricFilterClause++;
if (buildCounterMetricFilterClause < 3) {
- checkUnnamed168(o.filters);
+ checkUnnamed166(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterMetricFilterClause--;
}
-buildUnnamed169() {
+buildUnnamed167() {
var o = new core.List<api.MetricHeaderEntry>();
o.add(buildMetricHeaderEntry());
o.add(buildMetricHeaderEntry());
return o;
}
-checkUnnamed169(core.List<api.MetricHeaderEntry> o) {
+checkUnnamed167(core.List<api.MetricHeaderEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricHeaderEntry(o[0]);
checkMetricHeaderEntry(o[1]);
}
-buildUnnamed170() {
+buildUnnamed168() {
var o = new core.List<api.PivotHeader>();
o.add(buildPivotHeader());
o.add(buildPivotHeader());
return o;
}
-checkUnnamed170(core.List<api.PivotHeader> o) {
+checkUnnamed168(core.List<api.PivotHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotHeader(o[0]);
checkPivotHeader(o[1]);
@@ -518,8 +518,8 @@
var o = new api.MetricHeader();
buildCounterMetricHeader++;
if (buildCounterMetricHeader < 3) {
- o.metricHeaderEntries = buildUnnamed169();
- o.pivotHeaders = buildUnnamed170();
+ o.metricHeaderEntries = buildUnnamed167();
+ o.pivotHeaders = buildUnnamed168();
}
buildCounterMetricHeader--;
return o;
@@ -528,8 +528,8 @@
checkMetricHeader(api.MetricHeader o) {
buildCounterMetricHeader++;
if (buildCounterMetricHeader < 3) {
- checkUnnamed169(o.metricHeaderEntries);
- checkUnnamed170(o.pivotHeaders);
+ checkUnnamed167(o.metricHeaderEntries);
+ checkUnnamed168(o.pivotHeaders);
}
buildCounterMetricHeader--;
}
@@ -555,14 +555,14 @@
buildCounterMetricHeaderEntry--;
}
-buildUnnamed171() {
+buildUnnamed169() {
var o = new core.List<api.SegmentFilterClause>();
o.add(buildSegmentFilterClause());
o.add(buildSegmentFilterClause());
return o;
}
-checkUnnamed171(core.List<api.SegmentFilterClause> o) {
+checkUnnamed169(core.List<api.SegmentFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentFilterClause(o[0]);
checkSegmentFilterClause(o[1]);
@@ -573,7 +573,7 @@
var o = new api.OrFiltersForSegment();
buildCounterOrFiltersForSegment++;
if (buildCounterOrFiltersForSegment < 3) {
- o.segmentFilterClauses = buildUnnamed171();
+ o.segmentFilterClauses = buildUnnamed169();
}
buildCounterOrFiltersForSegment--;
return o;
@@ -582,7 +582,7 @@
checkOrFiltersForSegment(api.OrFiltersForSegment o) {
buildCounterOrFiltersForSegment++;
if (buildCounterOrFiltersForSegment < 3) {
- checkUnnamed171(o.segmentFilterClauses);
+ checkUnnamed169(o.segmentFilterClauses);
}
buildCounterOrFiltersForSegment--;
}
@@ -610,40 +610,40 @@
buildCounterOrderBy--;
}
-buildUnnamed172() {
+buildUnnamed170() {
var o = new core.List<api.DimensionFilterClause>();
o.add(buildDimensionFilterClause());
o.add(buildDimensionFilterClause());
return o;
}
-checkUnnamed172(core.List<api.DimensionFilterClause> o) {
+checkUnnamed170(core.List<api.DimensionFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilterClause(o[0]);
checkDimensionFilterClause(o[1]);
}
-buildUnnamed173() {
+buildUnnamed171() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed173(core.List<api.Dimension> o) {
+checkUnnamed171(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed174() {
+buildUnnamed172() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed174(core.List<api.Metric> o) {
+checkUnnamed172(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -654,10 +654,10 @@
var o = new api.Pivot();
buildCounterPivot++;
if (buildCounterPivot < 3) {
- o.dimensionFilterClauses = buildUnnamed172();
- o.dimensions = buildUnnamed173();
+ o.dimensionFilterClauses = buildUnnamed170();
+ o.dimensions = buildUnnamed171();
o.maxGroupCount = 42;
- o.metrics = buildUnnamed174();
+ o.metrics = buildUnnamed172();
o.startGroup = 42;
}
buildCounterPivot--;
@@ -667,23 +667,23 @@
checkPivot(api.Pivot o) {
buildCounterPivot++;
if (buildCounterPivot < 3) {
- checkUnnamed172(o.dimensionFilterClauses);
- checkUnnamed173(o.dimensions);
+ checkUnnamed170(o.dimensionFilterClauses);
+ checkUnnamed171(o.dimensions);
unittest.expect(o.maxGroupCount, unittest.equals(42));
- checkUnnamed174(o.metrics);
+ checkUnnamed172(o.metrics);
unittest.expect(o.startGroup, unittest.equals(42));
}
buildCounterPivot--;
}
-buildUnnamed175() {
+buildUnnamed173() {
var o = new core.List<api.PivotHeaderEntry>();
o.add(buildPivotHeaderEntry());
o.add(buildPivotHeaderEntry());
return o;
}
-checkUnnamed175(core.List<api.PivotHeaderEntry> o) {
+checkUnnamed173(core.List<api.PivotHeaderEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotHeaderEntry(o[0]);
checkPivotHeaderEntry(o[1]);
@@ -694,7 +694,7 @@
var o = new api.PivotHeader();
buildCounterPivotHeader++;
if (buildCounterPivotHeader < 3) {
- o.pivotHeaderEntries = buildUnnamed175();
+ o.pivotHeaderEntries = buildUnnamed173();
o.totalPivotGroupsCount = 42;
}
buildCounterPivotHeader--;
@@ -704,12 +704,61 @@
checkPivotHeader(api.PivotHeader o) {
buildCounterPivotHeader++;
if (buildCounterPivotHeader < 3) {
- checkUnnamed175(o.pivotHeaderEntries);
+ checkUnnamed173(o.pivotHeaderEntries);
unittest.expect(o.totalPivotGroupsCount, unittest.equals(42));
}
buildCounterPivotHeader--;
}
+buildUnnamed174() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed174(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed175() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed175(core.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 buildCounterPivotHeaderEntry = 0;
+buildPivotHeaderEntry() {
+ var o = new api.PivotHeaderEntry();
+ buildCounterPivotHeaderEntry++;
+ if (buildCounterPivotHeaderEntry < 3) {
+ o.dimensionNames = buildUnnamed174();
+ o.dimensionValues = buildUnnamed175();
+ o.metric = buildMetricHeaderEntry();
+ }
+ buildCounterPivotHeaderEntry--;
+ return o;
+}
+
+checkPivotHeaderEntry(api.PivotHeaderEntry o) {
+ buildCounterPivotHeaderEntry++;
+ if (buildCounterPivotHeaderEntry < 3) {
+ checkUnnamed174(o.dimensionNames);
+ checkUnnamed175(o.dimensionValues);
+ checkMetricHeaderEntry(o.metric);
+ }
+ buildCounterPivotHeaderEntry--;
+}
+
buildUnnamed176() {
var o = new core.List<core.String>();
o.add("foo");
@@ -723,61 +772,12 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed177() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed177(core.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 buildCounterPivotHeaderEntry = 0;
-buildPivotHeaderEntry() {
- var o = new api.PivotHeaderEntry();
- buildCounterPivotHeaderEntry++;
- if (buildCounterPivotHeaderEntry < 3) {
- o.dimensionNames = buildUnnamed176();
- o.dimensionValues = buildUnnamed177();
- o.metric = buildMetricHeaderEntry();
- }
- buildCounterPivotHeaderEntry--;
- return o;
-}
-
-checkPivotHeaderEntry(api.PivotHeaderEntry o) {
- buildCounterPivotHeaderEntry++;
- if (buildCounterPivotHeaderEntry < 3) {
- checkUnnamed176(o.dimensionNames);
- checkUnnamed177(o.dimensionValues);
- checkMetricHeaderEntry(o.metric);
- }
- buildCounterPivotHeaderEntry--;
-}
-
-buildUnnamed178() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed178(core.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 buildCounterPivotValueRegion = 0;
buildPivotValueRegion() {
var o = new api.PivotValueRegion();
buildCounterPivotValueRegion++;
if (buildCounterPivotValueRegion < 3) {
- o.values = buildUnnamed178();
+ o.values = buildUnnamed176();
}
buildCounterPivotValueRegion--;
return o;
@@ -786,7 +786,7 @@
checkPivotValueRegion(api.PivotValueRegion o) {
buildCounterPivotValueRegion++;
if (buildCounterPivotValueRegion < 3) {
- checkUnnamed178(o.values);
+ checkUnnamed176(o.values);
}
buildCounterPivotValueRegion--;
}
@@ -814,79 +814,79 @@
buildCounterReport--;
}
+buildUnnamed177() {
+ var o = new core.List<api.DateRangeValues>();
+ o.add(buildDateRangeValues());
+ o.add(buildDateRangeValues());
+ return o;
+}
+
+checkUnnamed177(core.List<api.DateRangeValues> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDateRangeValues(o[0]);
+ checkDateRangeValues(o[1]);
+}
+
+buildUnnamed178() {
+ var o = new core.List<api.DateRangeValues>();
+ o.add(buildDateRangeValues());
+ o.add(buildDateRangeValues());
+ return o;
+}
+
+checkUnnamed178(core.List<api.DateRangeValues> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDateRangeValues(o[0]);
+ checkDateRangeValues(o[1]);
+}
+
buildUnnamed179() {
- var o = new core.List<api.DateRangeValues>();
- o.add(buildDateRangeValues());
- o.add(buildDateRangeValues());
- return o;
-}
-
-checkUnnamed179(core.List<api.DateRangeValues> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDateRangeValues(o[0]);
- checkDateRangeValues(o[1]);
-}
-
-buildUnnamed180() {
- var o = new core.List<api.DateRangeValues>();
- o.add(buildDateRangeValues());
- o.add(buildDateRangeValues());
- return o;
-}
-
-checkUnnamed180(core.List<api.DateRangeValues> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDateRangeValues(o[0]);
- checkDateRangeValues(o[1]);
-}
-
-buildUnnamed181() {
var o = new core.List<api.ReportRow>();
o.add(buildReportRow());
o.add(buildReportRow());
return o;
}
-checkUnnamed181(core.List<api.ReportRow> o) {
+checkUnnamed179(core.List<api.ReportRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRow(o[0]);
checkReportRow(o[1]);
}
+buildUnnamed180() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed180(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed181() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed181(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
buildUnnamed182() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed182(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed183() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed183(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed184() {
var o = new core.List<api.DateRangeValues>();
o.add(buildDateRangeValues());
o.add(buildDateRangeValues());
return o;
}
-checkUnnamed184(core.List<api.DateRangeValues> o) {
+checkUnnamed182(core.List<api.DateRangeValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRangeValues(o[0]);
checkDateRangeValues(o[1]);
@@ -899,13 +899,13 @@
if (buildCounterReportData < 3) {
o.dataLastRefreshed = "foo";
o.isDataGolden = true;
- o.maximums = buildUnnamed179();
- o.minimums = buildUnnamed180();
+ o.maximums = buildUnnamed177();
+ o.minimums = buildUnnamed178();
o.rowCount = 42;
- o.rows = buildUnnamed181();
- o.samplesReadCounts = buildUnnamed182();
- o.samplingSpaceSizes = buildUnnamed183();
- o.totals = buildUnnamed184();
+ o.rows = buildUnnamed179();
+ o.samplesReadCounts = buildUnnamed180();
+ o.samplingSpaceSizes = buildUnnamed181();
+ o.totals = buildUnnamed182();
}
buildCounterReportData--;
return o;
@@ -916,116 +916,116 @@
if (buildCounterReportData < 3) {
unittest.expect(o.dataLastRefreshed, unittest.equals('foo'));
unittest.expect(o.isDataGolden, unittest.isTrue);
- checkUnnamed179(o.maximums);
- checkUnnamed180(o.minimums);
+ checkUnnamed177(o.maximums);
+ checkUnnamed178(o.minimums);
unittest.expect(o.rowCount, unittest.equals(42));
- checkUnnamed181(o.rows);
- checkUnnamed182(o.samplesReadCounts);
- checkUnnamed183(o.samplingSpaceSizes);
- checkUnnamed184(o.totals);
+ checkUnnamed179(o.rows);
+ checkUnnamed180(o.samplesReadCounts);
+ checkUnnamed181(o.samplingSpaceSizes);
+ checkUnnamed182(o.totals);
}
buildCounterReportData--;
}
-buildUnnamed185() {
+buildUnnamed183() {
var o = new core.List<api.DateRange>();
o.add(buildDateRange());
o.add(buildDateRange());
return o;
}
-checkUnnamed185(core.List<api.DateRange> o) {
+checkUnnamed183(core.List<api.DateRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRange(o[0]);
checkDateRange(o[1]);
}
-buildUnnamed186() {
+buildUnnamed184() {
var o = new core.List<api.DimensionFilterClause>();
o.add(buildDimensionFilterClause());
o.add(buildDimensionFilterClause());
return o;
}
-checkUnnamed186(core.List<api.DimensionFilterClause> o) {
+checkUnnamed184(core.List<api.DimensionFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilterClause(o[0]);
checkDimensionFilterClause(o[1]);
}
-buildUnnamed187() {
+buildUnnamed185() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed187(core.List<api.Dimension> o) {
+checkUnnamed185(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed188() {
+buildUnnamed186() {
var o = new core.List<api.MetricFilterClause>();
o.add(buildMetricFilterClause());
o.add(buildMetricFilterClause());
return o;
}
-checkUnnamed188(core.List<api.MetricFilterClause> o) {
+checkUnnamed186(core.List<api.MetricFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricFilterClause(o[0]);
checkMetricFilterClause(o[1]);
}
-buildUnnamed189() {
+buildUnnamed187() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed189(core.List<api.Metric> o) {
+checkUnnamed187(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed190() {
+buildUnnamed188() {
var o = new core.List<api.OrderBy>();
o.add(buildOrderBy());
o.add(buildOrderBy());
return o;
}
-checkUnnamed190(core.List<api.OrderBy> o) {
+checkUnnamed188(core.List<api.OrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderBy(o[0]);
checkOrderBy(o[1]);
}
-buildUnnamed191() {
+buildUnnamed189() {
var o = new core.List<api.Pivot>();
o.add(buildPivot());
o.add(buildPivot());
return o;
}
-checkUnnamed191(core.List<api.Pivot> o) {
+checkUnnamed189(core.List<api.Pivot> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivot(o[0]);
checkPivot(o[1]);
}
-buildUnnamed192() {
+buildUnnamed190() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed192(core.List<api.Segment> o) {
+checkUnnamed190(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -1037,21 +1037,21 @@
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
o.cohortGroup = buildCohortGroup();
- o.dateRanges = buildUnnamed185();
- o.dimensionFilterClauses = buildUnnamed186();
- o.dimensions = buildUnnamed187();
+ o.dateRanges = buildUnnamed183();
+ o.dimensionFilterClauses = buildUnnamed184();
+ o.dimensions = buildUnnamed185();
o.filtersExpression = "foo";
o.hideTotals = true;
o.hideValueRanges = true;
o.includeEmptyRows = true;
- o.metricFilterClauses = buildUnnamed188();
- o.metrics = buildUnnamed189();
- o.orderBys = buildUnnamed190();
+ o.metricFilterClauses = buildUnnamed186();
+ o.metrics = buildUnnamed187();
+ o.orderBys = buildUnnamed188();
o.pageSize = 42;
o.pageToken = "foo";
- o.pivots = buildUnnamed191();
+ o.pivots = buildUnnamed189();
o.samplingLevel = "foo";
- o.segments = buildUnnamed192();
+ o.segments = buildUnnamed190();
o.viewId = "foo";
}
buildCounterReportRequest--;
@@ -1062,47 +1062,47 @@
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
checkCohortGroup(o.cohortGroup);
- checkUnnamed185(o.dateRanges);
- checkUnnamed186(o.dimensionFilterClauses);
- checkUnnamed187(o.dimensions);
+ checkUnnamed183(o.dateRanges);
+ checkUnnamed184(o.dimensionFilterClauses);
+ checkUnnamed185(o.dimensions);
unittest.expect(o.filtersExpression, unittest.equals('foo'));
unittest.expect(o.hideTotals, unittest.isTrue);
unittest.expect(o.hideValueRanges, unittest.isTrue);
unittest.expect(o.includeEmptyRows, unittest.isTrue);
- checkUnnamed188(o.metricFilterClauses);
- checkUnnamed189(o.metrics);
- checkUnnamed190(o.orderBys);
+ checkUnnamed186(o.metricFilterClauses);
+ checkUnnamed187(o.metrics);
+ checkUnnamed188(o.orderBys);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed191(o.pivots);
+ checkUnnamed189(o.pivots);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
- checkUnnamed192(o.segments);
+ checkUnnamed190(o.segments);
unittest.expect(o.viewId, unittest.equals('foo'));
}
buildCounterReportRequest--;
}
-buildUnnamed193() {
+buildUnnamed191() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed193(core.List<core.String> o) {
+checkUnnamed191(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed194() {
+buildUnnamed192() {
var o = new core.List<api.DateRangeValues>();
o.add(buildDateRangeValues());
o.add(buildDateRangeValues());
return o;
}
-checkUnnamed194(core.List<api.DateRangeValues> o) {
+checkUnnamed192(core.List<api.DateRangeValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRangeValues(o[0]);
checkDateRangeValues(o[1]);
@@ -1113,8 +1113,8 @@
var o = new api.ReportRow();
buildCounterReportRow++;
if (buildCounterReportRow < 3) {
- o.dimensions = buildUnnamed193();
- o.metrics = buildUnnamed194();
+ o.dimensions = buildUnnamed191();
+ o.metrics = buildUnnamed192();
}
buildCounterReportRow--;
return o;
@@ -1123,8 +1123,8 @@
checkReportRow(api.ReportRow o) {
buildCounterReportRow++;
if (buildCounterReportRow < 3) {
- checkUnnamed193(o.dimensions);
- checkUnnamed194(o.metrics);
+ checkUnnamed191(o.dimensions);
+ checkUnnamed192(o.metrics);
}
buildCounterReportRow--;
}
@@ -1150,14 +1150,14 @@
buildCounterSegment--;
}
-buildUnnamed195() {
+buildUnnamed193() {
var o = new core.List<api.SegmentFilter>();
o.add(buildSegmentFilter());
o.add(buildSegmentFilter());
return o;
}
-checkUnnamed195(core.List<api.SegmentFilter> o) {
+checkUnnamed193(core.List<api.SegmentFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentFilter(o[0]);
checkSegmentFilter(o[1]);
@@ -1168,7 +1168,7 @@
var o = new api.SegmentDefinition();
buildCounterSegmentDefinition++;
if (buildCounterSegmentDefinition < 3) {
- o.segmentFilters = buildUnnamed195();
+ o.segmentFilters = buildUnnamed193();
}
buildCounterSegmentDefinition--;
return o;
@@ -1177,19 +1177,19 @@
checkSegmentDefinition(api.SegmentDefinition o) {
buildCounterSegmentDefinition++;
if (buildCounterSegmentDefinition < 3) {
- checkUnnamed195(o.segmentFilters);
+ checkUnnamed193(o.segmentFilters);
}
buildCounterSegmentDefinition--;
}
-buildUnnamed196() {
+buildUnnamed194() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed196(core.List<core.String> o) {
+checkUnnamed194(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1202,7 +1202,7 @@
if (buildCounterSegmentDimensionFilter < 3) {
o.caseSensitive = true;
o.dimensionName = "foo";
- o.expressions = buildUnnamed196();
+ o.expressions = buildUnnamed194();
o.maxComparisonValue = "foo";
o.minComparisonValue = "foo";
o.operator = "foo";
@@ -1216,7 +1216,7 @@
if (buildCounterSegmentDimensionFilter < 3) {
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.dimensionName, unittest.equals('foo'));
- checkUnnamed196(o.expressions);
+ checkUnnamed194(o.expressions);
unittest.expect(o.maxComparisonValue, unittest.equals('foo'));
unittest.expect(o.minComparisonValue, unittest.equals('foo'));
unittest.expect(o.operator, unittest.equals('foo'));
@@ -1297,6 +1297,74 @@
buildCounterSegmentMetricFilter--;
}
+buildUnnamed195() {
+ var o = new core.List<api.OrFiltersForSegment>();
+ o.add(buildOrFiltersForSegment());
+ o.add(buildOrFiltersForSegment());
+ return o;
+}
+
+checkUnnamed195(core.List<api.OrFiltersForSegment> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOrFiltersForSegment(o[0]);
+ checkOrFiltersForSegment(o[1]);
+}
+
+core.int buildCounterSegmentSequenceStep = 0;
+buildSegmentSequenceStep() {
+ var o = new api.SegmentSequenceStep();
+ buildCounterSegmentSequenceStep++;
+ if (buildCounterSegmentSequenceStep < 3) {
+ o.matchType = "foo";
+ o.orFiltersForSegment = buildUnnamed195();
+ }
+ buildCounterSegmentSequenceStep--;
+ return o;
+}
+
+checkSegmentSequenceStep(api.SegmentSequenceStep o) {
+ buildCounterSegmentSequenceStep++;
+ if (buildCounterSegmentSequenceStep < 3) {
+ unittest.expect(o.matchType, unittest.equals('foo'));
+ checkUnnamed195(o.orFiltersForSegment);
+ }
+ buildCounterSegmentSequenceStep--;
+}
+
+buildUnnamed196() {
+ var o = new core.List<api.SegmentSequenceStep>();
+ o.add(buildSegmentSequenceStep());
+ o.add(buildSegmentSequenceStep());
+ return o;
+}
+
+checkUnnamed196(core.List<api.SegmentSequenceStep> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSegmentSequenceStep(o[0]);
+ checkSegmentSequenceStep(o[1]);
+}
+
+core.int buildCounterSequenceSegment = 0;
+buildSequenceSegment() {
+ var o = new api.SequenceSegment();
+ buildCounterSequenceSegment++;
+ if (buildCounterSequenceSegment < 3) {
+ o.firstStepShouldMatchFirstHit = true;
+ o.segmentSequenceSteps = buildUnnamed196();
+ }
+ buildCounterSequenceSegment--;
+ return o;
+}
+
+checkSequenceSegment(api.SequenceSegment o) {
+ buildCounterSequenceSegment++;
+ if (buildCounterSequenceSegment < 3) {
+ unittest.expect(o.firstStepShouldMatchFirstHit, unittest.isTrue);
+ checkUnnamed196(o.segmentSequenceSteps);
+ }
+ buildCounterSequenceSegment--;
+}
+
buildUnnamed197() {
var o = new core.List<api.OrFiltersForSegment>();
o.add(buildOrFiltersForSegment());
@@ -1310,80 +1378,12 @@
checkOrFiltersForSegment(o[1]);
}
-core.int buildCounterSegmentSequenceStep = 0;
-buildSegmentSequenceStep() {
- var o = new api.SegmentSequenceStep();
- buildCounterSegmentSequenceStep++;
- if (buildCounterSegmentSequenceStep < 3) {
- o.matchType = "foo";
- o.orFiltersForSegment = buildUnnamed197();
- }
- buildCounterSegmentSequenceStep--;
- return o;
-}
-
-checkSegmentSequenceStep(api.SegmentSequenceStep o) {
- buildCounterSegmentSequenceStep++;
- if (buildCounterSegmentSequenceStep < 3) {
- unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed197(o.orFiltersForSegment);
- }
- buildCounterSegmentSequenceStep--;
-}
-
-buildUnnamed198() {
- var o = new core.List<api.SegmentSequenceStep>();
- o.add(buildSegmentSequenceStep());
- o.add(buildSegmentSequenceStep());
- return o;
-}
-
-checkUnnamed198(core.List<api.SegmentSequenceStep> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSegmentSequenceStep(o[0]);
- checkSegmentSequenceStep(o[1]);
-}
-
-core.int buildCounterSequenceSegment = 0;
-buildSequenceSegment() {
- var o = new api.SequenceSegment();
- buildCounterSequenceSegment++;
- if (buildCounterSequenceSegment < 3) {
- o.firstStepShouldMatchFirstHit = true;
- o.segmentSequenceSteps = buildUnnamed198();
- }
- buildCounterSequenceSegment--;
- return o;
-}
-
-checkSequenceSegment(api.SequenceSegment o) {
- buildCounterSequenceSegment++;
- if (buildCounterSequenceSegment < 3) {
- unittest.expect(o.firstStepShouldMatchFirstHit, unittest.isTrue);
- checkUnnamed198(o.segmentSequenceSteps);
- }
- buildCounterSequenceSegment--;
-}
-
-buildUnnamed199() {
- var o = new core.List<api.OrFiltersForSegment>();
- o.add(buildOrFiltersForSegment());
- o.add(buildOrFiltersForSegment());
- return o;
-}
-
-checkUnnamed199(core.List<api.OrFiltersForSegment> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkOrFiltersForSegment(o[0]);
- checkOrFiltersForSegment(o[1]);
-}
-
core.int buildCounterSimpleSegment = 0;
buildSimpleSegment() {
var o = new api.SimpleSegment();
buildCounterSimpleSegment++;
if (buildCounterSimpleSegment < 3) {
- o.orFiltersForSegment = buildUnnamed199();
+ o.orFiltersForSegment = buildUnnamed197();
}
buildCounterSimpleSegment--;
return o;
@@ -1392,7 +1392,7 @@
checkSimpleSegment(api.SimpleSegment o) {
buildCounterSimpleSegment++;
if (buildCounterSimpleSegment < 3) {
- checkUnnamed199(o.orFiltersForSegment);
+ checkUnnamed197(o.orFiltersForSegment);
}
buildCounterSimpleSegment--;
}
diff --git a/generated/googleapis/test/androidenterprise/v1_test.dart b/generated/googleapis/test/androidenterprise/v1_test.dart
index 0c587c2..4dcf019 100644
--- a/generated/googleapis/test/androidenterprise/v1_test.dart
+++ b/generated/googleapis/test/androidenterprise/v1_test.dart
@@ -91,14 +91,14 @@
buildCounterAdministratorWebToken--;
}
-buildUnnamed1926() {
+buildUnnamed1938() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1926(core.List<core.String> o) {
+checkUnnamed1938(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -111,7 +111,7 @@
if (buildCounterAdministratorWebTokenSpec < 3) {
o.kind = "foo";
o.parent = "foo";
- o.permission = buildUnnamed1926();
+ o.permission = buildUnnamed1938();
}
buildCounterAdministratorWebTokenSpec--;
return o;
@@ -122,19 +122,19 @@
if (buildCounterAdministratorWebTokenSpec < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
- checkUnnamed1926(o.permission);
+ checkUnnamed1938(o.permission);
}
buildCounterAdministratorWebTokenSpec--;
}
-buildUnnamed1927() {
+buildUnnamed1939() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed1927(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed1939(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -146,7 +146,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
o.kind = "foo";
- o.restrictions = buildUnnamed1927();
+ o.restrictions = buildUnnamed1939();
}
buildCounterAppRestrictionsSchema--;
return o;
@@ -156,7 +156,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1927(o.restrictions);
+ checkUnnamed1939(o.restrictions);
}
buildCounterAppRestrictionsSchema--;
}
@@ -180,40 +180,40 @@
buildCounterAppRestrictionsSchemaChangeEvent--;
}
-buildUnnamed1928() {
+buildUnnamed1940() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1928(core.List<core.String> o) {
+checkUnnamed1940(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1929() {
+buildUnnamed1941() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1929(core.List<core.String> o) {
+checkUnnamed1941(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1930() {
+buildUnnamed1942() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed1930(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed1942(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -226,10 +226,10 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
o.description = "foo";
- o.entry = buildUnnamed1928();
- o.entryValue = buildUnnamed1929();
+ o.entry = buildUnnamed1940();
+ o.entryValue = buildUnnamed1941();
o.key = "foo";
- o.nestedRestriction = buildUnnamed1930();
+ o.nestedRestriction = buildUnnamed1942();
o.restrictionType = "foo";
o.title = "foo";
}
@@ -242,24 +242,24 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1928(o.entry);
- checkUnnamed1929(o.entryValue);
+ checkUnnamed1940(o.entry);
+ checkUnnamed1941(o.entryValue);
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1930(o.nestedRestriction);
+ checkUnnamed1942(o.nestedRestriction);
unittest.expect(o.restrictionType, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestriction--;
}
-buildUnnamed1931() {
+buildUnnamed1943() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1931(core.List<core.String> o) {
+checkUnnamed1943(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -273,7 +273,7 @@
o.type = "foo";
o.valueBool = true;
o.valueInteger = 42;
- o.valueMultiselect = buildUnnamed1931();
+ o.valueMultiselect = buildUnnamed1943();
o.valueString = "foo";
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -286,7 +286,7 @@
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
unittest.expect(o.valueInteger, unittest.equals(42));
- checkUnnamed1931(o.valueMultiselect);
+ checkUnnamed1943(o.valueMultiselect);
unittest.expect(o.valueString, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -418,14 +418,14 @@
buildCounterDeviceState--;
}
-buildUnnamed1932() {
+buildUnnamed1944() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed1932(core.List<api.Device> o) {
+checkUnnamed1944(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -436,7 +436,7 @@
var o = new api.DevicesListResponse();
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- o.device = buildUnnamed1932();
+ o.device = buildUnnamed1944();
o.kind = "foo";
}
buildCounterDevicesListResponse--;
@@ -446,20 +446,20 @@
checkDevicesListResponse(api.DevicesListResponse o) {
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- checkUnnamed1932(o.device);
+ checkUnnamed1944(o.device);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDevicesListResponse--;
}
-buildUnnamed1933() {
+buildUnnamed1945() {
var o = new core.List<api.Administrator>();
o.add(buildAdministrator());
o.add(buildAdministrator());
return o;
}
-checkUnnamed1933(core.List<api.Administrator> o) {
+checkUnnamed1945(core.List<api.Administrator> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrator(o[0]);
checkAdministrator(o[1]);
@@ -470,7 +470,7 @@
var o = new api.Enterprise();
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- o.administrator = buildUnnamed1933();
+ o.administrator = buildUnnamed1945();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -483,7 +483,7 @@
checkEnterprise(api.Enterprise o) {
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- checkUnnamed1933(o.administrator);
+ checkUnnamed1945(o.administrator);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -513,14 +513,14 @@
buildCounterEnterpriseAccount--;
}
-buildUnnamed1934() {
+buildUnnamed1946() {
var o = new core.List<api.Enterprise>();
o.add(buildEnterprise());
o.add(buildEnterprise());
return o;
}
-checkUnnamed1934(core.List<api.Enterprise> o) {
+checkUnnamed1946(core.List<api.Enterprise> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnterprise(o[0]);
checkEnterprise(o[1]);
@@ -531,7 +531,7 @@
var o = new api.EnterprisesListResponse();
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- o.enterprise = buildUnnamed1934();
+ o.enterprise = buildUnnamed1946();
o.kind = "foo";
}
buildCounterEnterprisesListResponse--;
@@ -541,7 +541,7 @@
checkEnterprisesListResponse(api.EnterprisesListResponse o) {
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- checkUnnamed1934(o.enterprise);
+ checkUnnamed1946(o.enterprise);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEnterprisesListResponse--;
@@ -591,14 +591,14 @@
buildCounterEntitlement--;
}
-buildUnnamed1935() {
+buildUnnamed1947() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed1935(core.List<api.Entitlement> o) {
+checkUnnamed1947(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -609,7 +609,7 @@
var o = new api.EntitlementsListResponse();
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- o.entitlement = buildUnnamed1935();
+ o.entitlement = buildUnnamed1947();
o.kind = "foo";
}
buildCounterEntitlementsListResponse--;
@@ -619,7 +619,7 @@
checkEntitlementsListResponse(api.EntitlementsListResponse o) {
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- checkUnnamed1935(o.entitlement);
+ checkUnnamed1947(o.entitlement);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEntitlementsListResponse--;
@@ -654,14 +654,14 @@
buildCounterGroupLicense--;
}
-buildUnnamed1936() {
+buildUnnamed1948() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed1936(core.List<api.User> o) {
+checkUnnamed1948(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -673,7 +673,7 @@
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed1936();
+ o.user = buildUnnamed1948();
}
buildCounterGroupLicenseUsersListResponse--;
return o;
@@ -683,19 +683,19 @@
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1936(o.user);
+ checkUnnamed1948(o.user);
}
buildCounterGroupLicenseUsersListResponse--;
}
-buildUnnamed1937() {
+buildUnnamed1949() {
var o = new core.List<api.GroupLicense>();
o.add(buildGroupLicense());
o.add(buildGroupLicense());
return o;
}
-checkUnnamed1937(core.List<api.GroupLicense> o) {
+checkUnnamed1949(core.List<api.GroupLicense> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupLicense(o[0]);
checkGroupLicense(o[1]);
@@ -706,7 +706,7 @@
var o = new api.GroupLicensesListResponse();
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- o.groupLicense = buildUnnamed1937();
+ o.groupLicense = buildUnnamed1949();
o.kind = "foo";
}
buildCounterGroupLicensesListResponse--;
@@ -716,7 +716,7 @@
checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- checkUnnamed1937(o.groupLicense);
+ checkUnnamed1949(o.groupLicense);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterGroupLicensesListResponse--;
@@ -774,14 +774,14 @@
buildCounterInstallFailureEvent--;
}
-buildUnnamed1938() {
+buildUnnamed1950() {
var o = new core.List<api.Install>();
o.add(buildInstall());
o.add(buildInstall());
return o;
}
-checkUnnamed1938(core.List<api.Install> o) {
+checkUnnamed1950(core.List<api.Install> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstall(o[0]);
checkInstall(o[1]);
@@ -792,7 +792,7 @@
var o = new api.InstallsListResponse();
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- o.install = buildUnnamed1938();
+ o.install = buildUnnamed1950();
o.kind = "foo";
}
buildCounterInstallsListResponse--;
@@ -802,7 +802,7 @@
checkInstallsListResponse(api.InstallsListResponse o) {
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- checkUnnamed1938(o.install);
+ checkUnnamed1950(o.install);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInstallsListResponse--;
@@ -829,14 +829,14 @@
buildCounterLocalizedText--;
}
-buildUnnamed1939() {
+buildUnnamed1951() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1939(core.List<api.ManagedProperty> o) {
+checkUnnamed1951(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -848,7 +848,7 @@
buildCounterManagedConfiguration++;
if (buildCounterManagedConfiguration < 3) {
o.kind = "foo";
- o.managedProperty = buildUnnamed1939();
+ o.managedProperty = buildUnnamed1951();
o.productId = "foo";
}
buildCounterManagedConfiguration--;
@@ -859,20 +859,20 @@
buildCounterManagedConfiguration++;
if (buildCounterManagedConfiguration < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1939(o.managedProperty);
+ checkUnnamed1951(o.managedProperty);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterManagedConfiguration--;
}
-buildUnnamed1940() {
+buildUnnamed1952() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed1940(core.List<api.ManagedConfiguration> o) {
+checkUnnamed1952(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -884,7 +884,7 @@
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
o.kind = "foo";
- o.managedConfigurationForDevice = buildUnnamed1940();
+ o.managedConfigurationForDevice = buildUnnamed1952();
}
buildCounterManagedConfigurationsForDeviceListResponse--;
return o;
@@ -894,19 +894,19 @@
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1940(o.managedConfigurationForDevice);
+ checkUnnamed1952(o.managedConfigurationForDevice);
}
buildCounterManagedConfigurationsForDeviceListResponse--;
}
-buildUnnamed1941() {
+buildUnnamed1953() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed1941(core.List<api.ManagedConfiguration> o) {
+checkUnnamed1953(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -918,7 +918,7 @@
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
o.kind = "foo";
- o.managedConfigurationForUser = buildUnnamed1941();
+ o.managedConfigurationForUser = buildUnnamed1953();
}
buildCounterManagedConfigurationsForUserListResponse--;
return o;
@@ -928,32 +928,32 @@
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1941(o.managedConfigurationForUser);
+ checkUnnamed1953(o.managedConfigurationForUser);
}
buildCounterManagedConfigurationsForUserListResponse--;
}
-buildUnnamed1942() {
+buildUnnamed1954() {
var o = new core.List<api.ManagedPropertyBundle>();
o.add(buildManagedPropertyBundle());
o.add(buildManagedPropertyBundle());
return o;
}
-checkUnnamed1942(core.List<api.ManagedPropertyBundle> o) {
+checkUnnamed1954(core.List<api.ManagedPropertyBundle> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedPropertyBundle(o[0]);
checkManagedPropertyBundle(o[1]);
}
-buildUnnamed1943() {
+buildUnnamed1955() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1943(core.List<core.String> o) {
+checkUnnamed1955(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -967,10 +967,10 @@
o.key = "foo";
o.valueBool = true;
o.valueBundle = buildManagedPropertyBundle();
- o.valueBundleArray = buildUnnamed1942();
+ o.valueBundleArray = buildUnnamed1954();
o.valueInteger = 42;
o.valueString = "foo";
- o.valueStringArray = buildUnnamed1943();
+ o.valueStringArray = buildUnnamed1955();
}
buildCounterManagedProperty--;
return o;
@@ -982,22 +982,22 @@
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
checkManagedPropertyBundle(o.valueBundle);
- checkUnnamed1942(o.valueBundleArray);
+ checkUnnamed1954(o.valueBundleArray);
unittest.expect(o.valueInteger, unittest.equals(42));
unittest.expect(o.valueString, unittest.equals('foo'));
- checkUnnamed1943(o.valueStringArray);
+ checkUnnamed1955(o.valueStringArray);
}
buildCounterManagedProperty--;
}
-buildUnnamed1944() {
+buildUnnamed1956() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1944(core.List<api.ManagedProperty> o) {
+checkUnnamed1956(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -1008,7 +1008,7 @@
var o = new api.ManagedPropertyBundle();
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- o.managedProperty = buildUnnamed1944();
+ o.managedProperty = buildUnnamed1956();
}
buildCounterManagedPropertyBundle--;
return o;
@@ -1017,7 +1017,7 @@
checkManagedPropertyBundle(api.ManagedPropertyBundle o) {
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- checkUnnamed1944(o.managedProperty);
+ checkUnnamed1956(o.managedProperty);
}
buildCounterManagedPropertyBundle--;
}
@@ -1045,27 +1045,27 @@
buildCounterNewDeviceEvent--;
}
-buildUnnamed1945() {
+buildUnnamed1957() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1945(core.List<core.String> o) {
+checkUnnamed1957(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1946() {
+buildUnnamed1958() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1946(core.List<core.String> o) {
+checkUnnamed1958(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1076,9 +1076,9 @@
var o = new api.NewPermissionsEvent();
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- o.approvedPermissions = buildUnnamed1945();
+ o.approvedPermissions = buildUnnamed1957();
o.productId = "foo";
- o.requestedPermissions = buildUnnamed1946();
+ o.requestedPermissions = buildUnnamed1958();
}
buildCounterNewPermissionsEvent--;
return o;
@@ -1087,9 +1087,9 @@
checkNewPermissionsEvent(api.NewPermissionsEvent o) {
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- checkUnnamed1945(o.approvedPermissions);
+ checkUnnamed1957(o.approvedPermissions);
unittest.expect(o.productId, unittest.equals('foo'));
- checkUnnamed1946(o.requestedPermissions);
+ checkUnnamed1958(o.requestedPermissions);
}
buildCounterNewPermissionsEvent--;
}
@@ -1129,14 +1129,14 @@
buildCounterNotification--;
}
-buildUnnamed1947() {
+buildUnnamed1959() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed1947(core.List<api.Notification> o) {
+checkUnnamed1959(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1148,7 +1148,7 @@
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
o.kind = "foo";
- o.notification = buildUnnamed1947();
+ o.notification = buildUnnamed1959();
o.notificationSetId = "foo";
}
buildCounterNotificationSet--;
@@ -1159,7 +1159,7 @@
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1947(o.notification);
+ checkUnnamed1959(o.notification);
unittest.expect(o.notificationSetId, unittest.equals('foo'));
}
buildCounterNotificationSet--;
@@ -1213,14 +1213,14 @@
buildCounterPermission--;
}
-buildUnnamed1948() {
+buildUnnamed1960() {
var o = new core.List<api.AppVersion>();
o.add(buildAppVersion());
o.add(buildAppVersion());
return o;
}
-checkUnnamed1948(core.List<api.AppVersion> o) {
+checkUnnamed1960(core.List<api.AppVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppVersion(o[0]);
checkAppVersion(o[1]);
@@ -1231,7 +1231,7 @@
var o = new api.Product();
buildCounterProduct++;
if (buildCounterProduct < 3) {
- o.appVersion = buildUnnamed1948();
+ o.appVersion = buildUnnamed1960();
o.authorName = "foo";
o.detailsUrl = "foo";
o.distributionChannel = "foo";
@@ -1251,7 +1251,7 @@
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed1948(o.appVersion);
+ checkUnnamed1960(o.appVersion);
unittest.expect(o.authorName, unittest.equals('foo'));
unittest.expect(o.detailsUrl, unittest.equals('foo'));
unittest.expect(o.distributionChannel, unittest.equals('foo'));
@@ -1330,14 +1330,14 @@
buildCounterProductPermission--;
}
-buildUnnamed1949() {
+buildUnnamed1961() {
var o = new core.List<api.ProductPermission>();
o.add(buildProductPermission());
o.add(buildProductPermission());
return o;
}
-checkUnnamed1949(core.List<api.ProductPermission> o) {
+checkUnnamed1961(core.List<api.ProductPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductPermission(o[0]);
checkProductPermission(o[1]);
@@ -1349,7 +1349,7 @@
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
o.kind = "foo";
- o.permission = buildUnnamed1949();
+ o.permission = buildUnnamed1961();
o.productId = "foo";
}
buildCounterProductPermissions--;
@@ -1360,20 +1360,20 @@
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1949(o.permission);
+ checkUnnamed1961(o.permission);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterProductPermissions--;
}
-buildUnnamed1950() {
+buildUnnamed1962() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1950(core.List<core.String> o) {
+checkUnnamed1962(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1385,7 +1385,7 @@
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
o.kind = "foo";
- o.productId = buildUnnamed1950();
+ o.productId = buildUnnamed1962();
o.productSetBehavior = "foo";
}
buildCounterProductSet--;
@@ -1396,7 +1396,7 @@
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1950(o.productId);
+ checkUnnamed1962(o.productId);
unittest.expect(o.productSetBehavior, unittest.equals('foo'));
}
buildCounterProductSet--;
@@ -1440,14 +1440,14 @@
buildCounterProductsGenerateApprovalUrlResponse--;
}
-buildUnnamed1951() {
+buildUnnamed1963() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed1951(core.List<api.Product> o) {
+checkUnnamed1963(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -1460,7 +1460,7 @@
if (buildCounterProductsListResponse < 3) {
o.kind = "foo";
o.pageInfo = buildPageInfo();
- o.product = buildUnnamed1951();
+ o.product = buildUnnamed1963();
o.tokenPagination = buildTokenPagination();
}
buildCounterProductsListResponse--;
@@ -1472,7 +1472,7 @@
if (buildCounterProductsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
- checkUnnamed1951(o.product);
+ checkUnnamed1963(o.product);
checkTokenPagination(o.tokenPagination);
}
buildCounterProductsListResponse--;
@@ -1528,14 +1528,14 @@
buildCounterServiceAccountKey--;
}
-buildUnnamed1952() {
+buildUnnamed1964() {
var o = new core.List<api.ServiceAccountKey>();
o.add(buildServiceAccountKey());
o.add(buildServiceAccountKey());
return o;
}
-checkUnnamed1952(core.List<api.ServiceAccountKey> o) {
+checkUnnamed1964(core.List<api.ServiceAccountKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccountKey(o[0]);
checkServiceAccountKey(o[1]);
@@ -1546,7 +1546,7 @@
var o = new api.ServiceAccountKeysListResponse();
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- o.serviceAccountKey = buildUnnamed1952();
+ o.serviceAccountKey = buildUnnamed1964();
}
buildCounterServiceAccountKeysListResponse--;
return o;
@@ -1555,7 +1555,7 @@
checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) {
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- checkUnnamed1952(o.serviceAccountKey);
+ checkUnnamed1964(o.serviceAccountKey);
}
buildCounterServiceAccountKeysListResponse--;
}
@@ -1583,27 +1583,27 @@
buildCounterSignupInfo--;
}
-buildUnnamed1953() {
+buildUnnamed1965() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed1953(core.List<api.LocalizedText> o) {
+checkUnnamed1965(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
}
-buildUnnamed1954() {
+buildUnnamed1966() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1954(core.List<core.String> o) {
+checkUnnamed1966(core.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,9 +1616,9 @@
if (buildCounterStoreCluster < 3) {
o.id = "foo";
o.kind = "foo";
- o.name = buildUnnamed1953();
+ o.name = buildUnnamed1965();
o.orderInPage = "foo";
- o.productId = buildUnnamed1954();
+ o.productId = buildUnnamed1966();
}
buildCounterStoreCluster--;
return o;
@@ -1629,9 +1629,9 @@
if (buildCounterStoreCluster < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1953(o.name);
+ checkUnnamed1965(o.name);
unittest.expect(o.orderInPage, unittest.equals('foo'));
- checkUnnamed1954(o.productId);
+ checkUnnamed1966(o.productId);
}
buildCounterStoreCluster--;
}
@@ -1659,14 +1659,14 @@
buildCounterStoreLayout--;
}
-buildUnnamed1955() {
+buildUnnamed1967() {
var o = new core.List<api.StoreCluster>();
o.add(buildStoreCluster());
o.add(buildStoreCluster());
return o;
}
-checkUnnamed1955(core.List<api.StoreCluster> o) {
+checkUnnamed1967(core.List<api.StoreCluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkStoreCluster(o[0]);
checkStoreCluster(o[1]);
@@ -1677,7 +1677,7 @@
var o = new api.StoreLayoutClustersListResponse();
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- o.cluster = buildUnnamed1955();
+ o.cluster = buildUnnamed1967();
o.kind = "foo";
}
buildCounterStoreLayoutClustersListResponse--;
@@ -1687,20 +1687,20 @@
checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) {
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- checkUnnamed1955(o.cluster);
+ checkUnnamed1967(o.cluster);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterStoreLayoutClustersListResponse--;
}
-buildUnnamed1956() {
+buildUnnamed1968() {
var o = new core.List<api.StorePage>();
o.add(buildStorePage());
o.add(buildStorePage());
return o;
}
-checkUnnamed1956(core.List<api.StorePage> o) {
+checkUnnamed1968(core.List<api.StorePage> o) {
unittest.expect(o, unittest.hasLength(2));
checkStorePage(o[0]);
checkStorePage(o[1]);
@@ -1712,7 +1712,7 @@
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
o.kind = "foo";
- o.page = buildUnnamed1956();
+ o.page = buildUnnamed1968();
}
buildCounterStoreLayoutPagesListResponse--;
return o;
@@ -1722,32 +1722,32 @@
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1956(o.page);
+ checkUnnamed1968(o.page);
}
buildCounterStoreLayoutPagesListResponse--;
}
-buildUnnamed1957() {
+buildUnnamed1969() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1957(core.List<core.String> o) {
+checkUnnamed1969(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1958() {
+buildUnnamed1970() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed1958(core.List<api.LocalizedText> o) {
+checkUnnamed1970(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
@@ -1760,8 +1760,8 @@
if (buildCounterStorePage < 3) {
o.id = "foo";
o.kind = "foo";
- o.link = buildUnnamed1957();
- o.name = buildUnnamed1958();
+ o.link = buildUnnamed1969();
+ o.name = buildUnnamed1970();
}
buildCounterStorePage--;
return o;
@@ -1772,8 +1772,8 @@
if (buildCounterStorePage < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1957(o.link);
- checkUnnamed1958(o.name);
+ checkUnnamed1969(o.link);
+ checkUnnamed1970(o.name);
}
buildCounterStorePage--;
}
@@ -1853,14 +1853,14 @@
buildCounterUserToken--;
}
-buildUnnamed1959() {
+buildUnnamed1971() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed1959(core.List<api.User> o) {
+checkUnnamed1971(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -1872,7 +1872,7 @@
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed1959();
+ o.user = buildUnnamed1971();
}
buildCounterUsersListResponse--;
return o;
@@ -1882,7 +1882,7 @@
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1959(o.user);
+ checkUnnamed1971(o.user);
}
buildCounterUsersListResponse--;
}
diff --git a/generated/googleapis/test/androidpublisher/v2_test.dart b/generated/googleapis/test/androidpublisher/v2_test.dart
index ade32cd..61b9fcb 100644
--- a/generated/googleapis/test/androidpublisher/v2_test.dart
+++ b/generated/googleapis/test/androidpublisher/v2_test.dart
@@ -112,14 +112,14 @@
buildCounterApkListing--;
}
-buildUnnamed2812() {
+buildUnnamed2826() {
var o = new core.List<api.ApkListing>();
o.add(buildApkListing());
o.add(buildApkListing());
return o;
}
-checkUnnamed2812(core.List<api.ApkListing> o) {
+checkUnnamed2826(core.List<api.ApkListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkApkListing(o[0]);
checkApkListing(o[1]);
@@ -131,7 +131,7 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed2812();
+ o.listings = buildUnnamed2826();
}
buildCounterApkListingsListResponse--;
return o;
@@ -141,7 +141,7 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2812(o.listings);
+ checkUnnamed2826(o.listings);
}
buildCounterApkListingsListResponse--;
}
@@ -184,14 +184,14 @@
buildCounterApksAddExternallyHostedResponse--;
}
-buildUnnamed2813() {
+buildUnnamed2827() {
var o = new core.List<api.Apk>();
o.add(buildApk());
o.add(buildApk());
return o;
}
-checkUnnamed2813(core.List<api.Apk> o) {
+checkUnnamed2827(core.List<api.Apk> o) {
unittest.expect(o, unittest.hasLength(2));
checkApk(o[0]);
checkApk(o[1]);
@@ -202,7 +202,7 @@
var o = new api.ApksListResponse();
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- o.apks = buildUnnamed2813();
+ o.apks = buildUnnamed2827();
o.kind = "foo";
}
buildCounterApksListResponse--;
@@ -212,7 +212,7 @@
checkApksListResponse(api.ApksListResponse o) {
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- checkUnnamed2813(o.apks);
+ checkUnnamed2827(o.apks);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterApksListResponse--;
@@ -408,14 +408,14 @@
buildCounterEntitlement--;
}
-buildUnnamed2814() {
+buildUnnamed2828() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed2814(core.List<api.Entitlement> o) {
+checkUnnamed2828(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -427,7 +427,7 @@
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.resources = buildUnnamed2814();
+ o.resources = buildUnnamed2828();
o.tokenPagination = buildTokenPagination();
}
buildCounterEntitlementsListResponse--;
@@ -438,7 +438,7 @@
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed2814(o.resources);
+ checkUnnamed2828(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterEntitlementsListResponse--;
@@ -484,53 +484,53 @@
buildCounterExpansionFilesUploadResponse--;
}
-buildUnnamed2815() {
+buildUnnamed2829() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2815(core.List<core.String> o) {
+checkUnnamed2829(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2816() {
+buildUnnamed2830() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2816(core.List<core.String> o) {
+checkUnnamed2830(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2817() {
+buildUnnamed2831() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2817(core.List<core.String> o) {
+checkUnnamed2831(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2818() {
+buildUnnamed2832() {
var o = new core.List<api.ExternallyHostedApkUsesPermission>();
o.add(buildExternallyHostedApkUsesPermission());
o.add(buildExternallyHostedApkUsesPermission());
return o;
}
-checkUnnamed2818(core.List<api.ExternallyHostedApkUsesPermission> o) {
+checkUnnamed2832(core.List<api.ExternallyHostedApkUsesPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternallyHostedApkUsesPermission(o[0]);
checkExternallyHostedApkUsesPermission(o[1]);
@@ -542,7 +542,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
o.applicationLabel = "foo";
- o.certificateBase64s = buildUnnamed2815();
+ o.certificateBase64s = buildUnnamed2829();
o.externallyHostedUrl = "foo";
o.fileSha1Base64 = "foo";
o.fileSha256Base64 = "foo";
@@ -550,10 +550,10 @@
o.iconBase64 = "foo";
o.maximumSdk = 42;
o.minimumSdk = 42;
- o.nativeCodes = buildUnnamed2816();
+ o.nativeCodes = buildUnnamed2830();
o.packageName = "foo";
- o.usesFeatures = buildUnnamed2817();
- o.usesPermissions = buildUnnamed2818();
+ o.usesFeatures = buildUnnamed2831();
+ o.usesPermissions = buildUnnamed2832();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -565,7 +565,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
unittest.expect(o.applicationLabel, unittest.equals('foo'));
- checkUnnamed2815(o.certificateBase64s);
+ checkUnnamed2829(o.certificateBase64s);
unittest.expect(o.externallyHostedUrl, unittest.equals('foo'));
unittest.expect(o.fileSha1Base64, unittest.equals('foo'));
unittest.expect(o.fileSha256Base64, unittest.equals('foo'));
@@ -573,10 +573,10 @@
unittest.expect(o.iconBase64, unittest.equals('foo'));
unittest.expect(o.maximumSdk, unittest.equals(42));
unittest.expect(o.minimumSdk, unittest.equals(42));
- checkUnnamed2816(o.nativeCodes);
+ checkUnnamed2830(o.nativeCodes);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed2817(o.usesFeatures);
- checkUnnamed2818(o.usesPermissions);
+ checkUnnamed2831(o.usesFeatures);
+ checkUnnamed2832(o.usesPermissions);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
@@ -627,14 +627,14 @@
buildCounterImage--;
}
-buildUnnamed2819() {
+buildUnnamed2833() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2819(core.List<api.Image> o) {
+checkUnnamed2833(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -645,7 +645,7 @@
var o = new api.ImagesDeleteAllResponse();
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- o.deleted = buildUnnamed2819();
+ o.deleted = buildUnnamed2833();
}
buildCounterImagesDeleteAllResponse--;
return o;
@@ -654,19 +654,19 @@
checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) {
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- checkUnnamed2819(o.deleted);
+ checkUnnamed2833(o.deleted);
}
buildCounterImagesDeleteAllResponse--;
}
-buildUnnamed2820() {
+buildUnnamed2834() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2820(core.List<api.Image> o) {
+checkUnnamed2834(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -677,7 +677,7 @@
var o = new api.ImagesListResponse();
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- o.images = buildUnnamed2820();
+ o.images = buildUnnamed2834();
}
buildCounterImagesListResponse--;
return o;
@@ -686,7 +686,7 @@
checkImagesListResponse(api.ImagesListResponse o) {
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- checkUnnamed2820(o.images);
+ checkUnnamed2834(o.images);
}
buildCounterImagesListResponse--;
}
@@ -710,27 +710,27 @@
buildCounterImagesUploadResponse--;
}
-buildUnnamed2821() {
+buildUnnamed2835() {
var o = new core.Map<core.String, api.InAppProductListing>();
o["x"] = buildInAppProductListing();
o["y"] = buildInAppProductListing();
return o;
}
-checkUnnamed2821(core.Map<core.String, api.InAppProductListing> o) {
+checkUnnamed2835(core.Map<core.String, api.InAppProductListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProductListing(o["x"]);
checkInAppProductListing(o["y"]);
}
-buildUnnamed2822() {
+buildUnnamed2836() {
var o = new core.Map<core.String, api.Price>();
o["x"] = buildPrice();
o["y"] = buildPrice();
return o;
}
-checkUnnamed2822(core.Map<core.String, api.Price> o) {
+checkUnnamed2836(core.Map<core.String, api.Price> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrice(o["x"]);
checkPrice(o["y"]);
@@ -743,9 +743,9 @@
if (buildCounterInAppProduct < 3) {
o.defaultLanguage = "foo";
o.defaultPrice = buildPrice();
- o.listings = buildUnnamed2821();
+ o.listings = buildUnnamed2835();
o.packageName = "foo";
- o.prices = buildUnnamed2822();
+ o.prices = buildUnnamed2836();
o.purchaseType = "foo";
o.season = buildSeason();
o.sku = "foo";
@@ -762,9 +762,9 @@
if (buildCounterInAppProduct < 3) {
unittest.expect(o.defaultLanguage, unittest.equals('foo'));
checkPrice(o.defaultPrice);
- checkUnnamed2821(o.listings);
+ checkUnnamed2835(o.listings);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed2822(o.prices);
+ checkUnnamed2836(o.prices);
unittest.expect(o.purchaseType, unittest.equals('foo'));
checkSeason(o.season);
unittest.expect(o.sku, unittest.equals('foo'));
@@ -796,14 +796,14 @@
buildCounterInAppProductListing--;
}
-buildUnnamed2823() {
+buildUnnamed2837() {
var o = new core.List<api.InappproductsBatchRequestEntry>();
o.add(buildInappproductsBatchRequestEntry());
o.add(buildInappproductsBatchRequestEntry());
return o;
}
-checkUnnamed2823(core.List<api.InappproductsBatchRequestEntry> o) {
+checkUnnamed2837(core.List<api.InappproductsBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInappproductsBatchRequestEntry(o[0]);
checkInappproductsBatchRequestEntry(o[1]);
@@ -814,7 +814,7 @@
var o = new api.InappproductsBatchRequest();
buildCounterInappproductsBatchRequest++;
if (buildCounterInappproductsBatchRequest < 3) {
- o.entrys = buildUnnamed2823();
+ o.entrys = buildUnnamed2837();
}
buildCounterInappproductsBatchRequest--;
return o;
@@ -823,7 +823,7 @@
checkInappproductsBatchRequest(api.InappproductsBatchRequest o) {
buildCounterInappproductsBatchRequest++;
if (buildCounterInappproductsBatchRequest < 3) {
- checkUnnamed2823(o.entrys);
+ checkUnnamed2837(o.entrys);
}
buildCounterInappproductsBatchRequest--;
}
@@ -853,14 +853,14 @@
buildCounterInappproductsBatchRequestEntry--;
}
-buildUnnamed2824() {
+buildUnnamed2838() {
var o = new core.List<api.InappproductsBatchResponseEntry>();
o.add(buildInappproductsBatchResponseEntry());
o.add(buildInappproductsBatchResponseEntry());
return o;
}
-checkUnnamed2824(core.List<api.InappproductsBatchResponseEntry> o) {
+checkUnnamed2838(core.List<api.InappproductsBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInappproductsBatchResponseEntry(o[0]);
checkInappproductsBatchResponseEntry(o[1]);
@@ -871,7 +871,7 @@
var o = new api.InappproductsBatchResponse();
buildCounterInappproductsBatchResponse++;
if (buildCounterInappproductsBatchResponse < 3) {
- o.entrys = buildUnnamed2824();
+ o.entrys = buildUnnamed2838();
o.kind = "foo";
}
buildCounterInappproductsBatchResponse--;
@@ -881,7 +881,7 @@
checkInappproductsBatchResponse(api.InappproductsBatchResponse o) {
buildCounterInappproductsBatchResponse++;
if (buildCounterInappproductsBatchResponse < 3) {
- checkUnnamed2824(o.entrys);
+ checkUnnamed2838(o.entrys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInappproductsBatchResponse--;
@@ -948,14 +948,14 @@
buildCounterInappproductsInsertResponse--;
}
-buildUnnamed2825() {
+buildUnnamed2839() {
var o = new core.List<api.InAppProduct>();
o.add(buildInAppProduct());
o.add(buildInAppProduct());
return o;
}
-checkUnnamed2825(core.List<api.InAppProduct> o) {
+checkUnnamed2839(core.List<api.InAppProduct> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProduct(o[0]);
checkInAppProduct(o[1]);
@@ -966,7 +966,7 @@
var o = new api.InappproductsListResponse();
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- o.inappproduct = buildUnnamed2825();
+ o.inappproduct = buildUnnamed2839();
o.kind = "foo";
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
@@ -978,7 +978,7 @@
checkInappproductsListResponse(api.InappproductsListResponse o) {
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- checkUnnamed2825(o.inappproduct);
+ checkUnnamed2839(o.inappproduct);
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
@@ -1051,14 +1051,14 @@
buildCounterListing--;
}
-buildUnnamed2826() {
+buildUnnamed2840() {
var o = new core.List<api.Listing>();
o.add(buildListing());
o.add(buildListing());
return o;
}
-checkUnnamed2826(core.List<api.Listing> o) {
+checkUnnamed2840(core.List<api.Listing> o) {
unittest.expect(o, unittest.hasLength(2));
checkListing(o[0]);
checkListing(o[1]);
@@ -1070,7 +1070,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed2826();
+ o.listings = buildUnnamed2840();
}
buildCounterListingsListResponse--;
return o;
@@ -1080,7 +1080,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2826(o.listings);
+ checkUnnamed2840(o.listings);
}
buildCounterListingsListResponse--;
}
@@ -1198,14 +1198,14 @@
buildCounterProrate--;
}
-buildUnnamed2827() {
+buildUnnamed2841() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed2827(core.List<api.Comment> o) {
+checkUnnamed2841(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1217,7 +1217,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
o.authorName = "foo";
- o.comments = buildUnnamed2827();
+ o.comments = buildUnnamed2841();
o.reviewId = "foo";
}
buildCounterReview--;
@@ -1228,7 +1228,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
unittest.expect(o.authorName, unittest.equals('foo'));
- checkUnnamed2827(o.comments);
+ checkUnnamed2841(o.comments);
unittest.expect(o.reviewId, unittest.equals('foo'));
}
buildCounterReview--;
@@ -1255,14 +1255,14 @@
buildCounterReviewReplyResult--;
}
-buildUnnamed2828() {
+buildUnnamed2842() {
var o = new core.List<api.Review>();
o.add(buildReview());
o.add(buildReview());
return o;
}
-checkUnnamed2828(core.List<api.Review> o) {
+checkUnnamed2842(core.List<api.Review> o) {
unittest.expect(o, unittest.hasLength(2));
checkReview(o[0]);
checkReview(o[1]);
@@ -1274,7 +1274,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.reviews = buildUnnamed2828();
+ o.reviews = buildUnnamed2842();
o.tokenPagination = buildTokenPagination();
}
buildCounterReviewsListResponse--;
@@ -1285,7 +1285,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed2828(o.reviews);
+ checkUnnamed2842(o.reviews);
checkTokenPagination(o.tokenPagination);
}
buildCounterReviewsListResponse--;
@@ -1329,14 +1329,14 @@
buildCounterReviewsReplyResponse--;
}
-buildUnnamed2829() {
+buildUnnamed2843() {
var o = new core.List<api.Prorate>();
o.add(buildProrate());
o.add(buildProrate());
return o;
}
-checkUnnamed2829(core.List<api.Prorate> o) {
+checkUnnamed2843(core.List<api.Prorate> o) {
unittest.expect(o, unittest.hasLength(2));
checkProrate(o[0]);
checkProrate(o[1]);
@@ -1348,7 +1348,7 @@
buildCounterSeason++;
if (buildCounterSeason < 3) {
o.end = buildMonthDay();
- o.prorations = buildUnnamed2829();
+ o.prorations = buildUnnamed2843();
o.start = buildMonthDay();
}
buildCounterSeason--;
@@ -1359,7 +1359,7 @@
buildCounterSeason++;
if (buildCounterSeason < 3) {
checkMonthDay(o.end);
- checkUnnamed2829(o.prorations);
+ checkUnnamed2843(o.prorations);
checkMonthDay(o.start);
}
buildCounterSeason--;
@@ -1463,27 +1463,27 @@
buildCounterSubscriptionPurchasesDeferResponse--;
}
-buildUnnamed2830() {
+buildUnnamed2844() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2830(core.List<core.String> o) {
+checkUnnamed2844(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2831() {
+buildUnnamed2845() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2831(core.List<core.String> o) {
+checkUnnamed2845(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1494,8 +1494,8 @@
var o = new api.Testers();
buildCounterTesters++;
if (buildCounterTesters < 3) {
- o.googleGroups = buildUnnamed2830();
- o.googlePlusCommunities = buildUnnamed2831();
+ o.googleGroups = buildUnnamed2844();
+ o.googlePlusCommunities = buildUnnamed2845();
}
buildCounterTesters--;
return o;
@@ -1504,8 +1504,8 @@
checkTesters(api.Testers o) {
buildCounterTesters++;
if (buildCounterTesters < 3) {
- checkUnnamed2830(o.googleGroups);
- checkUnnamed2831(o.googlePlusCommunities);
+ checkUnnamed2844(o.googleGroups);
+ checkUnnamed2845(o.googlePlusCommunities);
}
buildCounterTesters--;
}
@@ -1552,14 +1552,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed2832() {
+buildUnnamed2846() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2832(core.List<core.int> o) {
+checkUnnamed2846(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));
@@ -1572,7 +1572,7 @@
if (buildCounterTrack < 3) {
o.track = "foo";
o.userFraction = 42.0;
- o.versionCodes = buildUnnamed2832();
+ o.versionCodes = buildUnnamed2846();
}
buildCounterTrack--;
return o;
@@ -1583,19 +1583,19 @@
if (buildCounterTrack < 3) {
unittest.expect(o.track, unittest.equals('foo'));
unittest.expect(o.userFraction, unittest.equals(42.0));
- checkUnnamed2832(o.versionCodes);
+ checkUnnamed2846(o.versionCodes);
}
buildCounterTrack--;
}
-buildUnnamed2833() {
+buildUnnamed2847() {
var o = new core.List<api.Track>();
o.add(buildTrack());
o.add(buildTrack());
return o;
}
-checkUnnamed2833(core.List<api.Track> o) {
+checkUnnamed2847(core.List<api.Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrack(o[0]);
checkTrack(o[1]);
@@ -1607,7 +1607,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
o.kind = "foo";
- o.tracks = buildUnnamed2833();
+ o.tracks = buildUnnamed2847();
}
buildCounterTracksListResponse--;
return o;
@@ -1617,7 +1617,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2833(o.tracks);
+ checkUnnamed2847(o.tracks);
}
buildCounterTracksListResponse--;
}
@@ -1688,14 +1688,14 @@
buildCounterVoidedPurchase--;
}
-buildUnnamed2834() {
+buildUnnamed2848() {
var o = new core.List<api.VoidedPurchase>();
o.add(buildVoidedPurchase());
o.add(buildVoidedPurchase());
return o;
}
-checkUnnamed2834(core.List<api.VoidedPurchase> o) {
+checkUnnamed2848(core.List<api.VoidedPurchase> o) {
unittest.expect(o, unittest.hasLength(2));
checkVoidedPurchase(o[0]);
checkVoidedPurchase(o[1]);
@@ -1708,7 +1708,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
- o.voidedPurchases = buildUnnamed2834();
+ o.voidedPurchases = buildUnnamed2848();
}
buildCounterVoidedPurchasesListResponse--;
return o;
@@ -1719,7 +1719,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
- checkUnnamed2834(o.voidedPurchases);
+ checkUnnamed2848(o.voidedPurchases);
}
buildCounterVoidedPurchasesListResponse--;
}
diff --git a/generated/googleapis/test/appengine/v1_test.dart b/generated/googleapis/test/appengine/v1_test.dart
index bd87e65..23b94e1 100644
--- a/generated/googleapis/test/appengine/v1_test.dart
+++ b/generated/googleapis/test/appengine/v1_test.dart
@@ -97,14 +97,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed2967() {
+buildUnnamed2981() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed2967(core.List<api.UrlDispatchRule> o) {
+checkUnnamed2981(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -120,7 +120,7 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed2967();
+ o.dispatchRules = buildUnnamed2981();
o.gcrDomain = "foo";
o.iap = buildIdentityAwareProxy();
o.id = "foo";
@@ -140,7 +140,7 @@
unittest.expect(o.defaultBucket, unittest.equals('foo'));
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
unittest.expect(o.defaultHostname, unittest.equals('foo'));
- checkUnnamed2967(o.dispatchRules);
+ checkUnnamed2981(o.dispatchRules);
unittest.expect(o.gcrDomain, unittest.equals('foo'));
checkIdentityAwareProxy(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
@@ -272,14 +272,14 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed2968() {
+buildUnnamed2982() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed2968(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed2982(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
@@ -291,7 +291,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
o.container = buildContainerInfo();
- o.files = buildUnnamed2968();
+ o.files = buildUnnamed2982();
o.zip = buildZipInfo();
}
buildCounterDeployment--;
@@ -302,7 +302,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
checkContainerInfo(o.container);
- checkUnnamed2968(o.files);
+ checkUnnamed2982(o.files);
checkZipInfo(o.zip);
}
buildCounterDeployment--;
@@ -526,14 +526,14 @@
buildCounterLibrary--;
}
-buildUnnamed2969() {
+buildUnnamed2983() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2969(core.List<api.Instance> o) {
+checkUnnamed2983(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -544,7 +544,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed2969();
+ o.instances = buildUnnamed2983();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -554,20 +554,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed2969(o.instances);
+ checkUnnamed2983(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed2970() {
+buildUnnamed2984() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed2970(core.List<api.Location> o) {
+checkUnnamed2984(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -578,7 +578,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed2970();
+ o.locations = buildUnnamed2984();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -588,20 +588,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed2970(o.locations);
+ checkUnnamed2984(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed2971() {
+buildUnnamed2985() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2971(core.List<api.Operation> o) {
+checkUnnamed2985(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -613,7 +613,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2971();
+ o.operations = buildUnnamed2985();
}
buildCounterListOperationsResponse--;
return o;
@@ -623,19 +623,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2971(o.operations);
+ checkUnnamed2985(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2972() {
+buildUnnamed2986() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed2972(core.List<api.Service> o) {
+checkUnnamed2986(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -647,7 +647,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed2972();
+ o.services = buildUnnamed2986();
}
buildCounterListServicesResponse--;
return o;
@@ -657,19 +657,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2972(o.services);
+ checkUnnamed2986(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed2973() {
+buildUnnamed2987() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed2973(core.List<api.Version> o) {
+checkUnnamed2987(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -681,7 +681,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed2973();
+ o.versions = buildUnnamed2987();
}
buildCounterListVersionsResponse--;
return o;
@@ -691,7 +691,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2973(o.versions);
+ checkUnnamed2987(o.versions);
}
buildCounterListVersionsResponse--;
}
@@ -727,27 +727,27 @@
buildCounterLivenessCheck--;
}
-buildUnnamed2974() {
+buildUnnamed2988() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2974(core.Map<core.String, core.String> o) {
+checkUnnamed2988(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'));
}
-buildUnnamed2975() {
+buildUnnamed2989() {
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;
}
-checkUnnamed2975(core.Map<core.String, core.Object> o) {
+checkUnnamed2989(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'));
@@ -758,9 +758,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed2974();
+ o.labels = buildUnnamed2988();
o.locationId = "foo";
- o.metadata = buildUnnamed2975();
+ o.metadata = buildUnnamed2989();
o.name = "foo";
}
buildCounterLocation--;
@@ -770,9 +770,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed2974(o.labels);
+ checkUnnamed2988(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed2975(o.metadata);
+ checkUnnamed2989(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -818,14 +818,14 @@
buildCounterManualScaling--;
}
-buildUnnamed2976() {
+buildUnnamed2990() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2976(core.List<core.String> o) {
+checkUnnamed2990(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -836,7 +836,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed2976();
+ o.forwardedPorts = buildUnnamed2990();
o.instanceTag = "foo";
o.name = "foo";
o.subnetworkName = "foo";
@@ -848,7 +848,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed2976(o.forwardedPorts);
+ checkUnnamed2990(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.subnetworkName, unittest.equals('foo'));
@@ -881,27 +881,27 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed2977() {
+buildUnnamed2991() {
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;
}
-checkUnnamed2977(core.Map<core.String, core.Object> o) {
+checkUnnamed2991(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed2978() {
+buildUnnamed2992() {
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;
}
-checkUnnamed2978(core.Map<core.String, core.Object> o) {
+checkUnnamed2992(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) 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["y"]) 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'));
@@ -914,9 +914,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2977();
+ o.metadata = buildUnnamed2991();
o.name = "foo";
- o.response = buildUnnamed2978();
+ o.response = buildUnnamed2992();
}
buildCounterOperation--;
return o;
@@ -927,9 +927,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2977(o.metadata);
+ checkUnnamed2991(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2978(o.response);
+ checkUnnamed2992(o.response);
}
buildCounterOperation--;
}
@@ -990,14 +990,14 @@
buildCounterOperationMetadataExperimental--;
}
-buildUnnamed2979() {
+buildUnnamed2993() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2979(core.List<core.String> o) {
+checkUnnamed2993(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1014,7 +1014,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed2979();
+ o.warning = buildUnnamed2993();
}
buildCounterOperationMetadataV1--;
return o;
@@ -1029,19 +1029,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2979(o.warning);
+ checkUnnamed2993(o.warning);
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed2980() {
+buildUnnamed2994() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2980(core.List<core.String> o) {
+checkUnnamed2994(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1058,7 +1058,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed2980();
+ o.warning = buildUnnamed2994();
}
buildCounterOperationMetadataV1Beta--;
return o;
@@ -1073,7 +1073,7 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2980(o.warning);
+ checkUnnamed2994(o.warning);
}
buildCounterOperationMetadataV1Beta--;
}
@@ -1172,14 +1172,14 @@
buildCounterRequestUtilization--;
}
-buildUnnamed2981() {
+buildUnnamed2995() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed2981(core.List<api.Volume> o) {
+checkUnnamed2995(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1193,7 +1193,7 @@
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed2981();
+ o.volumes = buildUnnamed2995();
}
buildCounterResources--;
return o;
@@ -1205,7 +1205,7 @@
unittest.expect(o.cpu, unittest.equals(42.0));
unittest.expect(o.diskGb, unittest.equals(42.0));
unittest.expect(o.memoryGb, unittest.equals(42.0));
- checkUnnamed2981(o.volumes);
+ checkUnnamed2995(o.volumes);
}
buildCounterResources--;
}
@@ -1252,14 +1252,14 @@
buildCounterService--;
}
-buildUnnamed2982() {
+buildUnnamed2996() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2982(core.Map<core.String, core.String> o) {
+checkUnnamed2996(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'));
@@ -1272,7 +1272,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed2982();
+ o.httpHeaders = buildUnnamed2996();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1287,7 +1287,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed2982(o.httpHeaders);
+ checkUnnamed2996(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1296,30 +1296,30 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed2983() {
+buildUnnamed2997() {
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;
}
-checkUnnamed2983(core.Map<core.String, core.Object> o) {
+checkUnnamed2997(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed2984() {
+buildUnnamed2998() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2983());
- o.add(buildUnnamed2983());
+ o.add(buildUnnamed2997());
+ o.add(buildUnnamed2997());
return o;
}
-checkUnnamed2984(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2998(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2983(o[0]);
- checkUnnamed2983(o[1]);
+ checkUnnamed2997(o[0]);
+ checkUnnamed2997(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1328,7 +1328,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2984();
+ o.details = buildUnnamed2998();
o.message = "foo";
}
buildCounterStatus--;
@@ -1339,20 +1339,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2984(o.details);
+ checkUnnamed2998(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2985() {
+buildUnnamed2999() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed2985(core.Map<core.String, core.double> o) {
+checkUnnamed2999(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));
@@ -1363,7 +1363,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed2985();
+ o.allocations = buildUnnamed2999();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1373,7 +1373,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed2985(o.allocations);
+ checkUnnamed2999(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1435,79 +1435,79 @@
buildCounterUrlMap--;
}
-buildUnnamed2986() {
+buildUnnamed3000() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2986(core.Map<core.String, core.String> o) {
+checkUnnamed3000(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'));
}
-buildUnnamed2987() {
+buildUnnamed3001() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2987(core.Map<core.String, core.String> o) {
+checkUnnamed3001(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'));
}
-buildUnnamed2988() {
+buildUnnamed3002() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed2988(core.List<api.ErrorHandler> o) {
+checkUnnamed3002(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed2989() {
+buildUnnamed3003() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed2989(core.List<api.UrlMap> o) {
+checkUnnamed3003(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed2990() {
+buildUnnamed3004() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2990(core.List<core.String> o) {
+checkUnnamed3004(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2991() {
+buildUnnamed3005() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed2991(core.List<api.Library> o) {
+checkUnnamed3005(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -1521,7 +1521,7 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed2986();
+ o.betaSettings = buildUnnamed3000();
o.createTime = "foo";
o.createdBy = "foo";
o.defaultExpiration = "foo";
@@ -1529,14 +1529,14 @@
o.diskUsageBytes = "foo";
o.endpointsApiService = buildEndpointsApiService();
o.env = "foo";
- o.envVariables = buildUnnamed2987();
- o.errorHandlers = buildUnnamed2988();
- o.handlers = buildUnnamed2989();
+ o.envVariables = buildUnnamed3001();
+ o.errorHandlers = buildUnnamed3002();
+ o.handlers = buildUnnamed3003();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed2990();
+ o.inboundServices = buildUnnamed3004();
o.instanceClass = "foo";
- o.libraries = buildUnnamed2991();
+ o.libraries = buildUnnamed3005();
o.livenessCheck = buildLivenessCheck();
o.manualScaling = buildManualScaling();
o.name = "foo";
@@ -1560,7 +1560,7 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed2986(o.betaSettings);
+ checkUnnamed3000(o.betaSettings);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.createdBy, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
@@ -1568,14 +1568,14 @@
unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
checkEndpointsApiService(o.endpointsApiService);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed2987(o.envVariables);
- checkUnnamed2988(o.errorHandlers);
- checkUnnamed2989(o.handlers);
+ checkUnnamed3001(o.envVariables);
+ checkUnnamed3002(o.errorHandlers);
+ checkUnnamed3003(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2990(o.inboundServices);
+ checkUnnamed3004(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed2991(o.libraries);
+ checkUnnamed3005(o.libraries);
checkLivenessCheck(o.livenessCheck);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
@@ -2337,9 +2337,9 @@
var mock = new HttpServerMock();
api.AppsLocationsResourceApi res = new api.AppengineApi(mock).apps.locations;
var arg_appsId = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2373,9 +2373,9 @@
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["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -2384,7 +2384,7 @@
var resp = convert.JSON.encode(buildListLocationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, filter: arg_filter, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLocationsResponse response) {
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
})));
});
@@ -2454,8 +2454,8 @@
api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operations;
var arg_appsId = "foo";
var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2490,8 +2490,8 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -2500,7 +2500,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, filter: arg_filter, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -2624,8 +2624,8 @@
var mock = new HttpServerMock();
api.AppsServicesResourceApi res = new api.AppengineApi(mock).apps.services;
var arg_appsId = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2659,8 +2659,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -2669,7 +2669,7 @@
var resp = convert.JSON.encode(buildListServicesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListServicesResponse response) {
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListServicesResponse response) {
checkListServicesResponse(response);
})));
});
@@ -2681,8 +2681,8 @@
var arg_request = buildService();
var arg_appsId = "foo";
var arg_servicesId = "foo";
- var arg_updateMask = "foo";
var arg_migrateTraffic = true;
+ var arg_updateMask = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.Service.fromJson(json);
checkService(obj);
@@ -2722,8 +2722,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["migrateTraffic"].first, unittest.equals("$arg_migrateTraffic"));
+ unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_updateMask));
var h = {
@@ -2732,7 +2732,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_appsId, arg_servicesId, updateMask: arg_updateMask, migrateTraffic: arg_migrateTraffic).then(unittest.expectAsync(((api.Operation response) {
+ res.patch(arg_request, arg_appsId, arg_servicesId, migrateTraffic: arg_migrateTraffic, updateMask: arg_updateMask).then(unittest.expectAsync(((api.Operation response) {
checkOperation(response);
})));
});
@@ -2938,9 +2938,9 @@
api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps.services.versions;
var arg_appsId = "foo";
var arg_servicesId = "foo";
- var arg_view = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2981,9 +2981,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
var h = {
@@ -2992,7 +2992,7 @@
var resp = convert.JSON.encode(buildListVersionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, arg_servicesId, view: arg_view, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListVersionsResponse response) {
+ res.list(arg_appsId, arg_servicesId, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync(((api.ListVersionsResponse response) {
checkListVersionsResponse(response);
})));
});
@@ -3298,8 +3298,8 @@
var arg_appsId = "foo";
var arg_servicesId = "foo";
var arg_versionsId = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3347,8 +3347,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -3357,7 +3357,7 @@
var resp = convert.JSON.encode(buildListInstancesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInstancesResponse response) {
+ res.list(arg_appsId, arg_servicesId, arg_versionsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListInstancesResponse response) {
checkListInstancesResponse(response);
})));
});
diff --git a/generated/googleapis/test/appsactivity/v1_test.dart b/generated/googleapis/test/appsactivity/v1_test.dart
index f424664..c617639 100644
--- a/generated/googleapis/test/appsactivity/v1_test.dart
+++ b/generated/googleapis/test/appsactivity/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1014() {
+buildUnnamed1005() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1014(core.List<api.Event> o) {
+checkUnnamed1005(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
@@ -70,7 +70,7 @@
buildCounterActivity++;
if (buildCounterActivity < 3) {
o.combinedEvent = buildEvent();
- o.singleEvents = buildUnnamed1014();
+ o.singleEvents = buildUnnamed1005();
}
buildCounterActivity--;
return o;
@@ -80,32 +80,32 @@
buildCounterActivity++;
if (buildCounterActivity < 3) {
checkEvent(o.combinedEvent);
- checkUnnamed1014(o.singleEvents);
+ checkUnnamed1005(o.singleEvents);
}
buildCounterActivity--;
}
-buildUnnamed1015() {
+buildUnnamed1006() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1015(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'));
}
-buildUnnamed1016() {
+buildUnnamed1007() {
var o = new core.List<api.PermissionChange>();
o.add(buildPermissionChange());
o.add(buildPermissionChange());
return o;
}
-checkUnnamed1016(core.List<api.PermissionChange> o) {
+checkUnnamed1007(core.List<api.PermissionChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionChange(o[0]);
checkPermissionChange(o[1]);
@@ -116,11 +116,11 @@
var o = new api.Event();
buildCounterEvent++;
if (buildCounterEvent < 3) {
- o.additionalEventTypes = buildUnnamed1015();
+ o.additionalEventTypes = buildUnnamed1006();
o.eventTimeMillis = "foo";
o.fromUserDeletion = true;
o.move = buildMove();
- o.permissionChanges = buildUnnamed1016();
+ o.permissionChanges = buildUnnamed1007();
o.primaryEventType = "foo";
o.rename = buildRename();
o.target = buildTarget();
@@ -133,11 +133,11 @@
checkEvent(api.Event o) {
buildCounterEvent++;
if (buildCounterEvent < 3) {
- checkUnnamed1015(o.additionalEventTypes);
+ checkUnnamed1006(o.additionalEventTypes);
unittest.expect(o.eventTimeMillis, unittest.equals('foo'));
unittest.expect(o.fromUserDeletion, unittest.isTrue);
checkMove(o.move);
- checkUnnamed1016(o.permissionChanges);
+ checkUnnamed1007(o.permissionChanges);
unittest.expect(o.primaryEventType, unittest.equals('foo'));
checkRename(o.rename);
checkTarget(o.target);
@@ -146,14 +146,14 @@
buildCounterEvent--;
}
-buildUnnamed1017() {
+buildUnnamed1008() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed1017(core.List<api.Activity> o) {
+checkUnnamed1008(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -164,7 +164,7 @@
var o = new api.ListActivitiesResponse();
buildCounterListActivitiesResponse++;
if (buildCounterListActivitiesResponse < 3) {
- o.activities = buildUnnamed1017();
+ o.activities = buildUnnamed1008();
o.nextPageToken = "foo";
}
buildCounterListActivitiesResponse--;
@@ -174,33 +174,33 @@
checkListActivitiesResponse(api.ListActivitiesResponse o) {
buildCounterListActivitiesResponse++;
if (buildCounterListActivitiesResponse < 3) {
- checkUnnamed1017(o.activities);
+ checkUnnamed1008(o.activities);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListActivitiesResponse--;
}
-buildUnnamed1018() {
+buildUnnamed1009() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed1018(core.List<api.Parent> o) {
+checkUnnamed1009(core.List<api.Parent> o) {
unittest.expect(o, unittest.hasLength(2));
checkParent(o[0]);
checkParent(o[1]);
}
-buildUnnamed1019() {
+buildUnnamed1010() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed1019(core.List<api.Parent> o) {
+checkUnnamed1010(core.List<api.Parent> o) {
unittest.expect(o, unittest.hasLength(2));
checkParent(o[0]);
checkParent(o[1]);
@@ -211,8 +211,8 @@
var o = new api.Move();
buildCounterMove++;
if (buildCounterMove < 3) {
- o.addedParents = buildUnnamed1018();
- o.removedParents = buildUnnamed1019();
+ o.addedParents = buildUnnamed1009();
+ o.removedParents = buildUnnamed1010();
}
buildCounterMove--;
return o;
@@ -221,8 +221,8 @@
checkMove(api.Move o) {
buildCounterMove++;
if (buildCounterMove < 3) {
- checkUnnamed1018(o.addedParents);
- checkUnnamed1019(o.removedParents);
+ checkUnnamed1009(o.addedParents);
+ checkUnnamed1010(o.removedParents);
}
buildCounterMove--;
}
@@ -279,27 +279,27 @@
buildCounterPermission--;
}
-buildUnnamed1020() {
+buildUnnamed1011() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1020(core.List<api.Permission> o) {
+checkUnnamed1011(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed1021() {
+buildUnnamed1012() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1021(core.List<api.Permission> o) {
+checkUnnamed1012(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -310,8 +310,8 @@
var o = new api.PermissionChange();
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- o.addedPermissions = buildUnnamed1020();
- o.removedPermissions = buildUnnamed1021();
+ o.addedPermissions = buildUnnamed1011();
+ o.removedPermissions = buildUnnamed1012();
}
buildCounterPermissionChange--;
return o;
@@ -320,8 +320,8 @@
checkPermissionChange(api.PermissionChange o) {
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- checkUnnamed1020(o.addedPermissions);
- checkUnnamed1021(o.removedPermissions);
+ checkUnnamed1011(o.addedPermissions);
+ checkUnnamed1012(o.removedPermissions);
}
buildCounterPermissionChange--;
}
diff --git a/generated/googleapis/test/appstate/v1_test.dart b/generated/googleapis/test/appstate/v1_test.dart
index ee4696f..019c804 100644
--- a/generated/googleapis/test/appstate/v1_test.dart
+++ b/generated/googleapis/test/appstate/v1_test.dart
@@ -76,14 +76,14 @@
buildCounterGetResponse--;
}
-buildUnnamed2801() {
+buildUnnamed2815() {
var o = new core.List<api.GetResponse>();
o.add(buildGetResponse());
o.add(buildGetResponse());
return o;
}
-checkUnnamed2801(core.List<api.GetResponse> o) {
+checkUnnamed2815(core.List<api.GetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGetResponse(o[0]);
checkGetResponse(o[1]);
@@ -94,7 +94,7 @@
var o = new api.ListResponse();
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
- o.items = buildUnnamed2801();
+ o.items = buildUnnamed2815();
o.kind = "foo";
o.maximumKeyCount = 42;
}
@@ -105,7 +105,7 @@
checkListResponse(api.ListResponse o) {
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
- checkUnnamed2801(o.items);
+ checkUnnamed2815(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 1ff1748..a0d2c95 100644
--- a/generated/googleapis/test/bigquery/v2_test.dart
+++ b/generated/googleapis/test/bigquery/v2_test.dart
@@ -80,14 +80,14 @@
buildCounterBigtableColumn--;
}
-buildUnnamed2995() {
+buildUnnamed3009() {
var o = new core.List<api.BigtableColumn>();
o.add(buildBigtableColumn());
o.add(buildBigtableColumn());
return o;
}
-checkUnnamed2995(core.List<api.BigtableColumn> o) {
+checkUnnamed3009(core.List<api.BigtableColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkBigtableColumn(o[0]);
checkBigtableColumn(o[1]);
@@ -98,7 +98,7 @@
var o = new api.BigtableColumnFamily();
buildCounterBigtableColumnFamily++;
if (buildCounterBigtableColumnFamily < 3) {
- o.columns = buildUnnamed2995();
+ o.columns = buildUnnamed3009();
o.encoding = "foo";
o.familyId = "foo";
o.onlyReadLatest = true;
@@ -111,7 +111,7 @@
checkBigtableColumnFamily(api.BigtableColumnFamily o) {
buildCounterBigtableColumnFamily++;
if (buildCounterBigtableColumnFamily < 3) {
- checkUnnamed2995(o.columns);
+ checkUnnamed3009(o.columns);
unittest.expect(o.encoding, unittest.equals('foo'));
unittest.expect(o.familyId, unittest.equals('foo'));
unittest.expect(o.onlyReadLatest, unittest.isTrue);
@@ -120,14 +120,14 @@
buildCounterBigtableColumnFamily--;
}
-buildUnnamed2996() {
+buildUnnamed3010() {
var o = new core.List<api.BigtableColumnFamily>();
o.add(buildBigtableColumnFamily());
o.add(buildBigtableColumnFamily());
return o;
}
-checkUnnamed2996(core.List<api.BigtableColumnFamily> o) {
+checkUnnamed3010(core.List<api.BigtableColumnFamily> o) {
unittest.expect(o, unittest.hasLength(2));
checkBigtableColumnFamily(o[0]);
checkBigtableColumnFamily(o[1]);
@@ -138,7 +138,7 @@
var o = new api.BigtableOptions();
buildCounterBigtableOptions++;
if (buildCounterBigtableOptions < 3) {
- o.columnFamilies = buildUnnamed2996();
+ o.columnFamilies = buildUnnamed3010();
o.ignoreUnspecifiedColumnFamilies = true;
o.readRowkeyAsString = true;
}
@@ -149,7 +149,7 @@
checkBigtableOptions(api.BigtableOptions o) {
buildCounterBigtableOptions++;
if (buildCounterBigtableOptions < 3) {
- checkUnnamed2996(o.columnFamilies);
+ checkUnnamed3010(o.columnFamilies);
unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue);
unittest.expect(o.readRowkeyAsString, unittest.isTrue);
}
@@ -214,27 +214,27 @@
buildCounterDatasetAccess--;
}
-buildUnnamed2997() {
+buildUnnamed3011() {
var o = new core.List<api.DatasetAccess>();
o.add(buildDatasetAccess());
o.add(buildDatasetAccess());
return o;
}
-checkUnnamed2997(core.List<api.DatasetAccess> o) {
+checkUnnamed3011(core.List<api.DatasetAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetAccess(o[0]);
checkDatasetAccess(o[1]);
}
-buildUnnamed2998() {
+buildUnnamed3012() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2998(core.Map<core.String, core.String> o) {
+checkUnnamed3012(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'));
@@ -245,7 +245,7 @@
var o = new api.Dataset();
buildCounterDataset++;
if (buildCounterDataset < 3) {
- o.access = buildUnnamed2997();
+ o.access = buildUnnamed3011();
o.creationTime = "foo";
o.datasetReference = buildDatasetReference();
o.defaultTableExpirationMs = "foo";
@@ -254,7 +254,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2998();
+ o.labels = buildUnnamed3012();
o.lastModifiedTime = "foo";
o.location = "foo";
o.selfLink = "foo";
@@ -266,7 +266,7 @@
checkDataset(api.Dataset o) {
buildCounterDataset++;
if (buildCounterDataset < 3) {
- checkUnnamed2997(o.access);
+ checkUnnamed3011(o.access);
unittest.expect(o.creationTime, unittest.equals('foo'));
checkDatasetReference(o.datasetReference);
unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo'));
@@ -275,7 +275,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2998(o.labels);
+ checkUnnamed3012(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -283,14 +283,14 @@
buildCounterDataset--;
}
-buildUnnamed2999() {
+buildUnnamed3013() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2999(core.Map<core.String, core.String> o) {
+checkUnnamed3013(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'));
@@ -305,7 +305,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2999();
+ o.labels = buildUnnamed3013();
}
buildCounterDatasetListDatasets--;
return o;
@@ -318,19 +318,19 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2999(o.labels);
+ checkUnnamed3013(o.labels);
}
buildCounterDatasetListDatasets--;
}
-buildUnnamed3000() {
+buildUnnamed3014() {
var o = new core.List<api.DatasetListDatasets>();
o.add(buildDatasetListDatasets());
o.add(buildDatasetListDatasets());
return o;
}
-checkUnnamed3000(core.List<api.DatasetListDatasets> o) {
+checkUnnamed3014(core.List<api.DatasetListDatasets> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetListDatasets(o[0]);
checkDatasetListDatasets(o[1]);
@@ -341,7 +341,7 @@
var o = new api.DatasetList();
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- o.datasets = buildUnnamed3000();
+ o.datasets = buildUnnamed3014();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -353,7 +353,7 @@
checkDatasetList(api.DatasetList o) {
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- checkUnnamed3000(o.datasets);
+ checkUnnamed3014(o.datasets);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -407,14 +407,14 @@
buildCounterErrorProto--;
}
-buildUnnamed3001() {
+buildUnnamed3015() {
var o = new core.List<api.ExplainQueryStep>();
o.add(buildExplainQueryStep());
o.add(buildExplainQueryStep());
return o;
}
-checkUnnamed3001(core.List<api.ExplainQueryStep> o) {
+checkUnnamed3015(core.List<api.ExplainQueryStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStep(o[0]);
checkExplainQueryStep(o[1]);
@@ -434,7 +434,7 @@
o.recordsRead = "foo";
o.recordsWritten = "foo";
o.status = "foo";
- o.steps = buildUnnamed3001();
+ o.steps = buildUnnamed3015();
o.waitRatioAvg = 42.0;
o.waitRatioMax = 42.0;
o.writeRatioAvg = 42.0;
@@ -456,7 +456,7 @@
unittest.expect(o.recordsRead, unittest.equals('foo'));
unittest.expect(o.recordsWritten, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed3001(o.steps);
+ checkUnnamed3015(o.steps);
unittest.expect(o.waitRatioAvg, unittest.equals(42.0));
unittest.expect(o.waitRatioMax, unittest.equals(42.0));
unittest.expect(o.writeRatioAvg, unittest.equals(42.0));
@@ -465,14 +465,14 @@
buildCounterExplainQueryStage--;
}
-buildUnnamed3002() {
+buildUnnamed3016() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3002(core.List<core.String> o) {
+checkUnnamed3016(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -484,7 +484,7 @@
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
o.kind = "foo";
- o.substeps = buildUnnamed3002();
+ o.substeps = buildUnnamed3016();
}
buildCounterExplainQueryStep--;
return o;
@@ -494,19 +494,19 @@
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3002(o.substeps);
+ checkUnnamed3016(o.substeps);
}
buildCounterExplainQueryStep--;
}
-buildUnnamed3003() {
+buildUnnamed3017() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3003(core.List<core.String> o) {
+checkUnnamed3017(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -526,7 +526,7 @@
o.maxBadRecords = 42;
o.schema = buildTableSchema();
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed3003();
+ o.sourceUris = buildUnnamed3017();
}
buildCounterExternalDataConfiguration--;
return o;
@@ -544,32 +544,32 @@
unittest.expect(o.maxBadRecords, unittest.equals(42));
checkTableSchema(o.schema);
unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed3003(o.sourceUris);
+ checkUnnamed3017(o.sourceUris);
}
buildCounterExternalDataConfiguration--;
}
-buildUnnamed3004() {
+buildUnnamed3018() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3004(core.List<api.ErrorProto> o) {
+checkUnnamed3018(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed3005() {
+buildUnnamed3019() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed3005(core.List<api.TableRow> o) {
+checkUnnamed3019(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -581,14 +581,14 @@
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed3004();
+ o.errors = buildUnnamed3018();
o.etag = "foo";
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.numDmlAffectedRows = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed3005();
+ o.rows = buildUnnamed3019();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -601,14 +601,14 @@
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed3004(o.errors);
+ checkUnnamed3018(o.errors);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.jobComplete, unittest.isTrue);
checkJobReference(o.jobReference);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3005(o.rows);
+ checkUnnamed3019(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -691,14 +691,14 @@
buildCounterJobCancelResponse--;
}
-buildUnnamed3006() {
+buildUnnamed3020() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3006(core.Map<core.String, core.String> o) {
+checkUnnamed3020(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'));
@@ -712,7 +712,7 @@
o.copy = buildJobConfigurationTableCopy();
o.dryRun = true;
o.extract = buildJobConfigurationExtract();
- o.labels = buildUnnamed3006();
+ o.labels = buildUnnamed3020();
o.load = buildJobConfigurationLoad();
o.query = buildJobConfigurationQuery();
}
@@ -726,21 +726,21 @@
checkJobConfigurationTableCopy(o.copy);
unittest.expect(o.dryRun, unittest.isTrue);
checkJobConfigurationExtract(o.extract);
- checkUnnamed3006(o.labels);
+ checkUnnamed3020(o.labels);
checkJobConfigurationLoad(o.load);
checkJobConfigurationQuery(o.query);
}
buildCounterJobConfiguration--;
}
-buildUnnamed3007() {
+buildUnnamed3021() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3007(core.List<core.String> o) {
+checkUnnamed3021(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -754,7 +754,7 @@
o.compression = "foo";
o.destinationFormat = "foo";
o.destinationUri = "foo";
- o.destinationUris = buildUnnamed3007();
+ o.destinationUris = buildUnnamed3021();
o.fieldDelimiter = "foo";
o.printHeader = true;
o.sourceTable = buildTableReference();
@@ -769,7 +769,7 @@
unittest.expect(o.compression, unittest.equals('foo'));
unittest.expect(o.destinationFormat, unittest.equals('foo'));
unittest.expect(o.destinationUri, unittest.equals('foo'));
- checkUnnamed3007(o.destinationUris);
+ checkUnnamed3021(o.destinationUris);
unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
unittest.expect(o.printHeader, unittest.isTrue);
checkTableReference(o.sourceTable);
@@ -777,40 +777,40 @@
buildCounterJobConfigurationExtract--;
}
-buildUnnamed3008() {
+buildUnnamed3022() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3008(core.List<core.String> o) {
+checkUnnamed3022(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3009() {
+buildUnnamed3023() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3009(core.List<core.String> o) {
+checkUnnamed3023(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3010() {
+buildUnnamed3024() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3010(core.List<core.String> o) {
+checkUnnamed3024(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -831,15 +831,15 @@
o.ignoreUnknownValues = true;
o.maxBadRecords = 42;
o.nullMarker = "foo";
- o.projectionFields = buildUnnamed3008();
+ o.projectionFields = buildUnnamed3022();
o.quote = "foo";
o.schema = buildTableSchema();
o.schemaInline = "foo";
o.schemaInlineFormat = "foo";
- o.schemaUpdateOptions = buildUnnamed3009();
+ o.schemaUpdateOptions = buildUnnamed3023();
o.skipLeadingRows = 42;
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed3010();
+ o.sourceUris = buildUnnamed3024();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationLoad--;
@@ -859,67 +859,67 @@
unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
unittest.expect(o.maxBadRecords, unittest.equals(42));
unittest.expect(o.nullMarker, unittest.equals('foo'));
- checkUnnamed3008(o.projectionFields);
+ checkUnnamed3022(o.projectionFields);
unittest.expect(o.quote, unittest.equals('foo'));
checkTableSchema(o.schema);
unittest.expect(o.schemaInline, unittest.equals('foo'));
unittest.expect(o.schemaInlineFormat, unittest.equals('foo'));
- checkUnnamed3009(o.schemaUpdateOptions);
+ checkUnnamed3023(o.schemaUpdateOptions);
unittest.expect(o.skipLeadingRows, unittest.equals(42));
unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed3010(o.sourceUris);
+ checkUnnamed3024(o.sourceUris);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationLoad--;
}
-buildUnnamed3011() {
+buildUnnamed3025() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed3011(core.List<api.QueryParameter> o) {
+checkUnnamed3025(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
}
-buildUnnamed3012() {
+buildUnnamed3026() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3012(core.List<core.String> o) {
+checkUnnamed3026(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3013() {
+buildUnnamed3027() {
var o = new core.Map<core.String, api.ExternalDataConfiguration>();
o["x"] = buildExternalDataConfiguration();
o["y"] = buildExternalDataConfiguration();
return o;
}
-checkUnnamed3013(core.Map<core.String, api.ExternalDataConfiguration> o) {
+checkUnnamed3027(core.Map<core.String, api.ExternalDataConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalDataConfiguration(o["x"]);
checkExternalDataConfiguration(o["y"]);
}
-buildUnnamed3014() {
+buildUnnamed3028() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed3014(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed3028(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -941,12 +941,12 @@
o.preserveNulls = true;
o.priority = "foo";
o.query = "foo";
- o.queryParameters = buildUnnamed3011();
- o.schemaUpdateOptions = buildUnnamed3012();
- o.tableDefinitions = buildUnnamed3013();
+ o.queryParameters = buildUnnamed3025();
+ o.schemaUpdateOptions = buildUnnamed3026();
+ o.tableDefinitions = buildUnnamed3027();
o.useLegacySql = true;
o.useQueryCache = true;
- o.userDefinedFunctionResources = buildUnnamed3014();
+ o.userDefinedFunctionResources = buildUnnamed3028();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationQuery--;
@@ -967,25 +967,25 @@
unittest.expect(o.preserveNulls, unittest.isTrue);
unittest.expect(o.priority, unittest.equals('foo'));
unittest.expect(o.query, unittest.equals('foo'));
- checkUnnamed3011(o.queryParameters);
- checkUnnamed3012(o.schemaUpdateOptions);
- checkUnnamed3013(o.tableDefinitions);
+ checkUnnamed3025(o.queryParameters);
+ checkUnnamed3026(o.schemaUpdateOptions);
+ checkUnnamed3027(o.tableDefinitions);
unittest.expect(o.useLegacySql, unittest.isTrue);
unittest.expect(o.useQueryCache, unittest.isTrue);
- checkUnnamed3014(o.userDefinedFunctionResources);
+ checkUnnamed3028(o.userDefinedFunctionResources);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationQuery--;
}
-buildUnnamed3015() {
+buildUnnamed3029() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed3015(core.List<api.TableReference> o) {
+checkUnnamed3029(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
@@ -999,7 +999,7 @@
o.createDisposition = "foo";
o.destinationTable = buildTableReference();
o.sourceTable = buildTableReference();
- o.sourceTables = buildUnnamed3015();
+ o.sourceTables = buildUnnamed3029();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationTableCopy--;
@@ -1012,7 +1012,7 @@
unittest.expect(o.createDisposition, unittest.equals('foo'));
checkTableReference(o.destinationTable);
checkTableReference(o.sourceTable);
- checkUnnamed3015(o.sourceTables);
+ checkUnnamed3029(o.sourceTables);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationTableCopy--;
@@ -1053,14 +1053,14 @@
buildCounterJobListJobs--;
}
-buildUnnamed3016() {
+buildUnnamed3030() {
var o = new core.List<api.JobListJobs>();
o.add(buildJobListJobs());
o.add(buildJobListJobs());
return o;
}
-checkUnnamed3016(core.List<api.JobListJobs> o) {
+checkUnnamed3030(core.List<api.JobListJobs> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobListJobs(o[0]);
checkJobListJobs(o[1]);
@@ -1072,7 +1072,7 @@
buildCounterJobList++;
if (buildCounterJobList < 3) {
o.etag = "foo";
- o.jobs = buildUnnamed3016();
+ o.jobs = buildUnnamed3030();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1084,7 +1084,7 @@
buildCounterJobList++;
if (buildCounterJobList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3016(o.jobs);
+ checkUnnamed3030(o.jobs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1143,40 +1143,40 @@
buildCounterJobStatistics--;
}
-buildUnnamed3017() {
+buildUnnamed3031() {
var o = new core.List<api.ExplainQueryStage>();
o.add(buildExplainQueryStage());
o.add(buildExplainQueryStage());
return o;
}
-checkUnnamed3017(core.List<api.ExplainQueryStage> o) {
+checkUnnamed3031(core.List<api.ExplainQueryStage> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStage(o[0]);
checkExplainQueryStage(o[1]);
}
-buildUnnamed3018() {
+buildUnnamed3032() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed3018(core.List<api.TableReference> o) {
+checkUnnamed3032(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
}
-buildUnnamed3019() {
+buildUnnamed3033() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed3019(core.List<api.QueryParameter> o) {
+checkUnnamed3033(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
@@ -1190,13 +1190,13 @@
o.billingTier = 42;
o.cacheHit = true;
o.numDmlAffectedRows = "foo";
- o.queryPlan = buildUnnamed3017();
- o.referencedTables = buildUnnamed3018();
+ o.queryPlan = buildUnnamed3031();
+ o.referencedTables = buildUnnamed3032();
o.schema = buildTableSchema();
o.statementType = "foo";
o.totalBytesBilled = "foo";
o.totalBytesProcessed = "foo";
- o.undeclaredQueryParameters = buildUnnamed3019();
+ o.undeclaredQueryParameters = buildUnnamed3033();
}
buildCounterJobStatistics2--;
return o;
@@ -1208,13 +1208,13 @@
unittest.expect(o.billingTier, unittest.equals(42));
unittest.expect(o.cacheHit, unittest.isTrue);
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
- checkUnnamed3017(o.queryPlan);
- checkUnnamed3018(o.referencedTables);
+ checkUnnamed3031(o.queryPlan);
+ checkUnnamed3032(o.referencedTables);
checkTableSchema(o.schema);
unittest.expect(o.statementType, unittest.equals('foo'));
unittest.expect(o.totalBytesBilled, unittest.equals('foo'));
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
- checkUnnamed3019(o.undeclaredQueryParameters);
+ checkUnnamed3033(o.undeclaredQueryParameters);
}
buildCounterJobStatistics2--;
}
@@ -1244,14 +1244,14 @@
buildCounterJobStatistics3--;
}
-buildUnnamed3020() {
+buildUnnamed3034() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3020(core.List<core.String> o) {
+checkUnnamed3034(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1262,7 +1262,7 @@
var o = new api.JobStatistics4();
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- o.destinationUriFileCounts = buildUnnamed3020();
+ o.destinationUriFileCounts = buildUnnamed3034();
}
buildCounterJobStatistics4--;
return o;
@@ -1271,19 +1271,19 @@
checkJobStatistics4(api.JobStatistics4 o) {
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- checkUnnamed3020(o.destinationUriFileCounts);
+ checkUnnamed3034(o.destinationUriFileCounts);
}
buildCounterJobStatistics4--;
}
-buildUnnamed3021() {
+buildUnnamed3035() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3021(core.List<api.ErrorProto> o) {
+checkUnnamed3035(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -1295,7 +1295,7 @@
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
o.errorResult = buildErrorProto();
- o.errors = buildUnnamed3021();
+ o.errors = buildUnnamed3035();
o.state = "foo";
}
buildCounterJobStatus--;
@@ -1306,7 +1306,7 @@
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
checkErrorProto(o.errorResult);
- checkUnnamed3021(o.errors);
+ checkUnnamed3035(o.errors);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterJobStatus--;
@@ -1352,14 +1352,14 @@
buildCounterProjectListProjects--;
}
-buildUnnamed3022() {
+buildUnnamed3036() {
var o = new core.List<api.ProjectListProjects>();
o.add(buildProjectListProjects());
o.add(buildProjectListProjects());
return o;
}
-checkUnnamed3022(core.List<api.ProjectListProjects> o) {
+checkUnnamed3036(core.List<api.ProjectListProjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjectListProjects(o[0]);
checkProjectListProjects(o[1]);
@@ -1373,7 +1373,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed3022();
+ o.projects = buildUnnamed3036();
o.totalItems = 42;
}
buildCounterProjectList--;
@@ -1386,7 +1386,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3022(o.projects);
+ checkUnnamed3036(o.projects);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterProjectList--;
@@ -1457,14 +1457,14 @@
buildCounterQueryParameterTypeStructTypes--;
}
-buildUnnamed3023() {
+buildUnnamed3037() {
var o = new core.List<api.QueryParameterTypeStructTypes>();
o.add(buildQueryParameterTypeStructTypes());
o.add(buildQueryParameterTypeStructTypes());
return o;
}
-checkUnnamed3023(core.List<api.QueryParameterTypeStructTypes> o) {
+checkUnnamed3037(core.List<api.QueryParameterTypeStructTypes> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterTypeStructTypes(o[0]);
checkQueryParameterTypeStructTypes(o[1]);
@@ -1476,7 +1476,7 @@
buildCounterQueryParameterType++;
if (buildCounterQueryParameterType < 3) {
o.arrayType = buildQueryParameterType();
- o.structTypes = buildUnnamed3023();
+ o.structTypes = buildUnnamed3037();
o.type = "foo";
}
buildCounterQueryParameterType--;
@@ -1487,33 +1487,33 @@
buildCounterQueryParameterType++;
if (buildCounterQueryParameterType < 3) {
checkQueryParameterType(o.arrayType);
- checkUnnamed3023(o.structTypes);
+ checkUnnamed3037(o.structTypes);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterQueryParameterType--;
}
-buildUnnamed3024() {
+buildUnnamed3038() {
var o = new core.List<api.QueryParameterValue>();
o.add(buildQueryParameterValue());
o.add(buildQueryParameterValue());
return o;
}
-checkUnnamed3024(core.List<api.QueryParameterValue> o) {
+checkUnnamed3038(core.List<api.QueryParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterValue(o[0]);
checkQueryParameterValue(o[1]);
}
-buildUnnamed3025() {
+buildUnnamed3039() {
var o = new core.Map<core.String, api.QueryParameterValue>();
o["x"] = buildQueryParameterValue();
o["y"] = buildQueryParameterValue();
return o;
}
-checkUnnamed3025(core.Map<core.String, api.QueryParameterValue> o) {
+checkUnnamed3039(core.Map<core.String, api.QueryParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterValue(o["x"]);
checkQueryParameterValue(o["y"]);
@@ -1524,8 +1524,8 @@
var o = new api.QueryParameterValue();
buildCounterQueryParameterValue++;
if (buildCounterQueryParameterValue < 3) {
- o.arrayValues = buildUnnamed3024();
- o.structValues = buildUnnamed3025();
+ o.arrayValues = buildUnnamed3038();
+ o.structValues = buildUnnamed3039();
o.value = "foo";
}
buildCounterQueryParameterValue--;
@@ -1535,21 +1535,21 @@
checkQueryParameterValue(api.QueryParameterValue o) {
buildCounterQueryParameterValue++;
if (buildCounterQueryParameterValue < 3) {
- checkUnnamed3024(o.arrayValues);
- checkUnnamed3025(o.structValues);
+ checkUnnamed3038(o.arrayValues);
+ checkUnnamed3039(o.structValues);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterQueryParameterValue--;
}
-buildUnnamed3026() {
+buildUnnamed3040() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed3026(core.List<api.QueryParameter> o) {
+checkUnnamed3040(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
@@ -1567,7 +1567,7 @@
o.parameterMode = "foo";
o.preserveNulls = true;
o.query = "foo";
- o.queryParameters = buildUnnamed3026();
+ o.queryParameters = buildUnnamed3040();
o.timeoutMs = 42;
o.useLegacySql = true;
o.useQueryCache = true;
@@ -1586,7 +1586,7 @@
unittest.expect(o.parameterMode, unittest.equals('foo'));
unittest.expect(o.preserveNulls, unittest.isTrue);
unittest.expect(o.query, unittest.equals('foo'));
- checkUnnamed3026(o.queryParameters);
+ checkUnnamed3040(o.queryParameters);
unittest.expect(o.timeoutMs, unittest.equals(42));
unittest.expect(o.useLegacySql, unittest.isTrue);
unittest.expect(o.useQueryCache, unittest.isTrue);
@@ -1594,27 +1594,27 @@
buildCounterQueryRequest--;
}
-buildUnnamed3027() {
+buildUnnamed3041() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3027(core.List<api.ErrorProto> o) {
+checkUnnamed3041(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed3028() {
+buildUnnamed3042() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed3028(core.List<api.TableRow> o) {
+checkUnnamed3042(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -1626,13 +1626,13 @@
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed3027();
+ o.errors = buildUnnamed3041();
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.numDmlAffectedRows = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed3028();
+ o.rows = buildUnnamed3042();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -1645,13 +1645,13 @@
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed3027(o.errors);
+ checkUnnamed3041(o.errors);
unittest.expect(o.jobComplete, unittest.isTrue);
checkJobReference(o.jobReference);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3028(o.rows);
+ checkUnnamed3042(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -1682,14 +1682,14 @@
buildCounterStreamingbuffer--;
}
-buildUnnamed3029() {
+buildUnnamed3043() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3029(core.Map<core.String, core.String> o) {
+checkUnnamed3043(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'));
@@ -1708,7 +1708,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3029();
+ o.labels = buildUnnamed3043();
o.lastModifiedTime = "foo";
o.location = "foo";
o.numBytes = "foo";
@@ -1737,7 +1737,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3029(o.labels);
+ checkUnnamed3043(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.numBytes, unittest.equals('foo'));
@@ -1794,14 +1794,14 @@
buildCounterTableDataInsertAllRequestRows--;
}
-buildUnnamed3030() {
+buildUnnamed3044() {
var o = new core.List<api.TableDataInsertAllRequestRows>();
o.add(buildTableDataInsertAllRequestRows());
o.add(buildTableDataInsertAllRequestRows());
return o;
}
-checkUnnamed3030(core.List<api.TableDataInsertAllRequestRows> o) {
+checkUnnamed3044(core.List<api.TableDataInsertAllRequestRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllRequestRows(o[0]);
checkTableDataInsertAllRequestRows(o[1]);
@@ -1814,7 +1814,7 @@
if (buildCounterTableDataInsertAllRequest < 3) {
o.ignoreUnknownValues = true;
o.kind = "foo";
- o.rows = buildUnnamed3030();
+ o.rows = buildUnnamed3044();
o.skipInvalidRows = true;
o.templateSuffix = "foo";
}
@@ -1827,21 +1827,21 @@
if (buildCounterTableDataInsertAllRequest < 3) {
unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3030(o.rows);
+ checkUnnamed3044(o.rows);
unittest.expect(o.skipInvalidRows, unittest.isTrue);
unittest.expect(o.templateSuffix, unittest.equals('foo'));
}
buildCounterTableDataInsertAllRequest--;
}
-buildUnnamed3031() {
+buildUnnamed3045() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3031(core.List<api.ErrorProto> o) {
+checkUnnamed3045(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -1852,7 +1852,7 @@
var o = new api.TableDataInsertAllResponseInsertErrors();
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- o.errors = buildUnnamed3031();
+ o.errors = buildUnnamed3045();
o.index = 42;
}
buildCounterTableDataInsertAllResponseInsertErrors--;
@@ -1862,20 +1862,20 @@
checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsertErrors o) {
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- checkUnnamed3031(o.errors);
+ checkUnnamed3045(o.errors);
unittest.expect(o.index, unittest.equals(42));
}
buildCounterTableDataInsertAllResponseInsertErrors--;
}
-buildUnnamed3032() {
+buildUnnamed3046() {
var o = new core.List<api.TableDataInsertAllResponseInsertErrors>();
o.add(buildTableDataInsertAllResponseInsertErrors());
o.add(buildTableDataInsertAllResponseInsertErrors());
return o;
}
-checkUnnamed3032(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
+checkUnnamed3046(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllResponseInsertErrors(o[0]);
checkTableDataInsertAllResponseInsertErrors(o[1]);
@@ -1886,7 +1886,7 @@
var o = new api.TableDataInsertAllResponse();
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- o.insertErrors = buildUnnamed3032();
+ o.insertErrors = buildUnnamed3046();
o.kind = "foo";
}
buildCounterTableDataInsertAllResponse--;
@@ -1896,20 +1896,20 @@
checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) {
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- checkUnnamed3032(o.insertErrors);
+ checkUnnamed3046(o.insertErrors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTableDataInsertAllResponse--;
}
-buildUnnamed3033() {
+buildUnnamed3047() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed3033(core.List<api.TableRow> o) {
+checkUnnamed3047(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -1923,7 +1923,7 @@
o.etag = "foo";
o.kind = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed3033();
+ o.rows = buildUnnamed3047();
o.totalRows = "foo";
}
buildCounterTableDataList--;
@@ -1936,20 +1936,20 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3033(o.rows);
+ checkUnnamed3047(o.rows);
unittest.expect(o.totalRows, unittest.equals('foo'));
}
buildCounterTableDataList--;
}
-buildUnnamed3034() {
+buildUnnamed3048() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed3034(core.List<api.TableFieldSchema> o) {
+checkUnnamed3048(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -1961,7 +1961,7 @@
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
o.description = "foo";
- o.fields = buildUnnamed3034();
+ o.fields = buildUnnamed3048();
o.mode = "foo";
o.name = "foo";
o.type = "foo";
@@ -1974,7 +1974,7 @@
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3034(o.fields);
+ checkUnnamed3048(o.fields);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1982,14 +1982,14 @@
buildCounterTableFieldSchema--;
}
-buildUnnamed3035() {
+buildUnnamed3049() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3035(core.Map<core.String, core.String> o) {
+checkUnnamed3049(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'));
@@ -2022,7 +2022,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3035();
+ o.labels = buildUnnamed3049();
o.tableReference = buildTableReference();
o.type = "foo";
o.view = buildTableListTablesView();
@@ -2037,7 +2037,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3035(o.labels);
+ checkUnnamed3049(o.labels);
checkTableReference(o.tableReference);
unittest.expect(o.type, unittest.equals('foo'));
checkTableListTablesView(o.view);
@@ -2045,14 +2045,14 @@
buildCounterTableListTables--;
}
-buildUnnamed3036() {
+buildUnnamed3050() {
var o = new core.List<api.TableListTables>();
o.add(buildTableListTables());
o.add(buildTableListTables());
return o;
}
-checkUnnamed3036(core.List<api.TableListTables> o) {
+checkUnnamed3050(core.List<api.TableListTables> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableListTables(o[0]);
checkTableListTables(o[1]);
@@ -2066,7 +2066,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.tables = buildUnnamed3036();
+ o.tables = buildUnnamed3050();
o.totalItems = 42;
}
buildCounterTableList--;
@@ -2079,7 +2079,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3036(o.tables);
+ checkUnnamed3050(o.tables);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterTableList--;
@@ -2108,14 +2108,14 @@
buildCounterTableReference--;
}
-buildUnnamed3037() {
+buildUnnamed3051() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed3037(core.List<api.TableCell> o) {
+checkUnnamed3051(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -2126,7 +2126,7 @@
var o = new api.TableRow();
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- o.f = buildUnnamed3037();
+ o.f = buildUnnamed3051();
}
buildCounterTableRow--;
return o;
@@ -2135,19 +2135,19 @@
checkTableRow(api.TableRow o) {
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- checkUnnamed3037(o.f);
+ checkUnnamed3051(o.f);
}
buildCounterTableRow--;
}
-buildUnnamed3038() {
+buildUnnamed3052() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed3038(core.List<api.TableFieldSchema> o) {
+checkUnnamed3052(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -2158,7 +2158,7 @@
var o = new api.TableSchema();
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- o.fields = buildUnnamed3038();
+ o.fields = buildUnnamed3052();
}
buildCounterTableSchema--;
return o;
@@ -2167,7 +2167,7 @@
checkTableSchema(api.TableSchema o) {
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- checkUnnamed3038(o.fields);
+ checkUnnamed3052(o.fields);
}
buildCounterTableSchema--;
}
@@ -2214,14 +2214,14 @@
buildCounterUserDefinedFunctionResource--;
}
-buildUnnamed3039() {
+buildUnnamed3053() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed3039(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed3053(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -2234,7 +2234,7 @@
if (buildCounterViewDefinition < 3) {
o.query = "foo";
o.useLegacySql = true;
- o.userDefinedFunctionResources = buildUnnamed3039();
+ o.userDefinedFunctionResources = buildUnnamed3053();
}
buildCounterViewDefinition--;
return o;
@@ -2245,19 +2245,19 @@
if (buildCounterViewDefinition < 3) {
unittest.expect(o.query, unittest.equals('foo'));
unittest.expect(o.useLegacySql, unittest.isTrue);
- checkUnnamed3039(o.userDefinedFunctionResources);
+ checkUnnamed3053(o.userDefinedFunctionResources);
}
buildCounterViewDefinition--;
}
-buildUnnamed3040() {
+buildUnnamed3054() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3040(core.List<core.String> o) {
+checkUnnamed3054(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3397,7 +3397,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_projection = "foo";
- var arg_stateFilter = buildUnnamed3040();
+ var arg_stateFilter = buildUnnamed3054();
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 189c706..65ef49b 100644
--- a/generated/googleapis/test/blogger/v3_test.dart
+++ b/generated/googleapis/test/blogger/v3_test.dart
@@ -95,14 +95,14 @@
buildCounterBlogPages--;
}
-buildUnnamed1189() {
+buildUnnamed1184() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed1189(core.List<api.Post> o) {
+checkUnnamed1184(core.List<api.Post> o) {
unittest.expect(o, unittest.hasLength(2));
checkPost(o[0]);
checkPost(o[1]);
@@ -113,7 +113,7 @@
var o = new api.BlogPosts();
buildCounterBlogPosts++;
if (buildCounterBlogPosts < 3) {
- o.items = buildUnnamed1189();
+ o.items = buildUnnamed1184();
o.selfLink = "foo";
o.totalItems = 42;
}
@@ -124,7 +124,7 @@
checkBlogPosts(api.BlogPosts o) {
buildCounterBlogPosts++;
if (buildCounterBlogPosts < 3) {
- checkUnnamed1189(o.items);
+ checkUnnamed1184(o.items);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
@@ -174,27 +174,27 @@
buildCounterBlog--;
}
-buildUnnamed1190() {
+buildUnnamed1185() {
var o = new core.List<api.BlogUserInfo>();
o.add(buildBlogUserInfo());
o.add(buildBlogUserInfo());
return o;
}
-checkUnnamed1190(core.List<api.BlogUserInfo> o) {
+checkUnnamed1185(core.List<api.BlogUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlogUserInfo(o[0]);
checkBlogUserInfo(o[1]);
}
-buildUnnamed1191() {
+buildUnnamed1186() {
var o = new core.List<api.Blog>();
o.add(buildBlog());
o.add(buildBlog());
return o;
}
-checkUnnamed1191(core.List<api.Blog> o) {
+checkUnnamed1186(core.List<api.Blog> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlog(o[0]);
checkBlog(o[1]);
@@ -205,8 +205,8 @@
var o = new api.BlogList();
buildCounterBlogList++;
if (buildCounterBlogList < 3) {
- o.blogUserInfos = buildUnnamed1190();
- o.items = buildUnnamed1191();
+ o.blogUserInfos = buildUnnamed1185();
+ o.items = buildUnnamed1186();
o.kind = "foo";
}
buildCounterBlogList--;
@@ -216,8 +216,8 @@
checkBlogList(api.BlogList o) {
buildCounterBlogList++;
if (buildCounterBlogList < 3) {
- checkUnnamed1190(o.blogUserInfos);
- checkUnnamed1191(o.items);
+ checkUnnamed1185(o.blogUserInfos);
+ checkUnnamed1186(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBlogList--;
@@ -415,14 +415,14 @@
buildCounterComment--;
}
-buildUnnamed1192() {
+buildUnnamed1187() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1192(core.List<api.Comment> o) {
+checkUnnamed1187(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -434,7 +434,7 @@
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1192();
+ o.items = buildUnnamed1187();
o.kind = "foo";
o.nextPageToken = "foo";
o.prevPageToken = "foo";
@@ -447,7 +447,7 @@
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1192(o.items);
+ checkUnnamed1187(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.prevPageToken, unittest.equals('foo'));
@@ -559,14 +559,14 @@
buildCounterPage--;
}
-buildUnnamed1193() {
+buildUnnamed1188() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1193(core.List<api.Page> o) {
+checkUnnamed1188(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -578,7 +578,7 @@
buildCounterPageList++;
if (buildCounterPageList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1193();
+ o.items = buildUnnamed1188();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -590,7 +590,7 @@
buildCounterPageList++;
if (buildCounterPageList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1193(o.items);
+ checkUnnamed1188(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -618,14 +618,14 @@
buildCounterPageviewsCounts--;
}
-buildUnnamed1194() {
+buildUnnamed1189() {
var o = new core.List<api.PageviewsCounts>();
o.add(buildPageviewsCounts());
o.add(buildPageviewsCounts());
return o;
}
-checkUnnamed1194(core.List<api.PageviewsCounts> o) {
+checkUnnamed1189(core.List<api.PageviewsCounts> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageviewsCounts(o[0]);
checkPageviewsCounts(o[1]);
@@ -637,7 +637,7 @@
buildCounterPageviews++;
if (buildCounterPageviews < 3) {
o.blogId = "foo";
- o.counts = buildUnnamed1194();
+ o.counts = buildUnnamed1189();
o.kind = "foo";
}
buildCounterPageviews--;
@@ -648,7 +648,7 @@
buildCounterPageviews++;
if (buildCounterPageviews < 3) {
unittest.expect(o.blogId, unittest.equals('foo'));
- checkUnnamed1194(o.counts);
+ checkUnnamed1189(o.counts);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPageviews--;
@@ -736,27 +736,27 @@
buildCounterPostImages--;
}
-buildUnnamed1195() {
+buildUnnamed1190() {
var o = new core.List<api.PostImages>();
o.add(buildPostImages());
o.add(buildPostImages());
return o;
}
-checkUnnamed1195(core.List<api.PostImages> o) {
+checkUnnamed1190(core.List<api.PostImages> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostImages(o[0]);
checkPostImages(o[1]);
}
-buildUnnamed1196() {
+buildUnnamed1191() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1196(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'));
@@ -787,14 +787,14 @@
buildCounterPostLocation--;
}
-buildUnnamed1197() {
+buildUnnamed1192() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1197(core.List<api.Comment> o) {
+checkUnnamed1192(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -805,7 +805,7 @@
var o = new api.PostReplies();
buildCounterPostReplies++;
if (buildCounterPostReplies < 3) {
- o.items = buildUnnamed1197();
+ o.items = buildUnnamed1192();
o.selfLink = "foo";
o.totalItems = "foo";
}
@@ -816,7 +816,7 @@
checkPostReplies(api.PostReplies o) {
buildCounterPostReplies++;
if (buildCounterPostReplies < 3) {
- checkUnnamed1197(o.items);
+ checkUnnamed1192(o.items);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals('foo'));
}
@@ -834,9 +834,9 @@
o.customMetaData = "foo";
o.etag = "foo";
o.id = "foo";
- o.images = buildUnnamed1195();
+ o.images = buildUnnamed1190();
o.kind = "foo";
- o.labels = buildUnnamed1196();
+ o.labels = buildUnnamed1191();
o.location = buildPostLocation();
o.published = core.DateTime.parse("2002-02-27T14:01:02");
o.readerComments = "foo";
@@ -861,9 +861,9 @@
unittest.expect(o.customMetaData, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1195(o.images);
+ checkUnnamed1190(o.images);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1196(o.labels);
+ checkUnnamed1191(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'));
@@ -878,14 +878,14 @@
buildCounterPost--;
}
-buildUnnamed1198() {
+buildUnnamed1193() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed1198(core.List<api.Post> o) {
+checkUnnamed1193(core.List<api.Post> o) {
unittest.expect(o, unittest.hasLength(2));
checkPost(o[0]);
checkPost(o[1]);
@@ -897,7 +897,7 @@
buildCounterPostList++;
if (buildCounterPostList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1198();
+ o.items = buildUnnamed1193();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -909,7 +909,7 @@
buildCounterPostList++;
if (buildCounterPostList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1198(o.items);
+ checkUnnamed1193(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -966,14 +966,14 @@
buildCounterPostUserInfo--;
}
-buildUnnamed1199() {
+buildUnnamed1194() {
var o = new core.List<api.PostUserInfo>();
o.add(buildPostUserInfo());
o.add(buildPostUserInfo());
return o;
}
-checkUnnamed1199(core.List<api.PostUserInfo> o) {
+checkUnnamed1194(core.List<api.PostUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostUserInfo(o[0]);
checkPostUserInfo(o[1]);
@@ -984,7 +984,7 @@
var o = new api.PostUserInfosList();
buildCounterPostUserInfosList++;
if (buildCounterPostUserInfosList < 3) {
- o.items = buildUnnamed1199();
+ o.items = buildUnnamed1194();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -995,7 +995,7 @@
checkPostUserInfosList(api.PostUserInfosList o) {
buildCounterPostUserInfosList++;
if (buildCounterPostUserInfosList < 3) {
- checkUnnamed1199(o.items);
+ checkUnnamed1194(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1079,6 +1079,71 @@
buildCounterUser--;
}
+buildUnnamed1195() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed1196() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1196(core.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.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1197(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1198() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed1199() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1199(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
buildUnnamed1200() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1118,71 +1183,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1203() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed1204() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1204(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1205() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed1206() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1206(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1207() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
main() {
unittest.group("obj-schema-BlogLocale", () {
@@ -1672,8 +1672,8 @@
api.BlogsResourceApi res = new api.BloggerApi(mock).blogs;
var arg_userId = "foo";
var arg_fetchUserInfo = true;
- var arg_role = buildUnnamed1200();
- var arg_status = buildUnnamed1201();
+ var arg_role = buildUnnamed1195();
+ var arg_status = buildUnnamed1196();
var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1941,7 +1941,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1202();
+ var arg_status = buildUnnamed1197();
var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2015,7 +2015,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1203();
+ var arg_status = buildUnnamed1198();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2217,7 +2217,7 @@
var mock = new HttpServerMock();
api.PageViewsResourceApi res = new api.BloggerApi(mock).pageViews;
var arg_blogId = "foo";
- var arg_range = buildUnnamed1204();
+ var arg_range = buildUnnamed1199();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2452,7 +2452,7 @@
var arg_fetchBodies = true;
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_status = buildUnnamed1205();
+ var arg_status = buildUnnamed1200();
var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2843,7 +2843,7 @@
var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1206();
+ var arg_status = buildUnnamed1201();
var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3168,7 +3168,7 @@
var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1207();
+ var arg_status = buildUnnamed1202();
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 793a033..fd62439 100644
--- a/generated/googleapis/test/books/v1_test.dart
+++ b/generated/googleapis/test/books/v1_test.dart
@@ -128,14 +128,14 @@
buildCounterAnnotationLayerSummary--;
}
-buildUnnamed818() {
+buildUnnamed809() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed818(core.List<core.String> o) {
+checkUnnamed809(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -158,7 +158,7 @@
o.kind = "foo";
o.layerId = "foo";
o.layerSummary = buildAnnotationLayerSummary();
- o.pageIds = buildUnnamed818();
+ o.pageIds = buildUnnamed809();
o.selectedText = "foo";
o.selfLink = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -183,7 +183,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.layerId, unittest.equals('foo'));
checkAnnotationLayerSummary(o.layerSummary);
- checkUnnamed818(o.pageIds);
+ checkUnnamed809(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")));
@@ -227,14 +227,14 @@
buildCounterAnnotationdata--;
}
-buildUnnamed819() {
+buildUnnamed810() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed819(core.List<api.Annotation> o) {
+checkUnnamed810(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -245,7 +245,7 @@
var o = new api.Annotations();
buildCounterAnnotations++;
if (buildCounterAnnotations < 3) {
- o.items = buildUnnamed819();
+ o.items = buildUnnamed810();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -257,7 +257,7 @@
checkAnnotations(api.Annotations o) {
buildCounterAnnotations++;
if (buildCounterAnnotations < 3) {
- checkUnnamed819(o.items);
+ checkUnnamed810(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -292,14 +292,14 @@
buildCounterAnnotationsSummaryLayers--;
}
-buildUnnamed820() {
+buildUnnamed811() {
var o = new core.List<api.AnnotationsSummaryLayers>();
o.add(buildAnnotationsSummaryLayers());
o.add(buildAnnotationsSummaryLayers());
return o;
}
-checkUnnamed820(core.List<api.AnnotationsSummaryLayers> o) {
+checkUnnamed811(core.List<api.AnnotationsSummaryLayers> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationsSummaryLayers(o[0]);
checkAnnotationsSummaryLayers(o[1]);
@@ -311,7 +311,7 @@
buildCounterAnnotationsSummary++;
if (buildCounterAnnotationsSummary < 3) {
o.kind = "foo";
- o.layers = buildUnnamed820();
+ o.layers = buildUnnamed811();
}
buildCounterAnnotationsSummary--;
return o;
@@ -321,19 +321,19 @@
buildCounterAnnotationsSummary++;
if (buildCounterAnnotationsSummary < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed820(o.layers);
+ checkUnnamed811(o.layers);
}
buildCounterAnnotationsSummary--;
}
-buildUnnamed821() {
+buildUnnamed812() {
var o = new core.List<api.Annotationdata>();
o.add(buildAnnotationdata());
o.add(buildAnnotationdata());
return o;
}
-checkUnnamed821(core.List<api.Annotationdata> o) {
+checkUnnamed812(core.List<api.Annotationdata> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationdata(o[0]);
checkAnnotationdata(o[1]);
@@ -344,7 +344,7 @@
var o = new api.Annotationsdata();
buildCounterAnnotationsdata++;
if (buildCounterAnnotationsdata < 3) {
- o.items = buildUnnamed821();
+ o.items = buildUnnamed812();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -356,7 +356,7 @@
checkAnnotationsdata(api.Annotationsdata o) {
buildCounterAnnotationsdata++;
if (buildCounterAnnotationsdata < 3) {
- checkUnnamed821(o.items);
+ checkUnnamed812(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -470,14 +470,14 @@
buildCounterBookshelf--;
}
-buildUnnamed822() {
+buildUnnamed813() {
var o = new core.List<api.Bookshelf>();
o.add(buildBookshelf());
o.add(buildBookshelf());
return o;
}
-checkUnnamed822(core.List<api.Bookshelf> o) {
+checkUnnamed813(core.List<api.Bookshelf> o) {
unittest.expect(o, unittest.hasLength(2));
checkBookshelf(o[0]);
checkBookshelf(o[1]);
@@ -488,7 +488,7 @@
var o = new api.Bookshelves();
buildCounterBookshelves++;
if (buildCounterBookshelves < 3) {
- o.items = buildUnnamed822();
+ o.items = buildUnnamed813();
o.kind = "foo";
}
buildCounterBookshelves--;
@@ -498,7 +498,7 @@
checkBookshelves(api.Bookshelves o) {
buildCounterBookshelves++;
if (buildCounterBookshelves < 3) {
- checkUnnamed822(o.items);
+ checkUnnamed813(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBookshelves--;
@@ -527,14 +527,14 @@
buildCounterCategoryItems--;
}
-buildUnnamed823() {
+buildUnnamed814() {
var o = new core.List<api.CategoryItems>();
o.add(buildCategoryItems());
o.add(buildCategoryItems());
return o;
}
-checkUnnamed823(core.List<api.CategoryItems> o) {
+checkUnnamed814(core.List<api.CategoryItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategoryItems(o[0]);
checkCategoryItems(o[1]);
@@ -545,7 +545,7 @@
var o = new api.Category();
buildCounterCategory++;
if (buildCounterCategory < 3) {
- o.items = buildUnnamed823();
+ o.items = buildUnnamed814();
o.kind = "foo";
}
buildCounterCategory--;
@@ -555,7 +555,7 @@
checkCategory(api.Category o) {
buildCounterCategory++;
if (buildCounterCategory < 3) {
- checkUnnamed823(o.items);
+ checkUnnamed814(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCategory--;
@@ -682,14 +682,14 @@
buildCounterDictlayerdataDictWordsDerivatives--;
}
-buildUnnamed824() {
+buildUnnamed815() {
var o = new core.List<api.DictlayerdataDictWordsDerivatives>();
o.add(buildDictlayerdataDictWordsDerivatives());
o.add(buildDictlayerdataDictWordsDerivatives());
return o;
}
-checkUnnamed824(core.List<api.DictlayerdataDictWordsDerivatives> o) {
+checkUnnamed815(core.List<api.DictlayerdataDictWordsDerivatives> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsDerivatives(o[0]);
checkDictlayerdataDictWordsDerivatives(o[1]);
@@ -737,14 +737,14 @@
buildCounterDictlayerdataDictWordsExamples--;
}
-buildUnnamed825() {
+buildUnnamed816() {
var o = new core.List<api.DictlayerdataDictWordsExamples>();
o.add(buildDictlayerdataDictWordsExamples());
o.add(buildDictlayerdataDictWordsExamples());
return o;
}
-checkUnnamed825(core.List<api.DictlayerdataDictWordsExamples> o) {
+checkUnnamed816(core.List<api.DictlayerdataDictWordsExamples> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsExamples(o[0]);
checkDictlayerdataDictWordsExamples(o[1]);
@@ -771,14 +771,14 @@
buildCounterDictlayerdataDictWordsSensesConjugations--;
}
-buildUnnamed826() {
+buildUnnamed817() {
var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>();
o.add(buildDictlayerdataDictWordsSensesConjugations());
o.add(buildDictlayerdataDictWordsSensesConjugations());
return o;
}
-checkUnnamed826(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
+checkUnnamed817(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesConjugations(o[0]);
checkDictlayerdataDictWordsSensesConjugations(o[1]);
@@ -826,14 +826,14 @@
buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--;
}
-buildUnnamed827() {
+buildUnnamed818() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>();
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
return o;
}
-checkUnnamed827(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) {
+checkUnnamed818(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]);
checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]);
@@ -845,7 +845,7 @@
buildCounterDictlayerdataDictWordsSensesDefinitions++;
if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
o.definition = "foo";
- o.examples = buildUnnamed827();
+ o.examples = buildUnnamed818();
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
return o;
@@ -855,19 +855,19 @@
buildCounterDictlayerdataDictWordsSensesDefinitions++;
if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
unittest.expect(o.definition, unittest.equals('foo'));
- checkUnnamed827(o.examples);
+ checkUnnamed818(o.examples);
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
}
-buildUnnamed828() {
+buildUnnamed819() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>();
o.add(buildDictlayerdataDictWordsSensesDefinitions());
o.add(buildDictlayerdataDictWordsSensesDefinitions());
return o;
}
-checkUnnamed828(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
+checkUnnamed819(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesDefinitions(o[0]);
checkDictlayerdataDictWordsSensesDefinitions(o[1]);
@@ -936,14 +936,14 @@
buildCounterDictlayerdataDictWordsSensesSynonyms--;
}
-buildUnnamed829() {
+buildUnnamed820() {
var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>();
o.add(buildDictlayerdataDictWordsSensesSynonyms());
o.add(buildDictlayerdataDictWordsSensesSynonyms());
return o;
}
-checkUnnamed829(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
+checkUnnamed820(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesSynonyms(o[0]);
checkDictlayerdataDictWordsSensesSynonyms(o[1]);
@@ -954,14 +954,14 @@
var o = new api.DictlayerdataDictWordsSenses();
buildCounterDictlayerdataDictWordsSenses++;
if (buildCounterDictlayerdataDictWordsSenses < 3) {
- o.conjugations = buildUnnamed826();
- o.definitions = buildUnnamed828();
+ o.conjugations = buildUnnamed817();
+ o.definitions = buildUnnamed819();
o.partOfSpeech = "foo";
o.pronunciation = "foo";
o.pronunciationUrl = "foo";
o.source = buildDictlayerdataDictWordsSensesSource();
o.syllabification = "foo";
- o.synonyms = buildUnnamed829();
+ o.synonyms = buildUnnamed820();
}
buildCounterDictlayerdataDictWordsSenses--;
return o;
@@ -970,26 +970,26 @@
checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) {
buildCounterDictlayerdataDictWordsSenses++;
if (buildCounterDictlayerdataDictWordsSenses < 3) {
- checkUnnamed826(o.conjugations);
- checkUnnamed828(o.definitions);
+ checkUnnamed817(o.conjugations);
+ checkUnnamed819(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'));
- checkUnnamed829(o.synonyms);
+ checkUnnamed820(o.synonyms);
}
buildCounterDictlayerdataDictWordsSenses--;
}
-buildUnnamed830() {
+buildUnnamed821() {
var o = new core.List<api.DictlayerdataDictWordsSenses>();
o.add(buildDictlayerdataDictWordsSenses());
o.add(buildDictlayerdataDictWordsSenses());
return o;
}
-checkUnnamed830(core.List<api.DictlayerdataDictWordsSenses> o) {
+checkUnnamed821(core.List<api.DictlayerdataDictWordsSenses> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSenses(o[0]);
checkDictlayerdataDictWordsSenses(o[1]);
@@ -1021,9 +1021,9 @@
var o = new api.DictlayerdataDictWords();
buildCounterDictlayerdataDictWords++;
if (buildCounterDictlayerdataDictWords < 3) {
- o.derivatives = buildUnnamed824();
- o.examples = buildUnnamed825();
- o.senses = buildUnnamed830();
+ o.derivatives = buildUnnamed815();
+ o.examples = buildUnnamed816();
+ o.senses = buildUnnamed821();
o.source = buildDictlayerdataDictWordsSource();
}
buildCounterDictlayerdataDictWords--;
@@ -1033,22 +1033,22 @@
checkDictlayerdataDictWords(api.DictlayerdataDictWords o) {
buildCounterDictlayerdataDictWords++;
if (buildCounterDictlayerdataDictWords < 3) {
- checkUnnamed824(o.derivatives);
- checkUnnamed825(o.examples);
- checkUnnamed830(o.senses);
+ checkUnnamed815(o.derivatives);
+ checkUnnamed816(o.examples);
+ checkUnnamed821(o.senses);
checkDictlayerdataDictWordsSource(o.source);
}
buildCounterDictlayerdataDictWords--;
}
-buildUnnamed831() {
+buildUnnamed822() {
var o = new core.List<api.DictlayerdataDictWords>();
o.add(buildDictlayerdataDictWords());
o.add(buildDictlayerdataDictWords());
return o;
}
-checkUnnamed831(core.List<api.DictlayerdataDictWords> o) {
+checkUnnamed822(core.List<api.DictlayerdataDictWords> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWords(o[0]);
checkDictlayerdataDictWords(o[1]);
@@ -1060,7 +1060,7 @@
buildCounterDictlayerdataDict++;
if (buildCounterDictlayerdataDict < 3) {
o.source = buildDictlayerdataDictSource();
- o.words = buildUnnamed831();
+ o.words = buildUnnamed822();
}
buildCounterDictlayerdataDict--;
return o;
@@ -1070,7 +1070,7 @@
buildCounterDictlayerdataDict++;
if (buildCounterDictlayerdataDict < 3) {
checkDictlayerdataDictSource(o.source);
- checkUnnamed831(o.words);
+ checkUnnamed822(o.words);
}
buildCounterDictlayerdataDict--;
}
@@ -1127,14 +1127,14 @@
buildCounterDiscoveryclustersClustersBannerWithContentContainer--;
}
-buildUnnamed832() {
+buildUnnamed823() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed832(core.List<api.Volume> o) {
+checkUnnamed823(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1150,7 +1150,7 @@
o.title = "foo";
o.totalVolumes = 42;
o.uid = "foo";
- o.volumes = buildUnnamed832();
+ o.volumes = buildUnnamed823();
}
buildCounterDiscoveryclustersClusters--;
return o;
@@ -1164,19 +1164,19 @@
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.totalVolumes, unittest.equals(42));
unittest.expect(o.uid, unittest.equals('foo'));
- checkUnnamed832(o.volumes);
+ checkUnnamed823(o.volumes);
}
buildCounterDiscoveryclustersClusters--;
}
-buildUnnamed833() {
+buildUnnamed824() {
var o = new core.List<api.DiscoveryclustersClusters>();
o.add(buildDiscoveryclustersClusters());
o.add(buildDiscoveryclustersClusters());
return o;
}
-checkUnnamed833(core.List<api.DiscoveryclustersClusters> o) {
+checkUnnamed824(core.List<api.DiscoveryclustersClusters> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiscoveryclustersClusters(o[0]);
checkDiscoveryclustersClusters(o[1]);
@@ -1187,7 +1187,7 @@
var o = new api.Discoveryclusters();
buildCounterDiscoveryclusters++;
if (buildCounterDiscoveryclusters < 3) {
- o.clusters = buildUnnamed833();
+ o.clusters = buildUnnamed824();
o.kind = "foo";
o.totalClusters = 42;
}
@@ -1198,7 +1198,7 @@
checkDiscoveryclusters(api.Discoveryclusters o) {
buildCounterDiscoveryclusters++;
if (buildCounterDiscoveryclusters < 3) {
- checkUnnamed833(o.clusters);
+ checkUnnamed824(o.clusters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalClusters, unittest.equals(42));
}
@@ -1246,14 +1246,14 @@
buildCounterDownloadAccessRestriction--;
}
-buildUnnamed834() {
+buildUnnamed825() {
var o = new core.List<api.DownloadAccessRestriction>();
o.add(buildDownloadAccessRestriction());
o.add(buildDownloadAccessRestriction());
return o;
}
-checkUnnamed834(core.List<api.DownloadAccessRestriction> o) {
+checkUnnamed825(core.List<api.DownloadAccessRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkDownloadAccessRestriction(o[0]);
checkDownloadAccessRestriction(o[1]);
@@ -1264,7 +1264,7 @@
var o = new api.DownloadAccesses();
buildCounterDownloadAccesses++;
if (buildCounterDownloadAccesses < 3) {
- o.downloadAccessList = buildUnnamed834();
+ o.downloadAccessList = buildUnnamed825();
o.kind = "foo";
}
buildCounterDownloadAccesses--;
@@ -1274,7 +1274,7 @@
checkDownloadAccesses(api.DownloadAccesses o) {
buildCounterDownloadAccesses++;
if (buildCounterDownloadAccesses < 3) {
- checkUnnamed834(o.downloadAccessList);
+ checkUnnamed825(o.downloadAccessList);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDownloadAccesses--;
@@ -1328,30 +1328,30 @@
buildCounterGeolayerdataGeoBoundary--;
}
-buildUnnamed835() {
+buildUnnamed826() {
var o = new core.List<api.GeolayerdataGeoBoundary>();
o.add(buildGeolayerdataGeoBoundary());
o.add(buildGeolayerdataGeoBoundary());
return o;
}
-checkUnnamed835(core.List<api.GeolayerdataGeoBoundary> o) {
+checkUnnamed826(core.List<api.GeolayerdataGeoBoundary> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeolayerdataGeoBoundary(o[0]);
checkGeolayerdataGeoBoundary(o[1]);
}
-buildUnnamed836() {
+buildUnnamed827() {
var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>();
- o.add(buildUnnamed835());
- o.add(buildUnnamed835());
+ o.add(buildUnnamed826());
+ o.add(buildUnnamed826());
return o;
}
-checkUnnamed836(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
+checkUnnamed827(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed835(o[0]);
- checkUnnamed835(o[1]);
+ checkUnnamed826(o[0]);
+ checkUnnamed826(o[1]);
}
core.int buildCounterGeolayerdataGeoViewportHi = 0;
@@ -1422,7 +1422,7 @@
var o = new api.GeolayerdataGeo();
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- o.boundary = buildUnnamed836();
+ o.boundary = buildUnnamed827();
o.cachePolicy = "foo";
o.countryCode = "foo";
o.latitude = 42.0;
@@ -1438,7 +1438,7 @@
checkGeolayerdataGeo(api.GeolayerdataGeo o) {
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- checkUnnamed836(o.boundary);
+ checkUnnamed827(o.boundary);
unittest.expect(o.cachePolicy, unittest.equals('foo'));
unittest.expect(o.countryCode, unittest.equals('foo'));
unittest.expect(o.latitude, unittest.equals(42.0));
@@ -1473,14 +1473,14 @@
buildCounterGeolayerdata--;
}
-buildUnnamed837() {
+buildUnnamed828() {
var o = new core.List<api.Layersummary>();
o.add(buildLayersummary());
o.add(buildLayersummary());
return o;
}
-checkUnnamed837(core.List<api.Layersummary> o) {
+checkUnnamed828(core.List<api.Layersummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkLayersummary(o[0]);
checkLayersummary(o[1]);
@@ -1491,7 +1491,7 @@
var o = new api.Layersummaries();
buildCounterLayersummaries++;
if (buildCounterLayersummaries < 3) {
- o.items = buildUnnamed837();
+ o.items = buildUnnamed828();
o.kind = "foo";
o.totalItems = 42;
}
@@ -1502,21 +1502,21 @@
checkLayersummaries(api.Layersummaries o) {
buildCounterLayersummaries++;
if (buildCounterLayersummaries < 3) {
- checkUnnamed837(o.items);
+ checkUnnamed828(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterLayersummaries--;
}
-buildUnnamed838() {
+buildUnnamed829() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed838(core.List<core.String> o) {
+checkUnnamed829(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1528,7 +1528,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
o.annotationCount = 42;
- o.annotationTypes = buildUnnamed838();
+ o.annotationTypes = buildUnnamed829();
o.annotationsDataLink = "foo";
o.annotationsLink = "foo";
o.contentVersion = "foo";
@@ -1549,7 +1549,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
unittest.expect(o.annotationCount, unittest.equals(42));
- checkUnnamed838(o.annotationTypes);
+ checkUnnamed829(o.annotationTypes);
unittest.expect(o.annotationsDataLink, unittest.equals('foo'));
unittest.expect(o.annotationsLink, unittest.equals('foo'));
unittest.expect(o.contentVersion, unittest.equals('foo'));
@@ -1592,14 +1592,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed839() {
+buildUnnamed830() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed839(core.List<api.MetadataItems> o) {
+checkUnnamed830(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -1610,7 +1610,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed839();
+ o.items = buildUnnamed830();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -1620,20 +1620,20 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed839(o.items);
+ checkUnnamed830(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
}
-buildUnnamed840() {
+buildUnnamed831() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed840(core.List<core.String> o) {
+checkUnnamed831(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1645,7 +1645,7 @@
buildCounterNotification++;
if (buildCounterNotification < 3) {
o.body = "foo";
- o.crmExperimentIds = buildUnnamed840();
+ o.crmExperimentIds = buildUnnamed831();
o.docId = "foo";
o.docType = "foo";
o.dontShowNotification = true;
@@ -1667,7 +1667,7 @@
buildCounterNotification++;
if (buildCounterNotification < 3) {
unittest.expect(o.body, unittest.equals('foo'));
- checkUnnamed840(o.crmExperimentIds);
+ checkUnnamed831(o.crmExperimentIds);
unittest.expect(o.docId, unittest.equals('foo'));
unittest.expect(o.docType, unittest.equals('foo'));
unittest.expect(o.dontShowNotification, unittest.isTrue);
@@ -1713,14 +1713,14 @@
buildCounterOffersItemsItems--;
}
-buildUnnamed841() {
+buildUnnamed832() {
var o = new core.List<api.OffersItemsItems>();
o.add(buildOffersItemsItems());
o.add(buildOffersItemsItems());
return o;
}
-checkUnnamed841(core.List<api.OffersItemsItems> o) {
+checkUnnamed832(core.List<api.OffersItemsItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffersItemsItems(o[0]);
checkOffersItemsItems(o[1]);
@@ -1734,7 +1734,7 @@
o.artUrl = "foo";
o.gservicesKey = "foo";
o.id = "foo";
- o.items = buildUnnamed841();
+ o.items = buildUnnamed832();
}
buildCounterOffersItems--;
return o;
@@ -1746,19 +1746,19 @@
unittest.expect(o.artUrl, unittest.equals('foo'));
unittest.expect(o.gservicesKey, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed841(o.items);
+ checkUnnamed832(o.items);
}
buildCounterOffersItems--;
}
-buildUnnamed842() {
+buildUnnamed833() {
var o = new core.List<api.OffersItems>();
o.add(buildOffersItems());
o.add(buildOffersItems());
return o;
}
-checkUnnamed842(core.List<api.OffersItems> o) {
+checkUnnamed833(core.List<api.OffersItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffersItems(o[0]);
checkOffersItems(o[1]);
@@ -1769,7 +1769,7 @@
var o = new api.Offers();
buildCounterOffers++;
if (buildCounterOffers < 3) {
- o.items = buildUnnamed842();
+ o.items = buildUnnamed833();
o.kind = "foo";
}
buildCounterOffers--;
@@ -1779,7 +1779,7 @@
checkOffers(api.Offers o) {
buildCounterOffers++;
if (buildCounterOffers < 3) {
- checkUnnamed842(o.items);
+ checkUnnamed833(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOffers--;
@@ -1945,14 +1945,14 @@
buildCounterSeriesSeries--;
}
-buildUnnamed843() {
+buildUnnamed834() {
var o = new core.List<api.SeriesSeries>();
o.add(buildSeriesSeries());
o.add(buildSeriesSeries());
return o;
}
-checkUnnamed843(core.List<api.SeriesSeries> o) {
+checkUnnamed834(core.List<api.SeriesSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkSeriesSeries(o[0]);
checkSeriesSeries(o[1]);
@@ -1964,7 +1964,7 @@
buildCounterSeries++;
if (buildCounterSeries < 3) {
o.kind = "foo";
- o.series = buildUnnamed843();
+ o.series = buildUnnamed834();
}
buildCounterSeries--;
return o;
@@ -1974,19 +1974,19 @@
buildCounterSeries++;
if (buildCounterSeries < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed843(o.series);
+ checkUnnamed834(o.series);
}
buildCounterSeries--;
}
-buildUnnamed844() {
+buildUnnamed835() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed844(core.List<api.Volume> o) {
+checkUnnamed835(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1998,7 +1998,7 @@
buildCounterSeriesmembership++;
if (buildCounterSeriesmembership < 3) {
o.kind = "foo";
- o.member = buildUnnamed844();
+ o.member = buildUnnamed835();
o.nextPageToken = "foo";
}
buildCounterSeriesmembership--;
@@ -2009,7 +2009,7 @@
buildCounterSeriesmembership++;
if (buildCounterSeriesmembership < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed844(o.member);
+ checkUnnamed835(o.member);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSeriesmembership--;
@@ -2074,6 +2074,25 @@
buildCounterUsersettingsNotificationMoreFromSeries--;
}
+core.int buildCounterUsersettingsNotificationRewardExpirations = 0;
+buildUsersettingsNotificationRewardExpirations() {
+ var o = new api.UsersettingsNotificationRewardExpirations();
+ buildCounterUsersettingsNotificationRewardExpirations++;
+ if (buildCounterUsersettingsNotificationRewardExpirations < 3) {
+ o.optedState = "foo";
+ }
+ buildCounterUsersettingsNotificationRewardExpirations--;
+ return o;
+}
+
+checkUsersettingsNotificationRewardExpirations(api.UsersettingsNotificationRewardExpirations o) {
+ buildCounterUsersettingsNotificationRewardExpirations++;
+ if (buildCounterUsersettingsNotificationRewardExpirations < 3) {
+ unittest.expect(o.optedState, unittest.equals('foo'));
+ }
+ buildCounterUsersettingsNotificationRewardExpirations--;
+}
+
core.int buildCounterUsersettingsNotification = 0;
buildUsersettingsNotification() {
var o = new api.UsersettingsNotification();
@@ -2081,6 +2100,7 @@
if (buildCounterUsersettingsNotification < 3) {
o.moreFromAuthors = buildUsersettingsNotificationMoreFromAuthors();
o.moreFromSeries = buildUsersettingsNotificationMoreFromSeries();
+ o.rewardExpirations = buildUsersettingsNotificationRewardExpirations();
}
buildCounterUsersettingsNotification--;
return o;
@@ -2091,6 +2111,7 @@
if (buildCounterUsersettingsNotification < 3) {
checkUsersettingsNotificationMoreFromAuthors(o.moreFromAuthors);
checkUsersettingsNotificationMoreFromSeries(o.moreFromSeries);
+ checkUsersettingsNotificationRewardExpirations(o.rewardExpirations);
}
buildCounterUsersettingsNotification--;
}
@@ -2230,14 +2251,14 @@
buildCounterVolumeLayerInfoLayers--;
}
-buildUnnamed845() {
+buildUnnamed836() {
var o = new core.List<api.VolumeLayerInfoLayers>();
o.add(buildVolumeLayerInfoLayers());
o.add(buildVolumeLayerInfoLayers());
return o;
}
-checkUnnamed845(core.List<api.VolumeLayerInfoLayers> o) {
+checkUnnamed836(core.List<api.VolumeLayerInfoLayers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeLayerInfoLayers(o[0]);
checkVolumeLayerInfoLayers(o[1]);
@@ -2248,7 +2269,7 @@
var o = new api.VolumeLayerInfo();
buildCounterVolumeLayerInfo++;
if (buildCounterVolumeLayerInfo < 3) {
- o.layers = buildUnnamed845();
+ o.layers = buildUnnamed836();
}
buildCounterVolumeLayerInfo--;
return o;
@@ -2257,7 +2278,7 @@
checkVolumeLayerInfo(api.VolumeLayerInfo o) {
buildCounterVolumeLayerInfo++;
if (buildCounterVolumeLayerInfo < 3) {
- checkUnnamed845(o.layers);
+ checkUnnamed836(o.layers);
}
buildCounterVolumeLayerInfo--;
}
@@ -2392,14 +2413,14 @@
buildCounterVolumeSaleInfoOffers--;
}
-buildUnnamed846() {
+buildUnnamed837() {
var o = new core.List<api.VolumeSaleInfoOffers>();
o.add(buildVolumeSaleInfoOffers());
o.add(buildVolumeSaleInfoOffers());
return o;
}
-checkUnnamed846(core.List<api.VolumeSaleInfoOffers> o) {
+checkUnnamed837(core.List<api.VolumeSaleInfoOffers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeSaleInfoOffers(o[0]);
checkVolumeSaleInfoOffers(o[1]);
@@ -2435,7 +2456,7 @@
o.country = "foo";
o.isEbook = true;
o.listPrice = buildVolumeSaleInfoListPrice();
- o.offers = buildUnnamed846();
+ o.offers = buildUnnamed837();
o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02");
o.retailPrice = buildVolumeSaleInfoRetailPrice();
o.saleability = "foo";
@@ -2451,7 +2472,7 @@
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.isEbook, unittest.isTrue);
checkVolumeSaleInfoListPrice(o.listPrice);
- checkUnnamed846(o.offers);
+ checkUnnamed837(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'));
@@ -2621,27 +2642,27 @@
buildCounterVolumeUserInfo--;
}
-buildUnnamed847() {
+buildUnnamed838() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed847(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'));
}
-buildUnnamed848() {
+buildUnnamed839() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed848(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'));
@@ -2720,14 +2741,14 @@
buildCounterVolumeVolumeInfoIndustryIdentifiers--;
}
-buildUnnamed849() {
+buildUnnamed840() {
var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>();
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
return o;
}
-checkUnnamed849(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
+checkUnnamed840(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeVolumeInfoIndustryIdentifiers(o[0]);
checkVolumeVolumeInfoIndustryIdentifiers(o[1]);
@@ -2764,15 +2785,15 @@
buildCounterVolumeVolumeInfo++;
if (buildCounterVolumeVolumeInfo < 3) {
o.allowAnonLogging = true;
- o.authors = buildUnnamed847();
+ o.authors = buildUnnamed838();
o.averageRating = 42.0;
o.canonicalVolumeLink = "foo";
- o.categories = buildUnnamed848();
+ o.categories = buildUnnamed839();
o.contentVersion = "foo";
o.description = "foo";
o.dimensions = buildVolumeVolumeInfoDimensions();
o.imageLinks = buildVolumeVolumeInfoImageLinks();
- o.industryIdentifiers = buildUnnamed849();
+ o.industryIdentifiers = buildUnnamed840();
o.infoLink = "foo";
o.language = "foo";
o.mainCategory = "foo";
@@ -2799,15 +2820,15 @@
buildCounterVolumeVolumeInfo++;
if (buildCounterVolumeVolumeInfo < 3) {
unittest.expect(o.allowAnonLogging, unittest.isTrue);
- checkUnnamed847(o.authors);
+ checkUnnamed838(o.authors);
unittest.expect(o.averageRating, unittest.equals(42.0));
unittest.expect(o.canonicalVolumeLink, unittest.equals('foo'));
- checkUnnamed848(o.categories);
+ checkUnnamed839(o.categories);
unittest.expect(o.contentVersion, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
checkVolumeVolumeInfoDimensions(o.dimensions);
checkVolumeVolumeInfoImageLinks(o.imageLinks);
- checkUnnamed849(o.industryIdentifiers);
+ checkUnnamed840(o.industryIdentifiers);
unittest.expect(o.infoLink, unittest.equals('foo'));
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mainCategory, unittest.equals('foo'));
@@ -2868,14 +2889,14 @@
buildCounterVolume--;
}
-buildUnnamed850() {
+buildUnnamed841() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed850(core.List<api.Volume> o) {
+checkUnnamed841(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -2886,7 +2907,7 @@
var o = new api.Volume2();
buildCounterVolume2++;
if (buildCounterVolume2 < 3) {
- o.items = buildUnnamed850();
+ o.items = buildUnnamed841();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2897,7 +2918,7 @@
checkVolume2(api.Volume2 o) {
buildCounterVolume2++;
if (buildCounterVolume2 < 3) {
- checkUnnamed850(o.items);
+ checkUnnamed841(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2929,14 +2950,14 @@
buildCounterVolumeannotationContentRanges--;
}
-buildUnnamed851() {
+buildUnnamed842() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed851(core.List<core.String> o) {
+checkUnnamed842(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2956,7 +2977,7 @@
o.id = "foo";
o.kind = "foo";
o.layerId = "foo";
- o.pageIds = buildUnnamed851();
+ o.pageIds = buildUnnamed842();
o.selectedText = "foo";
o.selfLink = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2978,7 +2999,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.layerId, unittest.equals('foo'));
- checkUnnamed851(o.pageIds);
+ checkUnnamed842(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")));
@@ -2987,14 +3008,14 @@
buildCounterVolumeannotation--;
}
-buildUnnamed852() {
+buildUnnamed843() {
var o = new core.List<api.Volumeannotation>();
o.add(buildVolumeannotation());
o.add(buildVolumeannotation());
return o;
}
-checkUnnamed852(core.List<api.Volumeannotation> o) {
+checkUnnamed843(core.List<api.Volumeannotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeannotation(o[0]);
checkVolumeannotation(o[1]);
@@ -3005,7 +3026,7 @@
var o = new api.Volumeannotations();
buildCounterVolumeannotations++;
if (buildCounterVolumeannotations < 3) {
- o.items = buildUnnamed852();
+ o.items = buildUnnamed843();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -3018,7 +3039,7 @@
checkVolumeannotations(api.Volumeannotations o) {
buildCounterVolumeannotations++;
if (buildCounterVolumeannotations < 3) {
- checkUnnamed852(o.items);
+ checkUnnamed843(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -3027,14 +3048,14 @@
buildCounterVolumeannotations--;
}
-buildUnnamed853() {
+buildUnnamed844() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed853(core.List<api.Volume> o) {
+checkUnnamed844(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -3045,7 +3066,7 @@
var o = new api.Volumes();
buildCounterVolumes++;
if (buildCounterVolumes < 3) {
- o.items = buildUnnamed853();
+ o.items = buildUnnamed844();
o.kind = "foo";
o.totalItems = 42;
}
@@ -3056,7 +3077,7 @@
checkVolumes(api.Volumes o) {
buildCounterVolumes++;
if (buildCounterVolumes < 3) {
- checkUnnamed853(o.items);
+ checkUnnamed844(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
@@ -3084,14 +3105,14 @@
buildCounterVolumeseriesinfoVolumeSeriesIssue--;
}
-buildUnnamed854() {
+buildUnnamed845() {
var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>();
o.add(buildVolumeseriesinfoVolumeSeriesIssue());
o.add(buildVolumeseriesinfoVolumeSeriesIssue());
return o;
}
-checkUnnamed854(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
+checkUnnamed845(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeseriesinfoVolumeSeriesIssue(o[0]);
checkVolumeseriesinfoVolumeSeriesIssue(o[1]);
@@ -3102,7 +3123,7 @@
var o = new api.VolumeseriesinfoVolumeSeries();
buildCounterVolumeseriesinfoVolumeSeries++;
if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
- o.issue = buildUnnamed854();
+ o.issue = buildUnnamed845();
o.orderNumber = 42;
o.seriesBookType = "foo";
o.seriesId = "foo";
@@ -3114,7 +3135,7 @@
checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) {
buildCounterVolumeseriesinfoVolumeSeries++;
if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
- checkUnnamed854(o.issue);
+ checkUnnamed845(o.issue);
unittest.expect(o.orderNumber, unittest.equals(42));
unittest.expect(o.seriesBookType, unittest.equals('foo'));
unittest.expect(o.seriesId, unittest.equals('foo'));
@@ -3122,14 +3143,14 @@
buildCounterVolumeseriesinfoVolumeSeries--;
}
-buildUnnamed855() {
+buildUnnamed846() {
var o = new core.List<api.VolumeseriesinfoVolumeSeries>();
o.add(buildVolumeseriesinfoVolumeSeries());
o.add(buildVolumeseriesinfoVolumeSeries());
return o;
}
-checkUnnamed855(core.List<api.VolumeseriesinfoVolumeSeries> o) {
+checkUnnamed846(core.List<api.VolumeseriesinfoVolumeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeseriesinfoVolumeSeries(o[0]);
checkVolumeseriesinfoVolumeSeries(o[1]);
@@ -3143,7 +3164,7 @@
o.bookDisplayNumber = "foo";
o.kind = "foo";
o.shortSeriesBookTitle = "foo";
- o.volumeSeries = buildUnnamed855();
+ o.volumeSeries = buildUnnamed846();
}
buildCounterVolumeseriesinfo--;
return o;
@@ -3155,11 +3176,128 @@
unittest.expect(o.bookDisplayNumber, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo'));
- checkUnnamed855(o.volumeSeries);
+ checkUnnamed846(o.volumeSeries);
}
buildCounterVolumeseriesinfo--;
}
+buildUnnamed847() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed847(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed848() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed849() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed849(core.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() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed850(core.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() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed851(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed852() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed852(core.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() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed854() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed854(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed855() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
buildUnnamed856() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3199,123 +3337,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed859() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed859(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed860(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed861(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed862(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed863(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed864(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed865(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed866() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed866(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed867() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
main() {
unittest.group("obj-schema-AnnotationClientVersionRanges", () {
@@ -3912,6 +3933,15 @@
});
+ unittest.group("obj-schema-UsersettingsNotificationRewardExpirations", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUsersettingsNotificationRewardExpirations();
+ var od = new api.UsersettingsNotificationRewardExpirations.fromJson(o.toJson());
+ checkUsersettingsNotificationRewardExpirations(od);
+ });
+ });
+
+
unittest.group("obj-schema-UsersettingsNotification", () {
unittest.test("to-json--from-json", () {
var o = buildUsersettingsNotification();
@@ -4833,7 +4863,7 @@
var arg_volumeId = "foo";
var arg_layerId = "foo";
var arg_contentVersion = "foo";
- var arg_annotationDataId = buildUnnamed856();
+ var arg_annotationDataId = buildUnnamed847();
var arg_h = 42;
var arg_locale = "foo";
var arg_maxResults = 42;
@@ -5118,7 +5148,7 @@
var mock = new HttpServerMock();
api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
- var arg_volumeIds = buildUnnamed857();
+ var arg_volumeIds = buildUnnamed848();
var arg_cpksver = "foo";
var arg_locale = "foo";
var arg_source = "foo";
@@ -5231,11 +5261,11 @@
var arg_source = "foo";
var arg_nonce = "foo";
var arg_cpksver = "foo";
- var arg_features = buildUnnamed858();
+ var arg_features = buildUnnamed849();
var arg_includeNonComicsSeries = true;
var arg_locale = "foo";
var arg_showPreorders = true;
- var arg_volumeIds = buildUnnamed859();
+ var arg_volumeIds = buildUnnamed850();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5392,6 +5422,7 @@
var mock = new HttpServerMock();
api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary.annotations;
var arg_request = buildAnnotation();
+ var arg_annotationId = "foo";
var arg_country = "foo";
var arg_showOnlySummaryInResponse = true;
var arg_source = "foo";
@@ -5426,6 +5457,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["annotationId"].first, unittest.equals(arg_annotationId));
unittest.expect(queryMap["country"].first, unittest.equals(arg_country));
unittest.expect(queryMap["showOnlySummaryInResponse"].first, unittest.equals("$arg_showOnlySummaryInResponse"));
unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
@@ -5437,7 +5469,7 @@
var resp = convert.JSON.encode(buildAnnotation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, country: arg_country, showOnlySummaryInResponse: arg_showOnlySummaryInResponse, source: arg_source).then(unittest.expectAsync(((api.Annotation response) {
+ res.insert(arg_request, annotationId: arg_annotationId, country: arg_country, showOnlySummaryInResponse: arg_showOnlySummaryInResponse, source: arg_source).then(unittest.expectAsync(((api.Annotation response) {
checkAnnotation(response);
})));
});
@@ -5448,7 +5480,7 @@
api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary.annotations;
var arg_contentVersion = "foo";
var arg_layerId = "foo";
- var arg_layerIds = buildUnnamed860();
+ var arg_layerIds = buildUnnamed851();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_showDeleted = true;
@@ -5511,7 +5543,7 @@
var mock = new HttpServerMock();
api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary.annotations;
- var arg_layerIds = buildUnnamed861();
+ var arg_layerIds = buildUnnamed852();
var arg_volumeId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6238,7 +6270,7 @@
var mock = new HttpServerMock();
api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding;
- var arg_categoryId = buildUnnamed862();
+ var arg_categoryId = buildUnnamed853();
var arg_locale = "foo";
var arg_maxAllowedMaturityRating = "foo";
var arg_pageSize = 42;
@@ -6529,7 +6561,7 @@
var mock = new HttpServerMock();
api.SeriesResourceApi res = new api.BooksApi(mock).series;
- var arg_seriesId = buildUnnamed863();
+ var arg_seriesId = buildUnnamed854();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -6838,11 +6870,11 @@
var mock = new HttpServerMock();
api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks;
- var arg_acquireMethod = buildUnnamed864();
+ var arg_acquireMethod = buildUnnamed855();
var arg_country = "foo";
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_processingState = buildUnnamed865();
+ var arg_processingState = buildUnnamed856();
var arg_source = "foo";
var arg_startIndex = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -7011,10 +7043,10 @@
api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.useruploaded;
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_processingState = buildUnnamed866();
+ var arg_processingState = buildUnnamed857();
var arg_source = "foo";
var arg_startIndex = 42;
- var arg_volumeId = buildUnnamed867();
+ var arg_volumeId = buildUnnamed858();
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 c372bd2..ada6647 100644
--- a/generated/googleapis/test/calendar/v3_test.dart
+++ b/generated/googleapis/test/calendar/v3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1022() {
+buildUnnamed1013() {
var o = new core.List<api.AclRule>();
o.add(buildAclRule());
o.add(buildAclRule());
return o;
}
-checkUnnamed1022(core.List<api.AclRule> o) {
+checkUnnamed1013(core.List<api.AclRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAclRule(o[0]);
checkAclRule(o[1]);
@@ -70,7 +70,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
o.etag = "foo";
- o.items = buildUnnamed1022();
+ o.items = buildUnnamed1013();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -83,7 +83,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1022(o.items);
+ checkUnnamed1013(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -170,14 +170,14 @@
buildCounterCalendar--;
}
-buildUnnamed1023() {
+buildUnnamed1014() {
var o = new core.List<api.CalendarListEntry>();
o.add(buildCalendarListEntry());
o.add(buildCalendarListEntry());
return o;
}
-checkUnnamed1023(core.List<api.CalendarListEntry> o) {
+checkUnnamed1014(core.List<api.CalendarListEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarListEntry(o[0]);
checkCalendarListEntry(o[1]);
@@ -189,7 +189,7 @@
buildCounterCalendarList++;
if (buildCounterCalendarList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1023();
+ o.items = buildUnnamed1014();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -202,7 +202,7 @@
buildCounterCalendarList++;
if (buildCounterCalendarList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1023(o.items);
+ checkUnnamed1014(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -210,27 +210,27 @@
buildCounterCalendarList--;
}
-buildUnnamed1024() {
+buildUnnamed1015() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed1024(core.List<api.EventReminder> o) {
+checkUnnamed1015(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
}
-buildUnnamed1025() {
+buildUnnamed1016() {
var o = new core.List<api.CalendarNotification>();
o.add(buildCalendarNotification());
o.add(buildCalendarNotification());
return o;
}
-checkUnnamed1025(core.List<api.CalendarNotification> o) {
+checkUnnamed1016(core.List<api.CalendarNotification> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarNotification(o[0]);
checkCalendarNotification(o[1]);
@@ -241,7 +241,7 @@
var o = new api.CalendarListEntryNotificationSettings();
buildCounterCalendarListEntryNotificationSettings++;
if (buildCounterCalendarListEntryNotificationSettings < 3) {
- o.notifications = buildUnnamed1025();
+ o.notifications = buildUnnamed1016();
}
buildCounterCalendarListEntryNotificationSettings--;
return o;
@@ -250,7 +250,7 @@
checkCalendarListEntryNotificationSettings(api.CalendarListEntryNotificationSettings o) {
buildCounterCalendarListEntryNotificationSettings++;
if (buildCounterCalendarListEntryNotificationSettings < 3) {
- checkUnnamed1025(o.notifications);
+ checkUnnamed1016(o.notifications);
}
buildCounterCalendarListEntryNotificationSettings--;
}
@@ -263,7 +263,7 @@
o.accessRole = "foo";
o.backgroundColor = "foo";
o.colorId = "foo";
- o.defaultReminders = buildUnnamed1024();
+ o.defaultReminders = buildUnnamed1015();
o.deleted = true;
o.description = "foo";
o.etag = "foo";
@@ -289,7 +289,7 @@
unittest.expect(o.accessRole, unittest.equals('foo'));
unittest.expect(o.backgroundColor, unittest.equals('foo'));
unittest.expect(o.colorId, unittest.equals('foo'));
- checkUnnamed1024(o.defaultReminders);
+ checkUnnamed1015(o.defaultReminders);
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
@@ -329,14 +329,14 @@
buildCounterCalendarNotification--;
}
-buildUnnamed1026() {
+buildUnnamed1017() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1026(core.Map<core.String, core.String> o) {
+checkUnnamed1017(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'));
@@ -351,7 +351,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed1026();
+ o.params = buildUnnamed1017();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -369,7 +369,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1026(o.params);
+ checkUnnamed1017(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -400,27 +400,27 @@
buildCounterColorDefinition--;
}
-buildUnnamed1027() {
+buildUnnamed1018() {
var o = new core.Map<core.String, api.ColorDefinition>();
o["x"] = buildColorDefinition();
o["y"] = buildColorDefinition();
return o;
}
-checkUnnamed1027(core.Map<core.String, api.ColorDefinition> o) {
+checkUnnamed1018(core.Map<core.String, api.ColorDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorDefinition(o["x"]);
checkColorDefinition(o["y"]);
}
-buildUnnamed1028() {
+buildUnnamed1019() {
var o = new core.Map<core.String, api.ColorDefinition>();
o["x"] = buildColorDefinition();
o["y"] = buildColorDefinition();
return o;
}
-checkUnnamed1028(core.Map<core.String, api.ColorDefinition> o) {
+checkUnnamed1019(core.Map<core.String, api.ColorDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorDefinition(o["x"]);
checkColorDefinition(o["y"]);
@@ -431,8 +431,8 @@
var o = new api.Colors();
buildCounterColors++;
if (buildCounterColors < 3) {
- o.calendar = buildUnnamed1027();
- o.event = buildUnnamed1028();
+ o.calendar = buildUnnamed1018();
+ o.event = buildUnnamed1019();
o.kind = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
}
@@ -443,22 +443,22 @@
checkColors(api.Colors o) {
buildCounterColors++;
if (buildCounterColors < 3) {
- checkUnnamed1027(o.calendar);
- checkUnnamed1028(o.event);
+ checkUnnamed1018(o.calendar);
+ checkUnnamed1019(o.event);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
}
buildCounterColors--;
}
-buildUnnamed1029() {
+buildUnnamed1020() {
var o = new core.List<api.Link>();
o.add(buildLink());
o.add(buildLink());
return o;
}
-checkUnnamed1029(core.List<api.Link> o) {
+checkUnnamed1020(core.List<api.Link> o) {
unittest.expect(o, unittest.hasLength(2));
checkLink(o[0]);
checkLink(o[1]);
@@ -469,7 +469,7 @@
var o = new api.DeepLinkData();
buildCounterDeepLinkData++;
if (buildCounterDeepLinkData < 3) {
- o.links = buildUnnamed1029();
+ o.links = buildUnnamed1020();
o.url = "foo";
}
buildCounterDeepLinkData--;
@@ -479,7 +479,7 @@
checkDeepLinkData(api.DeepLinkData o) {
buildCounterDeepLinkData++;
if (buildCounterDeepLinkData < 3) {
- checkUnnamed1029(o.links);
+ checkUnnamed1020(o.links);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterDeepLinkData--;
@@ -533,27 +533,27 @@
buildCounterError--;
}
-buildUnnamed1030() {
+buildUnnamed1021() {
var o = new core.List<api.EventAttachment>();
o.add(buildEventAttachment());
o.add(buildEventAttachment());
return o;
}
-checkUnnamed1030(core.List<api.EventAttachment> o) {
+checkUnnamed1021(core.List<api.EventAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventAttachment(o[0]);
checkEventAttachment(o[1]);
}
-buildUnnamed1031() {
+buildUnnamed1022() {
var o = new core.List<api.EventAttendee>();
o.add(buildEventAttendee());
o.add(buildEventAttendee());
return o;
}
-checkUnnamed1031(core.List<api.EventAttendee> o) {
+checkUnnamed1022(core.List<api.EventAttendee> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventAttendee(o[0]);
checkEventAttendee(o[1]);
@@ -584,27 +584,27 @@
buildCounterEventCreator--;
}
-buildUnnamed1032() {
+buildUnnamed1023() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1032(core.Map<core.String, core.String> o) {
+checkUnnamed1023(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'));
}
-buildUnnamed1033() {
+buildUnnamed1024() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1033(core.Map<core.String, core.String> o) {
+checkUnnamed1024(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'));
@@ -615,8 +615,8 @@
var o = new api.EventExtendedProperties();
buildCounterEventExtendedProperties++;
if (buildCounterEventExtendedProperties < 3) {
- o.private = buildUnnamed1032();
- o.shared = buildUnnamed1033();
+ o.private = buildUnnamed1023();
+ o.shared = buildUnnamed1024();
}
buildCounterEventExtendedProperties--;
return o;
@@ -625,20 +625,20 @@
checkEventExtendedProperties(api.EventExtendedProperties o) {
buildCounterEventExtendedProperties++;
if (buildCounterEventExtendedProperties < 3) {
- checkUnnamed1032(o.private);
- checkUnnamed1033(o.shared);
+ checkUnnamed1023(o.private);
+ checkUnnamed1024(o.shared);
}
buildCounterEventExtendedProperties--;
}
-buildUnnamed1034() {
+buildUnnamed1025() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1034(core.Map<core.String, core.String> o) {
+checkUnnamed1025(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'));
@@ -653,7 +653,7 @@
o.height = 42;
o.iconLink = "foo";
o.link = "foo";
- o.preferences = buildUnnamed1034();
+ o.preferences = buildUnnamed1025();
o.title = "foo";
o.type = "foo";
o.width = 42;
@@ -669,7 +669,7 @@
unittest.expect(o.height, unittest.equals(42));
unittest.expect(o.iconLink, unittest.equals('foo'));
unittest.expect(o.link, unittest.equals('foo'));
- checkUnnamed1034(o.preferences);
+ checkUnnamed1025(o.preferences);
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -702,27 +702,27 @@
buildCounterEventOrganizer--;
}
-buildUnnamed1035() {
+buildUnnamed1026() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1035(core.List<core.String> o) {
+checkUnnamed1026(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1036() {
+buildUnnamed1027() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed1036(core.List<api.EventReminder> o) {
+checkUnnamed1027(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
@@ -733,7 +733,7 @@
var o = new api.EventReminders();
buildCounterEventReminders++;
if (buildCounterEventReminders < 3) {
- o.overrides = buildUnnamed1036();
+ o.overrides = buildUnnamed1027();
o.useDefault = true;
}
buildCounterEventReminders--;
@@ -743,7 +743,7 @@
checkEventReminders(api.EventReminders o) {
buildCounterEventReminders++;
if (buildCounterEventReminders < 3) {
- checkUnnamed1036(o.overrides);
+ checkUnnamed1027(o.overrides);
unittest.expect(o.useDefault, unittest.isTrue);
}
buildCounterEventReminders--;
@@ -776,8 +776,8 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
o.anyoneCanAddSelf = true;
- o.attachments = buildUnnamed1030();
- o.attendees = buildUnnamed1031();
+ o.attachments = buildUnnamed1021();
+ o.attendees = buildUnnamed1022();
o.attendeesOmitted = true;
o.colorId = "foo";
o.created = core.DateTime.parse("2002-02-27T14:01:02");
@@ -801,7 +801,7 @@
o.organizer = buildEventOrganizer();
o.originalStartTime = buildEventDateTime();
o.privateCopy = true;
- o.recurrence = buildUnnamed1035();
+ o.recurrence = buildUnnamed1026();
o.recurringEventId = "foo";
o.reminders = buildEventReminders();
o.sequence = 42;
@@ -821,8 +821,8 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
unittest.expect(o.anyoneCanAddSelf, unittest.isTrue);
- checkUnnamed1030(o.attachments);
- checkUnnamed1031(o.attendees);
+ checkUnnamed1021(o.attachments);
+ checkUnnamed1022(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")));
@@ -846,7 +846,7 @@
checkEventOrganizer(o.organizer);
checkEventDateTime(o.originalStartTime);
unittest.expect(o.privateCopy, unittest.isTrue);
- checkUnnamed1035(o.recurrence);
+ checkUnnamed1026(o.recurrence);
unittest.expect(o.recurringEventId, unittest.equals('foo'));
checkEventReminders(o.reminders);
unittest.expect(o.sequence, unittest.equals(42));
@@ -990,27 +990,27 @@
buildCounterEventReminder--;
}
-buildUnnamed1037() {
+buildUnnamed1028() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed1037(core.List<api.EventReminder> o) {
+checkUnnamed1028(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
}
-buildUnnamed1038() {
+buildUnnamed1029() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1038(core.List<api.Event> o) {
+checkUnnamed1029(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
@@ -1022,10 +1022,10 @@
buildCounterEvents++;
if (buildCounterEvents < 3) {
o.accessRole = "foo";
- o.defaultReminders = buildUnnamed1037();
+ o.defaultReminders = buildUnnamed1028();
o.description = "foo";
o.etag = "foo";
- o.items = buildUnnamed1038();
+ o.items = buildUnnamed1029();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -1041,10 +1041,10 @@
buildCounterEvents++;
if (buildCounterEvents < 3) {
unittest.expect(o.accessRole, unittest.equals('foo'));
- checkUnnamed1037(o.defaultReminders);
+ checkUnnamed1028(o.defaultReminders);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1038(o.items);
+ checkUnnamed1029(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -1055,27 +1055,27 @@
buildCounterEvents--;
}
-buildUnnamed1039() {
+buildUnnamed1030() {
var o = new core.List<api.TimePeriod>();
o.add(buildTimePeriod());
o.add(buildTimePeriod());
return o;
}
-checkUnnamed1039(core.List<api.TimePeriod> o) {
+checkUnnamed1030(core.List<api.TimePeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimePeriod(o[0]);
checkTimePeriod(o[1]);
}
-buildUnnamed1040() {
+buildUnnamed1031() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1040(core.List<api.Error> o) {
+checkUnnamed1031(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -1086,8 +1086,8 @@
var o = new api.FreeBusyCalendar();
buildCounterFreeBusyCalendar++;
if (buildCounterFreeBusyCalendar < 3) {
- o.busy = buildUnnamed1039();
- o.errors = buildUnnamed1040();
+ o.busy = buildUnnamed1030();
+ o.errors = buildUnnamed1031();
}
buildCounterFreeBusyCalendar--;
return o;
@@ -1096,33 +1096,33 @@
checkFreeBusyCalendar(api.FreeBusyCalendar o) {
buildCounterFreeBusyCalendar++;
if (buildCounterFreeBusyCalendar < 3) {
- checkUnnamed1039(o.busy);
- checkUnnamed1040(o.errors);
+ checkUnnamed1030(o.busy);
+ checkUnnamed1031(o.errors);
}
buildCounterFreeBusyCalendar--;
}
-buildUnnamed1041() {
+buildUnnamed1032() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1041(core.List<core.String> o) {
+checkUnnamed1032(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1042() {
+buildUnnamed1033() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1042(core.List<api.Error> o) {
+checkUnnamed1033(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -1133,8 +1133,8 @@
var o = new api.FreeBusyGroup();
buildCounterFreeBusyGroup++;
if (buildCounterFreeBusyGroup < 3) {
- o.calendars = buildUnnamed1041();
- o.errors = buildUnnamed1042();
+ o.calendars = buildUnnamed1032();
+ o.errors = buildUnnamed1033();
}
buildCounterFreeBusyGroup--;
return o;
@@ -1143,20 +1143,20 @@
checkFreeBusyGroup(api.FreeBusyGroup o) {
buildCounterFreeBusyGroup++;
if (buildCounterFreeBusyGroup < 3) {
- checkUnnamed1041(o.calendars);
- checkUnnamed1042(o.errors);
+ checkUnnamed1032(o.calendars);
+ checkUnnamed1033(o.errors);
}
buildCounterFreeBusyGroup--;
}
-buildUnnamed1043() {
+buildUnnamed1034() {
var o = new core.List<api.FreeBusyRequestItem>();
o.add(buildFreeBusyRequestItem());
o.add(buildFreeBusyRequestItem());
return o;
}
-checkUnnamed1043(core.List<api.FreeBusyRequestItem> o) {
+checkUnnamed1034(core.List<api.FreeBusyRequestItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyRequestItem(o[0]);
checkFreeBusyRequestItem(o[1]);
@@ -1169,7 +1169,7 @@
if (buildCounterFreeBusyRequest < 3) {
o.calendarExpansionMax = 42;
o.groupExpansionMax = 42;
- o.items = buildUnnamed1043();
+ o.items = buildUnnamed1034();
o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
o.timeZone = "foo";
@@ -1183,7 +1183,7 @@
if (buildCounterFreeBusyRequest < 3) {
unittest.expect(o.calendarExpansionMax, unittest.equals(42));
unittest.expect(o.groupExpansionMax, unittest.equals(42));
- checkUnnamed1043(o.items);
+ checkUnnamed1034(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'));
@@ -1210,27 +1210,27 @@
buildCounterFreeBusyRequestItem--;
}
-buildUnnamed1044() {
+buildUnnamed1035() {
var o = new core.Map<core.String, api.FreeBusyCalendar>();
o["x"] = buildFreeBusyCalendar();
o["y"] = buildFreeBusyCalendar();
return o;
}
-checkUnnamed1044(core.Map<core.String, api.FreeBusyCalendar> o) {
+checkUnnamed1035(core.Map<core.String, api.FreeBusyCalendar> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyCalendar(o["x"]);
checkFreeBusyCalendar(o["y"]);
}
-buildUnnamed1045() {
+buildUnnamed1036() {
var o = new core.Map<core.String, api.FreeBusyGroup>();
o["x"] = buildFreeBusyGroup();
o["y"] = buildFreeBusyGroup();
return o;
}
-checkUnnamed1045(core.Map<core.String, api.FreeBusyGroup> o) {
+checkUnnamed1036(core.Map<core.String, api.FreeBusyGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyGroup(o["x"]);
checkFreeBusyGroup(o["y"]);
@@ -1241,8 +1241,8 @@
var o = new api.FreeBusyResponse();
buildCounterFreeBusyResponse++;
if (buildCounterFreeBusyResponse < 3) {
- o.calendars = buildUnnamed1044();
- o.groups = buildUnnamed1045();
+ o.calendars = buildUnnamed1035();
+ o.groups = buildUnnamed1036();
o.kind = "foo";
o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
@@ -1254,8 +1254,8 @@
checkFreeBusyResponse(api.FreeBusyResponse o) {
buildCounterFreeBusyResponse++;
if (buildCounterFreeBusyResponse < 3) {
- checkUnnamed1044(o.calendars);
- checkUnnamed1045(o.groups);
+ checkUnnamed1035(o.calendars);
+ checkUnnamed1036(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")));
@@ -1363,14 +1363,14 @@
buildCounterSetting--;
}
-buildUnnamed1046() {
+buildUnnamed1037() {
var o = new core.List<api.Setting>();
o.add(buildSetting());
o.add(buildSetting());
return o;
}
-checkUnnamed1046(core.List<api.Setting> o) {
+checkUnnamed1037(core.List<api.Setting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetting(o[0]);
checkSetting(o[1]);
@@ -1382,7 +1382,7 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
o.etag = "foo";
- o.items = buildUnnamed1046();
+ o.items = buildUnnamed1037();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -1395,7 +1395,7 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1046(o.items);
+ checkUnnamed1037(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -1424,53 +1424,53 @@
buildCounterTimePeriod--;
}
-buildUnnamed1047() {
+buildUnnamed1038() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1047(core.List<core.String> o) {
+checkUnnamed1038(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1048() {
+buildUnnamed1039() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1048(core.List<core.String> o) {
+checkUnnamed1039(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1049() {
+buildUnnamed1040() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1049(core.List<core.String> o) {
+checkUnnamed1040(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1050() {
+buildUnnamed1041() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1050(core.List<core.String> o) {
+checkUnnamed1041(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3359,9 +3359,9 @@
var arg_maxResults = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_privateExtendedProperty = buildUnnamed1047();
+ var arg_privateExtendedProperty = buildUnnamed1038();
var arg_q = "foo";
- var arg_sharedExtendedProperty = buildUnnamed1048();
+ var arg_sharedExtendedProperty = buildUnnamed1039();
var arg_showDeleted = true;
var arg_showHiddenInvitations = true;
var arg_singleEvents = true;
@@ -3707,9 +3707,9 @@
var arg_maxResults = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_privateExtendedProperty = buildUnnamed1049();
+ var arg_privateExtendedProperty = buildUnnamed1040();
var arg_q = "foo";
- var arg_sharedExtendedProperty = buildUnnamed1050();
+ var arg_sharedExtendedProperty = buildUnnamed1041();
var arg_showDeleted = true;
var arg_showHiddenInvitations = true;
var arg_singleEvents = true;
diff --git a/generated/googleapis/test/civicinfo/v2_test.dart b/generated/googleapis/test/civicinfo/v2_test.dart
index eb5fa0e..66ca87f 100644
--- a/generated/googleapis/test/civicinfo/v2_test.dart
+++ b/generated/googleapis/test/civicinfo/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2484() {
+buildUnnamed2498() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2484(core.List<api.Source> o) {
+checkUnnamed2498(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -73,7 +73,7 @@
o.id = "foo";
o.localJurisdiction = buildAdministrationRegion();
o.name = "foo";
- o.sources = buildUnnamed2484();
+ o.sources = buildUnnamed2498();
}
buildCounterAdministrationRegion--;
return o;
@@ -86,45 +86,45 @@
unittest.expect(o.id, unittest.equals('foo'));
checkAdministrationRegion(o.localJurisdiction);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2484(o.sources);
+ checkUnnamed2498(o.sources);
}
buildCounterAdministrationRegion--;
}
-buildUnnamed2485() {
+buildUnnamed2499() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2485(core.List<core.String> o) {
+checkUnnamed2499(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2486() {
+buildUnnamed2500() {
var o = new core.List<api.ElectionOfficial>();
o.add(buildElectionOfficial());
o.add(buildElectionOfficial());
return o;
}
-checkUnnamed2486(core.List<api.ElectionOfficial> o) {
+checkUnnamed2500(core.List<api.ElectionOfficial> o) {
unittest.expect(o, unittest.hasLength(2));
checkElectionOfficial(o[0]);
checkElectionOfficial(o[1]);
}
-buildUnnamed2487() {
+buildUnnamed2501() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2487(core.List<core.String> o) {
+checkUnnamed2501(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -136,18 +136,18 @@
buildCounterAdministrativeBody++;
if (buildCounterAdministrativeBody < 3) {
o.absenteeVotingInfoUrl = "foo";
- o.addressLines = buildUnnamed2485();
+ o.addressLines = buildUnnamed2499();
o.ballotInfoUrl = "foo";
o.correspondenceAddress = buildSimpleAddressType();
o.electionInfoUrl = "foo";
- o.electionOfficials = buildUnnamed2486();
+ o.electionOfficials = buildUnnamed2500();
o.electionRegistrationConfirmationUrl = "foo";
o.electionRegistrationUrl = "foo";
o.electionRulesUrl = "foo";
o.hoursOfOperation = "foo";
o.name = "foo";
o.physicalAddress = buildSimpleAddressType();
- o.voterServices = buildUnnamed2487();
+ o.voterServices = buildUnnamed2501();
o.votingLocationFinderUrl = "foo";
}
buildCounterAdministrativeBody--;
@@ -158,31 +158,31 @@
buildCounterAdministrativeBody++;
if (buildCounterAdministrativeBody < 3) {
unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo'));
- checkUnnamed2485(o.addressLines);
+ checkUnnamed2499(o.addressLines);
unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
checkSimpleAddressType(o.correspondenceAddress);
unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
- checkUnnamed2486(o.electionOfficials);
+ checkUnnamed2500(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);
- checkUnnamed2487(o.voterServices);
+ checkUnnamed2501(o.voterServices);
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
}
buildCounterAdministrativeBody--;
}
-buildUnnamed2488() {
+buildUnnamed2502() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed2488(core.List<api.Channel> o) {
+checkUnnamed2502(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -194,7 +194,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
o.candidateUrl = "foo";
- o.channels = buildUnnamed2488();
+ o.channels = buildUnnamed2502();
o.email = "foo";
o.name = "foo";
o.orderOnBallot = "foo";
@@ -210,7 +210,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
unittest.expect(o.candidateUrl, unittest.equals('foo'));
- checkUnnamed2488(o.channels);
+ checkUnnamed2502(o.channels);
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.orderOnBallot, unittest.equals('foo'));
@@ -242,66 +242,66 @@
buildCounterChannel--;
}
-buildUnnamed2489() {
+buildUnnamed2503() {
var o = new core.List<api.Candidate>();
o.add(buildCandidate());
o.add(buildCandidate());
return o;
}
-checkUnnamed2489(core.List<api.Candidate> o) {
+checkUnnamed2503(core.List<api.Candidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandidate(o[0]);
checkCandidate(o[1]);
}
-buildUnnamed2490() {
+buildUnnamed2504() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2490(core.List<core.String> o) {
+checkUnnamed2504(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2491() {
+buildUnnamed2505() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2491(core.List<core.String> o) {
+checkUnnamed2505(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2492() {
+buildUnnamed2506() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2492(core.List<core.String> o) {
+checkUnnamed2506(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2493() {
+buildUnnamed2507() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2493(core.List<api.Source> o) {
+checkUnnamed2507(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -313,16 +313,16 @@
buildCounterContest++;
if (buildCounterContest < 3) {
o.ballotPlacement = "foo";
- o.candidates = buildUnnamed2489();
+ o.candidates = buildUnnamed2503();
o.district = buildElectoralDistrict();
o.electorateSpecifications = "foo";
o.id = "foo";
- o.level = buildUnnamed2490();
+ o.level = buildUnnamed2504();
o.numberElected = "foo";
o.numberVotingFor = "foo";
o.office = "foo";
o.primaryParty = "foo";
- o.referendumBallotResponses = buildUnnamed2491();
+ o.referendumBallotResponses = buildUnnamed2505();
o.referendumBrief = "foo";
o.referendumConStatement = "foo";
o.referendumEffectOfAbstain = "foo";
@@ -332,8 +332,8 @@
o.referendumText = "foo";
o.referendumTitle = "foo";
o.referendumUrl = "foo";
- o.roles = buildUnnamed2492();
- o.sources = buildUnnamed2493();
+ o.roles = buildUnnamed2506();
+ o.sources = buildUnnamed2507();
o.special = "foo";
o.type = "foo";
}
@@ -345,16 +345,16 @@
buildCounterContest++;
if (buildCounterContest < 3) {
unittest.expect(o.ballotPlacement, unittest.equals('foo'));
- checkUnnamed2489(o.candidates);
+ checkUnnamed2503(o.candidates);
checkElectoralDistrict(o.district);
unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2490(o.level);
+ checkUnnamed2504(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'));
- checkUnnamed2491(o.referendumBallotResponses);
+ checkUnnamed2505(o.referendumBallotResponses);
unittest.expect(o.referendumBrief, unittest.equals('foo'));
unittest.expect(o.referendumConStatement, unittest.equals('foo'));
unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo'));
@@ -364,8 +364,8 @@
unittest.expect(o.referendumText, unittest.equals('foo'));
unittest.expect(o.referendumTitle, unittest.equals('foo'));
unittest.expect(o.referendumUrl, unittest.equals('foo'));
- checkUnnamed2492(o.roles);
- checkUnnamed2493(o.sources);
+ checkUnnamed2506(o.roles);
+ checkUnnamed2507(o.sources);
unittest.expect(o.special, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -429,14 +429,14 @@
buildCounterDivisionSearchRequest--;
}
-buildUnnamed2494() {
+buildUnnamed2508() {
var o = new core.List<api.DivisionSearchResult>();
o.add(buildDivisionSearchResult());
o.add(buildDivisionSearchResult());
return o;
}
-checkUnnamed2494(core.List<api.DivisionSearchResult> o) {
+checkUnnamed2508(core.List<api.DivisionSearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkDivisionSearchResult(o[0]);
checkDivisionSearchResult(o[1]);
@@ -448,7 +448,7 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed2494();
+ o.results = buildUnnamed2508();
}
buildCounterDivisionSearchResponse--;
return o;
@@ -458,19 +458,19 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2494(o.results);
+ checkUnnamed2508(o.results);
}
buildCounterDivisionSearchResponse--;
}
-buildUnnamed2495() {
+buildUnnamed2509() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2495(core.List<core.String> o) {
+checkUnnamed2509(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -481,7 +481,7 @@
var o = new api.DivisionSearchResult();
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- o.aliases = buildUnnamed2495();
+ o.aliases = buildUnnamed2509();
o.name = "foo";
o.ocdId = "foo";
}
@@ -492,7 +492,7 @@
checkDivisionSearchResult(api.DivisionSearchResult o) {
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- checkUnnamed2495(o.aliases);
+ checkUnnamed2509(o.aliases);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ocdId, unittest.equals('foo'));
}
@@ -570,14 +570,14 @@
buildCounterElectionsQueryRequest--;
}
-buildUnnamed2496() {
+buildUnnamed2510() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed2496(core.List<api.Election> o) {
+checkUnnamed2510(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
@@ -588,7 +588,7 @@
var o = new api.ElectionsQueryResponse();
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- o.elections = buildUnnamed2496();
+ o.elections = buildUnnamed2510();
o.kind = "foo";
}
buildCounterElectionsQueryResponse--;
@@ -598,7 +598,7 @@
checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- checkUnnamed2496(o.elections);
+ checkUnnamed2510(o.elections);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterElectionsQueryResponse--;
@@ -629,27 +629,27 @@
buildCounterElectoralDistrict--;
}
-buildUnnamed2497() {
+buildUnnamed2511() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2497(core.List<core.String> o) {
+checkUnnamed2511(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2498() {
+buildUnnamed2512() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2498(core.List<core.int> o) {
+checkUnnamed2512(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));
@@ -660,9 +660,9 @@
var o = new api.GeographicDivision();
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- o.alsoKnownAs = buildUnnamed2497();
+ o.alsoKnownAs = buildUnnamed2511();
o.name = "foo";
- o.officeIndices = buildUnnamed2498();
+ o.officeIndices = buildUnnamed2512();
}
buildCounterGeographicDivision--;
return o;
@@ -671,60 +671,60 @@
checkGeographicDivision(api.GeographicDivision o) {
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- checkUnnamed2497(o.alsoKnownAs);
+ checkUnnamed2511(o.alsoKnownAs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2498(o.officeIndices);
+ checkUnnamed2512(o.officeIndices);
}
buildCounterGeographicDivision--;
}
-buildUnnamed2499() {
+buildUnnamed2513() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2499(core.List<core.String> o) {
+checkUnnamed2513(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2500() {
+buildUnnamed2514() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2500(core.List<core.int> o) {
+checkUnnamed2514(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));
}
-buildUnnamed2501() {
+buildUnnamed2515() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2501(core.List<core.String> o) {
+checkUnnamed2515(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2502() {
+buildUnnamed2516() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2502(core.List<api.Source> o) {
+checkUnnamed2516(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -736,11 +736,11 @@
buildCounterOffice++;
if (buildCounterOffice < 3) {
o.divisionId = "foo";
- o.levels = buildUnnamed2499();
+ o.levels = buildUnnamed2513();
o.name = "foo";
- o.officialIndices = buildUnnamed2500();
- o.roles = buildUnnamed2501();
- o.sources = buildUnnamed2502();
+ o.officialIndices = buildUnnamed2514();
+ o.roles = buildUnnamed2515();
+ o.sources = buildUnnamed2516();
}
buildCounterOffice--;
return o;
@@ -750,75 +750,75 @@
buildCounterOffice++;
if (buildCounterOffice < 3) {
unittest.expect(o.divisionId, unittest.equals('foo'));
- checkUnnamed2499(o.levels);
+ checkUnnamed2513(o.levels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2500(o.officialIndices);
- checkUnnamed2501(o.roles);
- checkUnnamed2502(o.sources);
+ checkUnnamed2514(o.officialIndices);
+ checkUnnamed2515(o.roles);
+ checkUnnamed2516(o.sources);
}
buildCounterOffice--;
}
-buildUnnamed2503() {
+buildUnnamed2517() {
var o = new core.List<api.SimpleAddressType>();
o.add(buildSimpleAddressType());
o.add(buildSimpleAddressType());
return o;
}
-checkUnnamed2503(core.List<api.SimpleAddressType> o) {
+checkUnnamed2517(core.List<api.SimpleAddressType> o) {
unittest.expect(o, unittest.hasLength(2));
checkSimpleAddressType(o[0]);
checkSimpleAddressType(o[1]);
}
-buildUnnamed2504() {
+buildUnnamed2518() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed2504(core.List<api.Channel> o) {
+checkUnnamed2518(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
}
-buildUnnamed2505() {
+buildUnnamed2519() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2505(core.List<core.String> o) {
+checkUnnamed2519(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2506() {
+buildUnnamed2520() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2506(core.List<core.String> o) {
+checkUnnamed2520(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2507() {
+buildUnnamed2521() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2507(core.List<core.String> o) {
+checkUnnamed2521(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -829,14 +829,14 @@
var o = new api.Official();
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- o.address = buildUnnamed2503();
- o.channels = buildUnnamed2504();
- o.emails = buildUnnamed2505();
+ o.address = buildUnnamed2517();
+ o.channels = buildUnnamed2518();
+ o.emails = buildUnnamed2519();
o.name = "foo";
o.party = "foo";
- o.phones = buildUnnamed2506();
+ o.phones = buildUnnamed2520();
o.photoUrl = "foo";
- o.urls = buildUnnamed2507();
+ o.urls = buildUnnamed2521();
}
buildCounterOfficial--;
return o;
@@ -845,26 +845,26 @@
checkOfficial(api.Official o) {
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- checkUnnamed2503(o.address);
- checkUnnamed2504(o.channels);
- checkUnnamed2505(o.emails);
+ checkUnnamed2517(o.address);
+ checkUnnamed2518(o.channels);
+ checkUnnamed2519(o.emails);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.party, unittest.equals('foo'));
- checkUnnamed2506(o.phones);
+ checkUnnamed2520(o.phones);
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2507(o.urls);
+ checkUnnamed2521(o.urls);
}
buildCounterOfficial--;
}
-buildUnnamed2508() {
+buildUnnamed2522() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2508(core.List<api.Source> o) {
+checkUnnamed2522(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -881,7 +881,7 @@
o.name = "foo";
o.notes = "foo";
o.pollingHours = "foo";
- o.sources = buildUnnamed2508();
+ o.sources = buildUnnamed2522();
o.startDate = "foo";
o.voterServices = "foo";
}
@@ -898,21 +898,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.pollingHours, unittest.equals('foo'));
- checkUnnamed2508(o.sources);
+ checkUnnamed2522(o.sources);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.voterServices, unittest.equals('foo'));
}
buildCounterPollingLocation--;
}
-buildUnnamed2509() {
+buildUnnamed2523() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2509(core.List<core.String> o) {
+checkUnnamed2523(core.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,7 +923,7 @@
var o = new api.PostalAddress();
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- o.addressLines = buildUnnamed2509();
+ o.addressLines = buildUnnamed2523();
o.administrativeAreaName = "foo";
o.countryName = "foo";
o.countryNameCode = "foo";
@@ -962,7 +962,7 @@
checkPostalAddress(api.PostalAddress o) {
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- checkUnnamed2509(o.addressLines);
+ checkUnnamed2523(o.addressLines);
unittest.expect(o.administrativeAreaName, unittest.equals('foo'));
unittest.expect(o.countryName, unittest.equals('foo'));
unittest.expect(o.countryNameCode, unittest.equals('foo'));
@@ -997,40 +997,40 @@
buildCounterPostalAddress--;
}
-buildUnnamed2510() {
+buildUnnamed2524() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed2510(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2524(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed2511() {
+buildUnnamed2525() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed2511(core.List<api.Office> o) {
+checkUnnamed2525(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed2512() {
+buildUnnamed2526() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed2512(core.List<api.Official> o) {
+checkUnnamed2526(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -1041,9 +1041,9 @@
var o = new api.RepresentativeInfoData();
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- o.divisions = buildUnnamed2510();
- o.offices = buildUnnamed2511();
- o.officials = buildUnnamed2512();
+ o.divisions = buildUnnamed2524();
+ o.offices = buildUnnamed2525();
+ o.officials = buildUnnamed2526();
}
buildCounterRepresentativeInfoData--;
return o;
@@ -1052,9 +1052,9 @@
checkRepresentativeInfoData(api.RepresentativeInfoData o) {
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- checkUnnamed2510(o.divisions);
- checkUnnamed2511(o.offices);
- checkUnnamed2512(o.officials);
+ checkUnnamed2524(o.divisions);
+ checkUnnamed2525(o.offices);
+ checkUnnamed2526(o.officials);
}
buildCounterRepresentativeInfoData--;
}
@@ -1078,40 +1078,40 @@
buildCounterRepresentativeInfoRequest--;
}
-buildUnnamed2513() {
+buildUnnamed2527() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed2513(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2527(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed2514() {
+buildUnnamed2528() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed2514(core.List<api.Office> o) {
+checkUnnamed2528(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed2515() {
+buildUnnamed2529() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed2515(core.List<api.Official> o) {
+checkUnnamed2529(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -1122,11 +1122,11 @@
var o = new api.RepresentativeInfoResponse();
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- o.divisions = buildUnnamed2513();
+ o.divisions = buildUnnamed2527();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.offices = buildUnnamed2514();
- o.officials = buildUnnamed2515();
+ o.offices = buildUnnamed2528();
+ o.officials = buildUnnamed2529();
}
buildCounterRepresentativeInfoResponse--;
return o;
@@ -1135,11 +1135,11 @@
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- checkUnnamed2513(o.divisions);
+ checkUnnamed2527(o.divisions);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed2514(o.offices);
- checkUnnamed2515(o.officials);
+ checkUnnamed2528(o.offices);
+ checkUnnamed2529(o.officials);
}
buildCounterRepresentativeInfoResponse--;
}
@@ -1217,79 +1217,79 @@
buildCounterVoterInfoRequest--;
}
-buildUnnamed2516() {
+buildUnnamed2530() {
var o = new core.List<api.Contest>();
o.add(buildContest());
o.add(buildContest());
return o;
}
-checkUnnamed2516(core.List<api.Contest> o) {
+checkUnnamed2530(core.List<api.Contest> o) {
unittest.expect(o, unittest.hasLength(2));
checkContest(o[0]);
checkContest(o[1]);
}
-buildUnnamed2517() {
+buildUnnamed2531() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2517(core.List<api.PollingLocation> o) {
+checkUnnamed2531(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2518() {
+buildUnnamed2532() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2518(core.List<api.PollingLocation> o) {
+checkUnnamed2532(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2519() {
+buildUnnamed2533() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed2519(core.List<api.Election> o) {
+checkUnnamed2533(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
}
-buildUnnamed2520() {
+buildUnnamed2534() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2520(core.List<api.PollingLocation> o) {
+checkUnnamed2534(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2521() {
+buildUnnamed2535() {
var o = new core.List<api.AdministrationRegion>();
o.add(buildAdministrationRegion());
o.add(buildAdministrationRegion());
return o;
}
-checkUnnamed2521(core.List<api.AdministrationRegion> o) {
+checkUnnamed2535(core.List<api.AdministrationRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrationRegion(o[0]);
checkAdministrationRegion(o[1]);
@@ -1300,17 +1300,17 @@
var o = new api.VoterInfoResponse();
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- o.contests = buildUnnamed2516();
- o.dropOffLocations = buildUnnamed2517();
- o.earlyVoteSites = buildUnnamed2518();
+ o.contests = buildUnnamed2530();
+ o.dropOffLocations = buildUnnamed2531();
+ o.earlyVoteSites = buildUnnamed2532();
o.election = buildElection();
o.kind = "foo";
o.mailOnly = true;
o.normalizedInput = buildSimpleAddressType();
- o.otherElections = buildUnnamed2519();
- o.pollingLocations = buildUnnamed2520();
+ o.otherElections = buildUnnamed2533();
+ o.pollingLocations = buildUnnamed2534();
o.precinctId = "foo";
- o.state = buildUnnamed2521();
+ o.state = buildUnnamed2535();
}
buildCounterVoterInfoResponse--;
return o;
@@ -1319,17 +1319,17 @@
checkVoterInfoResponse(api.VoterInfoResponse o) {
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- checkUnnamed2516(o.contests);
- checkUnnamed2517(o.dropOffLocations);
- checkUnnamed2518(o.earlyVoteSites);
+ checkUnnamed2530(o.contests);
+ checkUnnamed2531(o.dropOffLocations);
+ checkUnnamed2532(o.earlyVoteSites);
checkElection(o.election);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.mailOnly, unittest.isTrue);
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed2519(o.otherElections);
- checkUnnamed2520(o.pollingLocations);
+ checkUnnamed2533(o.otherElections);
+ checkUnnamed2534(o.pollingLocations);
unittest.expect(o.precinctId, unittest.equals('foo'));
- checkUnnamed2521(o.state);
+ checkUnnamed2535(o.state);
}
buildCounterVoterInfoResponse--;
}
@@ -1359,53 +1359,53 @@
buildCounterVoterInfoSegmentResult--;
}
-buildUnnamed2522() {
+buildUnnamed2536() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2522(core.List<core.String> o) {
+checkUnnamed2536(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2523() {
+buildUnnamed2537() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2523(core.List<core.String> o) {
+checkUnnamed2537(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2524() {
+buildUnnamed2538() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2524(core.List<core.String> o) {
+checkUnnamed2538(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2525() {
+buildUnnamed2539() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2525(core.List<core.String> o) {
+checkUnnamed2539(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1838,8 +1838,8 @@
var arg_request = buildRepresentativeInfoRequest();
var arg_address = "foo";
var arg_includeOffices = true;
- var arg_levels = buildUnnamed2522();
- var arg_roles = buildUnnamed2523();
+ var arg_levels = buildUnnamed2536();
+ var arg_roles = buildUnnamed2537();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.RepresentativeInfoRequest.fromJson(json);
checkRepresentativeInfoRequest(obj);
@@ -1894,9 +1894,9 @@
api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
var arg_request = buildDivisionRepresentativeInfoRequest();
var arg_ocdId = "foo";
- var arg_levels = buildUnnamed2524();
+ var arg_levels = buildUnnamed2538();
var arg_recursive = true;
- var arg_roles = buildUnnamed2525();
+ var arg_roles = buildUnnamed2539();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.DivisionRepresentativeInfoRequest.fromJson(json);
checkDivisionRepresentativeInfoRequest(obj);
diff --git a/generated/googleapis/test/classroom/v1_test.dart b/generated/googleapis/test/classroom/v1_test.dart
index 26eaa4e..165fe17 100644
--- a/generated/googleapis/test/classroom/v1_test.dart
+++ b/generated/googleapis/test/classroom/v1_test.dart
@@ -70,14 +70,14 @@
buildCounterAssignment--;
}
-buildUnnamed691() {
+buildUnnamed678() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed691(core.List<api.Attachment> o) {
+checkUnnamed678(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -88,7 +88,7 @@
var o = new api.AssignmentSubmission();
buildCounterAssignmentSubmission++;
if (buildCounterAssignmentSubmission < 3) {
- o.attachments = buildUnnamed691();
+ o.attachments = buildUnnamed678();
}
buildCounterAssignmentSubmission--;
return o;
@@ -97,7 +97,7 @@
checkAssignmentSubmission(api.AssignmentSubmission o) {
buildCounterAssignmentSubmission++;
if (buildCounterAssignmentSubmission < 3) {
- checkUnnamed691(o.attachments);
+ checkUnnamed678(o.attachments);
}
buildCounterAssignmentSubmission--;
}
@@ -127,14 +127,14 @@
buildCounterAttachment--;
}
-buildUnnamed692() {
+buildUnnamed679() {
var o = new core.List<api.CourseMaterialSet>();
o.add(buildCourseMaterialSet());
o.add(buildCourseMaterialSet());
return o;
}
-checkUnnamed692(core.List<api.CourseMaterialSet> o) {
+checkUnnamed679(core.List<api.CourseMaterialSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseMaterialSet(o[0]);
checkCourseMaterialSet(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterCourse < 3) {
o.alternateLink = "foo";
o.courseGroupEmail = "foo";
- o.courseMaterialSets = buildUnnamed692();
+ o.courseMaterialSets = buildUnnamed679();
o.courseState = "foo";
o.creationTime = "foo";
o.description = "foo";
@@ -172,7 +172,7 @@
if (buildCounterCourse < 3) {
unittest.expect(o.alternateLink, unittest.equals('foo'));
unittest.expect(o.courseGroupEmail, unittest.equals('foo'));
- checkUnnamed692(o.courseMaterialSets);
+ checkUnnamed679(o.courseMaterialSets);
unittest.expect(o.courseState, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
@@ -235,14 +235,14 @@
buildCounterCourseMaterial--;
}
-buildUnnamed693() {
+buildUnnamed680() {
var o = new core.List<api.CourseMaterial>();
o.add(buildCourseMaterial());
o.add(buildCourseMaterial());
return o;
}
-checkUnnamed693(core.List<api.CourseMaterial> o) {
+checkUnnamed680(core.List<api.CourseMaterial> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseMaterial(o[0]);
checkCourseMaterial(o[1]);
@@ -253,7 +253,7 @@
var o = new api.CourseMaterialSet();
buildCounterCourseMaterialSet++;
if (buildCounterCourseMaterialSet < 3) {
- o.materials = buildUnnamed693();
+ o.materials = buildUnnamed680();
o.title = "foo";
}
buildCounterCourseMaterialSet--;
@@ -263,20 +263,20 @@
checkCourseMaterialSet(api.CourseMaterialSet o) {
buildCounterCourseMaterialSet++;
if (buildCounterCourseMaterialSet < 3) {
- checkUnnamed693(o.materials);
+ checkUnnamed680(o.materials);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterCourseMaterialSet--;
}
-buildUnnamed694() {
+buildUnnamed681() {
var o = new core.List<api.Material>();
o.add(buildMaterial());
o.add(buildMaterial());
return o;
}
-checkUnnamed694(core.List<api.Material> o) {
+checkUnnamed681(core.List<api.Material> o) {
unittest.expect(o, unittest.hasLength(2));
checkMaterial(o[0]);
checkMaterial(o[1]);
@@ -296,7 +296,7 @@
o.dueDate = buildDate();
o.dueTime = buildTimeOfDay();
o.id = "foo";
- o.materials = buildUnnamed694();
+ o.materials = buildUnnamed681();
o.maxPoints = 42.0;
o.multipleChoiceQuestion = buildMultipleChoiceQuestion();
o.state = "foo";
@@ -321,7 +321,7 @@
checkDate(o.dueDate);
checkTimeOfDay(o.dueTime);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed694(o.materials);
+ checkUnnamed681(o.materials);
unittest.expect(o.maxPoints, unittest.equals(42.0));
checkMultipleChoiceQuestion(o.multipleChoiceQuestion);
unittest.expect(o.state, unittest.equals('foo'));
@@ -565,14 +565,14 @@
buildCounterLink--;
}
-buildUnnamed695() {
+buildUnnamed682() {
var o = new core.List<api.CourseAlias>();
o.add(buildCourseAlias());
o.add(buildCourseAlias());
return o;
}
-checkUnnamed695(core.List<api.CourseAlias> o) {
+checkUnnamed682(core.List<api.CourseAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseAlias(o[0]);
checkCourseAlias(o[1]);
@@ -583,7 +583,7 @@
var o = new api.ListCourseAliasesResponse();
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- o.aliases = buildUnnamed695();
+ o.aliases = buildUnnamed682();
o.nextPageToken = "foo";
}
buildCounterListCourseAliasesResponse--;
@@ -593,20 +593,20 @@
checkListCourseAliasesResponse(api.ListCourseAliasesResponse o) {
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- checkUnnamed695(o.aliases);
+ checkUnnamed682(o.aliases);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseAliasesResponse--;
}
-buildUnnamed696() {
+buildUnnamed683() {
var o = new core.List<api.CourseWork>();
o.add(buildCourseWork());
o.add(buildCourseWork());
return o;
}
-checkUnnamed696(core.List<api.CourseWork> o) {
+checkUnnamed683(core.List<api.CourseWork> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseWork(o[0]);
checkCourseWork(o[1]);
@@ -617,7 +617,7 @@
var o = new api.ListCourseWorkResponse();
buildCounterListCourseWorkResponse++;
if (buildCounterListCourseWorkResponse < 3) {
- o.courseWork = buildUnnamed696();
+ o.courseWork = buildUnnamed683();
o.nextPageToken = "foo";
}
buildCounterListCourseWorkResponse--;
@@ -627,20 +627,20 @@
checkListCourseWorkResponse(api.ListCourseWorkResponse o) {
buildCounterListCourseWorkResponse++;
if (buildCounterListCourseWorkResponse < 3) {
- checkUnnamed696(o.courseWork);
+ checkUnnamed683(o.courseWork);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseWorkResponse--;
}
-buildUnnamed697() {
+buildUnnamed684() {
var o = new core.List<api.Course>();
o.add(buildCourse());
o.add(buildCourse());
return o;
}
-checkUnnamed697(core.List<api.Course> o) {
+checkUnnamed684(core.List<api.Course> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourse(o[0]);
checkCourse(o[1]);
@@ -651,7 +651,7 @@
var o = new api.ListCoursesResponse();
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- o.courses = buildUnnamed697();
+ o.courses = buildUnnamed684();
o.nextPageToken = "foo";
}
buildCounterListCoursesResponse--;
@@ -661,20 +661,20 @@
checkListCoursesResponse(api.ListCoursesResponse o) {
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- checkUnnamed697(o.courses);
+ checkUnnamed684(o.courses);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoursesResponse--;
}
-buildUnnamed698() {
+buildUnnamed685() {
var o = new core.List<api.GuardianInvitation>();
o.add(buildGuardianInvitation());
o.add(buildGuardianInvitation());
return o;
}
-checkUnnamed698(core.List<api.GuardianInvitation> o) {
+checkUnnamed685(core.List<api.GuardianInvitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuardianInvitation(o[0]);
checkGuardianInvitation(o[1]);
@@ -685,7 +685,7 @@
var o = new api.ListGuardianInvitationsResponse();
buildCounterListGuardianInvitationsResponse++;
if (buildCounterListGuardianInvitationsResponse < 3) {
- o.guardianInvitations = buildUnnamed698();
+ o.guardianInvitations = buildUnnamed685();
o.nextPageToken = "foo";
}
buildCounterListGuardianInvitationsResponse--;
@@ -695,20 +695,20 @@
checkListGuardianInvitationsResponse(api.ListGuardianInvitationsResponse o) {
buildCounterListGuardianInvitationsResponse++;
if (buildCounterListGuardianInvitationsResponse < 3) {
- checkUnnamed698(o.guardianInvitations);
+ checkUnnamed685(o.guardianInvitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGuardianInvitationsResponse--;
}
-buildUnnamed699() {
+buildUnnamed686() {
var o = new core.List<api.Guardian>();
o.add(buildGuardian());
o.add(buildGuardian());
return o;
}
-checkUnnamed699(core.List<api.Guardian> o) {
+checkUnnamed686(core.List<api.Guardian> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuardian(o[0]);
checkGuardian(o[1]);
@@ -719,7 +719,7 @@
var o = new api.ListGuardiansResponse();
buildCounterListGuardiansResponse++;
if (buildCounterListGuardiansResponse < 3) {
- o.guardians = buildUnnamed699();
+ o.guardians = buildUnnamed686();
o.nextPageToken = "foo";
}
buildCounterListGuardiansResponse--;
@@ -729,20 +729,20 @@
checkListGuardiansResponse(api.ListGuardiansResponse o) {
buildCounterListGuardiansResponse++;
if (buildCounterListGuardiansResponse < 3) {
- checkUnnamed699(o.guardians);
+ checkUnnamed686(o.guardians);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGuardiansResponse--;
}
-buildUnnamed700() {
+buildUnnamed687() {
var o = new core.List<api.Invitation>();
o.add(buildInvitation());
o.add(buildInvitation());
return o;
}
-checkUnnamed700(core.List<api.Invitation> o) {
+checkUnnamed687(core.List<api.Invitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInvitation(o[0]);
checkInvitation(o[1]);
@@ -753,7 +753,7 @@
var o = new api.ListInvitationsResponse();
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- o.invitations = buildUnnamed700();
+ o.invitations = buildUnnamed687();
o.nextPageToken = "foo";
}
buildCounterListInvitationsResponse--;
@@ -763,20 +763,20 @@
checkListInvitationsResponse(api.ListInvitationsResponse o) {
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- checkUnnamed700(o.invitations);
+ checkUnnamed687(o.invitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInvitationsResponse--;
}
-buildUnnamed701() {
+buildUnnamed688() {
var o = new core.List<api.StudentSubmission>();
o.add(buildStudentSubmission());
o.add(buildStudentSubmission());
return o;
}
-checkUnnamed701(core.List<api.StudentSubmission> o) {
+checkUnnamed688(core.List<api.StudentSubmission> o) {
unittest.expect(o, unittest.hasLength(2));
checkStudentSubmission(o[0]);
checkStudentSubmission(o[1]);
@@ -788,7 +788,7 @@
buildCounterListStudentSubmissionsResponse++;
if (buildCounterListStudentSubmissionsResponse < 3) {
o.nextPageToken = "foo";
- o.studentSubmissions = buildUnnamed701();
+ o.studentSubmissions = buildUnnamed688();
}
buildCounterListStudentSubmissionsResponse--;
return o;
@@ -798,19 +798,19 @@
buildCounterListStudentSubmissionsResponse++;
if (buildCounterListStudentSubmissionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed701(o.studentSubmissions);
+ checkUnnamed688(o.studentSubmissions);
}
buildCounterListStudentSubmissionsResponse--;
}
-buildUnnamed702() {
+buildUnnamed689() {
var o = new core.List<api.Student>();
o.add(buildStudent());
o.add(buildStudent());
return o;
}
-checkUnnamed702(core.List<api.Student> o) {
+checkUnnamed689(core.List<api.Student> o) {
unittest.expect(o, unittest.hasLength(2));
checkStudent(o[0]);
checkStudent(o[1]);
@@ -822,7 +822,7 @@
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
o.nextPageToken = "foo";
- o.students = buildUnnamed702();
+ o.students = buildUnnamed689();
}
buildCounterListStudentsResponse--;
return o;
@@ -832,19 +832,19 @@
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed702(o.students);
+ checkUnnamed689(o.students);
}
buildCounterListStudentsResponse--;
}
-buildUnnamed703() {
+buildUnnamed690() {
var o = new core.List<api.Teacher>();
o.add(buildTeacher());
o.add(buildTeacher());
return o;
}
-checkUnnamed703(core.List<api.Teacher> o) {
+checkUnnamed690(core.List<api.Teacher> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeacher(o[0]);
checkTeacher(o[1]);
@@ -856,7 +856,7 @@
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
o.nextPageToken = "foo";
- o.teachers = buildUnnamed703();
+ o.teachers = buildUnnamed690();
}
buildCounterListTeachersResponse--;
return o;
@@ -866,7 +866,7 @@
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed703(o.teachers);
+ checkUnnamed690(o.teachers);
}
buildCounterListTeachersResponse--;
}
@@ -896,14 +896,14 @@
buildCounterMaterial--;
}
-buildUnnamed704() {
+buildUnnamed691() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed704(core.List<api.Attachment> o) {
+checkUnnamed691(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -914,7 +914,7 @@
var o = new api.ModifyAttachmentsRequest();
buildCounterModifyAttachmentsRequest++;
if (buildCounterModifyAttachmentsRequest < 3) {
- o.addAttachments = buildUnnamed704();
+ o.addAttachments = buildUnnamed691();
}
buildCounterModifyAttachmentsRequest--;
return o;
@@ -923,19 +923,19 @@
checkModifyAttachmentsRequest(api.ModifyAttachmentsRequest o) {
buildCounterModifyAttachmentsRequest++;
if (buildCounterModifyAttachmentsRequest < 3) {
- checkUnnamed704(o.addAttachments);
+ checkUnnamed691(o.addAttachments);
}
buildCounterModifyAttachmentsRequest--;
}
-buildUnnamed705() {
+buildUnnamed692() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed705(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'));
@@ -946,7 +946,7 @@
var o = new api.MultipleChoiceQuestion();
buildCounterMultipleChoiceQuestion++;
if (buildCounterMultipleChoiceQuestion < 3) {
- o.choices = buildUnnamed705();
+ o.choices = buildUnnamed692();
}
buildCounterMultipleChoiceQuestion--;
return o;
@@ -955,7 +955,7 @@
checkMultipleChoiceQuestion(api.MultipleChoiceQuestion o) {
buildCounterMultipleChoiceQuestion++;
if (buildCounterMultipleChoiceQuestion < 3) {
- checkUnnamed705(o.choices);
+ checkUnnamed692(o.choices);
}
buildCounterMultipleChoiceQuestion--;
}
@@ -1215,14 +1215,14 @@
buildCounterTurnInStudentSubmissionRequest--;
}
-buildUnnamed706() {
+buildUnnamed693() {
var o = new core.List<api.GlobalPermission>();
o.add(buildGlobalPermission());
o.add(buildGlobalPermission());
return o;
}
-checkUnnamed706(core.List<api.GlobalPermission> o) {
+checkUnnamed693(core.List<api.GlobalPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkGlobalPermission(o[0]);
checkGlobalPermission(o[1]);
@@ -1236,7 +1236,7 @@
o.emailAddress = "foo";
o.id = "foo";
o.name = buildName();
- o.permissions = buildUnnamed706();
+ o.permissions = buildUnnamed693();
o.photoUrl = "foo";
}
buildCounterUserProfile--;
@@ -1249,7 +1249,7 @@
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkName(o.name);
- checkUnnamed706(o.permissions);
+ checkUnnamed693(o.permissions);
unittest.expect(o.photoUrl, unittest.equals('foo'));
}
buildCounterUserProfile--;
@@ -1280,53 +1280,53 @@
buildCounterYouTubeVideo--;
}
-buildUnnamed707() {
+buildUnnamed694() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed707(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'));
}
-buildUnnamed708() {
+buildUnnamed695() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed708(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'));
}
-buildUnnamed709() {
+buildUnnamed696() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed709(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'));
}
-buildUnnamed710() {
+buildUnnamed697() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed710(core.List<core.String> o) {
+checkUnnamed697(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1867,7 +1867,7 @@
var mock = new HttpServerMock();
api.CoursesResourceApi res = new api.ClassroomApi(mock).courses;
- var arg_courseStates = buildUnnamed707();
+ var arg_courseStates = buildUnnamed694();
var arg_pageSize = 42;
var arg_teacherId = "foo";
var arg_studentId = "foo";
@@ -2363,7 +2363,7 @@
var mock = new HttpServerMock();
api.CoursesCourseWorkResourceApi res = new api.ClassroomApi(mock).courses.courseWork;
var arg_courseId = "foo";
- var arg_courseWorkStates = buildUnnamed708();
+ var arg_courseWorkStates = buildUnnamed695();
var arg_pageSize = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
@@ -2551,7 +2551,7 @@
api.CoursesCourseWorkStudentSubmissionsResourceApi res = new api.ClassroomApi(mock).courses.courseWork.studentSubmissions;
var arg_courseId = "foo";
var arg_courseWorkId = "foo";
- var arg_states = buildUnnamed709();
+ var arg_states = buildUnnamed696();
var arg_userId = "foo";
var arg_pageSize = 42;
var arg_late = "foo";
@@ -3836,7 +3836,7 @@
var arg_studentId = "foo";
var arg_pageSize = 42;
var arg_invitedEmailAddress = "foo";
- var arg_states = buildUnnamed710();
+ var arg_states = buildUnnamed697();
var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/cloudbuild/v1_test.dart b/generated/googleapis/test/cloudbuild/v1_test.dart
index c3dc8b7..e1e9e47 100644
--- a/generated/googleapis/test/cloudbuild/v1_test.dart
+++ b/generated/googleapis/test/cloudbuild/v1_test.dart
@@ -51,40 +51,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1269() {
+buildUnnamed1264() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1269(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'));
}
-buildUnnamed1270() {
+buildUnnamed1265() {
var o = new core.List<api.BuildStep>();
o.add(buildBuildStep());
o.add(buildBuildStep());
return o;
}
-checkUnnamed1270(core.List<api.BuildStep> o) {
+checkUnnamed1265(core.List<api.BuildStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildStep(o[0]);
checkBuildStep(o[1]);
}
-buildUnnamed1271() {
+buildUnnamed1266() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1271(core.Map<core.String, core.String> o) {
+checkUnnamed1266(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'));
@@ -99,7 +99,7 @@
o.createTime = "foo";
o.finishTime = "foo";
o.id = "foo";
- o.images = buildUnnamed1269();
+ o.images = buildUnnamed1264();
o.logUrl = "foo";
o.logsBucket = "foo";
o.options = buildBuildOptions();
@@ -110,8 +110,8 @@
o.startTime = "foo";
o.status = "foo";
o.statusDetail = "foo";
- o.steps = buildUnnamed1270();
- o.substitutions = buildUnnamed1271();
+ o.steps = buildUnnamed1265();
+ o.substitutions = buildUnnamed1266();
o.timeout = "foo";
}
buildCounterBuild--;
@@ -125,7 +125,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.finishTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1269(o.images);
+ checkUnnamed1264(o.images);
unittest.expect(o.logUrl, unittest.equals('foo'));
unittest.expect(o.logsBucket, unittest.equals('foo'));
checkBuildOptions(o.options);
@@ -136,8 +136,8 @@
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusDetail, unittest.equals('foo'));
- checkUnnamed1270(o.steps);
- checkUnnamed1271(o.substitutions);
+ checkUnnamed1265(o.steps);
+ checkUnnamed1266(o.substitutions);
unittest.expect(o.timeout, unittest.equals('foo'));
}
buildCounterBuild--;
@@ -162,14 +162,14 @@
buildCounterBuildOperationMetadata--;
}
-buildUnnamed1272() {
+buildUnnamed1267() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1272(core.List<core.String> o) {
+checkUnnamed1267(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -181,7 +181,7 @@
buildCounterBuildOptions++;
if (buildCounterBuildOptions < 3) {
o.requestedVerifyOption = "foo";
- o.sourceProvenanceHash = buildUnnamed1272();
+ o.sourceProvenanceHash = buildUnnamed1267();
}
buildCounterBuildOptions--;
return o;
@@ -191,45 +191,45 @@
buildCounterBuildOptions++;
if (buildCounterBuildOptions < 3) {
unittest.expect(o.requestedVerifyOption, unittest.equals('foo'));
- checkUnnamed1272(o.sourceProvenanceHash);
+ checkUnnamed1267(o.sourceProvenanceHash);
}
buildCounterBuildOptions--;
}
-buildUnnamed1273() {
+buildUnnamed1268() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1273(core.List<core.String> o) {
+checkUnnamed1268(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1274() {
+buildUnnamed1269() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1274(core.List<core.String> o) {
+checkUnnamed1269(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1275() {
+buildUnnamed1270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1275(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'));
@@ -240,13 +240,13 @@
var o = new api.BuildStep();
buildCounterBuildStep++;
if (buildCounterBuildStep < 3) {
- o.args = buildUnnamed1273();
+ o.args = buildUnnamed1268();
o.dir = "foo";
o.entrypoint = "foo";
- o.env = buildUnnamed1274();
+ o.env = buildUnnamed1269();
o.id = "foo";
o.name = "foo";
- o.waitFor = buildUnnamed1275();
+ o.waitFor = buildUnnamed1270();
}
buildCounterBuildStep--;
return o;
@@ -255,25 +255,25 @@
checkBuildStep(api.BuildStep o) {
buildCounterBuildStep++;
if (buildCounterBuildStep < 3) {
- checkUnnamed1273(o.args);
+ checkUnnamed1268(o.args);
unittest.expect(o.dir, unittest.equals('foo'));
unittest.expect(o.entrypoint, unittest.equals('foo'));
- checkUnnamed1274(o.env);
+ checkUnnamed1269(o.env);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1275(o.waitFor);
+ checkUnnamed1270(o.waitFor);
}
buildCounterBuildStep--;
}
-buildUnnamed1276() {
+buildUnnamed1271() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1276(core.Map<core.String, core.String> o) {
+checkUnnamed1271(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'));
@@ -290,7 +290,7 @@
o.disabled = true;
o.filename = "foo";
o.id = "foo";
- o.substitutions = buildUnnamed1276();
+ o.substitutions = buildUnnamed1271();
o.triggerTemplate = buildRepoSource();
}
buildCounterBuildTrigger--;
@@ -306,7 +306,7 @@
unittest.expect(o.disabled, unittest.isTrue);
unittest.expect(o.filename, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1276(o.substitutions);
+ checkUnnamed1271(o.substitutions);
checkRepoSource(o.triggerTemplate);
}
buildCounterBuildTrigger--;
@@ -384,14 +384,14 @@
buildCounterEmpty--;
}
-buildUnnamed1277() {
+buildUnnamed1272() {
var o = new core.List<api.Hash>();
o.add(buildHash());
o.add(buildHash());
return o;
}
-checkUnnamed1277(core.List<api.Hash> o) {
+checkUnnamed1272(core.List<api.Hash> o) {
unittest.expect(o, unittest.hasLength(2));
checkHash(o[0]);
checkHash(o[1]);
@@ -402,7 +402,7 @@
var o = new api.FileHashes();
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- o.fileHash = buildUnnamed1277();
+ o.fileHash = buildUnnamed1272();
}
buildCounterFileHashes--;
return o;
@@ -411,7 +411,7 @@
checkFileHashes(api.FileHashes o) {
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- checkUnnamed1277(o.fileHash);
+ checkUnnamed1272(o.fileHash);
}
buildCounterFileHashes--;
}
@@ -437,14 +437,14 @@
buildCounterHash--;
}
-buildUnnamed1278() {
+buildUnnamed1273() {
var o = new core.List<api.BuildTrigger>();
o.add(buildBuildTrigger());
o.add(buildBuildTrigger());
return o;
}
-checkUnnamed1278(core.List<api.BuildTrigger> o) {
+checkUnnamed1273(core.List<api.BuildTrigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildTrigger(o[0]);
checkBuildTrigger(o[1]);
@@ -455,7 +455,7 @@
var o = new api.ListBuildTriggersResponse();
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
- o.triggers = buildUnnamed1278();
+ o.triggers = buildUnnamed1273();
}
buildCounterListBuildTriggersResponse--;
return o;
@@ -464,19 +464,19 @@
checkListBuildTriggersResponse(api.ListBuildTriggersResponse o) {
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
- checkUnnamed1278(o.triggers);
+ checkUnnamed1273(o.triggers);
}
buildCounterListBuildTriggersResponse--;
}
-buildUnnamed1279() {
+buildUnnamed1274() {
var o = new core.List<api.Build>();
o.add(buildBuild());
o.add(buildBuild());
return o;
}
-checkUnnamed1279(core.List<api.Build> o) {
+checkUnnamed1274(core.List<api.Build> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuild(o[0]);
checkBuild(o[1]);
@@ -487,7 +487,7 @@
var o = new api.ListBuildsResponse();
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- o.builds = buildUnnamed1279();
+ o.builds = buildUnnamed1274();
o.nextPageToken = "foo";
}
buildCounterListBuildsResponse--;
@@ -497,20 +497,20 @@
checkListBuildsResponse(api.ListBuildsResponse o) {
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- checkUnnamed1279(o.builds);
+ checkUnnamed1274(o.builds);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBuildsResponse--;
}
-buildUnnamed1280() {
+buildUnnamed1275() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1280(core.List<api.Operation> o) {
+checkUnnamed1275(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -522,7 +522,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1280();
+ o.operations = buildUnnamed1275();
}
buildCounterListOperationsResponse--;
return o;
@@ -532,32 +532,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1280(o.operations);
+ checkUnnamed1275(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1281() {
+buildUnnamed1276() {
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;
}
-checkUnnamed1281(core.Map<core.String, core.Object> o) {
+checkUnnamed1276(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'));
}
-buildUnnamed1282() {
+buildUnnamed1277() {
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;
}
-checkUnnamed1282(core.Map<core.String, core.Object> o) {
+checkUnnamed1277(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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["y"]) 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'));
@@ -570,9 +570,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1281();
+ o.metadata = buildUnnamed1276();
o.name = "foo";
- o.response = buildUnnamed1282();
+ o.response = buildUnnamed1277();
}
buildCounterOperation--;
return o;
@@ -583,9 +583,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1281(o.metadata);
+ checkUnnamed1276(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1282(o.response);
+ checkUnnamed1277(o.response);
}
buildCounterOperation--;
}
@@ -617,27 +617,27 @@
buildCounterRepoSource--;
}
-buildUnnamed1283() {
+buildUnnamed1278() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1283(core.List<core.String> o) {
+checkUnnamed1278(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1284() {
+buildUnnamed1279() {
var o = new core.List<api.BuiltImage>();
o.add(buildBuiltImage());
o.add(buildBuiltImage());
return o;
}
-checkUnnamed1284(core.List<api.BuiltImage> o) {
+checkUnnamed1279(core.List<api.BuiltImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltImage(o[0]);
checkBuiltImage(o[1]);
@@ -648,8 +648,8 @@
var o = new api.Results();
buildCounterResults++;
if (buildCounterResults < 3) {
- o.buildStepImages = buildUnnamed1283();
- o.images = buildUnnamed1284();
+ o.buildStepImages = buildUnnamed1278();
+ o.images = buildUnnamed1279();
}
buildCounterResults--;
return o;
@@ -658,8 +658,8 @@
checkResults(api.Results o) {
buildCounterResults++;
if (buildCounterResults < 3) {
- checkUnnamed1283(o.buildStepImages);
- checkUnnamed1284(o.images);
+ checkUnnamed1278(o.buildStepImages);
+ checkUnnamed1279(o.images);
}
buildCounterResults--;
}
@@ -685,14 +685,14 @@
buildCounterSource--;
}
-buildUnnamed1285() {
+buildUnnamed1280() {
var o = new core.Map<core.String, api.FileHashes>();
o["x"] = buildFileHashes();
o["y"] = buildFileHashes();
return o;
}
-checkUnnamed1285(core.Map<core.String, api.FileHashes> o) {
+checkUnnamed1280(core.Map<core.String, api.FileHashes> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileHashes(o["x"]);
checkFileHashes(o["y"]);
@@ -703,7 +703,7 @@
var o = new api.SourceProvenance();
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- o.fileHashes = buildUnnamed1285();
+ o.fileHashes = buildUnnamed1280();
o.resolvedRepoSource = buildRepoSource();
o.resolvedStorageSource = buildStorageSource();
}
@@ -714,37 +714,37 @@
checkSourceProvenance(api.SourceProvenance o) {
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- checkUnnamed1285(o.fileHashes);
+ checkUnnamed1280(o.fileHashes);
checkRepoSource(o.resolvedRepoSource);
checkStorageSource(o.resolvedStorageSource);
}
buildCounterSourceProvenance--;
}
-buildUnnamed1286() {
+buildUnnamed1281() {
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;
}
-checkUnnamed1286(core.Map<core.String, core.Object> o) {
+checkUnnamed1281(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed1287() {
+buildUnnamed1282() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1286());
- o.add(buildUnnamed1286());
+ o.add(buildUnnamed1281());
+ o.add(buildUnnamed1281());
return o;
}
-checkUnnamed1287(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1282(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1286(o[0]);
- checkUnnamed1286(o[1]);
+ checkUnnamed1281(o[0]);
+ checkUnnamed1281(o[1]);
}
core.int buildCounterStatus = 0;
@@ -753,7 +753,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1287();
+ o.details = buildUnnamed1282();
o.message = "foo";
}
buildCounterStatus--;
@@ -764,7 +764,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1287(o.details);
+ checkUnnamed1282(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1312,9 +1312,9 @@
var mock = new HttpServerMock();
api.ProjectsBuildsResourceApi res = new api.CloudbuildApi(mock).projects.builds;
var arg_projectId = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
- var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1348,9 +1348,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1359,7 +1359,7 @@
var resp = convert.JSON.encode(buildListBuildsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListBuildsResponse response) {
+ res.list(arg_projectId, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListBuildsResponse response) {
checkListBuildsResponse(response);
})));
});
diff --git a/generated/googleapis/test/clouddebugger/v2_test.dart b/generated/googleapis/test/clouddebugger/v2_test.dart
index 83fce38..453b346 100644
--- a/generated/googleapis/test/clouddebugger/v2_test.dart
+++ b/generated/googleapis/test/clouddebugger/v2_test.dart
@@ -72,66 +72,66 @@
buildCounterAliasContext--;
}
-buildUnnamed802() {
+buildUnnamed793() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed802(core.List<api.Variable> o) {
+checkUnnamed793(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed803() {
+buildUnnamed794() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed803(core.List<core.String> o) {
+checkUnnamed794(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed804() {
+buildUnnamed795() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed804(core.Map<core.String, core.String> o) {
+checkUnnamed795(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'));
}
-buildUnnamed805() {
+buildUnnamed796() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed805(core.List<api.StackFrame> o) {
+checkUnnamed796(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
}
-buildUnnamed806() {
+buildUnnamed797() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed806(core.List<api.Variable> o) {
+checkUnnamed797(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -145,19 +145,19 @@
o.action = "foo";
o.condition = "foo";
o.createTime = "foo";
- o.evaluatedExpressions = buildUnnamed802();
- o.expressions = buildUnnamed803();
+ o.evaluatedExpressions = buildUnnamed793();
+ o.expressions = buildUnnamed794();
o.finalTime = "foo";
o.id = "foo";
o.isFinalState = true;
- o.labels = buildUnnamed804();
+ o.labels = buildUnnamed795();
o.location = buildSourceLocation();
o.logLevel = "foo";
o.logMessageFormat = "foo";
- o.stackFrames = buildUnnamed805();
+ o.stackFrames = buildUnnamed796();
o.status = buildStatusMessage();
o.userEmail = "foo";
- o.variableTable = buildUnnamed806();
+ o.variableTable = buildUnnamed797();
}
buildCounterBreakpoint--;
return o;
@@ -169,19 +169,19 @@
unittest.expect(o.action, unittest.equals('foo'));
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed802(o.evaluatedExpressions);
- checkUnnamed803(o.expressions);
+ checkUnnamed793(o.evaluatedExpressions);
+ checkUnnamed794(o.expressions);
unittest.expect(o.finalTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isFinalState, unittest.isTrue);
- checkUnnamed804(o.labels);
+ checkUnnamed795(o.labels);
checkSourceLocation(o.location);
unittest.expect(o.logLevel, unittest.equals('foo'));
unittest.expect(o.logMessageFormat, unittest.equals('foo'));
- checkUnnamed805(o.stackFrames);
+ checkUnnamed796(o.stackFrames);
checkStatusMessage(o.status);
unittest.expect(o.userEmail, unittest.equals('foo'));
- checkUnnamed806(o.variableTable);
+ checkUnnamed797(o.variableTable);
}
buildCounterBreakpoint--;
}
@@ -253,40 +253,40 @@
buildCounterCloudWorkspaceSourceContext--;
}
-buildUnnamed807() {
+buildUnnamed798() {
var o = new core.List<api.ExtendedSourceContext>();
o.add(buildExtendedSourceContext());
o.add(buildExtendedSourceContext());
return o;
}
-checkUnnamed807(core.List<api.ExtendedSourceContext> o) {
+checkUnnamed798(core.List<api.ExtendedSourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedSourceContext(o[0]);
checkExtendedSourceContext(o[1]);
}
-buildUnnamed808() {
+buildUnnamed799() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed808(core.Map<core.String, core.String> o) {
+checkUnnamed799(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'));
}
-buildUnnamed809() {
+buildUnnamed800() {
var o = new core.List<api.SourceContext>();
o.add(buildSourceContext());
o.add(buildSourceContext());
return o;
}
-checkUnnamed809(core.List<api.SourceContext> o) {
+checkUnnamed800(core.List<api.SourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceContext(o[0]);
checkSourceContext(o[1]);
@@ -299,13 +299,13 @@
if (buildCounterDebuggee < 3) {
o.agentVersion = "foo";
o.description = "foo";
- o.extSourceContexts = buildUnnamed807();
+ o.extSourceContexts = buildUnnamed798();
o.id = "foo";
o.isDisabled = true;
o.isInactive = true;
- o.labels = buildUnnamed808();
+ o.labels = buildUnnamed799();
o.project = "foo";
- o.sourceContexts = buildUnnamed809();
+ o.sourceContexts = buildUnnamed800();
o.status = buildStatusMessage();
o.uniquifier = "foo";
}
@@ -318,13 +318,13 @@
if (buildCounterDebuggee < 3) {
unittest.expect(o.agentVersion, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed807(o.extSourceContexts);
+ checkUnnamed798(o.extSourceContexts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isDisabled, unittest.isTrue);
unittest.expect(o.isInactive, unittest.isTrue);
- checkUnnamed808(o.labels);
+ checkUnnamed799(o.labels);
unittest.expect(o.project, unittest.equals('foo'));
- checkUnnamed809(o.sourceContexts);
+ checkUnnamed800(o.sourceContexts);
checkStatusMessage(o.status);
unittest.expect(o.uniquifier, unittest.equals('foo'));
}
@@ -348,14 +348,14 @@
buildCounterEmpty--;
}
-buildUnnamed810() {
+buildUnnamed801() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed810(core.Map<core.String, core.String> o) {
+checkUnnamed801(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'));
@@ -367,7 +367,7 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
o.context = buildSourceContext();
- o.labels = buildUnnamed810();
+ o.labels = buildUnnamed801();
}
buildCounterExtendedSourceContext--;
return o;
@@ -377,19 +377,19 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
checkSourceContext(o.context);
- checkUnnamed810(o.labels);
+ checkUnnamed801(o.labels);
}
buildCounterExtendedSourceContext--;
}
-buildUnnamed811() {
+buildUnnamed802() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed811(core.List<core.String> o) {
+checkUnnamed802(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -401,7 +401,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
o.format = "foo";
- o.parameters = buildUnnamed811();
+ o.parameters = buildUnnamed802();
}
buildCounterFormatMessage--;
return o;
@@ -411,7 +411,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed811(o.parameters);
+ checkUnnamed802(o.parameters);
}
buildCounterFormatMessage--;
}
@@ -483,14 +483,14 @@
buildCounterGitSourceContext--;
}
-buildUnnamed812() {
+buildUnnamed803() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed812(core.List<api.Breakpoint> o) {
+checkUnnamed803(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -501,7 +501,7 @@
var o = new api.ListActiveBreakpointsResponse();
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed812();
+ o.breakpoints = buildUnnamed803();
o.nextWaitToken = "foo";
o.waitExpired = true;
}
@@ -512,21 +512,21 @@
checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) {
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- checkUnnamed812(o.breakpoints);
+ checkUnnamed803(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
unittest.expect(o.waitExpired, unittest.isTrue);
}
buildCounterListActiveBreakpointsResponse--;
}
-buildUnnamed813() {
+buildUnnamed804() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed813(core.List<api.Breakpoint> o) {
+checkUnnamed804(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -537,7 +537,7 @@
var o = new api.ListBreakpointsResponse();
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed813();
+ o.breakpoints = buildUnnamed804();
o.nextWaitToken = "foo";
}
buildCounterListBreakpointsResponse--;
@@ -547,20 +547,20 @@
checkListBreakpointsResponse(api.ListBreakpointsResponse o) {
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- checkUnnamed813(o.breakpoints);
+ checkUnnamed804(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
}
buildCounterListBreakpointsResponse--;
}
-buildUnnamed814() {
+buildUnnamed805() {
var o = new core.List<api.Debuggee>();
o.add(buildDebuggee());
o.add(buildDebuggee());
return o;
}
-checkUnnamed814(core.List<api.Debuggee> o) {
+checkUnnamed805(core.List<api.Debuggee> o) {
unittest.expect(o, unittest.hasLength(2));
checkDebuggee(o[0]);
checkDebuggee(o[1]);
@@ -571,7 +571,7 @@
var o = new api.ListDebuggeesResponse();
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- o.debuggees = buildUnnamed814();
+ o.debuggees = buildUnnamed805();
}
buildCounterListDebuggeesResponse--;
return o;
@@ -580,7 +580,7 @@
checkListDebuggeesResponse(api.ListDebuggeesResponse o) {
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- checkUnnamed814(o.debuggees);
+ checkUnnamed805(o.debuggees);
}
buildCounterListDebuggeesResponse--;
}
@@ -730,27 +730,27 @@
buildCounterSourceLocation--;
}
-buildUnnamed815() {
+buildUnnamed806() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed815(core.List<api.Variable> o) {
+checkUnnamed806(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed816() {
+buildUnnamed807() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed816(core.List<api.Variable> o) {
+checkUnnamed807(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -761,9 +761,9 @@
var o = new api.StackFrame();
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- o.arguments = buildUnnamed815();
+ o.arguments = buildUnnamed806();
o.function = "foo";
- o.locals = buildUnnamed816();
+ o.locals = buildUnnamed807();
o.location = buildSourceLocation();
}
buildCounterStackFrame--;
@@ -773,9 +773,9 @@
checkStackFrame(api.StackFrame o) {
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- checkUnnamed815(o.arguments);
+ checkUnnamed806(o.arguments);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed816(o.locals);
+ checkUnnamed807(o.locals);
checkSourceLocation(o.location);
}
buildCounterStackFrame--;
@@ -840,14 +840,14 @@
buildCounterUpdateActiveBreakpointResponse--;
}
-buildUnnamed817() {
+buildUnnamed808() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed817(core.List<api.Variable> o) {
+checkUnnamed808(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -858,7 +858,7 @@
var o = new api.Variable();
buildCounterVariable++;
if (buildCounterVariable < 3) {
- o.members = buildUnnamed817();
+ o.members = buildUnnamed808();
o.name = "foo";
o.status = buildStatusMessage();
o.type = "foo";
@@ -872,7 +872,7 @@
checkVariable(api.Variable o) {
buildCounterVariable++;
if (buildCounterVariable < 3) {
- checkUnnamed817(o.members);
+ checkUnnamed808(o.members);
unittest.expect(o.name, unittest.equals('foo'));
checkStatusMessage(o.status);
unittest.expect(o.type, unittest.equals('foo'));
@@ -1184,8 +1184,8 @@
var mock = new HttpServerMock();
api.ControllerDebuggeesBreakpointsResourceApi res = new api.ClouddebuggerApi(mock).controller.debuggees.breakpoints;
var arg_debuggeeId = "foo";
- var arg_waitToken = "foo";
var arg_successOnTimeout = true;
+ var arg_waitToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1219,8 +1219,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken));
unittest.expect(queryMap["successOnTimeout"].first, unittest.equals("$arg_successOnTimeout"));
+ unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken));
var h = {
@@ -1229,7 +1229,7 @@
var resp = convert.JSON.encode(buildListActiveBreakpointsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_debuggeeId, waitToken: arg_waitToken, successOnTimeout: arg_successOnTimeout).then(unittest.expectAsync(((api.ListActiveBreakpointsResponse response) {
+ res.list(arg_debuggeeId, successOnTimeout: arg_successOnTimeout, waitToken: arg_waitToken).then(unittest.expectAsync(((api.ListActiveBreakpointsResponse response) {
checkListActiveBreakpointsResponse(response);
})));
});
@@ -1301,9 +1301,9 @@
var mock = new HttpServerMock();
api.DebuggerDebuggeesResourceApi res = new api.ClouddebuggerApi(mock).debugger.debuggees;
- var arg_clientVersion = "foo";
var arg_includeInactive = true;
var arg_project = "foo";
+ var arg_clientVersion = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1330,9 +1330,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
unittest.expect(queryMap["includeInactive"].first, unittest.equals("$arg_includeInactive"));
unittest.expect(queryMap["project"].first, unittest.equals(arg_project));
+ unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
var h = {
@@ -1341,7 +1341,7 @@
var resp = convert.JSON.encode(buildListDebuggeesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(clientVersion: arg_clientVersion, includeInactive: arg_includeInactive, project: arg_project).then(unittest.expectAsync(((api.ListDebuggeesResponse response) {
+ res.list(includeInactive: arg_includeInactive, project: arg_project, clientVersion: arg_clientVersion).then(unittest.expectAsync(((api.ListDebuggeesResponse response) {
checkListDebuggeesResponse(response);
})));
});
@@ -1469,12 +1469,12 @@
var mock = new HttpServerMock();
api.DebuggerDebuggeesBreakpointsResourceApi res = new api.ClouddebuggerApi(mock).debugger.debuggees.breakpoints;
var arg_debuggeeId = "foo";
- var arg_waitToken = "foo";
- var arg_clientVersion = "foo";
- var arg_action_value = "foo";
- var arg_includeInactive = true;
var arg_includeAllUsers = true;
+ var arg_includeInactive = true;
var arg_stripResults = true;
+ var arg_waitToken = "foo";
+ var arg_action_value = "foo";
+ var arg_clientVersion = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1508,12 +1508,12 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken));
- unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
- unittest.expect(queryMap["action.value"].first, unittest.equals(arg_action_value));
- unittest.expect(queryMap["includeInactive"].first, unittest.equals("$arg_includeInactive"));
unittest.expect(queryMap["includeAllUsers"].first, unittest.equals("$arg_includeAllUsers"));
+ unittest.expect(queryMap["includeInactive"].first, unittest.equals("$arg_includeInactive"));
unittest.expect(queryMap["stripResults"].first, unittest.equals("$arg_stripResults"));
+ unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken));
+ unittest.expect(queryMap["action.value"].first, unittest.equals(arg_action_value));
+ unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
var h = {
@@ -1522,7 +1522,7 @@
var resp = convert.JSON.encode(buildListBreakpointsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_debuggeeId, waitToken: arg_waitToken, clientVersion: arg_clientVersion, action_value: arg_action_value, includeInactive: arg_includeInactive, includeAllUsers: arg_includeAllUsers, stripResults: arg_stripResults).then(unittest.expectAsync(((api.ListBreakpointsResponse response) {
+ res.list(arg_debuggeeId, includeAllUsers: arg_includeAllUsers, includeInactive: arg_includeInactive, stripResults: arg_stripResults, waitToken: arg_waitToken, action_value: arg_action_value, clientVersion: arg_clientVersion).then(unittest.expectAsync(((api.ListBreakpointsResponse response) {
checkListBreakpointsResponse(response);
})));
});
diff --git a/generated/googleapis/test/cloudfunctions/v1_test.dart b/generated/googleapis/test/cloudfunctions/v1_test.dart
index 5064c0f..2c2edc0 100644
--- a/generated/googleapis/test/cloudfunctions/v1_test.dart
+++ b/generated/googleapis/test/cloudfunctions/v1_test.dart
@@ -52,75 +52,24 @@
}
buildUnnamed97() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed97(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'));
-}
-
-buildUnnamed98() {
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;
}
-checkUnnamed98(core.Map<core.String, core.Object> o) {
+checkUnnamed97(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'));
}
-core.int buildCounterLocation = 0;
-buildLocation() {
- var o = new api.Location();
- buildCounterLocation++;
- if (buildCounterLocation < 3) {
- o.labels = buildUnnamed97();
- o.locationId = "foo";
- o.metadata = buildUnnamed98();
- o.name = "foo";
- }
- buildCounterLocation--;
- return o;
-}
-
-checkLocation(api.Location o) {
- buildCounterLocation++;
- if (buildCounterLocation < 3) {
- checkUnnamed97(o.labels);
- unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed98(o.metadata);
- unittest.expect(o.name, unittest.equals('foo'));
- }
- buildCounterLocation--;
-}
-
-buildUnnamed99() {
- 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;
-}
-
-checkUnnamed99(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted3 = (o["x"]) 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["y"]) 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'));
-}
-
core.int buildCounterOperationMetadataV1Beta2 = 0;
buildOperationMetadataV1Beta2() {
var o = new api.OperationMetadataV1Beta2();
buildCounterOperationMetadataV1Beta2++;
if (buildCounterOperationMetadataV1Beta2 < 3) {
- o.request = buildUnnamed99();
+ o.request = buildUnnamed97();
o.target = "foo";
o.type = "foo";
}
@@ -131,7 +80,7 @@
checkOperationMetadataV1Beta2(api.OperationMetadataV1Beta2 o) {
buildCounterOperationMetadataV1Beta2++;
if (buildCounterOperationMetadataV1Beta2 < 3) {
- checkUnnamed99(o.request);
+ checkUnnamed97(o.request);
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -140,15 +89,6 @@
main() {
- unittest.group("obj-schema-Location", () {
- unittest.test("to-json--from-json", () {
- var o = buildLocation();
- var od = new api.Location.fromJson(o.toJson());
- checkLocation(od);
- });
- });
-
-
unittest.group("obj-schema-OperationMetadataV1Beta2", () {
unittest.test("to-json--from-json", () {
var o = buildOperationMetadataV1Beta2();
@@ -158,54 +98,5 @@
});
- unittest.group("resource-ProjectsLocationsResourceApi", () {
- unittest.test("method--get", () {
-
- var mock = new HttpServerMock();
- api.ProjectsLocationsResourceApi res = new api.CloudfunctionsApi(mock).projects.locations;
- var arg_name = "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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildLocation());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.get(arg_name).then(unittest.expectAsync(((api.Location response) {
- checkLocation(response);
- })));
- });
-
- });
-
-
}
diff --git a/generated/googleapis/test/cloudkms/v1_test.dart b/generated/googleapis/test/cloudkms/v1_test.dart
index 6153770..b4ff99c 100644
--- a/generated/googleapis/test/cloudkms/v1_test.dart
+++ b/generated/googleapis/test/cloudkms/v1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1237() {
+buildUnnamed1232() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1237(core.List<api.AuditLogConfig> o) {
+checkUnnamed1232(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1238() {
+buildUnnamed1233() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1238(core.List<core.String> o) {
+checkUnnamed1233(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1237();
- o.exemptedMembers = buildUnnamed1238();
+ o.auditLogConfigs = buildUnnamed1232();
+ o.exemptedMembers = buildUnnamed1233();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1237(o.auditLogConfigs);
- checkUnnamed1238(o.exemptedMembers);
+ checkUnnamed1232(o.auditLogConfigs);
+ checkUnnamed1233(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1239() {
+buildUnnamed1234() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1239(core.List<core.String> o) {
+checkUnnamed1234(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1239();
+ o.exemptedMembers = buildUnnamed1234();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,20 +128,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1239(o.exemptedMembers);
+ checkUnnamed1234(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed1240() {
+buildUnnamed1235() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1240(core.List<core.String> o) {
+checkUnnamed1235(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -152,7 +152,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1240();
+ o.members = buildUnnamed1235();
o.role = "foo";
}
buildCounterBinding--;
@@ -162,7 +162,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1240(o.members);
+ checkUnnamed1235(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -185,14 +185,14 @@
buildCounterCloudAuditOptions--;
}
-buildUnnamed1241() {
+buildUnnamed1236() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1241(core.List<core.String> o) {
+checkUnnamed1236(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -208,7 +208,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed1241();
+ o.values = buildUnnamed1236();
}
buildCounterCondition--;
return o;
@@ -222,7 +222,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed1241(o.values);
+ checkUnnamed1236(o.values);
}
buildCounterCondition--;
}
@@ -441,14 +441,14 @@
buildCounterKeyRing--;
}
-buildUnnamed1242() {
+buildUnnamed1237() {
var o = new core.List<api.CryptoKeyVersion>();
o.add(buildCryptoKeyVersion());
o.add(buildCryptoKeyVersion());
return o;
}
-checkUnnamed1242(core.List<api.CryptoKeyVersion> o) {
+checkUnnamed1237(core.List<api.CryptoKeyVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKeyVersion(o[0]);
checkCryptoKeyVersion(o[1]);
@@ -459,7 +459,7 @@
var o = new api.ListCryptoKeyVersionsResponse();
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- o.cryptoKeyVersions = buildUnnamed1242();
+ o.cryptoKeyVersions = buildUnnamed1237();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -470,21 +470,21 @@
checkListCryptoKeyVersionsResponse(api.ListCryptoKeyVersionsResponse o) {
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- checkUnnamed1242(o.cryptoKeyVersions);
+ checkUnnamed1237(o.cryptoKeyVersions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeyVersionsResponse--;
}
-buildUnnamed1243() {
+buildUnnamed1238() {
var o = new core.List<api.CryptoKey>();
o.add(buildCryptoKey());
o.add(buildCryptoKey());
return o;
}
-checkUnnamed1243(core.List<api.CryptoKey> o) {
+checkUnnamed1238(core.List<api.CryptoKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKey(o[0]);
checkCryptoKey(o[1]);
@@ -495,7 +495,7 @@
var o = new api.ListCryptoKeysResponse();
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- o.cryptoKeys = buildUnnamed1243();
+ o.cryptoKeys = buildUnnamed1238();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -506,21 +506,21 @@
checkListCryptoKeysResponse(api.ListCryptoKeysResponse o) {
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- checkUnnamed1243(o.cryptoKeys);
+ checkUnnamed1238(o.cryptoKeys);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeysResponse--;
}
-buildUnnamed1244() {
+buildUnnamed1239() {
var o = new core.List<api.KeyRing>();
o.add(buildKeyRing());
o.add(buildKeyRing());
return o;
}
-checkUnnamed1244(core.List<api.KeyRing> o) {
+checkUnnamed1239(core.List<api.KeyRing> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRing(o[0]);
checkKeyRing(o[1]);
@@ -531,7 +531,7 @@
var o = new api.ListKeyRingsResponse();
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- o.keyRings = buildUnnamed1244();
+ o.keyRings = buildUnnamed1239();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -542,21 +542,21 @@
checkListKeyRingsResponse(api.ListKeyRingsResponse o) {
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- checkUnnamed1244(o.keyRings);
+ checkUnnamed1239(o.keyRings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListKeyRingsResponse--;
}
-buildUnnamed1245() {
+buildUnnamed1240() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1245(core.List<api.Location> o) {
+checkUnnamed1240(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -567,7 +567,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed1245();
+ o.locations = buildUnnamed1240();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -577,33 +577,33 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed1245(o.locations);
+ checkUnnamed1240(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed1246() {
+buildUnnamed1241() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1246(core.Map<core.String, core.String> o) {
+checkUnnamed1241(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'));
}
-buildUnnamed1247() {
+buildUnnamed1242() {
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;
}
-checkUnnamed1247(core.Map<core.String, core.Object> o) {
+checkUnnamed1242(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'));
@@ -614,9 +614,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed1246();
+ o.labels = buildUnnamed1241();
o.locationId = "foo";
- o.metadata = buildUnnamed1247();
+ o.metadata = buildUnnamed1242();
o.name = "foo";
}
buildCounterLocation--;
@@ -626,9 +626,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed1246(o.labels);
+ checkUnnamed1241(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed1247(o.metadata);
+ checkUnnamed1242(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -657,40 +657,40 @@
buildCounterLogConfig--;
}
-buildUnnamed1248() {
+buildUnnamed1243() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1248(core.List<api.AuditConfig> o) {
+checkUnnamed1243(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1249() {
+buildUnnamed1244() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1249(core.List<api.Binding> o) {
+checkUnnamed1244(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed1250() {
+buildUnnamed1245() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1250(core.List<api.Rule> o) {
+checkUnnamed1245(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -701,11 +701,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1248();
- o.bindings = buildUnnamed1249();
+ o.auditConfigs = buildUnnamed1243();
+ o.bindings = buildUnnamed1244();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed1250();
+ o.rules = buildUnnamed1245();
o.version = 42;
}
buildCounterPolicy--;
@@ -715,11 +715,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1248(o.auditConfigs);
- checkUnnamed1249(o.bindings);
+ checkUnnamed1243(o.auditConfigs);
+ checkUnnamed1244(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed1250(o.rules);
+ checkUnnamed1245(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -742,66 +742,66 @@
buildCounterRestoreCryptoKeyVersionRequest--;
}
-buildUnnamed1251() {
+buildUnnamed1246() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1251(core.List<api.Condition> o) {
+checkUnnamed1246(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1252() {
+buildUnnamed1247() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1252(core.List<core.String> o) {
+checkUnnamed1247(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1253() {
+buildUnnamed1248() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed1253(core.List<api.LogConfig> o) {
+checkUnnamed1248(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed1254() {
+buildUnnamed1249() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1254(core.List<core.String> o) {
+checkUnnamed1249(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1255() {
+buildUnnamed1250() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1255(core.List<core.String> o) {
+checkUnnamed1250(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -813,12 +813,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed1251();
+ o.conditions = buildUnnamed1246();
o.description = "foo";
- o.in_ = buildUnnamed1252();
- o.logConfig = buildUnnamed1253();
- o.notIn = buildUnnamed1254();
- o.permissions = buildUnnamed1255();
+ o.in_ = buildUnnamed1247();
+ o.logConfig = buildUnnamed1248();
+ o.notIn = buildUnnamed1249();
+ o.permissions = buildUnnamed1250();
}
buildCounterRule--;
return o;
@@ -828,12 +828,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed1251(o.conditions);
+ checkUnnamed1246(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1252(o.in_);
- checkUnnamed1253(o.logConfig);
- checkUnnamed1254(o.notIn);
- checkUnnamed1255(o.permissions);
+ checkUnnamed1247(o.in_);
+ checkUnnamed1248(o.logConfig);
+ checkUnnamed1249(o.notIn);
+ checkUnnamed1250(o.permissions);
}
buildCounterRule--;
}
@@ -859,14 +859,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed1256() {
+buildUnnamed1251() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1256(core.List<core.String> o) {
+checkUnnamed1251(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -877,7 +877,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1256();
+ o.permissions = buildUnnamed1251();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -886,19 +886,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1256(o.permissions);
+ checkUnnamed1251(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1257() {
+buildUnnamed1252() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1257(core.List<core.String> o) {
+checkUnnamed1252(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -909,7 +909,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1257();
+ o.permissions = buildUnnamed1252();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -918,7 +918,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1257(o.permissions);
+ checkUnnamed1252(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1247,9 +1247,9 @@
var mock = new HttpServerMock();
api.ProjectsLocationsResourceApi res = new api.CloudkmsApi(mock).projects.locations;
var arg_name = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1277,9 +1277,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1288,7 +1288,7 @@
var resp = convert.JSON.encode(buildListLocationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListLocationsResponse response) {
+ res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
})));
});
@@ -1443,8 +1443,8 @@
var mock = new HttpServerMock();
api.ProjectsLocationsKeyRingsResourceApi res = new api.CloudkmsApi(mock).projects.locations.keyRings;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1472,8 +1472,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1482,7 +1482,7 @@
var resp = convert.JSON.encode(buildListKeyRingsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListKeyRingsResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListKeyRingsResponse response) {
checkListKeyRingsResponse(response);
})));
});
@@ -1833,8 +1833,8 @@
var mock = new HttpServerMock();
api.ProjectsLocationsKeyRingsCryptoKeysResourceApi res = new api.CloudkmsApi(mock).projects.locations.keyRings.cryptoKeys;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1862,8 +1862,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1872,7 +1872,7 @@
var resp = convert.JSON.encode(buildListCryptoKeysResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListCryptoKeysResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListCryptoKeysResponse response) {
checkListCryptoKeysResponse(response);
})));
});
@@ -2227,8 +2227,8 @@
var mock = new HttpServerMock();
api.ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsResourceApi res = new api.CloudkmsApi(mock).projects.locations.keyRings.cryptoKeys.cryptoKeyVersions;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2256,8 +2256,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -2266,7 +2266,7 @@
var resp = convert.JSON.encode(buildListCryptoKeyVersionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListCryptoKeyVersionsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListCryptoKeyVersionsResponse response) {
checkListCryptoKeyVersionsResponse(response);
})));
});
diff --git a/generated/googleapis/test/cloudresourcemanager/v1_test.dart b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
index 3d9c307..97cd8aa 100644
--- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
@@ -70,14 +70,14 @@
buildCounterAncestor--;
}
-buildUnnamed1616() {
+buildUnnamed1617() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1616(core.List<api.AuditLogConfig> o) {
+checkUnnamed1617(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -88,7 +88,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1616();
+ o.auditLogConfigs = buildUnnamed1617();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -98,46 +98,12 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1616(o.auditLogConfigs);
+ checkUnnamed1617(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1617() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1617(core.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 buildCounterAuditLogConfig = 0;
-buildAuditLogConfig() {
- var o = new api.AuditLogConfig();
- buildCounterAuditLogConfig++;
- if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1617();
- o.logType = "foo";
- }
- buildCounterAuditLogConfig--;
- return o;
-}
-
-checkAuditLogConfig(api.AuditLogConfig o) {
- buildCounterAuditLogConfig++;
- if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1617(o.exemptedMembers);
- unittest.expect(o.logType, unittest.equals('foo'));
- }
- buildCounterAuditLogConfig--;
-}
-
buildUnnamed1618() {
var o = new core.List<core.String>();
o.add("foo");
@@ -151,12 +117,46 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterAuditLogConfig = 0;
+buildAuditLogConfig() {
+ var o = new api.AuditLogConfig();
+ buildCounterAuditLogConfig++;
+ if (buildCounterAuditLogConfig < 3) {
+ o.exemptedMembers = buildUnnamed1618();
+ o.logType = "foo";
+ }
+ buildCounterAuditLogConfig--;
+ return o;
+}
+
+checkAuditLogConfig(api.AuditLogConfig o) {
+ buildCounterAuditLogConfig++;
+ if (buildCounterAuditLogConfig < 3) {
+ checkUnnamed1618(o.exemptedMembers);
+ unittest.expect(o.logType, unittest.equals('foo'));
+ }
+ buildCounterAuditLogConfig--;
+}
+
+buildUnnamed1619() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1619(core.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 buildCounterBinding = 0;
buildBinding() {
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1618();
+ o.members = buildUnnamed1619();
o.role = "foo";
}
buildCounterBinding--;
@@ -166,7 +166,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1618(o.members);
+ checkUnnamed1619(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -338,14 +338,14 @@
buildCounterGetAncestryRequest--;
}
-buildUnnamed1619() {
+buildUnnamed1620() {
var o = new core.List<api.Ancestor>();
o.add(buildAncestor());
o.add(buildAncestor());
return o;
}
-checkUnnamed1619(core.List<api.Ancestor> o) {
+checkUnnamed1620(core.List<api.Ancestor> o) {
unittest.expect(o, unittest.hasLength(2));
checkAncestor(o[0]);
checkAncestor(o[1]);
@@ -356,7 +356,7 @@
var o = new api.GetAncestryResponse();
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- o.ancestor = buildUnnamed1619();
+ o.ancestor = buildUnnamed1620();
}
buildCounterGetAncestryResponse--;
return o;
@@ -365,7 +365,7 @@
checkGetAncestryResponse(api.GetAncestryResponse o) {
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- checkUnnamed1619(o.ancestor);
+ checkUnnamed1620(o.ancestor);
}
buildCounterGetAncestryResponse--;
}
@@ -425,14 +425,14 @@
buildCounterGetOrgPolicyRequest--;
}
-buildUnnamed1620() {
+buildUnnamed1621() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1620(core.List<core.String> o) {
+checkUnnamed1621(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -448,7 +448,7 @@
o.origin = "foo";
o.parent = "foo";
o.reason = "foo";
- o.restrictions = buildUnnamed1620();
+ o.restrictions = buildUnnamed1621();
}
buildCounterLien--;
return o;
@@ -462,7 +462,7 @@
unittest.expect(o.origin, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.reason, unittest.equals('foo'));
- checkUnnamed1620(o.restrictions);
+ checkUnnamed1621(o.restrictions);
}
buildCounterLien--;
}
@@ -488,14 +488,14 @@
buildCounterListAvailableOrgPolicyConstraintsRequest--;
}
-buildUnnamed1621() {
+buildUnnamed1622() {
var o = new core.List<api.Constraint>();
o.add(buildConstraint());
o.add(buildConstraint());
return o;
}
-checkUnnamed1621(core.List<api.Constraint> o) {
+checkUnnamed1622(core.List<api.Constraint> o) {
unittest.expect(o, unittest.hasLength(2));
checkConstraint(o[0]);
checkConstraint(o[1]);
@@ -506,7 +506,7 @@
var o = new api.ListAvailableOrgPolicyConstraintsResponse();
buildCounterListAvailableOrgPolicyConstraintsResponse++;
if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
- o.constraints = buildUnnamed1621();
+ o.constraints = buildUnnamed1622();
o.nextPageToken = "foo";
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -516,7 +516,7 @@
checkListAvailableOrgPolicyConstraintsResponse(api.ListAvailableOrgPolicyConstraintsResponse o) {
buildCounterListAvailableOrgPolicyConstraintsResponse++;
if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
- checkUnnamed1621(o.constraints);
+ checkUnnamed1622(o.constraints);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -541,14 +541,14 @@
buildCounterListConstraint--;
}
-buildUnnamed1622() {
+buildUnnamed1623() {
var o = new core.List<api.Lien>();
o.add(buildLien());
o.add(buildLien());
return o;
}
-checkUnnamed1622(core.List<api.Lien> o) {
+checkUnnamed1623(core.List<api.Lien> o) {
unittest.expect(o, unittest.hasLength(2));
checkLien(o[0]);
checkLien(o[1]);
@@ -559,7 +559,7 @@
var o = new api.ListLiensResponse();
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- o.liens = buildUnnamed1622();
+ o.liens = buildUnnamed1623();
o.nextPageToken = "foo";
}
buildCounterListLiensResponse--;
@@ -569,7 +569,7 @@
checkListLiensResponse(api.ListLiensResponse o) {
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- checkUnnamed1622(o.liens);
+ checkUnnamed1623(o.liens);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLiensResponse--;
@@ -596,14 +596,14 @@
buildCounterListOrgPoliciesRequest--;
}
-buildUnnamed1623() {
+buildUnnamed1624() {
var o = new core.List<api.OrgPolicy>();
o.add(buildOrgPolicy());
o.add(buildOrgPolicy());
return o;
}
-checkUnnamed1623(core.List<api.OrgPolicy> o) {
+checkUnnamed1624(core.List<api.OrgPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrgPolicy(o[0]);
checkOrgPolicy(o[1]);
@@ -615,7 +615,7 @@
buildCounterListOrgPoliciesResponse++;
if (buildCounterListOrgPoliciesResponse < 3) {
o.nextPageToken = "foo";
- o.policies = buildUnnamed1623();
+ o.policies = buildUnnamed1624();
}
buildCounterListOrgPoliciesResponse--;
return o;
@@ -625,24 +625,11 @@
buildCounterListOrgPoliciesResponse++;
if (buildCounterListOrgPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1623(o.policies);
+ checkUnnamed1624(o.policies);
}
buildCounterListOrgPoliciesResponse--;
}
-buildUnnamed1624() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1624(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1625() {
var o = new core.List<core.String>();
o.add("foo");
@@ -656,14 +643,27 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1626() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1626(core.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 buildCounterListPolicy = 0;
buildListPolicy() {
var o = new api.ListPolicy();
buildCounterListPolicy++;
if (buildCounterListPolicy < 3) {
o.allValues = "foo";
- o.allowedValues = buildUnnamed1624();
- o.deniedValues = buildUnnamed1625();
+ o.allowedValues = buildUnnamed1625();
+ o.deniedValues = buildUnnamed1626();
o.inheritFromParent = true;
o.suggestedValue = "foo";
}
@@ -675,22 +675,22 @@
buildCounterListPolicy++;
if (buildCounterListPolicy < 3) {
unittest.expect(o.allValues, unittest.equals('foo'));
- checkUnnamed1624(o.allowedValues);
- checkUnnamed1625(o.deniedValues);
+ checkUnnamed1625(o.allowedValues);
+ checkUnnamed1626(o.deniedValues);
unittest.expect(o.inheritFromParent, unittest.isTrue);
unittest.expect(o.suggestedValue, unittest.equals('foo'));
}
buildCounterListPolicy--;
}
-buildUnnamed1626() {
+buildUnnamed1627() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed1626(core.List<api.Project> o) {
+checkUnnamed1627(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -702,7 +702,7 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
o.nextPageToken = "foo";
- o.projects = buildUnnamed1626();
+ o.projects = buildUnnamed1627();
}
buildCounterListProjectsResponse--;
return o;
@@ -712,24 +712,11 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1626(o.projects);
+ checkUnnamed1627(o.projects);
}
buildCounterListProjectsResponse--;
}
-buildUnnamed1627() {
- 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;
-}
-
-checkUnnamed1627(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'));
-}
-
buildUnnamed1628() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
@@ -739,6 +726,19 @@
checkUnnamed1628(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'));
+}
+
+buildUnnamed1629() {
+ 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;
+}
+
+checkUnnamed1629(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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["y"]) 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'));
}
@@ -750,9 +750,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1627();
+ o.metadata = buildUnnamed1628();
o.name = "foo";
- o.response = buildUnnamed1628();
+ o.response = buildUnnamed1629();
}
buildCounterOperation--;
return o;
@@ -763,9 +763,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1627(o.metadata);
+ checkUnnamed1628(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1628(o.response);
+ checkUnnamed1629(o.response);
}
buildCounterOperation--;
}
@@ -847,27 +847,27 @@
buildCounterOrganizationOwner--;
}
-buildUnnamed1629() {
+buildUnnamed1630() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1629(core.List<api.AuditConfig> o) {
+checkUnnamed1630(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1630() {
+buildUnnamed1631() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1630(core.List<api.Binding> o) {
+checkUnnamed1631(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -878,8 +878,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1629();
- o.bindings = buildUnnamed1630();
+ o.auditConfigs = buildUnnamed1630();
+ o.bindings = buildUnnamed1631();
o.etag = "foo";
o.version = 42;
}
@@ -890,22 +890,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1629(o.auditConfigs);
- checkUnnamed1630(o.bindings);
+ checkUnnamed1630(o.auditConfigs);
+ checkUnnamed1631(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1631() {
+buildUnnamed1632() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1631(core.Map<core.String, core.String> o) {
+checkUnnamed1632(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'));
@@ -917,7 +917,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed1631();
+ o.labels = buildUnnamed1632();
o.lifecycleState = "foo";
o.name = "foo";
o.parent = buildResourceId();
@@ -932,7 +932,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1631(o.labels);
+ checkUnnamed1632(o.labels);
unittest.expect(o.lifecycleState, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkResourceId(o.parent);
@@ -1026,14 +1026,14 @@
buildCounterSearchOrganizationsRequest--;
}
-buildUnnamed1632() {
+buildUnnamed1633() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed1632(core.List<api.Organization> o) {
+checkUnnamed1633(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
@@ -1045,7 +1045,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
o.nextPageToken = "foo";
- o.organizations = buildUnnamed1632();
+ o.organizations = buildUnnamed1633();
}
buildCounterSearchOrganizationsResponse--;
return o;
@@ -1055,7 +1055,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1632(o.organizations);
+ checkUnnamed1633(o.organizations);
}
buildCounterSearchOrganizationsResponse--;
}
@@ -1100,30 +1100,30 @@
buildCounterSetOrgPolicyRequest--;
}
-buildUnnamed1633() {
+buildUnnamed1634() {
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;
}
-checkUnnamed1633(core.Map<core.String, core.Object> o) {
+checkUnnamed1634(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed1634() {
+buildUnnamed1635() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1633());
- o.add(buildUnnamed1633());
+ o.add(buildUnnamed1634());
+ o.add(buildUnnamed1634());
return o;
}
-checkUnnamed1634(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1635(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1633(o[0]);
- checkUnnamed1633(o[1]);
+ checkUnnamed1634(o[0]);
+ checkUnnamed1634(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1132,7 +1132,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1634();
+ o.details = buildUnnamed1635();
o.message = "foo";
}
buildCounterStatus--;
@@ -1143,44 +1143,12 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1634(o.details);
+ checkUnnamed1635(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed1635() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1635(core.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 buildCounterTestIamPermissionsRequest = 0;
-buildTestIamPermissionsRequest() {
- var o = new api.TestIamPermissionsRequest();
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1635();
- }
- buildCounterTestIamPermissionsRequest--;
- return o;
-}
-
-checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1635(o.permissions);
- }
- buildCounterTestIamPermissionsRequest--;
-}
-
buildUnnamed1636() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1194,12 +1162,44 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterTestIamPermissionsRequest = 0;
+buildTestIamPermissionsRequest() {
+ var o = new api.TestIamPermissionsRequest();
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ o.permissions = buildUnnamed1636();
+ }
+ buildCounterTestIamPermissionsRequest--;
+ return o;
+}
+
+checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ checkUnnamed1636(o.permissions);
+ }
+ buildCounterTestIamPermissionsRequest--;
+}
+
+buildUnnamed1637() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1637(core.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 buildCounterTestIamPermissionsResponse = 0;
buildTestIamPermissionsResponse() {
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1636();
+ o.permissions = buildUnnamed1637();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1208,7 +1208,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1636(o.permissions);
+ checkUnnamed1637(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1660,55 +1660,6 @@
})));
});
- unittest.test("method--clearOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
- var arg_request = buildClearOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.ClearOrgPolicyRequest.fromJson(json);
- checkClearOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildEmpty());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.clearOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.Empty response) {
- checkEmpty(response);
- })));
- });
-
unittest.test("method--getEffectiveOrgPolicy", () {
var mock = new HttpServerMock();
@@ -1758,55 +1709,6 @@
})));
});
- unittest.test("method--getEffectiveOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
- var arg_request = buildGetEffectiveOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GetEffectiveOrgPolicyRequest.fromJson(json);
- checkGetEffectiveOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildOrgPolicy());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.getEffectiveOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
- checkOrgPolicy(response);
- })));
- });
-
unittest.test("method--getOrgPolicy", () {
var mock = new HttpServerMock();
@@ -1856,55 +1758,6 @@
})));
});
- unittest.test("method--getOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
- var arg_request = buildGetOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GetOrgPolicyRequest.fromJson(json);
- checkGetOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildOrgPolicy());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.getOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
- checkOrgPolicy(response);
- })));
- });
-
unittest.test("method--listAvailableOrgPolicyConstraints", () {
var mock = new HttpServerMock();
@@ -2052,55 +1905,6 @@
})));
});
- unittest.test("method--setOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
- var arg_request = buildSetOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.SetOrgPolicyRequest.fromJson(json);
- checkSetOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildOrgPolicy());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.setOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
- checkOrgPolicy(response);
- })));
- });
-
});
@@ -2348,55 +2152,6 @@
})));
});
- unittest.test("method--clearOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
- var arg_request = buildClearOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.ClearOrgPolicyRequest.fromJson(json);
- checkClearOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildEmpty());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.clearOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.Empty response) {
- checkEmpty(response);
- })));
- });
-
unittest.test("method--get", () {
var mock = new HttpServerMock();
@@ -2491,55 +2246,6 @@
})));
});
- unittest.test("method--getEffectiveOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
- var arg_request = buildGetEffectiveOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GetEffectiveOrgPolicyRequest.fromJson(json);
- checkGetEffectiveOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildOrgPolicy());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.getEffectiveOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
- checkOrgPolicy(response);
- })));
- });
-
unittest.test("method--getIamPolicy", () {
var mock = new HttpServerMock();
@@ -2638,55 +2344,6 @@
})));
});
- unittest.test("method--getOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
- var arg_request = buildGetOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GetOrgPolicyRequest.fromJson(json);
- checkGetOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildOrgPolicy());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.getOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
- checkOrgPolicy(response);
- })));
- });
-
unittest.test("method--listAvailableOrgPolicyConstraints", () {
var mock = new HttpServerMock();
@@ -2930,55 +2587,6 @@
})));
});
- unittest.test("method--setOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
- var arg_request = buildSetOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.SetOrgPolicyRequest.fromJson(json);
- checkSetOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildOrgPolicy());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.setOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
- checkOrgPolicy(response);
- })));
- });
-
unittest.test("method--testIamPermissions", () {
var mock = new HttpServerMock();
@@ -3081,55 +2689,6 @@
})));
});
- unittest.test("method--clearOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
- var arg_request = buildClearOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.ClearOrgPolicyRequest.fromJson(json);
- checkClearOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildEmpty());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.clearOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.Empty response) {
- checkEmpty(response);
- })));
- });
-
unittest.test("method--create", () {
var mock = new HttpServerMock();
@@ -3375,55 +2934,6 @@
})));
});
- unittest.test("method--getEffectiveOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
- var arg_request = buildGetEffectiveOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GetEffectiveOrgPolicyRequest.fromJson(json);
- checkGetEffectiveOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildOrgPolicy());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.getEffectiveOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
- checkOrgPolicy(response);
- })));
- });
-
unittest.test("method--getIamPolicy", () {
var mock = new HttpServerMock();
@@ -3528,55 +3038,6 @@
})));
});
- unittest.test("method--getOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
- var arg_request = buildGetOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GetOrgPolicyRequest.fromJson(json);
- checkGetOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildOrgPolicy());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.getOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
- checkOrgPolicy(response);
- })));
- });
-
unittest.test("method--list", () {
var mock = new HttpServerMock();
@@ -3828,55 +3289,6 @@
})));
});
- unittest.test("method--setOrgPolicyV1", () {
-
- var mock = new HttpServerMock();
- api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
- var arg_request = buildSetOrgPolicyRequest();
- var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.SetOrgPolicyRequest.fromJson(json);
- checkSetOrgPolicyRequest(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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildOrgPolicy());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.setOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
- checkOrgPolicy(response);
- })));
- });
-
unittest.test("method--testIamPermissions", () {
var mock = new HttpServerMock();
diff --git a/generated/googleapis/test/cloudtrace/v1_test.dart b/generated/googleapis/test/cloudtrace/v1_test.dart
index 4bec95f..1d6bae0 100644
--- a/generated/googleapis/test/cloudtrace/v1_test.dart
+++ b/generated/googleapis/test/cloudtrace/v1_test.dart
@@ -68,14 +68,14 @@
buildCounterEmpty--;
}
-buildUnnamed155() {
+buildUnnamed153() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed155(core.List<api.Trace> o) {
+checkUnnamed153(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -87,7 +87,7 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
o.nextPageToken = "foo";
- o.traces = buildUnnamed155();
+ o.traces = buildUnnamed153();
}
buildCounterListTracesResponse--;
return o;
@@ -97,19 +97,19 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed155(o.traces);
+ checkUnnamed153(o.traces);
}
buildCounterListTracesResponse--;
}
-buildUnnamed156() {
+buildUnnamed154() {
var o = new core.List<api.TraceSpan>();
o.add(buildTraceSpan());
o.add(buildTraceSpan());
return o;
}
-checkUnnamed156(core.List<api.TraceSpan> o) {
+checkUnnamed154(core.List<api.TraceSpan> o) {
unittest.expect(o, unittest.hasLength(2));
checkTraceSpan(o[0]);
checkTraceSpan(o[1]);
@@ -121,7 +121,7 @@
buildCounterTrace++;
if (buildCounterTrace < 3) {
o.projectId = "foo";
- o.spans = buildUnnamed156();
+ o.spans = buildUnnamed154();
o.traceId = "foo";
}
buildCounterTrace--;
@@ -132,20 +132,20 @@
buildCounterTrace++;
if (buildCounterTrace < 3) {
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed156(o.spans);
+ checkUnnamed154(o.spans);
unittest.expect(o.traceId, unittest.equals('foo'));
}
buildCounterTrace--;
}
-buildUnnamed157() {
+buildUnnamed155() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed157(core.Map<core.String, core.String> o) {
+checkUnnamed155(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'));
@@ -158,7 +158,7 @@
if (buildCounterTraceSpan < 3) {
o.endTime = "foo";
o.kind = "foo";
- o.labels = buildUnnamed157();
+ o.labels = buildUnnamed155();
o.name = "foo";
o.parentSpanId = "foo";
o.spanId = "foo";
@@ -173,7 +173,7 @@
if (buildCounterTraceSpan < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed157(o.labels);
+ checkUnnamed155(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentSpanId, unittest.equals('foo'));
unittest.expect(o.spanId, unittest.equals('foo'));
@@ -182,14 +182,14 @@
buildCounterTraceSpan--;
}
-buildUnnamed158() {
+buildUnnamed156() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed158(core.List<api.Trace> o) {
+checkUnnamed156(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -200,7 +200,7 @@
var o = new api.Traces();
buildCounterTraces++;
if (buildCounterTraces < 3) {
- o.traces = buildUnnamed158();
+ o.traces = buildUnnamed156();
}
buildCounterTraces--;
return o;
@@ -209,7 +209,7 @@
checkTraces(api.Traces o) {
buildCounterTraces++;
if (buildCounterTraces < 3) {
- checkUnnamed158(o.traces);
+ checkUnnamed156(o.traces);
}
buildCounterTraces--;
}
@@ -381,13 +381,13 @@
var mock = new HttpServerMock();
api.ProjectsTracesResourceApi res = new api.CloudtraceApi(mock).projects.traces;
var arg_projectId = "foo";
+ var arg_orderBy = "foo";
var arg_filter = "foo";
var arg_endTime = "foo";
var arg_startTime = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
- var arg_orderBy = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -421,13 +421,13 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime));
unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTime));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
var h = {
@@ -436,7 +436,7 @@
var resp = convert.JSON.encode(buildListTracesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, filter: arg_filter, endTime: arg_endTime, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view, orderBy: arg_orderBy).then(unittest.expectAsync(((api.ListTracesResponse response) {
+ res.list(arg_projectId, orderBy: arg_orderBy, filter: arg_filter, endTime: arg_endTime, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync(((api.ListTracesResponse response) {
checkListTracesResponse(response);
})));
});
diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart
index 3344b10..ef61f24 100644
--- a/generated/googleapis/test/compute/v1_test.dart
+++ b/generated/googleapis/test/compute/v1_test.dart
@@ -76,14 +76,14 @@
buildCounterAccessConfig--;
}
-buildUnnamed2006() {
+buildUnnamed2018() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2006(core.List<core.String> o) {
+checkUnnamed2018(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -103,7 +103,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.users = buildUnnamed2006();
+ o.users = buildUnnamed2018();
}
buildCounterAddress--;
return o;
@@ -121,19 +121,19 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2006(o.users);
+ checkUnnamed2018(o.users);
}
buildCounterAddress--;
}
-buildUnnamed2007() {
+buildUnnamed2019() {
var o = new core.Map<core.String, api.AddressesScopedList>();
o["x"] = buildAddressesScopedList();
o["y"] = buildAddressesScopedList();
return o;
}
-checkUnnamed2007(core.Map<core.String, api.AddressesScopedList> o) {
+checkUnnamed2019(core.Map<core.String, api.AddressesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedList(o["x"]);
checkAddressesScopedList(o["y"]);
@@ -145,7 +145,7 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2007();
+ o.items = buildUnnamed2019();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -158,7 +158,7 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2007(o.items);
+ checkUnnamed2019(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -166,14 +166,14 @@
buildCounterAddressAggregatedList--;
}
-buildUnnamed2008() {
+buildUnnamed2020() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed2008(core.List<api.Address> o) {
+checkUnnamed2020(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -185,7 +185,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
o.id = "foo";
- o.items = buildUnnamed2008();
+ o.items = buildUnnamed2020();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -198,7 +198,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2008(o.items);
+ checkUnnamed2020(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -206,14 +206,14 @@
buildCounterAddressList--;
}
-buildUnnamed2009() {
+buildUnnamed2021() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed2009(core.List<api.Address> o) {
+checkUnnamed2021(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -240,14 +240,14 @@
buildCounterAddressesScopedListWarningData--;
}
-buildUnnamed2010() {
+buildUnnamed2022() {
var o = new core.List<api.AddressesScopedListWarningData>();
o.add(buildAddressesScopedListWarningData());
o.add(buildAddressesScopedListWarningData());
return o;
}
-checkUnnamed2010(core.List<api.AddressesScopedListWarningData> o) {
+checkUnnamed2022(core.List<api.AddressesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedListWarningData(o[0]);
checkAddressesScopedListWarningData(o[1]);
@@ -259,7 +259,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2010();
+ o.data = buildUnnamed2022();
o.message = "foo";
}
buildCounterAddressesScopedListWarning--;
@@ -270,7 +270,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2010(o.data);
+ checkUnnamed2022(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressesScopedListWarning--;
@@ -281,7 +281,7 @@
var o = new api.AddressesScopedList();
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- o.addresses = buildUnnamed2009();
+ o.addresses = buildUnnamed2021();
o.warning = buildAddressesScopedListWarning();
}
buildCounterAddressesScopedList--;
@@ -291,20 +291,20 @@
checkAddressesScopedList(api.AddressesScopedList o) {
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- checkUnnamed2009(o.addresses);
+ checkUnnamed2021(o.addresses);
checkAddressesScopedListWarning(o.warning);
}
buildCounterAddressesScopedList--;
}
-buildUnnamed2011() {
+buildUnnamed2023() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2011(core.List<core.String> o) {
+checkUnnamed2023(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -323,7 +323,7 @@
o.initializeParams = buildAttachedDiskInitializeParams();
o.interface = "foo";
o.kind = "foo";
- o.licenses = buildUnnamed2011();
+ o.licenses = buildUnnamed2023();
o.mode = "foo";
o.source = "foo";
o.type = "foo";
@@ -343,7 +343,7 @@
checkAttachedDiskInitializeParams(o.initializeParams);
unittest.expect(o.interface, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2011(o.licenses);
+ checkUnnamed2023(o.licenses);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -415,14 +415,14 @@
buildCounterAutoscaler--;
}
-buildUnnamed2012() {
+buildUnnamed2024() {
var o = new core.Map<core.String, api.AutoscalersScopedList>();
o["x"] = buildAutoscalersScopedList();
o["y"] = buildAutoscalersScopedList();
return o;
}
-checkUnnamed2012(core.Map<core.String, api.AutoscalersScopedList> o) {
+checkUnnamed2024(core.Map<core.String, api.AutoscalersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedList(o["x"]);
checkAutoscalersScopedList(o["y"]);
@@ -434,7 +434,7 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2012();
+ o.items = buildUnnamed2024();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -447,7 +447,7 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2012(o.items);
+ checkUnnamed2024(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -455,14 +455,14 @@
buildCounterAutoscalerAggregatedList--;
}
-buildUnnamed2013() {
+buildUnnamed2025() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2013(core.List<api.Autoscaler> o) {
+checkUnnamed2025(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -474,7 +474,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2013();
+ o.items = buildUnnamed2025();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -487,7 +487,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2013(o.items);
+ checkUnnamed2025(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -495,14 +495,14 @@
buildCounterAutoscalerList--;
}
-buildUnnamed2014() {
+buildUnnamed2026() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2014(core.List<api.Autoscaler> o) {
+checkUnnamed2026(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -529,14 +529,14 @@
buildCounterAutoscalersScopedListWarningData--;
}
-buildUnnamed2015() {
+buildUnnamed2027() {
var o = new core.List<api.AutoscalersScopedListWarningData>();
o.add(buildAutoscalersScopedListWarningData());
o.add(buildAutoscalersScopedListWarningData());
return o;
}
-checkUnnamed2015(core.List<api.AutoscalersScopedListWarningData> o) {
+checkUnnamed2027(core.List<api.AutoscalersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedListWarningData(o[0]);
checkAutoscalersScopedListWarningData(o[1]);
@@ -548,7 +548,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2015();
+ o.data = buildUnnamed2027();
o.message = "foo";
}
buildCounterAutoscalersScopedListWarning--;
@@ -559,7 +559,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2015(o.data);
+ checkUnnamed2027(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalersScopedListWarning--;
@@ -570,7 +570,7 @@
var o = new api.AutoscalersScopedList();
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- o.autoscalers = buildUnnamed2014();
+ o.autoscalers = buildUnnamed2026();
o.warning = buildAutoscalersScopedListWarning();
}
buildCounterAutoscalersScopedList--;
@@ -580,20 +580,20 @@
checkAutoscalersScopedList(api.AutoscalersScopedList o) {
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- checkUnnamed2014(o.autoscalers);
+ checkUnnamed2026(o.autoscalers);
checkAutoscalersScopedListWarning(o.warning);
}
buildCounterAutoscalersScopedList--;
}
-buildUnnamed2016() {
+buildUnnamed2028() {
var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>();
o.add(buildAutoscalingPolicyCustomMetricUtilization());
o.add(buildAutoscalingPolicyCustomMetricUtilization());
return o;
}
-checkUnnamed2016(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
+checkUnnamed2028(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalingPolicyCustomMetricUtilization(o[0]);
checkAutoscalingPolicyCustomMetricUtilization(o[1]);
@@ -606,7 +606,7 @@
if (buildCounterAutoscalingPolicy < 3) {
o.coolDownPeriodSec = 42;
o.cpuUtilization = buildAutoscalingPolicyCpuUtilization();
- o.customMetricUtilizations = buildUnnamed2016();
+ o.customMetricUtilizations = buildUnnamed2028();
o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization();
o.maxNumReplicas = 42;
o.minNumReplicas = 42;
@@ -620,7 +620,7 @@
if (buildCounterAutoscalingPolicy < 3) {
unittest.expect(o.coolDownPeriodSec, unittest.equals(42));
checkAutoscalingPolicyCpuUtilization(o.cpuUtilization);
- checkUnnamed2016(o.customMetricUtilizations);
+ checkUnnamed2028(o.customMetricUtilizations);
checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization);
unittest.expect(o.maxNumReplicas, unittest.equals(42));
unittest.expect(o.minNumReplicas, unittest.equals(42));
@@ -757,14 +757,14 @@
buildCounterBackendBucket--;
}
-buildUnnamed2017() {
+buildUnnamed2029() {
var o = new core.List<api.BackendBucket>();
o.add(buildBackendBucket());
o.add(buildBackendBucket());
return o;
}
-checkUnnamed2017(core.List<api.BackendBucket> o) {
+checkUnnamed2029(core.List<api.BackendBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendBucket(o[0]);
checkBackendBucket(o[1]);
@@ -776,7 +776,7 @@
buildCounterBackendBucketList++;
if (buildCounterBackendBucketList < 3) {
o.id = "foo";
- o.items = buildUnnamed2017();
+ o.items = buildUnnamed2029();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -789,7 +789,7 @@
buildCounterBackendBucketList++;
if (buildCounterBackendBucketList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2017(o.items);
+ checkUnnamed2029(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -797,27 +797,27 @@
buildCounterBackendBucketList--;
}
-buildUnnamed2018() {
+buildUnnamed2030() {
var o = new core.List<api.Backend>();
o.add(buildBackend());
o.add(buildBackend());
return o;
}
-checkUnnamed2018(core.List<api.Backend> o) {
+checkUnnamed2030(core.List<api.Backend> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackend(o[0]);
checkBackend(o[1]);
}
-buildUnnamed2019() {
+buildUnnamed2031() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2019(core.List<core.String> o) {
+checkUnnamed2031(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -829,13 +829,14 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
o.affinityCookieTtlSec = 42;
- o.backends = buildUnnamed2018();
+ o.backends = buildUnnamed2030();
+ o.cdnPolicy = buildBackendServiceCdnPolicy();
o.connectionDraining = buildConnectionDraining();
o.creationTimestamp = "foo";
o.description = "foo";
o.enableCDN = true;
o.fingerprint = "foo";
- o.healthChecks = buildUnnamed2019();
+ o.healthChecks = buildUnnamed2031();
o.id = "foo";
o.kind = "foo";
o.loadBalancingScheme = "foo";
@@ -856,13 +857,14 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
unittest.expect(o.affinityCookieTtlSec, unittest.equals(42));
- checkUnnamed2018(o.backends);
+ checkUnnamed2030(o.backends);
+ checkBackendServiceCdnPolicy(o.cdnPolicy);
checkConnectionDraining(o.connectionDraining);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.enableCDN, unittest.isTrue);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2019(o.healthChecks);
+ checkUnnamed2031(o.healthChecks);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.loadBalancingScheme, unittest.equals('foo'));
@@ -878,14 +880,14 @@
buildCounterBackendService--;
}
-buildUnnamed2020() {
+buildUnnamed2032() {
var o = new core.Map<core.String, api.BackendServicesScopedList>();
o["x"] = buildBackendServicesScopedList();
o["y"] = buildBackendServicesScopedList();
return o;
}
-checkUnnamed2020(core.Map<core.String, api.BackendServicesScopedList> o) {
+checkUnnamed2032(core.Map<core.String, api.BackendServicesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedList(o["x"]);
checkBackendServicesScopedList(o["y"]);
@@ -897,7 +899,7 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2020();
+ o.items = buildUnnamed2032();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -910,7 +912,7 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2020(o.items);
+ checkUnnamed2032(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -918,14 +920,33 @@
buildCounterBackendServiceAggregatedList--;
}
-buildUnnamed2021() {
+core.int buildCounterBackendServiceCdnPolicy = 0;
+buildBackendServiceCdnPolicy() {
+ var o = new api.BackendServiceCdnPolicy();
+ buildCounterBackendServiceCdnPolicy++;
+ if (buildCounterBackendServiceCdnPolicy < 3) {
+ o.cacheKeyPolicy = buildCacheKeyPolicy();
+ }
+ buildCounterBackendServiceCdnPolicy--;
+ return o;
+}
+
+checkBackendServiceCdnPolicy(api.BackendServiceCdnPolicy o) {
+ buildCounterBackendServiceCdnPolicy++;
+ if (buildCounterBackendServiceCdnPolicy < 3) {
+ checkCacheKeyPolicy(o.cacheKeyPolicy);
+ }
+ buildCounterBackendServiceCdnPolicy--;
+}
+
+buildUnnamed2033() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed2021(core.List<api.HealthStatus> o) {
+checkUnnamed2033(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -936,7 +957,7 @@
var o = new api.BackendServiceGroupHealth();
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- o.healthStatus = buildUnnamed2021();
+ o.healthStatus = buildUnnamed2033();
o.kind = "foo";
}
buildCounterBackendServiceGroupHealth--;
@@ -946,20 +967,20 @@
checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) {
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- checkUnnamed2021(o.healthStatus);
+ checkUnnamed2033(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBackendServiceGroupHealth--;
}
-buildUnnamed2022() {
+buildUnnamed2034() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed2022(core.List<api.BackendService> o) {
+checkUnnamed2034(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -971,7 +992,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2022();
+ o.items = buildUnnamed2034();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -984,7 +1005,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2022(o.items);
+ checkUnnamed2034(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -992,14 +1013,14 @@
buildCounterBackendServiceList--;
}
-buildUnnamed2023() {
+buildUnnamed2035() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed2023(core.List<api.BackendService> o) {
+checkUnnamed2035(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -1026,14 +1047,14 @@
buildCounterBackendServicesScopedListWarningData--;
}
-buildUnnamed2024() {
+buildUnnamed2036() {
var o = new core.List<api.BackendServicesScopedListWarningData>();
o.add(buildBackendServicesScopedListWarningData());
o.add(buildBackendServicesScopedListWarningData());
return o;
}
-checkUnnamed2024(core.List<api.BackendServicesScopedListWarningData> o) {
+checkUnnamed2036(core.List<api.BackendServicesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedListWarningData(o[0]);
checkBackendServicesScopedListWarningData(o[1]);
@@ -1045,7 +1066,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2024();
+ o.data = buildUnnamed2036();
o.message = "foo";
}
buildCounterBackendServicesScopedListWarning--;
@@ -1056,7 +1077,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2024(o.data);
+ checkUnnamed2036(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServicesScopedListWarning--;
@@ -1067,7 +1088,7 @@
var o = new api.BackendServicesScopedList();
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- o.backendServices = buildUnnamed2023();
+ o.backendServices = buildUnnamed2035();
o.warning = buildBackendServicesScopedListWarning();
}
buildCounterBackendServicesScopedList--;
@@ -1077,7 +1098,7 @@
checkBackendServicesScopedList(api.BackendServicesScopedList o) {
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- checkUnnamed2023(o.backendServices);
+ checkUnnamed2035(o.backendServices);
checkBackendServicesScopedListWarning(o.warning);
}
buildCounterBackendServicesScopedList--;
@@ -1104,6 +1125,59 @@
buildCounterCacheInvalidationRule--;
}
+buildUnnamed2037() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2037(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2038() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2038(core.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 buildCounterCacheKeyPolicy = 0;
+buildCacheKeyPolicy() {
+ var o = new api.CacheKeyPolicy();
+ buildCounterCacheKeyPolicy++;
+ if (buildCounterCacheKeyPolicy < 3) {
+ o.includeHost = true;
+ o.includeProtocol = true;
+ o.includeQueryString = true;
+ o.queryStringBlacklist = buildUnnamed2037();
+ o.queryStringWhitelist = buildUnnamed2038();
+ }
+ buildCounterCacheKeyPolicy--;
+ return o;
+}
+
+checkCacheKeyPolicy(api.CacheKeyPolicy o) {
+ buildCounterCacheKeyPolicy++;
+ if (buildCounterCacheKeyPolicy < 3) {
+ unittest.expect(o.includeHost, unittest.isTrue);
+ unittest.expect(o.includeProtocol, unittest.isTrue);
+ unittest.expect(o.includeQueryString, unittest.isTrue);
+ checkUnnamed2037(o.queryStringBlacklist);
+ checkUnnamed2038(o.queryStringWhitelist);
+ }
+ buildCounterCacheKeyPolicy--;
+}
+
core.int buildCounterConnectionDraining = 0;
buildConnectionDraining() {
var o = new api.ConnectionDraining();
@@ -1192,27 +1266,27 @@
buildCounterDeprecationStatus--;
}
-buildUnnamed2025() {
+buildUnnamed2039() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2025(core.List<core.String> o) {
+checkUnnamed2039(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2026() {
+buildUnnamed2040() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2026(core.List<core.String> o) {
+checkUnnamed2040(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1230,7 +1304,7 @@
o.kind = "foo";
o.lastAttachTimestamp = "foo";
o.lastDetachTimestamp = "foo";
- o.licenses = buildUnnamed2025();
+ o.licenses = buildUnnamed2039();
o.name = "foo";
o.options = "foo";
o.selfLink = "foo";
@@ -1243,7 +1317,7 @@
o.sourceSnapshotId = "foo";
o.status = "foo";
o.type = "foo";
- o.users = buildUnnamed2026();
+ o.users = buildUnnamed2040();
o.zone = "foo";
}
buildCounterDisk--;
@@ -1260,7 +1334,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastAttachTimestamp, unittest.equals('foo'));
unittest.expect(o.lastDetachTimestamp, unittest.equals('foo'));
- checkUnnamed2025(o.licenses);
+ checkUnnamed2039(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.options, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1273,20 +1347,20 @@
unittest.expect(o.sourceSnapshotId, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed2026(o.users);
+ checkUnnamed2040(o.users);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterDisk--;
}
-buildUnnamed2027() {
+buildUnnamed2041() {
var o = new core.Map<core.String, api.DisksScopedList>();
o["x"] = buildDisksScopedList();
o["y"] = buildDisksScopedList();
return o;
}
-checkUnnamed2027(core.Map<core.String, api.DisksScopedList> o) {
+checkUnnamed2041(core.Map<core.String, api.DisksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedList(o["x"]);
checkDisksScopedList(o["y"]);
@@ -1298,7 +1372,7 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2027();
+ o.items = buildUnnamed2041();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1311,7 +1385,7 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2027(o.items);
+ checkUnnamed2041(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1319,14 +1393,14 @@
buildCounterDiskAggregatedList--;
}
-buildUnnamed2028() {
+buildUnnamed2042() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed2028(core.List<api.Disk> o) {
+checkUnnamed2042(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -1338,7 +1412,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
o.id = "foo";
- o.items = buildUnnamed2028();
+ o.items = buildUnnamed2042();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1351,7 +1425,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2028(o.items);
+ checkUnnamed2042(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1417,14 +1491,14 @@
buildCounterDiskType--;
}
-buildUnnamed2029() {
+buildUnnamed2043() {
var o = new core.Map<core.String, api.DiskTypesScopedList>();
o["x"] = buildDiskTypesScopedList();
o["y"] = buildDiskTypesScopedList();
return o;
}
-checkUnnamed2029(core.Map<core.String, api.DiskTypesScopedList> o) {
+checkUnnamed2043(core.Map<core.String, api.DiskTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedList(o["x"]);
checkDiskTypesScopedList(o["y"]);
@@ -1436,7 +1510,7 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2029();
+ o.items = buildUnnamed2043();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1449,7 +1523,7 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2029(o.items);
+ checkUnnamed2043(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1457,14 +1531,14 @@
buildCounterDiskTypeAggregatedList--;
}
-buildUnnamed2030() {
+buildUnnamed2044() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed2030(core.List<api.DiskType> o) {
+checkUnnamed2044(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -1476,7 +1550,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2030();
+ o.items = buildUnnamed2044();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1489,7 +1563,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2030(o.items);
+ checkUnnamed2044(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1497,14 +1571,14 @@
buildCounterDiskTypeList--;
}
-buildUnnamed2031() {
+buildUnnamed2045() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed2031(core.List<api.DiskType> o) {
+checkUnnamed2045(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -1531,14 +1605,14 @@
buildCounterDiskTypesScopedListWarningData--;
}
-buildUnnamed2032() {
+buildUnnamed2046() {
var o = new core.List<api.DiskTypesScopedListWarningData>();
o.add(buildDiskTypesScopedListWarningData());
o.add(buildDiskTypesScopedListWarningData());
return o;
}
-checkUnnamed2032(core.List<api.DiskTypesScopedListWarningData> o) {
+checkUnnamed2046(core.List<api.DiskTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedListWarningData(o[0]);
checkDiskTypesScopedListWarningData(o[1]);
@@ -1550,7 +1624,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2032();
+ o.data = buildUnnamed2046();
o.message = "foo";
}
buildCounterDiskTypesScopedListWarning--;
@@ -1561,7 +1635,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2032(o.data);
+ checkUnnamed2046(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypesScopedListWarning--;
@@ -1572,7 +1646,7 @@
var o = new api.DiskTypesScopedList();
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- o.diskTypes = buildUnnamed2031();
+ o.diskTypes = buildUnnamed2045();
o.warning = buildDiskTypesScopedListWarning();
}
buildCounterDiskTypesScopedList--;
@@ -1582,7 +1656,7 @@
checkDiskTypesScopedList(api.DiskTypesScopedList o) {
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- checkUnnamed2031(o.diskTypes);
+ checkUnnamed2045(o.diskTypes);
checkDiskTypesScopedListWarning(o.warning);
}
buildCounterDiskTypesScopedList--;
@@ -1607,14 +1681,14 @@
buildCounterDisksResizeRequest--;
}
-buildUnnamed2033() {
+buildUnnamed2047() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed2033(core.List<api.Disk> o) {
+checkUnnamed2047(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -1641,14 +1715,14 @@
buildCounterDisksScopedListWarningData--;
}
-buildUnnamed2034() {
+buildUnnamed2048() {
var o = new core.List<api.DisksScopedListWarningData>();
o.add(buildDisksScopedListWarningData());
o.add(buildDisksScopedListWarningData());
return o;
}
-checkUnnamed2034(core.List<api.DisksScopedListWarningData> o) {
+checkUnnamed2048(core.List<api.DisksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedListWarningData(o[0]);
checkDisksScopedListWarningData(o[1]);
@@ -1660,7 +1734,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2034();
+ o.data = buildUnnamed2048();
o.message = "foo";
}
buildCounterDisksScopedListWarning--;
@@ -1671,7 +1745,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2034(o.data);
+ checkUnnamed2048(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDisksScopedListWarning--;
@@ -1682,7 +1756,7 @@
var o = new api.DisksScopedList();
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- o.disks = buildUnnamed2033();
+ o.disks = buildUnnamed2047();
o.warning = buildDisksScopedListWarning();
}
buildCounterDisksScopedList--;
@@ -1692,20 +1766,20 @@
checkDisksScopedList(api.DisksScopedList o) {
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- checkUnnamed2033(o.disks);
+ checkUnnamed2047(o.disks);
checkDisksScopedListWarning(o.warning);
}
buildCounterDisksScopedList--;
}
-buildUnnamed2035() {
+buildUnnamed2049() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2035(core.List<core.String> o) {
+checkUnnamed2049(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1717,7 +1791,7 @@
buildCounterFirewallAllowed++;
if (buildCounterFirewallAllowed < 3) {
o.IPProtocol = "foo";
- o.ports = buildUnnamed2035();
+ o.ports = buildUnnamed2049();
}
buildCounterFirewallAllowed--;
return o;
@@ -1727,58 +1801,58 @@
buildCounterFirewallAllowed++;
if (buildCounterFirewallAllowed < 3) {
unittest.expect(o.IPProtocol, unittest.equals('foo'));
- checkUnnamed2035(o.ports);
+ checkUnnamed2049(o.ports);
}
buildCounterFirewallAllowed--;
}
-buildUnnamed2036() {
+buildUnnamed2050() {
var o = new core.List<api.FirewallAllowed>();
o.add(buildFirewallAllowed());
o.add(buildFirewallAllowed());
return o;
}
-checkUnnamed2036(core.List<api.FirewallAllowed> o) {
+checkUnnamed2050(core.List<api.FirewallAllowed> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallAllowed(o[0]);
checkFirewallAllowed(o[1]);
}
-buildUnnamed2037() {
+buildUnnamed2051() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2037(core.List<core.String> o) {
+checkUnnamed2051(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2038() {
+buildUnnamed2052() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2038(core.List<core.String> o) {
+checkUnnamed2052(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2039() {
+buildUnnamed2053() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2039(core.List<core.String> o) {
+checkUnnamed2053(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1789,7 +1863,7 @@
var o = new api.Firewall();
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- o.allowed = buildUnnamed2036();
+ o.allowed = buildUnnamed2050();
o.creationTimestamp = "foo";
o.description = "foo";
o.id = "foo";
@@ -1797,9 +1871,9 @@
o.name = "foo";
o.network = "foo";
o.selfLink = "foo";
- o.sourceRanges = buildUnnamed2037();
- o.sourceTags = buildUnnamed2038();
- o.targetTags = buildUnnamed2039();
+ o.sourceRanges = buildUnnamed2051();
+ o.sourceTags = buildUnnamed2052();
+ o.targetTags = buildUnnamed2053();
}
buildCounterFirewall--;
return o;
@@ -1808,7 +1882,7 @@
checkFirewall(api.Firewall o) {
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- checkUnnamed2036(o.allowed);
+ checkUnnamed2050(o.allowed);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -1816,21 +1890,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2037(o.sourceRanges);
- checkUnnamed2038(o.sourceTags);
- checkUnnamed2039(o.targetTags);
+ checkUnnamed2051(o.sourceRanges);
+ checkUnnamed2052(o.sourceTags);
+ checkUnnamed2053(o.targetTags);
}
buildCounterFirewall--;
}
-buildUnnamed2040() {
+buildUnnamed2054() {
var o = new core.List<api.Firewall>();
o.add(buildFirewall());
o.add(buildFirewall());
return o;
}
-checkUnnamed2040(core.List<api.Firewall> o) {
+checkUnnamed2054(core.List<api.Firewall> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewall(o[0]);
checkFirewall(o[1]);
@@ -1842,7 +1916,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
o.id = "foo";
- o.items = buildUnnamed2040();
+ o.items = buildUnnamed2054();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1855,7 +1929,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2040(o.items);
+ checkUnnamed2054(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1863,14 +1937,14 @@
buildCounterFirewallList--;
}
-buildUnnamed2041() {
+buildUnnamed2055() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2041(core.List<core.String> o) {
+checkUnnamed2055(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1892,7 +1966,7 @@
o.name = "foo";
o.network = "foo";
o.portRange = "foo";
- o.ports = buildUnnamed2041();
+ o.ports = buildUnnamed2055();
o.region = "foo";
o.selfLink = "foo";
o.subnetwork = "foo";
@@ -1916,7 +1990,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.portRange, unittest.equals('foo'));
- checkUnnamed2041(o.ports);
+ checkUnnamed2055(o.ports);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.subnetwork, unittest.equals('foo'));
@@ -1925,14 +1999,14 @@
buildCounterForwardingRule--;
}
-buildUnnamed2042() {
+buildUnnamed2056() {
var o = new core.Map<core.String, api.ForwardingRulesScopedList>();
o["x"] = buildForwardingRulesScopedList();
o["y"] = buildForwardingRulesScopedList();
return o;
}
-checkUnnamed2042(core.Map<core.String, api.ForwardingRulesScopedList> o) {
+checkUnnamed2056(core.Map<core.String, api.ForwardingRulesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedList(o["x"]);
checkForwardingRulesScopedList(o["y"]);
@@ -1944,7 +2018,7 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2042();
+ o.items = buildUnnamed2056();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1957,7 +2031,7 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2042(o.items);
+ checkUnnamed2056(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1965,14 +2039,14 @@
buildCounterForwardingRuleAggregatedList--;
}
-buildUnnamed2043() {
+buildUnnamed2057() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed2043(core.List<api.ForwardingRule> o) {
+checkUnnamed2057(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -1984,7 +2058,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
o.id = "foo";
- o.items = buildUnnamed2043();
+ o.items = buildUnnamed2057();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1997,7 +2071,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2043(o.items);
+ checkUnnamed2057(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2005,14 +2079,14 @@
buildCounterForwardingRuleList--;
}
-buildUnnamed2044() {
+buildUnnamed2058() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed2044(core.List<api.ForwardingRule> o) {
+checkUnnamed2058(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -2039,14 +2113,14 @@
buildCounterForwardingRulesScopedListWarningData--;
}
-buildUnnamed2045() {
+buildUnnamed2059() {
var o = new core.List<api.ForwardingRulesScopedListWarningData>();
o.add(buildForwardingRulesScopedListWarningData());
o.add(buildForwardingRulesScopedListWarningData());
return o;
}
-checkUnnamed2045(core.List<api.ForwardingRulesScopedListWarningData> o) {
+checkUnnamed2059(core.List<api.ForwardingRulesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedListWarningData(o[0]);
checkForwardingRulesScopedListWarningData(o[1]);
@@ -2058,7 +2132,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2045();
+ o.data = buildUnnamed2059();
o.message = "foo";
}
buildCounterForwardingRulesScopedListWarning--;
@@ -2069,7 +2143,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2045(o.data);
+ checkUnnamed2059(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRulesScopedListWarning--;
@@ -2080,7 +2154,7 @@
var o = new api.ForwardingRulesScopedList();
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- o.forwardingRules = buildUnnamed2044();
+ o.forwardingRules = buildUnnamed2058();
o.warning = buildForwardingRulesScopedListWarning();
}
buildCounterForwardingRulesScopedList--;
@@ -2090,7 +2164,7 @@
checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) {
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- checkUnnamed2044(o.forwardingRules);
+ checkUnnamed2058(o.forwardingRules);
checkForwardingRulesScopedListWarning(o.warning);
}
buildCounterForwardingRulesScopedList--;
@@ -2216,14 +2290,14 @@
buildCounterHealthCheck--;
}
-buildUnnamed2046() {
+buildUnnamed2060() {
var o = new core.List<api.HealthCheck>();
o.add(buildHealthCheck());
o.add(buildHealthCheck());
return o;
}
-checkUnnamed2046(core.List<api.HealthCheck> o) {
+checkUnnamed2060(core.List<api.HealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheck(o[0]);
checkHealthCheck(o[1]);
@@ -2235,7 +2309,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2046();
+ o.items = buildUnnamed2060();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2248,7 +2322,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2046(o.items);
+ checkUnnamed2060(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2300,14 +2374,14 @@
buildCounterHealthStatus--;
}
-buildUnnamed2047() {
+buildUnnamed2061() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2047(core.List<core.String> o) {
+checkUnnamed2061(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2319,7 +2393,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
o.description = "foo";
- o.hosts = buildUnnamed2047();
+ o.hosts = buildUnnamed2061();
o.pathMatcher = "foo";
}
buildCounterHostRule--;
@@ -2330,7 +2404,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2047(o.hosts);
+ checkUnnamed2061(o.hosts);
unittest.expect(o.pathMatcher, unittest.equals('foo'));
}
buildCounterHostRule--;
@@ -2379,14 +2453,14 @@
buildCounterHttpHealthCheck--;
}
-buildUnnamed2048() {
+buildUnnamed2062() {
var o = new core.List<api.HttpHealthCheck>();
o.add(buildHttpHealthCheck());
o.add(buildHttpHealthCheck());
return o;
}
-checkUnnamed2048(core.List<api.HttpHealthCheck> o) {
+checkUnnamed2062(core.List<api.HttpHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpHealthCheck(o[0]);
checkHttpHealthCheck(o[1]);
@@ -2398,7 +2472,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2048();
+ o.items = buildUnnamed2062();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2411,7 +2485,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2048(o.items);
+ checkUnnamed2062(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2462,14 +2536,14 @@
buildCounterHttpsHealthCheck--;
}
-buildUnnamed2049() {
+buildUnnamed2063() {
var o = new core.List<api.HttpsHealthCheck>();
o.add(buildHttpsHealthCheck());
o.add(buildHttpsHealthCheck());
return o;
}
-checkUnnamed2049(core.List<api.HttpsHealthCheck> o) {
+checkUnnamed2063(core.List<api.HttpsHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpsHealthCheck(o[0]);
checkHttpsHealthCheck(o[1]);
@@ -2481,7 +2555,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2049();
+ o.items = buildUnnamed2063();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2494,7 +2568,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2049(o.items);
+ checkUnnamed2063(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2502,27 +2576,27 @@
buildCounterHttpsHealthCheckList--;
}
-buildUnnamed2050() {
+buildUnnamed2064() {
var o = new core.List<api.GuestOsFeature>();
o.add(buildGuestOsFeature());
o.add(buildGuestOsFeature());
return o;
}
-checkUnnamed2050(core.List<api.GuestOsFeature> o) {
+checkUnnamed2064(core.List<api.GuestOsFeature> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuestOsFeature(o[0]);
checkGuestOsFeature(o[1]);
}
-buildUnnamed2051() {
+buildUnnamed2065() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2051(core.List<core.String> o) {
+checkUnnamed2065(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2562,11 +2636,11 @@
o.description = "foo";
o.diskSizeGb = "foo";
o.family = "foo";
- o.guestOsFeatures = buildUnnamed2050();
+ o.guestOsFeatures = buildUnnamed2064();
o.id = "foo";
o.imageEncryptionKey = buildCustomerEncryptionKey();
o.kind = "foo";
- o.licenses = buildUnnamed2051();
+ o.licenses = buildUnnamed2065();
o.name = "foo";
o.rawDisk = buildImageRawDisk();
o.selfLink = "foo";
@@ -2589,11 +2663,11 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed2050(o.guestOsFeatures);
+ checkUnnamed2064(o.guestOsFeatures);
unittest.expect(o.id, unittest.equals('foo'));
checkCustomerEncryptionKey(o.imageEncryptionKey);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2051(o.licenses);
+ checkUnnamed2065(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
checkImageRawDisk(o.rawDisk);
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2606,14 +2680,14 @@
buildCounterImage--;
}
-buildUnnamed2052() {
+buildUnnamed2066() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2052(core.List<api.Image> o) {
+checkUnnamed2066(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -2625,7 +2699,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
o.id = "foo";
- o.items = buildUnnamed2052();
+ o.items = buildUnnamed2066();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2638,7 +2712,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2052(o.items);
+ checkUnnamed2066(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2646,40 +2720,40 @@
buildCounterImageList--;
}
-buildUnnamed2053() {
+buildUnnamed2067() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed2053(core.List<api.AttachedDisk> o) {
+checkUnnamed2067(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed2054() {
+buildUnnamed2068() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed2054(core.List<api.NetworkInterface> o) {
+checkUnnamed2068(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed2055() {
+buildUnnamed2069() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed2055(core.List<api.ServiceAccount> o) {
+checkUnnamed2069(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -2694,16 +2768,16 @@
o.cpuPlatform = "foo";
o.creationTimestamp = "foo";
o.description = "foo";
- o.disks = buildUnnamed2053();
+ o.disks = buildUnnamed2067();
o.id = "foo";
o.kind = "foo";
o.machineType = "foo";
o.metadata = buildMetadata();
o.name = "foo";
- o.networkInterfaces = buildUnnamed2054();
+ o.networkInterfaces = buildUnnamed2068();
o.scheduling = buildScheduling();
o.selfLink = "foo";
- o.serviceAccounts = buildUnnamed2055();
+ o.serviceAccounts = buildUnnamed2069();
o.status = "foo";
o.statusMessage = "foo";
o.tags = buildTags();
@@ -2720,16 +2794,16 @@
unittest.expect(o.cpuPlatform, unittest.equals('foo'));
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2053(o.disks);
+ checkUnnamed2067(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'));
- checkUnnamed2054(o.networkInterfaces);
+ checkUnnamed2068(o.networkInterfaces);
checkScheduling(o.scheduling);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2055(o.serviceAccounts);
+ checkUnnamed2069(o.serviceAccounts);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusMessage, unittest.equals('foo'));
checkTags(o.tags);
@@ -2738,14 +2812,14 @@
buildCounterInstance--;
}
-buildUnnamed2056() {
+buildUnnamed2070() {
var o = new core.Map<core.String, api.InstancesScopedList>();
o["x"] = buildInstancesScopedList();
o["y"] = buildInstancesScopedList();
return o;
}
-checkUnnamed2056(core.Map<core.String, api.InstancesScopedList> o) {
+checkUnnamed2070(core.Map<core.String, api.InstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedList(o["x"]);
checkInstancesScopedList(o["y"]);
@@ -2757,7 +2831,7 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2056();
+ o.items = buildUnnamed2070();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2770,7 +2844,7 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2056(o.items);
+ checkUnnamed2070(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2778,14 +2852,14 @@
buildCounterInstanceAggregatedList--;
}
-buildUnnamed2057() {
+buildUnnamed2071() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2057(core.List<api.NamedPort> o) {
+checkUnnamed2071(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -2802,7 +2876,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed2057();
+ o.namedPorts = buildUnnamed2071();
o.network = "foo";
o.region = "foo";
o.selfLink = "foo";
@@ -2823,7 +2897,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2057(o.namedPorts);
+ checkUnnamed2071(o.namedPorts);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2834,14 +2908,14 @@
buildCounterInstanceGroup--;
}
-buildUnnamed2058() {
+buildUnnamed2072() {
var o = new core.Map<core.String, api.InstanceGroupsScopedList>();
o["x"] = buildInstanceGroupsScopedList();
o["y"] = buildInstanceGroupsScopedList();
return o;
}
-checkUnnamed2058(core.Map<core.String, api.InstanceGroupsScopedList> o) {
+checkUnnamed2072(core.Map<core.String, api.InstanceGroupsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedList(o["x"]);
checkInstanceGroupsScopedList(o["y"]);
@@ -2853,7 +2927,7 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2058();
+ o.items = buildUnnamed2072();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2866,7 +2940,7 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2058(o.items);
+ checkUnnamed2072(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2874,14 +2948,14 @@
buildCounterInstanceGroupAggregatedList--;
}
-buildUnnamed2059() {
+buildUnnamed2073() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2059(core.List<api.InstanceGroup> o) {
+checkUnnamed2073(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -2893,7 +2967,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed2059();
+ o.items = buildUnnamed2073();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2906,7 +2980,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2059(o.items);
+ checkUnnamed2073(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2914,27 +2988,27 @@
buildCounterInstanceGroupList--;
}
-buildUnnamed2060() {
+buildUnnamed2074() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2060(core.List<api.NamedPort> o) {
+checkUnnamed2074(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
}
-buildUnnamed2061() {
+buildUnnamed2075() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2061(core.List<core.String> o) {
+checkUnnamed2075(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2955,10 +3029,10 @@
o.instanceTemplate = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed2060();
+ o.namedPorts = buildUnnamed2074();
o.region = "foo";
o.selfLink = "foo";
- o.targetPools = buildUnnamed2061();
+ o.targetPools = buildUnnamed2075();
o.targetSize = 42;
o.zone = "foo";
}
@@ -2979,10 +3053,10 @@
unittest.expect(o.instanceTemplate, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2060(o.namedPorts);
+ checkUnnamed2074(o.namedPorts);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2061(o.targetPools);
+ checkUnnamed2075(o.targetPools);
unittest.expect(o.targetSize, unittest.equals(42));
unittest.expect(o.zone, unittest.equals('foo'));
}
@@ -3022,14 +3096,14 @@
buildCounterInstanceGroupManagerActionsSummary--;
}
-buildUnnamed2062() {
+buildUnnamed2076() {
var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>();
o["x"] = buildInstanceGroupManagersScopedList();
o["y"] = buildInstanceGroupManagersScopedList();
return o;
}
-checkUnnamed2062(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
+checkUnnamed2076(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedList(o["x"]);
checkInstanceGroupManagersScopedList(o["y"]);
@@ -3041,7 +3115,7 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2062();
+ o.items = buildUnnamed2076();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3054,7 +3128,7 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2062(o.items);
+ checkUnnamed2076(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3062,14 +3136,14 @@
buildCounterInstanceGroupManagerAggregatedList--;
}
-buildUnnamed2063() {
+buildUnnamed2077() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2063(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2077(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -3081,7 +3155,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2063();
+ o.items = buildUnnamed2077();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3094,7 +3168,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2063(o.items);
+ checkUnnamed2077(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3102,14 +3176,14 @@
buildCounterInstanceGroupManagerList--;
}
-buildUnnamed2064() {
+buildUnnamed2078() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2064(core.List<core.String> o) {
+checkUnnamed2078(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3120,7 +3194,7 @@
var o = new api.InstanceGroupManagersAbandonInstancesRequest();
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed2064();
+ o.instances = buildUnnamed2078();
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -3129,19 +3203,19 @@
checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAbandonInstancesRequest o) {
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed2064(o.instances);
+ checkUnnamed2078(o.instances);
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed2065() {
+buildUnnamed2079() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2065(core.List<core.String> o) {
+checkUnnamed2079(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3152,7 +3226,7 @@
var o = new api.InstanceGroupManagersDeleteInstancesRequest();
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed2065();
+ o.instances = buildUnnamed2079();
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -3161,19 +3235,19 @@
checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDeleteInstancesRequest o) {
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed2065(o.instances);
+ checkUnnamed2079(o.instances);
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed2066() {
+buildUnnamed2080() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed2066(core.List<api.ManagedInstance> o) {
+checkUnnamed2080(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -3184,7 +3258,7 @@
var o = new api.InstanceGroupManagersListManagedInstancesResponse();
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- o.managedInstances = buildUnnamed2066();
+ o.managedInstances = buildUnnamed2080();
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
return o;
@@ -3193,19 +3267,19 @@
checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagersListManagedInstancesResponse o) {
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- checkUnnamed2066(o.managedInstances);
+ checkUnnamed2080(o.managedInstances);
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
}
-buildUnnamed2067() {
+buildUnnamed2081() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2067(core.List<core.String> o) {
+checkUnnamed2081(core.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 +3290,7 @@
var o = new api.InstanceGroupManagersRecreateInstancesRequest();
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- o.instances = buildUnnamed2067();
+ o.instances = buildUnnamed2081();
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
return o;
@@ -3225,19 +3299,19 @@
checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecreateInstancesRequest o) {
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- checkUnnamed2067(o.instances);
+ checkUnnamed2081(o.instances);
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
}
-buildUnnamed2068() {
+buildUnnamed2082() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2068(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2082(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -3264,14 +3338,14 @@
buildCounterInstanceGroupManagersScopedListWarningData--;
}
-buildUnnamed2069() {
+buildUnnamed2083() {
var o = new core.List<api.InstanceGroupManagersScopedListWarningData>();
o.add(buildInstanceGroupManagersScopedListWarningData());
o.add(buildInstanceGroupManagersScopedListWarningData());
return o;
}
-checkUnnamed2069(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
+checkUnnamed2083(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedListWarningData(o[0]);
checkInstanceGroupManagersScopedListWarningData(o[1]);
@@ -3283,7 +3357,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2069();
+ o.data = buildUnnamed2083();
o.message = "foo";
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -3294,7 +3368,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2069(o.data);
+ checkUnnamed2083(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -3305,7 +3379,7 @@
var o = new api.InstanceGroupManagersScopedList();
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- o.instanceGroupManagers = buildUnnamed2068();
+ o.instanceGroupManagers = buildUnnamed2082();
o.warning = buildInstanceGroupManagersScopedListWarning();
}
buildCounterInstanceGroupManagersScopedList--;
@@ -3315,7 +3389,7 @@
checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) {
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- checkUnnamed2068(o.instanceGroupManagers);
+ checkUnnamed2082(o.instanceGroupManagers);
checkInstanceGroupManagersScopedListWarning(o.warning);
}
buildCounterInstanceGroupManagersScopedList--;
@@ -3340,14 +3414,14 @@
buildCounterInstanceGroupManagersSetInstanceTemplateRequest--;
}
-buildUnnamed2070() {
+buildUnnamed2084() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2070(core.List<core.String> o) {
+checkUnnamed2084(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3359,7 +3433,7 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed2070();
+ o.targetPools = buildUnnamed2084();
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -3369,19 +3443,19 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2070(o.targetPools);
+ checkUnnamed2084(o.targetPools);
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
}
-buildUnnamed2071() {
+buildUnnamed2085() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2071(core.List<api.InstanceReference> o) {
+checkUnnamed2085(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -3392,7 +3466,7 @@
var o = new api.InstanceGroupsAddInstancesRequest();
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- o.instances = buildUnnamed2071();
+ o.instances = buildUnnamed2085();
}
buildCounterInstanceGroupsAddInstancesRequest--;
return o;
@@ -3401,19 +3475,19 @@
checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o) {
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- checkUnnamed2071(o.instances);
+ checkUnnamed2085(o.instances);
}
buildCounterInstanceGroupsAddInstancesRequest--;
}
-buildUnnamed2072() {
+buildUnnamed2086() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed2072(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed2086(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -3425,7 +3499,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed2072();
+ o.items = buildUnnamed2086();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3438,7 +3512,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2072(o.items);
+ checkUnnamed2086(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3465,14 +3539,14 @@
buildCounterInstanceGroupsListInstancesRequest--;
}
-buildUnnamed2073() {
+buildUnnamed2087() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2073(core.List<api.InstanceReference> o) {
+checkUnnamed2087(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -3483,7 +3557,7 @@
var o = new api.InstanceGroupsRemoveInstancesRequest();
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- o.instances = buildUnnamed2073();
+ o.instances = buildUnnamed2087();
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
return o;
@@ -3492,19 +3566,19 @@
checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesRequest o) {
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- checkUnnamed2073(o.instances);
+ checkUnnamed2087(o.instances);
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
}
-buildUnnamed2074() {
+buildUnnamed2088() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2074(core.List<api.InstanceGroup> o) {
+checkUnnamed2088(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -3531,14 +3605,14 @@
buildCounterInstanceGroupsScopedListWarningData--;
}
-buildUnnamed2075() {
+buildUnnamed2089() {
var o = new core.List<api.InstanceGroupsScopedListWarningData>();
o.add(buildInstanceGroupsScopedListWarningData());
o.add(buildInstanceGroupsScopedListWarningData());
return o;
}
-checkUnnamed2075(core.List<api.InstanceGroupsScopedListWarningData> o) {
+checkUnnamed2089(core.List<api.InstanceGroupsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedListWarningData(o[0]);
checkInstanceGroupsScopedListWarningData(o[1]);
@@ -3550,7 +3624,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2075();
+ o.data = buildUnnamed2089();
o.message = "foo";
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -3561,7 +3635,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2075(o.data);
+ checkUnnamed2089(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -3572,7 +3646,7 @@
var o = new api.InstanceGroupsScopedList();
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- o.instanceGroups = buildUnnamed2074();
+ o.instanceGroups = buildUnnamed2088();
o.warning = buildInstanceGroupsScopedListWarning();
}
buildCounterInstanceGroupsScopedList--;
@@ -3582,20 +3656,20 @@
checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) {
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- checkUnnamed2074(o.instanceGroups);
+ checkUnnamed2088(o.instanceGroups);
checkInstanceGroupsScopedListWarning(o.warning);
}
buildCounterInstanceGroupsScopedList--;
}
-buildUnnamed2076() {
+buildUnnamed2090() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2076(core.List<api.NamedPort> o) {
+checkUnnamed2090(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -3607,7 +3681,7 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed2076();
+ o.namedPorts = buildUnnamed2090();
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -3617,19 +3691,19 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2076(o.namedPorts);
+ checkUnnamed2090(o.namedPorts);
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed2077() {
+buildUnnamed2091() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2077(core.List<api.Instance> o) {
+checkUnnamed2091(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -3641,7 +3715,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2077();
+ o.items = buildUnnamed2091();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3654,7 +3728,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2077(o.items);
+ checkUnnamed2091(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3683,40 +3757,40 @@
buildCounterInstanceMoveRequest--;
}
-buildUnnamed2078() {
+buildUnnamed2092() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed2078(core.List<api.AttachedDisk> o) {
+checkUnnamed2092(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed2079() {
+buildUnnamed2093() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed2079(core.List<api.NetworkInterface> o) {
+checkUnnamed2093(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed2080() {
+buildUnnamed2094() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed2080(core.List<api.ServiceAccount> o) {
+checkUnnamed2094(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -3729,12 +3803,12 @@
if (buildCounterInstanceProperties < 3) {
o.canIpForward = true;
o.description = "foo";
- o.disks = buildUnnamed2078();
+ o.disks = buildUnnamed2092();
o.machineType = "foo";
o.metadata = buildMetadata();
- o.networkInterfaces = buildUnnamed2079();
+ o.networkInterfaces = buildUnnamed2093();
o.scheduling = buildScheduling();
- o.serviceAccounts = buildUnnamed2080();
+ o.serviceAccounts = buildUnnamed2094();
o.tags = buildTags();
}
buildCounterInstanceProperties--;
@@ -3746,12 +3820,12 @@
if (buildCounterInstanceProperties < 3) {
unittest.expect(o.canIpForward, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2078(o.disks);
+ checkUnnamed2092(o.disks);
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
- checkUnnamed2079(o.networkInterfaces);
+ checkUnnamed2093(o.networkInterfaces);
checkScheduling(o.scheduling);
- checkUnnamed2080(o.serviceAccounts);
+ checkUnnamed2094(o.serviceAccounts);
checkTags(o.tags);
}
buildCounterInstanceProperties--;
@@ -3807,14 +3881,14 @@
buildCounterInstanceTemplate--;
}
-buildUnnamed2081() {
+buildUnnamed2095() {
var o = new core.List<api.InstanceTemplate>();
o.add(buildInstanceTemplate());
o.add(buildInstanceTemplate());
return o;
}
-checkUnnamed2081(core.List<api.InstanceTemplate> o) {
+checkUnnamed2095(core.List<api.InstanceTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceTemplate(o[0]);
checkInstanceTemplate(o[1]);
@@ -3826,7 +3900,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
o.id = "foo";
- o.items = buildUnnamed2081();
+ o.items = buildUnnamed2095();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3839,7 +3913,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2081(o.items);
+ checkUnnamed2095(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3847,14 +3921,14 @@
buildCounterInstanceTemplateList--;
}
-buildUnnamed2082() {
+buildUnnamed2096() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2082(core.List<api.NamedPort> o) {
+checkUnnamed2096(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -3866,7 +3940,7 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
o.instance = "foo";
- o.namedPorts = buildUnnamed2082();
+ o.namedPorts = buildUnnamed2096();
o.status = "foo";
}
buildCounterInstanceWithNamedPorts--;
@@ -3877,20 +3951,20 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
unittest.expect(o.instance, unittest.equals('foo'));
- checkUnnamed2082(o.namedPorts);
+ checkUnnamed2096(o.namedPorts);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterInstanceWithNamedPorts--;
}
-buildUnnamed2083() {
+buildUnnamed2097() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2083(core.List<api.Instance> o) {
+checkUnnamed2097(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -3917,14 +3991,14 @@
buildCounterInstancesScopedListWarningData--;
}
-buildUnnamed2084() {
+buildUnnamed2098() {
var o = new core.List<api.InstancesScopedListWarningData>();
o.add(buildInstancesScopedListWarningData());
o.add(buildInstancesScopedListWarningData());
return o;
}
-checkUnnamed2084(core.List<api.InstancesScopedListWarningData> o) {
+checkUnnamed2098(core.List<api.InstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedListWarningData(o[0]);
checkInstancesScopedListWarningData(o[1]);
@@ -3936,7 +4010,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2084();
+ o.data = buildUnnamed2098();
o.message = "foo";
}
buildCounterInstancesScopedListWarning--;
@@ -3947,7 +4021,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2084(o.data);
+ checkUnnamed2098(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstancesScopedListWarning--;
@@ -3958,7 +4032,7 @@
var o = new api.InstancesScopedList();
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- o.instances = buildUnnamed2083();
+ o.instances = buildUnnamed2097();
o.warning = buildInstancesScopedListWarning();
}
buildCounterInstancesScopedList--;
@@ -3968,7 +4042,7 @@
checkInstancesScopedList(api.InstancesScopedList o) {
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- checkUnnamed2083(o.instances);
+ checkUnnamed2097(o.instances);
checkInstancesScopedListWarning(o.warning);
}
buildCounterInstancesScopedList--;
@@ -3993,14 +4067,14 @@
buildCounterInstancesSetMachineTypeRequest--;
}
-buildUnnamed2085() {
+buildUnnamed2099() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2085(core.List<core.String> o) {
+checkUnnamed2099(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4012,7 +4086,7 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
o.email = "foo";
- o.scopes = buildUnnamed2085();
+ o.scopes = buildUnnamed2099();
}
buildCounterInstancesSetServiceAccountRequest--;
return o;
@@ -4022,19 +4096,19 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed2085(o.scopes);
+ checkUnnamed2099(o.scopes);
}
buildCounterInstancesSetServiceAccountRequest--;
}
-buildUnnamed2086() {
+buildUnnamed2100() {
var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>();
o.add(buildCustomerEncryptionKeyProtectedDisk());
o.add(buildCustomerEncryptionKeyProtectedDisk());
return o;
}
-checkUnnamed2086(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
+checkUnnamed2100(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomerEncryptionKeyProtectedDisk(o[0]);
checkCustomerEncryptionKeyProtectedDisk(o[1]);
@@ -4045,7 +4119,7 @@
var o = new api.InstancesStartWithEncryptionKeyRequest();
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- o.disks = buildUnnamed2086();
+ o.disks = buildUnnamed2100();
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
return o;
@@ -4054,7 +4128,7 @@
checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyRequest o) {
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- checkUnnamed2086(o.disks);
+ checkUnnamed2100(o.disks);
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
}
@@ -4103,14 +4177,14 @@
buildCounterMachineTypeScratchDisks--;
}
-buildUnnamed2087() {
+buildUnnamed2101() {
var o = new core.List<api.MachineTypeScratchDisks>();
o.add(buildMachineTypeScratchDisks());
o.add(buildMachineTypeScratchDisks());
return o;
}
-checkUnnamed2087(core.List<api.MachineTypeScratchDisks> o) {
+checkUnnamed2101(core.List<api.MachineTypeScratchDisks> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeScratchDisks(o[0]);
checkMachineTypeScratchDisks(o[1]);
@@ -4133,7 +4207,7 @@
o.maximumPersistentDisksSizeGb = "foo";
o.memoryMb = 42;
o.name = "foo";
- o.scratchDisks = buildUnnamed2087();
+ o.scratchDisks = buildUnnamed2101();
o.selfLink = "foo";
o.zone = "foo";
}
@@ -4156,21 +4230,21 @@
unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo'));
unittest.expect(o.memoryMb, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2087(o.scratchDisks);
+ checkUnnamed2101(o.scratchDisks);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterMachineType--;
}
-buildUnnamed2088() {
+buildUnnamed2102() {
var o = new core.Map<core.String, api.MachineTypesScopedList>();
o["x"] = buildMachineTypesScopedList();
o["y"] = buildMachineTypesScopedList();
return o;
}
-checkUnnamed2088(core.Map<core.String, api.MachineTypesScopedList> o) {
+checkUnnamed2102(core.Map<core.String, api.MachineTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedList(o["x"]);
checkMachineTypesScopedList(o["y"]);
@@ -4182,7 +4256,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2088();
+ o.items = buildUnnamed2102();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4195,7 +4269,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2088(o.items);
+ checkUnnamed2102(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4203,14 +4277,14 @@
buildCounterMachineTypeAggregatedList--;
}
-buildUnnamed2089() {
+buildUnnamed2103() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed2089(core.List<api.MachineType> o) {
+checkUnnamed2103(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -4222,7 +4296,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2089();
+ o.items = buildUnnamed2103();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4235,7 +4309,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2089(o.items);
+ checkUnnamed2103(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4243,14 +4317,14 @@
buildCounterMachineTypeList--;
}
-buildUnnamed2090() {
+buildUnnamed2104() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed2090(core.List<api.MachineType> o) {
+checkUnnamed2104(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -4277,14 +4351,14 @@
buildCounterMachineTypesScopedListWarningData--;
}
-buildUnnamed2091() {
+buildUnnamed2105() {
var o = new core.List<api.MachineTypesScopedListWarningData>();
o.add(buildMachineTypesScopedListWarningData());
o.add(buildMachineTypesScopedListWarningData());
return o;
}
-checkUnnamed2091(core.List<api.MachineTypesScopedListWarningData> o) {
+checkUnnamed2105(core.List<api.MachineTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedListWarningData(o[0]);
checkMachineTypesScopedListWarningData(o[1]);
@@ -4296,7 +4370,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2091();
+ o.data = buildUnnamed2105();
o.message = "foo";
}
buildCounterMachineTypesScopedListWarning--;
@@ -4307,7 +4381,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2091(o.data);
+ checkUnnamed2105(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypesScopedListWarning--;
@@ -4318,7 +4392,7 @@
var o = new api.MachineTypesScopedList();
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- o.machineTypes = buildUnnamed2090();
+ o.machineTypes = buildUnnamed2104();
o.warning = buildMachineTypesScopedListWarning();
}
buildCounterMachineTypesScopedList--;
@@ -4328,7 +4402,7 @@
checkMachineTypesScopedList(api.MachineTypesScopedList o) {
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- checkUnnamed2090(o.machineTypes);
+ checkUnnamed2104(o.machineTypes);
checkMachineTypesScopedListWarning(o.warning);
}
buildCounterMachineTypesScopedList--;
@@ -4384,14 +4458,14 @@
buildCounterManagedInstanceLastAttemptErrorsErrors--;
}
-buildUnnamed2092() {
+buildUnnamed2106() {
var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>();
o.add(buildManagedInstanceLastAttemptErrorsErrors());
o.add(buildManagedInstanceLastAttemptErrorsErrors());
return o;
}
-checkUnnamed2092(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
+checkUnnamed2106(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstanceLastAttemptErrorsErrors(o[0]);
checkManagedInstanceLastAttemptErrorsErrors(o[1]);
@@ -4402,7 +4476,7 @@
var o = new api.ManagedInstanceLastAttemptErrors();
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- o.errors = buildUnnamed2092();
+ o.errors = buildUnnamed2106();
}
buildCounterManagedInstanceLastAttemptErrors--;
return o;
@@ -4411,7 +4485,7 @@
checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) {
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- checkUnnamed2092(o.errors);
+ checkUnnamed2106(o.errors);
}
buildCounterManagedInstanceLastAttemptErrors--;
}
@@ -4456,14 +4530,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed2093() {
+buildUnnamed2107() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed2093(core.List<api.MetadataItems> o) {
+checkUnnamed2107(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -4475,7 +4549,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed2093();
+ o.items = buildUnnamed2107();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -4486,7 +4560,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2093(o.items);
+ checkUnnamed2107(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -4513,14 +4587,14 @@
buildCounterNamedPort--;
}
-buildUnnamed2094() {
+buildUnnamed2108() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2094(core.List<core.String> o) {
+checkUnnamed2108(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4540,7 +4614,7 @@
o.kind = "foo";
o.name = "foo";
o.selfLink = "foo";
- o.subnetworks = buildUnnamed2094();
+ o.subnetworks = buildUnnamed2108();
}
buildCounterNetwork--;
return o;
@@ -4558,19 +4632,19 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2094(o.subnetworks);
+ checkUnnamed2108(o.subnetworks);
}
buildCounterNetwork--;
}
-buildUnnamed2095() {
+buildUnnamed2109() {
var o = new core.List<api.AccessConfig>();
o.add(buildAccessConfig());
o.add(buildAccessConfig());
return o;
}
-checkUnnamed2095(core.List<api.AccessConfig> o) {
+checkUnnamed2109(core.List<api.AccessConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccessConfig(o[0]);
checkAccessConfig(o[1]);
@@ -4581,7 +4655,7 @@
var o = new api.NetworkInterface();
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- o.accessConfigs = buildUnnamed2095();
+ o.accessConfigs = buildUnnamed2109();
o.kind = "foo";
o.name = "foo";
o.network = "foo";
@@ -4595,7 +4669,7 @@
checkNetworkInterface(api.NetworkInterface o) {
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- checkUnnamed2095(o.accessConfigs);
+ checkUnnamed2109(o.accessConfigs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
@@ -4605,14 +4679,14 @@
buildCounterNetworkInterface--;
}
-buildUnnamed2096() {
+buildUnnamed2110() {
var o = new core.List<api.Network>();
o.add(buildNetwork());
o.add(buildNetwork());
return o;
}
-checkUnnamed2096(core.List<api.Network> o) {
+checkUnnamed2110(core.List<api.Network> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetwork(o[0]);
checkNetwork(o[1]);
@@ -4624,7 +4698,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed2096();
+ o.items = buildUnnamed2110();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4637,7 +4711,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2096(o.items);
+ checkUnnamed2110(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4668,14 +4742,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed2097() {
+buildUnnamed2111() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed2097(core.List<api.OperationErrorErrors> o) {
+checkUnnamed2111(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -4686,7 +4760,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed2097();
+ o.errors = buildUnnamed2111();
}
buildCounterOperationError--;
return o;
@@ -4695,7 +4769,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed2097(o.errors);
+ checkUnnamed2111(o.errors);
}
buildCounterOperationError--;
}
@@ -4721,14 +4795,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed2098() {
+buildUnnamed2112() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed2098(core.List<api.OperationWarningsData> o) {
+checkUnnamed2112(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -4740,7 +4814,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2098();
+ o.data = buildUnnamed2112();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -4751,20 +4825,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2098(o.data);
+ checkUnnamed2112(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed2099() {
+buildUnnamed2113() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed2099(core.List<api.OperationWarnings> o) {
+checkUnnamed2113(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -4796,7 +4870,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed2099();
+ o.warnings = buildUnnamed2113();
o.zone = "foo";
}
buildCounterOperation--;
@@ -4827,20 +4901,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2099(o.warnings);
+ checkUnnamed2113(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed2100() {
+buildUnnamed2114() {
var o = new core.Map<core.String, api.OperationsScopedList>();
o["x"] = buildOperationsScopedList();
o["y"] = buildOperationsScopedList();
return o;
}
-checkUnnamed2100(core.Map<core.String, api.OperationsScopedList> o) {
+checkUnnamed2114(core.Map<core.String, api.OperationsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedList(o["x"]);
checkOperationsScopedList(o["y"]);
@@ -4852,7 +4926,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2100();
+ o.items = buildUnnamed2114();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4865,7 +4939,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2100(o.items);
+ checkUnnamed2114(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4873,14 +4947,14 @@
buildCounterOperationAggregatedList--;
}
-buildUnnamed2101() {
+buildUnnamed2115() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2101(core.List<api.Operation> o) {
+checkUnnamed2115(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -4892,7 +4966,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed2101();
+ o.items = buildUnnamed2115();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4905,7 +4979,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2101(o.items);
+ checkUnnamed2115(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4913,14 +4987,14 @@
buildCounterOperationList--;
}
-buildUnnamed2102() {
+buildUnnamed2116() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2102(core.List<api.Operation> o) {
+checkUnnamed2116(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -4947,14 +5021,14 @@
buildCounterOperationsScopedListWarningData--;
}
-buildUnnamed2103() {
+buildUnnamed2117() {
var o = new core.List<api.OperationsScopedListWarningData>();
o.add(buildOperationsScopedListWarningData());
o.add(buildOperationsScopedListWarningData());
return o;
}
-checkUnnamed2103(core.List<api.OperationsScopedListWarningData> o) {
+checkUnnamed2117(core.List<api.OperationsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedListWarningData(o[0]);
checkOperationsScopedListWarningData(o[1]);
@@ -4966,7 +5040,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2103();
+ o.data = buildUnnamed2117();
o.message = "foo";
}
buildCounterOperationsScopedListWarning--;
@@ -4977,7 +5051,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2103(o.data);
+ checkUnnamed2117(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationsScopedListWarning--;
@@ -4988,7 +5062,7 @@
var o = new api.OperationsScopedList();
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- o.operations = buildUnnamed2102();
+ o.operations = buildUnnamed2116();
o.warning = buildOperationsScopedListWarning();
}
buildCounterOperationsScopedList--;
@@ -4998,20 +5072,20 @@
checkOperationsScopedList(api.OperationsScopedList o) {
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- checkUnnamed2102(o.operations);
+ checkUnnamed2116(o.operations);
checkOperationsScopedListWarning(o.warning);
}
buildCounterOperationsScopedList--;
}
-buildUnnamed2104() {
+buildUnnamed2118() {
var o = new core.List<api.PathRule>();
o.add(buildPathRule());
o.add(buildPathRule());
return o;
}
-checkUnnamed2104(core.List<api.PathRule> o) {
+checkUnnamed2118(core.List<api.PathRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathRule(o[0]);
checkPathRule(o[1]);
@@ -5025,7 +5099,7 @@
o.defaultService = "foo";
o.description = "foo";
o.name = "foo";
- o.pathRules = buildUnnamed2104();
+ o.pathRules = buildUnnamed2118();
}
buildCounterPathMatcher--;
return o;
@@ -5037,19 +5111,19 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2104(o.pathRules);
+ checkUnnamed2118(o.pathRules);
}
buildCounterPathMatcher--;
}
-buildUnnamed2105() {
+buildUnnamed2119() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2105(core.List<core.String> o) {
+checkUnnamed2119(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5060,7 +5134,7 @@
var o = new api.PathRule();
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- o.paths = buildUnnamed2105();
+ o.paths = buildUnnamed2119();
o.service = "foo";
}
buildCounterPathRule--;
@@ -5070,33 +5144,33 @@
checkPathRule(api.PathRule o) {
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- checkUnnamed2105(o.paths);
+ checkUnnamed2119(o.paths);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterPathRule--;
}
-buildUnnamed2106() {
+buildUnnamed2120() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2106(core.List<core.String> o) {
+checkUnnamed2120(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2107() {
+buildUnnamed2121() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2107(core.List<api.Quota> o) {
+checkUnnamed2121(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
@@ -5111,11 +5185,11 @@
o.creationTimestamp = "foo";
o.defaultServiceAccount = "foo";
o.description = "foo";
- o.enabledFeatures = buildUnnamed2106();
+ o.enabledFeatures = buildUnnamed2120();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2107();
+ o.quotas = buildUnnamed2121();
o.selfLink = "foo";
o.usageExportLocation = buildUsageExportLocation();
}
@@ -5130,11 +5204,11 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.defaultServiceAccount, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2106(o.enabledFeatures);
+ checkUnnamed2120(o.enabledFeatures);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2107(o.quotas);
+ checkUnnamed2121(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
checkUsageExportLocation(o.usageExportLocation);
}
@@ -5164,27 +5238,27 @@
buildCounterQuota--;
}
-buildUnnamed2108() {
+buildUnnamed2122() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2108(core.List<api.Quota> o) {
+checkUnnamed2122(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
}
-buildUnnamed2109() {
+buildUnnamed2123() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2109(core.List<core.String> o) {
+checkUnnamed2123(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5201,10 +5275,10 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2108();
+ o.quotas = buildUnnamed2122();
o.selfLink = "foo";
o.status = "foo";
- o.zones = buildUnnamed2109();
+ o.zones = buildUnnamed2123();
}
buildCounterRegion--;
return o;
@@ -5219,22 +5293,22 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2108(o.quotas);
+ checkUnnamed2122(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2109(o.zones);
+ checkUnnamed2123(o.zones);
}
buildCounterRegion--;
}
-buildUnnamed2110() {
+buildUnnamed2124() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2110(core.List<api.Autoscaler> o) {
+checkUnnamed2124(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -5246,7 +5320,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2110();
+ o.items = buildUnnamed2124();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5259,7 +5333,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2110(o.items);
+ checkUnnamed2124(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5267,14 +5341,14 @@
buildCounterRegionAutoscalerList--;
}
-buildUnnamed2111() {
+buildUnnamed2125() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2111(core.List<api.InstanceGroup> o) {
+checkUnnamed2125(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -5286,7 +5360,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed2111();
+ o.items = buildUnnamed2125();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5299,7 +5373,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2111(o.items);
+ checkUnnamed2125(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5307,14 +5381,14 @@
buildCounterRegionInstanceGroupList--;
}
-buildUnnamed2112() {
+buildUnnamed2126() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2112(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2126(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -5326,7 +5400,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2112();
+ o.items = buildUnnamed2126();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5339,7 +5413,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2112(o.items);
+ checkUnnamed2126(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5347,14 +5421,14 @@
buildCounterRegionInstanceGroupManagerList--;
}
-buildUnnamed2113() {
+buildUnnamed2127() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2113(core.List<core.String> o) {
+checkUnnamed2127(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5365,7 +5439,7 @@
var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest();
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed2113();
+ o.instances = buildUnnamed2127();
}
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -5374,19 +5448,19 @@
checkRegionInstanceGroupManagersAbandonInstancesRequest(api.RegionInstanceGroupManagersAbandonInstancesRequest o) {
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed2113(o.instances);
+ checkUnnamed2127(o.instances);
}
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed2114() {
+buildUnnamed2128() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2114(core.List<core.String> o) {
+checkUnnamed2128(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5397,7 +5471,7 @@
var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest();
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed2114();
+ o.instances = buildUnnamed2128();
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -5406,19 +5480,19 @@
checkRegionInstanceGroupManagersDeleteInstancesRequest(api.RegionInstanceGroupManagersDeleteInstancesRequest o) {
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed2114(o.instances);
+ checkUnnamed2128(o.instances);
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed2115() {
+buildUnnamed2129() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed2115(core.List<api.ManagedInstance> o) {
+checkUnnamed2129(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -5429,7 +5503,7 @@
var o = new api.RegionInstanceGroupManagersListInstancesResponse();
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- o.managedInstances = buildUnnamed2115();
+ o.managedInstances = buildUnnamed2129();
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
return o;
@@ -5438,19 +5512,19 @@
checkRegionInstanceGroupManagersListInstancesResponse(api.RegionInstanceGroupManagersListInstancesResponse o) {
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- checkUnnamed2115(o.managedInstances);
+ checkUnnamed2129(o.managedInstances);
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
}
-buildUnnamed2116() {
+buildUnnamed2130() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2116(core.List<core.String> o) {
+checkUnnamed2130(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5461,7 +5535,7 @@
var o = new api.RegionInstanceGroupManagersRecreateRequest();
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- o.instances = buildUnnamed2116();
+ o.instances = buildUnnamed2130();
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
return o;
@@ -5470,19 +5544,19 @@
checkRegionInstanceGroupManagersRecreateRequest(api.RegionInstanceGroupManagersRecreateRequest o) {
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- checkUnnamed2116(o.instances);
+ checkUnnamed2130(o.instances);
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
}
-buildUnnamed2117() {
+buildUnnamed2131() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2117(core.List<core.String> o) {
+checkUnnamed2131(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5494,7 +5568,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed2117();
+ o.targetPools = buildUnnamed2131();
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -5504,7 +5578,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2117(o.targetPools);
+ checkUnnamed2131(o.targetPools);
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
}
@@ -5528,14 +5602,14 @@
buildCounterRegionInstanceGroupManagersSetTemplateRequest--;
}
-buildUnnamed2118() {
+buildUnnamed2132() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed2118(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed2132(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -5547,7 +5621,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed2118();
+ o.items = buildUnnamed2132();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5560,7 +5634,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2118(o.items);
+ checkUnnamed2132(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5589,14 +5663,14 @@
buildCounterRegionInstanceGroupsListInstancesRequest--;
}
-buildUnnamed2119() {
+buildUnnamed2133() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2119(core.List<api.NamedPort> o) {
+checkUnnamed2133(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -5608,7 +5682,7 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed2119();
+ o.namedPorts = buildUnnamed2133();
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -5618,19 +5692,19 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2119(o.namedPorts);
+ checkUnnamed2133(o.namedPorts);
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed2120() {
+buildUnnamed2134() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2120(core.List<api.Region> o) {
+checkUnnamed2134(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -5642,7 +5716,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
o.id = "foo";
- o.items = buildUnnamed2120();
+ o.items = buildUnnamed2134();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5655,7 +5729,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2120(o.items);
+ checkUnnamed2134(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5682,14 +5756,14 @@
buildCounterResourceGroupReference--;
}
-buildUnnamed2121() {
+buildUnnamed2135() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2121(core.List<core.String> o) {
+checkUnnamed2135(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5716,14 +5790,14 @@
buildCounterRouteWarningsData--;
}
-buildUnnamed2122() {
+buildUnnamed2136() {
var o = new core.List<api.RouteWarningsData>();
o.add(buildRouteWarningsData());
o.add(buildRouteWarningsData());
return o;
}
-checkUnnamed2122(core.List<api.RouteWarningsData> o) {
+checkUnnamed2136(core.List<api.RouteWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarningsData(o[0]);
checkRouteWarningsData(o[1]);
@@ -5735,7 +5809,7 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2122();
+ o.data = buildUnnamed2136();
o.message = "foo";
}
buildCounterRouteWarnings--;
@@ -5746,20 +5820,20 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2122(o.data);
+ checkUnnamed2136(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouteWarnings--;
}
-buildUnnamed2123() {
+buildUnnamed2137() {
var o = new core.List<api.RouteWarnings>();
o.add(buildRouteWarnings());
o.add(buildRouteWarnings());
return o;
}
-checkUnnamed2123(core.List<api.RouteWarnings> o) {
+checkUnnamed2137(core.List<api.RouteWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarnings(o[0]);
checkRouteWarnings(o[1]);
@@ -5784,8 +5858,8 @@
o.nextHopVpnTunnel = "foo";
o.priority = 42;
o.selfLink = "foo";
- o.tags = buildUnnamed2121();
- o.warnings = buildUnnamed2123();
+ o.tags = buildUnnamed2135();
+ o.warnings = buildUnnamed2137();
}
buildCounterRoute--;
return o;
@@ -5808,20 +5882,20 @@
unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2121(o.tags);
- checkUnnamed2123(o.warnings);
+ checkUnnamed2135(o.tags);
+ checkUnnamed2137(o.warnings);
}
buildCounterRoute--;
}
-buildUnnamed2124() {
+buildUnnamed2138() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2124(core.List<api.Route> o) {
+checkUnnamed2138(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -5833,7 +5907,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
o.id = "foo";
- o.items = buildUnnamed2124();
+ o.items = buildUnnamed2138();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5846,7 +5920,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2124(o.items);
+ checkUnnamed2138(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5854,27 +5928,27 @@
buildCounterRouteList--;
}
-buildUnnamed2125() {
+buildUnnamed2139() {
var o = new core.List<api.RouterBgpPeer>();
o.add(buildRouterBgpPeer());
o.add(buildRouterBgpPeer());
return o;
}
-checkUnnamed2125(core.List<api.RouterBgpPeer> o) {
+checkUnnamed2139(core.List<api.RouterBgpPeer> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterBgpPeer(o[0]);
checkRouterBgpPeer(o[1]);
}
-buildUnnamed2126() {
+buildUnnamed2140() {
var o = new core.List<api.RouterInterface>();
o.add(buildRouterInterface());
o.add(buildRouterInterface());
return o;
}
-checkUnnamed2126(core.List<api.RouterInterface> o) {
+checkUnnamed2140(core.List<api.RouterInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterInterface(o[0]);
checkRouterInterface(o[1]);
@@ -5886,11 +5960,11 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
o.bgp = buildRouterBgp();
- o.bgpPeers = buildUnnamed2125();
+ o.bgpPeers = buildUnnamed2139();
o.creationTimestamp = "foo";
o.description = "foo";
o.id = "foo";
- o.interfaces = buildUnnamed2126();
+ o.interfaces = buildUnnamed2140();
o.kind = "foo";
o.name = "foo";
o.network = "foo";
@@ -5905,11 +5979,11 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
checkRouterBgp(o.bgp);
- checkUnnamed2125(o.bgpPeers);
+ checkUnnamed2139(o.bgpPeers);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2126(o.interfaces);
+ checkUnnamed2140(o.interfaces);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
@@ -5919,14 +5993,14 @@
buildCounterRouter--;
}
-buildUnnamed2127() {
+buildUnnamed2141() {
var o = new core.Map<core.String, api.RoutersScopedList>();
o["x"] = buildRoutersScopedList();
o["y"] = buildRoutersScopedList();
return o;
}
-checkUnnamed2127(core.Map<core.String, api.RoutersScopedList> o) {
+checkUnnamed2141(core.Map<core.String, api.RoutersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedList(o["x"]);
checkRoutersScopedList(o["y"]);
@@ -5938,7 +6012,7 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2127();
+ o.items = buildUnnamed2141();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5951,7 +6025,7 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2127(o.items);
+ checkUnnamed2141(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6030,14 +6104,14 @@
buildCounterRouterInterface--;
}
-buildUnnamed2128() {
+buildUnnamed2142() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2128(core.List<api.Router> o) {
+checkUnnamed2142(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -6049,7 +6123,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
o.id = "foo";
- o.items = buildUnnamed2128();
+ o.items = buildUnnamed2142();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6062,7 +6136,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2128(o.items);
+ checkUnnamed2142(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6070,27 +6144,27 @@
buildCounterRouterList--;
}
-buildUnnamed2129() {
+buildUnnamed2143() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2129(core.List<api.Route> o) {
+checkUnnamed2143(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
}
-buildUnnamed2130() {
+buildUnnamed2144() {
var o = new core.List<api.RouterStatusBgpPeerStatus>();
o.add(buildRouterStatusBgpPeerStatus());
o.add(buildRouterStatusBgpPeerStatus());
return o;
}
-checkUnnamed2130(core.List<api.RouterStatusBgpPeerStatus> o) {
+checkUnnamed2144(core.List<api.RouterStatusBgpPeerStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterStatusBgpPeerStatus(o[0]);
checkRouterStatusBgpPeerStatus(o[1]);
@@ -6101,8 +6175,8 @@
var o = new api.RouterStatus();
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- o.bestRoutes = buildUnnamed2129();
- o.bgpPeerStatus = buildUnnamed2130();
+ o.bestRoutes = buildUnnamed2143();
+ o.bgpPeerStatus = buildUnnamed2144();
o.network = "foo";
}
buildCounterRouterStatus--;
@@ -6112,21 +6186,21 @@
checkRouterStatus(api.RouterStatus o) {
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- checkUnnamed2129(o.bestRoutes);
- checkUnnamed2130(o.bgpPeerStatus);
+ checkUnnamed2143(o.bestRoutes);
+ checkUnnamed2144(o.bgpPeerStatus);
unittest.expect(o.network, unittest.equals('foo'));
}
buildCounterRouterStatus--;
}
-buildUnnamed2131() {
+buildUnnamed2145() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2131(core.List<api.Route> o) {
+checkUnnamed2145(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -6137,7 +6211,7 @@
var o = new api.RouterStatusBgpPeerStatus();
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- o.advertisedRoutes = buildUnnamed2131();
+ o.advertisedRoutes = buildUnnamed2145();
o.ipAddress = "foo";
o.linkedVpnTunnel = "foo";
o.name = "foo";
@@ -6155,7 +6229,7 @@
checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) {
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- checkUnnamed2131(o.advertisedRoutes);
+ checkUnnamed2145(o.advertisedRoutes);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.linkedVpnTunnel, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -6209,14 +6283,14 @@
buildCounterRoutersPreviewResponse--;
}
-buildUnnamed2132() {
+buildUnnamed2146() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2132(core.List<api.Router> o) {
+checkUnnamed2146(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -6243,14 +6317,14 @@
buildCounterRoutersScopedListWarningData--;
}
-buildUnnamed2133() {
+buildUnnamed2147() {
var o = new core.List<api.RoutersScopedListWarningData>();
o.add(buildRoutersScopedListWarningData());
o.add(buildRoutersScopedListWarningData());
return o;
}
-checkUnnamed2133(core.List<api.RoutersScopedListWarningData> o) {
+checkUnnamed2147(core.List<api.RoutersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedListWarningData(o[0]);
checkRoutersScopedListWarningData(o[1]);
@@ -6262,7 +6336,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2133();
+ o.data = buildUnnamed2147();
o.message = "foo";
}
buildCounterRoutersScopedListWarning--;
@@ -6273,7 +6347,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2133(o.data);
+ checkUnnamed2147(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRoutersScopedListWarning--;
@@ -6284,7 +6358,7 @@
var o = new api.RoutersScopedList();
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- o.routers = buildUnnamed2132();
+ o.routers = buildUnnamed2146();
o.warning = buildRoutersScopedListWarning();
}
buildCounterRoutersScopedList--;
@@ -6294,7 +6368,7 @@
checkRoutersScopedList(api.RoutersScopedList o) {
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- checkUnnamed2132(o.routers);
+ checkUnnamed2146(o.routers);
checkRoutersScopedListWarning(o.warning);
}
buildCounterRoutersScopedList--;
@@ -6377,14 +6451,14 @@
buildCounterSerialPortOutput--;
}
-buildUnnamed2134() {
+buildUnnamed2148() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2134(core.List<core.String> o) {
+checkUnnamed2148(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6396,7 +6470,7 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
o.email = "foo";
- o.scopes = buildUnnamed2134();
+ o.scopes = buildUnnamed2148();
}
buildCounterServiceAccount--;
return o;
@@ -6406,19 +6480,19 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed2134(o.scopes);
+ checkUnnamed2148(o.scopes);
}
buildCounterServiceAccount--;
}
-buildUnnamed2135() {
+buildUnnamed2149() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2135(core.List<core.String> o) {
+checkUnnamed2149(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6434,7 +6508,7 @@
o.diskSizeGb = "foo";
o.id = "foo";
o.kind = "foo";
- o.licenses = buildUnnamed2135();
+ o.licenses = buildUnnamed2149();
o.name = "foo";
o.selfLink = "foo";
o.snapshotEncryptionKey = buildCustomerEncryptionKey();
@@ -6457,7 +6531,7 @@
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2135(o.licenses);
+ checkUnnamed2149(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
checkCustomerEncryptionKey(o.snapshotEncryptionKey);
@@ -6471,14 +6545,14 @@
buildCounterSnapshot--;
}
-buildUnnamed2136() {
+buildUnnamed2150() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed2136(core.List<api.Snapshot> o) {
+checkUnnamed2150(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -6490,7 +6564,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
o.id = "foo";
- o.items = buildUnnamed2136();
+ o.items = buildUnnamed2150();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6503,7 +6577,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2136(o.items);
+ checkUnnamed2150(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6544,14 +6618,14 @@
buildCounterSslCertificate--;
}
-buildUnnamed2137() {
+buildUnnamed2151() {
var o = new core.List<api.SslCertificate>();
o.add(buildSslCertificate());
o.add(buildSslCertificate());
return o;
}
-checkUnnamed2137(core.List<api.SslCertificate> o) {
+checkUnnamed2151(core.List<api.SslCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificate(o[0]);
checkSslCertificate(o[1]);
@@ -6563,7 +6637,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
o.id = "foo";
- o.items = buildUnnamed2137();
+ o.items = buildUnnamed2151();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6576,7 +6650,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2137(o.items);
+ checkUnnamed2151(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6597,6 +6671,7 @@
o.kind = "foo";
o.name = "foo";
o.network = "foo";
+ o.privateIpGoogleAccess = true;
o.region = "foo";
o.selfLink = "foo";
}
@@ -6615,20 +6690,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
+ unittest.expect(o.privateIpGoogleAccess, unittest.isTrue);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterSubnetwork--;
}
-buildUnnamed2138() {
+buildUnnamed2152() {
var o = new core.Map<core.String, api.SubnetworksScopedList>();
o["x"] = buildSubnetworksScopedList();
o["y"] = buildSubnetworksScopedList();
return o;
}
-checkUnnamed2138(core.Map<core.String, api.SubnetworksScopedList> o) {
+checkUnnamed2152(core.Map<core.String, api.SubnetworksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedList(o["x"]);
checkSubnetworksScopedList(o["y"]);
@@ -6640,7 +6716,7 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2138();
+ o.items = buildUnnamed2152();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6653,7 +6729,7 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2138(o.items);
+ checkUnnamed2152(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6661,14 +6737,14 @@
buildCounterSubnetworkAggregatedList--;
}
-buildUnnamed2139() {
+buildUnnamed2153() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2139(core.List<api.Subnetwork> o) {
+checkUnnamed2153(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -6680,7 +6756,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed2139();
+ o.items = buildUnnamed2153();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6693,7 +6769,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2139(o.items);
+ checkUnnamed2153(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6720,14 +6796,14 @@
buildCounterSubnetworksExpandIpCidrRangeRequest--;
}
-buildUnnamed2140() {
+buildUnnamed2154() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2140(core.List<api.Subnetwork> o) {
+checkUnnamed2154(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -6754,14 +6830,14 @@
buildCounterSubnetworksScopedListWarningData--;
}
-buildUnnamed2141() {
+buildUnnamed2155() {
var o = new core.List<api.SubnetworksScopedListWarningData>();
o.add(buildSubnetworksScopedListWarningData());
o.add(buildSubnetworksScopedListWarningData());
return o;
}
-checkUnnamed2141(core.List<api.SubnetworksScopedListWarningData> o) {
+checkUnnamed2155(core.List<api.SubnetworksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedListWarningData(o[0]);
checkSubnetworksScopedListWarningData(o[1]);
@@ -6773,7 +6849,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2141();
+ o.data = buildUnnamed2155();
o.message = "foo";
}
buildCounterSubnetworksScopedListWarning--;
@@ -6784,7 +6860,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2141(o.data);
+ checkUnnamed2155(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworksScopedListWarning--;
@@ -6795,7 +6871,7 @@
var o = new api.SubnetworksScopedList();
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- o.subnetworks = buildUnnamed2140();
+ o.subnetworks = buildUnnamed2154();
o.warning = buildSubnetworksScopedListWarning();
}
buildCounterSubnetworksScopedList--;
@@ -6805,12 +6881,31 @@
checkSubnetworksScopedList(api.SubnetworksScopedList o) {
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- checkUnnamed2140(o.subnetworks);
+ checkUnnamed2154(o.subnetworks);
checkSubnetworksScopedListWarning(o.warning);
}
buildCounterSubnetworksScopedList--;
}
+core.int buildCounterSubnetworksSetPrivateIpGoogleAccessRequest = 0;
+buildSubnetworksSetPrivateIpGoogleAccessRequest() {
+ var o = new api.SubnetworksSetPrivateIpGoogleAccessRequest();
+ buildCounterSubnetworksSetPrivateIpGoogleAccessRequest++;
+ if (buildCounterSubnetworksSetPrivateIpGoogleAccessRequest < 3) {
+ o.privateIpGoogleAccess = true;
+ }
+ buildCounterSubnetworksSetPrivateIpGoogleAccessRequest--;
+ return o;
+}
+
+checkSubnetworksSetPrivateIpGoogleAccessRequest(api.SubnetworksSetPrivateIpGoogleAccessRequest o) {
+ buildCounterSubnetworksSetPrivateIpGoogleAccessRequest++;
+ if (buildCounterSubnetworksSetPrivateIpGoogleAccessRequest < 3) {
+ unittest.expect(o.privateIpGoogleAccess, unittest.isTrue);
+ }
+ buildCounterSubnetworksSetPrivateIpGoogleAccessRequest--;
+}
+
core.int buildCounterTCPHealthCheck = 0;
buildTCPHealthCheck() {
var o = new api.TCPHealthCheck();
@@ -6838,14 +6933,14 @@
buildCounterTCPHealthCheck--;
}
-buildUnnamed2142() {
+buildUnnamed2156() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2142(core.List<core.String> o) {
+checkUnnamed2156(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6857,7 +6952,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed2142();
+ o.items = buildUnnamed2156();
}
buildCounterTags--;
return o;
@@ -6867,7 +6962,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2142(o.items);
+ checkUnnamed2156(o.items);
}
buildCounterTags--;
}
@@ -6903,14 +6998,14 @@
buildCounterTargetHttpProxy--;
}
-buildUnnamed2143() {
+buildUnnamed2157() {
var o = new core.List<api.TargetHttpProxy>();
o.add(buildTargetHttpProxy());
o.add(buildTargetHttpProxy());
return o;
}
-checkUnnamed2143(core.List<api.TargetHttpProxy> o) {
+checkUnnamed2157(core.List<api.TargetHttpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxy(o[0]);
checkTargetHttpProxy(o[1]);
@@ -6922,7 +7017,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2143();
+ o.items = buildUnnamed2157();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6935,7 +7030,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2143(o.items);
+ checkUnnamed2157(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6943,14 +7038,14 @@
buildCounterTargetHttpProxyList--;
}
-buildUnnamed2144() {
+buildUnnamed2158() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2144(core.List<core.String> o) {
+checkUnnamed2158(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6961,7 +7056,7 @@
var o = new api.TargetHttpsProxiesSetSslCertificatesRequest();
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2144();
+ o.sslCertificates = buildUnnamed2158();
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
return o;
@@ -6970,19 +7065,19 @@
checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCertificatesRequest o) {
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2144(o.sslCertificates);
+ checkUnnamed2158(o.sslCertificates);
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2145() {
+buildUnnamed2159() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2145(core.List<core.String> o) {
+checkUnnamed2159(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6999,7 +7094,7 @@
o.kind = "foo";
o.name = "foo";
o.selfLink = "foo";
- o.sslCertificates = buildUnnamed2145();
+ o.sslCertificates = buildUnnamed2159();
o.urlMap = "foo";
}
buildCounterTargetHttpsProxy--;
@@ -7015,20 +7110,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2145(o.sslCertificates);
+ checkUnnamed2159(o.sslCertificates);
unittest.expect(o.urlMap, unittest.equals('foo'));
}
buildCounterTargetHttpsProxy--;
}
-buildUnnamed2146() {
+buildUnnamed2160() {
var o = new core.List<api.TargetHttpsProxy>();
o.add(buildTargetHttpsProxy());
o.add(buildTargetHttpsProxy());
return o;
}
-checkUnnamed2146(core.List<api.TargetHttpsProxy> o) {
+checkUnnamed2160(core.List<api.TargetHttpsProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxy(o[0]);
checkTargetHttpsProxy(o[1]);
@@ -7040,7 +7135,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2146();
+ o.items = buildUnnamed2160();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7053,7 +7148,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2146(o.items);
+ checkUnnamed2160(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7096,14 +7191,14 @@
buildCounterTargetInstance--;
}
-buildUnnamed2147() {
+buildUnnamed2161() {
var o = new core.Map<core.String, api.TargetInstancesScopedList>();
o["x"] = buildTargetInstancesScopedList();
o["y"] = buildTargetInstancesScopedList();
return o;
}
-checkUnnamed2147(core.Map<core.String, api.TargetInstancesScopedList> o) {
+checkUnnamed2161(core.Map<core.String, api.TargetInstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedList(o["x"]);
checkTargetInstancesScopedList(o["y"]);
@@ -7115,7 +7210,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2147();
+ o.items = buildUnnamed2161();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7128,7 +7223,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2147(o.items);
+ checkUnnamed2161(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7136,14 +7231,14 @@
buildCounterTargetInstanceAggregatedList--;
}
-buildUnnamed2148() {
+buildUnnamed2162() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2148(core.List<api.TargetInstance> o) {
+checkUnnamed2162(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -7155,7 +7250,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2148();
+ o.items = buildUnnamed2162();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7168,7 +7263,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2148(o.items);
+ checkUnnamed2162(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7176,14 +7271,14 @@
buildCounterTargetInstanceList--;
}
-buildUnnamed2149() {
+buildUnnamed2163() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2149(core.List<api.TargetInstance> o) {
+checkUnnamed2163(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -7210,14 +7305,14 @@
buildCounterTargetInstancesScopedListWarningData--;
}
-buildUnnamed2150() {
+buildUnnamed2164() {
var o = new core.List<api.TargetInstancesScopedListWarningData>();
o.add(buildTargetInstancesScopedListWarningData());
o.add(buildTargetInstancesScopedListWarningData());
return o;
}
-checkUnnamed2150(core.List<api.TargetInstancesScopedListWarningData> o) {
+checkUnnamed2164(core.List<api.TargetInstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedListWarningData(o[0]);
checkTargetInstancesScopedListWarningData(o[1]);
@@ -7229,7 +7324,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2150();
+ o.data = buildUnnamed2164();
o.message = "foo";
}
buildCounterTargetInstancesScopedListWarning--;
@@ -7240,7 +7335,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2150(o.data);
+ checkUnnamed2164(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstancesScopedListWarning--;
@@ -7251,7 +7346,7 @@
var o = new api.TargetInstancesScopedList();
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- o.targetInstances = buildUnnamed2149();
+ o.targetInstances = buildUnnamed2163();
o.warning = buildTargetInstancesScopedListWarning();
}
buildCounterTargetInstancesScopedList--;
@@ -7261,33 +7356,33 @@
checkTargetInstancesScopedList(api.TargetInstancesScopedList o) {
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- checkUnnamed2149(o.targetInstances);
+ checkUnnamed2163(o.targetInstances);
checkTargetInstancesScopedListWarning(o.warning);
}
buildCounterTargetInstancesScopedList--;
}
-buildUnnamed2151() {
+buildUnnamed2165() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2151(core.List<core.String> o) {
+checkUnnamed2165(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2152() {
+buildUnnamed2166() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2152(core.List<core.String> o) {
+checkUnnamed2166(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7302,9 +7397,9 @@
o.creationTimestamp = "foo";
o.description = "foo";
o.failoverRatio = 42.0;
- o.healthChecks = buildUnnamed2151();
+ o.healthChecks = buildUnnamed2165();
o.id = "foo";
- o.instances = buildUnnamed2152();
+ o.instances = buildUnnamed2166();
o.kind = "foo";
o.name = "foo";
o.region = "foo";
@@ -7322,9 +7417,9 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.failoverRatio, unittest.equals(42.0));
- checkUnnamed2151(o.healthChecks);
+ checkUnnamed2165(o.healthChecks);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2152(o.instances);
+ checkUnnamed2166(o.instances);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
@@ -7334,14 +7429,14 @@
buildCounterTargetPool--;
}
-buildUnnamed2153() {
+buildUnnamed2167() {
var o = new core.Map<core.String, api.TargetPoolsScopedList>();
o["x"] = buildTargetPoolsScopedList();
o["y"] = buildTargetPoolsScopedList();
return o;
}
-checkUnnamed2153(core.Map<core.String, api.TargetPoolsScopedList> o) {
+checkUnnamed2167(core.Map<core.String, api.TargetPoolsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedList(o["x"]);
checkTargetPoolsScopedList(o["y"]);
@@ -7353,7 +7448,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2153();
+ o.items = buildUnnamed2167();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7366,7 +7461,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2153(o.items);
+ checkUnnamed2167(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7374,14 +7469,14 @@
buildCounterTargetPoolAggregatedList--;
}
-buildUnnamed2154() {
+buildUnnamed2168() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed2154(core.List<api.HealthStatus> o) {
+checkUnnamed2168(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -7392,7 +7487,7 @@
var o = new api.TargetPoolInstanceHealth();
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- o.healthStatus = buildUnnamed2154();
+ o.healthStatus = buildUnnamed2168();
o.kind = "foo";
}
buildCounterTargetPoolInstanceHealth--;
@@ -7402,20 +7497,20 @@
checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) {
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- checkUnnamed2154(o.healthStatus);
+ checkUnnamed2168(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTargetPoolInstanceHealth--;
}
-buildUnnamed2155() {
+buildUnnamed2169() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2155(core.List<api.TargetPool> o) {
+checkUnnamed2169(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -7427,7 +7522,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
o.id = "foo";
- o.items = buildUnnamed2155();
+ o.items = buildUnnamed2169();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7440,7 +7535,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2155(o.items);
+ checkUnnamed2169(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7448,14 +7543,14 @@
buildCounterTargetPoolList--;
}
-buildUnnamed2156() {
+buildUnnamed2170() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed2156(core.List<api.HealthCheckReference> o) {
+checkUnnamed2170(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -7466,7 +7561,7 @@
var o = new api.TargetPoolsAddHealthCheckRequest();
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed2156();
+ o.healthChecks = buildUnnamed2170();
}
buildCounterTargetPoolsAddHealthCheckRequest--;
return o;
@@ -7475,19 +7570,19 @@
checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) {
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- checkUnnamed2156(o.healthChecks);
+ checkUnnamed2170(o.healthChecks);
}
buildCounterTargetPoolsAddHealthCheckRequest--;
}
-buildUnnamed2157() {
+buildUnnamed2171() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2157(core.List<api.InstanceReference> o) {
+checkUnnamed2171(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -7498,7 +7593,7 @@
var o = new api.TargetPoolsAddInstanceRequest();
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- o.instances = buildUnnamed2157();
+ o.instances = buildUnnamed2171();
}
buildCounterTargetPoolsAddInstanceRequest--;
return o;
@@ -7507,19 +7602,19 @@
checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) {
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- checkUnnamed2157(o.instances);
+ checkUnnamed2171(o.instances);
}
buildCounterTargetPoolsAddInstanceRequest--;
}
-buildUnnamed2158() {
+buildUnnamed2172() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed2158(core.List<api.HealthCheckReference> o) {
+checkUnnamed2172(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -7530,7 +7625,7 @@
var o = new api.TargetPoolsRemoveHealthCheckRequest();
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed2158();
+ o.healthChecks = buildUnnamed2172();
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
return o;
@@ -7539,19 +7634,19 @@
checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest o) {
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- checkUnnamed2158(o.healthChecks);
+ checkUnnamed2172(o.healthChecks);
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
}
-buildUnnamed2159() {
+buildUnnamed2173() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2159(core.List<api.InstanceReference> o) {
+checkUnnamed2173(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -7562,7 +7657,7 @@
var o = new api.TargetPoolsRemoveInstanceRequest();
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- o.instances = buildUnnamed2159();
+ o.instances = buildUnnamed2173();
}
buildCounterTargetPoolsRemoveInstanceRequest--;
return o;
@@ -7571,19 +7666,19 @@
checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) {
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- checkUnnamed2159(o.instances);
+ checkUnnamed2173(o.instances);
}
buildCounterTargetPoolsRemoveInstanceRequest--;
}
-buildUnnamed2160() {
+buildUnnamed2174() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2160(core.List<api.TargetPool> o) {
+checkUnnamed2174(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -7610,14 +7705,14 @@
buildCounterTargetPoolsScopedListWarningData--;
}
-buildUnnamed2161() {
+buildUnnamed2175() {
var o = new core.List<api.TargetPoolsScopedListWarningData>();
o.add(buildTargetPoolsScopedListWarningData());
o.add(buildTargetPoolsScopedListWarningData());
return o;
}
-checkUnnamed2161(core.List<api.TargetPoolsScopedListWarningData> o) {
+checkUnnamed2175(core.List<api.TargetPoolsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedListWarningData(o[0]);
checkTargetPoolsScopedListWarningData(o[1]);
@@ -7629,7 +7724,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2161();
+ o.data = buildUnnamed2175();
o.message = "foo";
}
buildCounterTargetPoolsScopedListWarning--;
@@ -7640,7 +7735,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2161(o.data);
+ checkUnnamed2175(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolsScopedListWarning--;
@@ -7651,7 +7746,7 @@
var o = new api.TargetPoolsScopedList();
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- o.targetPools = buildUnnamed2160();
+ o.targetPools = buildUnnamed2174();
o.warning = buildTargetPoolsScopedListWarning();
}
buildCounterTargetPoolsScopedList--;
@@ -7661,7 +7756,7 @@
checkTargetPoolsScopedList(api.TargetPoolsScopedList o) {
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- checkUnnamed2160(o.targetPools);
+ checkUnnamed2174(o.targetPools);
checkTargetPoolsScopedListWarning(o.warning);
}
buildCounterTargetPoolsScopedList--;
@@ -7724,14 +7819,14 @@
buildCounterTargetSslProxiesSetProxyHeaderRequest--;
}
-buildUnnamed2162() {
+buildUnnamed2176() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2162(core.List<core.String> o) {
+checkUnnamed2176(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7742,7 +7837,7 @@
var o = new api.TargetSslProxiesSetSslCertificatesRequest();
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2162();
+ o.sslCertificates = buildUnnamed2176();
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
return o;
@@ -7751,19 +7846,19 @@
checkTargetSslProxiesSetSslCertificatesRequest(api.TargetSslProxiesSetSslCertificatesRequest o) {
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2162(o.sslCertificates);
+ checkUnnamed2176(o.sslCertificates);
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2163() {
+buildUnnamed2177() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2163(core.List<core.String> o) {
+checkUnnamed2177(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7782,7 +7877,7 @@
o.proxyHeader = "foo";
o.selfLink = "foo";
o.service = "foo";
- o.sslCertificates = buildUnnamed2163();
+ o.sslCertificates = buildUnnamed2177();
}
buildCounterTargetSslProxy--;
return o;
@@ -7799,19 +7894,19 @@
unittest.expect(o.proxyHeader, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.service, unittest.equals('foo'));
- checkUnnamed2163(o.sslCertificates);
+ checkUnnamed2177(o.sslCertificates);
}
buildCounterTargetSslProxy--;
}
-buildUnnamed2164() {
+buildUnnamed2178() {
var o = new core.List<api.TargetSslProxy>();
o.add(buildTargetSslProxy());
o.add(buildTargetSslProxy());
return o;
}
-checkUnnamed2164(core.List<api.TargetSslProxy> o) {
+checkUnnamed2178(core.List<api.TargetSslProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetSslProxy(o[0]);
checkTargetSslProxy(o[1]);
@@ -7823,7 +7918,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2164();
+ o.items = buildUnnamed2178();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7836,7 +7931,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2164(o.items);
+ checkUnnamed2178(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7844,27 +7939,27 @@
buildCounterTargetSslProxyList--;
}
-buildUnnamed2165() {
+buildUnnamed2179() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2165(core.List<core.String> o) {
+checkUnnamed2179(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2166() {
+buildUnnamed2180() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2166(core.List<core.String> o) {
+checkUnnamed2180(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7877,7 +7972,7 @@
if (buildCounterTargetVpnGateway < 3) {
o.creationTimestamp = "foo";
o.description = "foo";
- o.forwardingRules = buildUnnamed2165();
+ o.forwardingRules = buildUnnamed2179();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -7885,7 +7980,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.tunnels = buildUnnamed2166();
+ o.tunnels = buildUnnamed2180();
}
buildCounterTargetVpnGateway--;
return o;
@@ -7896,7 +7991,7 @@
if (buildCounterTargetVpnGateway < 3) {
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2165(o.forwardingRules);
+ checkUnnamed2179(o.forwardingRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -7904,19 +7999,19 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2166(o.tunnels);
+ checkUnnamed2180(o.tunnels);
}
buildCounterTargetVpnGateway--;
}
-buildUnnamed2167() {
+buildUnnamed2181() {
var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>();
o["x"] = buildTargetVpnGatewaysScopedList();
o["y"] = buildTargetVpnGatewaysScopedList();
return o;
}
-checkUnnamed2167(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
+checkUnnamed2181(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedList(o["x"]);
checkTargetVpnGatewaysScopedList(o["y"]);
@@ -7928,7 +8023,7 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2167();
+ o.items = buildUnnamed2181();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7941,7 +8036,7 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2167(o.items);
+ checkUnnamed2181(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7949,14 +8044,14 @@
buildCounterTargetVpnGatewayAggregatedList--;
}
-buildUnnamed2168() {
+buildUnnamed2182() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2168(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2182(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -7968,7 +8063,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
o.id = "foo";
- o.items = buildUnnamed2168();
+ o.items = buildUnnamed2182();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7981,7 +8076,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2168(o.items);
+ checkUnnamed2182(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7989,14 +8084,14 @@
buildCounterTargetVpnGatewayList--;
}
-buildUnnamed2169() {
+buildUnnamed2183() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2169(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2183(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -8023,14 +8118,14 @@
buildCounterTargetVpnGatewaysScopedListWarningData--;
}
-buildUnnamed2170() {
+buildUnnamed2184() {
var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>();
o.add(buildTargetVpnGatewaysScopedListWarningData());
o.add(buildTargetVpnGatewaysScopedListWarningData());
return o;
}
-checkUnnamed2170(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
+checkUnnamed2184(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedListWarningData(o[0]);
checkTargetVpnGatewaysScopedListWarningData(o[1]);
@@ -8042,7 +8137,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2170();
+ o.data = buildUnnamed2184();
o.message = "foo";
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -8053,7 +8148,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2170(o.data);
+ checkUnnamed2184(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -8064,7 +8159,7 @@
var o = new api.TargetVpnGatewaysScopedList();
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- o.targetVpnGateways = buildUnnamed2169();
+ o.targetVpnGateways = buildUnnamed2183();
o.warning = buildTargetVpnGatewaysScopedListWarning();
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -8074,7 +8169,7 @@
checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) {
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- checkUnnamed2169(o.targetVpnGateways);
+ checkUnnamed2183(o.targetVpnGateways);
checkTargetVpnGatewaysScopedListWarning(o.warning);
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -8105,40 +8200,40 @@
buildCounterTestFailure--;
}
-buildUnnamed2171() {
+buildUnnamed2185() {
var o = new core.List<api.HostRule>();
o.add(buildHostRule());
o.add(buildHostRule());
return o;
}
-checkUnnamed2171(core.List<api.HostRule> o) {
+checkUnnamed2185(core.List<api.HostRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHostRule(o[0]);
checkHostRule(o[1]);
}
-buildUnnamed2172() {
+buildUnnamed2186() {
var o = new core.List<api.PathMatcher>();
o.add(buildPathMatcher());
o.add(buildPathMatcher());
return o;
}
-checkUnnamed2172(core.List<api.PathMatcher> o) {
+checkUnnamed2186(core.List<api.PathMatcher> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathMatcher(o[0]);
checkPathMatcher(o[1]);
}
-buildUnnamed2173() {
+buildUnnamed2187() {
var o = new core.List<api.UrlMapTest>();
o.add(buildUrlMapTest());
o.add(buildUrlMapTest());
return o;
}
-checkUnnamed2173(core.List<api.UrlMapTest> o) {
+checkUnnamed2187(core.List<api.UrlMapTest> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapTest(o[0]);
checkUrlMapTest(o[1]);
@@ -8153,13 +8248,13 @@
o.defaultService = "foo";
o.description = "foo";
o.fingerprint = "foo";
- o.hostRules = buildUnnamed2171();
+ o.hostRules = buildUnnamed2185();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.pathMatchers = buildUnnamed2172();
+ o.pathMatchers = buildUnnamed2186();
o.selfLink = "foo";
- o.tests = buildUnnamed2173();
+ o.tests = buildUnnamed2187();
}
buildCounterUrlMap--;
return o;
@@ -8172,25 +8267,25 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2171(o.hostRules);
+ checkUnnamed2185(o.hostRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2172(o.pathMatchers);
+ checkUnnamed2186(o.pathMatchers);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2173(o.tests);
+ checkUnnamed2187(o.tests);
}
buildCounterUrlMap--;
}
-buildUnnamed2174() {
+buildUnnamed2188() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed2174(core.List<api.UrlMap> o) {
+checkUnnamed2188(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
@@ -8202,7 +8297,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
o.id = "foo";
- o.items = buildUnnamed2174();
+ o.items = buildUnnamed2188();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8215,7 +8310,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2174(o.items);
+ checkUnnamed2188(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8267,27 +8362,27 @@
buildCounterUrlMapTest--;
}
-buildUnnamed2175() {
+buildUnnamed2189() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2175(core.List<core.String> o) {
+checkUnnamed2189(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2176() {
+buildUnnamed2190() {
var o = new core.List<api.TestFailure>();
o.add(buildTestFailure());
o.add(buildTestFailure());
return o;
}
-checkUnnamed2176(core.List<api.TestFailure> o) {
+checkUnnamed2190(core.List<api.TestFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestFailure(o[0]);
checkTestFailure(o[1]);
@@ -8298,9 +8393,9 @@
var o = new api.UrlMapValidationResult();
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- o.loadErrors = buildUnnamed2175();
+ o.loadErrors = buildUnnamed2189();
o.loadSucceeded = true;
- o.testFailures = buildUnnamed2176();
+ o.testFailures = buildUnnamed2190();
o.testPassed = true;
}
buildCounterUrlMapValidationResult--;
@@ -8310,9 +8405,9 @@
checkUrlMapValidationResult(api.UrlMapValidationResult o) {
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- checkUnnamed2175(o.loadErrors);
+ checkUnnamed2189(o.loadErrors);
unittest.expect(o.loadSucceeded, unittest.isTrue);
- checkUnnamed2176(o.testFailures);
+ checkUnnamed2190(o.testFailures);
unittest.expect(o.testPassed, unittest.isTrue);
}
buildCounterUrlMapValidationResult--;
@@ -8377,27 +8472,27 @@
buildCounterUsageExportLocation--;
}
-buildUnnamed2177() {
+buildUnnamed2191() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2177(core.List<core.String> o) {
+checkUnnamed2191(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2178() {
+buildUnnamed2192() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2178(core.List<core.String> o) {
+checkUnnamed2192(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8414,11 +8509,11 @@
o.id = "foo";
o.ikeVersion = 42;
o.kind = "foo";
- o.localTrafficSelector = buildUnnamed2177();
+ o.localTrafficSelector = buildUnnamed2191();
o.name = "foo";
o.peerIp = "foo";
o.region = "foo";
- o.remoteTrafficSelector = buildUnnamed2178();
+ o.remoteTrafficSelector = buildUnnamed2192();
o.router = "foo";
o.selfLink = "foo";
o.sharedSecret = "foo";
@@ -8439,11 +8534,11 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.ikeVersion, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2177(o.localTrafficSelector);
+ checkUnnamed2191(o.localTrafficSelector);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.peerIp, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2178(o.remoteTrafficSelector);
+ checkUnnamed2192(o.remoteTrafficSelector);
unittest.expect(o.router, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sharedSecret, unittest.equals('foo'));
@@ -8454,14 +8549,14 @@
buildCounterVpnTunnel--;
}
-buildUnnamed2179() {
+buildUnnamed2193() {
var o = new core.Map<core.String, api.VpnTunnelsScopedList>();
o["x"] = buildVpnTunnelsScopedList();
o["y"] = buildVpnTunnelsScopedList();
return o;
}
-checkUnnamed2179(core.Map<core.String, api.VpnTunnelsScopedList> o) {
+checkUnnamed2193(core.Map<core.String, api.VpnTunnelsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedList(o["x"]);
checkVpnTunnelsScopedList(o["y"]);
@@ -8473,7 +8568,7 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2179();
+ o.items = buildUnnamed2193();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8486,7 +8581,7 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2179(o.items);
+ checkUnnamed2193(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8494,14 +8589,14 @@
buildCounterVpnTunnelAggregatedList--;
}
-buildUnnamed2180() {
+buildUnnamed2194() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2180(core.List<api.VpnTunnel> o) {
+checkUnnamed2194(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -8513,7 +8608,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
o.id = "foo";
- o.items = buildUnnamed2180();
+ o.items = buildUnnamed2194();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8526,7 +8621,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2180(o.items);
+ checkUnnamed2194(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8534,14 +8629,14 @@
buildCounterVpnTunnelList--;
}
-buildUnnamed2181() {
+buildUnnamed2195() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2181(core.List<api.VpnTunnel> o) {
+checkUnnamed2195(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -8568,14 +8663,14 @@
buildCounterVpnTunnelsScopedListWarningData--;
}
-buildUnnamed2182() {
+buildUnnamed2196() {
var o = new core.List<api.VpnTunnelsScopedListWarningData>();
o.add(buildVpnTunnelsScopedListWarningData());
o.add(buildVpnTunnelsScopedListWarningData());
return o;
}
-checkUnnamed2182(core.List<api.VpnTunnelsScopedListWarningData> o) {
+checkUnnamed2196(core.List<api.VpnTunnelsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedListWarningData(o[0]);
checkVpnTunnelsScopedListWarningData(o[1]);
@@ -8587,7 +8682,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2182();
+ o.data = buildUnnamed2196();
o.message = "foo";
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -8598,7 +8693,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2182(o.data);
+ checkUnnamed2196(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -8609,7 +8704,7 @@
var o = new api.VpnTunnelsScopedList();
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- o.vpnTunnels = buildUnnamed2181();
+ o.vpnTunnels = buildUnnamed2195();
o.warning = buildVpnTunnelsScopedListWarning();
}
buildCounterVpnTunnelsScopedList--;
@@ -8619,7 +8714,7 @@
checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) {
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- checkUnnamed2181(o.vpnTunnels);
+ checkUnnamed2195(o.vpnTunnels);
checkVpnTunnelsScopedListWarning(o.warning);
}
buildCounterVpnTunnelsScopedList--;
@@ -8660,14 +8755,14 @@
buildCounterZone--;
}
-buildUnnamed2183() {
+buildUnnamed2197() {
var o = new core.List<api.Zone>();
o.add(buildZone());
o.add(buildZone());
return o;
}
-checkUnnamed2183(core.List<api.Zone> o) {
+checkUnnamed2197(core.List<api.Zone> o) {
unittest.expect(o, unittest.hasLength(2));
checkZone(o[0]);
checkZone(o[1]);
@@ -8679,7 +8774,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
o.id = "foo";
- o.items = buildUnnamed2183();
+ o.items = buildUnnamed2197();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8692,7 +8787,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2183(o.items);
+ checkUnnamed2197(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8918,6 +9013,15 @@
});
+ unittest.group("obj-schema-BackendServiceCdnPolicy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBackendServiceCdnPolicy();
+ var od = new api.BackendServiceCdnPolicy.fromJson(o.toJson());
+ checkBackendServiceCdnPolicy(od);
+ });
+ });
+
+
unittest.group("obj-schema-BackendServiceGroupHealth", () {
unittest.test("to-json--from-json", () {
var o = buildBackendServiceGroupHealth();
@@ -8972,6 +9076,15 @@
});
+ unittest.group("obj-schema-CacheKeyPolicy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCacheKeyPolicy();
+ var od = new api.CacheKeyPolicy.fromJson(o.toJson());
+ checkCacheKeyPolicy(od);
+ });
+ });
+
+
unittest.group("obj-schema-ConnectionDraining", () {
unittest.test("to-json--from-json", () {
var o = buildConnectionDraining();
@@ -10412,6 +10525,15 @@
});
+ unittest.group("obj-schema-SubnetworksSetPrivateIpGoogleAccessRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSubnetworksSetPrivateIpGoogleAccessRequest();
+ var od = new api.SubnetworksSetPrivateIpGoogleAccessRequest.fromJson(o.toJson());
+ checkSubnetworksSetPrivateIpGoogleAccessRequest(od);
+ });
+ });
+
+
unittest.group("obj-schema-TCPHealthCheck", () {
unittest.test("to-json--from-json", () {
var o = buildTCPHealthCheck();
@@ -11410,7 +11532,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_zone, arg_autoscaler).then(unittest.expectAsync(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_zone, autoscaler: arg_autoscaler).then(unittest.expectAsync(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17942,7 +18064,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_region, arg_autoscaler).then(unittest.expectAsync(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_region, autoscaler: arg_autoscaler).then(unittest.expectAsync(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20527,6 +20649,54 @@
})));
});
+ unittest.test("method--setPrivateIpGoogleAccess", () {
+
+ var mock = new HttpServerMock();
+ api.SubnetworksResourceApi res = new api.ComputeApi(mock).subnetworks;
+ var arg_request = buildSubnetworksSetPrivateIpGoogleAccessRequest();
+ var arg_project = "foo";
+ var arg_region = "foo";
+ var arg_subnetwork = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SubnetworksSetPrivateIpGoogleAccessRequest.fromJson(json);
+ checkSubnetworksSetPrivateIpGoogleAccessRequest(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(stringResponse(200, h, resp));
+ }), true);
+ res.setPrivateIpGoogleAccess(arg_request, arg_project, arg_region, arg_subnetwork).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
});
diff --git a/generated/googleapis/test/consumersurveys/v2_test.dart b/generated/googleapis/test/consumersurveys/v2_test.dart
index 6f6edac..7c0b37d 100644
--- a/generated/googleapis/test/consumersurveys/v2_test.dart
+++ b/generated/googleapis/test/consumersurveys/v2_test.dart
@@ -640,7 +640,6 @@
buildCounterSurveysStartResponse++;
if (buildCounterSurveysStartResponse < 3) {
o.requestId = "foo";
- o.resource = buildSurvey();
}
buildCounterSurveysStartResponse--;
return o;
@@ -650,7 +649,6 @@
buildCounterSurveysStartResponse++;
if (buildCounterSurveysStartResponse < 3) {
unittest.expect(o.requestId, unittest.equals('foo'));
- checkSurvey(o.resource);
}
buildCounterSurveysStartResponse--;
}
@@ -661,7 +659,6 @@
buildCounterSurveysStopResponse++;
if (buildCounterSurveysStopResponse < 3) {
o.requestId = "foo";
- o.resource = buildSurvey();
}
buildCounterSurveysStopResponse--;
return o;
@@ -671,7 +668,6 @@
buildCounterSurveysStopResponse++;
if (buildCounterSurveysStopResponse < 3) {
unittest.expect(o.requestId, unittest.equals('foo'));
- checkSurvey(o.resource);
}
buildCounterSurveysStopResponse--;
}
diff --git a/generated/googleapis/test/container/v1_test.dart b/generated/googleapis/test/container/v1_test.dart
index ce741bd..40c1705 100644
--- a/generated/googleapis/test/container/v1_test.dart
+++ b/generated/googleapis/test/container/v1_test.dart
@@ -110,19 +110,6 @@
buildCounterCancelOperationRequest--;
}
-buildUnnamed1637() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1637(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1638() {
var o = new core.List<core.String>();
o.add("foo");
@@ -137,13 +124,26 @@
}
buildUnnamed1639() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1639(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1640() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed1639(core.List<api.NodePool> o) {
+checkUnnamed1640(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
@@ -166,8 +166,10 @@
o.expireTime = "foo";
o.initialClusterVersion = "foo";
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed1637();
- o.locations = buildUnnamed1638();
+ o.instanceGroupUrls = buildUnnamed1638();
+ o.labelFingerprint = "foo";
+ o.legacyAbac = buildLegacyAbac();
+ o.locations = buildUnnamed1639();
o.loggingService = "foo";
o.masterAuth = buildMasterAuth();
o.monitoringService = "foo";
@@ -175,7 +177,8 @@
o.network = "foo";
o.nodeConfig = buildNodeConfig();
o.nodeIpv4CidrSize = 42;
- o.nodePools = buildUnnamed1639();
+ o.nodePools = buildUnnamed1640();
+ o.resourceLabels = buildResourceLabels();
o.selfLink = "foo";
o.servicesIpv4Cidr = "foo";
o.status = "foo";
@@ -202,8 +205,10 @@
unittest.expect(o.expireTime, unittest.equals('foo'));
unittest.expect(o.initialClusterVersion, unittest.equals('foo'));
unittest.expect(o.initialNodeCount, unittest.equals(42));
- checkUnnamed1637(o.instanceGroupUrls);
- checkUnnamed1638(o.locations);
+ checkUnnamed1638(o.instanceGroupUrls);
+ unittest.expect(o.labelFingerprint, unittest.equals('foo'));
+ checkLegacyAbac(o.legacyAbac);
+ checkUnnamed1639(o.locations);
unittest.expect(o.loggingService, unittest.equals('foo'));
checkMasterAuth(o.masterAuth);
unittest.expect(o.monitoringService, unittest.equals('foo'));
@@ -211,7 +216,8 @@
unittest.expect(o.network, unittest.equals('foo'));
checkNodeConfig(o.nodeConfig);
unittest.expect(o.nodeIpv4CidrSize, unittest.equals(42));
- checkUnnamed1639(o.nodePools);
+ checkUnnamed1640(o.nodePools);
+ checkResourceLabels(o.resourceLabels);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.servicesIpv4Cidr, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -222,14 +228,14 @@
buildCounterCluster--;
}
-buildUnnamed1640() {
+buildUnnamed1641() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1640(core.List<core.String> o) {
+checkUnnamed1641(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -242,7 +248,7 @@
if (buildCounterClusterUpdate < 3) {
o.desiredAddonsConfig = buildAddonsConfig();
o.desiredImageType = "foo";
- o.desiredLocations = buildUnnamed1640();
+ o.desiredLocations = buildUnnamed1641();
o.desiredMasterVersion = "foo";
o.desiredMonitoringService = "foo";
o.desiredNodePoolAutoscaling = buildNodePoolAutoscaling();
@@ -258,7 +264,7 @@
if (buildCounterClusterUpdate < 3) {
checkAddonsConfig(o.desiredAddonsConfig);
unittest.expect(o.desiredImageType, unittest.equals('foo'));
- checkUnnamed1640(o.desiredLocations);
+ checkUnnamed1641(o.desiredLocations);
unittest.expect(o.desiredMasterVersion, unittest.equals('foo'));
unittest.expect(o.desiredMonitoringService, unittest.equals('foo'));
checkNodePoolAutoscaling(o.desiredNodePoolAutoscaling);
@@ -361,27 +367,67 @@
buildCounterHttpLoadBalancing--;
}
-buildUnnamed1641() {
+core.int buildCounterItem = 0;
+buildItem() {
+ var o = new api.Item();
+ buildCounterItem++;
+ if (buildCounterItem < 3) {
+ o.key = "foo";
+ o.value = "foo";
+ }
+ buildCounterItem--;
+ return o;
+}
+
+checkItem(api.Item o) {
+ buildCounterItem++;
+ if (buildCounterItem < 3) {
+ unittest.expect(o.key, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterItem--;
+}
+
+core.int buildCounterLegacyAbac = 0;
+buildLegacyAbac() {
+ var o = new api.LegacyAbac();
+ buildCounterLegacyAbac++;
+ if (buildCounterLegacyAbac < 3) {
+ o.enabled = true;
+ }
+ buildCounterLegacyAbac--;
+ return o;
+}
+
+checkLegacyAbac(api.LegacyAbac o) {
+ buildCounterLegacyAbac++;
+ if (buildCounterLegacyAbac < 3) {
+ unittest.expect(o.enabled, unittest.isTrue);
+ }
+ buildCounterLegacyAbac--;
+}
+
+buildUnnamed1642() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed1641(core.List<api.Cluster> o) {
+checkUnnamed1642(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
}
-buildUnnamed1642() {
+buildUnnamed1643() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1642(core.List<core.String> o) {
+checkUnnamed1643(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -392,8 +438,8 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed1641();
- o.missingZones = buildUnnamed1642();
+ o.clusters = buildUnnamed1642();
+ o.missingZones = buildUnnamed1643();
}
buildCounterListClustersResponse--;
return o;
@@ -402,20 +448,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed1641(o.clusters);
- checkUnnamed1642(o.missingZones);
+ checkUnnamed1642(o.clusters);
+ checkUnnamed1643(o.missingZones);
}
buildCounterListClustersResponse--;
}
-buildUnnamed1643() {
+buildUnnamed1644() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed1643(core.List<api.NodePool> o) {
+checkUnnamed1644(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
@@ -426,7 +472,7 @@
var o = new api.ListNodePoolsResponse();
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- o.nodePools = buildUnnamed1643();
+ o.nodePools = buildUnnamed1644();
}
buildCounterListNodePoolsResponse--;
return o;
@@ -435,32 +481,32 @@
checkListNodePoolsResponse(api.ListNodePoolsResponse o) {
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- checkUnnamed1643(o.nodePools);
+ checkUnnamed1644(o.nodePools);
}
buildCounterListNodePoolsResponse--;
}
-buildUnnamed1644() {
+buildUnnamed1645() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1644(core.List<core.String> o) {
+checkUnnamed1645(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1645() {
+buildUnnamed1646() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1645(core.List<api.Operation> o) {
+checkUnnamed1646(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -471,8 +517,8 @@
var o = new api.ListOperationsResponse();
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- o.missingZones = buildUnnamed1644();
- o.operations = buildUnnamed1645();
+ o.missingZones = buildUnnamed1645();
+ o.operations = buildUnnamed1646();
}
buildCounterListOperationsResponse--;
return o;
@@ -481,8 +527,8 @@
checkListOperationsResponse(api.ListOperationsResponse o) {
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- checkUnnamed1644(o.missingZones);
- checkUnnamed1645(o.operations);
+ checkUnnamed1645(o.missingZones);
+ checkUnnamed1646(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -514,19 +560,6 @@
buildCounterMasterAuth--;
}
-buildUnnamed1646() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed1646(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'));
-}
-
buildUnnamed1647() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -541,16 +574,16 @@
}
buildUnnamed1648() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
return o;
}
-checkUnnamed1648(core.List<core.String> o) {
+checkUnnamed1648(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
}
buildUnnamed1649() {
@@ -566,64 +599,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterNodeConfig = 0;
-buildNodeConfig() {
- var o = new api.NodeConfig();
- buildCounterNodeConfig++;
- if (buildCounterNodeConfig < 3) {
- o.diskSizeGb = 42;
- o.imageType = "foo";
- o.labels = buildUnnamed1646();
- o.localSsdCount = 42;
- o.machineType = "foo";
- o.metadata = buildUnnamed1647();
- o.oauthScopes = buildUnnamed1648();
- o.preemptible = true;
- o.serviceAccount = "foo";
- o.tags = buildUnnamed1649();
- }
- buildCounterNodeConfig--;
- return o;
-}
-
-checkNodeConfig(api.NodeConfig o) {
- buildCounterNodeConfig++;
- if (buildCounterNodeConfig < 3) {
- unittest.expect(o.diskSizeGb, unittest.equals(42));
- unittest.expect(o.imageType, unittest.equals('foo'));
- checkUnnamed1646(o.labels);
- unittest.expect(o.localSsdCount, unittest.equals(42));
- unittest.expect(o.machineType, unittest.equals('foo'));
- checkUnnamed1647(o.metadata);
- checkUnnamed1648(o.oauthScopes);
- unittest.expect(o.preemptible, unittest.isTrue);
- unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed1649(o.tags);
- }
- buildCounterNodeConfig--;
-}
-
-core.int buildCounterNodeManagement = 0;
-buildNodeManagement() {
- var o = new api.NodeManagement();
- buildCounterNodeManagement++;
- if (buildCounterNodeManagement < 3) {
- o.autoUpgrade = true;
- o.upgradeOptions = buildAutoUpgradeOptions();
- }
- buildCounterNodeManagement--;
- return o;
-}
-
-checkNodeManagement(api.NodeManagement o) {
- buildCounterNodeManagement++;
- if (buildCounterNodeManagement < 3) {
- unittest.expect(o.autoUpgrade, unittest.isTrue);
- checkAutoUpgradeOptions(o.upgradeOptions);
- }
- buildCounterNodeManagement--;
-}
-
buildUnnamed1650() {
var o = new core.List<core.String>();
o.add("foo");
@@ -637,6 +612,79 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterNodeConfig = 0;
+buildNodeConfig() {
+ var o = new api.NodeConfig();
+ buildCounterNodeConfig++;
+ if (buildCounterNodeConfig < 3) {
+ o.diskSizeGb = 42;
+ o.imageType = "foo";
+ o.labels = buildUnnamed1647();
+ o.localSsdCount = 42;
+ o.machineType = "foo";
+ o.metadata = buildUnnamed1648();
+ o.oauthScopes = buildUnnamed1649();
+ o.preemptible = true;
+ o.serviceAccount = "foo";
+ o.tags = buildUnnamed1650();
+ }
+ buildCounterNodeConfig--;
+ return o;
+}
+
+checkNodeConfig(api.NodeConfig o) {
+ buildCounterNodeConfig++;
+ if (buildCounterNodeConfig < 3) {
+ unittest.expect(o.diskSizeGb, unittest.equals(42));
+ unittest.expect(o.imageType, unittest.equals('foo'));
+ checkUnnamed1647(o.labels);
+ unittest.expect(o.localSsdCount, unittest.equals(42));
+ unittest.expect(o.machineType, unittest.equals('foo'));
+ checkUnnamed1648(o.metadata);
+ checkUnnamed1649(o.oauthScopes);
+ unittest.expect(o.preemptible, unittest.isTrue);
+ unittest.expect(o.serviceAccount, unittest.equals('foo'));
+ checkUnnamed1650(o.tags);
+ }
+ buildCounterNodeConfig--;
+}
+
+core.int buildCounterNodeManagement = 0;
+buildNodeManagement() {
+ var o = new api.NodeManagement();
+ buildCounterNodeManagement++;
+ if (buildCounterNodeManagement < 3) {
+ o.autoRepair = true;
+ o.autoUpgrade = true;
+ o.upgradeOptions = buildAutoUpgradeOptions();
+ }
+ buildCounterNodeManagement--;
+ return o;
+}
+
+checkNodeManagement(api.NodeManagement o) {
+ buildCounterNodeManagement++;
+ if (buildCounterNodeManagement < 3) {
+ unittest.expect(o.autoRepair, unittest.isTrue);
+ unittest.expect(o.autoUpgrade, unittest.isTrue);
+ checkAutoUpgradeOptions(o.upgradeOptions);
+ }
+ buildCounterNodeManagement--;
+}
+
+buildUnnamed1651() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1651(core.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 buildCounterNodePool = 0;
buildNodePool() {
var o = new api.NodePool();
@@ -645,7 +693,7 @@
o.autoscaling = buildNodePoolAutoscaling();
o.config = buildNodeConfig();
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed1650();
+ o.instanceGroupUrls = buildUnnamed1651();
o.management = buildNodeManagement();
o.name = "foo";
o.selfLink = "foo";
@@ -663,7 +711,7 @@
checkNodePoolAutoscaling(o.autoscaling);
checkNodeConfig(o.config);
unittest.expect(o.initialNodeCount, unittest.equals(42));
- checkUnnamed1650(o.instanceGroupUrls);
+ checkUnnamed1651(o.instanceGroupUrls);
checkNodeManagement(o.management);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -730,6 +778,38 @@
buildCounterOperation--;
}
+buildUnnamed1652() {
+ var o = new core.List<api.Item>();
+ o.add(buildItem());
+ o.add(buildItem());
+ return o;
+}
+
+checkUnnamed1652(core.List<api.Item> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkItem(o[0]);
+ checkItem(o[1]);
+}
+
+core.int buildCounterResourceLabels = 0;
+buildResourceLabels() {
+ var o = new api.ResourceLabels();
+ buildCounterResourceLabels++;
+ if (buildCounterResourceLabels < 3) {
+ o.items = buildUnnamed1652();
+ }
+ buildCounterResourceLabels--;
+ return o;
+}
+
+checkResourceLabels(api.ResourceLabels o) {
+ buildCounterResourceLabels++;
+ if (buildCounterResourceLabels < 3) {
+ checkUnnamed1652(o.items);
+ }
+ buildCounterResourceLabels--;
+}
+
core.int buildCounterRollbackNodePoolUpgradeRequest = 0;
buildRollbackNodePoolUpgradeRequest() {
var o = new api.RollbackNodePoolUpgradeRequest();
@@ -747,32 +827,6 @@
buildCounterRollbackNodePoolUpgradeRequest--;
}
-buildUnnamed1651() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1651(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1652() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1652(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1653() {
var o = new core.List<core.String>();
o.add("foo");
@@ -786,6 +840,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1654() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1654(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1655() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1655(core.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 buildCounterServerConfig = 0;
buildServerConfig() {
var o = new api.ServerConfig();
@@ -793,9 +873,9 @@
if (buildCounterServerConfig < 3) {
o.defaultClusterVersion = "foo";
o.defaultImageType = "foo";
- o.validImageTypes = buildUnnamed1651();
- o.validMasterVersions = buildUnnamed1652();
- o.validNodeVersions = buildUnnamed1653();
+ o.validImageTypes = buildUnnamed1653();
+ o.validMasterVersions = buildUnnamed1654();
+ o.validNodeVersions = buildUnnamed1655();
}
buildCounterServerConfig--;
return o;
@@ -806,13 +886,74 @@
if (buildCounterServerConfig < 3) {
unittest.expect(o.defaultClusterVersion, unittest.equals('foo'));
unittest.expect(o.defaultImageType, unittest.equals('foo'));
- checkUnnamed1651(o.validImageTypes);
- checkUnnamed1652(o.validMasterVersions);
- checkUnnamed1653(o.validNodeVersions);
+ checkUnnamed1653(o.validImageTypes);
+ checkUnnamed1654(o.validMasterVersions);
+ checkUnnamed1655(o.validNodeVersions);
}
buildCounterServerConfig--;
}
+core.int buildCounterSetLabelsRequest = 0;
+buildSetLabelsRequest() {
+ var o = new api.SetLabelsRequest();
+ buildCounterSetLabelsRequest++;
+ if (buildCounterSetLabelsRequest < 3) {
+ o.labelFingerprint = "foo";
+ o.resourceLabels = buildResourceLabels();
+ }
+ buildCounterSetLabelsRequest--;
+ return o;
+}
+
+checkSetLabelsRequest(api.SetLabelsRequest o) {
+ buildCounterSetLabelsRequest++;
+ if (buildCounterSetLabelsRequest < 3) {
+ unittest.expect(o.labelFingerprint, unittest.equals('foo'));
+ checkResourceLabels(o.resourceLabels);
+ }
+ buildCounterSetLabelsRequest--;
+}
+
+core.int buildCounterSetLegacyAbacRequest = 0;
+buildSetLegacyAbacRequest() {
+ var o = new api.SetLegacyAbacRequest();
+ buildCounterSetLegacyAbacRequest++;
+ if (buildCounterSetLegacyAbacRequest < 3) {
+ o.enabled = true;
+ }
+ buildCounterSetLegacyAbacRequest--;
+ return o;
+}
+
+checkSetLegacyAbacRequest(api.SetLegacyAbacRequest o) {
+ buildCounterSetLegacyAbacRequest++;
+ if (buildCounterSetLegacyAbacRequest < 3) {
+ unittest.expect(o.enabled, unittest.isTrue);
+ }
+ buildCounterSetLegacyAbacRequest--;
+}
+
+core.int buildCounterSetMasterAuthRequest = 0;
+buildSetMasterAuthRequest() {
+ var o = new api.SetMasterAuthRequest();
+ buildCounterSetMasterAuthRequest++;
+ if (buildCounterSetMasterAuthRequest < 3) {
+ o.action = "foo";
+ o.update = buildMasterAuth();
+ }
+ buildCounterSetMasterAuthRequest--;
+ return o;
+}
+
+checkSetMasterAuthRequest(api.SetMasterAuthRequest o) {
+ buildCounterSetMasterAuthRequest++;
+ if (buildCounterSetMasterAuthRequest < 3) {
+ unittest.expect(o.action, unittest.equals('foo'));
+ checkMasterAuth(o.update);
+ }
+ buildCounterSetMasterAuthRequest--;
+}
+
core.int buildCounterSetNodePoolManagementRequest = 0;
buildSetNodePoolManagementRequest() {
var o = new api.SetNodePoolManagementRequest();
@@ -943,6 +1084,24 @@
});
+ unittest.group("obj-schema-Item", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildItem();
+ var od = new api.Item.fromJson(o.toJson());
+ checkItem(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-LegacyAbac", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLegacyAbac();
+ var od = new api.LegacyAbac.fromJson(o.toJson());
+ checkLegacyAbac(od);
+ });
+ });
+
+
unittest.group("obj-schema-ListClustersResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListClustersResponse();
@@ -1024,6 +1183,15 @@
});
+ unittest.group("obj-schema-ResourceLabels", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildResourceLabels();
+ var od = new api.ResourceLabels.fromJson(o.toJson());
+ checkResourceLabels(od);
+ });
+ });
+
+
unittest.group("obj-schema-RollbackNodePoolUpgradeRequest", () {
unittest.test("to-json--from-json", () {
var o = buildRollbackNodePoolUpgradeRequest();
@@ -1042,6 +1210,33 @@
});
+ unittest.group("obj-schema-SetLabelsRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSetLabelsRequest();
+ var od = new api.SetLabelsRequest.fromJson(o.toJson());
+ checkSetLabelsRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-SetLegacyAbacRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSetLegacyAbacRequest();
+ var od = new api.SetLegacyAbacRequest.fromJson(o.toJson());
+ checkSetLegacyAbacRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-SetMasterAuthRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSetMasterAuthRequest();
+ var od = new api.SetMasterAuthRequest.fromJson(o.toJson());
+ checkSetMasterAuthRequest(od);
+ });
+ });
+
+
unittest.group("obj-schema-SetNodePoolManagementRequest", () {
unittest.test("to-json--from-json", () {
var o = buildSetNodePoolManagementRequest();
@@ -1313,6 +1508,77 @@
})));
});
+ unittest.test("method--legacyAbac", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsZonesClustersResourceApi res = new api.ContainerApi(mock).projects.zones.clusters;
+ var arg_request = buildSetLegacyAbacRequest();
+ var arg_projectId = "foo";
+ var arg_zone = "foo";
+ var arg_clusterId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SetLegacyAbacRequest.fromJson(json);
+ checkSetLegacyAbacRequest(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 + 12), unittest.equals("v1/projects/"));
+ pathOffset += 12;
+ index = path.indexOf("/zones/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/zones/"));
+ pathOffset += 7;
+ index = path.indexOf("/clusters/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_zone"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/clusters/"));
+ pathOffset += 10;
+ index = path.indexOf("/legacyAbac", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_clusterId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/legacyAbac"));
+ pathOffset += 11;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.legacyAbac(arg_request, arg_projectId, arg_zone, arg_clusterId).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
unittest.test("method--list", () {
var mock = new HttpServerMock();
@@ -1372,6 +1638,148 @@
})));
});
+ unittest.test("method--resourceLabels", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsZonesClustersResourceApi res = new api.ContainerApi(mock).projects.zones.clusters;
+ var arg_request = buildSetLabelsRequest();
+ var arg_projectId = "foo";
+ var arg_zone = "foo";
+ var arg_clusterId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SetLabelsRequest.fromJson(json);
+ checkSetLabelsRequest(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 + 12), unittest.equals("v1/projects/"));
+ pathOffset += 12;
+ index = path.indexOf("/zones/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/zones/"));
+ pathOffset += 7;
+ index = path.indexOf("/clusters/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_zone"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/clusters/"));
+ pathOffset += 10;
+ index = path.indexOf("/resourceLabels", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_clusterId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/resourceLabels"));
+ 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(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.resourceLabels(arg_request, arg_projectId, arg_zone, arg_clusterId).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--setMasterAuth", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsZonesClustersResourceApi res = new api.ContainerApi(mock).projects.zones.clusters;
+ var arg_request = buildSetMasterAuthRequest();
+ var arg_projectId = "foo";
+ var arg_zone = "foo";
+ var arg_clusterId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SetMasterAuthRequest.fromJson(json);
+ checkSetMasterAuthRequest(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 + 12), unittest.equals("v1/projects/"));
+ pathOffset += 12;
+ index = path.indexOf("/zones/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/zones/"));
+ pathOffset += 7;
+ index = path.indexOf("/clusters/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_zone"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/clusters/"));
+ pathOffset += 10;
+ index = path.indexOf(":setMasterAuth", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_clusterId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.equals(":setMasterAuth"));
+ 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 = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setMasterAuth(arg_request, arg_projectId, arg_zone, arg_clusterId).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
unittest.test("method--update", () {
var mock = new HttpServerMock();
diff --git a/generated/googleapis/test/content/v2_test.dart b/generated/googleapis/test/content/v2_test.dart
index 5a78f09..02dbe18 100644
--- a/generated/googleapis/test/content/v2_test.dart
+++ b/generated/googleapis/test/content/v2_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed275() {
+buildUnnamed273() {
var o = new core.List<api.AccountAdwordsLink>();
o.add(buildAccountAdwordsLink());
o.add(buildAccountAdwordsLink());
return o;
}
-checkUnnamed275(core.List<api.AccountAdwordsLink> o) {
+checkUnnamed273(core.List<api.AccountAdwordsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountAdwordsLink(o[0]);
checkAccountAdwordsLink(o[1]);
}
-buildUnnamed276() {
+buildUnnamed274() {
var o = new core.List<api.AccountUser>();
o.add(buildAccountUser());
o.add(buildAccountUser());
return o;
}
-checkUnnamed276(core.List<api.AccountUser> o) {
+checkUnnamed274(core.List<api.AccountUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountUser(o[0]);
checkAccountUser(o[1]);
@@ -83,13 +83,13 @@
buildCounterAccount++;
if (buildCounterAccount < 3) {
o.adultContent = true;
- o.adwordsLinks = buildUnnamed275();
+ o.adwordsLinks = buildUnnamed273();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
o.reviewsUrl = "foo";
o.sellerId = "foo";
- o.users = buildUnnamed276();
+ o.users = buildUnnamed274();
o.websiteUrl = "foo";
}
buildCounterAccount--;
@@ -100,13 +100,13 @@
buildCounterAccount++;
if (buildCounterAccount < 3) {
unittest.expect(o.adultContent, unittest.isTrue);
- checkUnnamed275(o.adwordsLinks);
+ checkUnnamed273(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'));
- checkUnnamed276(o.users);
+ checkUnnamed274(o.users);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterAccount--;
@@ -154,395 +154,14 @@
buildCounterAccountIdentifier--;
}
-buildUnnamed277() {
- var o = new core.List<api.AccountShippingCarrierRate>();
- o.add(buildAccountShippingCarrierRate());
- o.add(buildAccountShippingCarrierRate());
- return o;
-}
-
-checkUnnamed277(core.List<api.AccountShippingCarrierRate> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAccountShippingCarrierRate(o[0]);
- checkAccountShippingCarrierRate(o[1]);
-}
-
-buildUnnamed278() {
- var o = new core.List<api.AccountShippingLocationGroup>();
- o.add(buildAccountShippingLocationGroup());
- o.add(buildAccountShippingLocationGroup());
- return o;
-}
-
-checkUnnamed278(core.List<api.AccountShippingLocationGroup> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAccountShippingLocationGroup(o[0]);
- checkAccountShippingLocationGroup(o[1]);
-}
-
-buildUnnamed279() {
- var o = new core.List<api.AccountShippingRateTable>();
- o.add(buildAccountShippingRateTable());
- o.add(buildAccountShippingRateTable());
- return o;
-}
-
-checkUnnamed279(core.List<api.AccountShippingRateTable> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAccountShippingRateTable(o[0]);
- checkAccountShippingRateTable(o[1]);
-}
-
-buildUnnamed280() {
- var o = new core.List<api.AccountShippingShippingService>();
- o.add(buildAccountShippingShippingService());
- o.add(buildAccountShippingShippingService());
- return o;
-}
-
-checkUnnamed280(core.List<api.AccountShippingShippingService> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAccountShippingShippingService(o[0]);
- checkAccountShippingShippingService(o[1]);
-}
-
-core.int buildCounterAccountShipping = 0;
-buildAccountShipping() {
- var o = new api.AccountShipping();
- buildCounterAccountShipping++;
- if (buildCounterAccountShipping < 3) {
- o.accountId = "foo";
- o.carrierRates = buildUnnamed277();
- o.kind = "foo";
- o.locationGroups = buildUnnamed278();
- o.rateTables = buildUnnamed279();
- o.services = buildUnnamed280();
- }
- buildCounterAccountShipping--;
- return o;
-}
-
-checkAccountShipping(api.AccountShipping o) {
- buildCounterAccountShipping++;
- if (buildCounterAccountShipping < 3) {
- unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed277(o.carrierRates);
- unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed278(o.locationGroups);
- checkUnnamed279(o.rateTables);
- checkUnnamed280(o.services);
- }
- buildCounterAccountShipping--;
-}
-
-core.int buildCounterAccountShippingCarrierRate = 0;
-buildAccountShippingCarrierRate() {
- var o = new api.AccountShippingCarrierRate();
- buildCounterAccountShippingCarrierRate++;
- if (buildCounterAccountShippingCarrierRate < 3) {
- o.carrier = "foo";
- o.carrierService = "foo";
- o.modifierFlatRate = buildPrice();
- o.modifierPercent = "foo";
- o.name = "foo";
- o.saleCountry = "foo";
- o.shippingOrigin = "foo";
- }
- buildCounterAccountShippingCarrierRate--;
- return o;
-}
-
-checkAccountShippingCarrierRate(api.AccountShippingCarrierRate o) {
- buildCounterAccountShippingCarrierRate++;
- if (buildCounterAccountShippingCarrierRate < 3) {
- unittest.expect(o.carrier, unittest.equals('foo'));
- unittest.expect(o.carrierService, unittest.equals('foo'));
- checkPrice(o.modifierFlatRate);
- unittest.expect(o.modifierPercent, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.saleCountry, unittest.equals('foo'));
- unittest.expect(o.shippingOrigin, unittest.equals('foo'));
- }
- buildCounterAccountShippingCarrierRate--;
-}
-
-core.int buildCounterAccountShippingCondition = 0;
-buildAccountShippingCondition() {
- var o = new api.AccountShippingCondition();
- buildCounterAccountShippingCondition++;
- if (buildCounterAccountShippingCondition < 3) {
- o.deliveryLocationGroup = "foo";
- o.deliveryLocationId = "foo";
- o.deliveryPostalCode = "foo";
- o.deliveryPostalCodeRange = buildAccountShippingPostalCodeRange();
- o.priceMax = buildPrice();
- o.shippingLabel = "foo";
- o.weightMax = buildWeight();
- }
- buildCounterAccountShippingCondition--;
- return o;
-}
-
-checkAccountShippingCondition(api.AccountShippingCondition o) {
- buildCounterAccountShippingCondition++;
- if (buildCounterAccountShippingCondition < 3) {
- unittest.expect(o.deliveryLocationGroup, unittest.equals('foo'));
- unittest.expect(o.deliveryLocationId, unittest.equals('foo'));
- unittest.expect(o.deliveryPostalCode, unittest.equals('foo'));
- checkAccountShippingPostalCodeRange(o.deliveryPostalCodeRange);
- checkPrice(o.priceMax);
- unittest.expect(o.shippingLabel, unittest.equals('foo'));
- checkWeight(o.weightMax);
- }
- buildCounterAccountShippingCondition--;
-}
-
-buildUnnamed281() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed281(core.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() {
- var o = new core.List<api.AccountShippingPostalCodeRange>();
- o.add(buildAccountShippingPostalCodeRange());
- o.add(buildAccountShippingPostalCodeRange());
- return o;
-}
-
-checkUnnamed282(core.List<api.AccountShippingPostalCodeRange> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAccountShippingPostalCodeRange(o[0]);
- checkAccountShippingPostalCodeRange(o[1]);
-}
-
-buildUnnamed283() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-core.int buildCounterAccountShippingLocationGroup = 0;
-buildAccountShippingLocationGroup() {
- var o = new api.AccountShippingLocationGroup();
- buildCounterAccountShippingLocationGroup++;
- if (buildCounterAccountShippingLocationGroup < 3) {
- o.country = "foo";
- o.locationIds = buildUnnamed281();
- o.name = "foo";
- o.postalCodeRanges = buildUnnamed282();
- o.postalCodes = buildUnnamed283();
- }
- buildCounterAccountShippingLocationGroup--;
- return o;
-}
-
-checkAccountShippingLocationGroup(api.AccountShippingLocationGroup o) {
- buildCounterAccountShippingLocationGroup++;
- if (buildCounterAccountShippingLocationGroup < 3) {
- unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed281(o.locationIds);
- unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed282(o.postalCodeRanges);
- checkUnnamed283(o.postalCodes);
- }
- buildCounterAccountShippingLocationGroup--;
-}
-
-core.int buildCounterAccountShippingPostalCodeRange = 0;
-buildAccountShippingPostalCodeRange() {
- var o = new api.AccountShippingPostalCodeRange();
- buildCounterAccountShippingPostalCodeRange++;
- if (buildCounterAccountShippingPostalCodeRange < 3) {
- o.end = "foo";
- o.start = "foo";
- }
- buildCounterAccountShippingPostalCodeRange--;
- return o;
-}
-
-checkAccountShippingPostalCodeRange(api.AccountShippingPostalCodeRange o) {
- buildCounterAccountShippingPostalCodeRange++;
- if (buildCounterAccountShippingPostalCodeRange < 3) {
- unittest.expect(o.end, unittest.equals('foo'));
- unittest.expect(o.start, unittest.equals('foo'));
- }
- buildCounterAccountShippingPostalCodeRange--;
-}
-
-buildUnnamed284() {
- var o = new core.List<api.AccountShippingRateTableCell>();
- o.add(buildAccountShippingRateTableCell());
- o.add(buildAccountShippingRateTableCell());
- return o;
-}
-
-checkUnnamed284(core.List<api.AccountShippingRateTableCell> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAccountShippingRateTableCell(o[0]);
- checkAccountShippingRateTableCell(o[1]);
-}
-
-core.int buildCounterAccountShippingRateTable = 0;
-buildAccountShippingRateTable() {
- var o = new api.AccountShippingRateTable();
- buildCounterAccountShippingRateTable++;
- if (buildCounterAccountShippingRateTable < 3) {
- o.content = buildUnnamed284();
- o.name = "foo";
- o.saleCountry = "foo";
- }
- buildCounterAccountShippingRateTable--;
- return o;
-}
-
-checkAccountShippingRateTable(api.AccountShippingRateTable o) {
- buildCounterAccountShippingRateTable++;
- if (buildCounterAccountShippingRateTable < 3) {
- checkUnnamed284(o.content);
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.saleCountry, unittest.equals('foo'));
- }
- buildCounterAccountShippingRateTable--;
-}
-
-core.int buildCounterAccountShippingRateTableCell = 0;
-buildAccountShippingRateTableCell() {
- var o = new api.AccountShippingRateTableCell();
- buildCounterAccountShippingRateTableCell++;
- if (buildCounterAccountShippingRateTableCell < 3) {
- o.condition = buildAccountShippingCondition();
- o.rate = buildPrice();
- }
- buildCounterAccountShippingRateTableCell--;
- return o;
-}
-
-checkAccountShippingRateTableCell(api.AccountShippingRateTableCell o) {
- buildCounterAccountShippingRateTableCell++;
- if (buildCounterAccountShippingRateTableCell < 3) {
- checkAccountShippingCondition(o.condition);
- checkPrice(o.rate);
- }
- buildCounterAccountShippingRateTableCell--;
-}
-
-core.int buildCounterAccountShippingShippingService = 0;
-buildAccountShippingShippingService() {
- var o = new api.AccountShippingShippingService();
- buildCounterAccountShippingShippingService++;
- if (buildCounterAccountShippingShippingService < 3) {
- o.active = true;
- o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod();
- o.costRuleTree = buildAccountShippingShippingServiceCostRule();
- o.maxDaysInTransit = "foo";
- o.minDaysInTransit = "foo";
- o.name = "foo";
- o.saleCountry = "foo";
- }
- buildCounterAccountShippingShippingService--;
- return o;
-}
-
-checkAccountShippingShippingService(api.AccountShippingShippingService o) {
- buildCounterAccountShippingShippingService++;
- if (buildCounterAccountShippingShippingService < 3) {
- unittest.expect(o.active, unittest.isTrue);
- checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod);
- checkAccountShippingShippingServiceCostRule(o.costRuleTree);
- unittest.expect(o.maxDaysInTransit, unittest.equals('foo'));
- unittest.expect(o.minDaysInTransit, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.saleCountry, unittest.equals('foo'));
- }
- buildCounterAccountShippingShippingService--;
-}
-
-core.int buildCounterAccountShippingShippingServiceCalculationMethod = 0;
-buildAccountShippingShippingServiceCalculationMethod() {
- var o = new api.AccountShippingShippingServiceCalculationMethod();
- buildCounterAccountShippingShippingServiceCalculationMethod++;
- if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) {
- o.carrierRate = "foo";
- o.excluded = true;
- o.flatRate = buildPrice();
- o.percentageRate = "foo";
- o.rateTable = "foo";
- }
- buildCounterAccountShippingShippingServiceCalculationMethod--;
- return o;
-}
-
-checkAccountShippingShippingServiceCalculationMethod(api.AccountShippingShippingServiceCalculationMethod o) {
- buildCounterAccountShippingShippingServiceCalculationMethod++;
- if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) {
- unittest.expect(o.carrierRate, unittest.equals('foo'));
- unittest.expect(o.excluded, unittest.isTrue);
- checkPrice(o.flatRate);
- unittest.expect(o.percentageRate, unittest.equals('foo'));
- unittest.expect(o.rateTable, unittest.equals('foo'));
- }
- buildCounterAccountShippingShippingServiceCalculationMethod--;
-}
-
-buildUnnamed285() {
- var o = new core.List<api.AccountShippingShippingServiceCostRule>();
- o.add(buildAccountShippingShippingServiceCostRule());
- o.add(buildAccountShippingShippingServiceCostRule());
- return o;
-}
-
-checkUnnamed285(core.List<api.AccountShippingShippingServiceCostRule> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAccountShippingShippingServiceCostRule(o[0]);
- checkAccountShippingShippingServiceCostRule(o[1]);
-}
-
-core.int buildCounterAccountShippingShippingServiceCostRule = 0;
-buildAccountShippingShippingServiceCostRule() {
- var o = new api.AccountShippingShippingServiceCostRule();
- buildCounterAccountShippingShippingServiceCostRule++;
- if (buildCounterAccountShippingShippingServiceCostRule < 3) {
- o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod();
- o.children = buildUnnamed285();
- o.condition = buildAccountShippingCondition();
- }
- buildCounterAccountShippingShippingServiceCostRule--;
- return o;
-}
-
-checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCostRule o) {
- buildCounterAccountShippingShippingServiceCostRule++;
- if (buildCounterAccountShippingShippingServiceCostRule < 3) {
- checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod);
- checkUnnamed285(o.children);
- checkAccountShippingCondition(o.condition);
- }
- buildCounterAccountShippingShippingServiceCostRule--;
-}
-
-buildUnnamed286() {
+buildUnnamed275() {
var o = new core.List<api.AccountStatusDataQualityIssue>();
o.add(buildAccountStatusDataQualityIssue());
o.add(buildAccountStatusDataQualityIssue());
return o;
}
-checkUnnamed286(core.List<api.AccountStatusDataQualityIssue> o) {
+checkUnnamed275(core.List<api.AccountStatusDataQualityIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatusDataQualityIssue(o[0]);
checkAccountStatusDataQualityIssue(o[1]);
@@ -554,7 +173,7 @@
buildCounterAccountStatus++;
if (buildCounterAccountStatus < 3) {
o.accountId = "foo";
- o.dataQualityIssues = buildUnnamed286();
+ o.dataQualityIssues = buildUnnamed275();
o.kind = "foo";
}
buildCounterAccountStatus--;
@@ -565,20 +184,20 @@
buildCounterAccountStatus++;
if (buildCounterAccountStatus < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed286(o.dataQualityIssues);
+ checkUnnamed275(o.dataQualityIssues);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountStatus--;
}
-buildUnnamed287() {
+buildUnnamed276() {
var o = new core.List<api.AccountStatusExampleItem>();
o.add(buildAccountStatusExampleItem());
o.add(buildAccountStatusExampleItem());
return o;
}
-checkUnnamed287(core.List<api.AccountStatusExampleItem> o) {
+checkUnnamed276(core.List<api.AccountStatusExampleItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatusExampleItem(o[0]);
checkAccountStatusExampleItem(o[1]);
@@ -592,7 +211,7 @@
o.country = "foo";
o.detail = "foo";
o.displayedValue = "foo";
- o.exampleItems = buildUnnamed287();
+ o.exampleItems = buildUnnamed276();
o.id = "foo";
o.lastChecked = "foo";
o.location = "foo";
@@ -610,7 +229,7 @@
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.detail, unittest.equals('foo'));
unittest.expect(o.displayedValue, unittest.equals('foo'));
- checkUnnamed287(o.exampleItems);
+ checkUnnamed276(o.exampleItems);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.lastChecked, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
@@ -648,14 +267,14 @@
buildCounterAccountStatusExampleItem--;
}
-buildUnnamed288() {
+buildUnnamed277() {
var o = new core.List<api.AccountTaxTaxRule>();
o.add(buildAccountTaxTaxRule());
o.add(buildAccountTaxTaxRule());
return o;
}
-checkUnnamed288(core.List<api.AccountTaxTaxRule> o) {
+checkUnnamed277(core.List<api.AccountTaxTaxRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountTaxTaxRule(o[0]);
checkAccountTaxTaxRule(o[1]);
@@ -668,7 +287,7 @@
if (buildCounterAccountTax < 3) {
o.accountId = "foo";
o.kind = "foo";
- o.rules = buildUnnamed288();
+ o.rules = buildUnnamed277();
}
buildCounterAccountTax--;
return o;
@@ -679,7 +298,7 @@
if (buildCounterAccountTax < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed288(o.rules);
+ checkUnnamed277(o.rules);
}
buildCounterAccountTax--;
}
@@ -732,14 +351,14 @@
buildCounterAccountUser--;
}
-buildUnnamed289() {
+buildUnnamed278() {
var o = new core.List<api.AccountIdentifier>();
o.add(buildAccountIdentifier());
o.add(buildAccountIdentifier());
return o;
}
-checkUnnamed289(core.List<api.AccountIdentifier> o) {
+checkUnnamed278(core.List<api.AccountIdentifier> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountIdentifier(o[0]);
checkAccountIdentifier(o[1]);
@@ -750,7 +369,7 @@
var o = new api.AccountsAuthInfoResponse();
buildCounterAccountsAuthInfoResponse++;
if (buildCounterAccountsAuthInfoResponse < 3) {
- o.accountIdentifiers = buildUnnamed289();
+ o.accountIdentifiers = buildUnnamed278();
o.kind = "foo";
}
buildCounterAccountsAuthInfoResponse--;
@@ -760,20 +379,20 @@
checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) {
buildCounterAccountsAuthInfoResponse++;
if (buildCounterAccountsAuthInfoResponse < 3) {
- checkUnnamed289(o.accountIdentifiers);
+ checkUnnamed278(o.accountIdentifiers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsAuthInfoResponse--;
}
-buildUnnamed290() {
+buildUnnamed279() {
var o = new core.List<api.AccountsCustomBatchRequestEntry>();
o.add(buildAccountsCustomBatchRequestEntry());
o.add(buildAccountsCustomBatchRequestEntry());
return o;
}
-checkUnnamed290(core.List<api.AccountsCustomBatchRequestEntry> o) {
+checkUnnamed279(core.List<api.AccountsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountsCustomBatchRequestEntry(o[0]);
checkAccountsCustomBatchRequestEntry(o[1]);
@@ -784,7 +403,7 @@
var o = new api.AccountsCustomBatchRequest();
buildCounterAccountsCustomBatchRequest++;
if (buildCounterAccountsCustomBatchRequest < 3) {
- o.entries = buildUnnamed290();
+ o.entries = buildUnnamed279();
}
buildCounterAccountsCustomBatchRequest--;
return o;
@@ -793,7 +412,7 @@
checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) {
buildCounterAccountsCustomBatchRequest++;
if (buildCounterAccountsCustomBatchRequest < 3) {
- checkUnnamed290(o.entries);
+ checkUnnamed279(o.entries);
}
buildCounterAccountsCustomBatchRequest--;
}
@@ -825,14 +444,14 @@
buildCounterAccountsCustomBatchRequestEntry--;
}
-buildUnnamed291() {
+buildUnnamed280() {
var o = new core.List<api.AccountsCustomBatchResponseEntry>();
o.add(buildAccountsCustomBatchResponseEntry());
o.add(buildAccountsCustomBatchResponseEntry());
return o;
}
-checkUnnamed291(core.List<api.AccountsCustomBatchResponseEntry> o) {
+checkUnnamed280(core.List<api.AccountsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountsCustomBatchResponseEntry(o[0]);
checkAccountsCustomBatchResponseEntry(o[1]);
@@ -843,7 +462,7 @@
var o = new api.AccountsCustomBatchResponse();
buildCounterAccountsCustomBatchResponse++;
if (buildCounterAccountsCustomBatchResponse < 3) {
- o.entries = buildUnnamed291();
+ o.entries = buildUnnamed280();
o.kind = "foo";
}
buildCounterAccountsCustomBatchResponse--;
@@ -853,7 +472,7 @@
checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) {
buildCounterAccountsCustomBatchResponse++;
if (buildCounterAccountsCustomBatchResponse < 3) {
- checkUnnamed291(o.entries);
+ checkUnnamed280(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsCustomBatchResponse--;
@@ -884,14 +503,14 @@
buildCounterAccountsCustomBatchResponseEntry--;
}
-buildUnnamed292() {
+buildUnnamed281() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed292(core.List<api.Account> o) {
+checkUnnamed281(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -904,7 +523,7 @@
if (buildCounterAccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed292();
+ o.resources = buildUnnamed281();
}
buildCounterAccountsListResponse--;
return o;
@@ -915,173 +534,19 @@
if (buildCounterAccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed292(o.resources);
+ checkUnnamed281(o.resources);
}
buildCounterAccountsListResponse--;
}
-buildUnnamed293() {
- var o = new core.List<api.AccountshippingCustomBatchRequestEntry>();
- o.add(buildAccountshippingCustomBatchRequestEntry());
- o.add(buildAccountshippingCustomBatchRequestEntry());
- return o;
-}
-
-checkUnnamed293(core.List<api.AccountshippingCustomBatchRequestEntry> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAccountshippingCustomBatchRequestEntry(o[0]);
- checkAccountshippingCustomBatchRequestEntry(o[1]);
-}
-
-core.int buildCounterAccountshippingCustomBatchRequest = 0;
-buildAccountshippingCustomBatchRequest() {
- var o = new api.AccountshippingCustomBatchRequest();
- buildCounterAccountshippingCustomBatchRequest++;
- if (buildCounterAccountshippingCustomBatchRequest < 3) {
- o.entries = buildUnnamed293();
- }
- buildCounterAccountshippingCustomBatchRequest--;
- return o;
-}
-
-checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o) {
- buildCounterAccountshippingCustomBatchRequest++;
- if (buildCounterAccountshippingCustomBatchRequest < 3) {
- checkUnnamed293(o.entries);
- }
- buildCounterAccountshippingCustomBatchRequest--;
-}
-
-core.int buildCounterAccountshippingCustomBatchRequestEntry = 0;
-buildAccountshippingCustomBatchRequestEntry() {
- var o = new api.AccountshippingCustomBatchRequestEntry();
- buildCounterAccountshippingCustomBatchRequestEntry++;
- if (buildCounterAccountshippingCustomBatchRequestEntry < 3) {
- o.accountId = "foo";
- o.accountShipping = buildAccountShipping();
- o.batchId = 42;
- o.merchantId = "foo";
- o.method = "foo";
- }
- buildCounterAccountshippingCustomBatchRequestEntry--;
- return o;
-}
-
-checkAccountshippingCustomBatchRequestEntry(api.AccountshippingCustomBatchRequestEntry o) {
- buildCounterAccountshippingCustomBatchRequestEntry++;
- if (buildCounterAccountshippingCustomBatchRequestEntry < 3) {
- unittest.expect(o.accountId, unittest.equals('foo'));
- checkAccountShipping(o.accountShipping);
- unittest.expect(o.batchId, unittest.equals(42));
- unittest.expect(o.merchantId, unittest.equals('foo'));
- unittest.expect(o.method, unittest.equals('foo'));
- }
- buildCounterAccountshippingCustomBatchRequestEntry--;
-}
-
-buildUnnamed294() {
- var o = new core.List<api.AccountshippingCustomBatchResponseEntry>();
- o.add(buildAccountshippingCustomBatchResponseEntry());
- o.add(buildAccountshippingCustomBatchResponseEntry());
- return o;
-}
-
-checkUnnamed294(core.List<api.AccountshippingCustomBatchResponseEntry> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAccountshippingCustomBatchResponseEntry(o[0]);
- checkAccountshippingCustomBatchResponseEntry(o[1]);
-}
-
-core.int buildCounterAccountshippingCustomBatchResponse = 0;
-buildAccountshippingCustomBatchResponse() {
- var o = new api.AccountshippingCustomBatchResponse();
- buildCounterAccountshippingCustomBatchResponse++;
- if (buildCounterAccountshippingCustomBatchResponse < 3) {
- o.entries = buildUnnamed294();
- o.kind = "foo";
- }
- buildCounterAccountshippingCustomBatchResponse--;
- return o;
-}
-
-checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o) {
- buildCounterAccountshippingCustomBatchResponse++;
- if (buildCounterAccountshippingCustomBatchResponse < 3) {
- checkUnnamed294(o.entries);
- unittest.expect(o.kind, unittest.equals('foo'));
- }
- buildCounterAccountshippingCustomBatchResponse--;
-}
-
-core.int buildCounterAccountshippingCustomBatchResponseEntry = 0;
-buildAccountshippingCustomBatchResponseEntry() {
- var o = new api.AccountshippingCustomBatchResponseEntry();
- buildCounterAccountshippingCustomBatchResponseEntry++;
- if (buildCounterAccountshippingCustomBatchResponseEntry < 3) {
- o.accountShipping = buildAccountShipping();
- o.batchId = 42;
- o.errors = buildErrors();
- o.kind = "foo";
- }
- buildCounterAccountshippingCustomBatchResponseEntry--;
- return o;
-}
-
-checkAccountshippingCustomBatchResponseEntry(api.AccountshippingCustomBatchResponseEntry o) {
- buildCounterAccountshippingCustomBatchResponseEntry++;
- if (buildCounterAccountshippingCustomBatchResponseEntry < 3) {
- checkAccountShipping(o.accountShipping);
- unittest.expect(o.batchId, unittest.equals(42));
- checkErrors(o.errors);
- unittest.expect(o.kind, unittest.equals('foo'));
- }
- buildCounterAccountshippingCustomBatchResponseEntry--;
-}
-
-buildUnnamed295() {
- var o = new core.List<api.AccountShipping>();
- o.add(buildAccountShipping());
- o.add(buildAccountShipping());
- return o;
-}
-
-checkUnnamed295(core.List<api.AccountShipping> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAccountShipping(o[0]);
- checkAccountShipping(o[1]);
-}
-
-core.int buildCounterAccountshippingListResponse = 0;
-buildAccountshippingListResponse() {
- var o = new api.AccountshippingListResponse();
- buildCounterAccountshippingListResponse++;
- if (buildCounterAccountshippingListResponse < 3) {
- o.kind = "foo";
- o.nextPageToken = "foo";
- o.resources = buildUnnamed295();
- }
- buildCounterAccountshippingListResponse--;
- return o;
-}
-
-checkAccountshippingListResponse(api.AccountshippingListResponse o) {
- buildCounterAccountshippingListResponse++;
- if (buildCounterAccountshippingListResponse < 3) {
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed295(o.resources);
- }
- buildCounterAccountshippingListResponse--;
-}
-
-buildUnnamed296() {
+buildUnnamed282() {
var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>();
o.add(buildAccountstatusesCustomBatchRequestEntry());
o.add(buildAccountstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed296(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
+checkUnnamed282(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountstatusesCustomBatchRequestEntry(o[0]);
checkAccountstatusesCustomBatchRequestEntry(o[1]);
@@ -1092,7 +557,7 @@
var o = new api.AccountstatusesCustomBatchRequest();
buildCounterAccountstatusesCustomBatchRequest++;
if (buildCounterAccountstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed296();
+ o.entries = buildUnnamed282();
}
buildCounterAccountstatusesCustomBatchRequest--;
return o;
@@ -1101,7 +566,7 @@
checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o) {
buildCounterAccountstatusesCustomBatchRequest++;
if (buildCounterAccountstatusesCustomBatchRequest < 3) {
- checkUnnamed296(o.entries);
+ checkUnnamed282(o.entries);
}
buildCounterAccountstatusesCustomBatchRequest--;
}
@@ -1131,14 +596,14 @@
buildCounterAccountstatusesCustomBatchRequestEntry--;
}
-buildUnnamed297() {
+buildUnnamed283() {
var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>();
o.add(buildAccountstatusesCustomBatchResponseEntry());
o.add(buildAccountstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed297(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
+checkUnnamed283(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountstatusesCustomBatchResponseEntry(o[0]);
checkAccountstatusesCustomBatchResponseEntry(o[1]);
@@ -1149,7 +614,7 @@
var o = new api.AccountstatusesCustomBatchResponse();
buildCounterAccountstatusesCustomBatchResponse++;
if (buildCounterAccountstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed297();
+ o.entries = buildUnnamed283();
o.kind = "foo";
}
buildCounterAccountstatusesCustomBatchResponse--;
@@ -1159,7 +624,7 @@
checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o) {
buildCounterAccountstatusesCustomBatchResponse++;
if (buildCounterAccountstatusesCustomBatchResponse < 3) {
- checkUnnamed297(o.entries);
+ checkUnnamed283(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountstatusesCustomBatchResponse--;
@@ -1188,14 +653,14 @@
buildCounterAccountstatusesCustomBatchResponseEntry--;
}
-buildUnnamed298() {
+buildUnnamed284() {
var o = new core.List<api.AccountStatus>();
o.add(buildAccountStatus());
o.add(buildAccountStatus());
return o;
}
-checkUnnamed298(core.List<api.AccountStatus> o) {
+checkUnnamed284(core.List<api.AccountStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatus(o[0]);
checkAccountStatus(o[1]);
@@ -1208,7 +673,7 @@
if (buildCounterAccountstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed298();
+ o.resources = buildUnnamed284();
}
buildCounterAccountstatusesListResponse--;
return o;
@@ -1219,19 +684,19 @@
if (buildCounterAccountstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed298(o.resources);
+ checkUnnamed284(o.resources);
}
buildCounterAccountstatusesListResponse--;
}
-buildUnnamed299() {
+buildUnnamed285() {
var o = new core.List<api.AccounttaxCustomBatchRequestEntry>();
o.add(buildAccounttaxCustomBatchRequestEntry());
o.add(buildAccounttaxCustomBatchRequestEntry());
return o;
}
-checkUnnamed299(core.List<api.AccounttaxCustomBatchRequestEntry> o) {
+checkUnnamed285(core.List<api.AccounttaxCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccounttaxCustomBatchRequestEntry(o[0]);
checkAccounttaxCustomBatchRequestEntry(o[1]);
@@ -1242,7 +707,7 @@
var o = new api.AccounttaxCustomBatchRequest();
buildCounterAccounttaxCustomBatchRequest++;
if (buildCounterAccounttaxCustomBatchRequest < 3) {
- o.entries = buildUnnamed299();
+ o.entries = buildUnnamed285();
}
buildCounterAccounttaxCustomBatchRequest--;
return o;
@@ -1251,7 +716,7 @@
checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) {
buildCounterAccounttaxCustomBatchRequest++;
if (buildCounterAccounttaxCustomBatchRequest < 3) {
- checkUnnamed299(o.entries);
+ checkUnnamed285(o.entries);
}
buildCounterAccounttaxCustomBatchRequest--;
}
@@ -1283,14 +748,14 @@
buildCounterAccounttaxCustomBatchRequestEntry--;
}
-buildUnnamed300() {
+buildUnnamed286() {
var o = new core.List<api.AccounttaxCustomBatchResponseEntry>();
o.add(buildAccounttaxCustomBatchResponseEntry());
o.add(buildAccounttaxCustomBatchResponseEntry());
return o;
}
-checkUnnamed300(core.List<api.AccounttaxCustomBatchResponseEntry> o) {
+checkUnnamed286(core.List<api.AccounttaxCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccounttaxCustomBatchResponseEntry(o[0]);
checkAccounttaxCustomBatchResponseEntry(o[1]);
@@ -1301,7 +766,7 @@
var o = new api.AccounttaxCustomBatchResponse();
buildCounterAccounttaxCustomBatchResponse++;
if (buildCounterAccounttaxCustomBatchResponse < 3) {
- o.entries = buildUnnamed300();
+ o.entries = buildUnnamed286();
o.kind = "foo";
}
buildCounterAccounttaxCustomBatchResponse--;
@@ -1311,7 +776,7 @@
checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) {
buildCounterAccounttaxCustomBatchResponse++;
if (buildCounterAccounttaxCustomBatchResponse < 3) {
- checkUnnamed300(o.entries);
+ checkUnnamed286(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccounttaxCustomBatchResponse--;
@@ -1342,14 +807,14 @@
buildCounterAccounttaxCustomBatchResponseEntry--;
}
-buildUnnamed301() {
+buildUnnamed287() {
var o = new core.List<api.AccountTax>();
o.add(buildAccountTax());
o.add(buildAccountTax());
return o;
}
-checkUnnamed301(core.List<api.AccountTax> o) {
+checkUnnamed287(core.List<api.AccountTax> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountTax(o[0]);
checkAccountTax(o[1]);
@@ -1362,7 +827,7 @@
if (buildCounterAccounttaxListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed301();
+ o.resources = buildUnnamed287();
}
buildCounterAccounttaxListResponse--;
return o;
@@ -1373,7 +838,7 @@
if (buildCounterAccounttaxListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed301(o.resources);
+ checkUnnamed287(o.resources);
}
buildCounterAccounttaxListResponse--;
}
@@ -1407,14 +872,14 @@
buildCounterCarrierRate--;
}
-buildUnnamed302() {
+buildUnnamed288() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed302(core.List<core.String> o) {
+checkUnnamed288(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1427,7 +892,7 @@
if (buildCounterCarriersCarrier < 3) {
o.country = "foo";
o.name = "foo";
- o.services = buildUnnamed302();
+ o.services = buildUnnamed288();
}
buildCounterCarriersCarrier--;
return o;
@@ -1438,19 +903,19 @@
if (buildCounterCarriersCarrier < 3) {
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed302(o.services);
+ checkUnnamed288(o.services);
}
buildCounterCarriersCarrier--;
}
-buildUnnamed303() {
+buildUnnamed289() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed303(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'));
@@ -1468,7 +933,7 @@
o.fileName = "foo";
o.format = buildDatafeedFormat();
o.id = "foo";
- o.intendedDestinations = buildUnnamed303();
+ o.intendedDestinations = buildUnnamed289();
o.kind = "foo";
o.name = "foo";
o.targetCountry = "foo";
@@ -1487,7 +952,7 @@
unittest.expect(o.fileName, unittest.equals('foo'));
checkDatafeedFormat(o.format);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed303(o.intendedDestinations);
+ checkUnnamed289(o.intendedDestinations);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.targetCountry, unittest.equals('foo'));
@@ -1551,27 +1016,27 @@
buildCounterDatafeedFormat--;
}
-buildUnnamed304() {
+buildUnnamed290() {
var o = new core.List<api.DatafeedStatusError>();
o.add(buildDatafeedStatusError());
o.add(buildDatafeedStatusError());
return o;
}
-checkUnnamed304(core.List<api.DatafeedStatusError> o) {
+checkUnnamed290(core.List<api.DatafeedStatusError> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatusError(o[0]);
checkDatafeedStatusError(o[1]);
}
-buildUnnamed305() {
+buildUnnamed291() {
var o = new core.List<api.DatafeedStatusError>();
o.add(buildDatafeedStatusError());
o.add(buildDatafeedStatusError());
return o;
}
-checkUnnamed305(core.List<api.DatafeedStatusError> o) {
+checkUnnamed291(core.List<api.DatafeedStatusError> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatusError(o[0]);
checkDatafeedStatusError(o[1]);
@@ -1583,13 +1048,13 @@
buildCounterDatafeedStatus++;
if (buildCounterDatafeedStatus < 3) {
o.datafeedId = "foo";
- o.errors = buildUnnamed304();
+ o.errors = buildUnnamed290();
o.itemsTotal = "foo";
o.itemsValid = "foo";
o.kind = "foo";
o.lastUploadDate = "foo";
o.processingStatus = "foo";
- o.warnings = buildUnnamed305();
+ o.warnings = buildUnnamed291();
}
buildCounterDatafeedStatus--;
return o;
@@ -1599,25 +1064,25 @@
buildCounterDatafeedStatus++;
if (buildCounterDatafeedStatus < 3) {
unittest.expect(o.datafeedId, unittest.equals('foo'));
- checkUnnamed304(o.errors);
+ checkUnnamed290(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.lastUploadDate, unittest.equals('foo'));
unittest.expect(o.processingStatus, unittest.equals('foo'));
- checkUnnamed305(o.warnings);
+ checkUnnamed291(o.warnings);
}
buildCounterDatafeedStatus--;
}
-buildUnnamed306() {
+buildUnnamed292() {
var o = new core.List<api.DatafeedStatusExample>();
o.add(buildDatafeedStatusExample());
o.add(buildDatafeedStatusExample());
return o;
}
-checkUnnamed306(core.List<api.DatafeedStatusExample> o) {
+checkUnnamed292(core.List<api.DatafeedStatusExample> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatusExample(o[0]);
checkDatafeedStatusExample(o[1]);
@@ -1630,7 +1095,7 @@
if (buildCounterDatafeedStatusError < 3) {
o.code = "foo";
o.count = "foo";
- o.examples = buildUnnamed306();
+ o.examples = buildUnnamed292();
o.message = "foo";
}
buildCounterDatafeedStatusError--;
@@ -1642,7 +1107,7 @@
if (buildCounterDatafeedStatusError < 3) {
unittest.expect(o.code, unittest.equals('foo'));
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed306(o.examples);
+ checkUnnamed292(o.examples);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDatafeedStatusError--;
@@ -1671,14 +1136,14 @@
buildCounterDatafeedStatusExample--;
}
-buildUnnamed307() {
+buildUnnamed293() {
var o = new core.List<api.DatafeedsCustomBatchRequestEntry>();
o.add(buildDatafeedsCustomBatchRequestEntry());
o.add(buildDatafeedsCustomBatchRequestEntry());
return o;
}
-checkUnnamed307(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
+checkUnnamed293(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedsCustomBatchRequestEntry(o[0]);
checkDatafeedsCustomBatchRequestEntry(o[1]);
@@ -1689,7 +1154,7 @@
var o = new api.DatafeedsCustomBatchRequest();
buildCounterDatafeedsCustomBatchRequest++;
if (buildCounterDatafeedsCustomBatchRequest < 3) {
- o.entries = buildUnnamed307();
+ o.entries = buildUnnamed293();
}
buildCounterDatafeedsCustomBatchRequest--;
return o;
@@ -1698,7 +1163,7 @@
checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) {
buildCounterDatafeedsCustomBatchRequest++;
if (buildCounterDatafeedsCustomBatchRequest < 3) {
- checkUnnamed307(o.entries);
+ checkUnnamed293(o.entries);
}
buildCounterDatafeedsCustomBatchRequest--;
}
@@ -1730,14 +1195,14 @@
buildCounterDatafeedsCustomBatchRequestEntry--;
}
-buildUnnamed308() {
+buildUnnamed294() {
var o = new core.List<api.DatafeedsCustomBatchResponseEntry>();
o.add(buildDatafeedsCustomBatchResponseEntry());
o.add(buildDatafeedsCustomBatchResponseEntry());
return o;
}
-checkUnnamed308(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
+checkUnnamed294(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedsCustomBatchResponseEntry(o[0]);
checkDatafeedsCustomBatchResponseEntry(o[1]);
@@ -1748,7 +1213,7 @@
var o = new api.DatafeedsCustomBatchResponse();
buildCounterDatafeedsCustomBatchResponse++;
if (buildCounterDatafeedsCustomBatchResponse < 3) {
- o.entries = buildUnnamed308();
+ o.entries = buildUnnamed294();
o.kind = "foo";
}
buildCounterDatafeedsCustomBatchResponse--;
@@ -1758,7 +1223,7 @@
checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) {
buildCounterDatafeedsCustomBatchResponse++;
if (buildCounterDatafeedsCustomBatchResponse < 3) {
- checkUnnamed308(o.entries);
+ checkUnnamed294(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatafeedsCustomBatchResponse--;
@@ -1787,14 +1252,14 @@
buildCounterDatafeedsCustomBatchResponseEntry--;
}
-buildUnnamed309() {
+buildUnnamed295() {
var o = new core.List<api.Datafeed>();
o.add(buildDatafeed());
o.add(buildDatafeed());
return o;
}
-checkUnnamed309(core.List<api.Datafeed> o) {
+checkUnnamed295(core.List<api.Datafeed> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeed(o[0]);
checkDatafeed(o[1]);
@@ -1807,7 +1272,7 @@
if (buildCounterDatafeedsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed309();
+ o.resources = buildUnnamed295();
}
buildCounterDatafeedsListResponse--;
return o;
@@ -1818,19 +1283,19 @@
if (buildCounterDatafeedsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed309(o.resources);
+ checkUnnamed295(o.resources);
}
buildCounterDatafeedsListResponse--;
}
-buildUnnamed310() {
+buildUnnamed296() {
var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>();
o.add(buildDatafeedstatusesCustomBatchRequestEntry());
o.add(buildDatafeedstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed310(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
+checkUnnamed296(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedstatusesCustomBatchRequestEntry(o[0]);
checkDatafeedstatusesCustomBatchRequestEntry(o[1]);
@@ -1841,7 +1306,7 @@
var o = new api.DatafeedstatusesCustomBatchRequest();
buildCounterDatafeedstatusesCustomBatchRequest++;
if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed310();
+ o.entries = buildUnnamed296();
}
buildCounterDatafeedstatusesCustomBatchRequest--;
return o;
@@ -1850,7 +1315,7 @@
checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o) {
buildCounterDatafeedstatusesCustomBatchRequest++;
if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
- checkUnnamed310(o.entries);
+ checkUnnamed296(o.entries);
}
buildCounterDatafeedstatusesCustomBatchRequest--;
}
@@ -1880,14 +1345,14 @@
buildCounterDatafeedstatusesCustomBatchRequestEntry--;
}
-buildUnnamed311() {
+buildUnnamed297() {
var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>();
o.add(buildDatafeedstatusesCustomBatchResponseEntry());
o.add(buildDatafeedstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed311(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
+checkUnnamed297(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedstatusesCustomBatchResponseEntry(o[0]);
checkDatafeedstatusesCustomBatchResponseEntry(o[1]);
@@ -1898,7 +1363,7 @@
var o = new api.DatafeedstatusesCustomBatchResponse();
buildCounterDatafeedstatusesCustomBatchResponse++;
if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed311();
+ o.entries = buildUnnamed297();
o.kind = "foo";
}
buildCounterDatafeedstatusesCustomBatchResponse--;
@@ -1908,7 +1373,7 @@
checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse o) {
buildCounterDatafeedstatusesCustomBatchResponse++;
if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
- checkUnnamed311(o.entries);
+ checkUnnamed297(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatafeedstatusesCustomBatchResponse--;
@@ -1937,14 +1402,14 @@
buildCounterDatafeedstatusesCustomBatchResponseEntry--;
}
-buildUnnamed312() {
+buildUnnamed298() {
var o = new core.List<api.DatafeedStatus>();
o.add(buildDatafeedStatus());
o.add(buildDatafeedStatus());
return o;
}
-checkUnnamed312(core.List<api.DatafeedStatus> o) {
+checkUnnamed298(core.List<api.DatafeedStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatus(o[0]);
checkDatafeedStatus(o[1]);
@@ -1957,7 +1422,7 @@
if (buildCounterDatafeedstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed312();
+ o.resources = buildUnnamed298();
}
buildCounterDatafeedstatusesListResponse--;
return o;
@@ -1968,7 +1433,7 @@
if (buildCounterDatafeedstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed312(o.resources);
+ checkUnnamed298(o.resources);
}
buildCounterDatafeedstatusesListResponse--;
}
@@ -2017,14 +1482,14 @@
buildCounterError--;
}
-buildUnnamed313() {
+buildUnnamed299() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed313(core.List<api.Error> o) {
+checkUnnamed299(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -2036,7 +1501,7 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
o.code = 42;
- o.errors = buildUnnamed313();
+ o.errors = buildUnnamed299();
o.message = "foo";
}
buildCounterErrors--;
@@ -2047,72 +1512,72 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed313(o.errors);
+ checkUnnamed299(o.errors);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterErrors--;
}
-buildUnnamed314() {
+buildUnnamed300() {
var o = new core.List<api.LocationIdSet>();
o.add(buildLocationIdSet());
o.add(buildLocationIdSet());
return o;
}
-checkUnnamed314(core.List<api.LocationIdSet> o) {
+checkUnnamed300(core.List<api.LocationIdSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationIdSet(o[0]);
checkLocationIdSet(o[1]);
}
-buildUnnamed315() {
+buildUnnamed301() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed315(core.List<core.String> o) {
+checkUnnamed301(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed316() {
+buildUnnamed302() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed316(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'));
}
-buildUnnamed317() {
+buildUnnamed303() {
var o = new core.List<api.Price>();
o.add(buildPrice());
o.add(buildPrice());
return o;
}
-checkUnnamed317(core.List<api.Price> o) {
+checkUnnamed303(core.List<api.Price> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrice(o[0]);
checkPrice(o[1]);
}
-buildUnnamed318() {
+buildUnnamed304() {
var o = new core.List<api.Weight>();
o.add(buildWeight());
o.add(buildWeight());
return o;
}
-checkUnnamed318(core.List<api.Weight> o) {
+checkUnnamed304(core.List<api.Weight> o) {
unittest.expect(o, unittest.hasLength(2));
checkWeight(o[0]);
checkWeight(o[1]);
@@ -2123,11 +1588,11 @@
var o = new api.Headers();
buildCounterHeaders++;
if (buildCounterHeaders < 3) {
- o.locations = buildUnnamed314();
- o.numberOfItems = buildUnnamed315();
- o.postalCodeGroupNames = buildUnnamed316();
- o.prices = buildUnnamed317();
- o.weights = buildUnnamed318();
+ o.locations = buildUnnamed300();
+ o.numberOfItems = buildUnnamed301();
+ o.postalCodeGroupNames = buildUnnamed302();
+ o.prices = buildUnnamed303();
+ o.weights = buildUnnamed304();
}
buildCounterHeaders--;
return o;
@@ -2136,11 +1601,11 @@
checkHeaders(api.Headers o) {
buildCounterHeaders++;
if (buildCounterHeaders < 3) {
- checkUnnamed314(o.locations);
- checkUnnamed315(o.numberOfItems);
- checkUnnamed316(o.postalCodeGroupNames);
- checkUnnamed317(o.prices);
- checkUnnamed318(o.weights);
+ checkUnnamed300(o.locations);
+ checkUnnamed301(o.numberOfItems);
+ checkUnnamed302(o.postalCodeGroupNames);
+ checkUnnamed303(o.prices);
+ checkUnnamed304(o.weights);
}
buildCounterHeaders--;
}
@@ -2203,14 +1668,14 @@
buildCounterInventory--;
}
-buildUnnamed319() {
+buildUnnamed305() {
var o = new core.List<api.InventoryCustomBatchRequestEntry>();
o.add(buildInventoryCustomBatchRequestEntry());
o.add(buildInventoryCustomBatchRequestEntry());
return o;
}
-checkUnnamed319(core.List<api.InventoryCustomBatchRequestEntry> o) {
+checkUnnamed305(core.List<api.InventoryCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryCustomBatchRequestEntry(o[0]);
checkInventoryCustomBatchRequestEntry(o[1]);
@@ -2221,7 +1686,7 @@
var o = new api.InventoryCustomBatchRequest();
buildCounterInventoryCustomBatchRequest++;
if (buildCounterInventoryCustomBatchRequest < 3) {
- o.entries = buildUnnamed319();
+ o.entries = buildUnnamed305();
}
buildCounterInventoryCustomBatchRequest--;
return o;
@@ -2230,7 +1695,7 @@
checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) {
buildCounterInventoryCustomBatchRequest++;
if (buildCounterInventoryCustomBatchRequest < 3) {
- checkUnnamed319(o.entries);
+ checkUnnamed305(o.entries);
}
buildCounterInventoryCustomBatchRequest--;
}
@@ -2262,14 +1727,14 @@
buildCounterInventoryCustomBatchRequestEntry--;
}
-buildUnnamed320() {
+buildUnnamed306() {
var o = new core.List<api.InventoryCustomBatchResponseEntry>();
o.add(buildInventoryCustomBatchResponseEntry());
o.add(buildInventoryCustomBatchResponseEntry());
return o;
}
-checkUnnamed320(core.List<api.InventoryCustomBatchResponseEntry> o) {
+checkUnnamed306(core.List<api.InventoryCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryCustomBatchResponseEntry(o[0]);
checkInventoryCustomBatchResponseEntry(o[1]);
@@ -2280,7 +1745,7 @@
var o = new api.InventoryCustomBatchResponse();
buildCounterInventoryCustomBatchResponse++;
if (buildCounterInventoryCustomBatchResponse < 3) {
- o.entries = buildUnnamed320();
+ o.entries = buildUnnamed306();
o.kind = "foo";
}
buildCounterInventoryCustomBatchResponse--;
@@ -2290,7 +1755,7 @@
checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) {
buildCounterInventoryCustomBatchResponse++;
if (buildCounterInventoryCustomBatchResponse < 3) {
- checkUnnamed320(o.entries);
+ checkUnnamed306(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInventoryCustomBatchResponse--;
@@ -2394,14 +1859,14 @@
buildCounterInventorySetResponse--;
}
-buildUnnamed321() {
+buildUnnamed307() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed321(core.List<core.String> o) {
+checkUnnamed307(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2412,7 +1877,7 @@
var o = new api.LocationIdSet();
buildCounterLocationIdSet++;
if (buildCounterLocationIdSet < 3) {
- o.locationIds = buildUnnamed321();
+ o.locationIds = buildUnnamed307();
}
buildCounterLocationIdSet--;
return o;
@@ -2421,7 +1886,7 @@
checkLocationIdSet(api.LocationIdSet o) {
buildCounterLocationIdSet++;
if (buildCounterLocationIdSet < 3) {
- checkUnnamed321(o.locationIds);
+ checkUnnamed307(o.locationIds);
}
buildCounterLocationIdSet--;
}
@@ -2449,53 +1914,53 @@
buildCounterLoyaltyPoints--;
}
-buildUnnamed322() {
+buildUnnamed308() {
var o = new core.List<api.OrderLineItem>();
o.add(buildOrderLineItem());
o.add(buildOrderLineItem());
return o;
}
-checkUnnamed322(core.List<api.OrderLineItem> o) {
+checkUnnamed308(core.List<api.OrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItem(o[0]);
checkOrderLineItem(o[1]);
}
-buildUnnamed323() {
+buildUnnamed309() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed323(core.List<api.OrderPromotion> o) {
+checkUnnamed309(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
}
-buildUnnamed324() {
+buildUnnamed310() {
var o = new core.List<api.OrderRefund>();
o.add(buildOrderRefund());
o.add(buildOrderRefund());
return o;
}
-checkUnnamed324(core.List<api.OrderRefund> o) {
+checkUnnamed310(core.List<api.OrderRefund> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderRefund(o[0]);
checkOrderRefund(o[1]);
}
-buildUnnamed325() {
+buildUnnamed311() {
var o = new core.List<api.OrderShipment>();
o.add(buildOrderShipment());
o.add(buildOrderShipment());
return o;
}
-checkUnnamed325(core.List<api.OrderShipment> o) {
+checkUnnamed311(core.List<api.OrderShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipment(o[0]);
checkOrderShipment(o[1]);
@@ -2512,16 +1977,16 @@
o.deliveryDetails = buildOrderDeliveryDetails();
o.id = "foo";
o.kind = "foo";
- o.lineItems = buildUnnamed322();
+ o.lineItems = buildUnnamed308();
o.merchantId = "foo";
o.merchantOrderId = "foo";
o.netAmount = buildPrice();
o.paymentMethod = buildOrderPaymentMethod();
o.paymentStatus = "foo";
o.placedDate = "foo";
- o.promotions = buildUnnamed323();
- o.refunds = buildUnnamed324();
- o.shipments = buildUnnamed325();
+ o.promotions = buildUnnamed309();
+ o.refunds = buildUnnamed310();
+ o.shipments = buildUnnamed311();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -2540,16 +2005,16 @@
checkOrderDeliveryDetails(o.deliveryDetails);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed322(o.lineItems);
+ checkUnnamed308(o.lineItems);
unittest.expect(o.merchantId, unittest.equals('foo'));
unittest.expect(o.merchantOrderId, unittest.equals('foo'));
checkPrice(o.netAmount);
checkOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.paymentStatus, unittest.equals('foo'));
unittest.expect(o.placedDate, unittest.equals('foo'));
- checkUnnamed323(o.promotions);
- checkUnnamed324(o.refunds);
- checkUnnamed325(o.shipments);
+ checkUnnamed309(o.promotions);
+ checkUnnamed310(o.refunds);
+ checkUnnamed311(o.shipments);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -2558,27 +2023,27 @@
buildCounterOrder--;
}
-buildUnnamed326() {
+buildUnnamed312() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed326(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'));
}
-buildUnnamed327() {
+buildUnnamed313() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed327(core.List<core.String> o) {
+checkUnnamed313(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2590,13 +2055,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
o.country = "foo";
- o.fullAddress = buildUnnamed326();
+ o.fullAddress = buildUnnamed312();
o.isPostOfficeBox = true;
o.locality = "foo";
o.postalCode = "foo";
o.recipientName = "foo";
o.region = "foo";
- o.streetAddress = buildUnnamed327();
+ o.streetAddress = buildUnnamed313();
}
buildCounterOrderAddress--;
return o;
@@ -2606,13 +2071,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed326(o.fullAddress);
+ checkUnnamed312(o.fullAddress);
unittest.expect(o.isPostOfficeBox, unittest.isTrue);
unittest.expect(o.locality, unittest.equals('foo'));
unittest.expect(o.postalCode, unittest.equals('foo'));
unittest.expect(o.recipientName, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed327(o.streetAddress);
+ checkUnnamed313(o.streetAddress);
}
buildCounterOrderAddress--;
}
@@ -2688,27 +2153,27 @@
buildCounterOrderDeliveryDetails--;
}
-buildUnnamed328() {
+buildUnnamed314() {
var o = new core.List<api.OrderCancellation>();
o.add(buildOrderCancellation());
o.add(buildOrderCancellation());
return o;
}
-checkUnnamed328(core.List<api.OrderCancellation> o) {
+checkUnnamed314(core.List<api.OrderCancellation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderCancellation(o[0]);
checkOrderCancellation(o[1]);
}
-buildUnnamed329() {
+buildUnnamed315() {
var o = new core.List<api.OrderReturn>();
o.add(buildOrderReturn());
o.add(buildOrderReturn());
return o;
}
-checkUnnamed329(core.List<api.OrderReturn> o) {
+checkUnnamed315(core.List<api.OrderReturn> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderReturn(o[0]);
checkOrderReturn(o[1]);
@@ -2719,7 +2184,7 @@
var o = new api.OrderLineItem();
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- o.cancellations = buildUnnamed328();
+ o.cancellations = buildUnnamed314();
o.id = "foo";
o.price = buildPrice();
o.product = buildOrderLineItemProduct();
@@ -2730,7 +2195,7 @@
o.quantityReturned = 42;
o.quantityShipped = 42;
o.returnInfo = buildOrderLineItemReturnInfo();
- o.returns = buildUnnamed329();
+ o.returns = buildUnnamed315();
o.shippingDetails = buildOrderLineItemShippingDetails();
o.tax = buildPrice();
}
@@ -2741,7 +2206,7 @@
checkOrderLineItem(api.OrderLineItem o) {
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- checkUnnamed328(o.cancellations);
+ checkUnnamed314(o.cancellations);
unittest.expect(o.id, unittest.equals('foo'));
checkPrice(o.price);
checkOrderLineItemProduct(o.product);
@@ -2752,21 +2217,21 @@
unittest.expect(o.quantityReturned, unittest.equals(42));
unittest.expect(o.quantityShipped, unittest.equals(42));
checkOrderLineItemReturnInfo(o.returnInfo);
- checkUnnamed329(o.returns);
+ checkUnnamed315(o.returns);
checkOrderLineItemShippingDetails(o.shippingDetails);
checkPrice(o.tax);
}
buildCounterOrderLineItem--;
}
-buildUnnamed330() {
+buildUnnamed316() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed330(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed316(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -2791,7 +2256,7 @@
o.shownImage = "foo";
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed330();
+ o.variantAttributes = buildUnnamed316();
}
buildCounterOrderLineItemProduct--;
return o;
@@ -2814,7 +2279,7 @@
unittest.expect(o.shownImage, unittest.equals('foo'));
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed330(o.variantAttributes);
+ checkUnnamed316(o.variantAttributes);
}
buildCounterOrderLineItemProduct--;
}
@@ -2940,14 +2405,14 @@
buildCounterOrderPaymentMethod--;
}
-buildUnnamed331() {
+buildUnnamed317() {
var o = new core.List<api.OrderPromotionBenefit>();
o.add(buildOrderPromotionBenefit());
o.add(buildOrderPromotionBenefit());
return o;
}
-checkUnnamed331(core.List<api.OrderPromotionBenefit> o) {
+checkUnnamed317(core.List<api.OrderPromotionBenefit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotionBenefit(o[0]);
checkOrderPromotionBenefit(o[1]);
@@ -2958,7 +2423,7 @@
var o = new api.OrderPromotion();
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- o.benefits = buildUnnamed331();
+ o.benefits = buildUnnamed317();
o.effectiveDates = "foo";
o.genericRedemptionCode = "foo";
o.id = "foo";
@@ -2973,7 +2438,7 @@
checkOrderPromotion(api.OrderPromotion o) {
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- checkUnnamed331(o.benefits);
+ checkUnnamed317(o.benefits);
unittest.expect(o.effectiveDates, unittest.equals('foo'));
unittest.expect(o.genericRedemptionCode, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -2984,14 +2449,14 @@
buildCounterOrderPromotion--;
}
-buildUnnamed332() {
+buildUnnamed318() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed332(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'));
@@ -3003,7 +2468,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
o.discount = buildPrice();
- o.offerIds = buildUnnamed332();
+ o.offerIds = buildUnnamed318();
o.subType = "foo";
o.taxImpact = buildPrice();
o.type = "foo";
@@ -3016,7 +2481,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
checkPrice(o.discount);
- checkUnnamed332(o.offerIds);
+ checkUnnamed318(o.offerIds);
unittest.expect(o.subType, unittest.equals('foo'));
checkPrice(o.taxImpact);
unittest.expect(o.type, unittest.equals('foo'));
@@ -3078,14 +2543,14 @@
buildCounterOrderReturn--;
}
-buildUnnamed333() {
+buildUnnamed319() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed333(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed319(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -3100,7 +2565,7 @@
o.creationDate = "foo";
o.deliveryDate = "foo";
o.id = "foo";
- o.lineItems = buildUnnamed333();
+ o.lineItems = buildUnnamed319();
o.status = "foo";
o.trackingId = "foo";
}
@@ -3115,7 +2580,7 @@
unittest.expect(o.creationDate, unittest.equals('foo'));
unittest.expect(o.deliveryDate, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed333(o.lineItems);
+ checkUnnamed319(o.lineItems);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
}
@@ -3338,14 +2803,14 @@
buildCounterOrdersCreateTestOrderResponse--;
}
-buildUnnamed334() {
+buildUnnamed320() {
var o = new core.List<api.OrdersCustomBatchRequestEntry>();
o.add(buildOrdersCustomBatchRequestEntry());
o.add(buildOrdersCustomBatchRequestEntry());
return o;
}
-checkUnnamed334(core.List<api.OrdersCustomBatchRequestEntry> o) {
+checkUnnamed320(core.List<api.OrdersCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntry(o[0]);
checkOrdersCustomBatchRequestEntry(o[1]);
@@ -3356,7 +2821,7 @@
var o = new api.OrdersCustomBatchRequest();
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- o.entries = buildUnnamed334();
+ o.entries = buildUnnamed320();
}
buildCounterOrdersCustomBatchRequest--;
return o;
@@ -3365,7 +2830,7 @@
checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- checkUnnamed334(o.entries);
+ checkUnnamed320(o.entries);
}
buildCounterOrdersCustomBatchRequest--;
}
@@ -3507,14 +2972,14 @@
buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
}
-buildUnnamed335() {
+buildUnnamed321() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed335(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed321(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -3526,7 +2991,7 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed335();
+ o.lineItems = buildUnnamed321();
o.shipmentId = "foo";
o.trackingId = "foo";
}
@@ -3538,7 +3003,7 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed335(o.lineItems);
+ checkUnnamed321(o.lineItems);
unittest.expect(o.shipmentId, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
}
@@ -3570,14 +3035,14 @@
buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
}
-buildUnnamed336() {
+buildUnnamed322() {
var o = new core.List<api.OrdersCustomBatchResponseEntry>();
o.add(buildOrdersCustomBatchResponseEntry());
o.add(buildOrdersCustomBatchResponseEntry());
return o;
}
-checkUnnamed336(core.List<api.OrdersCustomBatchResponseEntry> o) {
+checkUnnamed322(core.List<api.OrdersCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchResponseEntry(o[0]);
checkOrdersCustomBatchResponseEntry(o[1]);
@@ -3588,7 +3053,7 @@
var o = new api.OrdersCustomBatchResponse();
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- o.entries = buildUnnamed336();
+ o.entries = buildUnnamed322();
o.kind = "foo";
}
buildCounterOrdersCustomBatchResponse--;
@@ -3598,7 +3063,7 @@
checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- checkUnnamed336(o.entries);
+ checkUnnamed322(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOrdersCustomBatchResponse--;
@@ -3673,14 +3138,14 @@
buildCounterOrdersGetTestOrderTemplateResponse--;
}
-buildUnnamed337() {
+buildUnnamed323() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed337(core.List<api.Order> o) {
+checkUnnamed323(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -3693,7 +3158,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed337();
+ o.resources = buildUnnamed323();
}
buildCounterOrdersListResponse--;
return o;
@@ -3704,7 +3169,7 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed337(o.resources);
+ checkUnnamed323(o.resources);
}
buildCounterOrdersListResponse--;
}
@@ -3803,14 +3268,14 @@
buildCounterOrdersReturnLineItemResponse--;
}
-buildUnnamed338() {
+buildUnnamed324() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed338(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed324(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -3822,7 +3287,7 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed338();
+ o.lineItems = buildUnnamed324();
o.operationId = "foo";
o.shipmentId = "foo";
o.trackingId = "foo";
@@ -3835,7 +3300,7 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed338(o.lineItems);
+ checkUnnamed324(o.lineItems);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.shipmentId, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
@@ -3954,14 +3419,14 @@
buildCounterOrdersUpdateShipmentResponse--;
}
-buildUnnamed339() {
+buildUnnamed325() {
var o = new core.List<api.PostalCodeRange>();
o.add(buildPostalCodeRange());
o.add(buildPostalCodeRange());
return o;
}
-checkUnnamed339(core.List<api.PostalCodeRange> o) {
+checkUnnamed325(core.List<api.PostalCodeRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCodeRange(o[0]);
checkPostalCodeRange(o[1]);
@@ -3974,7 +3439,7 @@
if (buildCounterPostalCodeGroup < 3) {
o.country = "foo";
o.name = "foo";
- o.postalCodeRanges = buildUnnamed339();
+ o.postalCodeRanges = buildUnnamed325();
}
buildCounterPostalCodeGroup--;
return o;
@@ -3985,7 +3450,7 @@
if (buildCounterPostalCodeGroup < 3) {
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed339(o.postalCodeRanges);
+ checkUnnamed325(o.postalCodeRanges);
}
buildCounterPostalCodeGroup--;
}
@@ -4032,183 +3497,183 @@
buildCounterPrice--;
}
-buildUnnamed340() {
+buildUnnamed326() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed340(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'));
}
-buildUnnamed341() {
+buildUnnamed327() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed341(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'));
}
-buildUnnamed342() {
+buildUnnamed328() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed342(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'));
}
-buildUnnamed343() {
+buildUnnamed329() {
var o = new core.List<api.ProductAspect>();
o.add(buildProductAspect());
o.add(buildProductAspect());
return o;
}
-checkUnnamed343(core.List<api.ProductAspect> o) {
+checkUnnamed329(core.List<api.ProductAspect> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductAspect(o[0]);
checkProductAspect(o[1]);
}
-buildUnnamed344() {
+buildUnnamed330() {
var o = new core.List<api.ProductCustomAttribute>();
o.add(buildProductCustomAttribute());
o.add(buildProductCustomAttribute());
return o;
}
-checkUnnamed344(core.List<api.ProductCustomAttribute> o) {
+checkUnnamed330(core.List<api.ProductCustomAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductCustomAttribute(o[0]);
checkProductCustomAttribute(o[1]);
}
-buildUnnamed345() {
+buildUnnamed331() {
var o = new core.List<api.ProductCustomGroup>();
o.add(buildProductCustomGroup());
o.add(buildProductCustomGroup());
return o;
}
-checkUnnamed345(core.List<api.ProductCustomGroup> o) {
+checkUnnamed331(core.List<api.ProductCustomGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductCustomGroup(o[0]);
checkProductCustomGroup(o[1]);
}
-buildUnnamed346() {
+buildUnnamed332() {
var o = new core.List<api.ProductDestination>();
o.add(buildProductDestination());
o.add(buildProductDestination());
return o;
}
-checkUnnamed346(core.List<api.ProductDestination> o) {
+checkUnnamed332(core.List<api.ProductDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductDestination(o[0]);
checkProductDestination(o[1]);
}
-buildUnnamed347() {
+buildUnnamed333() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed347(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'));
}
-buildUnnamed348() {
+buildUnnamed334() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed348(core.List<core.String> o) {
+checkUnnamed334(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed349() {
+buildUnnamed335() {
var o = new core.List<api.ProductShipping>();
o.add(buildProductShipping());
o.add(buildProductShipping());
return o;
}
-checkUnnamed349(core.List<api.ProductShipping> o) {
+checkUnnamed335(core.List<api.ProductShipping> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductShipping(o[0]);
checkProductShipping(o[1]);
}
-buildUnnamed350() {
+buildUnnamed336() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed350(core.List<core.String> o) {
+checkUnnamed336(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed351() {
+buildUnnamed337() {
var o = new core.List<api.ProductTax>();
o.add(buildProductTax());
o.add(buildProductTax());
return o;
}
-checkUnnamed351(core.List<api.ProductTax> o) {
+checkUnnamed337(core.List<api.ProductTax> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductTax(o[0]);
checkProductTax(o[1]);
}
-buildUnnamed352() {
+buildUnnamed338() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed352(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'));
}
-buildUnnamed353() {
+buildUnnamed339() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed353(core.List<api.Error> o) {
+checkUnnamed339(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -4219,14 +3684,14 @@
var o = new api.Product();
buildCounterProduct++;
if (buildCounterProduct < 3) {
- o.additionalImageLinks = buildUnnamed340();
- o.additionalProductTypes = buildUnnamed341();
+ o.additionalImageLinks = buildUnnamed326();
+ o.additionalProductTypes = buildUnnamed327();
o.adult = true;
o.adwordsGrouping = "foo";
- o.adwordsLabels = buildUnnamed342();
+ o.adwordsLabels = buildUnnamed328();
o.adwordsRedirect = "foo";
o.ageGroup = "foo";
- o.aspects = buildUnnamed343();
+ o.aspects = buildUnnamed329();
o.availability = "foo";
o.availabilityDate = "foo";
o.brand = "foo";
@@ -4234,18 +3699,18 @@
o.color = "foo";
o.condition = "foo";
o.contentLanguage = "foo";
- o.customAttributes = buildUnnamed344();
- o.customGroups = buildUnnamed345();
+ o.customAttributes = buildUnnamed330();
+ o.customGroups = buildUnnamed331();
o.customLabel0 = "foo";
o.customLabel1 = "foo";
o.customLabel2 = "foo";
o.customLabel3 = "foo";
o.customLabel4 = "foo";
o.description = "foo";
- o.destinations = buildUnnamed346();
+ o.destinations = buildUnnamed332();
o.displayAdsId = "foo";
o.displayAdsLink = "foo";
- o.displayAdsSimilarIds = buildUnnamed347();
+ o.displayAdsSimilarIds = buildUnnamed333();
o.displayAdsTitle = "foo";
o.displayAdsValue = 42.0;
o.energyEfficiencyClass = "foo";
@@ -4271,11 +3736,11 @@
o.pattern = "foo";
o.price = buildPrice();
o.productType = "foo";
- o.promotionIds = buildUnnamed348();
+ o.promotionIds = buildUnnamed334();
o.salePrice = buildPrice();
o.salePriceEffectiveDate = "foo";
o.sellOnGoogleQuantity = "foo";
- o.shipping = buildUnnamed349();
+ o.shipping = buildUnnamed335();
o.shippingHeight = buildProductShippingDimension();
o.shippingLabel = "foo";
o.shippingLength = buildProductShippingDimension();
@@ -4283,14 +3748,14 @@
o.shippingWidth = buildProductShippingDimension();
o.sizeSystem = "foo";
o.sizeType = "foo";
- o.sizes = buildUnnamed350();
+ o.sizes = buildUnnamed336();
o.targetCountry = "foo";
- o.taxes = buildUnnamed351();
+ o.taxes = buildUnnamed337();
o.title = "foo";
o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure();
o.unitPricingMeasure = buildProductUnitPricingMeasure();
- o.validatedDestinations = buildUnnamed352();
- o.warnings = buildUnnamed353();
+ o.validatedDestinations = buildUnnamed338();
+ o.warnings = buildUnnamed339();
}
buildCounterProduct--;
return o;
@@ -4299,14 +3764,14 @@
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed340(o.additionalImageLinks);
- checkUnnamed341(o.additionalProductTypes);
+ checkUnnamed326(o.additionalImageLinks);
+ checkUnnamed327(o.additionalProductTypes);
unittest.expect(o.adult, unittest.isTrue);
unittest.expect(o.adwordsGrouping, unittest.equals('foo'));
- checkUnnamed342(o.adwordsLabels);
+ checkUnnamed328(o.adwordsLabels);
unittest.expect(o.adwordsRedirect, unittest.equals('foo'));
unittest.expect(o.ageGroup, unittest.equals('foo'));
- checkUnnamed343(o.aspects);
+ checkUnnamed329(o.aspects);
unittest.expect(o.availability, unittest.equals('foo'));
unittest.expect(o.availabilityDate, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
@@ -4314,18 +3779,18 @@
unittest.expect(o.color, unittest.equals('foo'));
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.contentLanguage, unittest.equals('foo'));
- checkUnnamed344(o.customAttributes);
- checkUnnamed345(o.customGroups);
+ checkUnnamed330(o.customAttributes);
+ checkUnnamed331(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'));
- checkUnnamed346(o.destinations);
+ checkUnnamed332(o.destinations);
unittest.expect(o.displayAdsId, unittest.equals('foo'));
unittest.expect(o.displayAdsLink, unittest.equals('foo'));
- checkUnnamed347(o.displayAdsSimilarIds);
+ checkUnnamed333(o.displayAdsSimilarIds);
unittest.expect(o.displayAdsTitle, unittest.equals('foo'));
unittest.expect(o.displayAdsValue, unittest.equals(42.0));
unittest.expect(o.energyEfficiencyClass, unittest.equals('foo'));
@@ -4351,11 +3816,11 @@
unittest.expect(o.pattern, unittest.equals('foo'));
checkPrice(o.price);
unittest.expect(o.productType, unittest.equals('foo'));
- checkUnnamed348(o.promotionIds);
+ checkUnnamed334(o.promotionIds);
checkPrice(o.salePrice);
unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo'));
- checkUnnamed349(o.shipping);
+ checkUnnamed335(o.shipping);
checkProductShippingDimension(o.shippingHeight);
unittest.expect(o.shippingLabel, unittest.equals('foo'));
checkProductShippingDimension(o.shippingLength);
@@ -4363,14 +3828,14 @@
checkProductShippingDimension(o.shippingWidth);
unittest.expect(o.sizeSystem, unittest.equals('foo'));
unittest.expect(o.sizeType, unittest.equals('foo'));
- checkUnnamed350(o.sizes);
+ checkUnnamed336(o.sizes);
unittest.expect(o.targetCountry, unittest.equals('foo'));
- checkUnnamed351(o.taxes);
+ checkUnnamed337(o.taxes);
unittest.expect(o.title, unittest.equals('foo'));
checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure);
checkProductUnitPricingMeasure(o.unitPricingMeasure);
- checkUnnamed352(o.validatedDestinations);
- checkUnnamed353(o.warnings);
+ checkUnnamed338(o.validatedDestinations);
+ checkUnnamed339(o.warnings);
}
buildCounterProduct--;
}
@@ -4423,14 +3888,14 @@
buildCounterProductCustomAttribute--;
}
-buildUnnamed354() {
+buildUnnamed340() {
var o = new core.List<api.ProductCustomAttribute>();
o.add(buildProductCustomAttribute());
o.add(buildProductCustomAttribute());
return o;
}
-checkUnnamed354(core.List<api.ProductCustomAttribute> o) {
+checkUnnamed340(core.List<api.ProductCustomAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductCustomAttribute(o[0]);
checkProductCustomAttribute(o[1]);
@@ -4441,7 +3906,7 @@
var o = new api.ProductCustomGroup();
buildCounterProductCustomGroup++;
if (buildCounterProductCustomGroup < 3) {
- o.attributes = buildUnnamed354();
+ o.attributes = buildUnnamed340();
o.name = "foo";
}
buildCounterProductCustomGroup--;
@@ -4451,7 +3916,7 @@
checkProductCustomGroup(api.ProductCustomGroup o) {
buildCounterProductCustomGroup++;
if (buildCounterProductCustomGroup < 3) {
- checkUnnamed354(o.attributes);
+ checkUnnamed340(o.attributes);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterProductCustomGroup--;
@@ -4551,27 +4016,27 @@
buildCounterProductShippingWeight--;
}
-buildUnnamed355() {
+buildUnnamed341() {
var o = new core.List<api.ProductStatusDataQualityIssue>();
o.add(buildProductStatusDataQualityIssue());
o.add(buildProductStatusDataQualityIssue());
return o;
}
-checkUnnamed355(core.List<api.ProductStatusDataQualityIssue> o) {
+checkUnnamed341(core.List<api.ProductStatusDataQualityIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatusDataQualityIssue(o[0]);
checkProductStatusDataQualityIssue(o[1]);
}
-buildUnnamed356() {
+buildUnnamed342() {
var o = new core.List<api.ProductStatusDestinationStatus>();
o.add(buildProductStatusDestinationStatus());
o.add(buildProductStatusDestinationStatus());
return o;
}
-checkUnnamed356(core.List<api.ProductStatusDestinationStatus> o) {
+checkUnnamed342(core.List<api.ProductStatusDestinationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatusDestinationStatus(o[0]);
checkProductStatusDestinationStatus(o[1]);
@@ -4583,8 +4048,8 @@
buildCounterProductStatus++;
if (buildCounterProductStatus < 3) {
o.creationDate = "foo";
- o.dataQualityIssues = buildUnnamed355();
- o.destinationStatuses = buildUnnamed356();
+ o.dataQualityIssues = buildUnnamed341();
+ o.destinationStatuses = buildUnnamed342();
o.googleExpirationDate = "foo";
o.kind = "foo";
o.lastUpdateDate = "foo";
@@ -4600,8 +4065,8 @@
buildCounterProductStatus++;
if (buildCounterProductStatus < 3) {
unittest.expect(o.creationDate, unittest.equals('foo'));
- checkUnnamed355(o.dataQualityIssues);
- checkUnnamed356(o.destinationStatuses);
+ checkUnnamed341(o.dataQualityIssues);
+ checkUnnamed342(o.destinationStatuses);
unittest.expect(o.googleExpirationDate, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdateDate, unittest.equals('foo'));
@@ -4739,14 +4204,14 @@
buildCounterProductUnitPricingMeasure--;
}
-buildUnnamed357() {
+buildUnnamed343() {
var o = new core.List<api.ProductsCustomBatchRequestEntry>();
o.add(buildProductsCustomBatchRequestEntry());
o.add(buildProductsCustomBatchRequestEntry());
return o;
}
-checkUnnamed357(core.List<api.ProductsCustomBatchRequestEntry> o) {
+checkUnnamed343(core.List<api.ProductsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductsCustomBatchRequestEntry(o[0]);
checkProductsCustomBatchRequestEntry(o[1]);
@@ -4757,7 +4222,7 @@
var o = new api.ProductsCustomBatchRequest();
buildCounterProductsCustomBatchRequest++;
if (buildCounterProductsCustomBatchRequest < 3) {
- o.entries = buildUnnamed357();
+ o.entries = buildUnnamed343();
}
buildCounterProductsCustomBatchRequest--;
return o;
@@ -4766,7 +4231,7 @@
checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) {
buildCounterProductsCustomBatchRequest++;
if (buildCounterProductsCustomBatchRequest < 3) {
- checkUnnamed357(o.entries);
+ checkUnnamed343(o.entries);
}
buildCounterProductsCustomBatchRequest--;
}
@@ -4798,14 +4263,14 @@
buildCounterProductsCustomBatchRequestEntry--;
}
-buildUnnamed358() {
+buildUnnamed344() {
var o = new core.List<api.ProductsCustomBatchResponseEntry>();
o.add(buildProductsCustomBatchResponseEntry());
o.add(buildProductsCustomBatchResponseEntry());
return o;
}
-checkUnnamed358(core.List<api.ProductsCustomBatchResponseEntry> o) {
+checkUnnamed344(core.List<api.ProductsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductsCustomBatchResponseEntry(o[0]);
checkProductsCustomBatchResponseEntry(o[1]);
@@ -4816,7 +4281,7 @@
var o = new api.ProductsCustomBatchResponse();
buildCounterProductsCustomBatchResponse++;
if (buildCounterProductsCustomBatchResponse < 3) {
- o.entries = buildUnnamed358();
+ o.entries = buildUnnamed344();
o.kind = "foo";
}
buildCounterProductsCustomBatchResponse--;
@@ -4826,7 +4291,7 @@
checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) {
buildCounterProductsCustomBatchResponse++;
if (buildCounterProductsCustomBatchResponse < 3) {
- checkUnnamed358(o.entries);
+ checkUnnamed344(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterProductsCustomBatchResponse--;
@@ -4857,14 +4322,14 @@
buildCounterProductsCustomBatchResponseEntry--;
}
-buildUnnamed359() {
+buildUnnamed345() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed359(core.List<api.Product> o) {
+checkUnnamed345(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -4877,7 +4342,7 @@
if (buildCounterProductsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed359();
+ o.resources = buildUnnamed345();
}
buildCounterProductsListResponse--;
return o;
@@ -4888,19 +4353,19 @@
if (buildCounterProductsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed359(o.resources);
+ checkUnnamed345(o.resources);
}
buildCounterProductsListResponse--;
}
-buildUnnamed360() {
+buildUnnamed346() {
var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>();
o.add(buildProductstatusesCustomBatchRequestEntry());
o.add(buildProductstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed360(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
+checkUnnamed346(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductstatusesCustomBatchRequestEntry(o[0]);
checkProductstatusesCustomBatchRequestEntry(o[1]);
@@ -4911,7 +4376,7 @@
var o = new api.ProductstatusesCustomBatchRequest();
buildCounterProductstatusesCustomBatchRequest++;
if (buildCounterProductstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed360();
+ o.entries = buildUnnamed346();
}
buildCounterProductstatusesCustomBatchRequest--;
return o;
@@ -4920,7 +4385,7 @@
checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o) {
buildCounterProductstatusesCustomBatchRequest++;
if (buildCounterProductstatusesCustomBatchRequest < 3) {
- checkUnnamed360(o.entries);
+ checkUnnamed346(o.entries);
}
buildCounterProductstatusesCustomBatchRequest--;
}
@@ -4950,14 +4415,14 @@
buildCounterProductstatusesCustomBatchRequestEntry--;
}
-buildUnnamed361() {
+buildUnnamed347() {
var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>();
o.add(buildProductstatusesCustomBatchResponseEntry());
o.add(buildProductstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed361(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
+checkUnnamed347(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductstatusesCustomBatchResponseEntry(o[0]);
checkProductstatusesCustomBatchResponseEntry(o[1]);
@@ -4968,7 +4433,7 @@
var o = new api.ProductstatusesCustomBatchResponse();
buildCounterProductstatusesCustomBatchResponse++;
if (buildCounterProductstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed361();
+ o.entries = buildUnnamed347();
o.kind = "foo";
}
buildCounterProductstatusesCustomBatchResponse--;
@@ -4978,7 +4443,7 @@
checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o) {
buildCounterProductstatusesCustomBatchResponse++;
if (buildCounterProductstatusesCustomBatchResponse < 3) {
- checkUnnamed361(o.entries);
+ checkUnnamed347(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterProductstatusesCustomBatchResponse--;
@@ -5009,14 +4474,14 @@
buildCounterProductstatusesCustomBatchResponseEntry--;
}
-buildUnnamed362() {
+buildUnnamed348() {
var o = new core.List<api.ProductStatus>();
o.add(buildProductStatus());
o.add(buildProductStatus());
return o;
}
-checkUnnamed362(core.List<api.ProductStatus> o) {
+checkUnnamed348(core.List<api.ProductStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatus(o[0]);
checkProductStatus(o[1]);
@@ -5029,7 +4494,7 @@
if (buildCounterProductstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed362();
+ o.resources = buildUnnamed348();
}
buildCounterProductstatusesListResponse--;
return o;
@@ -5040,45 +4505,45 @@
if (buildCounterProductstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed362(o.resources);
+ checkUnnamed348(o.resources);
}
buildCounterProductstatusesListResponse--;
}
-buildUnnamed363() {
+buildUnnamed349() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed363(core.List<core.String> o) {
+checkUnnamed349(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed364() {
+buildUnnamed350() {
var o = new core.List<api.CarrierRate>();
o.add(buildCarrierRate());
o.add(buildCarrierRate());
return o;
}
-checkUnnamed364(core.List<api.CarrierRate> o) {
+checkUnnamed350(core.List<api.CarrierRate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCarrierRate(o[0]);
checkCarrierRate(o[1]);
}
-buildUnnamed365() {
+buildUnnamed351() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed365(core.List<api.Table> o) {
+checkUnnamed351(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -5089,11 +4554,11 @@
var o = new api.RateGroup();
buildCounterRateGroup++;
if (buildCounterRateGroup < 3) {
- o.applicableShippingLabels = buildUnnamed363();
- o.carrierRates = buildUnnamed364();
+ o.applicableShippingLabels = buildUnnamed349();
+ o.carrierRates = buildUnnamed350();
o.mainTable = buildTable();
o.singleValue = buildValue();
- o.subtables = buildUnnamed365();
+ o.subtables = buildUnnamed351();
}
buildCounterRateGroup--;
return o;
@@ -5102,23 +4567,23 @@
checkRateGroup(api.RateGroup o) {
buildCounterRateGroup++;
if (buildCounterRateGroup < 3) {
- checkUnnamed363(o.applicableShippingLabels);
- checkUnnamed364(o.carrierRates);
+ checkUnnamed349(o.applicableShippingLabels);
+ checkUnnamed350(o.carrierRates);
checkTable(o.mainTable);
checkValue(o.singleValue);
- checkUnnamed365(o.subtables);
+ checkUnnamed351(o.subtables);
}
buildCounterRateGroup--;
}
-buildUnnamed366() {
+buildUnnamed352() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed366(core.List<api.Value> o) {
+checkUnnamed352(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -5129,7 +4594,7 @@
var o = new api.Row();
buildCounterRow++;
if (buildCounterRow < 3) {
- o.cells = buildUnnamed366();
+ o.cells = buildUnnamed352();
}
buildCounterRow--;
return o;
@@ -5138,19 +4603,19 @@
checkRow(api.Row o) {
buildCounterRow++;
if (buildCounterRow < 3) {
- checkUnnamed366(o.cells);
+ checkUnnamed352(o.cells);
}
buildCounterRow--;
}
-buildUnnamed367() {
+buildUnnamed353() {
var o = new core.List<api.RateGroup>();
o.add(buildRateGroup());
o.add(buildRateGroup());
return o;
}
-checkUnnamed367(core.List<api.RateGroup> o) {
+checkUnnamed353(core.List<api.RateGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkRateGroup(o[0]);
checkRateGroup(o[1]);
@@ -5166,7 +4631,7 @@
o.deliveryCountry = "foo";
o.deliveryTime = buildDeliveryTime();
o.name = "foo";
- o.rateGroups = buildUnnamed367();
+ o.rateGroups = buildUnnamed353();
}
buildCounterService--;
return o;
@@ -5180,32 +4645,32 @@
unittest.expect(o.deliveryCountry, unittest.equals('foo'));
checkDeliveryTime(o.deliveryTime);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed367(o.rateGroups);
+ checkUnnamed353(o.rateGroups);
}
buildCounterService--;
}
-buildUnnamed368() {
+buildUnnamed354() {
var o = new core.List<api.PostalCodeGroup>();
o.add(buildPostalCodeGroup());
o.add(buildPostalCodeGroup());
return o;
}
-checkUnnamed368(core.List<api.PostalCodeGroup> o) {
+checkUnnamed354(core.List<api.PostalCodeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCodeGroup(o[0]);
checkPostalCodeGroup(o[1]);
}
-buildUnnamed369() {
+buildUnnamed355() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed369(core.List<api.Service> o) {
+checkUnnamed355(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -5217,8 +4682,8 @@
buildCounterShippingSettings++;
if (buildCounterShippingSettings < 3) {
o.accountId = "foo";
- o.postalCodeGroups = buildUnnamed368();
- o.services = buildUnnamed369();
+ o.postalCodeGroups = buildUnnamed354();
+ o.services = buildUnnamed355();
}
buildCounterShippingSettings--;
return o;
@@ -5228,20 +4693,20 @@
buildCounterShippingSettings++;
if (buildCounterShippingSettings < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed368(o.postalCodeGroups);
- checkUnnamed369(o.services);
+ checkUnnamed354(o.postalCodeGroups);
+ checkUnnamed355(o.services);
}
buildCounterShippingSettings--;
}
-buildUnnamed370() {
+buildUnnamed356() {
var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>();
o.add(buildShippingsettingsCustomBatchRequestEntry());
o.add(buildShippingsettingsCustomBatchRequestEntry());
return o;
}
-checkUnnamed370(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) {
+checkUnnamed356(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingsettingsCustomBatchRequestEntry(o[0]);
checkShippingsettingsCustomBatchRequestEntry(o[1]);
@@ -5252,7 +4717,7 @@
var o = new api.ShippingsettingsCustomBatchRequest();
buildCounterShippingsettingsCustomBatchRequest++;
if (buildCounterShippingsettingsCustomBatchRequest < 3) {
- o.entries = buildUnnamed370();
+ o.entries = buildUnnamed356();
}
buildCounterShippingsettingsCustomBatchRequest--;
return o;
@@ -5261,7 +4726,7 @@
checkShippingsettingsCustomBatchRequest(api.ShippingsettingsCustomBatchRequest o) {
buildCounterShippingsettingsCustomBatchRequest++;
if (buildCounterShippingsettingsCustomBatchRequest < 3) {
- checkUnnamed370(o.entries);
+ checkUnnamed356(o.entries);
}
buildCounterShippingsettingsCustomBatchRequest--;
}
@@ -5293,14 +4758,14 @@
buildCounterShippingsettingsCustomBatchRequestEntry--;
}
-buildUnnamed371() {
+buildUnnamed357() {
var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>();
o.add(buildShippingsettingsCustomBatchResponseEntry());
o.add(buildShippingsettingsCustomBatchResponseEntry());
return o;
}
-checkUnnamed371(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) {
+checkUnnamed357(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingsettingsCustomBatchResponseEntry(o[0]);
checkShippingsettingsCustomBatchResponseEntry(o[1]);
@@ -5311,7 +4776,7 @@
var o = new api.ShippingsettingsCustomBatchResponse();
buildCounterShippingsettingsCustomBatchResponse++;
if (buildCounterShippingsettingsCustomBatchResponse < 3) {
- o.entries = buildUnnamed371();
+ o.entries = buildUnnamed357();
o.kind = "foo";
}
buildCounterShippingsettingsCustomBatchResponse--;
@@ -5321,7 +4786,7 @@
checkShippingsettingsCustomBatchResponse(api.ShippingsettingsCustomBatchResponse o) {
buildCounterShippingsettingsCustomBatchResponse++;
if (buildCounterShippingsettingsCustomBatchResponse < 3) {
- checkUnnamed371(o.entries);
+ checkUnnamed357(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterShippingsettingsCustomBatchResponse--;
@@ -5352,14 +4817,14 @@
buildCounterShippingsettingsCustomBatchResponseEntry--;
}
-buildUnnamed372() {
+buildUnnamed358() {
var o = new core.List<api.CarriersCarrier>();
o.add(buildCarriersCarrier());
o.add(buildCarriersCarrier());
return o;
}
-checkUnnamed372(core.List<api.CarriersCarrier> o) {
+checkUnnamed358(core.List<api.CarriersCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkCarriersCarrier(o[0]);
checkCarriersCarrier(o[1]);
@@ -5370,7 +4835,7 @@
var o = new api.ShippingsettingsGetSupportedCarriersResponse();
buildCounterShippingsettingsGetSupportedCarriersResponse++;
if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) {
- o.carriers = buildUnnamed372();
+ o.carriers = buildUnnamed358();
o.kind = "foo";
}
buildCounterShippingsettingsGetSupportedCarriersResponse--;
@@ -5380,20 +4845,20 @@
checkShippingsettingsGetSupportedCarriersResponse(api.ShippingsettingsGetSupportedCarriersResponse o) {
buildCounterShippingsettingsGetSupportedCarriersResponse++;
if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) {
- checkUnnamed372(o.carriers);
+ checkUnnamed358(o.carriers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterShippingsettingsGetSupportedCarriersResponse--;
}
-buildUnnamed373() {
+buildUnnamed359() {
var o = new core.List<api.ShippingSettings>();
o.add(buildShippingSettings());
o.add(buildShippingSettings());
return o;
}
-checkUnnamed373(core.List<api.ShippingSettings> o) {
+checkUnnamed359(core.List<api.ShippingSettings> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingSettings(o[0]);
checkShippingSettings(o[1]);
@@ -5406,7 +4871,7 @@
if (buildCounterShippingsettingsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed373();
+ o.resources = buildUnnamed359();
}
buildCounterShippingsettingsListResponse--;
return o;
@@ -5417,19 +4882,19 @@
if (buildCounterShippingsettingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed373(o.resources);
+ checkUnnamed359(o.resources);
}
buildCounterShippingsettingsListResponse--;
}
-buildUnnamed374() {
+buildUnnamed360() {
var o = new core.List<api.Row>();
o.add(buildRow());
o.add(buildRow());
return o;
}
-checkUnnamed374(core.List<api.Row> o) {
+checkUnnamed360(core.List<api.Row> o) {
unittest.expect(o, unittest.hasLength(2));
checkRow(o[0]);
checkRow(o[1]);
@@ -5443,7 +4908,7 @@
o.columnHeaders = buildHeaders();
o.name = "foo";
o.rowHeaders = buildHeaders();
- o.rows = buildUnnamed374();
+ o.rows = buildUnnamed360();
}
buildCounterTable--;
return o;
@@ -5455,32 +4920,32 @@
checkHeaders(o.columnHeaders);
unittest.expect(o.name, unittest.equals('foo'));
checkHeaders(o.rowHeaders);
- checkUnnamed374(o.rows);
+ checkUnnamed360(o.rows);
}
buildCounterTable--;
}
-buildUnnamed375() {
+buildUnnamed361() {
var o = new core.List<api.TestOrderLineItem>();
o.add(buildTestOrderLineItem());
o.add(buildTestOrderLineItem());
return o;
}
-checkUnnamed375(core.List<api.TestOrderLineItem> o) {
+checkUnnamed361(core.List<api.TestOrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestOrderLineItem(o[0]);
checkTestOrderLineItem(o[1]);
}
-buildUnnamed376() {
+buildUnnamed362() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed376(core.List<api.OrderPromotion> o) {
+checkUnnamed362(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
@@ -5493,10 +4958,10 @@
if (buildCounterTestOrder < 3) {
o.customer = buildTestOrderCustomer();
o.kind = "foo";
- o.lineItems = buildUnnamed375();
+ o.lineItems = buildUnnamed361();
o.paymentMethod = buildTestOrderPaymentMethod();
o.predefinedDeliveryAddress = "foo";
- o.promotions = buildUnnamed376();
+ o.promotions = buildUnnamed362();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -5510,10 +4975,10 @@
if (buildCounterTestOrder < 3) {
checkTestOrderCustomer(o.customer);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed375(o.lineItems);
+ checkUnnamed361(o.lineItems);
checkTestOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
- checkUnnamed376(o.promotions);
+ checkUnnamed362(o.promotions);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -5571,14 +5036,14 @@
buildCounterTestOrderLineItem--;
}
-buildUnnamed377() {
+buildUnnamed363() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed377(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed363(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -5601,7 +5066,7 @@
o.price = buildPrice();
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed377();
+ o.variantAttributes = buildUnnamed363();
}
buildCounterTestOrderLineItemProduct--;
return o;
@@ -5622,7 +5087,7 @@
checkPrice(o.price);
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed377(o.variantAttributes);
+ checkUnnamed363(o.variantAttributes);
}
buildCounterTestOrderLineItemProduct--;
}
@@ -5702,14 +5167,14 @@
buildCounterWeight--;
}
-buildUnnamed378() {
+buildUnnamed364() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed378(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'));
@@ -5744,96 +5209,6 @@
});
- unittest.group("obj-schema-AccountShipping", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountShipping();
- var od = new api.AccountShipping.fromJson(o.toJson());
- checkAccountShipping(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountShippingCarrierRate", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountShippingCarrierRate();
- var od = new api.AccountShippingCarrierRate.fromJson(o.toJson());
- checkAccountShippingCarrierRate(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountShippingCondition", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountShippingCondition();
- var od = new api.AccountShippingCondition.fromJson(o.toJson());
- checkAccountShippingCondition(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountShippingLocationGroup", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountShippingLocationGroup();
- var od = new api.AccountShippingLocationGroup.fromJson(o.toJson());
- checkAccountShippingLocationGroup(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountShippingPostalCodeRange", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountShippingPostalCodeRange();
- var od = new api.AccountShippingPostalCodeRange.fromJson(o.toJson());
- checkAccountShippingPostalCodeRange(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountShippingRateTable", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountShippingRateTable();
- var od = new api.AccountShippingRateTable.fromJson(o.toJson());
- checkAccountShippingRateTable(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountShippingRateTableCell", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountShippingRateTableCell();
- var od = new api.AccountShippingRateTableCell.fromJson(o.toJson());
- checkAccountShippingRateTableCell(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountShippingShippingService", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountShippingShippingService();
- var od = new api.AccountShippingShippingService.fromJson(o.toJson());
- checkAccountShippingShippingService(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountShippingShippingServiceCalculationMethod", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountShippingShippingServiceCalculationMethod();
- var od = new api.AccountShippingShippingServiceCalculationMethod.fromJson(o.toJson());
- checkAccountShippingShippingServiceCalculationMethod(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountShippingShippingServiceCostRule", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountShippingShippingServiceCostRule();
- var od = new api.AccountShippingShippingServiceCostRule.fromJson(o.toJson());
- checkAccountShippingShippingServiceCostRule(od);
- });
- });
-
-
unittest.group("obj-schema-AccountStatus", () {
unittest.test("to-json--from-json", () {
var o = buildAccountStatus();
@@ -5942,51 +5317,6 @@
});
- unittest.group("obj-schema-AccountshippingCustomBatchRequest", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountshippingCustomBatchRequest();
- var od = new api.AccountshippingCustomBatchRequest.fromJson(o.toJson());
- checkAccountshippingCustomBatchRequest(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountshippingCustomBatchRequestEntry", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountshippingCustomBatchRequestEntry();
- var od = new api.AccountshippingCustomBatchRequestEntry.fromJson(o.toJson());
- checkAccountshippingCustomBatchRequestEntry(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountshippingCustomBatchResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountshippingCustomBatchResponse();
- var od = new api.AccountshippingCustomBatchResponse.fromJson(o.toJson());
- checkAccountshippingCustomBatchResponse(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountshippingCustomBatchResponseEntry", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountshippingCustomBatchResponseEntry();
- var od = new api.AccountshippingCustomBatchResponseEntry.fromJson(o.toJson());
- checkAccountshippingCustomBatchResponseEntry(od);
- });
- });
-
-
- unittest.group("obj-schema-AccountshippingListResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildAccountshippingListResponse();
- var od = new api.AccountshippingListResponse.fromJson(o.toJson());
- checkAccountshippingListResponse(od);
- });
- });
-
-
unittest.group("obj-schema-AccountstatusesCustomBatchRequest", () {
unittest.test("to-json--from-json", () {
var o = buildAccountstatusesCustomBatchRequest();
@@ -7607,248 +6937,6 @@
});
- unittest.group("resource-AccountshippingResourceApi", () {
- unittest.test("method--custombatch", () {
-
- var mock = new HttpServerMock();
- api.AccountshippingResourceApi res = new api.ContentApi(mock).accountshipping;
- var arg_request = buildAccountshippingCustomBatchRequest();
- var arg_dryRun = true;
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.AccountshippingCustomBatchRequest.fromJson(json);
- checkAccountshippingCustomBatchRequest(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 + 11), unittest.equals("content/v2/"));
- pathOffset += 11;
- unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.equals("accountshipping/batch"));
- pathOffset += 21;
-
- 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["dryRun"].first, unittest.equals("$arg_dryRun"));
-
-
- var h = {
- "content-type" : "application/json; charset=utf-8",
- };
- var resp = convert.JSON.encode(buildAccountshippingCustomBatchResponse());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.custombatch(arg_request, dryRun: arg_dryRun).then(unittest.expectAsync(((api.AccountshippingCustomBatchResponse response) {
- checkAccountshippingCustomBatchResponse(response);
- })));
- });
-
- unittest.test("method--get", () {
-
- var mock = new HttpServerMock();
- api.AccountshippingResourceApi res = new api.ContentApi(mock).accountshipping;
- var arg_merchantId = "foo";
- 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;
-
- 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(buildAccountShipping());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.get(arg_merchantId, arg_accountId).then(unittest.expectAsync(((api.AccountShipping response) {
- checkAccountShipping(response);
- })));
- });
-
- unittest.test("method--list", () {
-
- var mock = new HttpServerMock();
- api.AccountshippingResourceApi res = new api.ContentApi(mock).accountshipping;
- var arg_merchantId = "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(buildAccountshippingListResponse());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.AccountshippingListResponse response) {
- checkAccountshippingListResponse(response);
- })));
- });
-
- unittest.test("method--patch", () {
-
- var mock = new HttpServerMock();
- api.AccountshippingResourceApi res = new api.ContentApi(mock).accountshipping;
- var arg_request = buildAccountShipping();
- var arg_merchantId = "foo";
- var arg_accountId = "foo";
- var arg_dryRun = true;
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.AccountShipping.fromJson(json);
- checkAccountShipping(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]));
- }
- }
- unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun"));
-
-
- var h = {
- "content-type" : "application/json; charset=utf-8",
- };
- var resp = convert.JSON.encode(buildAccountShipping());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.patch(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun).then(unittest.expectAsync(((api.AccountShipping response) {
- checkAccountShipping(response);
- })));
- });
-
- unittest.test("method--update", () {
-
- var mock = new HttpServerMock();
- api.AccountshippingResourceApi res = new api.ContentApi(mock).accountshipping;
- var arg_request = buildAccountShipping();
- var arg_merchantId = "foo";
- var arg_accountId = "foo";
- var arg_dryRun = true;
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.AccountShipping.fromJson(json);
- checkAccountShipping(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]));
- }
- }
- unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun"));
-
-
- var h = {
- "content-type" : "application/json; charset=utf-8",
- };
- var resp = convert.JSON.encode(buildAccountShipping());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun).then(unittest.expectAsync(((api.AccountShipping response) {
- checkAccountShipping(response);
- })));
- });
-
- });
-
-
unittest.group("resource-AccountstatusesResourceApi", () {
unittest.test("method--custombatch", () {
@@ -9233,7 +8321,7 @@
var arg_pageToken = "foo";
var arg_placedDateEnd = "foo";
var arg_placedDateStart = "foo";
- var arg_statuses = buildUnnamed378();
+ var arg_statuses = buildUnnamed364();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
diff --git a/generated/googleapis/test/content/v2sandbox_test.dart b/generated/googleapis/test/content/v2sandbox_test.dart
index af6069b..a6a7a78 100644
--- a/generated/googleapis/test/content/v2sandbox_test.dart
+++ b/generated/googleapis/test/content/v2sandbox_test.dart
@@ -74,14 +74,14 @@
buildCounterError--;
}
-buildUnnamed1350() {
+buildUnnamed1345() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1350(core.List<api.Error> o) {
+checkUnnamed1345(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -93,7 +93,7 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
o.code = 42;
- o.errors = buildUnnamed1350();
+ o.errors = buildUnnamed1345();
o.message = "foo";
}
buildCounterErrors--;
@@ -104,59 +104,59 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1350(o.errors);
+ checkUnnamed1345(o.errors);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterErrors--;
}
-buildUnnamed1351() {
+buildUnnamed1346() {
var o = new core.List<api.OrderLineItem>();
o.add(buildOrderLineItem());
o.add(buildOrderLineItem());
return o;
}
-checkUnnamed1351(core.List<api.OrderLineItem> o) {
+checkUnnamed1346(core.List<api.OrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItem(o[0]);
checkOrderLineItem(o[1]);
}
-buildUnnamed1352() {
+buildUnnamed1347() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed1352(core.List<api.OrderPromotion> o) {
+checkUnnamed1347(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
}
-buildUnnamed1353() {
+buildUnnamed1348() {
var o = new core.List<api.OrderRefund>();
o.add(buildOrderRefund());
o.add(buildOrderRefund());
return o;
}
-checkUnnamed1353(core.List<api.OrderRefund> o) {
+checkUnnamed1348(core.List<api.OrderRefund> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderRefund(o[0]);
checkOrderRefund(o[1]);
}
-buildUnnamed1354() {
+buildUnnamed1349() {
var o = new core.List<api.OrderShipment>();
o.add(buildOrderShipment());
o.add(buildOrderShipment());
return o;
}
-checkUnnamed1354(core.List<api.OrderShipment> o) {
+checkUnnamed1349(core.List<api.OrderShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipment(o[0]);
checkOrderShipment(o[1]);
@@ -173,16 +173,16 @@
o.deliveryDetails = buildOrderDeliveryDetails();
o.id = "foo";
o.kind = "foo";
- o.lineItems = buildUnnamed1351();
+ o.lineItems = buildUnnamed1346();
o.merchantId = "foo";
o.merchantOrderId = "foo";
o.netAmount = buildPrice();
o.paymentMethod = buildOrderPaymentMethod();
o.paymentStatus = "foo";
o.placedDate = "foo";
- o.promotions = buildUnnamed1352();
- o.refunds = buildUnnamed1353();
- o.shipments = buildUnnamed1354();
+ o.promotions = buildUnnamed1347();
+ o.refunds = buildUnnamed1348();
+ o.shipments = buildUnnamed1349();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -201,16 +201,16 @@
checkOrderDeliveryDetails(o.deliveryDetails);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1351(o.lineItems);
+ checkUnnamed1346(o.lineItems);
unittest.expect(o.merchantId, unittest.equals('foo'));
unittest.expect(o.merchantOrderId, unittest.equals('foo'));
checkPrice(o.netAmount);
checkOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.paymentStatus, unittest.equals('foo'));
unittest.expect(o.placedDate, unittest.equals('foo'));
- checkUnnamed1352(o.promotions);
- checkUnnamed1353(o.refunds);
- checkUnnamed1354(o.shipments);
+ checkUnnamed1347(o.promotions);
+ checkUnnamed1348(o.refunds);
+ checkUnnamed1349(o.shipments);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -219,27 +219,27 @@
buildCounterOrder--;
}
-buildUnnamed1355() {
+buildUnnamed1350() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1355(core.List<core.String> o) {
+checkUnnamed1350(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1356() {
+buildUnnamed1351() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1356(core.List<core.String> o) {
+checkUnnamed1351(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -251,13 +251,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
o.country = "foo";
- o.fullAddress = buildUnnamed1355();
+ o.fullAddress = buildUnnamed1350();
o.isPostOfficeBox = true;
o.locality = "foo";
o.postalCode = "foo";
o.recipientName = "foo";
o.region = "foo";
- o.streetAddress = buildUnnamed1356();
+ o.streetAddress = buildUnnamed1351();
}
buildCounterOrderAddress--;
return o;
@@ -267,13 +267,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed1355(o.fullAddress);
+ checkUnnamed1350(o.fullAddress);
unittest.expect(o.isPostOfficeBox, unittest.isTrue);
unittest.expect(o.locality, unittest.equals('foo'));
unittest.expect(o.postalCode, unittest.equals('foo'));
unittest.expect(o.recipientName, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed1356(o.streetAddress);
+ checkUnnamed1351(o.streetAddress);
}
buildCounterOrderAddress--;
}
@@ -349,27 +349,27 @@
buildCounterOrderDeliveryDetails--;
}
-buildUnnamed1357() {
+buildUnnamed1352() {
var o = new core.List<api.OrderCancellation>();
o.add(buildOrderCancellation());
o.add(buildOrderCancellation());
return o;
}
-checkUnnamed1357(core.List<api.OrderCancellation> o) {
+checkUnnamed1352(core.List<api.OrderCancellation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderCancellation(o[0]);
checkOrderCancellation(o[1]);
}
-buildUnnamed1358() {
+buildUnnamed1353() {
var o = new core.List<api.OrderReturn>();
o.add(buildOrderReturn());
o.add(buildOrderReturn());
return o;
}
-checkUnnamed1358(core.List<api.OrderReturn> o) {
+checkUnnamed1353(core.List<api.OrderReturn> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderReturn(o[0]);
checkOrderReturn(o[1]);
@@ -380,7 +380,7 @@
var o = new api.OrderLineItem();
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- o.cancellations = buildUnnamed1357();
+ o.cancellations = buildUnnamed1352();
o.id = "foo";
o.price = buildPrice();
o.product = buildOrderLineItemProduct();
@@ -391,7 +391,7 @@
o.quantityReturned = 42;
o.quantityShipped = 42;
o.returnInfo = buildOrderLineItemReturnInfo();
- o.returns = buildUnnamed1358();
+ o.returns = buildUnnamed1353();
o.shippingDetails = buildOrderLineItemShippingDetails();
o.tax = buildPrice();
}
@@ -402,7 +402,7 @@
checkOrderLineItem(api.OrderLineItem o) {
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- checkUnnamed1357(o.cancellations);
+ checkUnnamed1352(o.cancellations);
unittest.expect(o.id, unittest.equals('foo'));
checkPrice(o.price);
checkOrderLineItemProduct(o.product);
@@ -413,21 +413,21 @@
unittest.expect(o.quantityReturned, unittest.equals(42));
unittest.expect(o.quantityShipped, unittest.equals(42));
checkOrderLineItemReturnInfo(o.returnInfo);
- checkUnnamed1358(o.returns);
+ checkUnnamed1353(o.returns);
checkOrderLineItemShippingDetails(o.shippingDetails);
checkPrice(o.tax);
}
buildCounterOrderLineItem--;
}
-buildUnnamed1359() {
+buildUnnamed1354() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed1359(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed1354(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -452,7 +452,7 @@
o.shownImage = "foo";
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed1359();
+ o.variantAttributes = buildUnnamed1354();
}
buildCounterOrderLineItemProduct--;
return o;
@@ -475,7 +475,7 @@
unittest.expect(o.shownImage, unittest.equals('foo'));
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1359(o.variantAttributes);
+ checkUnnamed1354(o.variantAttributes);
}
buildCounterOrderLineItemProduct--;
}
@@ -601,14 +601,14 @@
buildCounterOrderPaymentMethod--;
}
-buildUnnamed1360() {
+buildUnnamed1355() {
var o = new core.List<api.OrderPromotionBenefit>();
o.add(buildOrderPromotionBenefit());
o.add(buildOrderPromotionBenefit());
return o;
}
-checkUnnamed1360(core.List<api.OrderPromotionBenefit> o) {
+checkUnnamed1355(core.List<api.OrderPromotionBenefit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotionBenefit(o[0]);
checkOrderPromotionBenefit(o[1]);
@@ -619,7 +619,7 @@
var o = new api.OrderPromotion();
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- o.benefits = buildUnnamed1360();
+ o.benefits = buildUnnamed1355();
o.effectiveDates = "foo";
o.genericRedemptionCode = "foo";
o.id = "foo";
@@ -634,7 +634,7 @@
checkOrderPromotion(api.OrderPromotion o) {
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- checkUnnamed1360(o.benefits);
+ checkUnnamed1355(o.benefits);
unittest.expect(o.effectiveDates, unittest.equals('foo'));
unittest.expect(o.genericRedemptionCode, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -645,14 +645,14 @@
buildCounterOrderPromotion--;
}
-buildUnnamed1361() {
+buildUnnamed1356() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1361(core.List<core.String> o) {
+checkUnnamed1356(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -664,7 +664,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
o.discount = buildPrice();
- o.offerIds = buildUnnamed1361();
+ o.offerIds = buildUnnamed1356();
o.subType = "foo";
o.taxImpact = buildPrice();
o.type = "foo";
@@ -677,7 +677,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
checkPrice(o.discount);
- checkUnnamed1361(o.offerIds);
+ checkUnnamed1356(o.offerIds);
unittest.expect(o.subType, unittest.equals('foo'));
checkPrice(o.taxImpact);
unittest.expect(o.type, unittest.equals('foo'));
@@ -739,14 +739,14 @@
buildCounterOrderReturn--;
}
-buildUnnamed1362() {
+buildUnnamed1357() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1362(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1357(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -761,7 +761,7 @@
o.creationDate = "foo";
o.deliveryDate = "foo";
o.id = "foo";
- o.lineItems = buildUnnamed1362();
+ o.lineItems = buildUnnamed1357();
o.status = "foo";
o.trackingId = "foo";
}
@@ -776,7 +776,7 @@
unittest.expect(o.creationDate, unittest.equals('foo'));
unittest.expect(o.deliveryDate, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1362(o.lineItems);
+ checkUnnamed1357(o.lineItems);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
}
@@ -999,14 +999,14 @@
buildCounterOrdersCreateTestOrderResponse--;
}
-buildUnnamed1363() {
+buildUnnamed1358() {
var o = new core.List<api.OrdersCustomBatchRequestEntry>();
o.add(buildOrdersCustomBatchRequestEntry());
o.add(buildOrdersCustomBatchRequestEntry());
return o;
}
-checkUnnamed1363(core.List<api.OrdersCustomBatchRequestEntry> o) {
+checkUnnamed1358(core.List<api.OrdersCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntry(o[0]);
checkOrdersCustomBatchRequestEntry(o[1]);
@@ -1017,7 +1017,7 @@
var o = new api.OrdersCustomBatchRequest();
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- o.entries = buildUnnamed1363();
+ o.entries = buildUnnamed1358();
}
buildCounterOrdersCustomBatchRequest--;
return o;
@@ -1026,7 +1026,7 @@
checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- checkUnnamed1363(o.entries);
+ checkUnnamed1358(o.entries);
}
buildCounterOrdersCustomBatchRequest--;
}
@@ -1168,14 +1168,14 @@
buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
}
-buildUnnamed1364() {
+buildUnnamed1359() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1364(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1359(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -1187,7 +1187,7 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed1364();
+ o.lineItems = buildUnnamed1359();
o.shipmentId = "foo";
o.trackingId = "foo";
}
@@ -1199,7 +1199,7 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed1364(o.lineItems);
+ checkUnnamed1359(o.lineItems);
unittest.expect(o.shipmentId, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
}
@@ -1231,14 +1231,14 @@
buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
}
-buildUnnamed1365() {
+buildUnnamed1360() {
var o = new core.List<api.OrdersCustomBatchResponseEntry>();
o.add(buildOrdersCustomBatchResponseEntry());
o.add(buildOrdersCustomBatchResponseEntry());
return o;
}
-checkUnnamed1365(core.List<api.OrdersCustomBatchResponseEntry> o) {
+checkUnnamed1360(core.List<api.OrdersCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchResponseEntry(o[0]);
checkOrdersCustomBatchResponseEntry(o[1]);
@@ -1249,7 +1249,7 @@
var o = new api.OrdersCustomBatchResponse();
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- o.entries = buildUnnamed1365();
+ o.entries = buildUnnamed1360();
o.kind = "foo";
}
buildCounterOrdersCustomBatchResponse--;
@@ -1259,7 +1259,7 @@
checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- checkUnnamed1365(o.entries);
+ checkUnnamed1360(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOrdersCustomBatchResponse--;
@@ -1334,14 +1334,14 @@
buildCounterOrdersGetTestOrderTemplateResponse--;
}
-buildUnnamed1366() {
+buildUnnamed1361() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed1366(core.List<api.Order> o) {
+checkUnnamed1361(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -1354,7 +1354,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1366();
+ o.resources = buildUnnamed1361();
}
buildCounterOrdersListResponse--;
return o;
@@ -1365,7 +1365,7 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1366(o.resources);
+ checkUnnamed1361(o.resources);
}
buildCounterOrdersListResponse--;
}
@@ -1464,14 +1464,14 @@
buildCounterOrdersReturnLineItemResponse--;
}
-buildUnnamed1367() {
+buildUnnamed1362() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1367(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1362(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -1483,7 +1483,7 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed1367();
+ o.lineItems = buildUnnamed1362();
o.operationId = "foo";
o.shipmentId = "foo";
o.trackingId = "foo";
@@ -1496,7 +1496,7 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed1367(o.lineItems);
+ checkUnnamed1362(o.lineItems);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.shipmentId, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
@@ -1636,27 +1636,27 @@
buildCounterPrice--;
}
-buildUnnamed1368() {
+buildUnnamed1363() {
var o = new core.List<api.TestOrderLineItem>();
o.add(buildTestOrderLineItem());
o.add(buildTestOrderLineItem());
return o;
}
-checkUnnamed1368(core.List<api.TestOrderLineItem> o) {
+checkUnnamed1363(core.List<api.TestOrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestOrderLineItem(o[0]);
checkTestOrderLineItem(o[1]);
}
-buildUnnamed1369() {
+buildUnnamed1364() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed1369(core.List<api.OrderPromotion> o) {
+checkUnnamed1364(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
@@ -1669,10 +1669,10 @@
if (buildCounterTestOrder < 3) {
o.customer = buildTestOrderCustomer();
o.kind = "foo";
- o.lineItems = buildUnnamed1368();
+ o.lineItems = buildUnnamed1363();
o.paymentMethod = buildTestOrderPaymentMethod();
o.predefinedDeliveryAddress = "foo";
- o.promotions = buildUnnamed1369();
+ o.promotions = buildUnnamed1364();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -1686,10 +1686,10 @@
if (buildCounterTestOrder < 3) {
checkTestOrderCustomer(o.customer);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1368(o.lineItems);
+ checkUnnamed1363(o.lineItems);
checkTestOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
- checkUnnamed1369(o.promotions);
+ checkUnnamed1364(o.promotions);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -1747,14 +1747,14 @@
buildCounterTestOrderLineItem--;
}
-buildUnnamed1370() {
+buildUnnamed1365() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed1370(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed1365(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -1777,7 +1777,7 @@
o.price = buildPrice();
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed1370();
+ o.variantAttributes = buildUnnamed1365();
}
buildCounterTestOrderLineItemProduct--;
return o;
@@ -1798,7 +1798,7 @@
checkPrice(o.price);
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1370(o.variantAttributes);
+ checkUnnamed1365(o.variantAttributes);
}
buildCounterTestOrderLineItemProduct--;
}
@@ -1830,14 +1830,14 @@
buildCounterTestOrderPaymentMethod--;
}
-buildUnnamed1371() {
+buildUnnamed1366() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1371(core.List<core.String> o) {
+checkUnnamed1366(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2787,7 +2787,7 @@
var arg_pageToken = "foo";
var arg_placedDateEnd = "foo";
var arg_placedDateStart = "foo";
- var arg_statuses = buildUnnamed1371();
+ var arg_statuses = buildUnnamed1366();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
diff --git a/generated/googleapis/test/customsearch/v1_test.dart b/generated/googleapis/test/customsearch/v1_test.dart
index aaa563c..cceab85 100644
--- a/generated/googleapis/test/customsearch/v1_test.dart
+++ b/generated/googleapis/test/customsearch/v1_test.dart
@@ -74,30 +74,30 @@
buildCounterContextFacets--;
}
-buildUnnamed244() {
+buildUnnamed242() {
var o = new core.List<api.ContextFacets>();
o.add(buildContextFacets());
o.add(buildContextFacets());
return o;
}
-checkUnnamed244(core.List<api.ContextFacets> o) {
+checkUnnamed242(core.List<api.ContextFacets> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextFacets(o[0]);
checkContextFacets(o[1]);
}
-buildUnnamed245() {
+buildUnnamed243() {
var o = new core.List<core.List<api.ContextFacets>>();
- o.add(buildUnnamed244());
- o.add(buildUnnamed244());
+ o.add(buildUnnamed242());
+ o.add(buildUnnamed242());
return o;
}
-checkUnnamed245(core.List<core.List<api.ContextFacets>> o) {
+checkUnnamed243(core.List<core.List<api.ContextFacets>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed244(o[0]);
- checkUnnamed244(o[1]);
+ checkUnnamed242(o[0]);
+ checkUnnamed242(o[1]);
}
core.int buildCounterContext = 0;
@@ -105,7 +105,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.facets = buildUnnamed245();
+ o.facets = buildUnnamed243();
o.title = "foo";
}
buildCounterContext--;
@@ -115,7 +115,7 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed245(o.facets);
+ checkUnnamed243(o.facets);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterContext--;
@@ -146,14 +146,14 @@
buildCounterPromotionBodyLines--;
}
-buildUnnamed246() {
+buildUnnamed244() {
var o = new core.List<api.PromotionBodyLines>();
o.add(buildPromotionBodyLines());
o.add(buildPromotionBodyLines());
return o;
}
-checkUnnamed246(core.List<api.PromotionBodyLines> o) {
+checkUnnamed244(core.List<api.PromotionBodyLines> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotionBodyLines(o[0]);
checkPromotionBodyLines(o[1]);
@@ -187,7 +187,7 @@
var o = new api.Promotion();
buildCounterPromotion++;
if (buildCounterPromotion < 3) {
- o.bodyLines = buildUnnamed246();
+ o.bodyLines = buildUnnamed244();
o.displayLink = "foo";
o.htmlTitle = "foo";
o.image = buildPromotionImage();
@@ -201,7 +201,7 @@
checkPromotion(api.Promotion o) {
buildCounterPromotion++;
if (buildCounterPromotion < 3) {
- checkUnnamed246(o.bodyLines);
+ checkUnnamed244(o.bodyLines);
unittest.expect(o.displayLink, unittest.equals('foo'));
unittest.expect(o.htmlTitle, unittest.equals('foo'));
checkPromotionImage(o.image);
@@ -356,56 +356,56 @@
buildCounterResultLabels--;
}
-buildUnnamed247() {
+buildUnnamed245() {
var o = new core.List<api.ResultLabels>();
o.add(buildResultLabels());
o.add(buildResultLabels());
return o;
}
-checkUnnamed247(core.List<api.ResultLabels> o) {
+checkUnnamed245(core.List<api.ResultLabels> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultLabels(o[0]);
checkResultLabels(o[1]);
}
-buildUnnamed248() {
+buildUnnamed246() {
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;
}
-checkUnnamed248(core.Map<core.String, core.Object> o) {
+checkUnnamed246(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'));
}
-buildUnnamed249() {
+buildUnnamed247() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed248());
- o.add(buildUnnamed248());
+ o.add(buildUnnamed246());
+ o.add(buildUnnamed246());
return o;
}
-checkUnnamed249(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed247(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed248(o[0]);
- checkUnnamed248(o[1]);
+ checkUnnamed246(o[0]);
+ checkUnnamed246(o[1]);
}
-buildUnnamed250() {
+buildUnnamed248() {
var o = new core.Map<core.String, core.List<core.Map<core.String, core.Object>>>();
- o["x"] = buildUnnamed249();
- o["y"] = buildUnnamed249();
+ o["x"] = buildUnnamed247();
+ o["y"] = buildUnnamed247();
return o;
}
-checkUnnamed250(core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) {
+checkUnnamed248(core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed249(o["x"]);
- checkUnnamed249(o["y"]);
+ checkUnnamed247(o["x"]);
+ checkUnnamed247(o["y"]);
}
core.int buildCounterResult = 0;
@@ -422,10 +422,10 @@
o.htmlTitle = "foo";
o.image = buildResultImage();
o.kind = "foo";
- o.labels = buildUnnamed247();
+ o.labels = buildUnnamed245();
o.link = "foo";
o.mime = "foo";
- o.pagemap = buildUnnamed250();
+ o.pagemap = buildUnnamed248();
o.snippet = "foo";
o.title = "foo";
}
@@ -445,66 +445,66 @@
unittest.expect(o.htmlTitle, unittest.equals('foo'));
checkResultImage(o.image);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed247(o.labels);
+ checkUnnamed245(o.labels);
unittest.expect(o.link, unittest.equals('foo'));
unittest.expect(o.mime, unittest.equals('foo'));
- checkUnnamed250(o.pagemap);
+ checkUnnamed248(o.pagemap);
unittest.expect(o.snippet, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterResult--;
}
-buildUnnamed251() {
+buildUnnamed249() {
var o = new core.List<api.Result>();
o.add(buildResult());
o.add(buildResult());
return o;
}
-checkUnnamed251(core.List<api.Result> o) {
+checkUnnamed249(core.List<api.Result> o) {
unittest.expect(o, unittest.hasLength(2));
checkResult(o[0]);
checkResult(o[1]);
}
-buildUnnamed252() {
+buildUnnamed250() {
var o = new core.List<api.Promotion>();
o.add(buildPromotion());
o.add(buildPromotion());
return o;
}
-checkUnnamed252(core.List<api.Promotion> o) {
+checkUnnamed250(core.List<api.Promotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotion(o[0]);
checkPromotion(o[1]);
}
-buildUnnamed253() {
+buildUnnamed251() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed253(core.List<api.Query> o) {
+checkUnnamed251(core.List<api.Query> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuery(o[0]);
checkQuery(o[1]);
}
-buildUnnamed254() {
+buildUnnamed252() {
var o = new core.Map<core.String, core.List<api.Query>>();
- o["x"] = buildUnnamed253();
- o["y"] = buildUnnamed253();
+ o["x"] = buildUnnamed251();
+ o["y"] = buildUnnamed251();
return o;
}
-checkUnnamed254(core.Map<core.String, core.List<api.Query>> o) {
+checkUnnamed252(core.Map<core.String, core.List<api.Query>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed253(o["x"]);
- checkUnnamed253(o["y"]);
+ checkUnnamed251(o["x"]);
+ checkUnnamed251(o["y"]);
}
core.int buildCounterSearchSearchInformation = 0;
@@ -580,10 +580,10 @@
buildCounterSearch++;
if (buildCounterSearch < 3) {
o.context = buildContext();
- o.items = buildUnnamed251();
+ o.items = buildUnnamed249();
o.kind = "foo";
- o.promotions = buildUnnamed252();
- o.queries = buildUnnamed254();
+ o.promotions = buildUnnamed250();
+ o.queries = buildUnnamed252();
o.searchInformation = buildSearchSearchInformation();
o.spelling = buildSearchSpelling();
o.url = buildSearchUrl();
@@ -596,10 +596,10 @@
buildCounterSearch++;
if (buildCounterSearch < 3) {
checkContext(o.context);
- checkUnnamed251(o.items);
+ checkUnnamed249(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed252(o.promotions);
- checkUnnamed254(o.queries);
+ checkUnnamed250(o.promotions);
+ checkUnnamed252(o.queries);
checkSearchSearchInformation(o.searchInformation);
checkSearchSpelling(o.spelling);
checkSearchUrl(o.url);
diff --git a/generated/googleapis/test/dataproc/v1_test.dart b/generated/googleapis/test/dataproc/v1_test.dart
index a9b6283..596d65b 100644
--- a/generated/googleapis/test/dataproc/v1_test.dart
+++ b/generated/googleapis/test/dataproc/v1_test.dart
@@ -89,27 +89,27 @@
buildCounterCancelJobRequest--;
}
-buildUnnamed466() {
+buildUnnamed452() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed466(core.Map<core.String, core.String> o) {
+checkUnnamed452(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'));
}
-buildUnnamed467() {
+buildUnnamed453() {
var o = new core.List<api.ClusterStatus>();
o.add(buildClusterStatus());
o.add(buildClusterStatus());
return o;
}
-checkUnnamed467(core.List<api.ClusterStatus> o) {
+checkUnnamed453(core.List<api.ClusterStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterStatus(o[0]);
checkClusterStatus(o[1]);
@@ -123,11 +123,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.config = buildClusterConfig();
- o.labels = buildUnnamed466();
+ o.labels = buildUnnamed452();
o.metrics = buildClusterMetrics();
o.projectId = "foo";
o.status = buildClusterStatus();
- o.statusHistory = buildUnnamed467();
+ o.statusHistory = buildUnnamed453();
}
buildCounterCluster--;
return o;
@@ -139,23 +139,23 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
checkClusterConfig(o.config);
- checkUnnamed466(o.labels);
+ checkUnnamed452(o.labels);
checkClusterMetrics(o.metrics);
unittest.expect(o.projectId, unittest.equals('foo'));
checkClusterStatus(o.status);
- checkUnnamed467(o.statusHistory);
+ checkUnnamed453(o.statusHistory);
}
buildCounterCluster--;
}
-buildUnnamed468() {
+buildUnnamed454() {
var o = new core.List<api.NodeInitializationAction>();
o.add(buildNodeInitializationAction());
o.add(buildNodeInitializationAction());
return o;
}
-checkUnnamed468(core.List<api.NodeInitializationAction> o) {
+checkUnnamed454(core.List<api.NodeInitializationAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeInitializationAction(o[0]);
checkNodeInitializationAction(o[1]);
@@ -168,7 +168,7 @@
if (buildCounterClusterConfig < 3) {
o.configBucket = "foo";
o.gceClusterConfig = buildGceClusterConfig();
- o.initializationActions = buildUnnamed468();
+ o.initializationActions = buildUnnamed454();
o.masterConfig = buildInstanceGroupConfig();
o.secondaryWorkerConfig = buildInstanceGroupConfig();
o.softwareConfig = buildSoftwareConfig();
@@ -183,7 +183,7 @@
if (buildCounterClusterConfig < 3) {
unittest.expect(o.configBucket, unittest.equals('foo'));
checkGceClusterConfig(o.gceClusterConfig);
- checkUnnamed468(o.initializationActions);
+ checkUnnamed454(o.initializationActions);
checkInstanceGroupConfig(o.masterConfig);
checkInstanceGroupConfig(o.secondaryWorkerConfig);
checkSoftwareConfig(o.softwareConfig);
@@ -192,27 +192,27 @@
buildCounterClusterConfig--;
}
-buildUnnamed469() {
+buildUnnamed455() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed469(core.Map<core.String, core.String> o) {
+checkUnnamed455(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'));
}
-buildUnnamed470() {
+buildUnnamed456() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed470(core.Map<core.String, core.String> o) {
+checkUnnamed456(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'));
@@ -223,8 +223,8 @@
var o = new api.ClusterMetrics();
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- o.hdfsMetrics = buildUnnamed469();
- o.yarnMetrics = buildUnnamed470();
+ o.hdfsMetrics = buildUnnamed455();
+ o.yarnMetrics = buildUnnamed456();
}
buildCounterClusterMetrics--;
return o;
@@ -233,46 +233,46 @@
checkClusterMetrics(api.ClusterMetrics o) {
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- checkUnnamed469(o.hdfsMetrics);
- checkUnnamed470(o.yarnMetrics);
+ checkUnnamed455(o.hdfsMetrics);
+ checkUnnamed456(o.yarnMetrics);
}
buildCounterClusterMetrics--;
}
-buildUnnamed471() {
+buildUnnamed457() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed471(core.Map<core.String, core.String> o) {
+checkUnnamed457(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'));
}
-buildUnnamed472() {
+buildUnnamed458() {
var o = new core.List<api.ClusterOperationStatus>();
o.add(buildClusterOperationStatus());
o.add(buildClusterOperationStatus());
return o;
}
-checkUnnamed472(core.List<api.ClusterOperationStatus> o) {
+checkUnnamed458(core.List<api.ClusterOperationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterOperationStatus(o[0]);
checkClusterOperationStatus(o[1]);
}
-buildUnnamed473() {
+buildUnnamed459() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed473(core.List<core.String> o) {
+checkUnnamed459(core.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,11 +286,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.description = "foo";
- o.labels = buildUnnamed471();
+ o.labels = buildUnnamed457();
o.operationType = "foo";
o.status = buildClusterOperationStatus();
- o.statusHistory = buildUnnamed472();
- o.warnings = buildUnnamed473();
+ o.statusHistory = buildUnnamed458();
+ o.warnings = buildUnnamed459();
}
buildCounterClusterOperationMetadata--;
return o;
@@ -302,11 +302,11 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed471(o.labels);
+ checkUnnamed457(o.labels);
unittest.expect(o.operationType, unittest.equals('foo'));
checkClusterOperationStatus(o.status);
- checkUnnamed472(o.statusHistory);
- checkUnnamed473(o.warnings);
+ checkUnnamed458(o.statusHistory);
+ checkUnnamed459(o.warnings);
}
buildCounterClusterOperationMetadata--;
}
@@ -454,40 +454,40 @@
buildCounterEmpty--;
}
-buildUnnamed474() {
+buildUnnamed460() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed474(core.Map<core.String, core.String> o) {
+checkUnnamed460(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'));
}
-buildUnnamed475() {
+buildUnnamed461() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed475(core.List<core.String> o) {
+checkUnnamed461(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed476() {
+buildUnnamed462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed476(core.List<core.String> o) {
+checkUnnamed462(core.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,12 +499,12 @@
buildCounterGceClusterConfig++;
if (buildCounterGceClusterConfig < 3) {
o.internalIpOnly = true;
- o.metadata = buildUnnamed474();
+ o.metadata = buildUnnamed460();
o.networkUri = "foo";
o.serviceAccount = "foo";
- o.serviceAccountScopes = buildUnnamed475();
+ o.serviceAccountScopes = buildUnnamed461();
o.subnetworkUri = "foo";
- o.tags = buildUnnamed476();
+ o.tags = buildUnnamed462();
o.zoneUri = "foo";
}
buildCounterGceClusterConfig--;
@@ -515,77 +515,77 @@
buildCounterGceClusterConfig++;
if (buildCounterGceClusterConfig < 3) {
unittest.expect(o.internalIpOnly, unittest.isTrue);
- checkUnnamed474(o.metadata);
+ checkUnnamed460(o.metadata);
unittest.expect(o.networkUri, unittest.equals('foo'));
unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed475(o.serviceAccountScopes);
+ checkUnnamed461(o.serviceAccountScopes);
unittest.expect(o.subnetworkUri, unittest.equals('foo'));
- checkUnnamed476(o.tags);
+ checkUnnamed462(o.tags);
unittest.expect(o.zoneUri, unittest.equals('foo'));
}
buildCounterGceClusterConfig--;
}
-buildUnnamed477() {
+buildUnnamed463() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed477(core.List<core.String> o) {
+checkUnnamed463(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed478() {
+buildUnnamed464() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed478(core.List<core.String> o) {
+checkUnnamed464(core.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() {
+buildUnnamed465() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed479(core.List<core.String> o) {
+checkUnnamed465(core.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() {
+buildUnnamed466() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed480(core.List<core.String> o) {
+checkUnnamed466(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed481() {
+buildUnnamed467() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed481(core.Map<core.String, core.String> o) {
+checkUnnamed467(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'));
@@ -596,14 +596,14 @@
var o = new api.HadoopJob();
buildCounterHadoopJob++;
if (buildCounterHadoopJob < 3) {
- o.archiveUris = buildUnnamed477();
- o.args = buildUnnamed478();
- o.fileUris = buildUnnamed479();
- o.jarFileUris = buildUnnamed480();
+ o.archiveUris = buildUnnamed463();
+ o.args = buildUnnamed464();
+ o.fileUris = buildUnnamed465();
+ o.jarFileUris = buildUnnamed466();
o.loggingConfig = buildLoggingConfig();
o.mainClass = "foo";
o.mainJarFileUri = "foo";
- o.properties = buildUnnamed481();
+ o.properties = buildUnnamed467();
}
buildCounterHadoopJob--;
return o;
@@ -612,52 +612,52 @@
checkHadoopJob(api.HadoopJob o) {
buildCounterHadoopJob++;
if (buildCounterHadoopJob < 3) {
- checkUnnamed477(o.archiveUris);
- checkUnnamed478(o.args);
- checkUnnamed479(o.fileUris);
- checkUnnamed480(o.jarFileUris);
+ checkUnnamed463(o.archiveUris);
+ checkUnnamed464(o.args);
+ checkUnnamed465(o.fileUris);
+ checkUnnamed466(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
unittest.expect(o.mainClass, unittest.equals('foo'));
unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed481(o.properties);
+ checkUnnamed467(o.properties);
}
buildCounterHadoopJob--;
}
-buildUnnamed482() {
+buildUnnamed468() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed482(core.List<core.String> o) {
+checkUnnamed468(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed483() {
+buildUnnamed469() {
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) {
+checkUnnamed469(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'));
}
-buildUnnamed484() {
+buildUnnamed470() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed484(core.Map<core.String, core.String> o) {
+checkUnnamed470(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'));
@@ -669,11 +669,11 @@
buildCounterHiveJob++;
if (buildCounterHiveJob < 3) {
o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed482();
- o.properties = buildUnnamed483();
+ o.jarFileUris = buildUnnamed468();
+ o.properties = buildUnnamed469();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed484();
+ o.scriptVariables = buildUnnamed470();
}
buildCounterHiveJob--;
return o;
@@ -683,36 +683,36 @@
buildCounterHiveJob++;
if (buildCounterHiveJob < 3) {
unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed482(o.jarFileUris);
- checkUnnamed483(o.properties);
+ checkUnnamed468(o.jarFileUris);
+ checkUnnamed469(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed484(o.scriptVariables);
+ checkUnnamed470(o.scriptVariables);
}
buildCounterHiveJob--;
}
-buildUnnamed485() {
+buildUnnamed471() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed485(core.List<api.AcceleratorConfig> o) {
+checkUnnamed471(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed486() {
+buildUnnamed472() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed486(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'));
@@ -723,10 +723,10 @@
var o = new api.InstanceGroupConfig();
buildCounterInstanceGroupConfig++;
if (buildCounterInstanceGroupConfig < 3) {
- o.accelerators = buildUnnamed485();
+ o.accelerators = buildUnnamed471();
o.diskConfig = buildDiskConfig();
o.imageUri = "foo";
- o.instanceNames = buildUnnamed486();
+ o.instanceNames = buildUnnamed472();
o.isPreemptible = true;
o.machineTypeUri = "foo";
o.managedGroupConfig = buildManagedGroupConfig();
@@ -739,10 +739,10 @@
checkInstanceGroupConfig(api.InstanceGroupConfig o) {
buildCounterInstanceGroupConfig++;
if (buildCounterInstanceGroupConfig < 3) {
- checkUnnamed485(o.accelerators);
+ checkUnnamed471(o.accelerators);
checkDiskConfig(o.diskConfig);
unittest.expect(o.imageUri, unittest.equals('foo'));
- checkUnnamed486(o.instanceNames);
+ checkUnnamed472(o.instanceNames);
unittest.expect(o.isPreemptible, unittest.isTrue);
unittest.expect(o.machineTypeUri, unittest.equals('foo'));
checkManagedGroupConfig(o.managedGroupConfig);
@@ -751,40 +751,40 @@
buildCounterInstanceGroupConfig--;
}
-buildUnnamed487() {
+buildUnnamed473() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed487(core.Map<core.String, core.String> o) {
+checkUnnamed473(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'));
}
-buildUnnamed488() {
+buildUnnamed474() {
var o = new core.List<api.JobStatus>();
o.add(buildJobStatus());
o.add(buildJobStatus());
return o;
}
-checkUnnamed488(core.List<api.JobStatus> o) {
+checkUnnamed474(core.List<api.JobStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobStatus(o[0]);
checkJobStatus(o[1]);
}
-buildUnnamed489() {
+buildUnnamed475() {
var o = new core.List<api.YarnApplication>();
o.add(buildYarnApplication());
o.add(buildYarnApplication());
return o;
}
-checkUnnamed489(core.List<api.YarnApplication> o) {
+checkUnnamed475(core.List<api.YarnApplication> o) {
unittest.expect(o, unittest.hasLength(2));
checkYarnApplication(o[0]);
checkYarnApplication(o[1]);
@@ -799,7 +799,7 @@
o.driverOutputResourceUri = "foo";
o.hadoopJob = buildHadoopJob();
o.hiveJob = buildHiveJob();
- o.labels = buildUnnamed487();
+ o.labels = buildUnnamed473();
o.pigJob = buildPigJob();
o.placement = buildJobPlacement();
o.pysparkJob = buildPySparkJob();
@@ -808,8 +808,8 @@
o.sparkJob = buildSparkJob();
o.sparkSqlJob = buildSparkSqlJob();
o.status = buildJobStatus();
- o.statusHistory = buildUnnamed488();
- o.yarnApplications = buildUnnamed489();
+ o.statusHistory = buildUnnamed474();
+ o.yarnApplications = buildUnnamed475();
}
buildCounterJob--;
return o;
@@ -822,7 +822,7 @@
unittest.expect(o.driverOutputResourceUri, unittest.equals('foo'));
checkHadoopJob(o.hadoopJob);
checkHiveJob(o.hiveJob);
- checkUnnamed487(o.labels);
+ checkUnnamed473(o.labels);
checkPigJob(o.pigJob);
checkJobPlacement(o.placement);
checkPySparkJob(o.pysparkJob);
@@ -831,8 +831,8 @@
checkSparkJob(o.sparkJob);
checkSparkSqlJob(o.sparkSqlJob);
checkJobStatus(o.status);
- checkUnnamed488(o.statusHistory);
- checkUnnamed489(o.yarnApplications);
+ checkUnnamed474(o.statusHistory);
+ checkUnnamed475(o.yarnApplications);
}
buildCounterJob--;
}
@@ -923,14 +923,14 @@
buildCounterJobStatus--;
}
-buildUnnamed490() {
+buildUnnamed476() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed490(core.List<api.Cluster> o) {
+checkUnnamed476(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
@@ -941,7 +941,7 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed490();
+ o.clusters = buildUnnamed476();
o.nextPageToken = "foo";
}
buildCounterListClustersResponse--;
@@ -951,20 +951,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed490(o.clusters);
+ checkUnnamed476(o.clusters);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListClustersResponse--;
}
-buildUnnamed491() {
+buildUnnamed477() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed491(core.List<api.Job> o) {
+checkUnnamed477(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -975,7 +975,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed491();
+ o.jobs = buildUnnamed477();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -985,20 +985,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed491(o.jobs);
+ checkUnnamed477(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed492() {
+buildUnnamed478() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed492(core.List<api.Operation> o) {
+checkUnnamed478(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1010,7 +1010,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed492();
+ o.operations = buildUnnamed478();
}
buildCounterListOperationsResponse--;
return o;
@@ -1020,19 +1020,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed492(o.operations);
+ checkUnnamed478(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed493() {
+buildUnnamed479() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed493(core.Map<core.String, core.String> o) {
+checkUnnamed479(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'));
@@ -1043,7 +1043,7 @@
var o = new api.LoggingConfig();
buildCounterLoggingConfig++;
if (buildCounterLoggingConfig < 3) {
- o.driverLogLevels = buildUnnamed493();
+ o.driverLogLevels = buildUnnamed479();
}
buildCounterLoggingConfig--;
return o;
@@ -1052,7 +1052,7 @@
checkLoggingConfig(api.LoggingConfig o) {
buildCounterLoggingConfig++;
if (buildCounterLoggingConfig < 3) {
- checkUnnamed493(o.driverLogLevels);
+ checkUnnamed479(o.driverLogLevels);
}
buildCounterLoggingConfig--;
}
@@ -1099,27 +1099,27 @@
buildCounterNodeInitializationAction--;
}
-buildUnnamed494() {
+buildUnnamed480() {
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;
}
-checkUnnamed494(core.Map<core.String, core.Object> o) {
+checkUnnamed480(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'));
}
-buildUnnamed495() {
+buildUnnamed481() {
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;
}
-checkUnnamed495(core.Map<core.String, core.Object> o) {
+checkUnnamed481(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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["y"]) 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'));
@@ -1132,9 +1132,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed494();
+ o.metadata = buildUnnamed480();
o.name = "foo";
- o.response = buildUnnamed495();
+ o.response = buildUnnamed481();
}
buildCounterOperation--;
return o;
@@ -1145,34 +1145,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed494(o.metadata);
+ checkUnnamed480(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed495(o.response);
+ checkUnnamed481(o.response);
}
buildCounterOperation--;
}
-buildUnnamed496() {
+buildUnnamed482() {
var o = new core.List<api.OperationStatus>();
o.add(buildOperationStatus());
o.add(buildOperationStatus());
return o;
}
-checkUnnamed496(core.List<api.OperationStatus> o) {
+checkUnnamed482(core.List<api.OperationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationStatus(o[0]);
checkOperationStatus(o[1]);
}
-buildUnnamed497() {
+buildUnnamed483() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed497(core.List<core.String> o) {
+checkUnnamed483(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1194,8 +1194,8 @@
o.startTime = "foo";
o.state = "foo";
o.status = buildOperationStatus();
- o.statusHistory = buildUnnamed496();
- o.warnings = buildUnnamed497();
+ o.statusHistory = buildUnnamed482();
+ o.warnings = buildUnnamed483();
}
buildCounterOperationMetadata--;
return o;
@@ -1215,8 +1215,8 @@
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
checkOperationStatus(o.status);
- checkUnnamed496(o.statusHistory);
- checkUnnamed497(o.warnings);
+ checkUnnamed482(o.statusHistory);
+ checkUnnamed483(o.warnings);
}
buildCounterOperationMetadata--;
}
@@ -1246,6 +1246,292 @@
buildCounterOperationStatus--;
}
+buildUnnamed484() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed484(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed485() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed485(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'));
+}
+
+buildUnnamed486() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed486(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+core.int buildCounterPigJob = 0;
+buildPigJob() {
+ var o = new api.PigJob();
+ buildCounterPigJob++;
+ if (buildCounterPigJob < 3) {
+ o.continueOnFailure = true;
+ o.jarFileUris = buildUnnamed484();
+ o.loggingConfig = buildLoggingConfig();
+ o.properties = buildUnnamed485();
+ o.queryFileUri = "foo";
+ o.queryList = buildQueryList();
+ o.scriptVariables = buildUnnamed486();
+ }
+ buildCounterPigJob--;
+ return o;
+}
+
+checkPigJob(api.PigJob o) {
+ buildCounterPigJob++;
+ if (buildCounterPigJob < 3) {
+ unittest.expect(o.continueOnFailure, unittest.isTrue);
+ checkUnnamed484(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ checkUnnamed485(o.properties);
+ unittest.expect(o.queryFileUri, unittest.equals('foo'));
+ checkQueryList(o.queryList);
+ checkUnnamed486(o.scriptVariables);
+ }
+ buildCounterPigJob--;
+}
+
+buildUnnamed487() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed487(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed488() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed488(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed489() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed489(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed490() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed490(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed491() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed491(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'));
+}
+
+buildUnnamed492() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed492(core.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 buildCounterPySparkJob = 0;
+buildPySparkJob() {
+ var o = new api.PySparkJob();
+ buildCounterPySparkJob++;
+ if (buildCounterPySparkJob < 3) {
+ o.archiveUris = buildUnnamed487();
+ o.args = buildUnnamed488();
+ o.fileUris = buildUnnamed489();
+ o.jarFileUris = buildUnnamed490();
+ o.loggingConfig = buildLoggingConfig();
+ o.mainPythonFileUri = "foo";
+ o.properties = buildUnnamed491();
+ o.pythonFileUris = buildUnnamed492();
+ }
+ buildCounterPySparkJob--;
+ return o;
+}
+
+checkPySparkJob(api.PySparkJob o) {
+ buildCounterPySparkJob++;
+ if (buildCounterPySparkJob < 3) {
+ checkUnnamed487(o.archiveUris);
+ checkUnnamed488(o.args);
+ checkUnnamed489(o.fileUris);
+ checkUnnamed490(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
+ checkUnnamed491(o.properties);
+ checkUnnamed492(o.pythonFileUris);
+ }
+ buildCounterPySparkJob--;
+}
+
+buildUnnamed493() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed493(core.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 buildCounterQueryList = 0;
+buildQueryList() {
+ var o = new api.QueryList();
+ buildCounterQueryList++;
+ if (buildCounterQueryList < 3) {
+ o.queries = buildUnnamed493();
+ }
+ buildCounterQueryList--;
+ return o;
+}
+
+checkQueryList(api.QueryList o) {
+ buildCounterQueryList++;
+ if (buildCounterQueryList < 3) {
+ checkUnnamed493(o.queries);
+ }
+ buildCounterQueryList--;
+}
+
+buildUnnamed494() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed494(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+core.int buildCounterSoftwareConfig = 0;
+buildSoftwareConfig() {
+ var o = new api.SoftwareConfig();
+ buildCounterSoftwareConfig++;
+ if (buildCounterSoftwareConfig < 3) {
+ o.imageVersion = "foo";
+ o.properties = buildUnnamed494();
+ }
+ buildCounterSoftwareConfig--;
+ return o;
+}
+
+checkSoftwareConfig(api.SoftwareConfig o) {
+ buildCounterSoftwareConfig++;
+ if (buildCounterSoftwareConfig < 3) {
+ unittest.expect(o.imageVersion, unittest.equals('foo'));
+ checkUnnamed494(o.properties);
+ }
+ buildCounterSoftwareConfig--;
+}
+
+buildUnnamed495() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed496() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed496(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed497() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed497(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
buildUnnamed498() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1272,305 +1558,19 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed500() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed500(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-core.int buildCounterPigJob = 0;
-buildPigJob() {
- var o = new api.PigJob();
- buildCounterPigJob++;
- if (buildCounterPigJob < 3) {
- o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed498();
- o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed499();
- o.queryFileUri = "foo";
- o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed500();
- }
- buildCounterPigJob--;
- return o;
-}
-
-checkPigJob(api.PigJob o) {
- buildCounterPigJob++;
- if (buildCounterPigJob < 3) {
- unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed498(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- checkUnnamed499(o.properties);
- unittest.expect(o.queryFileUri, unittest.equals('foo'));
- checkQueryList(o.queryList);
- checkUnnamed500(o.scriptVariables);
- }
- buildCounterPigJob--;
-}
-
-buildUnnamed501() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed501(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed502(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed503() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed503(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed504() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed504(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed505() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed505(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'));
-}
-
-buildUnnamed506() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed506(core.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 buildCounterPySparkJob = 0;
-buildPySparkJob() {
- var o = new api.PySparkJob();
- buildCounterPySparkJob++;
- if (buildCounterPySparkJob < 3) {
- o.archiveUris = buildUnnamed501();
- o.args = buildUnnamed502();
- o.fileUris = buildUnnamed503();
- o.jarFileUris = buildUnnamed504();
- o.loggingConfig = buildLoggingConfig();
- o.mainPythonFileUri = "foo";
- o.properties = buildUnnamed505();
- o.pythonFileUris = buildUnnamed506();
- }
- buildCounterPySparkJob--;
- return o;
-}
-
-checkPySparkJob(api.PySparkJob o) {
- buildCounterPySparkJob++;
- if (buildCounterPySparkJob < 3) {
- checkUnnamed501(o.archiveUris);
- checkUnnamed502(o.args);
- checkUnnamed503(o.fileUris);
- checkUnnamed504(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
- checkUnnamed505(o.properties);
- checkUnnamed506(o.pythonFileUris);
- }
- buildCounterPySparkJob--;
-}
-
-buildUnnamed507() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed507(core.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 buildCounterQueryList = 0;
-buildQueryList() {
- var o = new api.QueryList();
- buildCounterQueryList++;
- if (buildCounterQueryList < 3) {
- o.queries = buildUnnamed507();
- }
- buildCounterQueryList--;
- return o;
-}
-
-checkQueryList(api.QueryList o) {
- buildCounterQueryList++;
- if (buildCounterQueryList < 3) {
- checkUnnamed507(o.queries);
- }
- buildCounterQueryList--;
-}
-
-buildUnnamed508() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed508(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-core.int buildCounterSoftwareConfig = 0;
-buildSoftwareConfig() {
- var o = new api.SoftwareConfig();
- buildCounterSoftwareConfig++;
- if (buildCounterSoftwareConfig < 3) {
- o.imageVersion = "foo";
- o.properties = buildUnnamed508();
- }
- buildCounterSoftwareConfig--;
- return o;
-}
-
-checkSoftwareConfig(api.SoftwareConfig o) {
- buildCounterSoftwareConfig++;
- if (buildCounterSoftwareConfig < 3) {
- unittest.expect(o.imageVersion, unittest.equals('foo'));
- checkUnnamed508(o.properties);
- }
- buildCounterSoftwareConfig--;
-}
-
-buildUnnamed509() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed509(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed510() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed510(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed511() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed511(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed512(core.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() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed513(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
core.int buildCounterSparkJob = 0;
buildSparkJob() {
var o = new api.SparkJob();
buildCounterSparkJob++;
if (buildCounterSparkJob < 3) {
- o.archiveUris = buildUnnamed509();
- o.args = buildUnnamed510();
- o.fileUris = buildUnnamed511();
- o.jarFileUris = buildUnnamed512();
+ o.archiveUris = buildUnnamed495();
+ o.args = buildUnnamed496();
+ o.fileUris = buildUnnamed497();
+ o.jarFileUris = buildUnnamed498();
o.loggingConfig = buildLoggingConfig();
o.mainClass = "foo";
o.mainJarFileUri = "foo";
- o.properties = buildUnnamed513();
+ o.properties = buildUnnamed499();
}
buildCounterSparkJob--;
return o;
@@ -1579,52 +1579,52 @@
checkSparkJob(api.SparkJob o) {
buildCounterSparkJob++;
if (buildCounterSparkJob < 3) {
- checkUnnamed509(o.archiveUris);
- checkUnnamed510(o.args);
- checkUnnamed511(o.fileUris);
- checkUnnamed512(o.jarFileUris);
+ checkUnnamed495(o.archiveUris);
+ checkUnnamed496(o.args);
+ checkUnnamed497(o.fileUris);
+ checkUnnamed498(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
unittest.expect(o.mainClass, unittest.equals('foo'));
unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed513(o.properties);
+ checkUnnamed499(o.properties);
}
buildCounterSparkJob--;
}
-buildUnnamed514() {
+buildUnnamed500() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed514(core.List<core.String> o) {
+checkUnnamed500(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed515() {
+buildUnnamed501() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed515(core.Map<core.String, core.String> o) {
+checkUnnamed501(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'));
}
-buildUnnamed516() {
+buildUnnamed502() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed516(core.Map<core.String, core.String> o) {
+checkUnnamed502(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'));
@@ -1635,12 +1635,12 @@
var o = new api.SparkSqlJob();
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- o.jarFileUris = buildUnnamed514();
+ o.jarFileUris = buildUnnamed500();
o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed515();
+ o.properties = buildUnnamed501();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed516();
+ o.scriptVariables = buildUnnamed502();
}
buildCounterSparkSqlJob--;
return o;
@@ -1649,40 +1649,40 @@
checkSparkSqlJob(api.SparkSqlJob o) {
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- checkUnnamed514(o.jarFileUris);
+ checkUnnamed500(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
- checkUnnamed515(o.properties);
+ checkUnnamed501(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed516(o.scriptVariables);
+ checkUnnamed502(o.scriptVariables);
}
buildCounterSparkSqlJob--;
}
-buildUnnamed517() {
+buildUnnamed503() {
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;
}
-checkUnnamed517(core.Map<core.String, core.Object> o) {
+checkUnnamed503(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed518() {
+buildUnnamed504() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed517());
- o.add(buildUnnamed517());
+ o.add(buildUnnamed503());
+ o.add(buildUnnamed503());
return o;
}
-checkUnnamed518(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed504(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed517(o[0]);
- checkUnnamed517(o[1]);
+ checkUnnamed503(o[0]);
+ checkUnnamed503(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1691,7 +1691,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed518();
+ o.details = buildUnnamed504();
o.message = "foo";
}
buildCounterStatus--;
@@ -1702,7 +1702,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed518(o.details);
+ checkUnnamed504(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2381,9 +2381,9 @@
api.ProjectsRegionsClustersResourceApi res = new api.DataprocApi(mock).projects.regions.clusters;
var arg_projectId = "foo";
var arg_region = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2424,9 +2424,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -2435,7 +2435,7 @@
var resp = convert.JSON.encode(buildListClustersResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, arg_region, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListClustersResponse response) {
+ res.list(arg_projectId, arg_region, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListClustersResponse response) {
checkListClustersResponse(response);
})));
});
@@ -2716,11 +2716,11 @@
api.ProjectsRegionsJobsResourceApi res = new api.DataprocApi(mock).projects.regions.jobs;
var arg_projectId = "foo";
var arg_region = "foo";
+ var arg_filter = "foo";
+ var arg_jobStateMatcher = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_clusterName = "foo";
- var arg_filter = "foo";
- var arg_jobStateMatcher = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2761,11 +2761,11 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["jobStateMatcher"].first, unittest.equals(arg_jobStateMatcher));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["clusterName"].first, unittest.equals(arg_clusterName));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["jobStateMatcher"].first, unittest.equals(arg_jobStateMatcher));
var h = {
@@ -2774,7 +2774,7 @@
var resp = convert.JSON.encode(buildListJobsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, arg_region, pageToken: arg_pageToken, pageSize: arg_pageSize, clusterName: arg_clusterName, filter: arg_filter, jobStateMatcher: arg_jobStateMatcher).then(unittest.expectAsync(((api.ListJobsResponse response) {
+ res.list(arg_projectId, arg_region, filter: arg_filter, jobStateMatcher: arg_jobStateMatcher, pageToken: arg_pageToken, pageSize: arg_pageSize, clusterName: arg_clusterName).then(unittest.expectAsync(((api.ListJobsResponse response) {
checkListJobsResponse(response);
})));
});
diff --git a/generated/googleapis/test/datastore/v1_test.dart b/generated/googleapis/test/datastore/v1_test.dart
index c16c975..7750291 100644
--- a/generated/googleapis/test/datastore/v1_test.dart
+++ b/generated/googleapis/test/datastore/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed587() {
+buildUnnamed573() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed587(core.List<api.Key> o) {
+checkUnnamed573(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -69,7 +69,7 @@
var o = new api.AllocateIdsRequest();
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- o.keys = buildUnnamed587();
+ o.keys = buildUnnamed573();
}
buildCounterAllocateIdsRequest--;
return o;
@@ -78,19 +78,19 @@
checkAllocateIdsRequest(api.AllocateIdsRequest o) {
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- checkUnnamed587(o.keys);
+ checkUnnamed573(o.keys);
}
buildCounterAllocateIdsRequest--;
}
-buildUnnamed588() {
+buildUnnamed574() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed588(core.List<api.Key> o) {
+checkUnnamed574(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -101,7 +101,7 @@
var o = new api.AllocateIdsResponse();
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- o.keys = buildUnnamed588();
+ o.keys = buildUnnamed574();
}
buildCounterAllocateIdsResponse--;
return o;
@@ -110,19 +110,19 @@
checkAllocateIdsResponse(api.AllocateIdsResponse o) {
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- checkUnnamed588(o.keys);
+ checkUnnamed574(o.keys);
}
buildCounterAllocateIdsResponse--;
}
-buildUnnamed589() {
+buildUnnamed575() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed589(core.List<api.Value> o) {
+checkUnnamed575(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -133,7 +133,7 @@
var o = new api.ArrayValue();
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- o.values = buildUnnamed589();
+ o.values = buildUnnamed575();
}
buildCounterArrayValue--;
return o;
@@ -142,7 +142,7 @@
checkArrayValue(api.ArrayValue o) {
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- checkUnnamed589(o.values);
+ checkUnnamed575(o.values);
}
buildCounterArrayValue--;
}
@@ -183,14 +183,14 @@
buildCounterBeginTransactionResponse--;
}
-buildUnnamed590() {
+buildUnnamed576() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed590(core.List<api.Mutation> o) {
+checkUnnamed576(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -202,7 +202,7 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
o.mode = "foo";
- o.mutations = buildUnnamed590();
+ o.mutations = buildUnnamed576();
o.transaction = "foo";
}
buildCounterCommitRequest--;
@@ -213,20 +213,20 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
unittest.expect(o.mode, unittest.equals('foo'));
- checkUnnamed590(o.mutations);
+ checkUnnamed576(o.mutations);
unittest.expect(o.transaction, unittest.equals('foo'));
}
buildCounterCommitRequest--;
}
-buildUnnamed591() {
+buildUnnamed577() {
var o = new core.List<api.MutationResult>();
o.add(buildMutationResult());
o.add(buildMutationResult());
return o;
}
-checkUnnamed591(core.List<api.MutationResult> o) {
+checkUnnamed577(core.List<api.MutationResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutationResult(o[0]);
checkMutationResult(o[1]);
@@ -238,7 +238,7 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
o.indexUpdates = 42;
- o.mutationResults = buildUnnamed591();
+ o.mutationResults = buildUnnamed577();
}
buildCounterCommitResponse--;
return o;
@@ -248,19 +248,19 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
unittest.expect(o.indexUpdates, unittest.equals(42));
- checkUnnamed591(o.mutationResults);
+ checkUnnamed577(o.mutationResults);
}
buildCounterCommitResponse--;
}
-buildUnnamed592() {
+buildUnnamed578() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed592(core.List<api.Filter> o) {
+checkUnnamed578(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -271,7 +271,7 @@
var o = new api.CompositeFilter();
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- o.filters = buildUnnamed592();
+ o.filters = buildUnnamed578();
o.op = "foo";
}
buildCounterCompositeFilter--;
@@ -281,20 +281,20 @@
checkCompositeFilter(api.CompositeFilter o) {
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- checkUnnamed592(o.filters);
+ checkUnnamed578(o.filters);
unittest.expect(o.op, unittest.equals('foo'));
}
buildCounterCompositeFilter--;
}
-buildUnnamed593() {
+buildUnnamed579() {
var o = new core.Map<core.String, api.Value>();
o["x"] = buildValue();
o["y"] = buildValue();
return o;
}
-checkUnnamed593(core.Map<core.String, api.Value> o) {
+checkUnnamed579(core.Map<core.String, api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o["x"]);
checkValue(o["y"]);
@@ -306,7 +306,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
o.key = buildKey();
- o.properties = buildUnnamed593();
+ o.properties = buildUnnamed579();
}
buildCounterEntity--;
return o;
@@ -316,7 +316,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
checkKey(o.key);
- checkUnnamed593(o.properties);
+ checkUnnamed579(o.properties);
}
buildCounterEntity--;
}
@@ -365,27 +365,27 @@
buildCounterFilter--;
}
-buildUnnamed594() {
+buildUnnamed580() {
var o = new core.Map<core.String, api.GqlQueryParameter>();
o["x"] = buildGqlQueryParameter();
o["y"] = buildGqlQueryParameter();
return o;
}
-checkUnnamed594(core.Map<core.String, api.GqlQueryParameter> o) {
+checkUnnamed580(core.Map<core.String, api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o["x"]);
checkGqlQueryParameter(o["y"]);
}
-buildUnnamed595() {
+buildUnnamed581() {
var o = new core.List<api.GqlQueryParameter>();
o.add(buildGqlQueryParameter());
o.add(buildGqlQueryParameter());
return o;
}
-checkUnnamed595(core.List<api.GqlQueryParameter> o) {
+checkUnnamed581(core.List<api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o[0]);
checkGqlQueryParameter(o[1]);
@@ -397,8 +397,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
o.allowLiterals = true;
- o.namedBindings = buildUnnamed594();
- o.positionalBindings = buildUnnamed595();
+ o.namedBindings = buildUnnamed580();
+ o.positionalBindings = buildUnnamed581();
o.queryString = "foo";
}
buildCounterGqlQuery--;
@@ -409,8 +409,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
unittest.expect(o.allowLiterals, unittest.isTrue);
- checkUnnamed594(o.namedBindings);
- checkUnnamed595(o.positionalBindings);
+ checkUnnamed580(o.namedBindings);
+ checkUnnamed581(o.positionalBindings);
unittest.expect(o.queryString, unittest.equals('foo'));
}
buildCounterGqlQuery--;
@@ -437,14 +437,14 @@
buildCounterGqlQueryParameter--;
}
-buildUnnamed596() {
+buildUnnamed582() {
var o = new core.List<api.PathElement>();
o.add(buildPathElement());
o.add(buildPathElement());
return o;
}
-checkUnnamed596(core.List<api.PathElement> o) {
+checkUnnamed582(core.List<api.PathElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathElement(o[0]);
checkPathElement(o[1]);
@@ -456,7 +456,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
o.partitionId = buildPartitionId();
- o.path = buildUnnamed596();
+ o.path = buildUnnamed582();
}
buildCounterKey--;
return o;
@@ -466,7 +466,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
checkPartitionId(o.partitionId);
- checkUnnamed596(o.path);
+ checkUnnamed582(o.path);
}
buildCounterKey--;
}
@@ -511,14 +511,14 @@
buildCounterLatLng--;
}
-buildUnnamed597() {
+buildUnnamed583() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed597(core.List<api.Key> o) {
+checkUnnamed583(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -529,7 +529,7 @@
var o = new api.LookupRequest();
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- o.keys = buildUnnamed597();
+ o.keys = buildUnnamed583();
o.readOptions = buildReadOptions();
}
buildCounterLookupRequest--;
@@ -539,46 +539,46 @@
checkLookupRequest(api.LookupRequest o) {
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- checkUnnamed597(o.keys);
+ checkUnnamed583(o.keys);
checkReadOptions(o.readOptions);
}
buildCounterLookupRequest--;
}
-buildUnnamed598() {
+buildUnnamed584() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed598(core.List<api.Key> o) {
+checkUnnamed584(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed599() {
+buildUnnamed585() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed599(core.List<api.EntityResult> o) {
+checkUnnamed585(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
}
-buildUnnamed600() {
+buildUnnamed586() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed600(core.List<api.EntityResult> o) {
+checkUnnamed586(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -589,9 +589,9 @@
var o = new api.LookupResponse();
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- o.deferred = buildUnnamed598();
- o.found = buildUnnamed599();
- o.missing = buildUnnamed600();
+ o.deferred = buildUnnamed584();
+ o.found = buildUnnamed585();
+ o.missing = buildUnnamed586();
}
buildCounterLookupResponse--;
return o;
@@ -600,9 +600,9 @@
checkLookupResponse(api.LookupResponse o) {
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- checkUnnamed598(o.deferred);
- checkUnnamed599(o.found);
- checkUnnamed600(o.missing);
+ checkUnnamed584(o.deferred);
+ checkUnnamed585(o.found);
+ checkUnnamed586(o.missing);
}
buildCounterLookupResponse--;
}
@@ -783,53 +783,53 @@
buildCounterPropertyReference--;
}
-buildUnnamed601() {
+buildUnnamed587() {
var o = new core.List<api.PropertyReference>();
o.add(buildPropertyReference());
o.add(buildPropertyReference());
return o;
}
-checkUnnamed601(core.List<api.PropertyReference> o) {
+checkUnnamed587(core.List<api.PropertyReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyReference(o[0]);
checkPropertyReference(o[1]);
}
-buildUnnamed602() {
+buildUnnamed588() {
var o = new core.List<api.KindExpression>();
o.add(buildKindExpression());
o.add(buildKindExpression());
return o;
}
-checkUnnamed602(core.List<api.KindExpression> o) {
+checkUnnamed588(core.List<api.KindExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkKindExpression(o[0]);
checkKindExpression(o[1]);
}
-buildUnnamed603() {
+buildUnnamed589() {
var o = new core.List<api.PropertyOrder>();
o.add(buildPropertyOrder());
o.add(buildPropertyOrder());
return o;
}
-checkUnnamed603(core.List<api.PropertyOrder> o) {
+checkUnnamed589(core.List<api.PropertyOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyOrder(o[0]);
checkPropertyOrder(o[1]);
}
-buildUnnamed604() {
+buildUnnamed590() {
var o = new core.List<api.Projection>();
o.add(buildProjection());
o.add(buildProjection());
return o;
}
-checkUnnamed604(core.List<api.Projection> o) {
+checkUnnamed590(core.List<api.Projection> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjection(o[0]);
checkProjection(o[1]);
@@ -840,14 +840,14 @@
var o = new api.Query();
buildCounterQuery++;
if (buildCounterQuery < 3) {
- o.distinctOn = buildUnnamed601();
+ o.distinctOn = buildUnnamed587();
o.endCursor = "foo";
o.filter = buildFilter();
- o.kind = buildUnnamed602();
+ o.kind = buildUnnamed588();
o.limit = 42;
o.offset = 42;
- o.order = buildUnnamed603();
- o.projection = buildUnnamed604();
+ o.order = buildUnnamed589();
+ o.projection = buildUnnamed590();
o.startCursor = "foo";
}
buildCounterQuery--;
@@ -857,27 +857,27 @@
checkQuery(api.Query o) {
buildCounterQuery++;
if (buildCounterQuery < 3) {
- checkUnnamed601(o.distinctOn);
+ checkUnnamed587(o.distinctOn);
unittest.expect(o.endCursor, unittest.equals('foo'));
checkFilter(o.filter);
- checkUnnamed602(o.kind);
+ checkUnnamed588(o.kind);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.offset, unittest.equals(42));
- checkUnnamed603(o.order);
- checkUnnamed604(o.projection);
+ checkUnnamed589(o.order);
+ checkUnnamed590(o.projection);
unittest.expect(o.startCursor, unittest.equals('foo'));
}
buildCounterQuery--;
}
-buildUnnamed605() {
+buildUnnamed591() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed605(core.List<api.EntityResult> o) {
+checkUnnamed591(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -890,7 +890,7 @@
if (buildCounterQueryResultBatch < 3) {
o.endCursor = "foo";
o.entityResultType = "foo";
- o.entityResults = buildUnnamed605();
+ o.entityResults = buildUnnamed591();
o.moreResults = "foo";
o.skippedCursor = "foo";
o.skippedResults = 42;
@@ -905,7 +905,7 @@
if (buildCounterQueryResultBatch < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
unittest.expect(o.entityResultType, unittest.equals('foo'));
- checkUnnamed605(o.entityResults);
+ checkUnnamed591(o.entityResults);
unittest.expect(o.moreResults, unittest.equals('foo'));
unittest.expect(o.skippedCursor, unittest.equals('foo'));
unittest.expect(o.skippedResults, unittest.equals(42));
diff --git a/generated/googleapis/test/deploymentmanager/v2_test.dart b/generated/googleapis/test/deploymentmanager/v2_test.dart
index 50e2809..5c1457d 100644
--- a/generated/googleapis/test/deploymentmanager/v2_test.dart
+++ b/generated/googleapis/test/deploymentmanager/v2_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1961() {
+buildUnnamed1973() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1961(core.List<api.AuditLogConfig> o) {
+checkUnnamed1973(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1962() {
+buildUnnamed1974() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1962(core.List<core.String> o) {
+checkUnnamed1974(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1961();
- o.exemptedMembers = buildUnnamed1962();
+ o.auditLogConfigs = buildUnnamed1973();
+ o.exemptedMembers = buildUnnamed1974();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1961(o.auditLogConfigs);
- checkUnnamed1962(o.exemptedMembers);
+ checkUnnamed1973(o.auditLogConfigs);
+ checkUnnamed1974(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1963() {
+buildUnnamed1975() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1963(core.List<core.String> o) {
+checkUnnamed1975(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1963();
+ o.exemptedMembers = buildUnnamed1975();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,20 +128,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1963(o.exemptedMembers);
+ checkUnnamed1975(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed1964() {
+buildUnnamed1976() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1964(core.List<core.String> o) {
+checkUnnamed1976(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -152,7 +152,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1964();
+ o.members = buildUnnamed1976();
o.role = "foo";
}
buildCounterBinding--;
@@ -162,20 +162,20 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1964(o.members);
+ checkUnnamed1976(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed1965() {
+buildUnnamed1977() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1965(core.List<core.String> o) {
+checkUnnamed1977(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -191,7 +191,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed1965();
+ o.values = buildUnnamed1977();
}
buildCounterCondition--;
return o;
@@ -205,7 +205,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed1965(o.values);
+ checkUnnamed1977(o.values);
}
buildCounterCondition--;
}
@@ -229,14 +229,14 @@
buildCounterConfigFile--;
}
-buildUnnamed1966() {
+buildUnnamed1978() {
var o = new core.List<api.DeploymentLabelEntry>();
o.add(buildDeploymentLabelEntry());
o.add(buildDeploymentLabelEntry());
return o;
}
-checkUnnamed1966(core.List<api.DeploymentLabelEntry> o) {
+checkUnnamed1978(core.List<api.DeploymentLabelEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeploymentLabelEntry(o[0]);
checkDeploymentLabelEntry(o[1]);
@@ -251,7 +251,7 @@
o.fingerprint = "foo";
o.id = "foo";
o.insertTime = "foo";
- o.labels = buildUnnamed1966();
+ o.labels = buildUnnamed1978();
o.manifest = "foo";
o.name = "foo";
o.operation = buildOperation();
@@ -270,7 +270,7 @@
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.insertTime, unittest.equals('foo'));
- checkUnnamed1966(o.labels);
+ checkUnnamed1978(o.labels);
unittest.expect(o.manifest, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkOperation(o.operation);
@@ -302,14 +302,14 @@
buildCounterDeploymentLabelEntry--;
}
-buildUnnamed1967() {
+buildUnnamed1979() {
var o = new core.List<api.DeploymentUpdateLabelEntry>();
o.add(buildDeploymentUpdateLabelEntry());
o.add(buildDeploymentUpdateLabelEntry());
return o;
}
-checkUnnamed1967(core.List<api.DeploymentUpdateLabelEntry> o) {
+checkUnnamed1979(core.List<api.DeploymentUpdateLabelEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeploymentUpdateLabelEntry(o[0]);
checkDeploymentUpdateLabelEntry(o[1]);
@@ -321,7 +321,7 @@
buildCounterDeploymentUpdate++;
if (buildCounterDeploymentUpdate < 3) {
o.description = "foo";
- o.labels = buildUnnamed1967();
+ o.labels = buildUnnamed1979();
o.manifest = "foo";
}
buildCounterDeploymentUpdate--;
@@ -332,7 +332,7 @@
buildCounterDeploymentUpdate++;
if (buildCounterDeploymentUpdate < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1967(o.labels);
+ checkUnnamed1979(o.labels);
unittest.expect(o.manifest, unittest.equals('foo'));
}
buildCounterDeploymentUpdate--;
@@ -378,14 +378,14 @@
buildCounterDeploymentsCancelPreviewRequest--;
}
-buildUnnamed1968() {
+buildUnnamed1980() {
var o = new core.List<api.Deployment>();
o.add(buildDeployment());
o.add(buildDeployment());
return o;
}
-checkUnnamed1968(core.List<api.Deployment> o) {
+checkUnnamed1980(core.List<api.Deployment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeployment(o[0]);
checkDeployment(o[1]);
@@ -396,7 +396,7 @@
var o = new api.DeploymentsListResponse();
buildCounterDeploymentsListResponse++;
if (buildCounterDeploymentsListResponse < 3) {
- o.deployments = buildUnnamed1968();
+ o.deployments = buildUnnamed1980();
o.nextPageToken = "foo";
}
buildCounterDeploymentsListResponse--;
@@ -406,7 +406,7 @@
checkDeploymentsListResponse(api.DeploymentsListResponse o) {
buildCounterDeploymentsListResponse++;
if (buildCounterDeploymentsListResponse < 3) {
- checkUnnamed1968(o.deployments);
+ checkUnnamed1980(o.deployments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDeploymentsListResponse--;
@@ -492,14 +492,14 @@
buildCounterLogConfigCounterOptions--;
}
-buildUnnamed1969() {
+buildUnnamed1981() {
var o = new core.List<api.ImportFile>();
o.add(buildImportFile());
o.add(buildImportFile());
return o;
}
-checkUnnamed1969(core.List<api.ImportFile> o) {
+checkUnnamed1981(core.List<api.ImportFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkImportFile(o[0]);
checkImportFile(o[1]);
@@ -513,7 +513,7 @@
o.config = buildConfigFile();
o.expandedConfig = "foo";
o.id = "foo";
- o.imports = buildUnnamed1969();
+ o.imports = buildUnnamed1981();
o.insertTime = "foo";
o.layout = "foo";
o.name = "foo";
@@ -529,7 +529,7 @@
checkConfigFile(o.config);
unittest.expect(o.expandedConfig, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1969(o.imports);
+ checkUnnamed1981(o.imports);
unittest.expect(o.insertTime, unittest.equals('foo'));
unittest.expect(o.layout, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -538,14 +538,14 @@
buildCounterManifest--;
}
-buildUnnamed1970() {
+buildUnnamed1982() {
var o = new core.List<api.Manifest>();
o.add(buildManifest());
o.add(buildManifest());
return o;
}
-checkUnnamed1970(core.List<api.Manifest> o) {
+checkUnnamed1982(core.List<api.Manifest> o) {
unittest.expect(o, unittest.hasLength(2));
checkManifest(o[0]);
checkManifest(o[1]);
@@ -556,7 +556,7 @@
var o = new api.ManifestsListResponse();
buildCounterManifestsListResponse++;
if (buildCounterManifestsListResponse < 3) {
- o.manifests = buildUnnamed1970();
+ o.manifests = buildUnnamed1982();
o.nextPageToken = "foo";
}
buildCounterManifestsListResponse--;
@@ -566,7 +566,7 @@
checkManifestsListResponse(api.ManifestsListResponse o) {
buildCounterManifestsListResponse++;
if (buildCounterManifestsListResponse < 3) {
- checkUnnamed1970(o.manifests);
+ checkUnnamed1982(o.manifests);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManifestsListResponse--;
@@ -595,14 +595,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed1971() {
+buildUnnamed1983() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed1971(core.List<api.OperationErrorErrors> o) {
+checkUnnamed1983(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -613,7 +613,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed1971();
+ o.errors = buildUnnamed1983();
}
buildCounterOperationError--;
return o;
@@ -622,7 +622,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed1971(o.errors);
+ checkUnnamed1983(o.errors);
}
buildCounterOperationError--;
}
@@ -648,14 +648,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed1972() {
+buildUnnamed1984() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed1972(core.List<api.OperationWarningsData> o) {
+checkUnnamed1984(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -667,7 +667,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed1972();
+ o.data = buildUnnamed1984();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -678,20 +678,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1972(o.data);
+ checkUnnamed1984(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed1973() {
+buildUnnamed1985() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed1973(core.List<api.OperationWarnings> o) {
+checkUnnamed1985(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -723,7 +723,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed1973();
+ o.warnings = buildUnnamed1985();
o.zone = "foo";
}
buildCounterOperation--;
@@ -754,20 +754,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed1973(o.warnings);
+ checkUnnamed1985(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed1974() {
+buildUnnamed1986() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1974(core.List<api.Operation> o) {
+checkUnnamed1986(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -779,7 +779,7 @@
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1974();
+ o.operations = buildUnnamed1986();
}
buildCounterOperationsListResponse--;
return o;
@@ -789,45 +789,45 @@
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1974(o.operations);
+ checkUnnamed1986(o.operations);
}
buildCounterOperationsListResponse--;
}
-buildUnnamed1975() {
+buildUnnamed1987() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1975(core.List<api.AuditConfig> o) {
+checkUnnamed1987(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1976() {
+buildUnnamed1988() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1976(core.List<api.Binding> o) {
+checkUnnamed1988(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed1977() {
+buildUnnamed1989() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1977(core.List<api.Rule> o) {
+checkUnnamed1989(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -838,11 +838,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1975();
- o.bindings = buildUnnamed1976();
+ o.auditConfigs = buildUnnamed1987();
+ o.bindings = buildUnnamed1988();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed1977();
+ o.rules = buildUnnamed1989();
o.version = 42;
}
buildCounterPolicy--;
@@ -852,11 +852,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1975(o.auditConfigs);
- checkUnnamed1976(o.bindings);
+ checkUnnamed1987(o.auditConfigs);
+ checkUnnamed1988(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed1977(o.rules);
+ checkUnnamed1989(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -883,14 +883,14 @@
buildCounterResourceWarningsData--;
}
-buildUnnamed1978() {
+buildUnnamed1990() {
var o = new core.List<api.ResourceWarningsData>();
o.add(buildResourceWarningsData());
o.add(buildResourceWarningsData());
return o;
}
-checkUnnamed1978(core.List<api.ResourceWarningsData> o) {
+checkUnnamed1990(core.List<api.ResourceWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceWarningsData(o[0]);
checkResourceWarningsData(o[1]);
@@ -902,7 +902,7 @@
buildCounterResourceWarnings++;
if (buildCounterResourceWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed1978();
+ o.data = buildUnnamed1990();
o.message = "foo";
}
buildCounterResourceWarnings--;
@@ -913,20 +913,20 @@
buildCounterResourceWarnings++;
if (buildCounterResourceWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1978(o.data);
+ checkUnnamed1990(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourceWarnings--;
}
-buildUnnamed1979() {
+buildUnnamed1991() {
var o = new core.List<api.ResourceWarnings>();
o.add(buildResourceWarnings());
o.add(buildResourceWarnings());
return o;
}
-checkUnnamed1979(core.List<api.ResourceWarnings> o) {
+checkUnnamed1991(core.List<api.ResourceWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceWarnings(o[0]);
checkResourceWarnings(o[1]);
@@ -948,7 +948,7 @@
o.update = buildResourceUpdate();
o.updateTime = "foo";
o.url = "foo";
- o.warnings = buildUnnamed1979();
+ o.warnings = buildUnnamed1991();
}
buildCounterResource--;
return o;
@@ -968,7 +968,7 @@
checkResourceUpdate(o.update);
unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
- checkUnnamed1979(o.warnings);
+ checkUnnamed1991(o.warnings);
}
buildCounterResource--;
}
@@ -1015,14 +1015,14 @@
buildCounterResourceUpdateErrorErrors--;
}
-buildUnnamed1980() {
+buildUnnamed1992() {
var o = new core.List<api.ResourceUpdateErrorErrors>();
o.add(buildResourceUpdateErrorErrors());
o.add(buildResourceUpdateErrorErrors());
return o;
}
-checkUnnamed1980(core.List<api.ResourceUpdateErrorErrors> o) {
+checkUnnamed1992(core.List<api.ResourceUpdateErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateErrorErrors(o[0]);
checkResourceUpdateErrorErrors(o[1]);
@@ -1033,7 +1033,7 @@
var o = new api.ResourceUpdateError();
buildCounterResourceUpdateError++;
if (buildCounterResourceUpdateError < 3) {
- o.errors = buildUnnamed1980();
+ o.errors = buildUnnamed1992();
}
buildCounterResourceUpdateError--;
return o;
@@ -1042,7 +1042,7 @@
checkResourceUpdateError(api.ResourceUpdateError o) {
buildCounterResourceUpdateError++;
if (buildCounterResourceUpdateError < 3) {
- checkUnnamed1980(o.errors);
+ checkUnnamed1992(o.errors);
}
buildCounterResourceUpdateError--;
}
@@ -1068,14 +1068,14 @@
buildCounterResourceUpdateWarningsData--;
}
-buildUnnamed1981() {
+buildUnnamed1993() {
var o = new core.List<api.ResourceUpdateWarningsData>();
o.add(buildResourceUpdateWarningsData());
o.add(buildResourceUpdateWarningsData());
return o;
}
-checkUnnamed1981(core.List<api.ResourceUpdateWarningsData> o) {
+checkUnnamed1993(core.List<api.ResourceUpdateWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateWarningsData(o[0]);
checkResourceUpdateWarningsData(o[1]);
@@ -1087,7 +1087,7 @@
buildCounterResourceUpdateWarnings++;
if (buildCounterResourceUpdateWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed1981();
+ o.data = buildUnnamed1993();
o.message = "foo";
}
buildCounterResourceUpdateWarnings--;
@@ -1098,20 +1098,20 @@
buildCounterResourceUpdateWarnings++;
if (buildCounterResourceUpdateWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1981(o.data);
+ checkUnnamed1993(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourceUpdateWarnings--;
}
-buildUnnamed1982() {
+buildUnnamed1994() {
var o = new core.List<api.ResourceUpdateWarnings>();
o.add(buildResourceUpdateWarnings());
o.add(buildResourceUpdateWarnings());
return o;
}
-checkUnnamed1982(core.List<api.ResourceUpdateWarnings> o) {
+checkUnnamed1994(core.List<api.ResourceUpdateWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateWarnings(o[0]);
checkResourceUpdateWarnings(o[1]);
@@ -1129,7 +1129,7 @@
o.manifest = "foo";
o.properties = "foo";
o.state = "foo";
- o.warnings = buildUnnamed1982();
+ o.warnings = buildUnnamed1994();
}
buildCounterResourceUpdate--;
return o;
@@ -1145,19 +1145,19 @@
unittest.expect(o.manifest, unittest.equals('foo'));
unittest.expect(o.properties, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed1982(o.warnings);
+ checkUnnamed1994(o.warnings);
}
buildCounterResourceUpdate--;
}
-buildUnnamed1983() {
+buildUnnamed1995() {
var o = new core.List<api.Resource>();
o.add(buildResource());
o.add(buildResource());
return o;
}
-checkUnnamed1983(core.List<api.Resource> o) {
+checkUnnamed1995(core.List<api.Resource> o) {
unittest.expect(o, unittest.hasLength(2));
checkResource(o[0]);
checkResource(o[1]);
@@ -1169,7 +1169,7 @@
buildCounterResourcesListResponse++;
if (buildCounterResourcesListResponse < 3) {
o.nextPageToken = "foo";
- o.resources = buildUnnamed1983();
+ o.resources = buildUnnamed1995();
}
buildCounterResourcesListResponse--;
return o;
@@ -1179,71 +1179,71 @@
buildCounterResourcesListResponse++;
if (buildCounterResourcesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1983(o.resources);
+ checkUnnamed1995(o.resources);
}
buildCounterResourcesListResponse--;
}
-buildUnnamed1984() {
+buildUnnamed1996() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1984(core.List<api.Condition> o) {
+checkUnnamed1996(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1985() {
+buildUnnamed1997() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1985(core.List<core.String> o) {
+checkUnnamed1997(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1986() {
+buildUnnamed1998() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed1986(core.List<api.LogConfig> o) {
+checkUnnamed1998(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed1987() {
+buildUnnamed1999() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1987(core.List<core.String> o) {
+checkUnnamed1999(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1988() {
+buildUnnamed2000() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1988(core.List<core.String> o) {
+checkUnnamed2000(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1255,12 +1255,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed1984();
+ o.conditions = buildUnnamed1996();
o.description = "foo";
- o.ins = buildUnnamed1985();
- o.logConfigs = buildUnnamed1986();
- o.notIns = buildUnnamed1987();
- o.permissions = buildUnnamed1988();
+ o.ins = buildUnnamed1997();
+ o.logConfigs = buildUnnamed1998();
+ o.notIns = buildUnnamed1999();
+ o.permissions = buildUnnamed2000();
}
buildCounterRule--;
return o;
@@ -1270,24 +1270,24 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed1984(o.conditions);
+ checkUnnamed1996(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1985(o.ins);
- checkUnnamed1986(o.logConfigs);
- checkUnnamed1987(o.notIns);
- checkUnnamed1988(o.permissions);
+ checkUnnamed1997(o.ins);
+ checkUnnamed1998(o.logConfigs);
+ checkUnnamed1999(o.notIns);
+ checkUnnamed2000(o.permissions);
}
buildCounterRule--;
}
-buildUnnamed1989() {
+buildUnnamed2001() {
var o = new core.List<api.ImportFile>();
o.add(buildImportFile());
o.add(buildImportFile());
return o;
}
-checkUnnamed1989(core.List<api.ImportFile> o) {
+checkUnnamed2001(core.List<api.ImportFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkImportFile(o[0]);
checkImportFile(o[1]);
@@ -1299,7 +1299,7 @@
buildCounterTargetConfiguration++;
if (buildCounterTargetConfiguration < 3) {
o.config = buildConfigFile();
- o.imports = buildUnnamed1989();
+ o.imports = buildUnnamed2001();
}
buildCounterTargetConfiguration--;
return o;
@@ -1309,19 +1309,19 @@
buildCounterTargetConfiguration++;
if (buildCounterTargetConfiguration < 3) {
checkConfigFile(o.config);
- checkUnnamed1989(o.imports);
+ checkUnnamed2001(o.imports);
}
buildCounterTargetConfiguration--;
}
-buildUnnamed1990() {
+buildUnnamed2002() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1990(core.List<core.String> o) {
+checkUnnamed2002(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1332,7 +1332,7 @@
var o = new api.TestPermissionsRequest();
buildCounterTestPermissionsRequest++;
if (buildCounterTestPermissionsRequest < 3) {
- o.permissions = buildUnnamed1990();
+ o.permissions = buildUnnamed2002();
}
buildCounterTestPermissionsRequest--;
return o;
@@ -1341,19 +1341,19 @@
checkTestPermissionsRequest(api.TestPermissionsRequest o) {
buildCounterTestPermissionsRequest++;
if (buildCounterTestPermissionsRequest < 3) {
- checkUnnamed1990(o.permissions);
+ checkUnnamed2002(o.permissions);
}
buildCounterTestPermissionsRequest--;
}
-buildUnnamed1991() {
+buildUnnamed2003() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1991(core.List<core.String> o) {
+checkUnnamed2003(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1364,7 +1364,7 @@
var o = new api.TestPermissionsResponse();
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- o.permissions = buildUnnamed1991();
+ o.permissions = buildUnnamed2003();
}
buildCounterTestPermissionsResponse--;
return o;
@@ -1373,7 +1373,7 @@
checkTestPermissionsResponse(api.TestPermissionsResponse o) {
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- checkUnnamed1991(o.permissions);
+ checkUnnamed2003(o.permissions);
}
buildCounterTestPermissionsResponse--;
}
@@ -1405,14 +1405,14 @@
buildCounterType--;
}
-buildUnnamed1992() {
+buildUnnamed2004() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1992(core.List<api.Type> o) {
+checkUnnamed2004(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -1424,7 +1424,7 @@
buildCounterTypesListResponse++;
if (buildCounterTypesListResponse < 3) {
o.nextPageToken = "foo";
- o.types = buildUnnamed1992();
+ o.types = buildUnnamed2004();
}
buildCounterTypesListResponse--;
return o;
@@ -1434,7 +1434,7 @@
buildCounterTypesListResponse++;
if (buildCounterTypesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1992(o.types);
+ checkUnnamed2004(o.types);
}
buildCounterTypesListResponse--;
}
diff --git a/generated/googleapis/test/dfareporting/v2_6_test.dart b/generated/googleapis/test/dfareporting/v2_6_test.dart
index 5007cf2..a996498 100644
--- a/generated/googleapis/test/dfareporting/v2_6_test.dart
+++ b/generated/googleapis/test/dfareporting/v2_6_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2526() {
+buildUnnamed2540() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2526(core.List<core.String> o) {
+checkUnnamed2540(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2527() {
+buildUnnamed2541() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2527(core.List<core.String> o) {
+checkUnnamed2541(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,12 +82,12 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.accountPermissionIds = buildUnnamed2526();
+ o.accountPermissionIds = buildUnnamed2540();
o.accountProfile = "foo";
o.active = true;
o.activeAdsLimitTier = "foo";
o.activeViewOptOut = true;
- o.availablePermissionIds = buildUnnamed2527();
+ o.availablePermissionIds = buildUnnamed2541();
o.countryId = "foo";
o.currencyId = "foo";
o.defaultCreativeSizeId = "foo";
@@ -109,12 +109,12 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed2526(o.accountPermissionIds);
+ checkUnnamed2540(o.accountPermissionIds);
unittest.expect(o.accountProfile, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.activeAdsLimitTier, unittest.equals('foo'));
unittest.expect(o.activeViewOptOut, unittest.isTrue);
- checkUnnamed2527(o.availablePermissionIds);
+ checkUnnamed2541(o.availablePermissionIds);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo'));
@@ -159,14 +159,14 @@
buildCounterAccountActiveAdSummary--;
}
-buildUnnamed2528() {
+buildUnnamed2542() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2528(core.List<core.String> o) {
+checkUnnamed2542(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -177,7 +177,7 @@
var o = new api.AccountPermission();
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- o.accountProfiles = buildUnnamed2528();
+ o.accountProfiles = buildUnnamed2542();
o.id = "foo";
o.kind = "foo";
o.level = "foo";
@@ -191,7 +191,7 @@
checkAccountPermission(api.AccountPermission o) {
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- checkUnnamed2528(o.accountProfiles);
+ checkUnnamed2542(o.accountProfiles);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
@@ -224,14 +224,14 @@
buildCounterAccountPermissionGroup--;
}
-buildUnnamed2529() {
+buildUnnamed2543() {
var o = new core.List<api.AccountPermissionGroup>();
o.add(buildAccountPermissionGroup());
o.add(buildAccountPermissionGroup());
return o;
}
-checkUnnamed2529(core.List<api.AccountPermissionGroup> o) {
+checkUnnamed2543(core.List<api.AccountPermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermissionGroup(o[0]);
checkAccountPermissionGroup(o[1]);
@@ -242,7 +242,7 @@
var o = new api.AccountPermissionGroupsListResponse();
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- o.accountPermissionGroups = buildUnnamed2529();
+ o.accountPermissionGroups = buildUnnamed2543();
o.kind = "foo";
}
buildCounterAccountPermissionGroupsListResponse--;
@@ -252,20 +252,20 @@
checkAccountPermissionGroupsListResponse(api.AccountPermissionGroupsListResponse o) {
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- checkUnnamed2529(o.accountPermissionGroups);
+ checkUnnamed2543(o.accountPermissionGroups);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionGroupsListResponse--;
}
-buildUnnamed2530() {
+buildUnnamed2544() {
var o = new core.List<api.AccountPermission>();
o.add(buildAccountPermission());
o.add(buildAccountPermission());
return o;
}
-checkUnnamed2530(core.List<api.AccountPermission> o) {
+checkUnnamed2544(core.List<api.AccountPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermission(o[0]);
checkAccountPermission(o[1]);
@@ -276,7 +276,7 @@
var o = new api.AccountPermissionsListResponse();
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- o.accountPermissions = buildUnnamed2530();
+ o.accountPermissions = buildUnnamed2544();
o.kind = "foo";
}
buildCounterAccountPermissionsListResponse--;
@@ -286,7 +286,7 @@
checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) {
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- checkUnnamed2530(o.accountPermissions);
+ checkUnnamed2544(o.accountPermissions);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionsListResponse--;
@@ -341,14 +341,14 @@
buildCounterAccountUserProfile--;
}
-buildUnnamed2531() {
+buildUnnamed2545() {
var o = new core.List<api.AccountUserProfile>();
o.add(buildAccountUserProfile());
o.add(buildAccountUserProfile());
return o;
}
-checkUnnamed2531(core.List<api.AccountUserProfile> o) {
+checkUnnamed2545(core.List<api.AccountUserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountUserProfile(o[0]);
checkAccountUserProfile(o[1]);
@@ -359,7 +359,7 @@
var o = new api.AccountUserProfilesListResponse();
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- o.accountUserProfiles = buildUnnamed2531();
+ o.accountUserProfiles = buildUnnamed2545();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -370,21 +370,21 @@
checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) {
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- checkUnnamed2531(o.accountUserProfiles);
+ checkUnnamed2545(o.accountUserProfiles);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountUserProfilesListResponse--;
}
-buildUnnamed2532() {
+buildUnnamed2546() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed2532(core.List<api.Account> o) {
+checkUnnamed2546(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -395,7 +395,7 @@
var o = new api.AccountsListResponse();
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- o.accounts = buildUnnamed2532();
+ o.accounts = buildUnnamed2546();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,34 +406,34 @@
checkAccountsListResponse(api.AccountsListResponse o) {
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- checkUnnamed2532(o.accounts);
+ checkUnnamed2546(o.accounts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountsListResponse--;
}
-buildUnnamed2533() {
+buildUnnamed2547() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2533(core.List<api.DimensionValue> o) {
+checkUnnamed2547(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2534() {
+buildUnnamed2548() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2534(core.List<core.String> o) {
+checkUnnamed2548(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -444,9 +444,9 @@
var o = new api.Activities();
buildCounterActivities++;
if (buildCounterActivities < 3) {
- o.filters = buildUnnamed2533();
+ o.filters = buildUnnamed2547();
o.kind = "foo";
- o.metricNames = buildUnnamed2534();
+ o.metricNames = buildUnnamed2548();
}
buildCounterActivities--;
return o;
@@ -455,47 +455,47 @@
checkActivities(api.Activities o) {
buildCounterActivities++;
if (buildCounterActivities < 3) {
- checkUnnamed2533(o.filters);
+ checkUnnamed2547(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2534(o.metricNames);
+ checkUnnamed2548(o.metricNames);
}
buildCounterActivities--;
}
-buildUnnamed2535() {
+buildUnnamed2549() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2535(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed2549(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2536() {
+buildUnnamed2550() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2536(core.List<api.EventTagOverride> o) {
+checkUnnamed2550(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2537() {
+buildUnnamed2551() {
var o = new core.List<api.PlacementAssignment>();
o.add(buildPlacementAssignment());
o.add(buildPlacementAssignment());
return o;
}
-checkUnnamed2537(core.List<api.PlacementAssignment> o) {
+checkUnnamed2551(core.List<api.PlacementAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementAssignment(o[0]);
checkPlacementAssignment(o[1]);
@@ -519,14 +519,14 @@
o.comments = "foo";
o.compatibility = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupAssignments = buildUnnamed2535();
+ o.creativeGroupAssignments = buildUnnamed2549();
o.creativeRotation = buildCreativeRotation();
o.dayPartTargeting = buildDayPartTargeting();
o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties();
o.deliverySchedule = buildDeliverySchedule();
o.dynamicClickTracker = true;
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.eventTagOverrides = buildUnnamed2536();
+ o.eventTagOverrides = buildUnnamed2550();
o.geoTargeting = buildGeoTargeting();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -535,7 +535,7 @@
o.languageTargeting = buildLanguageTargeting();
o.lastModifiedInfo = buildLastModifiedInfo();
o.name = "foo";
- o.placementAssignments = buildUnnamed2537();
+ o.placementAssignments = buildUnnamed2551();
o.remarketingListExpression = buildListTargetingExpression();
o.size = buildSize();
o.sslCompliant = true;
@@ -566,14 +566,14 @@
unittest.expect(o.comments, unittest.equals('foo'));
unittest.expect(o.compatibility, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed2535(o.creativeGroupAssignments);
+ checkUnnamed2549(o.creativeGroupAssignments);
checkCreativeRotation(o.creativeRotation);
checkDayPartTargeting(o.dayPartTargeting);
checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProperties);
checkDeliverySchedule(o.deliverySchedule);
unittest.expect(o.dynamicClickTracker, unittest.isTrue);
unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed2536(o.eventTagOverrides);
+ checkUnnamed2550(o.eventTagOverrides);
checkGeoTargeting(o.geoTargeting);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -582,7 +582,7 @@
checkLanguageTargeting(o.languageTargeting);
checkLastModifiedInfo(o.lastModifiedInfo);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2537(o.placementAssignments);
+ checkUnnamed2551(o.placementAssignments);
checkListTargetingExpression(o.remarketingListExpression);
checkSize(o.size);
unittest.expect(o.sslCompliant, unittest.isTrue);
@@ -629,14 +629,14 @@
buildCounterAdSlot--;
}
-buildUnnamed2538() {
+buildUnnamed2552() {
var o = new core.List<api.Ad>();
o.add(buildAd());
o.add(buildAd());
return o;
}
-checkUnnamed2538(core.List<api.Ad> o) {
+checkUnnamed2552(core.List<api.Ad> o) {
unittest.expect(o, unittest.hasLength(2));
checkAd(o[0]);
checkAd(o[1]);
@@ -647,7 +647,7 @@
var o = new api.AdsListResponse();
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- o.ads = buildUnnamed2538();
+ o.ads = buildUnnamed2552();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -658,7 +658,7 @@
checkAdsListResponse(api.AdsListResponse o) {
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- checkUnnamed2538(o.ads);
+ checkUnnamed2552(o.ads);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -737,14 +737,14 @@
buildCounterAdvertiserGroup--;
}
-buildUnnamed2539() {
+buildUnnamed2553() {
var o = new core.List<api.AdvertiserGroup>();
o.add(buildAdvertiserGroup());
o.add(buildAdvertiserGroup());
return o;
}
-checkUnnamed2539(core.List<api.AdvertiserGroup> o) {
+checkUnnamed2553(core.List<api.AdvertiserGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiserGroup(o[0]);
checkAdvertiserGroup(o[1]);
@@ -755,7 +755,7 @@
var o = new api.AdvertiserGroupsListResponse();
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- o.advertiserGroups = buildUnnamed2539();
+ o.advertiserGroups = buildUnnamed2553();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -766,21 +766,21 @@
checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) {
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- checkUnnamed2539(o.advertiserGroups);
+ checkUnnamed2553(o.advertiserGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdvertiserGroupsListResponse--;
}
-buildUnnamed2540() {
+buildUnnamed2554() {
var o = new core.List<api.Advertiser>();
o.add(buildAdvertiser());
o.add(buildAdvertiser());
return o;
}
-checkUnnamed2540(core.List<api.Advertiser> o) {
+checkUnnamed2554(core.List<api.Advertiser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiser(o[0]);
checkAdvertiser(o[1]);
@@ -791,7 +791,7 @@
var o = new api.AdvertisersListResponse();
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- o.advertisers = buildUnnamed2540();
+ o.advertisers = buildUnnamed2554();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -802,7 +802,7 @@
checkAdvertisersListResponse(api.AdvertisersListResponse o) {
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- checkUnnamed2540(o.advertisers);
+ checkUnnamed2554(o.advertisers);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -832,14 +832,14 @@
buildCounterAudienceSegment--;
}
-buildUnnamed2541() {
+buildUnnamed2555() {
var o = new core.List<api.AudienceSegment>();
o.add(buildAudienceSegment());
o.add(buildAudienceSegment());
return o;
}
-checkUnnamed2541(core.List<api.AudienceSegment> o) {
+checkUnnamed2555(core.List<api.AudienceSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegment(o[0]);
checkAudienceSegment(o[1]);
@@ -850,7 +850,7 @@
var o = new api.AudienceSegmentGroup();
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- o.audienceSegments = buildUnnamed2541();
+ o.audienceSegments = buildUnnamed2555();
o.id = "foo";
o.name = "foo";
}
@@ -861,7 +861,7 @@
checkAudienceSegmentGroup(api.AudienceSegmentGroup o) {
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- checkUnnamed2541(o.audienceSegments);
+ checkUnnamed2555(o.audienceSegments);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -897,14 +897,14 @@
buildCounterBrowser--;
}
-buildUnnamed2542() {
+buildUnnamed2556() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed2542(core.List<api.Browser> o) {
+checkUnnamed2556(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
@@ -915,7 +915,7 @@
var o = new api.BrowsersListResponse();
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- o.browsers = buildUnnamed2542();
+ o.browsers = buildUnnamed2556();
o.kind = "foo";
}
buildCounterBrowsersListResponse--;
@@ -925,72 +925,72 @@
checkBrowsersListResponse(api.BrowsersListResponse o) {
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- checkUnnamed2542(o.browsers);
+ checkUnnamed2556(o.browsers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBrowsersListResponse--;
}
-buildUnnamed2543() {
+buildUnnamed2557() {
var o = new core.List<api.CreativeOptimizationConfiguration>();
o.add(buildCreativeOptimizationConfiguration());
o.add(buildCreativeOptimizationConfiguration());
return o;
}
-checkUnnamed2543(core.List<api.CreativeOptimizationConfiguration> o) {
+checkUnnamed2557(core.List<api.CreativeOptimizationConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeOptimizationConfiguration(o[0]);
checkCreativeOptimizationConfiguration(o[1]);
}
-buildUnnamed2544() {
+buildUnnamed2558() {
var o = new core.List<api.AudienceSegmentGroup>();
o.add(buildAudienceSegmentGroup());
o.add(buildAudienceSegmentGroup());
return o;
}
-checkUnnamed2544(core.List<api.AudienceSegmentGroup> o) {
+checkUnnamed2558(core.List<api.AudienceSegmentGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegmentGroup(o[0]);
checkAudienceSegmentGroup(o[1]);
}
-buildUnnamed2545() {
+buildUnnamed2559() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2545(core.List<core.String> o) {
+checkUnnamed2559(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2546() {
+buildUnnamed2560() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2546(core.List<api.EventTagOverride> o) {
+checkUnnamed2560(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2547() {
+buildUnnamed2561() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2547(core.List<core.String> o) {
+checkUnnamed2561(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1002,21 +1002,21 @@
buildCounterCampaign++;
if (buildCounterCampaign < 3) {
o.accountId = "foo";
- o.additionalCreativeOptimizationConfigurations = buildUnnamed2543();
+ o.additionalCreativeOptimizationConfigurations = buildUnnamed2557();
o.advertiserGroupId = "foo";
o.advertiserId = "foo";
o.advertiserIdDimensionValue = buildDimensionValue();
o.archived = true;
- o.audienceSegmentGroups = buildUnnamed2544();
+ o.audienceSegmentGroups = buildUnnamed2558();
o.billingInvoiceCode = "foo";
o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
o.comment = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupIds = buildUnnamed2545();
+ o.creativeGroupIds = buildUnnamed2559();
o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration();
o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties();
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.eventTagOverrides = buildUnnamed2546();
+ o.eventTagOverrides = buildUnnamed2560();
o.externalId = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -1027,7 +1027,7 @@
o.nielsenOcrEnabled = true;
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.subaccountId = "foo";
- o.traffickerEmails = buildUnnamed2547();
+ o.traffickerEmails = buildUnnamed2561();
}
buildCounterCampaign--;
return o;
@@ -1037,21 +1037,21 @@
buildCounterCampaign++;
if (buildCounterCampaign < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2543(o.additionalCreativeOptimizationConfigurations);
+ checkUnnamed2557(o.additionalCreativeOptimizationConfigurations);
unittest.expect(o.advertiserGroupId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.archived, unittest.isTrue);
- checkUnnamed2544(o.audienceSegmentGroups);
+ checkUnnamed2558(o.audienceSegmentGroups);
unittest.expect(o.billingInvoiceCode, unittest.equals('foo'));
checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties);
unittest.expect(o.comment, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed2545(o.creativeGroupIds);
+ checkUnnamed2559(o.creativeGroupIds);
checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration);
checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProperties);
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2546(o.eventTagOverrides);
+ checkUnnamed2560(o.eventTagOverrides);
unittest.expect(o.externalId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -1062,7 +1062,7 @@
unittest.expect(o.nielsenOcrEnabled, unittest.isTrue);
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed2547(o.traffickerEmails);
+ checkUnnamed2561(o.traffickerEmails);
}
buildCounterCampaign--;
}
@@ -1088,14 +1088,14 @@
buildCounterCampaignCreativeAssociation--;
}
-buildUnnamed2548() {
+buildUnnamed2562() {
var o = new core.List<api.CampaignCreativeAssociation>();
o.add(buildCampaignCreativeAssociation());
o.add(buildCampaignCreativeAssociation());
return o;
}
-checkUnnamed2548(core.List<api.CampaignCreativeAssociation> o) {
+checkUnnamed2562(core.List<api.CampaignCreativeAssociation> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaignCreativeAssociation(o[0]);
checkCampaignCreativeAssociation(o[1]);
@@ -1106,7 +1106,7 @@
var o = new api.CampaignCreativeAssociationsListResponse();
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- o.campaignCreativeAssociations = buildUnnamed2548();
+ o.campaignCreativeAssociations = buildUnnamed2562();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1117,21 +1117,21 @@
checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsListResponse o) {
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- checkUnnamed2548(o.campaignCreativeAssociations);
+ checkUnnamed2562(o.campaignCreativeAssociations);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCampaignCreativeAssociationsListResponse--;
}
-buildUnnamed2549() {
+buildUnnamed2563() {
var o = new core.List<api.Campaign>();
o.add(buildCampaign());
o.add(buildCampaign());
return o;
}
-checkUnnamed2549(core.List<api.Campaign> o) {
+checkUnnamed2563(core.List<api.Campaign> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaign(o[0]);
checkCampaign(o[1]);
@@ -1142,7 +1142,7 @@
var o = new api.CampaignsListResponse();
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- o.campaigns = buildUnnamed2549();
+ o.campaigns = buildUnnamed2563();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1153,7 +1153,7 @@
checkCampaignsListResponse(api.CampaignsListResponse o) {
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- checkUnnamed2549(o.campaigns);
+ checkUnnamed2563(o.campaigns);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1205,14 +1205,14 @@
buildCounterChangeLog--;
}
-buildUnnamed2550() {
+buildUnnamed2564() {
var o = new core.List<api.ChangeLog>();
o.add(buildChangeLog());
o.add(buildChangeLog());
return o;
}
-checkUnnamed2550(core.List<api.ChangeLog> o) {
+checkUnnamed2564(core.List<api.ChangeLog> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeLog(o[0]);
checkChangeLog(o[1]);
@@ -1223,7 +1223,7 @@
var o = new api.ChangeLogsListResponse();
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- o.changeLogs = buildUnnamed2550();
+ o.changeLogs = buildUnnamed2564();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1234,21 +1234,21 @@
checkChangeLogsListResponse(api.ChangeLogsListResponse o) {
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- checkUnnamed2550(o.changeLogs);
+ checkUnnamed2564(o.changeLogs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangeLogsListResponse--;
}
-buildUnnamed2551() {
+buildUnnamed2565() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed2551(core.List<api.City> o) {
+checkUnnamed2565(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
@@ -1259,7 +1259,7 @@
var o = new api.CitiesListResponse();
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- o.cities = buildUnnamed2551();
+ o.cities = buildUnnamed2565();
o.kind = "foo";
}
buildCounterCitiesListResponse--;
@@ -1269,7 +1269,7 @@
checkCitiesListResponse(api.CitiesListResponse o) {
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- checkUnnamed2551(o.cities);
+ checkUnnamed2565(o.cities);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCitiesListResponse--;
@@ -1452,14 +1452,14 @@
buildCounterConnectionType--;
}
-buildUnnamed2552() {
+buildUnnamed2566() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed2552(core.List<api.ConnectionType> o) {
+checkUnnamed2566(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
@@ -1470,7 +1470,7 @@
var o = new api.ConnectionTypesListResponse();
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- o.connectionTypes = buildUnnamed2552();
+ o.connectionTypes = buildUnnamed2566();
o.kind = "foo";
}
buildCounterConnectionTypesListResponse--;
@@ -1480,20 +1480,20 @@
checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) {
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- checkUnnamed2552(o.connectionTypes);
+ checkUnnamed2566(o.connectionTypes);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConnectionTypesListResponse--;
}
-buildUnnamed2553() {
+buildUnnamed2567() {
var o = new core.List<api.ContentCategory>();
o.add(buildContentCategory());
o.add(buildContentCategory());
return o;
}
-checkUnnamed2553(core.List<api.ContentCategory> o) {
+checkUnnamed2567(core.List<api.ContentCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentCategory(o[0]);
checkContentCategory(o[1]);
@@ -1504,7 +1504,7 @@
var o = new api.ContentCategoriesListResponse();
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- o.contentCategories = buildUnnamed2553();
+ o.contentCategories = buildUnnamed2567();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1515,7 +1515,7 @@
checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) {
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- checkUnnamed2553(o.contentCategories);
+ checkUnnamed2567(o.contentCategories);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1547,27 +1547,27 @@
buildCounterContentCategory--;
}
-buildUnnamed2554() {
+buildUnnamed2568() {
var o = new core.List<api.CustomFloodlightVariable>();
o.add(buildCustomFloodlightVariable());
o.add(buildCustomFloodlightVariable());
return o;
}
-checkUnnamed2554(core.List<api.CustomFloodlightVariable> o) {
+checkUnnamed2568(core.List<api.CustomFloodlightVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomFloodlightVariable(o[0]);
checkCustomFloodlightVariable(o[1]);
}
-buildUnnamed2555() {
+buildUnnamed2569() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2555(core.List<core.String> o) {
+checkUnnamed2569(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1579,9 +1579,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
o.childDirectedTreatment = true;
- o.customVariables = buildUnnamed2554();
+ o.customVariables = buildUnnamed2568();
o.encryptedUserId = "foo";
- o.encryptedUserIdCandidates = buildUnnamed2555();
+ o.encryptedUserIdCandidates = buildUnnamed2569();
o.floodlightActivityId = "foo";
o.floodlightConfigurationId = "foo";
o.kind = "foo";
@@ -1600,9 +1600,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
unittest.expect(o.childDirectedTreatment, unittest.isTrue);
- checkUnnamed2554(o.customVariables);
+ checkUnnamed2568(o.customVariables);
unittest.expect(o.encryptedUserId, unittest.equals('foo'));
- checkUnnamed2555(o.encryptedUserIdCandidates);
+ checkUnnamed2569(o.encryptedUserIdCandidates);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1639,14 +1639,14 @@
buildCounterConversionError--;
}
-buildUnnamed2556() {
+buildUnnamed2570() {
var o = new core.List<api.ConversionError>();
o.add(buildConversionError());
o.add(buildConversionError());
return o;
}
-checkUnnamed2556(core.List<api.ConversionError> o) {
+checkUnnamed2570(core.List<api.ConversionError> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionError(o[0]);
checkConversionError(o[1]);
@@ -1658,7 +1658,7 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
o.conversion = buildConversion();
- o.errors = buildUnnamed2556();
+ o.errors = buildUnnamed2570();
o.kind = "foo";
}
buildCounterConversionStatus--;
@@ -1669,20 +1669,20 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
checkConversion(o.conversion);
- checkUnnamed2556(o.errors);
+ checkUnnamed2570(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionStatus--;
}
-buildUnnamed2557() {
+buildUnnamed2571() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed2557(core.List<api.Conversion> o) {
+checkUnnamed2571(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -1693,7 +1693,7 @@
var o = new api.ConversionsBatchInsertRequest();
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- o.conversions = buildUnnamed2557();
+ o.conversions = buildUnnamed2571();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -1704,21 +1704,21 @@
checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) {
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- checkUnnamed2557(o.conversions);
+ checkUnnamed2571(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchInsertRequest--;
}
-buildUnnamed2558() {
+buildUnnamed2572() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed2558(core.List<api.ConversionStatus> o) {
+checkUnnamed2572(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -1731,7 +1731,7 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed2558();
+ o.status = buildUnnamed2572();
}
buildCounterConversionsBatchInsertResponse--;
return o;
@@ -1742,19 +1742,19 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2558(o.status);
+ checkUnnamed2572(o.status);
}
buildCounterConversionsBatchInsertResponse--;
}
-buildUnnamed2559() {
+buildUnnamed2573() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed2559(core.List<api.Country> o) {
+checkUnnamed2573(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
@@ -1765,7 +1765,7 @@
var o = new api.CountriesListResponse();
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- o.countries = buildUnnamed2559();
+ o.countries = buildUnnamed2573();
o.kind = "foo";
}
buildCounterCountriesListResponse--;
@@ -1775,7 +1775,7 @@
checkCountriesListResponse(api.CountriesListResponse o) {
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- checkUnnamed2559(o.countries);
+ checkUnnamed2573(o.countries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCountriesListResponse--;
@@ -1808,157 +1808,157 @@
buildCounterCountry--;
}
-buildUnnamed2560() {
+buildUnnamed2574() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2560(core.List<core.String> o) {
+checkUnnamed2574(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2561() {
+buildUnnamed2575() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2561(core.List<core.String> o) {
+checkUnnamed2575(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2562() {
+buildUnnamed2576() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2562(core.List<api.ClickTag> o) {
+checkUnnamed2576(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2563() {
+buildUnnamed2577() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2563(core.List<core.String> o) {
+checkUnnamed2577(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2564() {
+buildUnnamed2578() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2564(core.List<core.String> o) {
+checkUnnamed2578(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2565() {
+buildUnnamed2579() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2565(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2579(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2566() {
+buildUnnamed2580() {
var o = new core.List<api.CreativeAsset>();
o.add(buildCreativeAsset());
o.add(buildCreativeAsset());
return o;
}
-checkUnnamed2566(core.List<api.CreativeAsset> o) {
+checkUnnamed2580(core.List<api.CreativeAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAsset(o[0]);
checkCreativeAsset(o[1]);
}
-buildUnnamed2567() {
+buildUnnamed2581() {
var o = new core.List<api.CreativeFieldAssignment>();
o.add(buildCreativeFieldAssignment());
o.add(buildCreativeFieldAssignment());
return o;
}
-checkUnnamed2567(core.List<api.CreativeFieldAssignment> o) {
+checkUnnamed2581(core.List<api.CreativeFieldAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldAssignment(o[0]);
checkCreativeFieldAssignment(o[1]);
}
-buildUnnamed2568() {
+buildUnnamed2582() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2568(core.List<core.String> o) {
+checkUnnamed2582(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2569() {
+buildUnnamed2583() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2569(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2583(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2570() {
+buildUnnamed2584() {
var o = new core.List<api.ThirdPartyTrackingUrl>();
o.add(buildThirdPartyTrackingUrl());
o.add(buildThirdPartyTrackingUrl());
return o;
}
-checkUnnamed2570(core.List<api.ThirdPartyTrackingUrl> o) {
+checkUnnamed2584(core.List<api.ThirdPartyTrackingUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyTrackingUrl(o[0]);
checkThirdPartyTrackingUrl(o[1]);
}
-buildUnnamed2571() {
+buildUnnamed2585() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2571(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2585(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
@@ -1972,7 +1972,7 @@
o.accountId = "foo";
o.active = true;
o.adParameters = "foo";
- o.adTagKeys = buildUnnamed2560();
+ o.adTagKeys = buildUnnamed2574();
o.advertiserId = "foo";
o.allowScriptAccess = true;
o.archived = true;
@@ -1982,21 +1982,21 @@
o.autoAdvanceImages = true;
o.backgroundColor = "foo";
o.backupImageClickThroughUrl = "foo";
- o.backupImageFeatures = buildUnnamed2561();
+ o.backupImageFeatures = buildUnnamed2575();
o.backupImageReportingLabel = "foo";
o.backupImageTargetWindow = buildTargetWindow();
- o.clickTags = buildUnnamed2562();
+ o.clickTags = buildUnnamed2576();
o.commercialId = "foo";
- o.companionCreatives = buildUnnamed2563();
- o.compatibility = buildUnnamed2564();
+ o.companionCreatives = buildUnnamed2577();
+ o.compatibility = buildUnnamed2578();
o.convertFlashToHtml5 = true;
- o.counterCustomEvents = buildUnnamed2565();
+ o.counterCustomEvents = buildUnnamed2579();
o.creativeAssetSelection = buildCreativeAssetSelection();
- o.creativeAssets = buildUnnamed2566();
- o.creativeFieldAssignments = buildUnnamed2567();
- o.customKeyValues = buildUnnamed2568();
+ o.creativeAssets = buildUnnamed2580();
+ o.creativeFieldAssignments = buildUnnamed2581();
+ o.customKeyValues = buildUnnamed2582();
o.dynamicAssetSelection = true;
- o.exitCustomEvents = buildUnnamed2569();
+ o.exitCustomEvents = buildUnnamed2583();
o.fsCommand = buildFsCommand();
o.htmlCode = "foo";
o.htmlCodeLocked = true;
@@ -2022,8 +2022,8 @@
o.subaccountId = "foo";
o.thirdPartyBackupImageImpressionsUrl = "foo";
o.thirdPartyRichMediaImpressionsUrl = "foo";
- o.thirdPartyUrls = buildUnnamed2570();
- o.timerCustomEvents = buildUnnamed2571();
+ o.thirdPartyUrls = buildUnnamed2584();
+ o.timerCustomEvents = buildUnnamed2585();
o.totalFileSize = "foo";
o.type = "foo";
o.version = 42;
@@ -2040,7 +2040,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.adParameters, unittest.equals('foo'));
- checkUnnamed2560(o.adTagKeys);
+ checkUnnamed2574(o.adTagKeys);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.allowScriptAccess, unittest.isTrue);
unittest.expect(o.archived, unittest.isTrue);
@@ -2050,21 +2050,21 @@
unittest.expect(o.autoAdvanceImages, unittest.isTrue);
unittest.expect(o.backgroundColor, unittest.equals('foo'));
unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo'));
- checkUnnamed2561(o.backupImageFeatures);
+ checkUnnamed2575(o.backupImageFeatures);
unittest.expect(o.backupImageReportingLabel, unittest.equals('foo'));
checkTargetWindow(o.backupImageTargetWindow);
- checkUnnamed2562(o.clickTags);
+ checkUnnamed2576(o.clickTags);
unittest.expect(o.commercialId, unittest.equals('foo'));
- checkUnnamed2563(o.companionCreatives);
- checkUnnamed2564(o.compatibility);
+ checkUnnamed2577(o.companionCreatives);
+ checkUnnamed2578(o.compatibility);
unittest.expect(o.convertFlashToHtml5, unittest.isTrue);
- checkUnnamed2565(o.counterCustomEvents);
+ checkUnnamed2579(o.counterCustomEvents);
checkCreativeAssetSelection(o.creativeAssetSelection);
- checkUnnamed2566(o.creativeAssets);
- checkUnnamed2567(o.creativeFieldAssignments);
- checkUnnamed2568(o.customKeyValues);
+ checkUnnamed2580(o.creativeAssets);
+ checkUnnamed2581(o.creativeFieldAssignments);
+ checkUnnamed2582(o.customKeyValues);
unittest.expect(o.dynamicAssetSelection, unittest.isTrue);
- checkUnnamed2569(o.exitCustomEvents);
+ checkUnnamed2583(o.exitCustomEvents);
checkFsCommand(o.fsCommand);
unittest.expect(o.htmlCode, unittest.equals('foo'));
unittest.expect(o.htmlCodeLocked, unittest.isTrue);
@@ -2090,8 +2090,8 @@
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'));
unittest.expect(o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'));
- checkUnnamed2570(o.thirdPartyUrls);
- checkUnnamed2571(o.timerCustomEvents);
+ checkUnnamed2584(o.thirdPartyUrls);
+ checkUnnamed2585(o.timerCustomEvents);
unittest.expect(o.totalFileSize, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
@@ -2101,27 +2101,27 @@
buildCounterCreative--;
}
-buildUnnamed2572() {
+buildUnnamed2586() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2572(core.List<core.String> o) {
+checkUnnamed2586(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2573() {
+buildUnnamed2587() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2573(core.List<core.String> o) {
+checkUnnamed2587(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2141,9 +2141,9 @@
o.bitRate = 42;
o.childAssetType = "foo";
o.collapsedSize = buildSize();
- o.companionCreativeIds = buildUnnamed2572();
+ o.companionCreativeIds = buildUnnamed2586();
o.customStartTimeValue = 42;
- o.detectedFeatures = buildUnnamed2573();
+ o.detectedFeatures = buildUnnamed2587();
o.displayType = "foo";
o.duration = 42;
o.durationType = "foo";
@@ -2193,9 +2193,9 @@
unittest.expect(o.bitRate, unittest.equals(42));
unittest.expect(o.childAssetType, unittest.equals('foo'));
checkSize(o.collapsedSize);
- checkUnnamed2572(o.companionCreativeIds);
+ checkUnnamed2586(o.companionCreativeIds);
unittest.expect(o.customStartTimeValue, unittest.equals(42));
- checkUnnamed2573(o.detectedFeatures);
+ checkUnnamed2587(o.detectedFeatures);
unittest.expect(o.displayType, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals(42));
unittest.expect(o.durationType, unittest.equals('foo'));
@@ -2253,40 +2253,40 @@
buildCounterCreativeAssetId--;
}
-buildUnnamed2574() {
+buildUnnamed2588() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2574(core.List<api.ClickTag> o) {
+checkUnnamed2588(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2575() {
+buildUnnamed2589() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2575(core.List<core.String> o) {
+checkUnnamed2589(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2576() {
+buildUnnamed2590() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2576(core.List<core.String> o) {
+checkUnnamed2590(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2298,12 +2298,12 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
o.assetIdentifier = buildCreativeAssetId();
- o.clickTags = buildUnnamed2574();
- o.detectedFeatures = buildUnnamed2575();
+ o.clickTags = buildUnnamed2588();
+ o.detectedFeatures = buildUnnamed2589();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
o.kind = "foo";
- o.warnedValidationRules = buildUnnamed2576();
+ o.warnedValidationRules = buildUnnamed2590();
}
buildCounterCreativeAssetMetadata--;
return o;
@@ -2313,24 +2313,24 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
checkCreativeAssetId(o.assetIdentifier);
- checkUnnamed2574(o.clickTags);
- checkUnnamed2575(o.detectedFeatures);
+ checkUnnamed2588(o.clickTags);
+ checkUnnamed2589(o.detectedFeatures);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2576(o.warnedValidationRules);
+ checkUnnamed2590(o.warnedValidationRules);
}
buildCounterCreativeAssetMetadata--;
}
-buildUnnamed2577() {
+buildUnnamed2591() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed2577(core.List<api.Rule> o) {
+checkUnnamed2591(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -2342,7 +2342,7 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
o.defaultAssetId = "foo";
- o.rules = buildUnnamed2577();
+ o.rules = buildUnnamed2591();
}
buildCounterCreativeAssetSelection--;
return o;
@@ -2352,45 +2352,45 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
unittest.expect(o.defaultAssetId, unittest.equals('foo'));
- checkUnnamed2577(o.rules);
+ checkUnnamed2591(o.rules);
}
buildCounterCreativeAssetSelection--;
}
-buildUnnamed2578() {
+buildUnnamed2592() {
var o = new core.List<api.CompanionClickThroughOverride>();
o.add(buildCompanionClickThroughOverride());
o.add(buildCompanionClickThroughOverride());
return o;
}
-checkUnnamed2578(core.List<api.CompanionClickThroughOverride> o) {
+checkUnnamed2592(core.List<api.CompanionClickThroughOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompanionClickThroughOverride(o[0]);
checkCompanionClickThroughOverride(o[1]);
}
-buildUnnamed2579() {
+buildUnnamed2593() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2579(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed2593(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2580() {
+buildUnnamed2594() {
var o = new core.List<api.RichMediaExitOverride>();
o.add(buildRichMediaExitOverride());
o.add(buildRichMediaExitOverride());
return o;
}
-checkUnnamed2580(core.List<api.RichMediaExitOverride> o) {
+checkUnnamed2594(core.List<api.RichMediaExitOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkRichMediaExitOverride(o[0]);
checkRichMediaExitOverride(o[1]);
@@ -2404,12 +2404,12 @@
o.active = true;
o.applyEventTags = true;
o.clickThroughUrl = buildClickThroughUrl();
- o.companionCreativeOverrides = buildUnnamed2578();
- o.creativeGroupAssignments = buildUnnamed2579();
+ o.companionCreativeOverrides = buildUnnamed2592();
+ o.creativeGroupAssignments = buildUnnamed2593();
o.creativeId = "foo";
o.creativeIdDimensionValue = buildDimensionValue();
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.richMediaExitOverrides = buildUnnamed2580();
+ o.richMediaExitOverrides = buildUnnamed2594();
o.sequence = 42;
o.sslCompliant = true;
o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2425,12 +2425,12 @@
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.applyEventTags, unittest.isTrue);
checkClickThroughUrl(o.clickThroughUrl);
- checkUnnamed2578(o.companionCreativeOverrides);
- checkUnnamed2579(o.creativeGroupAssignments);
+ checkUnnamed2592(o.companionCreativeOverrides);
+ checkUnnamed2593(o.creativeGroupAssignments);
unittest.expect(o.creativeId, unittest.equals('foo'));
checkDimensionValue(o.creativeIdDimensionValue);
unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed2580(o.richMediaExitOverrides);
+ checkUnnamed2594(o.richMediaExitOverrides);
unittest.expect(o.sequence, unittest.equals(42));
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -2551,14 +2551,14 @@
buildCounterCreativeFieldValue--;
}
-buildUnnamed2581() {
+buildUnnamed2595() {
var o = new core.List<api.CreativeFieldValue>();
o.add(buildCreativeFieldValue());
o.add(buildCreativeFieldValue());
return o;
}
-checkUnnamed2581(core.List<api.CreativeFieldValue> o) {
+checkUnnamed2595(core.List<api.CreativeFieldValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldValue(o[0]);
checkCreativeFieldValue(o[1]);
@@ -2569,7 +2569,7 @@
var o = new api.CreativeFieldValuesListResponse();
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- o.creativeFieldValues = buildUnnamed2581();
+ o.creativeFieldValues = buildUnnamed2595();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2580,21 +2580,21 @@
checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) {
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- checkUnnamed2581(o.creativeFieldValues);
+ checkUnnamed2595(o.creativeFieldValues);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeFieldValuesListResponse--;
}
-buildUnnamed2582() {
+buildUnnamed2596() {
var o = new core.List<api.CreativeField>();
o.add(buildCreativeField());
o.add(buildCreativeField());
return o;
}
-checkUnnamed2582(core.List<api.CreativeField> o) {
+checkUnnamed2596(core.List<api.CreativeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeField(o[0]);
checkCreativeField(o[1]);
@@ -2605,7 +2605,7 @@
var o = new api.CreativeFieldsListResponse();
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- o.creativeFields = buildUnnamed2582();
+ o.creativeFields = buildUnnamed2596();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2616,7 +2616,7 @@
checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) {
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- checkUnnamed2582(o.creativeFields);
+ checkUnnamed2596(o.creativeFields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2677,14 +2677,14 @@
buildCounterCreativeGroupAssignment--;
}
-buildUnnamed2583() {
+buildUnnamed2597() {
var o = new core.List<api.CreativeGroup>();
o.add(buildCreativeGroup());
o.add(buildCreativeGroup());
return o;
}
-checkUnnamed2583(core.List<api.CreativeGroup> o) {
+checkUnnamed2597(core.List<api.CreativeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroup(o[0]);
checkCreativeGroup(o[1]);
@@ -2695,7 +2695,7 @@
var o = new api.CreativeGroupsListResponse();
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- o.creativeGroups = buildUnnamed2583();
+ o.creativeGroups = buildUnnamed2597();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2706,21 +2706,21 @@
checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) {
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- checkUnnamed2583(o.creativeGroups);
+ checkUnnamed2597(o.creativeGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeGroupsListResponse--;
}
-buildUnnamed2584() {
+buildUnnamed2598() {
var o = new core.List<api.OptimizationActivity>();
o.add(buildOptimizationActivity());
o.add(buildOptimizationActivity());
return o;
}
-checkUnnamed2584(core.List<api.OptimizationActivity> o) {
+checkUnnamed2598(core.List<api.OptimizationActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkOptimizationActivity(o[0]);
checkOptimizationActivity(o[1]);
@@ -2733,7 +2733,7 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
o.id = "foo";
o.name = "foo";
- o.optimizationActivitys = buildUnnamed2584();
+ o.optimizationActivitys = buildUnnamed2598();
o.optimizationModel = "foo";
}
buildCounterCreativeOptimizationConfiguration--;
@@ -2745,20 +2745,20 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2584(o.optimizationActivitys);
+ checkUnnamed2598(o.optimizationActivitys);
unittest.expect(o.optimizationModel, unittest.equals('foo'));
}
buildCounterCreativeOptimizationConfiguration--;
}
-buildUnnamed2585() {
+buildUnnamed2599() {
var o = new core.List<api.CreativeAssignment>();
o.add(buildCreativeAssignment());
o.add(buildCreativeAssignment());
return o;
}
-checkUnnamed2585(core.List<api.CreativeAssignment> o) {
+checkUnnamed2599(core.List<api.CreativeAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAssignment(o[0]);
checkCreativeAssignment(o[1]);
@@ -2769,7 +2769,7 @@
var o = new api.CreativeRotation();
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- o.creativeAssignments = buildUnnamed2585();
+ o.creativeAssignments = buildUnnamed2599();
o.creativeOptimizationConfigurationId = "foo";
o.type = "foo";
o.weightCalculationStrategy = "foo";
@@ -2781,7 +2781,7 @@
checkCreativeRotation(api.CreativeRotation o) {
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- checkUnnamed2585(o.creativeAssignments);
+ checkUnnamed2599(o.creativeAssignments);
unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.weightCalculationStrategy, unittest.equals('foo'));
@@ -2810,14 +2810,14 @@
buildCounterCreativeSettings--;
}
-buildUnnamed2586() {
+buildUnnamed2600() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed2586(core.List<api.Creative> o) {
+checkUnnamed2600(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -2828,7 +2828,7 @@
var o = new api.CreativesListResponse();
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- o.creatives = buildUnnamed2586();
+ o.creatives = buildUnnamed2600();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2839,60 +2839,60 @@
checkCreativesListResponse(api.CreativesListResponse o) {
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- checkUnnamed2586(o.creatives);
+ checkUnnamed2600(o.creatives);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativesListResponse--;
}
-buildUnnamed2587() {
+buildUnnamed2601() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2587(core.List<api.Dimension> o) {
+checkUnnamed2601(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2588() {
+buildUnnamed2602() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2588(core.List<api.Dimension> o) {
+checkUnnamed2602(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2589() {
+buildUnnamed2603() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2589(core.List<api.Metric> o) {
+checkUnnamed2603(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2590() {
+buildUnnamed2604() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2590(core.List<api.Metric> o) {
+checkUnnamed2604(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -2903,11 +2903,11 @@
var o = new api.CrossDimensionReachReportCompatibleFields();
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- o.breakdown = buildUnnamed2587();
- o.dimensionFilters = buildUnnamed2588();
+ o.breakdown = buildUnnamed2601();
+ o.dimensionFilters = buildUnnamed2602();
o.kind = "foo";
- o.metrics = buildUnnamed2589();
- o.overlapMetrics = buildUnnamed2590();
+ o.metrics = buildUnnamed2603();
+ o.overlapMetrics = buildUnnamed2604();
}
buildCounterCrossDimensionReachReportCompatibleFields--;
return o;
@@ -2916,11 +2916,11 @@
checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportCompatibleFields o) {
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- checkUnnamed2587(o.breakdown);
- checkUnnamed2588(o.dimensionFilters);
+ checkUnnamed2601(o.breakdown);
+ checkUnnamed2602(o.dimensionFilters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2589(o.metrics);
- checkUnnamed2590(o.overlapMetrics);
+ checkUnnamed2603(o.metrics);
+ checkUnnamed2604(o.overlapMetrics);
}
buildCounterCrossDimensionReachReportCompatibleFields--;
}
@@ -2948,14 +2948,14 @@
buildCounterCustomFloodlightVariable--;
}
-buildUnnamed2591() {
+buildUnnamed2605() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2591(core.List<api.DimensionValue> o) {
+checkUnnamed2605(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -2966,7 +2966,7 @@
var o = new api.CustomRichMediaEvents();
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- o.filteredEventIds = buildUnnamed2591();
+ o.filteredEventIds = buildUnnamed2605();
o.kind = "foo";
}
buildCounterCustomRichMediaEvents--;
@@ -2976,7 +2976,7 @@
checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- checkUnnamed2591(o.filteredEventIds);
+ checkUnnamed2605(o.filteredEventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomRichMediaEvents--;
@@ -3007,27 +3007,27 @@
buildCounterDateRange--;
}
-buildUnnamed2592() {
+buildUnnamed2606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2592(core.List<core.String> o) {
+checkUnnamed2606(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2593() {
+buildUnnamed2607() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2593(core.List<core.int> o) {
+checkUnnamed2607(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));
@@ -3038,8 +3038,8 @@
var o = new api.DayPartTargeting();
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- o.daysOfWeek = buildUnnamed2592();
- o.hoursOfDay = buildUnnamed2593();
+ o.daysOfWeek = buildUnnamed2606();
+ o.hoursOfDay = buildUnnamed2607();
o.userLocalTime = true;
}
buildCounterDayPartTargeting--;
@@ -3049,8 +3049,8 @@
checkDayPartTargeting(api.DayPartTargeting o) {
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- checkUnnamed2592(o.daysOfWeek);
- checkUnnamed2593(o.hoursOfDay);
+ checkUnnamed2606(o.daysOfWeek);
+ checkUnnamed2607(o.hoursOfDay);
unittest.expect(o.userLocalTime, unittest.isTrue);
}
buildCounterDayPartTargeting--;
@@ -3202,14 +3202,14 @@
buildCounterDimensionValue--;
}
-buildUnnamed2594() {
+buildUnnamed2608() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2594(core.List<api.DimensionValue> o) {
+checkUnnamed2608(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3221,7 +3221,7 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2594();
+ o.items = buildUnnamed2608();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3233,21 +3233,21 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2594(o.items);
+ checkUnnamed2608(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDimensionValueList--;
}
-buildUnnamed2595() {
+buildUnnamed2609() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed2595(core.List<api.DimensionFilter> o) {
+checkUnnamed2609(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -3260,7 +3260,7 @@
if (buildCounterDimensionValueRequest < 3) {
o.dimensionName = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.filters = buildUnnamed2595();
+ o.filters = buildUnnamed2609();
o.kind = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -3273,47 +3273,47 @@
if (buildCounterDimensionValueRequest < 3) {
unittest.expect(o.dimensionName, unittest.equals('foo'));
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2595(o.filters);
+ checkUnnamed2609(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
}
buildCounterDimensionValueRequest--;
}
-buildUnnamed2596() {
+buildUnnamed2610() {
var o = new core.List<api.DirectorySiteContactAssignment>();
o.add(buildDirectorySiteContactAssignment());
o.add(buildDirectorySiteContactAssignment());
return o;
}
-checkUnnamed2596(core.List<api.DirectorySiteContactAssignment> o) {
+checkUnnamed2610(core.List<api.DirectorySiteContactAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContactAssignment(o[0]);
checkDirectorySiteContactAssignment(o[1]);
}
-buildUnnamed2597() {
+buildUnnamed2611() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2597(core.List<core.String> o) {
+checkUnnamed2611(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2598() {
+buildUnnamed2612() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2598(core.List<core.String> o) {
+checkUnnamed2612(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3325,14 +3325,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
o.active = true;
- o.contactAssignments = buildUnnamed2596();
+ o.contactAssignments = buildUnnamed2610();
o.countryId = "foo";
o.currencyId = "foo";
o.description = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
- o.inpageTagFormats = buildUnnamed2597();
- o.interstitialTagFormats = buildUnnamed2598();
+ o.inpageTagFormats = buildUnnamed2611();
+ o.interstitialTagFormats = buildUnnamed2612();
o.kind = "foo";
o.name = "foo";
o.parentId = "foo";
@@ -3347,14 +3347,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
unittest.expect(o.active, unittest.isTrue);
- checkUnnamed2596(o.contactAssignments);
+ checkUnnamed2610(o.contactAssignments);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
- checkUnnamed2597(o.inpageTagFormats);
- checkUnnamed2598(o.interstitialTagFormats);
+ checkUnnamed2611(o.inpageTagFormats);
+ checkUnnamed2612(o.interstitialTagFormats);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentId, unittest.equals('foo'));
@@ -3422,14 +3422,14 @@
buildCounterDirectorySiteContactAssignment--;
}
-buildUnnamed2599() {
+buildUnnamed2613() {
var o = new core.List<api.DirectorySiteContact>();
o.add(buildDirectorySiteContact());
o.add(buildDirectorySiteContact());
return o;
}
-checkUnnamed2599(core.List<api.DirectorySiteContact> o) {
+checkUnnamed2613(core.List<api.DirectorySiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContact(o[0]);
checkDirectorySiteContact(o[1]);
@@ -3440,7 +3440,7 @@
var o = new api.DirectorySiteContactsListResponse();
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- o.directorySiteContacts = buildUnnamed2599();
+ o.directorySiteContacts = buildUnnamed2613();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3451,7 +3451,7 @@
checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o) {
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- checkUnnamed2599(o.directorySiteContacts);
+ checkUnnamed2613(o.directorySiteContacts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3489,14 +3489,14 @@
buildCounterDirectorySiteSettings--;
}
-buildUnnamed2600() {
+buildUnnamed2614() {
var o = new core.List<api.DirectorySite>();
o.add(buildDirectorySite());
o.add(buildDirectorySite());
return o;
}
-checkUnnamed2600(core.List<api.DirectorySite> o) {
+checkUnnamed2614(core.List<api.DirectorySite> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySite(o[0]);
checkDirectorySite(o[1]);
@@ -3507,7 +3507,7 @@
var o = new api.DirectorySitesListResponse();
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- o.directorySites = buildUnnamed2600();
+ o.directorySites = buildUnnamed2614();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3518,7 +3518,7 @@
checkDirectorySitesListResponse(api.DirectorySitesListResponse o) {
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- checkUnnamed2600(o.directorySites);
+ checkUnnamed2614(o.directorySites);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3550,14 +3550,14 @@
buildCounterDynamicTargetingKey--;
}
-buildUnnamed2601() {
+buildUnnamed2615() {
var o = new core.List<api.DynamicTargetingKey>();
o.add(buildDynamicTargetingKey());
o.add(buildDynamicTargetingKey());
return o;
}
-checkUnnamed2601(core.List<api.DynamicTargetingKey> o) {
+checkUnnamed2615(core.List<api.DynamicTargetingKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicTargetingKey(o[0]);
checkDynamicTargetingKey(o[1]);
@@ -3568,7 +3568,7 @@
var o = new api.DynamicTargetingKeysListResponse();
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- o.dynamicTargetingKeys = buildUnnamed2601();
+ o.dynamicTargetingKeys = buildUnnamed2615();
o.kind = "foo";
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3578,7 +3578,7 @@
checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) {
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- checkUnnamed2601(o.dynamicTargetingKeys);
+ checkUnnamed2615(o.dynamicTargetingKeys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3609,14 +3609,14 @@
buildCounterEncryptionInfo--;
}
-buildUnnamed2602() {
+buildUnnamed2616() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2602(core.List<core.String> o) {
+checkUnnamed2616(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3638,7 +3638,7 @@
o.kind = "foo";
o.name = "foo";
o.siteFilterType = "foo";
- o.siteIds = buildUnnamed2602();
+ o.siteIds = buildUnnamed2616();
o.sslCompliant = true;
o.status = "foo";
o.subaccountId = "foo";
@@ -3664,7 +3664,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.siteFilterType, unittest.equals('foo'));
- checkUnnamed2602(o.siteIds);
+ checkUnnamed2616(o.siteIds);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
@@ -3696,14 +3696,14 @@
buildCounterEventTagOverride--;
}
-buildUnnamed2603() {
+buildUnnamed2617() {
var o = new core.List<api.EventTag>();
o.add(buildEventTag());
o.add(buildEventTag());
return o;
}
-checkUnnamed2603(core.List<api.EventTag> o) {
+checkUnnamed2617(core.List<api.EventTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTag(o[0]);
checkEventTag(o[1]);
@@ -3714,7 +3714,7 @@
var o = new api.EventTagsListResponse();
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- o.eventTags = buildUnnamed2603();
+ o.eventTags = buildUnnamed2617();
o.kind = "foo";
}
buildCounterEventTagsListResponse--;
@@ -3724,7 +3724,7 @@
checkEventTagsListResponse(api.EventTagsListResponse o) {
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- checkUnnamed2603(o.eventTags);
+ checkUnnamed2617(o.eventTags);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventTagsListResponse--;
@@ -3788,14 +3788,14 @@
buildCounterFile--;
}
-buildUnnamed2604() {
+buildUnnamed2618() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed2604(core.List<api.File> o) {
+checkUnnamed2618(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -3807,7 +3807,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2604();
+ o.items = buildUnnamed2618();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3819,7 +3819,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2604(o.items);
+ checkUnnamed2618(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3872,14 +3872,14 @@
buildCounterFloodlightActivitiesGenerateTagResponse--;
}
-buildUnnamed2605() {
+buildUnnamed2619() {
var o = new core.List<api.FloodlightActivity>();
o.add(buildFloodlightActivity());
o.add(buildFloodlightActivity());
return o;
}
-checkUnnamed2605(core.List<api.FloodlightActivity> o) {
+checkUnnamed2619(core.List<api.FloodlightActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivity(o[0]);
checkFloodlightActivity(o[1]);
@@ -3890,7 +3890,7 @@
var o = new api.FloodlightActivitiesListResponse();
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- o.floodlightActivities = buildUnnamed2605();
+ o.floodlightActivities = buildUnnamed2619();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3901,47 +3901,47 @@
checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) {
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- checkUnnamed2605(o.floodlightActivities);
+ checkUnnamed2619(o.floodlightActivities);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFloodlightActivitiesListResponse--;
}
-buildUnnamed2606() {
+buildUnnamed2620() {
var o = new core.List<api.FloodlightActivityDynamicTag>();
o.add(buildFloodlightActivityDynamicTag());
o.add(buildFloodlightActivityDynamicTag());
return o;
}
-checkUnnamed2606(core.List<api.FloodlightActivityDynamicTag> o) {
+checkUnnamed2620(core.List<api.FloodlightActivityDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityDynamicTag(o[0]);
checkFloodlightActivityDynamicTag(o[1]);
}
-buildUnnamed2607() {
+buildUnnamed2621() {
var o = new core.List<api.FloodlightActivityPublisherDynamicTag>();
o.add(buildFloodlightActivityPublisherDynamicTag());
o.add(buildFloodlightActivityPublisherDynamicTag());
return o;
}
-checkUnnamed2607(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
+checkUnnamed2621(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityPublisherDynamicTag(o[0]);
checkFloodlightActivityPublisherDynamicTag(o[1]);
}
-buildUnnamed2608() {
+buildUnnamed2622() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2608(core.List<core.String> o) {
+checkUnnamed2622(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3957,7 +3957,7 @@
o.advertiserIdDimensionValue = buildDimensionValue();
o.cacheBustingType = "foo";
o.countingMethod = "foo";
- o.defaultTags = buildUnnamed2606();
+ o.defaultTags = buildUnnamed2620();
o.expectedUrl = "foo";
o.floodlightActivityGroupId = "foo";
o.floodlightActivityGroupName = "foo";
@@ -3972,14 +3972,14 @@
o.kind = "foo";
o.name = "foo";
o.notes = "foo";
- o.publisherTags = buildUnnamed2607();
+ o.publisherTags = buildUnnamed2621();
o.secure = true;
o.sslCompliant = true;
o.sslRequired = true;
o.subaccountId = "foo";
o.tagFormat = "foo";
o.tagString = "foo";
- o.userDefinedVariableTypes = buildUnnamed2608();
+ o.userDefinedVariableTypes = buildUnnamed2622();
}
buildCounterFloodlightActivity--;
return o;
@@ -3993,7 +3993,7 @@
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.cacheBustingType, unittest.equals('foo'));
unittest.expect(o.countingMethod, unittest.equals('foo'));
- checkUnnamed2606(o.defaultTags);
+ checkUnnamed2620(o.defaultTags);
unittest.expect(o.expectedUrl, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo'));
@@ -4008,14 +4008,14 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed2607(o.publisherTags);
+ checkUnnamed2621(o.publisherTags);
unittest.expect(o.secure, unittest.isTrue);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.tagFormat, unittest.equals('foo'));
unittest.expect(o.tagString, unittest.equals('foo'));
- checkUnnamed2608(o.userDefinedVariableTypes);
+ checkUnnamed2622(o.userDefinedVariableTypes);
}
buildCounterFloodlightActivity--;
}
@@ -4084,14 +4084,14 @@
buildCounterFloodlightActivityGroup--;
}
-buildUnnamed2609() {
+buildUnnamed2623() {
var o = new core.List<api.FloodlightActivityGroup>();
o.add(buildFloodlightActivityGroup());
o.add(buildFloodlightActivityGroup());
return o;
}
-checkUnnamed2609(core.List<api.FloodlightActivityGroup> o) {
+checkUnnamed2623(core.List<api.FloodlightActivityGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityGroup(o[0]);
checkFloodlightActivityGroup(o[1]);
@@ -4102,7 +4102,7 @@
var o = new api.FloodlightActivityGroupsListResponse();
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- o.floodlightActivityGroups = buildUnnamed2609();
+ o.floodlightActivityGroups = buildUnnamed2623();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4113,7 +4113,7 @@
checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListResponse o) {
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- checkUnnamed2609(o.floodlightActivityGroups);
+ checkUnnamed2623(o.floodlightActivityGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4149,40 +4149,40 @@
buildCounterFloodlightActivityPublisherDynamicTag--;
}
-buildUnnamed2610() {
+buildUnnamed2624() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2610(core.List<core.String> o) {
+checkUnnamed2624(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2611() {
+buildUnnamed2625() {
var o = new core.List<api.ThirdPartyAuthenticationToken>();
o.add(buildThirdPartyAuthenticationToken());
o.add(buildThirdPartyAuthenticationToken());
return o;
}
-checkUnnamed2611(core.List<api.ThirdPartyAuthenticationToken> o) {
+checkUnnamed2625(core.List<api.ThirdPartyAuthenticationToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyAuthenticationToken(o[0]);
checkThirdPartyAuthenticationToken(o[1]);
}
-buildUnnamed2612() {
+buildUnnamed2626() {
var o = new core.List<api.UserDefinedVariableConfiguration>();
o.add(buildUserDefinedVariableConfiguration());
o.add(buildUserDefinedVariableConfiguration());
return o;
}
-checkUnnamed2612(core.List<api.UserDefinedVariableConfiguration> o) {
+checkUnnamed2626(core.List<api.UserDefinedVariableConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedVariableConfiguration(o[0]);
checkUserDefinedVariableConfiguration(o[1]);
@@ -4206,11 +4206,11 @@
o.lookbackConfiguration = buildLookbackConfiguration();
o.naturalSearchConversionAttributionOption = "foo";
o.omnitureSettings = buildOmnitureSettings();
- o.standardVariableTypes = buildUnnamed2610();
+ o.standardVariableTypes = buildUnnamed2624();
o.subaccountId = "foo";
o.tagSettings = buildTagSettings();
- o.thirdPartyAuthenticationTokens = buildUnnamed2611();
- o.userDefinedVariableConfigurations = buildUnnamed2612();
+ o.thirdPartyAuthenticationTokens = buildUnnamed2625();
+ o.userDefinedVariableConfigurations = buildUnnamed2626();
}
buildCounterFloodlightConfiguration--;
return o;
@@ -4232,23 +4232,23 @@
checkLookbackConfiguration(o.lookbackConfiguration);
unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals('foo'));
checkOmnitureSettings(o.omnitureSettings);
- checkUnnamed2610(o.standardVariableTypes);
+ checkUnnamed2624(o.standardVariableTypes);
unittest.expect(o.subaccountId, unittest.equals('foo'));
checkTagSettings(o.tagSettings);
- checkUnnamed2611(o.thirdPartyAuthenticationTokens);
- checkUnnamed2612(o.userDefinedVariableConfigurations);
+ checkUnnamed2625(o.thirdPartyAuthenticationTokens);
+ checkUnnamed2626(o.userDefinedVariableConfigurations);
}
buildCounterFloodlightConfiguration--;
}
-buildUnnamed2613() {
+buildUnnamed2627() {
var o = new core.List<api.FloodlightConfiguration>();
o.add(buildFloodlightConfiguration());
o.add(buildFloodlightConfiguration());
return o;
}
-checkUnnamed2613(core.List<api.FloodlightConfiguration> o) {
+checkUnnamed2627(core.List<api.FloodlightConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightConfiguration(o[0]);
checkFloodlightConfiguration(o[1]);
@@ -4259,7 +4259,7 @@
var o = new api.FloodlightConfigurationsListResponse();
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- o.floodlightConfigurations = buildUnnamed2613();
+ o.floodlightConfigurations = buildUnnamed2627();
o.kind = "foo";
}
buildCounterFloodlightConfigurationsListResponse--;
@@ -4269,46 +4269,46 @@
checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListResponse o) {
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- checkUnnamed2613(o.floodlightConfigurations);
+ checkUnnamed2627(o.floodlightConfigurations);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFloodlightConfigurationsListResponse--;
}
-buildUnnamed2614() {
+buildUnnamed2628() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2614(core.List<api.Dimension> o) {
+checkUnnamed2628(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2615() {
+buildUnnamed2629() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2615(core.List<api.Dimension> o) {
+checkUnnamed2629(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2616() {
+buildUnnamed2630() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2616(core.List<api.Metric> o) {
+checkUnnamed2630(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -4319,10 +4319,10 @@
var o = new api.FloodlightReportCompatibleFields();
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2614();
- o.dimensions = buildUnnamed2615();
+ o.dimensionFilters = buildUnnamed2628();
+ o.dimensions = buildUnnamed2629();
o.kind = "foo";
- o.metrics = buildUnnamed2616();
+ o.metrics = buildUnnamed2630();
}
buildCounterFloodlightReportCompatibleFields--;
return o;
@@ -4331,10 +4331,10 @@
checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- checkUnnamed2614(o.dimensionFilters);
- checkUnnamed2615(o.dimensions);
+ checkUnnamed2628(o.dimensionFilters);
+ checkUnnamed2629(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2616(o.metrics);
+ checkUnnamed2630(o.metrics);
}
buildCounterFloodlightReportCompatibleFields--;
}
@@ -4387,66 +4387,66 @@
buildCounterFsCommand--;
}
-buildUnnamed2617() {
+buildUnnamed2631() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed2617(core.List<api.City> o) {
+checkUnnamed2631(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
}
-buildUnnamed2618() {
+buildUnnamed2632() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed2618(core.List<api.Country> o) {
+checkUnnamed2632(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
}
-buildUnnamed2619() {
+buildUnnamed2633() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed2619(core.List<api.Metro> o) {
+checkUnnamed2633(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
}
-buildUnnamed2620() {
+buildUnnamed2634() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed2620(core.List<api.PostalCode> o) {
+checkUnnamed2634(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
}
-buildUnnamed2621() {
+buildUnnamed2635() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2621(core.List<api.Region> o) {
+checkUnnamed2635(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -4457,12 +4457,12 @@
var o = new api.GeoTargeting();
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- o.cities = buildUnnamed2617();
- o.countries = buildUnnamed2618();
+ o.cities = buildUnnamed2631();
+ o.countries = buildUnnamed2632();
o.excludeCountries = true;
- o.metros = buildUnnamed2619();
- o.postalCodes = buildUnnamed2620();
- o.regions = buildUnnamed2621();
+ o.metros = buildUnnamed2633();
+ o.postalCodes = buildUnnamed2634();
+ o.regions = buildUnnamed2635();
}
buildCounterGeoTargeting--;
return o;
@@ -4471,24 +4471,24 @@
checkGeoTargeting(api.GeoTargeting o) {
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- checkUnnamed2617(o.cities);
- checkUnnamed2618(o.countries);
+ checkUnnamed2631(o.cities);
+ checkUnnamed2632(o.countries);
unittest.expect(o.excludeCountries, unittest.isTrue);
- checkUnnamed2619(o.metros);
- checkUnnamed2620(o.postalCodes);
- checkUnnamed2621(o.regions);
+ checkUnnamed2633(o.metros);
+ checkUnnamed2634(o.postalCodes);
+ checkUnnamed2635(o.regions);
}
buildCounterGeoTargeting--;
}
-buildUnnamed2622() {
+buildUnnamed2636() {
var o = new core.List<api.AdSlot>();
o.add(buildAdSlot());
o.add(buildAdSlot());
return o;
}
-checkUnnamed2622(core.List<api.AdSlot> o) {
+checkUnnamed2636(core.List<api.AdSlot> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdSlot(o[0]);
checkAdSlot(o[1]);
@@ -4500,7 +4500,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
o.accountId = "foo";
- o.adSlots = buildUnnamed2622();
+ o.adSlots = buildUnnamed2636();
o.advertiserId = "foo";
o.contentCategoryId = "foo";
o.estimatedClickThroughRate = "foo";
@@ -4528,7 +4528,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2622(o.adSlots);
+ checkUnnamed2636(o.adSlots);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo'));
@@ -4551,14 +4551,14 @@
buildCounterInventoryItem--;
}
-buildUnnamed2623() {
+buildUnnamed2637() {
var o = new core.List<api.InventoryItem>();
o.add(buildInventoryItem());
o.add(buildInventoryItem());
return o;
}
-checkUnnamed2623(core.List<api.InventoryItem> o) {
+checkUnnamed2637(core.List<api.InventoryItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryItem(o[0]);
checkInventoryItem(o[1]);
@@ -4569,7 +4569,7 @@
var o = new api.InventoryItemsListResponse();
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- o.inventoryItems = buildUnnamed2623();
+ o.inventoryItems = buildUnnamed2637();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4580,7 +4580,7 @@
checkInventoryItemsListResponse(api.InventoryItemsListResponse o) {
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- checkUnnamed2623(o.inventoryItems);
+ checkUnnamed2637(o.inventoryItems);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4633,14 +4633,14 @@
buildCounterLandingPage--;
}
-buildUnnamed2624() {
+buildUnnamed2638() {
var o = new core.List<api.LandingPage>();
o.add(buildLandingPage());
o.add(buildLandingPage());
return o;
}
-checkUnnamed2624(core.List<api.LandingPage> o) {
+checkUnnamed2638(core.List<api.LandingPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandingPage(o[0]);
checkLandingPage(o[1]);
@@ -4652,7 +4652,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
o.kind = "foo";
- o.landingPages = buildUnnamed2624();
+ o.landingPages = buildUnnamed2638();
}
buildCounterLandingPagesListResponse--;
return o;
@@ -4662,7 +4662,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2624(o.landingPages);
+ checkUnnamed2638(o.landingPages);
}
buildCounterLandingPagesListResponse--;
}
@@ -4692,14 +4692,14 @@
buildCounterLanguage--;
}
-buildUnnamed2625() {
+buildUnnamed2639() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed2625(core.List<api.Language> o) {
+checkUnnamed2639(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4710,7 +4710,7 @@
var o = new api.LanguageTargeting();
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- o.languages = buildUnnamed2625();
+ o.languages = buildUnnamed2639();
}
buildCounterLanguageTargeting--;
return o;
@@ -4719,19 +4719,19 @@
checkLanguageTargeting(api.LanguageTargeting o) {
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- checkUnnamed2625(o.languages);
+ checkUnnamed2639(o.languages);
}
buildCounterLanguageTargeting--;
}
-buildUnnamed2626() {
+buildUnnamed2640() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed2626(core.List<api.Language> o) {
+checkUnnamed2640(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4743,7 +4743,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
o.kind = "foo";
- o.languages = buildUnnamed2626();
+ o.languages = buildUnnamed2640();
}
buildCounterLanguagesListResponse--;
return o;
@@ -4753,7 +4753,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2626(o.languages);
+ checkUnnamed2640(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -4777,14 +4777,14 @@
buildCounterLastModifiedInfo--;
}
-buildUnnamed2627() {
+buildUnnamed2641() {
var o = new core.List<api.ListPopulationTerm>();
o.add(buildListPopulationTerm());
o.add(buildListPopulationTerm());
return o;
}
-checkUnnamed2627(core.List<api.ListPopulationTerm> o) {
+checkUnnamed2641(core.List<api.ListPopulationTerm> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationTerm(o[0]);
checkListPopulationTerm(o[1]);
@@ -4795,7 +4795,7 @@
var o = new api.ListPopulationClause();
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- o.terms = buildUnnamed2627();
+ o.terms = buildUnnamed2641();
}
buildCounterListPopulationClause--;
return o;
@@ -4804,19 +4804,19 @@
checkListPopulationClause(api.ListPopulationClause o) {
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- checkUnnamed2627(o.terms);
+ checkUnnamed2641(o.terms);
}
buildCounterListPopulationClause--;
}
-buildUnnamed2628() {
+buildUnnamed2642() {
var o = new core.List<api.ListPopulationClause>();
o.add(buildListPopulationClause());
o.add(buildListPopulationClause());
return o;
}
-checkUnnamed2628(core.List<api.ListPopulationClause> o) {
+checkUnnamed2642(core.List<api.ListPopulationClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationClause(o[0]);
checkListPopulationClause(o[1]);
@@ -4829,7 +4829,7 @@
if (buildCounterListPopulationRule < 3) {
o.floodlightActivityId = "foo";
o.floodlightActivityName = "foo";
- o.listPopulationClauses = buildUnnamed2628();
+ o.listPopulationClauses = buildUnnamed2642();
}
buildCounterListPopulationRule--;
return o;
@@ -4840,7 +4840,7 @@
if (buildCounterListPopulationRule < 3) {
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityName, unittest.equals('foo'));
- checkUnnamed2628(o.listPopulationClauses);
+ checkUnnamed2642(o.listPopulationClauses);
}
buildCounterListPopulationRule--;
}
@@ -4970,14 +4970,14 @@
buildCounterMetro--;
}
-buildUnnamed2629() {
+buildUnnamed2643() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed2629(core.List<api.Metro> o) {
+checkUnnamed2643(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
@@ -4989,7 +4989,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
o.kind = "foo";
- o.metros = buildUnnamed2629();
+ o.metros = buildUnnamed2643();
}
buildCounterMetrosListResponse--;
return o;
@@ -4999,7 +4999,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2629(o.metros);
+ checkUnnamed2643(o.metros);
}
buildCounterMetrosListResponse--;
}
@@ -5031,14 +5031,14 @@
buildCounterMobileCarrier--;
}
-buildUnnamed2630() {
+buildUnnamed2644() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed2630(core.List<api.MobileCarrier> o) {
+checkUnnamed2644(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
@@ -5050,7 +5050,7 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
o.kind = "foo";
- o.mobileCarriers = buildUnnamed2630();
+ o.mobileCarriers = buildUnnamed2644();
}
buildCounterMobileCarriersListResponse--;
return o;
@@ -5060,19 +5060,19 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2630(o.mobileCarriers);
+ checkUnnamed2644(o.mobileCarriers);
}
buildCounterMobileCarriersListResponse--;
}
-buildUnnamed2631() {
+buildUnnamed2645() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2631(core.List<core.String> o) {
+checkUnnamed2645(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5084,7 +5084,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
o.kind = "foo";
- o.objectIds = buildUnnamed2631();
+ o.objectIds = buildUnnamed2645();
o.status = "foo";
}
buildCounterObjectFilter--;
@@ -5095,7 +5095,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2631(o.objectIds);
+ checkUnnamed2645(o.objectIds);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterObjectFilter--;
@@ -5199,14 +5199,14 @@
buildCounterOperatingSystemVersion--;
}
-buildUnnamed2632() {
+buildUnnamed2646() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed2632(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed2646(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
@@ -5218,7 +5218,7 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
o.kind = "foo";
- o.operatingSystemVersions = buildUnnamed2632();
+ o.operatingSystemVersions = buildUnnamed2646();
}
buildCounterOperatingSystemVersionsListResponse--;
return o;
@@ -5228,19 +5228,19 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2632(o.operatingSystemVersions);
+ checkUnnamed2646(o.operatingSystemVersions);
}
buildCounterOperatingSystemVersionsListResponse--;
}
-buildUnnamed2633() {
+buildUnnamed2647() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed2633(core.List<api.OperatingSystem> o) {
+checkUnnamed2647(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
@@ -5252,7 +5252,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
o.kind = "foo";
- o.operatingSystems = buildUnnamed2633();
+ o.operatingSystems = buildUnnamed2647();
}
buildCounterOperatingSystemsListResponse--;
return o;
@@ -5262,7 +5262,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2633(o.operatingSystems);
+ checkUnnamed2647(o.operatingSystems);
}
buildCounterOperatingSystemsListResponse--;
}
@@ -5290,53 +5290,53 @@
buildCounterOptimizationActivity--;
}
-buildUnnamed2634() {
+buildUnnamed2648() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2634(core.List<core.String> o) {
+checkUnnamed2648(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2635() {
+buildUnnamed2649() {
var o = new core.List<api.OrderContact>();
o.add(buildOrderContact());
o.add(buildOrderContact());
return o;
}
-checkUnnamed2635(core.List<api.OrderContact> o) {
+checkUnnamed2649(core.List<api.OrderContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderContact(o[0]);
checkOrderContact(o[1]);
}
-buildUnnamed2636() {
+buildUnnamed2650() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2636(core.List<core.String> o) {
+checkUnnamed2650(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2637() {
+buildUnnamed2651() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2637(core.List<core.String> o) {
+checkUnnamed2651(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5349,11 +5349,11 @@
if (buildCounterOrder < 3) {
o.accountId = "foo";
o.advertiserId = "foo";
- o.approverUserProfileIds = buildUnnamed2634();
+ o.approverUserProfileIds = buildUnnamed2648();
o.buyerInvoiceId = "foo";
o.buyerOrganizationName = "foo";
o.comments = "foo";
- o.contacts = buildUnnamed2635();
+ o.contacts = buildUnnamed2649();
o.id = "foo";
o.kind = "foo";
o.lastModifiedInfo = buildLastModifiedInfo();
@@ -5363,8 +5363,8 @@
o.projectId = "foo";
o.sellerOrderId = "foo";
o.sellerOrganizationName = "foo";
- o.siteId = buildUnnamed2636();
- o.siteNames = buildUnnamed2637();
+ o.siteId = buildUnnamed2650();
+ o.siteNames = buildUnnamed2651();
o.subaccountId = "foo";
o.termsAndConditions = "foo";
}
@@ -5377,11 +5377,11 @@
if (buildCounterOrder < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
- checkUnnamed2634(o.approverUserProfileIds);
+ checkUnnamed2648(o.approverUserProfileIds);
unittest.expect(o.buyerInvoiceId, unittest.equals('foo'));
unittest.expect(o.buyerOrganizationName, unittest.equals('foo'));
unittest.expect(o.comments, unittest.equals('foo'));
- checkUnnamed2635(o.contacts);
+ checkUnnamed2649(o.contacts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkLastModifiedInfo(o.lastModifiedInfo);
@@ -5391,8 +5391,8 @@
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.sellerOrderId, unittest.equals('foo'));
unittest.expect(o.sellerOrganizationName, unittest.equals('foo'));
- checkUnnamed2636(o.siteId);
- checkUnnamed2637(o.siteNames);
+ checkUnnamed2650(o.siteId);
+ checkUnnamed2651(o.siteNames);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.termsAndConditions, unittest.equals('foo'));
}
@@ -5426,27 +5426,27 @@
buildCounterOrderContact--;
}
-buildUnnamed2638() {
+buildUnnamed2652() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2638(core.List<core.String> o) {
+checkUnnamed2652(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2639() {
+buildUnnamed2653() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2639(core.List<core.String> o) {
+checkUnnamed2653(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5460,13 +5460,13 @@
o.accountId = "foo";
o.advertiserId = "foo";
o.amendedOrderDocumentId = "foo";
- o.approvedByUserProfileIds = buildUnnamed2638();
+ o.approvedByUserProfileIds = buildUnnamed2652();
o.cancelled = true;
o.createdInfo = buildLastModifiedInfo();
o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.id = "foo";
o.kind = "foo";
- o.lastSentRecipients = buildUnnamed2639();
+ o.lastSentRecipients = buildUnnamed2653();
o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02");
o.orderId = "foo";
o.projectId = "foo";
@@ -5485,13 +5485,13 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo'));
- checkUnnamed2638(o.approvedByUserProfileIds);
+ checkUnnamed2652(o.approvedByUserProfileIds);
unittest.expect(o.cancelled, unittest.isTrue);
checkLastModifiedInfo(o.createdInfo);
unittest.expect(o.effectiveDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2639(o.lastSentRecipients);
+ checkUnnamed2653(o.lastSentRecipients);
unittest.expect(o.lastSentTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.orderId, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
@@ -5503,14 +5503,14 @@
buildCounterOrderDocument--;
}
-buildUnnamed2640() {
+buildUnnamed2654() {
var o = new core.List<api.OrderDocument>();
o.add(buildOrderDocument());
o.add(buildOrderDocument());
return o;
}
-checkUnnamed2640(core.List<api.OrderDocument> o) {
+checkUnnamed2654(core.List<api.OrderDocument> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderDocument(o[0]);
checkOrderDocument(o[1]);
@@ -5523,7 +5523,7 @@
if (buildCounterOrderDocumentsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orderDocuments = buildUnnamed2640();
+ o.orderDocuments = buildUnnamed2654();
}
buildCounterOrderDocumentsListResponse--;
return o;
@@ -5534,19 +5534,19 @@
if (buildCounterOrderDocumentsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2640(o.orderDocuments);
+ checkUnnamed2654(o.orderDocuments);
}
buildCounterOrderDocumentsListResponse--;
}
-buildUnnamed2641() {
+buildUnnamed2655() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed2641(core.List<api.Order> o) {
+checkUnnamed2655(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -5559,7 +5559,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orders = buildUnnamed2641();
+ o.orders = buildUnnamed2655();
}
buildCounterOrdersListResponse--;
return o;
@@ -5570,58 +5570,58 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2641(o.orders);
+ checkUnnamed2655(o.orders);
}
buildCounterOrdersListResponse--;
}
-buildUnnamed2642() {
+buildUnnamed2656() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2642(core.List<api.Dimension> o) {
+checkUnnamed2656(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2643() {
+buildUnnamed2657() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2643(core.List<api.Dimension> o) {
+checkUnnamed2657(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2644() {
+buildUnnamed2658() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2644(core.List<api.Metric> o) {
+checkUnnamed2658(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2645() {
+buildUnnamed2659() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2645(core.List<api.Dimension> o) {
+checkUnnamed2659(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -5632,11 +5632,11 @@
var o = new api.PathToConversionReportCompatibleFields();
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- o.conversionDimensions = buildUnnamed2642();
- o.customFloodlightVariables = buildUnnamed2643();
+ o.conversionDimensions = buildUnnamed2656();
+ o.customFloodlightVariables = buildUnnamed2657();
o.kind = "foo";
- o.metrics = buildUnnamed2644();
- o.perInteractionDimensions = buildUnnamed2645();
+ o.metrics = buildUnnamed2658();
+ o.perInteractionDimensions = buildUnnamed2659();
}
buildCounterPathToConversionReportCompatibleFields--;
return o;
@@ -5645,23 +5645,23 @@
checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatibleFields o) {
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- checkUnnamed2642(o.conversionDimensions);
- checkUnnamed2643(o.customFloodlightVariables);
+ checkUnnamed2656(o.conversionDimensions);
+ checkUnnamed2657(o.customFloodlightVariables);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2644(o.metrics);
- checkUnnamed2645(o.perInteractionDimensions);
+ checkUnnamed2658(o.metrics);
+ checkUnnamed2659(o.perInteractionDimensions);
}
buildCounterPathToConversionReportCompatibleFields--;
}
-buildUnnamed2646() {
+buildUnnamed2660() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2646(core.List<core.String> o) {
+checkUnnamed2660(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5706,7 +5706,7 @@
o.sslRequired = true;
o.status = "foo";
o.subaccountId = "foo";
- o.tagFormats = buildUnnamed2646();
+ o.tagFormats = buildUnnamed2660();
o.tagSetting = buildTagSetting();
}
buildCounterPlacement--;
@@ -5750,7 +5750,7 @@
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed2646(o.tagFormats);
+ checkUnnamed2660(o.tagFormats);
checkTagSetting(o.tagSetting);
}
buildCounterPlacement--;
@@ -5781,14 +5781,14 @@
buildCounterPlacementAssignment--;
}
-buildUnnamed2647() {
+buildUnnamed2661() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2647(core.List<core.String> o) {
+checkUnnamed2661(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5805,7 +5805,7 @@
o.archived = true;
o.campaignId = "foo";
o.campaignIdDimensionValue = buildDimensionValue();
- o.childPlacementIds = buildUnnamed2647();
+ o.childPlacementIds = buildUnnamed2661();
o.comment = "foo";
o.contentCategoryId = "foo";
o.createInfo = buildLastModifiedInfo();
@@ -5839,7 +5839,7 @@
unittest.expect(o.archived, unittest.isTrue);
unittest.expect(o.campaignId, unittest.equals('foo'));
checkDimensionValue(o.campaignIdDimensionValue);
- checkUnnamed2647(o.childPlacementIds);
+ checkUnnamed2661(o.childPlacementIds);
unittest.expect(o.comment, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
@@ -5863,14 +5863,14 @@
buildCounterPlacementGroup--;
}
-buildUnnamed2648() {
+buildUnnamed2662() {
var o = new core.List<api.PlacementGroup>();
o.add(buildPlacementGroup());
o.add(buildPlacementGroup());
return o;
}
-checkUnnamed2648(core.List<api.PlacementGroup> o) {
+checkUnnamed2662(core.List<api.PlacementGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementGroup(o[0]);
checkPlacementGroup(o[1]);
@@ -5883,7 +5883,7 @@
if (buildCounterPlacementGroupsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementGroups = buildUnnamed2648();
+ o.placementGroups = buildUnnamed2662();
}
buildCounterPlacementGroupsListResponse--;
return o;
@@ -5894,19 +5894,19 @@
if (buildCounterPlacementGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2648(o.placementGroups);
+ checkUnnamed2662(o.placementGroups);
}
buildCounterPlacementGroupsListResponse--;
}
-buildUnnamed2649() {
+buildUnnamed2663() {
var o = new core.List<api.PlacementStrategy>();
o.add(buildPlacementStrategy());
o.add(buildPlacementStrategy());
return o;
}
-checkUnnamed2649(core.List<api.PlacementStrategy> o) {
+checkUnnamed2663(core.List<api.PlacementStrategy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementStrategy(o[0]);
checkPlacementStrategy(o[1]);
@@ -5919,7 +5919,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementStrategies = buildUnnamed2649();
+ o.placementStrategies = buildUnnamed2663();
}
buildCounterPlacementStrategiesListResponse--;
return o;
@@ -5930,7 +5930,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2649(o.placementStrategies);
+ checkUnnamed2663(o.placementStrategies);
}
buildCounterPlacementStrategiesListResponse--;
}
@@ -5960,14 +5960,14 @@
buildCounterPlacementStrategy--;
}
-buildUnnamed2650() {
+buildUnnamed2664() {
var o = new core.List<api.TagData>();
o.add(buildTagData());
o.add(buildTagData());
return o;
}
-checkUnnamed2650(core.List<api.TagData> o) {
+checkUnnamed2664(core.List<api.TagData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagData(o[0]);
checkTagData(o[1]);
@@ -5979,7 +5979,7 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
o.placementId = "foo";
- o.tagDatas = buildUnnamed2650();
+ o.tagDatas = buildUnnamed2664();
}
buildCounterPlacementTag--;
return o;
@@ -5989,19 +5989,19 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
unittest.expect(o.placementId, unittest.equals('foo'));
- checkUnnamed2650(o.tagDatas);
+ checkUnnamed2664(o.tagDatas);
}
buildCounterPlacementTag--;
}
-buildUnnamed2651() {
+buildUnnamed2665() {
var o = new core.List<api.PlacementTag>();
o.add(buildPlacementTag());
o.add(buildPlacementTag());
return o;
}
-checkUnnamed2651(core.List<api.PlacementTag> o) {
+checkUnnamed2665(core.List<api.PlacementTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementTag(o[0]);
checkPlacementTag(o[1]);
@@ -6013,7 +6013,7 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
o.kind = "foo";
- o.placementTags = buildUnnamed2651();
+ o.placementTags = buildUnnamed2665();
}
buildCounterPlacementsGenerateTagsResponse--;
return o;
@@ -6023,19 +6023,19 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2651(o.placementTags);
+ checkUnnamed2665(o.placementTags);
}
buildCounterPlacementsGenerateTagsResponse--;
}
-buildUnnamed2652() {
+buildUnnamed2666() {
var o = new core.List<api.Placement>();
o.add(buildPlacement());
o.add(buildPlacement());
return o;
}
-checkUnnamed2652(core.List<api.Placement> o) {
+checkUnnamed2666(core.List<api.Placement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacement(o[0]);
checkPlacement(o[1]);
@@ -6048,7 +6048,7 @@
if (buildCounterPlacementsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placements = buildUnnamed2652();
+ o.placements = buildUnnamed2666();
}
buildCounterPlacementsListResponse--;
return o;
@@ -6059,7 +6059,7 @@
if (buildCounterPlacementsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2652(o.placements);
+ checkUnnamed2666(o.placements);
}
buildCounterPlacementsListResponse--;
}
@@ -6087,14 +6087,14 @@
buildCounterPlatformType--;
}
-buildUnnamed2653() {
+buildUnnamed2667() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed2653(core.List<api.PlatformType> o) {
+checkUnnamed2667(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -6106,7 +6106,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
o.kind = "foo";
- o.platformTypes = buildUnnamed2653();
+ o.platformTypes = buildUnnamed2667();
}
buildCounterPlatformTypesListResponse--;
return o;
@@ -6116,7 +6116,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2653(o.platformTypes);
+ checkUnnamed2667(o.platformTypes);
}
buildCounterPlatformTypesListResponse--;
}
@@ -6183,14 +6183,14 @@
buildCounterPostalCode--;
}
-buildUnnamed2654() {
+buildUnnamed2668() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed2654(core.List<api.PostalCode> o) {
+checkUnnamed2668(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
@@ -6202,7 +6202,7 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
o.kind = "foo";
- o.postalCodes = buildUnnamed2654();
+ o.postalCodes = buildUnnamed2668();
}
buildCounterPostalCodesListResponse--;
return o;
@@ -6212,19 +6212,19 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2654(o.postalCodes);
+ checkUnnamed2668(o.postalCodes);
}
buildCounterPostalCodesListResponse--;
}
-buildUnnamed2655() {
+buildUnnamed2669() {
var o = new core.List<api.Flight>();
o.add(buildFlight());
o.add(buildFlight());
return o;
}
-checkUnnamed2655(core.List<api.Flight> o) {
+checkUnnamed2669(core.List<api.Flight> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlight(o[0]);
checkFlight(o[1]);
@@ -6237,7 +6237,7 @@
if (buildCounterPricing < 3) {
o.capCostType = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.flights = buildUnnamed2655();
+ o.flights = buildUnnamed2669();
o.groupType = "foo";
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6251,7 +6251,7 @@
if (buildCounterPricing < 3) {
unittest.expect(o.capCostType, unittest.equals('foo'));
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2655(o.flights);
+ checkUnnamed2669(o.flights);
unittest.expect(o.groupType, unittest.equals('foo'));
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -6259,14 +6259,14 @@
buildCounterPricing--;
}
-buildUnnamed2656() {
+buildUnnamed2670() {
var o = new core.List<api.PricingSchedulePricingPeriod>();
o.add(buildPricingSchedulePricingPeriod());
o.add(buildPricingSchedulePricingPeriod());
return o;
}
-checkUnnamed2656(core.List<api.PricingSchedulePricingPeriod> o) {
+checkUnnamed2670(core.List<api.PricingSchedulePricingPeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingSchedulePricingPeriod(o[0]);
checkPricingSchedulePricingPeriod(o[1]);
@@ -6282,7 +6282,7 @@
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.flighted = true;
o.floodlightActivityId = "foo";
- o.pricingPeriods = buildUnnamed2656();
+ o.pricingPeriods = buildUnnamed2670();
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6299,7 +6299,7 @@
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.flighted, unittest.isTrue);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
- checkUnnamed2656(o.pricingPeriods);
+ checkUnnamed2670(o.pricingPeriods);
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.testingStartDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -6395,14 +6395,14 @@
buildCounterProject--;
}
-buildUnnamed2657() {
+buildUnnamed2671() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed2657(core.List<api.Project> o) {
+checkUnnamed2671(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -6415,7 +6415,7 @@
if (buildCounterProjectsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed2657();
+ o.projects = buildUnnamed2671();
}
buildCounterProjectsListResponse--;
return o;
@@ -6426,71 +6426,71 @@
if (buildCounterProjectsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2657(o.projects);
+ checkUnnamed2671(o.projects);
}
buildCounterProjectsListResponse--;
}
-buildUnnamed2658() {
+buildUnnamed2672() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2658(core.List<api.Dimension> o) {
+checkUnnamed2672(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2659() {
+buildUnnamed2673() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2659(core.List<api.Dimension> o) {
+checkUnnamed2673(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2660() {
+buildUnnamed2674() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2660(core.List<api.Metric> o) {
+checkUnnamed2674(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2661() {
+buildUnnamed2675() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2661(core.List<api.Metric> o) {
+checkUnnamed2675(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2662() {
+buildUnnamed2676() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2662(core.List<api.Metric> o) {
+checkUnnamed2676(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -6501,12 +6501,12 @@
var o = new api.ReachReportCompatibleFields();
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2658();
- o.dimensions = buildUnnamed2659();
+ o.dimensionFilters = buildUnnamed2672();
+ o.dimensions = buildUnnamed2673();
o.kind = "foo";
- o.metrics = buildUnnamed2660();
- o.pivotedActivityMetrics = buildUnnamed2661();
- o.reachByFrequencyMetrics = buildUnnamed2662();
+ o.metrics = buildUnnamed2674();
+ o.pivotedActivityMetrics = buildUnnamed2675();
+ o.reachByFrequencyMetrics = buildUnnamed2676();
}
buildCounterReachReportCompatibleFields--;
return o;
@@ -6515,12 +6515,12 @@
checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- checkUnnamed2658(o.dimensionFilters);
- checkUnnamed2659(o.dimensions);
+ checkUnnamed2672(o.dimensionFilters);
+ checkUnnamed2673(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2660(o.metrics);
- checkUnnamed2661(o.pivotedActivityMetrics);
- checkUnnamed2662(o.reachByFrequencyMetrics);
+ checkUnnamed2674(o.metrics);
+ checkUnnamed2675(o.pivotedActivityMetrics);
+ checkUnnamed2676(o.reachByFrequencyMetrics);
}
buildCounterReachReportCompatibleFields--;
}
@@ -6577,14 +6577,14 @@
buildCounterRegion--;
}
-buildUnnamed2663() {
+buildUnnamed2677() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2663(core.List<api.Region> o) {
+checkUnnamed2677(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -6596,7 +6596,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
o.kind = "foo";
- o.regions = buildUnnamed2663();
+ o.regions = buildUnnamed2677();
}
buildCounterRegionsListResponse--;
return o;
@@ -6606,7 +6606,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2663(o.regions);
+ checkUnnamed2677(o.regions);
}
buildCounterRegionsListResponse--;
}
@@ -6654,27 +6654,27 @@
buildCounterRemarketingList--;
}
-buildUnnamed2664() {
+buildUnnamed2678() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2664(core.List<core.String> o) {
+checkUnnamed2678(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2665() {
+buildUnnamed2679() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2665(core.List<core.String> o) {
+checkUnnamed2679(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6687,8 +6687,8 @@
if (buildCounterRemarketingListShare < 3) {
o.kind = "foo";
o.remarketingListId = "foo";
- o.sharedAccountIds = buildUnnamed2664();
- o.sharedAdvertiserIds = buildUnnamed2665();
+ o.sharedAccountIds = buildUnnamed2678();
+ o.sharedAdvertiserIds = buildUnnamed2679();
}
buildCounterRemarketingListShare--;
return o;
@@ -6699,20 +6699,20 @@
if (buildCounterRemarketingListShare < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.remarketingListId, unittest.equals('foo'));
- checkUnnamed2664(o.sharedAccountIds);
- checkUnnamed2665(o.sharedAdvertiserIds);
+ checkUnnamed2678(o.sharedAccountIds);
+ checkUnnamed2679(o.sharedAdvertiserIds);
}
buildCounterRemarketingListShare--;
}
-buildUnnamed2666() {
+buildUnnamed2680() {
var o = new core.List<api.RemarketingList>();
o.add(buildRemarketingList());
o.add(buildRemarketingList());
return o;
}
-checkUnnamed2666(core.List<api.RemarketingList> o) {
+checkUnnamed2680(core.List<api.RemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingList(o[0]);
checkRemarketingList(o[1]);
@@ -6725,7 +6725,7 @@
if (buildCounterRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.remarketingLists = buildUnnamed2666();
+ o.remarketingLists = buildUnnamed2680();
}
buildCounterRemarketingListsListResponse--;
return o;
@@ -6736,45 +6736,45 @@
if (buildCounterRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2666(o.remarketingLists);
+ checkUnnamed2680(o.remarketingLists);
}
buildCounterRemarketingListsListResponse--;
}
-buildUnnamed2667() {
+buildUnnamed2681() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2667(core.List<api.DimensionValue> o) {
+checkUnnamed2681(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2668() {
+buildUnnamed2682() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2668(core.List<api.SortedDimension> o) {
+checkUnnamed2682(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2669() {
+buildUnnamed2683() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2669(core.List<core.String> o) {
+checkUnnamed2683(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6788,9 +6788,9 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2667();
- o.dimensions = buildUnnamed2668();
- o.metricNames = buildUnnamed2669();
+ o.dimensionFilters = buildUnnamed2681();
+ o.dimensions = buildUnnamed2682();
+ o.metricNames = buildUnnamed2683();
}
buildCounterReportCriteria--;
return o;
@@ -6802,60 +6802,60 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2667(o.dimensionFilters);
- checkUnnamed2668(o.dimensions);
- checkUnnamed2669(o.metricNames);
+ checkUnnamed2681(o.dimensionFilters);
+ checkUnnamed2682(o.dimensions);
+ checkUnnamed2683(o.metricNames);
}
buildCounterReportCriteria--;
}
-buildUnnamed2670() {
+buildUnnamed2684() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2670(core.List<api.SortedDimension> o) {
+checkUnnamed2684(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2671() {
+buildUnnamed2685() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2671(core.List<api.DimensionValue> o) {
+checkUnnamed2685(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2672() {
+buildUnnamed2686() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2672(core.List<core.String> o) {
+checkUnnamed2686(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2673() {
+buildUnnamed2687() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2673(core.List<core.String> o) {
+checkUnnamed2687(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6866,12 +6866,12 @@
var o = new api.ReportCrossDimensionReachCriteria();
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- o.breakdown = buildUnnamed2670();
+ o.breakdown = buildUnnamed2684();
o.dateRange = buildDateRange();
o.dimension = "foo";
- o.dimensionFilters = buildUnnamed2671();
- o.metricNames = buildUnnamed2672();
- o.overlapMetricNames = buildUnnamed2673();
+ o.dimensionFilters = buildUnnamed2685();
+ o.metricNames = buildUnnamed2686();
+ o.overlapMetricNames = buildUnnamed2687();
o.pivoted = true;
}
buildCounterReportCrossDimensionReachCriteria--;
@@ -6881,25 +6881,25 @@
checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o) {
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- checkUnnamed2670(o.breakdown);
+ checkUnnamed2684(o.breakdown);
checkDateRange(o.dateRange);
unittest.expect(o.dimension, unittest.equals('foo'));
- checkUnnamed2671(o.dimensionFilters);
- checkUnnamed2672(o.metricNames);
- checkUnnamed2673(o.overlapMetricNames);
+ checkUnnamed2685(o.dimensionFilters);
+ checkUnnamed2686(o.metricNames);
+ checkUnnamed2687(o.overlapMetricNames);
unittest.expect(o.pivoted, unittest.isTrue);
}
buildCounterReportCrossDimensionReachCriteria--;
}
-buildUnnamed2674() {
+buildUnnamed2688() {
var o = new core.List<api.Recipient>();
o.add(buildRecipient());
o.add(buildRecipient());
return o;
}
-checkUnnamed2674(core.List<api.Recipient> o) {
+checkUnnamed2688(core.List<api.Recipient> o) {
unittest.expect(o, unittest.hasLength(2));
checkRecipient(o[0]);
checkRecipient(o[1]);
@@ -6913,7 +6913,7 @@
o.emailOwner = true;
o.emailOwnerDeliveryType = "foo";
o.message = "foo";
- o.recipients = buildUnnamed2674();
+ o.recipients = buildUnnamed2688();
}
buildCounterReportDelivery--;
return o;
@@ -6925,58 +6925,58 @@
unittest.expect(o.emailOwner, unittest.isTrue);
unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo'));
unittest.expect(o.message, unittest.equals('foo'));
- checkUnnamed2674(o.recipients);
+ checkUnnamed2688(o.recipients);
}
buildCounterReportDelivery--;
}
-buildUnnamed2675() {
+buildUnnamed2689() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2675(core.List<api.DimensionValue> o) {
+checkUnnamed2689(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2676() {
+buildUnnamed2690() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2676(core.List<api.DimensionValue> o) {
+checkUnnamed2690(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2677() {
+buildUnnamed2691() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2677(core.List<api.SortedDimension> o) {
+checkUnnamed2691(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2678() {
+buildUnnamed2692() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2678(core.List<core.String> o) {
+checkUnnamed2692(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7010,12 +7010,12 @@
var o = new api.ReportFloodlightCriteria();
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- o.customRichMediaEvents = buildUnnamed2675();
+ o.customRichMediaEvents = buildUnnamed2689();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2676();
- o.dimensions = buildUnnamed2677();
+ o.dimensionFilters = buildUnnamed2690();
+ o.dimensions = buildUnnamed2691();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed2678();
+ o.metricNames = buildUnnamed2692();
o.reportProperties = buildReportFloodlightCriteriaReportProperties();
}
buildCounterReportFloodlightCriteria--;
@@ -7025,90 +7025,90 @@
checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- checkUnnamed2675(o.customRichMediaEvents);
+ checkUnnamed2689(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2676(o.dimensionFilters);
- checkUnnamed2677(o.dimensions);
+ checkUnnamed2690(o.dimensionFilters);
+ checkUnnamed2691(o.dimensions);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed2678(o.metricNames);
+ checkUnnamed2692(o.metricNames);
checkReportFloodlightCriteriaReportProperties(o.reportProperties);
}
buildCounterReportFloodlightCriteria--;
}
-buildUnnamed2679() {
+buildUnnamed2693() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2679(core.List<api.DimensionValue> o) {
+checkUnnamed2693(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2680() {
+buildUnnamed2694() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2680(core.List<api.SortedDimension> o) {
+checkUnnamed2694(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2681() {
+buildUnnamed2695() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2681(core.List<api.SortedDimension> o) {
+checkUnnamed2695(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2682() {
+buildUnnamed2696() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2682(core.List<api.DimensionValue> o) {
+checkUnnamed2696(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2683() {
+buildUnnamed2697() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2683(core.List<core.String> o) {
+checkUnnamed2697(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2684() {
+buildUnnamed2698() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2684(core.List<api.SortedDimension> o) {
+checkUnnamed2698(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
@@ -7154,14 +7154,14 @@
var o = new api.ReportPathToConversionCriteria();
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- o.activityFilters = buildUnnamed2679();
- o.conversionDimensions = buildUnnamed2680();
- o.customFloodlightVariables = buildUnnamed2681();
- o.customRichMediaEvents = buildUnnamed2682();
+ o.activityFilters = buildUnnamed2693();
+ o.conversionDimensions = buildUnnamed2694();
+ o.customFloodlightVariables = buildUnnamed2695();
+ o.customRichMediaEvents = buildUnnamed2696();
o.dateRange = buildDateRange();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed2683();
- o.perInteractionDimensions = buildUnnamed2684();
+ o.metricNames = buildUnnamed2697();
+ o.perInteractionDimensions = buildUnnamed2698();
o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
}
buildCounterReportPathToConversionCriteria--;
@@ -7171,66 +7171,66 @@
checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- checkUnnamed2679(o.activityFilters);
- checkUnnamed2680(o.conversionDimensions);
- checkUnnamed2681(o.customFloodlightVariables);
- checkUnnamed2682(o.customRichMediaEvents);
+ checkUnnamed2693(o.activityFilters);
+ checkUnnamed2694(o.conversionDimensions);
+ checkUnnamed2695(o.customFloodlightVariables);
+ checkUnnamed2696(o.customRichMediaEvents);
checkDateRange(o.dateRange);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed2683(o.metricNames);
- checkUnnamed2684(o.perInteractionDimensions);
+ checkUnnamed2697(o.metricNames);
+ checkUnnamed2698(o.perInteractionDimensions);
checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
}
buildCounterReportPathToConversionCriteria--;
}
-buildUnnamed2685() {
+buildUnnamed2699() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2685(core.List<api.DimensionValue> o) {
+checkUnnamed2699(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2686() {
+buildUnnamed2700() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2686(core.List<api.SortedDimension> o) {
+checkUnnamed2700(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2687() {
+buildUnnamed2701() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2687(core.List<core.String> o) {
+checkUnnamed2701(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2688() {
+buildUnnamed2702() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2688(core.List<core.String> o) {
+checkUnnamed2702(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7244,11 +7244,11 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2685();
- o.dimensions = buildUnnamed2686();
+ o.dimensionFilters = buildUnnamed2699();
+ o.dimensions = buildUnnamed2700();
o.enableAllDimensionCombinations = true;
- o.metricNames = buildUnnamed2687();
- o.reachByFrequencyMetricNames = buildUnnamed2688();
+ o.metricNames = buildUnnamed2701();
+ o.reachByFrequencyMetricNames = buildUnnamed2702();
}
buildCounterReportReachCriteria--;
return o;
@@ -7260,23 +7260,23 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2685(o.dimensionFilters);
- checkUnnamed2686(o.dimensions);
+ checkUnnamed2699(o.dimensionFilters);
+ checkUnnamed2700(o.dimensions);
unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue);
- checkUnnamed2687(o.metricNames);
- checkUnnamed2688(o.reachByFrequencyMetricNames);
+ checkUnnamed2701(o.metricNames);
+ checkUnnamed2702(o.reachByFrequencyMetricNames);
}
buildCounterReportReachCriteria--;
}
-buildUnnamed2689() {
+buildUnnamed2703() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2689(core.List<core.String> o) {
+checkUnnamed2703(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7291,7 +7291,7 @@
o.every = 42;
o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.repeats = "foo";
- o.repeatsOnWeekDays = buildUnnamed2689();
+ o.repeatsOnWeekDays = buildUnnamed2703();
o.runsOnDayOfMonth = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -7306,7 +7306,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'));
- checkUnnamed2689(o.repeatsOnWeekDays);
+ checkUnnamed2703(o.repeatsOnWeekDays);
unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
}
@@ -7366,53 +7366,53 @@
buildCounterReport--;
}
-buildUnnamed2690() {
+buildUnnamed2704() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2690(core.List<api.Dimension> o) {
+checkUnnamed2704(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2691() {
+buildUnnamed2705() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2691(core.List<api.Dimension> o) {
+checkUnnamed2705(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2692() {
+buildUnnamed2706() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2692(core.List<api.Metric> o) {
+checkUnnamed2706(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2693() {
+buildUnnamed2707() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2693(core.List<api.Metric> o) {
+checkUnnamed2707(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -7423,11 +7423,11 @@
var o = new api.ReportCompatibleFields();
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2690();
- o.dimensions = buildUnnamed2691();
+ o.dimensionFilters = buildUnnamed2704();
+ o.dimensions = buildUnnamed2705();
o.kind = "foo";
- o.metrics = buildUnnamed2692();
- o.pivotedActivityMetrics = buildUnnamed2693();
+ o.metrics = buildUnnamed2706();
+ o.pivotedActivityMetrics = buildUnnamed2707();
}
buildCounterReportCompatibleFields--;
return o;
@@ -7436,23 +7436,23 @@
checkReportCompatibleFields(api.ReportCompatibleFields o) {
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- checkUnnamed2690(o.dimensionFilters);
- checkUnnamed2691(o.dimensions);
+ checkUnnamed2704(o.dimensionFilters);
+ checkUnnamed2705(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2692(o.metrics);
- checkUnnamed2693(o.pivotedActivityMetrics);
+ checkUnnamed2706(o.metrics);
+ checkUnnamed2707(o.pivotedActivityMetrics);
}
buildCounterReportCompatibleFields--;
}
-buildUnnamed2694() {
+buildUnnamed2708() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed2694(core.List<api.Report> o) {
+checkUnnamed2708(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -7464,7 +7464,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2694();
+ o.items = buildUnnamed2708();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -7476,7 +7476,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2694(o.items);
+ checkUnnamed2708(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -7552,14 +7552,14 @@
buildCounterRule--;
}
-buildUnnamed2695() {
+buildUnnamed2709() {
var o = new core.List<api.SiteContact>();
o.add(buildSiteContact());
o.add(buildSiteContact());
return o;
}
-checkUnnamed2695(core.List<api.SiteContact> o) {
+checkUnnamed2709(core.List<api.SiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteContact(o[0]);
checkSiteContact(o[1]);
@@ -7579,7 +7579,7 @@
o.keyName = "foo";
o.kind = "foo";
o.name = "foo";
- o.siteContacts = buildUnnamed2695();
+ o.siteContacts = buildUnnamed2709();
o.siteSettings = buildSiteSettings();
o.subaccountId = "foo";
}
@@ -7599,7 +7599,7 @@
unittest.expect(o.keyName, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2695(o.siteContacts);
+ checkUnnamed2709(o.siteContacts);
checkSiteSettings(o.siteSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
@@ -7670,14 +7670,14 @@
buildCounterSiteSettings--;
}
-buildUnnamed2696() {
+buildUnnamed2710() {
var o = new core.List<api.Site>();
o.add(buildSite());
o.add(buildSite());
return o;
}
-checkUnnamed2696(core.List<api.Site> o) {
+checkUnnamed2710(core.List<api.Site> o) {
unittest.expect(o, unittest.hasLength(2));
checkSite(o[0]);
checkSite(o[1]);
@@ -7690,7 +7690,7 @@
if (buildCounterSitesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.sites = buildUnnamed2696();
+ o.sites = buildUnnamed2710();
}
buildCounterSitesListResponse--;
return o;
@@ -7701,7 +7701,7 @@
if (buildCounterSitesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2696(o.sites);
+ checkUnnamed2710(o.sites);
}
buildCounterSitesListResponse--;
}
@@ -7733,14 +7733,14 @@
buildCounterSize--;
}
-buildUnnamed2697() {
+buildUnnamed2711() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed2697(core.List<api.Size> o) {
+checkUnnamed2711(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -7752,7 +7752,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
o.kind = "foo";
- o.sizes = buildUnnamed2697();
+ o.sizes = buildUnnamed2711();
}
buildCounterSizesListResponse--;
return o;
@@ -7762,7 +7762,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2697(o.sizes);
+ checkUnnamed2711(o.sizes);
}
buildCounterSizesListResponse--;
}
@@ -7790,14 +7790,14 @@
buildCounterSortedDimension--;
}
-buildUnnamed2698() {
+buildUnnamed2712() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2698(core.List<core.String> o) {
+checkUnnamed2712(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7809,7 +7809,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
o.accountId = "foo";
- o.availablePermissionIds = buildUnnamed2698();
+ o.availablePermissionIds = buildUnnamed2712();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -7822,7 +7822,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2698(o.availablePermissionIds);
+ checkUnnamed2712(o.availablePermissionIds);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -7830,14 +7830,14 @@
buildCounterSubaccount--;
}
-buildUnnamed2699() {
+buildUnnamed2713() {
var o = new core.List<api.Subaccount>();
o.add(buildSubaccount());
o.add(buildSubaccount());
return o;
}
-checkUnnamed2699(core.List<api.Subaccount> o) {
+checkUnnamed2713(core.List<api.Subaccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubaccount(o[0]);
checkSubaccount(o[1]);
@@ -7850,7 +7850,7 @@
if (buildCounterSubaccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subaccounts = buildUnnamed2699();
+ o.subaccounts = buildUnnamed2713();
}
buildCounterSubaccountsListResponse--;
return o;
@@ -7861,7 +7861,7 @@
if (buildCounterSubaccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2699(o.subaccounts);
+ checkUnnamed2713(o.subaccounts);
}
buildCounterSubaccountsListResponse--;
}
@@ -8001,14 +8001,14 @@
buildCounterTargetableRemarketingList--;
}
-buildUnnamed2700() {
+buildUnnamed2714() {
var o = new core.List<api.TargetableRemarketingList>();
o.add(buildTargetableRemarketingList());
o.add(buildTargetableRemarketingList());
return o;
}
-checkUnnamed2700(core.List<api.TargetableRemarketingList> o) {
+checkUnnamed2714(core.List<api.TargetableRemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetableRemarketingList(o[0]);
checkTargetableRemarketingList(o[1]);
@@ -8021,7 +8021,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetableRemarketingLists = buildUnnamed2700();
+ o.targetableRemarketingLists = buildUnnamed2714();
}
buildCounterTargetableRemarketingListsListResponse--;
return o;
@@ -8032,7 +8032,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2700(o.targetableRemarketingLists);
+ checkUnnamed2714(o.targetableRemarketingLists);
}
buildCounterTargetableRemarketingListsListResponse--;
}
@@ -8080,14 +8080,14 @@
buildCounterTargetingTemplate--;
}
-buildUnnamed2701() {
+buildUnnamed2715() {
var o = new core.List<api.TargetingTemplate>();
o.add(buildTargetingTemplate());
o.add(buildTargetingTemplate());
return o;
}
-checkUnnamed2701(core.List<api.TargetingTemplate> o) {
+checkUnnamed2715(core.List<api.TargetingTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingTemplate(o[0]);
checkTargetingTemplate(o[1]);
@@ -8100,7 +8100,7 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetingTemplates = buildUnnamed2701();
+ o.targetingTemplates = buildUnnamed2715();
}
buildCounterTargetingTemplatesListResponse--;
return o;
@@ -8111,84 +8111,84 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2701(o.targetingTemplates);
+ checkUnnamed2715(o.targetingTemplates);
}
buildCounterTargetingTemplatesListResponse--;
}
-buildUnnamed2702() {
+buildUnnamed2716() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed2702(core.List<api.Browser> o) {
+checkUnnamed2716(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
}
-buildUnnamed2703() {
+buildUnnamed2717() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed2703(core.List<api.ConnectionType> o) {
+checkUnnamed2717(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
}
-buildUnnamed2704() {
+buildUnnamed2718() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed2704(core.List<api.MobileCarrier> o) {
+checkUnnamed2718(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
}
-buildUnnamed2705() {
+buildUnnamed2719() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed2705(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed2719(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
}
-buildUnnamed2706() {
+buildUnnamed2720() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed2706(core.List<api.OperatingSystem> o) {
+checkUnnamed2720(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
}
-buildUnnamed2707() {
+buildUnnamed2721() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed2707(core.List<api.PlatformType> o) {
+checkUnnamed2721(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -8199,12 +8199,12 @@
var o = new api.TechnologyTargeting();
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- o.browsers = buildUnnamed2702();
- o.connectionTypes = buildUnnamed2703();
- o.mobileCarriers = buildUnnamed2704();
- o.operatingSystemVersions = buildUnnamed2705();
- o.operatingSystems = buildUnnamed2706();
- o.platformTypes = buildUnnamed2707();
+ o.browsers = buildUnnamed2716();
+ o.connectionTypes = buildUnnamed2717();
+ o.mobileCarriers = buildUnnamed2718();
+ o.operatingSystemVersions = buildUnnamed2719();
+ o.operatingSystems = buildUnnamed2720();
+ o.platformTypes = buildUnnamed2721();
}
buildCounterTechnologyTargeting--;
return o;
@@ -8213,12 +8213,12 @@
checkTechnologyTargeting(api.TechnologyTargeting o) {
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- checkUnnamed2702(o.browsers);
- checkUnnamed2703(o.connectionTypes);
- checkUnnamed2704(o.mobileCarriers);
- checkUnnamed2705(o.operatingSystemVersions);
- checkUnnamed2706(o.operatingSystems);
- checkUnnamed2707(o.platformTypes);
+ checkUnnamed2716(o.browsers);
+ checkUnnamed2717(o.connectionTypes);
+ checkUnnamed2718(o.mobileCarriers);
+ checkUnnamed2719(o.operatingSystemVersions);
+ checkUnnamed2720(o.operatingSystems);
+ checkUnnamed2721(o.platformTypes);
}
buildCounterTechnologyTargeting--;
}
@@ -8321,14 +8321,14 @@
buildCounterUserProfile--;
}
-buildUnnamed2708() {
+buildUnnamed2722() {
var o = new core.List<api.UserProfile>();
o.add(buildUserProfile());
o.add(buildUserProfile());
return o;
}
-checkUnnamed2708(core.List<api.UserProfile> o) {
+checkUnnamed2722(core.List<api.UserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserProfile(o[0]);
checkUserProfile(o[1]);
@@ -8340,7 +8340,7 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2708();
+ o.items = buildUnnamed2722();
o.kind = "foo";
}
buildCounterUserProfileList--;
@@ -8351,20 +8351,20 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2708(o.items);
+ checkUnnamed2722(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUserProfileList--;
}
-buildUnnamed2709() {
+buildUnnamed2723() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed2709(core.List<api.UserRolePermission> o) {
+checkUnnamed2723(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8381,7 +8381,7 @@
o.kind = "foo";
o.name = "foo";
o.parentUserRoleId = "foo";
- o.permissions = buildUnnamed2709();
+ o.permissions = buildUnnamed2723();
o.subaccountId = "foo";
}
buildCounterUserRole--;
@@ -8397,7 +8397,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentUserRoleId, unittest.equals('foo'));
- checkUnnamed2709(o.permissions);
+ checkUnnamed2723(o.permissions);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
buildCounterUserRole--;
@@ -8453,14 +8453,14 @@
buildCounterUserRolePermissionGroup--;
}
-buildUnnamed2710() {
+buildUnnamed2724() {
var o = new core.List<api.UserRolePermissionGroup>();
o.add(buildUserRolePermissionGroup());
o.add(buildUserRolePermissionGroup());
return o;
}
-checkUnnamed2710(core.List<api.UserRolePermissionGroup> o) {
+checkUnnamed2724(core.List<api.UserRolePermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermissionGroup(o[0]);
checkUserRolePermissionGroup(o[1]);
@@ -8472,7 +8472,7 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissionGroups = buildUnnamed2710();
+ o.userRolePermissionGroups = buildUnnamed2724();
}
buildCounterUserRolePermissionGroupsListResponse--;
return o;
@@ -8482,19 +8482,19 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2710(o.userRolePermissionGroups);
+ checkUnnamed2724(o.userRolePermissionGroups);
}
buildCounterUserRolePermissionGroupsListResponse--;
}
-buildUnnamed2711() {
+buildUnnamed2725() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed2711(core.List<api.UserRolePermission> o) {
+checkUnnamed2725(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8506,7 +8506,7 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissions = buildUnnamed2711();
+ o.userRolePermissions = buildUnnamed2725();
}
buildCounterUserRolePermissionsListResponse--;
return o;
@@ -8516,19 +8516,19 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2711(o.userRolePermissions);
+ checkUnnamed2725(o.userRolePermissions);
}
buildCounterUserRolePermissionsListResponse--;
}
-buildUnnamed2712() {
+buildUnnamed2726() {
var o = new core.List<api.UserRole>();
o.add(buildUserRole());
o.add(buildUserRole());
return o;
}
-checkUnnamed2712(core.List<api.UserRole> o) {
+checkUnnamed2726(core.List<api.UserRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRole(o[0]);
checkUserRole(o[1]);
@@ -8541,7 +8541,7 @@
if (buildCounterUserRolesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.userRoles = buildUnnamed2712();
+ o.userRoles = buildUnnamed2726();
}
buildCounterUserRolesListResponse--;
return o;
@@ -8552,193 +8552,11 @@
if (buildCounterUserRolesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2712(o.userRoles);
+ checkUnnamed2726(o.userRoles);
}
buildCounterUserRolesListResponse--;
}
-buildUnnamed2713() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2713(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2714() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2714(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2715() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2715(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2716() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2716(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2717() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2717(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2718() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2718(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2719() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2719(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2720() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2720(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2721() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2721(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2722() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2722(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2723() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2723(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2724() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2724(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2725() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2725(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2726() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2726(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2727() {
var o = new core.List<core.String>();
o.add("foo");
@@ -9701,6 +9519,188 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2801() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2801(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2802() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2802(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2803() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2803(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2804() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2804(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2805() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2805(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2806() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2806(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2807() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2807(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2808() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2808(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2809() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2809(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2810() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2810(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2811() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2811(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2812() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2812(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2813() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2813(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2814() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2814(core.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", () {
@@ -11994,7 +11994,7 @@
api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).accountUserProfiles;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed2713();
+ var arg_ids = buildUnnamed2727();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12242,7 +12242,7 @@
api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed2714();
+ var arg_ids = buildUnnamed2728();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12545,27 +12545,27 @@
var arg_active = true;
var arg_advertiserId = "foo";
var arg_archived = true;
- var arg_audienceSegmentIds = buildUnnamed2715();
- var arg_campaignIds = buildUnnamed2716();
+ var arg_audienceSegmentIds = buildUnnamed2729();
+ var arg_campaignIds = buildUnnamed2730();
var arg_compatibility = "foo";
- var arg_creativeIds = buildUnnamed2717();
- var arg_creativeOptimizationConfigurationIds = buildUnnamed2718();
+ var arg_creativeIds = buildUnnamed2731();
+ var arg_creativeOptimizationConfigurationIds = buildUnnamed2732();
var arg_creativeType = "foo";
var arg_dynamicClickTracker = true;
- var arg_ids = buildUnnamed2719();
- var arg_landingPageIds = buildUnnamed2720();
+ var arg_ids = buildUnnamed2733();
+ var arg_landingPageIds = buildUnnamed2734();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
- var arg_placementIds = buildUnnamed2721();
- var arg_remarketingListIds = buildUnnamed2722();
+ var arg_placementIds = buildUnnamed2735();
+ var arg_remarketingListIds = buildUnnamed2736();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed2723();
+ var arg_sizeIds = buildUnnamed2737();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_sslCompliant = true;
var arg_sslRequired = true;
- var arg_type = buildUnnamed2724();
+ var arg_type = buildUnnamed2738();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -12932,7 +12932,7 @@
var mock = new HttpServerMock();
api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advertiserGroups;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2725();
+ var arg_ids = buildUnnamed2739();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -13231,9 +13231,9 @@
var mock = new HttpServerMock();
api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed2726();
- var arg_floodlightConfigurationIds = buildUnnamed2727();
- var arg_ids = buildUnnamed2728();
+ var arg_advertiserGroupIds = buildUnnamed2740();
+ var arg_floodlightConfigurationIds = buildUnnamed2741();
+ var arg_ids = buildUnnamed2742();
var arg_includeAdvertisersWithoutGroupsOnly = true;
var arg_maxResults = 42;
var arg_onlyParent = true;
@@ -13739,12 +13739,12 @@
var mock = new HttpServerMock();
api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed2729();
- var arg_advertiserIds = buildUnnamed2730();
+ var arg_advertiserGroupIds = buildUnnamed2743();
+ var arg_advertiserIds = buildUnnamed2744();
var arg_archived = true;
var arg_atLeastOneOptimizationActivity = true;
- var arg_excludedIds = buildUnnamed2731();
- var arg_ids = buildUnnamed2732();
+ var arg_excludedIds = buildUnnamed2745();
+ var arg_ids = buildUnnamed2746();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
@@ -13996,15 +13996,15 @@
api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
var arg_profileId = "foo";
var arg_action = "foo";
- var arg_ids = buildUnnamed2733();
+ var arg_ids = buildUnnamed2747();
var arg_maxChangeTime = "foo";
var arg_maxResults = 42;
var arg_minChangeTime = "foo";
- var arg_objectIds = buildUnnamed2734();
+ var arg_objectIds = buildUnnamed2748();
var arg_objectType = "foo";
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_userProfileIds = buildUnnamed2735();
+ var arg_userProfileIds = buildUnnamed2749();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -14072,10 +14072,10 @@
var mock = new HttpServerMock();
api.CitiesResourceApi res = new api.DfareportingApi(mock).cities;
var arg_profileId = "foo";
- var arg_countryDartIds = buildUnnamed2736();
- var arg_dartIds = buildUnnamed2737();
+ var arg_countryDartIds = buildUnnamed2750();
+ var arg_dartIds = buildUnnamed2751();
var arg_namePrefix = "foo";
- var arg_regionDartIds = buildUnnamed2738();
+ var arg_regionDartIds = buildUnnamed2752();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -14420,7 +14420,7 @@
var mock = new HttpServerMock();
api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).contentCategories;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2739();
+ var arg_ids = buildUnnamed2753();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -15045,7 +15045,7 @@
api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).creativeFieldValues;
var arg_profileId = "foo";
var arg_creativeFieldId = "foo";
- var arg_ids = buildUnnamed2740();
+ var arg_ids = buildUnnamed2754();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -15422,8 +15422,8 @@
var mock = new HttpServerMock();
api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creativeFields;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2741();
- var arg_ids = buildUnnamed2742();
+ var arg_advertiserIds = buildUnnamed2755();
+ var arg_ids = buildUnnamed2756();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -15723,9 +15723,9 @@
var mock = new HttpServerMock();
api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creativeGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2743();
+ var arg_advertiserIds = buildUnnamed2757();
var arg_groupNumber = 42;
- var arg_ids = buildUnnamed2744();
+ var arg_ids = buildUnnamed2758();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16030,18 +16030,18 @@
var arg_advertiserId = "foo";
var arg_archived = true;
var arg_campaignId = "foo";
- var arg_companionCreativeIds = buildUnnamed2745();
- var arg_creativeFieldIds = buildUnnamed2746();
- var arg_ids = buildUnnamed2747();
+ var arg_companionCreativeIds = buildUnnamed2759();
+ var arg_creativeFieldIds = buildUnnamed2760();
+ var arg_ids = buildUnnamed2761();
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_renderingIds = buildUnnamed2748();
+ var arg_renderingIds = buildUnnamed2762();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed2749();
+ var arg_sizeIds = buildUnnamed2763();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_studioCreativeId = "foo";
- var arg_types = buildUnnamed2750();
+ var arg_types = buildUnnamed2764();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -16353,8 +16353,8 @@
var mock = new HttpServerMock();
api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).directorySiteContacts;
var arg_profileId = "foo";
- var arg_directorySiteIds = buildUnnamed2751();
- var arg_ids = buildUnnamed2752();
+ var arg_directorySiteIds = buildUnnamed2765();
+ var arg_ids = buildUnnamed2766();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16544,7 +16544,7 @@
var arg_active = true;
var arg_countryId = "foo";
var arg_dfpNetworkCode = "foo";
- var arg_ids = buildUnnamed2753();
+ var arg_ids = buildUnnamed2767();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_parentId = "foo";
@@ -16738,7 +16738,7 @@
api.DynamicTargetingKeysResourceApi res = new api.DfareportingApi(mock).dynamicTargetingKeys;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_names = buildUnnamed2754();
+ var arg_names = buildUnnamed2768();
var arg_objectId = "foo";
var arg_objectType = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -16976,8 +16976,8 @@
var arg_campaignId = "foo";
var arg_definitionsOnly = true;
var arg_enabled = true;
- var arg_eventTagTypes = buildUnnamed2755();
- var arg_ids = buildUnnamed2756();
+ var arg_eventTagTypes = buildUnnamed2769();
+ var arg_ids = buildUnnamed2770();
var arg_searchString = "foo";
var arg_sortField = "foo";
var arg_sortOrder = "foo";
@@ -17515,12 +17515,12 @@
api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_floodlightActivityGroupIds = buildUnnamed2757();
+ var arg_floodlightActivityGroupIds = buildUnnamed2771();
var arg_floodlightActivityGroupName = "foo";
var arg_floodlightActivityGroupTagString = "foo";
var arg_floodlightActivityGroupType = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed2758();
+ var arg_ids = buildUnnamed2772();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -17829,7 +17829,7 @@
var arg_profileId = "foo";
var arg_advertiserId = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed2759();
+ var arg_ids = buildUnnamed2773();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -18075,7 +18075,7 @@
var mock = new HttpServerMock();
api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock).floodlightConfigurations;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2760();
+ var arg_ids = buildUnnamed2774();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -18316,12 +18316,12 @@
api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventoryItems;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed2761();
+ var arg_ids = buildUnnamed2775();
var arg_inPlan = true;
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed2762();
+ var arg_orderId = buildUnnamed2776();
var arg_pageToken = "foo";
- var arg_siteId = buildUnnamed2763();
+ var arg_siteId = buildUnnamed2777();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_type = "foo";
@@ -19311,12 +19311,12 @@
var arg_profileId = "foo";
var arg_projectId = "foo";
var arg_approved = true;
- var arg_ids = buildUnnamed2764();
+ var arg_ids = buildUnnamed2778();
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed2765();
+ var arg_orderId = buildUnnamed2779();
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed2766();
+ var arg_siteId = buildUnnamed2780();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -19458,11 +19458,11 @@
api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed2767();
+ var arg_ids = buildUnnamed2781();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed2768();
+ var arg_siteId = buildUnnamed2782();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -19650,12 +19650,12 @@
var mock = new HttpServerMock();
api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2769();
+ var arg_advertiserIds = buildUnnamed2783();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed2770();
- var arg_contentCategoryIds = buildUnnamed2771();
- var arg_directorySiteIds = buildUnnamed2772();
- var arg_ids = buildUnnamed2773();
+ var arg_campaignIds = buildUnnamed2784();
+ var arg_contentCategoryIds = buildUnnamed2785();
+ var arg_directorySiteIds = buildUnnamed2786();
+ var arg_ids = buildUnnamed2787();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -19663,10 +19663,10 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_placementGroupType = "foo";
- var arg_placementStrategyIds = buildUnnamed2774();
- var arg_pricingTypes = buildUnnamed2775();
+ var arg_placementStrategyIds = buildUnnamed2788();
+ var arg_pricingTypes = buildUnnamed2789();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed2776();
+ var arg_siteIds = buildUnnamed2790();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -20030,7 +20030,7 @@
var mock = new HttpServerMock();
api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2777();
+ var arg_ids = buildUnnamed2791();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -20216,8 +20216,8 @@
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
var arg_campaignId = "foo";
- var arg_placementIds = buildUnnamed2778();
- var arg_tagFormats = buildUnnamed2779();
+ var arg_placementIds = buildUnnamed2792();
+ var arg_tagFormats = buildUnnamed2793();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -20388,14 +20388,14 @@
var mock = new HttpServerMock();
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2780();
+ var arg_advertiserIds = buildUnnamed2794();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed2781();
- var arg_compatibilities = buildUnnamed2782();
- var arg_contentCategoryIds = buildUnnamed2783();
- var arg_directorySiteIds = buildUnnamed2784();
- var arg_groupIds = buildUnnamed2785();
- var arg_ids = buildUnnamed2786();
+ var arg_campaignIds = buildUnnamed2795();
+ var arg_compatibilities = buildUnnamed2796();
+ var arg_contentCategoryIds = buildUnnamed2797();
+ var arg_directorySiteIds = buildUnnamed2798();
+ var arg_groupIds = buildUnnamed2799();
+ var arg_ids = buildUnnamed2800();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -20403,11 +20403,11 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_paymentSource = "foo";
- var arg_placementStrategyIds = buildUnnamed2787();
- var arg_pricingTypes = buildUnnamed2788();
+ var arg_placementStrategyIds = buildUnnamed2801();
+ var arg_pricingTypes = buildUnnamed2802();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed2789();
- var arg_sizeIds = buildUnnamed2790();
+ var arg_siteIds = buildUnnamed2803();
+ var arg_sizeIds = buildUnnamed2804();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -20890,8 +20890,8 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2791();
- var arg_ids = buildUnnamed2792();
+ var arg_advertiserIds = buildUnnamed2805();
+ var arg_ids = buildUnnamed2806();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -22239,9 +22239,9 @@
var arg_acceptsPublisherPaidPlacements = true;
var arg_adWordsSite = true;
var arg_approved = true;
- var arg_campaignIds = buildUnnamed2793();
- var arg_directorySiteIds = buildUnnamed2794();
- var arg_ids = buildUnnamed2795();
+ var arg_campaignIds = buildUnnamed2807();
+ var arg_directorySiteIds = buildUnnamed2808();
+ var arg_ids = buildUnnamed2809();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -22553,7 +22553,7 @@
var arg_profileId = "foo";
var arg_height = 42;
var arg_iabStandard = true;
- var arg_ids = buildUnnamed2796();
+ var arg_ids = buildUnnamed2810();
var arg_width = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -22730,7 +22730,7 @@
var mock = new HttpServerMock();
api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2797();
+ var arg_ids = buildUnnamed2811();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -23158,7 +23158,7 @@
api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targetingTemplates;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_ids = buildUnnamed2798();
+ var arg_ids = buildUnnamed2812();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -23613,7 +23613,7 @@
var mock = new HttpServerMock();
api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).userRolePermissions;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2799();
+ var arg_ids = buildUnnamed2813();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -23842,7 +23842,7 @@
api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
var arg_profileId = "foo";
var arg_accountUserRoleOnly = true;
- var arg_ids = buildUnnamed2800();
+ var arg_ids = buildUnnamed2814();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
diff --git a/generated/googleapis/test/dfareporting/v2_7_test.dart b/generated/googleapis/test/dfareporting/v2_7_test.dart
index 0a123f3..073b115 100644
--- a/generated/googleapis/test/dfareporting/v2_7_test.dart
+++ b/generated/googleapis/test/dfareporting/v2_7_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2206() {
+buildUnnamed2220() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2206(core.List<core.String> o) {
+checkUnnamed2220(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2207() {
+buildUnnamed2221() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2207(core.List<core.String> o) {
+checkUnnamed2221(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,12 +82,12 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.accountPermissionIds = buildUnnamed2206();
+ o.accountPermissionIds = buildUnnamed2220();
o.accountProfile = "foo";
o.active = true;
o.activeAdsLimitTier = "foo";
o.activeViewOptOut = true;
- o.availablePermissionIds = buildUnnamed2207();
+ o.availablePermissionIds = buildUnnamed2221();
o.countryId = "foo";
o.currencyId = "foo";
o.defaultCreativeSizeId = "foo";
@@ -109,12 +109,12 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed2206(o.accountPermissionIds);
+ checkUnnamed2220(o.accountPermissionIds);
unittest.expect(o.accountProfile, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.activeAdsLimitTier, unittest.equals('foo'));
unittest.expect(o.activeViewOptOut, unittest.isTrue);
- checkUnnamed2207(o.availablePermissionIds);
+ checkUnnamed2221(o.availablePermissionIds);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo'));
@@ -159,14 +159,14 @@
buildCounterAccountActiveAdSummary--;
}
-buildUnnamed2208() {
+buildUnnamed2222() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2208(core.List<core.String> o) {
+checkUnnamed2222(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -177,7 +177,7 @@
var o = new api.AccountPermission();
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- o.accountProfiles = buildUnnamed2208();
+ o.accountProfiles = buildUnnamed2222();
o.id = "foo";
o.kind = "foo";
o.level = "foo";
@@ -191,7 +191,7 @@
checkAccountPermission(api.AccountPermission o) {
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- checkUnnamed2208(o.accountProfiles);
+ checkUnnamed2222(o.accountProfiles);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
@@ -224,14 +224,14 @@
buildCounterAccountPermissionGroup--;
}
-buildUnnamed2209() {
+buildUnnamed2223() {
var o = new core.List<api.AccountPermissionGroup>();
o.add(buildAccountPermissionGroup());
o.add(buildAccountPermissionGroup());
return o;
}
-checkUnnamed2209(core.List<api.AccountPermissionGroup> o) {
+checkUnnamed2223(core.List<api.AccountPermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermissionGroup(o[0]);
checkAccountPermissionGroup(o[1]);
@@ -242,7 +242,7 @@
var o = new api.AccountPermissionGroupsListResponse();
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- o.accountPermissionGroups = buildUnnamed2209();
+ o.accountPermissionGroups = buildUnnamed2223();
o.kind = "foo";
}
buildCounterAccountPermissionGroupsListResponse--;
@@ -252,20 +252,20 @@
checkAccountPermissionGroupsListResponse(api.AccountPermissionGroupsListResponse o) {
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- checkUnnamed2209(o.accountPermissionGroups);
+ checkUnnamed2223(o.accountPermissionGroups);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionGroupsListResponse--;
}
-buildUnnamed2210() {
+buildUnnamed2224() {
var o = new core.List<api.AccountPermission>();
o.add(buildAccountPermission());
o.add(buildAccountPermission());
return o;
}
-checkUnnamed2210(core.List<api.AccountPermission> o) {
+checkUnnamed2224(core.List<api.AccountPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermission(o[0]);
checkAccountPermission(o[1]);
@@ -276,7 +276,7 @@
var o = new api.AccountPermissionsListResponse();
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- o.accountPermissions = buildUnnamed2210();
+ o.accountPermissions = buildUnnamed2224();
o.kind = "foo";
}
buildCounterAccountPermissionsListResponse--;
@@ -286,7 +286,7 @@
checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) {
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- checkUnnamed2210(o.accountPermissions);
+ checkUnnamed2224(o.accountPermissions);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionsListResponse--;
@@ -341,14 +341,14 @@
buildCounterAccountUserProfile--;
}
-buildUnnamed2211() {
+buildUnnamed2225() {
var o = new core.List<api.AccountUserProfile>();
o.add(buildAccountUserProfile());
o.add(buildAccountUserProfile());
return o;
}
-checkUnnamed2211(core.List<api.AccountUserProfile> o) {
+checkUnnamed2225(core.List<api.AccountUserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountUserProfile(o[0]);
checkAccountUserProfile(o[1]);
@@ -359,7 +359,7 @@
var o = new api.AccountUserProfilesListResponse();
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- o.accountUserProfiles = buildUnnamed2211();
+ o.accountUserProfiles = buildUnnamed2225();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -370,21 +370,21 @@
checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) {
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- checkUnnamed2211(o.accountUserProfiles);
+ checkUnnamed2225(o.accountUserProfiles);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountUserProfilesListResponse--;
}
-buildUnnamed2212() {
+buildUnnamed2226() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed2212(core.List<api.Account> o) {
+checkUnnamed2226(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -395,7 +395,7 @@
var o = new api.AccountsListResponse();
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- o.accounts = buildUnnamed2212();
+ o.accounts = buildUnnamed2226();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,34 +406,34 @@
checkAccountsListResponse(api.AccountsListResponse o) {
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- checkUnnamed2212(o.accounts);
+ checkUnnamed2226(o.accounts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountsListResponse--;
}
-buildUnnamed2213() {
+buildUnnamed2227() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2213(core.List<api.DimensionValue> o) {
+checkUnnamed2227(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2214() {
+buildUnnamed2228() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2214(core.List<core.String> o) {
+checkUnnamed2228(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -444,9 +444,9 @@
var o = new api.Activities();
buildCounterActivities++;
if (buildCounterActivities < 3) {
- o.filters = buildUnnamed2213();
+ o.filters = buildUnnamed2227();
o.kind = "foo";
- o.metricNames = buildUnnamed2214();
+ o.metricNames = buildUnnamed2228();
}
buildCounterActivities--;
return o;
@@ -455,47 +455,47 @@
checkActivities(api.Activities o) {
buildCounterActivities++;
if (buildCounterActivities < 3) {
- checkUnnamed2213(o.filters);
+ checkUnnamed2227(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2214(o.metricNames);
+ checkUnnamed2228(o.metricNames);
}
buildCounterActivities--;
}
-buildUnnamed2215() {
+buildUnnamed2229() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2215(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed2229(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2216() {
+buildUnnamed2230() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2216(core.List<api.EventTagOverride> o) {
+checkUnnamed2230(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2217() {
+buildUnnamed2231() {
var o = new core.List<api.PlacementAssignment>();
o.add(buildPlacementAssignment());
o.add(buildPlacementAssignment());
return o;
}
-checkUnnamed2217(core.List<api.PlacementAssignment> o) {
+checkUnnamed2231(core.List<api.PlacementAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementAssignment(o[0]);
checkPlacementAssignment(o[1]);
@@ -519,14 +519,14 @@
o.comments = "foo";
o.compatibility = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupAssignments = buildUnnamed2215();
+ o.creativeGroupAssignments = buildUnnamed2229();
o.creativeRotation = buildCreativeRotation();
o.dayPartTargeting = buildDayPartTargeting();
o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties();
o.deliverySchedule = buildDeliverySchedule();
o.dynamicClickTracker = true;
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.eventTagOverrides = buildUnnamed2216();
+ o.eventTagOverrides = buildUnnamed2230();
o.geoTargeting = buildGeoTargeting();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -535,7 +535,7 @@
o.languageTargeting = buildLanguageTargeting();
o.lastModifiedInfo = buildLastModifiedInfo();
o.name = "foo";
- o.placementAssignments = buildUnnamed2217();
+ o.placementAssignments = buildUnnamed2231();
o.remarketingListExpression = buildListTargetingExpression();
o.size = buildSize();
o.sslCompliant = true;
@@ -566,14 +566,14 @@
unittest.expect(o.comments, unittest.equals('foo'));
unittest.expect(o.compatibility, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed2215(o.creativeGroupAssignments);
+ checkUnnamed2229(o.creativeGroupAssignments);
checkCreativeRotation(o.creativeRotation);
checkDayPartTargeting(o.dayPartTargeting);
checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProperties);
checkDeliverySchedule(o.deliverySchedule);
unittest.expect(o.dynamicClickTracker, unittest.isTrue);
unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed2216(o.eventTagOverrides);
+ checkUnnamed2230(o.eventTagOverrides);
checkGeoTargeting(o.geoTargeting);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -582,7 +582,7 @@
checkLanguageTargeting(o.languageTargeting);
checkLastModifiedInfo(o.lastModifiedInfo);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2217(o.placementAssignments);
+ checkUnnamed2231(o.placementAssignments);
checkListTargetingExpression(o.remarketingListExpression);
checkSize(o.size);
unittest.expect(o.sslCompliant, unittest.isTrue);
@@ -629,14 +629,14 @@
buildCounterAdSlot--;
}
-buildUnnamed2218() {
+buildUnnamed2232() {
var o = new core.List<api.Ad>();
o.add(buildAd());
o.add(buildAd());
return o;
}
-checkUnnamed2218(core.List<api.Ad> o) {
+checkUnnamed2232(core.List<api.Ad> o) {
unittest.expect(o, unittest.hasLength(2));
checkAd(o[0]);
checkAd(o[1]);
@@ -647,7 +647,7 @@
var o = new api.AdsListResponse();
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- o.ads = buildUnnamed2218();
+ o.ads = buildUnnamed2232();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -658,7 +658,7 @@
checkAdsListResponse(api.AdsListResponse o) {
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- checkUnnamed2218(o.ads);
+ checkUnnamed2232(o.ads);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -737,14 +737,14 @@
buildCounterAdvertiserGroup--;
}
-buildUnnamed2219() {
+buildUnnamed2233() {
var o = new core.List<api.AdvertiserGroup>();
o.add(buildAdvertiserGroup());
o.add(buildAdvertiserGroup());
return o;
}
-checkUnnamed2219(core.List<api.AdvertiserGroup> o) {
+checkUnnamed2233(core.List<api.AdvertiserGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiserGroup(o[0]);
checkAdvertiserGroup(o[1]);
@@ -755,7 +755,7 @@
var o = new api.AdvertiserGroupsListResponse();
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- o.advertiserGroups = buildUnnamed2219();
+ o.advertiserGroups = buildUnnamed2233();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -766,21 +766,21 @@
checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) {
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- checkUnnamed2219(o.advertiserGroups);
+ checkUnnamed2233(o.advertiserGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdvertiserGroupsListResponse--;
}
-buildUnnamed2220() {
+buildUnnamed2234() {
var o = new core.List<api.Advertiser>();
o.add(buildAdvertiser());
o.add(buildAdvertiser());
return o;
}
-checkUnnamed2220(core.List<api.Advertiser> o) {
+checkUnnamed2234(core.List<api.Advertiser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiser(o[0]);
checkAdvertiser(o[1]);
@@ -791,7 +791,7 @@
var o = new api.AdvertisersListResponse();
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- o.advertisers = buildUnnamed2220();
+ o.advertisers = buildUnnamed2234();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -802,7 +802,7 @@
checkAdvertisersListResponse(api.AdvertisersListResponse o) {
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- checkUnnamed2220(o.advertisers);
+ checkUnnamed2234(o.advertisers);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -832,14 +832,14 @@
buildCounterAudienceSegment--;
}
-buildUnnamed2221() {
+buildUnnamed2235() {
var o = new core.List<api.AudienceSegment>();
o.add(buildAudienceSegment());
o.add(buildAudienceSegment());
return o;
}
-checkUnnamed2221(core.List<api.AudienceSegment> o) {
+checkUnnamed2235(core.List<api.AudienceSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegment(o[0]);
checkAudienceSegment(o[1]);
@@ -850,7 +850,7 @@
var o = new api.AudienceSegmentGroup();
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- o.audienceSegments = buildUnnamed2221();
+ o.audienceSegments = buildUnnamed2235();
o.id = "foo";
o.name = "foo";
}
@@ -861,7 +861,7 @@
checkAudienceSegmentGroup(api.AudienceSegmentGroup o) {
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- checkUnnamed2221(o.audienceSegments);
+ checkUnnamed2235(o.audienceSegments);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -897,14 +897,14 @@
buildCounterBrowser--;
}
-buildUnnamed2222() {
+buildUnnamed2236() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed2222(core.List<api.Browser> o) {
+checkUnnamed2236(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
@@ -915,7 +915,7 @@
var o = new api.BrowsersListResponse();
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- o.browsers = buildUnnamed2222();
+ o.browsers = buildUnnamed2236();
o.kind = "foo";
}
buildCounterBrowsersListResponse--;
@@ -925,72 +925,72 @@
checkBrowsersListResponse(api.BrowsersListResponse o) {
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- checkUnnamed2222(o.browsers);
+ checkUnnamed2236(o.browsers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBrowsersListResponse--;
}
-buildUnnamed2223() {
+buildUnnamed2237() {
var o = new core.List<api.CreativeOptimizationConfiguration>();
o.add(buildCreativeOptimizationConfiguration());
o.add(buildCreativeOptimizationConfiguration());
return o;
}
-checkUnnamed2223(core.List<api.CreativeOptimizationConfiguration> o) {
+checkUnnamed2237(core.List<api.CreativeOptimizationConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeOptimizationConfiguration(o[0]);
checkCreativeOptimizationConfiguration(o[1]);
}
-buildUnnamed2224() {
+buildUnnamed2238() {
var o = new core.List<api.AudienceSegmentGroup>();
o.add(buildAudienceSegmentGroup());
o.add(buildAudienceSegmentGroup());
return o;
}
-checkUnnamed2224(core.List<api.AudienceSegmentGroup> o) {
+checkUnnamed2238(core.List<api.AudienceSegmentGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegmentGroup(o[0]);
checkAudienceSegmentGroup(o[1]);
}
-buildUnnamed2225() {
+buildUnnamed2239() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2225(core.List<core.String> o) {
+checkUnnamed2239(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2226() {
+buildUnnamed2240() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2226(core.List<api.EventTagOverride> o) {
+checkUnnamed2240(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2227() {
+buildUnnamed2241() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2227(core.List<core.String> o) {
+checkUnnamed2241(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1002,21 +1002,21 @@
buildCounterCampaign++;
if (buildCounterCampaign < 3) {
o.accountId = "foo";
- o.additionalCreativeOptimizationConfigurations = buildUnnamed2223();
+ o.additionalCreativeOptimizationConfigurations = buildUnnamed2237();
o.advertiserGroupId = "foo";
o.advertiserId = "foo";
o.advertiserIdDimensionValue = buildDimensionValue();
o.archived = true;
- o.audienceSegmentGroups = buildUnnamed2224();
+ o.audienceSegmentGroups = buildUnnamed2238();
o.billingInvoiceCode = "foo";
o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
o.comment = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupIds = buildUnnamed2225();
+ o.creativeGroupIds = buildUnnamed2239();
o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration();
o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties();
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.eventTagOverrides = buildUnnamed2226();
+ o.eventTagOverrides = buildUnnamed2240();
o.externalId = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -1027,7 +1027,7 @@
o.nielsenOcrEnabled = true;
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.subaccountId = "foo";
- o.traffickerEmails = buildUnnamed2227();
+ o.traffickerEmails = buildUnnamed2241();
}
buildCounterCampaign--;
return o;
@@ -1037,21 +1037,21 @@
buildCounterCampaign++;
if (buildCounterCampaign < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2223(o.additionalCreativeOptimizationConfigurations);
+ checkUnnamed2237(o.additionalCreativeOptimizationConfigurations);
unittest.expect(o.advertiserGroupId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.archived, unittest.isTrue);
- checkUnnamed2224(o.audienceSegmentGroups);
+ checkUnnamed2238(o.audienceSegmentGroups);
unittest.expect(o.billingInvoiceCode, unittest.equals('foo'));
checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties);
unittest.expect(o.comment, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed2225(o.creativeGroupIds);
+ checkUnnamed2239(o.creativeGroupIds);
checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration);
checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProperties);
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2226(o.eventTagOverrides);
+ checkUnnamed2240(o.eventTagOverrides);
unittest.expect(o.externalId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -1062,7 +1062,7 @@
unittest.expect(o.nielsenOcrEnabled, unittest.isTrue);
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed2227(o.traffickerEmails);
+ checkUnnamed2241(o.traffickerEmails);
}
buildCounterCampaign--;
}
@@ -1088,14 +1088,14 @@
buildCounterCampaignCreativeAssociation--;
}
-buildUnnamed2228() {
+buildUnnamed2242() {
var o = new core.List<api.CampaignCreativeAssociation>();
o.add(buildCampaignCreativeAssociation());
o.add(buildCampaignCreativeAssociation());
return o;
}
-checkUnnamed2228(core.List<api.CampaignCreativeAssociation> o) {
+checkUnnamed2242(core.List<api.CampaignCreativeAssociation> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaignCreativeAssociation(o[0]);
checkCampaignCreativeAssociation(o[1]);
@@ -1106,7 +1106,7 @@
var o = new api.CampaignCreativeAssociationsListResponse();
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- o.campaignCreativeAssociations = buildUnnamed2228();
+ o.campaignCreativeAssociations = buildUnnamed2242();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1117,21 +1117,21 @@
checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsListResponse o) {
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- checkUnnamed2228(o.campaignCreativeAssociations);
+ checkUnnamed2242(o.campaignCreativeAssociations);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCampaignCreativeAssociationsListResponse--;
}
-buildUnnamed2229() {
+buildUnnamed2243() {
var o = new core.List<api.Campaign>();
o.add(buildCampaign());
o.add(buildCampaign());
return o;
}
-checkUnnamed2229(core.List<api.Campaign> o) {
+checkUnnamed2243(core.List<api.Campaign> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaign(o[0]);
checkCampaign(o[1]);
@@ -1142,7 +1142,7 @@
var o = new api.CampaignsListResponse();
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- o.campaigns = buildUnnamed2229();
+ o.campaigns = buildUnnamed2243();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1153,7 +1153,7 @@
checkCampaignsListResponse(api.CampaignsListResponse o) {
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- checkUnnamed2229(o.campaigns);
+ checkUnnamed2243(o.campaigns);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1205,14 +1205,14 @@
buildCounterChangeLog--;
}
-buildUnnamed2230() {
+buildUnnamed2244() {
var o = new core.List<api.ChangeLog>();
o.add(buildChangeLog());
o.add(buildChangeLog());
return o;
}
-checkUnnamed2230(core.List<api.ChangeLog> o) {
+checkUnnamed2244(core.List<api.ChangeLog> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeLog(o[0]);
checkChangeLog(o[1]);
@@ -1223,7 +1223,7 @@
var o = new api.ChangeLogsListResponse();
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- o.changeLogs = buildUnnamed2230();
+ o.changeLogs = buildUnnamed2244();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1234,21 +1234,21 @@
checkChangeLogsListResponse(api.ChangeLogsListResponse o) {
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- checkUnnamed2230(o.changeLogs);
+ checkUnnamed2244(o.changeLogs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangeLogsListResponse--;
}
-buildUnnamed2231() {
+buildUnnamed2245() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed2231(core.List<api.City> o) {
+checkUnnamed2245(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
@@ -1259,7 +1259,7 @@
var o = new api.CitiesListResponse();
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- o.cities = buildUnnamed2231();
+ o.cities = buildUnnamed2245();
o.kind = "foo";
}
buildCounterCitiesListResponse--;
@@ -1269,7 +1269,7 @@
checkCitiesListResponse(api.CitiesListResponse o) {
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- checkUnnamed2231(o.cities);
+ checkUnnamed2245(o.cities);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCitiesListResponse--;
@@ -1400,14 +1400,14 @@
buildCounterCompanionClickThroughOverride--;
}
-buildUnnamed2232() {
+buildUnnamed2246() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed2232(core.List<api.Size> o) {
+checkUnnamed2246(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -1419,7 +1419,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
o.companionsDisabled = true;
- o.enabledSizes = buildUnnamed2232();
+ o.enabledSizes = buildUnnamed2246();
o.imageOnly = true;
o.kind = "foo";
}
@@ -1431,7 +1431,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
unittest.expect(o.companionsDisabled, unittest.isTrue);
- checkUnnamed2232(o.enabledSizes);
+ checkUnnamed2246(o.enabledSizes);
unittest.expect(o.imageOnly, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -1490,14 +1490,14 @@
buildCounterConnectionType--;
}
-buildUnnamed2233() {
+buildUnnamed2247() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed2233(core.List<api.ConnectionType> o) {
+checkUnnamed2247(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
@@ -1508,7 +1508,7 @@
var o = new api.ConnectionTypesListResponse();
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- o.connectionTypes = buildUnnamed2233();
+ o.connectionTypes = buildUnnamed2247();
o.kind = "foo";
}
buildCounterConnectionTypesListResponse--;
@@ -1518,20 +1518,20 @@
checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) {
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- checkUnnamed2233(o.connectionTypes);
+ checkUnnamed2247(o.connectionTypes);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConnectionTypesListResponse--;
}
-buildUnnamed2234() {
+buildUnnamed2248() {
var o = new core.List<api.ContentCategory>();
o.add(buildContentCategory());
o.add(buildContentCategory());
return o;
}
-checkUnnamed2234(core.List<api.ContentCategory> o) {
+checkUnnamed2248(core.List<api.ContentCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentCategory(o[0]);
checkContentCategory(o[1]);
@@ -1542,7 +1542,7 @@
var o = new api.ContentCategoriesListResponse();
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- o.contentCategories = buildUnnamed2234();
+ o.contentCategories = buildUnnamed2248();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1553,7 +1553,7 @@
checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) {
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- checkUnnamed2234(o.contentCategories);
+ checkUnnamed2248(o.contentCategories);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1585,27 +1585,27 @@
buildCounterContentCategory--;
}
-buildUnnamed2235() {
+buildUnnamed2249() {
var o = new core.List<api.CustomFloodlightVariable>();
o.add(buildCustomFloodlightVariable());
o.add(buildCustomFloodlightVariable());
return o;
}
-checkUnnamed2235(core.List<api.CustomFloodlightVariable> o) {
+checkUnnamed2249(core.List<api.CustomFloodlightVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomFloodlightVariable(o[0]);
checkCustomFloodlightVariable(o[1]);
}
-buildUnnamed2236() {
+buildUnnamed2250() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2236(core.List<core.String> o) {
+checkUnnamed2250(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1617,9 +1617,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
o.childDirectedTreatment = true;
- o.customVariables = buildUnnamed2235();
+ o.customVariables = buildUnnamed2249();
o.encryptedUserId = "foo";
- o.encryptedUserIdCandidates = buildUnnamed2236();
+ o.encryptedUserIdCandidates = buildUnnamed2250();
o.floodlightActivityId = "foo";
o.floodlightConfigurationId = "foo";
o.kind = "foo";
@@ -1638,9 +1638,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
unittest.expect(o.childDirectedTreatment, unittest.isTrue);
- checkUnnamed2235(o.customVariables);
+ checkUnnamed2249(o.customVariables);
unittest.expect(o.encryptedUserId, unittest.equals('foo'));
- checkUnnamed2236(o.encryptedUserIdCandidates);
+ checkUnnamed2250(o.encryptedUserIdCandidates);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1677,14 +1677,14 @@
buildCounterConversionError--;
}
-buildUnnamed2237() {
+buildUnnamed2251() {
var o = new core.List<api.ConversionError>();
o.add(buildConversionError());
o.add(buildConversionError());
return o;
}
-checkUnnamed2237(core.List<api.ConversionError> o) {
+checkUnnamed2251(core.List<api.ConversionError> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionError(o[0]);
checkConversionError(o[1]);
@@ -1696,7 +1696,7 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
o.conversion = buildConversion();
- o.errors = buildUnnamed2237();
+ o.errors = buildUnnamed2251();
o.kind = "foo";
}
buildCounterConversionStatus--;
@@ -1707,20 +1707,20 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
checkConversion(o.conversion);
- checkUnnamed2237(o.errors);
+ checkUnnamed2251(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionStatus--;
}
-buildUnnamed2238() {
+buildUnnamed2252() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed2238(core.List<api.Conversion> o) {
+checkUnnamed2252(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -1731,7 +1731,7 @@
var o = new api.ConversionsBatchInsertRequest();
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- o.conversions = buildUnnamed2238();
+ o.conversions = buildUnnamed2252();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -1742,21 +1742,21 @@
checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) {
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- checkUnnamed2238(o.conversions);
+ checkUnnamed2252(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchInsertRequest--;
}
-buildUnnamed2239() {
+buildUnnamed2253() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed2239(core.List<api.ConversionStatus> o) {
+checkUnnamed2253(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -1769,7 +1769,7 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed2239();
+ o.status = buildUnnamed2253();
}
buildCounterConversionsBatchInsertResponse--;
return o;
@@ -1780,19 +1780,19 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2239(o.status);
+ checkUnnamed2253(o.status);
}
buildCounterConversionsBatchInsertResponse--;
}
-buildUnnamed2240() {
+buildUnnamed2254() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed2240(core.List<api.Country> o) {
+checkUnnamed2254(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
@@ -1803,7 +1803,7 @@
var o = new api.CountriesListResponse();
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- o.countries = buildUnnamed2240();
+ o.countries = buildUnnamed2254();
o.kind = "foo";
}
buildCounterCountriesListResponse--;
@@ -1813,7 +1813,7 @@
checkCountriesListResponse(api.CountriesListResponse o) {
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- checkUnnamed2240(o.countries);
+ checkUnnamed2254(o.countries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCountriesListResponse--;
@@ -1846,157 +1846,157 @@
buildCounterCountry--;
}
-buildUnnamed2241() {
+buildUnnamed2255() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2241(core.List<core.String> o) {
+checkUnnamed2255(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2242() {
+buildUnnamed2256() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2242(core.List<core.String> o) {
+checkUnnamed2256(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2243() {
+buildUnnamed2257() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2243(core.List<api.ClickTag> o) {
+checkUnnamed2257(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2244() {
+buildUnnamed2258() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2244(core.List<core.String> o) {
+checkUnnamed2258(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2245() {
+buildUnnamed2259() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2245(core.List<core.String> o) {
+checkUnnamed2259(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2246() {
+buildUnnamed2260() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2246(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2260(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2247() {
+buildUnnamed2261() {
var o = new core.List<api.CreativeAsset>();
o.add(buildCreativeAsset());
o.add(buildCreativeAsset());
return o;
}
-checkUnnamed2247(core.List<api.CreativeAsset> o) {
+checkUnnamed2261(core.List<api.CreativeAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAsset(o[0]);
checkCreativeAsset(o[1]);
}
-buildUnnamed2248() {
+buildUnnamed2262() {
var o = new core.List<api.CreativeFieldAssignment>();
o.add(buildCreativeFieldAssignment());
o.add(buildCreativeFieldAssignment());
return o;
}
-checkUnnamed2248(core.List<api.CreativeFieldAssignment> o) {
+checkUnnamed2262(core.List<api.CreativeFieldAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldAssignment(o[0]);
checkCreativeFieldAssignment(o[1]);
}
-buildUnnamed2249() {
+buildUnnamed2263() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2249(core.List<core.String> o) {
+checkUnnamed2263(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2250() {
+buildUnnamed2264() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2250(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2264(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2251() {
+buildUnnamed2265() {
var o = new core.List<api.ThirdPartyTrackingUrl>();
o.add(buildThirdPartyTrackingUrl());
o.add(buildThirdPartyTrackingUrl());
return o;
}
-checkUnnamed2251(core.List<api.ThirdPartyTrackingUrl> o) {
+checkUnnamed2265(core.List<api.ThirdPartyTrackingUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyTrackingUrl(o[0]);
checkThirdPartyTrackingUrl(o[1]);
}
-buildUnnamed2252() {
+buildUnnamed2266() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2252(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2266(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
@@ -2010,7 +2010,7 @@
o.accountId = "foo";
o.active = true;
o.adParameters = "foo";
- o.adTagKeys = buildUnnamed2241();
+ o.adTagKeys = buildUnnamed2255();
o.advertiserId = "foo";
o.allowScriptAccess = true;
o.archived = true;
@@ -2020,21 +2020,21 @@
o.autoAdvanceImages = true;
o.backgroundColor = "foo";
o.backupImageClickThroughUrl = "foo";
- o.backupImageFeatures = buildUnnamed2242();
+ o.backupImageFeatures = buildUnnamed2256();
o.backupImageReportingLabel = "foo";
o.backupImageTargetWindow = buildTargetWindow();
- o.clickTags = buildUnnamed2243();
+ o.clickTags = buildUnnamed2257();
o.commercialId = "foo";
- o.companionCreatives = buildUnnamed2244();
- o.compatibility = buildUnnamed2245();
+ o.companionCreatives = buildUnnamed2258();
+ o.compatibility = buildUnnamed2259();
o.convertFlashToHtml5 = true;
- o.counterCustomEvents = buildUnnamed2246();
+ o.counterCustomEvents = buildUnnamed2260();
o.creativeAssetSelection = buildCreativeAssetSelection();
- o.creativeAssets = buildUnnamed2247();
- o.creativeFieldAssignments = buildUnnamed2248();
- o.customKeyValues = buildUnnamed2249();
+ o.creativeAssets = buildUnnamed2261();
+ o.creativeFieldAssignments = buildUnnamed2262();
+ o.customKeyValues = buildUnnamed2263();
o.dynamicAssetSelection = true;
- o.exitCustomEvents = buildUnnamed2250();
+ o.exitCustomEvents = buildUnnamed2264();
o.fsCommand = buildFsCommand();
o.htmlCode = "foo";
o.htmlCodeLocked = true;
@@ -2062,8 +2062,8 @@
o.subaccountId = "foo";
o.thirdPartyBackupImageImpressionsUrl = "foo";
o.thirdPartyRichMediaImpressionsUrl = "foo";
- o.thirdPartyUrls = buildUnnamed2251();
- o.timerCustomEvents = buildUnnamed2252();
+ o.thirdPartyUrls = buildUnnamed2265();
+ o.timerCustomEvents = buildUnnamed2266();
o.totalFileSize = "foo";
o.type = "foo";
o.version = 42;
@@ -2080,7 +2080,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.adParameters, unittest.equals('foo'));
- checkUnnamed2241(o.adTagKeys);
+ checkUnnamed2255(o.adTagKeys);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.allowScriptAccess, unittest.isTrue);
unittest.expect(o.archived, unittest.isTrue);
@@ -2090,21 +2090,21 @@
unittest.expect(o.autoAdvanceImages, unittest.isTrue);
unittest.expect(o.backgroundColor, unittest.equals('foo'));
unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo'));
- checkUnnamed2242(o.backupImageFeatures);
+ checkUnnamed2256(o.backupImageFeatures);
unittest.expect(o.backupImageReportingLabel, unittest.equals('foo'));
checkTargetWindow(o.backupImageTargetWindow);
- checkUnnamed2243(o.clickTags);
+ checkUnnamed2257(o.clickTags);
unittest.expect(o.commercialId, unittest.equals('foo'));
- checkUnnamed2244(o.companionCreatives);
- checkUnnamed2245(o.compatibility);
+ checkUnnamed2258(o.companionCreatives);
+ checkUnnamed2259(o.compatibility);
unittest.expect(o.convertFlashToHtml5, unittest.isTrue);
- checkUnnamed2246(o.counterCustomEvents);
+ checkUnnamed2260(o.counterCustomEvents);
checkCreativeAssetSelection(o.creativeAssetSelection);
- checkUnnamed2247(o.creativeAssets);
- checkUnnamed2248(o.creativeFieldAssignments);
- checkUnnamed2249(o.customKeyValues);
+ checkUnnamed2261(o.creativeAssets);
+ checkUnnamed2262(o.creativeFieldAssignments);
+ checkUnnamed2263(o.customKeyValues);
unittest.expect(o.dynamicAssetSelection, unittest.isTrue);
- checkUnnamed2250(o.exitCustomEvents);
+ checkUnnamed2264(o.exitCustomEvents);
checkFsCommand(o.fsCommand);
unittest.expect(o.htmlCode, unittest.equals('foo'));
unittest.expect(o.htmlCodeLocked, unittest.isTrue);
@@ -2132,8 +2132,8 @@
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'));
unittest.expect(o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'));
- checkUnnamed2251(o.thirdPartyUrls);
- checkUnnamed2252(o.timerCustomEvents);
+ checkUnnamed2265(o.thirdPartyUrls);
+ checkUnnamed2266(o.timerCustomEvents);
unittest.expect(o.totalFileSize, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
@@ -2143,27 +2143,27 @@
buildCounterCreative--;
}
-buildUnnamed2253() {
+buildUnnamed2267() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2253(core.List<core.String> o) {
+checkUnnamed2267(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2254() {
+buildUnnamed2268() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2254(core.List<core.String> o) {
+checkUnnamed2268(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2183,9 +2183,9 @@
o.bitRate = 42;
o.childAssetType = "foo";
o.collapsedSize = buildSize();
- o.companionCreativeIds = buildUnnamed2253();
+ o.companionCreativeIds = buildUnnamed2267();
o.customStartTimeValue = 42;
- o.detectedFeatures = buildUnnamed2254();
+ o.detectedFeatures = buildUnnamed2268();
o.displayType = "foo";
o.duration = 42;
o.durationType = "foo";
@@ -2235,9 +2235,9 @@
unittest.expect(o.bitRate, unittest.equals(42));
unittest.expect(o.childAssetType, unittest.equals('foo'));
checkSize(o.collapsedSize);
- checkUnnamed2253(o.companionCreativeIds);
+ checkUnnamed2267(o.companionCreativeIds);
unittest.expect(o.customStartTimeValue, unittest.equals(42));
- checkUnnamed2254(o.detectedFeatures);
+ checkUnnamed2268(o.detectedFeatures);
unittest.expect(o.displayType, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals(42));
unittest.expect(o.durationType, unittest.equals('foo'));
@@ -2295,40 +2295,40 @@
buildCounterCreativeAssetId--;
}
-buildUnnamed2255() {
+buildUnnamed2269() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2255(core.List<api.ClickTag> o) {
+checkUnnamed2269(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2256() {
+buildUnnamed2270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2256(core.List<core.String> o) {
+checkUnnamed2270(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2257() {
+buildUnnamed2271() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2257(core.List<core.String> o) {
+checkUnnamed2271(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2340,12 +2340,12 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
o.assetIdentifier = buildCreativeAssetId();
- o.clickTags = buildUnnamed2255();
- o.detectedFeatures = buildUnnamed2256();
+ o.clickTags = buildUnnamed2269();
+ o.detectedFeatures = buildUnnamed2270();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
o.kind = "foo";
- o.warnedValidationRules = buildUnnamed2257();
+ o.warnedValidationRules = buildUnnamed2271();
}
buildCounterCreativeAssetMetadata--;
return o;
@@ -2355,24 +2355,24 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
checkCreativeAssetId(o.assetIdentifier);
- checkUnnamed2255(o.clickTags);
- checkUnnamed2256(o.detectedFeatures);
+ checkUnnamed2269(o.clickTags);
+ checkUnnamed2270(o.detectedFeatures);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2257(o.warnedValidationRules);
+ checkUnnamed2271(o.warnedValidationRules);
}
buildCounterCreativeAssetMetadata--;
}
-buildUnnamed2258() {
+buildUnnamed2272() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed2258(core.List<api.Rule> o) {
+checkUnnamed2272(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -2384,7 +2384,7 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
o.defaultAssetId = "foo";
- o.rules = buildUnnamed2258();
+ o.rules = buildUnnamed2272();
}
buildCounterCreativeAssetSelection--;
return o;
@@ -2394,45 +2394,45 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
unittest.expect(o.defaultAssetId, unittest.equals('foo'));
- checkUnnamed2258(o.rules);
+ checkUnnamed2272(o.rules);
}
buildCounterCreativeAssetSelection--;
}
-buildUnnamed2259() {
+buildUnnamed2273() {
var o = new core.List<api.CompanionClickThroughOverride>();
o.add(buildCompanionClickThroughOverride());
o.add(buildCompanionClickThroughOverride());
return o;
}
-checkUnnamed2259(core.List<api.CompanionClickThroughOverride> o) {
+checkUnnamed2273(core.List<api.CompanionClickThroughOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompanionClickThroughOverride(o[0]);
checkCompanionClickThroughOverride(o[1]);
}
-buildUnnamed2260() {
+buildUnnamed2274() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2260(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed2274(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2261() {
+buildUnnamed2275() {
var o = new core.List<api.RichMediaExitOverride>();
o.add(buildRichMediaExitOverride());
o.add(buildRichMediaExitOverride());
return o;
}
-checkUnnamed2261(core.List<api.RichMediaExitOverride> o) {
+checkUnnamed2275(core.List<api.RichMediaExitOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkRichMediaExitOverride(o[0]);
checkRichMediaExitOverride(o[1]);
@@ -2446,12 +2446,12 @@
o.active = true;
o.applyEventTags = true;
o.clickThroughUrl = buildClickThroughUrl();
- o.companionCreativeOverrides = buildUnnamed2259();
- o.creativeGroupAssignments = buildUnnamed2260();
+ o.companionCreativeOverrides = buildUnnamed2273();
+ o.creativeGroupAssignments = buildUnnamed2274();
o.creativeId = "foo";
o.creativeIdDimensionValue = buildDimensionValue();
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.richMediaExitOverrides = buildUnnamed2261();
+ o.richMediaExitOverrides = buildUnnamed2275();
o.sequence = 42;
o.sslCompliant = true;
o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2467,12 +2467,12 @@
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.applyEventTags, unittest.isTrue);
checkClickThroughUrl(o.clickThroughUrl);
- checkUnnamed2259(o.companionCreativeOverrides);
- checkUnnamed2260(o.creativeGroupAssignments);
+ checkUnnamed2273(o.companionCreativeOverrides);
+ checkUnnamed2274(o.creativeGroupAssignments);
unittest.expect(o.creativeId, unittest.equals('foo'));
checkDimensionValue(o.creativeIdDimensionValue);
unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed2261(o.richMediaExitOverrides);
+ checkUnnamed2275(o.richMediaExitOverrides);
unittest.expect(o.sequence, unittest.equals(42));
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -2593,14 +2593,14 @@
buildCounterCreativeFieldValue--;
}
-buildUnnamed2262() {
+buildUnnamed2276() {
var o = new core.List<api.CreativeFieldValue>();
o.add(buildCreativeFieldValue());
o.add(buildCreativeFieldValue());
return o;
}
-checkUnnamed2262(core.List<api.CreativeFieldValue> o) {
+checkUnnamed2276(core.List<api.CreativeFieldValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldValue(o[0]);
checkCreativeFieldValue(o[1]);
@@ -2611,7 +2611,7 @@
var o = new api.CreativeFieldValuesListResponse();
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- o.creativeFieldValues = buildUnnamed2262();
+ o.creativeFieldValues = buildUnnamed2276();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2622,21 +2622,21 @@
checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) {
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- checkUnnamed2262(o.creativeFieldValues);
+ checkUnnamed2276(o.creativeFieldValues);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeFieldValuesListResponse--;
}
-buildUnnamed2263() {
+buildUnnamed2277() {
var o = new core.List<api.CreativeField>();
o.add(buildCreativeField());
o.add(buildCreativeField());
return o;
}
-checkUnnamed2263(core.List<api.CreativeField> o) {
+checkUnnamed2277(core.List<api.CreativeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeField(o[0]);
checkCreativeField(o[1]);
@@ -2647,7 +2647,7 @@
var o = new api.CreativeFieldsListResponse();
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- o.creativeFields = buildUnnamed2263();
+ o.creativeFields = buildUnnamed2277();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2658,7 +2658,7 @@
checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) {
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- checkUnnamed2263(o.creativeFields);
+ checkUnnamed2277(o.creativeFields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2719,14 +2719,14 @@
buildCounterCreativeGroupAssignment--;
}
-buildUnnamed2264() {
+buildUnnamed2278() {
var o = new core.List<api.CreativeGroup>();
o.add(buildCreativeGroup());
o.add(buildCreativeGroup());
return o;
}
-checkUnnamed2264(core.List<api.CreativeGroup> o) {
+checkUnnamed2278(core.List<api.CreativeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroup(o[0]);
checkCreativeGroup(o[1]);
@@ -2737,7 +2737,7 @@
var o = new api.CreativeGroupsListResponse();
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- o.creativeGroups = buildUnnamed2264();
+ o.creativeGroups = buildUnnamed2278();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2748,21 +2748,21 @@
checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) {
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- checkUnnamed2264(o.creativeGroups);
+ checkUnnamed2278(o.creativeGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeGroupsListResponse--;
}
-buildUnnamed2265() {
+buildUnnamed2279() {
var o = new core.List<api.OptimizationActivity>();
o.add(buildOptimizationActivity());
o.add(buildOptimizationActivity());
return o;
}
-checkUnnamed2265(core.List<api.OptimizationActivity> o) {
+checkUnnamed2279(core.List<api.OptimizationActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkOptimizationActivity(o[0]);
checkOptimizationActivity(o[1]);
@@ -2775,7 +2775,7 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
o.id = "foo";
o.name = "foo";
- o.optimizationActivitys = buildUnnamed2265();
+ o.optimizationActivitys = buildUnnamed2279();
o.optimizationModel = "foo";
}
buildCounterCreativeOptimizationConfiguration--;
@@ -2787,20 +2787,20 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2265(o.optimizationActivitys);
+ checkUnnamed2279(o.optimizationActivitys);
unittest.expect(o.optimizationModel, unittest.equals('foo'));
}
buildCounterCreativeOptimizationConfiguration--;
}
-buildUnnamed2266() {
+buildUnnamed2280() {
var o = new core.List<api.CreativeAssignment>();
o.add(buildCreativeAssignment());
o.add(buildCreativeAssignment());
return o;
}
-checkUnnamed2266(core.List<api.CreativeAssignment> o) {
+checkUnnamed2280(core.List<api.CreativeAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAssignment(o[0]);
checkCreativeAssignment(o[1]);
@@ -2811,7 +2811,7 @@
var o = new api.CreativeRotation();
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- o.creativeAssignments = buildUnnamed2266();
+ o.creativeAssignments = buildUnnamed2280();
o.creativeOptimizationConfigurationId = "foo";
o.type = "foo";
o.weightCalculationStrategy = "foo";
@@ -2823,7 +2823,7 @@
checkCreativeRotation(api.CreativeRotation o) {
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- checkUnnamed2266(o.creativeAssignments);
+ checkUnnamed2280(o.creativeAssignments);
unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.weightCalculationStrategy, unittest.equals('foo'));
@@ -2852,14 +2852,14 @@
buildCounterCreativeSettings--;
}
-buildUnnamed2267() {
+buildUnnamed2281() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed2267(core.List<api.Creative> o) {
+checkUnnamed2281(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -2870,7 +2870,7 @@
var o = new api.CreativesListResponse();
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- o.creatives = buildUnnamed2267();
+ o.creatives = buildUnnamed2281();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2881,60 +2881,60 @@
checkCreativesListResponse(api.CreativesListResponse o) {
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- checkUnnamed2267(o.creatives);
+ checkUnnamed2281(o.creatives);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativesListResponse--;
}
-buildUnnamed2268() {
+buildUnnamed2282() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2268(core.List<api.Dimension> o) {
+checkUnnamed2282(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2269() {
+buildUnnamed2283() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2269(core.List<api.Dimension> o) {
+checkUnnamed2283(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2270() {
+buildUnnamed2284() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2270(core.List<api.Metric> o) {
+checkUnnamed2284(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2271() {
+buildUnnamed2285() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2271(core.List<api.Metric> o) {
+checkUnnamed2285(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -2945,11 +2945,11 @@
var o = new api.CrossDimensionReachReportCompatibleFields();
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- o.breakdown = buildUnnamed2268();
- o.dimensionFilters = buildUnnamed2269();
+ o.breakdown = buildUnnamed2282();
+ o.dimensionFilters = buildUnnamed2283();
o.kind = "foo";
- o.metrics = buildUnnamed2270();
- o.overlapMetrics = buildUnnamed2271();
+ o.metrics = buildUnnamed2284();
+ o.overlapMetrics = buildUnnamed2285();
}
buildCounterCrossDimensionReachReportCompatibleFields--;
return o;
@@ -2958,11 +2958,11 @@
checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportCompatibleFields o) {
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- checkUnnamed2268(o.breakdown);
- checkUnnamed2269(o.dimensionFilters);
+ checkUnnamed2282(o.breakdown);
+ checkUnnamed2283(o.dimensionFilters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2270(o.metrics);
- checkUnnamed2271(o.overlapMetrics);
+ checkUnnamed2284(o.metrics);
+ checkUnnamed2285(o.overlapMetrics);
}
buildCounterCrossDimensionReachReportCompatibleFields--;
}
@@ -2990,14 +2990,14 @@
buildCounterCustomFloodlightVariable--;
}
-buildUnnamed2272() {
+buildUnnamed2286() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2272(core.List<api.DimensionValue> o) {
+checkUnnamed2286(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3008,7 +3008,7 @@
var o = new api.CustomRichMediaEvents();
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- o.filteredEventIds = buildUnnamed2272();
+ o.filteredEventIds = buildUnnamed2286();
o.kind = "foo";
}
buildCounterCustomRichMediaEvents--;
@@ -3018,7 +3018,7 @@
checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- checkUnnamed2272(o.filteredEventIds);
+ checkUnnamed2286(o.filteredEventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomRichMediaEvents--;
@@ -3049,27 +3049,27 @@
buildCounterDateRange--;
}
-buildUnnamed2273() {
+buildUnnamed2287() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2273(core.List<core.String> o) {
+checkUnnamed2287(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2274() {
+buildUnnamed2288() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2274(core.List<core.int> o) {
+checkUnnamed2288(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));
@@ -3080,8 +3080,8 @@
var o = new api.DayPartTargeting();
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- o.daysOfWeek = buildUnnamed2273();
- o.hoursOfDay = buildUnnamed2274();
+ o.daysOfWeek = buildUnnamed2287();
+ o.hoursOfDay = buildUnnamed2288();
o.userLocalTime = true;
}
buildCounterDayPartTargeting--;
@@ -3091,8 +3091,8 @@
checkDayPartTargeting(api.DayPartTargeting o) {
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- checkUnnamed2273(o.daysOfWeek);
- checkUnnamed2274(o.hoursOfDay);
+ checkUnnamed2287(o.daysOfWeek);
+ checkUnnamed2288(o.hoursOfDay);
unittest.expect(o.userLocalTime, unittest.isTrue);
}
buildCounterDayPartTargeting--;
@@ -3244,14 +3244,14 @@
buildCounterDimensionValue--;
}
-buildUnnamed2275() {
+buildUnnamed2289() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2275(core.List<api.DimensionValue> o) {
+checkUnnamed2289(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3263,7 +3263,7 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2275();
+ o.items = buildUnnamed2289();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3275,21 +3275,21 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2275(o.items);
+ checkUnnamed2289(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDimensionValueList--;
}
-buildUnnamed2276() {
+buildUnnamed2290() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed2276(core.List<api.DimensionFilter> o) {
+checkUnnamed2290(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -3302,7 +3302,7 @@
if (buildCounterDimensionValueRequest < 3) {
o.dimensionName = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.filters = buildUnnamed2276();
+ o.filters = buildUnnamed2290();
o.kind = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -3315,47 +3315,47 @@
if (buildCounterDimensionValueRequest < 3) {
unittest.expect(o.dimensionName, unittest.equals('foo'));
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2276(o.filters);
+ checkUnnamed2290(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
}
buildCounterDimensionValueRequest--;
}
-buildUnnamed2277() {
+buildUnnamed2291() {
var o = new core.List<api.DirectorySiteContactAssignment>();
o.add(buildDirectorySiteContactAssignment());
o.add(buildDirectorySiteContactAssignment());
return o;
}
-checkUnnamed2277(core.List<api.DirectorySiteContactAssignment> o) {
+checkUnnamed2291(core.List<api.DirectorySiteContactAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContactAssignment(o[0]);
checkDirectorySiteContactAssignment(o[1]);
}
-buildUnnamed2278() {
+buildUnnamed2292() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2278(core.List<core.String> o) {
+checkUnnamed2292(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2279() {
+buildUnnamed2293() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2279(core.List<core.String> o) {
+checkUnnamed2293(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3367,14 +3367,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
o.active = true;
- o.contactAssignments = buildUnnamed2277();
+ o.contactAssignments = buildUnnamed2291();
o.countryId = "foo";
o.currencyId = "foo";
o.description = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
- o.inpageTagFormats = buildUnnamed2278();
- o.interstitialTagFormats = buildUnnamed2279();
+ o.inpageTagFormats = buildUnnamed2292();
+ o.interstitialTagFormats = buildUnnamed2293();
o.kind = "foo";
o.name = "foo";
o.parentId = "foo";
@@ -3389,14 +3389,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
unittest.expect(o.active, unittest.isTrue);
- checkUnnamed2277(o.contactAssignments);
+ checkUnnamed2291(o.contactAssignments);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
- checkUnnamed2278(o.inpageTagFormats);
- checkUnnamed2279(o.interstitialTagFormats);
+ checkUnnamed2292(o.inpageTagFormats);
+ checkUnnamed2293(o.interstitialTagFormats);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentId, unittest.equals('foo'));
@@ -3464,14 +3464,14 @@
buildCounterDirectorySiteContactAssignment--;
}
-buildUnnamed2280() {
+buildUnnamed2294() {
var o = new core.List<api.DirectorySiteContact>();
o.add(buildDirectorySiteContact());
o.add(buildDirectorySiteContact());
return o;
}
-checkUnnamed2280(core.List<api.DirectorySiteContact> o) {
+checkUnnamed2294(core.List<api.DirectorySiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContact(o[0]);
checkDirectorySiteContact(o[1]);
@@ -3482,7 +3482,7 @@
var o = new api.DirectorySiteContactsListResponse();
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- o.directorySiteContacts = buildUnnamed2280();
+ o.directorySiteContacts = buildUnnamed2294();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3493,7 +3493,7 @@
checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o) {
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- checkUnnamed2280(o.directorySiteContacts);
+ checkUnnamed2294(o.directorySiteContacts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3531,14 +3531,14 @@
buildCounterDirectorySiteSettings--;
}
-buildUnnamed2281() {
+buildUnnamed2295() {
var o = new core.List<api.DirectorySite>();
o.add(buildDirectorySite());
o.add(buildDirectorySite());
return o;
}
-checkUnnamed2281(core.List<api.DirectorySite> o) {
+checkUnnamed2295(core.List<api.DirectorySite> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySite(o[0]);
checkDirectorySite(o[1]);
@@ -3549,7 +3549,7 @@
var o = new api.DirectorySitesListResponse();
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- o.directorySites = buildUnnamed2281();
+ o.directorySites = buildUnnamed2295();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3560,7 +3560,7 @@
checkDirectorySitesListResponse(api.DirectorySitesListResponse o) {
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- checkUnnamed2281(o.directorySites);
+ checkUnnamed2295(o.directorySites);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3592,14 +3592,14 @@
buildCounterDynamicTargetingKey--;
}
-buildUnnamed2282() {
+buildUnnamed2296() {
var o = new core.List<api.DynamicTargetingKey>();
o.add(buildDynamicTargetingKey());
o.add(buildDynamicTargetingKey());
return o;
}
-checkUnnamed2282(core.List<api.DynamicTargetingKey> o) {
+checkUnnamed2296(core.List<api.DynamicTargetingKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicTargetingKey(o[0]);
checkDynamicTargetingKey(o[1]);
@@ -3610,7 +3610,7 @@
var o = new api.DynamicTargetingKeysListResponse();
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- o.dynamicTargetingKeys = buildUnnamed2282();
+ o.dynamicTargetingKeys = buildUnnamed2296();
o.kind = "foo";
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3620,7 +3620,7 @@
checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) {
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- checkUnnamed2282(o.dynamicTargetingKeys);
+ checkUnnamed2296(o.dynamicTargetingKeys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3651,14 +3651,14 @@
buildCounterEncryptionInfo--;
}
-buildUnnamed2283() {
+buildUnnamed2297() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2283(core.List<core.String> o) {
+checkUnnamed2297(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3680,7 +3680,7 @@
o.kind = "foo";
o.name = "foo";
o.siteFilterType = "foo";
- o.siteIds = buildUnnamed2283();
+ o.siteIds = buildUnnamed2297();
o.sslCompliant = true;
o.status = "foo";
o.subaccountId = "foo";
@@ -3706,7 +3706,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.siteFilterType, unittest.equals('foo'));
- checkUnnamed2283(o.siteIds);
+ checkUnnamed2297(o.siteIds);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
@@ -3738,14 +3738,14 @@
buildCounterEventTagOverride--;
}
-buildUnnamed2284() {
+buildUnnamed2298() {
var o = new core.List<api.EventTag>();
o.add(buildEventTag());
o.add(buildEventTag());
return o;
}
-checkUnnamed2284(core.List<api.EventTag> o) {
+checkUnnamed2298(core.List<api.EventTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTag(o[0]);
checkEventTag(o[1]);
@@ -3756,7 +3756,7 @@
var o = new api.EventTagsListResponse();
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- o.eventTags = buildUnnamed2284();
+ o.eventTags = buildUnnamed2298();
o.kind = "foo";
}
buildCounterEventTagsListResponse--;
@@ -3766,7 +3766,7 @@
checkEventTagsListResponse(api.EventTagsListResponse o) {
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- checkUnnamed2284(o.eventTags);
+ checkUnnamed2298(o.eventTags);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventTagsListResponse--;
@@ -3830,14 +3830,14 @@
buildCounterFile--;
}
-buildUnnamed2285() {
+buildUnnamed2299() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed2285(core.List<api.File> o) {
+checkUnnamed2299(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -3849,7 +3849,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2285();
+ o.items = buildUnnamed2299();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3861,7 +3861,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2285(o.items);
+ checkUnnamed2299(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3914,14 +3914,14 @@
buildCounterFloodlightActivitiesGenerateTagResponse--;
}
-buildUnnamed2286() {
+buildUnnamed2300() {
var o = new core.List<api.FloodlightActivity>();
o.add(buildFloodlightActivity());
o.add(buildFloodlightActivity());
return o;
}
-checkUnnamed2286(core.List<api.FloodlightActivity> o) {
+checkUnnamed2300(core.List<api.FloodlightActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivity(o[0]);
checkFloodlightActivity(o[1]);
@@ -3932,7 +3932,7 @@
var o = new api.FloodlightActivitiesListResponse();
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- o.floodlightActivities = buildUnnamed2286();
+ o.floodlightActivities = buildUnnamed2300();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3943,47 +3943,47 @@
checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) {
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- checkUnnamed2286(o.floodlightActivities);
+ checkUnnamed2300(o.floodlightActivities);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFloodlightActivitiesListResponse--;
}
-buildUnnamed2287() {
+buildUnnamed2301() {
var o = new core.List<api.FloodlightActivityDynamicTag>();
o.add(buildFloodlightActivityDynamicTag());
o.add(buildFloodlightActivityDynamicTag());
return o;
}
-checkUnnamed2287(core.List<api.FloodlightActivityDynamicTag> o) {
+checkUnnamed2301(core.List<api.FloodlightActivityDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityDynamicTag(o[0]);
checkFloodlightActivityDynamicTag(o[1]);
}
-buildUnnamed2288() {
+buildUnnamed2302() {
var o = new core.List<api.FloodlightActivityPublisherDynamicTag>();
o.add(buildFloodlightActivityPublisherDynamicTag());
o.add(buildFloodlightActivityPublisherDynamicTag());
return o;
}
-checkUnnamed2288(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
+checkUnnamed2302(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityPublisherDynamicTag(o[0]);
checkFloodlightActivityPublisherDynamicTag(o[1]);
}
-buildUnnamed2289() {
+buildUnnamed2303() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2289(core.List<core.String> o) {
+checkUnnamed2303(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3999,7 +3999,7 @@
o.advertiserIdDimensionValue = buildDimensionValue();
o.cacheBustingType = "foo";
o.countingMethod = "foo";
- o.defaultTags = buildUnnamed2287();
+ o.defaultTags = buildUnnamed2301();
o.expectedUrl = "foo";
o.floodlightActivityGroupId = "foo";
o.floodlightActivityGroupName = "foo";
@@ -4014,14 +4014,14 @@
o.kind = "foo";
o.name = "foo";
o.notes = "foo";
- o.publisherTags = buildUnnamed2288();
+ o.publisherTags = buildUnnamed2302();
o.secure = true;
o.sslCompliant = true;
o.sslRequired = true;
o.subaccountId = "foo";
o.tagFormat = "foo";
o.tagString = "foo";
- o.userDefinedVariableTypes = buildUnnamed2289();
+ o.userDefinedVariableTypes = buildUnnamed2303();
}
buildCounterFloodlightActivity--;
return o;
@@ -4035,7 +4035,7 @@
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.cacheBustingType, unittest.equals('foo'));
unittest.expect(o.countingMethod, unittest.equals('foo'));
- checkUnnamed2287(o.defaultTags);
+ checkUnnamed2301(o.defaultTags);
unittest.expect(o.expectedUrl, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo'));
@@ -4050,14 +4050,14 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed2288(o.publisherTags);
+ checkUnnamed2302(o.publisherTags);
unittest.expect(o.secure, unittest.isTrue);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.tagFormat, unittest.equals('foo'));
unittest.expect(o.tagString, unittest.equals('foo'));
- checkUnnamed2289(o.userDefinedVariableTypes);
+ checkUnnamed2303(o.userDefinedVariableTypes);
}
buildCounterFloodlightActivity--;
}
@@ -4126,14 +4126,14 @@
buildCounterFloodlightActivityGroup--;
}
-buildUnnamed2290() {
+buildUnnamed2304() {
var o = new core.List<api.FloodlightActivityGroup>();
o.add(buildFloodlightActivityGroup());
o.add(buildFloodlightActivityGroup());
return o;
}
-checkUnnamed2290(core.List<api.FloodlightActivityGroup> o) {
+checkUnnamed2304(core.List<api.FloodlightActivityGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityGroup(o[0]);
checkFloodlightActivityGroup(o[1]);
@@ -4144,7 +4144,7 @@
var o = new api.FloodlightActivityGroupsListResponse();
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- o.floodlightActivityGroups = buildUnnamed2290();
+ o.floodlightActivityGroups = buildUnnamed2304();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4155,7 +4155,7 @@
checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListResponse o) {
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- checkUnnamed2290(o.floodlightActivityGroups);
+ checkUnnamed2304(o.floodlightActivityGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4191,40 +4191,40 @@
buildCounterFloodlightActivityPublisherDynamicTag--;
}
-buildUnnamed2291() {
+buildUnnamed2305() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2291(core.List<core.String> o) {
+checkUnnamed2305(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2292() {
+buildUnnamed2306() {
var o = new core.List<api.ThirdPartyAuthenticationToken>();
o.add(buildThirdPartyAuthenticationToken());
o.add(buildThirdPartyAuthenticationToken());
return o;
}
-checkUnnamed2292(core.List<api.ThirdPartyAuthenticationToken> o) {
+checkUnnamed2306(core.List<api.ThirdPartyAuthenticationToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyAuthenticationToken(o[0]);
checkThirdPartyAuthenticationToken(o[1]);
}
-buildUnnamed2293() {
+buildUnnamed2307() {
var o = new core.List<api.UserDefinedVariableConfiguration>();
o.add(buildUserDefinedVariableConfiguration());
o.add(buildUserDefinedVariableConfiguration());
return o;
}
-checkUnnamed2293(core.List<api.UserDefinedVariableConfiguration> o) {
+checkUnnamed2307(core.List<api.UserDefinedVariableConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedVariableConfiguration(o[0]);
checkUserDefinedVariableConfiguration(o[1]);
@@ -4248,11 +4248,11 @@
o.lookbackConfiguration = buildLookbackConfiguration();
o.naturalSearchConversionAttributionOption = "foo";
o.omnitureSettings = buildOmnitureSettings();
- o.standardVariableTypes = buildUnnamed2291();
+ o.standardVariableTypes = buildUnnamed2305();
o.subaccountId = "foo";
o.tagSettings = buildTagSettings();
- o.thirdPartyAuthenticationTokens = buildUnnamed2292();
- o.userDefinedVariableConfigurations = buildUnnamed2293();
+ o.thirdPartyAuthenticationTokens = buildUnnamed2306();
+ o.userDefinedVariableConfigurations = buildUnnamed2307();
}
buildCounterFloodlightConfiguration--;
return o;
@@ -4274,23 +4274,23 @@
checkLookbackConfiguration(o.lookbackConfiguration);
unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals('foo'));
checkOmnitureSettings(o.omnitureSettings);
- checkUnnamed2291(o.standardVariableTypes);
+ checkUnnamed2305(o.standardVariableTypes);
unittest.expect(o.subaccountId, unittest.equals('foo'));
checkTagSettings(o.tagSettings);
- checkUnnamed2292(o.thirdPartyAuthenticationTokens);
- checkUnnamed2293(o.userDefinedVariableConfigurations);
+ checkUnnamed2306(o.thirdPartyAuthenticationTokens);
+ checkUnnamed2307(o.userDefinedVariableConfigurations);
}
buildCounterFloodlightConfiguration--;
}
-buildUnnamed2294() {
+buildUnnamed2308() {
var o = new core.List<api.FloodlightConfiguration>();
o.add(buildFloodlightConfiguration());
o.add(buildFloodlightConfiguration());
return o;
}
-checkUnnamed2294(core.List<api.FloodlightConfiguration> o) {
+checkUnnamed2308(core.List<api.FloodlightConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightConfiguration(o[0]);
checkFloodlightConfiguration(o[1]);
@@ -4301,7 +4301,7 @@
var o = new api.FloodlightConfigurationsListResponse();
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- o.floodlightConfigurations = buildUnnamed2294();
+ o.floodlightConfigurations = buildUnnamed2308();
o.kind = "foo";
}
buildCounterFloodlightConfigurationsListResponse--;
@@ -4311,46 +4311,46 @@
checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListResponse o) {
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- checkUnnamed2294(o.floodlightConfigurations);
+ checkUnnamed2308(o.floodlightConfigurations);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFloodlightConfigurationsListResponse--;
}
-buildUnnamed2295() {
+buildUnnamed2309() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2295(core.List<api.Dimension> o) {
+checkUnnamed2309(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2296() {
+buildUnnamed2310() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2296(core.List<api.Dimension> o) {
+checkUnnamed2310(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2297() {
+buildUnnamed2311() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2297(core.List<api.Metric> o) {
+checkUnnamed2311(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -4361,10 +4361,10 @@
var o = new api.FloodlightReportCompatibleFields();
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2295();
- o.dimensions = buildUnnamed2296();
+ o.dimensionFilters = buildUnnamed2309();
+ o.dimensions = buildUnnamed2310();
o.kind = "foo";
- o.metrics = buildUnnamed2297();
+ o.metrics = buildUnnamed2311();
}
buildCounterFloodlightReportCompatibleFields--;
return o;
@@ -4373,10 +4373,10 @@
checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- checkUnnamed2295(o.dimensionFilters);
- checkUnnamed2296(o.dimensions);
+ checkUnnamed2309(o.dimensionFilters);
+ checkUnnamed2310(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2297(o.metrics);
+ checkUnnamed2311(o.metrics);
}
buildCounterFloodlightReportCompatibleFields--;
}
@@ -4429,66 +4429,66 @@
buildCounterFsCommand--;
}
-buildUnnamed2298() {
+buildUnnamed2312() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed2298(core.List<api.City> o) {
+checkUnnamed2312(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
}
-buildUnnamed2299() {
+buildUnnamed2313() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed2299(core.List<api.Country> o) {
+checkUnnamed2313(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
}
-buildUnnamed2300() {
+buildUnnamed2314() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed2300(core.List<api.Metro> o) {
+checkUnnamed2314(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
}
-buildUnnamed2301() {
+buildUnnamed2315() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed2301(core.List<api.PostalCode> o) {
+checkUnnamed2315(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
}
-buildUnnamed2302() {
+buildUnnamed2316() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2302(core.List<api.Region> o) {
+checkUnnamed2316(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -4499,12 +4499,12 @@
var o = new api.GeoTargeting();
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- o.cities = buildUnnamed2298();
- o.countries = buildUnnamed2299();
+ o.cities = buildUnnamed2312();
+ o.countries = buildUnnamed2313();
o.excludeCountries = true;
- o.metros = buildUnnamed2300();
- o.postalCodes = buildUnnamed2301();
- o.regions = buildUnnamed2302();
+ o.metros = buildUnnamed2314();
+ o.postalCodes = buildUnnamed2315();
+ o.regions = buildUnnamed2316();
}
buildCounterGeoTargeting--;
return o;
@@ -4513,24 +4513,24 @@
checkGeoTargeting(api.GeoTargeting o) {
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- checkUnnamed2298(o.cities);
- checkUnnamed2299(o.countries);
+ checkUnnamed2312(o.cities);
+ checkUnnamed2313(o.countries);
unittest.expect(o.excludeCountries, unittest.isTrue);
- checkUnnamed2300(o.metros);
- checkUnnamed2301(o.postalCodes);
- checkUnnamed2302(o.regions);
+ checkUnnamed2314(o.metros);
+ checkUnnamed2315(o.postalCodes);
+ checkUnnamed2316(o.regions);
}
buildCounterGeoTargeting--;
}
-buildUnnamed2303() {
+buildUnnamed2317() {
var o = new core.List<api.AdSlot>();
o.add(buildAdSlot());
o.add(buildAdSlot());
return o;
}
-checkUnnamed2303(core.List<api.AdSlot> o) {
+checkUnnamed2317(core.List<api.AdSlot> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdSlot(o[0]);
checkAdSlot(o[1]);
@@ -4542,7 +4542,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
o.accountId = "foo";
- o.adSlots = buildUnnamed2303();
+ o.adSlots = buildUnnamed2317();
o.advertiserId = "foo";
o.contentCategoryId = "foo";
o.estimatedClickThroughRate = "foo";
@@ -4570,7 +4570,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2303(o.adSlots);
+ checkUnnamed2317(o.adSlots);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo'));
@@ -4593,14 +4593,14 @@
buildCounterInventoryItem--;
}
-buildUnnamed2304() {
+buildUnnamed2318() {
var o = new core.List<api.InventoryItem>();
o.add(buildInventoryItem());
o.add(buildInventoryItem());
return o;
}
-checkUnnamed2304(core.List<api.InventoryItem> o) {
+checkUnnamed2318(core.List<api.InventoryItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryItem(o[0]);
checkInventoryItem(o[1]);
@@ -4611,7 +4611,7 @@
var o = new api.InventoryItemsListResponse();
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- o.inventoryItems = buildUnnamed2304();
+ o.inventoryItems = buildUnnamed2318();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4622,7 +4622,7 @@
checkInventoryItemsListResponse(api.InventoryItemsListResponse o) {
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- checkUnnamed2304(o.inventoryItems);
+ checkUnnamed2318(o.inventoryItems);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4675,14 +4675,14 @@
buildCounterLandingPage--;
}
-buildUnnamed2305() {
+buildUnnamed2319() {
var o = new core.List<api.LandingPage>();
o.add(buildLandingPage());
o.add(buildLandingPage());
return o;
}
-checkUnnamed2305(core.List<api.LandingPage> o) {
+checkUnnamed2319(core.List<api.LandingPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandingPage(o[0]);
checkLandingPage(o[1]);
@@ -4694,7 +4694,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
o.kind = "foo";
- o.landingPages = buildUnnamed2305();
+ o.landingPages = buildUnnamed2319();
}
buildCounterLandingPagesListResponse--;
return o;
@@ -4704,7 +4704,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2305(o.landingPages);
+ checkUnnamed2319(o.landingPages);
}
buildCounterLandingPagesListResponse--;
}
@@ -4734,14 +4734,14 @@
buildCounterLanguage--;
}
-buildUnnamed2306() {
+buildUnnamed2320() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed2306(core.List<api.Language> o) {
+checkUnnamed2320(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4752,7 +4752,7 @@
var o = new api.LanguageTargeting();
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- o.languages = buildUnnamed2306();
+ o.languages = buildUnnamed2320();
}
buildCounterLanguageTargeting--;
return o;
@@ -4761,19 +4761,19 @@
checkLanguageTargeting(api.LanguageTargeting o) {
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- checkUnnamed2306(o.languages);
+ checkUnnamed2320(o.languages);
}
buildCounterLanguageTargeting--;
}
-buildUnnamed2307() {
+buildUnnamed2321() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed2307(core.List<api.Language> o) {
+checkUnnamed2321(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4785,7 +4785,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
o.kind = "foo";
- o.languages = buildUnnamed2307();
+ o.languages = buildUnnamed2321();
}
buildCounterLanguagesListResponse--;
return o;
@@ -4795,7 +4795,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2307(o.languages);
+ checkUnnamed2321(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -4819,14 +4819,14 @@
buildCounterLastModifiedInfo--;
}
-buildUnnamed2308() {
+buildUnnamed2322() {
var o = new core.List<api.ListPopulationTerm>();
o.add(buildListPopulationTerm());
o.add(buildListPopulationTerm());
return o;
}
-checkUnnamed2308(core.List<api.ListPopulationTerm> o) {
+checkUnnamed2322(core.List<api.ListPopulationTerm> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationTerm(o[0]);
checkListPopulationTerm(o[1]);
@@ -4837,7 +4837,7 @@
var o = new api.ListPopulationClause();
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- o.terms = buildUnnamed2308();
+ o.terms = buildUnnamed2322();
}
buildCounterListPopulationClause--;
return o;
@@ -4846,19 +4846,19 @@
checkListPopulationClause(api.ListPopulationClause o) {
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- checkUnnamed2308(o.terms);
+ checkUnnamed2322(o.terms);
}
buildCounterListPopulationClause--;
}
-buildUnnamed2309() {
+buildUnnamed2323() {
var o = new core.List<api.ListPopulationClause>();
o.add(buildListPopulationClause());
o.add(buildListPopulationClause());
return o;
}
-checkUnnamed2309(core.List<api.ListPopulationClause> o) {
+checkUnnamed2323(core.List<api.ListPopulationClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationClause(o[0]);
checkListPopulationClause(o[1]);
@@ -4871,7 +4871,7 @@
if (buildCounterListPopulationRule < 3) {
o.floodlightActivityId = "foo";
o.floodlightActivityName = "foo";
- o.listPopulationClauses = buildUnnamed2309();
+ o.listPopulationClauses = buildUnnamed2323();
}
buildCounterListPopulationRule--;
return o;
@@ -4882,7 +4882,7 @@
if (buildCounterListPopulationRule < 3) {
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityName, unittest.equals('foo'));
- checkUnnamed2309(o.listPopulationClauses);
+ checkUnnamed2323(o.listPopulationClauses);
}
buildCounterListPopulationRule--;
}
@@ -5012,14 +5012,14 @@
buildCounterMetro--;
}
-buildUnnamed2310() {
+buildUnnamed2324() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed2310(core.List<api.Metro> o) {
+checkUnnamed2324(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
@@ -5031,7 +5031,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
o.kind = "foo";
- o.metros = buildUnnamed2310();
+ o.metros = buildUnnamed2324();
}
buildCounterMetrosListResponse--;
return o;
@@ -5041,7 +5041,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2310(o.metros);
+ checkUnnamed2324(o.metros);
}
buildCounterMetrosListResponse--;
}
@@ -5073,14 +5073,14 @@
buildCounterMobileCarrier--;
}
-buildUnnamed2311() {
+buildUnnamed2325() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed2311(core.List<api.MobileCarrier> o) {
+checkUnnamed2325(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
@@ -5092,7 +5092,7 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
o.kind = "foo";
- o.mobileCarriers = buildUnnamed2311();
+ o.mobileCarriers = buildUnnamed2325();
}
buildCounterMobileCarriersListResponse--;
return o;
@@ -5102,19 +5102,19 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2311(o.mobileCarriers);
+ checkUnnamed2325(o.mobileCarriers);
}
buildCounterMobileCarriersListResponse--;
}
-buildUnnamed2312() {
+buildUnnamed2326() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2312(core.List<core.String> o) {
+checkUnnamed2326(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5126,7 +5126,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
o.kind = "foo";
- o.objectIds = buildUnnamed2312();
+ o.objectIds = buildUnnamed2326();
o.status = "foo";
}
buildCounterObjectFilter--;
@@ -5137,7 +5137,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2312(o.objectIds);
+ checkUnnamed2326(o.objectIds);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterObjectFilter--;
@@ -5241,14 +5241,14 @@
buildCounterOperatingSystemVersion--;
}
-buildUnnamed2313() {
+buildUnnamed2327() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed2313(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed2327(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
@@ -5260,7 +5260,7 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
o.kind = "foo";
- o.operatingSystemVersions = buildUnnamed2313();
+ o.operatingSystemVersions = buildUnnamed2327();
}
buildCounterOperatingSystemVersionsListResponse--;
return o;
@@ -5270,19 +5270,19 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2313(o.operatingSystemVersions);
+ checkUnnamed2327(o.operatingSystemVersions);
}
buildCounterOperatingSystemVersionsListResponse--;
}
-buildUnnamed2314() {
+buildUnnamed2328() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed2314(core.List<api.OperatingSystem> o) {
+checkUnnamed2328(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
@@ -5294,7 +5294,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
o.kind = "foo";
- o.operatingSystems = buildUnnamed2314();
+ o.operatingSystems = buildUnnamed2328();
}
buildCounterOperatingSystemsListResponse--;
return o;
@@ -5304,7 +5304,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2314(o.operatingSystems);
+ checkUnnamed2328(o.operatingSystems);
}
buildCounterOperatingSystemsListResponse--;
}
@@ -5332,53 +5332,53 @@
buildCounterOptimizationActivity--;
}
-buildUnnamed2315() {
+buildUnnamed2329() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2315(core.List<core.String> o) {
+checkUnnamed2329(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2316() {
+buildUnnamed2330() {
var o = new core.List<api.OrderContact>();
o.add(buildOrderContact());
o.add(buildOrderContact());
return o;
}
-checkUnnamed2316(core.List<api.OrderContact> o) {
+checkUnnamed2330(core.List<api.OrderContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderContact(o[0]);
checkOrderContact(o[1]);
}
-buildUnnamed2317() {
+buildUnnamed2331() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2317(core.List<core.String> o) {
+checkUnnamed2331(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2318() {
+buildUnnamed2332() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2318(core.List<core.String> o) {
+checkUnnamed2332(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5391,11 +5391,11 @@
if (buildCounterOrder < 3) {
o.accountId = "foo";
o.advertiserId = "foo";
- o.approverUserProfileIds = buildUnnamed2315();
+ o.approverUserProfileIds = buildUnnamed2329();
o.buyerInvoiceId = "foo";
o.buyerOrganizationName = "foo";
o.comments = "foo";
- o.contacts = buildUnnamed2316();
+ o.contacts = buildUnnamed2330();
o.id = "foo";
o.kind = "foo";
o.lastModifiedInfo = buildLastModifiedInfo();
@@ -5405,8 +5405,8 @@
o.projectId = "foo";
o.sellerOrderId = "foo";
o.sellerOrganizationName = "foo";
- o.siteId = buildUnnamed2317();
- o.siteNames = buildUnnamed2318();
+ o.siteId = buildUnnamed2331();
+ o.siteNames = buildUnnamed2332();
o.subaccountId = "foo";
o.termsAndConditions = "foo";
}
@@ -5419,11 +5419,11 @@
if (buildCounterOrder < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
- checkUnnamed2315(o.approverUserProfileIds);
+ checkUnnamed2329(o.approverUserProfileIds);
unittest.expect(o.buyerInvoiceId, unittest.equals('foo'));
unittest.expect(o.buyerOrganizationName, unittest.equals('foo'));
unittest.expect(o.comments, unittest.equals('foo'));
- checkUnnamed2316(o.contacts);
+ checkUnnamed2330(o.contacts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkLastModifiedInfo(o.lastModifiedInfo);
@@ -5433,8 +5433,8 @@
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.sellerOrderId, unittest.equals('foo'));
unittest.expect(o.sellerOrganizationName, unittest.equals('foo'));
- checkUnnamed2317(o.siteId);
- checkUnnamed2318(o.siteNames);
+ checkUnnamed2331(o.siteId);
+ checkUnnamed2332(o.siteNames);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.termsAndConditions, unittest.equals('foo'));
}
@@ -5468,27 +5468,27 @@
buildCounterOrderContact--;
}
-buildUnnamed2319() {
+buildUnnamed2333() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2319(core.List<core.String> o) {
+checkUnnamed2333(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2320() {
+buildUnnamed2334() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2320(core.List<core.String> o) {
+checkUnnamed2334(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5502,13 +5502,13 @@
o.accountId = "foo";
o.advertiserId = "foo";
o.amendedOrderDocumentId = "foo";
- o.approvedByUserProfileIds = buildUnnamed2319();
+ o.approvedByUserProfileIds = buildUnnamed2333();
o.cancelled = true;
o.createdInfo = buildLastModifiedInfo();
o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.id = "foo";
o.kind = "foo";
- o.lastSentRecipients = buildUnnamed2320();
+ o.lastSentRecipients = buildUnnamed2334();
o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02");
o.orderId = "foo";
o.projectId = "foo";
@@ -5527,13 +5527,13 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo'));
- checkUnnamed2319(o.approvedByUserProfileIds);
+ checkUnnamed2333(o.approvedByUserProfileIds);
unittest.expect(o.cancelled, unittest.isTrue);
checkLastModifiedInfo(o.createdInfo);
unittest.expect(o.effectiveDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2320(o.lastSentRecipients);
+ checkUnnamed2334(o.lastSentRecipients);
unittest.expect(o.lastSentTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.orderId, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
@@ -5545,14 +5545,14 @@
buildCounterOrderDocument--;
}
-buildUnnamed2321() {
+buildUnnamed2335() {
var o = new core.List<api.OrderDocument>();
o.add(buildOrderDocument());
o.add(buildOrderDocument());
return o;
}
-checkUnnamed2321(core.List<api.OrderDocument> o) {
+checkUnnamed2335(core.List<api.OrderDocument> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderDocument(o[0]);
checkOrderDocument(o[1]);
@@ -5565,7 +5565,7 @@
if (buildCounterOrderDocumentsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orderDocuments = buildUnnamed2321();
+ o.orderDocuments = buildUnnamed2335();
}
buildCounterOrderDocumentsListResponse--;
return o;
@@ -5576,19 +5576,19 @@
if (buildCounterOrderDocumentsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2321(o.orderDocuments);
+ checkUnnamed2335(o.orderDocuments);
}
buildCounterOrderDocumentsListResponse--;
}
-buildUnnamed2322() {
+buildUnnamed2336() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed2322(core.List<api.Order> o) {
+checkUnnamed2336(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -5601,7 +5601,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orders = buildUnnamed2322();
+ o.orders = buildUnnamed2336();
}
buildCounterOrdersListResponse--;
return o;
@@ -5612,58 +5612,58 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2322(o.orders);
+ checkUnnamed2336(o.orders);
}
buildCounterOrdersListResponse--;
}
-buildUnnamed2323() {
+buildUnnamed2337() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2323(core.List<api.Dimension> o) {
+checkUnnamed2337(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2324() {
+buildUnnamed2338() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2324(core.List<api.Dimension> o) {
+checkUnnamed2338(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2325() {
+buildUnnamed2339() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2325(core.List<api.Metric> o) {
+checkUnnamed2339(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2326() {
+buildUnnamed2340() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2326(core.List<api.Dimension> o) {
+checkUnnamed2340(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -5674,11 +5674,11 @@
var o = new api.PathToConversionReportCompatibleFields();
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- o.conversionDimensions = buildUnnamed2323();
- o.customFloodlightVariables = buildUnnamed2324();
+ o.conversionDimensions = buildUnnamed2337();
+ o.customFloodlightVariables = buildUnnamed2338();
o.kind = "foo";
- o.metrics = buildUnnamed2325();
- o.perInteractionDimensions = buildUnnamed2326();
+ o.metrics = buildUnnamed2339();
+ o.perInteractionDimensions = buildUnnamed2340();
}
buildCounterPathToConversionReportCompatibleFields--;
return o;
@@ -5687,23 +5687,23 @@
checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatibleFields o) {
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- checkUnnamed2323(o.conversionDimensions);
- checkUnnamed2324(o.customFloodlightVariables);
+ checkUnnamed2337(o.conversionDimensions);
+ checkUnnamed2338(o.customFloodlightVariables);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2325(o.metrics);
- checkUnnamed2326(o.perInteractionDimensions);
+ checkUnnamed2339(o.metrics);
+ checkUnnamed2340(o.perInteractionDimensions);
}
buildCounterPathToConversionReportCompatibleFields--;
}
-buildUnnamed2327() {
+buildUnnamed2341() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2327(core.List<core.String> o) {
+checkUnnamed2341(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5748,7 +5748,7 @@
o.sslRequired = true;
o.status = "foo";
o.subaccountId = "foo";
- o.tagFormats = buildUnnamed2327();
+ o.tagFormats = buildUnnamed2341();
o.tagSetting = buildTagSetting();
o.videoActiveViewOptOut = true;
o.videoSettings = buildVideoSettings();
@@ -5795,7 +5795,7 @@
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed2327(o.tagFormats);
+ checkUnnamed2341(o.tagFormats);
checkTagSetting(o.tagSetting);
unittest.expect(o.videoActiveViewOptOut, unittest.isTrue);
checkVideoSettings(o.videoSettings);
@@ -5829,14 +5829,14 @@
buildCounterPlacementAssignment--;
}
-buildUnnamed2328() {
+buildUnnamed2342() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2328(core.List<core.String> o) {
+checkUnnamed2342(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5853,7 +5853,7 @@
o.archived = true;
o.campaignId = "foo";
o.campaignIdDimensionValue = buildDimensionValue();
- o.childPlacementIds = buildUnnamed2328();
+ o.childPlacementIds = buildUnnamed2342();
o.comment = "foo";
o.contentCategoryId = "foo";
o.createInfo = buildLastModifiedInfo();
@@ -5887,7 +5887,7 @@
unittest.expect(o.archived, unittest.isTrue);
unittest.expect(o.campaignId, unittest.equals('foo'));
checkDimensionValue(o.campaignIdDimensionValue);
- checkUnnamed2328(o.childPlacementIds);
+ checkUnnamed2342(o.childPlacementIds);
unittest.expect(o.comment, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
@@ -5911,14 +5911,14 @@
buildCounterPlacementGroup--;
}
-buildUnnamed2329() {
+buildUnnamed2343() {
var o = new core.List<api.PlacementGroup>();
o.add(buildPlacementGroup());
o.add(buildPlacementGroup());
return o;
}
-checkUnnamed2329(core.List<api.PlacementGroup> o) {
+checkUnnamed2343(core.List<api.PlacementGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementGroup(o[0]);
checkPlacementGroup(o[1]);
@@ -5931,7 +5931,7 @@
if (buildCounterPlacementGroupsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementGroups = buildUnnamed2329();
+ o.placementGroups = buildUnnamed2343();
}
buildCounterPlacementGroupsListResponse--;
return o;
@@ -5942,19 +5942,19 @@
if (buildCounterPlacementGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2329(o.placementGroups);
+ checkUnnamed2343(o.placementGroups);
}
buildCounterPlacementGroupsListResponse--;
}
-buildUnnamed2330() {
+buildUnnamed2344() {
var o = new core.List<api.PlacementStrategy>();
o.add(buildPlacementStrategy());
o.add(buildPlacementStrategy());
return o;
}
-checkUnnamed2330(core.List<api.PlacementStrategy> o) {
+checkUnnamed2344(core.List<api.PlacementStrategy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementStrategy(o[0]);
checkPlacementStrategy(o[1]);
@@ -5967,7 +5967,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementStrategies = buildUnnamed2330();
+ o.placementStrategies = buildUnnamed2344();
}
buildCounterPlacementStrategiesListResponse--;
return o;
@@ -5978,7 +5978,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2330(o.placementStrategies);
+ checkUnnamed2344(o.placementStrategies);
}
buildCounterPlacementStrategiesListResponse--;
}
@@ -6008,14 +6008,14 @@
buildCounterPlacementStrategy--;
}
-buildUnnamed2331() {
+buildUnnamed2345() {
var o = new core.List<api.TagData>();
o.add(buildTagData());
o.add(buildTagData());
return o;
}
-checkUnnamed2331(core.List<api.TagData> o) {
+checkUnnamed2345(core.List<api.TagData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagData(o[0]);
checkTagData(o[1]);
@@ -6027,7 +6027,7 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
o.placementId = "foo";
- o.tagDatas = buildUnnamed2331();
+ o.tagDatas = buildUnnamed2345();
}
buildCounterPlacementTag--;
return o;
@@ -6037,19 +6037,19 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
unittest.expect(o.placementId, unittest.equals('foo'));
- checkUnnamed2331(o.tagDatas);
+ checkUnnamed2345(o.tagDatas);
}
buildCounterPlacementTag--;
}
-buildUnnamed2332() {
+buildUnnamed2346() {
var o = new core.List<api.PlacementTag>();
o.add(buildPlacementTag());
o.add(buildPlacementTag());
return o;
}
-checkUnnamed2332(core.List<api.PlacementTag> o) {
+checkUnnamed2346(core.List<api.PlacementTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementTag(o[0]);
checkPlacementTag(o[1]);
@@ -6061,7 +6061,7 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
o.kind = "foo";
- o.placementTags = buildUnnamed2332();
+ o.placementTags = buildUnnamed2346();
}
buildCounterPlacementsGenerateTagsResponse--;
return o;
@@ -6071,19 +6071,19 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2332(o.placementTags);
+ checkUnnamed2346(o.placementTags);
}
buildCounterPlacementsGenerateTagsResponse--;
}
-buildUnnamed2333() {
+buildUnnamed2347() {
var o = new core.List<api.Placement>();
o.add(buildPlacement());
o.add(buildPlacement());
return o;
}
-checkUnnamed2333(core.List<api.Placement> o) {
+checkUnnamed2347(core.List<api.Placement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacement(o[0]);
checkPlacement(o[1]);
@@ -6096,7 +6096,7 @@
if (buildCounterPlacementsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placements = buildUnnamed2333();
+ o.placements = buildUnnamed2347();
}
buildCounterPlacementsListResponse--;
return o;
@@ -6107,7 +6107,7 @@
if (buildCounterPlacementsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2333(o.placements);
+ checkUnnamed2347(o.placements);
}
buildCounterPlacementsListResponse--;
}
@@ -6135,14 +6135,14 @@
buildCounterPlatformType--;
}
-buildUnnamed2334() {
+buildUnnamed2348() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed2334(core.List<api.PlatformType> o) {
+checkUnnamed2348(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -6154,7 +6154,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
o.kind = "foo";
- o.platformTypes = buildUnnamed2334();
+ o.platformTypes = buildUnnamed2348();
}
buildCounterPlatformTypesListResponse--;
return o;
@@ -6164,7 +6164,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2334(o.platformTypes);
+ checkUnnamed2348(o.platformTypes);
}
buildCounterPlatformTypesListResponse--;
}
@@ -6231,14 +6231,14 @@
buildCounterPostalCode--;
}
-buildUnnamed2335() {
+buildUnnamed2349() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed2335(core.List<api.PostalCode> o) {
+checkUnnamed2349(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
@@ -6250,7 +6250,7 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
o.kind = "foo";
- o.postalCodes = buildUnnamed2335();
+ o.postalCodes = buildUnnamed2349();
}
buildCounterPostalCodesListResponse--;
return o;
@@ -6260,19 +6260,19 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2335(o.postalCodes);
+ checkUnnamed2349(o.postalCodes);
}
buildCounterPostalCodesListResponse--;
}
-buildUnnamed2336() {
+buildUnnamed2350() {
var o = new core.List<api.Flight>();
o.add(buildFlight());
o.add(buildFlight());
return o;
}
-checkUnnamed2336(core.List<api.Flight> o) {
+checkUnnamed2350(core.List<api.Flight> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlight(o[0]);
checkFlight(o[1]);
@@ -6285,7 +6285,7 @@
if (buildCounterPricing < 3) {
o.capCostType = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.flights = buildUnnamed2336();
+ o.flights = buildUnnamed2350();
o.groupType = "foo";
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6299,7 +6299,7 @@
if (buildCounterPricing < 3) {
unittest.expect(o.capCostType, unittest.equals('foo'));
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2336(o.flights);
+ checkUnnamed2350(o.flights);
unittest.expect(o.groupType, unittest.equals('foo'));
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -6307,14 +6307,14 @@
buildCounterPricing--;
}
-buildUnnamed2337() {
+buildUnnamed2351() {
var o = new core.List<api.PricingSchedulePricingPeriod>();
o.add(buildPricingSchedulePricingPeriod());
o.add(buildPricingSchedulePricingPeriod());
return o;
}
-checkUnnamed2337(core.List<api.PricingSchedulePricingPeriod> o) {
+checkUnnamed2351(core.List<api.PricingSchedulePricingPeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingSchedulePricingPeriod(o[0]);
checkPricingSchedulePricingPeriod(o[1]);
@@ -6330,7 +6330,7 @@
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.flighted = true;
o.floodlightActivityId = "foo";
- o.pricingPeriods = buildUnnamed2337();
+ o.pricingPeriods = buildUnnamed2351();
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6347,7 +6347,7 @@
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.flighted, unittest.isTrue);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
- checkUnnamed2337(o.pricingPeriods);
+ checkUnnamed2351(o.pricingPeriods);
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.testingStartDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -6443,14 +6443,14 @@
buildCounterProject--;
}
-buildUnnamed2338() {
+buildUnnamed2352() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed2338(core.List<api.Project> o) {
+checkUnnamed2352(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -6463,7 +6463,7 @@
if (buildCounterProjectsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed2338();
+ o.projects = buildUnnamed2352();
}
buildCounterProjectsListResponse--;
return o;
@@ -6474,71 +6474,71 @@
if (buildCounterProjectsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2338(o.projects);
+ checkUnnamed2352(o.projects);
}
buildCounterProjectsListResponse--;
}
-buildUnnamed2339() {
+buildUnnamed2353() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2339(core.List<api.Dimension> o) {
+checkUnnamed2353(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2340() {
+buildUnnamed2354() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2340(core.List<api.Dimension> o) {
+checkUnnamed2354(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2341() {
+buildUnnamed2355() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2341(core.List<api.Metric> o) {
+checkUnnamed2355(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2342() {
+buildUnnamed2356() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2342(core.List<api.Metric> o) {
+checkUnnamed2356(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2343() {
+buildUnnamed2357() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2343(core.List<api.Metric> o) {
+checkUnnamed2357(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -6549,12 +6549,12 @@
var o = new api.ReachReportCompatibleFields();
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2339();
- o.dimensions = buildUnnamed2340();
+ o.dimensionFilters = buildUnnamed2353();
+ o.dimensions = buildUnnamed2354();
o.kind = "foo";
- o.metrics = buildUnnamed2341();
- o.pivotedActivityMetrics = buildUnnamed2342();
- o.reachByFrequencyMetrics = buildUnnamed2343();
+ o.metrics = buildUnnamed2355();
+ o.pivotedActivityMetrics = buildUnnamed2356();
+ o.reachByFrequencyMetrics = buildUnnamed2357();
}
buildCounterReachReportCompatibleFields--;
return o;
@@ -6563,12 +6563,12 @@
checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- checkUnnamed2339(o.dimensionFilters);
- checkUnnamed2340(o.dimensions);
+ checkUnnamed2353(o.dimensionFilters);
+ checkUnnamed2354(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2341(o.metrics);
- checkUnnamed2342(o.pivotedActivityMetrics);
- checkUnnamed2343(o.reachByFrequencyMetrics);
+ checkUnnamed2355(o.metrics);
+ checkUnnamed2356(o.pivotedActivityMetrics);
+ checkUnnamed2357(o.reachByFrequencyMetrics);
}
buildCounterReachReportCompatibleFields--;
}
@@ -6625,14 +6625,14 @@
buildCounterRegion--;
}
-buildUnnamed2344() {
+buildUnnamed2358() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2344(core.List<api.Region> o) {
+checkUnnamed2358(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -6644,7 +6644,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
o.kind = "foo";
- o.regions = buildUnnamed2344();
+ o.regions = buildUnnamed2358();
}
buildCounterRegionsListResponse--;
return o;
@@ -6654,7 +6654,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2344(o.regions);
+ checkUnnamed2358(o.regions);
}
buildCounterRegionsListResponse--;
}
@@ -6702,27 +6702,27 @@
buildCounterRemarketingList--;
}
-buildUnnamed2345() {
+buildUnnamed2359() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2345(core.List<core.String> o) {
+checkUnnamed2359(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2346() {
+buildUnnamed2360() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2346(core.List<core.String> o) {
+checkUnnamed2360(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6735,8 +6735,8 @@
if (buildCounterRemarketingListShare < 3) {
o.kind = "foo";
o.remarketingListId = "foo";
- o.sharedAccountIds = buildUnnamed2345();
- o.sharedAdvertiserIds = buildUnnamed2346();
+ o.sharedAccountIds = buildUnnamed2359();
+ o.sharedAdvertiserIds = buildUnnamed2360();
}
buildCounterRemarketingListShare--;
return o;
@@ -6747,20 +6747,20 @@
if (buildCounterRemarketingListShare < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.remarketingListId, unittest.equals('foo'));
- checkUnnamed2345(o.sharedAccountIds);
- checkUnnamed2346(o.sharedAdvertiserIds);
+ checkUnnamed2359(o.sharedAccountIds);
+ checkUnnamed2360(o.sharedAdvertiserIds);
}
buildCounterRemarketingListShare--;
}
-buildUnnamed2347() {
+buildUnnamed2361() {
var o = new core.List<api.RemarketingList>();
o.add(buildRemarketingList());
o.add(buildRemarketingList());
return o;
}
-checkUnnamed2347(core.List<api.RemarketingList> o) {
+checkUnnamed2361(core.List<api.RemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingList(o[0]);
checkRemarketingList(o[1]);
@@ -6773,7 +6773,7 @@
if (buildCounterRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.remarketingLists = buildUnnamed2347();
+ o.remarketingLists = buildUnnamed2361();
}
buildCounterRemarketingListsListResponse--;
return o;
@@ -6784,45 +6784,45 @@
if (buildCounterRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2347(o.remarketingLists);
+ checkUnnamed2361(o.remarketingLists);
}
buildCounterRemarketingListsListResponse--;
}
-buildUnnamed2348() {
+buildUnnamed2362() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2348(core.List<api.DimensionValue> o) {
+checkUnnamed2362(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2349() {
+buildUnnamed2363() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2349(core.List<api.SortedDimension> o) {
+checkUnnamed2363(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2350() {
+buildUnnamed2364() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2350(core.List<core.String> o) {
+checkUnnamed2364(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6836,9 +6836,9 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2348();
- o.dimensions = buildUnnamed2349();
- o.metricNames = buildUnnamed2350();
+ o.dimensionFilters = buildUnnamed2362();
+ o.dimensions = buildUnnamed2363();
+ o.metricNames = buildUnnamed2364();
}
buildCounterReportCriteria--;
return o;
@@ -6850,60 +6850,60 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2348(o.dimensionFilters);
- checkUnnamed2349(o.dimensions);
- checkUnnamed2350(o.metricNames);
+ checkUnnamed2362(o.dimensionFilters);
+ checkUnnamed2363(o.dimensions);
+ checkUnnamed2364(o.metricNames);
}
buildCounterReportCriteria--;
}
-buildUnnamed2351() {
+buildUnnamed2365() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2351(core.List<api.SortedDimension> o) {
+checkUnnamed2365(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2352() {
+buildUnnamed2366() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2352(core.List<api.DimensionValue> o) {
+checkUnnamed2366(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2353() {
+buildUnnamed2367() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2353(core.List<core.String> o) {
+checkUnnamed2367(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2354() {
+buildUnnamed2368() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2354(core.List<core.String> o) {
+checkUnnamed2368(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6914,12 +6914,12 @@
var o = new api.ReportCrossDimensionReachCriteria();
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- o.breakdown = buildUnnamed2351();
+ o.breakdown = buildUnnamed2365();
o.dateRange = buildDateRange();
o.dimension = "foo";
- o.dimensionFilters = buildUnnamed2352();
- o.metricNames = buildUnnamed2353();
- o.overlapMetricNames = buildUnnamed2354();
+ o.dimensionFilters = buildUnnamed2366();
+ o.metricNames = buildUnnamed2367();
+ o.overlapMetricNames = buildUnnamed2368();
o.pivoted = true;
}
buildCounterReportCrossDimensionReachCriteria--;
@@ -6929,25 +6929,25 @@
checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o) {
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- checkUnnamed2351(o.breakdown);
+ checkUnnamed2365(o.breakdown);
checkDateRange(o.dateRange);
unittest.expect(o.dimension, unittest.equals('foo'));
- checkUnnamed2352(o.dimensionFilters);
- checkUnnamed2353(o.metricNames);
- checkUnnamed2354(o.overlapMetricNames);
+ checkUnnamed2366(o.dimensionFilters);
+ checkUnnamed2367(o.metricNames);
+ checkUnnamed2368(o.overlapMetricNames);
unittest.expect(o.pivoted, unittest.isTrue);
}
buildCounterReportCrossDimensionReachCriteria--;
}
-buildUnnamed2355() {
+buildUnnamed2369() {
var o = new core.List<api.Recipient>();
o.add(buildRecipient());
o.add(buildRecipient());
return o;
}
-checkUnnamed2355(core.List<api.Recipient> o) {
+checkUnnamed2369(core.List<api.Recipient> o) {
unittest.expect(o, unittest.hasLength(2));
checkRecipient(o[0]);
checkRecipient(o[1]);
@@ -6961,7 +6961,7 @@
o.emailOwner = true;
o.emailOwnerDeliveryType = "foo";
o.message = "foo";
- o.recipients = buildUnnamed2355();
+ o.recipients = buildUnnamed2369();
}
buildCounterReportDelivery--;
return o;
@@ -6973,58 +6973,58 @@
unittest.expect(o.emailOwner, unittest.isTrue);
unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo'));
unittest.expect(o.message, unittest.equals('foo'));
- checkUnnamed2355(o.recipients);
+ checkUnnamed2369(o.recipients);
}
buildCounterReportDelivery--;
}
-buildUnnamed2356() {
+buildUnnamed2370() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2356(core.List<api.DimensionValue> o) {
+checkUnnamed2370(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2357() {
+buildUnnamed2371() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2357(core.List<api.DimensionValue> o) {
+checkUnnamed2371(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2358() {
+buildUnnamed2372() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2358(core.List<api.SortedDimension> o) {
+checkUnnamed2372(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2359() {
+buildUnnamed2373() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2359(core.List<core.String> o) {
+checkUnnamed2373(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7058,12 +7058,12 @@
var o = new api.ReportFloodlightCriteria();
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- o.customRichMediaEvents = buildUnnamed2356();
+ o.customRichMediaEvents = buildUnnamed2370();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2357();
- o.dimensions = buildUnnamed2358();
+ o.dimensionFilters = buildUnnamed2371();
+ o.dimensions = buildUnnamed2372();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed2359();
+ o.metricNames = buildUnnamed2373();
o.reportProperties = buildReportFloodlightCriteriaReportProperties();
}
buildCounterReportFloodlightCriteria--;
@@ -7073,90 +7073,90 @@
checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- checkUnnamed2356(o.customRichMediaEvents);
+ checkUnnamed2370(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2357(o.dimensionFilters);
- checkUnnamed2358(o.dimensions);
+ checkUnnamed2371(o.dimensionFilters);
+ checkUnnamed2372(o.dimensions);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed2359(o.metricNames);
+ checkUnnamed2373(o.metricNames);
checkReportFloodlightCriteriaReportProperties(o.reportProperties);
}
buildCounterReportFloodlightCriteria--;
}
-buildUnnamed2360() {
+buildUnnamed2374() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2360(core.List<api.DimensionValue> o) {
+checkUnnamed2374(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2361() {
+buildUnnamed2375() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2361(core.List<api.SortedDimension> o) {
+checkUnnamed2375(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2362() {
+buildUnnamed2376() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2362(core.List<api.SortedDimension> o) {
+checkUnnamed2376(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2363() {
+buildUnnamed2377() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2363(core.List<api.DimensionValue> o) {
+checkUnnamed2377(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2364() {
+buildUnnamed2378() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2364(core.List<core.String> o) {
+checkUnnamed2378(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2365() {
+buildUnnamed2379() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2365(core.List<api.SortedDimension> o) {
+checkUnnamed2379(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
@@ -7202,14 +7202,14 @@
var o = new api.ReportPathToConversionCriteria();
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- o.activityFilters = buildUnnamed2360();
- o.conversionDimensions = buildUnnamed2361();
- o.customFloodlightVariables = buildUnnamed2362();
- o.customRichMediaEvents = buildUnnamed2363();
+ o.activityFilters = buildUnnamed2374();
+ o.conversionDimensions = buildUnnamed2375();
+ o.customFloodlightVariables = buildUnnamed2376();
+ o.customRichMediaEvents = buildUnnamed2377();
o.dateRange = buildDateRange();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed2364();
- o.perInteractionDimensions = buildUnnamed2365();
+ o.metricNames = buildUnnamed2378();
+ o.perInteractionDimensions = buildUnnamed2379();
o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
}
buildCounterReportPathToConversionCriteria--;
@@ -7219,66 +7219,66 @@
checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- checkUnnamed2360(o.activityFilters);
- checkUnnamed2361(o.conversionDimensions);
- checkUnnamed2362(o.customFloodlightVariables);
- checkUnnamed2363(o.customRichMediaEvents);
+ checkUnnamed2374(o.activityFilters);
+ checkUnnamed2375(o.conversionDimensions);
+ checkUnnamed2376(o.customFloodlightVariables);
+ checkUnnamed2377(o.customRichMediaEvents);
checkDateRange(o.dateRange);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed2364(o.metricNames);
- checkUnnamed2365(o.perInteractionDimensions);
+ checkUnnamed2378(o.metricNames);
+ checkUnnamed2379(o.perInteractionDimensions);
checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
}
buildCounterReportPathToConversionCriteria--;
}
-buildUnnamed2366() {
+buildUnnamed2380() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2366(core.List<api.DimensionValue> o) {
+checkUnnamed2380(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2367() {
+buildUnnamed2381() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2367(core.List<api.SortedDimension> o) {
+checkUnnamed2381(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2368() {
+buildUnnamed2382() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2368(core.List<core.String> o) {
+checkUnnamed2382(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2369() {
+buildUnnamed2383() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2369(core.List<core.String> o) {
+checkUnnamed2383(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7292,11 +7292,11 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2366();
- o.dimensions = buildUnnamed2367();
+ o.dimensionFilters = buildUnnamed2380();
+ o.dimensions = buildUnnamed2381();
o.enableAllDimensionCombinations = true;
- o.metricNames = buildUnnamed2368();
- o.reachByFrequencyMetricNames = buildUnnamed2369();
+ o.metricNames = buildUnnamed2382();
+ o.reachByFrequencyMetricNames = buildUnnamed2383();
}
buildCounterReportReachCriteria--;
return o;
@@ -7308,23 +7308,23 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2366(o.dimensionFilters);
- checkUnnamed2367(o.dimensions);
+ checkUnnamed2380(o.dimensionFilters);
+ checkUnnamed2381(o.dimensions);
unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue);
- checkUnnamed2368(o.metricNames);
- checkUnnamed2369(o.reachByFrequencyMetricNames);
+ checkUnnamed2382(o.metricNames);
+ checkUnnamed2383(o.reachByFrequencyMetricNames);
}
buildCounterReportReachCriteria--;
}
-buildUnnamed2370() {
+buildUnnamed2384() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2370(core.List<core.String> o) {
+checkUnnamed2384(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7339,7 +7339,7 @@
o.every = 42;
o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.repeats = "foo";
- o.repeatsOnWeekDays = buildUnnamed2370();
+ o.repeatsOnWeekDays = buildUnnamed2384();
o.runsOnDayOfMonth = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -7354,7 +7354,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'));
- checkUnnamed2370(o.repeatsOnWeekDays);
+ checkUnnamed2384(o.repeatsOnWeekDays);
unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
}
@@ -7414,53 +7414,53 @@
buildCounterReport--;
}
-buildUnnamed2371() {
+buildUnnamed2385() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2371(core.List<api.Dimension> o) {
+checkUnnamed2385(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2372() {
+buildUnnamed2386() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2372(core.List<api.Dimension> o) {
+checkUnnamed2386(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2373() {
+buildUnnamed2387() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2373(core.List<api.Metric> o) {
+checkUnnamed2387(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2374() {
+buildUnnamed2388() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2374(core.List<api.Metric> o) {
+checkUnnamed2388(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -7471,11 +7471,11 @@
var o = new api.ReportCompatibleFields();
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2371();
- o.dimensions = buildUnnamed2372();
+ o.dimensionFilters = buildUnnamed2385();
+ o.dimensions = buildUnnamed2386();
o.kind = "foo";
- o.metrics = buildUnnamed2373();
- o.pivotedActivityMetrics = buildUnnamed2374();
+ o.metrics = buildUnnamed2387();
+ o.pivotedActivityMetrics = buildUnnamed2388();
}
buildCounterReportCompatibleFields--;
return o;
@@ -7484,23 +7484,23 @@
checkReportCompatibleFields(api.ReportCompatibleFields o) {
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- checkUnnamed2371(o.dimensionFilters);
- checkUnnamed2372(o.dimensions);
+ checkUnnamed2385(o.dimensionFilters);
+ checkUnnamed2386(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2373(o.metrics);
- checkUnnamed2374(o.pivotedActivityMetrics);
+ checkUnnamed2387(o.metrics);
+ checkUnnamed2388(o.pivotedActivityMetrics);
}
buildCounterReportCompatibleFields--;
}
-buildUnnamed2375() {
+buildUnnamed2389() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed2375(core.List<api.Report> o) {
+checkUnnamed2389(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -7512,7 +7512,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2375();
+ o.items = buildUnnamed2389();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -7524,7 +7524,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2375(o.items);
+ checkUnnamed2389(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -7600,14 +7600,14 @@
buildCounterRule--;
}
-buildUnnamed2376() {
+buildUnnamed2390() {
var o = new core.List<api.SiteContact>();
o.add(buildSiteContact());
o.add(buildSiteContact());
return o;
}
-checkUnnamed2376(core.List<api.SiteContact> o) {
+checkUnnamed2390(core.List<api.SiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteContact(o[0]);
checkSiteContact(o[1]);
@@ -7627,7 +7627,7 @@
o.keyName = "foo";
o.kind = "foo";
o.name = "foo";
- o.siteContacts = buildUnnamed2376();
+ o.siteContacts = buildUnnamed2390();
o.siteSettings = buildSiteSettings();
o.subaccountId = "foo";
}
@@ -7647,7 +7647,7 @@
unittest.expect(o.keyName, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2376(o.siteContacts);
+ checkUnnamed2390(o.siteContacts);
checkSiteSettings(o.siteSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
@@ -7720,14 +7720,14 @@
buildCounterSiteSettings--;
}
-buildUnnamed2377() {
+buildUnnamed2391() {
var o = new core.List<api.Site>();
o.add(buildSite());
o.add(buildSite());
return o;
}
-checkUnnamed2377(core.List<api.Site> o) {
+checkUnnamed2391(core.List<api.Site> o) {
unittest.expect(o, unittest.hasLength(2));
checkSite(o[0]);
checkSite(o[1]);
@@ -7740,7 +7740,7 @@
if (buildCounterSitesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.sites = buildUnnamed2377();
+ o.sites = buildUnnamed2391();
}
buildCounterSitesListResponse--;
return o;
@@ -7751,7 +7751,7 @@
if (buildCounterSitesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2377(o.sites);
+ checkUnnamed2391(o.sites);
}
buildCounterSitesListResponse--;
}
@@ -7783,14 +7783,14 @@
buildCounterSize--;
}
-buildUnnamed2378() {
+buildUnnamed2392() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed2378(core.List<api.Size> o) {
+checkUnnamed2392(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -7802,7 +7802,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
o.kind = "foo";
- o.sizes = buildUnnamed2378();
+ o.sizes = buildUnnamed2392();
}
buildCounterSizesListResponse--;
return o;
@@ -7812,7 +7812,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2378(o.sizes);
+ checkUnnamed2392(o.sizes);
}
buildCounterSizesListResponse--;
}
@@ -7865,14 +7865,14 @@
buildCounterSortedDimension--;
}
-buildUnnamed2379() {
+buildUnnamed2393() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2379(core.List<core.String> o) {
+checkUnnamed2393(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7884,7 +7884,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
o.accountId = "foo";
- o.availablePermissionIds = buildUnnamed2379();
+ o.availablePermissionIds = buildUnnamed2393();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -7897,7 +7897,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2379(o.availablePermissionIds);
+ checkUnnamed2393(o.availablePermissionIds);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -7905,14 +7905,14 @@
buildCounterSubaccount--;
}
-buildUnnamed2380() {
+buildUnnamed2394() {
var o = new core.List<api.Subaccount>();
o.add(buildSubaccount());
o.add(buildSubaccount());
return o;
}
-checkUnnamed2380(core.List<api.Subaccount> o) {
+checkUnnamed2394(core.List<api.Subaccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubaccount(o[0]);
checkSubaccount(o[1]);
@@ -7925,7 +7925,7 @@
if (buildCounterSubaccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subaccounts = buildUnnamed2380();
+ o.subaccounts = buildUnnamed2394();
}
buildCounterSubaccountsListResponse--;
return o;
@@ -7936,7 +7936,7 @@
if (buildCounterSubaccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2380(o.subaccounts);
+ checkUnnamed2394(o.subaccounts);
}
buildCounterSubaccountsListResponse--;
}
@@ -8076,14 +8076,14 @@
buildCounterTargetableRemarketingList--;
}
-buildUnnamed2381() {
+buildUnnamed2395() {
var o = new core.List<api.TargetableRemarketingList>();
o.add(buildTargetableRemarketingList());
o.add(buildTargetableRemarketingList());
return o;
}
-checkUnnamed2381(core.List<api.TargetableRemarketingList> o) {
+checkUnnamed2395(core.List<api.TargetableRemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetableRemarketingList(o[0]);
checkTargetableRemarketingList(o[1]);
@@ -8096,7 +8096,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetableRemarketingLists = buildUnnamed2381();
+ o.targetableRemarketingLists = buildUnnamed2395();
}
buildCounterTargetableRemarketingListsListResponse--;
return o;
@@ -8107,7 +8107,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2381(o.targetableRemarketingLists);
+ checkUnnamed2395(o.targetableRemarketingLists);
}
buildCounterTargetableRemarketingListsListResponse--;
}
@@ -8155,14 +8155,14 @@
buildCounterTargetingTemplate--;
}
-buildUnnamed2382() {
+buildUnnamed2396() {
var o = new core.List<api.TargetingTemplate>();
o.add(buildTargetingTemplate());
o.add(buildTargetingTemplate());
return o;
}
-checkUnnamed2382(core.List<api.TargetingTemplate> o) {
+checkUnnamed2396(core.List<api.TargetingTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingTemplate(o[0]);
checkTargetingTemplate(o[1]);
@@ -8175,7 +8175,7 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetingTemplates = buildUnnamed2382();
+ o.targetingTemplates = buildUnnamed2396();
}
buildCounterTargetingTemplatesListResponse--;
return o;
@@ -8186,84 +8186,84 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2382(o.targetingTemplates);
+ checkUnnamed2396(o.targetingTemplates);
}
buildCounterTargetingTemplatesListResponse--;
}
-buildUnnamed2383() {
+buildUnnamed2397() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed2383(core.List<api.Browser> o) {
+checkUnnamed2397(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
}
-buildUnnamed2384() {
+buildUnnamed2398() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed2384(core.List<api.ConnectionType> o) {
+checkUnnamed2398(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
}
-buildUnnamed2385() {
+buildUnnamed2399() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed2385(core.List<api.MobileCarrier> o) {
+checkUnnamed2399(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
}
-buildUnnamed2386() {
+buildUnnamed2400() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed2386(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed2400(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
}
-buildUnnamed2387() {
+buildUnnamed2401() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed2387(core.List<api.OperatingSystem> o) {
+checkUnnamed2401(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
}
-buildUnnamed2388() {
+buildUnnamed2402() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed2388(core.List<api.PlatformType> o) {
+checkUnnamed2402(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -8274,12 +8274,12 @@
var o = new api.TechnologyTargeting();
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- o.browsers = buildUnnamed2383();
- o.connectionTypes = buildUnnamed2384();
- o.mobileCarriers = buildUnnamed2385();
- o.operatingSystemVersions = buildUnnamed2386();
- o.operatingSystems = buildUnnamed2387();
- o.platformTypes = buildUnnamed2388();
+ o.browsers = buildUnnamed2397();
+ o.connectionTypes = buildUnnamed2398();
+ o.mobileCarriers = buildUnnamed2399();
+ o.operatingSystemVersions = buildUnnamed2400();
+ o.operatingSystems = buildUnnamed2401();
+ o.platformTypes = buildUnnamed2402();
}
buildCounterTechnologyTargeting--;
return o;
@@ -8288,12 +8288,12 @@
checkTechnologyTargeting(api.TechnologyTargeting o) {
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- checkUnnamed2383(o.browsers);
- checkUnnamed2384(o.connectionTypes);
- checkUnnamed2385(o.mobileCarriers);
- checkUnnamed2386(o.operatingSystemVersions);
- checkUnnamed2387(o.operatingSystems);
- checkUnnamed2388(o.platformTypes);
+ checkUnnamed2397(o.browsers);
+ checkUnnamed2398(o.connectionTypes);
+ checkUnnamed2399(o.mobileCarriers);
+ checkUnnamed2400(o.operatingSystemVersions);
+ checkUnnamed2401(o.operatingSystems);
+ checkUnnamed2402(o.platformTypes);
}
buildCounterTechnologyTargeting--;
}
@@ -8340,14 +8340,14 @@
buildCounterThirdPartyTrackingUrl--;
}
-buildUnnamed2389() {
+buildUnnamed2403() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2389(core.List<core.int> o) {
+checkUnnamed2403(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));
@@ -8358,7 +8358,7 @@
var o = new api.TranscodeSetting();
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- o.enabledVideoFormats = buildUnnamed2389();
+ o.enabledVideoFormats = buildUnnamed2403();
o.kind = "foo";
}
buildCounterTranscodeSetting--;
@@ -8368,7 +8368,7 @@
checkTranscodeSetting(api.TranscodeSetting o) {
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- checkUnnamed2389(o.enabledVideoFormats);
+ checkUnnamed2403(o.enabledVideoFormats);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTranscodeSetting--;
@@ -8430,14 +8430,14 @@
buildCounterUserProfile--;
}
-buildUnnamed2390() {
+buildUnnamed2404() {
var o = new core.List<api.UserProfile>();
o.add(buildUserProfile());
o.add(buildUserProfile());
return o;
}
-checkUnnamed2390(core.List<api.UserProfile> o) {
+checkUnnamed2404(core.List<api.UserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserProfile(o[0]);
checkUserProfile(o[1]);
@@ -8449,7 +8449,7 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2390();
+ o.items = buildUnnamed2404();
o.kind = "foo";
}
buildCounterUserProfileList--;
@@ -8460,20 +8460,20 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2390(o.items);
+ checkUnnamed2404(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUserProfileList--;
}
-buildUnnamed2391() {
+buildUnnamed2405() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed2391(core.List<api.UserRolePermission> o) {
+checkUnnamed2405(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8490,7 +8490,7 @@
o.kind = "foo";
o.name = "foo";
o.parentUserRoleId = "foo";
- o.permissions = buildUnnamed2391();
+ o.permissions = buildUnnamed2405();
o.subaccountId = "foo";
}
buildCounterUserRole--;
@@ -8506,7 +8506,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentUserRoleId, unittest.equals('foo'));
- checkUnnamed2391(o.permissions);
+ checkUnnamed2405(o.permissions);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
buildCounterUserRole--;
@@ -8562,14 +8562,14 @@
buildCounterUserRolePermissionGroup--;
}
-buildUnnamed2392() {
+buildUnnamed2406() {
var o = new core.List<api.UserRolePermissionGroup>();
o.add(buildUserRolePermissionGroup());
o.add(buildUserRolePermissionGroup());
return o;
}
-checkUnnamed2392(core.List<api.UserRolePermissionGroup> o) {
+checkUnnamed2406(core.List<api.UserRolePermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermissionGroup(o[0]);
checkUserRolePermissionGroup(o[1]);
@@ -8581,7 +8581,7 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissionGroups = buildUnnamed2392();
+ o.userRolePermissionGroups = buildUnnamed2406();
}
buildCounterUserRolePermissionGroupsListResponse--;
return o;
@@ -8591,19 +8591,19 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2392(o.userRolePermissionGroups);
+ checkUnnamed2406(o.userRolePermissionGroups);
}
buildCounterUserRolePermissionGroupsListResponse--;
}
-buildUnnamed2393() {
+buildUnnamed2407() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed2393(core.List<api.UserRolePermission> o) {
+checkUnnamed2407(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8615,7 +8615,7 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissions = buildUnnamed2393();
+ o.userRolePermissions = buildUnnamed2407();
}
buildCounterUserRolePermissionsListResponse--;
return o;
@@ -8625,19 +8625,19 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2393(o.userRolePermissions);
+ checkUnnamed2407(o.userRolePermissions);
}
buildCounterUserRolePermissionsListResponse--;
}
-buildUnnamed2394() {
+buildUnnamed2408() {
var o = new core.List<api.UserRole>();
o.add(buildUserRole());
o.add(buildUserRole());
return o;
}
-checkUnnamed2394(core.List<api.UserRole> o) {
+checkUnnamed2408(core.List<api.UserRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRole(o[0]);
checkUserRole(o[1]);
@@ -8650,7 +8650,7 @@
if (buildCounterUserRolesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.userRoles = buildUnnamed2394();
+ o.userRoles = buildUnnamed2408();
}
buildCounterUserRolesListResponse--;
return o;
@@ -8661,7 +8661,7 @@
if (buildCounterUserRolesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2394(o.userRoles);
+ checkUnnamed2408(o.userRoles);
}
buildCounterUserRolesListResponse--;
}
@@ -8693,14 +8693,14 @@
buildCounterVideoFormat--;
}
-buildUnnamed2395() {
+buildUnnamed2409() {
var o = new core.List<api.VideoFormat>();
o.add(buildVideoFormat());
o.add(buildVideoFormat());
return o;
}
-checkUnnamed2395(core.List<api.VideoFormat> o) {
+checkUnnamed2409(core.List<api.VideoFormat> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFormat(o[0]);
checkVideoFormat(o[1]);
@@ -8712,7 +8712,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
o.kind = "foo";
- o.videoFormats = buildUnnamed2395();
+ o.videoFormats = buildUnnamed2409();
}
buildCounterVideoFormatsListResponse--;
return o;
@@ -8722,7 +8722,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2395(o.videoFormats);
+ checkUnnamed2409(o.videoFormats);
}
buildCounterVideoFormatsListResponse--;
}
@@ -8773,188 +8773,6 @@
buildCounterVideoSettings--;
}
-buildUnnamed2396() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2396(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2397() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2397(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2398() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2398(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2399() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2399(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2400() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2400(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2401() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2401(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2402() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2402(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2403() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2403(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2404() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2404(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2405() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2405(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2406() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2406(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2407() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2407(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2408() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2408(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2409() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2409(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2410() {
var o = new core.List<core.String>();
o.add("foo");
@@ -9917,6 +9735,188 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2484() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2484(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2485() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2485(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2486() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2486(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2487() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2487(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2488() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2488(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2489() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2489(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2490() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2490(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2491() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2491(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2492() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2492(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2493() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2493(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2494() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2494(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2495() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2495(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2496() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2496(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2497() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2497(core.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", () {
@@ -12273,7 +12273,7 @@
api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).accountUserProfiles;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed2396();
+ var arg_ids = buildUnnamed2410();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12521,7 +12521,7 @@
api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed2397();
+ var arg_ids = buildUnnamed2411();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12824,26 +12824,26 @@
var arg_active = true;
var arg_advertiserId = "foo";
var arg_archived = true;
- var arg_audienceSegmentIds = buildUnnamed2398();
- var arg_campaignIds = buildUnnamed2399();
+ var arg_audienceSegmentIds = buildUnnamed2412();
+ var arg_campaignIds = buildUnnamed2413();
var arg_compatibility = "foo";
- var arg_creativeIds = buildUnnamed2400();
- var arg_creativeOptimizationConfigurationIds = buildUnnamed2401();
+ var arg_creativeIds = buildUnnamed2414();
+ var arg_creativeOptimizationConfigurationIds = buildUnnamed2415();
var arg_dynamicClickTracker = true;
- var arg_ids = buildUnnamed2402();
- var arg_landingPageIds = buildUnnamed2403();
+ var arg_ids = buildUnnamed2416();
+ var arg_landingPageIds = buildUnnamed2417();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
- var arg_placementIds = buildUnnamed2404();
- var arg_remarketingListIds = buildUnnamed2405();
+ var arg_placementIds = buildUnnamed2418();
+ var arg_remarketingListIds = buildUnnamed2419();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed2406();
+ var arg_sizeIds = buildUnnamed2420();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_sslCompliant = true;
var arg_sslRequired = true;
- var arg_type = buildUnnamed2407();
+ var arg_type = buildUnnamed2421();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -13209,7 +13209,7 @@
var mock = new HttpServerMock();
api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advertiserGroups;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2408();
+ var arg_ids = buildUnnamed2422();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -13508,9 +13508,9 @@
var mock = new HttpServerMock();
api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed2409();
- var arg_floodlightConfigurationIds = buildUnnamed2410();
- var arg_ids = buildUnnamed2411();
+ var arg_advertiserGroupIds = buildUnnamed2423();
+ var arg_floodlightConfigurationIds = buildUnnamed2424();
+ var arg_ids = buildUnnamed2425();
var arg_includeAdvertisersWithoutGroupsOnly = true;
var arg_maxResults = 42;
var arg_onlyParent = true;
@@ -14016,12 +14016,12 @@
var mock = new HttpServerMock();
api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed2412();
- var arg_advertiserIds = buildUnnamed2413();
+ var arg_advertiserGroupIds = buildUnnamed2426();
+ var arg_advertiserIds = buildUnnamed2427();
var arg_archived = true;
var arg_atLeastOneOptimizationActivity = true;
- var arg_excludedIds = buildUnnamed2414();
- var arg_ids = buildUnnamed2415();
+ var arg_excludedIds = buildUnnamed2428();
+ var arg_ids = buildUnnamed2429();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
@@ -14273,15 +14273,15 @@
api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
var arg_profileId = "foo";
var arg_action = "foo";
- var arg_ids = buildUnnamed2416();
+ var arg_ids = buildUnnamed2430();
var arg_maxChangeTime = "foo";
var arg_maxResults = 42;
var arg_minChangeTime = "foo";
- var arg_objectIds = buildUnnamed2417();
+ var arg_objectIds = buildUnnamed2431();
var arg_objectType = "foo";
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_userProfileIds = buildUnnamed2418();
+ var arg_userProfileIds = buildUnnamed2432();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -14349,10 +14349,10 @@
var mock = new HttpServerMock();
api.CitiesResourceApi res = new api.DfareportingApi(mock).cities;
var arg_profileId = "foo";
- var arg_countryDartIds = buildUnnamed2419();
- var arg_dartIds = buildUnnamed2420();
+ var arg_countryDartIds = buildUnnamed2433();
+ var arg_dartIds = buildUnnamed2434();
var arg_namePrefix = "foo";
- var arg_regionDartIds = buildUnnamed2421();
+ var arg_regionDartIds = buildUnnamed2435();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -14697,7 +14697,7 @@
var mock = new HttpServerMock();
api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).contentCategories;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2422();
+ var arg_ids = buildUnnamed2436();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -15322,7 +15322,7 @@
api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).creativeFieldValues;
var arg_profileId = "foo";
var arg_creativeFieldId = "foo";
- var arg_ids = buildUnnamed2423();
+ var arg_ids = buildUnnamed2437();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -15699,8 +15699,8 @@
var mock = new HttpServerMock();
api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creativeFields;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2424();
- var arg_ids = buildUnnamed2425();
+ var arg_advertiserIds = buildUnnamed2438();
+ var arg_ids = buildUnnamed2439();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16000,9 +16000,9 @@
var mock = new HttpServerMock();
api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creativeGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2426();
+ var arg_advertiserIds = buildUnnamed2440();
var arg_groupNumber = 42;
- var arg_ids = buildUnnamed2427();
+ var arg_ids = buildUnnamed2441();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16307,18 +16307,18 @@
var arg_advertiserId = "foo";
var arg_archived = true;
var arg_campaignId = "foo";
- var arg_companionCreativeIds = buildUnnamed2428();
- var arg_creativeFieldIds = buildUnnamed2429();
- var arg_ids = buildUnnamed2430();
+ var arg_companionCreativeIds = buildUnnamed2442();
+ var arg_creativeFieldIds = buildUnnamed2443();
+ var arg_ids = buildUnnamed2444();
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_renderingIds = buildUnnamed2431();
+ var arg_renderingIds = buildUnnamed2445();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed2432();
+ var arg_sizeIds = buildUnnamed2446();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_studioCreativeId = "foo";
- var arg_types = buildUnnamed2433();
+ var arg_types = buildUnnamed2447();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -16630,8 +16630,8 @@
var mock = new HttpServerMock();
api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).directorySiteContacts;
var arg_profileId = "foo";
- var arg_directorySiteIds = buildUnnamed2434();
- var arg_ids = buildUnnamed2435();
+ var arg_directorySiteIds = buildUnnamed2448();
+ var arg_ids = buildUnnamed2449();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16821,7 +16821,7 @@
var arg_active = true;
var arg_countryId = "foo";
var arg_dfpNetworkCode = "foo";
- var arg_ids = buildUnnamed2436();
+ var arg_ids = buildUnnamed2450();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_parentId = "foo";
@@ -17015,7 +17015,7 @@
api.DynamicTargetingKeysResourceApi res = new api.DfareportingApi(mock).dynamicTargetingKeys;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_names = buildUnnamed2437();
+ var arg_names = buildUnnamed2451();
var arg_objectId = "foo";
var arg_objectType = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -17253,8 +17253,8 @@
var arg_campaignId = "foo";
var arg_definitionsOnly = true;
var arg_enabled = true;
- var arg_eventTagTypes = buildUnnamed2438();
- var arg_ids = buildUnnamed2439();
+ var arg_eventTagTypes = buildUnnamed2452();
+ var arg_ids = buildUnnamed2453();
var arg_searchString = "foo";
var arg_sortField = "foo";
var arg_sortOrder = "foo";
@@ -17792,12 +17792,12 @@
api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_floodlightActivityGroupIds = buildUnnamed2440();
+ var arg_floodlightActivityGroupIds = buildUnnamed2454();
var arg_floodlightActivityGroupName = "foo";
var arg_floodlightActivityGroupTagString = "foo";
var arg_floodlightActivityGroupType = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed2441();
+ var arg_ids = buildUnnamed2455();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -18106,7 +18106,7 @@
var arg_profileId = "foo";
var arg_advertiserId = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed2442();
+ var arg_ids = buildUnnamed2456();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -18352,7 +18352,7 @@
var mock = new HttpServerMock();
api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock).floodlightConfigurations;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2443();
+ var arg_ids = buildUnnamed2457();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -18593,12 +18593,12 @@
api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventoryItems;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed2444();
+ var arg_ids = buildUnnamed2458();
var arg_inPlan = true;
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed2445();
+ var arg_orderId = buildUnnamed2459();
var arg_pageToken = "foo";
- var arg_siteId = buildUnnamed2446();
+ var arg_siteId = buildUnnamed2460();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_type = "foo";
@@ -19588,12 +19588,12 @@
var arg_profileId = "foo";
var arg_projectId = "foo";
var arg_approved = true;
- var arg_ids = buildUnnamed2447();
+ var arg_ids = buildUnnamed2461();
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed2448();
+ var arg_orderId = buildUnnamed2462();
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed2449();
+ var arg_siteId = buildUnnamed2463();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -19735,11 +19735,11 @@
api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed2450();
+ var arg_ids = buildUnnamed2464();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed2451();
+ var arg_siteId = buildUnnamed2465();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -19927,12 +19927,12 @@
var mock = new HttpServerMock();
api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2452();
+ var arg_advertiserIds = buildUnnamed2466();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed2453();
- var arg_contentCategoryIds = buildUnnamed2454();
- var arg_directorySiteIds = buildUnnamed2455();
- var arg_ids = buildUnnamed2456();
+ var arg_campaignIds = buildUnnamed2467();
+ var arg_contentCategoryIds = buildUnnamed2468();
+ var arg_directorySiteIds = buildUnnamed2469();
+ var arg_ids = buildUnnamed2470();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -19940,10 +19940,10 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_placementGroupType = "foo";
- var arg_placementStrategyIds = buildUnnamed2457();
- var arg_pricingTypes = buildUnnamed2458();
+ var arg_placementStrategyIds = buildUnnamed2471();
+ var arg_pricingTypes = buildUnnamed2472();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed2459();
+ var arg_siteIds = buildUnnamed2473();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -20307,7 +20307,7 @@
var mock = new HttpServerMock();
api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2460();
+ var arg_ids = buildUnnamed2474();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -20493,8 +20493,8 @@
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
var arg_campaignId = "foo";
- var arg_placementIds = buildUnnamed2461();
- var arg_tagFormats = buildUnnamed2462();
+ var arg_placementIds = buildUnnamed2475();
+ var arg_tagFormats = buildUnnamed2476();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -20665,14 +20665,14 @@
var mock = new HttpServerMock();
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2463();
+ var arg_advertiserIds = buildUnnamed2477();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed2464();
- var arg_compatibilities = buildUnnamed2465();
- var arg_contentCategoryIds = buildUnnamed2466();
- var arg_directorySiteIds = buildUnnamed2467();
- var arg_groupIds = buildUnnamed2468();
- var arg_ids = buildUnnamed2469();
+ var arg_campaignIds = buildUnnamed2478();
+ var arg_compatibilities = buildUnnamed2479();
+ var arg_contentCategoryIds = buildUnnamed2480();
+ var arg_directorySiteIds = buildUnnamed2481();
+ var arg_groupIds = buildUnnamed2482();
+ var arg_ids = buildUnnamed2483();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -20680,11 +20680,11 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_paymentSource = "foo";
- var arg_placementStrategyIds = buildUnnamed2470();
- var arg_pricingTypes = buildUnnamed2471();
+ var arg_placementStrategyIds = buildUnnamed2484();
+ var arg_pricingTypes = buildUnnamed2485();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed2472();
- var arg_sizeIds = buildUnnamed2473();
+ var arg_siteIds = buildUnnamed2486();
+ var arg_sizeIds = buildUnnamed2487();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -21167,8 +21167,8 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2474();
- var arg_ids = buildUnnamed2475();
+ var arg_advertiserIds = buildUnnamed2488();
+ var arg_ids = buildUnnamed2489();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -22516,9 +22516,9 @@
var arg_acceptsPublisherPaidPlacements = true;
var arg_adWordsSite = true;
var arg_approved = true;
- var arg_campaignIds = buildUnnamed2476();
- var arg_directorySiteIds = buildUnnamed2477();
- var arg_ids = buildUnnamed2478();
+ var arg_campaignIds = buildUnnamed2490();
+ var arg_directorySiteIds = buildUnnamed2491();
+ var arg_ids = buildUnnamed2492();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -22830,7 +22830,7 @@
var arg_profileId = "foo";
var arg_height = 42;
var arg_iabStandard = true;
- var arg_ids = buildUnnamed2479();
+ var arg_ids = buildUnnamed2493();
var arg_width = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -23007,7 +23007,7 @@
var mock = new HttpServerMock();
api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2480();
+ var arg_ids = buildUnnamed2494();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -23435,7 +23435,7 @@
api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targetingTemplates;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_ids = buildUnnamed2481();
+ var arg_ids = buildUnnamed2495();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -23890,7 +23890,7 @@
var mock = new HttpServerMock();
api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).userRolePermissions;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2482();
+ var arg_ids = buildUnnamed2496();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -24119,7 +24119,7 @@
api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
var arg_profileId = "foo";
var arg_accountUserRoleOnly = true;
- var arg_ids = buildUnnamed2483();
+ var arg_ids = buildUnnamed2497();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
diff --git a/generated/googleapis/test/discovery/v1_test.dart b/generated/googleapis/test/discovery/v1_test.dart
index a5eb25e..b6dcc86 100644
--- a/generated/googleapis/test/discovery/v1_test.dart
+++ b/generated/googleapis/test/discovery/v1_test.dart
@@ -72,14 +72,14 @@
buildCounterDirectoryListItemsIcons--;
}
-buildUnnamed255() {
+buildUnnamed253() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed255(core.List<core.String> o) {
+checkUnnamed253(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -97,7 +97,7 @@
o.icons = buildDirectoryListItemsIcons();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed255();
+ o.labels = buildUnnamed253();
o.name = "foo";
o.preferred = true;
o.title = "foo";
@@ -117,7 +117,7 @@
checkDirectoryListItemsIcons(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed255(o.labels);
+ checkUnnamed253(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.preferred, unittest.isTrue);
unittest.expect(o.title, unittest.equals('foo'));
@@ -126,14 +126,14 @@
buildCounterDirectoryListItems--;
}
-buildUnnamed256() {
+buildUnnamed254() {
var o = new core.List<api.DirectoryListItems>();
o.add(buildDirectoryListItems());
o.add(buildDirectoryListItems());
return o;
}
-checkUnnamed256(core.List<api.DirectoryListItems> o) {
+checkUnnamed254(core.List<api.DirectoryListItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectoryListItems(o[0]);
checkDirectoryListItems(o[1]);
@@ -145,7 +145,7 @@
buildCounterDirectoryList++;
if (buildCounterDirectoryList < 3) {
o.discoveryVersion = "foo";
- o.items = buildUnnamed256();
+ o.items = buildUnnamed254();
o.kind = "foo";
}
buildCounterDirectoryList--;
@@ -156,12 +156,57 @@
buildCounterDirectoryList++;
if (buildCounterDirectoryList < 3) {
unittest.expect(o.discoveryVersion, unittest.equals('foo'));
- checkUnnamed256(o.items);
+ checkUnnamed254(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectoryList--;
}
+buildUnnamed255() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+core.int buildCounterJsonSchemaAnnotations = 0;
+buildJsonSchemaAnnotations() {
+ var o = new api.JsonSchemaAnnotations();
+ buildCounterJsonSchemaAnnotations++;
+ if (buildCounterJsonSchemaAnnotations < 3) {
+ o.required = buildUnnamed255();
+ }
+ buildCounterJsonSchemaAnnotations--;
+ return o;
+}
+
+checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) {
+ buildCounterJsonSchemaAnnotations++;
+ if (buildCounterJsonSchemaAnnotations < 3) {
+ checkUnnamed255(o.required);
+ }
+ buildCounterJsonSchemaAnnotations--;
+}
+
+buildUnnamed256() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
buildUnnamed257() {
var o = new core.List<core.String>();
o.add("foo");
@@ -175,59 +220,14 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterJsonSchemaAnnotations = 0;
-buildJsonSchemaAnnotations() {
- var o = new api.JsonSchemaAnnotations();
- buildCounterJsonSchemaAnnotations++;
- if (buildCounterJsonSchemaAnnotations < 3) {
- o.required = buildUnnamed257();
- }
- buildCounterJsonSchemaAnnotations--;
- return o;
-}
-
-checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) {
- buildCounterJsonSchemaAnnotations++;
- if (buildCounterJsonSchemaAnnotations < 3) {
- checkUnnamed257(o.required);
- }
- buildCounterJsonSchemaAnnotations--;
-}
-
buildUnnamed258() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed258(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed259() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed259(core.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() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed260(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed258(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -254,14 +254,14 @@
buildCounterJsonSchemaVariantMap--;
}
-buildUnnamed261() {
+buildUnnamed259() {
var o = new core.List<api.JsonSchemaVariantMap>();
o.add(buildJsonSchemaVariantMap());
o.add(buildJsonSchemaVariantMap());
return o;
}
-checkUnnamed261(core.List<api.JsonSchemaVariantMap> o) {
+checkUnnamed259(core.List<api.JsonSchemaVariantMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchemaVariantMap(o[0]);
checkJsonSchemaVariantMap(o[1]);
@@ -273,7 +273,7 @@
buildCounterJsonSchemaVariant++;
if (buildCounterJsonSchemaVariant < 3) {
o.discriminant = "foo";
- o.map = buildUnnamed261();
+ o.map = buildUnnamed259();
}
buildCounterJsonSchemaVariant--;
return o;
@@ -283,7 +283,7 @@
buildCounterJsonSchemaVariant++;
if (buildCounterJsonSchemaVariant < 3) {
unittest.expect(o.discriminant, unittest.equals('foo'));
- checkUnnamed261(o.map);
+ checkUnnamed259(o.map);
}
buildCounterJsonSchemaVariant--;
}
@@ -298,8 +298,8 @@
o.annotations = buildJsonSchemaAnnotations();
o.default_ = "foo";
o.description = "foo";
- o.enum_ = buildUnnamed258();
- o.enumDescriptions = buildUnnamed259();
+ o.enum_ = buildUnnamed256();
+ o.enumDescriptions = buildUnnamed257();
o.format = "foo";
o.id = "foo";
o.items = buildJsonSchema();
@@ -307,7 +307,7 @@
o.maximum = "foo";
o.minimum = "foo";
o.pattern = "foo";
- o.properties = buildUnnamed260();
+ o.properties = buildUnnamed258();
o.readOnly = true;
o.repeated = true;
o.required = true;
@@ -326,8 +326,8 @@
checkJsonSchemaAnnotations(o.annotations);
unittest.expect(o.default_, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed258(o.enum_);
- checkUnnamed259(o.enumDescriptions);
+ checkUnnamed256(o.enum_);
+ checkUnnamed257(o.enumDescriptions);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkJsonSchema(o.items);
@@ -335,7 +335,7 @@
unittest.expect(o.maximum, unittest.equals('foo'));
unittest.expect(o.minimum, unittest.equals('foo'));
unittest.expect(o.pattern, unittest.equals('foo'));
- checkUnnamed260(o.properties);
+ checkUnnamed258(o.properties);
unittest.expect(o.readOnly, unittest.isTrue);
unittest.expect(o.repeated, unittest.isTrue);
unittest.expect(o.required, unittest.isTrue);
@@ -364,14 +364,14 @@
buildCounterRestDescriptionAuthOauth2ScopesValue--;
}
-buildUnnamed262() {
+buildUnnamed260() {
var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>();
o["x"] = buildRestDescriptionAuthOauth2ScopesValue();
o["y"] = buildRestDescriptionAuthOauth2ScopesValue();
return o;
}
-checkUnnamed262(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
+checkUnnamed260(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestDescriptionAuthOauth2ScopesValue(o["x"]);
checkRestDescriptionAuthOauth2ScopesValue(o["y"]);
@@ -382,7 +382,7 @@
var o = new api.RestDescriptionAuthOauth2();
buildCounterRestDescriptionAuthOauth2++;
if (buildCounterRestDescriptionAuthOauth2 < 3) {
- o.scopes = buildUnnamed262();
+ o.scopes = buildUnnamed260();
}
buildCounterRestDescriptionAuthOauth2--;
return o;
@@ -391,7 +391,7 @@
checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) {
buildCounterRestDescriptionAuthOauth2++;
if (buildCounterRestDescriptionAuthOauth2 < 3) {
- checkUnnamed262(o.scopes);
+ checkUnnamed260(o.scopes);
}
buildCounterRestDescriptionAuthOauth2--;
}
@@ -415,14 +415,14 @@
buildCounterRestDescriptionAuth--;
}
-buildUnnamed263() {
+buildUnnamed261() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed263(core.List<core.String> o) {
+checkUnnamed261(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -449,32 +449,58 @@
buildCounterRestDescriptionIcons--;
}
-buildUnnamed264() {
+buildUnnamed262() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed264(core.List<core.String> o) {
+checkUnnamed262(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed265() {
+buildUnnamed263() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed265(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed263(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
+buildUnnamed264() {
+ var o = new core.Map<core.String, api.JsonSchema>();
+ o["x"] = buildJsonSchema();
+ o["y"] = buildJsonSchema();
+ return o;
+}
+
+checkUnnamed264(core.Map<core.String, api.JsonSchema> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkJsonSchema(o["x"]);
+ checkJsonSchema(o["y"]);
+}
+
+buildUnnamed265() {
+ var o = new core.Map<core.String, api.RestResource>();
+ o["x"] = buildRestResource();
+ o["y"] = buildRestResource();
+ return o;
+}
+
+checkUnnamed265(core.Map<core.String, api.RestResource> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRestResource(o["x"]);
+ checkRestResource(o["y"]);
+}
+
buildUnnamed266() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
@@ -488,32 +514,6 @@
checkJsonSchema(o["y"]);
}
-buildUnnamed267() {
- var o = new core.Map<core.String, api.RestResource>();
- o["x"] = buildRestResource();
- o["y"] = buildRestResource();
- return o;
-}
-
-checkUnnamed267(core.Map<core.String, api.RestResource> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkRestResource(o["x"]);
- checkRestResource(o["y"]);
-}
-
-buildUnnamed268() {
- var o = new core.Map<core.String, api.JsonSchema>();
- o["x"] = buildJsonSchema();
- o["y"] = buildJsonSchema();
- return o;
-}
-
-checkUnnamed268(core.Map<core.String, api.JsonSchema> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkJsonSchema(o["x"]);
- checkJsonSchema(o["y"]);
-}
-
core.int buildCounterRestDescription = 0;
buildRestDescription() {
var o = new api.RestDescription();
@@ -529,22 +529,22 @@
o.documentationLink = "foo";
o.etag = "foo";
o.exponentialBackoffDefault = true;
- o.features = buildUnnamed263();
+ o.features = buildUnnamed261();
o.icons = buildRestDescriptionIcons();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed264();
- o.methods = buildUnnamed265();
+ o.labels = buildUnnamed262();
+ o.methods = buildUnnamed263();
o.name = "foo";
o.ownerDomain = "foo";
o.ownerName = "foo";
o.packagePath = "foo";
- o.parameters = buildUnnamed266();
+ o.parameters = buildUnnamed264();
o.protocol = "foo";
- o.resources = buildUnnamed267();
+ o.resources = buildUnnamed265();
o.revision = "foo";
o.rootUrl = "foo";
- o.schemas = buildUnnamed268();
+ o.schemas = buildUnnamed266();
o.servicePath = "foo";
o.title = "foo";
o.version = "foo";
@@ -567,22 +567,22 @@
unittest.expect(o.documentationLink, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.exponentialBackoffDefault, unittest.isTrue);
- checkUnnamed263(o.features);
+ checkUnnamed261(o.features);
checkRestDescriptionIcons(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed264(o.labels);
- checkUnnamed265(o.methods);
+ checkUnnamed262(o.labels);
+ checkUnnamed263(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'));
- checkUnnamed266(o.parameters);
+ checkUnnamed264(o.parameters);
unittest.expect(o.protocol, unittest.equals('foo'));
- checkUnnamed267(o.resources);
+ checkUnnamed265(o.resources);
unittest.expect(o.revision, unittest.equals('foo'));
unittest.expect(o.rootUrl, unittest.equals('foo'));
- checkUnnamed268(o.schemas);
+ checkUnnamed266(o.schemas);
unittest.expect(o.servicePath, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -591,14 +591,14 @@
buildCounterRestDescription--;
}
-buildUnnamed269() {
+buildUnnamed267() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed269(core.List<core.String> o) {
+checkUnnamed267(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -672,7 +672,7 @@
var o = new api.RestMethodMediaUpload();
buildCounterRestMethodMediaUpload++;
if (buildCounterRestMethodMediaUpload < 3) {
- o.accept = buildUnnamed269();
+ o.accept = buildUnnamed267();
o.maxSize = "foo";
o.protocols = buildRestMethodMediaUploadProtocols();
}
@@ -683,34 +683,34 @@
checkRestMethodMediaUpload(api.RestMethodMediaUpload o) {
buildCounterRestMethodMediaUpload++;
if (buildCounterRestMethodMediaUpload < 3) {
- checkUnnamed269(o.accept);
+ checkUnnamed267(o.accept);
unittest.expect(o.maxSize, unittest.equals('foo'));
checkRestMethodMediaUploadProtocols(o.protocols);
}
buildCounterRestMethodMediaUpload--;
}
-buildUnnamed270() {
+buildUnnamed268() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed270(core.List<core.String> o) {
+checkUnnamed268(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed271() {
+buildUnnamed269() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed271(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed269(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -756,14 +756,14 @@
buildCounterRestMethodResponse--;
}
-buildUnnamed272() {
+buildUnnamed270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed272(core.List<core.String> o) {
+checkUnnamed270(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -779,12 +779,12 @@
o.httpMethod = "foo";
o.id = "foo";
o.mediaUpload = buildRestMethodMediaUpload();
- o.parameterOrder = buildUnnamed270();
- o.parameters = buildUnnamed271();
+ o.parameterOrder = buildUnnamed268();
+ o.parameters = buildUnnamed269();
o.path = "foo";
o.request = buildRestMethodRequest();
o.response = buildRestMethodResponse();
- o.scopes = buildUnnamed272();
+ o.scopes = buildUnnamed270();
o.supportsMediaDownload = true;
o.supportsMediaUpload = true;
o.supportsSubscription = true;
@@ -802,12 +802,12 @@
unittest.expect(o.httpMethod, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkRestMethodMediaUpload(o.mediaUpload);
- checkUnnamed270(o.parameterOrder);
- checkUnnamed271(o.parameters);
+ checkUnnamed268(o.parameterOrder);
+ checkUnnamed269(o.parameters);
unittest.expect(o.path, unittest.equals('foo'));
checkRestMethodRequest(o.request);
checkRestMethodResponse(o.response);
- checkUnnamed272(o.scopes);
+ checkUnnamed270(o.scopes);
unittest.expect(o.supportsMediaDownload, unittest.isTrue);
unittest.expect(o.supportsMediaUpload, unittest.isTrue);
unittest.expect(o.supportsSubscription, unittest.isTrue);
@@ -816,27 +816,27 @@
buildCounterRestMethod--;
}
-buildUnnamed273() {
+buildUnnamed271() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed273(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed271(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
-buildUnnamed274() {
+buildUnnamed272() {
var o = new core.Map<core.String, api.RestResource>();
o["x"] = buildRestResource();
o["y"] = buildRestResource();
return o;
}
-checkUnnamed274(core.Map<core.String, api.RestResource> o) {
+checkUnnamed272(core.Map<core.String, api.RestResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestResource(o["x"]);
checkRestResource(o["y"]);
@@ -847,8 +847,8 @@
var o = new api.RestResource();
buildCounterRestResource++;
if (buildCounterRestResource < 3) {
- o.methods = buildUnnamed273();
- o.resources = buildUnnamed274();
+ o.methods = buildUnnamed271();
+ o.resources = buildUnnamed272();
}
buildCounterRestResource--;
return o;
@@ -857,8 +857,8 @@
checkRestResource(api.RestResource o) {
buildCounterRestResource++;
if (buildCounterRestResource < 3) {
- checkUnnamed273(o.methods);
- checkUnnamed274(o.resources);
+ checkUnnamed271(o.methods);
+ checkUnnamed272(o.resources);
}
buildCounterRestResource--;
}
diff --git a/generated/googleapis/test/dns/v1_test.dart b/generated/googleapis/test/dns/v1_test.dart
index 9815076..0365148 100644
--- a/generated/googleapis/test/dns/v1_test.dart
+++ b/generated/googleapis/test/dns/v1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed716() {
+buildUnnamed703() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed716(core.List<api.ResourceRecordSet> o) {
+checkUnnamed703(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
}
-buildUnnamed717() {
+buildUnnamed704() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed717(core.List<api.ResourceRecordSet> o) {
+checkUnnamed704(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -82,8 +82,8 @@
var o = new api.Change();
buildCounterChange++;
if (buildCounterChange < 3) {
- o.additions = buildUnnamed716();
- o.deletions = buildUnnamed717();
+ o.additions = buildUnnamed703();
+ o.deletions = buildUnnamed704();
o.id = "foo";
o.kind = "foo";
o.startTime = "foo";
@@ -96,8 +96,8 @@
checkChange(api.Change o) {
buildCounterChange++;
if (buildCounterChange < 3) {
- checkUnnamed716(o.additions);
- checkUnnamed717(o.deletions);
+ checkUnnamed703(o.additions);
+ checkUnnamed704(o.deletions);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -106,14 +106,14 @@
buildCounterChange--;
}
-buildUnnamed718() {
+buildUnnamed705() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed718(core.List<api.Change> o) {
+checkUnnamed705(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -124,7 +124,7 @@
var o = new api.ChangesListResponse();
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- o.changes = buildUnnamed718();
+ o.changes = buildUnnamed705();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -135,21 +135,21 @@
checkChangesListResponse(api.ChangesListResponse o) {
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- checkUnnamed718(o.changes);
+ checkUnnamed705(o.changes);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangesListResponse--;
}
-buildUnnamed719() {
+buildUnnamed706() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed719(core.List<core.String> o) {
+checkUnnamed706(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -167,7 +167,7 @@
o.kind = "foo";
o.name = "foo";
o.nameServerSet = "foo";
- o.nameServers = buildUnnamed719();
+ o.nameServers = buildUnnamed706();
}
buildCounterManagedZone--;
return o;
@@ -183,19 +183,19 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nameServerSet, unittest.equals('foo'));
- checkUnnamed719(o.nameServers);
+ checkUnnamed706(o.nameServers);
}
buildCounterManagedZone--;
}
-buildUnnamed720() {
+buildUnnamed707() {
var o = new core.List<api.ManagedZone>();
o.add(buildManagedZone());
o.add(buildManagedZone());
return o;
}
-checkUnnamed720(core.List<api.ManagedZone> o) {
+checkUnnamed707(core.List<api.ManagedZone> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedZone(o[0]);
checkManagedZone(o[1]);
@@ -207,7 +207,7 @@
buildCounterManagedZonesListResponse++;
if (buildCounterManagedZonesListResponse < 3) {
o.kind = "foo";
- o.managedZones = buildUnnamed720();
+ o.managedZones = buildUnnamed707();
o.nextPageToken = "foo";
}
buildCounterManagedZonesListResponse--;
@@ -218,7 +218,7 @@
buildCounterManagedZonesListResponse++;
if (buildCounterManagedZonesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed720(o.managedZones);
+ checkUnnamed707(o.managedZones);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManagedZonesListResponse--;
@@ -280,14 +280,14 @@
buildCounterQuota--;
}
-buildUnnamed721() {
+buildUnnamed708() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed721(core.List<core.String> o) {
+checkUnnamed708(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -300,7 +300,7 @@
if (buildCounterResourceRecordSet < 3) {
o.kind = "foo";
o.name = "foo";
- o.rrdatas = buildUnnamed721();
+ o.rrdatas = buildUnnamed708();
o.ttl = 42;
o.type = "foo";
}
@@ -313,21 +313,21 @@
if (buildCounterResourceRecordSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed721(o.rrdatas);
+ checkUnnamed708(o.rrdatas);
unittest.expect(o.ttl, unittest.equals(42));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterResourceRecordSet--;
}
-buildUnnamed722() {
+buildUnnamed709() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed722(core.List<api.ResourceRecordSet> o) {
+checkUnnamed709(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -340,7 +340,7 @@
if (buildCounterResourceRecordSetsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.rrsets = buildUnnamed722();
+ o.rrsets = buildUnnamed709();
}
buildCounterResourceRecordSetsListResponse--;
return o;
@@ -351,7 +351,7 @@
if (buildCounterResourceRecordSetsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed722(o.rrsets);
+ checkUnnamed709(o.rrsets);
}
buildCounterResourceRecordSetsListResponse--;
}
diff --git a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
index 8a4e4b2..7804778 100644
--- a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
+++ b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1163() {
+buildUnnamed1158() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1163(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'));
@@ -70,7 +70,7 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
o.fileSpec = "foo";
- o.filterIds = buildUnnamed1163();
+ o.filterIds = buildUnnamed1158();
o.filterType = "foo";
o.format = "foo";
}
@@ -82,7 +82,7 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
unittest.expect(o.fileSpec, unittest.equals('foo'));
- checkUnnamed1163(o.filterIds);
+ checkUnnamed1158(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
}
@@ -108,27 +108,27 @@
buildCounterDownloadLineItemsResponse--;
}
-buildUnnamed1164() {
+buildUnnamed1159() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1164(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'));
}
-buildUnnamed1165() {
+buildUnnamed1160() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1165(core.List<core.String> o) {
+checkUnnamed1160(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -139,8 +139,8 @@
var o = new api.DownloadRequest();
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- o.fileTypes = buildUnnamed1164();
- o.filterIds = buildUnnamed1165();
+ o.fileTypes = buildUnnamed1159();
+ o.filterIds = buildUnnamed1160();
o.filterType = "foo";
o.version = "foo";
}
@@ -151,8 +151,8 @@
checkDownloadRequest(api.DownloadRequest o) {
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- checkUnnamed1164(o.fileTypes);
- checkUnnamed1165(o.filterIds);
+ checkUnnamed1159(o.fileTypes);
+ checkUnnamed1160(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
@@ -205,14 +205,14 @@
buildCounterFilterPair--;
}
-buildUnnamed1166() {
+buildUnnamed1161() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed1166(core.List<api.Query> o) {
+checkUnnamed1161(core.List<api.Query> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuery(o[0]);
checkQuery(o[1]);
@@ -224,7 +224,7 @@
buildCounterListQueriesResponse++;
if (buildCounterListQueriesResponse < 3) {
o.kind = "foo";
- o.queries = buildUnnamed1166();
+ o.queries = buildUnnamed1161();
}
buildCounterListQueriesResponse--;
return o;
@@ -234,19 +234,19 @@
buildCounterListQueriesResponse++;
if (buildCounterListQueriesResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1166(o.queries);
+ checkUnnamed1161(o.queries);
}
buildCounterListQueriesResponse--;
}
-buildUnnamed1167() {
+buildUnnamed1162() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed1167(core.List<api.Report> o) {
+checkUnnamed1162(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -258,7 +258,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
o.kind = "foo";
- o.reports = buildUnnamed1167();
+ o.reports = buildUnnamed1162();
}
buildCounterListReportsResponse--;
return o;
@@ -268,45 +268,45 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1167(o.reports);
+ checkUnnamed1162(o.reports);
}
buildCounterListReportsResponse--;
}
-buildUnnamed1168() {
+buildUnnamed1163() {
var o = new core.List<api.FilterPair>();
o.add(buildFilterPair());
o.add(buildFilterPair());
return o;
}
-checkUnnamed1168(core.List<api.FilterPair> o) {
+checkUnnamed1163(core.List<api.FilterPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterPair(o[0]);
checkFilterPair(o[1]);
}
-buildUnnamed1169() {
+buildUnnamed1164() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1169(core.List<core.String> o) {
+checkUnnamed1164(core.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() {
+buildUnnamed1165() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1170(core.List<core.String> o) {
+checkUnnamed1165(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -317,10 +317,10 @@
var o = new api.Parameters();
buildCounterParameters++;
if (buildCounterParameters < 3) {
- o.filters = buildUnnamed1168();
- o.groupBys = buildUnnamed1169();
+ o.filters = buildUnnamed1163();
+ o.groupBys = buildUnnamed1164();
o.includeInviteData = true;
- o.metrics = buildUnnamed1170();
+ o.metrics = buildUnnamed1165();
o.type = "foo";
}
buildCounterParameters--;
@@ -330,10 +330,10 @@
checkParameters(api.Parameters o) {
buildCounterParameters++;
if (buildCounterParameters < 3) {
- checkUnnamed1168(o.filters);
- checkUnnamed1169(o.groupBys);
+ checkUnnamed1163(o.filters);
+ checkUnnamed1164(o.groupBys);
unittest.expect(o.includeInviteData, unittest.isTrue);
- checkUnnamed1170(o.metrics);
+ checkUnnamed1165(o.metrics);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterParameters--;
@@ -372,14 +372,14 @@
buildCounterQuery--;
}
-buildUnnamed1171() {
+buildUnnamed1166() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1171(core.List<core.String> o) {
+checkUnnamed1166(core.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.reportCount = 42;
o.running = true;
o.sendNotification = true;
- o.shareEmailAddress = buildUnnamed1171();
+ o.shareEmailAddress = buildUnnamed1166();
o.title = "foo";
}
buildCounterQueryMetadata--;
@@ -418,7 +418,7 @@
unittest.expect(o.reportCount, unittest.equals(42));
unittest.expect(o.running, unittest.isTrue);
unittest.expect(o.sendNotification, unittest.isTrue);
- checkUnnamed1171(o.shareEmailAddress);
+ checkUnnamed1166(o.shareEmailAddress);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterQueryMetadata--;
@@ -562,14 +562,14 @@
buildCounterReportStatus--;
}
-buildUnnamed1172() {
+buildUnnamed1167() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1172(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'));
@@ -583,7 +583,7 @@
o.changed = true;
o.entityId = "foo";
o.entityName = "foo";
- o.errors = buildUnnamed1172();
+ o.errors = buildUnnamed1167();
o.persisted = true;
o.rowNumber = 42;
}
@@ -597,7 +597,7 @@
unittest.expect(o.changed, unittest.isTrue);
unittest.expect(o.entityId, unittest.equals('foo'));
unittest.expect(o.entityName, unittest.equals('foo'));
- checkUnnamed1172(o.errors);
+ checkUnnamed1167(o.errors);
unittest.expect(o.persisted, unittest.isTrue);
unittest.expect(o.rowNumber, unittest.equals(42));
}
@@ -671,27 +671,27 @@
buildCounterUploadLineItemsResponse--;
}
-buildUnnamed1173() {
+buildUnnamed1168() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1173(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'));
}
-buildUnnamed1174() {
+buildUnnamed1169() {
var o = new core.List<api.RowStatus>();
o.add(buildRowStatus());
o.add(buildRowStatus());
return o;
}
-checkUnnamed1174(core.List<api.RowStatus> o) {
+checkUnnamed1169(core.List<api.RowStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowStatus(o[0]);
checkRowStatus(o[1]);
@@ -702,8 +702,8 @@
var o = new api.UploadStatus();
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- o.errors = buildUnnamed1173();
- o.rowStatus = buildUnnamed1174();
+ o.errors = buildUnnamed1168();
+ o.rowStatus = buildUnnamed1169();
}
buildCounterUploadStatus--;
return o;
@@ -712,8 +712,8 @@
checkUploadStatus(api.UploadStatus o) {
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- checkUnnamed1173(o.errors);
- checkUnnamed1174(o.rowStatus);
+ checkUnnamed1168(o.errors);
+ checkUnnamed1169(o.rowStatus);
}
buildCounterUploadStatus--;
}
diff --git a/generated/googleapis/test/doubleclicksearch/v2_test.dart b/generated/googleapis/test/doubleclicksearch/v2_test.dart
index 63e9fbb..2aab6e8 100644
--- a/generated/googleapis/test/doubleclicksearch/v2_test.dart
+++ b/generated/googleapis/test/doubleclicksearch/v2_test.dart
@@ -80,27 +80,27 @@
buildCounterAvailability--;
}
-buildUnnamed1288() {
+buildUnnamed1283() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed1288(core.List<api.CustomDimension> o) {
+checkUnnamed1283(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
}
-buildUnnamed1289() {
+buildUnnamed1284() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed1289(core.List<api.CustomMetric> o) {
+checkUnnamed1284(core.List<api.CustomMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomMetric(o[0]);
checkCustomMetric(o[1]);
@@ -125,8 +125,8 @@
o.countMillis = "foo";
o.criterionId = "foo";
o.currencyCode = "foo";
- o.customDimension = buildUnnamed1288();
- o.customMetric = buildUnnamed1289();
+ o.customDimension = buildUnnamed1283();
+ o.customMetric = buildUnnamed1284();
o.deviceType = "foo";
o.dsConversionId = "foo";
o.engineAccountId = "foo";
@@ -166,8 +166,8 @@
unittest.expect(o.countMillis, unittest.equals('foo'));
unittest.expect(o.criterionId, unittest.equals('foo'));
unittest.expect(o.currencyCode, unittest.equals('foo'));
- checkUnnamed1288(o.customDimension);
- checkUnnamed1289(o.customMetric);
+ checkUnnamed1283(o.customDimension);
+ checkUnnamed1284(o.customMetric);
unittest.expect(o.deviceType, unittest.equals('foo'));
unittest.expect(o.dsConversionId, unittest.equals('foo'));
unittest.expect(o.engineAccountId, unittest.equals('foo'));
@@ -189,14 +189,14 @@
buildCounterConversion--;
}
-buildUnnamed1290() {
+buildUnnamed1285() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed1290(core.List<api.Conversion> o) {
+checkUnnamed1285(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -207,7 +207,7 @@
var o = new api.ConversionList();
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- o.conversion = buildUnnamed1290();
+ o.conversion = buildUnnamed1285();
o.kind = "foo";
}
buildCounterConversionList--;
@@ -217,7 +217,7 @@
checkConversionList(api.ConversionList o) {
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- checkUnnamed1290(o.conversion);
+ checkUnnamed1285(o.conversion);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionList--;
@@ -286,27 +286,27 @@
buildCounterReportFiles--;
}
-buildUnnamed1291() {
+buildUnnamed1286() {
var o = new core.List<api.ReportFiles>();
o.add(buildReportFiles());
o.add(buildReportFiles());
return o;
}
-checkUnnamed1291(core.List<api.ReportFiles> o) {
+checkUnnamed1286(core.List<api.ReportFiles> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportFiles(o[0]);
checkReportFiles(o[1]);
}
-buildUnnamed1292() {
+buildUnnamed1287() {
var o = new core.List<api.ReportRow>();
o.add(buildReportRow());
o.add(buildReportRow());
return o;
}
-checkUnnamed1292(core.List<api.ReportRow> o) {
+checkUnnamed1287(core.List<api.ReportRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRow(o[0]);
checkReportRow(o[1]);
@@ -317,13 +317,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.files = buildUnnamed1291();
+ o.files = buildUnnamed1286();
o.id = "foo";
o.isReportReady = true;
o.kind = "foo";
o.request = buildReportRequest();
o.rowCount = 42;
- o.rows = buildUnnamed1292();
+ o.rows = buildUnnamed1287();
o.statisticsCurrencyCode = "foo";
o.statisticsTimeZone = "foo";
}
@@ -334,13 +334,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed1291(o.files);
+ checkUnnamed1286(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));
- checkUnnamed1292(o.rows);
+ checkUnnamed1287(o.rows);
unittest.expect(o.statisticsCurrencyCode, unittest.equals('foo'));
unittest.expect(o.statisticsTimeZone, unittest.equals('foo'));
}
@@ -384,27 +384,27 @@
buildCounterReportApiColumnSpec--;
}
-buildUnnamed1293() {
+buildUnnamed1288() {
var o = new core.List<api.ReportApiColumnSpec>();
o.add(buildReportApiColumnSpec());
o.add(buildReportApiColumnSpec());
return o;
}
-checkUnnamed1293(core.List<api.ReportApiColumnSpec> o) {
+checkUnnamed1288(core.List<api.ReportApiColumnSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportApiColumnSpec(o[0]);
checkReportApiColumnSpec(o[1]);
}
-buildUnnamed1294() {
+buildUnnamed1289() {
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;
}
-checkUnnamed1294(core.List<core.Object> o) {
+checkUnnamed1289(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'));
@@ -417,7 +417,7 @@
if (buildCounterReportRequestFilters < 3) {
o.column = buildReportApiColumnSpec();
o.operator = "foo";
- o.values = buildUnnamed1294();
+ o.values = buildUnnamed1289();
}
buildCounterReportRequestFilters--;
return o;
@@ -428,19 +428,19 @@
if (buildCounterReportRequestFilters < 3) {
checkReportApiColumnSpec(o.column);
unittest.expect(o.operator, unittest.equals('foo'));
- checkUnnamed1294(o.values);
+ checkUnnamed1289(o.values);
}
buildCounterReportRequestFilters--;
}
-buildUnnamed1295() {
+buildUnnamed1290() {
var o = new core.List<api.ReportRequestFilters>();
o.add(buildReportRequestFilters());
o.add(buildReportRequestFilters());
return o;
}
-checkUnnamed1295(core.List<api.ReportRequestFilters> o) {
+checkUnnamed1290(core.List<api.ReportRequestFilters> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestFilters(o[0]);
checkReportRequestFilters(o[1]);
@@ -467,14 +467,14 @@
buildCounterReportRequestOrderBy--;
}
-buildUnnamed1296() {
+buildUnnamed1291() {
var o = new core.List<api.ReportRequestOrderBy>();
o.add(buildReportRequestOrderBy());
o.add(buildReportRequestOrderBy());
return o;
}
-checkUnnamed1296(core.List<api.ReportRequestOrderBy> o) {
+checkUnnamed1291(core.List<api.ReportRequestOrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestOrderBy(o[0]);
checkReportRequestOrderBy(o[1]);
@@ -541,13 +541,13 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.columns = buildUnnamed1293();
+ o.columns = buildUnnamed1288();
o.downloadFormat = "foo";
- o.filters = buildUnnamed1295();
+ o.filters = buildUnnamed1290();
o.includeDeletedEntities = true;
o.includeRemovedEntities = true;
o.maxRowsPerFile = 42;
- o.orderBy = buildUnnamed1296();
+ o.orderBy = buildUnnamed1291();
o.reportScope = buildReportRequestReportScope();
o.reportType = "foo";
o.rowCount = 42;
@@ -563,13 +563,13 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed1293(o.columns);
+ checkUnnamed1288(o.columns);
unittest.expect(o.downloadFormat, unittest.equals('foo'));
- checkUnnamed1295(o.filters);
+ checkUnnamed1290(o.filters);
unittest.expect(o.includeDeletedEntities, unittest.isTrue);
unittest.expect(o.includeRemovedEntities, unittest.isTrue);
unittest.expect(o.maxRowsPerFile, unittest.equals(42));
- checkUnnamed1296(o.orderBy);
+ checkUnnamed1291(o.orderBy);
checkReportRequestReportScope(o.reportScope);
unittest.expect(o.reportType, unittest.equals('foo'));
unittest.expect(o.rowCount, unittest.equals(42));
@@ -617,14 +617,14 @@
buildCounterSavedColumn--;
}
-buildUnnamed1297() {
+buildUnnamed1292() {
var o = new core.List<api.SavedColumn>();
o.add(buildSavedColumn());
o.add(buildSavedColumn());
return o;
}
-checkUnnamed1297(core.List<api.SavedColumn> o) {
+checkUnnamed1292(core.List<api.SavedColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedColumn(o[0]);
checkSavedColumn(o[1]);
@@ -635,7 +635,7 @@
var o = new api.SavedColumnList();
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- o.items = buildUnnamed1297();
+ o.items = buildUnnamed1292();
o.kind = "foo";
}
buildCounterSavedColumnList--;
@@ -645,20 +645,20 @@
checkSavedColumnList(api.SavedColumnList o) {
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- checkUnnamed1297(o.items);
+ checkUnnamed1292(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSavedColumnList--;
}
-buildUnnamed1298() {
+buildUnnamed1293() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed1298(core.List<api.Availability> o) {
+checkUnnamed1293(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -669,7 +669,7 @@
var o = new api.UpdateAvailabilityRequest();
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- o.availabilities = buildUnnamed1298();
+ o.availabilities = buildUnnamed1293();
}
buildCounterUpdateAvailabilityRequest--;
return o;
@@ -678,19 +678,19 @@
checkUpdateAvailabilityRequest(api.UpdateAvailabilityRequest o) {
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- checkUnnamed1298(o.availabilities);
+ checkUnnamed1293(o.availabilities);
}
buildCounterUpdateAvailabilityRequest--;
}
-buildUnnamed1299() {
+buildUnnamed1294() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed1299(core.List<api.Availability> o) {
+checkUnnamed1294(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -701,7 +701,7 @@
var o = new api.UpdateAvailabilityResponse();
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- o.availabilities = buildUnnamed1299();
+ o.availabilities = buildUnnamed1294();
}
buildCounterUpdateAvailabilityResponse--;
return o;
@@ -710,7 +710,7 @@
checkUpdateAvailabilityResponse(api.UpdateAvailabilityResponse o) {
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- checkUnnamed1299(o.availabilities);
+ checkUnnamed1294(o.availabilities);
}
buildCounterUpdateAvailabilityResponse--;
}
diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart
index 492126d..e3f6310 100644
--- a/generated/googleapis/test/drive/v2_test.dart
+++ b/generated/googleapis/test/drive/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed631() {
+buildUnnamed617() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed631(core.List<core.String> o) {
+checkUnnamed617(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
var o = new api.AboutAdditionalRoleInfoRoleSets();
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- o.additionalRoles = buildUnnamed631();
+ o.additionalRoles = buildUnnamed617();
o.primaryRole = "foo";
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
@@ -79,20 +79,20 @@
checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) {
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- checkUnnamed631(o.additionalRoles);
+ checkUnnamed617(o.additionalRoles);
unittest.expect(o.primaryRole, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
}
-buildUnnamed632() {
+buildUnnamed618() {
var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>();
o.add(buildAboutAdditionalRoleInfoRoleSets());
o.add(buildAboutAdditionalRoleInfoRoleSets());
return o;
}
-checkUnnamed632(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
+checkUnnamed618(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfoRoleSets(o[0]);
checkAboutAdditionalRoleInfoRoleSets(o[1]);
@@ -103,7 +103,7 @@
var o = new api.AboutAdditionalRoleInfo();
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- o.roleSets = buildUnnamed632();
+ o.roleSets = buildUnnamed618();
o.type = "foo";
}
buildCounterAboutAdditionalRoleInfo--;
@@ -113,33 +113,33 @@
checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) {
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- checkUnnamed632(o.roleSets);
+ checkUnnamed618(o.roleSets);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfo--;
}
-buildUnnamed633() {
+buildUnnamed619() {
var o = new core.List<api.AboutAdditionalRoleInfo>();
o.add(buildAboutAdditionalRoleInfo());
o.add(buildAboutAdditionalRoleInfo());
return o;
}
-checkUnnamed633(core.List<api.AboutAdditionalRoleInfo> o) {
+checkUnnamed619(core.List<api.AboutAdditionalRoleInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfo(o[0]);
checkAboutAdditionalRoleInfo(o[1]);
}
-buildUnnamed634() {
+buildUnnamed620() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed634(core.List<core.String> o) {
+checkUnnamed620(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -151,7 +151,7 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed634();
+ o.targets = buildUnnamed620();
}
buildCounterAboutExportFormats--;
return o;
@@ -161,19 +161,19 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed634(o.targets);
+ checkUnnamed620(o.targets);
}
buildCounterAboutExportFormats--;
}
-buildUnnamed635() {
+buildUnnamed621() {
var o = new core.List<api.AboutExportFormats>();
o.add(buildAboutExportFormats());
o.add(buildAboutExportFormats());
return o;
}
-checkUnnamed635(core.List<api.AboutExportFormats> o) {
+checkUnnamed621(core.List<api.AboutExportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutExportFormats(o[0]);
checkAboutExportFormats(o[1]);
@@ -200,40 +200,40 @@
buildCounterAboutFeatures--;
}
-buildUnnamed636() {
+buildUnnamed622() {
var o = new core.List<api.AboutFeatures>();
o.add(buildAboutFeatures());
o.add(buildAboutFeatures());
return o;
}
-checkUnnamed636(core.List<api.AboutFeatures> o) {
+checkUnnamed622(core.List<api.AboutFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutFeatures(o[0]);
checkAboutFeatures(o[1]);
}
-buildUnnamed637() {
+buildUnnamed623() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed637(core.List<core.String> o) {
+checkUnnamed623(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed638() {
+buildUnnamed624() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed638(core.List<core.String> o) {
+checkUnnamed624(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -245,7 +245,7 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed638();
+ o.targets = buildUnnamed624();
}
buildCounterAboutImportFormats--;
return o;
@@ -255,19 +255,19 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed638(o.targets);
+ checkUnnamed624(o.targets);
}
buildCounterAboutImportFormats--;
}
-buildUnnamed639() {
+buildUnnamed625() {
var o = new core.List<api.AboutImportFormats>();
o.add(buildAboutImportFormats());
o.add(buildAboutImportFormats());
return o;
}
-checkUnnamed639(core.List<api.AboutImportFormats> o) {
+checkUnnamed625(core.List<api.AboutImportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutImportFormats(o[0]);
checkAboutImportFormats(o[1]);
@@ -294,14 +294,14 @@
buildCounterAboutMaxUploadSizes--;
}
-buildUnnamed640() {
+buildUnnamed626() {
var o = new core.List<api.AboutMaxUploadSizes>();
o.add(buildAboutMaxUploadSizes());
o.add(buildAboutMaxUploadSizes());
return o;
}
-checkUnnamed640(core.List<api.AboutMaxUploadSizes> o) {
+checkUnnamed626(core.List<api.AboutMaxUploadSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutMaxUploadSizes(o[0]);
checkAboutMaxUploadSizes(o[1]);
@@ -328,39 +328,75 @@
buildCounterAboutQuotaBytesByService--;
}
-buildUnnamed641() {
+buildUnnamed627() {
var o = new core.List<api.AboutQuotaBytesByService>();
o.add(buildAboutQuotaBytesByService());
o.add(buildAboutQuotaBytesByService());
return o;
}
-checkUnnamed641(core.List<api.AboutQuotaBytesByService> o) {
+checkUnnamed627(core.List<api.AboutQuotaBytesByService> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutQuotaBytesByService(o[0]);
checkAboutQuotaBytesByService(o[1]);
}
+core.int buildCounterAboutTeamDriveThemes = 0;
+buildAboutTeamDriveThemes() {
+ var o = new api.AboutTeamDriveThemes();
+ buildCounterAboutTeamDriveThemes++;
+ if (buildCounterAboutTeamDriveThemes < 3) {
+ o.backgroundImageLink = "foo";
+ o.colorRgb = "foo";
+ o.id = "foo";
+ }
+ buildCounterAboutTeamDriveThemes--;
+ return o;
+}
+
+checkAboutTeamDriveThemes(api.AboutTeamDriveThemes o) {
+ buildCounterAboutTeamDriveThemes++;
+ if (buildCounterAboutTeamDriveThemes < 3) {
+ unittest.expect(o.backgroundImageLink, unittest.equals('foo'));
+ unittest.expect(o.colorRgb, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ }
+ buildCounterAboutTeamDriveThemes--;
+}
+
+buildUnnamed628() {
+ var o = new core.List<api.AboutTeamDriveThemes>();
+ o.add(buildAboutTeamDriveThemes());
+ o.add(buildAboutTeamDriveThemes());
+ return o;
+}
+
+checkUnnamed628(core.List<api.AboutTeamDriveThemes> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAboutTeamDriveThemes(o[0]);
+ checkAboutTeamDriveThemes(o[1]);
+}
+
core.int buildCounterAbout = 0;
buildAbout() {
var o = new api.About();
buildCounterAbout++;
if (buildCounterAbout < 3) {
- o.additionalRoleInfo = buildUnnamed633();
+ o.additionalRoleInfo = buildUnnamed619();
o.domainSharingPolicy = "foo";
o.etag = "foo";
- o.exportFormats = buildUnnamed635();
- o.features = buildUnnamed636();
- o.folderColorPalette = buildUnnamed637();
- o.importFormats = buildUnnamed639();
+ o.exportFormats = buildUnnamed621();
+ o.features = buildUnnamed622();
+ o.folderColorPalette = buildUnnamed623();
+ o.importFormats = buildUnnamed625();
o.isCurrentAppInstalled = true;
o.kind = "foo";
o.languageCode = "foo";
o.largestChangeId = "foo";
- o.maxUploadSizes = buildUnnamed640();
+ o.maxUploadSizes = buildUnnamed626();
o.name = "foo";
o.permissionId = "foo";
- o.quotaBytesByService = buildUnnamed641();
+ o.quotaBytesByService = buildUnnamed627();
o.quotaBytesTotal = "foo";
o.quotaBytesUsed = "foo";
o.quotaBytesUsedAggregate = "foo";
@@ -369,6 +405,7 @@
o.remainingChangeIds = "foo";
o.rootFolderId = "foo";
o.selfLink = "foo";
+ o.teamDriveThemes = buildUnnamed628();
o.user = buildUser();
}
buildCounterAbout--;
@@ -378,21 +415,21 @@
checkAbout(api.About o) {
buildCounterAbout++;
if (buildCounterAbout < 3) {
- checkUnnamed633(o.additionalRoleInfo);
+ checkUnnamed619(o.additionalRoleInfo);
unittest.expect(o.domainSharingPolicy, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed635(o.exportFormats);
- checkUnnamed636(o.features);
- checkUnnamed637(o.folderColorPalette);
- checkUnnamed639(o.importFormats);
+ checkUnnamed621(o.exportFormats);
+ checkUnnamed622(o.features);
+ checkUnnamed623(o.folderColorPalette);
+ checkUnnamed625(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'));
- checkUnnamed640(o.maxUploadSizes);
+ checkUnnamed626(o.maxUploadSizes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
- checkUnnamed641(o.quotaBytesByService);
+ checkUnnamed627(o.quotaBytesByService);
unittest.expect(o.quotaBytesTotal, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo'));
@@ -401,6 +438,7 @@
unittest.expect(o.remainingChangeIds, unittest.equals('foo'));
unittest.expect(o.rootFolderId, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
+ checkUnnamed628(o.teamDriveThemes);
checkUser(o.user);
}
buildCounterAbout--;
@@ -429,66 +467,66 @@
buildCounterAppIcons--;
}
-buildUnnamed642() {
+buildUnnamed629() {
var o = new core.List<api.AppIcons>();
o.add(buildAppIcons());
o.add(buildAppIcons());
return o;
}
-checkUnnamed642(core.List<api.AppIcons> o) {
+checkUnnamed629(core.List<api.AppIcons> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppIcons(o[0]);
checkAppIcons(o[1]);
}
-buildUnnamed643() {
+buildUnnamed630() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed643(core.List<core.String> o) {
+checkUnnamed630(core.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() {
+buildUnnamed631() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed644(core.List<core.String> o) {
+checkUnnamed631(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed645() {
+buildUnnamed632() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed645(core.List<core.String> o) {
+checkUnnamed632(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed646() {
+buildUnnamed633() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed646(core.List<core.String> o) {
+checkUnnamed633(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -503,7 +541,7 @@
o.createInFolderTemplate = "foo";
o.createUrl = "foo";
o.hasDriveWideScope = true;
- o.icons = buildUnnamed642();
+ o.icons = buildUnnamed629();
o.id = "foo";
o.installed = true;
o.kind = "foo";
@@ -511,12 +549,12 @@
o.name = "foo";
o.objectType = "foo";
o.openUrlTemplate = "foo";
- o.primaryFileExtensions = buildUnnamed643();
- o.primaryMimeTypes = buildUnnamed644();
+ o.primaryFileExtensions = buildUnnamed630();
+ o.primaryMimeTypes = buildUnnamed631();
o.productId = "foo";
o.productUrl = "foo";
- o.secondaryFileExtensions = buildUnnamed645();
- o.secondaryMimeTypes = buildUnnamed646();
+ o.secondaryFileExtensions = buildUnnamed632();
+ o.secondaryMimeTypes = buildUnnamed633();
o.shortDescription = "foo";
o.supportsCreate = true;
o.supportsImport = true;
@@ -535,7 +573,7 @@
unittest.expect(o.createInFolderTemplate, unittest.equals('foo'));
unittest.expect(o.createUrl, unittest.equals('foo'));
unittest.expect(o.hasDriveWideScope, unittest.isTrue);
- checkUnnamed642(o.icons);
+ checkUnnamed629(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.installed, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -543,12 +581,12 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.openUrlTemplate, unittest.equals('foo'));
- checkUnnamed643(o.primaryFileExtensions);
- checkUnnamed644(o.primaryMimeTypes);
+ checkUnnamed630(o.primaryFileExtensions);
+ checkUnnamed631(o.primaryMimeTypes);
unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.productUrl, unittest.equals('foo'));
- checkUnnamed645(o.secondaryFileExtensions);
- checkUnnamed646(o.secondaryMimeTypes);
+ checkUnnamed632(o.secondaryFileExtensions);
+ checkUnnamed633(o.secondaryMimeTypes);
unittest.expect(o.shortDescription, unittest.equals('foo'));
unittest.expect(o.supportsCreate, unittest.isTrue);
unittest.expect(o.supportsImport, unittest.isTrue);
@@ -559,27 +597,27 @@
buildCounterApp--;
}
-buildUnnamed647() {
+buildUnnamed634() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed647(core.List<core.String> o) {
+checkUnnamed634(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed648() {
+buildUnnamed635() {
var o = new core.List<api.App>();
o.add(buildApp());
o.add(buildApp());
return o;
}
-checkUnnamed648(core.List<api.App> o) {
+checkUnnamed635(core.List<api.App> o) {
unittest.expect(o, unittest.hasLength(2));
checkApp(o[0]);
checkApp(o[1]);
@@ -590,9 +628,9 @@
var o = new api.AppList();
buildCounterAppList++;
if (buildCounterAppList < 3) {
- o.defaultAppIds = buildUnnamed647();
+ o.defaultAppIds = buildUnnamed634();
o.etag = "foo";
- o.items = buildUnnamed648();
+ o.items = buildUnnamed635();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -603,9 +641,9 @@
checkAppList(api.AppList o) {
buildCounterAppList++;
if (buildCounterAppList < 3) {
- checkUnnamed647(o.defaultAppIds);
+ checkUnnamed634(o.defaultAppIds);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed648(o.items);
+ checkUnnamed635(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -649,14 +687,14 @@
buildCounterChange--;
}
-buildUnnamed649() {
+buildUnnamed636() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed649(core.List<api.Change> o) {
+checkUnnamed636(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -668,7 +706,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
o.etag = "foo";
- o.items = buildUnnamed649();
+ o.items = buildUnnamed636();
o.kind = "foo";
o.largestChangeId = "foo";
o.newStartPageToken = "foo";
@@ -684,7 +722,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed649(o.items);
+ checkUnnamed636(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.largestChangeId, unittest.equals('foo'));
unittest.expect(o.newStartPageToken, unittest.equals('foo'));
@@ -695,14 +733,14 @@
buildCounterChangeList--;
}
-buildUnnamed650() {
+buildUnnamed637() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed650(core.Map<core.String, core.String> o) {
+checkUnnamed637(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'));
@@ -717,7 +755,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed650();
+ o.params = buildUnnamed637();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -735,7 +773,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed650(o.params);
+ checkUnnamed637(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -745,14 +783,14 @@
buildCounterChannel--;
}
-buildUnnamed651() {
+buildUnnamed638() {
var o = new core.List<api.ChildReference>();
o.add(buildChildReference());
o.add(buildChildReference());
return o;
}
-checkUnnamed651(core.List<api.ChildReference> o) {
+checkUnnamed638(core.List<api.ChildReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkChildReference(o[0]);
checkChildReference(o[1]);
@@ -764,7 +802,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
o.etag = "foo";
- o.items = buildUnnamed651();
+ o.items = buildUnnamed638();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -778,7 +816,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed651(o.items);
+ checkUnnamed638(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -833,14 +871,14 @@
buildCounterCommentContext--;
}
-buildUnnamed652() {
+buildUnnamed639() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed652(core.List<api.CommentReply> o) {
+checkUnnamed639(core.List<api.CommentReply> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentReply(o[0]);
checkCommentReply(o[1]);
@@ -863,7 +901,7 @@
o.htmlContent = "foo";
o.kind = "foo";
o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
- o.replies = buildUnnamed652();
+ o.replies = buildUnnamed639();
o.selfLink = "foo";
o.status = "foo";
}
@@ -886,21 +924,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")));
- checkUnnamed652(o.replies);
+ checkUnnamed639(o.replies);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterComment--;
}
-buildUnnamed653() {
+buildUnnamed640() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed653(core.List<api.Comment> o) {
+checkUnnamed640(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -911,7 +949,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.items = buildUnnamed653();
+ o.items = buildUnnamed640();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -924,7 +962,7 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed653(o.items);
+ checkUnnamed640(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -968,14 +1006,14 @@
buildCounterCommentReply--;
}
-buildUnnamed654() {
+buildUnnamed641() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed654(core.List<api.CommentReply> o) {
+checkUnnamed641(core.List<api.CommentReply> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentReply(o[0]);
checkCommentReply(o[1]);
@@ -986,7 +1024,7 @@
var o = new api.CommentReplyList();
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- o.items = buildUnnamed654();
+ o.items = buildUnnamed641();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -999,7 +1037,7 @@
checkCommentReplyList(api.CommentReplyList o) {
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- checkUnnamed654(o.items);
+ checkUnnamed641(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1057,14 +1095,14 @@
buildCounterFileCapabilities--;
}
-buildUnnamed655() {
+buildUnnamed642() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed655(core.Map<core.String, core.String> o) {
+checkUnnamed642(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'));
@@ -1200,92 +1238,92 @@
buildCounterFileLabels--;
}
-buildUnnamed656() {
+buildUnnamed643() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed656(core.Map<core.String, core.String> o) {
+checkUnnamed643(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'));
}
-buildUnnamed657() {
+buildUnnamed644() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed657(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'));
}
-buildUnnamed658() {
+buildUnnamed645() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed658(core.List<api.User> o) {
+checkUnnamed645(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed659() {
+buildUnnamed646() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed659(core.List<api.ParentReference> o) {
+checkUnnamed646(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
}
-buildUnnamed660() {
+buildUnnamed647() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed660(core.List<api.Permission> o) {
+checkUnnamed647(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed661() {
+buildUnnamed648() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed661(core.List<api.Property> o) {
+checkUnnamed648(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
}
-buildUnnamed662() {
+buildUnnamed649() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed662(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'));
@@ -1354,7 +1392,7 @@
o.embedLink = "foo";
o.etag = "foo";
o.explicitlyTrashed = true;
- o.exportLinks = buildUnnamed655();
+ o.exportLinks = buildUnnamed642();
o.fileExtension = "foo";
o.fileSize = "foo";
o.folderColorRgb = "foo";
@@ -1377,21 +1415,21 @@
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 = buildUnnamed656();
+ o.openWithLinks = buildUnnamed643();
o.originalFilename = "foo";
o.ownedByMe = true;
- o.ownerNames = buildUnnamed657();
- o.owners = buildUnnamed658();
- o.parents = buildUnnamed659();
- o.permissions = buildUnnamed660();
- o.properties = buildUnnamed661();
+ o.ownerNames = buildUnnamed644();
+ o.owners = buildUnnamed645();
+ o.parents = buildUnnamed646();
+ o.permissions = buildUnnamed647();
+ o.properties = buildUnnamed648();
o.quotaBytesUsed = "foo";
o.selfLink = "foo";
o.shareable = true;
o.shared = true;
o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02");
o.sharingUser = buildUser();
- o.spaces = buildUnnamed662();
+ o.spaces = buildUnnamed649();
o.teamDriveId = "foo";
o.thumbnail = buildFileThumbnail();
o.thumbnailLink = "foo";
@@ -1427,7 +1465,7 @@
unittest.expect(o.embedLink, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.explicitlyTrashed, unittest.isTrue);
- checkUnnamed655(o.exportLinks);
+ checkUnnamed642(o.exportLinks);
unittest.expect(o.fileExtension, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.folderColorRgb, unittest.equals('foo'));
@@ -1450,21 +1488,21 @@
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")));
- checkUnnamed656(o.openWithLinks);
+ checkUnnamed643(o.openWithLinks);
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed657(o.ownerNames);
- checkUnnamed658(o.owners);
- checkUnnamed659(o.parents);
- checkUnnamed660(o.permissions);
- checkUnnamed661(o.properties);
+ checkUnnamed644(o.ownerNames);
+ checkUnnamed645(o.owners);
+ checkUnnamed646(o.parents);
+ checkUnnamed647(o.permissions);
+ checkUnnamed648(o.properties);
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.shareable, unittest.isTrue);
unittest.expect(o.shared, unittest.isTrue);
unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkUser(o.sharingUser);
- checkUnnamed662(o.spaces);
+ checkUnnamed649(o.spaces);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
checkFileThumbnail(o.thumbnail);
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -1482,14 +1520,14 @@
buildCounterFile--;
}
-buildUnnamed663() {
+buildUnnamed650() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed663(core.List<api.File> o) {
+checkUnnamed650(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -1502,7 +1540,7 @@
if (buildCounterFileList < 3) {
o.etag = "foo";
o.incompleteSearch = true;
- o.items = buildUnnamed663();
+ o.items = buildUnnamed650();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1517,7 +1555,7 @@
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.incompleteSearch, unittest.isTrue);
- checkUnnamed663(o.items);
+ checkUnnamed650(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1526,14 +1564,14 @@
buildCounterFileList--;
}
-buildUnnamed664() {
+buildUnnamed651() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed664(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'));
@@ -1544,7 +1582,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed664();
+ o.ids = buildUnnamed651();
o.kind = "foo";
o.space = "foo";
}
@@ -1555,21 +1593,21 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed664(o.ids);
+ checkUnnamed651(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
buildCounterGeneratedIds--;
}
-buildUnnamed665() {
+buildUnnamed652() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed665(core.List<api.ParentReference> o) {
+checkUnnamed652(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
@@ -1581,7 +1619,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed665();
+ o.items = buildUnnamed652();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1593,7 +1631,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed665(o.items);
+ checkUnnamed652(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -1627,27 +1665,27 @@
buildCounterParentReference--;
}
-buildUnnamed666() {
+buildUnnamed653() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed666(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'));
}
-buildUnnamed667() {
+buildUnnamed654() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed667(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'));
@@ -1658,7 +1696,7 @@
var o = new api.PermissionTeamDrivePermissionDetails();
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- o.additionalRoles = buildUnnamed667();
+ o.additionalRoles = buildUnnamed654();
o.inherited = true;
o.inheritedFrom = "foo";
o.role = "foo";
@@ -1671,7 +1709,7 @@
checkPermissionTeamDrivePermissionDetails(api.PermissionTeamDrivePermissionDetails o) {
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- checkUnnamed667(o.additionalRoles);
+ checkUnnamed654(o.additionalRoles);
unittest.expect(o.inherited, unittest.isTrue);
unittest.expect(o.inheritedFrom, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
@@ -1680,14 +1718,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed668() {
+buildUnnamed655() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed668(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed655(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -1698,8 +1736,9 @@
var o = new api.Permission();
buildCounterPermission++;
if (buildCounterPermission < 3) {
- o.additionalRoles = buildUnnamed666();
+ o.additionalRoles = buildUnnamed653();
o.authKey = "foo";
+ o.deleted = true;
o.domain = "foo";
o.emailAddress = "foo";
o.etag = "foo";
@@ -1710,7 +1749,7 @@
o.photoLink = "foo";
o.role = "foo";
o.selfLink = "foo";
- o.teamDrivePermissionDetails = buildUnnamed668();
+ o.teamDrivePermissionDetails = buildUnnamed655();
o.type = "foo";
o.value = "foo";
o.withLink = true;
@@ -1722,8 +1761,9 @@
checkPermission(api.Permission o) {
buildCounterPermission++;
if (buildCounterPermission < 3) {
- checkUnnamed666(o.additionalRoles);
+ checkUnnamed653(o.additionalRoles);
unittest.expect(o.authKey, unittest.equals('foo'));
+ unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.domain, unittest.equals('foo'));
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
@@ -1734,7 +1774,7 @@
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed668(o.teamDrivePermissionDetails);
+ checkUnnamed655(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
unittest.expect(o.withLink, unittest.isTrue);
@@ -1763,14 +1803,14 @@
buildCounterPermissionId--;
}
-buildUnnamed669() {
+buildUnnamed656() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed669(core.List<api.Permission> o) {
+checkUnnamed656(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -1782,7 +1822,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed669();
+ o.items = buildUnnamed656();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1795,7 +1835,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed669(o.items);
+ checkUnnamed656(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1832,14 +1872,14 @@
buildCounterProperty--;
}
-buildUnnamed670() {
+buildUnnamed657() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed670(core.List<api.Property> o) {
+checkUnnamed657(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -1851,7 +1891,7 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
o.etag = "foo";
- o.items = buildUnnamed670();
+ o.items = buildUnnamed657();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1863,21 +1903,21 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed670(o.items);
+ checkUnnamed657(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterPropertyList--;
}
-buildUnnamed671() {
+buildUnnamed658() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed671(core.Map<core.String, core.String> o) {
+checkUnnamed658(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'));
@@ -1890,7 +1930,7 @@
if (buildCounterRevision < 3) {
o.downloadUrl = "foo";
o.etag = "foo";
- o.exportLinks = buildUnnamed671();
+ o.exportLinks = buildUnnamed658();
o.fileSize = "foo";
o.id = "foo";
o.kind = "foo";
@@ -1916,7 +1956,7 @@
if (buildCounterRevision < 3) {
unittest.expect(o.downloadUrl, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed671(o.exportLinks);
+ checkUnnamed658(o.exportLinks);
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1936,14 +1976,14 @@
buildCounterRevision--;
}
-buildUnnamed672() {
+buildUnnamed659() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed672(core.List<api.Revision> o) {
+checkUnnamed659(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -1955,7 +1995,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed672();
+ o.items = buildUnnamed659();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1968,7 +2008,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed672(o.items);
+ checkUnnamed659(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1997,12 +2037,38 @@
buildCounterStartPageToken--;
}
+core.int buildCounterTeamDriveBackgroundImageFile = 0;
+buildTeamDriveBackgroundImageFile() {
+ var o = new api.TeamDriveBackgroundImageFile();
+ buildCounterTeamDriveBackgroundImageFile++;
+ if (buildCounterTeamDriveBackgroundImageFile < 3) {
+ o.id = "foo";
+ o.width = 42.0;
+ o.xCoordinate = 42.0;
+ o.yCoordinate = 42.0;
+ }
+ buildCounterTeamDriveBackgroundImageFile--;
+ return o;
+}
+
+checkTeamDriveBackgroundImageFile(api.TeamDriveBackgroundImageFile o) {
+ buildCounterTeamDriveBackgroundImageFile++;
+ if (buildCounterTeamDriveBackgroundImageFile < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.width, unittest.equals(42.0));
+ unittest.expect(o.xCoordinate, unittest.equals(42.0));
+ unittest.expect(o.yCoordinate, unittest.equals(42.0));
+ }
+ buildCounterTeamDriveBackgroundImageFile--;
+}
+
core.int buildCounterTeamDriveCapabilities = 0;
buildTeamDriveCapabilities() {
var o = new api.TeamDriveCapabilities();
buildCounterTeamDriveCapabilities++;
if (buildCounterTeamDriveCapabilities < 3) {
o.canAddChildren = true;
+ o.canChangeTeamDriveBackground = true;
o.canComment = true;
o.canCopy = true;
o.canDeleteTeamDrive = true;
@@ -2024,6 +2090,7 @@
buildCounterTeamDriveCapabilities++;
if (buildCounterTeamDriveCapabilities < 3) {
unittest.expect(o.canAddChildren, unittest.isTrue);
+ unittest.expect(o.canChangeTeamDriveBackground, unittest.isTrue);
unittest.expect(o.canComment, unittest.isTrue);
unittest.expect(o.canCopy, unittest.isTrue);
unittest.expect(o.canDeleteTeamDrive, unittest.isTrue);
@@ -2045,10 +2112,14 @@
var o = new api.TeamDrive();
buildCounterTeamDrive++;
if (buildCounterTeamDrive < 3) {
+ o.backgroundImageFile = buildTeamDriveBackgroundImageFile();
+ o.backgroundImageLink = "foo";
o.capabilities = buildTeamDriveCapabilities();
+ o.colorRgb = "foo";
o.id = "foo";
o.kind = "foo";
o.name = "foo";
+ o.themeId = "foo";
}
buildCounterTeamDrive--;
return o;
@@ -2057,22 +2128,26 @@
checkTeamDrive(api.TeamDrive o) {
buildCounterTeamDrive++;
if (buildCounterTeamDrive < 3) {
+ checkTeamDriveBackgroundImageFile(o.backgroundImageFile);
+ unittest.expect(o.backgroundImageLink, unittest.equals('foo'));
checkTeamDriveCapabilities(o.capabilities);
+ unittest.expect(o.colorRgb, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.themeId, unittest.equals('foo'));
}
buildCounterTeamDrive--;
}
-buildUnnamed673() {
+buildUnnamed660() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed673(core.List<api.TeamDrive> o) {
+checkUnnamed660(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -2083,7 +2158,7 @@
var o = new api.TeamDriveList();
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- o.items = buildUnnamed673();
+ o.items = buildUnnamed660();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2094,7 +2169,7 @@
checkTeamDriveList(api.TeamDriveList o) {
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- checkUnnamed673(o.items);
+ checkUnnamed660(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2214,6 +2289,15 @@
});
+ unittest.group("obj-schema-AboutTeamDriveThemes", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAboutTeamDriveThemes();
+ var od = new api.AboutTeamDriveThemes.fromJson(o.toJson());
+ checkAboutTeamDriveThemes(od);
+ });
+ });
+
+
unittest.group("obj-schema-About", () {
unittest.test("to-json--from-json", () {
var o = buildAbout();
@@ -2529,6 +2613,15 @@
});
+ unittest.group("obj-schema-TeamDriveBackgroundImageFile", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTeamDriveBackgroundImageFile();
+ var od = new api.TeamDriveBackgroundImageFile.fromJson(o.toJson());
+ checkTeamDriveBackgroundImageFile(od);
+ });
+ });
+
+
unittest.group("obj-schema-TeamDriveCapabilities", () {
unittest.test("to-json--from-json", () {
var o = buildTeamDriveCapabilities();
diff --git a/generated/googleapis/test/drive/v3_test.dart b/generated/googleapis/test/drive/v3_test.dart
index a874147..96051d7 100644
--- a/generated/googleapis/test/drive/v3_test.dart
+++ b/generated/googleapis/test/drive/v3_test.dart
@@ -51,79 +51,79 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1403() {
+buildUnnamed1399() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1403(core.List<core.String> o) {
+checkUnnamed1399(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1400() {
+ var o = new core.Map<core.String, core.List<core.String>>();
+ o["x"] = buildUnnamed1399();
+ o["y"] = buildUnnamed1399();
+ return o;
+}
+
+checkUnnamed1400(core.Map<core.String, core.List<core.String>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed1399(o["x"]);
+ checkUnnamed1399(o["y"]);
+}
+
+buildUnnamed1401() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1401(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1402() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1402(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1403() {
+ var o = new core.Map<core.String, core.List<core.String>>();
+ o["x"] = buildUnnamed1402();
+ o["y"] = buildUnnamed1402();
+ return o;
+}
+
+checkUnnamed1403(core.Map<core.String, core.List<core.String>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed1402(o["x"]);
+ checkUnnamed1402(o["y"]);
+}
+
buildUnnamed1404() {
- var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1403();
- o["y"] = buildUnnamed1403();
- return o;
-}
-
-checkUnnamed1404(core.Map<core.String, core.List<core.String>> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1403(o["x"]);
- checkUnnamed1403(o["y"]);
-}
-
-buildUnnamed1405() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1405(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1406() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1406(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1407() {
- var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1406();
- o["y"] = buildUnnamed1406();
- return o;
-}
-
-checkUnnamed1407(core.Map<core.String, core.List<core.String>> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1406(o["x"]);
- checkUnnamed1406(o["y"]);
-}
-
-buildUnnamed1408() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1408(core.Map<core.String, core.String> o) {
+checkUnnamed1404(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'));
@@ -154,19 +154,56 @@
buildCounterAboutStorageQuota--;
}
+core.int buildCounterAboutTeamDriveThemes = 0;
+buildAboutTeamDriveThemes() {
+ var o = new api.AboutTeamDriveThemes();
+ buildCounterAboutTeamDriveThemes++;
+ if (buildCounterAboutTeamDriveThemes < 3) {
+ o.backgroundImageLink = "foo";
+ o.colorRgb = "foo";
+ o.id = "foo";
+ }
+ buildCounterAboutTeamDriveThemes--;
+ return o;
+}
+
+checkAboutTeamDriveThemes(api.AboutTeamDriveThemes o) {
+ buildCounterAboutTeamDriveThemes++;
+ if (buildCounterAboutTeamDriveThemes < 3) {
+ unittest.expect(o.backgroundImageLink, unittest.equals('foo'));
+ unittest.expect(o.colorRgb, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ }
+ buildCounterAboutTeamDriveThemes--;
+}
+
+buildUnnamed1405() {
+ var o = new core.List<api.AboutTeamDriveThemes>();
+ o.add(buildAboutTeamDriveThemes());
+ o.add(buildAboutTeamDriveThemes());
+ return o;
+}
+
+checkUnnamed1405(core.List<api.AboutTeamDriveThemes> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAboutTeamDriveThemes(o[0]);
+ checkAboutTeamDriveThemes(o[1]);
+}
+
core.int buildCounterAbout = 0;
buildAbout() {
var o = new api.About();
buildCounterAbout++;
if (buildCounterAbout < 3) {
o.appInstalled = true;
- o.exportFormats = buildUnnamed1404();
- o.folderColorPalette = buildUnnamed1405();
- o.importFormats = buildUnnamed1407();
+ o.exportFormats = buildUnnamed1400();
+ o.folderColorPalette = buildUnnamed1401();
+ o.importFormats = buildUnnamed1403();
o.kind = "foo";
- o.maxImportSizes = buildUnnamed1408();
+ o.maxImportSizes = buildUnnamed1404();
o.maxUploadSize = "foo";
o.storageQuota = buildAboutStorageQuota();
+ o.teamDriveThemes = buildUnnamed1405();
o.user = buildUser();
}
buildCounterAbout--;
@@ -177,13 +214,14 @@
buildCounterAbout++;
if (buildCounterAbout < 3) {
unittest.expect(o.appInstalled, unittest.isTrue);
- checkUnnamed1404(o.exportFormats);
- checkUnnamed1405(o.folderColorPalette);
- checkUnnamed1407(o.importFormats);
+ checkUnnamed1400(o.exportFormats);
+ checkUnnamed1401(o.folderColorPalette);
+ checkUnnamed1403(o.importFormats);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1408(o.maxImportSizes);
+ checkUnnamed1404(o.maxImportSizes);
unittest.expect(o.maxUploadSize, unittest.equals('foo'));
checkAboutStorageQuota(o.storageQuota);
+ checkUnnamed1405(o.teamDriveThemes);
checkUser(o.user);
}
buildCounterAbout--;
@@ -222,14 +260,14 @@
buildCounterChange--;
}
-buildUnnamed1409() {
+buildUnnamed1406() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed1409(core.List<api.Change> o) {
+checkUnnamed1406(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -240,7 +278,7 @@
var o = new api.ChangeList();
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
- o.changes = buildUnnamed1409();
+ o.changes = buildUnnamed1406();
o.kind = "foo";
o.newStartPageToken = "foo";
o.nextPageToken = "foo";
@@ -252,7 +290,7 @@
checkChangeList(api.ChangeList o) {
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
- checkUnnamed1409(o.changes);
+ checkUnnamed1406(o.changes);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.newStartPageToken, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -260,14 +298,14 @@
buildCounterChangeList--;
}
-buildUnnamed1410() {
+buildUnnamed1407() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1410(core.Map<core.String, core.String> o) {
+checkUnnamed1407(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'));
@@ -282,7 +320,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed1410();
+ o.params = buildUnnamed1407();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -300,7 +338,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1410(o.params);
+ checkUnnamed1407(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -331,14 +369,14 @@
buildCounterCommentQuotedFileContent--;
}
-buildUnnamed1411() {
+buildUnnamed1408() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed1411(core.List<api.Reply> o) {
+checkUnnamed1408(core.List<api.Reply> o) {
unittest.expect(o, unittest.hasLength(2));
checkReply(o[0]);
checkReply(o[1]);
@@ -359,7 +397,7 @@
o.kind = "foo";
o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02");
o.quotedFileContent = buildCommentQuotedFileContent();
- o.replies = buildUnnamed1411();
+ o.replies = buildUnnamed1408();
o.resolved = true;
}
buildCounterComment--;
@@ -379,20 +417,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkCommentQuotedFileContent(o.quotedFileContent);
- checkUnnamed1411(o.replies);
+ checkUnnamed1408(o.replies);
unittest.expect(o.resolved, unittest.isTrue);
}
buildCounterComment--;
}
-buildUnnamed1412() {
+buildUnnamed1409() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1412(core.List<api.Comment> o) {
+checkUnnamed1409(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -403,7 +441,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.comments = buildUnnamed1412();
+ o.comments = buildUnnamed1409();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -414,21 +452,21 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed1412(o.comments);
+ checkUnnamed1409(o.comments);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCommentList--;
}
-buildUnnamed1413() {
+buildUnnamed1410() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1413(core.Map<core.String, core.String> o) {
+checkUnnamed1410(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'));
@@ -607,19 +645,58 @@
buildCounterFileImageMediaMetadata--;
}
-buildUnnamed1414() {
+buildUnnamed1411() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed1414(core.List<api.User> o) {
+checkUnnamed1411(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
+buildUnnamed1412() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1412(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1413() {
+ var o = new core.List<api.Permission>();
+ o.add(buildPermission());
+ o.add(buildPermission());
+ return o;
+}
+
+checkUnnamed1413(core.List<api.Permission> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPermission(o[0]);
+ checkPermission(o[1]);
+}
+
+buildUnnamed1414() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed1414(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'));
+}
+
buildUnnamed1415() {
var o = new core.List<core.String>();
o.add("foo");
@@ -633,45 +710,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1416() {
- var o = new core.List<api.Permission>();
- o.add(buildPermission());
- o.add(buildPermission());
- return o;
-}
-
-checkUnnamed1416(core.List<api.Permission> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPermission(o[0]);
- checkPermission(o[1]);
-}
-
-buildUnnamed1417() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed1417(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'));
-}
-
-buildUnnamed1418() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1418(core.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 buildCounterFileVideoMediaMetadata = 0;
buildFileVideoMediaMetadata() {
var o = new api.FileVideoMediaMetadata();
@@ -700,7 +738,7 @@
var o = new api.File();
buildCounterFile++;
if (buildCounterFile < 3) {
- o.appProperties = buildUnnamed1413();
+ o.appProperties = buildUnnamed1410();
o.capabilities = buildFileCapabilities();
o.contentHints = buildFileContentHints();
o.createdTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -726,16 +764,16 @@
o.name = "foo";
o.originalFilename = "foo";
o.ownedByMe = true;
- o.owners = buildUnnamed1414();
- o.parents = buildUnnamed1415();
- o.permissions = buildUnnamed1416();
- o.properties = buildUnnamed1417();
+ o.owners = buildUnnamed1411();
+ o.parents = buildUnnamed1412();
+ o.permissions = buildUnnamed1413();
+ o.properties = buildUnnamed1414();
o.quotaBytesUsed = "foo";
o.shared = true;
o.sharedWithMeTime = core.DateTime.parse("2002-02-27T14:01:02");
o.sharingUser = buildUser();
o.size = "foo";
- o.spaces = buildUnnamed1418();
+ o.spaces = buildUnnamed1415();
o.starred = true;
o.teamDriveId = "foo";
o.thumbnailLink = "foo";
@@ -759,7 +797,7 @@
checkFile(api.File o) {
buildCounterFile++;
if (buildCounterFile < 3) {
- checkUnnamed1413(o.appProperties);
+ checkUnnamed1410(o.appProperties);
checkFileCapabilities(o.capabilities);
checkFileContentHints(o.contentHints);
unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -785,16 +823,16 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed1414(o.owners);
- checkUnnamed1415(o.parents);
- checkUnnamed1416(o.permissions);
- checkUnnamed1417(o.properties);
+ checkUnnamed1411(o.owners);
+ checkUnnamed1412(o.parents);
+ checkUnnamed1413(o.permissions);
+ checkUnnamed1414(o.properties);
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.shared, unittest.isTrue);
unittest.expect(o.sharedWithMeTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkUser(o.sharingUser);
unittest.expect(o.size, unittest.equals('foo'));
- checkUnnamed1418(o.spaces);
+ checkUnnamed1415(o.spaces);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -814,14 +852,14 @@
buildCounterFile--;
}
-buildUnnamed1419() {
+buildUnnamed1416() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed1419(core.List<api.File> o) {
+checkUnnamed1416(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -832,7 +870,7 @@
var o = new api.FileList();
buildCounterFileList++;
if (buildCounterFileList < 3) {
- o.files = buildUnnamed1419();
+ o.files = buildUnnamed1416();
o.incompleteSearch = true;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -844,7 +882,7 @@
checkFileList(api.FileList o) {
buildCounterFileList++;
if (buildCounterFileList < 3) {
- checkUnnamed1419(o.files);
+ checkUnnamed1416(o.files);
unittest.expect(o.incompleteSearch, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -852,14 +890,14 @@
buildCounterFileList--;
}
-buildUnnamed1420() {
+buildUnnamed1417() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1420(core.List<core.String> o) {
+checkUnnamed1417(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -870,7 +908,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed1420();
+ o.ids = buildUnnamed1417();
o.kind = "foo";
o.space = "foo";
}
@@ -881,7 +919,7 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed1420(o.ids);
+ checkUnnamed1417(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
@@ -913,14 +951,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed1421() {
+buildUnnamed1418() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed1421(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed1418(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -932,6 +970,7 @@
buildCounterPermission++;
if (buildCounterPermission < 3) {
o.allowFileDiscovery = true;
+ o.deleted = true;
o.displayName = "foo";
o.domain = "foo";
o.emailAddress = "foo";
@@ -940,7 +979,7 @@
o.kind = "foo";
o.photoLink = "foo";
o.role = "foo";
- o.teamDrivePermissionDetails = buildUnnamed1421();
+ o.teamDrivePermissionDetails = buildUnnamed1418();
o.type = "foo";
}
buildCounterPermission--;
@@ -951,6 +990,7 @@
buildCounterPermission++;
if (buildCounterPermission < 3) {
unittest.expect(o.allowFileDiscovery, unittest.isTrue);
+ unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
unittest.expect(o.emailAddress, unittest.equals('foo'));
@@ -959,20 +999,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
- checkUnnamed1421(o.teamDrivePermissionDetails);
+ checkUnnamed1418(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPermission--;
}
-buildUnnamed1422() {
+buildUnnamed1419() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1422(core.List<api.Permission> o) {
+checkUnnamed1419(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -985,7 +1025,7 @@
if (buildCounterPermissionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.permissions = buildUnnamed1422();
+ o.permissions = buildUnnamed1419();
}
buildCounterPermissionList--;
return o;
@@ -996,7 +1036,7 @@
if (buildCounterPermissionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1422(o.permissions);
+ checkUnnamed1419(o.permissions);
}
buildCounterPermissionList--;
}
@@ -1036,14 +1076,14 @@
buildCounterReply--;
}
-buildUnnamed1423() {
+buildUnnamed1420() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed1423(core.List<api.Reply> o) {
+checkUnnamed1420(core.List<api.Reply> o) {
unittest.expect(o, unittest.hasLength(2));
checkReply(o[0]);
checkReply(o[1]);
@@ -1056,7 +1096,7 @@
if (buildCounterReplyList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.replies = buildUnnamed1423();
+ o.replies = buildUnnamed1420();
}
buildCounterReplyList--;
return o;
@@ -1067,7 +1107,7 @@
if (buildCounterReplyList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1423(o.replies);
+ checkUnnamed1420(o.replies);
}
buildCounterReplyList--;
}
@@ -1113,14 +1153,14 @@
buildCounterRevision--;
}
-buildUnnamed1424() {
+buildUnnamed1421() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed1424(core.List<api.Revision> o) {
+checkUnnamed1421(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -1133,7 +1173,7 @@
if (buildCounterRevisionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.revisions = buildUnnamed1424();
+ o.revisions = buildUnnamed1421();
}
buildCounterRevisionList--;
return o;
@@ -1144,7 +1184,7 @@
if (buildCounterRevisionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1424(o.revisions);
+ checkUnnamed1421(o.revisions);
}
buildCounterRevisionList--;
}
@@ -1170,12 +1210,38 @@
buildCounterStartPageToken--;
}
+core.int buildCounterTeamDriveBackgroundImageFile = 0;
+buildTeamDriveBackgroundImageFile() {
+ var o = new api.TeamDriveBackgroundImageFile();
+ buildCounterTeamDriveBackgroundImageFile++;
+ if (buildCounterTeamDriveBackgroundImageFile < 3) {
+ o.id = "foo";
+ o.width = 42.0;
+ o.xCoordinate = 42.0;
+ o.yCoordinate = 42.0;
+ }
+ buildCounterTeamDriveBackgroundImageFile--;
+ return o;
+}
+
+checkTeamDriveBackgroundImageFile(api.TeamDriveBackgroundImageFile o) {
+ buildCounterTeamDriveBackgroundImageFile++;
+ if (buildCounterTeamDriveBackgroundImageFile < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.width, unittest.equals(42.0));
+ unittest.expect(o.xCoordinate, unittest.equals(42.0));
+ unittest.expect(o.yCoordinate, unittest.equals(42.0));
+ }
+ buildCounterTeamDriveBackgroundImageFile--;
+}
+
core.int buildCounterTeamDriveCapabilities = 0;
buildTeamDriveCapabilities() {
var o = new api.TeamDriveCapabilities();
buildCounterTeamDriveCapabilities++;
if (buildCounterTeamDriveCapabilities < 3) {
o.canAddChildren = true;
+ o.canChangeTeamDriveBackground = true;
o.canComment = true;
o.canCopy = true;
o.canDeleteTeamDrive = true;
@@ -1197,6 +1263,7 @@
buildCounterTeamDriveCapabilities++;
if (buildCounterTeamDriveCapabilities < 3) {
unittest.expect(o.canAddChildren, unittest.isTrue);
+ unittest.expect(o.canChangeTeamDriveBackground, unittest.isTrue);
unittest.expect(o.canComment, unittest.isTrue);
unittest.expect(o.canCopy, unittest.isTrue);
unittest.expect(o.canDeleteTeamDrive, unittest.isTrue);
@@ -1218,10 +1285,14 @@
var o = new api.TeamDrive();
buildCounterTeamDrive++;
if (buildCounterTeamDrive < 3) {
+ o.backgroundImageFile = buildTeamDriveBackgroundImageFile();
+ o.backgroundImageLink = "foo";
o.capabilities = buildTeamDriveCapabilities();
+ o.colorRgb = "foo";
o.id = "foo";
o.kind = "foo";
o.name = "foo";
+ o.themeId = "foo";
}
buildCounterTeamDrive--;
return o;
@@ -1230,22 +1301,26 @@
checkTeamDrive(api.TeamDrive o) {
buildCounterTeamDrive++;
if (buildCounterTeamDrive < 3) {
+ checkTeamDriveBackgroundImageFile(o.backgroundImageFile);
+ unittest.expect(o.backgroundImageLink, unittest.equals('foo'));
checkTeamDriveCapabilities(o.capabilities);
+ unittest.expect(o.colorRgb, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.themeId, unittest.equals('foo'));
}
buildCounterTeamDrive--;
}
-buildUnnamed1425() {
+buildUnnamed1422() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed1425(core.List<api.TeamDrive> o) {
+checkUnnamed1422(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -1258,7 +1333,7 @@
if (buildCounterTeamDriveList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.teamDrives = buildUnnamed1425();
+ o.teamDrives = buildUnnamed1422();
}
buildCounterTeamDriveList--;
return o;
@@ -1269,7 +1344,7 @@
if (buildCounterTeamDriveList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1425(o.teamDrives);
+ checkUnnamed1422(o.teamDrives);
}
buildCounterTeamDriveList--;
}
@@ -1314,6 +1389,15 @@
});
+ unittest.group("obj-schema-AboutTeamDriveThemes", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAboutTeamDriveThemes();
+ var od = new api.AboutTeamDriveThemes.fromJson(o.toJson());
+ checkAboutTeamDriveThemes(od);
+ });
+ });
+
+
unittest.group("obj-schema-About", () {
unittest.test("to-json--from-json", () {
var o = buildAbout();
@@ -1530,6 +1614,15 @@
});
+ unittest.group("obj-schema-TeamDriveBackgroundImageFile", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTeamDriveBackgroundImageFile();
+ var od = new api.TeamDriveBackgroundImageFile.fromJson(o.toJson());
+ checkTeamDriveBackgroundImageFile(od);
+ });
+ });
+
+
unittest.group("obj-schema-TeamDriveCapabilities", () {
unittest.test("to-json--from-json", () {
var o = buildTeamDriveCapabilities();
diff --git a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
index 9f707da..df5837a 100644
--- a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
+++ b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
@@ -120,14 +120,14 @@
buildCounterCreateShortDynamicLinkRequest--;
}
-buildUnnamed1960() {
+buildUnnamed1972() {
var o = new core.List<api.DynamicLinkWarning>();
o.add(buildDynamicLinkWarning());
o.add(buildDynamicLinkWarning());
return o;
}
-checkUnnamed1960(core.List<api.DynamicLinkWarning> o) {
+checkUnnamed1972(core.List<api.DynamicLinkWarning> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicLinkWarning(o[0]);
checkDynamicLinkWarning(o[1]);
@@ -140,7 +140,7 @@
if (buildCounterCreateShortDynamicLinkResponse < 3) {
o.previewLink = "foo";
o.shortLink = "foo";
- o.warning = buildUnnamed1960();
+ o.warning = buildUnnamed1972();
}
buildCounterCreateShortDynamicLinkResponse--;
return o;
@@ -151,7 +151,7 @@
if (buildCounterCreateShortDynamicLinkResponse < 3) {
unittest.expect(o.previewLink, unittest.equals('foo'));
unittest.expect(o.shortLink, unittest.equals('foo'));
- checkUnnamed1960(o.warning);
+ checkUnnamed1972(o.warning);
}
buildCounterCreateShortDynamicLinkResponse--;
}
diff --git a/generated/googleapis/test/firebaserules/v1_test.dart b/generated/googleapis/test/firebaserules/v1_test.dart
index d69f3c2..dff9edd 100644
--- a/generated/googleapis/test/firebaserules/v1_test.dart
+++ b/generated/googleapis/test/firebaserules/v1_test.dart
@@ -91,14 +91,14 @@
buildCounterFile--;
}
-buildUnnamed3075() {
+buildUnnamed3078() {
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;
}
-checkUnnamed3075(core.List<core.Object> o) {
+checkUnnamed3078(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'));
@@ -109,7 +109,7 @@
var o = new api.FunctionCall();
buildCounterFunctionCall++;
if (buildCounterFunctionCall < 3) {
- o.args = buildUnnamed3075();
+ o.args = buildUnnamed3078();
o.function = "foo";
}
buildCounterFunctionCall--;
@@ -119,7 +119,7 @@
checkFunctionCall(api.FunctionCall o) {
buildCounterFunctionCall++;
if (buildCounterFunctionCall < 3) {
- checkUnnamed3075(o.args);
+ checkUnnamed3078(o.args);
unittest.expect(o.function, unittest.equals('foo'));
}
buildCounterFunctionCall--;
@@ -148,14 +148,14 @@
buildCounterIssue--;
}
-buildUnnamed3076() {
+buildUnnamed3079() {
var o = new core.List<api.Release>();
o.add(buildRelease());
o.add(buildRelease());
return o;
}
-checkUnnamed3076(core.List<api.Release> o) {
+checkUnnamed3079(core.List<api.Release> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelease(o[0]);
checkRelease(o[1]);
@@ -167,7 +167,7 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
o.nextPageToken = "foo";
- o.releases = buildUnnamed3076();
+ o.releases = buildUnnamed3079();
}
buildCounterListReleasesResponse--;
return o;
@@ -177,19 +177,19 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3076(o.releases);
+ checkUnnamed3079(o.releases);
}
buildCounterListReleasesResponse--;
}
-buildUnnamed3077() {
+buildUnnamed3080() {
var o = new core.List<api.Ruleset>();
o.add(buildRuleset());
o.add(buildRuleset());
return o;
}
-checkUnnamed3077(core.List<api.Ruleset> o) {
+checkUnnamed3080(core.List<api.Ruleset> o) {
unittest.expect(o, unittest.hasLength(2));
checkRuleset(o[0]);
checkRuleset(o[1]);
@@ -201,7 +201,7 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
o.nextPageToken = "foo";
- o.rulesets = buildUnnamed3077();
+ o.rulesets = buildUnnamed3080();
}
buildCounterListRulesetsResponse--;
return o;
@@ -211,7 +211,7 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3077(o.rulesets);
+ checkUnnamed3080(o.rulesets);
}
buildCounterListRulesetsResponse--;
}
@@ -264,14 +264,14 @@
buildCounterRuleset--;
}
-buildUnnamed3078() {
+buildUnnamed3081() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed3078(core.List<api.File> o) {
+checkUnnamed3081(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -282,7 +282,7 @@
var o = new api.Source();
buildCounterSource++;
if (buildCounterSource < 3) {
- o.files = buildUnnamed3078();
+ o.files = buildUnnamed3081();
}
buildCounterSource--;
return o;
@@ -291,7 +291,7 @@
checkSource(api.Source o) {
buildCounterSource++;
if (buildCounterSource < 3) {
- checkUnnamed3078(o.files);
+ checkUnnamed3081(o.files);
}
buildCounterSource--;
}
@@ -319,27 +319,27 @@
buildCounterSourcePosition--;
}
-buildUnnamed3079() {
+buildUnnamed3082() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3079(core.List<core.String> o) {
+checkUnnamed3082(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3080() {
+buildUnnamed3083() {
var o = new core.List<api.FunctionCall>();
o.add(buildFunctionCall());
o.add(buildFunctionCall());
return o;
}
-checkUnnamed3080(core.List<api.FunctionCall> o) {
+checkUnnamed3083(core.List<api.FunctionCall> o) {
unittest.expect(o, unittest.hasLength(2));
checkFunctionCall(o[0]);
checkFunctionCall(o[1]);
@@ -350,9 +350,9 @@
var o = new api.TestResult();
buildCounterTestResult++;
if (buildCounterTestResult < 3) {
- o.debugMessages = buildUnnamed3079();
+ o.debugMessages = buildUnnamed3082();
o.errorPosition = buildSourcePosition();
- o.functionCalls = buildUnnamed3080();
+ o.functionCalls = buildUnnamed3083();
o.state = "foo";
}
buildCounterTestResult--;
@@ -362,9 +362,9 @@
checkTestResult(api.TestResult o) {
buildCounterTestResult++;
if (buildCounterTestResult < 3) {
- checkUnnamed3079(o.debugMessages);
+ checkUnnamed3082(o.debugMessages);
checkSourcePosition(o.errorPosition);
- checkUnnamed3080(o.functionCalls);
+ checkUnnamed3083(o.functionCalls);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterTestResult--;
@@ -389,27 +389,27 @@
buildCounterTestRulesetRequest--;
}
-buildUnnamed3081() {
+buildUnnamed3084() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed3081(core.List<api.Issue> o) {
+checkUnnamed3084(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
-buildUnnamed3082() {
+buildUnnamed3085() {
var o = new core.List<api.TestResult>();
o.add(buildTestResult());
o.add(buildTestResult());
return o;
}
-checkUnnamed3082(core.List<api.TestResult> o) {
+checkUnnamed3085(core.List<api.TestResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestResult(o[0]);
checkTestResult(o[1]);
@@ -420,8 +420,8 @@
var o = new api.TestRulesetResponse();
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- o.issues = buildUnnamed3081();
- o.testResults = buildUnnamed3082();
+ o.issues = buildUnnamed3084();
+ o.testResults = buildUnnamed3085();
}
buildCounterTestRulesetResponse--;
return o;
@@ -430,8 +430,8 @@
checkTestRulesetResponse(api.TestRulesetResponse o) {
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- checkUnnamed3081(o.issues);
- checkUnnamed3082(o.testResults);
+ checkUnnamed3084(o.issues);
+ checkUnnamed3085(o.testResults);
}
buildCounterTestRulesetResponse--;
}
@@ -996,9 +996,9 @@
var mock = new HttpServerMock();
api.ProjectsRulesetsResourceApi res = new api.FirebaserulesApi(mock).projects.rulesets;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1026,9 +1026,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -1037,7 +1037,7 @@
var resp = convert.JSON.encode(buildListRulesetsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListRulesetsResponse response) {
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListRulesetsResponse response) {
checkListRulesetsResponse(response);
})));
});
diff --git a/generated/googleapis/test/fitness/v1_test.dart b/generated/googleapis/test/fitness/v1_test.dart
index 6bbbdfe..cd0b1e4 100644
--- a/generated/googleapis/test/fitness/v1_test.dart
+++ b/generated/googleapis/test/fitness/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1701() {
+buildUnnamed1713() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed1701(core.List<api.Dataset> o) {
+checkUnnamed1713(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -70,7 +70,7 @@
buildCounterAggregateBucket++;
if (buildCounterAggregateBucket < 3) {
o.activity = 42;
- o.dataset = buildUnnamed1701();
+ o.dataset = buildUnnamed1713();
o.endTimeMillis = "foo";
o.session = buildSession();
o.startTimeMillis = "foo";
@@ -84,7 +84,7 @@
buildCounterAggregateBucket++;
if (buildCounterAggregateBucket < 3) {
unittest.expect(o.activity, unittest.equals(42));
- checkUnnamed1701(o.dataset);
+ checkUnnamed1713(o.dataset);
unittest.expect(o.endTimeMillis, unittest.equals('foo'));
checkSession(o.session);
unittest.expect(o.startTimeMillis, unittest.equals('foo'));
@@ -114,27 +114,27 @@
buildCounterAggregateBy--;
}
-buildUnnamed1702() {
+buildUnnamed1714() {
var o = new core.List<api.AggregateBy>();
o.add(buildAggregateBy());
o.add(buildAggregateBy());
return o;
}
-checkUnnamed1702(core.List<api.AggregateBy> o) {
+checkUnnamed1714(core.List<api.AggregateBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregateBy(o[0]);
checkAggregateBy(o[1]);
}
-buildUnnamed1703() {
+buildUnnamed1715() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1703(core.List<core.String> o) {
+checkUnnamed1715(core.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,13 +145,13 @@
var o = new api.AggregateRequest();
buildCounterAggregateRequest++;
if (buildCounterAggregateRequest < 3) {
- o.aggregateBy = buildUnnamed1702();
+ o.aggregateBy = buildUnnamed1714();
o.bucketByActivitySegment = buildBucketByActivity();
o.bucketByActivityType = buildBucketByActivity();
o.bucketBySession = buildBucketBySession();
o.bucketByTime = buildBucketByTime();
o.endTimeMillis = "foo";
- o.filteredDataQualityStandard = buildUnnamed1703();
+ o.filteredDataQualityStandard = buildUnnamed1715();
o.startTimeMillis = "foo";
}
buildCounterAggregateRequest--;
@@ -161,26 +161,26 @@
checkAggregateRequest(api.AggregateRequest o) {
buildCounterAggregateRequest++;
if (buildCounterAggregateRequest < 3) {
- checkUnnamed1702(o.aggregateBy);
+ checkUnnamed1714(o.aggregateBy);
checkBucketByActivity(o.bucketByActivitySegment);
checkBucketByActivity(o.bucketByActivityType);
checkBucketBySession(o.bucketBySession);
checkBucketByTime(o.bucketByTime);
unittest.expect(o.endTimeMillis, unittest.equals('foo'));
- checkUnnamed1703(o.filteredDataQualityStandard);
+ checkUnnamed1715(o.filteredDataQualityStandard);
unittest.expect(o.startTimeMillis, unittest.equals('foo'));
}
buildCounterAggregateRequest--;
}
-buildUnnamed1704() {
+buildUnnamed1716() {
var o = new core.List<api.AggregateBucket>();
o.add(buildAggregateBucket());
o.add(buildAggregateBucket());
return o;
}
-checkUnnamed1704(core.List<api.AggregateBucket> o) {
+checkUnnamed1716(core.List<api.AggregateBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregateBucket(o[0]);
checkAggregateBucket(o[1]);
@@ -191,7 +191,7 @@
var o = new api.AggregateResponse();
buildCounterAggregateResponse++;
if (buildCounterAggregateResponse < 3) {
- o.bucket = buildUnnamed1704();
+ o.bucket = buildUnnamed1716();
}
buildCounterAggregateResponse--;
return o;
@@ -200,7 +200,7 @@
checkAggregateResponse(api.AggregateResponse o) {
buildCounterAggregateResponse++;
if (buildCounterAggregateResponse < 3) {
- checkUnnamed1704(o.bucket);
+ checkUnnamed1716(o.bucket);
}
buildCounterAggregateResponse--;
}
@@ -314,14 +314,14 @@
buildCounterBucketByTimePeriod--;
}
-buildUnnamed1705() {
+buildUnnamed1717() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed1705(core.List<api.Value> o) {
+checkUnnamed1717(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -339,7 +339,7 @@
o.originDataSourceId = "foo";
o.rawTimestampNanos = "foo";
o.startTimeNanos = "foo";
- o.value = buildUnnamed1705();
+ o.value = buildUnnamed1717();
}
buildCounterDataPoint--;
return o;
@@ -355,19 +355,19 @@
unittest.expect(o.originDataSourceId, unittest.equals('foo'));
unittest.expect(o.rawTimestampNanos, unittest.equals('foo'));
unittest.expect(o.startTimeNanos, unittest.equals('foo'));
- checkUnnamed1705(o.value);
+ checkUnnamed1717(o.value);
}
buildCounterDataPoint--;
}
-buildUnnamed1706() {
+buildUnnamed1718() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1706(core.List<core.String> o) {
+checkUnnamed1718(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -379,7 +379,7 @@
buildCounterDataSource++;
if (buildCounterDataSource < 3) {
o.application = buildApplication();
- o.dataQualityStandard = buildUnnamed1706();
+ o.dataQualityStandard = buildUnnamed1718();
o.dataStreamId = "foo";
o.dataStreamName = "foo";
o.dataType = buildDataType();
@@ -395,7 +395,7 @@
buildCounterDataSource++;
if (buildCounterDataSource < 3) {
checkApplication(o.application);
- checkUnnamed1706(o.dataQualityStandard);
+ checkUnnamed1718(o.dataQualityStandard);
unittest.expect(o.dataStreamId, unittest.equals('foo'));
unittest.expect(o.dataStreamName, unittest.equals('foo'));
checkDataType(o.dataType);
@@ -406,14 +406,14 @@
buildCounterDataSource--;
}
-buildUnnamed1707() {
+buildUnnamed1719() {
var o = new core.List<api.DataTypeField>();
o.add(buildDataTypeField());
o.add(buildDataTypeField());
return o;
}
-checkUnnamed1707(core.List<api.DataTypeField> o) {
+checkUnnamed1719(core.List<api.DataTypeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataTypeField(o[0]);
checkDataTypeField(o[1]);
@@ -424,7 +424,7 @@
var o = new api.DataType();
buildCounterDataType++;
if (buildCounterDataType < 3) {
- o.field = buildUnnamed1707();
+ o.field = buildUnnamed1719();
o.name = "foo";
}
buildCounterDataType--;
@@ -434,7 +434,7 @@
checkDataType(api.DataType o) {
buildCounterDataType++;
if (buildCounterDataType < 3) {
- checkUnnamed1707(o.field);
+ checkUnnamed1719(o.field);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterDataType--;
@@ -463,14 +463,14 @@
buildCounterDataTypeField--;
}
-buildUnnamed1708() {
+buildUnnamed1720() {
var o = new core.List<api.DataPoint>();
o.add(buildDataPoint());
o.add(buildDataPoint());
return o;
}
-checkUnnamed1708(core.List<api.DataPoint> o) {
+checkUnnamed1720(core.List<api.DataPoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataPoint(o[0]);
checkDataPoint(o[1]);
@@ -485,7 +485,7 @@
o.maxEndTimeNs = "foo";
o.minStartTimeNs = "foo";
o.nextPageToken = "foo";
- o.point = buildUnnamed1708();
+ o.point = buildUnnamed1720();
}
buildCounterDataset--;
return o;
@@ -498,7 +498,7 @@
unittest.expect(o.maxEndTimeNs, unittest.equals('foo'));
unittest.expect(o.minStartTimeNs, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1708(o.point);
+ checkUnnamed1720(o.point);
}
buildCounterDataset--;
}
@@ -530,14 +530,14 @@
buildCounterDevice--;
}
-buildUnnamed1709() {
+buildUnnamed1721() {
var o = new core.List<api.DataSource>();
o.add(buildDataSource());
o.add(buildDataSource());
return o;
}
-checkUnnamed1709(core.List<api.DataSource> o) {
+checkUnnamed1721(core.List<api.DataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSource(o[0]);
checkDataSource(o[1]);
@@ -548,7 +548,7 @@
var o = new api.ListDataSourcesResponse();
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- o.dataSource = buildUnnamed1709();
+ o.dataSource = buildUnnamed1721();
}
buildCounterListDataSourcesResponse--;
return o;
@@ -557,32 +557,32 @@
checkListDataSourcesResponse(api.ListDataSourcesResponse o) {
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- checkUnnamed1709(o.dataSource);
+ checkUnnamed1721(o.dataSource);
}
buildCounterListDataSourcesResponse--;
}
-buildUnnamed1710() {
+buildUnnamed1722() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed1710(core.List<api.Session> o) {
+checkUnnamed1722(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
}
-buildUnnamed1711() {
+buildUnnamed1723() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed1711(core.List<api.Session> o) {
+checkUnnamed1723(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
@@ -593,10 +593,10 @@
var o = new api.ListSessionsResponse();
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
- o.deletedSession = buildUnnamed1710();
+ o.deletedSession = buildUnnamed1722();
o.hasMoreData = true;
o.nextPageToken = "foo";
- o.session = buildUnnamed1711();
+ o.session = buildUnnamed1723();
}
buildCounterListSessionsResponse--;
return o;
@@ -605,10 +605,10 @@
checkListSessionsResponse(api.ListSessionsResponse o) {
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
- checkUnnamed1710(o.deletedSession);
+ checkUnnamed1722(o.deletedSession);
unittest.expect(o.hasMoreData, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1711(o.session);
+ checkUnnamed1723(o.session);
}
buildCounterListSessionsResponse--;
}
@@ -667,14 +667,14 @@
buildCounterSession--;
}
-buildUnnamed1712() {
+buildUnnamed1724() {
var o = new core.List<api.ValueMapValEntry>();
o.add(buildValueMapValEntry());
o.add(buildValueMapValEntry());
return o;
}
-checkUnnamed1712(core.List<api.ValueMapValEntry> o) {
+checkUnnamed1724(core.List<api.ValueMapValEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueMapValEntry(o[0]);
checkValueMapValEntry(o[1]);
@@ -687,7 +687,7 @@
if (buildCounterValue < 3) {
o.fpVal = 42.0;
o.intVal = 42;
- o.mapVal = buildUnnamed1712();
+ o.mapVal = buildUnnamed1724();
o.stringVal = "foo";
}
buildCounterValue--;
@@ -699,7 +699,7 @@
if (buildCounterValue < 3) {
unittest.expect(o.fpVal, unittest.equals(42.0));
unittest.expect(o.intVal, unittest.equals(42));
- checkUnnamed1712(o.mapVal);
+ checkUnnamed1724(o.mapVal);
unittest.expect(o.stringVal, unittest.equals('foo'));
}
buildCounterValue--;
@@ -726,14 +726,14 @@
buildCounterValueMapValEntry--;
}
-buildUnnamed1713() {
+buildUnnamed1725() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1713(core.List<core.String> o) {
+checkUnnamed1725(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1068,7 +1068,7 @@
var mock = new HttpServerMock();
api.UsersDataSourcesResourceApi res = new api.FitnessApi(mock).users.dataSources;
var arg_userId = "foo";
- var arg_dataTypeName = buildUnnamed1713();
+ var arg_dataTypeName = buildUnnamed1725();
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 02ac8a8..e02b1e9 100644
--- a/generated/googleapis/test/fusiontables/v1_test.dart
+++ b/generated/googleapis/test/fusiontables/v1_test.dart
@@ -132,14 +132,14 @@
buildCounterColumn--;
}
-buildUnnamed2947() {
+buildUnnamed2961() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2947(core.List<api.Column> o) {
+checkUnnamed2961(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -150,7 +150,7 @@
var o = new api.ColumnList();
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- o.items = buildUnnamed2947();
+ o.items = buildUnnamed2961();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -162,7 +162,7 @@
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed2947(o.items);
+ checkUnnamed2961(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -170,14 +170,14 @@
buildCounterColumnList--;
}
-buildUnnamed2948() {
+buildUnnamed2962() {
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;
}
-checkUnnamed2948(core.List<core.Object> o) {
+checkUnnamed2962(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'));
@@ -188,7 +188,7 @@
var o = new api.Geometry();
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- o.geometries = buildUnnamed2948();
+ o.geometries = buildUnnamed2962();
o.geometry = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.type = "foo";
}
@@ -199,7 +199,7 @@
checkGeometry(api.Geometry o) {
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- checkUnnamed2948(o.geometries);
+ checkUnnamed2962(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'));
}
@@ -227,30 +227,30 @@
buildCounterImport--;
}
-buildUnnamed2949() {
+buildUnnamed2963() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2949(core.List<core.double> o) {
+checkUnnamed2963(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));
}
-buildUnnamed2950() {
+buildUnnamed2964() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2949());
- o.add(buildUnnamed2949());
+ o.add(buildUnnamed2963());
+ o.add(buildUnnamed2963());
return o;
}
-checkUnnamed2950(core.List<core.List<core.double>> o) {
+checkUnnamed2964(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2949(o[0]);
- checkUnnamed2949(o[1]);
+ checkUnnamed2963(o[0]);
+ checkUnnamed2963(o[1]);
}
core.int buildCounterLine = 0;
@@ -258,7 +258,7 @@
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed2950();
+ o.coordinates = buildUnnamed2964();
o.type = "foo";
}
buildCounterLine--;
@@ -268,7 +268,7 @@
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed2950(o.coordinates);
+ checkUnnamed2964(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -301,14 +301,14 @@
buildCounterLineStyle--;
}
-buildUnnamed2951() {
+buildUnnamed2965() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2951(core.List<core.double> o) {
+checkUnnamed2965(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));
@@ -319,7 +319,7 @@
var o = new api.Point();
buildCounterPoint++;
if (buildCounterPoint < 3) {
- o.coordinates = buildUnnamed2951();
+ o.coordinates = buildUnnamed2965();
o.type = "foo";
}
buildCounterPoint--;
@@ -329,7 +329,7 @@
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed2951(o.coordinates);
+ checkUnnamed2965(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -356,43 +356,43 @@
buildCounterPointStyle--;
}
-buildUnnamed2952() {
+buildUnnamed2966() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2952(core.List<core.double> o) {
+checkUnnamed2966(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));
}
-buildUnnamed2953() {
+buildUnnamed2967() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2952());
- o.add(buildUnnamed2952());
+ o.add(buildUnnamed2966());
+ o.add(buildUnnamed2966());
return o;
}
-checkUnnamed2953(core.List<core.List<core.double>> o) {
+checkUnnamed2967(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2952(o[0]);
- checkUnnamed2952(o[1]);
+ checkUnnamed2966(o[0]);
+ checkUnnamed2966(o[1]);
}
-buildUnnamed2954() {
+buildUnnamed2968() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed2953());
- o.add(buildUnnamed2953());
+ o.add(buildUnnamed2967());
+ o.add(buildUnnamed2967());
return o;
}
-checkUnnamed2954(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed2968(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2953(o[0]);
- checkUnnamed2953(o[1]);
+ checkUnnamed2967(o[0]);
+ checkUnnamed2967(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -400,7 +400,7 @@
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed2954();
+ o.coordinates = buildUnnamed2968();
o.type = "foo";
}
buildCounterPolygon--;
@@ -410,7 +410,7 @@
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed2954(o.coordinates);
+ checkUnnamed2968(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -449,43 +449,43 @@
buildCounterPolygonStyle--;
}
-buildUnnamed2955() {
+buildUnnamed2969() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2955(core.List<core.String> o) {
+checkUnnamed2969(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2956() {
+buildUnnamed2970() {
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;
}
-checkUnnamed2956(core.List<core.Object> o) {
+checkUnnamed2970(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'));
}
-buildUnnamed2957() {
+buildUnnamed2971() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2956());
- o.add(buildUnnamed2956());
+ o.add(buildUnnamed2970());
+ o.add(buildUnnamed2970());
return o;
}
-checkUnnamed2957(core.List<core.List<core.Object>> o) {
+checkUnnamed2971(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2956(o[0]);
- checkUnnamed2956(o[1]);
+ checkUnnamed2970(o[0]);
+ checkUnnamed2970(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -493,9 +493,9 @@
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed2955();
+ o.columns = buildUnnamed2969();
o.kind = "foo";
- o.rows = buildUnnamed2957();
+ o.rows = buildUnnamed2971();
}
buildCounterSqlresponse--;
return o;
@@ -504,21 +504,21 @@
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed2955(o.columns);
+ checkUnnamed2969(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2957(o.rows);
+ checkUnnamed2971(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed2958() {
+buildUnnamed2972() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed2958(core.List<api.Bucket> o) {
+checkUnnamed2972(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -545,14 +545,14 @@
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed2959() {
+buildUnnamed2973() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed2959(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed2973(core.List<api.StyleFunctionGradientColors> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleFunctionGradientColors(o[0]);
checkStyleFunctionGradientColors(o[1]);
@@ -563,7 +563,7 @@
var o = new api.StyleFunctionGradient();
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- o.colors = buildUnnamed2959();
+ o.colors = buildUnnamed2973();
o.max = 42.0;
o.min = 42.0;
}
@@ -574,7 +574,7 @@
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed2959(o.colors);
+ checkUnnamed2973(o.colors);
unittest.expect(o.max, unittest.equals(42.0));
unittest.expect(o.min, unittest.equals(42.0));
}
@@ -586,7 +586,7 @@
var o = new api.StyleFunction();
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- o.buckets = buildUnnamed2958();
+ o.buckets = buildUnnamed2972();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -598,7 +598,7 @@
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed2958(o.buckets);
+ checkUnnamed2972(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -637,14 +637,14 @@
buildCounterStyleSetting--;
}
-buildUnnamed2960() {
+buildUnnamed2974() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed2960(core.List<api.StyleSetting> o) {
+checkUnnamed2974(core.List<api.StyleSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleSetting(o[0]);
checkStyleSetting(o[1]);
@@ -655,7 +655,7 @@
var o = new api.StyleSettingList();
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- o.items = buildUnnamed2960();
+ o.items = buildUnnamed2974();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -667,7 +667,7 @@
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed2960(o.items);
+ checkUnnamed2974(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -675,27 +675,27 @@
buildCounterStyleSettingList--;
}
-buildUnnamed2961() {
+buildUnnamed2975() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2961(core.List<core.String> o) {
+checkUnnamed2975(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2962() {
+buildUnnamed2976() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2962(core.List<api.Column> o) {
+checkUnnamed2976(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -708,8 +708,8 @@
if (buildCounterTable < 3) {
o.attribution = "foo";
o.attributionLink = "foo";
- o.baseTableIds = buildUnnamed2961();
- o.columns = buildUnnamed2962();
+ o.baseTableIds = buildUnnamed2975();
+ o.columns = buildUnnamed2976();
o.description = "foo";
o.isExportable = true;
o.kind = "foo";
@@ -726,8 +726,8 @@
if (buildCounterTable < 3) {
unittest.expect(o.attribution, unittest.equals('foo'));
unittest.expect(o.attributionLink, unittest.equals('foo'));
- checkUnnamed2961(o.baseTableIds);
- checkUnnamed2962(o.columns);
+ checkUnnamed2975(o.baseTableIds);
+ checkUnnamed2976(o.columns);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.isExportable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -738,14 +738,14 @@
buildCounterTable--;
}
-buildUnnamed2963() {
+buildUnnamed2977() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed2963(core.List<api.Table> o) {
+checkUnnamed2977(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -756,7 +756,7 @@
var o = new api.TableList();
buildCounterTableList++;
if (buildCounterTableList < 3) {
- o.items = buildUnnamed2963();
+ o.items = buildUnnamed2977();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -767,7 +767,7 @@
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed2963(o.items);
+ checkUnnamed2977(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -801,14 +801,14 @@
buildCounterTask--;
}
-buildUnnamed2964() {
+buildUnnamed2978() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed2964(core.List<api.Task> o) {
+checkUnnamed2978(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -819,7 +819,7 @@
var o = new api.TaskList();
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- o.items = buildUnnamed2964();
+ o.items = buildUnnamed2978();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -831,7 +831,7 @@
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed2964(o.items);
+ checkUnnamed2978(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -839,14 +839,14 @@
buildCounterTaskList--;
}
-buildUnnamed2965() {
+buildUnnamed2979() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2965(core.List<core.String> o) {
+checkUnnamed2979(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -857,7 +857,7 @@
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed2965();
+ o.automaticColumnNames = buildUnnamed2979();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -871,7 +871,7 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed2965(o.automaticColumnNames);
+ checkUnnamed2979(o.automaticColumnNames);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -881,14 +881,14 @@
buildCounterTemplate--;
}
-buildUnnamed2966() {
+buildUnnamed2980() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed2966(core.List<api.Template> o) {
+checkUnnamed2980(core.List<api.Template> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplate(o[0]);
checkTemplate(o[1]);
@@ -899,7 +899,7 @@
var o = new api.TemplateList();
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- o.items = buildUnnamed2966();
+ o.items = buildUnnamed2980();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -911,7 +911,7 @@
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed2966(o.items);
+ checkUnnamed2980(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/fusiontables/v2_test.dart b/generated/googleapis/test/fusiontables/v2_test.dart
index edfea39..57f53c1 100644
--- a/generated/googleapis/test/fusiontables/v2_test.dart
+++ b/generated/googleapis/test/fusiontables/v2_test.dart
@@ -101,14 +101,14 @@
buildCounterColumnBaseColumn--;
}
-buildUnnamed429() {
+buildUnnamed415() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed429(core.List<core.String> o) {
+checkUnnamed415(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -129,7 +129,7 @@
o.kind = "foo";
o.name = "foo";
o.type = "foo";
- o.validValues = buildUnnamed429();
+ o.validValues = buildUnnamed415();
o.validateData = true;
}
buildCounterColumn--;
@@ -149,20 +149,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed429(o.validValues);
+ checkUnnamed415(o.validValues);
unittest.expect(o.validateData, unittest.isTrue);
}
buildCounterColumn--;
}
-buildUnnamed430() {
+buildUnnamed416() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed430(core.List<api.Column> o) {
+checkUnnamed416(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -173,7 +173,7 @@
var o = new api.ColumnList();
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- o.items = buildUnnamed430();
+ o.items = buildUnnamed416();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -185,7 +185,7 @@
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed430(o.items);
+ checkUnnamed416(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -193,14 +193,14 @@
buildCounterColumnList--;
}
-buildUnnamed431() {
+buildUnnamed417() {
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;
}
-checkUnnamed431(core.List<core.Object> o) {
+checkUnnamed417(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'));
@@ -211,7 +211,7 @@
var o = new api.Geometry();
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- o.geometries = buildUnnamed431();
+ o.geometries = buildUnnamed417();
o.geometry = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.type = "foo";
}
@@ -222,7 +222,7 @@
checkGeometry(api.Geometry o) {
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- checkUnnamed431(o.geometries);
+ checkUnnamed417(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'));
}
@@ -250,30 +250,30 @@
buildCounterImport--;
}
-buildUnnamed432() {
+buildUnnamed418() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed432(core.List<core.double> o) {
+checkUnnamed418(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));
}
-buildUnnamed433() {
+buildUnnamed419() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed432());
- o.add(buildUnnamed432());
+ o.add(buildUnnamed418());
+ o.add(buildUnnamed418());
return o;
}
-checkUnnamed433(core.List<core.List<core.double>> o) {
+checkUnnamed419(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed432(o[0]);
- checkUnnamed432(o[1]);
+ checkUnnamed418(o[0]);
+ checkUnnamed418(o[1]);
}
core.int buildCounterLine = 0;
@@ -281,7 +281,7 @@
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed433();
+ o.coordinates = buildUnnamed419();
o.type = "foo";
}
buildCounterLine--;
@@ -291,7 +291,7 @@
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed433(o.coordinates);
+ checkUnnamed419(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -324,14 +324,14 @@
buildCounterLineStyle--;
}
-buildUnnamed434() {
+buildUnnamed420() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed434(core.List<core.double> o) {
+checkUnnamed420(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));
@@ -342,7 +342,7 @@
var o = new api.Point();
buildCounterPoint++;
if (buildCounterPoint < 3) {
- o.coordinates = buildUnnamed434();
+ o.coordinates = buildUnnamed420();
o.type = "foo";
}
buildCounterPoint--;
@@ -352,7 +352,7 @@
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed434(o.coordinates);
+ checkUnnamed420(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -379,43 +379,43 @@
buildCounterPointStyle--;
}
-buildUnnamed435() {
+buildUnnamed421() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed435(core.List<core.double> o) {
+checkUnnamed421(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));
}
-buildUnnamed436() {
+buildUnnamed422() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed435());
- o.add(buildUnnamed435());
+ o.add(buildUnnamed421());
+ o.add(buildUnnamed421());
return o;
}
-checkUnnamed436(core.List<core.List<core.double>> o) {
+checkUnnamed422(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed435(o[0]);
- checkUnnamed435(o[1]);
+ checkUnnamed421(o[0]);
+ checkUnnamed421(o[1]);
}
-buildUnnamed437() {
+buildUnnamed423() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed436());
- o.add(buildUnnamed436());
+ o.add(buildUnnamed422());
+ o.add(buildUnnamed422());
return o;
}
-checkUnnamed437(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed423(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed436(o[0]);
- checkUnnamed436(o[1]);
+ checkUnnamed422(o[0]);
+ checkUnnamed422(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -423,7 +423,7 @@
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed437();
+ o.coordinates = buildUnnamed423();
o.type = "foo";
}
buildCounterPolygon--;
@@ -433,7 +433,7 @@
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed437(o.coordinates);
+ checkUnnamed423(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -472,43 +472,43 @@
buildCounterPolygonStyle--;
}
-buildUnnamed438() {
+buildUnnamed424() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed438(core.List<core.String> o) {
+checkUnnamed424(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed439() {
+buildUnnamed425() {
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;
}
-checkUnnamed439(core.List<core.Object> o) {
+checkUnnamed425(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'));
}
-buildUnnamed440() {
+buildUnnamed426() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed439());
- o.add(buildUnnamed439());
+ o.add(buildUnnamed425());
+ o.add(buildUnnamed425());
return o;
}
-checkUnnamed440(core.List<core.List<core.Object>> o) {
+checkUnnamed426(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed439(o[0]);
- checkUnnamed439(o[1]);
+ checkUnnamed425(o[0]);
+ checkUnnamed425(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -516,9 +516,9 @@
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed438();
+ o.columns = buildUnnamed424();
o.kind = "foo";
- o.rows = buildUnnamed440();
+ o.rows = buildUnnamed426();
}
buildCounterSqlresponse--;
return o;
@@ -527,21 +527,21 @@
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed438(o.columns);
+ checkUnnamed424(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed440(o.rows);
+ checkUnnamed426(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed441() {
+buildUnnamed427() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed441(core.List<api.Bucket> o) {
+checkUnnamed427(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -568,14 +568,14 @@
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed442() {
+buildUnnamed428() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed442(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed428(core.List<api.StyleFunctionGradientColors> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleFunctionGradientColors(o[0]);
checkStyleFunctionGradientColors(o[1]);
@@ -586,7 +586,7 @@
var o = new api.StyleFunctionGradient();
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- o.colors = buildUnnamed442();
+ o.colors = buildUnnamed428();
o.max = 42.0;
o.min = 42.0;
}
@@ -597,7 +597,7 @@
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed442(o.colors);
+ checkUnnamed428(o.colors);
unittest.expect(o.max, unittest.equals(42.0));
unittest.expect(o.min, unittest.equals(42.0));
}
@@ -609,7 +609,7 @@
var o = new api.StyleFunction();
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- o.buckets = buildUnnamed441();
+ o.buckets = buildUnnamed427();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -621,7 +621,7 @@
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed441(o.buckets);
+ checkUnnamed427(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -660,14 +660,14 @@
buildCounterStyleSetting--;
}
-buildUnnamed443() {
+buildUnnamed429() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed443(core.List<api.StyleSetting> o) {
+checkUnnamed429(core.List<api.StyleSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleSetting(o[0]);
checkStyleSetting(o[1]);
@@ -678,7 +678,7 @@
var o = new api.StyleSettingList();
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- o.items = buildUnnamed443();
+ o.items = buildUnnamed429();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -690,7 +690,7 @@
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed443(o.items);
+ checkUnnamed429(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -698,27 +698,27 @@
buildCounterStyleSettingList--;
}
-buildUnnamed444() {
+buildUnnamed430() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed444(core.List<core.String> o) {
+checkUnnamed430(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed445() {
+buildUnnamed431() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed445(core.List<api.Column> o) {
+checkUnnamed431(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -731,9 +731,9 @@
if (buildCounterTable < 3) {
o.attribution = "foo";
o.attributionLink = "foo";
- o.baseTableIds = buildUnnamed444();
+ o.baseTableIds = buildUnnamed430();
o.columnPropertiesJsonSchema = "foo";
- o.columns = buildUnnamed445();
+ o.columns = buildUnnamed431();
o.description = "foo";
o.isExportable = true;
o.kind = "foo";
@@ -752,9 +752,9 @@
if (buildCounterTable < 3) {
unittest.expect(o.attribution, unittest.equals('foo'));
unittest.expect(o.attributionLink, unittest.equals('foo'));
- checkUnnamed444(o.baseTableIds);
+ checkUnnamed430(o.baseTableIds);
unittest.expect(o.columnPropertiesJsonSchema, unittest.equals('foo'));
- checkUnnamed445(o.columns);
+ checkUnnamed431(o.columns);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.isExportable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -767,14 +767,14 @@
buildCounterTable--;
}
-buildUnnamed446() {
+buildUnnamed432() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed446(core.List<api.Table> o) {
+checkUnnamed432(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -785,7 +785,7 @@
var o = new api.TableList();
buildCounterTableList++;
if (buildCounterTableList < 3) {
- o.items = buildUnnamed446();
+ o.items = buildUnnamed432();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -796,7 +796,7 @@
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed446(o.items);
+ checkUnnamed432(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -830,14 +830,14 @@
buildCounterTask--;
}
-buildUnnamed447() {
+buildUnnamed433() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed447(core.List<api.Task> o) {
+checkUnnamed433(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -848,7 +848,7 @@
var o = new api.TaskList();
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- o.items = buildUnnamed447();
+ o.items = buildUnnamed433();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -860,7 +860,7 @@
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed447(o.items);
+ checkUnnamed433(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -868,14 +868,14 @@
buildCounterTaskList--;
}
-buildUnnamed448() {
+buildUnnamed434() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed448(core.List<core.String> o) {
+checkUnnamed434(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -886,7 +886,7 @@
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed448();
+ o.automaticColumnNames = buildUnnamed434();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -900,7 +900,7 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed448(o.automaticColumnNames);
+ checkUnnamed434(o.automaticColumnNames);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -910,14 +910,14 @@
buildCounterTemplate--;
}
-buildUnnamed449() {
+buildUnnamed435() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed449(core.List<api.Template> o) {
+checkUnnamed435(core.List<api.Template> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplate(o[0]);
checkTemplate(o[1]);
@@ -928,7 +928,7 @@
var o = new api.TemplateList();
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- o.items = buildUnnamed449();
+ o.items = buildUnnamed435();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -940,7 +940,7 @@
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed449(o.items);
+ checkUnnamed435(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/gamesconfiguration/v1configuration_test.dart b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
index d9f3296..ed466ab 100644
--- a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
+++ b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
@@ -113,14 +113,14 @@
buildCounterAchievementConfigurationDetail--;
}
-buildUnnamed682() {
+buildUnnamed669() {
var o = new core.List<api.AchievementConfiguration>();
o.add(buildAchievementConfiguration());
o.add(buildAchievementConfiguration());
return o;
}
-checkUnnamed682(core.List<api.AchievementConfiguration> o) {
+checkUnnamed669(core.List<api.AchievementConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementConfiguration(o[0]);
checkAchievementConfiguration(o[1]);
@@ -131,7 +131,7 @@
var o = new api.AchievementConfigurationListResponse();
buildCounterAchievementConfigurationListResponse++;
if (buildCounterAchievementConfigurationListResponse < 3) {
- o.items = buildUnnamed682();
+ o.items = buildUnnamed669();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -142,7 +142,7 @@
checkAchievementConfigurationListResponse(api.AchievementConfigurationListResponse o) {
buildCounterAchievementConfigurationListResponse++;
if (buildCounterAchievementConfigurationListResponse < 3) {
- checkUnnamed682(o.items);
+ checkUnnamed669(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -288,14 +288,14 @@
buildCounterLeaderboardConfigurationDetail--;
}
-buildUnnamed683() {
+buildUnnamed670() {
var o = new core.List<api.LeaderboardConfiguration>();
o.add(buildLeaderboardConfiguration());
o.add(buildLeaderboardConfiguration());
return o;
}
-checkUnnamed683(core.List<api.LeaderboardConfiguration> o) {
+checkUnnamed670(core.List<api.LeaderboardConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboardConfiguration(o[0]);
checkLeaderboardConfiguration(o[1]);
@@ -306,7 +306,7 @@
var o = new api.LeaderboardConfigurationListResponse();
buildCounterLeaderboardConfigurationListResponse++;
if (buildCounterLeaderboardConfigurationListResponse < 3) {
- o.items = buildUnnamed683();
+ o.items = buildUnnamed670();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -317,7 +317,7 @@
checkLeaderboardConfigurationListResponse(api.LeaderboardConfigurationListResponse o) {
buildCounterLeaderboardConfigurationListResponse++;
if (buildCounterLeaderboardConfigurationListResponse < 3) {
- checkUnnamed683(o.items);
+ checkUnnamed670(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -347,14 +347,14 @@
buildCounterLocalizedString--;
}
-buildUnnamed684() {
+buildUnnamed671() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed684(core.List<api.LocalizedString> o) {
+checkUnnamed671(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -366,7 +366,7 @@
buildCounterLocalizedStringBundle++;
if (buildCounterLocalizedStringBundle < 3) {
o.kind = "foo";
- o.translations = buildUnnamed684();
+ o.translations = buildUnnamed671();
}
buildCounterLocalizedStringBundle--;
return o;
@@ -376,7 +376,7 @@
buildCounterLocalizedStringBundle++;
if (buildCounterLocalizedStringBundle < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed684(o.translations);
+ checkUnnamed671(o.translations);
}
buildCounterLocalizedStringBundle--;
}
diff --git a/generated/googleapis/test/gamesmanagement/v1management_test.dart b/generated/googleapis/test/gamesmanagement/v1management_test.dart
index f1d74f1..2957a02 100644
--- a/generated/googleapis/test/gamesmanagement/v1management_test.dart
+++ b/generated/googleapis/test/gamesmanagement/v1management_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed674() {
+buildUnnamed661() {
var o = new core.List<api.AchievementResetResponse>();
o.add(buildAchievementResetResponse());
o.add(buildAchievementResetResponse());
return o;
}
-checkUnnamed674(core.List<api.AchievementResetResponse> o) {
+checkUnnamed661(core.List<api.AchievementResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementResetResponse(o[0]);
checkAchievementResetResponse(o[1]);
@@ -70,7 +70,7 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed674();
+ o.results = buildUnnamed661();
}
buildCounterAchievementResetAllResponse--;
return o;
@@ -80,19 +80,19 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed674(o.results);
+ checkUnnamed661(o.results);
}
buildCounterAchievementResetAllResponse--;
}
-buildUnnamed675() {
+buildUnnamed662() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed675(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'));
@@ -103,7 +103,7 @@
var o = new api.AchievementResetMultipleForAllRequest();
buildCounterAchievementResetMultipleForAllRequest++;
if (buildCounterAchievementResetMultipleForAllRequest < 3) {
- o.achievementIds = buildUnnamed675();
+ o.achievementIds = buildUnnamed662();
o.kind = "foo";
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -113,7 +113,7 @@
checkAchievementResetMultipleForAllRequest(api.AchievementResetMultipleForAllRequest o) {
buildCounterAchievementResetMultipleForAllRequest++;
if (buildCounterAchievementResetMultipleForAllRequest < 3) {
- checkUnnamed675(o.achievementIds);
+ checkUnnamed662(o.achievementIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -144,14 +144,14 @@
buildCounterAchievementResetResponse--;
}
-buildUnnamed676() {
+buildUnnamed663() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed676(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'));
@@ -162,7 +162,7 @@
var o = new api.EventsResetMultipleForAllRequest();
buildCounterEventsResetMultipleForAllRequest++;
if (buildCounterEventsResetMultipleForAllRequest < 3) {
- o.eventIds = buildUnnamed676();
+ o.eventIds = buildUnnamed663();
o.kind = "foo";
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -172,7 +172,7 @@
checkEventsResetMultipleForAllRequest(api.EventsResetMultipleForAllRequest o) {
buildCounterEventsResetMultipleForAllRequest++;
if (buildCounterEventsResetMultipleForAllRequest < 3) {
- checkUnnamed676(o.eventIds);
+ checkUnnamed663(o.eventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -270,14 +270,14 @@
buildCounterHiddenPlayer--;
}
-buildUnnamed677() {
+buildUnnamed664() {
var o = new core.List<api.HiddenPlayer>();
o.add(buildHiddenPlayer());
o.add(buildHiddenPlayer());
return o;
}
-checkUnnamed677(core.List<api.HiddenPlayer> o) {
+checkUnnamed664(core.List<api.HiddenPlayer> o) {
unittest.expect(o, unittest.hasLength(2));
checkHiddenPlayer(o[0]);
checkHiddenPlayer(o[1]);
@@ -288,7 +288,7 @@
var o = new api.HiddenPlayerList();
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- o.items = buildUnnamed677();
+ o.items = buildUnnamed664();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -299,7 +299,7 @@
checkHiddenPlayerList(api.HiddenPlayerList o) {
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- checkUnnamed677(o.items);
+ checkUnnamed664(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -368,14 +368,14 @@
buildCounterPlayer--;
}
-buildUnnamed678() {
+buildUnnamed665() {
var o = new core.List<api.PlayerScoreResetResponse>();
o.add(buildPlayerScoreResetResponse());
o.add(buildPlayerScoreResetResponse());
return o;
}
-checkUnnamed678(core.List<api.PlayerScoreResetResponse> o) {
+checkUnnamed665(core.List<api.PlayerScoreResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScoreResetResponse(o[0]);
checkPlayerScoreResetResponse(o[1]);
@@ -387,7 +387,7 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed678();
+ o.results = buildUnnamed665();
}
buildCounterPlayerScoreResetAllResponse--;
return o;
@@ -397,19 +397,19 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed678(o.results);
+ checkUnnamed665(o.results);
}
buildCounterPlayerScoreResetAllResponse--;
}
-buildUnnamed679() {
+buildUnnamed666() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed679(core.List<core.String> o) {
+checkUnnamed666(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -422,7 +422,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
o.definitionId = "foo";
o.kind = "foo";
- o.resetScoreTimeSpans = buildUnnamed679();
+ o.resetScoreTimeSpans = buildUnnamed666();
}
buildCounterPlayerScoreResetResponse--;
return o;
@@ -433,7 +433,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
unittest.expect(o.definitionId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed679(o.resetScoreTimeSpans);
+ checkUnnamed666(o.resetScoreTimeSpans);
}
buildCounterPlayerScoreResetResponse--;
}
@@ -459,14 +459,14 @@
buildCounterProfileSettings--;
}
-buildUnnamed680() {
+buildUnnamed667() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed680(core.List<core.String> o) {
+checkUnnamed667(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -478,7 +478,7 @@
buildCounterQuestsResetMultipleForAllRequest++;
if (buildCounterQuestsResetMultipleForAllRequest < 3) {
o.kind = "foo";
- o.questIds = buildUnnamed680();
+ o.questIds = buildUnnamed667();
}
buildCounterQuestsResetMultipleForAllRequest--;
return o;
@@ -488,19 +488,19 @@
buildCounterQuestsResetMultipleForAllRequest++;
if (buildCounterQuestsResetMultipleForAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed680(o.questIds);
+ checkUnnamed667(o.questIds);
}
buildCounterQuestsResetMultipleForAllRequest--;
}
-buildUnnamed681() {
+buildUnnamed668() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed681(core.List<core.String> o) {
+checkUnnamed668(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -512,7 +512,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
o.kind = "foo";
- o.leaderboardIds = buildUnnamed681();
+ o.leaderboardIds = buildUnnamed668();
}
buildCounterScoresResetMultipleForAllRequest--;
return o;
@@ -522,7 +522,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed681(o.leaderboardIds);
+ checkUnnamed668(o.leaderboardIds);
}
buildCounterScoresResetMultipleForAllRequest--;
}
diff --git a/generated/googleapis/test/genomics/v1_test.dart b/generated/googleapis/test/genomics/v1_test.dart
index 14bae45..dd1d82e 100644
--- a/generated/googleapis/test/genomics/v1_test.dart
+++ b/generated/googleapis/test/genomics/v1_test.dart
@@ -51,30 +51,30 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2835() {
+buildUnnamed2849() {
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;
}
-checkUnnamed2835(core.List<core.Object> o) {
+checkUnnamed2849(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'));
}
-buildUnnamed2836() {
+buildUnnamed2850() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2835();
- o["y"] = buildUnnamed2835();
+ o["x"] = buildUnnamed2849();
+ o["y"] = buildUnnamed2849();
return o;
}
-checkUnnamed2836(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2850(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2835(o["x"]);
- checkUnnamed2835(o["y"]);
+ checkUnnamed2849(o["x"]);
+ checkUnnamed2849(o["y"]);
}
core.int buildCounterAnnotation = 0;
@@ -85,7 +85,7 @@
o.annotationSetId = "foo";
o.end = "foo";
o.id = "foo";
- o.info = buildUnnamed2836();
+ o.info = buildUnnamed2850();
o.name = "foo";
o.referenceId = "foo";
o.referenceName = "foo";
@@ -105,7 +105,7 @@
unittest.expect(o.annotationSetId, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2836(o.info);
+ checkUnnamed2850(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceId, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -118,30 +118,30 @@
buildCounterAnnotation--;
}
-buildUnnamed2837() {
+buildUnnamed2851() {
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;
}
-checkUnnamed2837(core.List<core.Object> o) {
+checkUnnamed2851(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'));
}
-buildUnnamed2838() {
+buildUnnamed2852() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2837();
- o["y"] = buildUnnamed2837();
+ o["x"] = buildUnnamed2851();
+ o["y"] = buildUnnamed2851();
return o;
}
-checkUnnamed2838(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2852(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2837(o["x"]);
- checkUnnamed2837(o["y"]);
+ checkUnnamed2851(o["x"]);
+ checkUnnamed2851(o["y"]);
}
core.int buildCounterAnnotationSet = 0;
@@ -151,7 +151,7 @@
if (buildCounterAnnotationSet < 3) {
o.datasetId = "foo";
o.id = "foo";
- o.info = buildUnnamed2838();
+ o.info = buildUnnamed2852();
o.name = "foo";
o.referenceSetId = "foo";
o.sourceUri = "foo";
@@ -166,7 +166,7 @@
if (buildCounterAnnotationSet < 3) {
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2838(o.info);
+ checkUnnamed2852(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sourceUri, unittest.equals('foo'));
@@ -175,14 +175,14 @@
buildCounterAnnotationSet--;
}
-buildUnnamed2839() {
+buildUnnamed2853() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed2839(core.List<api.Annotation> o) {
+checkUnnamed2853(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -193,7 +193,7 @@
var o = new api.BatchCreateAnnotationsRequest();
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- o.annotations = buildUnnamed2839();
+ o.annotations = buildUnnamed2853();
o.requestId = "foo";
}
buildCounterBatchCreateAnnotationsRequest--;
@@ -203,20 +203,20 @@
checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) {
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- checkUnnamed2839(o.annotations);
+ checkUnnamed2853(o.annotations);
unittest.expect(o.requestId, unittest.equals('foo'));
}
buildCounterBatchCreateAnnotationsRequest--;
}
-buildUnnamed2840() {
+buildUnnamed2854() {
var o = new core.List<api.Entry>();
o.add(buildEntry());
o.add(buildEntry());
return o;
}
-checkUnnamed2840(core.List<api.Entry> o) {
+checkUnnamed2854(core.List<api.Entry> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntry(o[0]);
checkEntry(o[1]);
@@ -227,7 +227,7 @@
var o = new api.BatchCreateAnnotationsResponse();
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- o.entries = buildUnnamed2840();
+ o.entries = buildUnnamed2854();
}
buildCounterBatchCreateAnnotationsResponse--;
return o;
@@ -236,19 +236,19 @@
checkBatchCreateAnnotationsResponse(api.BatchCreateAnnotationsResponse o) {
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- checkUnnamed2840(o.entries);
+ checkUnnamed2854(o.entries);
}
buildCounterBatchCreateAnnotationsResponse--;
}
-buildUnnamed2841() {
+buildUnnamed2855() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2841(core.List<core.String> o) {
+checkUnnamed2855(core.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,7 +259,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed2841();
+ o.members = buildUnnamed2855();
o.role = "foo";
}
buildCounterBinding--;
@@ -269,46 +269,46 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed2841(o.members);
+ checkUnnamed2855(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed2842() {
+buildUnnamed2856() {
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;
}
-checkUnnamed2842(core.List<core.Object> o) {
+checkUnnamed2856(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'));
}
-buildUnnamed2843() {
+buildUnnamed2857() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2842();
- o["y"] = buildUnnamed2842();
+ o["x"] = buildUnnamed2856();
+ o["y"] = buildUnnamed2856();
return o;
}
-checkUnnamed2843(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2857(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2842(o["x"]);
- checkUnnamed2842(o["y"]);
+ checkUnnamed2856(o["x"]);
+ checkUnnamed2856(o["y"]);
}
-buildUnnamed2844() {
+buildUnnamed2858() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2844(core.List<core.String> o) {
+checkUnnamed2858(core.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,10 +321,10 @@
if (buildCounterCallSet < 3) {
o.created = "foo";
o.id = "foo";
- o.info = buildUnnamed2843();
+ o.info = buildUnnamed2857();
o.name = "foo";
o.sampleId = "foo";
- o.variantSetIds = buildUnnamed2844();
+ o.variantSetIds = buildUnnamed2858();
}
buildCounterCallSet--;
return o;
@@ -335,10 +335,10 @@
if (buildCounterCallSet < 3) {
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2843(o.info);
+ checkUnnamed2857(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
- checkUnnamed2844(o.variantSetIds);
+ checkUnnamed2858(o.variantSetIds);
}
buildCounterCallSet--;
}
@@ -383,27 +383,27 @@
buildCounterCigarUnit--;
}
-buildUnnamed2845() {
+buildUnnamed2859() {
var o = new core.List<api.ExternalId>();
o.add(buildExternalId());
o.add(buildExternalId());
return o;
}
-checkUnnamed2845(core.List<api.ExternalId> o) {
+checkUnnamed2859(core.List<api.ExternalId> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalId(o[0]);
checkExternalId(o[1]);
}
-buildUnnamed2846() {
+buildUnnamed2860() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2846(core.List<core.String> o) {
+checkUnnamed2860(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -415,8 +415,8 @@
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
o.conceptId = "foo";
- o.externalIds = buildUnnamed2845();
- o.names = buildUnnamed2846();
+ o.externalIds = buildUnnamed2859();
+ o.names = buildUnnamed2860();
o.omimId = "foo";
}
buildCounterClinicalCondition--;
@@ -427,8 +427,8 @@
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
unittest.expect(o.conceptId, unittest.equals('foo'));
- checkUnnamed2845(o.externalIds);
- checkUnnamed2846(o.names);
+ checkUnnamed2859(o.externalIds);
+ checkUnnamed2860(o.names);
unittest.expect(o.omimId, unittest.equals('foo'));
}
buildCounterClinicalCondition--;
@@ -455,14 +455,14 @@
buildCounterCodingSequence--;
}
-buildUnnamed2847() {
+buildUnnamed2861() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2847(core.List<core.String> o) {
+checkUnnamed2861(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -473,7 +473,7 @@
var o = new api.ComputeEngine();
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- o.diskNames = buildUnnamed2847();
+ o.diskNames = buildUnnamed2861();
o.instanceName = "foo";
o.machineType = "foo";
o.zone = "foo";
@@ -485,7 +485,7 @@
checkComputeEngine(api.ComputeEngine o) {
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- checkUnnamed2847(o.diskNames);
+ checkUnnamed2861(o.diskNames);
unittest.expect(o.instanceName, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
@@ -625,14 +625,14 @@
buildCounterExperiment--;
}
-buildUnnamed2848() {
+buildUnnamed2862() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2848(core.List<core.String> o) {
+checkUnnamed2862(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -645,7 +645,7 @@
if (buildCounterExportReadGroupSetRequest < 3) {
o.exportUri = "foo";
o.projectId = "foo";
- o.referenceNames = buildUnnamed2848();
+ o.referenceNames = buildUnnamed2862();
}
buildCounterExportReadGroupSetRequest--;
return o;
@@ -656,19 +656,19 @@
if (buildCounterExportReadGroupSetRequest < 3) {
unittest.expect(o.exportUri, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2848(o.referenceNames);
+ checkUnnamed2862(o.referenceNames);
}
buildCounterExportReadGroupSetRequest--;
}
-buildUnnamed2849() {
+buildUnnamed2863() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2849(core.List<core.String> o) {
+checkUnnamed2863(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -681,7 +681,7 @@
if (buildCounterExportVariantSetRequest < 3) {
o.bigqueryDataset = "foo";
o.bigqueryTable = "foo";
- o.callSetIds = buildUnnamed2849();
+ o.callSetIds = buildUnnamed2863();
o.format = "foo";
o.projectId = "foo";
}
@@ -694,7 +694,7 @@
if (buildCounterExportVariantSetRequest < 3) {
unittest.expect(o.bigqueryDataset, unittest.equals('foo'));
unittest.expect(o.bigqueryTable, unittest.equals('foo'));
- checkUnnamed2849(o.callSetIds);
+ checkUnnamed2863(o.callSetIds);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
}
@@ -739,14 +739,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed2850() {
+buildUnnamed2864() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2850(core.List<core.String> o) {
+checkUnnamed2864(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -760,7 +760,7 @@
o.datasetId = "foo";
o.partitionStrategy = "foo";
o.referenceSetId = "foo";
- o.sourceUris = buildUnnamed2850();
+ o.sourceUris = buildUnnamed2864();
}
buildCounterImportReadGroupSetsRequest--;
return o;
@@ -772,19 +772,19 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.partitionStrategy, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
- checkUnnamed2850(o.sourceUris);
+ checkUnnamed2864(o.sourceUris);
}
buildCounterImportReadGroupSetsRequest--;
}
-buildUnnamed2851() {
+buildUnnamed2865() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2851(core.List<core.String> o) {
+checkUnnamed2865(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -795,7 +795,7 @@
var o = new api.ImportReadGroupSetsResponse();
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- o.readGroupSetIds = buildUnnamed2851();
+ o.readGroupSetIds = buildUnnamed2865();
}
buildCounterImportReadGroupSetsResponse--;
return o;
@@ -804,32 +804,32 @@
checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) {
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- checkUnnamed2851(o.readGroupSetIds);
+ checkUnnamed2865(o.readGroupSetIds);
}
buildCounterImportReadGroupSetsResponse--;
}
-buildUnnamed2852() {
+buildUnnamed2866() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2852(core.Map<core.String, core.String> o) {
+checkUnnamed2866(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'));
}
-buildUnnamed2853() {
+buildUnnamed2867() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2853(core.List<core.String> o) {
+checkUnnamed2867(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -841,9 +841,9 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
o.format = "foo";
- o.infoMergeConfig = buildUnnamed2852();
+ o.infoMergeConfig = buildUnnamed2866();
o.normalizeReferenceNames = true;
- o.sourceUris = buildUnnamed2853();
+ o.sourceUris = buildUnnamed2867();
o.variantSetId = "foo";
}
buildCounterImportVariantsRequest--;
@@ -854,22 +854,22 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed2852(o.infoMergeConfig);
+ checkUnnamed2866(o.infoMergeConfig);
unittest.expect(o.normalizeReferenceNames, unittest.isTrue);
- checkUnnamed2853(o.sourceUris);
+ checkUnnamed2867(o.sourceUris);
unittest.expect(o.variantSetId, unittest.equals('foo'));
}
buildCounterImportVariantsRequest--;
}
-buildUnnamed2854() {
+buildUnnamed2868() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2854(core.List<core.String> o) {
+checkUnnamed2868(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -880,7 +880,7 @@
var o = new api.ImportVariantsResponse();
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- o.callSetIds = buildUnnamed2854();
+ o.callSetIds = buildUnnamed2868();
}
buildCounterImportVariantsResponse--;
return o;
@@ -889,19 +889,19 @@
checkImportVariantsResponse(api.ImportVariantsResponse o) {
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- checkUnnamed2854(o.callSetIds);
+ checkUnnamed2868(o.callSetIds);
}
buildCounterImportVariantsResponse--;
}
-buildUnnamed2855() {
+buildUnnamed2869() {
var o = new core.List<api.CigarUnit>();
o.add(buildCigarUnit());
o.add(buildCigarUnit());
return o;
}
-checkUnnamed2855(core.List<api.CigarUnit> o) {
+checkUnnamed2869(core.List<api.CigarUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkCigarUnit(o[0]);
checkCigarUnit(o[1]);
@@ -912,7 +912,7 @@
var o = new api.LinearAlignment();
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- o.cigar = buildUnnamed2855();
+ o.cigar = buildUnnamed2869();
o.mappingQuality = 42;
o.position = buildPosition();
}
@@ -923,7 +923,7 @@
checkLinearAlignment(api.LinearAlignment o) {
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- checkUnnamed2855(o.cigar);
+ checkUnnamed2869(o.cigar);
unittest.expect(o.mappingQuality, unittest.equals(42));
checkPosition(o.position);
}
@@ -953,14 +953,14 @@
buildCounterListBasesResponse--;
}
-buildUnnamed2856() {
+buildUnnamed2870() {
var o = new core.List<api.CoverageBucket>();
o.add(buildCoverageBucket());
o.add(buildCoverageBucket());
return o;
}
-checkUnnamed2856(core.List<api.CoverageBucket> o) {
+checkUnnamed2870(core.List<api.CoverageBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverageBucket(o[0]);
checkCoverageBucket(o[1]);
@@ -972,7 +972,7 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
o.bucketWidth = "foo";
- o.coverageBuckets = buildUnnamed2856();
+ o.coverageBuckets = buildUnnamed2870();
o.nextPageToken = "foo";
}
buildCounterListCoverageBucketsResponse--;
@@ -983,20 +983,20 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
unittest.expect(o.bucketWidth, unittest.equals('foo'));
- checkUnnamed2856(o.coverageBuckets);
+ checkUnnamed2870(o.coverageBuckets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoverageBucketsResponse--;
}
-buildUnnamed2857() {
+buildUnnamed2871() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed2857(core.List<api.Dataset> o) {
+checkUnnamed2871(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -1007,7 +1007,7 @@
var o = new api.ListDatasetsResponse();
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- o.datasets = buildUnnamed2857();
+ o.datasets = buildUnnamed2871();
o.nextPageToken = "foo";
}
buildCounterListDatasetsResponse--;
@@ -1017,20 +1017,20 @@
checkListDatasetsResponse(api.ListDatasetsResponse o) {
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- checkUnnamed2857(o.datasets);
+ checkUnnamed2871(o.datasets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatasetsResponse--;
}
-buildUnnamed2858() {
+buildUnnamed2872() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2858(core.List<api.Operation> o) {
+checkUnnamed2872(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1042,7 +1042,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2858();
+ o.operations = buildUnnamed2872();
}
buildCounterListOperationsResponse--;
return o;
@@ -1052,32 +1052,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2858(o.operations);
+ checkUnnamed2872(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2859() {
+buildUnnamed2873() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2859(core.Map<core.String, core.String> o) {
+checkUnnamed2873(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'));
}
-buildUnnamed2860() {
+buildUnnamed2874() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed2860(core.List<api.Variant> o) {
+checkUnnamed2874(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -1088,9 +1088,9 @@
var o = new api.MergeVariantsRequest();
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- o.infoMergeConfig = buildUnnamed2859();
+ o.infoMergeConfig = buildUnnamed2873();
o.variantSetId = "foo";
- o.variants = buildUnnamed2860();
+ o.variants = buildUnnamed2874();
}
buildCounterMergeVariantsRequest--;
return o;
@@ -1099,34 +1099,34 @@
checkMergeVariantsRequest(api.MergeVariantsRequest o) {
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- checkUnnamed2859(o.infoMergeConfig);
+ checkUnnamed2873(o.infoMergeConfig);
unittest.expect(o.variantSetId, unittest.equals('foo'));
- checkUnnamed2860(o.variants);
+ checkUnnamed2874(o.variants);
}
buildCounterMergeVariantsRequest--;
}
-buildUnnamed2861() {
+buildUnnamed2875() {
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;
}
-checkUnnamed2861(core.Map<core.String, core.Object> o) {
+checkUnnamed2875(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed2862() {
+buildUnnamed2876() {
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;
}
-checkUnnamed2862(core.Map<core.String, core.Object> o) {
+checkUnnamed2876(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
@@ -1139,9 +1139,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2861();
+ o.metadata = buildUnnamed2875();
o.name = "foo";
- o.response = buildUnnamed2862();
+ o.response = buildUnnamed2876();
}
buildCounterOperation--;
return o;
@@ -1152,9 +1152,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2861(o.metadata);
+ checkUnnamed2875(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2862(o.response);
+ checkUnnamed2876(o.response);
}
buildCounterOperation--;
}
@@ -1182,53 +1182,53 @@
buildCounterOperationEvent--;
}
-buildUnnamed2863() {
+buildUnnamed2877() {
var o = new core.List<api.OperationEvent>();
o.add(buildOperationEvent());
o.add(buildOperationEvent());
return o;
}
-checkUnnamed2863(core.List<api.OperationEvent> o) {
+checkUnnamed2877(core.List<api.OperationEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationEvent(o[0]);
checkOperationEvent(o[1]);
}
-buildUnnamed2864() {
+buildUnnamed2878() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2864(core.Map<core.String, core.String> o) {
+checkUnnamed2878(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'));
}
-buildUnnamed2865() {
+buildUnnamed2879() {
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;
}
-checkUnnamed2865(core.Map<core.String, core.Object> o) {
+checkUnnamed2879(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed2866() {
+buildUnnamed2880() {
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;
}
-checkUnnamed2866(core.Map<core.String, core.Object> o) {
+checkUnnamed2880(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
@@ -1242,11 +1242,11 @@
o.clientId = "foo";
o.createTime = "foo";
o.endTime = "foo";
- o.events = buildUnnamed2863();
- o.labels = buildUnnamed2864();
+ o.events = buildUnnamed2877();
+ o.labels = buildUnnamed2878();
o.projectId = "foo";
- o.request = buildUnnamed2865();
- o.runtimeMetadata = buildUnnamed2866();
+ o.request = buildUnnamed2879();
+ o.runtimeMetadata = buildUnnamed2880();
o.startTime = "foo";
}
buildCounterOperationMetadata--;
@@ -1259,24 +1259,24 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed2863(o.events);
- checkUnnamed2864(o.labels);
+ checkUnnamed2877(o.events);
+ checkUnnamed2878(o.labels);
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2865(o.request);
- checkUnnamed2866(o.runtimeMetadata);
+ checkUnnamed2879(o.request);
+ checkUnnamed2880(o.runtimeMetadata);
unittest.expect(o.startTime, unittest.equals('foo'));
}
buildCounterOperationMetadata--;
}
-buildUnnamed2867() {
+buildUnnamed2881() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2867(core.List<api.Binding> o) {
+checkUnnamed2881(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1287,7 +1287,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed2867();
+ o.bindings = buildUnnamed2881();
o.etag = "foo";
o.version = 42;
}
@@ -1298,7 +1298,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2867(o.bindings);
+ checkUnnamed2881(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1378,43 +1378,43 @@
buildCounterRange--;
}
-buildUnnamed2868() {
+buildUnnamed2882() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2868(core.List<core.int> o) {
+checkUnnamed2882(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));
}
-buildUnnamed2869() {
+buildUnnamed2883() {
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;
}
-checkUnnamed2869(core.List<core.Object> o) {
+checkUnnamed2883(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o[0]) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo'));
var casted16 = (o[1]) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string"], unittest.equals('foo'));
}
-buildUnnamed2870() {
+buildUnnamed2884() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2869();
- o["y"] = buildUnnamed2869();
+ o["x"] = buildUnnamed2883();
+ o["y"] = buildUnnamed2883();
return o;
}
-checkUnnamed2870(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2884(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2869(o["x"]);
- checkUnnamed2869(o["y"]);
+ checkUnnamed2883(o["x"]);
+ checkUnnamed2883(o["y"]);
}
core.int buildCounterRead = 0;
@@ -1422,7 +1422,7 @@
var o = new api.Read();
buildCounterRead++;
if (buildCounterRead < 3) {
- o.alignedQuality = buildUnnamed2868();
+ o.alignedQuality = buildUnnamed2882();
o.alignedSequence = "foo";
o.alignment = buildLinearAlignment();
o.duplicateFragment = true;
@@ -1430,7 +1430,7 @@
o.fragmentLength = 42;
o.fragmentName = "foo";
o.id = "foo";
- o.info = buildUnnamed2870();
+ o.info = buildUnnamed2884();
o.nextMatePosition = buildPosition();
o.numberReads = 42;
o.properPlacement = true;
@@ -1447,7 +1447,7 @@
checkRead(api.Read o) {
buildCounterRead++;
if (buildCounterRead < 3) {
- checkUnnamed2868(o.alignedQuality);
+ checkUnnamed2882(o.alignedQuality);
unittest.expect(o.alignedSequence, unittest.equals('foo'));
checkLinearAlignment(o.alignment);
unittest.expect(o.duplicateFragment, unittest.isTrue);
@@ -1455,7 +1455,7 @@
unittest.expect(o.fragmentLength, unittest.equals(42));
unittest.expect(o.fragmentName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2870(o.info);
+ checkUnnamed2884(o.info);
checkPosition(o.nextMatePosition);
unittest.expect(o.numberReads, unittest.equals(42));
unittest.expect(o.properPlacement, unittest.isTrue);
@@ -1468,40 +1468,40 @@
buildCounterRead--;
}
-buildUnnamed2871() {
+buildUnnamed2885() {
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;
}
-checkUnnamed2871(core.List<core.Object> o) {
+checkUnnamed2885(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo'));
var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string"], unittest.equals('foo'));
}
-buildUnnamed2872() {
+buildUnnamed2886() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2871();
- o["y"] = buildUnnamed2871();
+ o["x"] = buildUnnamed2885();
+ o["y"] = buildUnnamed2885();
return o;
}
-checkUnnamed2872(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2886(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2871(o["x"]);
- checkUnnamed2871(o["y"]);
+ checkUnnamed2885(o["x"]);
+ checkUnnamed2885(o["y"]);
}
-buildUnnamed2873() {
+buildUnnamed2887() {
var o = new core.List<api.Program>();
o.add(buildProgram());
o.add(buildProgram());
return o;
}
-checkUnnamed2873(core.List<api.Program> o) {
+checkUnnamed2887(core.List<api.Program> o) {
unittest.expect(o, unittest.hasLength(2));
checkProgram(o[0]);
checkProgram(o[1]);
@@ -1516,10 +1516,10 @@
o.description = "foo";
o.experiment = buildExperiment();
o.id = "foo";
- o.info = buildUnnamed2872();
+ o.info = buildUnnamed2886();
o.name = "foo";
o.predictedInsertSize = 42;
- o.programs = buildUnnamed2873();
+ o.programs = buildUnnamed2887();
o.referenceSetId = "foo";
o.sampleId = "foo";
}
@@ -1534,50 +1534,50 @@
unittest.expect(o.description, unittest.equals('foo'));
checkExperiment(o.experiment);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2872(o.info);
+ checkUnnamed2886(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.predictedInsertSize, unittest.equals(42));
- checkUnnamed2873(o.programs);
+ checkUnnamed2887(o.programs);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
}
buildCounterReadGroup--;
}
-buildUnnamed2874() {
+buildUnnamed2888() {
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;
}
-checkUnnamed2874(core.List<core.Object> o) {
+checkUnnamed2888(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o[0]) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string"], unittest.equals('foo'));
var casted20 = (o[1]) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed2875() {
+buildUnnamed2889() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2874();
- o["y"] = buildUnnamed2874();
+ o["x"] = buildUnnamed2888();
+ o["y"] = buildUnnamed2888();
return o;
}
-checkUnnamed2875(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2889(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2874(o["x"]);
- checkUnnamed2874(o["y"]);
+ checkUnnamed2888(o["x"]);
+ checkUnnamed2888(o["y"]);
}
-buildUnnamed2876() {
+buildUnnamed2890() {
var o = new core.List<api.ReadGroup>();
o.add(buildReadGroup());
o.add(buildReadGroup());
return o;
}
-checkUnnamed2876(core.List<api.ReadGroup> o) {
+checkUnnamed2890(core.List<api.ReadGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadGroup(o[0]);
checkReadGroup(o[1]);
@@ -1591,9 +1591,9 @@
o.datasetId = "foo";
o.filename = "foo";
o.id = "foo";
- o.info = buildUnnamed2875();
+ o.info = buildUnnamed2889();
o.name = "foo";
- o.readGroups = buildUnnamed2876();
+ o.readGroups = buildUnnamed2890();
o.referenceSetId = "foo";
}
buildCounterReadGroupSet--;
@@ -1606,22 +1606,22 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.filename, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2875(o.info);
+ checkUnnamed2889(o.info);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2876(o.readGroups);
+ checkUnnamed2890(o.readGroups);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterReadGroupSet--;
}
-buildUnnamed2877() {
+buildUnnamed2891() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2877(core.List<core.String> o) {
+checkUnnamed2891(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1637,7 +1637,7 @@
o.md5checksum = "foo";
o.name = "foo";
o.ncbiTaxonId = 42;
- o.sourceAccessions = buildUnnamed2877();
+ o.sourceAccessions = buildUnnamed2891();
o.sourceUri = "foo";
}
buildCounterReference--;
@@ -1652,7 +1652,7 @@
unittest.expect(o.md5checksum, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed2877(o.sourceAccessions);
+ checkUnnamed2891(o.sourceAccessions);
unittest.expect(o.sourceUri, unittest.equals('foo'));
}
buildCounterReference--;
@@ -1679,486 +1679,6 @@
buildCounterReferenceBound--;
}
-buildUnnamed2878() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2878(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2879() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2879(core.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 buildCounterReferenceSet = 0;
-buildReferenceSet() {
- var o = new api.ReferenceSet();
- buildCounterReferenceSet++;
- if (buildCounterReferenceSet < 3) {
- o.assemblyId = "foo";
- o.description = "foo";
- o.id = "foo";
- o.md5checksum = "foo";
- o.ncbiTaxonId = 42;
- o.referenceIds = buildUnnamed2878();
- o.sourceAccessions = buildUnnamed2879();
- o.sourceUri = "foo";
- }
- buildCounterReferenceSet--;
- return o;
-}
-
-checkReferenceSet(api.ReferenceSet o) {
- buildCounterReferenceSet++;
- if (buildCounterReferenceSet < 3) {
- unittest.expect(o.assemblyId, unittest.equals('foo'));
- unittest.expect(o.description, unittest.equals('foo'));
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.md5checksum, unittest.equals('foo'));
- unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed2878(o.referenceIds);
- checkUnnamed2879(o.sourceAccessions);
- unittest.expect(o.sourceUri, unittest.equals('foo'));
- }
- buildCounterReferenceSet--;
-}
-
-core.int buildCounterRuntimeMetadata = 0;
-buildRuntimeMetadata() {
- var o = new api.RuntimeMetadata();
- buildCounterRuntimeMetadata++;
- if (buildCounterRuntimeMetadata < 3) {
- o.computeEngine = buildComputeEngine();
- }
- buildCounterRuntimeMetadata--;
- return o;
-}
-
-checkRuntimeMetadata(api.RuntimeMetadata o) {
- buildCounterRuntimeMetadata++;
- if (buildCounterRuntimeMetadata < 3) {
- checkComputeEngine(o.computeEngine);
- }
- buildCounterRuntimeMetadata--;
-}
-
-buildUnnamed2880() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2880(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2881() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2881(core.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 buildCounterSearchAnnotationSetsRequest = 0;
-buildSearchAnnotationSetsRequest() {
- var o = new api.SearchAnnotationSetsRequest();
- buildCounterSearchAnnotationSetsRequest++;
- if (buildCounterSearchAnnotationSetsRequest < 3) {
- o.datasetIds = buildUnnamed2880();
- o.name = "foo";
- o.pageSize = 42;
- o.pageToken = "foo";
- o.referenceSetId = "foo";
- o.types = buildUnnamed2881();
- }
- buildCounterSearchAnnotationSetsRequest--;
- return o;
-}
-
-checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) {
- buildCounterSearchAnnotationSetsRequest++;
- if (buildCounterSearchAnnotationSetsRequest < 3) {
- checkUnnamed2880(o.datasetIds);
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- unittest.expect(o.referenceSetId, unittest.equals('foo'));
- checkUnnamed2881(o.types);
- }
- buildCounterSearchAnnotationSetsRequest--;
-}
-
-buildUnnamed2882() {
- var o = new core.List<api.AnnotationSet>();
- o.add(buildAnnotationSet());
- o.add(buildAnnotationSet());
- return o;
-}
-
-checkUnnamed2882(core.List<api.AnnotationSet> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAnnotationSet(o[0]);
- checkAnnotationSet(o[1]);
-}
-
-core.int buildCounterSearchAnnotationSetsResponse = 0;
-buildSearchAnnotationSetsResponse() {
- var o = new api.SearchAnnotationSetsResponse();
- buildCounterSearchAnnotationSetsResponse++;
- if (buildCounterSearchAnnotationSetsResponse < 3) {
- o.annotationSets = buildUnnamed2882();
- o.nextPageToken = "foo";
- }
- buildCounterSearchAnnotationSetsResponse--;
- return o;
-}
-
-checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) {
- buildCounterSearchAnnotationSetsResponse++;
- if (buildCounterSearchAnnotationSetsResponse < 3) {
- checkUnnamed2882(o.annotationSets);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSearchAnnotationSetsResponse--;
-}
-
-buildUnnamed2883() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2883(core.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 buildCounterSearchAnnotationsRequest = 0;
-buildSearchAnnotationsRequest() {
- var o = new api.SearchAnnotationsRequest();
- buildCounterSearchAnnotationsRequest++;
- if (buildCounterSearchAnnotationsRequest < 3) {
- o.annotationSetIds = buildUnnamed2883();
- o.end = "foo";
- o.pageSize = 42;
- o.pageToken = "foo";
- o.referenceId = "foo";
- o.referenceName = "foo";
- o.start = "foo";
- }
- buildCounterSearchAnnotationsRequest--;
- return o;
-}
-
-checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) {
- buildCounterSearchAnnotationsRequest++;
- if (buildCounterSearchAnnotationsRequest < 3) {
- checkUnnamed2883(o.annotationSetIds);
- unittest.expect(o.end, unittest.equals('foo'));
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- unittest.expect(o.referenceId, unittest.equals('foo'));
- unittest.expect(o.referenceName, unittest.equals('foo'));
- unittest.expect(o.start, unittest.equals('foo'));
- }
- buildCounterSearchAnnotationsRequest--;
-}
-
-buildUnnamed2884() {
- var o = new core.List<api.Annotation>();
- o.add(buildAnnotation());
- o.add(buildAnnotation());
- return o;
-}
-
-checkUnnamed2884(core.List<api.Annotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAnnotation(o[0]);
- checkAnnotation(o[1]);
-}
-
-core.int buildCounterSearchAnnotationsResponse = 0;
-buildSearchAnnotationsResponse() {
- var o = new api.SearchAnnotationsResponse();
- buildCounterSearchAnnotationsResponse++;
- if (buildCounterSearchAnnotationsResponse < 3) {
- o.annotations = buildUnnamed2884();
- o.nextPageToken = "foo";
- }
- buildCounterSearchAnnotationsResponse--;
- return o;
-}
-
-checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) {
- buildCounterSearchAnnotationsResponse++;
- if (buildCounterSearchAnnotationsResponse < 3) {
- checkUnnamed2884(o.annotations);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSearchAnnotationsResponse--;
-}
-
-buildUnnamed2885() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2885(core.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 buildCounterSearchCallSetsRequest = 0;
-buildSearchCallSetsRequest() {
- var o = new api.SearchCallSetsRequest();
- buildCounterSearchCallSetsRequest++;
- if (buildCounterSearchCallSetsRequest < 3) {
- o.name = "foo";
- o.pageSize = 42;
- o.pageToken = "foo";
- o.variantSetIds = buildUnnamed2885();
- }
- buildCounterSearchCallSetsRequest--;
- return o;
-}
-
-checkSearchCallSetsRequest(api.SearchCallSetsRequest o) {
- buildCounterSearchCallSetsRequest++;
- if (buildCounterSearchCallSetsRequest < 3) {
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2885(o.variantSetIds);
- }
- buildCounterSearchCallSetsRequest--;
-}
-
-buildUnnamed2886() {
- var o = new core.List<api.CallSet>();
- o.add(buildCallSet());
- o.add(buildCallSet());
- return o;
-}
-
-checkUnnamed2886(core.List<api.CallSet> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCallSet(o[0]);
- checkCallSet(o[1]);
-}
-
-core.int buildCounterSearchCallSetsResponse = 0;
-buildSearchCallSetsResponse() {
- var o = new api.SearchCallSetsResponse();
- buildCounterSearchCallSetsResponse++;
- if (buildCounterSearchCallSetsResponse < 3) {
- o.callSets = buildUnnamed2886();
- o.nextPageToken = "foo";
- }
- buildCounterSearchCallSetsResponse--;
- return o;
-}
-
-checkSearchCallSetsResponse(api.SearchCallSetsResponse o) {
- buildCounterSearchCallSetsResponse++;
- if (buildCounterSearchCallSetsResponse < 3) {
- checkUnnamed2886(o.callSets);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSearchCallSetsResponse--;
-}
-
-buildUnnamed2887() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2887(core.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 buildCounterSearchReadGroupSetsRequest = 0;
-buildSearchReadGroupSetsRequest() {
- var o = new api.SearchReadGroupSetsRequest();
- buildCounterSearchReadGroupSetsRequest++;
- if (buildCounterSearchReadGroupSetsRequest < 3) {
- o.datasetIds = buildUnnamed2887();
- o.name = "foo";
- o.pageSize = 42;
- o.pageToken = "foo";
- }
- buildCounterSearchReadGroupSetsRequest--;
- return o;
-}
-
-checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) {
- buildCounterSearchReadGroupSetsRequest++;
- if (buildCounterSearchReadGroupSetsRequest < 3) {
- checkUnnamed2887(o.datasetIds);
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- }
- buildCounterSearchReadGroupSetsRequest--;
-}
-
-buildUnnamed2888() {
- var o = new core.List<api.ReadGroupSet>();
- o.add(buildReadGroupSet());
- o.add(buildReadGroupSet());
- return o;
-}
-
-checkUnnamed2888(core.List<api.ReadGroupSet> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkReadGroupSet(o[0]);
- checkReadGroupSet(o[1]);
-}
-
-core.int buildCounterSearchReadGroupSetsResponse = 0;
-buildSearchReadGroupSetsResponse() {
- var o = new api.SearchReadGroupSetsResponse();
- buildCounterSearchReadGroupSetsResponse++;
- if (buildCounterSearchReadGroupSetsResponse < 3) {
- o.nextPageToken = "foo";
- o.readGroupSets = buildUnnamed2888();
- }
- buildCounterSearchReadGroupSetsResponse--;
- return o;
-}
-
-checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) {
- buildCounterSearchReadGroupSetsResponse++;
- if (buildCounterSearchReadGroupSetsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2888(o.readGroupSets);
- }
- buildCounterSearchReadGroupSetsResponse--;
-}
-
-buildUnnamed2889() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2889(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2890() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2890(core.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 buildCounterSearchReadsRequest = 0;
-buildSearchReadsRequest() {
- var o = new api.SearchReadsRequest();
- buildCounterSearchReadsRequest++;
- if (buildCounterSearchReadsRequest < 3) {
- o.end = "foo";
- o.pageSize = 42;
- o.pageToken = "foo";
- o.readGroupIds = buildUnnamed2889();
- o.readGroupSetIds = buildUnnamed2890();
- o.referenceName = "foo";
- o.start = "foo";
- }
- buildCounterSearchReadsRequest--;
- return o;
-}
-
-checkSearchReadsRequest(api.SearchReadsRequest o) {
- buildCounterSearchReadsRequest++;
- if (buildCounterSearchReadsRequest < 3) {
- unittest.expect(o.end, unittest.equals('foo'));
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2889(o.readGroupIds);
- checkUnnamed2890(o.readGroupSetIds);
- unittest.expect(o.referenceName, unittest.equals('foo'));
- unittest.expect(o.start, unittest.equals('foo'));
- }
- buildCounterSearchReadsRequest--;
-}
-
-buildUnnamed2891() {
- var o = new core.List<api.Read>();
- o.add(buildRead());
- o.add(buildRead());
- return o;
-}
-
-checkUnnamed2891(core.List<api.Read> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkRead(o[0]);
- checkRead(o[1]);
-}
-
-core.int buildCounterSearchReadsResponse = 0;
-buildSearchReadsResponse() {
- var o = new api.SearchReadsResponse();
- buildCounterSearchReadsResponse++;
- if (buildCounterSearchReadsResponse < 3) {
- o.alignments = buildUnnamed2891();
- o.nextPageToken = "foo";
- }
- buildCounterSearchReadsResponse--;
- return o;
-}
-
-checkSearchReadsResponse(api.SearchReadsResponse o) {
- buildCounterSearchReadsResponse++;
- if (buildCounterSearchReadsResponse < 3) {
- checkUnnamed2891(o.alignments);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSearchReadsResponse--;
-}
-
buildUnnamed2892() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2185,65 +1705,69 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterSearchReferenceSetsRequest = 0;
-buildSearchReferenceSetsRequest() {
- var o = new api.SearchReferenceSetsRequest();
- buildCounterSearchReferenceSetsRequest++;
- if (buildCounterSearchReferenceSetsRequest < 3) {
- o.accessions = buildUnnamed2892();
+core.int buildCounterReferenceSet = 0;
+buildReferenceSet() {
+ var o = new api.ReferenceSet();
+ buildCounterReferenceSet++;
+ if (buildCounterReferenceSet < 3) {
o.assemblyId = "foo";
- o.md5checksums = buildUnnamed2893();
- o.pageSize = 42;
- o.pageToken = "foo";
+ o.description = "foo";
+ o.id = "foo";
+ o.md5checksum = "foo";
+ o.ncbiTaxonId = 42;
+ o.referenceIds = buildUnnamed2892();
+ o.sourceAccessions = buildUnnamed2893();
+ o.sourceUri = "foo";
}
- buildCounterSearchReferenceSetsRequest--;
+ buildCounterReferenceSet--;
return o;
}
-checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) {
- buildCounterSearchReferenceSetsRequest++;
- if (buildCounterSearchReferenceSetsRequest < 3) {
- checkUnnamed2892(o.accessions);
+checkReferenceSet(api.ReferenceSet o) {
+ buildCounterReferenceSet++;
+ if (buildCounterReferenceSet < 3) {
unittest.expect(o.assemblyId, unittest.equals('foo'));
- checkUnnamed2893(o.md5checksums);
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.md5checksum, unittest.equals('foo'));
+ unittest.expect(o.ncbiTaxonId, unittest.equals(42));
+ checkUnnamed2892(o.referenceIds);
+ checkUnnamed2893(o.sourceAccessions);
+ unittest.expect(o.sourceUri, unittest.equals('foo'));
}
- buildCounterSearchReferenceSetsRequest--;
+ buildCounterReferenceSet--;
+}
+
+core.int buildCounterRuntimeMetadata = 0;
+buildRuntimeMetadata() {
+ var o = new api.RuntimeMetadata();
+ buildCounterRuntimeMetadata++;
+ if (buildCounterRuntimeMetadata < 3) {
+ o.computeEngine = buildComputeEngine();
+ }
+ buildCounterRuntimeMetadata--;
+ return o;
+}
+
+checkRuntimeMetadata(api.RuntimeMetadata o) {
+ buildCounterRuntimeMetadata++;
+ if (buildCounterRuntimeMetadata < 3) {
+ checkComputeEngine(o.computeEngine);
+ }
+ buildCounterRuntimeMetadata--;
}
buildUnnamed2894() {
- var o = new core.List<api.ReferenceSet>();
- o.add(buildReferenceSet());
- o.add(buildReferenceSet());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed2894(core.List<api.ReferenceSet> o) {
+checkUnnamed2894(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkReferenceSet(o[0]);
- checkReferenceSet(o[1]);
-}
-
-core.int buildCounterSearchReferenceSetsResponse = 0;
-buildSearchReferenceSetsResponse() {
- var o = new api.SearchReferenceSetsResponse();
- buildCounterSearchReferenceSetsResponse++;
- if (buildCounterSearchReferenceSetsResponse < 3) {
- o.nextPageToken = "foo";
- o.referenceSets = buildUnnamed2894();
- }
- buildCounterSearchReferenceSetsResponse--;
- return o;
-}
-
-checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) {
- buildCounterSearchReferenceSetsResponse++;
- if (buildCounterSearchReferenceSetsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2894(o.referenceSets);
- }
- buildCounterSearchReferenceSetsResponse--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed2895() {
@@ -2259,163 +1783,219 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2896() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2896(core.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 buildCounterSearchReferencesRequest = 0;
-buildSearchReferencesRequest() {
- var o = new api.SearchReferencesRequest();
- buildCounterSearchReferencesRequest++;
- if (buildCounterSearchReferencesRequest < 3) {
- o.accessions = buildUnnamed2895();
- o.md5checksums = buildUnnamed2896();
+core.int buildCounterSearchAnnotationSetsRequest = 0;
+buildSearchAnnotationSetsRequest() {
+ var o = new api.SearchAnnotationSetsRequest();
+ buildCounterSearchAnnotationSetsRequest++;
+ if (buildCounterSearchAnnotationSetsRequest < 3) {
+ o.datasetIds = buildUnnamed2894();
+ o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
o.referenceSetId = "foo";
+ o.types = buildUnnamed2895();
}
- buildCounterSearchReferencesRequest--;
+ buildCounterSearchAnnotationSetsRequest--;
return o;
}
-checkSearchReferencesRequest(api.SearchReferencesRequest o) {
- buildCounterSearchReferencesRequest++;
- if (buildCounterSearchReferencesRequest < 3) {
- checkUnnamed2895(o.accessions);
- checkUnnamed2896(o.md5checksums);
+checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) {
+ buildCounterSearchAnnotationSetsRequest++;
+ if (buildCounterSearchAnnotationSetsRequest < 3) {
+ checkUnnamed2894(o.datasetIds);
+ unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
+ checkUnnamed2895(o.types);
}
- buildCounterSearchReferencesRequest--;
+ buildCounterSearchAnnotationSetsRequest--;
+}
+
+buildUnnamed2896() {
+ var o = new core.List<api.AnnotationSet>();
+ o.add(buildAnnotationSet());
+ o.add(buildAnnotationSet());
+ return o;
+}
+
+checkUnnamed2896(core.List<api.AnnotationSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAnnotationSet(o[0]);
+ checkAnnotationSet(o[1]);
+}
+
+core.int buildCounterSearchAnnotationSetsResponse = 0;
+buildSearchAnnotationSetsResponse() {
+ var o = new api.SearchAnnotationSetsResponse();
+ buildCounterSearchAnnotationSetsResponse++;
+ if (buildCounterSearchAnnotationSetsResponse < 3) {
+ o.annotationSets = buildUnnamed2896();
+ o.nextPageToken = "foo";
+ }
+ buildCounterSearchAnnotationSetsResponse--;
+ return o;
+}
+
+checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) {
+ buildCounterSearchAnnotationSetsResponse++;
+ if (buildCounterSearchAnnotationSetsResponse < 3) {
+ checkUnnamed2896(o.annotationSets);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchAnnotationSetsResponse--;
}
buildUnnamed2897() {
- var o = new core.List<api.Reference>();
- o.add(buildReference());
- o.add(buildReference());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed2897(core.List<api.Reference> o) {
+checkUnnamed2897(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkReference(o[0]);
- checkReference(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterSearchReferencesResponse = 0;
-buildSearchReferencesResponse() {
- var o = new api.SearchReferencesResponse();
- buildCounterSearchReferencesResponse++;
- if (buildCounterSearchReferencesResponse < 3) {
- o.nextPageToken = "foo";
- o.references = buildUnnamed2897();
+core.int buildCounterSearchAnnotationsRequest = 0;
+buildSearchAnnotationsRequest() {
+ var o = new api.SearchAnnotationsRequest();
+ buildCounterSearchAnnotationsRequest++;
+ if (buildCounterSearchAnnotationsRequest < 3) {
+ o.annotationSetIds = buildUnnamed2897();
+ o.end = "foo";
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ o.referenceId = "foo";
+ o.referenceName = "foo";
+ o.start = "foo";
}
- buildCounterSearchReferencesResponse--;
+ buildCounterSearchAnnotationsRequest--;
return o;
}
-checkSearchReferencesResponse(api.SearchReferencesResponse o) {
- buildCounterSearchReferencesResponse++;
- if (buildCounterSearchReferencesResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2897(o.references);
+checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) {
+ buildCounterSearchAnnotationsRequest++;
+ if (buildCounterSearchAnnotationsRequest < 3) {
+ checkUnnamed2897(o.annotationSetIds);
+ unittest.expect(o.end, unittest.equals('foo'));
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ unittest.expect(o.referenceId, unittest.equals('foo'));
+ unittest.expect(o.referenceName, unittest.equals('foo'));
+ unittest.expect(o.start, unittest.equals('foo'));
}
- buildCounterSearchReferencesResponse--;
+ buildCounterSearchAnnotationsRequest--;
}
buildUnnamed2898() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<api.Annotation>();
+ o.add(buildAnnotation());
+ o.add(buildAnnotation());
return o;
}
-checkUnnamed2898(core.List<core.String> o) {
+checkUnnamed2898(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkAnnotation(o[0]);
+ checkAnnotation(o[1]);
}
-core.int buildCounterSearchVariantSetsRequest = 0;
-buildSearchVariantSetsRequest() {
- var o = new api.SearchVariantSetsRequest();
- buildCounterSearchVariantSetsRequest++;
- if (buildCounterSearchVariantSetsRequest < 3) {
- o.datasetIds = buildUnnamed2898();
- o.pageSize = 42;
- o.pageToken = "foo";
+core.int buildCounterSearchAnnotationsResponse = 0;
+buildSearchAnnotationsResponse() {
+ var o = new api.SearchAnnotationsResponse();
+ buildCounterSearchAnnotationsResponse++;
+ if (buildCounterSearchAnnotationsResponse < 3) {
+ o.annotations = buildUnnamed2898();
+ o.nextPageToken = "foo";
}
- buildCounterSearchVariantSetsRequest--;
+ buildCounterSearchAnnotationsResponse--;
return o;
}
-checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) {
- buildCounterSearchVariantSetsRequest++;
- if (buildCounterSearchVariantSetsRequest < 3) {
- checkUnnamed2898(o.datasetIds);
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
+checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) {
+ buildCounterSearchAnnotationsResponse++;
+ if (buildCounterSearchAnnotationsResponse < 3) {
+ checkUnnamed2898(o.annotations);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
- buildCounterSearchVariantSetsRequest--;
+ buildCounterSearchAnnotationsResponse--;
}
buildUnnamed2899() {
- var o = new core.List<api.VariantSet>();
- o.add(buildVariantSet());
- o.add(buildVariantSet());
- return o;
-}
-
-checkUnnamed2899(core.List<api.VariantSet> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkVariantSet(o[0]);
- checkVariantSet(o[1]);
-}
-
-core.int buildCounterSearchVariantSetsResponse = 0;
-buildSearchVariantSetsResponse() {
- var o = new api.SearchVariantSetsResponse();
- buildCounterSearchVariantSetsResponse++;
- if (buildCounterSearchVariantSetsResponse < 3) {
- o.nextPageToken = "foo";
- o.variantSets = buildUnnamed2899();
- }
- buildCounterSearchVariantSetsResponse--;
- return o;
-}
-
-checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) {
- buildCounterSearchVariantSetsResponse++;
- if (buildCounterSearchVariantSetsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2899(o.variantSets);
- }
- buildCounterSearchVariantSetsResponse--;
-}
-
-buildUnnamed2900() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2900(core.List<core.String> o) {
+checkUnnamed2899(core.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 buildCounterSearchCallSetsRequest = 0;
+buildSearchCallSetsRequest() {
+ var o = new api.SearchCallSetsRequest();
+ buildCounterSearchCallSetsRequest++;
+ if (buildCounterSearchCallSetsRequest < 3) {
+ o.name = "foo";
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ o.variantSetIds = buildUnnamed2899();
+ }
+ buildCounterSearchCallSetsRequest--;
+ return o;
+}
+
+checkSearchCallSetsRequest(api.SearchCallSetsRequest o) {
+ buildCounterSearchCallSetsRequest++;
+ if (buildCounterSearchCallSetsRequest < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ checkUnnamed2899(o.variantSetIds);
+ }
+ buildCounterSearchCallSetsRequest--;
+}
+
+buildUnnamed2900() {
+ var o = new core.List<api.CallSet>();
+ o.add(buildCallSet());
+ o.add(buildCallSet());
+ return o;
+}
+
+checkUnnamed2900(core.List<api.CallSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCallSet(o[0]);
+ checkCallSet(o[1]);
+}
+
+core.int buildCounterSearchCallSetsResponse = 0;
+buildSearchCallSetsResponse() {
+ var o = new api.SearchCallSetsResponse();
+ buildCounterSearchCallSetsResponse++;
+ if (buildCounterSearchCallSetsResponse < 3) {
+ o.callSets = buildUnnamed2900();
+ o.nextPageToken = "foo";
+ }
+ buildCounterSearchCallSetsResponse--;
+ return o;
+}
+
+checkSearchCallSetsResponse(api.SearchCallSetsResponse o) {
+ buildCounterSearchCallSetsResponse++;
+ if (buildCounterSearchCallSetsResponse < 3) {
+ checkUnnamed2900(o.callSets);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchCallSetsResponse--;
+}
+
buildUnnamed2901() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2429,12 +2009,432 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterSearchReadGroupSetsRequest = 0;
+buildSearchReadGroupSetsRequest() {
+ var o = new api.SearchReadGroupSetsRequest();
+ buildCounterSearchReadGroupSetsRequest++;
+ if (buildCounterSearchReadGroupSetsRequest < 3) {
+ o.datasetIds = buildUnnamed2901();
+ o.name = "foo";
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ }
+ buildCounterSearchReadGroupSetsRequest--;
+ return o;
+}
+
+checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) {
+ buildCounterSearchReadGroupSetsRequest++;
+ if (buildCounterSearchReadGroupSetsRequest < 3) {
+ checkUnnamed2901(o.datasetIds);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchReadGroupSetsRequest--;
+}
+
+buildUnnamed2902() {
+ var o = new core.List<api.ReadGroupSet>();
+ o.add(buildReadGroupSet());
+ o.add(buildReadGroupSet());
+ return o;
+}
+
+checkUnnamed2902(core.List<api.ReadGroupSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReadGroupSet(o[0]);
+ checkReadGroupSet(o[1]);
+}
+
+core.int buildCounterSearchReadGroupSetsResponse = 0;
+buildSearchReadGroupSetsResponse() {
+ var o = new api.SearchReadGroupSetsResponse();
+ buildCounterSearchReadGroupSetsResponse++;
+ if (buildCounterSearchReadGroupSetsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.readGroupSets = buildUnnamed2902();
+ }
+ buildCounterSearchReadGroupSetsResponse--;
+ return o;
+}
+
+checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) {
+ buildCounterSearchReadGroupSetsResponse++;
+ if (buildCounterSearchReadGroupSetsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2902(o.readGroupSets);
+ }
+ buildCounterSearchReadGroupSetsResponse--;
+}
+
+buildUnnamed2903() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2903(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2904() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2904(core.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 buildCounterSearchReadsRequest = 0;
+buildSearchReadsRequest() {
+ var o = new api.SearchReadsRequest();
+ buildCounterSearchReadsRequest++;
+ if (buildCounterSearchReadsRequest < 3) {
+ o.end = "foo";
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ o.readGroupIds = buildUnnamed2903();
+ o.readGroupSetIds = buildUnnamed2904();
+ o.referenceName = "foo";
+ o.start = "foo";
+ }
+ buildCounterSearchReadsRequest--;
+ return o;
+}
+
+checkSearchReadsRequest(api.SearchReadsRequest o) {
+ buildCounterSearchReadsRequest++;
+ if (buildCounterSearchReadsRequest < 3) {
+ unittest.expect(o.end, unittest.equals('foo'));
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ checkUnnamed2903(o.readGroupIds);
+ checkUnnamed2904(o.readGroupSetIds);
+ unittest.expect(o.referenceName, unittest.equals('foo'));
+ unittest.expect(o.start, unittest.equals('foo'));
+ }
+ buildCounterSearchReadsRequest--;
+}
+
+buildUnnamed2905() {
+ var o = new core.List<api.Read>();
+ o.add(buildRead());
+ o.add(buildRead());
+ return o;
+}
+
+checkUnnamed2905(core.List<api.Read> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRead(o[0]);
+ checkRead(o[1]);
+}
+
+core.int buildCounterSearchReadsResponse = 0;
+buildSearchReadsResponse() {
+ var o = new api.SearchReadsResponse();
+ buildCounterSearchReadsResponse++;
+ if (buildCounterSearchReadsResponse < 3) {
+ o.alignments = buildUnnamed2905();
+ o.nextPageToken = "foo";
+ }
+ buildCounterSearchReadsResponse--;
+ return o;
+}
+
+checkSearchReadsResponse(api.SearchReadsResponse o) {
+ buildCounterSearchReadsResponse++;
+ if (buildCounterSearchReadsResponse < 3) {
+ checkUnnamed2905(o.alignments);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchReadsResponse--;
+}
+
+buildUnnamed2906() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2906(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2907() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2907(core.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 buildCounterSearchReferenceSetsRequest = 0;
+buildSearchReferenceSetsRequest() {
+ var o = new api.SearchReferenceSetsRequest();
+ buildCounterSearchReferenceSetsRequest++;
+ if (buildCounterSearchReferenceSetsRequest < 3) {
+ o.accessions = buildUnnamed2906();
+ o.assemblyId = "foo";
+ o.md5checksums = buildUnnamed2907();
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ }
+ buildCounterSearchReferenceSetsRequest--;
+ return o;
+}
+
+checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) {
+ buildCounterSearchReferenceSetsRequest++;
+ if (buildCounterSearchReferenceSetsRequest < 3) {
+ checkUnnamed2906(o.accessions);
+ unittest.expect(o.assemblyId, unittest.equals('foo'));
+ checkUnnamed2907(o.md5checksums);
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchReferenceSetsRequest--;
+}
+
+buildUnnamed2908() {
+ var o = new core.List<api.ReferenceSet>();
+ o.add(buildReferenceSet());
+ o.add(buildReferenceSet());
+ return o;
+}
+
+checkUnnamed2908(core.List<api.ReferenceSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReferenceSet(o[0]);
+ checkReferenceSet(o[1]);
+}
+
+core.int buildCounterSearchReferenceSetsResponse = 0;
+buildSearchReferenceSetsResponse() {
+ var o = new api.SearchReferenceSetsResponse();
+ buildCounterSearchReferenceSetsResponse++;
+ if (buildCounterSearchReferenceSetsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.referenceSets = buildUnnamed2908();
+ }
+ buildCounterSearchReferenceSetsResponse--;
+ return o;
+}
+
+checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) {
+ buildCounterSearchReferenceSetsResponse++;
+ if (buildCounterSearchReferenceSetsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2908(o.referenceSets);
+ }
+ buildCounterSearchReferenceSetsResponse--;
+}
+
+buildUnnamed2909() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2909(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2910() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2910(core.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 buildCounterSearchReferencesRequest = 0;
+buildSearchReferencesRequest() {
+ var o = new api.SearchReferencesRequest();
+ buildCounterSearchReferencesRequest++;
+ if (buildCounterSearchReferencesRequest < 3) {
+ o.accessions = buildUnnamed2909();
+ o.md5checksums = buildUnnamed2910();
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ o.referenceSetId = "foo";
+ }
+ buildCounterSearchReferencesRequest--;
+ return o;
+}
+
+checkSearchReferencesRequest(api.SearchReferencesRequest o) {
+ buildCounterSearchReferencesRequest++;
+ if (buildCounterSearchReferencesRequest < 3) {
+ checkUnnamed2909(o.accessions);
+ checkUnnamed2910(o.md5checksums);
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ unittest.expect(o.referenceSetId, unittest.equals('foo'));
+ }
+ buildCounterSearchReferencesRequest--;
+}
+
+buildUnnamed2911() {
+ var o = new core.List<api.Reference>();
+ o.add(buildReference());
+ o.add(buildReference());
+ return o;
+}
+
+checkUnnamed2911(core.List<api.Reference> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReference(o[0]);
+ checkReference(o[1]);
+}
+
+core.int buildCounterSearchReferencesResponse = 0;
+buildSearchReferencesResponse() {
+ var o = new api.SearchReferencesResponse();
+ buildCounterSearchReferencesResponse++;
+ if (buildCounterSearchReferencesResponse < 3) {
+ o.nextPageToken = "foo";
+ o.references = buildUnnamed2911();
+ }
+ buildCounterSearchReferencesResponse--;
+ return o;
+}
+
+checkSearchReferencesResponse(api.SearchReferencesResponse o) {
+ buildCounterSearchReferencesResponse++;
+ if (buildCounterSearchReferencesResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2911(o.references);
+ }
+ buildCounterSearchReferencesResponse--;
+}
+
+buildUnnamed2912() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2912(core.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 buildCounterSearchVariantSetsRequest = 0;
+buildSearchVariantSetsRequest() {
+ var o = new api.SearchVariantSetsRequest();
+ buildCounterSearchVariantSetsRequest++;
+ if (buildCounterSearchVariantSetsRequest < 3) {
+ o.datasetIds = buildUnnamed2912();
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ }
+ buildCounterSearchVariantSetsRequest--;
+ return o;
+}
+
+checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) {
+ buildCounterSearchVariantSetsRequest++;
+ if (buildCounterSearchVariantSetsRequest < 3) {
+ checkUnnamed2912(o.datasetIds);
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchVariantSetsRequest--;
+}
+
+buildUnnamed2913() {
+ var o = new core.List<api.VariantSet>();
+ o.add(buildVariantSet());
+ o.add(buildVariantSet());
+ return o;
+}
+
+checkUnnamed2913(core.List<api.VariantSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkVariantSet(o[0]);
+ checkVariantSet(o[1]);
+}
+
+core.int buildCounterSearchVariantSetsResponse = 0;
+buildSearchVariantSetsResponse() {
+ var o = new api.SearchVariantSetsResponse();
+ buildCounterSearchVariantSetsResponse++;
+ if (buildCounterSearchVariantSetsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.variantSets = buildUnnamed2913();
+ }
+ buildCounterSearchVariantSetsResponse--;
+ return o;
+}
+
+checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) {
+ buildCounterSearchVariantSetsResponse++;
+ if (buildCounterSearchVariantSetsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2913(o.variantSets);
+ }
+ buildCounterSearchVariantSetsResponse--;
+}
+
+buildUnnamed2914() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2914(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2915() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2915(core.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 buildCounterSearchVariantsRequest = 0;
buildSearchVariantsRequest() {
var o = new api.SearchVariantsRequest();
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- o.callSetIds = buildUnnamed2900();
+ o.callSetIds = buildUnnamed2914();
o.end = "foo";
o.maxCalls = 42;
o.pageSize = 42;
@@ -2442,7 +2442,7 @@
o.referenceName = "foo";
o.start = "foo";
o.variantName = "foo";
- o.variantSetIds = buildUnnamed2901();
+ o.variantSetIds = buildUnnamed2915();
}
buildCounterSearchVariantsRequest--;
return o;
@@ -2451,7 +2451,7 @@
checkSearchVariantsRequest(api.SearchVariantsRequest o) {
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- checkUnnamed2900(o.callSetIds);
+ checkUnnamed2914(o.callSetIds);
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.maxCalls, unittest.equals(42));
unittest.expect(o.pageSize, unittest.equals(42));
@@ -2459,19 +2459,19 @@
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
unittest.expect(o.variantName, unittest.equals('foo'));
- checkUnnamed2901(o.variantSetIds);
+ checkUnnamed2915(o.variantSetIds);
}
buildCounterSearchVariantsRequest--;
}
-buildUnnamed2902() {
+buildUnnamed2916() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed2902(core.List<api.Variant> o) {
+checkUnnamed2916(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -2483,7 +2483,7 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
o.nextPageToken = "foo";
- o.variants = buildUnnamed2902();
+ o.variants = buildUnnamed2916();
}
buildCounterSearchVariantsResponse--;
return o;
@@ -2493,7 +2493,7 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2902(o.variants);
+ checkUnnamed2916(o.variants);
}
buildCounterSearchVariantsResponse--;
}
@@ -2517,30 +2517,30 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed2903() {
+buildUnnamed2917() {
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;
}
-checkUnnamed2903(core.Map<core.String, core.Object> o) {
+checkUnnamed2917(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string"], unittest.equals('foo'));
var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string"], unittest.equals('foo'));
}
-buildUnnamed2904() {
+buildUnnamed2918() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2903());
- o.add(buildUnnamed2903());
+ o.add(buildUnnamed2917());
+ o.add(buildUnnamed2917());
return o;
}
-checkUnnamed2904(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2918(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2903(o[0]);
- checkUnnamed2903(o[1]);
+ checkUnnamed2917(o[0]);
+ checkUnnamed2917(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2549,7 +2549,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2904();
+ o.details = buildUnnamed2918();
o.message = "foo";
}
buildCounterStatus--;
@@ -2560,20 +2560,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2904(o.details);
+ checkUnnamed2918(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2905() {
+buildUnnamed2919() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2905(core.List<core.String> o) {
+checkUnnamed2919(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2584,7 +2584,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2905();
+ o.permissions = buildUnnamed2919();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -2593,19 +2593,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2905(o.permissions);
+ checkUnnamed2919(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed2906() {
+buildUnnamed2920() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2906(core.List<core.String> o) {
+checkUnnamed2920(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2616,7 +2616,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2906();
+ o.permissions = buildUnnamed2920();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -2625,19 +2625,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2906(o.permissions);
+ checkUnnamed2920(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed2907() {
+buildUnnamed2921() {
var o = new core.List<api.Exon>();
o.add(buildExon());
o.add(buildExon());
return o;
}
-checkUnnamed2907(core.List<api.Exon> o) {
+checkUnnamed2921(core.List<api.Exon> o) {
unittest.expect(o, unittest.hasLength(2));
checkExon(o[0]);
checkExon(o[1]);
@@ -2649,7 +2649,7 @@
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
o.codingSequence = buildCodingSequence();
- o.exons = buildUnnamed2907();
+ o.exons = buildUnnamed2921();
o.geneId = "foo";
}
buildCounterTranscript--;
@@ -2660,7 +2660,7 @@
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
checkCodingSequence(o.codingSequence);
- checkUnnamed2907(o.exons);
+ checkUnnamed2921(o.exons);
unittest.expect(o.geneId, unittest.equals('foo'));
}
buildCounterTranscript--;
@@ -2683,79 +2683,79 @@
buildCounterUndeleteDatasetRequest--;
}
-buildUnnamed2908() {
+buildUnnamed2922() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2908(core.List<core.String> o) {
+checkUnnamed2922(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2909() {
+buildUnnamed2923() {
var o = new core.List<api.VariantCall>();
o.add(buildVariantCall());
o.add(buildVariantCall());
return o;
}
-checkUnnamed2909(core.List<api.VariantCall> o) {
+checkUnnamed2923(core.List<api.VariantCall> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantCall(o[0]);
checkVariantCall(o[1]);
}
-buildUnnamed2910() {
+buildUnnamed2924() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2910(core.List<core.String> o) {
+checkUnnamed2924(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2911() {
+buildUnnamed2925() {
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;
}
-checkUnnamed2911(core.List<core.Object> o) {
+checkUnnamed2925(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string"], unittest.equals('foo'));
var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed2912() {
+buildUnnamed2926() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2911();
- o["y"] = buildUnnamed2911();
+ o["x"] = buildUnnamed2925();
+ o["y"] = buildUnnamed2925();
return o;
}
-checkUnnamed2912(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2926(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2911(o["x"]);
- checkUnnamed2911(o["y"]);
+ checkUnnamed2925(o["x"]);
+ checkUnnamed2925(o["y"]);
}
-buildUnnamed2913() {
+buildUnnamed2927() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2913(core.List<core.String> o) {
+checkUnnamed2927(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2766,14 +2766,14 @@
var o = new api.Variant();
buildCounterVariant++;
if (buildCounterVariant < 3) {
- o.alternateBases = buildUnnamed2908();
- o.calls = buildUnnamed2909();
+ o.alternateBases = buildUnnamed2922();
+ o.calls = buildUnnamed2923();
o.created = "foo";
o.end = "foo";
- o.filter = buildUnnamed2910();
+ o.filter = buildUnnamed2924();
o.id = "foo";
- o.info = buildUnnamed2912();
- o.names = buildUnnamed2913();
+ o.info = buildUnnamed2926();
+ o.names = buildUnnamed2927();
o.quality = 42.0;
o.referenceBases = "foo";
o.referenceName = "foo";
@@ -2787,14 +2787,14 @@
checkVariant(api.Variant o) {
buildCounterVariant++;
if (buildCounterVariant < 3) {
- checkUnnamed2908(o.alternateBases);
- checkUnnamed2909(o.calls);
+ checkUnnamed2922(o.alternateBases);
+ checkUnnamed2923(o.calls);
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
- checkUnnamed2910(o.filter);
+ checkUnnamed2924(o.filter);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2912(o.info);
- checkUnnamed2913(o.names);
+ checkUnnamed2926(o.info);
+ checkUnnamed2927(o.names);
unittest.expect(o.quality, unittest.equals(42.0));
unittest.expect(o.referenceBases, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -2804,27 +2804,27 @@
buildCounterVariant--;
}
-buildUnnamed2914() {
+buildUnnamed2928() {
var o = new core.List<api.ClinicalCondition>();
o.add(buildClinicalCondition());
o.add(buildClinicalCondition());
return o;
}
-checkUnnamed2914(core.List<api.ClinicalCondition> o) {
+checkUnnamed2928(core.List<api.ClinicalCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkClinicalCondition(o[0]);
checkClinicalCondition(o[1]);
}
-buildUnnamed2915() {
+buildUnnamed2929() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2915(core.List<core.String> o) {
+checkUnnamed2929(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2837,10 +2837,10 @@
if (buildCounterVariantAnnotation < 3) {
o.alternateBases = "foo";
o.clinicalSignificance = "foo";
- o.conditions = buildUnnamed2914();
+ o.conditions = buildUnnamed2928();
o.effect = "foo";
o.geneId = "foo";
- o.transcriptIds = buildUnnamed2915();
+ o.transcriptIds = buildUnnamed2929();
o.type = "foo";
}
buildCounterVariantAnnotation--;
@@ -2852,65 +2852,65 @@
if (buildCounterVariantAnnotation < 3) {
unittest.expect(o.alternateBases, unittest.equals('foo'));
unittest.expect(o.clinicalSignificance, unittest.equals('foo'));
- checkUnnamed2914(o.conditions);
+ checkUnnamed2928(o.conditions);
unittest.expect(o.effect, unittest.equals('foo'));
unittest.expect(o.geneId, unittest.equals('foo'));
- checkUnnamed2915(o.transcriptIds);
+ checkUnnamed2929(o.transcriptIds);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterVariantAnnotation--;
}
-buildUnnamed2916() {
+buildUnnamed2930() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2916(core.List<core.int> o) {
+checkUnnamed2930(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));
}
-buildUnnamed2917() {
+buildUnnamed2931() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2917(core.List<core.double> o) {
+checkUnnamed2931(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));
}
-buildUnnamed2918() {
+buildUnnamed2932() {
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;
}
-checkUnnamed2918(core.List<core.Object> o) {
+checkUnnamed2932(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o[0]) as core.Map; unittest.expect(casted25, unittest.hasLength(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string"], unittest.equals('foo'));
var casted26 = (o[1]) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string"], unittest.equals('foo'));
}
-buildUnnamed2919() {
+buildUnnamed2933() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2918();
- o["y"] = buildUnnamed2918();
+ o["x"] = buildUnnamed2932();
+ o["y"] = buildUnnamed2932();
return o;
}
-checkUnnamed2919(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2933(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2918(o["x"]);
- checkUnnamed2918(o["y"]);
+ checkUnnamed2932(o["x"]);
+ checkUnnamed2932(o["y"]);
}
core.int buildCounterVariantCall = 0;
@@ -2920,9 +2920,9 @@
if (buildCounterVariantCall < 3) {
o.callSetId = "foo";
o.callSetName = "foo";
- o.genotype = buildUnnamed2916();
- o.genotypeLikelihood = buildUnnamed2917();
- o.info = buildUnnamed2919();
+ o.genotype = buildUnnamed2930();
+ o.genotypeLikelihood = buildUnnamed2931();
+ o.info = buildUnnamed2933();
o.phaseset = "foo";
}
buildCounterVariantCall--;
@@ -2934,35 +2934,35 @@
if (buildCounterVariantCall < 3) {
unittest.expect(o.callSetId, unittest.equals('foo'));
unittest.expect(o.callSetName, unittest.equals('foo'));
- checkUnnamed2916(o.genotype);
- checkUnnamed2917(o.genotypeLikelihood);
- checkUnnamed2919(o.info);
+ checkUnnamed2930(o.genotype);
+ checkUnnamed2931(o.genotypeLikelihood);
+ checkUnnamed2933(o.info);
unittest.expect(o.phaseset, unittest.equals('foo'));
}
buildCounterVariantCall--;
}
-buildUnnamed2920() {
+buildUnnamed2934() {
var o = new core.List<api.VariantSetMetadata>();
o.add(buildVariantSetMetadata());
o.add(buildVariantSetMetadata());
return o;
}
-checkUnnamed2920(core.List<api.VariantSetMetadata> o) {
+checkUnnamed2934(core.List<api.VariantSetMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantSetMetadata(o[0]);
checkVariantSetMetadata(o[1]);
}
-buildUnnamed2921() {
+buildUnnamed2935() {
var o = new core.List<api.ReferenceBound>();
o.add(buildReferenceBound());
o.add(buildReferenceBound());
return o;
}
-checkUnnamed2921(core.List<api.ReferenceBound> o) {
+checkUnnamed2935(core.List<api.ReferenceBound> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceBound(o[0]);
checkReferenceBound(o[1]);
@@ -2976,9 +2976,9 @@
o.datasetId = "foo";
o.description = "foo";
o.id = "foo";
- o.metadata = buildUnnamed2920();
+ o.metadata = buildUnnamed2934();
o.name = "foo";
- o.referenceBounds = buildUnnamed2921();
+ o.referenceBounds = buildUnnamed2935();
o.referenceSetId = "foo";
}
buildCounterVariantSet--;
@@ -2991,38 +2991,38 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2920(o.metadata);
+ checkUnnamed2934(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2921(o.referenceBounds);
+ checkUnnamed2935(o.referenceBounds);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterVariantSet--;
}
-buildUnnamed2922() {
+buildUnnamed2936() {
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;
}
-checkUnnamed2922(core.List<core.Object> o) {
+checkUnnamed2936(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o[0]) as core.Map; unittest.expect(casted27, unittest.hasLength(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string"], unittest.equals('foo'));
var casted28 = (o[1]) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed2923() {
+buildUnnamed2937() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2922();
- o["y"] = buildUnnamed2922();
+ o["x"] = buildUnnamed2936();
+ o["y"] = buildUnnamed2936();
return o;
}
-checkUnnamed2923(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2937(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2922(o["x"]);
- checkUnnamed2922(o["y"]);
+ checkUnnamed2936(o["x"]);
+ checkUnnamed2936(o["y"]);
}
core.int buildCounterVariantSetMetadata = 0;
@@ -3032,7 +3032,7 @@
if (buildCounterVariantSetMetadata < 3) {
o.description = "foo";
o.id = "foo";
- o.info = buildUnnamed2923();
+ o.info = buildUnnamed2937();
o.key = "foo";
o.number = "foo";
o.type = "foo";
@@ -3047,7 +3047,7 @@
if (buildCounterVariantSetMetadata < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2923(o.info);
+ checkUnnamed2937(o.info);
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -5055,9 +5055,9 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.GenomicsApi(mock).operations;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5085,9 +5085,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -5096,7 +5096,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -5410,12 +5410,12 @@
var mock = new HttpServerMock();
api.ReadgroupsetsCoveragebucketsResourceApi res = new api.GenomicsApi(mock).readgroupsets.coveragebuckets;
var arg_readGroupSetId = "foo";
- var arg_referenceName = "foo";
- var arg_end = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_start = "foo";
var arg_targetBucketWidth = "foo";
+ var arg_referenceName = "foo";
+ var arg_end = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5449,12 +5449,12 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["referenceName"].first, unittest.equals(arg_referenceName));
- unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
unittest.expect(queryMap["targetBucketWidth"].first, unittest.equals(arg_targetBucketWidth));
+ unittest.expect(queryMap["referenceName"].first, unittest.equals(arg_referenceName));
+ unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
var h = {
@@ -5463,7 +5463,7 @@
var resp = convert.JSON.encode(buildListCoverageBucketsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_readGroupSetId, referenceName: arg_referenceName, end: arg_end, pageToken: arg_pageToken, pageSize: arg_pageSize, start: arg_start, targetBucketWidth: arg_targetBucketWidth).then(unittest.expectAsync(((api.ListCoverageBucketsResponse response) {
+ res.list(arg_readGroupSetId, pageToken: arg_pageToken, pageSize: arg_pageSize, start: arg_start, targetBucketWidth: arg_targetBucketWidth, referenceName: arg_referenceName, end: arg_end).then(unittest.expectAsync(((api.ListCoverageBucketsResponse response) {
checkListCoverageBucketsResponse(response);
})));
});
@@ -5626,10 +5626,10 @@
var mock = new HttpServerMock();
api.ReferencesBasesResourceApi res = new api.GenomicsApi(mock).references.bases;
var arg_referenceId = "foo";
- var arg_start = "foo";
- var arg_end = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_start = "foo";
+ var arg_end = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5663,10 +5663,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
- unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
+ unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
var h = {
@@ -5675,7 +5675,7 @@
var resp = convert.JSON.encode(buildListBasesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_referenceId, start: arg_start, end: arg_end, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListBasesResponse response) {
+ res.list(arg_referenceId, pageToken: arg_pageToken, pageSize: arg_pageSize, start: arg_start, end: arg_end).then(unittest.expectAsync(((api.ListBasesResponse response) {
checkListBasesResponse(response);
})));
});
diff --git a/generated/googleapis/test/gmail/v1_test.dart b/generated/googleapis/test/gmail/v1_test.dart
index 743ca82..d8dcf3d 100644
--- a/generated/googleapis/test/gmail/v1_test.dart
+++ b/generated/googleapis/test/gmail/v1_test.dart
@@ -74,6 +74,51 @@
buildCounterAutoForwarding--;
}
+buildUnnamed117() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed117(core.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 buildCounterBatchDeleteMessagesRequest = 0;
+buildBatchDeleteMessagesRequest() {
+ var o = new api.BatchDeleteMessagesRequest();
+ buildCounterBatchDeleteMessagesRequest++;
+ if (buildCounterBatchDeleteMessagesRequest < 3) {
+ o.ids = buildUnnamed117();
+ }
+ buildCounterBatchDeleteMessagesRequest--;
+ return o;
+}
+
+checkBatchDeleteMessagesRequest(api.BatchDeleteMessagesRequest o) {
+ buildCounterBatchDeleteMessagesRequest++;
+ if (buildCounterBatchDeleteMessagesRequest < 3) {
+ checkUnnamed117(o.ids);
+ }
+ buildCounterBatchDeleteMessagesRequest--;
+}
+
+buildUnnamed118() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed118(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
buildUnnamed119() {
var o = new core.List<core.String>();
o.add("foo");
@@ -87,25 +132,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterBatchDeleteMessagesRequest = 0;
-buildBatchDeleteMessagesRequest() {
- var o = new api.BatchDeleteMessagesRequest();
- buildCounterBatchDeleteMessagesRequest++;
- if (buildCounterBatchDeleteMessagesRequest < 3) {
- o.ids = buildUnnamed119();
- }
- buildCounterBatchDeleteMessagesRequest--;
- return o;
-}
-
-checkBatchDeleteMessagesRequest(api.BatchDeleteMessagesRequest o) {
- buildCounterBatchDeleteMessagesRequest++;
- if (buildCounterBatchDeleteMessagesRequest < 3) {
- checkUnnamed119(o.ids);
- }
- buildCounterBatchDeleteMessagesRequest--;
-}
-
buildUnnamed120() {
var o = new core.List<core.String>();
o.add("foo");
@@ -119,40 +145,14 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed121() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed121(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed122() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed122(core.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 buildCounterBatchModifyMessagesRequest = 0;
buildBatchModifyMessagesRequest() {
var o = new api.BatchModifyMessagesRequest();
buildCounterBatchModifyMessagesRequest++;
if (buildCounterBatchModifyMessagesRequest < 3) {
- o.addLabelIds = buildUnnamed120();
- o.ids = buildUnnamed121();
- o.removeLabelIds = buildUnnamed122();
+ o.addLabelIds = buildUnnamed118();
+ o.ids = buildUnnamed119();
+ o.removeLabelIds = buildUnnamed120();
}
buildCounterBatchModifyMessagesRequest--;
return o;
@@ -161,9 +161,9 @@
checkBatchModifyMessagesRequest(api.BatchModifyMessagesRequest o) {
buildCounterBatchModifyMessagesRequest++;
if (buildCounterBatchModifyMessagesRequest < 3) {
- checkUnnamed120(o.addLabelIds);
- checkUnnamed121(o.ids);
- checkUnnamed122(o.removeLabelIds);
+ checkUnnamed118(o.addLabelIds);
+ checkUnnamed119(o.ids);
+ checkUnnamed120(o.removeLabelIds);
}
buildCounterBatchModifyMessagesRequest--;
}
@@ -212,27 +212,27 @@
buildCounterFilter--;
}
-buildUnnamed123() {
+buildUnnamed121() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed123(core.List<core.String> o) {
+checkUnnamed121(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed124() {
+buildUnnamed122() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed124(core.List<core.String> o) {
+checkUnnamed122(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -243,9 +243,9 @@
var o = new api.FilterAction();
buildCounterFilterAction++;
if (buildCounterFilterAction < 3) {
- o.addLabelIds = buildUnnamed123();
+ o.addLabelIds = buildUnnamed121();
o.forward = "foo";
- o.removeLabelIds = buildUnnamed124();
+ o.removeLabelIds = buildUnnamed122();
}
buildCounterFilterAction--;
return o;
@@ -254,9 +254,9 @@
checkFilterAction(api.FilterAction o) {
buildCounterFilterAction++;
if (buildCounterFilterAction < 3) {
- checkUnnamed123(o.addLabelIds);
+ checkUnnamed121(o.addLabelIds);
unittest.expect(o.forward, unittest.equals('foo'));
- checkUnnamed124(o.removeLabelIds);
+ checkUnnamed122(o.removeLabelIds);
}
buildCounterFilterAction--;
}
@@ -317,66 +317,66 @@
buildCounterForwardingAddress--;
}
-buildUnnamed125() {
+buildUnnamed123() {
var o = new core.List<api.HistoryLabelAdded>();
o.add(buildHistoryLabelAdded());
o.add(buildHistoryLabelAdded());
return o;
}
-checkUnnamed125(core.List<api.HistoryLabelAdded> o) {
+checkUnnamed123(core.List<api.HistoryLabelAdded> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryLabelAdded(o[0]);
checkHistoryLabelAdded(o[1]);
}
-buildUnnamed126() {
+buildUnnamed124() {
var o = new core.List<api.HistoryLabelRemoved>();
o.add(buildHistoryLabelRemoved());
o.add(buildHistoryLabelRemoved());
return o;
}
-checkUnnamed126(core.List<api.HistoryLabelRemoved> o) {
+checkUnnamed124(core.List<api.HistoryLabelRemoved> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryLabelRemoved(o[0]);
checkHistoryLabelRemoved(o[1]);
}
-buildUnnamed127() {
+buildUnnamed125() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed127(core.List<api.Message> o) {
+checkUnnamed125(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
}
-buildUnnamed128() {
+buildUnnamed126() {
var o = new core.List<api.HistoryMessageAdded>();
o.add(buildHistoryMessageAdded());
o.add(buildHistoryMessageAdded());
return o;
}
-checkUnnamed128(core.List<api.HistoryMessageAdded> o) {
+checkUnnamed126(core.List<api.HistoryMessageAdded> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryMessageAdded(o[0]);
checkHistoryMessageAdded(o[1]);
}
-buildUnnamed129() {
+buildUnnamed127() {
var o = new core.List<api.HistoryMessageDeleted>();
o.add(buildHistoryMessageDeleted());
o.add(buildHistoryMessageDeleted());
return o;
}
-checkUnnamed129(core.List<api.HistoryMessageDeleted> o) {
+checkUnnamed127(core.List<api.HistoryMessageDeleted> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryMessageDeleted(o[0]);
checkHistoryMessageDeleted(o[1]);
@@ -388,11 +388,11 @@
buildCounterHistory++;
if (buildCounterHistory < 3) {
o.id = "foo";
- o.labelsAdded = buildUnnamed125();
- o.labelsRemoved = buildUnnamed126();
- o.messages = buildUnnamed127();
- o.messagesAdded = buildUnnamed128();
- o.messagesDeleted = buildUnnamed129();
+ o.labelsAdded = buildUnnamed123();
+ o.labelsRemoved = buildUnnamed124();
+ o.messages = buildUnnamed125();
+ o.messagesAdded = buildUnnamed126();
+ o.messagesDeleted = buildUnnamed127();
}
buildCounterHistory--;
return o;
@@ -402,23 +402,23 @@
buildCounterHistory++;
if (buildCounterHistory < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed125(o.labelsAdded);
- checkUnnamed126(o.labelsRemoved);
- checkUnnamed127(o.messages);
- checkUnnamed128(o.messagesAdded);
- checkUnnamed129(o.messagesDeleted);
+ checkUnnamed123(o.labelsAdded);
+ checkUnnamed124(o.labelsRemoved);
+ checkUnnamed125(o.messages);
+ checkUnnamed126(o.messagesAdded);
+ checkUnnamed127(o.messagesDeleted);
}
buildCounterHistory--;
}
-buildUnnamed130() {
+buildUnnamed128() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed130(core.List<core.String> o) {
+checkUnnamed128(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -429,7 +429,7 @@
var o = new api.HistoryLabelAdded();
buildCounterHistoryLabelAdded++;
if (buildCounterHistoryLabelAdded < 3) {
- o.labelIds = buildUnnamed130();
+ o.labelIds = buildUnnamed128();
o.message = buildMessage();
}
buildCounterHistoryLabelAdded--;
@@ -439,20 +439,20 @@
checkHistoryLabelAdded(api.HistoryLabelAdded o) {
buildCounterHistoryLabelAdded++;
if (buildCounterHistoryLabelAdded < 3) {
- checkUnnamed130(o.labelIds);
+ checkUnnamed128(o.labelIds);
checkMessage(o.message);
}
buildCounterHistoryLabelAdded--;
}
-buildUnnamed131() {
+buildUnnamed129() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed131(core.List<core.String> o) {
+checkUnnamed129(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -463,7 +463,7 @@
var o = new api.HistoryLabelRemoved();
buildCounterHistoryLabelRemoved++;
if (buildCounterHistoryLabelRemoved < 3) {
- o.labelIds = buildUnnamed131();
+ o.labelIds = buildUnnamed129();
o.message = buildMessage();
}
buildCounterHistoryLabelRemoved--;
@@ -473,7 +473,7 @@
checkHistoryLabelRemoved(api.HistoryLabelRemoved o) {
buildCounterHistoryLabelRemoved++;
if (buildCounterHistoryLabelRemoved < 3) {
- checkUnnamed131(o.labelIds);
+ checkUnnamed129(o.labelIds);
checkMessage(o.message);
}
buildCounterHistoryLabelRemoved--;
@@ -577,14 +577,14 @@
buildCounterLabel--;
}
-buildUnnamed132() {
+buildUnnamed130() {
var o = new core.List<api.Draft>();
o.add(buildDraft());
o.add(buildDraft());
return o;
}
-checkUnnamed132(core.List<api.Draft> o) {
+checkUnnamed130(core.List<api.Draft> o) {
unittest.expect(o, unittest.hasLength(2));
checkDraft(o[0]);
checkDraft(o[1]);
@@ -595,7 +595,7 @@
var o = new api.ListDraftsResponse();
buildCounterListDraftsResponse++;
if (buildCounterListDraftsResponse < 3) {
- o.drafts = buildUnnamed132();
+ o.drafts = buildUnnamed130();
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
}
@@ -606,21 +606,21 @@
checkListDraftsResponse(api.ListDraftsResponse o) {
buildCounterListDraftsResponse++;
if (buildCounterListDraftsResponse < 3) {
- checkUnnamed132(o.drafts);
+ checkUnnamed130(o.drafts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
}
buildCounterListDraftsResponse--;
}
-buildUnnamed133() {
+buildUnnamed131() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed133(core.List<api.Filter> o) {
+checkUnnamed131(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -631,7 +631,7 @@
var o = new api.ListFiltersResponse();
buildCounterListFiltersResponse++;
if (buildCounterListFiltersResponse < 3) {
- o.filter = buildUnnamed133();
+ o.filter = buildUnnamed131();
}
buildCounterListFiltersResponse--;
return o;
@@ -640,19 +640,19 @@
checkListFiltersResponse(api.ListFiltersResponse o) {
buildCounterListFiltersResponse++;
if (buildCounterListFiltersResponse < 3) {
- checkUnnamed133(o.filter);
+ checkUnnamed131(o.filter);
}
buildCounterListFiltersResponse--;
}
-buildUnnamed134() {
+buildUnnamed132() {
var o = new core.List<api.ForwardingAddress>();
o.add(buildForwardingAddress());
o.add(buildForwardingAddress());
return o;
}
-checkUnnamed134(core.List<api.ForwardingAddress> o) {
+checkUnnamed132(core.List<api.ForwardingAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingAddress(o[0]);
checkForwardingAddress(o[1]);
@@ -663,7 +663,7 @@
var o = new api.ListForwardingAddressesResponse();
buildCounterListForwardingAddressesResponse++;
if (buildCounterListForwardingAddressesResponse < 3) {
- o.forwardingAddresses = buildUnnamed134();
+ o.forwardingAddresses = buildUnnamed132();
}
buildCounterListForwardingAddressesResponse--;
return o;
@@ -672,19 +672,19 @@
checkListForwardingAddressesResponse(api.ListForwardingAddressesResponse o) {
buildCounterListForwardingAddressesResponse++;
if (buildCounterListForwardingAddressesResponse < 3) {
- checkUnnamed134(o.forwardingAddresses);
+ checkUnnamed132(o.forwardingAddresses);
}
buildCounterListForwardingAddressesResponse--;
}
-buildUnnamed135() {
+buildUnnamed133() {
var o = new core.List<api.History>();
o.add(buildHistory());
o.add(buildHistory());
return o;
}
-checkUnnamed135(core.List<api.History> o) {
+checkUnnamed133(core.List<api.History> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistory(o[0]);
checkHistory(o[1]);
@@ -695,7 +695,7 @@
var o = new api.ListHistoryResponse();
buildCounterListHistoryResponse++;
if (buildCounterListHistoryResponse < 3) {
- o.history = buildUnnamed135();
+ o.history = buildUnnamed133();
o.historyId = "foo";
o.nextPageToken = "foo";
}
@@ -706,21 +706,21 @@
checkListHistoryResponse(api.ListHistoryResponse o) {
buildCounterListHistoryResponse++;
if (buildCounterListHistoryResponse < 3) {
- checkUnnamed135(o.history);
+ checkUnnamed133(o.history);
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListHistoryResponse--;
}
-buildUnnamed136() {
+buildUnnamed134() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed136(core.List<api.Label> o) {
+checkUnnamed134(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
@@ -731,7 +731,7 @@
var o = new api.ListLabelsResponse();
buildCounterListLabelsResponse++;
if (buildCounterListLabelsResponse < 3) {
- o.labels = buildUnnamed136();
+ o.labels = buildUnnamed134();
}
buildCounterListLabelsResponse--;
return o;
@@ -740,19 +740,19 @@
checkListLabelsResponse(api.ListLabelsResponse o) {
buildCounterListLabelsResponse++;
if (buildCounterListLabelsResponse < 3) {
- checkUnnamed136(o.labels);
+ checkUnnamed134(o.labels);
}
buildCounterListLabelsResponse--;
}
-buildUnnamed137() {
+buildUnnamed135() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed137(core.List<api.Message> o) {
+checkUnnamed135(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
@@ -763,7 +763,7 @@
var o = new api.ListMessagesResponse();
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- o.messages = buildUnnamed137();
+ o.messages = buildUnnamed135();
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
}
@@ -774,21 +774,21 @@
checkListMessagesResponse(api.ListMessagesResponse o) {
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- checkUnnamed137(o.messages);
+ checkUnnamed135(o.messages);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
}
buildCounterListMessagesResponse--;
}
-buildUnnamed138() {
+buildUnnamed136() {
var o = new core.List<api.SendAs>();
o.add(buildSendAs());
o.add(buildSendAs());
return o;
}
-checkUnnamed138(core.List<api.SendAs> o) {
+checkUnnamed136(core.List<api.SendAs> o) {
unittest.expect(o, unittest.hasLength(2));
checkSendAs(o[0]);
checkSendAs(o[1]);
@@ -799,7 +799,7 @@
var o = new api.ListSendAsResponse();
buildCounterListSendAsResponse++;
if (buildCounterListSendAsResponse < 3) {
- o.sendAs = buildUnnamed138();
+ o.sendAs = buildUnnamed136();
}
buildCounterListSendAsResponse--;
return o;
@@ -808,19 +808,19 @@
checkListSendAsResponse(api.ListSendAsResponse o) {
buildCounterListSendAsResponse++;
if (buildCounterListSendAsResponse < 3) {
- checkUnnamed138(o.sendAs);
+ checkUnnamed136(o.sendAs);
}
buildCounterListSendAsResponse--;
}
-buildUnnamed139() {
+buildUnnamed137() {
var o = new core.List<api.SmimeInfo>();
o.add(buildSmimeInfo());
o.add(buildSmimeInfo());
return o;
}
-checkUnnamed139(core.List<api.SmimeInfo> o) {
+checkUnnamed137(core.List<api.SmimeInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSmimeInfo(o[0]);
checkSmimeInfo(o[1]);
@@ -831,7 +831,7 @@
var o = new api.ListSmimeInfoResponse();
buildCounterListSmimeInfoResponse++;
if (buildCounterListSmimeInfoResponse < 3) {
- o.smimeInfo = buildUnnamed139();
+ o.smimeInfo = buildUnnamed137();
}
buildCounterListSmimeInfoResponse--;
return o;
@@ -840,19 +840,19 @@
checkListSmimeInfoResponse(api.ListSmimeInfoResponse o) {
buildCounterListSmimeInfoResponse++;
if (buildCounterListSmimeInfoResponse < 3) {
- checkUnnamed139(o.smimeInfo);
+ checkUnnamed137(o.smimeInfo);
}
buildCounterListSmimeInfoResponse--;
}
-buildUnnamed140() {
+buildUnnamed138() {
var o = new core.List<api.Thread>();
o.add(buildThread());
o.add(buildThread());
return o;
}
-checkUnnamed140(core.List<api.Thread> o) {
+checkUnnamed138(core.List<api.Thread> o) {
unittest.expect(o, unittest.hasLength(2));
checkThread(o[0]);
checkThread(o[1]);
@@ -865,7 +865,7 @@
if (buildCounterListThreadsResponse < 3) {
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
- o.threads = buildUnnamed140();
+ o.threads = buildUnnamed138();
}
buildCounterListThreadsResponse--;
return o;
@@ -876,19 +876,19 @@
if (buildCounterListThreadsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
- checkUnnamed140(o.threads);
+ checkUnnamed138(o.threads);
}
buildCounterListThreadsResponse--;
}
-buildUnnamed141() {
+buildUnnamed139() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed141(core.List<core.String> o) {
+checkUnnamed139(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -902,7 +902,7 @@
o.historyId = "foo";
o.id = "foo";
o.internalDate = "foo";
- o.labelIds = buildUnnamed141();
+ o.labelIds = buildUnnamed139();
o.payload = buildMessagePart();
o.raw = "foo";
o.sizeEstimate = 42;
@@ -919,7 +919,7 @@
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalDate, unittest.equals('foo'));
- checkUnnamed141(o.labelIds);
+ checkUnnamed139(o.labelIds);
checkMessagePart(o.payload);
unittest.expect(o.raw, unittest.equals('foo'));
unittest.expect(o.sizeEstimate, unittest.equals(42));
@@ -929,27 +929,27 @@
buildCounterMessage--;
}
-buildUnnamed142() {
+buildUnnamed140() {
var o = new core.List<api.MessagePartHeader>();
o.add(buildMessagePartHeader());
o.add(buildMessagePartHeader());
return o;
}
-checkUnnamed142(core.List<api.MessagePartHeader> o) {
+checkUnnamed140(core.List<api.MessagePartHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessagePartHeader(o[0]);
checkMessagePartHeader(o[1]);
}
-buildUnnamed143() {
+buildUnnamed141() {
var o = new core.List<api.MessagePart>();
o.add(buildMessagePart());
o.add(buildMessagePart());
return o;
}
-checkUnnamed143(core.List<api.MessagePart> o) {
+checkUnnamed141(core.List<api.MessagePart> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessagePart(o[0]);
checkMessagePart(o[1]);
@@ -962,10 +962,10 @@
if (buildCounterMessagePart < 3) {
o.body = buildMessagePartBody();
o.filename = "foo";
- o.headers = buildUnnamed142();
+ o.headers = buildUnnamed140();
o.mimeType = "foo";
o.partId = "foo";
- o.parts = buildUnnamed143();
+ o.parts = buildUnnamed141();
}
buildCounterMessagePart--;
return o;
@@ -976,10 +976,10 @@
if (buildCounterMessagePart < 3) {
checkMessagePartBody(o.body);
unittest.expect(o.filename, unittest.equals('foo'));
- checkUnnamed142(o.headers);
+ checkUnnamed140(o.headers);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.partId, unittest.equals('foo'));
- checkUnnamed143(o.parts);
+ checkUnnamed141(o.parts);
}
buildCounterMessagePart--;
}
@@ -1028,6 +1028,53 @@
buildCounterMessagePartHeader--;
}
+buildUnnamed142() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed143() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed143(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterModifyMessageRequest = 0;
+buildModifyMessageRequest() {
+ var o = new api.ModifyMessageRequest();
+ buildCounterModifyMessageRequest++;
+ if (buildCounterModifyMessageRequest < 3) {
+ o.addLabelIds = buildUnnamed142();
+ o.removeLabelIds = buildUnnamed143();
+ }
+ buildCounterModifyMessageRequest--;
+ return o;
+}
+
+checkModifyMessageRequest(api.ModifyMessageRequest o) {
+ buildCounterModifyMessageRequest++;
+ if (buildCounterModifyMessageRequest < 3) {
+ checkUnnamed142(o.addLabelIds);
+ checkUnnamed143(o.removeLabelIds);
+ }
+ buildCounterModifyMessageRequest--;
+}
+
buildUnnamed144() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1054,60 +1101,13 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterModifyMessageRequest = 0;
-buildModifyMessageRequest() {
- var o = new api.ModifyMessageRequest();
- buildCounterModifyMessageRequest++;
- if (buildCounterModifyMessageRequest < 3) {
- o.addLabelIds = buildUnnamed144();
- o.removeLabelIds = buildUnnamed145();
- }
- buildCounterModifyMessageRequest--;
- return o;
-}
-
-checkModifyMessageRequest(api.ModifyMessageRequest o) {
- buildCounterModifyMessageRequest++;
- if (buildCounterModifyMessageRequest < 3) {
- checkUnnamed144(o.addLabelIds);
- checkUnnamed145(o.removeLabelIds);
- }
- buildCounterModifyMessageRequest--;
-}
-
-buildUnnamed146() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed146(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed147() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed147(core.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 buildCounterModifyThreadRequest = 0;
buildModifyThreadRequest() {
var o = new api.ModifyThreadRequest();
buildCounterModifyThreadRequest++;
if (buildCounterModifyThreadRequest < 3) {
- o.addLabelIds = buildUnnamed146();
- o.removeLabelIds = buildUnnamed147();
+ o.addLabelIds = buildUnnamed144();
+ o.removeLabelIds = buildUnnamed145();
}
buildCounterModifyThreadRequest--;
return o;
@@ -1116,8 +1116,8 @@
checkModifyThreadRequest(api.ModifyThreadRequest o) {
buildCounterModifyThreadRequest++;
if (buildCounterModifyThreadRequest < 3) {
- checkUnnamed146(o.addLabelIds);
- checkUnnamed147(o.removeLabelIds);
+ checkUnnamed144(o.addLabelIds);
+ checkUnnamed145(o.removeLabelIds);
}
buildCounterModifyThreadRequest--;
}
@@ -1261,14 +1261,14 @@
buildCounterSmtpMsa--;
}
-buildUnnamed148() {
+buildUnnamed146() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed148(core.List<api.Message> o) {
+checkUnnamed146(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
@@ -1281,7 +1281,7 @@
if (buildCounterThread < 3) {
o.historyId = "foo";
o.id = "foo";
- o.messages = buildUnnamed148();
+ o.messages = buildUnnamed146();
o.snippet = "foo";
}
buildCounterThread--;
@@ -1293,7 +1293,7 @@
if (buildCounterThread < 3) {
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed148(o.messages);
+ checkUnnamed146(o.messages);
unittest.expect(o.snippet, unittest.equals('foo'));
}
buildCounterThread--;
@@ -1332,14 +1332,14 @@
buildCounterVacationSettings--;
}
-buildUnnamed149() {
+buildUnnamed147() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed149(core.List<core.String> o) {
+checkUnnamed147(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1351,7 +1351,7 @@
buildCounterWatchRequest++;
if (buildCounterWatchRequest < 3) {
o.labelFilterAction = "foo";
- o.labelIds = buildUnnamed149();
+ o.labelIds = buildUnnamed147();
o.topicName = "foo";
}
buildCounterWatchRequest--;
@@ -1362,7 +1362,7 @@
buildCounterWatchRequest++;
if (buildCounterWatchRequest < 3) {
unittest.expect(o.labelFilterAction, unittest.equals('foo'));
- checkUnnamed149(o.labelIds);
+ checkUnnamed147(o.labelIds);
unittest.expect(o.topicName, unittest.equals('foo'));
}
buildCounterWatchRequest--;
@@ -1389,6 +1389,32 @@
buildCounterWatchResponse--;
}
+buildUnnamed148() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed148(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed149() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
buildUnnamed150() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1428,32 +1454,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed153() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed154() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed154(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
main() {
unittest.group("obj-schema-AutoForwarding", () {
@@ -2230,7 +2230,7 @@
var mock = new HttpServerMock();
api.UsersHistoryResourceApi res = new api.GmailApi(mock).users.history;
var arg_userId = "foo";
- var arg_historyTypes = buildUnnamed150();
+ var arg_historyTypes = buildUnnamed148();
var arg_labelId = "foo";
var arg_maxResults = 42;
var arg_pageToken = "foo";
@@ -2687,7 +2687,7 @@
var arg_userId = "foo";
var arg_id = "foo";
var arg_format = "foo";
- var arg_metadataHeaders = buildUnnamed151();
+ var arg_metadataHeaders = buildUnnamed149();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2841,7 +2841,7 @@
api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages;
var arg_userId = "foo";
var arg_includeSpamTrash = true;
- var arg_labelIds = buildUnnamed152();
+ var arg_labelIds = buildUnnamed150();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_q = "foo";
@@ -4409,7 +4409,7 @@
var arg_userId = "foo";
var arg_id = "foo";
var arg_format = "foo";
- var arg_metadataHeaders = buildUnnamed153();
+ var arg_metadataHeaders = buildUnnamed151();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4455,7 +4455,7 @@
api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads;
var arg_userId = "foo";
var arg_includeSpamTrash = true;
- var arg_labelIds = buildUnnamed154();
+ var arg_labelIds = buildUnnamed152();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_q = "foo";
diff --git a/generated/googleapis/test/iam/v1_test.dart b/generated/googleapis/test/iam/v1_test.dart
index f2afa9c..c8edecd 100644
--- a/generated/googleapis/test/iam/v1_test.dart
+++ b/generated/googleapis/test/iam/v1_test.dart
@@ -70,14 +70,14 @@
buildCounterAuditData--;
}
-buildUnnamed1140() {
+buildUnnamed1135() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1140(core.List<core.String> o) {
+checkUnnamed1135(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -88,7 +88,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1140();
+ o.members = buildUnnamed1135();
o.role = "foo";
}
buildCounterBinding--;
@@ -98,7 +98,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1140(o.members);
+ checkUnnamed1135(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -186,14 +186,14 @@
buildCounterEmpty--;
}
-buildUnnamed1141() {
+buildUnnamed1136() {
var o = new core.List<api.ServiceAccountKey>();
o.add(buildServiceAccountKey());
o.add(buildServiceAccountKey());
return o;
}
-checkUnnamed1141(core.List<api.ServiceAccountKey> o) {
+checkUnnamed1136(core.List<api.ServiceAccountKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccountKey(o[0]);
checkServiceAccountKey(o[1]);
@@ -204,7 +204,7 @@
var o = new api.ListServiceAccountKeysResponse();
buildCounterListServiceAccountKeysResponse++;
if (buildCounterListServiceAccountKeysResponse < 3) {
- o.keys = buildUnnamed1141();
+ o.keys = buildUnnamed1136();
}
buildCounterListServiceAccountKeysResponse--;
return o;
@@ -213,19 +213,19 @@
checkListServiceAccountKeysResponse(api.ListServiceAccountKeysResponse o) {
buildCounterListServiceAccountKeysResponse++;
if (buildCounterListServiceAccountKeysResponse < 3) {
- checkUnnamed1141(o.keys);
+ checkUnnamed1136(o.keys);
}
buildCounterListServiceAccountKeysResponse--;
}
-buildUnnamed1142() {
+buildUnnamed1137() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed1142(core.List<api.ServiceAccount> o) {
+checkUnnamed1137(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -236,7 +236,7 @@
var o = new api.ListServiceAccountsResponse();
buildCounterListServiceAccountsResponse++;
if (buildCounterListServiceAccountsResponse < 3) {
- o.accounts = buildUnnamed1142();
+ o.accounts = buildUnnamed1137();
o.nextPageToken = "foo";
}
buildCounterListServiceAccountsResponse--;
@@ -246,20 +246,20 @@
checkListServiceAccountsResponse(api.ListServiceAccountsResponse o) {
buildCounterListServiceAccountsResponse++;
if (buildCounterListServiceAccountsResponse < 3) {
- checkUnnamed1142(o.accounts);
+ checkUnnamed1137(o.accounts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListServiceAccountsResponse--;
}
-buildUnnamed1143() {
+buildUnnamed1138() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1143(core.List<api.Binding> o) {
+checkUnnamed1138(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -270,7 +270,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed1143();
+ o.bindings = buildUnnamed1138();
o.etag = "foo";
o.version = 42;
}
@@ -281,21 +281,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1143(o.bindings);
+ checkUnnamed1138(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1144() {
+buildUnnamed1139() {
var o = new core.List<api.BindingDelta>();
o.add(buildBindingDelta());
o.add(buildBindingDelta());
return o;
}
-checkUnnamed1144(core.List<api.BindingDelta> o) {
+checkUnnamed1139(core.List<api.BindingDelta> o) {
unittest.expect(o, unittest.hasLength(2));
checkBindingDelta(o[0]);
checkBindingDelta(o[1]);
@@ -306,7 +306,7 @@
var o = new api.PolicyDelta();
buildCounterPolicyDelta++;
if (buildCounterPolicyDelta < 3) {
- o.bindingDeltas = buildUnnamed1144();
+ o.bindingDeltas = buildUnnamed1139();
}
buildCounterPolicyDelta--;
return o;
@@ -315,7 +315,7 @@
checkPolicyDelta(api.PolicyDelta o) {
buildCounterPolicyDelta++;
if (buildCounterPolicyDelta < 3) {
- checkUnnamed1144(o.bindingDeltas);
+ checkUnnamed1139(o.bindingDeltas);
}
buildCounterPolicyDelta--;
}
@@ -326,6 +326,8 @@
buildCounterQueryGrantableRolesRequest++;
if (buildCounterQueryGrantableRolesRequest < 3) {
o.fullResourceName = "foo";
+ o.pageSize = 42;
+ o.pageToken = "foo";
}
buildCounterQueryGrantableRolesRequest--;
return o;
@@ -335,18 +337,20 @@
buildCounterQueryGrantableRolesRequest++;
if (buildCounterQueryGrantableRolesRequest < 3) {
unittest.expect(o.fullResourceName, unittest.equals('foo'));
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
}
buildCounterQueryGrantableRolesRequest--;
}
-buildUnnamed1145() {
+buildUnnamed1140() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed1145(core.List<api.Role> o) {
+checkUnnamed1140(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -357,7 +361,8 @@
var o = new api.QueryGrantableRolesResponse();
buildCounterQueryGrantableRolesResponse++;
if (buildCounterQueryGrantableRolesResponse < 3) {
- o.roles = buildUnnamed1145();
+ o.nextPageToken = "foo";
+ o.roles = buildUnnamed1140();
}
buildCounterQueryGrantableRolesResponse--;
return o;
@@ -366,7 +371,8 @@
checkQueryGrantableRolesResponse(api.QueryGrantableRolesResponse o) {
buildCounterQueryGrantableRolesResponse++;
if (buildCounterQueryGrantableRolesResponse < 3) {
- checkUnnamed1145(o.roles);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed1140(o.roles);
}
buildCounterQueryGrantableRolesResponse--;
}
@@ -555,14 +561,14 @@
buildCounterSignJwtResponse--;
}
-buildUnnamed1146() {
+buildUnnamed1141() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1146(core.List<core.String> o) {
+checkUnnamed1141(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -573,7 +579,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1146();
+ o.permissions = buildUnnamed1141();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -582,19 +588,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1146(o.permissions);
+ checkUnnamed1141(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1147() {
+buildUnnamed1142() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1147(core.List<core.String> o) {
+checkUnnamed1142(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -605,7 +611,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1147();
+ o.permissions = buildUnnamed1142();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -614,19 +620,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1147(o.permissions);
+ checkUnnamed1142(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed1148() {
+buildUnnamed1143() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1148(core.List<core.String> o) {
+checkUnnamed1143(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1461,7 +1467,7 @@
var mock = new HttpServerMock();
api.ProjectsServiceAccountsKeysResourceApi res = new api.IamApi(mock).projects.serviceAccounts.keys;
var arg_name = "foo";
- var arg_keyTypes = buildUnnamed1148();
+ var arg_keyTypes = buildUnnamed1143();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
diff --git a/generated/googleapis/test/identitytoolkit/v3_test.dart b/generated/googleapis/test/identitytoolkit/v3_test.dart
index d490611..a3f643b 100644
--- a/generated/googleapis/test/identitytoolkit/v3_test.dart
+++ b/generated/googleapis/test/identitytoolkit/v3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2187() {
+buildUnnamed2201() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2187(core.List<core.String> o) {
+checkUnnamed2201(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
var o = new api.CreateAuthUriResponse();
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- o.allProviders = buildUnnamed2187();
+ o.allProviders = buildUnnamed2201();
o.authUri = "foo";
o.captchaRequired = true;
o.forExistingProvider = true;
@@ -85,7 +85,7 @@
checkCreateAuthUriResponse(api.CreateAuthUriResponse o) {
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- checkUnnamed2187(o.allProviders);
+ checkUnnamed2201(o.allProviders);
unittest.expect(o.authUri, unittest.equals('foo'));
unittest.expect(o.captchaRequired, unittest.isTrue);
unittest.expect(o.forExistingProvider, unittest.isTrue);
@@ -116,14 +116,14 @@
buildCounterDeleteAccountResponse--;
}
-buildUnnamed2188() {
+buildUnnamed2202() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2188(core.List<api.UserInfo> o) {
+checkUnnamed2202(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -136,7 +136,7 @@
if (buildCounterDownloadAccountResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.users = buildUnnamed2188();
+ o.users = buildUnnamed2202();
}
buildCounterDownloadAccountResponse--;
return o;
@@ -147,7 +147,7 @@
if (buildCounterDownloadAccountResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2188(o.users);
+ checkUnnamed2202(o.users);
}
buildCounterDownloadAccountResponse--;
}
@@ -181,14 +181,14 @@
buildCounterEmailTemplate--;
}
-buildUnnamed2189() {
+buildUnnamed2203() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2189(core.List<api.UserInfo> o) {
+checkUnnamed2203(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -200,7 +200,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
o.kind = "foo";
- o.users = buildUnnamed2189();
+ o.users = buildUnnamed2203();
}
buildCounterGetAccountInfoResponse--;
return o;
@@ -210,7 +210,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2189(o.users);
+ checkUnnamed2203(o.users);
}
buildCounterGetAccountInfoResponse--;
}
@@ -261,14 +261,14 @@
buildCounterGetRecaptchaParamResponse--;
}
-buildUnnamed2190() {
+buildUnnamed2204() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2190(core.Map<core.String, core.String> o) {
+checkUnnamed2204(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'));
@@ -284,7 +284,7 @@
o.clientId = "foo";
o.context = "foo";
o.continueUri = "foo";
- o.customParameter = buildUnnamed2190();
+ o.customParameter = buildUnnamed2204();
o.hostedDomain = "foo";
o.identifier = "foo";
o.oauthConsumerKey = "foo";
@@ -306,7 +306,7 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.context, unittest.equals('foo'));
unittest.expect(o.continueUri, unittest.equals('foo'));
- checkUnnamed2190(o.customParameter);
+ checkUnnamed2204(o.customParameter);
unittest.expect(o.hostedDomain, unittest.equals('foo'));
unittest.expect(o.identifier, unittest.equals('foo'));
unittest.expect(o.oauthConsumerKey, unittest.equals('foo'));
@@ -367,27 +367,27 @@
buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--;
}
-buildUnnamed2191() {
+buildUnnamed2205() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2191(core.List<core.String> o) {
+checkUnnamed2205(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2192() {
+buildUnnamed2206() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2192(core.List<core.String> o) {
+checkUnnamed2206(core.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,9 +399,9 @@
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
o.delegatedProjectNumber = "foo";
- o.email = buildUnnamed2191();
+ o.email = buildUnnamed2205();
o.idToken = "foo";
- o.localId = buildUnnamed2192();
+ o.localId = buildUnnamed2206();
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
return o;
@@ -411,34 +411,34 @@
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed2191(o.email);
+ checkUnnamed2205(o.email);
unittest.expect(o.idToken, unittest.equals('foo'));
- checkUnnamed2192(o.localId);
+ checkUnnamed2206(o.localId);
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
}
-buildUnnamed2193() {
+buildUnnamed2207() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2193(core.List<core.String> o) {
+checkUnnamed2207(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2194() {
+buildUnnamed2208() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed2194(core.List<api.IdpConfig> o) {
+checkUnnamed2208(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -451,11 +451,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed2193();
+ o.authorizedDomains = buildUnnamed2207();
o.changeEmailTemplate = buildEmailTemplate();
o.dynamicLinksDomain = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed2194();
+ o.idpConfig = buildUnnamed2208();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.projectId = "foo";
o.resetPasswordTemplate = buildEmailTemplate();
@@ -471,11 +471,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed2193(o.authorizedDomains);
+ checkUnnamed2207(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.dynamicLinksDomain, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed2194(o.idpConfig);
+ checkUnnamed2208(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
unittest.expect(o.projectId, unittest.equals('foo'));
checkEmailTemplate(o.resetPasswordTemplate);
@@ -523,40 +523,40 @@
buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--;
}
-buildUnnamed2195() {
+buildUnnamed2209() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2195(core.List<core.String> o) {
+checkUnnamed2209(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2196() {
+buildUnnamed2210() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2196(core.List<core.String> o) {
+checkUnnamed2210(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2197() {
+buildUnnamed2211() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2197(core.List<core.String> o) {
+checkUnnamed2211(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -571,8 +571,8 @@
o.captchaResponse = "foo";
o.createdAt = "foo";
o.delegatedProjectNumber = "foo";
- o.deleteAttribute = buildUnnamed2195();
- o.deleteProvider = buildUnnamed2196();
+ o.deleteAttribute = buildUnnamed2209();
+ o.deleteProvider = buildUnnamed2210();
o.disableUser = true;
o.displayName = "foo";
o.email = "foo";
@@ -584,7 +584,7 @@
o.oobCode = "foo";
o.password = "foo";
o.photoUrl = "foo";
- o.provider = buildUnnamed2197();
+ o.provider = buildUnnamed2211();
o.returnSecureToken = true;
o.upgradeToFederatedLogin = true;
o.validSince = "foo";
@@ -600,8 +600,8 @@
unittest.expect(o.captchaResponse, unittest.equals('foo'));
unittest.expect(o.createdAt, unittest.equals('foo'));
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed2195(o.deleteAttribute);
- checkUnnamed2196(o.deleteProvider);
+ checkUnnamed2209(o.deleteAttribute);
+ checkUnnamed2210(o.deleteProvider);
unittest.expect(o.disableUser, unittest.isTrue);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -613,7 +613,7 @@
unittest.expect(o.oobCode, unittest.equals('foo'));
unittest.expect(o.password, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2197(o.provider);
+ checkUnnamed2211(o.provider);
unittest.expect(o.returnSecureToken, unittest.isTrue);
unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue);
unittest.expect(o.validSince, unittest.equals('foo'));
@@ -621,27 +621,27 @@
buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--;
}
-buildUnnamed2198() {
+buildUnnamed2212() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2198(core.List<core.String> o) {
+checkUnnamed2212(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2199() {
+buildUnnamed2213() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed2199(core.List<api.IdpConfig> o) {
+checkUnnamed2213(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -654,11 +654,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed2198();
+ o.authorizedDomains = buildUnnamed2212();
o.changeEmailTemplate = buildEmailTemplate();
o.delegatedProjectNumber = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed2199();
+ o.idpConfig = buildUnnamed2213();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.resetPasswordTemplate = buildEmailTemplate();
o.useEmailSending = true;
@@ -673,11 +673,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed2198(o.authorizedDomains);
+ checkUnnamed2212(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed2199(o.idpConfig);
+ checkUnnamed2213(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
checkEmailTemplate(o.resetPasswordTemplate);
unittest.expect(o.useEmailSending, unittest.isTrue);
@@ -784,14 +784,14 @@
buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--;
}
-buildUnnamed2200() {
+buildUnnamed2214() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2200(core.List<api.UserInfo> o) {
+checkUnnamed2214(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -811,7 +811,7 @@
o.sanityCheck = true;
o.signerKey = "foo";
o.targetProjectId = "foo";
- o.users = buildUnnamed2200();
+ o.users = buildUnnamed2214();
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
return o;
@@ -829,7 +829,7 @@
unittest.expect(o.sanityCheck, unittest.isTrue);
unittest.expect(o.signerKey, unittest.equals('foo'));
unittest.expect(o.targetProjectId, unittest.equals('foo'));
- checkUnnamed2200(o.users);
+ checkUnnamed2214(o.users);
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
}
@@ -933,14 +933,14 @@
buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--;
}
-buildUnnamed2201() {
+buildUnnamed2215() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2201(core.List<core.String> o) {
+checkUnnamed2215(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -956,7 +956,7 @@
o.experimentPercent = 42;
o.provider = "foo";
o.secret = "foo";
- o.whitelistedAudiences = buildUnnamed2201();
+ o.whitelistedAudiences = buildUnnamed2215();
}
buildCounterIdpConfig--;
return o;
@@ -970,7 +970,7 @@
unittest.expect(o.experimentPercent, unittest.equals(42));
unittest.expect(o.provider, unittest.equals('foo'));
unittest.expect(o.secret, unittest.equals('foo'));
- checkUnnamed2201(o.whitelistedAudiences);
+ checkUnnamed2215(o.whitelistedAudiences);
}
buildCounterIdpConfig--;
}
@@ -1072,14 +1072,14 @@
buildCounterSetAccountInfoResponseProviderUserInfo--;
}
-buildUnnamed2202() {
+buildUnnamed2216() {
var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>();
o.add(buildSetAccountInfoResponseProviderUserInfo());
o.add(buildSetAccountInfoResponseProviderUserInfo());
return o;
}
-checkUnnamed2202(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
+checkUnnamed2216(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetAccountInfoResponseProviderUserInfo(o[0]);
checkSetAccountInfoResponseProviderUserInfo(o[1]);
@@ -1100,7 +1100,7 @@
o.newEmail = "foo";
o.passwordHash = "foo";
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed2202();
+ o.providerUserInfo = buildUnnamed2216();
o.refreshToken = "foo";
}
buildCounterSetAccountInfoResponse--;
@@ -1120,7 +1120,7 @@
unittest.expect(o.newEmail, unittest.equals('foo'));
unittest.expect(o.passwordHash, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2202(o.providerUserInfo);
+ checkUnnamed2216(o.providerUserInfo);
unittest.expect(o.refreshToken, unittest.equals('foo'));
}
buildCounterSetAccountInfoResponse--;
@@ -1178,14 +1178,14 @@
buildCounterUploadAccountResponseError--;
}
-buildUnnamed2203() {
+buildUnnamed2217() {
var o = new core.List<api.UploadAccountResponseError>();
o.add(buildUploadAccountResponseError());
o.add(buildUploadAccountResponseError());
return o;
}
-checkUnnamed2203(core.List<api.UploadAccountResponseError> o) {
+checkUnnamed2217(core.List<api.UploadAccountResponseError> o) {
unittest.expect(o, unittest.hasLength(2));
checkUploadAccountResponseError(o[0]);
checkUploadAccountResponseError(o[1]);
@@ -1196,7 +1196,7 @@
var o = new api.UploadAccountResponse();
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- o.error = buildUnnamed2203();
+ o.error = buildUnnamed2217();
o.kind = "foo";
}
buildCounterUploadAccountResponse--;
@@ -1206,7 +1206,7 @@
checkUploadAccountResponse(api.UploadAccountResponse o) {
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- checkUnnamed2203(o.error);
+ checkUnnamed2217(o.error);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUploadAccountResponse--;
@@ -1220,6 +1220,7 @@
o.displayName = "foo";
o.email = "foo";
o.federatedId = "foo";
+ o.phoneNumber = "foo";
o.photoUrl = "foo";
o.providerId = "foo";
o.rawId = "foo";
@@ -1235,6 +1236,7 @@
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.federatedId, unittest.equals('foo'));
+ unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
unittest.expect(o.providerId, unittest.equals('foo'));
unittest.expect(o.rawId, unittest.equals('foo'));
@@ -1243,14 +1245,14 @@
buildCounterUserInfoProviderUserInfo--;
}
-buildUnnamed2204() {
+buildUnnamed2218() {
var o = new core.List<api.UserInfoProviderUserInfo>();
o.add(buildUserInfoProviderUserInfo());
o.add(buildUserInfoProviderUserInfo());
return o;
}
-checkUnnamed2204(core.List<api.UserInfoProviderUserInfo> o) {
+checkUnnamed2218(core.List<api.UserInfoProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfoProviderUserInfo(o[0]);
checkUserInfoProviderUserInfo(o[1]);
@@ -1271,8 +1273,9 @@
o.localId = "foo";
o.passwordHash = "foo";
o.passwordUpdatedAt = 42.0;
+ o.phoneNumber = "foo";
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed2204();
+ o.providerUserInfo = buildUnnamed2218();
o.rawPassword = "foo";
o.salt = "foo";
o.screenName = "foo";
@@ -1296,8 +1299,9 @@
unittest.expect(o.localId, unittest.equals('foo'));
unittest.expect(o.passwordHash, unittest.equals('foo'));
unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0));
+ unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2204(o.providerUserInfo);
+ checkUnnamed2218(o.providerUserInfo);
unittest.expect(o.rawPassword, unittest.equals('foo'));
unittest.expect(o.salt, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
@@ -1307,14 +1311,14 @@
buildCounterUserInfo--;
}
-buildUnnamed2205() {
+buildUnnamed2219() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2205(core.List<core.String> o) {
+checkUnnamed2219(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1363,7 +1367,7 @@
o.refreshToken = "foo";
o.screenName = "foo";
o.timeZone = "foo";
- o.verifiedProvider = buildUnnamed2205();
+ o.verifiedProvider = buildUnnamed2219();
}
buildCounterVerifyAssertionResponse--;
return o;
@@ -1410,7 +1414,7 @@
unittest.expect(o.refreshToken, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
unittest.expect(o.timeZone, unittest.equals('foo'));
- checkUnnamed2205(o.verifiedProvider);
+ checkUnnamed2219(o.verifiedProvider);
}
buildCounterVerifyAssertionResponse--;
}
diff --git a/generated/googleapis/test/kgsearch/v1_test.dart b/generated/googleapis/test/kgsearch/v1_test.dart
index 2790337..e3c1c1f 100644
--- a/generated/googleapis/test/kgsearch/v1_test.dart
+++ b/generated/googleapis/test/kgsearch/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed914() {
+buildUnnamed905() {
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;
}
-checkUnnamed914(core.List<core.Object> o) {
+checkUnnamed905(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'));
@@ -71,7 +71,7 @@
if (buildCounterSearchResponse < 3) {
o.P_context = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.P_type = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
- o.itemListElement = buildUnnamed914();
+ o.itemListElement = buildUnnamed905();
}
buildCounterSearchResponse--;
return o;
@@ -82,45 +82,45 @@
if (buildCounterSearchResponse < 3) {
var casted3 = (o.P_context) 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.P_type) 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'));
- checkUnnamed914(o.itemListElement);
+ checkUnnamed905(o.itemListElement);
}
buildCounterSearchResponse--;
}
-buildUnnamed915() {
+buildUnnamed906() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed915(core.List<core.String> o) {
+checkUnnamed906(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed916() {
+buildUnnamed907() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed916(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'));
}
-buildUnnamed917() {
+buildUnnamed908() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed917(core.List<core.String> o) {
+checkUnnamed908(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -142,13 +142,13 @@
var mock = new HttpServerMock();
api.EntitiesResourceApi res = new api.KgsearchApi(mock).entities;
- var arg_ids = buildUnnamed915();
+ var arg_indent = true;
+ var arg_languages = buildUnnamed906();
+ var arg_ids = buildUnnamed907();
var arg_limit = 42;
var arg_prefix = true;
var arg_query = "foo";
- var arg_types = buildUnnamed916();
- var arg_indent = true;
- var arg_languages = buildUnnamed917();
+ var arg_types = buildUnnamed908();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -175,13 +175,13 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["indent"].first, unittest.equals("$arg_indent"));
+ unittest.expect(queryMap["languages"], unittest.equals(arg_languages));
unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["limit"].first), unittest.equals(arg_limit));
unittest.expect(queryMap["prefix"].first, unittest.equals("$arg_prefix"));
unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(queryMap["types"], unittest.equals(arg_types));
- unittest.expect(queryMap["indent"].first, unittest.equals("$arg_indent"));
- unittest.expect(queryMap["languages"], unittest.equals(arg_languages));
var h = {
@@ -190,7 +190,7 @@
var resp = convert.JSON.encode(buildSearchResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.search(ids: arg_ids, limit: arg_limit, prefix: arg_prefix, query: arg_query, types: arg_types, indent: arg_indent, languages: arg_languages).then(unittest.expectAsync(((api.SearchResponse response) {
+ res.search(indent: arg_indent, languages: arg_languages, ids: arg_ids, limit: arg_limit, prefix: arg_prefix, query: arg_query, types: arg_types).then(unittest.expectAsync(((api.SearchResponse response) {
checkSearchResponse(response);
})));
});
diff --git a/generated/googleapis/test/language/v1_test.dart b/generated/googleapis/test/language/v1_test.dart
index 8104799..1a6ca37 100644
--- a/generated/googleapis/test/language/v1_test.dart
+++ b/generated/googleapis/test/language/v1_test.dart
@@ -72,14 +72,14 @@
buildCounterAnalyzeEntitiesRequest--;
}
-buildUnnamed791() {
+buildUnnamed782() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed791(core.List<api.Entity> o) {
+checkUnnamed782(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -90,7 +90,7 @@
var o = new api.AnalyzeEntitiesResponse();
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- o.entities = buildUnnamed791();
+ o.entities = buildUnnamed782();
o.language = "foo";
}
buildCounterAnalyzeEntitiesResponse--;
@@ -100,7 +100,7 @@
checkAnalyzeEntitiesResponse(api.AnalyzeEntitiesResponse o) {
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- checkUnnamed791(o.entities);
+ checkUnnamed782(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitiesResponse--;
@@ -127,14 +127,14 @@
buildCounterAnalyzeSentimentRequest--;
}
-buildUnnamed792() {
+buildUnnamed783() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed792(core.List<api.Sentence> o) {
+checkUnnamed783(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
o.documentSentiment = buildSentiment();
o.language = "foo";
- o.sentences = buildUnnamed792();
+ o.sentences = buildUnnamed783();
}
buildCounterAnalyzeSentimentResponse--;
return o;
@@ -158,7 +158,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
checkSentiment(o.documentSentiment);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed792(o.sentences);
+ checkUnnamed783(o.sentences);
}
buildCounterAnalyzeSentimentResponse--;
}
@@ -184,27 +184,27 @@
buildCounterAnalyzeSyntaxRequest--;
}
-buildUnnamed793() {
+buildUnnamed784() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed793(core.List<api.Sentence> o) {
+checkUnnamed784(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed794() {
+buildUnnamed785() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed794(core.List<api.Token> o) {
+checkUnnamed785(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -216,8 +216,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
o.language = "foo";
- o.sentences = buildUnnamed793();
- o.tokens = buildUnnamed794();
+ o.sentences = buildUnnamed784();
+ o.tokens = buildUnnamed785();
}
buildCounterAnalyzeSyntaxResponse--;
return o;
@@ -227,8 +227,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed793(o.sentences);
- checkUnnamed794(o.tokens);
+ checkUnnamed784(o.sentences);
+ checkUnnamed785(o.tokens);
}
buildCounterAnalyzeSyntaxResponse--;
}
@@ -256,40 +256,40 @@
buildCounterAnnotateTextRequest--;
}
-buildUnnamed795() {
+buildUnnamed786() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed795(core.List<api.Entity> o) {
+checkUnnamed786(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed796() {
+buildUnnamed787() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed796(core.List<api.Sentence> o) {
+checkUnnamed787(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed797() {
+buildUnnamed788() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed797(core.List<api.Token> o) {
+checkUnnamed788(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -301,10 +301,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
o.documentSentiment = buildSentiment();
- o.entities = buildUnnamed795();
+ o.entities = buildUnnamed786();
o.language = "foo";
- o.sentences = buildUnnamed796();
- o.tokens = buildUnnamed797();
+ o.sentences = buildUnnamed787();
+ o.tokens = buildUnnamed788();
}
buildCounterAnnotateTextResponse--;
return o;
@@ -314,10 +314,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
checkSentiment(o.documentSentiment);
- checkUnnamed795(o.entities);
+ checkUnnamed786(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed796(o.sentences);
- checkUnnamed797(o.tokens);
+ checkUnnamed787(o.sentences);
+ checkUnnamed788(o.tokens);
}
buildCounterAnnotateTextResponse--;
}
@@ -368,27 +368,27 @@
buildCounterDocument--;
}
-buildUnnamed798() {
+buildUnnamed789() {
var o = new core.List<api.EntityMention>();
o.add(buildEntityMention());
o.add(buildEntityMention());
return o;
}
-checkUnnamed798(core.List<api.EntityMention> o) {
+checkUnnamed789(core.List<api.EntityMention> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityMention(o[0]);
checkEntityMention(o[1]);
}
-buildUnnamed799() {
+buildUnnamed790() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed799(core.Map<core.String, core.String> o) {
+checkUnnamed790(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'));
@@ -399,8 +399,8 @@
var o = new api.Entity();
buildCounterEntity++;
if (buildCounterEntity < 3) {
- o.mentions = buildUnnamed798();
- o.metadata = buildUnnamed799();
+ o.mentions = buildUnnamed789();
+ o.metadata = buildUnnamed790();
o.name = "foo";
o.salience = 42.0;
o.type = "foo";
@@ -412,8 +412,8 @@
checkEntity(api.Entity o) {
buildCounterEntity++;
if (buildCounterEntity < 3) {
- checkUnnamed798(o.mentions);
- checkUnnamed799(o.metadata);
+ checkUnnamed789(o.mentions);
+ checkUnnamed790(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.salience, unittest.equals(42.0));
unittest.expect(o.type, unittest.equals('foo'));
@@ -548,30 +548,30 @@
buildCounterSentiment--;
}
-buildUnnamed800() {
+buildUnnamed791() {
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;
}
-checkUnnamed800(core.Map<core.String, core.Object> o) {
+checkUnnamed791(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'));
}
-buildUnnamed801() {
+buildUnnamed792() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed800());
- o.add(buildUnnamed800());
+ o.add(buildUnnamed791());
+ o.add(buildUnnamed791());
return o;
}
-checkUnnamed801(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed792(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed800(o[0]);
- checkUnnamed800(o[1]);
+ checkUnnamed791(o[0]);
+ checkUnnamed791(o[1]);
}
core.int buildCounterStatus = 0;
@@ -580,7 +580,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed801();
+ o.details = buildUnnamed792();
o.message = "foo";
}
buildCounterStatus--;
@@ -591,7 +591,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed801(o.details);
+ checkUnnamed792(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/licensing/v1_test.dart b/generated/googleapis/test/licensing/v1_test.dart
index 467db26..c4e5812 100644
--- a/generated/googleapis/test/licensing/v1_test.dart
+++ b/generated/googleapis/test/licensing/v1_test.dart
@@ -103,14 +103,14 @@
buildCounterLicenseAssignmentInsert--;
}
-buildUnnamed1872() {
+buildUnnamed1884() {
var o = new core.List<api.LicenseAssignment>();
o.add(buildLicenseAssignment());
o.add(buildLicenseAssignment());
return o;
}
-checkUnnamed1872(core.List<api.LicenseAssignment> o) {
+checkUnnamed1884(core.List<api.LicenseAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkLicenseAssignment(o[0]);
checkLicenseAssignment(o[1]);
@@ -122,7 +122,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1872();
+ o.items = buildUnnamed1884();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -134,7 +134,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1872(o.items);
+ checkUnnamed1884(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/logging/v2_test.dart b/generated/googleapis/test/logging/v2_test.dart
index 7bb594d..cda25a3 100644
--- a/generated/googleapis/test/logging/v2_test.dart
+++ b/generated/googleapis/test/logging/v2_test.dart
@@ -136,27 +136,27 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed200() {
+buildUnnamed198() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed200(core.List<core.String> o) {
+checkUnnamed198(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed201() {
+buildUnnamed199() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed201(core.List<core.String> o) {
+checkUnnamed199(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -171,8 +171,8 @@
o.orderBy = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.projectIds = buildUnnamed200();
- o.resourceNames = buildUnnamed201();
+ o.projectIds = buildUnnamed198();
+ o.resourceNames = buildUnnamed199();
}
buildCounterListLogEntriesRequest--;
return o;
@@ -185,20 +185,20 @@
unittest.expect(o.orderBy, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed200(o.projectIds);
- checkUnnamed201(o.resourceNames);
+ checkUnnamed198(o.projectIds);
+ checkUnnamed199(o.resourceNames);
}
buildCounterListLogEntriesRequest--;
}
-buildUnnamed202() {
+buildUnnamed200() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed202(core.List<api.LogEntry> o) {
+checkUnnamed200(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
@@ -209,7 +209,7 @@
var o = new api.ListLogEntriesResponse();
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- o.entries = buildUnnamed202();
+ o.entries = buildUnnamed200();
o.nextPageToken = "foo";
}
buildCounterListLogEntriesResponse--;
@@ -219,20 +219,20 @@
checkListLogEntriesResponse(api.ListLogEntriesResponse o) {
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- checkUnnamed202(o.entries);
+ checkUnnamed200(o.entries);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogEntriesResponse--;
}
-buildUnnamed203() {
+buildUnnamed201() {
var o = new core.List<api.LogMetric>();
o.add(buildLogMetric());
o.add(buildLogMetric());
return o;
}
-checkUnnamed203(core.List<api.LogMetric> o) {
+checkUnnamed201(core.List<api.LogMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogMetric(o[0]);
checkLogMetric(o[1]);
@@ -243,7 +243,7 @@
var o = new api.ListLogMetricsResponse();
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- o.metrics = buildUnnamed203();
+ o.metrics = buildUnnamed201();
o.nextPageToken = "foo";
}
buildCounterListLogMetricsResponse--;
@@ -253,20 +253,20 @@
checkListLogMetricsResponse(api.ListLogMetricsResponse o) {
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- checkUnnamed203(o.metrics);
+ checkUnnamed201(o.metrics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogMetricsResponse--;
}
-buildUnnamed204() {
+buildUnnamed202() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed204(core.List<core.String> o) {
+checkUnnamed202(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -277,7 +277,7 @@
var o = new api.ListLogsResponse();
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- o.logNames = buildUnnamed204();
+ o.logNames = buildUnnamed202();
o.nextPageToken = "foo";
}
buildCounterListLogsResponse--;
@@ -287,20 +287,20 @@
checkListLogsResponse(api.ListLogsResponse o) {
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- checkUnnamed204(o.logNames);
+ checkUnnamed202(o.logNames);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogsResponse--;
}
-buildUnnamed205() {
+buildUnnamed203() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed205(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed203(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -312,7 +312,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed205();
+ o.resourceDescriptors = buildUnnamed203();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -322,19 +322,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed205(o.resourceDescriptors);
+ checkUnnamed203(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed206() {
+buildUnnamed204() {
var o = new core.List<api.LogSink>();
o.add(buildLogSink());
o.add(buildLogSink());
return o;
}
-checkUnnamed206(core.List<api.LogSink> o) {
+checkUnnamed204(core.List<api.LogSink> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogSink(o[0]);
checkLogSink(o[1]);
@@ -346,7 +346,7 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
o.nextPageToken = "foo";
- o.sinks = buildUnnamed206();
+ o.sinks = buildUnnamed204();
}
buildCounterListSinksResponse--;
return o;
@@ -356,11 +356,37 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed206(o.sinks);
+ checkUnnamed204(o.sinks);
}
buildCounterListSinksResponse--;
}
+buildUnnamed205() {
+ 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;
+}
+
+checkUnnamed205(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'));
+}
+
+buildUnnamed206() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed206(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'));
+}
+
buildUnnamed207() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
@@ -370,32 +396,6 @@
checkUnnamed207(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'));
-}
-
-buildUnnamed208() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed208(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'));
-}
-
-buildUnnamed209() {
- 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;
-}
-
-checkUnnamed209(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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["y"]) 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'));
}
@@ -407,11 +407,11 @@
if (buildCounterLogEntry < 3) {
o.httpRequest = buildHttpRequest();
o.insertId = "foo";
- o.jsonPayload = buildUnnamed207();
- o.labels = buildUnnamed208();
+ o.jsonPayload = buildUnnamed205();
+ o.labels = buildUnnamed206();
o.logName = "foo";
o.operation = buildLogEntryOperation();
- o.protoPayload = buildUnnamed209();
+ o.protoPayload = buildUnnamed207();
o.resource = buildMonitoredResource();
o.severity = "foo";
o.sourceLocation = buildLogEntrySourceLocation();
@@ -428,11 +428,11 @@
if (buildCounterLogEntry < 3) {
checkHttpRequest(o.httpRequest);
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed207(o.jsonPayload);
- checkUnnamed208(o.labels);
+ checkUnnamed205(o.jsonPayload);
+ checkUnnamed206(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
checkLogEntryOperation(o.operation);
- checkUnnamed209(o.protoPayload);
+ checkUnnamed207(o.protoPayload);
checkMonitoredResource(o.resource);
unittest.expect(o.severity, unittest.equals('foo'));
checkLogEntrySourceLocation(o.sourceLocation);
@@ -549,6 +549,7 @@
o.destination = "foo";
o.endTime = "foo";
o.filter = "foo";
+ o.includeChildren = true;
o.name = "foo";
o.outputVersionFormat = "foo";
o.startTime = "foo";
@@ -564,6 +565,7 @@
unittest.expect(o.destination, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.filter, unittest.equals('foo'));
+ unittest.expect(o.includeChildren, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.outputVersionFormat, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -572,14 +574,14 @@
buildCounterLogSink--;
}
-buildUnnamed210() {
+buildUnnamed208() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed210(core.Map<core.String, core.String> o) {
+checkUnnamed208(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'));
@@ -590,7 +592,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed210();
+ o.labels = buildUnnamed208();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -600,20 +602,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed210(o.labels);
+ checkUnnamed208(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed211() {
+buildUnnamed209() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed211(core.List<api.LabelDescriptor> o) {
+checkUnnamed209(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -626,7 +628,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed211();
+ o.labels = buildUnnamed209();
o.name = "foo";
o.type = "foo";
}
@@ -639,34 +641,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed211(o.labels);
+ checkUnnamed209(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed212() {
+buildUnnamed210() {
var o = new core.List<api.LogLine>();
o.add(buildLogLine());
o.add(buildLogLine());
return o;
}
-checkUnnamed212(core.List<api.LogLine> o) {
+checkUnnamed210(core.List<api.LogLine> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogLine(o[0]);
checkLogLine(o[1]);
}
-buildUnnamed213() {
+buildUnnamed211() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed213(core.List<api.SourceReference> o) {
+checkUnnamed211(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -689,7 +691,7 @@
o.instanceIndex = 42;
o.ip = "foo";
o.latency = "foo";
- o.line = buildUnnamed212();
+ o.line = buildUnnamed210();
o.megaCycles = "foo";
o.method = "foo";
o.moduleId = "foo";
@@ -699,7 +701,7 @@
o.requestId = "foo";
o.resource = "foo";
o.responseSize = "foo";
- o.sourceReference = buildUnnamed213();
+ o.sourceReference = buildUnnamed211();
o.startTime = "foo";
o.status = 42;
o.taskName = "foo";
@@ -729,7 +731,7 @@
unittest.expect(o.instanceIndex, unittest.equals(42));
unittest.expect(o.ip, unittest.equals('foo'));
unittest.expect(o.latency, unittest.equals('foo'));
- checkUnnamed212(o.line);
+ checkUnnamed210(o.line);
unittest.expect(o.megaCycles, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.moduleId, unittest.equals('foo'));
@@ -739,7 +741,7 @@
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.resource, unittest.equals('foo'));
unittest.expect(o.responseSize, unittest.equals('foo'));
- checkUnnamed213(o.sourceReference);
+ checkUnnamed211(o.sourceReference);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals(42));
unittest.expect(o.taskName, unittest.equals('foo'));
@@ -797,27 +799,27 @@
buildCounterSourceReference--;
}
-buildUnnamed214() {
+buildUnnamed212() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed214(core.List<api.LogEntry> o) {
+checkUnnamed212(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed215() {
+buildUnnamed213() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed215(core.Map<core.String, core.String> o) {
+checkUnnamed213(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'));
@@ -828,8 +830,8 @@
var o = new api.WriteLogEntriesRequest();
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- o.entries = buildUnnamed214();
- o.labels = buildUnnamed215();
+ o.entries = buildUnnamed212();
+ o.labels = buildUnnamed213();
o.logName = "foo";
o.partialSuccess = true;
o.resource = buildMonitoredResource();
@@ -841,8 +843,8 @@
checkWriteLogEntriesRequest(api.WriteLogEntriesRequest o) {
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- checkUnnamed214(o.entries);
- checkUnnamed215(o.labels);
+ checkUnnamed212(o.entries);
+ checkUnnamed213(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
unittest.expect(o.partialSuccess, unittest.isTrue);
checkMonitoredResource(o.resource);
@@ -1118,8 +1120,8 @@
var mock = new HttpServerMock();
api.BillingAccountsLogsResourceApi res = new api.LoggingApi(mock).billingAccounts.logs;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1147,8 +1149,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1157,7 +1159,7 @@
var resp = convert.JSON.encode(buildListLogsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLogsResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListLogsResponse response) {
checkListLogsResponse(response);
})));
});
@@ -1753,8 +1755,8 @@
var mock = new HttpServerMock();
api.FoldersSinksResourceApi res = new api.LoggingApi(mock).folders.sinks;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1782,8 +1784,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1792,7 +1794,7 @@
var resp = convert.JSON.encode(buildListSinksResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListSinksResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListSinksResponse response) {
checkListSinksResponse(response);
})));
});
@@ -1856,8 +1858,8 @@
var mock = new HttpServerMock();
api.MonitoredResourceDescriptorsResourceApi res = new api.LoggingApi(mock).monitoredResourceDescriptors;
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1884,8 +1886,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1894,7 +1896,7 @@
var resp = convert.JSON.encode(buildListMonitoredResourceDescriptorsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListMonitoredResourceDescriptorsResponse response) {
+ res.list(pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListMonitoredResourceDescriptorsResponse response) {
checkListMonitoredResourceDescriptorsResponse(response);
})));
});
@@ -1953,8 +1955,8 @@
var mock = new HttpServerMock();
api.OrganizationsLogsResourceApi res = new api.LoggingApi(mock).organizations.logs;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1982,8 +1984,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1992,7 +1994,7 @@
var resp = convert.JSON.encode(buildListLogsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLogsResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListLogsResponse response) {
checkListLogsResponse(response);
})));
});
@@ -2147,8 +2149,8 @@
var mock = new HttpServerMock();
api.OrganizationsSinksResourceApi res = new api.LoggingApi(mock).organizations.sinks;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2176,8 +2178,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -2186,7 +2188,7 @@
var resp = convert.JSON.encode(buildListSinksResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListSinksResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListSinksResponse response) {
checkListSinksResponse(response);
})));
});
@@ -2296,8 +2298,8 @@
var mock = new HttpServerMock();
api.ProjectsLogsResourceApi res = new api.LoggingApi(mock).projects.logs;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2325,8 +2327,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -2335,7 +2337,7 @@
var resp = convert.JSON.encode(buildListLogsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLogsResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListLogsResponse response) {
checkListLogsResponse(response);
})));
});
diff --git a/generated/googleapis/test/manufacturers/v1_test.dart b/generated/googleapis/test/manufacturers/v1_test.dart
index 3d80f76..da4c743 100644
--- a/generated/googleapis/test/manufacturers/v1_test.dart
+++ b/generated/googleapis/test/manufacturers/v1_test.dart
@@ -51,79 +51,79 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1394() {
+buildUnnamed1390() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed1394(core.List<api.Image> o) {
+checkUnnamed1390(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
}
-buildUnnamed1395() {
+buildUnnamed1391() {
var o = new core.List<api.FeatureDescription>();
o.add(buildFeatureDescription());
o.add(buildFeatureDescription());
return o;
}
-checkUnnamed1395(core.List<api.FeatureDescription> o) {
+checkUnnamed1391(core.List<api.FeatureDescription> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeatureDescription(o[0]);
checkFeatureDescription(o[1]);
}
-buildUnnamed1396() {
+buildUnnamed1392() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1396(core.List<core.String> o) {
+checkUnnamed1392(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1397() {
+buildUnnamed1393() {
var o = new core.List<api.ProductDetail>();
o.add(buildProductDetail());
o.add(buildProductDetail());
return o;
}
-checkUnnamed1397(core.List<api.ProductDetail> o) {
+checkUnnamed1393(core.List<api.ProductDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductDetail(o[0]);
checkProductDetail(o[1]);
}
-buildUnnamed1398() {
+buildUnnamed1394() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1398(core.List<core.String> o) {
+checkUnnamed1394(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1399() {
+buildUnnamed1395() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1399(core.List<core.String> o) {
+checkUnnamed1395(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -134,7 +134,7 @@
var o = new api.Attributes();
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- o.additionalImageLink = buildUnnamed1394();
+ o.additionalImageLink = buildUnnamed1390();
o.ageGroup = "foo";
o.brand = "foo";
o.capacity = buildCapacity();
@@ -142,21 +142,21 @@
o.count = buildCount();
o.description = "foo";
o.disclosureDate = "foo";
- o.featureDescription = buildUnnamed1395();
+ o.featureDescription = buildUnnamed1391();
o.flavor = "foo";
o.format = "foo";
o.gender = "foo";
- o.gtin = buildUnnamed1396();
+ o.gtin = buildUnnamed1392();
o.imageLink = buildImage();
o.itemGroupId = "foo";
o.material = "foo";
o.mpn = "foo";
o.pattern = "foo";
- o.productDetail = buildUnnamed1397();
+ o.productDetail = buildUnnamed1393();
o.productLine = "foo";
o.productName = "foo";
o.productPageUrl = "foo";
- o.productType = buildUnnamed1398();
+ o.productType = buildUnnamed1394();
o.releaseDate = "foo";
o.scent = "foo";
o.size = "foo";
@@ -165,7 +165,7 @@
o.suggestedRetailPrice = buildPrice();
o.theme = "foo";
o.title = "foo";
- o.videoLink = buildUnnamed1399();
+ o.videoLink = buildUnnamed1395();
}
buildCounterAttributes--;
return o;
@@ -174,7 +174,7 @@
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- checkUnnamed1394(o.additionalImageLink);
+ checkUnnamed1390(o.additionalImageLink);
unittest.expect(o.ageGroup, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
checkCapacity(o.capacity);
@@ -182,21 +182,21 @@
checkCount(o.count);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.disclosureDate, unittest.equals('foo'));
- checkUnnamed1395(o.featureDescription);
+ checkUnnamed1391(o.featureDescription);
unittest.expect(o.flavor, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed1396(o.gtin);
+ checkUnnamed1392(o.gtin);
checkImage(o.imageLink);
unittest.expect(o.itemGroupId, unittest.equals('foo'));
unittest.expect(o.material, unittest.equals('foo'));
unittest.expect(o.mpn, unittest.equals('foo'));
unittest.expect(o.pattern, unittest.equals('foo'));
- checkUnnamed1397(o.productDetail);
+ checkUnnamed1393(o.productDetail);
unittest.expect(o.productLine, unittest.equals('foo'));
unittest.expect(o.productName, unittest.equals('foo'));
unittest.expect(o.productPageUrl, unittest.equals('foo'));
- checkUnnamed1398(o.productType);
+ checkUnnamed1394(o.productType);
unittest.expect(o.releaseDate, unittest.equals('foo'));
unittest.expect(o.scent, unittest.equals('foo'));
unittest.expect(o.size, unittest.equals('foo'));
@@ -205,7 +205,7 @@
checkPrice(o.suggestedRetailPrice);
unittest.expect(o.theme, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1399(o.videoLink);
+ checkUnnamed1395(o.videoLink);
}
buildCounterAttributes--;
}
@@ -325,14 +325,14 @@
buildCounterIssue--;
}
-buildUnnamed1400() {
+buildUnnamed1396() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed1400(core.List<api.Product> o) {
+checkUnnamed1396(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -344,7 +344,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
o.nextPageToken = "foo";
- o.products = buildUnnamed1400();
+ o.products = buildUnnamed1396();
}
buildCounterListProductsResponse--;
return o;
@@ -354,7 +354,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1400(o.products);
+ checkUnnamed1396(o.products);
}
buildCounterListProductsResponse--;
}
@@ -380,27 +380,27 @@
buildCounterPrice--;
}
-buildUnnamed1401() {
+buildUnnamed1397() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed1401(core.List<api.Issue> o) {
+checkUnnamed1397(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
-buildUnnamed1402() {
+buildUnnamed1398() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1402(core.List<core.String> o) {
+checkUnnamed1398(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -413,8 +413,8 @@
if (buildCounterProduct < 3) {
o.contentLanguage = "foo";
o.finalAttributes = buildAttributes();
- o.issues = buildUnnamed1401();
- o.manuallyDeletedAttributes = buildUnnamed1402();
+ o.issues = buildUnnamed1397();
+ o.manuallyDeletedAttributes = buildUnnamed1398();
o.manuallyProvidedAttributes = buildAttributes();
o.name = "foo";
o.parent = "foo";
@@ -431,8 +431,8 @@
if (buildCounterProduct < 3) {
unittest.expect(o.contentLanguage, unittest.equals('foo'));
checkAttributes(o.finalAttributes);
- checkUnnamed1401(o.issues);
- checkUnnamed1402(o.manuallyDeletedAttributes);
+ checkUnnamed1397(o.issues);
+ checkUnnamed1398(o.manuallyDeletedAttributes);
checkAttributes(o.manuallyProvidedAttributes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
@@ -610,8 +610,8 @@
var mock = new HttpServerMock();
api.AccountsProductsResourceApi res = new api.ManufacturersApi(mock).accounts.products;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -639,8 +639,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -649,7 +649,7 @@
var resp = convert.JSON.encode(buildListProductsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListProductsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListProductsResponse response) {
checkListProductsResponse(response);
})));
});
diff --git a/generated/googleapis/test/mirror/v1_test.dart b/generated/googleapis/test/mirror/v1_test.dart
index b01bc21..9676efc 100644
--- a/generated/googleapis/test/mirror/v1_test.dart
+++ b/generated/googleapis/test/mirror/v1_test.dart
@@ -51,40 +51,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1332() {
+buildUnnamed1327() {
var o = new core.List<api.AuthToken>();
o.add(buildAuthToken());
o.add(buildAuthToken());
return o;
}
-checkUnnamed1332(core.List<api.AuthToken> o) {
+checkUnnamed1327(core.List<api.AuthToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthToken(o[0]);
checkAuthToken(o[1]);
}
-buildUnnamed1333() {
+buildUnnamed1328() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1333(core.List<core.String> o) {
+checkUnnamed1328(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1334() {
+buildUnnamed1329() {
var o = new core.List<api.UserData>();
o.add(buildUserData());
o.add(buildUserData());
return o;
}
-checkUnnamed1334(core.List<api.UserData> o) {
+checkUnnamed1329(core.List<api.UserData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserData(o[0]);
checkUserData(o[1]);
@@ -95,10 +95,10 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.authTokens = buildUnnamed1332();
- o.features = buildUnnamed1333();
+ o.authTokens = buildUnnamed1327();
+ o.features = buildUnnamed1328();
o.password = "foo";
- o.userData = buildUnnamed1334();
+ o.userData = buildUnnamed1329();
}
buildCounterAccount--;
return o;
@@ -107,10 +107,10 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed1332(o.authTokens);
- checkUnnamed1333(o.features);
+ checkUnnamed1327(o.authTokens);
+ checkUnnamed1328(o.features);
unittest.expect(o.password, unittest.equals('foo'));
- checkUnnamed1334(o.userData);
+ checkUnnamed1329(o.userData);
}
buildCounterAccount--;
}
@@ -140,14 +140,14 @@
buildCounterAttachment--;
}
-buildUnnamed1335() {
+buildUnnamed1330() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1335(core.List<api.Attachment> o) {
+checkUnnamed1330(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -158,7 +158,7 @@
var o = new api.AttachmentsListResponse();
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- o.items = buildUnnamed1335();
+ o.items = buildUnnamed1330();
o.kind = "foo";
}
buildCounterAttachmentsListResponse--;
@@ -168,7 +168,7 @@
checkAttachmentsListResponse(api.AttachmentsListResponse o) {
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- checkUnnamed1335(o.items);
+ checkUnnamed1330(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAttachmentsListResponse--;
@@ -214,53 +214,53 @@
buildCounterCommand--;
}
-buildUnnamed1336() {
+buildUnnamed1331() {
var o = new core.List<api.Command>();
o.add(buildCommand());
o.add(buildCommand());
return o;
}
-checkUnnamed1336(core.List<api.Command> o) {
+checkUnnamed1331(core.List<api.Command> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommand(o[0]);
checkCommand(o[1]);
}
-buildUnnamed1337() {
+buildUnnamed1332() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1337(core.List<core.String> o) {
+checkUnnamed1332(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1338() {
+buildUnnamed1333() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1338(core.List<core.String> o) {
+checkUnnamed1333(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1339() {
+buildUnnamed1334() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1339(core.List<core.String> o) {
+checkUnnamed1334(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -271,15 +271,15 @@
var o = new api.Contact();
buildCounterContact++;
if (buildCounterContact < 3) {
- o.acceptCommands = buildUnnamed1336();
- o.acceptTypes = buildUnnamed1337();
+ o.acceptCommands = buildUnnamed1331();
+ o.acceptTypes = buildUnnamed1332();
o.displayName = "foo";
o.id = "foo";
- o.imageUrls = buildUnnamed1338();
+ o.imageUrls = buildUnnamed1333();
o.kind = "foo";
o.phoneNumber = "foo";
o.priority = 42;
- o.sharingFeatures = buildUnnamed1339();
+ o.sharingFeatures = buildUnnamed1334();
o.source = "foo";
o.speakableName = "foo";
o.type = "foo";
@@ -291,15 +291,15 @@
checkContact(api.Contact o) {
buildCounterContact++;
if (buildCounterContact < 3) {
- checkUnnamed1336(o.acceptCommands);
- checkUnnamed1337(o.acceptTypes);
+ checkUnnamed1331(o.acceptCommands);
+ checkUnnamed1332(o.acceptTypes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1338(o.imageUrls);
+ checkUnnamed1333(o.imageUrls);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
- checkUnnamed1339(o.sharingFeatures);
+ checkUnnamed1334(o.sharingFeatures);
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.speakableName, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -307,14 +307,14 @@
buildCounterContact--;
}
-buildUnnamed1340() {
+buildUnnamed1335() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1340(core.List<api.Contact> o) {
+checkUnnamed1335(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -325,7 +325,7 @@
var o = new api.ContactsListResponse();
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- o.items = buildUnnamed1340();
+ o.items = buildUnnamed1335();
o.kind = "foo";
}
buildCounterContactsListResponse--;
@@ -335,7 +335,7 @@
checkContactsListResponse(api.ContactsListResponse o) {
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- checkUnnamed1340(o.items);
+ checkUnnamed1335(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterContactsListResponse--;
@@ -374,14 +374,14 @@
buildCounterLocation--;
}
-buildUnnamed1341() {
+buildUnnamed1336() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1341(core.List<api.Location> o) {
+checkUnnamed1336(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -392,7 +392,7 @@
var o = new api.LocationsListResponse();
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- o.items = buildUnnamed1341();
+ o.items = buildUnnamed1336();
o.kind = "foo";
}
buildCounterLocationsListResponse--;
@@ -402,20 +402,20 @@
checkLocationsListResponse(api.LocationsListResponse o) {
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- checkUnnamed1341(o.items);
+ checkUnnamed1336(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLocationsListResponse--;
}
-buildUnnamed1342() {
+buildUnnamed1337() {
var o = new core.List<api.MenuValue>();
o.add(buildMenuValue());
o.add(buildMenuValue());
return o;
}
-checkUnnamed1342(core.List<api.MenuValue> o) {
+checkUnnamed1337(core.List<api.MenuValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuValue(o[0]);
checkMenuValue(o[1]);
@@ -431,7 +431,7 @@
o.id = "foo";
o.payload = "foo";
o.removeWhenSelected = true;
- o.values = buildUnnamed1342();
+ o.values = buildUnnamed1337();
}
buildCounterMenuItem--;
return o;
@@ -445,7 +445,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.payload, unittest.equals('foo'));
unittest.expect(o.removeWhenSelected, unittest.isTrue);
- checkUnnamed1342(o.values);
+ checkUnnamed1337(o.values);
}
buildCounterMenuItem--;
}
@@ -473,14 +473,14 @@
buildCounterMenuValue--;
}
-buildUnnamed1343() {
+buildUnnamed1338() {
var o = new core.List<api.UserAction>();
o.add(buildUserAction());
o.add(buildUserAction());
return o;
}
-checkUnnamed1343(core.List<api.UserAction> o) {
+checkUnnamed1338(core.List<api.UserAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserAction(o[0]);
checkUserAction(o[1]);
@@ -494,7 +494,7 @@
o.collection = "foo";
o.itemId = "foo";
o.operation = "foo";
- o.userActions = buildUnnamed1343();
+ o.userActions = buildUnnamed1338();
o.userToken = "foo";
o.verifyToken = "foo";
}
@@ -508,7 +508,7 @@
unittest.expect(o.collection, unittest.equals('foo'));
unittest.expect(o.itemId, unittest.equals('foo'));
unittest.expect(o.operation, unittest.equals('foo'));
- checkUnnamed1343(o.userActions);
+ checkUnnamed1338(o.userActions);
unittest.expect(o.userToken, unittest.equals('foo'));
unittest.expect(o.verifyToken, unittest.equals('foo'));
}
@@ -559,14 +559,14 @@
buildCounterSetting--;
}
-buildUnnamed1344() {
+buildUnnamed1339() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1344(core.List<core.String> o) {
+checkUnnamed1339(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -582,7 +582,7 @@
o.id = "foo";
o.kind = "foo";
o.notification = buildNotification();
- o.operation = buildUnnamed1344();
+ o.operation = buildUnnamed1339();
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.userToken = "foo";
o.verifyToken = "foo";
@@ -599,7 +599,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkNotification(o.notification);
- checkUnnamed1344(o.operation);
+ checkUnnamed1339(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'));
@@ -607,14 +607,14 @@
buildCounterSubscription--;
}
-buildUnnamed1345() {
+buildUnnamed1340() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1345(core.List<api.Subscription> o) {
+checkUnnamed1340(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -625,7 +625,7 @@
var o = new api.SubscriptionsListResponse();
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- o.items = buildUnnamed1345();
+ o.items = buildUnnamed1340();
o.kind = "foo";
}
buildCounterSubscriptionsListResponse--;
@@ -635,46 +635,46 @@
checkSubscriptionsListResponse(api.SubscriptionsListResponse o) {
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- checkUnnamed1345(o.items);
+ checkUnnamed1340(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSubscriptionsListResponse--;
}
-buildUnnamed1346() {
+buildUnnamed1341() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1346(core.List<api.Attachment> o) {
+checkUnnamed1341(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
}
-buildUnnamed1347() {
+buildUnnamed1342() {
var o = new core.List<api.MenuItem>();
o.add(buildMenuItem());
o.add(buildMenuItem());
return o;
}
-checkUnnamed1347(core.List<api.MenuItem> o) {
+checkUnnamed1342(core.List<api.MenuItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuItem(o[0]);
checkMenuItem(o[1]);
}
-buildUnnamed1348() {
+buildUnnamed1343() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1348(core.List<api.Contact> o) {
+checkUnnamed1343(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -685,7 +685,7 @@
var o = new api.TimelineItem();
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- o.attachments = buildUnnamed1346();
+ o.attachments = buildUnnamed1341();
o.bundleId = "foo";
o.canonicalUrl = "foo";
o.created = core.DateTime.parse("2002-02-27T14:01:02");
@@ -700,10 +700,10 @@
o.isPinned = true;
o.kind = "foo";
o.location = buildLocation();
- o.menuItems = buildUnnamed1347();
+ o.menuItems = buildUnnamed1342();
o.notification = buildNotificationConfig();
o.pinScore = 42;
- o.recipients = buildUnnamed1348();
+ o.recipients = buildUnnamed1343();
o.selfLink = "foo";
o.sourceItemId = "foo";
o.speakableText = "foo";
@@ -719,7 +719,7 @@
checkTimelineItem(api.TimelineItem o) {
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- checkUnnamed1346(o.attachments);
+ checkUnnamed1341(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")));
@@ -734,10 +734,10 @@
unittest.expect(o.isPinned, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
checkLocation(o.location);
- checkUnnamed1347(o.menuItems);
+ checkUnnamed1342(o.menuItems);
checkNotificationConfig(o.notification);
unittest.expect(o.pinScore, unittest.equals(42));
- checkUnnamed1348(o.recipients);
+ checkUnnamed1343(o.recipients);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sourceItemId, unittest.equals('foo'));
unittest.expect(o.speakableText, unittest.equals('foo'));
@@ -749,14 +749,14 @@
buildCounterTimelineItem--;
}
-buildUnnamed1349() {
+buildUnnamed1344() {
var o = new core.List<api.TimelineItem>();
o.add(buildTimelineItem());
o.add(buildTimelineItem());
return o;
}
-checkUnnamed1349(core.List<api.TimelineItem> o) {
+checkUnnamed1344(core.List<api.TimelineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimelineItem(o[0]);
checkTimelineItem(o[1]);
@@ -767,7 +767,7 @@
var o = new api.TimelineListResponse();
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- o.items = buildUnnamed1349();
+ o.items = buildUnnamed1344();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -778,7 +778,7 @@
checkTimelineListResponse(api.TimelineListResponse o) {
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- checkUnnamed1349(o.items);
+ checkUnnamed1344(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/ml/v1_test.dart b/generated/googleapis/test/ml/v1_test.dart
index 264aa36..828273a 100644
--- a/generated/googleapis/test/ml/v1_test.dart
+++ b/generated/googleapis/test/ml/v1_test.dart
@@ -1494,9 +1494,9 @@
var mock = new HttpServerMock();
api.ProjectsJobsResourceApi res = new api.MlApi(mock).projects.jobs;
var arg_parent = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1524,9 +1524,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1535,7 +1535,7 @@
var resp = convert.JSON.encode(buildGoogleCloudMlV1ListJobsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.GoogleCloudMlV1ListJobsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.GoogleCloudMlV1ListJobsResponse response) {
checkGoogleCloudMlV1ListJobsResponse(response);
})));
});
@@ -1688,8 +1688,8 @@
var mock = new HttpServerMock();
api.ProjectsModelsResourceApi res = new api.MlApi(mock).projects.models;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1717,8 +1717,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1727,7 +1727,7 @@
var resp = convert.JSON.encode(buildGoogleCloudMlV1ListModelsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.GoogleCloudMlV1ListModelsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.GoogleCloudMlV1ListModelsResponse response) {
checkGoogleCloudMlV1ListModelsResponse(response);
})));
});
@@ -1880,8 +1880,8 @@
var mock = new HttpServerMock();
api.ProjectsModelsVersionsResourceApi res = new api.MlApi(mock).projects.models.versions;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1909,8 +1909,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1919,7 +1919,7 @@
var resp = convert.JSON.encode(buildGoogleCloudMlV1ListVersionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.GoogleCloudMlV1ListVersionsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.GoogleCloudMlV1ListVersionsResponse response) {
checkGoogleCloudMlV1ListVersionsResponse(response);
})));
});
diff --git a/generated/googleapis/test/monitoring/v3_test.dart b/generated/googleapis/test/monitoring/v3_test.dart
index e9f50d9..c9b3c25 100644
--- a/generated/googleapis/test/monitoring/v3_test.dart
+++ b/generated/googleapis/test/monitoring/v3_test.dart
@@ -74,27 +74,27 @@
buildCounterBucketOptions--;
}
-buildUnnamed1372() {
+buildUnnamed1367() {
var o = new core.Map<core.String, api.TypedValue>();
o["x"] = buildTypedValue();
o["y"] = buildTypedValue();
return o;
}
-checkUnnamed1372(core.Map<core.String, api.TypedValue> o) {
+checkUnnamed1367(core.Map<core.String, api.TypedValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTypedValue(o["x"]);
checkTypedValue(o["y"]);
}
-buildUnnamed1373() {
+buildUnnamed1368() {
var o = new core.List<api.CollectdValue>();
o.add(buildCollectdValue());
o.add(buildCollectdValue());
return o;
}
-checkUnnamed1373(core.List<api.CollectdValue> o) {
+checkUnnamed1368(core.List<api.CollectdValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdValue(o[0]);
checkCollectdValue(o[1]);
@@ -106,13 +106,13 @@
buildCounterCollectdPayload++;
if (buildCounterCollectdPayload < 3) {
o.endTime = "foo";
- o.metadata = buildUnnamed1372();
+ o.metadata = buildUnnamed1367();
o.plugin = "foo";
o.pluginInstance = "foo";
o.startTime = "foo";
o.type = "foo";
o.typeInstance = "foo";
- o.values = buildUnnamed1373();
+ o.values = buildUnnamed1368();
}
buildCounterCollectdPayload--;
return o;
@@ -122,13 +122,13 @@
buildCounterCollectdPayload++;
if (buildCounterCollectdPayload < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed1372(o.metadata);
+ checkUnnamed1367(o.metadata);
unittest.expect(o.plugin, unittest.equals('foo'));
unittest.expect(o.pluginInstance, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.typeInstance, unittest.equals('foo'));
- checkUnnamed1373(o.values);
+ checkUnnamed1368(o.values);
}
buildCounterCollectdPayload--;
}
@@ -156,14 +156,14 @@
buildCounterCollectdValue--;
}
-buildUnnamed1374() {
+buildUnnamed1369() {
var o = new core.List<api.CollectdPayload>();
o.add(buildCollectdPayload());
o.add(buildCollectdPayload());
return o;
}
-checkUnnamed1374(core.List<api.CollectdPayload> o) {
+checkUnnamed1369(core.List<api.CollectdPayload> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdPayload(o[0]);
checkCollectdPayload(o[1]);
@@ -174,7 +174,7 @@
var o = new api.CreateCollectdTimeSeriesRequest();
buildCounterCreateCollectdTimeSeriesRequest++;
if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
- o.collectdPayloads = buildUnnamed1374();
+ o.collectdPayloads = buildUnnamed1369();
o.collectdVersion = "foo";
o.resource = buildMonitoredResource();
}
@@ -185,21 +185,21 @@
checkCreateCollectdTimeSeriesRequest(api.CreateCollectdTimeSeriesRequest o) {
buildCounterCreateCollectdTimeSeriesRequest++;
if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
- checkUnnamed1374(o.collectdPayloads);
+ checkUnnamed1369(o.collectdPayloads);
unittest.expect(o.collectdVersion, unittest.equals('foo'));
checkMonitoredResource(o.resource);
}
buildCounterCreateCollectdTimeSeriesRequest--;
}
-buildUnnamed1375() {
+buildUnnamed1370() {
var o = new core.List<api.TimeSeries>();
o.add(buildTimeSeries());
o.add(buildTimeSeries());
return o;
}
-checkUnnamed1375(core.List<api.TimeSeries> o) {
+checkUnnamed1370(core.List<api.TimeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSeries(o[0]);
checkTimeSeries(o[1]);
@@ -210,7 +210,7 @@
var o = new api.CreateTimeSeriesRequest();
buildCounterCreateTimeSeriesRequest++;
if (buildCounterCreateTimeSeriesRequest < 3) {
- o.timeSeries = buildUnnamed1375();
+ o.timeSeries = buildUnnamed1370();
}
buildCounterCreateTimeSeriesRequest--;
return o;
@@ -219,19 +219,19 @@
checkCreateTimeSeriesRequest(api.CreateTimeSeriesRequest o) {
buildCounterCreateTimeSeriesRequest++;
if (buildCounterCreateTimeSeriesRequest < 3) {
- checkUnnamed1375(o.timeSeries);
+ checkUnnamed1370(o.timeSeries);
}
buildCounterCreateTimeSeriesRequest--;
}
-buildUnnamed1376() {
+buildUnnamed1371() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1376(core.List<core.String> o) {
+checkUnnamed1371(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -242,7 +242,7 @@
var o = new api.Distribution();
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- o.bucketCounts = buildUnnamed1376();
+ o.bucketCounts = buildUnnamed1371();
o.bucketOptions = buildBucketOptions();
o.count = "foo";
o.mean = 42.0;
@@ -256,7 +256,7 @@
checkDistribution(api.Distribution o) {
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- checkUnnamed1376(o.bucketCounts);
+ checkUnnamed1371(o.bucketCounts);
checkBucketOptions(o.bucketOptions);
unittest.expect(o.count, unittest.equals('foo'));
unittest.expect(o.mean, unittest.equals(42.0));
@@ -283,14 +283,14 @@
buildCounterEmpty--;
}
-buildUnnamed1377() {
+buildUnnamed1372() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1377(core.List<core.double> o) {
+checkUnnamed1372(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));
@@ -301,7 +301,7 @@
var o = new api.Explicit();
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- o.bounds = buildUnnamed1377();
+ o.bounds = buildUnnamed1372();
}
buildCounterExplicit--;
return o;
@@ -310,7 +310,7 @@
checkExplicit(api.Explicit o) {
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- checkUnnamed1377(o.bounds);
+ checkUnnamed1372(o.bounds);
}
buildCounterExplicit--;
}
@@ -338,14 +338,14 @@
buildCounterExponential--;
}
-buildUnnamed1378() {
+buildUnnamed1373() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1378(core.List<api.Option> o) {
+checkUnnamed1373(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -363,7 +363,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1378();
+ o.options = buildUnnamed1373();
o.packed = true;
o.typeUrl = "foo";
}
@@ -381,7 +381,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1378(o.options);
+ checkUnnamed1373(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
@@ -461,14 +461,14 @@
buildCounterLinear--;
}
-buildUnnamed1379() {
+buildUnnamed1374() {
var o = new core.List<api.MonitoredResource>();
o.add(buildMonitoredResource());
o.add(buildMonitoredResource());
return o;
}
-checkUnnamed1379(core.List<api.MonitoredResource> o) {
+checkUnnamed1374(core.List<api.MonitoredResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResource(o[0]);
checkMonitoredResource(o[1]);
@@ -479,7 +479,7 @@
var o = new api.ListGroupMembersResponse();
buildCounterListGroupMembersResponse++;
if (buildCounterListGroupMembersResponse < 3) {
- o.members = buildUnnamed1379();
+ o.members = buildUnnamed1374();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -490,21 +490,21 @@
checkListGroupMembersResponse(api.ListGroupMembersResponse o) {
buildCounterListGroupMembersResponse++;
if (buildCounterListGroupMembersResponse < 3) {
- checkUnnamed1379(o.members);
+ checkUnnamed1374(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListGroupMembersResponse--;
}
-buildUnnamed1380() {
+buildUnnamed1375() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed1380(core.List<api.Group> o) {
+checkUnnamed1375(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -515,7 +515,7 @@
var o = new api.ListGroupsResponse();
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- o.group = buildUnnamed1380();
+ o.group = buildUnnamed1375();
o.nextPageToken = "foo";
}
buildCounterListGroupsResponse--;
@@ -525,20 +525,20 @@
checkListGroupsResponse(api.ListGroupsResponse o) {
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- checkUnnamed1380(o.group);
+ checkUnnamed1375(o.group);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGroupsResponse--;
}
-buildUnnamed1381() {
+buildUnnamed1376() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1381(core.List<api.MetricDescriptor> o) {
+checkUnnamed1376(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
@@ -549,7 +549,7 @@
var o = new api.ListMetricDescriptorsResponse();
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
- o.metricDescriptors = buildUnnamed1381();
+ o.metricDescriptors = buildUnnamed1376();
o.nextPageToken = "foo";
}
buildCounterListMetricDescriptorsResponse--;
@@ -559,20 +559,20 @@
checkListMetricDescriptorsResponse(api.ListMetricDescriptorsResponse o) {
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
- checkUnnamed1381(o.metricDescriptors);
+ checkUnnamed1376(o.metricDescriptors);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMetricDescriptorsResponse--;
}
-buildUnnamed1382() {
+buildUnnamed1377() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1382(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1377(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -584,7 +584,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed1382();
+ o.resourceDescriptors = buildUnnamed1377();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -594,19 +594,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1382(o.resourceDescriptors);
+ checkUnnamed1377(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed1383() {
+buildUnnamed1378() {
var o = new core.List<api.TimeSeries>();
o.add(buildTimeSeries());
o.add(buildTimeSeries());
return o;
}
-checkUnnamed1383(core.List<api.TimeSeries> o) {
+checkUnnamed1378(core.List<api.TimeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSeries(o[0]);
checkTimeSeries(o[1]);
@@ -618,7 +618,7 @@
buildCounterListTimeSeriesResponse++;
if (buildCounterListTimeSeriesResponse < 3) {
o.nextPageToken = "foo";
- o.timeSeries = buildUnnamed1383();
+ o.timeSeries = buildUnnamed1378();
}
buildCounterListTimeSeriesResponse--;
return o;
@@ -628,19 +628,19 @@
buildCounterListTimeSeriesResponse++;
if (buildCounterListTimeSeriesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1383(o.timeSeries);
+ checkUnnamed1378(o.timeSeries);
}
buildCounterListTimeSeriesResponse--;
}
-buildUnnamed1384() {
+buildUnnamed1379() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1384(core.Map<core.String, core.String> o) {
+checkUnnamed1379(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'));
@@ -651,7 +651,7 @@
var o = new api.Metric();
buildCounterMetric++;
if (buildCounterMetric < 3) {
- o.labels = buildUnnamed1384();
+ o.labels = buildUnnamed1379();
o.type = "foo";
}
buildCounterMetric--;
@@ -661,20 +661,20 @@
checkMetric(api.Metric o) {
buildCounterMetric++;
if (buildCounterMetric < 3) {
- checkUnnamed1384(o.labels);
+ checkUnnamed1379(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMetric--;
}
-buildUnnamed1385() {
+buildUnnamed1380() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1385(core.List<api.LabelDescriptor> o) {
+checkUnnamed1380(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -687,7 +687,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1385();
+ o.labels = buildUnnamed1380();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -703,7 +703,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1385(o.labels);
+ checkUnnamed1380(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -713,14 +713,14 @@
buildCounterMetricDescriptor--;
}
-buildUnnamed1386() {
+buildUnnamed1381() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1386(core.Map<core.String, core.String> o) {
+checkUnnamed1381(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'));
@@ -731,7 +731,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed1386();
+ o.labels = buildUnnamed1381();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -741,20 +741,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed1386(o.labels);
+ checkUnnamed1381(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed1387() {
+buildUnnamed1382() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1387(core.List<api.LabelDescriptor> o) {
+checkUnnamed1382(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -767,7 +767,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1387();
+ o.labels = buildUnnamed1382();
o.name = "foo";
o.type = "foo";
}
@@ -780,21 +780,21 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1387(o.labels);
+ checkUnnamed1382(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1388() {
+buildUnnamed1383() {
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;
}
-checkUnnamed1388(core.Map<core.String, core.Object> o) {
+checkUnnamed1383(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'));
@@ -806,7 +806,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1388();
+ o.value = buildUnnamed1383();
}
buildCounterOption--;
return o;
@@ -816,7 +816,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1388(o.value);
+ checkUnnamed1383(o.value);
}
buildCounterOption--;
}
@@ -903,14 +903,14 @@
buildCounterTimeInterval--;
}
-buildUnnamed1389() {
+buildUnnamed1384() {
var o = new core.List<api.Point>();
o.add(buildPoint());
o.add(buildPoint());
return o;
}
-checkUnnamed1389(core.List<api.Point> o) {
+checkUnnamed1384(core.List<api.Point> o) {
unittest.expect(o, unittest.hasLength(2));
checkPoint(o[0]);
checkPoint(o[1]);
@@ -923,7 +923,7 @@
if (buildCounterTimeSeries < 3) {
o.metric = buildMetric();
o.metricKind = "foo";
- o.points = buildUnnamed1389();
+ o.points = buildUnnamed1384();
o.resource = buildMonitoredResource();
o.valueType = "foo";
}
@@ -936,47 +936,47 @@
if (buildCounterTimeSeries < 3) {
checkMetric(o.metric);
unittest.expect(o.metricKind, unittest.equals('foo'));
- checkUnnamed1389(o.points);
+ checkUnnamed1384(o.points);
checkMonitoredResource(o.resource);
unittest.expect(o.valueType, unittest.equals('foo'));
}
buildCounterTimeSeries--;
}
-buildUnnamed1390() {
+buildUnnamed1385() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1390(core.List<api.Field> o) {
+checkUnnamed1385(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1391() {
+buildUnnamed1386() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1391(core.List<core.String> o) {
+checkUnnamed1386(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1392() {
+buildUnnamed1387() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1392(core.List<api.Option> o) {
+checkUnnamed1387(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -987,10 +987,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1390();
+ o.fields = buildUnnamed1385();
o.name = "foo";
- o.oneofs = buildUnnamed1391();
- o.options = buildUnnamed1392();
+ o.oneofs = buildUnnamed1386();
+ o.options = buildUnnamed1387();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -1001,10 +1001,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1390(o.fields);
+ checkUnnamed1385(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1391(o.oneofs);
- checkUnnamed1392(o.options);
+ checkUnnamed1386(o.oneofs);
+ checkUnnamed1387(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -1038,14 +1038,27 @@
buildCounterTypedValue--;
}
-buildUnnamed1393() {
+buildUnnamed1388() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1393(core.List<core.String> o) {
+checkUnnamed1388(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1389() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1389(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1831,9 +1844,9 @@
var mock = new HttpServerMock();
api.ProjectsMetricDescriptorsResourceApi res = new api.MonitoringApi(mock).projects.metricDescriptors;
var arg_name = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1861,9 +1874,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -1872,7 +1885,7 @@
var resp = convert.JSON.encode(buildListMetricDescriptorsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListMetricDescriptorsResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListMetricDescriptorsResponse response) {
checkListMetricDescriptorsResponse(response);
})));
});
@@ -2035,10 +2048,6 @@
var mock = new HttpServerMock();
api.ProjectsTimeSeriesResourceApi res = new api.MonitoringApi(mock).projects.timeSeries;
var arg_name = "foo";
- var arg_aggregation_groupByFields = buildUnnamed1393();
- var arg_interval_endTime = "foo";
- var arg_aggregation_alignmentPeriod = "foo";
- var arg_pageSize = 42;
var arg_orderBy = "foo";
var arg_aggregation_crossSeriesReducer = "foo";
var arg_filter = "foo";
@@ -2046,6 +2055,14 @@
var arg_aggregation_perSeriesAligner = "foo";
var arg_interval_startTime = "foo";
var arg_view = "foo";
+ var arg_secondaryAggregation_crossSeriesReducer = "foo";
+ var arg_secondaryAggregation_groupByFields = buildUnnamed1388();
+ var arg_aggregation_groupByFields = buildUnnamed1389();
+ var arg_interval_endTime = "foo";
+ var arg_aggregation_alignmentPeriod = "foo";
+ var arg_secondaryAggregation_alignmentPeriod = "foo";
+ var arg_pageSize = 42;
+ var arg_secondaryAggregation_perSeriesAligner = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2073,10 +2090,6 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["aggregation.groupByFields"], unittest.equals(arg_aggregation_groupByFields));
- unittest.expect(queryMap["interval.endTime"].first, unittest.equals(arg_interval_endTime));
- unittest.expect(queryMap["aggregation.alignmentPeriod"].first, unittest.equals(arg_aggregation_alignmentPeriod));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["aggregation.crossSeriesReducer"].first, unittest.equals(arg_aggregation_crossSeriesReducer));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
@@ -2084,6 +2097,14 @@
unittest.expect(queryMap["aggregation.perSeriesAligner"].first, unittest.equals(arg_aggregation_perSeriesAligner));
unittest.expect(queryMap["interval.startTime"].first, unittest.equals(arg_interval_startTime));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["secondaryAggregation.crossSeriesReducer"].first, unittest.equals(arg_secondaryAggregation_crossSeriesReducer));
+ unittest.expect(queryMap["secondaryAggregation.groupByFields"], unittest.equals(arg_secondaryAggregation_groupByFields));
+ unittest.expect(queryMap["aggregation.groupByFields"], unittest.equals(arg_aggregation_groupByFields));
+ unittest.expect(queryMap["interval.endTime"].first, unittest.equals(arg_interval_endTime));
+ unittest.expect(queryMap["aggregation.alignmentPeriod"].first, unittest.equals(arg_aggregation_alignmentPeriod));
+ unittest.expect(queryMap["secondaryAggregation.alignmentPeriod"].first, unittest.equals(arg_secondaryAggregation_alignmentPeriod));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["secondaryAggregation.perSeriesAligner"].first, unittest.equals(arg_secondaryAggregation_perSeriesAligner));
var h = {
@@ -2092,7 +2113,7 @@
var resp = convert.JSON.encode(buildListTimeSeriesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, aggregation_groupByFields: arg_aggregation_groupByFields, interval_endTime: arg_interval_endTime, aggregation_alignmentPeriod: arg_aggregation_alignmentPeriod, pageSize: arg_pageSize, orderBy: arg_orderBy, aggregation_crossSeriesReducer: arg_aggregation_crossSeriesReducer, filter: arg_filter, pageToken: arg_pageToken, aggregation_perSeriesAligner: arg_aggregation_perSeriesAligner, interval_startTime: arg_interval_startTime, view: arg_view).then(unittest.expectAsync(((api.ListTimeSeriesResponse response) {
+ res.list(arg_name, orderBy: arg_orderBy, aggregation_crossSeriesReducer: arg_aggregation_crossSeriesReducer, filter: arg_filter, pageToken: arg_pageToken, aggregation_perSeriesAligner: arg_aggregation_perSeriesAligner, interval_startTime: arg_interval_startTime, view: arg_view, secondaryAggregation_crossSeriesReducer: arg_secondaryAggregation_crossSeriesReducer, secondaryAggregation_groupByFields: arg_secondaryAggregation_groupByFields, aggregation_groupByFields: arg_aggregation_groupByFields, interval_endTime: arg_interval_endTime, aggregation_alignmentPeriod: arg_aggregation_alignmentPeriod, secondaryAggregation_alignmentPeriod: arg_secondaryAggregation_alignmentPeriod, pageSize: arg_pageSize, secondaryAggregation_perSeriesAligner: arg_secondaryAggregation_perSeriesAligner).then(unittest.expectAsync(((api.ListTimeSeriesResponse response) {
checkListTimeSeriesResponse(response);
})));
});
diff --git a/generated/googleapis/test/oauth2/v2_test.dart b/generated/googleapis/test/oauth2/v2_test.dart
index 47fc4c0..40c1260 100644
--- a/generated/googleapis/test/oauth2/v2_test.dart
+++ b/generated/googleapis/test/oauth2/v2_test.dart
@@ -80,14 +80,14 @@
buildCounterJwkKeys--;
}
-buildUnnamed2802() {
+buildUnnamed2816() {
var o = new core.List<api.JwkKeys>();
o.add(buildJwkKeys());
o.add(buildJwkKeys());
return o;
}
-checkUnnamed2802(core.List<api.JwkKeys> o) {
+checkUnnamed2816(core.List<api.JwkKeys> o) {
unittest.expect(o, unittest.hasLength(2));
checkJwkKeys(o[0]);
checkJwkKeys(o[1]);
@@ -98,7 +98,7 @@
var o = new api.Jwk();
buildCounterJwk++;
if (buildCounterJwk < 3) {
- o.keys = buildUnnamed2802();
+ o.keys = buildUnnamed2816();
}
buildCounterJwk--;
return o;
@@ -107,7 +107,7 @@
checkJwk(api.Jwk o) {
buildCounterJwk++;
if (buildCounterJwk < 3) {
- checkUnnamed2802(o.keys);
+ checkUnnamed2816(o.keys);
}
buildCounterJwk--;
}
diff --git a/generated/googleapis/test/pagespeedonline/v1_test.dart b/generated/googleapis/test/pagespeedonline/v1_test.dart
index a4fc21a..fe9ad50 100644
--- a/generated/googleapis/test/pagespeedonline/v1_test.dart
+++ b/generated/googleapis/test/pagespeedonline/v1_test.dart
@@ -72,14 +72,14 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs--;
}
-buildUnnamed2803() {
+buildUnnamed2817() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs());
return o;
}
-checkUnnamed2803(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs> o) {
+checkUnnamed2817(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs(o[1]);
@@ -90,7 +90,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksHeader();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader < 3) {
- o.args = buildUnnamed2803();
+ o.args = buildUnnamed2817();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--;
@@ -100,7 +100,7 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksHeader(api.ResultFormattedResultsRuleResultsValueUrlBlocksHeader o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader < 3) {
- checkUnnamed2803(o.args);
+ checkUnnamed2817(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--;
@@ -127,14 +127,14 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs--;
}
-buildUnnamed2804() {
+buildUnnamed2818() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs());
return o;
}
-checkUnnamed2804(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs> o) {
+checkUnnamed2818(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs(o[1]);
@@ -145,7 +145,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails < 3) {
- o.args = buildUnnamed2804();
+ o.args = buildUnnamed2818();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--;
@@ -155,20 +155,20 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails < 3) {
- checkUnnamed2804(o.args);
+ checkUnnamed2818(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--;
}
-buildUnnamed2805() {
+buildUnnamed2819() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails());
return o;
}
-checkUnnamed2805(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails> o) {
+checkUnnamed2819(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(o[1]);
@@ -195,14 +195,14 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs--;
}
-buildUnnamed2806() {
+buildUnnamed2820() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs());
return o;
}
-checkUnnamed2806(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs> o) {
+checkUnnamed2820(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs(o[1]);
@@ -213,7 +213,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult < 3) {
- o.args = buildUnnamed2806();
+ o.args = buildUnnamed2820();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult--;
@@ -223,7 +223,7 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult < 3) {
- checkUnnamed2806(o.args);
+ checkUnnamed2820(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult--;
@@ -234,7 +234,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- o.details = buildUnnamed2805();
+ o.details = buildUnnamed2819();
o.result = buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
@@ -244,20 +244,20 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- checkUnnamed2805(o.details);
+ checkUnnamed2819(o.details);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(o.result);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
}
-buildUnnamed2807() {
+buildUnnamed2821() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
return o;
}
-checkUnnamed2807(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
+checkUnnamed2821(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[1]);
@@ -269,7 +269,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
o.header = buildResultFormattedResultsRuleResultsValueUrlBlocksHeader();
- o.urls = buildUnnamed2807();
+ o.urls = buildUnnamed2821();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
return o;
@@ -279,19 +279,19 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
checkResultFormattedResultsRuleResultsValueUrlBlocksHeader(o.header);
- checkUnnamed2807(o.urls);
+ checkUnnamed2821(o.urls);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
}
-buildUnnamed2808() {
+buildUnnamed2822() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
return o;
}
-checkUnnamed2808(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
+checkUnnamed2822(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[1]);
@@ -304,7 +304,7 @@
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
o.localizedRuleName = "foo";
o.ruleImpact = 42.0;
- o.urlBlocks = buildUnnamed2808();
+ o.urlBlocks = buildUnnamed2822();
}
buildCounterResultFormattedResultsRuleResultsValue--;
return o;
@@ -315,19 +315,19 @@
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
unittest.expect(o.localizedRuleName, unittest.equals('foo'));
unittest.expect(o.ruleImpact, unittest.equals(42.0));
- checkUnnamed2808(o.urlBlocks);
+ checkUnnamed2822(o.urlBlocks);
}
buildCounterResultFormattedResultsRuleResultsValue--;
}
-buildUnnamed2809() {
+buildUnnamed2823() {
var o = new core.Map<core.String, api.ResultFormattedResultsRuleResultsValue>();
o["x"] = buildResultFormattedResultsRuleResultsValue();
o["y"] = buildResultFormattedResultsRuleResultsValue();
return o;
}
-checkUnnamed2809(core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
+checkUnnamed2823(core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValue(o["x"]);
checkResultFormattedResultsRuleResultsValue(o["y"]);
@@ -339,7 +339,7 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
o.locale = "foo";
- o.ruleResults = buildUnnamed2809();
+ o.ruleResults = buildUnnamed2823();
}
buildCounterResultFormattedResults--;
return o;
@@ -349,19 +349,19 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed2809(o.ruleResults);
+ checkUnnamed2823(o.ruleResults);
}
buildCounterResultFormattedResults--;
}
-buildUnnamed2810() {
+buildUnnamed2824() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2810(core.List<core.String> o) {
+checkUnnamed2824(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -463,7 +463,7 @@
if (buildCounterResult < 3) {
o.formattedResults = buildResultFormattedResults();
o.id = "foo";
- o.invalidRules = buildUnnamed2810();
+ o.invalidRules = buildUnnamed2824();
o.kind = "foo";
o.pageStats = buildResultPageStats();
o.responseCode = 42;
@@ -481,7 +481,7 @@
if (buildCounterResult < 3) {
checkResultFormattedResults(o.formattedResults);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2810(o.invalidRules);
+ checkUnnamed2824(o.invalidRules);
unittest.expect(o.kind, unittest.equals('foo'));
checkResultPageStats(o.pageStats);
unittest.expect(o.responseCode, unittest.equals(42));
@@ -493,14 +493,14 @@
buildCounterResult--;
}
-buildUnnamed2811() {
+buildUnnamed2825() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2811(core.List<core.String> o) {
+checkUnnamed2825(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -642,7 +642,7 @@
var arg_url = "foo";
var arg_filterThirdPartyResources = true;
var arg_locale = "foo";
- var arg_rule = buildUnnamed2811();
+ var arg_rule = buildUnnamed2825();
var arg_screenshot = true;
var arg_strategy = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/pagespeedonline/v2_test.dart b/generated/googleapis/test/pagespeedonline/v2_test.dart
index 5d63e4a..8fb3a44 100644
--- a/generated/googleapis/test/pagespeedonline/v2_test.dart
+++ b/generated/googleapis/test/pagespeedonline/v2_test.dart
@@ -76,14 +76,14 @@
buildCounterPagespeedApiFormatStringV2ArgsRects--;
}
-buildUnnamed1149() {
+buildUnnamed1144() {
var o = new core.List<api.PagespeedApiFormatStringV2ArgsRects>();
o.add(buildPagespeedApiFormatStringV2ArgsRects());
o.add(buildPagespeedApiFormatStringV2ArgsRects());
return o;
}
-checkUnnamed1149(core.List<api.PagespeedApiFormatStringV2ArgsRects> o) {
+checkUnnamed1144(core.List<api.PagespeedApiFormatStringV2ArgsRects> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2ArgsRects(o[0]);
checkPagespeedApiFormatStringV2ArgsRects(o[1]);
@@ -114,14 +114,14 @@
buildCounterPagespeedApiFormatStringV2ArgsSecondaryRects--;
}
-buildUnnamed1150() {
+buildUnnamed1145() {
var o = new core.List<api.PagespeedApiFormatStringV2ArgsSecondaryRects>();
o.add(buildPagespeedApiFormatStringV2ArgsSecondaryRects());
o.add(buildPagespeedApiFormatStringV2ArgsSecondaryRects());
return o;
}
-checkUnnamed1150(core.List<api.PagespeedApiFormatStringV2ArgsSecondaryRects> o) {
+checkUnnamed1145(core.List<api.PagespeedApiFormatStringV2ArgsSecondaryRects> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2ArgsSecondaryRects(o[0]);
checkPagespeedApiFormatStringV2ArgsSecondaryRects(o[1]);
@@ -133,8 +133,8 @@
buildCounterPagespeedApiFormatStringV2Args++;
if (buildCounterPagespeedApiFormatStringV2Args < 3) {
o.key = "foo";
- o.rects = buildUnnamed1149();
- o.secondaryRects = buildUnnamed1150();
+ o.rects = buildUnnamed1144();
+ o.secondaryRects = buildUnnamed1145();
o.type = "foo";
o.value = "foo";
}
@@ -146,22 +146,22 @@
buildCounterPagespeedApiFormatStringV2Args++;
if (buildCounterPagespeedApiFormatStringV2Args < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1149(o.rects);
- checkUnnamed1150(o.secondaryRects);
+ checkUnnamed1144(o.rects);
+ checkUnnamed1145(o.secondaryRects);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterPagespeedApiFormatStringV2Args--;
}
-buildUnnamed1151() {
+buildUnnamed1146() {
var o = new core.List<api.PagespeedApiFormatStringV2Args>();
o.add(buildPagespeedApiFormatStringV2Args());
o.add(buildPagespeedApiFormatStringV2Args());
return o;
}
-checkUnnamed1151(core.List<api.PagespeedApiFormatStringV2Args> o) {
+checkUnnamed1146(core.List<api.PagespeedApiFormatStringV2Args> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2Args(o[0]);
checkPagespeedApiFormatStringV2Args(o[1]);
@@ -172,7 +172,7 @@
var o = new api.PagespeedApiFormatStringV2();
buildCounterPagespeedApiFormatStringV2++;
if (buildCounterPagespeedApiFormatStringV2 < 3) {
- o.args = buildUnnamed1151();
+ o.args = buildUnnamed1146();
o.format = "foo";
}
buildCounterPagespeedApiFormatStringV2--;
@@ -182,7 +182,7 @@
checkPagespeedApiFormatStringV2(api.PagespeedApiFormatStringV2 o) {
buildCounterPagespeedApiFormatStringV2++;
if (buildCounterPagespeedApiFormatStringV2 < 3) {
- checkUnnamed1151(o.args);
+ checkUnnamed1146(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterPagespeedApiFormatStringV2--;
@@ -242,27 +242,27 @@
buildCounterPagespeedApiImageV2--;
}
-buildUnnamed1152() {
+buildUnnamed1147() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1152(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'));
}
-buildUnnamed1153() {
+buildUnnamed1148() {
var o = new core.List<api.PagespeedApiFormatStringV2>();
o.add(buildPagespeedApiFormatStringV2());
o.add(buildPagespeedApiFormatStringV2());
return o;
}
-checkUnnamed1153(core.List<api.PagespeedApiFormatStringV2> o) {
+checkUnnamed1148(core.List<api.PagespeedApiFormatStringV2> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2(o[0]);
checkPagespeedApiFormatStringV2(o[1]);
@@ -273,7 +273,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- o.details = buildUnnamed1153();
+ o.details = buildUnnamed1148();
o.result = buildPagespeedApiFormatStringV2();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
@@ -283,20 +283,20 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- checkUnnamed1153(o.details);
+ checkUnnamed1148(o.details);
checkPagespeedApiFormatStringV2(o.result);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
}
-buildUnnamed1154() {
+buildUnnamed1149() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
return o;
}
-checkUnnamed1154(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
+checkUnnamed1149(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[1]);
@@ -308,7 +308,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
o.header = buildPagespeedApiFormatStringV2();
- o.urls = buildUnnamed1154();
+ o.urls = buildUnnamed1149();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
return o;
@@ -318,19 +318,19 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
checkPagespeedApiFormatStringV2(o.header);
- checkUnnamed1154(o.urls);
+ checkUnnamed1149(o.urls);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
}
-buildUnnamed1155() {
+buildUnnamed1150() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
return o;
}
-checkUnnamed1155(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
+checkUnnamed1150(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[1]);
@@ -341,11 +341,11 @@
var o = new api.ResultFormattedResultsRuleResultsValue();
buildCounterResultFormattedResultsRuleResultsValue++;
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
- o.groups = buildUnnamed1152();
+ o.groups = buildUnnamed1147();
o.localizedRuleName = "foo";
o.ruleImpact = 42.0;
o.summary = buildPagespeedApiFormatStringV2();
- o.urlBlocks = buildUnnamed1155();
+ o.urlBlocks = buildUnnamed1150();
}
buildCounterResultFormattedResultsRuleResultsValue--;
return o;
@@ -354,23 +354,23 @@
checkResultFormattedResultsRuleResultsValue(api.ResultFormattedResultsRuleResultsValue o) {
buildCounterResultFormattedResultsRuleResultsValue++;
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
- checkUnnamed1152(o.groups);
+ checkUnnamed1147(o.groups);
unittest.expect(o.localizedRuleName, unittest.equals('foo'));
unittest.expect(o.ruleImpact, unittest.equals(42.0));
checkPagespeedApiFormatStringV2(o.summary);
- checkUnnamed1155(o.urlBlocks);
+ checkUnnamed1150(o.urlBlocks);
}
buildCounterResultFormattedResultsRuleResultsValue--;
}
-buildUnnamed1156() {
+buildUnnamed1151() {
var o = new core.Map<core.String, api.ResultFormattedResultsRuleResultsValue>();
o["x"] = buildResultFormattedResultsRuleResultsValue();
o["y"] = buildResultFormattedResultsRuleResultsValue();
return o;
}
-checkUnnamed1156(core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
+checkUnnamed1151(core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValue(o["x"]);
checkResultFormattedResultsRuleResultsValue(o["y"]);
@@ -382,7 +382,7 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
o.locale = "foo";
- o.ruleResults = buildUnnamed1156();
+ o.ruleResults = buildUnnamed1151();
}
buildCounterResultFormattedResults--;
return o;
@@ -392,19 +392,19 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1156(o.ruleResults);
+ checkUnnamed1151(o.ruleResults);
}
buildCounterResultFormattedResults--;
}
-buildUnnamed1157() {
+buildUnnamed1152() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1157(core.List<core.String> o) {
+checkUnnamed1152(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -472,14 +472,14 @@
buildCounterResultRuleGroupsValue--;
}
-buildUnnamed1158() {
+buildUnnamed1153() {
var o = new core.Map<core.String, api.ResultRuleGroupsValue>();
o["x"] = buildResultRuleGroupsValue();
o["y"] = buildResultRuleGroupsValue();
return o;
}
-checkUnnamed1158(core.Map<core.String, api.ResultRuleGroupsValue> o) {
+checkUnnamed1153(core.Map<core.String, api.ResultRuleGroupsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultRuleGroupsValue(o["x"]);
checkResultRuleGroupsValue(o["y"]);
@@ -513,11 +513,11 @@
if (buildCounterResult < 3) {
o.formattedResults = buildResultFormattedResults();
o.id = "foo";
- o.invalidRules = buildUnnamed1157();
+ o.invalidRules = buildUnnamed1152();
o.kind = "foo";
o.pageStats = buildResultPageStats();
o.responseCode = 42;
- o.ruleGroups = buildUnnamed1158();
+ o.ruleGroups = buildUnnamed1153();
o.screenshot = buildPagespeedApiImageV2();
o.title = "foo";
o.version = buildResultVersion();
@@ -531,11 +531,11 @@
if (buildCounterResult < 3) {
checkResultFormattedResults(o.formattedResults);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1157(o.invalidRules);
+ checkUnnamed1152(o.invalidRules);
unittest.expect(o.kind, unittest.equals('foo'));
checkResultPageStats(o.pageStats);
unittest.expect(o.responseCode, unittest.equals(42));
- checkUnnamed1158(o.ruleGroups);
+ checkUnnamed1153(o.ruleGroups);
checkPagespeedApiImageV2(o.screenshot);
unittest.expect(o.title, unittest.equals('foo'));
checkResultVersion(o.version);
@@ -543,14 +543,14 @@
buildCounterResult--;
}
-buildUnnamed1159() {
+buildUnnamed1154() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1159(core.List<core.String> o) {
+checkUnnamed1154(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -692,7 +692,7 @@
var arg_url = "foo";
var arg_filterThirdPartyResources = true;
var arg_locale = "foo";
- var arg_rule = buildUnnamed1159();
+ var arg_rule = buildUnnamed1154();
var arg_screenshot = true;
var arg_strategy = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/partners/v2_test.dart b/generated/googleapis/test/partners/v2_test.dart
index 6cafa05..e9c41ae 100644
--- a/generated/googleapis/test/partners/v2_test.dart
+++ b/generated/googleapis/test/partners/v2_test.dart
@@ -97,14 +97,14 @@
buildCounterAnalytics--;
}
-buildUnnamed1719() {
+buildUnnamed1731() {
var o = new core.List<api.LatLng>();
o.add(buildLatLng());
o.add(buildLatLng());
return o;
}
-checkUnnamed1719(core.List<api.LatLng> o) {
+checkUnnamed1731(core.List<api.LatLng> o) {
unittest.expect(o, unittest.hasLength(2));
checkLatLng(o[0]);
checkLatLng(o[1]);
@@ -116,7 +116,7 @@
buildCounterAnalyticsDataPoint++;
if (buildCounterAnalyticsDataPoint < 3) {
o.eventCount = 42;
- o.eventLocations = buildUnnamed1719();
+ o.eventLocations = buildUnnamed1731();
}
buildCounterAnalyticsDataPoint--;
return o;
@@ -126,7 +126,7 @@
buildCounterAnalyticsDataPoint++;
if (buildCounterAnalyticsDataPoint < 3) {
unittest.expect(o.eventCount, unittest.equals(42));
- checkUnnamed1719(o.eventLocations);
+ checkUnnamed1731(o.eventLocations);
}
buildCounterAnalyticsDataPoint--;
}
@@ -154,27 +154,27 @@
buildCounterAnalyticsSummary--;
}
-buildUnnamed1720() {
+buildUnnamed1732() {
var o = new core.List<api.CountryOfferInfo>();
o.add(buildCountryOfferInfo());
o.add(buildCountryOfferInfo());
return o;
}
-checkUnnamed1720(core.List<api.CountryOfferInfo> o) {
+checkUnnamed1732(core.List<api.CountryOfferInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountryOfferInfo(o[0]);
checkCountryOfferInfo(o[1]);
}
-buildUnnamed1721() {
+buildUnnamed1733() {
var o = new core.List<api.OfferCustomer>();
o.add(buildOfferCustomer());
o.add(buildOfferCustomer());
return o;
}
-checkUnnamed1721(core.List<api.OfferCustomer> o) {
+checkUnnamed1733(core.List<api.OfferCustomer> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfferCustomer(o[0]);
checkOfferCustomer(o[1]);
@@ -186,14 +186,14 @@
buildCounterAvailableOffer++;
if (buildCounterAvailableOffer < 3) {
o.available = 42;
- o.countryOfferInfos = buildUnnamed1720();
+ o.countryOfferInfos = buildUnnamed1732();
o.description = "foo";
o.id = "foo";
o.maxAccountAge = 42;
o.name = "foo";
o.offerLevel = "foo";
o.offerType = "foo";
- o.qualifiedCustomer = buildUnnamed1721();
+ o.qualifiedCustomer = buildUnnamed1733();
o.qualifiedCustomersComplete = true;
o.showSpecialOfferCopy = true;
o.terms = "foo";
@@ -206,14 +206,14 @@
buildCounterAvailableOffer++;
if (buildCounterAvailableOffer < 3) {
unittest.expect(o.available, unittest.equals(42));
- checkUnnamed1720(o.countryOfferInfos);
+ checkUnnamed1732(o.countryOfferInfos);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.maxAccountAge, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.offerLevel, unittest.equals('foo'));
unittest.expect(o.offerType, unittest.equals('foo'));
- checkUnnamed1721(o.qualifiedCustomer);
+ checkUnnamed1733(o.qualifiedCustomer);
unittest.expect(o.qualifiedCustomersComplete, unittest.isTrue);
unittest.expect(o.showSpecialOfferCopy, unittest.isTrue);
unittest.expect(o.terms, unittest.equals('foo'));
@@ -269,14 +269,14 @@
buildCounterCertificationExamStatus--;
}
-buildUnnamed1722() {
+buildUnnamed1734() {
var o = new core.List<api.CertificationExamStatus>();
o.add(buildCertificationExamStatus());
o.add(buildCertificationExamStatus());
return o;
}
-checkUnnamed1722(core.List<api.CertificationExamStatus> o) {
+checkUnnamed1734(core.List<api.CertificationExamStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertificationExamStatus(o[0]);
checkCertificationExamStatus(o[1]);
@@ -287,7 +287,7 @@
var o = new api.CertificationStatus();
buildCounterCertificationStatus++;
if (buildCounterCertificationStatus < 3) {
- o.examStatuses = buildUnnamed1722();
+ o.examStatuses = buildUnnamed1734();
o.isCertified = true;
o.type = "foo";
o.userCount = 42;
@@ -299,7 +299,7 @@
checkCertificationStatus(api.CertificationStatus o) {
buildCounterCertificationStatus++;
if (buildCounterCertificationStatus < 3) {
- checkUnnamed1722(o.examStatuses);
+ checkUnnamed1734(o.examStatuses);
unittest.expect(o.isCertified, unittest.isTrue);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.userCount, unittest.equals(42));
@@ -307,131 +307,131 @@
buildCounterCertificationStatus--;
}
-buildUnnamed1723() {
+buildUnnamed1735() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1723(core.List<core.String> o) {
+checkUnnamed1735(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1724() {
+buildUnnamed1736() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1724(core.List<core.String> o) {
+checkUnnamed1736(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1725() {
+buildUnnamed1737() {
var o = new core.List<api.CertificationStatus>();
o.add(buildCertificationStatus());
o.add(buildCertificationStatus());
return o;
}
-checkUnnamed1725(core.List<api.CertificationStatus> o) {
+checkUnnamed1737(core.List<api.CertificationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertificationStatus(o[0]);
checkCertificationStatus(o[1]);
}
-buildUnnamed1726() {
+buildUnnamed1738() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1726(core.List<core.String> o) {
+checkUnnamed1738(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1727() {
+buildUnnamed1739() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1727(core.List<core.String> o) {
+checkUnnamed1739(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1728() {
+buildUnnamed1740() {
var o = new core.List<api.LocalizedCompanyInfo>();
o.add(buildLocalizedCompanyInfo());
o.add(buildLocalizedCompanyInfo());
return o;
}
-checkUnnamed1728(core.List<api.LocalizedCompanyInfo> o) {
+checkUnnamed1740(core.List<api.LocalizedCompanyInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedCompanyInfo(o[0]);
checkLocalizedCompanyInfo(o[1]);
}
-buildUnnamed1729() {
+buildUnnamed1741() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1729(core.List<api.Location> o) {
+checkUnnamed1741(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
}
-buildUnnamed1730() {
+buildUnnamed1742() {
var o = new core.List<api.Rank>();
o.add(buildRank());
o.add(buildRank());
return o;
}
-checkUnnamed1730(core.List<api.Rank> o) {
+checkUnnamed1742(core.List<api.Rank> o) {
unittest.expect(o, unittest.hasLength(2));
checkRank(o[0]);
checkRank(o[1]);
}
-buildUnnamed1731() {
+buildUnnamed1743() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1731(core.List<core.String> o) {
+checkUnnamed1743(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1732() {
+buildUnnamed1744() {
var o = new core.List<api.SpecializationStatus>();
o.add(buildSpecializationStatus());
o.add(buildSpecializationStatus());
return o;
}
-checkUnnamed1732(core.List<api.SpecializationStatus> o) {
+checkUnnamed1744(core.List<api.SpecializationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpecializationStatus(o[0]);
checkSpecializationStatus(o[1]);
@@ -442,16 +442,16 @@
var o = new api.Company();
buildCounterCompany++;
if (buildCounterCompany < 3) {
- o.additionalWebsites = buildUnnamed1723();
- o.autoApprovalEmailDomains = buildUnnamed1724();
+ o.additionalWebsites = buildUnnamed1735();
+ o.autoApprovalEmailDomains = buildUnnamed1736();
o.badgeTier = "foo";
- o.certificationStatuses = buildUnnamed1725();
- o.companyTypes = buildUnnamed1726();
+ o.certificationStatuses = buildUnnamed1737();
+ o.companyTypes = buildUnnamed1738();
o.convertedMinMonthlyBudget = buildMoney();
o.id = "foo";
- o.industries = buildUnnamed1727();
- o.localizedInfos = buildUnnamed1728();
- o.locations = buildUnnamed1729();
+ o.industries = buildUnnamed1739();
+ o.localizedInfos = buildUnnamed1740();
+ o.locations = buildUnnamed1741();
o.name = "foo";
o.originalMinMonthlyBudget = buildMoney();
o.primaryAdwordsManagerAccountId = "foo";
@@ -459,9 +459,9 @@
o.primaryLocation = buildLocation();
o.profileStatus = "foo";
o.publicProfile = buildPublicProfile();
- o.ranks = buildUnnamed1730();
- o.services = buildUnnamed1731();
- o.specializationStatus = buildUnnamed1732();
+ o.ranks = buildUnnamed1742();
+ o.services = buildUnnamed1743();
+ o.specializationStatus = buildUnnamed1744();
o.websiteUrl = "foo";
}
buildCounterCompany--;
@@ -471,16 +471,16 @@
checkCompany(api.Company o) {
buildCounterCompany++;
if (buildCounterCompany < 3) {
- checkUnnamed1723(o.additionalWebsites);
- checkUnnamed1724(o.autoApprovalEmailDomains);
+ checkUnnamed1735(o.additionalWebsites);
+ checkUnnamed1736(o.autoApprovalEmailDomains);
unittest.expect(o.badgeTier, unittest.equals('foo'));
- checkUnnamed1725(o.certificationStatuses);
- checkUnnamed1726(o.companyTypes);
+ checkUnnamed1737(o.certificationStatuses);
+ checkUnnamed1738(o.companyTypes);
checkMoney(o.convertedMinMonthlyBudget);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1727(o.industries);
- checkUnnamed1728(o.localizedInfos);
- checkUnnamed1729(o.locations);
+ checkUnnamed1739(o.industries);
+ checkUnnamed1740(o.localizedInfos);
+ checkUnnamed1741(o.locations);
unittest.expect(o.name, unittest.equals('foo'));
checkMoney(o.originalMinMonthlyBudget);
unittest.expect(o.primaryAdwordsManagerAccountId, unittest.equals('foo'));
@@ -488,35 +488,35 @@
checkLocation(o.primaryLocation);
unittest.expect(o.profileStatus, unittest.equals('foo'));
checkPublicProfile(o.publicProfile);
- checkUnnamed1730(o.ranks);
- checkUnnamed1731(o.services);
- checkUnnamed1732(o.specializationStatus);
+ checkUnnamed1742(o.ranks);
+ checkUnnamed1743(o.services);
+ checkUnnamed1744(o.specializationStatus);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterCompany--;
}
-buildUnnamed1733() {
+buildUnnamed1745() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1733(core.List<core.String> o) {
+checkUnnamed1745(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1734() {
+buildUnnamed1746() {
var o = new core.List<api.SpecializationStatus>();
o.add(buildSpecializationStatus());
o.add(buildSpecializationStatus());
return o;
}
-checkUnnamed1734(core.List<api.SpecializationStatus> o) {
+checkUnnamed1746(core.List<api.SpecializationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpecializationStatus(o[0]);
checkSpecializationStatus(o[1]);
@@ -538,8 +538,8 @@
o.name = "foo";
o.phoneNumber = "foo";
o.resolvedTimestamp = "foo";
- o.segment = buildUnnamed1733();
- o.specializationStatus = buildUnnamed1734();
+ o.segment = buildUnnamed1745();
+ o.specializationStatus = buildUnnamed1746();
o.state = "foo";
o.website = "foo";
}
@@ -561,8 +561,8 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.resolvedTimestamp, unittest.equals('foo'));
- checkUnnamed1733(o.segment);
- checkUnnamed1734(o.specializationStatus);
+ checkUnnamed1745(o.segment);
+ checkUnnamed1746(o.specializationStatus);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.website, unittest.equals('foo'));
}
@@ -703,14 +703,14 @@
buildCounterEmpty--;
}
-buildUnnamed1735() {
+buildUnnamed1747() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1735(core.List<core.String> o) {
+checkUnnamed1747(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -722,7 +722,7 @@
buildCounterEventData++;
if (buildCounterEventData < 3) {
o.key = "foo";
- o.values = buildUnnamed1735();
+ o.values = buildUnnamed1747();
}
buildCounterEventData--;
return o;
@@ -732,7 +732,7 @@
buildCounterEventData++;
if (buildCounterEventData < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1735(o.values);
+ checkUnnamed1747(o.values);
}
buildCounterEventData--;
}
@@ -891,14 +891,14 @@
buildCounterLatLng--;
}
-buildUnnamed1736() {
+buildUnnamed1748() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1736(core.List<core.String> o) {
+checkUnnamed1748(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -915,7 +915,7 @@
o.email = "foo";
o.familyName = "foo";
o.givenName = "foo";
- o.gpsMotivations = buildUnnamed1736();
+ o.gpsMotivations = buildUnnamed1748();
o.id = "foo";
o.languageCode = "foo";
o.marketingOptIn = true;
@@ -938,7 +938,7 @@
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.familyName, unittest.equals('foo'));
unittest.expect(o.givenName, unittest.equals('foo'));
- checkUnnamed1736(o.gpsMotivations);
+ checkUnnamed1748(o.gpsMotivations);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.marketingOptIn, unittest.isTrue);
@@ -951,14 +951,14 @@
buildCounterLead--;
}
-buildUnnamed1737() {
+buildUnnamed1749() {
var o = new core.List<api.Analytics>();
o.add(buildAnalytics());
o.add(buildAnalytics());
return o;
}
-checkUnnamed1737(core.List<api.Analytics> o) {
+checkUnnamed1749(core.List<api.Analytics> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalytics(o[0]);
checkAnalytics(o[1]);
@@ -969,7 +969,7 @@
var o = new api.ListAnalyticsResponse();
buildCounterListAnalyticsResponse++;
if (buildCounterListAnalyticsResponse < 3) {
- o.analytics = buildUnnamed1737();
+ o.analytics = buildUnnamed1749();
o.analyticsSummary = buildAnalyticsSummary();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
@@ -981,7 +981,7 @@
checkListAnalyticsResponse(api.ListAnalyticsResponse o) {
buildCounterListAnalyticsResponse++;
if (buildCounterListAnalyticsResponse < 3) {
- checkUnnamed1737(o.analytics);
+ checkUnnamed1749(o.analytics);
checkAnalyticsSummary(o.analyticsSummary);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
@@ -989,14 +989,14 @@
buildCounterListAnalyticsResponse--;
}
-buildUnnamed1738() {
+buildUnnamed1750() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed1738(core.List<api.Company> o) {
+checkUnnamed1750(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -1007,7 +1007,7 @@
var o = new api.ListCompaniesResponse();
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- o.companies = buildUnnamed1738();
+ o.companies = buildUnnamed1750();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
}
@@ -1018,21 +1018,21 @@
checkListCompaniesResponse(api.ListCompaniesResponse o) {
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- checkUnnamed1738(o.companies);
+ checkUnnamed1750(o.companies);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
}
buildCounterListCompaniesResponse--;
}
-buildUnnamed1739() {
+buildUnnamed1751() {
var o = new core.List<api.Lead>();
o.add(buildLead());
o.add(buildLead());
return o;
}
-checkUnnamed1739(core.List<api.Lead> o) {
+checkUnnamed1751(core.List<api.Lead> o) {
unittest.expect(o, unittest.hasLength(2));
checkLead(o[0]);
checkLead(o[1]);
@@ -1043,7 +1043,7 @@
var o = new api.ListLeadsResponse();
buildCounterListLeadsResponse++;
if (buildCounterListLeadsResponse < 3) {
- o.leads = buildUnnamed1739();
+ o.leads = buildUnnamed1751();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
o.totalSize = 42;
@@ -1055,7 +1055,7 @@
checkListLeadsResponse(api.ListLeadsResponse o) {
buildCounterListLeadsResponse++;
if (buildCounterListLeadsResponse < 3) {
- checkUnnamed1739(o.leads);
+ checkUnnamed1751(o.leads);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
unittest.expect(o.totalSize, unittest.equals(42));
@@ -1063,14 +1063,14 @@
buildCounterListLeadsResponse--;
}
-buildUnnamed1740() {
+buildUnnamed1752() {
var o = new core.List<api.HistoricalOffer>();
o.add(buildHistoricalOffer());
o.add(buildHistoricalOffer());
return o;
}
-checkUnnamed1740(core.List<api.HistoricalOffer> o) {
+checkUnnamed1752(core.List<api.HistoricalOffer> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoricalOffer(o[0]);
checkHistoricalOffer(o[1]);
@@ -1083,7 +1083,7 @@
if (buildCounterListOffersHistoryResponse < 3) {
o.canShowEntireCompany = true;
o.nextPageToken = "foo";
- o.offers = buildUnnamed1740();
+ o.offers = buildUnnamed1752();
o.responseMetadata = buildResponseMetadata();
o.showingEntireCompany = true;
o.totalResults = 42;
@@ -1097,7 +1097,7 @@
if (buildCounterListOffersHistoryResponse < 3) {
unittest.expect(o.canShowEntireCompany, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1740(o.offers);
+ checkUnnamed1752(o.offers);
checkResponseMetadata(o.responseMetadata);
unittest.expect(o.showingEntireCompany, unittest.isTrue);
unittest.expect(o.totalResults, unittest.equals(42));
@@ -1105,14 +1105,14 @@
buildCounterListOffersHistoryResponse--;
}
-buildUnnamed1741() {
+buildUnnamed1753() {
var o = new core.List<api.AvailableOffer>();
o.add(buildAvailableOffer());
o.add(buildAvailableOffer());
return o;
}
-checkUnnamed1741(core.List<api.AvailableOffer> o) {
+checkUnnamed1753(core.List<api.AvailableOffer> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailableOffer(o[0]);
checkAvailableOffer(o[1]);
@@ -1123,7 +1123,7 @@
var o = new api.ListOffersResponse();
buildCounterListOffersResponse++;
if (buildCounterListOffersResponse < 3) {
- o.availableOffers = buildUnnamed1741();
+ o.availableOffers = buildUnnamed1753();
o.noOfferReason = "foo";
o.responseMetadata = buildResponseMetadata();
}
@@ -1134,21 +1134,21 @@
checkListOffersResponse(api.ListOffersResponse o) {
buildCounterListOffersResponse++;
if (buildCounterListOffersResponse < 3) {
- checkUnnamed1741(o.availableOffers);
+ checkUnnamed1753(o.availableOffers);
unittest.expect(o.noOfferReason, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
}
buildCounterListOffersResponse--;
}
-buildUnnamed1742() {
+buildUnnamed1754() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1742(core.List<core.String> o) {
+checkUnnamed1754(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1160,7 +1160,7 @@
buildCounterListUserStatesResponse++;
if (buildCounterListUserStatesResponse < 3) {
o.responseMetadata = buildResponseMetadata();
- o.userStates = buildUnnamed1742();
+ o.userStates = buildUnnamed1754();
}
buildCounterListUserStatesResponse--;
return o;
@@ -1170,19 +1170,19 @@
buildCounterListUserStatesResponse++;
if (buildCounterListUserStatesResponse < 3) {
checkResponseMetadata(o.responseMetadata);
- checkUnnamed1742(o.userStates);
+ checkUnnamed1754(o.userStates);
}
buildCounterListUserStatesResponse--;
}
-buildUnnamed1743() {
+buildUnnamed1755() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1743(core.List<core.String> o) {
+checkUnnamed1755(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1193,7 +1193,7 @@
var o = new api.LocalizedCompanyInfo();
buildCounterLocalizedCompanyInfo++;
if (buildCounterLocalizedCompanyInfo < 3) {
- o.countryCodes = buildUnnamed1743();
+ o.countryCodes = buildUnnamed1755();
o.displayName = "foo";
o.languageCode = "foo";
o.overview = "foo";
@@ -1205,7 +1205,7 @@
checkLocalizedCompanyInfo(api.LocalizedCompanyInfo o) {
buildCounterLocalizedCompanyInfo++;
if (buildCounterLocalizedCompanyInfo < 3) {
- checkUnnamed1743(o.countryCodes);
+ checkUnnamed1755(o.countryCodes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
@@ -1213,14 +1213,14 @@
buildCounterLocalizedCompanyInfo--;
}
-buildUnnamed1744() {
+buildUnnamed1756() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1744(core.List<core.String> o) {
+checkUnnamed1756(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1232,7 +1232,7 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.address = "foo";
- o.addressLine = buildUnnamed1744();
+ o.addressLine = buildUnnamed1756();
o.administrativeArea = "foo";
o.dependentLocality = "foo";
o.languageCode = "foo";
@@ -1250,7 +1250,7 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.address, unittest.equals('foo'));
- checkUnnamed1744(o.addressLine);
+ checkUnnamed1756(o.addressLine);
unittest.expect(o.administrativeArea, unittest.equals('foo'));
unittest.expect(o.dependentLocality, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
@@ -1263,14 +1263,14 @@
buildCounterLocation--;
}
-buildUnnamed1745() {
+buildUnnamed1757() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1745(core.Map<core.String, core.String> o) {
+checkUnnamed1757(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'));
@@ -1281,7 +1281,7 @@
var o = new api.LogMessageRequest();
buildCounterLogMessageRequest++;
if (buildCounterLogMessageRequest < 3) {
- o.clientInfo = buildUnnamed1745();
+ o.clientInfo = buildUnnamed1757();
o.details = "foo";
o.level = "foo";
o.requestMetadata = buildRequestMetadata();
@@ -1293,7 +1293,7 @@
checkLogMessageRequest(api.LogMessageRequest o) {
buildCounterLogMessageRequest++;
if (buildCounterLogMessageRequest < 3) {
- checkUnnamed1745(o.clientInfo);
+ checkUnnamed1757(o.clientInfo);
unittest.expect(o.details, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
checkRequestMetadata(o.requestMetadata);
@@ -1320,14 +1320,14 @@
buildCounterLogMessageResponse--;
}
-buildUnnamed1746() {
+buildUnnamed1758() {
var o = new core.List<api.EventData>();
o.add(buildEventData());
o.add(buildEventData());
return o;
}
-checkUnnamed1746(core.List<api.EventData> o) {
+checkUnnamed1758(core.List<api.EventData> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventData(o[0]);
checkEventData(o[1]);
@@ -1340,7 +1340,7 @@
if (buildCounterLogUserEventRequest < 3) {
o.eventAction = "foo";
o.eventCategory = "foo";
- o.eventDatas = buildUnnamed1746();
+ o.eventDatas = buildUnnamed1758();
o.eventScope = "foo";
o.lead = buildLead();
o.requestMetadata = buildRequestMetadata();
@@ -1355,7 +1355,7 @@
if (buildCounterLogUserEventRequest < 3) {
unittest.expect(o.eventAction, unittest.equals('foo'));
unittest.expect(o.eventCategory, unittest.equals('foo'));
- checkUnnamed1746(o.eventDatas);
+ checkUnnamed1758(o.eventDatas);
unittest.expect(o.eventScope, unittest.equals('foo'));
checkLead(o.lead);
checkRequestMetadata(o.requestMetadata);
@@ -1537,14 +1537,14 @@
buildCounterRecaptchaChallenge--;
}
-buildUnnamed1747() {
+buildUnnamed1759() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1747(core.List<core.String> o) {
+checkUnnamed1759(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1555,7 +1555,7 @@
var o = new api.RequestMetadata();
buildCounterRequestMetadata++;
if (buildCounterRequestMetadata < 3) {
- o.experimentIds = buildUnnamed1747();
+ o.experimentIds = buildUnnamed1759();
o.locale = "foo";
o.partnersSessionId = "foo";
o.trafficSource = buildTrafficSource();
@@ -1568,7 +1568,7 @@
checkRequestMetadata(api.RequestMetadata o) {
buildCounterRequestMetadata++;
if (buildCounterRequestMetadata < 3) {
- checkUnnamed1747(o.experimentIds);
+ checkUnnamed1759(o.experimentIds);
unittest.expect(o.locale, unittest.equals('foo'));
unittest.expect(o.partnersSessionId, unittest.equals('foo'));
checkTrafficSource(o.trafficSource);
@@ -1638,53 +1638,53 @@
buildCounterTrafficSource--;
}
-buildUnnamed1748() {
+buildUnnamed1760() {
var o = new core.List<api.AdWordsManagerAccountInfo>();
o.add(buildAdWordsManagerAccountInfo());
o.add(buildAdWordsManagerAccountInfo());
return o;
}
-checkUnnamed1748(core.List<api.AdWordsManagerAccountInfo> o) {
+checkUnnamed1760(core.List<api.AdWordsManagerAccountInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdWordsManagerAccountInfo(o[0]);
checkAdWordsManagerAccountInfo(o[1]);
}
-buildUnnamed1749() {
+buildUnnamed1761() {
var o = new core.List<api.Certification>();
o.add(buildCertification());
o.add(buildCertification());
return o;
}
-checkUnnamed1749(core.List<api.Certification> o) {
+checkUnnamed1761(core.List<api.Certification> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertification(o[0]);
checkCertification(o[1]);
}
-buildUnnamed1750() {
+buildUnnamed1762() {
var o = new core.List<api.ExamStatus>();
o.add(buildExamStatus());
o.add(buildExamStatus());
return o;
}
-checkUnnamed1750(core.List<api.ExamStatus> o) {
+checkUnnamed1762(core.List<api.ExamStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkExamStatus(o[0]);
checkExamStatus(o[1]);
}
-buildUnnamed1751() {
+buildUnnamed1763() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1751(core.List<core.String> o) {
+checkUnnamed1763(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1695,14 +1695,14 @@
var o = new api.User();
buildCounterUser++;
if (buildCounterUser < 3) {
- o.availableAdwordsManagerAccounts = buildUnnamed1748();
- o.certificationStatus = buildUnnamed1749();
+ o.availableAdwordsManagerAccounts = buildUnnamed1760();
+ o.certificationStatus = buildUnnamed1761();
o.company = buildCompanyRelation();
o.companyVerificationEmail = "foo";
- o.examStatus = buildUnnamed1750();
+ o.examStatus = buildUnnamed1762();
o.id = "foo";
o.lastAccessTime = "foo";
- o.primaryEmails = buildUnnamed1751();
+ o.primaryEmails = buildUnnamed1763();
o.profile = buildUserProfile();
o.publicProfile = buildPublicProfile();
}
@@ -1713,14 +1713,14 @@
checkUser(api.User o) {
buildCounterUser++;
if (buildCounterUser < 3) {
- checkUnnamed1748(o.availableAdwordsManagerAccounts);
- checkUnnamed1749(o.certificationStatus);
+ checkUnnamed1760(o.availableAdwordsManagerAccounts);
+ checkUnnamed1761(o.certificationStatus);
checkCompanyRelation(o.company);
unittest.expect(o.companyVerificationEmail, unittest.equals('foo'));
- checkUnnamed1750(o.examStatus);
+ checkUnnamed1762(o.examStatus);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.lastAccessTime, unittest.equals('foo'));
- checkUnnamed1751(o.primaryEmails);
+ checkUnnamed1763(o.primaryEmails);
checkUserProfile(o.profile);
checkPublicProfile(o.publicProfile);
}
@@ -1748,207 +1748,6 @@
buildCounterUserOverrides--;
}
-buildUnnamed1752() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1752(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1753() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1753(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1754() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1754(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1755() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1755(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1756() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1756(core.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 buildCounterUserProfile = 0;
-buildUserProfile() {
- var o = new api.UserProfile();
- buildCounterUserProfile++;
- if (buildCounterUserProfile < 3) {
- o.address = buildLocation();
- o.adwordsManagerAccount = "foo";
- o.channels = buildUnnamed1752();
- o.emailAddress = "foo";
- o.emailOptIns = buildOptIns();
- o.familyName = "foo";
- o.givenName = "foo";
- o.industries = buildUnnamed1753();
- o.jobFunctions = buildUnnamed1754();
- o.languages = buildUnnamed1755();
- o.markets = buildUnnamed1756();
- o.phoneNumber = "foo";
- o.primaryCountryCode = "foo";
- o.profilePublic = true;
- }
- buildCounterUserProfile--;
- return o;
-}
-
-checkUserProfile(api.UserProfile o) {
- buildCounterUserProfile++;
- if (buildCounterUserProfile < 3) {
- checkLocation(o.address);
- unittest.expect(o.adwordsManagerAccount, unittest.equals('foo'));
- checkUnnamed1752(o.channels);
- unittest.expect(o.emailAddress, unittest.equals('foo'));
- checkOptIns(o.emailOptIns);
- unittest.expect(o.familyName, unittest.equals('foo'));
- unittest.expect(o.givenName, unittest.equals('foo'));
- checkUnnamed1753(o.industries);
- checkUnnamed1754(o.jobFunctions);
- checkUnnamed1755(o.languages);
- checkUnnamed1756(o.markets);
- unittest.expect(o.phoneNumber, unittest.equals('foo'));
- unittest.expect(o.primaryCountryCode, unittest.equals('foo'));
- unittest.expect(o.profilePublic, unittest.isTrue);
- }
- buildCounterUserProfile--;
-}
-
-buildUnnamed1757() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1757(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1758() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1758(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1759() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1759(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1760() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1760(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1761() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1761(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1762() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1762(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1763() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1763(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1764() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2014,6 +1813,51 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterUserProfile = 0;
+buildUserProfile() {
+ var o = new api.UserProfile();
+ buildCounterUserProfile++;
+ if (buildCounterUserProfile < 3) {
+ o.address = buildLocation();
+ o.adwordsManagerAccount = "foo";
+ o.channels = buildUnnamed1764();
+ o.emailAddress = "foo";
+ o.emailOptIns = buildOptIns();
+ o.familyName = "foo";
+ o.givenName = "foo";
+ o.industries = buildUnnamed1765();
+ o.jobFunctions = buildUnnamed1766();
+ o.languages = buildUnnamed1767();
+ o.markets = buildUnnamed1768();
+ o.phoneNumber = "foo";
+ o.primaryCountryCode = "foo";
+ o.profilePublic = true;
+ }
+ buildCounterUserProfile--;
+ return o;
+}
+
+checkUserProfile(api.UserProfile o) {
+ buildCounterUserProfile++;
+ if (buildCounterUserProfile < 3) {
+ checkLocation(o.address);
+ unittest.expect(o.adwordsManagerAccount, unittest.equals('foo'));
+ checkUnnamed1764(o.channels);
+ unittest.expect(o.emailAddress, unittest.equals('foo'));
+ checkOptIns(o.emailOptIns);
+ unittest.expect(o.familyName, unittest.equals('foo'));
+ unittest.expect(o.givenName, unittest.equals('foo'));
+ checkUnnamed1765(o.industries);
+ checkUnnamed1766(o.jobFunctions);
+ checkUnnamed1767(o.languages);
+ checkUnnamed1768(o.markets);
+ unittest.expect(o.phoneNumber, unittest.equals('foo'));
+ unittest.expect(o.primaryCountryCode, unittest.equals('foo'));
+ unittest.expect(o.profilePublic, unittest.isTrue);
+ }
+ buildCounterUserProfile--;
+}
+
buildUnnamed1769() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2118,6 +1962,162 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1777() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1777(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1778() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1778(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1779() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1779(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1780() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1780(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1781() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1781(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1782() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1782(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1783() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1783(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1784() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1784(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1785() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1785(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1786() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1786(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1787() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1787(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1788() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1788(core.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-AdWordsManagerAccountInfo", () {
@@ -2566,15 +2566,15 @@
var mock = new HttpServerMock();
api.AnalyticsResourceApi res = new api.PartnersApi(mock).analytics;
+ var arg_pageSize = 42;
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1757();
+ var arg_requestMetadata_experimentIds = buildUnnamed1769();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2601,6 +2601,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
@@ -2609,7 +2610,6 @@
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -2618,7 +2618,7 @@
var resp = convert.JSON.encode(buildListAnalyticsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListAnalyticsResponse response) {
+ res.list(pageSize: arg_pageSize, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListAnalyticsResponse response) {
checkListAnalyticsResponse(response);
})));
});
@@ -2683,17 +2683,17 @@
var mock = new HttpServerMock();
api.CompaniesResourceApi res = new api.PartnersApi(mock).companies;
var arg_companyId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
var arg_view = "foo";
var arg_requestMetadata_locale = "foo";
var arg_address = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
var arg_currencyCode = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1758();
+ var arg_requestMetadata_experimentIds = buildUnnamed1770();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_orderBy = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2723,8 +2723,6 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["address"].first, unittest.equals(arg_address));
@@ -2734,6 +2732,8 @@
unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
var h = {
@@ -2742,7 +2742,7 @@
var resp = convert.JSON.encode(buildGetCompanyResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_companyId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, view: arg_view, requestMetadata_locale: arg_requestMetadata_locale, address: arg_address, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, currencyCode: arg_currencyCode, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, orderBy: arg_orderBy).then(unittest.expectAsync(((api.GetCompanyResponse response) {
+ res.get(arg_companyId, view: arg_view, requestMetadata_locale: arg_requestMetadata_locale, address: arg_address, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, currencyCode: arg_currencyCode, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, orderBy: arg_orderBy, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId).then(unittest.expectAsync(((api.GetCompanyResponse response) {
checkGetCompanyResponse(response);
})));
});
@@ -2751,31 +2751,31 @@
var mock = new HttpServerMock();
api.CompaniesResourceApi res = new api.PartnersApi(mock).companies;
- var arg_languageCodes = buildUnnamed1759();
+ var arg_websiteUrl = "foo";
+ var arg_gpsMotivations = buildUnnamed1771();
+ var arg_languageCodes = buildUnnamed1772();
var arg_pageSize = 42;
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1760();
+ var arg_requestMetadata_experimentIds = buildUnnamed1773();
var arg_orderBy = "foo";
- var arg_specializations = buildUnnamed1761();
+ var arg_specializations = buildUnnamed1774();
var arg_maxMonthlyBudget_currencyCode = "foo";
- var arg_minMonthlyBudget_currencyCode = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_minMonthlyBudget_currencyCode = "foo";
var arg_view = "foo";
var arg_address = "foo";
var arg_requestMetadata_locale = "foo";
var arg_minMonthlyBudget_units = "foo";
var arg_maxMonthlyBudget_nanos = 42;
- var arg_services = buildUnnamed1762();
+ var arg_services = buildUnnamed1775();
var arg_maxMonthlyBudget_units = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_minMonthlyBudget_nanos = 42;
var arg_requestMetadata_partnersSessionId = "foo";
- var arg_pageToken = "foo";
var arg_companyName = "foo";
- var arg_industries = buildUnnamed1763();
- var arg_websiteUrl = "foo";
- var arg_gpsMotivations = buildUnnamed1764();
+ var arg_pageToken = "foo";
+ var arg_industries = buildUnnamed1776();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2802,6 +2802,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["websiteUrl"].first, unittest.equals(arg_websiteUrl));
+ unittest.expect(queryMap["gpsMotivations"], unittest.equals(arg_gpsMotivations));
unittest.expect(queryMap["languageCodes"], unittest.equals(arg_languageCodes));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
@@ -2809,8 +2811,8 @@
unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["specializations"], unittest.equals(arg_specializations));
unittest.expect(queryMap["maxMonthlyBudget.currencyCode"].first, unittest.equals(arg_maxMonthlyBudget_currencyCode));
- unittest.expect(queryMap["minMonthlyBudget.currencyCode"].first, unittest.equals(arg_minMonthlyBudget_currencyCode));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["minMonthlyBudget.currencyCode"].first, unittest.equals(arg_minMonthlyBudget_currencyCode));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["address"].first, unittest.equals(arg_address));
unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
@@ -2822,11 +2824,9 @@
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(core.int.parse(queryMap["minMonthlyBudget.nanos"].first), unittest.equals(arg_minMonthlyBudget_nanos));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["companyName"].first, unittest.equals(arg_companyName));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["industries"], unittest.equals(arg_industries));
- unittest.expect(queryMap["websiteUrl"].first, unittest.equals(arg_websiteUrl));
- unittest.expect(queryMap["gpsMotivations"], unittest.equals(arg_gpsMotivations));
var h = {
@@ -2835,7 +2835,7 @@
var resp = convert.JSON.encode(buildListCompaniesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(languageCodes: arg_languageCodes, pageSize: arg_pageSize, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, orderBy: arg_orderBy, specializations: arg_specializations, maxMonthlyBudget_currencyCode: arg_maxMonthlyBudget_currencyCode, minMonthlyBudget_currencyCode: arg_minMonthlyBudget_currencyCode, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, view: arg_view, address: arg_address, requestMetadata_locale: arg_requestMetadata_locale, minMonthlyBudget_units: arg_minMonthlyBudget_units, maxMonthlyBudget_nanos: arg_maxMonthlyBudget_nanos, services: arg_services, maxMonthlyBudget_units: arg_maxMonthlyBudget_units, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, minMonthlyBudget_nanos: arg_minMonthlyBudget_nanos, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, pageToken: arg_pageToken, companyName: arg_companyName, industries: arg_industries, websiteUrl: arg_websiteUrl, gpsMotivations: arg_gpsMotivations).then(unittest.expectAsync(((api.ListCompaniesResponse response) {
+ res.list(websiteUrl: arg_websiteUrl, gpsMotivations: arg_gpsMotivations, languageCodes: arg_languageCodes, pageSize: arg_pageSize, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, orderBy: arg_orderBy, specializations: arg_specializations, maxMonthlyBudget_currencyCode: arg_maxMonthlyBudget_currencyCode, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, minMonthlyBudget_currencyCode: arg_minMonthlyBudget_currencyCode, view: arg_view, address: arg_address, requestMetadata_locale: arg_requestMetadata_locale, minMonthlyBudget_units: arg_minMonthlyBudget_units, maxMonthlyBudget_nanos: arg_maxMonthlyBudget_nanos, services: arg_services, maxMonthlyBudget_units: arg_maxMonthlyBudget_units, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, minMonthlyBudget_nanos: arg_minMonthlyBudget_nanos, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, companyName: arg_companyName, pageToken: arg_pageToken, industries: arg_industries).then(unittest.expectAsync(((api.ListCompaniesResponse response) {
checkListCompaniesResponse(response);
})));
});
@@ -2908,12 +2908,12 @@
var mock = new HttpServerMock();
api.ExamsResourceApi res = new api.PartnersApi(mock).exams;
var arg_examType = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1765();
+ var arg_requestMetadata_experimentIds = buildUnnamed1777();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2948,8 +2948,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
@@ -2963,7 +2963,7 @@
var resp = convert.JSON.encode(buildExamToken());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.getToken(arg_examType, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.ExamToken response) {
+ res.getToken(arg_examType, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.ExamToken response) {
checkExamToken(response);
})));
});
@@ -2976,9 +2976,6 @@
var mock = new HttpServerMock();
api.LeadsResourceApi res = new api.PartnersApi(mock).leads;
- var arg_requestMetadata_experimentIds = buildUnnamed1766();
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_orderBy = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_pageToken = "foo";
@@ -2986,6 +2983,9 @@
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1778();
+ var arg_orderBy = "foo";
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3012,9 +3012,6 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
@@ -3022,6 +3019,9 @@
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
var h = {
@@ -3030,7 +3030,7 @@
var resp = convert.JSON.encode(buildListLeadsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, orderBy: arg_orderBy, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, pageToken: arg_pageToken, pageSize: arg_pageSize, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress).then(unittest.expectAsync(((api.ListLeadsResponse response) {
+ res.list(requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, pageToken: arg_pageToken, pageSize: arg_pageSize, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, orderBy: arg_orderBy, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.ListLeadsResponse response) {
checkListLeadsResponse(response);
})));
});
@@ -3043,13 +3043,13 @@
var mock = new HttpServerMock();
api.OffersResourceApi res = new api.PartnersApi(mock).offers;
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1767();
+ var arg_requestMetadata_experimentIds = buildUnnamed1779();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3076,13 +3076,13 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
var h = {
@@ -3091,7 +3091,7 @@
var resp = convert.JSON.encode(buildListOffersResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.ListOffersResponse response) {
+ res.list(requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId).then(unittest.expectAsync(((api.ListOffersResponse response) {
checkListOffersResponse(response);
})));
});
@@ -3104,10 +3104,6 @@
var mock = new HttpServerMock();
api.OffersHistoryResourceApi res = new api.PartnersApi(mock).offers.history;
- var arg_requestMetadata_experimentIds = buildUnnamed1768();
- var arg_entireCompany = true;
- var arg_orderBy = "foo";
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_pageToken = "foo";
@@ -3115,6 +3111,10 @@
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1780();
+ var arg_entireCompany = true;
+ var arg_orderBy = "foo";
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3141,10 +3141,6 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(queryMap["entireCompany"].first, unittest.equals("$arg_entireCompany"));
- unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
@@ -3152,6 +3148,10 @@
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["entireCompany"].first, unittest.equals("$arg_entireCompany"));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
var h = {
@@ -3160,7 +3160,7 @@
var resp = convert.JSON.encode(buildListOffersHistoryResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(requestMetadata_experimentIds: arg_requestMetadata_experimentIds, entireCompany: arg_entireCompany, orderBy: arg_orderBy, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, pageToken: arg_pageToken, pageSize: arg_pageSize, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress).then(unittest.expectAsync(((api.ListOffersHistoryResponse response) {
+ res.list(requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, pageToken: arg_pageToken, pageSize: arg_pageSize, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, entireCompany: arg_entireCompany, orderBy: arg_orderBy, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.ListOffersHistoryResponse response) {
checkListOffersHistoryResponse(response);
})));
});
@@ -3224,13 +3224,13 @@
var mock = new HttpServerMock();
api.UserStatesResourceApi res = new api.PartnersApi(mock).userStates;
- var arg_requestMetadata_experimentIds = buildUnnamed1769();
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1781();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3257,13 +3257,13 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
- unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
- unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
- unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
var h = {
@@ -3272,7 +3272,7 @@
var resp = convert.JSON.encode(buildListUserStatesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress).then(unittest.expectAsync(((api.ListUserStatesResponse response) {
+ res.list(requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId).then(unittest.expectAsync(((api.ListUserStatesResponse response) {
checkListUserStatesResponse(response);
})));
});
@@ -3287,10 +3287,10 @@
api.UsersResourceApi res = new api.PartnersApi(mock).users;
var arg_request = buildCompanyRelation();
var arg_userId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1770();
+ var arg_requestMetadata_experimentIds = buildUnnamed1782();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
@@ -3332,8 +3332,8 @@
}
unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
@@ -3345,7 +3345,7 @@
var resp = convert.JSON.encode(buildCompanyRelation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.createCompanyRelation(arg_request, arg_userId, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress).then(unittest.expectAsync(((api.CompanyRelation response) {
+ res.createCompanyRelation(arg_request, arg_userId, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress).then(unittest.expectAsync(((api.CompanyRelation response) {
checkCompanyRelation(response);
})));
});
@@ -3360,7 +3360,7 @@
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1771();
+ var arg_requestMetadata_experimentIds = buildUnnamed1783();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3420,13 +3420,13 @@
var mock = new HttpServerMock();
api.UsersResourceApi res = new api.PartnersApi(mock).users;
var arg_userId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_userView = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1772();
+ var arg_requestMetadata_experimentIds = buildUnnamed1784();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3457,8 +3457,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["userView"].first, unittest.equals(arg_userView));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
@@ -3473,7 +3473,7 @@
var resp = convert.JSON.encode(buildUser());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, userView: arg_userView, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.User response) {
+ res.get(arg_userId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, userView: arg_userView, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.User response) {
checkUser(response);
})));
});
@@ -3483,12 +3483,12 @@
var mock = new HttpServerMock();
api.UsersResourceApi res = new api.PartnersApi(mock).users;
var arg_request = buildUserProfile();
- var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1773();
+ var arg_requestMetadata_experimentIds = buildUnnamed1785();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.UserProfile.fromJson(json);
@@ -3519,8 +3519,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
@@ -3534,7 +3534,7 @@
var resp = convert.JSON.encode(buildUserProfile());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.updateProfile(arg_request, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.UserProfile response) {
+ res.updateProfile(arg_request, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.UserProfile response) {
checkUserProfile(response);
})));
});
@@ -3547,13 +3547,13 @@
var mock = new HttpServerMock();
api.V2ResourceApi res = new api.PartnersApi(mock).v2;
- var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
- var arg_requestMetadata_locale = "foo";
- var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1774();
+ var arg_requestMetadata_experimentIds = buildUnnamed1786();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3580,13 +3580,13 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
- unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
- unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
var h = {
@@ -3595,7 +3595,7 @@
var resp = convert.JSON.encode(buildGetPartnersStatusResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.getPartnersstatus(requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId).then(unittest.expectAsync(((api.GetPartnersStatusResponse response) {
+ res.getPartnersstatus(requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress).then(unittest.expectAsync(((api.GetPartnersStatusResponse response) {
checkGetPartnersStatusResponse(response);
})));
});
@@ -3611,7 +3611,7 @@
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
var arg_updateMask = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1775();
+ var arg_requestMetadata_experimentIds = buildUnnamed1787();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.Company.fromJson(json);
@@ -3668,13 +3668,13 @@
var mock = new HttpServerMock();
api.V2ResourceApi res = new api.PartnersApi(mock).v2;
var arg_request = buildLead();
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
var arg_updateMask = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1776();
+ var arg_requestMetadata_experimentIds = buildUnnamed1788();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.Lead.fromJson(json);
@@ -3705,8 +3705,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
@@ -3721,7 +3721,7 @@
var resp = convert.JSON.encode(buildLead());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.updateLeads(arg_request, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, updateMask: arg_updateMask, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.Lead response) {
+ res.updateLeads(arg_request, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, updateMask: arg_updateMask, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.Lead response) {
checkLead(response);
})));
});
diff --git a/generated/googleapis/test/people/v1_test.dart b/generated/googleapis/test/people/v1_test.dart
index 127a6b8..b955ab5 100644
--- a/generated/googleapis/test/people/v1_test.dart
+++ b/generated/googleapis/test/people/v1_test.dart
@@ -362,14 +362,14 @@
buildCounterGender--;
}
-buildUnnamed1300() {
+buildUnnamed1295() {
var o = new core.List<api.PersonResponse>();
o.add(buildPersonResponse());
o.add(buildPersonResponse());
return o;
}
-checkUnnamed1300(core.List<api.PersonResponse> o) {
+checkUnnamed1295(core.List<api.PersonResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonResponse(o[0]);
checkPersonResponse(o[1]);
@@ -380,7 +380,7 @@
var o = new api.GetPeopleResponse();
buildCounterGetPeopleResponse++;
if (buildCounterGetPeopleResponse < 3) {
- o.responses = buildUnnamed1300();
+ o.responses = buildUnnamed1295();
}
buildCounterGetPeopleResponse--;
return o;
@@ -389,7 +389,7 @@
checkGetPeopleResponse(api.GetPeopleResponse o) {
buildCounterGetPeopleResponse++;
if (buildCounterGetPeopleResponse < 3) {
- checkUnnamed1300(o.responses);
+ checkUnnamed1295(o.responses);
}
buildCounterGetPeopleResponse--;
}
@@ -444,14 +444,14 @@
buildCounterInterest--;
}
-buildUnnamed1301() {
+buildUnnamed1296() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed1301(core.List<api.Person> o) {
+checkUnnamed1296(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -462,7 +462,7 @@
var o = new api.ListConnectionsResponse();
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- o.connections = buildUnnamed1301();
+ o.connections = buildUnnamed1296();
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
o.totalPeople = 42;
@@ -474,7 +474,7 @@
checkListConnectionsResponse(api.ListConnectionsResponse o) {
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- checkUnnamed1301(o.connections);
+ checkUnnamed1296(o.connections);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
unittest.expect(o.totalPeople, unittest.equals(42));
@@ -660,339 +660,339 @@
buildCounterOrganization--;
}
-buildUnnamed1302() {
+buildUnnamed1297() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed1302(core.List<api.Address> o) {
+checkUnnamed1297(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
}
-buildUnnamed1303() {
+buildUnnamed1298() {
var o = new core.List<api.AgeRangeType>();
o.add(buildAgeRangeType());
o.add(buildAgeRangeType());
return o;
}
-checkUnnamed1303(core.List<api.AgeRangeType> o) {
+checkUnnamed1298(core.List<api.AgeRangeType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAgeRangeType(o[0]);
checkAgeRangeType(o[1]);
}
-buildUnnamed1304() {
+buildUnnamed1299() {
var o = new core.List<api.Biography>();
o.add(buildBiography());
o.add(buildBiography());
return o;
}
-checkUnnamed1304(core.List<api.Biography> o) {
+checkUnnamed1299(core.List<api.Biography> o) {
unittest.expect(o, unittest.hasLength(2));
checkBiography(o[0]);
checkBiography(o[1]);
}
-buildUnnamed1305() {
+buildUnnamed1300() {
var o = new core.List<api.Birthday>();
o.add(buildBirthday());
o.add(buildBirthday());
return o;
}
-checkUnnamed1305(core.List<api.Birthday> o) {
+checkUnnamed1300(core.List<api.Birthday> o) {
unittest.expect(o, unittest.hasLength(2));
checkBirthday(o[0]);
checkBirthday(o[1]);
}
-buildUnnamed1306() {
+buildUnnamed1301() {
var o = new core.List<api.BraggingRights>();
o.add(buildBraggingRights());
o.add(buildBraggingRights());
return o;
}
-checkUnnamed1306(core.List<api.BraggingRights> o) {
+checkUnnamed1301(core.List<api.BraggingRights> o) {
unittest.expect(o, unittest.hasLength(2));
checkBraggingRights(o[0]);
checkBraggingRights(o[1]);
}
-buildUnnamed1307() {
+buildUnnamed1302() {
var o = new core.List<api.CoverPhoto>();
o.add(buildCoverPhoto());
o.add(buildCoverPhoto());
return o;
}
-checkUnnamed1307(core.List<api.CoverPhoto> o) {
+checkUnnamed1302(core.List<api.CoverPhoto> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverPhoto(o[0]);
checkCoverPhoto(o[1]);
}
-buildUnnamed1308() {
+buildUnnamed1303() {
var o = new core.List<api.EmailAddress>();
o.add(buildEmailAddress());
o.add(buildEmailAddress());
return o;
}
-checkUnnamed1308(core.List<api.EmailAddress> o) {
+checkUnnamed1303(core.List<api.EmailAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkEmailAddress(o[0]);
checkEmailAddress(o[1]);
}
-buildUnnamed1309() {
+buildUnnamed1304() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1309(core.List<api.Event> o) {
+checkUnnamed1304(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
}
-buildUnnamed1310() {
+buildUnnamed1305() {
var o = new core.List<api.Gender>();
o.add(buildGender());
o.add(buildGender());
return o;
}
-checkUnnamed1310(core.List<api.Gender> o) {
+checkUnnamed1305(core.List<api.Gender> o) {
unittest.expect(o, unittest.hasLength(2));
checkGender(o[0]);
checkGender(o[1]);
}
-buildUnnamed1311() {
+buildUnnamed1306() {
var o = new core.List<api.ImClient>();
o.add(buildImClient());
o.add(buildImClient());
return o;
}
-checkUnnamed1311(core.List<api.ImClient> o) {
+checkUnnamed1306(core.List<api.ImClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkImClient(o[0]);
checkImClient(o[1]);
}
-buildUnnamed1312() {
+buildUnnamed1307() {
var o = new core.List<api.Interest>();
o.add(buildInterest());
o.add(buildInterest());
return o;
}
-checkUnnamed1312(core.List<api.Interest> o) {
+checkUnnamed1307(core.List<api.Interest> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterest(o[0]);
checkInterest(o[1]);
}
-buildUnnamed1313() {
+buildUnnamed1308() {
var o = new core.List<api.Locale>();
o.add(buildLocale());
o.add(buildLocale());
return o;
}
-checkUnnamed1313(core.List<api.Locale> o) {
+checkUnnamed1308(core.List<api.Locale> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocale(o[0]);
checkLocale(o[1]);
}
-buildUnnamed1314() {
+buildUnnamed1309() {
var o = new core.List<api.Membership>();
o.add(buildMembership());
o.add(buildMembership());
return o;
}
-checkUnnamed1314(core.List<api.Membership> o) {
+checkUnnamed1309(core.List<api.Membership> o) {
unittest.expect(o, unittest.hasLength(2));
checkMembership(o[0]);
checkMembership(o[1]);
}
-buildUnnamed1315() {
+buildUnnamed1310() {
var o = new core.List<api.Name>();
o.add(buildName());
o.add(buildName());
return o;
}
-checkUnnamed1315(core.List<api.Name> o) {
+checkUnnamed1310(core.List<api.Name> o) {
unittest.expect(o, unittest.hasLength(2));
checkName(o[0]);
checkName(o[1]);
}
-buildUnnamed1316() {
+buildUnnamed1311() {
var o = new core.List<api.Nickname>();
o.add(buildNickname());
o.add(buildNickname());
return o;
}
-checkUnnamed1316(core.List<api.Nickname> o) {
+checkUnnamed1311(core.List<api.Nickname> o) {
unittest.expect(o, unittest.hasLength(2));
checkNickname(o[0]);
checkNickname(o[1]);
}
-buildUnnamed1317() {
+buildUnnamed1312() {
var o = new core.List<api.Occupation>();
o.add(buildOccupation());
o.add(buildOccupation());
return o;
}
-checkUnnamed1317(core.List<api.Occupation> o) {
+checkUnnamed1312(core.List<api.Occupation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOccupation(o[0]);
checkOccupation(o[1]);
}
-buildUnnamed1318() {
+buildUnnamed1313() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed1318(core.List<api.Organization> o) {
+checkUnnamed1313(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
}
-buildUnnamed1319() {
+buildUnnamed1314() {
var o = new core.List<api.PhoneNumber>();
o.add(buildPhoneNumber());
o.add(buildPhoneNumber());
return o;
}
-checkUnnamed1319(core.List<api.PhoneNumber> o) {
+checkUnnamed1314(core.List<api.PhoneNumber> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoneNumber(o[0]);
checkPhoneNumber(o[1]);
}
-buildUnnamed1320() {
+buildUnnamed1315() {
var o = new core.List<api.Photo>();
o.add(buildPhoto());
o.add(buildPhoto());
return o;
}
-checkUnnamed1320(core.List<api.Photo> o) {
+checkUnnamed1315(core.List<api.Photo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoto(o[0]);
checkPhoto(o[1]);
}
-buildUnnamed1321() {
+buildUnnamed1316() {
var o = new core.List<api.Relation>();
o.add(buildRelation());
o.add(buildRelation());
return o;
}
-checkUnnamed1321(core.List<api.Relation> o) {
+checkUnnamed1316(core.List<api.Relation> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelation(o[0]);
checkRelation(o[1]);
}
-buildUnnamed1322() {
+buildUnnamed1317() {
var o = new core.List<api.RelationshipInterest>();
o.add(buildRelationshipInterest());
o.add(buildRelationshipInterest());
return o;
}
-checkUnnamed1322(core.List<api.RelationshipInterest> o) {
+checkUnnamed1317(core.List<api.RelationshipInterest> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelationshipInterest(o[0]);
checkRelationshipInterest(o[1]);
}
-buildUnnamed1323() {
+buildUnnamed1318() {
var o = new core.List<api.RelationshipStatus>();
o.add(buildRelationshipStatus());
o.add(buildRelationshipStatus());
return o;
}
-checkUnnamed1323(core.List<api.RelationshipStatus> o) {
+checkUnnamed1318(core.List<api.RelationshipStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelationshipStatus(o[0]);
checkRelationshipStatus(o[1]);
}
-buildUnnamed1324() {
+buildUnnamed1319() {
var o = new core.List<api.Residence>();
o.add(buildResidence());
o.add(buildResidence());
return o;
}
-checkUnnamed1324(core.List<api.Residence> o) {
+checkUnnamed1319(core.List<api.Residence> o) {
unittest.expect(o, unittest.hasLength(2));
checkResidence(o[0]);
checkResidence(o[1]);
}
-buildUnnamed1325() {
+buildUnnamed1320() {
var o = new core.List<api.Skill>();
o.add(buildSkill());
o.add(buildSkill());
return o;
}
-checkUnnamed1325(core.List<api.Skill> o) {
+checkUnnamed1320(core.List<api.Skill> o) {
unittest.expect(o, unittest.hasLength(2));
checkSkill(o[0]);
checkSkill(o[1]);
}
-buildUnnamed1326() {
+buildUnnamed1321() {
var o = new core.List<api.Tagline>();
o.add(buildTagline());
o.add(buildTagline());
return o;
}
-checkUnnamed1326(core.List<api.Tagline> o) {
+checkUnnamed1321(core.List<api.Tagline> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagline(o[0]);
checkTagline(o[1]);
}
-buildUnnamed1327() {
+buildUnnamed1322() {
var o = new core.List<api.Url>();
o.add(buildUrl());
o.add(buildUrl());
return o;
}
-checkUnnamed1327(core.List<api.Url> o) {
+checkUnnamed1322(core.List<api.Url> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrl(o[0]);
checkUrl(o[1]);
@@ -1003,36 +1003,36 @@
var o = new api.Person();
buildCounterPerson++;
if (buildCounterPerson < 3) {
- o.addresses = buildUnnamed1302();
+ o.addresses = buildUnnamed1297();
o.ageRange = "foo";
- o.ageRanges = buildUnnamed1303();
- o.biographies = buildUnnamed1304();
- o.birthdays = buildUnnamed1305();
- o.braggingRights = buildUnnamed1306();
- o.coverPhotos = buildUnnamed1307();
- o.emailAddresses = buildUnnamed1308();
+ o.ageRanges = buildUnnamed1298();
+ o.biographies = buildUnnamed1299();
+ o.birthdays = buildUnnamed1300();
+ o.braggingRights = buildUnnamed1301();
+ o.coverPhotos = buildUnnamed1302();
+ o.emailAddresses = buildUnnamed1303();
o.etag = "foo";
- o.events = buildUnnamed1309();
- o.genders = buildUnnamed1310();
- o.imClients = buildUnnamed1311();
- o.interests = buildUnnamed1312();
- o.locales = buildUnnamed1313();
- o.memberships = buildUnnamed1314();
+ o.events = buildUnnamed1304();
+ o.genders = buildUnnamed1305();
+ o.imClients = buildUnnamed1306();
+ o.interests = buildUnnamed1307();
+ o.locales = buildUnnamed1308();
+ o.memberships = buildUnnamed1309();
o.metadata = buildPersonMetadata();
- o.names = buildUnnamed1315();
- o.nicknames = buildUnnamed1316();
- o.occupations = buildUnnamed1317();
- o.organizations = buildUnnamed1318();
- o.phoneNumbers = buildUnnamed1319();
- o.photos = buildUnnamed1320();
- o.relations = buildUnnamed1321();
- o.relationshipInterests = buildUnnamed1322();
- o.relationshipStatuses = buildUnnamed1323();
- o.residences = buildUnnamed1324();
+ o.names = buildUnnamed1310();
+ o.nicknames = buildUnnamed1311();
+ o.occupations = buildUnnamed1312();
+ o.organizations = buildUnnamed1313();
+ o.phoneNumbers = buildUnnamed1314();
+ o.photos = buildUnnamed1315();
+ o.relations = buildUnnamed1316();
+ o.relationshipInterests = buildUnnamed1317();
+ o.relationshipStatuses = buildUnnamed1318();
+ o.residences = buildUnnamed1319();
o.resourceName = "foo";
- o.skills = buildUnnamed1325();
- o.taglines = buildUnnamed1326();
- o.urls = buildUnnamed1327();
+ o.skills = buildUnnamed1320();
+ o.taglines = buildUnnamed1321();
+ o.urls = buildUnnamed1322();
}
buildCounterPerson--;
return o;
@@ -1041,74 +1041,74 @@
checkPerson(api.Person o) {
buildCounterPerson++;
if (buildCounterPerson < 3) {
- checkUnnamed1302(o.addresses);
+ checkUnnamed1297(o.addresses);
unittest.expect(o.ageRange, unittest.equals('foo'));
- checkUnnamed1303(o.ageRanges);
- checkUnnamed1304(o.biographies);
- checkUnnamed1305(o.birthdays);
- checkUnnamed1306(o.braggingRights);
- checkUnnamed1307(o.coverPhotos);
- checkUnnamed1308(o.emailAddresses);
+ checkUnnamed1298(o.ageRanges);
+ checkUnnamed1299(o.biographies);
+ checkUnnamed1300(o.birthdays);
+ checkUnnamed1301(o.braggingRights);
+ checkUnnamed1302(o.coverPhotos);
+ checkUnnamed1303(o.emailAddresses);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1309(o.events);
- checkUnnamed1310(o.genders);
- checkUnnamed1311(o.imClients);
- checkUnnamed1312(o.interests);
- checkUnnamed1313(o.locales);
- checkUnnamed1314(o.memberships);
+ checkUnnamed1304(o.events);
+ checkUnnamed1305(o.genders);
+ checkUnnamed1306(o.imClients);
+ checkUnnamed1307(o.interests);
+ checkUnnamed1308(o.locales);
+ checkUnnamed1309(o.memberships);
checkPersonMetadata(o.metadata);
- checkUnnamed1315(o.names);
- checkUnnamed1316(o.nicknames);
- checkUnnamed1317(o.occupations);
- checkUnnamed1318(o.organizations);
- checkUnnamed1319(o.phoneNumbers);
- checkUnnamed1320(o.photos);
- checkUnnamed1321(o.relations);
- checkUnnamed1322(o.relationshipInterests);
- checkUnnamed1323(o.relationshipStatuses);
- checkUnnamed1324(o.residences);
+ checkUnnamed1310(o.names);
+ checkUnnamed1311(o.nicknames);
+ checkUnnamed1312(o.occupations);
+ checkUnnamed1313(o.organizations);
+ checkUnnamed1314(o.phoneNumbers);
+ checkUnnamed1315(o.photos);
+ checkUnnamed1316(o.relations);
+ checkUnnamed1317(o.relationshipInterests);
+ checkUnnamed1318(o.relationshipStatuses);
+ checkUnnamed1319(o.residences);
unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed1325(o.skills);
- checkUnnamed1326(o.taglines);
- checkUnnamed1327(o.urls);
+ checkUnnamed1320(o.skills);
+ checkUnnamed1321(o.taglines);
+ checkUnnamed1322(o.urls);
}
buildCounterPerson--;
}
-buildUnnamed1328() {
+buildUnnamed1323() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1328(core.List<core.String> o) {
+checkUnnamed1323(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1329() {
+buildUnnamed1324() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1329(core.List<core.String> o) {
+checkUnnamed1324(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1330() {
+buildUnnamed1325() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed1330(core.List<api.Source> o) {
+checkUnnamed1325(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -1120,10 +1120,10 @@
buildCounterPersonMetadata++;
if (buildCounterPersonMetadata < 3) {
o.deleted = true;
- o.linkedPeopleResourceNames = buildUnnamed1328();
+ o.linkedPeopleResourceNames = buildUnnamed1323();
o.objectType = "foo";
- o.previousResourceNames = buildUnnamed1329();
- o.sources = buildUnnamed1330();
+ o.previousResourceNames = buildUnnamed1324();
+ o.sources = buildUnnamed1325();
}
buildCounterPersonMetadata--;
return o;
@@ -1133,10 +1133,10 @@
buildCounterPersonMetadata++;
if (buildCounterPersonMetadata < 3) {
unittest.expect(o.deleted, unittest.isTrue);
- checkUnnamed1328(o.linkedPeopleResourceNames);
+ checkUnnamed1323(o.linkedPeopleResourceNames);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed1329(o.previousResourceNames);
- checkUnnamed1330(o.sources);
+ checkUnnamed1324(o.previousResourceNames);
+ checkUnnamed1325(o.sources);
}
buildCounterPersonMetadata--;
}
@@ -1417,14 +1417,14 @@
buildCounterUrl--;
}
-buildUnnamed1331() {
+buildUnnamed1326() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1331(core.List<core.String> o) {
+checkUnnamed1326(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1818,7 +1818,7 @@
var mock = new HttpServerMock();
api.PeopleResourceApi res = new api.PeopleApi(mock).people;
var arg_requestMask_includeField = "foo";
- var arg_resourceNames = buildUnnamed1331();
+ var arg_resourceNames = buildUnnamed1326();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1869,12 +1869,12 @@
var mock = new HttpServerMock();
api.PeopleConnectionsResourceApi res = new api.PeopleApi(mock).people.connections;
var arg_resourceName = "foo";
+ var arg_requestSyncToken = true;
var arg_pageToken = "foo";
- var arg_requestMask_includeField = "foo";
var arg_pageSize = 42;
+ var arg_requestMask_includeField = "foo";
var arg_syncToken = "foo";
var arg_sortOrder = "foo";
- var arg_requestSyncToken = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1902,12 +1902,12 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestSyncToken"].first, unittest.equals("$arg_requestSyncToken"));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["requestMask.includeField"].first, unittest.equals(arg_requestMask_includeField));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["requestMask.includeField"].first, unittest.equals(arg_requestMask_includeField));
unittest.expect(queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["requestSyncToken"].first, unittest.equals("$arg_requestSyncToken"));
var h = {
@@ -1916,7 +1916,7 @@
var resp = convert.JSON.encode(buildListConnectionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_resourceName, pageToken: arg_pageToken, requestMask_includeField: arg_requestMask_includeField, pageSize: arg_pageSize, syncToken: arg_syncToken, sortOrder: arg_sortOrder, requestSyncToken: arg_requestSyncToken).then(unittest.expectAsync(((api.ListConnectionsResponse response) {
+ res.list(arg_resourceName, requestSyncToken: arg_requestSyncToken, pageToken: arg_pageToken, pageSize: arg_pageSize, requestMask_includeField: arg_requestMask_includeField, syncToken: arg_syncToken, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.ListConnectionsResponse response) {
checkListConnectionsResponse(response);
})));
});
diff --git a/generated/googleapis/test/playmoviespartner/v1_test.dart b/generated/googleapis/test/playmoviespartner/v1_test.dart
index d007be3..7eb5233 100644
--- a/generated/googleapis/test/playmoviespartner/v1_test.dart
+++ b/generated/googleapis/test/playmoviespartner/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3041() {
+buildUnnamed3055() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3041(core.List<core.String> o) {
+checkUnnamed3055(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,7 +82,7 @@
o.episodeTitleInternalAlias = "foo";
o.formatProfile = "foo";
o.licenseType = "foo";
- o.pphNames = buildUnnamed3041();
+ o.pphNames = buildUnnamed3055();
o.priceType = "foo";
o.priceValue = "foo";
o.productId = "foo";
@@ -123,7 +123,7 @@
unittest.expect(o.episodeTitleInternalAlias, unittest.equals('foo'));
unittest.expect(o.formatProfile, unittest.equals('foo'));
unittest.expect(o.licenseType, unittest.equals('foo'));
- checkUnnamed3041(o.pphNames);
+ checkUnnamed3055(o.pphNames);
unittest.expect(o.priceType, unittest.equals('foo'));
unittest.expect(o.priceValue, unittest.equals('foo'));
unittest.expect(o.productId, unittest.equals('foo'));
@@ -147,14 +147,14 @@
buildCounterAvail--;
}
-buildUnnamed3042() {
+buildUnnamed3056() {
var o = new core.List<api.Avail>();
o.add(buildAvail());
o.add(buildAvail());
return o;
}
-checkUnnamed3042(core.List<api.Avail> o) {
+checkUnnamed3056(core.List<api.Avail> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvail(o[0]);
checkAvail(o[1]);
@@ -165,7 +165,7 @@
var o = new api.ListAvailsResponse();
buildCounterListAvailsResponse++;
if (buildCounterListAvailsResponse < 3) {
- o.avails = buildUnnamed3042();
+ o.avails = buildUnnamed3056();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -176,21 +176,21 @@
checkListAvailsResponse(api.ListAvailsResponse o) {
buildCounterListAvailsResponse++;
if (buildCounterListAvailsResponse < 3) {
- checkUnnamed3042(o.avails);
+ checkUnnamed3056(o.avails);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListAvailsResponse--;
}
-buildUnnamed3043() {
+buildUnnamed3057() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed3043(core.List<api.Order> o) {
+checkUnnamed3057(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -202,7 +202,7 @@
buildCounterListOrdersResponse++;
if (buildCounterListOrdersResponse < 3) {
o.nextPageToken = "foo";
- o.orders = buildUnnamed3043();
+ o.orders = buildUnnamed3057();
o.totalSize = 42;
}
buildCounterListOrdersResponse--;
@@ -213,20 +213,20 @@
buildCounterListOrdersResponse++;
if (buildCounterListOrdersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3043(o.orders);
+ checkUnnamed3057(o.orders);
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListOrdersResponse--;
}
-buildUnnamed3044() {
+buildUnnamed3058() {
var o = new core.List<api.StoreInfo>();
o.add(buildStoreInfo());
o.add(buildStoreInfo());
return o;
}
-checkUnnamed3044(core.List<api.StoreInfo> o) {
+checkUnnamed3058(core.List<api.StoreInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkStoreInfo(o[0]);
checkStoreInfo(o[1]);
@@ -238,7 +238,7 @@
buildCounterListStoreInfosResponse++;
if (buildCounterListStoreInfosResponse < 3) {
o.nextPageToken = "foo";
- o.storeInfos = buildUnnamed3044();
+ o.storeInfos = buildUnnamed3058();
o.totalSize = 42;
}
buildCounterListStoreInfosResponse--;
@@ -249,20 +249,20 @@
buildCounterListStoreInfosResponse++;
if (buildCounterListStoreInfosResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3044(o.storeInfos);
+ checkUnnamed3058(o.storeInfos);
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListStoreInfosResponse--;
}
-buildUnnamed3045() {
+buildUnnamed3059() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3045(core.List<core.String> o) {
+checkUnnamed3059(core.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 @@
o.approvedTime = "foo";
o.channelId = "foo";
o.channelName = "foo";
- o.countries = buildUnnamed3045();
+ o.countries = buildUnnamed3059();
o.customId = "foo";
o.earliestAvailStartTime = "foo";
o.episodeName = "foo";
@@ -307,7 +307,7 @@
unittest.expect(o.approvedTime, unittest.equals('foo'));
unittest.expect(o.channelId, unittest.equals('foo'));
unittest.expect(o.channelName, unittest.equals('foo'));
- checkUnnamed3045(o.countries);
+ checkUnnamed3059(o.countries);
unittest.expect(o.customId, unittest.equals('foo'));
unittest.expect(o.earliestAvailStartTime, unittest.equals('foo'));
unittest.expect(o.episodeName, unittest.equals('foo'));
@@ -331,255 +331,6 @@
buildCounterOrder--;
}
-buildUnnamed3046() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3046(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3047() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3047(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3048() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3048(core.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 buildCounterStoreInfo = 0;
-buildStoreInfo() {
- var o = new api.StoreInfo();
- buildCounterStoreInfo++;
- if (buildCounterStoreInfo < 3) {
- o.audioTracks = buildUnnamed3046();
- o.country = "foo";
- o.editLevelEidr = "foo";
- o.episodeNumber = "foo";
- o.hasAudio51 = true;
- o.hasEstOffer = true;
- o.hasHdOffer = true;
- o.hasInfoCards = true;
- o.hasSdOffer = true;
- o.hasVodOffer = true;
- o.liveTime = "foo";
- o.mid = "foo";
- o.name = "foo";
- o.pphNames = buildUnnamed3047();
- o.seasonId = "foo";
- o.seasonName = "foo";
- o.seasonNumber = "foo";
- o.showId = "foo";
- o.showName = "foo";
- o.studioName = "foo";
- o.subtitles = buildUnnamed3048();
- o.titleLevelEidr = "foo";
- o.trailerId = "foo";
- o.type = "foo";
- o.videoId = "foo";
- }
- buildCounterStoreInfo--;
- return o;
-}
-
-checkStoreInfo(api.StoreInfo o) {
- buildCounterStoreInfo++;
- if (buildCounterStoreInfo < 3) {
- checkUnnamed3046(o.audioTracks);
- unittest.expect(o.country, unittest.equals('foo'));
- unittest.expect(o.editLevelEidr, unittest.equals('foo'));
- unittest.expect(o.episodeNumber, unittest.equals('foo'));
- unittest.expect(o.hasAudio51, unittest.isTrue);
- unittest.expect(o.hasEstOffer, unittest.isTrue);
- unittest.expect(o.hasHdOffer, unittest.isTrue);
- unittest.expect(o.hasInfoCards, unittest.isTrue);
- unittest.expect(o.hasSdOffer, unittest.isTrue);
- unittest.expect(o.hasVodOffer, unittest.isTrue);
- unittest.expect(o.liveTime, unittest.equals('foo'));
- unittest.expect(o.mid, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3047(o.pphNames);
- unittest.expect(o.seasonId, unittest.equals('foo'));
- unittest.expect(o.seasonName, unittest.equals('foo'));
- unittest.expect(o.seasonNumber, unittest.equals('foo'));
- unittest.expect(o.showId, unittest.equals('foo'));
- unittest.expect(o.showName, unittest.equals('foo'));
- unittest.expect(o.studioName, unittest.equals('foo'));
- checkUnnamed3048(o.subtitles);
- unittest.expect(o.titleLevelEidr, unittest.equals('foo'));
- unittest.expect(o.trailerId, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- unittest.expect(o.videoId, unittest.equals('foo'));
- }
- buildCounterStoreInfo--;
-}
-
-buildUnnamed3049() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3049(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3050() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3050(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3051() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3051(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3052() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3052(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3053() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3053(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3054() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3054(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3055() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3055(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3056() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3056(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3057() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3057(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3058() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3058(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3059() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3059(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed3060() {
var o = new core.List<core.String>();
o.add("foo");
@@ -619,6 +370,73 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterStoreInfo = 0;
+buildStoreInfo() {
+ var o = new api.StoreInfo();
+ buildCounterStoreInfo++;
+ if (buildCounterStoreInfo < 3) {
+ o.audioTracks = buildUnnamed3060();
+ o.country = "foo";
+ o.editLevelEidr = "foo";
+ o.episodeNumber = "foo";
+ o.hasAudio51 = true;
+ o.hasEstOffer = true;
+ o.hasHdOffer = true;
+ o.hasInfoCards = true;
+ o.hasSdOffer = true;
+ o.hasVodOffer = true;
+ o.liveTime = "foo";
+ o.mid = "foo";
+ o.name = "foo";
+ o.pphNames = buildUnnamed3061();
+ o.seasonId = "foo";
+ o.seasonName = "foo";
+ o.seasonNumber = "foo";
+ o.showId = "foo";
+ o.showName = "foo";
+ o.studioName = "foo";
+ o.subtitles = buildUnnamed3062();
+ o.titleLevelEidr = "foo";
+ o.trailerId = "foo";
+ o.type = "foo";
+ o.videoId = "foo";
+ }
+ buildCounterStoreInfo--;
+ return o;
+}
+
+checkStoreInfo(api.StoreInfo o) {
+ buildCounterStoreInfo++;
+ if (buildCounterStoreInfo < 3) {
+ checkUnnamed3060(o.audioTracks);
+ unittest.expect(o.country, unittest.equals('foo'));
+ unittest.expect(o.editLevelEidr, unittest.equals('foo'));
+ unittest.expect(o.episodeNumber, unittest.equals('foo'));
+ unittest.expect(o.hasAudio51, unittest.isTrue);
+ unittest.expect(o.hasEstOffer, unittest.isTrue);
+ unittest.expect(o.hasHdOffer, unittest.isTrue);
+ unittest.expect(o.hasInfoCards, unittest.isTrue);
+ unittest.expect(o.hasSdOffer, unittest.isTrue);
+ unittest.expect(o.hasVodOffer, unittest.isTrue);
+ unittest.expect(o.liveTime, unittest.equals('foo'));
+ unittest.expect(o.mid, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3061(o.pphNames);
+ unittest.expect(o.seasonId, unittest.equals('foo'));
+ unittest.expect(o.seasonName, unittest.equals('foo'));
+ unittest.expect(o.seasonNumber, unittest.equals('foo'));
+ unittest.expect(o.showId, unittest.equals('foo'));
+ unittest.expect(o.showName, unittest.equals('foo'));
+ unittest.expect(o.studioName, unittest.equals('foo'));
+ checkUnnamed3062(o.subtitles);
+ unittest.expect(o.titleLevelEidr, unittest.equals('foo'));
+ unittest.expect(o.trailerId, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.videoId, unittest.equals('foo'));
+ }
+ buildCounterStoreInfo--;
+}
+
buildUnnamed3063() {
var o = new core.List<core.String>();
o.add("foo");
@@ -632,6 +450,188 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3064() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3064(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3065() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3065(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3066() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3066(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3067() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3067(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3068() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3068(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3069() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3069(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3070() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3070(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3071() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3071(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3072() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3072(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3073() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3073(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3074() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3074(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3075() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3075(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3076() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3076(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3077() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3077(core.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-Avail", () {
@@ -749,15 +749,15 @@
var mock = new HttpServerMock();
api.AccountsAvailsResourceApi res = new api.PlaymoviespartnerApi(mock).accounts.avails;
var arg_accountId = "foo";
- var arg_pageToken = "foo";
- var arg_videoIds = buildUnnamed3049();
- var arg_pageSize = 42;
- var arg_altIds = buildUnnamed3050();
- var arg_pphNames = buildUnnamed3051();
- var arg_altId = "foo";
- var arg_studioNames = buildUnnamed3052();
- var arg_territories = buildUnnamed3053();
var arg_title = "foo";
+ var arg_videoIds = buildUnnamed3063();
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_altIds = buildUnnamed3064();
+ var arg_pphNames = buildUnnamed3065();
+ var arg_altId = "foo";
+ var arg_studioNames = buildUnnamed3066();
+ var arg_territories = buildUnnamed3067();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -791,15 +791,15 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["title"].first, unittest.equals(arg_title));
unittest.expect(queryMap["videoIds"], unittest.equals(arg_videoIds));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["altIds"], unittest.equals(arg_altIds));
unittest.expect(queryMap["pphNames"], unittest.equals(arg_pphNames));
unittest.expect(queryMap["altId"].first, unittest.equals(arg_altId));
unittest.expect(queryMap["studioNames"], unittest.equals(arg_studioNames));
unittest.expect(queryMap["territories"], unittest.equals(arg_territories));
- unittest.expect(queryMap["title"].first, unittest.equals(arg_title));
var h = {
@@ -808,7 +808,7 @@
var resp = convert.JSON.encode(buildListAvailsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, pageToken: arg_pageToken, videoIds: arg_videoIds, pageSize: arg_pageSize, altIds: arg_altIds, pphNames: arg_pphNames, altId: arg_altId, studioNames: arg_studioNames, territories: arg_territories, title: arg_title).then(unittest.expectAsync(((api.ListAvailsResponse response) {
+ res.list(arg_accountId, title: arg_title, videoIds: arg_videoIds, pageToken: arg_pageToken, pageSize: arg_pageSize, altIds: arg_altIds, pphNames: arg_pphNames, altId: arg_altId, studioNames: arg_studioNames, territories: arg_territories).then(unittest.expectAsync(((api.ListAvailsResponse response) {
checkListAvailsResponse(response);
})));
});
@@ -877,14 +877,14 @@
var mock = new HttpServerMock();
api.AccountsOrdersResourceApi res = new api.PlaymoviespartnerApi(mock).accounts.orders;
var arg_accountId = "foo";
- var arg_videoIds = buildUnnamed3054();
+ var arg_studioNames = buildUnnamed3068();
+ var arg_name = "foo";
+ var arg_videoIds = buildUnnamed3069();
var arg_customId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_pphNames = buildUnnamed3055();
- var arg_status = buildUnnamed3056();
- var arg_studioNames = buildUnnamed3057();
- var arg_name = "foo";
+ var arg_pphNames = buildUnnamed3070();
+ var arg_status = buildUnnamed3071();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -918,14 +918,14 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["studioNames"], unittest.equals(arg_studioNames));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["videoIds"], unittest.equals(arg_videoIds));
unittest.expect(queryMap["customId"].first, unittest.equals(arg_customId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pphNames"], unittest.equals(arg_pphNames));
unittest.expect(queryMap["status"], unittest.equals(arg_status));
- unittest.expect(queryMap["studioNames"], unittest.equals(arg_studioNames));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
var h = {
@@ -934,7 +934,7 @@
var resp = convert.JSON.encode(buildListOrdersResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, videoIds: arg_videoIds, customId: arg_customId, pageToken: arg_pageToken, pageSize: arg_pageSize, pphNames: arg_pphNames, status: arg_status, studioNames: arg_studioNames, name: arg_name).then(unittest.expectAsync(((api.ListOrdersResponse response) {
+ res.list(arg_accountId, studioNames: arg_studioNames, name: arg_name, videoIds: arg_videoIds, customId: arg_customId, pageToken: arg_pageToken, pageSize: arg_pageSize, pphNames: arg_pphNames, status: arg_status).then(unittest.expectAsync(((api.ListOrdersResponse response) {
checkListOrdersResponse(response);
})));
});
@@ -948,16 +948,16 @@
var mock = new HttpServerMock();
api.AccountsStoreInfosResourceApi res = new api.PlaymoviespartnerApi(mock).accounts.storeInfos;
var arg_accountId = "foo";
- var arg_studioNames = buildUnnamed3058();
- var arg_name = "foo";
- var arg_seasonIds = buildUnnamed3059();
- var arg_videoIds = buildUnnamed3060();
- var arg_videoId = "foo";
+ var arg_seasonIds = buildUnnamed3072();
var arg_pageToken = "foo";
+ var arg_videoId = "foo";
+ var arg_videoIds = buildUnnamed3073();
var arg_pageSize = 42;
- var arg_mids = buildUnnamed3061();
- var arg_pphNames = buildUnnamed3062();
- var arg_countries = buildUnnamed3063();
+ var arg_mids = buildUnnamed3074();
+ var arg_pphNames = buildUnnamed3075();
+ var arg_countries = buildUnnamed3076();
+ var arg_studioNames = buildUnnamed3077();
+ var arg_name = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -991,16 +991,16 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["studioNames"], unittest.equals(arg_studioNames));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["seasonIds"], unittest.equals(arg_seasonIds));
- unittest.expect(queryMap["videoIds"], unittest.equals(arg_videoIds));
- unittest.expect(queryMap["videoId"].first, unittest.equals(arg_videoId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["videoId"].first, unittest.equals(arg_videoId));
+ unittest.expect(queryMap["videoIds"], unittest.equals(arg_videoIds));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["mids"], unittest.equals(arg_mids));
unittest.expect(queryMap["pphNames"], unittest.equals(arg_pphNames));
unittest.expect(queryMap["countries"], unittest.equals(arg_countries));
+ unittest.expect(queryMap["studioNames"], unittest.equals(arg_studioNames));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
var h = {
@@ -1009,7 +1009,7 @@
var resp = convert.JSON.encode(buildListStoreInfosResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, studioNames: arg_studioNames, name: arg_name, seasonIds: arg_seasonIds, videoIds: arg_videoIds, videoId: arg_videoId, pageToken: arg_pageToken, pageSize: arg_pageSize, mids: arg_mids, pphNames: arg_pphNames, countries: arg_countries).then(unittest.expectAsync(((api.ListStoreInfosResponse response) {
+ res.list(arg_accountId, seasonIds: arg_seasonIds, pageToken: arg_pageToken, videoId: arg_videoId, videoIds: arg_videoIds, pageSize: arg_pageSize, mids: arg_mids, pphNames: arg_pphNames, countries: arg_countries, studioNames: arg_studioNames, name: arg_name).then(unittest.expectAsync(((api.ListStoreInfosResponse response) {
checkListStoreInfosResponse(response);
})));
});
diff --git a/generated/googleapis/test/plus/v1_test.dart b/generated/googleapis/test/plus/v1_test.dart
index 5f1d7e8..0bde4a3 100644
--- a/generated/googleapis/test/plus/v1_test.dart
+++ b/generated/googleapis/test/plus/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed100() {
+buildUnnamed98() {
var o = new core.List<api.PlusAclentryResource>();
o.add(buildPlusAclentryResource());
o.add(buildPlusAclentryResource());
return o;
}
-checkUnnamed100(core.List<api.PlusAclentryResource> o) {
+checkUnnamed98(core.List<api.PlusAclentryResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlusAclentryResource(o[0]);
checkPlusAclentryResource(o[1]);
@@ -70,7 +70,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
o.description = "foo";
- o.items = buildUnnamed100();
+ o.items = buildUnnamed98();
o.kind = "foo";
}
buildCounterAcl--;
@@ -81,7 +81,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed100(o.items);
+ checkUnnamed98(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAcl--;
@@ -439,14 +439,14 @@
buildCounterActivityObjectAttachmentsThumbnails--;
}
-buildUnnamed101() {
+buildUnnamed99() {
var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
o.add(buildActivityObjectAttachmentsThumbnails());
o.add(buildActivityObjectAttachmentsThumbnails());
return o;
}
-checkUnnamed101(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
+checkUnnamed99(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsThumbnails(o[0]);
checkActivityObjectAttachmentsThumbnails(o[1]);
@@ -464,7 +464,7 @@
o.id = "foo";
o.image = buildActivityObjectAttachmentsImage();
o.objectType = "foo";
- o.thumbnails = buildUnnamed101();
+ o.thumbnails = buildUnnamed99();
o.url = "foo";
}
buildCounterActivityObjectAttachments--;
@@ -481,20 +481,20 @@
unittest.expect(o.id, unittest.equals('foo'));
checkActivityObjectAttachmentsImage(o.image);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed101(o.thumbnails);
+ checkUnnamed99(o.thumbnails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterActivityObjectAttachments--;
}
-buildUnnamed102() {
+buildUnnamed100() {
var o = new core.List<api.ActivityObjectAttachments>();
o.add(buildActivityObjectAttachments());
o.add(buildActivityObjectAttachments());
return o;
}
-checkUnnamed102(core.List<api.ActivityObjectAttachments> o) {
+checkUnnamed100(core.List<api.ActivityObjectAttachments> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachments(o[0]);
checkActivityObjectAttachments(o[1]);
@@ -569,7 +569,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
o.actor = buildActivityObjectActor();
- o.attachments = buildUnnamed102();
+ o.attachments = buildUnnamed100();
o.content = "foo";
o.id = "foo";
o.objectType = "foo";
@@ -587,7 +587,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
checkActivityObjectActor(o.actor);
- checkUnnamed102(o.attachments);
+ checkUnnamed100(o.attachments);
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
@@ -676,14 +676,14 @@
buildCounterActivity--;
}
-buildUnnamed103() {
+buildUnnamed101() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed103(core.List<api.Activity> o) {
+checkUnnamed101(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -696,7 +696,7 @@
if (buildCounterActivityFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed103();
+ o.items = buildUnnamed101();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -713,7 +713,7 @@
if (buildCounterActivityFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed103(o.items);
+ checkUnnamed101(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -850,14 +850,14 @@
buildCounterCommentInReplyTo--;
}
-buildUnnamed104() {
+buildUnnamed102() {
var o = new core.List<api.CommentInReplyTo>();
o.add(buildCommentInReplyTo());
o.add(buildCommentInReplyTo());
return o;
}
-checkUnnamed104(core.List<api.CommentInReplyTo> o) {
+checkUnnamed102(core.List<api.CommentInReplyTo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentInReplyTo(o[0]);
checkCommentInReplyTo(o[1]);
@@ -913,7 +913,7 @@
o.actor = buildCommentActor();
o.etag = "foo";
o.id = "foo";
- o.inReplyTo = buildUnnamed104();
+ o.inReplyTo = buildUnnamed102();
o.kind = "foo";
o.object = buildCommentObject();
o.plusoners = buildCommentPlusoners();
@@ -932,7 +932,7 @@
checkCommentActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed104(o.inReplyTo);
+ checkUnnamed102(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
checkCommentObject(o.object);
checkCommentPlusoners(o.plusoners);
@@ -944,14 +944,14 @@
buildCounterComment--;
}
-buildUnnamed105() {
+buildUnnamed103() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed105(core.List<api.Comment> o) {
+checkUnnamed103(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -964,7 +964,7 @@
if (buildCounterCommentFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed105();
+ o.items = buildUnnamed103();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -980,7 +980,7 @@
if (buildCounterCommentFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed105(o.items);
+ checkUnnamed103(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -990,14 +990,14 @@
buildCounterCommentFeed--;
}
-buildUnnamed106() {
+buildUnnamed104() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed106(core.List<api.Person> o) {
+checkUnnamed104(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -1009,7 +1009,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed106();
+ o.items = buildUnnamed104();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1024,7 +1024,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed106(o.items);
+ checkUnnamed104(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1143,14 +1143,14 @@
buildCounterPersonEmails--;
}
-buildUnnamed107() {
+buildUnnamed105() {
var o = new core.List<api.PersonEmails>();
o.add(buildPersonEmails());
o.add(buildPersonEmails());
return o;
}
-checkUnnamed107(core.List<api.PersonEmails> o) {
+checkUnnamed105(core.List<api.PersonEmails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonEmails(o[0]);
checkPersonEmails(o[1]);
@@ -1241,14 +1241,14 @@
buildCounterPersonOrganizations--;
}
-buildUnnamed108() {
+buildUnnamed106() {
var o = new core.List<api.PersonOrganizations>();
o.add(buildPersonOrganizations());
o.add(buildPersonOrganizations());
return o;
}
-checkUnnamed108(core.List<api.PersonOrganizations> o) {
+checkUnnamed106(core.List<api.PersonOrganizations> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonOrganizations(o[0]);
checkPersonOrganizations(o[1]);
@@ -1275,14 +1275,14 @@
buildCounterPersonPlacesLived--;
}
-buildUnnamed109() {
+buildUnnamed107() {
var o = new core.List<api.PersonPlacesLived>();
o.add(buildPersonPlacesLived());
o.add(buildPersonPlacesLived());
return o;
}
-checkUnnamed109(core.List<api.PersonPlacesLived> o) {
+checkUnnamed107(core.List<api.PersonPlacesLived> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonPlacesLived(o[0]);
checkPersonPlacesLived(o[1]);
@@ -1311,14 +1311,14 @@
buildCounterPersonUrls--;
}
-buildUnnamed110() {
+buildUnnamed108() {
var o = new core.List<api.PersonUrls>();
o.add(buildPersonUrls());
o.add(buildPersonUrls());
return o;
}
-checkUnnamed110(core.List<api.PersonUrls> o) {
+checkUnnamed108(core.List<api.PersonUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonUrls(o[0]);
checkPersonUrls(o[1]);
@@ -1338,7 +1338,7 @@
o.currentLocation = "foo";
o.displayName = "foo";
o.domain = "foo";
- o.emails = buildUnnamed107();
+ o.emails = buildUnnamed105();
o.etag = "foo";
o.gender = "foo";
o.id = "foo";
@@ -1350,14 +1350,14 @@
o.nickname = "foo";
o.objectType = "foo";
o.occupation = "foo";
- o.organizations = buildUnnamed108();
- o.placesLived = buildUnnamed109();
+ o.organizations = buildUnnamed106();
+ o.placesLived = buildUnnamed107();
o.plusOneCount = 42;
o.relationshipStatus = "foo";
o.skills = "foo";
o.tagline = "foo";
o.url = "foo";
- o.urls = buildUnnamed110();
+ o.urls = buildUnnamed108();
o.verified = true;
}
buildCounterPerson--;
@@ -1376,7 +1376,7 @@
unittest.expect(o.currentLocation, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
- checkUnnamed107(o.emails);
+ checkUnnamed105(o.emails);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -1388,14 +1388,14 @@
unittest.expect(o.nickname, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.occupation, unittest.equals('foo'));
- checkUnnamed108(o.organizations);
- checkUnnamed109(o.placesLived);
+ checkUnnamed106(o.organizations);
+ checkUnnamed107(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'));
- checkUnnamed110(o.urls);
+ checkUnnamed108(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 9f846d9..2da79673a 100644
--- a/generated/googleapis/test/plusdomains/v1_test.dart
+++ b/generated/googleapis/test/plusdomains/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed977() {
+buildUnnamed968() {
var o = new core.List<api.PlusDomainsAclentryResource>();
o.add(buildPlusDomainsAclentryResource());
o.add(buildPlusDomainsAclentryResource());
return o;
}
-checkUnnamed977(core.List<api.PlusDomainsAclentryResource> o) {
+checkUnnamed968(core.List<api.PlusDomainsAclentryResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlusDomainsAclentryResource(o[0]);
checkPlusDomainsAclentryResource(o[1]);
@@ -71,7 +71,7 @@
if (buildCounterAcl < 3) {
o.description = "foo";
o.domainRestricted = true;
- o.items = buildUnnamed977();
+ o.items = buildUnnamed968();
o.kind = "foo";
}
buildCounterAcl--;
@@ -83,7 +83,7 @@
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.domainRestricted, unittest.isTrue);
- checkUnnamed977(o.items);
+ checkUnnamed968(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAcl--;
@@ -412,14 +412,14 @@
buildCounterActivityObjectAttachmentsPreviewThumbnails--;
}
-buildUnnamed978() {
+buildUnnamed969() {
var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>();
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
return o;
}
-checkUnnamed978(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
+checkUnnamed969(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsPreviewThumbnails(o[0]);
checkActivityObjectAttachmentsPreviewThumbnails(o[1]);
@@ -473,14 +473,14 @@
buildCounterActivityObjectAttachmentsThumbnails--;
}
-buildUnnamed979() {
+buildUnnamed970() {
var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
o.add(buildActivityObjectAttachmentsThumbnails());
o.add(buildActivityObjectAttachmentsThumbnails());
return o;
}
-checkUnnamed979(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
+checkUnnamed970(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsThumbnails(o[0]);
checkActivityObjectAttachmentsThumbnails(o[1]);
@@ -498,8 +498,8 @@
o.id = "foo";
o.image = buildActivityObjectAttachmentsImage();
o.objectType = "foo";
- o.previewThumbnails = buildUnnamed978();
- o.thumbnails = buildUnnamed979();
+ o.previewThumbnails = buildUnnamed969();
+ o.thumbnails = buildUnnamed970();
o.url = "foo";
}
buildCounterActivityObjectAttachments--;
@@ -516,21 +516,21 @@
unittest.expect(o.id, unittest.equals('foo'));
checkActivityObjectAttachmentsImage(o.image);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed978(o.previewThumbnails);
- checkUnnamed979(o.thumbnails);
+ checkUnnamed969(o.previewThumbnails);
+ checkUnnamed970(o.thumbnails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterActivityObjectAttachments--;
}
-buildUnnamed980() {
+buildUnnamed971() {
var o = new core.List<api.ActivityObjectAttachments>();
o.add(buildActivityObjectAttachments());
o.add(buildActivityObjectAttachments());
return o;
}
-checkUnnamed980(core.List<api.ActivityObjectAttachments> o) {
+checkUnnamed971(core.List<api.ActivityObjectAttachments> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachments(o[0]);
checkActivityObjectAttachments(o[1]);
@@ -632,7 +632,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
o.actor = buildActivityObjectActor();
- o.attachments = buildUnnamed980();
+ o.attachments = buildUnnamed971();
o.content = "foo";
o.id = "foo";
o.objectType = "foo";
@@ -651,7 +651,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
checkActivityObjectActor(o.actor);
- checkUnnamed980(o.attachments);
+ checkUnnamed971(o.attachments);
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
@@ -741,14 +741,14 @@
buildCounterActivity--;
}
-buildUnnamed981() {
+buildUnnamed972() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed981(core.List<api.Activity> o) {
+checkUnnamed972(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -761,7 +761,7 @@
if (buildCounterActivityFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed981();
+ o.items = buildUnnamed972();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -778,7 +778,7 @@
if (buildCounterActivityFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed981(o.items);
+ checkUnnamed972(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -816,14 +816,14 @@
buildCounterAudience--;
}
-buildUnnamed982() {
+buildUnnamed973() {
var o = new core.List<api.Audience>();
o.add(buildAudience());
o.add(buildAudience());
return o;
}
-checkUnnamed982(core.List<api.Audience> o) {
+checkUnnamed973(core.List<api.Audience> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudience(o[0]);
checkAudience(o[1]);
@@ -835,7 +835,7 @@
buildCounterAudiencesFeed++;
if (buildCounterAudiencesFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed982();
+ o.items = buildUnnamed973();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -848,7 +848,7 @@
buildCounterAudiencesFeed++;
if (buildCounterAudiencesFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed982(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));
@@ -906,14 +906,14 @@
buildCounterCircle--;
}
-buildUnnamed983() {
+buildUnnamed974() {
var o = new core.List<api.Circle>();
o.add(buildCircle());
o.add(buildCircle());
return o;
}
-checkUnnamed983(core.List<api.Circle> o) {
+checkUnnamed974(core.List<api.Circle> o) {
unittest.expect(o, unittest.hasLength(2));
checkCircle(o[0]);
checkCircle(o[1]);
@@ -925,7 +925,7 @@
buildCounterCircleFeed++;
if (buildCounterCircleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed983();
+ o.items = buildUnnamed974();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -941,7 +941,7 @@
buildCounterCircleFeed++;
if (buildCounterCircleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed983(o.items);
+ checkUnnamed974(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1078,14 +1078,14 @@
buildCounterCommentInReplyTo--;
}
-buildUnnamed984() {
+buildUnnamed975() {
var o = new core.List<api.CommentInReplyTo>();
o.add(buildCommentInReplyTo());
o.add(buildCommentInReplyTo());
return o;
}
-checkUnnamed984(core.List<api.CommentInReplyTo> o) {
+checkUnnamed975(core.List<api.CommentInReplyTo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentInReplyTo(o[0]);
checkCommentInReplyTo(o[1]);
@@ -1141,7 +1141,7 @@
o.actor = buildCommentActor();
o.etag = "foo";
o.id = "foo";
- o.inReplyTo = buildUnnamed984();
+ o.inReplyTo = buildUnnamed975();
o.kind = "foo";
o.object = buildCommentObject();
o.plusoners = buildCommentPlusoners();
@@ -1160,7 +1160,7 @@
checkCommentActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed984(o.inReplyTo);
+ checkUnnamed975(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
checkCommentObject(o.object);
checkCommentPlusoners(o.plusoners);
@@ -1172,14 +1172,14 @@
buildCounterComment--;
}
-buildUnnamed985() {
+buildUnnamed976() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed985(core.List<api.Comment> o) {
+checkUnnamed976(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1192,7 +1192,7 @@
if (buildCounterCommentFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed985();
+ o.items = buildUnnamed976();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1208,7 +1208,7 @@
if (buildCounterCommentFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed985(o.items);
+ checkUnnamed976(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1281,14 +1281,14 @@
buildCounterMediaExif--;
}
-buildUnnamed986() {
+buildUnnamed977() {
var o = new core.List<api.Videostream>();
o.add(buildVideostream());
o.add(buildVideostream());
return o;
}
-checkUnnamed986(core.List<api.Videostream> o) {
+checkUnnamed977(core.List<api.Videostream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideostream(o[0]);
checkVideostream(o[1]);
@@ -1310,7 +1310,7 @@
o.mediaUrl = "foo";
o.published = core.DateTime.parse("2002-02-27T14:01:02");
o.sizeBytes = "foo";
- o.streams = buildUnnamed986();
+ o.streams = buildUnnamed977();
o.summary = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.url = "foo";
@@ -1336,7 +1336,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'));
- checkUnnamed986(o.streams);
+ checkUnnamed977(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'));
@@ -1347,14 +1347,14 @@
buildCounterMedia--;
}
-buildUnnamed987() {
+buildUnnamed978() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed987(core.List<api.Person> o) {
+checkUnnamed978(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -1366,7 +1366,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed987();
+ o.items = buildUnnamed978();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1381,7 +1381,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed987(o.items);
+ checkUnnamed978(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1479,14 +1479,14 @@
buildCounterPersonEmails--;
}
-buildUnnamed988() {
+buildUnnamed979() {
var o = new core.List<api.PersonEmails>();
o.add(buildPersonEmails());
o.add(buildPersonEmails());
return o;
}
-checkUnnamed988(core.List<api.PersonEmails> o) {
+checkUnnamed979(core.List<api.PersonEmails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonEmails(o[0]);
checkPersonEmails(o[1]);
@@ -1577,14 +1577,14 @@
buildCounterPersonOrganizations--;
}
-buildUnnamed989() {
+buildUnnamed980() {
var o = new core.List<api.PersonOrganizations>();
o.add(buildPersonOrganizations());
o.add(buildPersonOrganizations());
return o;
}
-checkUnnamed989(core.List<api.PersonOrganizations> o) {
+checkUnnamed980(core.List<api.PersonOrganizations> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonOrganizations(o[0]);
checkPersonOrganizations(o[1]);
@@ -1611,14 +1611,14 @@
buildCounterPersonPlacesLived--;
}
-buildUnnamed990() {
+buildUnnamed981() {
var o = new core.List<api.PersonPlacesLived>();
o.add(buildPersonPlacesLived());
o.add(buildPersonPlacesLived());
return o;
}
-checkUnnamed990(core.List<api.PersonPlacesLived> o) {
+checkUnnamed981(core.List<api.PersonPlacesLived> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonPlacesLived(o[0]);
checkPersonPlacesLived(o[1]);
@@ -1647,14 +1647,14 @@
buildCounterPersonUrls--;
}
-buildUnnamed991() {
+buildUnnamed982() {
var o = new core.List<api.PersonUrls>();
o.add(buildPersonUrls());
o.add(buildPersonUrls());
return o;
}
-checkUnnamed991(core.List<api.PersonUrls> o) {
+checkUnnamed982(core.List<api.PersonUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonUrls(o[0]);
checkPersonUrls(o[1]);
@@ -1673,7 +1673,7 @@
o.currentLocation = "foo";
o.displayName = "foo";
o.domain = "foo";
- o.emails = buildUnnamed988();
+ o.emails = buildUnnamed979();
o.etag = "foo";
o.gender = "foo";
o.id = "foo";
@@ -1684,14 +1684,14 @@
o.nickname = "foo";
o.objectType = "foo";
o.occupation = "foo";
- o.organizations = buildUnnamed989();
- o.placesLived = buildUnnamed990();
+ o.organizations = buildUnnamed980();
+ o.placesLived = buildUnnamed981();
o.plusOneCount = 42;
o.relationshipStatus = "foo";
o.skills = "foo";
o.tagline = "foo";
o.url = "foo";
- o.urls = buildUnnamed991();
+ o.urls = buildUnnamed982();
o.verified = true;
}
buildCounterPerson--;
@@ -1709,7 +1709,7 @@
unittest.expect(o.currentLocation, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
- checkUnnamed988(o.emails);
+ checkUnnamed979(o.emails);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -1720,14 +1720,14 @@
unittest.expect(o.nickname, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.occupation, unittest.equals('foo'));
- checkUnnamed989(o.organizations);
- checkUnnamed990(o.placesLived);
+ checkUnnamed980(o.organizations);
+ checkUnnamed981(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'));
- checkUnnamed991(o.urls);
+ checkUnnamed982(o.urls);
unittest.expect(o.verified, unittest.isTrue);
}
buildCounterPerson--;
@@ -1848,53 +1848,53 @@
buildCounterVideostream--;
}
-buildUnnamed992() {
+buildUnnamed983() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed992(core.List<core.String> o) {
+checkUnnamed983(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed993() {
+buildUnnamed984() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed993(core.List<core.String> o) {
+checkUnnamed984(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed994() {
+buildUnnamed985() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed994(core.List<core.String> o) {
+checkUnnamed985(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed995() {
+buildUnnamed986() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed995(core.List<core.String> o) {
+checkUnnamed986(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2700,8 +2700,8 @@
var mock = new HttpServerMock();
api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles;
var arg_circleId = "foo";
- var arg_email = buildUnnamed992();
- var arg_userId = buildUnnamed993();
+ var arg_email = buildUnnamed983();
+ var arg_userId = buildUnnamed984();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3020,8 +3020,8 @@
var mock = new HttpServerMock();
api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles;
var arg_circleId = "foo";
- var arg_email = buildUnnamed994();
- var arg_userId = buildUnnamed995();
+ var arg_email = buildUnnamed985();
+ var arg_userId = buildUnnamed986();
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 2009f4c..67965a2 100644
--- a/generated/googleapis/test/prediction/v1_6_test.dart
+++ b/generated/googleapis/test/prediction/v1_6_test.dart
@@ -72,14 +72,14 @@
buildCounterAnalyzeDataDescriptionFeaturesCategoricalValues--;
}
-buildUnnamed1654() {
+buildUnnamed1666() {
var o = new core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues>();
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
return o;
}
-checkUnnamed1654(core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues> o) {
+checkUnnamed1666(core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionFeaturesCategoricalValues(o[0]);
checkAnalyzeDataDescriptionFeaturesCategoricalValues(o[1]);
@@ -91,7 +91,7 @@
buildCounterAnalyzeDataDescriptionFeaturesCategorical++;
if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) {
o.count = "foo";
- o.values = buildUnnamed1654();
+ o.values = buildUnnamed1666();
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
return o;
@@ -101,7 +101,7 @@
buildCounterAnalyzeDataDescriptionFeaturesCategorical++;
if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) {
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed1654(o.values);
+ checkUnnamed1666(o.values);
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
}
@@ -173,14 +173,14 @@
buildCounterAnalyzeDataDescriptionFeatures--;
}
-buildUnnamed1655() {
+buildUnnamed1667() {
var o = new core.List<api.AnalyzeDataDescriptionFeatures>();
o.add(buildAnalyzeDataDescriptionFeatures());
o.add(buildAnalyzeDataDescriptionFeatures());
return o;
}
-checkUnnamed1655(core.List<api.AnalyzeDataDescriptionFeatures> o) {
+checkUnnamed1667(core.List<api.AnalyzeDataDescriptionFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionFeatures(o[0]);
checkAnalyzeDataDescriptionFeatures(o[1]);
@@ -230,14 +230,14 @@
buildCounterAnalyzeDataDescriptionOutputFeatureText--;
}
-buildUnnamed1656() {
+buildUnnamed1668() {
var o = new core.List<api.AnalyzeDataDescriptionOutputFeatureText>();
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
return o;
}
-checkUnnamed1656(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) {
+checkUnnamed1668(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionOutputFeatureText(o[0]);
checkAnalyzeDataDescriptionOutputFeatureText(o[1]);
@@ -249,7 +249,7 @@
buildCounterAnalyzeDataDescriptionOutputFeature++;
if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) {
o.numeric = buildAnalyzeDataDescriptionOutputFeatureNumeric();
- o.text = buildUnnamed1656();
+ o.text = buildUnnamed1668();
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
return o;
@@ -259,7 +259,7 @@
buildCounterAnalyzeDataDescriptionOutputFeature++;
if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) {
checkAnalyzeDataDescriptionOutputFeatureNumeric(o.numeric);
- checkUnnamed1656(o.text);
+ checkUnnamed1668(o.text);
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
}
@@ -269,7 +269,7 @@
var o = new api.AnalyzeDataDescription();
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- o.features = buildUnnamed1655();
+ o.features = buildUnnamed1667();
o.outputFeature = buildAnalyzeDataDescriptionOutputFeature();
}
buildCounterAnalyzeDataDescription--;
@@ -279,72 +279,72 @@
checkAnalyzeDataDescription(api.AnalyzeDataDescription o) {
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- checkUnnamed1655(o.features);
+ checkUnnamed1667(o.features);
checkAnalyzeDataDescriptionOutputFeature(o.outputFeature);
}
buildCounterAnalyzeDataDescription--;
}
-buildUnnamed1657() {
+buildUnnamed1669() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1657(core.Map<core.String, core.String> o) {
+checkUnnamed1669(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'));
}
-buildUnnamed1658() {
+buildUnnamed1670() {
var o = new core.List<core.Map<core.String, core.String>>();
- o.add(buildUnnamed1657());
- o.add(buildUnnamed1657());
+ o.add(buildUnnamed1669());
+ o.add(buildUnnamed1669());
return o;
}
-checkUnnamed1658(core.List<core.Map<core.String, core.String>> o) {
+checkUnnamed1670(core.List<core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1657(o[0]);
- checkUnnamed1657(o[1]);
+ checkUnnamed1669(o[0]);
+ checkUnnamed1669(o[1]);
}
-buildUnnamed1659() {
+buildUnnamed1671() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1659(core.Map<core.String, core.String> o) {
+checkUnnamed1671(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'));
}
-buildUnnamed1660() {
+buildUnnamed1672() {
var o = new core.Map<core.String, core.Map<core.String, core.String>>();
- o["x"] = buildUnnamed1659();
- o["y"] = buildUnnamed1659();
+ o["x"] = buildUnnamed1671();
+ o["y"] = buildUnnamed1671();
return o;
}
-checkUnnamed1660(core.Map<core.String, core.Map<core.String, core.String>> o) {
+checkUnnamed1672(core.Map<core.String, core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1659(o["x"]);
- checkUnnamed1659(o["y"]);
+ checkUnnamed1671(o["x"]);
+ checkUnnamed1671(o["y"]);
}
-buildUnnamed1661() {
+buildUnnamed1673() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1661(core.Map<core.String, core.String> o) {
+checkUnnamed1673(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'));
@@ -355,8 +355,8 @@
var o = new api.AnalyzeModelDescription();
buildCounterAnalyzeModelDescription++;
if (buildCounterAnalyzeModelDescription < 3) {
- o.confusionMatrix = buildUnnamed1660();
- o.confusionMatrixRowTotals = buildUnnamed1661();
+ o.confusionMatrix = buildUnnamed1672();
+ o.confusionMatrixRowTotals = buildUnnamed1673();
o.modelinfo = buildInsert2();
}
buildCounterAnalyzeModelDescription--;
@@ -366,8 +366,8 @@
checkAnalyzeModelDescription(api.AnalyzeModelDescription o) {
buildCounterAnalyzeModelDescription++;
if (buildCounterAnalyzeModelDescription < 3) {
- checkUnnamed1660(o.confusionMatrix);
- checkUnnamed1661(o.confusionMatrixRowTotals);
+ checkUnnamed1672(o.confusionMatrix);
+ checkUnnamed1673(o.confusionMatrixRowTotals);
checkInsert2(o.modelinfo);
}
buildCounterAnalyzeModelDescription--;
@@ -379,7 +379,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
o.dataDescription = buildAnalyzeDataDescription();
- o.errors = buildUnnamed1658();
+ o.errors = buildUnnamed1670();
o.id = "foo";
o.kind = "foo";
o.modelDescription = buildAnalyzeModelDescription();
@@ -393,7 +393,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
checkAnalyzeDataDescription(o.dataDescription);
- checkUnnamed1658(o.errors);
+ checkUnnamed1670(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkAnalyzeModelDescription(o.modelDescription);
@@ -402,14 +402,14 @@
buildCounterAnalyze--;
}
-buildUnnamed1662() {
+buildUnnamed1674() {
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;
}
-checkUnnamed1662(core.List<core.Object> o) {
+checkUnnamed1674(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'));
@@ -420,7 +420,7 @@
var o = new api.InputInput();
buildCounterInputInput++;
if (buildCounterInputInput < 3) {
- o.csvInstance = buildUnnamed1662();
+ o.csvInstance = buildUnnamed1674();
}
buildCounterInputInput--;
return o;
@@ -429,7 +429,7 @@
checkInputInput(api.InputInput o) {
buildCounterInputInput++;
if (buildCounterInputInput < 3) {
- checkUnnamed1662(o.csvInstance);
+ checkUnnamed1674(o.csvInstance);
}
buildCounterInputInput--;
}
@@ -453,14 +453,14 @@
buildCounterInput--;
}
-buildUnnamed1663() {
+buildUnnamed1675() {
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;
}
-checkUnnamed1663(core.List<core.Object> o) {
+checkUnnamed1675(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'));
@@ -471,7 +471,7 @@
var o = new api.InsertTrainingInstances();
buildCounterInsertTrainingInstances++;
if (buildCounterInsertTrainingInstances < 3) {
- o.csvInstance = buildUnnamed1663();
+ o.csvInstance = buildUnnamed1675();
o.output = "foo";
}
buildCounterInsertTrainingInstances--;
@@ -481,49 +481,49 @@
checkInsertTrainingInstances(api.InsertTrainingInstances o) {
buildCounterInsertTrainingInstances++;
if (buildCounterInsertTrainingInstances < 3) {
- checkUnnamed1663(o.csvInstance);
+ checkUnnamed1675(o.csvInstance);
unittest.expect(o.output, unittest.equals('foo'));
}
buildCounterInsertTrainingInstances--;
}
-buildUnnamed1664() {
+buildUnnamed1676() {
var o = new core.List<api.InsertTrainingInstances>();
o.add(buildInsertTrainingInstances());
o.add(buildInsertTrainingInstances());
return o;
}
-checkUnnamed1664(core.List<api.InsertTrainingInstances> o) {
+checkUnnamed1676(core.List<api.InsertTrainingInstances> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsertTrainingInstances(o[0]);
checkInsertTrainingInstances(o[1]);
}
-buildUnnamed1665() {
+buildUnnamed1677() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed1665(core.Map<core.String, core.double> o) {
+checkUnnamed1677(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));
}
-buildUnnamed1666() {
+buildUnnamed1678() {
var o = new core.List<core.Map<core.String, core.double>>();
- o.add(buildUnnamed1665());
- o.add(buildUnnamed1665());
+ o.add(buildUnnamed1677());
+ o.add(buildUnnamed1677());
return o;
}
-checkUnnamed1666(core.List<core.Map<core.String, core.double>> o) {
+checkUnnamed1678(core.List<core.Map<core.String, core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1665(o[0]);
- checkUnnamed1665(o[1]);
+ checkUnnamed1677(o[0]);
+ checkUnnamed1677(o[1]);
}
core.int buildCounterInsert = 0;
@@ -537,8 +537,8 @@
o.storageDataLocation = "foo";
o.storagePMMLLocation = "foo";
o.storagePMMLModelLocation = "foo";
- o.trainingInstances = buildUnnamed1664();
- o.utility = buildUnnamed1666();
+ o.trainingInstances = buildUnnamed1676();
+ o.utility = buildUnnamed1678();
}
buildCounterInsert--;
return o;
@@ -553,8 +553,8 @@
unittest.expect(o.storageDataLocation, unittest.equals('foo'));
unittest.expect(o.storagePMMLLocation, unittest.equals('foo'));
unittest.expect(o.storagePMMLModelLocation, unittest.equals('foo'));
- checkUnnamed1664(o.trainingInstances);
- checkUnnamed1666(o.utility);
+ checkUnnamed1676(o.trainingInstances);
+ checkUnnamed1678(o.utility);
}
buildCounterInsert--;
}
@@ -627,14 +627,14 @@
buildCounterInsert2--;
}
-buildUnnamed1667() {
+buildUnnamed1679() {
var o = new core.List<api.Insert2>();
o.add(buildInsert2());
o.add(buildInsert2());
return o;
}
-checkUnnamed1667(core.List<api.Insert2> o) {
+checkUnnamed1679(core.List<api.Insert2> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsert2(o[0]);
checkInsert2(o[1]);
@@ -645,7 +645,7 @@
var o = new api.List();
buildCounterList++;
if (buildCounterList < 3) {
- o.items = buildUnnamed1667();
+ o.items = buildUnnamed1679();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -657,7 +657,7 @@
checkList(api.List o) {
buildCounterList++;
if (buildCounterList < 3) {
- checkUnnamed1667(o.items);
+ checkUnnamed1679(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -686,14 +686,14 @@
buildCounterOutputOutputMulti--;
}
-buildUnnamed1668() {
+buildUnnamed1680() {
var o = new core.List<api.OutputOutputMulti>();
o.add(buildOutputOutputMulti());
o.add(buildOutputOutputMulti());
return o;
}
-checkUnnamed1668(core.List<api.OutputOutputMulti> o) {
+checkUnnamed1680(core.List<api.OutputOutputMulti> o) {
unittest.expect(o, unittest.hasLength(2));
checkOutputOutputMulti(o[0]);
checkOutputOutputMulti(o[1]);
@@ -707,7 +707,7 @@
o.id = "foo";
o.kind = "foo";
o.outputLabel = "foo";
- o.outputMulti = buildUnnamed1668();
+ o.outputMulti = buildUnnamed1680();
o.outputValue = "foo";
o.selfLink = "foo";
}
@@ -721,21 +721,21 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.outputLabel, unittest.equals('foo'));
- checkUnnamed1668(o.outputMulti);
+ checkUnnamed1680(o.outputMulti);
unittest.expect(o.outputValue, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterOutput--;
}
-buildUnnamed1669() {
+buildUnnamed1681() {
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;
}
-checkUnnamed1669(core.List<core.Object> o) {
+checkUnnamed1681(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'));
@@ -746,7 +746,7 @@
var o = new api.Update();
buildCounterUpdate++;
if (buildCounterUpdate < 3) {
- o.csvInstance = buildUnnamed1669();
+ o.csvInstance = buildUnnamed1681();
o.output = "foo";
}
buildCounterUpdate--;
@@ -756,7 +756,7 @@
checkUpdate(api.Update o) {
buildCounterUpdate++;
if (buildCounterUpdate < 3) {
- checkUnnamed1669(o.csvInstance);
+ checkUnnamed1681(o.csvInstance);
unittest.expect(o.output, unittest.equals('foo'));
}
buildCounterUpdate--;
diff --git a/generated/googleapis/test/pubsub/v1_test.dart b/generated/googleapis/test/pubsub/v1_test.dart
index 592f925..1d9111e 100644
--- a/generated/googleapis/test/pubsub/v1_test.dart
+++ b/generated/googleapis/test/pubsub/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1175() {
+buildUnnamed1170() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1175(core.List<core.String> o) {
+checkUnnamed1170(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
var o = new api.AcknowledgeRequest();
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- o.ackIds = buildUnnamed1175();
+ o.ackIds = buildUnnamed1170();
}
buildCounterAcknowledgeRequest--;
return o;
@@ -78,19 +78,19 @@
checkAcknowledgeRequest(api.AcknowledgeRequest o) {
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- checkUnnamed1175(o.ackIds);
+ checkUnnamed1170(o.ackIds);
}
buildCounterAcknowledgeRequest--;
}
-buildUnnamed1176() {
+buildUnnamed1171() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1176(core.List<core.String> o) {
+checkUnnamed1171(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -101,7 +101,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1176();
+ o.members = buildUnnamed1171();
o.role = "foo";
}
buildCounterBinding--;
@@ -111,7 +111,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1176(o.members);
+ checkUnnamed1171(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -134,14 +134,14 @@
buildCounterEmpty--;
}
-buildUnnamed1177() {
+buildUnnamed1172() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1177(core.List<api.Subscription> o) {
+checkUnnamed1172(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -153,7 +153,7 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed1177();
+ o.subscriptions = buildUnnamed1172();
}
buildCounterListSubscriptionsResponse--;
return o;
@@ -163,19 +163,19 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1177(o.subscriptions);
+ checkUnnamed1172(o.subscriptions);
}
buildCounterListSubscriptionsResponse--;
}
-buildUnnamed1178() {
+buildUnnamed1173() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1178(core.List<core.String> o) {
+checkUnnamed1173(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -187,7 +187,7 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed1178();
+ o.subscriptions = buildUnnamed1173();
}
buildCounterListTopicSubscriptionsResponse--;
return o;
@@ -197,19 +197,19 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1178(o.subscriptions);
+ checkUnnamed1173(o.subscriptions);
}
buildCounterListTopicSubscriptionsResponse--;
}
-buildUnnamed1179() {
+buildUnnamed1174() {
var o = new core.List<api.Topic>();
o.add(buildTopic());
o.add(buildTopic());
return o;
}
-checkUnnamed1179(core.List<api.Topic> o) {
+checkUnnamed1174(core.List<api.Topic> o) {
unittest.expect(o, unittest.hasLength(2));
checkTopic(o[0]);
checkTopic(o[1]);
@@ -221,7 +221,7 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
o.nextPageToken = "foo";
- o.topics = buildUnnamed1179();
+ o.topics = buildUnnamed1174();
}
buildCounterListTopicsResponse--;
return o;
@@ -231,19 +231,19 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1179(o.topics);
+ checkUnnamed1174(o.topics);
}
buildCounterListTopicsResponse--;
}
-buildUnnamed1180() {
+buildUnnamed1175() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1180(core.List<core.String> o) {
+checkUnnamed1175(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -255,7 +255,7 @@
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
o.ackDeadlineSeconds = 42;
- o.ackIds = buildUnnamed1180();
+ o.ackIds = buildUnnamed1175();
}
buildCounterModifyAckDeadlineRequest--;
return o;
@@ -265,7 +265,7 @@
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
unittest.expect(o.ackDeadlineSeconds, unittest.equals(42));
- checkUnnamed1180(o.ackIds);
+ checkUnnamed1175(o.ackIds);
}
buildCounterModifyAckDeadlineRequest--;
}
@@ -289,14 +289,14 @@
buildCounterModifyPushConfigRequest--;
}
-buildUnnamed1181() {
+buildUnnamed1176() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1181(core.List<api.Binding> o) {
+checkUnnamed1176(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -307,7 +307,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed1181();
+ o.bindings = buildUnnamed1176();
o.etag = "foo";
o.version = 42;
}
@@ -318,21 +318,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1181(o.bindings);
+ checkUnnamed1176(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1182() {
+buildUnnamed1177() {
var o = new core.List<api.PubsubMessage>();
o.add(buildPubsubMessage());
o.add(buildPubsubMessage());
return o;
}
-checkUnnamed1182(core.List<api.PubsubMessage> o) {
+checkUnnamed1177(core.List<api.PubsubMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkPubsubMessage(o[0]);
checkPubsubMessage(o[1]);
@@ -343,7 +343,7 @@
var o = new api.PublishRequest();
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- o.messages = buildUnnamed1182();
+ o.messages = buildUnnamed1177();
}
buildCounterPublishRequest--;
return o;
@@ -352,19 +352,19 @@
checkPublishRequest(api.PublishRequest o) {
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- checkUnnamed1182(o.messages);
+ checkUnnamed1177(o.messages);
}
buildCounterPublishRequest--;
}
-buildUnnamed1183() {
+buildUnnamed1178() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1183(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'));
@@ -375,7 +375,7 @@
var o = new api.PublishResponse();
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- o.messageIds = buildUnnamed1183();
+ o.messageIds = buildUnnamed1178();
}
buildCounterPublishResponse--;
return o;
@@ -384,19 +384,19 @@
checkPublishResponse(api.PublishResponse o) {
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- checkUnnamed1183(o.messageIds);
+ checkUnnamed1178(o.messageIds);
}
buildCounterPublishResponse--;
}
-buildUnnamed1184() {
+buildUnnamed1179() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1184(core.Map<core.String, core.String> o) {
+checkUnnamed1179(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'));
@@ -407,7 +407,7 @@
var o = new api.PubsubMessage();
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- o.attributes = buildUnnamed1184();
+ o.attributes = buildUnnamed1179();
o.data = "foo";
o.messageId = "foo";
o.publishTime = "foo";
@@ -419,7 +419,7 @@
checkPubsubMessage(api.PubsubMessage o) {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- checkUnnamed1184(o.attributes);
+ checkUnnamed1179(o.attributes);
unittest.expect(o.data, unittest.equals('foo'));
unittest.expect(o.messageId, unittest.equals('foo'));
unittest.expect(o.publishTime, unittest.equals('foo'));
@@ -448,14 +448,14 @@
buildCounterPullRequest--;
}
-buildUnnamed1185() {
+buildUnnamed1180() {
var o = new core.List<api.ReceivedMessage>();
o.add(buildReceivedMessage());
o.add(buildReceivedMessage());
return o;
}
-checkUnnamed1185(core.List<api.ReceivedMessage> o) {
+checkUnnamed1180(core.List<api.ReceivedMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkReceivedMessage(o[0]);
checkReceivedMessage(o[1]);
@@ -466,7 +466,7 @@
var o = new api.PullResponse();
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- o.receivedMessages = buildUnnamed1185();
+ o.receivedMessages = buildUnnamed1180();
}
buildCounterPullResponse--;
return o;
@@ -475,19 +475,19 @@
checkPullResponse(api.PullResponse o) {
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- checkUnnamed1185(o.receivedMessages);
+ checkUnnamed1180(o.receivedMessages);
}
buildCounterPullResponse--;
}
-buildUnnamed1186() {
+buildUnnamed1181() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1186(core.Map<core.String, core.String> o) {
+checkUnnamed1181(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'));
@@ -498,7 +498,7 @@
var o = new api.PushConfig();
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- o.attributes = buildUnnamed1186();
+ o.attributes = buildUnnamed1181();
o.pushEndpoint = "foo";
}
buildCounterPushConfig--;
@@ -508,7 +508,7 @@
checkPushConfig(api.PushConfig o) {
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- checkUnnamed1186(o.attributes);
+ checkUnnamed1181(o.attributes);
unittest.expect(o.pushEndpoint, unittest.equals('foo'));
}
buildCounterPushConfig--;
@@ -579,14 +579,14 @@
buildCounterSubscription--;
}
-buildUnnamed1187() {
+buildUnnamed1182() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1187(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'));
@@ -597,7 +597,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1187();
+ o.permissions = buildUnnamed1182();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -606,19 +606,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1187(o.permissions);
+ checkUnnamed1182(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1188() {
+buildUnnamed1183() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1188(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'));
@@ -629,7 +629,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1188();
+ o.permissions = buildUnnamed1183();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -638,7 +638,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1188(o.permissions);
+ checkUnnamed1183(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
diff --git a/generated/googleapis/test/reseller/v1_test.dart b/generated/googleapis/test/reseller/v1_test.dart
index b061147..f55d5f9 100644
--- a/generated/googleapis/test/reseller/v1_test.dart
+++ b/generated/googleapis/test/reseller/v1_test.dart
@@ -169,14 +169,14 @@
buildCounterRenewalSettings--;
}
-buildUnnamed2184() {
+buildUnnamed2198() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2184(core.List<core.String> o) {
+checkUnnamed2198(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -187,7 +187,7 @@
var o = new api.ResellernotifyGetwatchdetailsResponse();
buildCounterResellernotifyGetwatchdetailsResponse++;
if (buildCounterResellernotifyGetwatchdetailsResponse < 3) {
- o.serviceAccountEmailAddresses = buildUnnamed2184();
+ o.serviceAccountEmailAddresses = buildUnnamed2198();
o.topicName = "foo";
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -197,7 +197,7 @@
checkResellernotifyGetwatchdetailsResponse(api.ResellernotifyGetwatchdetailsResponse o) {
buildCounterResellernotifyGetwatchdetailsResponse++;
if (buildCounterResellernotifyGetwatchdetailsResponse < 3) {
- checkUnnamed2184(o.serviceAccountEmailAddresses);
+ checkUnnamed2198(o.serviceAccountEmailAddresses);
unittest.expect(o.topicName, unittest.equals('foo'));
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -291,14 +291,14 @@
buildCounterSubscriptionPlan--;
}
-buildUnnamed2185() {
+buildUnnamed2199() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2185(core.List<core.String> o) {
+checkUnnamed2199(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -366,7 +366,7 @@
o.skuName = "foo";
o.status = "foo";
o.subscriptionId = "foo";
- o.suspensionReasons = buildUnnamed2185();
+ o.suspensionReasons = buildUnnamed2199();
o.transferInfo = buildSubscriptionTransferInfo();
o.trialSettings = buildSubscriptionTrialSettings();
}
@@ -392,21 +392,21 @@
unittest.expect(o.skuName, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subscriptionId, unittest.equals('foo'));
- checkUnnamed2185(o.suspensionReasons);
+ checkUnnamed2199(o.suspensionReasons);
checkSubscriptionTransferInfo(o.transferInfo);
checkSubscriptionTrialSettings(o.trialSettings);
}
buildCounterSubscription--;
}
-buildUnnamed2186() {
+buildUnnamed2200() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed2186(core.List<api.Subscription> o) {
+checkUnnamed2200(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -419,7 +419,7 @@
if (buildCounterSubscriptions < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed2186();
+ o.subscriptions = buildUnnamed2200();
}
buildCounterSubscriptions--;
return o;
@@ -430,7 +430,7 @@
if (buildCounterSubscriptions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2186(o.subscriptions);
+ checkUnnamed2200(o.subscriptions);
}
buildCounterSubscriptions--;
}
diff --git a/generated/googleapis/test/runtimeconfig/v1_test.dart b/generated/googleapis/test/runtimeconfig/v1_test.dart
index 7eea567..0ac495e 100644
--- a/generated/googleapis/test/runtimeconfig/v1_test.dart
+++ b/generated/googleapis/test/runtimeconfig/v1_test.dart
@@ -85,14 +85,14 @@
buildCounterEmpty--;
}
-buildUnnamed1714() {
+buildUnnamed1726() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1714(core.List<api.Operation> o) {
+checkUnnamed1726(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -104,7 +104,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1714();
+ o.operations = buildUnnamed1726();
}
buildCounterListOperationsResponse--;
return o;
@@ -114,32 +114,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1714(o.operations);
+ checkUnnamed1726(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1715() {
+buildUnnamed1727() {
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;
}
-checkUnnamed1715(core.Map<core.String, core.Object> o) {
+checkUnnamed1727(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'));
}
-buildUnnamed1716() {
+buildUnnamed1728() {
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;
}
-checkUnnamed1716(core.Map<core.String, core.Object> o) {
+checkUnnamed1728(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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["y"]) 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'));
@@ -152,9 +152,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1715();
+ o.metadata = buildUnnamed1727();
o.name = "foo";
- o.response = buildUnnamed1716();
+ o.response = buildUnnamed1728();
}
buildCounterOperation--;
return o;
@@ -165,37 +165,37 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1715(o.metadata);
+ checkUnnamed1727(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1716(o.response);
+ checkUnnamed1728(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1717() {
+buildUnnamed1729() {
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;
}
-checkUnnamed1717(core.Map<core.String, core.Object> o) {
+checkUnnamed1729(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed1718() {
+buildUnnamed1730() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1717());
- o.add(buildUnnamed1717());
+ o.add(buildUnnamed1729());
+ o.add(buildUnnamed1729());
return o;
}
-checkUnnamed1718(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1730(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1717(o[0]);
- checkUnnamed1717(o[1]);
+ checkUnnamed1729(o[0]);
+ checkUnnamed1729(o[1]);
}
core.int buildCounterStatus = 0;
@@ -204,7 +204,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1718();
+ o.details = buildUnnamed1730();
o.message = "foo";
}
buildCounterStatus--;
@@ -215,7 +215,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1718(o.details);
+ checkUnnamed1730(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -368,9 +368,9 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.RuntimeconfigApi(mock).operations;
var arg_name = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -398,9 +398,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -409,7 +409,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
diff --git a/generated/googleapis/test/safebrowsing/v4_test.dart b/generated/googleapis/test/safebrowsing/v4_test.dart
index 610d04d..cd24f1d 100644
--- a/generated/googleapis/test/safebrowsing/v4_test.dart
+++ b/generated/googleapis/test/safebrowsing/v4_test.dart
@@ -91,14 +91,14 @@
buildCounterClientInfo--;
}
-buildUnnamed999() {
+buildUnnamed990() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed999(core.List<core.String> o) {
+checkUnnamed990(core.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,7 +112,7 @@
o.maxDatabaseEntries = 42;
o.maxUpdateEntries = 42;
o.region = "foo";
- o.supportedCompressions = buildUnnamed999();
+ o.supportedCompressions = buildUnnamed990();
}
buildCounterConstraints--;
return o;
@@ -124,19 +124,19 @@
unittest.expect(o.maxDatabaseEntries, unittest.equals(42));
unittest.expect(o.maxUpdateEntries, unittest.equals(42));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed999(o.supportedCompressions);
+ checkUnnamed990(o.supportedCompressions);
}
buildCounterConstraints--;
}
-buildUnnamed1000() {
+buildUnnamed991() {
var o = new core.List<api.ListUpdateRequest>();
o.add(buildListUpdateRequest());
o.add(buildListUpdateRequest());
return o;
}
-checkUnnamed1000(core.List<api.ListUpdateRequest> o) {
+checkUnnamed991(core.List<api.ListUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkListUpdateRequest(o[0]);
checkListUpdateRequest(o[1]);
@@ -148,7 +148,7 @@
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
o.client = buildClientInfo();
- o.listUpdateRequests = buildUnnamed1000();
+ o.listUpdateRequests = buildUnnamed991();
}
buildCounterFetchThreatListUpdatesRequest--;
return o;
@@ -158,19 +158,19 @@
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
checkClientInfo(o.client);
- checkUnnamed1000(o.listUpdateRequests);
+ checkUnnamed991(o.listUpdateRequests);
}
buildCounterFetchThreatListUpdatesRequest--;
}
-buildUnnamed1001() {
+buildUnnamed992() {
var o = new core.List<api.ListUpdateResponse>();
o.add(buildListUpdateResponse());
o.add(buildListUpdateResponse());
return o;
}
-checkUnnamed1001(core.List<api.ListUpdateResponse> o) {
+checkUnnamed992(core.List<api.ListUpdateResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkListUpdateResponse(o[0]);
checkListUpdateResponse(o[1]);
@@ -181,7 +181,7 @@
var o = new api.FetchThreatListUpdatesResponse();
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- o.listUpdateResponses = buildUnnamed1001();
+ o.listUpdateResponses = buildUnnamed992();
o.minimumWaitDuration = "foo";
}
buildCounterFetchThreatListUpdatesResponse--;
@@ -191,20 +191,20 @@
checkFetchThreatListUpdatesResponse(api.FetchThreatListUpdatesResponse o) {
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- checkUnnamed1001(o.listUpdateResponses);
+ checkUnnamed992(o.listUpdateResponses);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
}
buildCounterFetchThreatListUpdatesResponse--;
}
-buildUnnamed1002() {
+buildUnnamed993() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1002(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'));
@@ -217,7 +217,7 @@
if (buildCounterFindFullHashesRequest < 3) {
o.apiClient = buildClientInfo();
o.client = buildClientInfo();
- o.clientStates = buildUnnamed1002();
+ o.clientStates = buildUnnamed993();
o.threatInfo = buildThreatInfo();
}
buildCounterFindFullHashesRequest--;
@@ -229,20 +229,20 @@
if (buildCounterFindFullHashesRequest < 3) {
checkClientInfo(o.apiClient);
checkClientInfo(o.client);
- checkUnnamed1002(o.clientStates);
+ checkUnnamed993(o.clientStates);
checkThreatInfo(o.threatInfo);
}
buildCounterFindFullHashesRequest--;
}
-buildUnnamed1003() {
+buildUnnamed994() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed1003(core.List<api.ThreatMatch> o) {
+checkUnnamed994(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -253,7 +253,7 @@
var o = new api.FindFullHashesResponse();
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- o.matches = buildUnnamed1003();
+ o.matches = buildUnnamed994();
o.minimumWaitDuration = "foo";
o.negativeCacheDuration = "foo";
}
@@ -264,7 +264,7 @@
checkFindFullHashesResponse(api.FindFullHashesResponse o) {
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- checkUnnamed1003(o.matches);
+ checkUnnamed994(o.matches);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
unittest.expect(o.negativeCacheDuration, unittest.equals('foo'));
}
@@ -292,14 +292,14 @@
buildCounterFindThreatMatchesRequest--;
}
-buildUnnamed1004() {
+buildUnnamed995() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed1004(core.List<api.ThreatMatch> o) {
+checkUnnamed995(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -310,7 +310,7 @@
var o = new api.FindThreatMatchesResponse();
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- o.matches = buildUnnamed1004();
+ o.matches = buildUnnamed995();
}
buildCounterFindThreatMatchesResponse--;
return o;
@@ -319,19 +319,19 @@
checkFindThreatMatchesResponse(api.FindThreatMatchesResponse o) {
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- checkUnnamed1004(o.matches);
+ checkUnnamed995(o.matches);
}
buildCounterFindThreatMatchesResponse--;
}
-buildUnnamed1005() {
+buildUnnamed996() {
var o = new core.List<api.ThreatListDescriptor>();
o.add(buildThreatListDescriptor());
o.add(buildThreatListDescriptor());
return o;
}
-checkUnnamed1005(core.List<api.ThreatListDescriptor> o) {
+checkUnnamed996(core.List<api.ThreatListDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatListDescriptor(o[0]);
checkThreatListDescriptor(o[1]);
@@ -342,7 +342,7 @@
var o = new api.ListThreatListsResponse();
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- o.threatLists = buildUnnamed1005();
+ o.threatLists = buildUnnamed996();
}
buildCounterListThreatListsResponse--;
return o;
@@ -351,7 +351,7 @@
checkListThreatListsResponse(api.ListThreatListsResponse o) {
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- checkUnnamed1005(o.threatLists);
+ checkUnnamed996(o.threatLists);
}
buildCounterListThreatListsResponse--;
}
@@ -383,27 +383,27 @@
buildCounterListUpdateRequest--;
}
-buildUnnamed1006() {
+buildUnnamed997() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed1006(core.List<api.ThreatEntrySet> o) {
+checkUnnamed997(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
}
-buildUnnamed1007() {
+buildUnnamed998() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed1007(core.List<api.ThreatEntrySet> o) {
+checkUnnamed998(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
@@ -414,11 +414,11 @@
var o = new api.ListUpdateResponse();
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- o.additions = buildUnnamed1006();
+ o.additions = buildUnnamed997();
o.checksum = buildChecksum();
o.newClientState = "foo";
o.platformType = "foo";
- o.removals = buildUnnamed1007();
+ o.removals = buildUnnamed998();
o.responseType = "foo";
o.threatEntryType = "foo";
o.threatType = "foo";
@@ -430,11 +430,11 @@
checkListUpdateResponse(api.ListUpdateResponse o) {
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- checkUnnamed1006(o.additions);
+ checkUnnamed997(o.additions);
checkChecksum(o.checksum);
unittest.expect(o.newClientState, unittest.equals('foo'));
unittest.expect(o.platformType, unittest.equals('foo'));
- checkUnnamed1007(o.removals);
+ checkUnnamed998(o.removals);
unittest.expect(o.responseType, unittest.equals('foo'));
unittest.expect(o.threatEntryType, unittest.equals('foo'));
unittest.expect(o.threatType, unittest.equals('foo'));
@@ -484,14 +484,14 @@
buildCounterRawHashes--;
}
-buildUnnamed1008() {
+buildUnnamed999() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1008(core.List<core.int> o) {
+checkUnnamed999(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));
@@ -502,7 +502,7 @@
var o = new api.RawIndices();
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- o.indices = buildUnnamed1008();
+ o.indices = buildUnnamed999();
}
buildCounterRawIndices--;
return o;
@@ -511,7 +511,7 @@
checkRawIndices(api.RawIndices o) {
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- checkUnnamed1008(o.indices);
+ checkUnnamed999(o.indices);
}
buildCounterRawIndices--;
}
@@ -564,14 +564,14 @@
buildCounterThreatEntry--;
}
-buildUnnamed1009() {
+buildUnnamed1000() {
var o = new core.List<api.MetadataEntry>();
o.add(buildMetadataEntry());
o.add(buildMetadataEntry());
return o;
}
-checkUnnamed1009(core.List<api.MetadataEntry> o) {
+checkUnnamed1000(core.List<api.MetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataEntry(o[0]);
checkMetadataEntry(o[1]);
@@ -582,7 +582,7 @@
var o = new api.ThreatEntryMetadata();
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- o.entries = buildUnnamed1009();
+ o.entries = buildUnnamed1000();
}
buildCounterThreatEntryMetadata--;
return o;
@@ -591,7 +591,7 @@
checkThreatEntryMetadata(api.ThreatEntryMetadata o) {
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- checkUnnamed1009(o.entries);
+ checkUnnamed1000(o.entries);
}
buildCounterThreatEntryMetadata--;
}
@@ -623,53 +623,53 @@
buildCounterThreatEntrySet--;
}
-buildUnnamed1010() {
+buildUnnamed1001() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1010(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'));
}
-buildUnnamed1011() {
+buildUnnamed1002() {
var o = new core.List<api.ThreatEntry>();
o.add(buildThreatEntry());
o.add(buildThreatEntry());
return o;
}
-checkUnnamed1011(core.List<api.ThreatEntry> o) {
+checkUnnamed1002(core.List<api.ThreatEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntry(o[0]);
checkThreatEntry(o[1]);
}
-buildUnnamed1012() {
+buildUnnamed1003() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1012(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'));
}
-buildUnnamed1013() {
+buildUnnamed1004() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1013(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'));
@@ -680,10 +680,10 @@
var o = new api.ThreatInfo();
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- o.platformTypes = buildUnnamed1010();
- o.threatEntries = buildUnnamed1011();
- o.threatEntryTypes = buildUnnamed1012();
- o.threatTypes = buildUnnamed1013();
+ o.platformTypes = buildUnnamed1001();
+ o.threatEntries = buildUnnamed1002();
+ o.threatEntryTypes = buildUnnamed1003();
+ o.threatTypes = buildUnnamed1004();
}
buildCounterThreatInfo--;
return o;
@@ -692,10 +692,10 @@
checkThreatInfo(api.ThreatInfo o) {
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- checkUnnamed1010(o.platformTypes);
- checkUnnamed1011(o.threatEntries);
- checkUnnamed1012(o.threatEntryTypes);
- checkUnnamed1013(o.threatTypes);
+ checkUnnamed1001(o.platformTypes);
+ checkUnnamed1002(o.threatEntries);
+ checkUnnamed1003(o.threatEntryTypes);
+ checkUnnamed1004(o.threatTypes);
}
buildCounterThreatInfo--;
}
diff --git a/generated/googleapis/test/script/v1_test.dart b/generated/googleapis/test/script/v1_test.dart
index 3b0d77c..4d1e28b 100644
--- a/generated/googleapis/test/script/v1_test.dart
+++ b/generated/googleapis/test/script/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed723() {
+buildUnnamed710() {
var o = new core.List<api.ScriptStackTraceElement>();
o.add(buildScriptStackTraceElement());
o.add(buildScriptStackTraceElement());
return o;
}
-checkUnnamed723(core.List<api.ScriptStackTraceElement> o) {
+checkUnnamed710(core.List<api.ScriptStackTraceElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkScriptStackTraceElement(o[0]);
checkScriptStackTraceElement(o[1]);
@@ -71,7 +71,7 @@
if (buildCounterExecutionError < 3) {
o.errorMessage = "foo";
o.errorType = "foo";
- o.scriptStackTraceElements = buildUnnamed723();
+ o.scriptStackTraceElements = buildUnnamed710();
}
buildCounterExecutionError--;
return o;
@@ -82,19 +82,19 @@
if (buildCounterExecutionError < 3) {
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.errorType, unittest.equals('foo'));
- checkUnnamed723(o.scriptStackTraceElements);
+ checkUnnamed710(o.scriptStackTraceElements);
}
buildCounterExecutionError--;
}
-buildUnnamed724() {
+buildUnnamed711() {
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;
}
-checkUnnamed724(core.List<core.Object> o) {
+checkUnnamed711(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'));
@@ -107,7 +107,7 @@
if (buildCounterExecutionRequest < 3) {
o.devMode = true;
o.function = "foo";
- o.parameters = buildUnnamed724();
+ o.parameters = buildUnnamed711();
o.sessionState = "foo";
}
buildCounterExecutionRequest--;
@@ -119,7 +119,7 @@
if (buildCounterExecutionRequest < 3) {
unittest.expect(o.devMode, unittest.isTrue);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed724(o.parameters);
+ checkUnnamed711(o.parameters);
unittest.expect(o.sessionState, unittest.equals('foo'));
}
buildCounterExecutionRequest--;
@@ -144,27 +144,27 @@
buildCounterExecutionResponse--;
}
-buildUnnamed725() {
+buildUnnamed712() {
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;
}
-checkUnnamed725(core.Map<core.String, core.Object> o) {
+checkUnnamed712(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed726() {
+buildUnnamed713() {
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;
}
-checkUnnamed726(core.Map<core.String, core.Object> o) {
+checkUnnamed713(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted6 = (o["x"]) 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'));
var casted7 = (o["y"]) 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'));
@@ -177,9 +177,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed725();
+ o.metadata = buildUnnamed712();
o.name = "foo";
- o.response = buildUnnamed726();
+ o.response = buildUnnamed713();
}
buildCounterOperation--;
return o;
@@ -190,9 +190,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed725(o.metadata);
+ checkUnnamed712(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed726(o.response);
+ checkUnnamed713(o.response);
}
buildCounterOperation--;
}
@@ -218,30 +218,30 @@
buildCounterScriptStackTraceElement--;
}
-buildUnnamed727() {
+buildUnnamed714() {
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;
}
-checkUnnamed727(core.Map<core.String, core.Object> o) {
+checkUnnamed714(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted8 = (o["x"]) 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'));
var casted9 = (o["y"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
}
-buildUnnamed728() {
+buildUnnamed715() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed727());
- o.add(buildUnnamed727());
+ o.add(buildUnnamed714());
+ o.add(buildUnnamed714());
return o;
}
-checkUnnamed728(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed715(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed727(o[0]);
- checkUnnamed727(o[1]);
+ checkUnnamed714(o[0]);
+ checkUnnamed714(o[1]);
}
core.int buildCounterStatus = 0;
@@ -250,7 +250,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed728();
+ o.details = buildUnnamed715();
o.message = "foo";
}
buildCounterStatus--;
@@ -261,7 +261,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed728(o.details);
+ checkUnnamed715(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/searchconsole/v1_test.dart b/generated/googleapis/test/searchconsole/v1_test.dart
index 1e84469..c023585 100644
--- a/generated/googleapis/test/searchconsole/v1_test.dart
+++ b/generated/googleapis/test/searchconsole/v1_test.dart
@@ -150,27 +150,27 @@
buildCounterRunMobileFriendlyTestRequest--;
}
-buildUnnamed1138() {
+buildUnnamed1133() {
var o = new core.List<api.MobileFriendlyIssue>();
o.add(buildMobileFriendlyIssue());
o.add(buildMobileFriendlyIssue());
return o;
}
-checkUnnamed1138(core.List<api.MobileFriendlyIssue> o) {
+checkUnnamed1133(core.List<api.MobileFriendlyIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileFriendlyIssue(o[0]);
checkMobileFriendlyIssue(o[1]);
}
-buildUnnamed1139() {
+buildUnnamed1134() {
var o = new core.List<api.ResourceIssue>();
o.add(buildResourceIssue());
o.add(buildResourceIssue());
return o;
}
-checkUnnamed1139(core.List<api.ResourceIssue> o) {
+checkUnnamed1134(core.List<api.ResourceIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceIssue(o[0]);
checkResourceIssue(o[1]);
@@ -182,8 +182,8 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
o.mobileFriendliness = "foo";
- o.mobileFriendlyIssues = buildUnnamed1138();
- o.resourceIssues = buildUnnamed1139();
+ o.mobileFriendlyIssues = buildUnnamed1133();
+ o.resourceIssues = buildUnnamed1134();
o.screenshot = buildImage();
o.testStatus = buildTestStatus();
}
@@ -195,8 +195,8 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
unittest.expect(o.mobileFriendliness, unittest.equals('foo'));
- checkUnnamed1138(o.mobileFriendlyIssues);
- checkUnnamed1139(o.resourceIssues);
+ checkUnnamed1133(o.mobileFriendlyIssues);
+ checkUnnamed1134(o.resourceIssues);
checkImage(o.screenshot);
checkTestStatus(o.testStatus);
}
diff --git a/generated/googleapis/test/servicecontrol/v1_test.dart b/generated/googleapis/test/servicecontrol/v1_test.dart
index 6ae69ea..d41cf59 100644
--- a/generated/googleapis/test/servicecontrol/v1_test.dart
+++ b/generated/googleapis/test/servicecontrol/v1_test.dart
@@ -74,27 +74,27 @@
buildCounterAllocateQuotaRequest--;
}
-buildUnnamed1478() {
+buildUnnamed1475() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1478(core.List<api.QuotaError> o) {
+checkUnnamed1475(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
}
-buildUnnamed1479() {
+buildUnnamed1476() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1479(core.List<api.MetricValueSet> o) {
+checkUnnamed1476(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -105,9 +105,9 @@
var o = new api.AllocateQuotaResponse();
buildCounterAllocateQuotaResponse++;
if (buildCounterAllocateQuotaResponse < 3) {
- o.allocateErrors = buildUnnamed1478();
+ o.allocateErrors = buildUnnamed1475();
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1479();
+ o.quotaMetrics = buildUnnamed1476();
o.serviceConfigId = "foo";
}
buildCounterAllocateQuotaResponse--;
@@ -117,61 +117,61 @@
checkAllocateQuotaResponse(api.AllocateQuotaResponse o) {
buildCounterAllocateQuotaResponse++;
if (buildCounterAllocateQuotaResponse < 3) {
- checkUnnamed1478(o.allocateErrors);
+ checkUnnamed1475(o.allocateErrors);
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1479(o.quotaMetrics);
+ checkUnnamed1476(o.quotaMetrics);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterAllocateQuotaResponse--;
}
-buildUnnamed1480() {
+buildUnnamed1477() {
var o = new core.List<api.AuthorizationInfo>();
o.add(buildAuthorizationInfo());
o.add(buildAuthorizationInfo());
return o;
}
-checkUnnamed1480(core.List<api.AuthorizationInfo> o) {
+checkUnnamed1477(core.List<api.AuthorizationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizationInfo(o[0]);
checkAuthorizationInfo(o[1]);
}
-buildUnnamed1481() {
+buildUnnamed1478() {
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;
}
-checkUnnamed1481(core.Map<core.String, core.Object> o) {
+checkUnnamed1478(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'));
}
-buildUnnamed1482() {
+buildUnnamed1479() {
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;
}
-checkUnnamed1482(core.Map<core.String, core.Object> o) {
+checkUnnamed1479(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed1483() {
+buildUnnamed1480() {
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;
}
-checkUnnamed1483(core.Map<core.String, core.Object> o) {
+checkUnnamed1480(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) 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["y"]) 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'));
@@ -183,14 +183,14 @@
buildCounterAuditLog++;
if (buildCounterAuditLog < 3) {
o.authenticationInfo = buildAuthenticationInfo();
- o.authorizationInfo = buildUnnamed1480();
+ o.authorizationInfo = buildUnnamed1477();
o.methodName = "foo";
o.numResponseItems = "foo";
- o.request = buildUnnamed1481();
+ o.request = buildUnnamed1478();
o.requestMetadata = buildRequestMetadata();
o.resourceName = "foo";
- o.response = buildUnnamed1482();
- o.serviceData = buildUnnamed1483();
+ o.response = buildUnnamed1479();
+ o.serviceData = buildUnnamed1480();
o.serviceName = "foo";
o.status = buildStatus();
}
@@ -202,14 +202,14 @@
buildCounterAuditLog++;
if (buildCounterAuditLog < 3) {
checkAuthenticationInfo(o.authenticationInfo);
- checkUnnamed1480(o.authorizationInfo);
+ checkUnnamed1477(o.authorizationInfo);
unittest.expect(o.methodName, unittest.equals('foo'));
unittest.expect(o.numResponseItems, unittest.equals('foo'));
- checkUnnamed1481(o.request);
+ checkUnnamed1478(o.request);
checkRequestMetadata(o.requestMetadata);
unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed1482(o.response);
- checkUnnamed1483(o.serviceData);
+ checkUnnamed1479(o.response);
+ checkUnnamed1480(o.serviceData);
unittest.expect(o.serviceName, unittest.equals('foo'));
checkStatus(o.status);
}
@@ -281,14 +281,14 @@
buildCounterCheckError--;
}
-buildUnnamed1484() {
+buildUnnamed1481() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1484(core.List<core.String> o) {
+checkUnnamed1481(core.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.CheckInfo();
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
- o.unusedArguments = buildUnnamed1484();
+ o.unusedArguments = buildUnnamed1481();
}
buildCounterCheckInfo--;
return o;
@@ -308,7 +308,7 @@
checkCheckInfo(api.CheckInfo o) {
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
- checkUnnamed1484(o.unusedArguments);
+ checkUnnamed1481(o.unusedArguments);
}
buildCounterCheckInfo--;
}
@@ -338,14 +338,14 @@
buildCounterCheckRequest--;
}
-buildUnnamed1485() {
+buildUnnamed1482() {
var o = new core.List<api.CheckError>();
o.add(buildCheckError());
o.add(buildCheckError());
return o;
}
-checkUnnamed1485(core.List<api.CheckError> o) {
+checkUnnamed1482(core.List<api.CheckError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCheckError(o[0]);
checkCheckError(o[1]);
@@ -356,7 +356,7 @@
var o = new api.CheckResponse();
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- o.checkErrors = buildUnnamed1485();
+ o.checkErrors = buildUnnamed1482();
o.checkInfo = buildCheckInfo();
o.operationId = "foo";
o.quotaInfo = buildQuotaInfo();
@@ -369,7 +369,7 @@
checkCheckResponse(api.CheckResponse o) {
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- checkUnnamed1485(o.checkErrors);
+ checkUnnamed1482(o.checkErrors);
checkCheckInfo(o.checkInfo);
unittest.expect(o.operationId, unittest.equals('foo'));
checkQuotaInfo(o.quotaInfo);
@@ -378,14 +378,14 @@
buildCounterCheckResponse--;
}
-buildUnnamed1486() {
+buildUnnamed1483() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1486(core.List<core.String> o) {
+checkUnnamed1483(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -396,7 +396,7 @@
var o = new api.Distribution();
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- o.bucketCounts = buildUnnamed1486();
+ o.bucketCounts = buildUnnamed1483();
o.count = "foo";
o.explicitBuckets = buildExplicitBuckets();
o.exponentialBuckets = buildExponentialBuckets();
@@ -413,7 +413,7 @@
checkDistribution(api.Distribution o) {
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- checkUnnamed1486(o.bucketCounts);
+ checkUnnamed1483(o.bucketCounts);
unittest.expect(o.count, unittest.equals('foo'));
checkExplicitBuckets(o.explicitBuckets);
checkExponentialBuckets(o.exponentialBuckets);
@@ -447,27 +447,27 @@
buildCounterEndReconciliationRequest--;
}
-buildUnnamed1487() {
+buildUnnamed1484() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1487(core.List<api.MetricValueSet> o) {
+checkUnnamed1484(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1488() {
+buildUnnamed1485() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1488(core.List<api.QuotaError> o) {
+checkUnnamed1485(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -479,8 +479,8 @@
buildCounterEndReconciliationResponse++;
if (buildCounterEndReconciliationResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1487();
- o.reconciliationErrors = buildUnnamed1488();
+ o.quotaMetrics = buildUnnamed1484();
+ o.reconciliationErrors = buildUnnamed1485();
o.serviceConfigId = "foo";
}
buildCounterEndReconciliationResponse--;
@@ -491,21 +491,21 @@
buildCounterEndReconciliationResponse++;
if (buildCounterEndReconciliationResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1487(o.quotaMetrics);
- checkUnnamed1488(o.reconciliationErrors);
+ checkUnnamed1484(o.quotaMetrics);
+ checkUnnamed1485(o.reconciliationErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterEndReconciliationResponse--;
}
-buildUnnamed1489() {
+buildUnnamed1486() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1489(core.List<core.double> o) {
+checkUnnamed1486(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));
@@ -516,7 +516,7 @@
var o = new api.ExplicitBuckets();
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- o.bounds = buildUnnamed1489();
+ o.bounds = buildUnnamed1486();
}
buildCounterExplicitBuckets--;
return o;
@@ -525,7 +525,7 @@
checkExplicitBuckets(api.ExplicitBuckets o) {
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- checkUnnamed1489(o.bounds);
+ checkUnnamed1486(o.bounds);
}
buildCounterExplicitBuckets--;
}
@@ -576,40 +576,40 @@
buildCounterLinearBuckets--;
}
-buildUnnamed1490() {
+buildUnnamed1487() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1490(core.Map<core.String, core.String> o) {
+checkUnnamed1487(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'));
}
-buildUnnamed1491() {
+buildUnnamed1488() {
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;
}
-checkUnnamed1491(core.Map<core.String, core.Object> o) {
+checkUnnamed1488(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed1492() {
+buildUnnamed1489() {
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;
}
-checkUnnamed1492(core.Map<core.String, core.Object> o) {
+checkUnnamed1489(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
@@ -621,11 +621,11 @@
buildCounterLogEntry++;
if (buildCounterLogEntry < 3) {
o.insertId = "foo";
- o.labels = buildUnnamed1490();
+ o.labels = buildUnnamed1487();
o.name = "foo";
- o.protoPayload = buildUnnamed1491();
+ o.protoPayload = buildUnnamed1488();
o.severity = "foo";
- o.structPayload = buildUnnamed1492();
+ o.structPayload = buildUnnamed1489();
o.textPayload = "foo";
o.timestamp = "foo";
}
@@ -637,25 +637,25 @@
buildCounterLogEntry++;
if (buildCounterLogEntry < 3) {
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed1490(o.labels);
+ checkUnnamed1487(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1491(o.protoPayload);
+ checkUnnamed1488(o.protoPayload);
unittest.expect(o.severity, unittest.equals('foo'));
- checkUnnamed1492(o.structPayload);
+ checkUnnamed1489(o.structPayload);
unittest.expect(o.textPayload, unittest.equals('foo'));
unittest.expect(o.timestamp, unittest.equals('foo'));
}
buildCounterLogEntry--;
}
-buildUnnamed1493() {
+buildUnnamed1490() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1493(core.Map<core.String, core.String> o) {
+checkUnnamed1490(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'));
@@ -671,7 +671,7 @@
o.doubleValue = 42.0;
o.endTime = "foo";
o.int64Value = "foo";
- o.labels = buildUnnamed1493();
+ o.labels = buildUnnamed1490();
o.moneyValue = buildMoney();
o.startTime = "foo";
o.stringValue = "foo";
@@ -688,7 +688,7 @@
unittest.expect(o.doubleValue, unittest.equals(42.0));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.int64Value, unittest.equals('foo'));
- checkUnnamed1493(o.labels);
+ checkUnnamed1490(o.labels);
checkMoney(o.moneyValue);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
@@ -696,14 +696,14 @@
buildCounterMetricValue--;
}
-buildUnnamed1494() {
+buildUnnamed1491() {
var o = new core.List<api.MetricValue>();
o.add(buildMetricValue());
o.add(buildMetricValue());
return o;
}
-checkUnnamed1494(core.List<api.MetricValue> o) {
+checkUnnamed1491(core.List<api.MetricValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValue(o[0]);
checkMetricValue(o[1]);
@@ -715,7 +715,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
o.metricName = "foo";
- o.metricValues = buildUnnamed1494();
+ o.metricValues = buildUnnamed1491();
}
buildCounterMetricValueSet--;
return o;
@@ -725,7 +725,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
unittest.expect(o.metricName, unittest.equals('foo'));
- checkUnnamed1494(o.metricValues);
+ checkUnnamed1491(o.metricValues);
}
buildCounterMetricValueSet--;
}
@@ -753,6 +753,45 @@
buildCounterMoney--;
}
+buildUnnamed1492() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed1492(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'));
+}
+
+buildUnnamed1493() {
+ var o = new core.List<api.LogEntry>();
+ o.add(buildLogEntry());
+ o.add(buildLogEntry());
+ return o;
+}
+
+checkUnnamed1493(core.List<api.LogEntry> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLogEntry(o[0]);
+ checkLogEntry(o[1]);
+}
+
+buildUnnamed1494() {
+ var o = new core.List<api.MetricValueSet>();
+ o.add(buildMetricValueSet());
+ o.add(buildMetricValueSet());
+ return o;
+}
+
+checkUnnamed1494(core.List<api.MetricValueSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetricValueSet(o[0]);
+ checkMetricValueSet(o[1]);
+}
+
buildUnnamed1495() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -766,45 +805,6 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1496() {
- var o = new core.List<api.LogEntry>();
- o.add(buildLogEntry());
- o.add(buildLogEntry());
- return o;
-}
-
-checkUnnamed1496(core.List<api.LogEntry> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkLogEntry(o[0]);
- checkLogEntry(o[1]);
-}
-
-buildUnnamed1497() {
- var o = new core.List<api.MetricValueSet>();
- o.add(buildMetricValueSet());
- o.add(buildMetricValueSet());
- return o;
-}
-
-checkUnnamed1497(core.List<api.MetricValueSet> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkMetricValueSet(o[0]);
- checkMetricValueSet(o[1]);
-}
-
-buildUnnamed1498() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed1498(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
core.int buildCounterOperation = 0;
buildOperation() {
var o = new api.Operation();
@@ -813,15 +813,15 @@
o.consumerId = "foo";
o.endTime = "foo";
o.importance = "foo";
- o.labels = buildUnnamed1495();
- o.logEntries = buildUnnamed1496();
- o.metricValueSets = buildUnnamed1497();
+ o.labels = buildUnnamed1492();
+ o.logEntries = buildUnnamed1493();
+ o.metricValueSets = buildUnnamed1494();
o.operationId = "foo";
o.operationName = "foo";
o.quotaProperties = buildQuotaProperties();
o.resourceContainer = "foo";
o.startTime = "foo";
- o.userLabels = buildUnnamed1498();
+ o.userLabels = buildUnnamed1495();
}
buildCounterOperation--;
return o;
@@ -833,15 +833,15 @@
unittest.expect(o.consumerId, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.importance, unittest.equals('foo'));
- checkUnnamed1495(o.labels);
- checkUnnamed1496(o.logEntries);
- checkUnnamed1497(o.metricValueSets);
+ checkUnnamed1492(o.labels);
+ checkUnnamed1493(o.logEntries);
+ checkUnnamed1494(o.metricValueSets);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.operationName, unittest.equals('foo'));
checkQuotaProperties(o.quotaProperties);
unittest.expect(o.resourceContainer, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1498(o.userLabels);
+ checkUnnamed1495(o.userLabels);
}
buildCounterOperation--;
}
@@ -869,40 +869,40 @@
buildCounterQuotaError--;
}
-buildUnnamed1499() {
+buildUnnamed1496() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1499(core.List<core.String> o) {
+checkUnnamed1496(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1500() {
+buildUnnamed1497() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed1500(core.Map<core.String, core.int> o) {
+checkUnnamed1497(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
}
-buildUnnamed1501() {
+buildUnnamed1498() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1501(core.List<api.MetricValueSet> o) {
+checkUnnamed1498(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -913,9 +913,9 @@
var o = new api.QuotaInfo();
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- o.limitExceeded = buildUnnamed1499();
- o.quotaConsumed = buildUnnamed1500();
- o.quotaMetrics = buildUnnamed1501();
+ o.limitExceeded = buildUnnamed1496();
+ o.quotaConsumed = buildUnnamed1497();
+ o.quotaMetrics = buildUnnamed1498();
}
buildCounterQuotaInfo--;
return o;
@@ -924,34 +924,34 @@
checkQuotaInfo(api.QuotaInfo o) {
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- checkUnnamed1499(o.limitExceeded);
- checkUnnamed1500(o.quotaConsumed);
- checkUnnamed1501(o.quotaMetrics);
+ checkUnnamed1496(o.limitExceeded);
+ checkUnnamed1497(o.quotaConsumed);
+ checkUnnamed1498(o.quotaMetrics);
}
buildCounterQuotaInfo--;
}
-buildUnnamed1502() {
+buildUnnamed1499() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1502(core.Map<core.String, core.String> o) {
+checkUnnamed1499(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'));
}
-buildUnnamed1503() {
+buildUnnamed1500() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1503(core.List<api.MetricValueSet> o) {
+checkUnnamed1500(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -963,10 +963,10 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
o.consumerId = "foo";
- o.labels = buildUnnamed1502();
+ o.labels = buildUnnamed1499();
o.methodName = "foo";
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1503();
+ o.quotaMetrics = buildUnnamed1500();
o.quotaMode = "foo";
}
buildCounterQuotaOperation--;
@@ -977,23 +977,23 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
unittest.expect(o.consumerId, unittest.equals('foo'));
- checkUnnamed1502(o.labels);
+ checkUnnamed1499(o.labels);
unittest.expect(o.methodName, unittest.equals('foo'));
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1503(o.quotaMetrics);
+ checkUnnamed1500(o.quotaMetrics);
unittest.expect(o.quotaMode, unittest.equals('foo'));
}
buildCounterQuotaOperation--;
}
-buildUnnamed1504() {
+buildUnnamed1501() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1504(core.Map<core.String, core.String> o) {
+checkUnnamed1501(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'));
@@ -1004,7 +1004,7 @@
var o = new api.QuotaProperties();
buildCounterQuotaProperties++;
if (buildCounterQuotaProperties < 3) {
- o.limitByIds = buildUnnamed1504();
+ o.limitByIds = buildUnnamed1501();
o.quotaMode = "foo";
}
buildCounterQuotaProperties--;
@@ -1014,7 +1014,7 @@
checkQuotaProperties(api.QuotaProperties o) {
buildCounterQuotaProperties++;
if (buildCounterQuotaProperties < 3) {
- checkUnnamed1504(o.limitByIds);
+ checkUnnamed1501(o.limitByIds);
unittest.expect(o.quotaMode, unittest.equals('foo'));
}
buildCounterQuotaProperties--;
@@ -1041,27 +1041,27 @@
buildCounterReleaseQuotaRequest--;
}
-buildUnnamed1505() {
+buildUnnamed1502() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1505(core.List<api.MetricValueSet> o) {
+checkUnnamed1502(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1506() {
+buildUnnamed1503() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1506(core.List<api.QuotaError> o) {
+checkUnnamed1503(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -1073,8 +1073,8 @@
buildCounterReleaseQuotaResponse++;
if (buildCounterReleaseQuotaResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1505();
- o.releaseErrors = buildUnnamed1506();
+ o.quotaMetrics = buildUnnamed1502();
+ o.releaseErrors = buildUnnamed1503();
o.serviceConfigId = "foo";
}
buildCounterReleaseQuotaResponse--;
@@ -1085,8 +1085,8 @@
buildCounterReleaseQuotaResponse++;
if (buildCounterReleaseQuotaResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1505(o.quotaMetrics);
- checkUnnamed1506(o.releaseErrors);
+ checkUnnamed1502(o.quotaMetrics);
+ checkUnnamed1503(o.releaseErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReleaseQuotaResponse--;
@@ -1134,14 +1134,14 @@
buildCounterReportInfo--;
}
-buildUnnamed1507() {
+buildUnnamed1504() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1507(core.List<api.Operation> o) {
+checkUnnamed1504(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1152,7 +1152,7 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.operations = buildUnnamed1507();
+ o.operations = buildUnnamed1504();
o.serviceConfigId = "foo";
}
buildCounterReportRequest--;
@@ -1162,33 +1162,33 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed1507(o.operations);
+ checkUnnamed1504(o.operations);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReportRequest--;
}
-buildUnnamed1508() {
+buildUnnamed1505() {
var o = new core.List<api.ReportError>();
o.add(buildReportError());
o.add(buildReportError());
return o;
}
-checkUnnamed1508(core.List<api.ReportError> o) {
+checkUnnamed1505(core.List<api.ReportError> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportError(o[0]);
checkReportError(o[1]);
}
-buildUnnamed1509() {
+buildUnnamed1506() {
var o = new core.List<api.ReportInfo>();
o.add(buildReportInfo());
o.add(buildReportInfo());
return o;
}
-checkUnnamed1509(core.List<api.ReportInfo> o) {
+checkUnnamed1506(core.List<api.ReportInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportInfo(o[0]);
checkReportInfo(o[1]);
@@ -1199,8 +1199,8 @@
var o = new api.ReportResponse();
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- o.reportErrors = buildUnnamed1508();
- o.reportInfos = buildUnnamed1509();
+ o.reportErrors = buildUnnamed1505();
+ o.reportInfos = buildUnnamed1506();
o.serviceConfigId = "foo";
}
buildCounterReportResponse--;
@@ -1210,8 +1210,8 @@
checkReportResponse(api.ReportResponse o) {
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- checkUnnamed1508(o.reportErrors);
- checkUnnamed1509(o.reportInfos);
+ checkUnnamed1505(o.reportErrors);
+ checkUnnamed1506(o.reportInfos);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReportResponse--;
@@ -1259,27 +1259,27 @@
buildCounterStartReconciliationRequest--;
}
-buildUnnamed1510() {
+buildUnnamed1507() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1510(core.List<api.MetricValueSet> o) {
+checkUnnamed1507(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1511() {
+buildUnnamed1508() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1511(core.List<api.QuotaError> o) {
+checkUnnamed1508(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -1291,8 +1291,8 @@
buildCounterStartReconciliationResponse++;
if (buildCounterStartReconciliationResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1510();
- o.reconciliationErrors = buildUnnamed1511();
+ o.quotaMetrics = buildUnnamed1507();
+ o.reconciliationErrors = buildUnnamed1508();
o.serviceConfigId = "foo";
}
buildCounterStartReconciliationResponse--;
@@ -1303,37 +1303,37 @@
buildCounterStartReconciliationResponse++;
if (buildCounterStartReconciliationResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1510(o.quotaMetrics);
- checkUnnamed1511(o.reconciliationErrors);
+ checkUnnamed1507(o.quotaMetrics);
+ checkUnnamed1508(o.reconciliationErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterStartReconciliationResponse--;
}
-buildUnnamed1512() {
+buildUnnamed1509() {
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;
}
-checkUnnamed1512(core.Map<core.String, core.Object> o) {
+checkUnnamed1509(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1513() {
+buildUnnamed1510() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1512());
- o.add(buildUnnamed1512());
+ o.add(buildUnnamed1509());
+ o.add(buildUnnamed1509());
return o;
}
-checkUnnamed1513(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1510(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1512(o[0]);
- checkUnnamed1512(o[1]);
+ checkUnnamed1509(o[0]);
+ checkUnnamed1509(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1342,7 +1342,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1513();
+ o.details = buildUnnamed1510();
o.message = "foo";
}
buildCounterStatus--;
@@ -1353,7 +1353,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1513(o.details);
+ checkUnnamed1510(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/servicemanagement/v1_test.dart b/generated/googleapis/test/servicemanagement/v1_test.dart
index dab9d05..a7798b4 100644
--- a/generated/googleapis/test/servicemanagement/v1_test.dart
+++ b/generated/googleapis/test/servicemanagement/v1_test.dart
@@ -70,40 +70,40 @@
buildCounterAdvice--;
}
-buildUnnamed1051() {
+buildUnnamed1042() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed1051(core.List<api.Method> o) {
+checkUnnamed1042(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed1052() {
+buildUnnamed1043() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed1052(core.List<api.Mixin> o) {
+checkUnnamed1043(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed1053() {
+buildUnnamed1044() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1053(core.List<api.Option> o) {
+checkUnnamed1044(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -114,10 +114,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed1051();
- o.mixins = buildUnnamed1052();
+ o.methods = buildUnnamed1042();
+ o.mixins = buildUnnamed1043();
o.name = "foo";
- o.options = buildUnnamed1053();
+ o.options = buildUnnamed1044();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -129,10 +129,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed1051(o.methods);
- checkUnnamed1052(o.mixins);
+ checkUnnamed1042(o.methods);
+ checkUnnamed1043(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1053(o.options);
+ checkUnnamed1044(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -140,27 +140,27 @@
buildCounterApi--;
}
-buildUnnamed1054() {
+buildUnnamed1045() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1054(core.List<api.AuditLogConfig> o) {
+checkUnnamed1045(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1055() {
+buildUnnamed1046() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1055(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'));
@@ -171,8 +171,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1054();
- o.exemptedMembers = buildUnnamed1055();
+ o.auditLogConfigs = buildUnnamed1045();
+ o.exemptedMembers = buildUnnamed1046();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -182,21 +182,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1054(o.auditLogConfigs);
- checkUnnamed1055(o.exemptedMembers);
+ checkUnnamed1045(o.auditLogConfigs);
+ checkUnnamed1046(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1056() {
+buildUnnamed1047() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1056(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'));
@@ -207,7 +207,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1056();
+ o.exemptedMembers = buildUnnamed1047();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -217,7 +217,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1056(o.exemptedMembers);
+ checkUnnamed1047(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -269,27 +269,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed1057() {
+buildUnnamed1048() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed1057(core.List<api.AuthProvider> o) {
+checkUnnamed1048(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed1058() {
+buildUnnamed1049() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed1058(core.List<api.AuthenticationRule> o) {
+checkUnnamed1049(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -300,8 +300,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed1057();
- o.rules = buildUnnamed1058();
+ o.providers = buildUnnamed1048();
+ o.rules = buildUnnamed1049();
}
buildCounterAuthentication--;
return o;
@@ -310,20 +310,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed1057(o.providers);
- checkUnnamed1058(o.rules);
+ checkUnnamed1048(o.providers);
+ checkUnnamed1049(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed1059() {
+buildUnnamed1050() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed1059(core.List<api.AuthRequirement> o) {
+checkUnnamed1050(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -336,7 +336,7 @@
if (buildCounterAuthenticationRule < 3) {
o.allowWithoutCredential = true;
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed1059();
+ o.requirements = buildUnnamed1050();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -348,7 +348,7 @@
if (buildCounterAuthenticationRule < 3) {
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkOAuthRequirements(o.oauth);
- checkUnnamed1059(o.requirements);
+ checkUnnamed1050(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
@@ -373,14 +373,14 @@
buildCounterAuthorizationConfig--;
}
-buildUnnamed1060() {
+buildUnnamed1051() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed1060(core.List<api.BackendRule> o) {
+checkUnnamed1051(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -391,7 +391,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed1060();
+ o.rules = buildUnnamed1051();
}
buildCounterBackend--;
return o;
@@ -400,7 +400,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed1060(o.rules);
+ checkUnnamed1051(o.rules);
}
buildCounterBackend--;
}
@@ -428,14 +428,14 @@
buildCounterBackendRule--;
}
-buildUnnamed1061() {
+buildUnnamed1052() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1061(core.List<core.String> o) {
+checkUnnamed1052(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -446,7 +446,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1061();
+ o.members = buildUnnamed1052();
o.role = "foo";
}
buildCounterBinding--;
@@ -456,20 +456,20 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1061(o.members);
+ checkUnnamed1052(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed1062() {
+buildUnnamed1053() {
var o = new core.List<api.ConfigChange>();
o.add(buildConfigChange());
o.add(buildConfigChange());
return o;
}
-checkUnnamed1062(core.List<api.ConfigChange> o) {
+checkUnnamed1053(core.List<api.ConfigChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigChange(o[0]);
checkConfigChange(o[1]);
@@ -480,7 +480,7 @@
var o = new api.ChangeReport();
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- o.configChanges = buildUnnamed1062();
+ o.configChanges = buildUnnamed1053();
}
buildCounterChangeReport--;
return o;
@@ -489,7 +489,7 @@
checkChangeReport(api.ChangeReport o) {
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- checkUnnamed1062(o.configChanges);
+ checkUnnamed1053(o.configChanges);
}
buildCounterChangeReport--;
}
@@ -511,14 +511,14 @@
buildCounterCloudAuditOptions--;
}
-buildUnnamed1063() {
+buildUnnamed1054() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1063(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'));
@@ -534,7 +534,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed1063();
+ o.values = buildUnnamed1054();
}
buildCounterCondition--;
return o;
@@ -548,19 +548,19 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed1063(o.values);
+ checkUnnamed1054(o.values);
}
buildCounterCondition--;
}
-buildUnnamed1064() {
+buildUnnamed1055() {
var o = new core.List<api.Advice>();
o.add(buildAdvice());
o.add(buildAdvice());
return o;
}
-checkUnnamed1064(core.List<api.Advice> o) {
+checkUnnamed1055(core.List<api.Advice> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvice(o[0]);
checkAdvice(o[1]);
@@ -571,7 +571,7 @@
var o = new api.ConfigChange();
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- o.advices = buildUnnamed1064();
+ o.advices = buildUnnamed1055();
o.changeType = "foo";
o.element = "foo";
o.newValue = "foo";
@@ -584,7 +584,7 @@
checkConfigChange(api.ConfigChange o) {
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- checkUnnamed1064(o.advices);
+ checkUnnamed1055(o.advices);
unittest.expect(o.changeType, unittest.equals('foo'));
unittest.expect(o.element, unittest.equals('foo'));
unittest.expect(o.newValue, unittest.equals('foo'));
@@ -635,14 +635,14 @@
buildCounterConfigRef--;
}
-buildUnnamed1065() {
+buildUnnamed1056() {
var o = new core.List<api.ConfigFile>();
o.add(buildConfigFile());
o.add(buildConfigFile());
return o;
}
-checkUnnamed1065(core.List<api.ConfigFile> o) {
+checkUnnamed1056(core.List<api.ConfigFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigFile(o[0]);
checkConfigFile(o[1]);
@@ -653,7 +653,7 @@
var o = new api.ConfigSource();
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- o.files = buildUnnamed1065();
+ o.files = buildUnnamed1056();
o.id = "foo";
}
buildCounterConfigSource--;
@@ -663,20 +663,20 @@
checkConfigSource(api.ConfigSource o) {
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- checkUnnamed1065(o.files);
+ checkUnnamed1056(o.files);
unittest.expect(o.id, unittest.equals('foo'));
}
buildCounterConfigSource--;
}
-buildUnnamed1066() {
+buildUnnamed1057() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed1066(core.List<api.ContextRule> o) {
+checkUnnamed1057(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -687,7 +687,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed1066();
+ o.rules = buildUnnamed1057();
}
buildCounterContext--;
return o;
@@ -696,32 +696,32 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed1066(o.rules);
+ checkUnnamed1057(o.rules);
}
buildCounterContext--;
}
-buildUnnamed1067() {
+buildUnnamed1058() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1067(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'));
}
-buildUnnamed1068() {
+buildUnnamed1059() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1068(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'));
@@ -732,8 +732,8 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.provided = buildUnnamed1067();
- o.requested = buildUnnamed1068();
+ o.provided = buildUnnamed1058();
+ o.requested = buildUnnamed1059();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -743,8 +743,8 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed1067(o.provided);
- checkUnnamed1068(o.requested);
+ checkUnnamed1058(o.provided);
+ checkUnnamed1059(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -790,27 +790,27 @@
buildCounterCounterOptions--;
}
-buildUnnamed1069() {
+buildUnnamed1060() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed1069(core.List<api.CustomErrorRule> o) {
+checkUnnamed1060(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed1070() {
+buildUnnamed1061() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1070(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'));
@@ -821,8 +821,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed1069();
- o.types = buildUnnamed1070();
+ o.rules = buildUnnamed1060();
+ o.types = buildUnnamed1061();
}
buildCounterCustomError--;
return o;
@@ -831,8 +831,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed1069(o.rules);
- checkUnnamed1070(o.types);
+ checkUnnamed1060(o.rules);
+ checkUnnamed1061(o.types);
}
buildCounterCustomError--;
}
@@ -955,27 +955,27 @@
buildCounterDisableServiceRequest--;
}
-buildUnnamed1071() {
+buildUnnamed1062() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1071(core.List<api.Page> o) {
+checkUnnamed1062(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1072() {
+buildUnnamed1063() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed1072(core.List<api.DocumentationRule> o) {
+checkUnnamed1063(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -988,8 +988,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed1071();
- o.rules = buildUnnamed1072();
+ o.pages = buildUnnamed1062();
+ o.rules = buildUnnamed1063();
o.summary = "foo";
}
buildCounterDocumentation--;
@@ -1001,8 +1001,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed1071(o.pages);
- checkUnnamed1072(o.rules);
+ checkUnnamed1062(o.pages);
+ checkUnnamed1063(o.rules);
unittest.expect(o.summary, unittest.equals('foo'));
}
buildCounterDocumentation--;
@@ -1050,40 +1050,40 @@
buildCounterEnableServiceRequest--;
}
-buildUnnamed1073() {
+buildUnnamed1064() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1073(core.List<core.String> o) {
+checkUnnamed1064(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1074() {
+buildUnnamed1065() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1074(core.List<core.String> o) {
+checkUnnamed1065(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1075() {
+buildUnnamed1066() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1075(core.List<core.String> o) {
+checkUnnamed1066(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1094,11 +1094,12 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed1073();
+ o.aliases = buildUnnamed1064();
o.allowCors = true;
- o.apis = buildUnnamed1074();
- o.features = buildUnnamed1075();
+ o.apis = buildUnnamed1065();
+ o.features = buildUnnamed1066();
o.name = "foo";
+ o.target = "foo";
}
buildCounterEndpoint--;
return o;
@@ -1107,36 +1108,37 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed1073(o.aliases);
+ checkUnnamed1064(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
- checkUnnamed1074(o.apis);
- checkUnnamed1075(o.features);
+ checkUnnamed1065(o.apis);
+ checkUnnamed1066(o.features);
unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterEndpoint--;
}
-buildUnnamed1076() {
+buildUnnamed1067() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed1076(core.List<api.EnumValue> o) {
+checkUnnamed1067(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed1077() {
+buildUnnamed1068() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1077(core.List<api.Option> o) {
+checkUnnamed1068(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1147,9 +1149,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed1076();
+ o.enumvalue = buildUnnamed1067();
o.name = "foo";
- o.options = buildUnnamed1077();
+ o.options = buildUnnamed1068();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -1160,23 +1162,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed1076(o.enumvalue);
+ checkUnnamed1067(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1077(o.options);
+ checkUnnamed1068(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed1078() {
+buildUnnamed1069() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1078(core.List<api.Option> o) {
+checkUnnamed1069(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1189,7 +1191,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed1078();
+ o.options = buildUnnamed1069();
}
buildCounterEnumValue--;
return o;
@@ -1200,7 +1202,7 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed1078(o.options);
+ checkUnnamed1069(o.options);
}
buildCounterEnumValue--;
}
@@ -1224,14 +1226,14 @@
buildCounterExperimental--;
}
-buildUnnamed1079() {
+buildUnnamed1070() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1079(core.List<api.Option> o) {
+checkUnnamed1070(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1249,7 +1251,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1079();
+ o.options = buildUnnamed1070();
o.packed = true;
o.typeUrl = "foo";
}
@@ -1267,21 +1269,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1079(o.options);
+ checkUnnamed1070(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
buildCounterField--;
}
-buildUnnamed1080() {
+buildUnnamed1071() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1080(core.List<core.String> o) {
+checkUnnamed1071(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1295,8 +1297,7 @@
o.cancelState = "foo";
o.deadline = "foo";
o.flowName = "foo";
- o.isPersisted = true;
- o.resourceNames = buildUnnamed1080();
+ o.resourceNames = buildUnnamed1071();
o.startTime = "foo";
}
buildCounterFlowOperationMetadata--;
@@ -1309,34 +1310,33 @@
unittest.expect(o.cancelState, unittest.equals('foo'));
unittest.expect(o.deadline, unittest.equals('foo'));
unittest.expect(o.flowName, unittest.equals('foo'));
- unittest.expect(o.isPersisted, unittest.isTrue);
- checkUnnamed1080(o.resourceNames);
+ checkUnnamed1071(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
}
buildCounterFlowOperationMetadata--;
}
-buildUnnamed1081() {
+buildUnnamed1072() {
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;
}
-checkUnnamed1081(core.Map<core.String, core.Object> o) {
+checkUnnamed1072(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'));
}
-buildUnnamed1082() {
+buildUnnamed1073() {
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;
}
-checkUnnamed1082(core.Map<core.String, core.Object> o) {
+checkUnnamed1073(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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["y"]) 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'));
@@ -1347,8 +1347,8 @@
var o = new api.GenerateConfigReportRequest();
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- o.newConfig = buildUnnamed1081();
- o.oldConfig = buildUnnamed1082();
+ o.newConfig = buildUnnamed1072();
+ o.oldConfig = buildUnnamed1073();
}
buildCounterGenerateConfigReportRequest--;
return o;
@@ -1357,33 +1357,33 @@
checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- checkUnnamed1081(o.newConfig);
- checkUnnamed1082(o.oldConfig);
+ checkUnnamed1072(o.newConfig);
+ checkUnnamed1073(o.oldConfig);
}
buildCounterGenerateConfigReportRequest--;
}
-buildUnnamed1083() {
+buildUnnamed1074() {
var o = new core.List<api.ChangeReport>();
o.add(buildChangeReport());
o.add(buildChangeReport());
return o;
}
-checkUnnamed1083(core.List<api.ChangeReport> o) {
+checkUnnamed1074(core.List<api.ChangeReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeReport(o[0]);
checkChangeReport(o[1]);
}
-buildUnnamed1084() {
+buildUnnamed1075() {
var o = new core.List<api.Diagnostic>();
o.add(buildDiagnostic());
o.add(buildDiagnostic());
return o;
}
-checkUnnamed1084(core.List<api.Diagnostic> o) {
+checkUnnamed1075(core.List<api.Diagnostic> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiagnostic(o[0]);
checkDiagnostic(o[1]);
@@ -1394,8 +1394,8 @@
var o = new api.GenerateConfigReportResponse();
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- o.changeReports = buildUnnamed1083();
- o.diagnostics = buildUnnamed1084();
+ o.changeReports = buildUnnamed1074();
+ o.diagnostics = buildUnnamed1075();
o.id = "foo";
o.serviceName = "foo";
}
@@ -1406,8 +1406,8 @@
checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- checkUnnamed1083(o.changeReports);
- checkUnnamed1084(o.diagnostics);
+ checkUnnamed1074(o.changeReports);
+ checkUnnamed1075(o.diagnostics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.serviceName, unittest.equals('foo'));
}
@@ -1431,14 +1431,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed1085() {
+buildUnnamed1076() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1085(core.List<api.HttpRule> o) {
+checkUnnamed1076(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1449,7 +1449,8 @@
var o = new api.Http();
buildCounterHttp++;
if (buildCounterHttp < 3) {
- o.rules = buildUnnamed1085();
+ o.fullyDecodeReservedExpansion = true;
+ o.rules = buildUnnamed1076();
}
buildCounterHttp--;
return o;
@@ -1458,19 +1459,20 @@
checkHttp(api.Http o) {
buildCounterHttp++;
if (buildCounterHttp < 3) {
- checkUnnamed1085(o.rules);
+ unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
+ checkUnnamed1076(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed1086() {
+buildUnnamed1077() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1086(core.List<api.HttpRule> o) {
+checkUnnamed1077(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1481,7 +1483,7 @@
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed1086();
+ o.additionalBindings = buildUnnamed1077();
o.body = "foo";
o.custom = buildCustomHttpPattern();
o.delete = "foo";
@@ -1501,7 +1503,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed1086(o.additionalBindings);
+ checkUnnamed1077(o.additionalBindings);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
unittest.expect(o.delete, unittest.equals('foo'));
@@ -1540,14 +1542,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed1087() {
+buildUnnamed1078() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1087(core.List<api.Operation> o) {
+checkUnnamed1078(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1559,7 +1561,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1087();
+ o.operations = buildUnnamed1078();
}
buildCounterListOperationsResponse--;
return o;
@@ -1569,19 +1571,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1087(o.operations);
+ checkUnnamed1078(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1088() {
+buildUnnamed1079() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed1088(core.List<api.Service> o) {
+checkUnnamed1079(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -1593,7 +1595,7 @@
buildCounterListServiceConfigsResponse++;
if (buildCounterListServiceConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.serviceConfigs = buildUnnamed1088();
+ o.serviceConfigs = buildUnnamed1079();
}
buildCounterListServiceConfigsResponse--;
return o;
@@ -1603,19 +1605,19 @@
buildCounterListServiceConfigsResponse++;
if (buildCounterListServiceConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1088(o.serviceConfigs);
+ checkUnnamed1079(o.serviceConfigs);
}
buildCounterListServiceConfigsResponse--;
}
-buildUnnamed1089() {
+buildUnnamed1080() {
var o = new core.List<api.Rollout>();
o.add(buildRollout());
o.add(buildRollout());
return o;
}
-checkUnnamed1089(core.List<api.Rollout> o) {
+checkUnnamed1080(core.List<api.Rollout> o) {
unittest.expect(o, unittest.hasLength(2));
checkRollout(o[0]);
checkRollout(o[1]);
@@ -1627,7 +1629,7 @@
buildCounterListServiceRolloutsResponse++;
if (buildCounterListServiceRolloutsResponse < 3) {
o.nextPageToken = "foo";
- o.rollouts = buildUnnamed1089();
+ o.rollouts = buildUnnamed1080();
}
buildCounterListServiceRolloutsResponse--;
return o;
@@ -1637,19 +1639,19 @@
buildCounterListServiceRolloutsResponse++;
if (buildCounterListServiceRolloutsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1089(o.rollouts);
+ checkUnnamed1080(o.rollouts);
}
buildCounterListServiceRolloutsResponse--;
}
-buildUnnamed1090() {
+buildUnnamed1081() {
var o = new core.List<api.ManagedService>();
o.add(buildManagedService());
o.add(buildManagedService());
return o;
}
-checkUnnamed1090(core.List<api.ManagedService> o) {
+checkUnnamed1081(core.List<api.ManagedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedService(o[0]);
checkManagedService(o[1]);
@@ -1661,7 +1663,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1090();
+ o.services = buildUnnamed1081();
}
buildCounterListServicesResponse--;
return o;
@@ -1671,7 +1673,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1090(o.services);
+ checkUnnamed1081(o.services);
}
buildCounterListServicesResponse--;
}
@@ -1699,14 +1701,14 @@
buildCounterLogConfig--;
}
-buildUnnamed1091() {
+buildUnnamed1082() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1091(core.List<api.LabelDescriptor> o) {
+checkUnnamed1082(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1719,7 +1721,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1091();
+ o.labels = buildUnnamed1082();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1731,33 +1733,33 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1091(o.labels);
+ checkUnnamed1082(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed1092() {
+buildUnnamed1083() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1092(core.List<api.LoggingDestination> o) {
+checkUnnamed1083(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed1093() {
+buildUnnamed1084() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1093(core.List<api.LoggingDestination> o) {
+checkUnnamed1084(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
@@ -1768,8 +1770,8 @@
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed1092();
- o.producerDestinations = buildUnnamed1093();
+ o.consumerDestinations = buildUnnamed1083();
+ o.producerDestinations = buildUnnamed1084();
}
buildCounterLogging--;
return o;
@@ -1778,20 +1780,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed1092(o.consumerDestinations);
- checkUnnamed1093(o.producerDestinations);
+ checkUnnamed1083(o.consumerDestinations);
+ checkUnnamed1084(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed1094() {
+buildUnnamed1085() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1094(core.List<core.String> o) {
+checkUnnamed1085(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1802,7 +1804,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed1094();
+ o.logs = buildUnnamed1085();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1812,7 +1814,7 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed1094(o.logs);
+ checkUnnamed1085(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
@@ -1881,14 +1883,14 @@
buildCounterMediaUpload--;
}
-buildUnnamed1095() {
+buildUnnamed1086() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1095(core.List<api.Option> o) {
+checkUnnamed1086(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1900,7 +1902,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed1095();
+ o.options = buildUnnamed1086();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1915,7 +1917,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1095(o.options);
+ checkUnnamed1086(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1925,14 +1927,14 @@
buildCounterMethod--;
}
-buildUnnamed1096() {
+buildUnnamed1087() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1096(core.List<api.LabelDescriptor> o) {
+checkUnnamed1087(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1945,7 +1947,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1096();
+ o.labels = buildUnnamed1087();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -1961,7 +1963,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1096(o.labels);
+ checkUnnamed1087(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1971,6 +1973,40 @@
buildCounterMetricDescriptor--;
}
+buildUnnamed1088() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed1088(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+core.int buildCounterMetricRule = 0;
+buildMetricRule() {
+ var o = new api.MetricRule();
+ buildCounterMetricRule++;
+ if (buildCounterMetricRule < 3) {
+ o.metricCosts = buildUnnamed1088();
+ o.selector = "foo";
+ }
+ buildCounterMetricRule--;
+ return o;
+}
+
+checkMetricRule(api.MetricRule o) {
+ buildCounterMetricRule++;
+ if (buildCounterMetricRule < 3) {
+ checkUnnamed1088(o.metricCosts);
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterMetricRule--;
+}
+
core.int buildCounterMixin = 0;
buildMixin() {
var o = new api.Mixin();
@@ -1992,14 +2028,14 @@
buildCounterMixin--;
}
-buildUnnamed1097() {
+buildUnnamed1089() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1097(core.List<api.LabelDescriptor> o) {
+checkUnnamed1089(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -2012,7 +2048,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1097();
+ o.labels = buildUnnamed1089();
o.name = "foo";
o.type = "foo";
}
@@ -2025,34 +2061,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1097(o.labels);
+ checkUnnamed1089(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1098() {
+buildUnnamed1090() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1098(core.List<api.MonitoringDestination> o) {
+checkUnnamed1090(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed1099() {
+buildUnnamed1091() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1099(core.List<api.MonitoringDestination> o) {
+checkUnnamed1091(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -2063,8 +2099,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed1098();
- o.producerDestinations = buildUnnamed1099();
+ o.consumerDestinations = buildUnnamed1090();
+ o.producerDestinations = buildUnnamed1091();
}
buildCounterMonitoring--;
return o;
@@ -2073,20 +2109,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed1098(o.consumerDestinations);
- checkUnnamed1099(o.producerDestinations);
+ checkUnnamed1090(o.consumerDestinations);
+ checkUnnamed1091(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed1100() {
+buildUnnamed1092() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1100(core.List<core.String> o) {
+checkUnnamed1092(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2097,7 +2133,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed1100();
+ o.metrics = buildUnnamed1092();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -2107,7 +2143,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed1100(o.metrics);
+ checkUnnamed1092(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -2132,27 +2168,27 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed1101() {
+buildUnnamed1093() {
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;
}
-checkUnnamed1101(core.Map<core.String, core.Object> o) {
+checkUnnamed1093(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed1102() {
+buildUnnamed1094() {
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;
}
-checkUnnamed1102(core.Map<core.String, core.Object> o) {
+checkUnnamed1094(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) 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["y"]) 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'));
@@ -2165,9 +2201,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1101();
+ o.metadata = buildUnnamed1093();
o.name = "foo";
- o.response = buildUnnamed1102();
+ o.response = buildUnnamed1094();
}
buildCounterOperation--;
return o;
@@ -2178,34 +2214,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1101(o.metadata);
+ checkUnnamed1093(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1102(o.response);
+ checkUnnamed1094(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1103() {
+buildUnnamed1095() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1103(core.List<core.String> o) {
+checkUnnamed1095(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1104() {
+buildUnnamed1096() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed1104(core.List<api.Step> o) {
+checkUnnamed1096(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -2217,9 +2253,9 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
o.progressPercentage = 42;
- o.resourceNames = buildUnnamed1103();
+ o.resourceNames = buildUnnamed1095();
o.startTime = "foo";
- o.steps = buildUnnamed1104();
+ o.steps = buildUnnamed1096();
}
buildCounterOperationMetadata--;
return o;
@@ -2229,21 +2265,21 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
unittest.expect(o.progressPercentage, unittest.equals(42));
- checkUnnamed1103(o.resourceNames);
+ checkUnnamed1095(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1104(o.steps);
+ checkUnnamed1096(o.steps);
}
buildCounterOperationMetadata--;
}
-buildUnnamed1105() {
+buildUnnamed1097() {
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;
}
-checkUnnamed1105(core.Map<core.String, core.Object> o) {
+checkUnnamed1097(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
@@ -2255,7 +2291,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1105();
+ o.value = buildUnnamed1097();
}
buildCounterOption--;
return o;
@@ -2265,19 +2301,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1105(o.value);
+ checkUnnamed1097(o.value);
}
buildCounterOption--;
}
-buildUnnamed1106() {
+buildUnnamed1098() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1106(core.List<api.Page> o) {
+checkUnnamed1098(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -2290,7 +2326,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed1106();
+ o.subpages = buildUnnamed1098();
}
buildCounterPage--;
return o;
@@ -2301,45 +2337,45 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1106(o.subpages);
+ checkUnnamed1098(o.subpages);
}
buildCounterPage--;
}
-buildUnnamed1107() {
+buildUnnamed1099() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1107(core.List<api.AuditConfig> o) {
+checkUnnamed1099(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1108() {
+buildUnnamed1100() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1108(core.List<api.Binding> o) {
+checkUnnamed1100(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed1109() {
+buildUnnamed1101() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1109(core.List<api.Rule> o) {
+checkUnnamed1101(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -2350,11 +2386,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1107();
- o.bindings = buildUnnamed1108();
+ o.auditConfigs = buildUnnamed1099();
+ o.bindings = buildUnnamed1100();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed1109();
+ o.rules = buildUnnamed1101();
o.version = 42;
}
buildCounterPolicy--;
@@ -2364,16 +2400,113 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1107(o.auditConfigs);
- checkUnnamed1108(o.bindings);
+ checkUnnamed1099(o.auditConfigs);
+ checkUnnamed1100(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed1109(o.rules);
+ checkUnnamed1101(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
+buildUnnamed1102() {
+ var o = new core.List<api.QuotaLimit>();
+ o.add(buildQuotaLimit());
+ o.add(buildQuotaLimit());
+ return o;
+}
+
+checkUnnamed1102(core.List<api.QuotaLimit> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkQuotaLimit(o[0]);
+ checkQuotaLimit(o[1]);
+}
+
+buildUnnamed1103() {
+ var o = new core.List<api.MetricRule>();
+ o.add(buildMetricRule());
+ o.add(buildMetricRule());
+ return o;
+}
+
+checkUnnamed1103(core.List<api.MetricRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetricRule(o[0]);
+ checkMetricRule(o[1]);
+}
+
+core.int buildCounterQuota = 0;
+buildQuota() {
+ var o = new api.Quota();
+ buildCounterQuota++;
+ if (buildCounterQuota < 3) {
+ o.limits = buildUnnamed1102();
+ o.metricRules = buildUnnamed1103();
+ }
+ buildCounterQuota--;
+ return o;
+}
+
+checkQuota(api.Quota o) {
+ buildCounterQuota++;
+ if (buildCounterQuota < 3) {
+ checkUnnamed1102(o.limits);
+ checkUnnamed1103(o.metricRules);
+ }
+ buildCounterQuota--;
+}
+
+buildUnnamed1104() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed1104(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+core.int buildCounterQuotaLimit = 0;
+buildQuotaLimit() {
+ var o = new api.QuotaLimit();
+ buildCounterQuotaLimit++;
+ if (buildCounterQuotaLimit < 3) {
+ o.defaultLimit = "foo";
+ o.description = "foo";
+ o.displayName = "foo";
+ o.duration = "foo";
+ o.freeTier = "foo";
+ o.maxLimit = "foo";
+ o.metric = "foo";
+ o.name = "foo";
+ o.unit = "foo";
+ o.values = buildUnnamed1104();
+ }
+ buildCounterQuotaLimit--;
+ return o;
+}
+
+checkQuotaLimit(api.QuotaLimit o) {
+ buildCounterQuotaLimit++;
+ if (buildCounterQuotaLimit < 3) {
+ unittest.expect(o.defaultLimit, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ unittest.expect(o.duration, unittest.equals('foo'));
+ unittest.expect(o.freeTier, unittest.equals('foo'));
+ unittest.expect(o.maxLimit, unittest.equals('foo'));
+ unittest.expect(o.metric, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.unit, unittest.equals('foo'));
+ checkUnnamed1104(o.values);
+ }
+ buildCounterQuotaLimit--;
+}
+
core.int buildCounterRollout = 0;
buildRollout() {
var o = new api.Rollout();
@@ -2405,66 +2538,66 @@
buildCounterRollout--;
}
-buildUnnamed1110() {
+buildUnnamed1105() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1110(core.List<api.Condition> o) {
+checkUnnamed1105(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1111() {
+buildUnnamed1106() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1111(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'));
}
-buildUnnamed1112() {
+buildUnnamed1107() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed1112(core.List<api.LogConfig> o) {
+checkUnnamed1107(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed1113() {
+buildUnnamed1108() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1113(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'));
}
-buildUnnamed1114() {
+buildUnnamed1109() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1114(core.List<core.String> o) {
+checkUnnamed1109(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2476,12 +2609,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed1110();
+ o.conditions = buildUnnamed1105();
o.description = "foo";
- o.in_ = buildUnnamed1111();
- o.logConfig = buildUnnamed1112();
- o.notIn = buildUnnamed1113();
- o.permissions = buildUnnamed1114();
+ o.in_ = buildUnnamed1106();
+ o.logConfig = buildUnnamed1107();
+ o.notIn = buildUnnamed1108();
+ o.permissions = buildUnnamed1109();
}
buildCounterRule--;
return o;
@@ -2491,115 +2624,115 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed1110(o.conditions);
+ checkUnnamed1105(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1111(o.in_);
- checkUnnamed1112(o.logConfig);
- checkUnnamed1113(o.notIn);
- checkUnnamed1114(o.permissions);
+ checkUnnamed1106(o.in_);
+ checkUnnamed1107(o.logConfig);
+ checkUnnamed1108(o.notIn);
+ checkUnnamed1109(o.permissions);
}
buildCounterRule--;
}
-buildUnnamed1115() {
+buildUnnamed1110() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed1115(core.List<api.Api> o) {
+checkUnnamed1110(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed1116() {
+buildUnnamed1111() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed1116(core.List<api.Endpoint> o) {
+checkUnnamed1111(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed1117() {
+buildUnnamed1112() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed1117(core.List<api.Enum> o) {
+checkUnnamed1112(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed1118() {
+buildUnnamed1113() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed1118(core.List<api.LogDescriptor> o) {
+checkUnnamed1113(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed1119() {
+buildUnnamed1114() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1119(core.List<api.MetricDescriptor> o) {
+checkUnnamed1114(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed1120() {
+buildUnnamed1115() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1120(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1115(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed1121() {
+buildUnnamed1116() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1121(core.List<api.Type> o) {
+checkUnnamed1116(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
}
-buildUnnamed1122() {
+buildUnnamed1117() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1122(core.List<api.Type> o) {
+checkUnnamed1117(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -2610,7 +2743,7 @@
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed1115();
+ o.apis = buildUnnamed1110();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.configVersion = 42;
@@ -2618,23 +2751,24 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed1116();
- o.enums = buildUnnamed1117();
+ o.endpoints = buildUnnamed1111();
+ o.enums = buildUnnamed1112();
o.experimental = buildExperimental();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed1118();
- o.metrics = buildUnnamed1119();
- o.monitoredResources = buildUnnamed1120();
+ o.logs = buildUnnamed1113();
+ o.metrics = buildUnnamed1114();
+ o.monitoredResources = buildUnnamed1115();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
+ o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed1121();
+ o.systemTypes = buildUnnamed1116();
o.title = "foo";
- o.types = buildUnnamed1122();
+ o.types = buildUnnamed1117();
o.usage = buildUsage();
o.visibility = buildVisibility();
}
@@ -2645,7 +2779,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed1115(o.apis);
+ checkUnnamed1110(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
unittest.expect(o.configVersion, unittest.equals(42));
@@ -2653,23 +2787,24 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed1116(o.endpoints);
- checkUnnamed1117(o.enums);
+ checkUnnamed1111(o.endpoints);
+ checkUnnamed1112(o.enums);
checkExperimental(o.experimental);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed1118(o.logs);
- checkUnnamed1119(o.metrics);
- checkUnnamed1120(o.monitoredResources);
+ checkUnnamed1113(o.logs);
+ checkUnnamed1114(o.metrics);
+ checkUnnamed1115(o.monitoredResources);
checkMonitoring(o.monitoring);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.producerProjectId, unittest.equals('foo'));
+ checkQuota(o.quota);
checkSourceInfo(o.sourceInfo);
checkSystemParameters(o.systemParameters);
- checkUnnamed1121(o.systemTypes);
+ checkUnnamed1116(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1122(o.types);
+ checkUnnamed1117(o.types);
checkUsage(o.usage);
checkVisibility(o.visibility);
}
@@ -2716,30 +2851,30 @@
buildCounterSourceContext--;
}
-buildUnnamed1123() {
+buildUnnamed1118() {
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;
}
-checkUnnamed1123(core.Map<core.String, core.Object> o) {
+checkUnnamed1118(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1124() {
+buildUnnamed1119() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1123());
- o.add(buildUnnamed1123());
+ o.add(buildUnnamed1118());
+ o.add(buildUnnamed1118());
return o;
}
-checkUnnamed1124(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1119(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1123(o[0]);
- checkUnnamed1123(o[1]);
+ checkUnnamed1118(o[0]);
+ checkUnnamed1118(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -2747,7 +2882,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed1124();
+ o.sourceFiles = buildUnnamed1119();
}
buildCounterSourceInfo--;
return o;
@@ -2756,35 +2891,35 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed1124(o.sourceFiles);
+ checkUnnamed1119(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed1125() {
+buildUnnamed1120() {
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;
}
-checkUnnamed1125(core.Map<core.String, core.Object> o) {
+checkUnnamed1120(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed1126() {
+buildUnnamed1121() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1125());
- o.add(buildUnnamed1125());
+ o.add(buildUnnamed1120());
+ o.add(buildUnnamed1120());
return o;
}
-checkUnnamed1126(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1121(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1125(o[0]);
- checkUnnamed1125(o[1]);
+ checkUnnamed1120(o[0]);
+ checkUnnamed1120(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2793,7 +2928,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1126();
+ o.details = buildUnnamed1121();
o.message = "foo";
}
buildCounterStatus--;
@@ -2804,7 +2939,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1126(o.details);
+ checkUnnamed1121(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2894,14 +3029,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed1127() {
+buildUnnamed1122() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed1127(core.List<api.SystemParameter> o) {
+checkUnnamed1122(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -2912,7 +3047,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed1127();
+ o.parameters = buildUnnamed1122();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -2922,20 +3057,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed1127(o.parameters);
+ checkUnnamed1122(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed1128() {
+buildUnnamed1123() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed1128(core.List<api.SystemParameterRule> o) {
+checkUnnamed1123(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -2946,7 +3081,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed1128();
+ o.rules = buildUnnamed1123();
}
buildCounterSystemParameters--;
return o;
@@ -2955,19 +3090,19 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed1128(o.rules);
+ checkUnnamed1123(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed1129() {
+buildUnnamed1124() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1129(core.List<core.String> o) {
+checkUnnamed1124(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2978,7 +3113,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1129();
+ o.permissions = buildUnnamed1124();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -2987,19 +3122,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1129(o.permissions);
+ checkUnnamed1124(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1130() {
+buildUnnamed1125() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1130(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'));
@@ -3010,7 +3145,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1130();
+ o.permissions = buildUnnamed1125();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -3019,19 +3154,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1130(o.permissions);
+ checkUnnamed1125(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed1131() {
+buildUnnamed1126() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed1131(core.Map<core.String, core.double> o) {
+checkUnnamed1126(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));
@@ -3042,7 +3177,7 @@
var o = new api.TrafficPercentStrategy();
buildCounterTrafficPercentStrategy++;
if (buildCounterTrafficPercentStrategy < 3) {
- o.percentages = buildUnnamed1131();
+ o.percentages = buildUnnamed1126();
}
buildCounterTrafficPercentStrategy--;
return o;
@@ -3051,45 +3186,45 @@
checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
buildCounterTrafficPercentStrategy++;
if (buildCounterTrafficPercentStrategy < 3) {
- checkUnnamed1131(o.percentages);
+ checkUnnamed1126(o.percentages);
}
buildCounterTrafficPercentStrategy--;
}
-buildUnnamed1132() {
+buildUnnamed1127() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1132(core.List<api.Field> o) {
+checkUnnamed1127(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1133() {
+buildUnnamed1128() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1133(core.List<core.String> o) {
+checkUnnamed1128(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1134() {
+buildUnnamed1129() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1134(core.List<api.Option> o) {
+checkUnnamed1129(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -3100,10 +3235,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1132();
+ o.fields = buildUnnamed1127();
o.name = "foo";
- o.oneofs = buildUnnamed1133();
- o.options = buildUnnamed1134();
+ o.oneofs = buildUnnamed1128();
+ o.options = buildUnnamed1129();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -3114,10 +3249,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1132(o.fields);
+ checkUnnamed1127(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1133(o.oneofs);
- checkUnnamed1134(o.options);
+ checkUnnamed1128(o.oneofs);
+ checkUnnamed1129(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -3143,27 +3278,27 @@
buildCounterUndeleteServiceResponse--;
}
-buildUnnamed1135() {
+buildUnnamed1130() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1135(core.List<core.String> o) {
+checkUnnamed1130(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1136() {
+buildUnnamed1131() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed1136(core.List<api.UsageRule> o) {
+checkUnnamed1131(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -3175,8 +3310,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed1135();
- o.rules = buildUnnamed1136();
+ o.requirements = buildUnnamed1130();
+ o.rules = buildUnnamed1131();
}
buildCounterUsage--;
return o;
@@ -3186,8 +3321,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed1135(o.requirements);
- checkUnnamed1136(o.rules);
+ checkUnnamed1130(o.requirements);
+ checkUnnamed1131(o.rules);
}
buildCounterUsage--;
}
@@ -3213,14 +3348,14 @@
buildCounterUsageRule--;
}
-buildUnnamed1137() {
+buildUnnamed1132() {
var o = new core.List<api.VisibilityRule>();
o.add(buildVisibilityRule());
o.add(buildVisibilityRule());
return o;
}
-checkUnnamed1137(core.List<api.VisibilityRule> o) {
+checkUnnamed1132(core.List<api.VisibilityRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkVisibilityRule(o[0]);
checkVisibilityRule(o[1]);
@@ -3231,7 +3366,7 @@
var o = new api.Visibility();
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- o.rules = buildUnnamed1137();
+ o.rules = buildUnnamed1132();
}
buildCounterVisibility--;
return o;
@@ -3240,7 +3375,7 @@
checkVisibility(api.Visibility o) {
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- checkUnnamed1137(o.rules);
+ checkUnnamed1132(o.rules);
}
buildCounterVisibility--;
}
@@ -3790,6 +3925,15 @@
});
+ unittest.group("obj-schema-MetricRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMetricRule();
+ var od = new api.MetricRule.fromJson(o.toJson());
+ checkMetricRule(od);
+ });
+ });
+
+
unittest.group("obj-schema-Mixin", () {
unittest.test("to-json--from-json", () {
var o = buildMixin();
@@ -3880,6 +4024,24 @@
});
+ unittest.group("obj-schema-Quota", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildQuota();
+ var od = new api.Quota.fromJson(o.toJson());
+ checkQuota(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-QuotaLimit", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildQuotaLimit();
+ var od = new api.QuotaLimit.fromJson(o.toJson());
+ checkQuotaLimit(od);
+ });
+ });
+
+
unittest.group("obj-schema-Rollout", () {
unittest.test("to-json--from-json", () {
var o = buildRollout();
@@ -4128,10 +4290,10 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.ServicemanagementApi(mock).operations;
- var arg_name = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_name = "foo";
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4158,10 +4320,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -4170,7 +4332,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(name: arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(pageSize: arg_pageSize, filter: arg_filter, name: arg_name, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -4585,10 +4747,10 @@
var mock = new HttpServerMock();
api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
- var arg_producerProjectId = "foo";
var arg_consumerId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_producerProjectId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4615,10 +4777,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["producerProjectId"].first, unittest.equals(arg_producerProjectId));
unittest.expect(queryMap["consumerId"].first, unittest.equals(arg_consumerId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["producerProjectId"].first, unittest.equals(arg_producerProjectId));
var h = {
@@ -4627,7 +4789,7 @@
var resp = convert.JSON.encode(buildListServicesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(producerProjectId: arg_producerProjectId, consumerId: arg_consumerId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListServicesResponse response) {
+ res.list(consumerId: arg_consumerId, pageToken: arg_pageToken, pageSize: arg_pageSize, producerProjectId: arg_producerProjectId).then(unittest.expectAsync(((api.ListServicesResponse response) {
checkListServicesResponse(response);
})));
});
@@ -5126,8 +5288,8 @@
var mock = new HttpServerMock();
api.ServicesRolloutsResourceApi res = new api.ServicemanagementApi(mock).services.rollouts;
var arg_serviceName = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5161,8 +5323,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -5171,7 +5333,7 @@
var resp = convert.JSON.encode(buildListServiceRolloutsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_serviceName, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) {
+ res.list(arg_serviceName, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) {
checkListServiceRolloutsResponse(response);
})));
});
diff --git a/generated/googleapis/test/serviceuser/v1_test.dart b/generated/googleapis/test/serviceuser/v1_test.dart
index e2ff43d..9ae81d4 100644
--- a/generated/googleapis/test/serviceuser/v1_test.dart
+++ b/generated/googleapis/test/serviceuser/v1_test.dart
@@ -51,40 +51,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1555() {
+buildUnnamed1552() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed1555(core.List<api.Method> o) {
+checkUnnamed1552(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed1556() {
+buildUnnamed1553() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed1556(core.List<api.Mixin> o) {
+checkUnnamed1553(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed1557() {
+buildUnnamed1554() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1557(core.List<api.Option> o) {
+checkUnnamed1554(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -95,10 +95,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed1555();
- o.mixins = buildUnnamed1556();
+ o.methods = buildUnnamed1552();
+ o.mixins = buildUnnamed1553();
o.name = "foo";
- o.options = buildUnnamed1557();
+ o.options = buildUnnamed1554();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -110,10 +110,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed1555(o.methods);
- checkUnnamed1556(o.mixins);
+ checkUnnamed1552(o.methods);
+ checkUnnamed1553(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1557(o.options);
+ checkUnnamed1554(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -167,27 +167,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed1558() {
+buildUnnamed1555() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed1558(core.List<api.AuthProvider> o) {
+checkUnnamed1555(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed1559() {
+buildUnnamed1556() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed1559(core.List<api.AuthenticationRule> o) {
+checkUnnamed1556(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -198,8 +198,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed1558();
- o.rules = buildUnnamed1559();
+ o.providers = buildUnnamed1555();
+ o.rules = buildUnnamed1556();
}
buildCounterAuthentication--;
return o;
@@ -208,20 +208,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed1558(o.providers);
- checkUnnamed1559(o.rules);
+ checkUnnamed1555(o.providers);
+ checkUnnamed1556(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed1560() {
+buildUnnamed1557() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed1560(core.List<api.AuthRequirement> o) {
+checkUnnamed1557(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -234,7 +234,7 @@
if (buildCounterAuthenticationRule < 3) {
o.allowWithoutCredential = true;
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed1560();
+ o.requirements = buildUnnamed1557();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -246,7 +246,7 @@
if (buildCounterAuthenticationRule < 3) {
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkOAuthRequirements(o.oauth);
- checkUnnamed1560(o.requirements);
+ checkUnnamed1557(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
@@ -271,14 +271,14 @@
buildCounterAuthorizationConfig--;
}
-buildUnnamed1561() {
+buildUnnamed1558() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed1561(core.List<api.BackendRule> o) {
+checkUnnamed1558(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -289,7 +289,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed1561();
+ o.rules = buildUnnamed1558();
}
buildCounterBackend--;
return o;
@@ -298,7 +298,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed1561(o.rules);
+ checkUnnamed1558(o.rules);
}
buildCounterBackend--;
}
@@ -326,14 +326,14 @@
buildCounterBackendRule--;
}
-buildUnnamed1562() {
+buildUnnamed1559() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed1562(core.List<api.ContextRule> o) {
+checkUnnamed1559(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -344,7 +344,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed1562();
+ o.rules = buildUnnamed1559();
}
buildCounterContext--;
return o;
@@ -353,32 +353,32 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed1562(o.rules);
+ checkUnnamed1559(o.rules);
}
buildCounterContext--;
}
-buildUnnamed1563() {
+buildUnnamed1560() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1563(core.List<core.String> o) {
+checkUnnamed1560(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1564() {
+buildUnnamed1561() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1564(core.List<core.String> o) {
+checkUnnamed1561(core.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,8 +389,8 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.provided = buildUnnamed1563();
- o.requested = buildUnnamed1564();
+ o.provided = buildUnnamed1560();
+ o.requested = buildUnnamed1561();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -400,8 +400,8 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed1563(o.provided);
- checkUnnamed1564(o.requested);
+ checkUnnamed1560(o.provided);
+ checkUnnamed1561(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -426,27 +426,27 @@
buildCounterControl--;
}
-buildUnnamed1565() {
+buildUnnamed1562() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed1565(core.List<api.CustomErrorRule> o) {
+checkUnnamed1562(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed1566() {
+buildUnnamed1563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1566(core.List<core.String> o) {
+checkUnnamed1563(core.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,8 +457,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed1565();
- o.types = buildUnnamed1566();
+ o.rules = buildUnnamed1562();
+ o.types = buildUnnamed1563();
}
buildCounterCustomError--;
return o;
@@ -467,8 +467,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed1565(o.rules);
- checkUnnamed1566(o.types);
+ checkUnnamed1562(o.rules);
+ checkUnnamed1563(o.types);
}
buildCounterCustomError--;
}
@@ -532,27 +532,27 @@
buildCounterDisableServiceRequest--;
}
-buildUnnamed1567() {
+buildUnnamed1564() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1567(core.List<api.Page> o) {
+checkUnnamed1564(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1568() {
+buildUnnamed1565() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed1568(core.List<api.DocumentationRule> o) {
+checkUnnamed1565(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -565,8 +565,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed1567();
- o.rules = buildUnnamed1568();
+ o.pages = buildUnnamed1564();
+ o.rules = buildUnnamed1565();
o.summary = "foo";
}
buildCounterDocumentation--;
@@ -578,8 +578,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed1567(o.pages);
- checkUnnamed1568(o.rules);
+ checkUnnamed1564(o.pages);
+ checkUnnamed1565(o.rules);
unittest.expect(o.summary, unittest.equals('foo'));
}
buildCounterDocumentation--;
@@ -625,40 +625,40 @@
buildCounterEnableServiceRequest--;
}
-buildUnnamed1569() {
+buildUnnamed1566() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1569(core.List<core.String> o) {
+checkUnnamed1566(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1570() {
+buildUnnamed1567() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1570(core.List<core.String> o) {
+checkUnnamed1567(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1571() {
+buildUnnamed1568() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1571(core.List<core.String> o) {
+checkUnnamed1568(core.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,11 +669,12 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed1569();
+ o.aliases = buildUnnamed1566();
o.allowCors = true;
- o.apis = buildUnnamed1570();
- o.features = buildUnnamed1571();
+ o.apis = buildUnnamed1567();
+ o.features = buildUnnamed1568();
o.name = "foo";
+ o.target = "foo";
}
buildCounterEndpoint--;
return o;
@@ -682,36 +683,37 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed1569(o.aliases);
+ checkUnnamed1566(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
- checkUnnamed1570(o.apis);
- checkUnnamed1571(o.features);
+ checkUnnamed1567(o.apis);
+ checkUnnamed1568(o.features);
unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterEndpoint--;
}
-buildUnnamed1572() {
+buildUnnamed1569() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed1572(core.List<api.EnumValue> o) {
+checkUnnamed1569(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed1573() {
+buildUnnamed1570() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1573(core.List<api.Option> o) {
+checkUnnamed1570(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -722,9 +724,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed1572();
+ o.enumvalue = buildUnnamed1569();
o.name = "foo";
- o.options = buildUnnamed1573();
+ o.options = buildUnnamed1570();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -735,23 +737,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed1572(o.enumvalue);
+ checkUnnamed1569(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1573(o.options);
+ checkUnnamed1570(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed1574() {
+buildUnnamed1571() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1574(core.List<api.Option> o) {
+checkUnnamed1571(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -764,7 +766,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed1574();
+ o.options = buildUnnamed1571();
}
buildCounterEnumValue--;
return o;
@@ -775,7 +777,7 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed1574(o.options);
+ checkUnnamed1571(o.options);
}
buildCounterEnumValue--;
}
@@ -799,14 +801,14 @@
buildCounterExperimental--;
}
-buildUnnamed1575() {
+buildUnnamed1572() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1575(core.List<api.Option> o) {
+checkUnnamed1572(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -824,7 +826,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1575();
+ o.options = buildUnnamed1572();
o.packed = true;
o.typeUrl = "foo";
}
@@ -842,21 +844,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1575(o.options);
+ checkUnnamed1572(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
buildCounterField--;
}
-buildUnnamed1576() {
+buildUnnamed1573() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1576(core.List<api.HttpRule> o) {
+checkUnnamed1573(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -867,7 +869,8 @@
var o = new api.Http();
buildCounterHttp++;
if (buildCounterHttp < 3) {
- o.rules = buildUnnamed1576();
+ o.fullyDecodeReservedExpansion = true;
+ o.rules = buildUnnamed1573();
}
buildCounterHttp--;
return o;
@@ -876,19 +879,20 @@
checkHttp(api.Http o) {
buildCounterHttp++;
if (buildCounterHttp < 3) {
- checkUnnamed1576(o.rules);
+ unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
+ checkUnnamed1573(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed1577() {
+buildUnnamed1574() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1577(core.List<api.HttpRule> o) {
+checkUnnamed1574(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -899,7 +903,7 @@
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed1577();
+ o.additionalBindings = buildUnnamed1574();
o.body = "foo";
o.custom = buildCustomHttpPattern();
o.delete = "foo";
@@ -919,7 +923,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed1577(o.additionalBindings);
+ checkUnnamed1574(o.additionalBindings);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
unittest.expect(o.delete, unittest.equals('foo'));
@@ -958,14 +962,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed1578() {
+buildUnnamed1575() {
var o = new core.List<api.PublishedService>();
o.add(buildPublishedService());
o.add(buildPublishedService());
return o;
}
-checkUnnamed1578(core.List<api.PublishedService> o) {
+checkUnnamed1575(core.List<api.PublishedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublishedService(o[0]);
checkPublishedService(o[1]);
@@ -977,7 +981,7 @@
buildCounterListEnabledServicesResponse++;
if (buildCounterListEnabledServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1578();
+ o.services = buildUnnamed1575();
}
buildCounterListEnabledServicesResponse--;
return o;
@@ -987,19 +991,19 @@
buildCounterListEnabledServicesResponse++;
if (buildCounterListEnabledServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1578(o.services);
+ checkUnnamed1575(o.services);
}
buildCounterListEnabledServicesResponse--;
}
-buildUnnamed1579() {
+buildUnnamed1576() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1579(core.List<api.LabelDescriptor> o) {
+checkUnnamed1576(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1012,7 +1016,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1579();
+ o.labels = buildUnnamed1576();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1024,33 +1028,33 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1579(o.labels);
+ checkUnnamed1576(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed1580() {
+buildUnnamed1577() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1580(core.List<api.LoggingDestination> o) {
+checkUnnamed1577(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed1581() {
+buildUnnamed1578() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1581(core.List<api.LoggingDestination> o) {
+checkUnnamed1578(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
@@ -1061,8 +1065,8 @@
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed1580();
- o.producerDestinations = buildUnnamed1581();
+ o.consumerDestinations = buildUnnamed1577();
+ o.producerDestinations = buildUnnamed1578();
}
buildCounterLogging--;
return o;
@@ -1071,20 +1075,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed1580(o.consumerDestinations);
- checkUnnamed1581(o.producerDestinations);
+ checkUnnamed1577(o.consumerDestinations);
+ checkUnnamed1578(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed1582() {
+buildUnnamed1579() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1582(core.List<core.String> o) {
+checkUnnamed1579(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1095,7 +1099,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed1582();
+ o.logs = buildUnnamed1579();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1105,7 +1109,7 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed1582(o.logs);
+ checkUnnamed1579(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
@@ -1153,14 +1157,14 @@
buildCounterMediaUpload--;
}
-buildUnnamed1583() {
+buildUnnamed1580() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1583(core.List<api.Option> o) {
+checkUnnamed1580(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1172,7 +1176,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed1583();
+ o.options = buildUnnamed1580();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1187,7 +1191,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1583(o.options);
+ checkUnnamed1580(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1197,14 +1201,14 @@
buildCounterMethod--;
}
-buildUnnamed1584() {
+buildUnnamed1581() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1584(core.List<api.LabelDescriptor> o) {
+checkUnnamed1581(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1217,7 +1221,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1584();
+ o.labels = buildUnnamed1581();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -1233,7 +1237,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1584(o.labels);
+ checkUnnamed1581(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1243,6 +1247,40 @@
buildCounterMetricDescriptor--;
}
+buildUnnamed1582() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed1582(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+core.int buildCounterMetricRule = 0;
+buildMetricRule() {
+ var o = new api.MetricRule();
+ buildCounterMetricRule++;
+ if (buildCounterMetricRule < 3) {
+ o.metricCosts = buildUnnamed1582();
+ o.selector = "foo";
+ }
+ buildCounterMetricRule--;
+ return o;
+}
+
+checkMetricRule(api.MetricRule o) {
+ buildCounterMetricRule++;
+ if (buildCounterMetricRule < 3) {
+ checkUnnamed1582(o.metricCosts);
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterMetricRule--;
+}
+
core.int buildCounterMixin = 0;
buildMixin() {
var o = new api.Mixin();
@@ -1264,14 +1302,14 @@
buildCounterMixin--;
}
-buildUnnamed1585() {
+buildUnnamed1583() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1585(core.List<api.LabelDescriptor> o) {
+checkUnnamed1583(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1284,7 +1322,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1585();
+ o.labels = buildUnnamed1583();
o.name = "foo";
o.type = "foo";
}
@@ -1297,34 +1335,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1585(o.labels);
+ checkUnnamed1583(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1586() {
+buildUnnamed1584() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1586(core.List<api.MonitoringDestination> o) {
+checkUnnamed1584(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed1587() {
+buildUnnamed1585() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1587(core.List<api.MonitoringDestination> o) {
+checkUnnamed1585(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -1335,8 +1373,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed1586();
- o.producerDestinations = buildUnnamed1587();
+ o.consumerDestinations = buildUnnamed1584();
+ o.producerDestinations = buildUnnamed1585();
}
buildCounterMonitoring--;
return o;
@@ -1345,20 +1383,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed1586(o.consumerDestinations);
- checkUnnamed1587(o.producerDestinations);
+ checkUnnamed1584(o.consumerDestinations);
+ checkUnnamed1585(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed1588() {
+buildUnnamed1586() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1588(core.List<core.String> o) {
+checkUnnamed1586(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1369,7 +1407,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed1588();
+ o.metrics = buildUnnamed1586();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -1379,7 +1417,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed1588(o.metrics);
+ checkUnnamed1586(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -1404,27 +1442,27 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed1589() {
+buildUnnamed1587() {
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;
}
-checkUnnamed1589(core.Map<core.String, core.Object> o) {
+checkUnnamed1587(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'));
}
-buildUnnamed1590() {
+buildUnnamed1588() {
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;
}
-checkUnnamed1590(core.Map<core.String, core.Object> o) {
+checkUnnamed1588(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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["y"]) 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'));
@@ -1437,9 +1475,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1589();
+ o.metadata = buildUnnamed1587();
o.name = "foo";
- o.response = buildUnnamed1590();
+ o.response = buildUnnamed1588();
}
buildCounterOperation--;
return o;
@@ -1450,34 +1488,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1589(o.metadata);
+ checkUnnamed1587(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1590(o.response);
+ checkUnnamed1588(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1591() {
+buildUnnamed1589() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1591(core.List<core.String> o) {
+checkUnnamed1589(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1592() {
+buildUnnamed1590() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed1592(core.List<api.Step> o) {
+checkUnnamed1590(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -1489,9 +1527,9 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
o.progressPercentage = 42;
- o.resourceNames = buildUnnamed1591();
+ o.resourceNames = buildUnnamed1589();
o.startTime = "foo";
- o.steps = buildUnnamed1592();
+ o.steps = buildUnnamed1590();
}
buildCounterOperationMetadata--;
return o;
@@ -1501,21 +1539,21 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
unittest.expect(o.progressPercentage, unittest.equals(42));
- checkUnnamed1591(o.resourceNames);
+ checkUnnamed1589(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1592(o.steps);
+ checkUnnamed1590(o.steps);
}
buildCounterOperationMetadata--;
}
-buildUnnamed1593() {
+buildUnnamed1591() {
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;
}
-checkUnnamed1593(core.Map<core.String, core.Object> o) {
+checkUnnamed1591(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) 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["y"]) 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'));
@@ -1527,7 +1565,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1593();
+ o.value = buildUnnamed1591();
}
buildCounterOption--;
return o;
@@ -1537,19 +1575,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1593(o.value);
+ checkUnnamed1591(o.value);
}
buildCounterOption--;
}
-buildUnnamed1594() {
+buildUnnamed1592() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1594(core.List<api.Page> o) {
+checkUnnamed1592(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1562,7 +1600,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed1594();
+ o.subpages = buildUnnamed1592();
}
buildCounterPage--;
return o;
@@ -1573,7 +1611,7 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1594(o.subpages);
+ checkUnnamed1592(o.subpages);
}
buildCounterPage--;
}
@@ -1599,14 +1637,111 @@
buildCounterPublishedService--;
}
+buildUnnamed1593() {
+ var o = new core.List<api.QuotaLimit>();
+ o.add(buildQuotaLimit());
+ o.add(buildQuotaLimit());
+ return o;
+}
+
+checkUnnamed1593(core.List<api.QuotaLimit> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkQuotaLimit(o[0]);
+ checkQuotaLimit(o[1]);
+}
+
+buildUnnamed1594() {
+ var o = new core.List<api.MetricRule>();
+ o.add(buildMetricRule());
+ o.add(buildMetricRule());
+ return o;
+}
+
+checkUnnamed1594(core.List<api.MetricRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetricRule(o[0]);
+ checkMetricRule(o[1]);
+}
+
+core.int buildCounterQuota = 0;
+buildQuota() {
+ var o = new api.Quota();
+ buildCounterQuota++;
+ if (buildCounterQuota < 3) {
+ o.limits = buildUnnamed1593();
+ o.metricRules = buildUnnamed1594();
+ }
+ buildCounterQuota--;
+ return o;
+}
+
+checkQuota(api.Quota o) {
+ buildCounterQuota++;
+ if (buildCounterQuota < 3) {
+ checkUnnamed1593(o.limits);
+ checkUnnamed1594(o.metricRules);
+ }
+ buildCounterQuota--;
+}
+
buildUnnamed1595() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed1595(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+core.int buildCounterQuotaLimit = 0;
+buildQuotaLimit() {
+ var o = new api.QuotaLimit();
+ buildCounterQuotaLimit++;
+ if (buildCounterQuotaLimit < 3) {
+ o.defaultLimit = "foo";
+ o.description = "foo";
+ o.displayName = "foo";
+ o.duration = "foo";
+ o.freeTier = "foo";
+ o.maxLimit = "foo";
+ o.metric = "foo";
+ o.name = "foo";
+ o.unit = "foo";
+ o.values = buildUnnamed1595();
+ }
+ buildCounterQuotaLimit--;
+ return o;
+}
+
+checkQuotaLimit(api.QuotaLimit o) {
+ buildCounterQuotaLimit++;
+ if (buildCounterQuotaLimit < 3) {
+ unittest.expect(o.defaultLimit, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ unittest.expect(o.duration, unittest.equals('foo'));
+ unittest.expect(o.freeTier, unittest.equals('foo'));
+ unittest.expect(o.maxLimit, unittest.equals('foo'));
+ unittest.expect(o.metric, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.unit, unittest.equals('foo'));
+ checkUnnamed1595(o.values);
+ }
+ buildCounterQuotaLimit--;
+}
+
+buildUnnamed1596() {
var o = new core.List<api.PublishedService>();
o.add(buildPublishedService());
o.add(buildPublishedService());
return o;
}
-checkUnnamed1595(core.List<api.PublishedService> o) {
+checkUnnamed1596(core.List<api.PublishedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublishedService(o[0]);
checkPublishedService(o[1]);
@@ -1618,7 +1753,7 @@
buildCounterSearchServicesResponse++;
if (buildCounterSearchServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1595();
+ o.services = buildUnnamed1596();
}
buildCounterSearchServicesResponse--;
return o;
@@ -1628,102 +1763,89 @@
buildCounterSearchServicesResponse++;
if (buildCounterSearchServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1595(o.services);
+ checkUnnamed1596(o.services);
}
buildCounterSearchServicesResponse--;
}
-buildUnnamed1596() {
+buildUnnamed1597() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed1596(core.List<api.Api> o) {
+checkUnnamed1597(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed1597() {
+buildUnnamed1598() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed1597(core.List<api.Endpoint> o) {
+checkUnnamed1598(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed1598() {
+buildUnnamed1599() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed1598(core.List<api.Enum> o) {
+checkUnnamed1599(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed1599() {
+buildUnnamed1600() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed1599(core.List<api.LogDescriptor> o) {
+checkUnnamed1600(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed1600() {
+buildUnnamed1601() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1600(core.List<api.MetricDescriptor> o) {
+checkUnnamed1601(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed1601() {
+buildUnnamed1602() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1601(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1602(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed1602() {
- var o = new core.List<api.Type>();
- o.add(buildType());
- o.add(buildType());
- return o;
-}
-
-checkUnnamed1602(core.List<api.Type> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkType(o[0]);
- checkType(o[1]);
-}
-
buildUnnamed1603() {
var o = new core.List<api.Type>();
o.add(buildType());
@@ -1737,12 +1859,25 @@
checkType(o[1]);
}
+buildUnnamed1604() {
+ var o = new core.List<api.Type>();
+ o.add(buildType());
+ o.add(buildType());
+ return o;
+}
+
+checkUnnamed1604(core.List<api.Type> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkType(o[0]);
+ checkType(o[1]);
+}
+
core.int buildCounterService = 0;
buildService() {
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed1596();
+ o.apis = buildUnnamed1597();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.configVersion = 42;
@@ -1750,23 +1885,24 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed1597();
- o.enums = buildUnnamed1598();
+ o.endpoints = buildUnnamed1598();
+ o.enums = buildUnnamed1599();
o.experimental = buildExperimental();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed1599();
- o.metrics = buildUnnamed1600();
- o.monitoredResources = buildUnnamed1601();
+ o.logs = buildUnnamed1600();
+ o.metrics = buildUnnamed1601();
+ o.monitoredResources = buildUnnamed1602();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
+ o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed1602();
+ o.systemTypes = buildUnnamed1603();
o.title = "foo";
- o.types = buildUnnamed1603();
+ o.types = buildUnnamed1604();
o.usage = buildUsage();
o.visibility = buildVisibility();
}
@@ -1777,7 +1913,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed1596(o.apis);
+ checkUnnamed1597(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
unittest.expect(o.configVersion, unittest.equals(42));
@@ -1785,23 +1921,24 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed1597(o.endpoints);
- checkUnnamed1598(o.enums);
+ checkUnnamed1598(o.endpoints);
+ checkUnnamed1599(o.enums);
checkExperimental(o.experimental);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed1599(o.logs);
- checkUnnamed1600(o.metrics);
- checkUnnamed1601(o.monitoredResources);
+ checkUnnamed1600(o.logs);
+ checkUnnamed1601(o.metrics);
+ checkUnnamed1602(o.monitoredResources);
checkMonitoring(o.monitoring);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.producerProjectId, unittest.equals('foo'));
+ checkQuota(o.quota);
checkSourceInfo(o.sourceInfo);
checkSystemParameters(o.systemParameters);
- checkUnnamed1602(o.systemTypes);
+ checkUnnamed1603(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1603(o.types);
+ checkUnnamed1604(o.types);
checkUsage(o.usage);
checkVisibility(o.visibility);
}
@@ -1827,30 +1964,30 @@
buildCounterSourceContext--;
}
-buildUnnamed1604() {
+buildUnnamed1605() {
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;
}
-checkUnnamed1604(core.Map<core.String, core.Object> o) {
+checkUnnamed1605(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed1605() {
+buildUnnamed1606() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1604());
- o.add(buildUnnamed1604());
+ o.add(buildUnnamed1605());
+ o.add(buildUnnamed1605());
return o;
}
-checkUnnamed1605(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1606(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1604(o[0]);
- checkUnnamed1604(o[1]);
+ checkUnnamed1605(o[0]);
+ checkUnnamed1605(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -1858,7 +1995,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed1605();
+ o.sourceFiles = buildUnnamed1606();
}
buildCounterSourceInfo--;
return o;
@@ -1867,35 +2004,35 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed1605(o.sourceFiles);
+ checkUnnamed1606(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed1606() {
+buildUnnamed1607() {
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;
}
-checkUnnamed1606(core.Map<core.String, core.Object> o) {
+checkUnnamed1607(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
}
-buildUnnamed1607() {
+buildUnnamed1608() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1606());
- o.add(buildUnnamed1606());
+ o.add(buildUnnamed1607());
+ o.add(buildUnnamed1607());
return o;
}
-checkUnnamed1607(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1608(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1606(o[0]);
- checkUnnamed1606(o[1]);
+ checkUnnamed1607(o[0]);
+ checkUnnamed1607(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1904,7 +2041,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1607();
+ o.details = buildUnnamed1608();
o.message = "foo";
}
buildCounterStatus--;
@@ -1915,7 +2052,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1607(o.details);
+ checkUnnamed1608(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1965,14 +2102,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed1608() {
+buildUnnamed1609() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed1608(core.List<api.SystemParameter> o) {
+checkUnnamed1609(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -1983,7 +2120,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed1608();
+ o.parameters = buildUnnamed1609();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -1993,20 +2130,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed1608(o.parameters);
+ checkUnnamed1609(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed1609() {
+buildUnnamed1610() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed1609(core.List<api.SystemParameterRule> o) {
+checkUnnamed1610(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -2017,7 +2154,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed1609();
+ o.rules = buildUnnamed1610();
}
buildCounterSystemParameters--;
return o;
@@ -2026,45 +2163,45 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed1609(o.rules);
+ checkUnnamed1610(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed1610() {
+buildUnnamed1611() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1610(core.List<api.Field> o) {
+checkUnnamed1611(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1611() {
+buildUnnamed1612() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1611(core.List<core.String> o) {
+checkUnnamed1612(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1612() {
+buildUnnamed1613() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1612(core.List<api.Option> o) {
+checkUnnamed1613(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -2075,10 +2212,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1610();
+ o.fields = buildUnnamed1611();
o.name = "foo";
- o.oneofs = buildUnnamed1611();
- o.options = buildUnnamed1612();
+ o.oneofs = buildUnnamed1612();
+ o.options = buildUnnamed1613();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -2089,37 +2226,37 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1610(o.fields);
+ checkUnnamed1611(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1611(o.oneofs);
- checkUnnamed1612(o.options);
+ checkUnnamed1612(o.oneofs);
+ checkUnnamed1613(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterType--;
}
-buildUnnamed1613() {
+buildUnnamed1614() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1613(core.List<core.String> o) {
+checkUnnamed1614(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1614() {
+buildUnnamed1615() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed1614(core.List<api.UsageRule> o) {
+checkUnnamed1615(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -2131,8 +2268,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed1613();
- o.rules = buildUnnamed1614();
+ o.requirements = buildUnnamed1614();
+ o.rules = buildUnnamed1615();
}
buildCounterUsage--;
return o;
@@ -2142,8 +2279,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed1613(o.requirements);
- checkUnnamed1614(o.rules);
+ checkUnnamed1614(o.requirements);
+ checkUnnamed1615(o.rules);
}
buildCounterUsage--;
}
@@ -2169,14 +2306,14 @@
buildCounterUsageRule--;
}
-buildUnnamed1615() {
+buildUnnamed1616() {
var o = new core.List<api.VisibilityRule>();
o.add(buildVisibilityRule());
o.add(buildVisibilityRule());
return o;
}
-checkUnnamed1615(core.List<api.VisibilityRule> o) {
+checkUnnamed1616(core.List<api.VisibilityRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkVisibilityRule(o[0]);
checkVisibilityRule(o[1]);
@@ -2187,7 +2324,7 @@
var o = new api.Visibility();
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- o.rules = buildUnnamed1615();
+ o.rules = buildUnnamed1616();
}
buildCounterVisibility--;
return o;
@@ -2196,7 +2333,7 @@
checkVisibility(api.Visibility o) {
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- checkUnnamed1615(o.rules);
+ checkUnnamed1616(o.rules);
}
buildCounterVisibility--;
}
@@ -2530,6 +2667,15 @@
});
+ unittest.group("obj-schema-MetricRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMetricRule();
+ var od = new api.MetricRule.fromJson(o.toJson());
+ checkMetricRule(od);
+ });
+ });
+
+
unittest.group("obj-schema-Mixin", () {
unittest.test("to-json--from-json", () {
var o = buildMixin();
@@ -2620,6 +2766,24 @@
});
+ unittest.group("obj-schema-Quota", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildQuota();
+ var od = new api.Quota.fromJson(o.toJson());
+ checkQuota(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-QuotaLimit", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildQuotaLimit();
+ var od = new api.QuotaLimit.fromJson(o.toJson());
+ checkQuotaLimit(od);
+ });
+ });
+
+
unittest.group("obj-schema-SearchServicesResponse", () {
unittest.test("to-json--from-json", () {
var o = buildSearchServicesResponse();
diff --git a/generated/googleapis/test/sheets/v4_test.dart b/generated/googleapis/test/sheets/v4_test.dart
index 3e88172..8c6e22d 100644
--- a/generated/googleapis/test/sheets/v4_test.dart
+++ b/generated/googleapis/test/sheets/v4_test.dart
@@ -300,14 +300,14 @@
buildCounterAddSheetResponse--;
}
-buildUnnamed379() {
+buildUnnamed365() {
var o = new core.List<api.RowData>();
o.add(buildRowData());
o.add(buildRowData());
return o;
}
-checkUnnamed379(core.List<api.RowData> o) {
+checkUnnamed365(core.List<api.RowData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowData(o[0]);
checkRowData(o[1]);
@@ -319,7 +319,7 @@
buildCounterAppendCellsRequest++;
if (buildCounterAppendCellsRequest < 3) {
o.fields = "foo";
- o.rows = buildUnnamed379();
+ o.rows = buildUnnamed365();
o.sheetId = 42;
}
buildCounterAppendCellsRequest--;
@@ -330,7 +330,7 @@
buildCounterAppendCellsRequest++;
if (buildCounterAppendCellsRequest < 3) {
unittest.expect(o.fields, unittest.equals('foo'));
- checkUnnamed379(o.rows);
+ checkUnnamed365(o.rows);
unittest.expect(o.sheetId, unittest.equals(42));
}
buildCounterAppendCellsRequest--;
@@ -539,40 +539,40 @@
buildCounterBasicChartSeries--;
}
-buildUnnamed380() {
+buildUnnamed366() {
var o = new core.List<api.BasicChartAxis>();
o.add(buildBasicChartAxis());
o.add(buildBasicChartAxis());
return o;
}
-checkUnnamed380(core.List<api.BasicChartAxis> o) {
+checkUnnamed366(core.List<api.BasicChartAxis> o) {
unittest.expect(o, unittest.hasLength(2));
checkBasicChartAxis(o[0]);
checkBasicChartAxis(o[1]);
}
-buildUnnamed381() {
+buildUnnamed367() {
var o = new core.List<api.BasicChartDomain>();
o.add(buildBasicChartDomain());
o.add(buildBasicChartDomain());
return o;
}
-checkUnnamed381(core.List<api.BasicChartDomain> o) {
+checkUnnamed367(core.List<api.BasicChartDomain> o) {
unittest.expect(o, unittest.hasLength(2));
checkBasicChartDomain(o[0]);
checkBasicChartDomain(o[1]);
}
-buildUnnamed382() {
+buildUnnamed368() {
var o = new core.List<api.BasicChartSeries>();
o.add(buildBasicChartSeries());
o.add(buildBasicChartSeries());
return o;
}
-checkUnnamed382(core.List<api.BasicChartSeries> o) {
+checkUnnamed368(core.List<api.BasicChartSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkBasicChartSeries(o[0]);
checkBasicChartSeries(o[1]);
@@ -583,12 +583,12 @@
var o = new api.BasicChartSpec();
buildCounterBasicChartSpec++;
if (buildCounterBasicChartSpec < 3) {
- o.axis = buildUnnamed380();
+ o.axis = buildUnnamed366();
o.chartType = "foo";
- o.domains = buildUnnamed381();
+ o.domains = buildUnnamed367();
o.headerCount = 42;
o.legendPosition = "foo";
- o.series = buildUnnamed382();
+ o.series = buildUnnamed368();
}
buildCounterBasicChartSpec--;
return o;
@@ -597,37 +597,37 @@
checkBasicChartSpec(api.BasicChartSpec o) {
buildCounterBasicChartSpec++;
if (buildCounterBasicChartSpec < 3) {
- checkUnnamed380(o.axis);
+ checkUnnamed366(o.axis);
unittest.expect(o.chartType, unittest.equals('foo'));
- checkUnnamed381(o.domains);
+ checkUnnamed367(o.domains);
unittest.expect(o.headerCount, unittest.equals(42));
unittest.expect(o.legendPosition, unittest.equals('foo'));
- checkUnnamed382(o.series);
+ checkUnnamed368(o.series);
}
buildCounterBasicChartSpec--;
}
-buildUnnamed383() {
+buildUnnamed369() {
var o = new core.Map<core.String, api.FilterCriteria>();
o["x"] = buildFilterCriteria();
o["y"] = buildFilterCriteria();
return o;
}
-checkUnnamed383(core.Map<core.String, api.FilterCriteria> o) {
+checkUnnamed369(core.Map<core.String, api.FilterCriteria> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterCriteria(o["x"]);
checkFilterCriteria(o["y"]);
}
-buildUnnamed384() {
+buildUnnamed370() {
var o = new core.List<api.SortSpec>();
o.add(buildSortSpec());
o.add(buildSortSpec());
return o;
}
-checkUnnamed384(core.List<api.SortSpec> o) {
+checkUnnamed370(core.List<api.SortSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortSpec(o[0]);
checkSortSpec(o[1]);
@@ -638,9 +638,9 @@
var o = new api.BasicFilter();
buildCounterBasicFilter++;
if (buildCounterBasicFilter < 3) {
- o.criteria = buildUnnamed383();
+ o.criteria = buildUnnamed369();
o.range = buildGridRange();
- o.sortSpecs = buildUnnamed384();
+ o.sortSpecs = buildUnnamed370();
}
buildCounterBasicFilter--;
return o;
@@ -649,21 +649,21 @@
checkBasicFilter(api.BasicFilter o) {
buildCounterBasicFilter++;
if (buildCounterBasicFilter < 3) {
- checkUnnamed383(o.criteria);
+ checkUnnamed369(o.criteria);
checkGridRange(o.range);
- checkUnnamed384(o.sortSpecs);
+ checkUnnamed370(o.sortSpecs);
}
buildCounterBasicFilter--;
}
-buildUnnamed385() {
+buildUnnamed371() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed385(core.List<core.String> o) {
+checkUnnamed371(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -674,7 +674,7 @@
var o = new api.BatchClearValuesRequest();
buildCounterBatchClearValuesRequest++;
if (buildCounterBatchClearValuesRequest < 3) {
- o.ranges = buildUnnamed385();
+ o.ranges = buildUnnamed371();
}
buildCounterBatchClearValuesRequest--;
return o;
@@ -683,19 +683,19 @@
checkBatchClearValuesRequest(api.BatchClearValuesRequest o) {
buildCounterBatchClearValuesRequest++;
if (buildCounterBatchClearValuesRequest < 3) {
- checkUnnamed385(o.ranges);
+ checkUnnamed371(o.ranges);
}
buildCounterBatchClearValuesRequest--;
}
-buildUnnamed386() {
+buildUnnamed372() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed386(core.List<core.String> o) {
+checkUnnamed372(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -706,7 +706,7 @@
var o = new api.BatchClearValuesResponse();
buildCounterBatchClearValuesResponse++;
if (buildCounterBatchClearValuesResponse < 3) {
- o.clearedRanges = buildUnnamed386();
+ o.clearedRanges = buildUnnamed372();
o.spreadsheetId = "foo";
}
buildCounterBatchClearValuesResponse--;
@@ -716,20 +716,20 @@
checkBatchClearValuesResponse(api.BatchClearValuesResponse o) {
buildCounterBatchClearValuesResponse++;
if (buildCounterBatchClearValuesResponse < 3) {
- checkUnnamed386(o.clearedRanges);
+ checkUnnamed372(o.clearedRanges);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
}
buildCounterBatchClearValuesResponse--;
}
-buildUnnamed387() {
+buildUnnamed373() {
var o = new core.List<api.ValueRange>();
o.add(buildValueRange());
o.add(buildValueRange());
return o;
}
-checkUnnamed387(core.List<api.ValueRange> o) {
+checkUnnamed373(core.List<api.ValueRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueRange(o[0]);
checkValueRange(o[1]);
@@ -741,7 +741,7 @@
buildCounterBatchGetValuesResponse++;
if (buildCounterBatchGetValuesResponse < 3) {
o.spreadsheetId = "foo";
- o.valueRanges = buildUnnamed387();
+ o.valueRanges = buildUnnamed373();
}
buildCounterBatchGetValuesResponse--;
return o;
@@ -751,32 +751,32 @@
buildCounterBatchGetValuesResponse++;
if (buildCounterBatchGetValuesResponse < 3) {
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
- checkUnnamed387(o.valueRanges);
+ checkUnnamed373(o.valueRanges);
}
buildCounterBatchGetValuesResponse--;
}
-buildUnnamed388() {
+buildUnnamed374() {
var o = new core.List<api.Request>();
o.add(buildRequest());
o.add(buildRequest());
return o;
}
-checkUnnamed388(core.List<api.Request> o) {
+checkUnnamed374(core.List<api.Request> o) {
unittest.expect(o, unittest.hasLength(2));
checkRequest(o[0]);
checkRequest(o[1]);
}
-buildUnnamed389() {
+buildUnnamed375() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed389(core.List<core.String> o) {
+checkUnnamed375(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -788,9 +788,9 @@
buildCounterBatchUpdateSpreadsheetRequest++;
if (buildCounterBatchUpdateSpreadsheetRequest < 3) {
o.includeSpreadsheetInResponse = true;
- o.requests = buildUnnamed388();
+ o.requests = buildUnnamed374();
o.responseIncludeGridData = true;
- o.responseRanges = buildUnnamed389();
+ o.responseRanges = buildUnnamed375();
}
buildCounterBatchUpdateSpreadsheetRequest--;
return o;
@@ -800,21 +800,21 @@
buildCounterBatchUpdateSpreadsheetRequest++;
if (buildCounterBatchUpdateSpreadsheetRequest < 3) {
unittest.expect(o.includeSpreadsheetInResponse, unittest.isTrue);
- checkUnnamed388(o.requests);
+ checkUnnamed374(o.requests);
unittest.expect(o.responseIncludeGridData, unittest.isTrue);
- checkUnnamed389(o.responseRanges);
+ checkUnnamed375(o.responseRanges);
}
buildCounterBatchUpdateSpreadsheetRequest--;
}
-buildUnnamed390() {
+buildUnnamed376() {
var o = new core.List<api.Response>();
o.add(buildResponse());
o.add(buildResponse());
return o;
}
-checkUnnamed390(core.List<api.Response> o) {
+checkUnnamed376(core.List<api.Response> o) {
unittest.expect(o, unittest.hasLength(2));
checkResponse(o[0]);
checkResponse(o[1]);
@@ -825,7 +825,7 @@
var o = new api.BatchUpdateSpreadsheetResponse();
buildCounterBatchUpdateSpreadsheetResponse++;
if (buildCounterBatchUpdateSpreadsheetResponse < 3) {
- o.replies = buildUnnamed390();
+ o.replies = buildUnnamed376();
o.spreadsheetId = "foo";
o.updatedSpreadsheet = buildSpreadsheet();
}
@@ -836,21 +836,21 @@
checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) {
buildCounterBatchUpdateSpreadsheetResponse++;
if (buildCounterBatchUpdateSpreadsheetResponse < 3) {
- checkUnnamed390(o.replies);
+ checkUnnamed376(o.replies);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
checkSpreadsheet(o.updatedSpreadsheet);
}
buildCounterBatchUpdateSpreadsheetResponse--;
}
-buildUnnamed391() {
+buildUnnamed377() {
var o = new core.List<api.ValueRange>();
o.add(buildValueRange());
o.add(buildValueRange());
return o;
}
-checkUnnamed391(core.List<api.ValueRange> o) {
+checkUnnamed377(core.List<api.ValueRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueRange(o[0]);
checkValueRange(o[1]);
@@ -861,7 +861,7 @@
var o = new api.BatchUpdateValuesRequest();
buildCounterBatchUpdateValuesRequest++;
if (buildCounterBatchUpdateValuesRequest < 3) {
- o.data = buildUnnamed391();
+ o.data = buildUnnamed377();
o.includeValuesInResponse = true;
o.responseDateTimeRenderOption = "foo";
o.responseValueRenderOption = "foo";
@@ -874,7 +874,7 @@
checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) {
buildCounterBatchUpdateValuesRequest++;
if (buildCounterBatchUpdateValuesRequest < 3) {
- checkUnnamed391(o.data);
+ checkUnnamed377(o.data);
unittest.expect(o.includeValuesInResponse, unittest.isTrue);
unittest.expect(o.responseDateTimeRenderOption, unittest.equals('foo'));
unittest.expect(o.responseValueRenderOption, unittest.equals('foo'));
@@ -883,14 +883,14 @@
buildCounterBatchUpdateValuesRequest--;
}
-buildUnnamed392() {
+buildUnnamed378() {
var o = new core.List<api.UpdateValuesResponse>();
o.add(buildUpdateValuesResponse());
o.add(buildUpdateValuesResponse());
return o;
}
-checkUnnamed392(core.List<api.UpdateValuesResponse> o) {
+checkUnnamed378(core.List<api.UpdateValuesResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpdateValuesResponse(o[0]);
checkUpdateValuesResponse(o[1]);
@@ -901,7 +901,7 @@
var o = new api.BatchUpdateValuesResponse();
buildCounterBatchUpdateValuesResponse++;
if (buildCounterBatchUpdateValuesResponse < 3) {
- o.responses = buildUnnamed392();
+ o.responses = buildUnnamed378();
o.spreadsheetId = "foo";
o.totalUpdatedCells = 42;
o.totalUpdatedColumns = 42;
@@ -915,7 +915,7 @@
checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) {
buildCounterBatchUpdateValuesResponse++;
if (buildCounterBatchUpdateValuesResponse < 3) {
- checkUnnamed392(o.responses);
+ checkUnnamed378(o.responses);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
unittest.expect(o.totalUpdatedCells, unittest.equals(42));
unittest.expect(o.totalUpdatedColumns, unittest.equals(42));
@@ -925,14 +925,14 @@
buildCounterBatchUpdateValuesResponse--;
}
-buildUnnamed393() {
+buildUnnamed379() {
var o = new core.List<api.ConditionValue>();
o.add(buildConditionValue());
o.add(buildConditionValue());
return o;
}
-checkUnnamed393(core.List<api.ConditionValue> o) {
+checkUnnamed379(core.List<api.ConditionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkConditionValue(o[0]);
checkConditionValue(o[1]);
@@ -944,7 +944,7 @@
buildCounterBooleanCondition++;
if (buildCounterBooleanCondition < 3) {
o.type = "foo";
- o.values = buildUnnamed393();
+ o.values = buildUnnamed379();
}
buildCounterBooleanCondition--;
return o;
@@ -954,7 +954,7 @@
buildCounterBooleanCondition++;
if (buildCounterBooleanCondition < 3) {
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed393(o.values);
+ checkUnnamed379(o.values);
}
buildCounterBooleanCondition--;
}
@@ -1028,14 +1028,14 @@
buildCounterBorders--;
}
-buildUnnamed394() {
+buildUnnamed380() {
var o = new core.List<api.TextFormatRun>();
o.add(buildTextFormatRun());
o.add(buildTextFormatRun());
return o;
}
-checkUnnamed394(core.List<api.TextFormatRun> o) {
+checkUnnamed380(core.List<api.TextFormatRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkTextFormatRun(o[0]);
checkTextFormatRun(o[1]);
@@ -1053,7 +1053,7 @@
o.hyperlink = "foo";
o.note = "foo";
o.pivotTable = buildPivotTable();
- o.textFormatRuns = buildUnnamed394();
+ o.textFormatRuns = buildUnnamed380();
o.userEnteredFormat = buildCellFormat();
o.userEnteredValue = buildExtendedValue();
}
@@ -1071,7 +1071,7 @@
unittest.expect(o.hyperlink, unittest.equals('foo'));
unittest.expect(o.note, unittest.equals('foo'));
checkPivotTable(o.pivotTable);
- checkUnnamed394(o.textFormatRuns);
+ checkUnnamed380(o.textFormatRuns);
checkCellFormat(o.userEnteredFormat);
checkExtendedValue(o.userEnteredValue);
}
@@ -1136,14 +1136,14 @@
buildCounterChartData--;
}
-buildUnnamed395() {
+buildUnnamed381() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed395(core.List<api.GridRange> o) {
+checkUnnamed381(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
@@ -1154,7 +1154,7 @@
var o = new api.ChartSourceRange();
buildCounterChartSourceRange++;
if (buildCounterChartSourceRange < 3) {
- o.sources = buildUnnamed395();
+ o.sources = buildUnnamed381();
}
buildCounterChartSourceRange--;
return o;
@@ -1163,7 +1163,7 @@
checkChartSourceRange(api.ChartSourceRange o) {
buildCounterChartSourceRange++;
if (buildCounterChartSourceRange < 3) {
- checkUnnamed395(o.sources);
+ checkUnnamed381(o.sources);
}
buildCounterChartSourceRange--;
}
@@ -1296,14 +1296,14 @@
buildCounterConditionValue--;
}
-buildUnnamed396() {
+buildUnnamed382() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed396(core.List<api.GridRange> o) {
+checkUnnamed382(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
@@ -1316,7 +1316,7 @@
if (buildCounterConditionalFormatRule < 3) {
o.booleanRule = buildBooleanRule();
o.gradientRule = buildGradientRule();
- o.ranges = buildUnnamed396();
+ o.ranges = buildUnnamed382();
}
buildCounterConditionalFormatRule--;
return o;
@@ -1327,7 +1327,7 @@
if (buildCounterConditionalFormatRule < 3) {
checkBooleanRule(o.booleanRule);
checkGradientRule(o.gradientRule);
- checkUnnamed396(o.ranges);
+ checkUnnamed382(o.ranges);
}
buildCounterConditionalFormatRule--;
}
@@ -1748,27 +1748,27 @@
buildCounterDuplicateSheetResponse--;
}
-buildUnnamed397() {
+buildUnnamed383() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed397(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'));
}
-buildUnnamed398() {
+buildUnnamed384() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed398(core.List<core.String> o) {
+checkUnnamed384(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1780,8 +1780,8 @@
buildCounterEditors++;
if (buildCounterEditors < 3) {
o.domainUsersCanEdit = true;
- o.groups = buildUnnamed397();
- o.users = buildUnnamed398();
+ o.groups = buildUnnamed383();
+ o.users = buildUnnamed384();
}
buildCounterEditors--;
return o;
@@ -1791,8 +1791,8 @@
buildCounterEditors++;
if (buildCounterEditors < 3) {
unittest.expect(o.domainUsersCanEdit, unittest.isTrue);
- checkUnnamed397(o.groups);
- checkUnnamed398(o.users);
+ checkUnnamed383(o.groups);
+ checkUnnamed384(o.users);
}
buildCounterEditors--;
}
@@ -1891,14 +1891,14 @@
buildCounterExtendedValue--;
}
-buildUnnamed399() {
+buildUnnamed385() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed399(core.List<core.String> o) {
+checkUnnamed385(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1910,7 +1910,7 @@
buildCounterFilterCriteria++;
if (buildCounterFilterCriteria < 3) {
o.condition = buildBooleanCondition();
- o.hiddenValues = buildUnnamed399();
+ o.hiddenValues = buildUnnamed385();
}
buildCounterFilterCriteria--;
return o;
@@ -1920,32 +1920,32 @@
buildCounterFilterCriteria++;
if (buildCounterFilterCriteria < 3) {
checkBooleanCondition(o.condition);
- checkUnnamed399(o.hiddenValues);
+ checkUnnamed385(o.hiddenValues);
}
buildCounterFilterCriteria--;
}
-buildUnnamed400() {
+buildUnnamed386() {
var o = new core.Map<core.String, api.FilterCriteria>();
o["x"] = buildFilterCriteria();
o["y"] = buildFilterCriteria();
return o;
}
-checkUnnamed400(core.Map<core.String, api.FilterCriteria> o) {
+checkUnnamed386(core.Map<core.String, api.FilterCriteria> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterCriteria(o["x"]);
checkFilterCriteria(o["y"]);
}
-buildUnnamed401() {
+buildUnnamed387() {
var o = new core.List<api.SortSpec>();
o.add(buildSortSpec());
o.add(buildSortSpec());
return o;
}
-checkUnnamed401(core.List<api.SortSpec> o) {
+checkUnnamed387(core.List<api.SortSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortSpec(o[0]);
checkSortSpec(o[1]);
@@ -1956,11 +1956,11 @@
var o = new api.FilterView();
buildCounterFilterView++;
if (buildCounterFilterView < 3) {
- o.criteria = buildUnnamed400();
+ o.criteria = buildUnnamed386();
o.filterViewId = 42;
o.namedRangeId = "foo";
o.range = buildGridRange();
- o.sortSpecs = buildUnnamed401();
+ o.sortSpecs = buildUnnamed387();
o.title = "foo";
}
buildCounterFilterView--;
@@ -1970,11 +1970,11 @@
checkFilterView(api.FilterView o) {
buildCounterFilterView++;
if (buildCounterFilterView < 3) {
- checkUnnamed400(o.criteria);
+ checkUnnamed386(o.criteria);
unittest.expect(o.filterViewId, unittest.equals(42));
unittest.expect(o.namedRangeId, unittest.equals('foo'));
checkGridRange(o.range);
- checkUnnamed401(o.sortSpecs);
+ checkUnnamed387(o.sortSpecs);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterFilterView--;
@@ -2088,40 +2088,40 @@
buildCounterGridCoordinate--;
}
-buildUnnamed402() {
+buildUnnamed388() {
var o = new core.List<api.DimensionProperties>();
o.add(buildDimensionProperties());
o.add(buildDimensionProperties());
return o;
}
-checkUnnamed402(core.List<api.DimensionProperties> o) {
+checkUnnamed388(core.List<api.DimensionProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionProperties(o[0]);
checkDimensionProperties(o[1]);
}
-buildUnnamed403() {
+buildUnnamed389() {
var o = new core.List<api.RowData>();
o.add(buildRowData());
o.add(buildRowData());
return o;
}
-checkUnnamed403(core.List<api.RowData> o) {
+checkUnnamed389(core.List<api.RowData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowData(o[0]);
checkRowData(o[1]);
}
-buildUnnamed404() {
+buildUnnamed390() {
var o = new core.List<api.DimensionProperties>();
o.add(buildDimensionProperties());
o.add(buildDimensionProperties());
return o;
}
-checkUnnamed404(core.List<api.DimensionProperties> o) {
+checkUnnamed390(core.List<api.DimensionProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionProperties(o[0]);
checkDimensionProperties(o[1]);
@@ -2132,9 +2132,9 @@
var o = new api.GridData();
buildCounterGridData++;
if (buildCounterGridData < 3) {
- o.columnMetadata = buildUnnamed402();
- o.rowData = buildUnnamed403();
- o.rowMetadata = buildUnnamed404();
+ o.columnMetadata = buildUnnamed388();
+ o.rowData = buildUnnamed389();
+ o.rowMetadata = buildUnnamed390();
o.startColumn = 42;
o.startRow = 42;
}
@@ -2145,9 +2145,9 @@
checkGridData(api.GridData o) {
buildCounterGridData++;
if (buildCounterGridData < 3) {
- checkUnnamed402(o.columnMetadata);
- checkUnnamed403(o.rowData);
- checkUnnamed404(o.rowMetadata);
+ checkUnnamed388(o.columnMetadata);
+ checkUnnamed389(o.rowData);
+ checkUnnamed390(o.rowMetadata);
unittest.expect(o.startColumn, unittest.equals(42));
unittest.expect(o.startRow, unittest.equals(42));
}
@@ -2486,14 +2486,14 @@
buildCounterPieChartSpec--;
}
-buildUnnamed405() {
+buildUnnamed391() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed405(core.List<core.String> o) {
+checkUnnamed391(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2504,7 +2504,7 @@
var o = new api.PivotFilterCriteria();
buildCounterPivotFilterCriteria++;
if (buildCounterPivotFilterCriteria < 3) {
- o.visibleValues = buildUnnamed405();
+ o.visibleValues = buildUnnamed391();
}
buildCounterPivotFilterCriteria--;
return o;
@@ -2513,19 +2513,19 @@
checkPivotFilterCriteria(api.PivotFilterCriteria o) {
buildCounterPivotFilterCriteria++;
if (buildCounterPivotFilterCriteria < 3) {
- checkUnnamed405(o.visibleValues);
+ checkUnnamed391(o.visibleValues);
}
buildCounterPivotFilterCriteria--;
}
-buildUnnamed406() {
+buildUnnamed392() {
var o = new core.List<api.PivotGroupValueMetadata>();
o.add(buildPivotGroupValueMetadata());
o.add(buildPivotGroupValueMetadata());
return o;
}
-checkUnnamed406(core.List<api.PivotGroupValueMetadata> o) {
+checkUnnamed392(core.List<api.PivotGroupValueMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotGroupValueMetadata(o[0]);
checkPivotGroupValueMetadata(o[1]);
@@ -2540,7 +2540,7 @@
o.sortOrder = "foo";
o.sourceColumnOffset = 42;
o.valueBucket = buildPivotGroupSortValueBucket();
- o.valueMetadata = buildUnnamed406();
+ o.valueMetadata = buildUnnamed392();
}
buildCounterPivotGroup--;
return o;
@@ -2553,19 +2553,19 @@
unittest.expect(o.sortOrder, unittest.equals('foo'));
unittest.expect(o.sourceColumnOffset, unittest.equals(42));
checkPivotGroupSortValueBucket(o.valueBucket);
- checkUnnamed406(o.valueMetadata);
+ checkUnnamed392(o.valueMetadata);
}
buildCounterPivotGroup--;
}
-buildUnnamed407() {
+buildUnnamed393() {
var o = new core.List<api.ExtendedValue>();
o.add(buildExtendedValue());
o.add(buildExtendedValue());
return o;
}
-checkUnnamed407(core.List<api.ExtendedValue> o) {
+checkUnnamed393(core.List<api.ExtendedValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedValue(o[0]);
checkExtendedValue(o[1]);
@@ -2576,7 +2576,7 @@
var o = new api.PivotGroupSortValueBucket();
buildCounterPivotGroupSortValueBucket++;
if (buildCounterPivotGroupSortValueBucket < 3) {
- o.buckets = buildUnnamed407();
+ o.buckets = buildUnnamed393();
o.valuesIndex = 42;
}
buildCounterPivotGroupSortValueBucket--;
@@ -2586,7 +2586,7 @@
checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) {
buildCounterPivotGroupSortValueBucket++;
if (buildCounterPivotGroupSortValueBucket < 3) {
- checkUnnamed407(o.buckets);
+ checkUnnamed393(o.buckets);
unittest.expect(o.valuesIndex, unittest.equals(42));
}
buildCounterPivotGroupSortValueBucket--;
@@ -2613,53 +2613,53 @@
buildCounterPivotGroupValueMetadata--;
}
-buildUnnamed408() {
+buildUnnamed394() {
var o = new core.List<api.PivotGroup>();
o.add(buildPivotGroup());
o.add(buildPivotGroup());
return o;
}
-checkUnnamed408(core.List<api.PivotGroup> o) {
+checkUnnamed394(core.List<api.PivotGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotGroup(o[0]);
checkPivotGroup(o[1]);
}
-buildUnnamed409() {
+buildUnnamed395() {
var o = new core.Map<core.String, api.PivotFilterCriteria>();
o["x"] = buildPivotFilterCriteria();
o["y"] = buildPivotFilterCriteria();
return o;
}
-checkUnnamed409(core.Map<core.String, api.PivotFilterCriteria> o) {
+checkUnnamed395(core.Map<core.String, api.PivotFilterCriteria> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotFilterCriteria(o["x"]);
checkPivotFilterCriteria(o["y"]);
}
-buildUnnamed410() {
+buildUnnamed396() {
var o = new core.List<api.PivotGroup>();
o.add(buildPivotGroup());
o.add(buildPivotGroup());
return o;
}
-checkUnnamed410(core.List<api.PivotGroup> o) {
+checkUnnamed396(core.List<api.PivotGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotGroup(o[0]);
checkPivotGroup(o[1]);
}
-buildUnnamed411() {
+buildUnnamed397() {
var o = new core.List<api.PivotValue>();
o.add(buildPivotValue());
o.add(buildPivotValue());
return o;
}
-checkUnnamed411(core.List<api.PivotValue> o) {
+checkUnnamed397(core.List<api.PivotValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotValue(o[0]);
checkPivotValue(o[1]);
@@ -2670,12 +2670,12 @@
var o = new api.PivotTable();
buildCounterPivotTable++;
if (buildCounterPivotTable < 3) {
- o.columns = buildUnnamed408();
- o.criteria = buildUnnamed409();
- o.rows = buildUnnamed410();
+ o.columns = buildUnnamed394();
+ o.criteria = buildUnnamed395();
+ o.rows = buildUnnamed396();
o.source = buildGridRange();
o.valueLayout = "foo";
- o.values = buildUnnamed411();
+ o.values = buildUnnamed397();
}
buildCounterPivotTable--;
return o;
@@ -2684,12 +2684,12 @@
checkPivotTable(api.PivotTable o) {
buildCounterPivotTable++;
if (buildCounterPivotTable < 3) {
- checkUnnamed408(o.columns);
- checkUnnamed409(o.criteria);
- checkUnnamed410(o.rows);
+ checkUnnamed394(o.columns);
+ checkUnnamed395(o.criteria);
+ checkUnnamed396(o.rows);
checkGridRange(o.source);
unittest.expect(o.valueLayout, unittest.equals('foo'));
- checkUnnamed411(o.values);
+ checkUnnamed397(o.values);
}
buildCounterPivotTable--;
}
@@ -2719,14 +2719,14 @@
buildCounterPivotValue--;
}
-buildUnnamed412() {
+buildUnnamed398() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed412(core.List<api.GridRange> o) {
+checkUnnamed398(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
@@ -2743,7 +2743,7 @@
o.protectedRangeId = 42;
o.range = buildGridRange();
o.requestingUserCanEdit = true;
- o.unprotectedRanges = buildUnnamed412();
+ o.unprotectedRanges = buildUnnamed398();
o.warningOnly = true;
}
buildCounterProtectedRange--;
@@ -2759,7 +2759,7 @@
unittest.expect(o.protectedRangeId, unittest.equals(42));
checkGridRange(o.range);
unittest.expect(o.requestingUserCanEdit, unittest.isTrue);
- checkUnnamed412(o.unprotectedRanges);
+ checkUnnamed398(o.unprotectedRanges);
unittest.expect(o.warningOnly, unittest.isTrue);
}
buildCounterProtectedRange--;
@@ -2944,14 +2944,14 @@
buildCounterResponse--;
}
-buildUnnamed413() {
+buildUnnamed399() {
var o = new core.List<api.CellData>();
o.add(buildCellData());
o.add(buildCellData());
return o;
}
-checkUnnamed413(core.List<api.CellData> o) {
+checkUnnamed399(core.List<api.CellData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCellData(o[0]);
checkCellData(o[1]);
@@ -2962,7 +2962,7 @@
var o = new api.RowData();
buildCounterRowData++;
if (buildCounterRowData < 3) {
- o.values = buildUnnamed413();
+ o.values = buildUnnamed399();
}
buildCounterRowData--;
return o;
@@ -2971,7 +2971,7 @@
checkRowData(api.RowData o) {
buildCounterRowData++;
if (buildCounterRowData < 3) {
- checkUnnamed413(o.values);
+ checkUnnamed399(o.values);
}
buildCounterRowData--;
}
@@ -3016,92 +3016,92 @@
buildCounterSetDataValidationRequest--;
}
-buildUnnamed414() {
+buildUnnamed400() {
var o = new core.List<api.BandedRange>();
o.add(buildBandedRange());
o.add(buildBandedRange());
return o;
}
-checkUnnamed414(core.List<api.BandedRange> o) {
+checkUnnamed400(core.List<api.BandedRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkBandedRange(o[0]);
checkBandedRange(o[1]);
}
-buildUnnamed415() {
+buildUnnamed401() {
var o = new core.List<api.EmbeddedChart>();
o.add(buildEmbeddedChart());
o.add(buildEmbeddedChart());
return o;
}
-checkUnnamed415(core.List<api.EmbeddedChart> o) {
+checkUnnamed401(core.List<api.EmbeddedChart> o) {
unittest.expect(o, unittest.hasLength(2));
checkEmbeddedChart(o[0]);
checkEmbeddedChart(o[1]);
}
-buildUnnamed416() {
+buildUnnamed402() {
var o = new core.List<api.ConditionalFormatRule>();
o.add(buildConditionalFormatRule());
o.add(buildConditionalFormatRule());
return o;
}
-checkUnnamed416(core.List<api.ConditionalFormatRule> o) {
+checkUnnamed402(core.List<api.ConditionalFormatRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkConditionalFormatRule(o[0]);
checkConditionalFormatRule(o[1]);
}
-buildUnnamed417() {
+buildUnnamed403() {
var o = new core.List<api.GridData>();
o.add(buildGridData());
o.add(buildGridData());
return o;
}
-checkUnnamed417(core.List<api.GridData> o) {
+checkUnnamed403(core.List<api.GridData> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridData(o[0]);
checkGridData(o[1]);
}
-buildUnnamed418() {
+buildUnnamed404() {
var o = new core.List<api.FilterView>();
o.add(buildFilterView());
o.add(buildFilterView());
return o;
}
-checkUnnamed418(core.List<api.FilterView> o) {
+checkUnnamed404(core.List<api.FilterView> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterView(o[0]);
checkFilterView(o[1]);
}
-buildUnnamed419() {
+buildUnnamed405() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed419(core.List<api.GridRange> o) {
+checkUnnamed405(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
}
-buildUnnamed420() {
+buildUnnamed406() {
var o = new core.List<api.ProtectedRange>();
o.add(buildProtectedRange());
o.add(buildProtectedRange());
return o;
}
-checkUnnamed420(core.List<api.ProtectedRange> o) {
+checkUnnamed406(core.List<api.ProtectedRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkProtectedRange(o[0]);
checkProtectedRange(o[1]);
@@ -3112,15 +3112,15 @@
var o = new api.Sheet();
buildCounterSheet++;
if (buildCounterSheet < 3) {
- o.bandedRanges = buildUnnamed414();
+ o.bandedRanges = buildUnnamed400();
o.basicFilter = buildBasicFilter();
- o.charts = buildUnnamed415();
- o.conditionalFormats = buildUnnamed416();
- o.data = buildUnnamed417();
- o.filterViews = buildUnnamed418();
- o.merges = buildUnnamed419();
+ o.charts = buildUnnamed401();
+ o.conditionalFormats = buildUnnamed402();
+ o.data = buildUnnamed403();
+ o.filterViews = buildUnnamed404();
+ o.merges = buildUnnamed405();
o.properties = buildSheetProperties();
- o.protectedRanges = buildUnnamed420();
+ o.protectedRanges = buildUnnamed406();
}
buildCounterSheet--;
return o;
@@ -3129,15 +3129,15 @@
checkSheet(api.Sheet o) {
buildCounterSheet++;
if (buildCounterSheet < 3) {
- checkUnnamed414(o.bandedRanges);
+ checkUnnamed400(o.bandedRanges);
checkBasicFilter(o.basicFilter);
- checkUnnamed415(o.charts);
- checkUnnamed416(o.conditionalFormats);
- checkUnnamed417(o.data);
- checkUnnamed418(o.filterViews);
- checkUnnamed419(o.merges);
+ checkUnnamed401(o.charts);
+ checkUnnamed402(o.conditionalFormats);
+ checkUnnamed403(o.data);
+ checkUnnamed404(o.filterViews);
+ checkUnnamed405(o.merges);
checkSheetProperties(o.properties);
- checkUnnamed420(o.protectedRanges);
+ checkUnnamed406(o.protectedRanges);
}
buildCounterSheet--;
}
@@ -3175,14 +3175,14 @@
buildCounterSheetProperties--;
}
-buildUnnamed421() {
+buildUnnamed407() {
var o = new core.List<api.SortSpec>();
o.add(buildSortSpec());
o.add(buildSortSpec());
return o;
}
-checkUnnamed421(core.List<api.SortSpec> o) {
+checkUnnamed407(core.List<api.SortSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortSpec(o[0]);
checkSortSpec(o[1]);
@@ -3194,7 +3194,7 @@
buildCounterSortRangeRequest++;
if (buildCounterSortRangeRequest < 3) {
o.range = buildGridRange();
- o.sortSpecs = buildUnnamed421();
+ o.sortSpecs = buildUnnamed407();
}
buildCounterSortRangeRequest--;
return o;
@@ -3204,7 +3204,7 @@
buildCounterSortRangeRequest++;
if (buildCounterSortRangeRequest < 3) {
checkGridRange(o.range);
- checkUnnamed421(o.sortSpecs);
+ checkUnnamed407(o.sortSpecs);
}
buildCounterSortRangeRequest--;
}
@@ -3253,27 +3253,27 @@
buildCounterSourceAndDestination--;
}
-buildUnnamed422() {
+buildUnnamed408() {
var o = new core.List<api.NamedRange>();
o.add(buildNamedRange());
o.add(buildNamedRange());
return o;
}
-checkUnnamed422(core.List<api.NamedRange> o) {
+checkUnnamed408(core.List<api.NamedRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedRange(o[0]);
checkNamedRange(o[1]);
}
-buildUnnamed423() {
+buildUnnamed409() {
var o = new core.List<api.Sheet>();
o.add(buildSheet());
o.add(buildSheet());
return o;
}
-checkUnnamed423(core.List<api.Sheet> o) {
+checkUnnamed409(core.List<api.Sheet> o) {
unittest.expect(o, unittest.hasLength(2));
checkSheet(o[0]);
checkSheet(o[1]);
@@ -3284,9 +3284,9 @@
var o = new api.Spreadsheet();
buildCounterSpreadsheet++;
if (buildCounterSpreadsheet < 3) {
- o.namedRanges = buildUnnamed422();
+ o.namedRanges = buildUnnamed408();
o.properties = buildSpreadsheetProperties();
- o.sheets = buildUnnamed423();
+ o.sheets = buildUnnamed409();
o.spreadsheetId = "foo";
o.spreadsheetUrl = "foo";
}
@@ -3297,9 +3297,9 @@
checkSpreadsheet(api.Spreadsheet o) {
buildCounterSpreadsheet++;
if (buildCounterSpreadsheet < 3) {
- checkUnnamed422(o.namedRanges);
+ checkUnnamed408(o.namedRanges);
checkSpreadsheetProperties(o.properties);
- checkUnnamed423(o.sheets);
+ checkUnnamed409(o.sheets);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
unittest.expect(o.spreadsheetUrl, unittest.equals('foo'));
}
@@ -3502,14 +3502,14 @@
buildCounterUpdateBordersRequest--;
}
-buildUnnamed424() {
+buildUnnamed410() {
var o = new core.List<api.RowData>();
o.add(buildRowData());
o.add(buildRowData());
return o;
}
-checkUnnamed424(core.List<api.RowData> o) {
+checkUnnamed410(core.List<api.RowData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowData(o[0]);
checkRowData(o[1]);
@@ -3522,7 +3522,7 @@
if (buildCounterUpdateCellsRequest < 3) {
o.fields = "foo";
o.range = buildGridRange();
- o.rows = buildUnnamed424();
+ o.rows = buildUnnamed410();
o.start = buildGridCoordinate();
}
buildCounterUpdateCellsRequest--;
@@ -3534,7 +3534,7 @@
if (buildCounterUpdateCellsRequest < 3) {
unittest.expect(o.fields, unittest.equals('foo'));
checkGridRange(o.range);
- checkUnnamed424(o.rows);
+ checkUnnamed410(o.rows);
checkGridCoordinate(o.start);
}
buildCounterUpdateCellsRequest--;
@@ -3810,30 +3810,30 @@
buildCounterUpdateValuesResponse--;
}
-buildUnnamed425() {
+buildUnnamed411() {
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;
}
-checkUnnamed425(core.List<core.Object> o) {
+checkUnnamed411(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'));
}
-buildUnnamed426() {
+buildUnnamed412() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed425());
- o.add(buildUnnamed425());
+ o.add(buildUnnamed411());
+ o.add(buildUnnamed411());
return o;
}
-checkUnnamed426(core.List<core.List<core.Object>> o) {
+checkUnnamed412(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed425(o[0]);
- checkUnnamed425(o[1]);
+ checkUnnamed411(o[0]);
+ checkUnnamed411(o[1]);
}
core.int buildCounterValueRange = 0;
@@ -3843,7 +3843,7 @@
if (buildCounterValueRange < 3) {
o.majorDimension = "foo";
o.range = "foo";
- o.values = buildUnnamed426();
+ o.values = buildUnnamed412();
}
buildCounterValueRange--;
return o;
@@ -3854,32 +3854,32 @@
if (buildCounterValueRange < 3) {
unittest.expect(o.majorDimension, unittest.equals('foo'));
unittest.expect(o.range, unittest.equals('foo'));
- checkUnnamed426(o.values);
+ checkUnnamed412(o.values);
}
buildCounterValueRange--;
}
-buildUnnamed427() {
+buildUnnamed413() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed427(core.List<core.String> o) {
+checkUnnamed413(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed428() {
+buildUnnamed414() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed428(core.List<core.String> o) {
+checkUnnamed414(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5201,7 +5201,7 @@
var mock = new HttpServerMock();
api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets;
var arg_spreadsheetId = "foo";
- var arg_ranges = buildUnnamed427();
+ var arg_ranges = buildUnnamed413();
var arg_includeGridData = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5325,11 +5325,11 @@
var arg_request = buildValueRange();
var arg_spreadsheetId = "foo";
var arg_range = "foo";
+ var arg_responseDateTimeRenderOption = "foo";
+ var arg_includeValuesInResponse = true;
var arg_responseValueRenderOption = "foo";
var arg_insertDataOption = "foo";
var arg_valueInputOption = "foo";
- var arg_responseDateTimeRenderOption = "foo";
- var arg_includeValuesInResponse = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.ValueRange.fromJson(json);
checkValueRange(obj);
@@ -5373,11 +5373,11 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["responseDateTimeRenderOption"].first, unittest.equals(arg_responseDateTimeRenderOption));
+ unittest.expect(queryMap["includeValuesInResponse"].first, unittest.equals("$arg_includeValuesInResponse"));
unittest.expect(queryMap["responseValueRenderOption"].first, unittest.equals(arg_responseValueRenderOption));
unittest.expect(queryMap["insertDataOption"].first, unittest.equals(arg_insertDataOption));
unittest.expect(queryMap["valueInputOption"].first, unittest.equals(arg_valueInputOption));
- unittest.expect(queryMap["responseDateTimeRenderOption"].first, unittest.equals(arg_responseDateTimeRenderOption));
- unittest.expect(queryMap["includeValuesInResponse"].first, unittest.equals("$arg_includeValuesInResponse"));
var h = {
@@ -5386,7 +5386,7 @@
var resp = convert.JSON.encode(buildAppendValuesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.append(arg_request, arg_spreadsheetId, arg_range, responseValueRenderOption: arg_responseValueRenderOption, insertDataOption: arg_insertDataOption, valueInputOption: arg_valueInputOption, responseDateTimeRenderOption: arg_responseDateTimeRenderOption, includeValuesInResponse: arg_includeValuesInResponse).then(unittest.expectAsync(((api.AppendValuesResponse response) {
+ res.append(arg_request, arg_spreadsheetId, arg_range, responseDateTimeRenderOption: arg_responseDateTimeRenderOption, includeValuesInResponse: arg_includeValuesInResponse, responseValueRenderOption: arg_responseValueRenderOption, insertDataOption: arg_insertDataOption, valueInputOption: arg_valueInputOption).then(unittest.expectAsync(((api.AppendValuesResponse response) {
checkAppendValuesResponse(response);
})));
});
@@ -5453,7 +5453,7 @@
var arg_spreadsheetId = "foo";
var arg_valueRenderOption = "foo";
var arg_dateTimeRenderOption = "foo";
- var arg_ranges = buildUnnamed428();
+ var arg_ranges = buildUnnamed414();
var arg_majorDimension = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/siteverification/v1_test.dart b/generated/googleapis/test/siteverification/v1_test.dart
index 60630c6..046ca61 100644
--- a/generated/googleapis/test/siteverification/v1_test.dart
+++ b/generated/googleapis/test/siteverification/v1_test.dart
@@ -114,14 +114,14 @@
buildCounterSiteVerificationWebResourceGettokenResponse--;
}
-buildUnnamed111() {
+buildUnnamed109() {
var o = new core.List<api.SiteVerificationWebResourceResource>();
o.add(buildSiteVerificationWebResourceResource());
o.add(buildSiteVerificationWebResourceResource());
return o;
}
-checkUnnamed111(core.List<api.SiteVerificationWebResourceResource> o) {
+checkUnnamed109(core.List<api.SiteVerificationWebResourceResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteVerificationWebResourceResource(o[0]);
checkSiteVerificationWebResourceResource(o[1]);
@@ -132,7 +132,7 @@
var o = new api.SiteVerificationWebResourceListResponse();
buildCounterSiteVerificationWebResourceListResponse++;
if (buildCounterSiteVerificationWebResourceListResponse < 3) {
- o.items = buildUnnamed111();
+ o.items = buildUnnamed109();
}
buildCounterSiteVerificationWebResourceListResponse--;
return o;
@@ -141,19 +141,19 @@
checkSiteVerificationWebResourceListResponse(api.SiteVerificationWebResourceListResponse o) {
buildCounterSiteVerificationWebResourceListResponse++;
if (buildCounterSiteVerificationWebResourceListResponse < 3) {
- checkUnnamed111(o.items);
+ checkUnnamed109(o.items);
}
buildCounterSiteVerificationWebResourceListResponse--;
}
-buildUnnamed112() {
+buildUnnamed110() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed112(core.List<core.String> 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'));
@@ -186,7 +186,7 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
o.id = "foo";
- o.owners = buildUnnamed112();
+ o.owners = buildUnnamed110();
o.site = buildSiteVerificationWebResourceResourceSite();
}
buildCounterSiteVerificationWebResourceResource--;
@@ -197,7 +197,7 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed112(o.owners);
+ checkUnnamed110(o.owners);
checkSiteVerificationWebResourceResourceSite(o.site);
}
buildCounterSiteVerificationWebResourceResource--;
diff --git a/generated/googleapis/test/slides/v1_test.dart b/generated/googleapis/test/slides/v1_test.dart
index 77bf524..7ea65c1 100644
--- a/generated/googleapis/test/slides/v1_test.dart
+++ b/generated/googleapis/test/slides/v1_test.dart
@@ -105,14 +105,14 @@
buildCounterAutoText--;
}
-buildUnnamed1514() {
+buildUnnamed1511() {
var o = new core.List<api.Request>();
o.add(buildRequest());
o.add(buildRequest());
return o;
}
-checkUnnamed1514(core.List<api.Request> o) {
+checkUnnamed1511(core.List<api.Request> o) {
unittest.expect(o, unittest.hasLength(2));
checkRequest(o[0]);
checkRequest(o[1]);
@@ -123,7 +123,7 @@
var o = new api.BatchUpdatePresentationRequest();
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- o.requests = buildUnnamed1514();
+ o.requests = buildUnnamed1511();
o.writeControl = buildWriteControl();
}
buildCounterBatchUpdatePresentationRequest--;
@@ -133,20 +133,20 @@
checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) {
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- checkUnnamed1514(o.requests);
+ checkUnnamed1511(o.requests);
checkWriteControl(o.writeControl);
}
buildCounterBatchUpdatePresentationRequest--;
}
-buildUnnamed1515() {
+buildUnnamed1512() {
var o = new core.List<api.Response>();
o.add(buildResponse());
o.add(buildResponse());
return o;
}
-checkUnnamed1515(core.List<api.Response> o) {
+checkUnnamed1512(core.List<api.Response> o) {
unittest.expect(o, unittest.hasLength(2));
checkResponse(o[0]);
checkResponse(o[1]);
@@ -158,7 +158,7 @@
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
o.presentationId = "foo";
- o.replies = buildUnnamed1515();
+ o.replies = buildUnnamed1512();
}
buildCounterBatchUpdatePresentationResponse--;
return o;
@@ -168,7 +168,7 @@
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
unittest.expect(o.presentationId, unittest.equals('foo'));
- checkUnnamed1515(o.replies);
+ checkUnnamed1512(o.replies);
}
buildCounterBatchUpdatePresentationResponse--;
}
@@ -198,14 +198,14 @@
buildCounterBullet--;
}
-buildUnnamed1516() {
+buildUnnamed1513() {
var o = new core.List<api.ThemeColorPair>();
o.add(buildThemeColorPair());
o.add(buildThemeColorPair());
return o;
}
-checkUnnamed1516(core.List<api.ThemeColorPair> o) {
+checkUnnamed1513(core.List<api.ThemeColorPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkThemeColorPair(o[0]);
checkThemeColorPair(o[1]);
@@ -216,7 +216,7 @@
var o = new api.ColorScheme();
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- o.colors = buildUnnamed1516();
+ o.colors = buildUnnamed1513();
}
buildCounterColorScheme--;
return o;
@@ -225,7 +225,7 @@
checkColorScheme(api.ColorScheme o) {
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- checkUnnamed1516(o.colors);
+ checkUnnamed1513(o.colors);
}
buildCounterColorScheme--;
}
@@ -450,14 +450,14 @@
buildCounterCreateSheetsChartResponse--;
}
-buildUnnamed1517() {
+buildUnnamed1514() {
var o = new core.List<api.LayoutPlaceholderIdMapping>();
o.add(buildLayoutPlaceholderIdMapping());
o.add(buildLayoutPlaceholderIdMapping());
return o;
}
-checkUnnamed1517(core.List<api.LayoutPlaceholderIdMapping> o) {
+checkUnnamed1514(core.List<api.LayoutPlaceholderIdMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkLayoutPlaceholderIdMapping(o[0]);
checkLayoutPlaceholderIdMapping(o[1]);
@@ -470,7 +470,7 @@
if (buildCounterCreateSlideRequest < 3) {
o.insertionIndex = 42;
o.objectId = "foo";
- o.placeholderIdMappings = buildUnnamed1517();
+ o.placeholderIdMappings = buildUnnamed1514();
o.slideLayoutReference = buildLayoutReference();
}
buildCounterCreateSlideRequest--;
@@ -482,7 +482,7 @@
if (buildCounterCreateSlideRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1517(o.placeholderIdMappings);
+ checkUnnamed1514(o.placeholderIdMappings);
checkLayoutReference(o.slideLayoutReference);
}
buildCounterCreateSlideRequest--;
@@ -750,14 +750,14 @@
buildCounterDimension--;
}
-buildUnnamed1518() {
+buildUnnamed1515() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1518(core.Map<core.String, core.String> o) {
+checkUnnamed1515(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'));
@@ -769,7 +769,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
o.objectId = "foo";
- o.objectIds = buildUnnamed1518();
+ o.objectIds = buildUnnamed1515();
}
buildCounterDuplicateObjectRequest--;
return o;
@@ -779,7 +779,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1518(o.objectIds);
+ checkUnnamed1515(o.objectIds);
}
buildCounterDuplicateObjectRequest--;
}
@@ -803,14 +803,14 @@
buildCounterDuplicateObjectResponse--;
}
-buildUnnamed1519() {
+buildUnnamed1516() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1519(core.List<api.PageElement> o) {
+checkUnnamed1516(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -821,7 +821,7 @@
var o = new api.Group();
buildCounterGroup++;
if (buildCounterGroup < 3) {
- o.children = buildUnnamed1519();
+ o.children = buildUnnamed1516();
}
buildCounterGroup--;
return o;
@@ -830,7 +830,7 @@
checkGroup(api.Group o) {
buildCounterGroup++;
if (buildCounterGroup < 3) {
- checkUnnamed1519(o.children);
+ checkUnnamed1516(o.children);
}
buildCounterGroup--;
}
@@ -1125,14 +1125,14 @@
buildCounterLink--;
}
-buildUnnamed1520() {
+buildUnnamed1517() {
var o = new core.Map<core.String, api.NestingLevel>();
o["x"] = buildNestingLevel();
o["y"] = buildNestingLevel();
return o;
}
-checkUnnamed1520(core.Map<core.String, api.NestingLevel> o) {
+checkUnnamed1517(core.Map<core.String, api.NestingLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkNestingLevel(o["x"]);
checkNestingLevel(o["y"]);
@@ -1144,7 +1144,7 @@
buildCounterList++;
if (buildCounterList < 3) {
o.listId = "foo";
- o.nestingLevel = buildUnnamed1520();
+ o.nestingLevel = buildUnnamed1517();
}
buildCounterList--;
return o;
@@ -1154,7 +1154,7 @@
buildCounterList++;
if (buildCounterList < 3) {
unittest.expect(o.listId, unittest.equals('foo'));
- checkUnnamed1520(o.nestingLevel);
+ checkUnnamed1517(o.nestingLevel);
}
buildCounterList--;
}
@@ -1281,14 +1281,14 @@
buildCounterOutlineFill--;
}
-buildUnnamed1521() {
+buildUnnamed1518() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1521(core.List<api.PageElement> o) {
+checkUnnamed1518(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -1302,7 +1302,7 @@
o.layoutProperties = buildLayoutProperties();
o.notesProperties = buildNotesProperties();
o.objectId = "foo";
- o.pageElements = buildUnnamed1521();
+ o.pageElements = buildUnnamed1518();
o.pageProperties = buildPageProperties();
o.pageType = "foo";
o.revisionId = "foo";
@@ -1318,7 +1318,7 @@
checkLayoutProperties(o.layoutProperties);
checkNotesProperties(o.notesProperties);
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1521(o.pageElements);
+ checkUnnamed1518(o.pageElements);
checkPageProperties(o.pageProperties);
unittest.expect(o.pageType, unittest.equals('foo'));
unittest.expect(o.revisionId, unittest.equals('foo'));
@@ -1516,40 +1516,40 @@
buildCounterPlaceholder--;
}
-buildUnnamed1522() {
+buildUnnamed1519() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1522(core.List<api.Page> o) {
+checkUnnamed1519(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1523() {
+buildUnnamed1520() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1523(core.List<api.Page> o) {
+checkUnnamed1520(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1524() {
+buildUnnamed1521() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1524(core.List<api.Page> o) {
+checkUnnamed1521(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1560,14 +1560,14 @@
var o = new api.Presentation();
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- o.layouts = buildUnnamed1522();
+ o.layouts = buildUnnamed1519();
o.locale = "foo";
- o.masters = buildUnnamed1523();
+ o.masters = buildUnnamed1520();
o.notesMaster = buildPage();
o.pageSize = buildSize();
o.presentationId = "foo";
o.revisionId = "foo";
- o.slides = buildUnnamed1524();
+ o.slides = buildUnnamed1521();
o.title = "foo";
}
buildCounterPresentation--;
@@ -1577,14 +1577,14 @@
checkPresentation(api.Presentation o) {
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- checkUnnamed1522(o.layouts);
+ checkUnnamed1519(o.layouts);
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1523(o.masters);
+ checkUnnamed1520(o.masters);
checkPage(o.notesMaster);
checkSize(o.pageSize);
unittest.expect(o.presentationId, unittest.equals('foo'));
unittest.expect(o.revisionId, unittest.equals('foo'));
- checkUnnamed1524(o.slides);
+ checkUnnamed1521(o.slides);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterPresentation--;
@@ -1613,14 +1613,14 @@
buildCounterRange--;
}
-buildUnnamed1525() {
+buildUnnamed1522() {
var o = new core.List<api.ColorStop>();
o.add(buildColorStop());
o.add(buildColorStop());
return o;
}
-checkUnnamed1525(core.List<api.ColorStop> o) {
+checkUnnamed1522(core.List<api.ColorStop> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorStop(o[0]);
checkColorStop(o[1]);
@@ -1632,7 +1632,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
o.name = "foo";
- o.recolorStops = buildUnnamed1525();
+ o.recolorStops = buildUnnamed1522();
}
buildCounterRecolor--;
return o;
@@ -1642,7 +1642,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1525(o.recolorStops);
+ checkUnnamed1522(o.recolorStops);
}
buildCounterRecolor--;
}
@@ -2188,27 +2188,27 @@
buildCounterSubstringMatchCriteria--;
}
-buildUnnamed1526() {
+buildUnnamed1523() {
var o = new core.List<api.TableColumnProperties>();
o.add(buildTableColumnProperties());
o.add(buildTableColumnProperties());
return o;
}
-checkUnnamed1526(core.List<api.TableColumnProperties> o) {
+checkUnnamed1523(core.List<api.TableColumnProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableColumnProperties(o[0]);
checkTableColumnProperties(o[1]);
}
-buildUnnamed1527() {
+buildUnnamed1524() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1527(core.List<api.TableRow> o) {
+checkUnnamed1524(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -2221,8 +2221,8 @@
if (buildCounterTable < 3) {
o.columns = 42;
o.rows = 42;
- o.tableColumns = buildUnnamed1526();
- o.tableRows = buildUnnamed1527();
+ o.tableColumns = buildUnnamed1523();
+ o.tableRows = buildUnnamed1524();
}
buildCounterTable--;
return o;
@@ -2233,8 +2233,8 @@
if (buildCounterTable < 3) {
unittest.expect(o.columns, unittest.equals(42));
unittest.expect(o.rows, unittest.equals(42));
- checkUnnamed1526(o.tableColumns);
- checkUnnamed1527(o.tableRows);
+ checkUnnamed1523(o.tableColumns);
+ checkUnnamed1524(o.tableRows);
}
buildCounterTable--;
}
@@ -2369,14 +2369,14 @@
buildCounterTableRange--;
}
-buildUnnamed1528() {
+buildUnnamed1525() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed1528(core.List<api.TableCell> o) {
+checkUnnamed1525(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -2388,7 +2388,7 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
o.rowHeight = buildDimension();
- o.tableCells = buildUnnamed1528();
+ o.tableCells = buildUnnamed1525();
}
buildCounterTableRow--;
return o;
@@ -2398,32 +2398,32 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
checkDimension(o.rowHeight);
- checkUnnamed1528(o.tableCells);
+ checkUnnamed1525(o.tableCells);
}
buildCounterTableRow--;
}
-buildUnnamed1529() {
+buildUnnamed1526() {
var o = new core.Map<core.String, api.List>();
o["x"] = buildList();
o["y"] = buildList();
return o;
}
-checkUnnamed1529(core.Map<core.String, api.List> o) {
+checkUnnamed1526(core.Map<core.String, api.List> o) {
unittest.expect(o, unittest.hasLength(2));
checkList(o["x"]);
checkList(o["y"]);
}
-buildUnnamed1530() {
+buildUnnamed1527() {
var o = new core.List<api.TextElement>();
o.add(buildTextElement());
o.add(buildTextElement());
return o;
}
-checkUnnamed1530(core.List<api.TextElement> o) {
+checkUnnamed1527(core.List<api.TextElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkTextElement(o[0]);
checkTextElement(o[1]);
@@ -2434,8 +2434,8 @@
var o = new api.TextContent();
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- o.lists = buildUnnamed1529();
- o.textElements = buildUnnamed1530();
+ o.lists = buildUnnamed1526();
+ o.textElements = buildUnnamed1527();
}
buildCounterTextContent--;
return o;
@@ -2444,8 +2444,8 @@
checkTextContent(api.TextContent o) {
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- checkUnnamed1529(o.lists);
- checkUnnamed1530(o.textElements);
+ checkUnnamed1526(o.lists);
+ checkUnnamed1527(o.textElements);
}
buildCounterTextContent--;
}
@@ -2725,14 +2725,14 @@
buildCounterUpdateShapePropertiesRequest--;
}
-buildUnnamed1531() {
+buildUnnamed1528() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1531(core.List<core.String> o) {
+checkUnnamed1528(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2744,7 +2744,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
o.insertionIndex = 42;
- o.slideObjectIds = buildUnnamed1531();
+ o.slideObjectIds = buildUnnamed1528();
}
buildCounterUpdateSlidesPositionRequest--;
return o;
@@ -2754,7 +2754,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
- checkUnnamed1531(o.slideObjectIds);
+ checkUnnamed1528(o.slideObjectIds);
}
buildCounterUpdateSlidesPositionRequest--;
}
diff --git a/generated/googleapis/test/sourcerepo/v1_test.dart b/generated/googleapis/test/sourcerepo/v1_test.dart
index a7c6f80..8029422 100644
--- a/generated/googleapis/test/sourcerepo/v1_test.dart
+++ b/generated/googleapis/test/sourcerepo/v1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed450() {
+buildUnnamed436() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed450(core.List<api.AuditLogConfig> o) {
+checkUnnamed436(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed451() {
+buildUnnamed437() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed451(core.List<core.String> o) {
+checkUnnamed437(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed450();
- o.exemptedMembers = buildUnnamed451();
+ o.auditLogConfigs = buildUnnamed436();
+ o.exemptedMembers = buildUnnamed437();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed450(o.auditLogConfigs);
- checkUnnamed451(o.exemptedMembers);
+ checkUnnamed436(o.auditLogConfigs);
+ checkUnnamed437(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed452() {
+buildUnnamed438() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed452(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'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed452();
+ o.exemptedMembers = buildUnnamed438();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,20 +128,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed452(o.exemptedMembers);
+ checkUnnamed438(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed453() {
+buildUnnamed439() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed453(core.List<core.String> o) {
+checkUnnamed439(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -152,7 +152,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed453();
+ o.members = buildUnnamed439();
o.role = "foo";
}
buildCounterBinding--;
@@ -162,7 +162,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed453(o.members);
+ checkUnnamed439(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -185,14 +185,14 @@
buildCounterCloudAuditOptions--;
}
-buildUnnamed454() {
+buildUnnamed440() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed454(core.List<core.String> o) {
+checkUnnamed440(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -208,7 +208,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed454();
+ o.values = buildUnnamed440();
}
buildCounterCondition--;
return o;
@@ -222,7 +222,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed454(o.values);
+ checkUnnamed440(o.values);
}
buildCounterCondition--;
}
@@ -282,14 +282,14 @@
buildCounterEmpty--;
}
-buildUnnamed455() {
+buildUnnamed441() {
var o = new core.List<api.Repo>();
o.add(buildRepo());
o.add(buildRepo());
return o;
}
-checkUnnamed455(core.List<api.Repo> o) {
+checkUnnamed441(core.List<api.Repo> o) {
unittest.expect(o, unittest.hasLength(2));
checkRepo(o[0]);
checkRepo(o[1]);
@@ -300,7 +300,7 @@
var o = new api.ListReposResponse();
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
- o.repos = buildUnnamed455();
+ o.repos = buildUnnamed441();
}
buildCounterListReposResponse--;
return o;
@@ -309,7 +309,7 @@
checkListReposResponse(api.ListReposResponse o) {
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
- checkUnnamed455(o.repos);
+ checkUnnamed441(o.repos);
}
buildCounterListReposResponse--;
}
@@ -360,40 +360,40 @@
buildCounterMirrorConfig--;
}
-buildUnnamed456() {
+buildUnnamed442() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed456(core.List<api.AuditConfig> o) {
+checkUnnamed442(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed457() {
+buildUnnamed443() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed457(core.List<api.Binding> o) {
+checkUnnamed443(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed458() {
+buildUnnamed444() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed458(core.List<api.Rule> o) {
+checkUnnamed444(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -404,11 +404,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed456();
- o.bindings = buildUnnamed457();
+ o.auditConfigs = buildUnnamed442();
+ o.bindings = buildUnnamed443();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed458();
+ o.rules = buildUnnamed444();
o.version = 42;
}
buildCounterPolicy--;
@@ -418,11 +418,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed456(o.auditConfigs);
- checkUnnamed457(o.bindings);
+ checkUnnamed442(o.auditConfigs);
+ checkUnnamed443(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed458(o.rules);
+ checkUnnamed444(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -453,66 +453,66 @@
buildCounterRepo--;
}
-buildUnnamed459() {
+buildUnnamed445() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed459(core.List<api.Condition> o) {
+checkUnnamed445(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed460() {
+buildUnnamed446() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed460(core.List<core.String> o) {
+checkUnnamed446(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed461() {
+buildUnnamed447() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed461(core.List<api.LogConfig> o) {
+checkUnnamed447(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed462() {
+buildUnnamed448() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed462(core.List<core.String> o) {
+checkUnnamed448(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed463() {
+buildUnnamed449() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed463(core.List<core.String> o) {
+checkUnnamed449(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -524,12 +524,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed459();
+ o.conditions = buildUnnamed445();
o.description = "foo";
- o.in_ = buildUnnamed460();
- o.logConfig = buildUnnamed461();
- o.notIn = buildUnnamed462();
- o.permissions = buildUnnamed463();
+ o.in_ = buildUnnamed446();
+ o.logConfig = buildUnnamed447();
+ o.notIn = buildUnnamed448();
+ o.permissions = buildUnnamed449();
}
buildCounterRule--;
return o;
@@ -539,12 +539,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed459(o.conditions);
+ checkUnnamed445(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed460(o.in_);
- checkUnnamed461(o.logConfig);
- checkUnnamed462(o.notIn);
- checkUnnamed463(o.permissions);
+ checkUnnamed446(o.in_);
+ checkUnnamed447(o.logConfig);
+ checkUnnamed448(o.notIn);
+ checkUnnamed449(o.permissions);
}
buildCounterRule--;
}
@@ -570,14 +570,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed464() {
+buildUnnamed450() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed464(core.List<core.String> o) {
+checkUnnamed450(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -588,7 +588,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed464();
+ o.permissions = buildUnnamed450();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -597,19 +597,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed464(o.permissions);
+ checkUnnamed450(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed465() {
+buildUnnamed451() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed465(core.List<core.String> o) {
+checkUnnamed451(core.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,7 +620,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed465();
+ o.permissions = buildUnnamed451();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -629,7 +629,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed465(o.permissions);
+ checkUnnamed451(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
diff --git a/generated/googleapis/test/spanner/v1_test.dart b/generated/googleapis/test/spanner/v1_test.dart
index af8d732..a53f438 100644
--- a/generated/googleapis/test/spanner/v1_test.dart
+++ b/generated/googleapis/test/spanner/v1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1873() {
+buildUnnamed1885() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1873(core.List<api.AuditLogConfig> o) {
+checkUnnamed1885(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1874() {
+buildUnnamed1886() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1874(core.List<core.String> o) {
+checkUnnamed1886(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1873();
- o.exemptedMembers = buildUnnamed1874();
+ o.auditLogConfigs = buildUnnamed1885();
+ o.exemptedMembers = buildUnnamed1886();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1873(o.auditLogConfigs);
- checkUnnamed1874(o.exemptedMembers);
+ checkUnnamed1885(o.auditLogConfigs);
+ checkUnnamed1886(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1875() {
+buildUnnamed1887() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1875(core.List<core.String> o) {
+checkUnnamed1887(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1875();
+ o.exemptedMembers = buildUnnamed1887();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,7 +128,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1875(o.exemptedMembers);
+ checkUnnamed1887(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -153,14 +153,14 @@
buildCounterBeginTransactionRequest--;
}
-buildUnnamed1876() {
+buildUnnamed1888() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1876(core.List<core.String> o) {
+checkUnnamed1888(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -171,7 +171,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1876();
+ o.members = buildUnnamed1888();
o.role = "foo";
}
buildCounterBinding--;
@@ -181,7 +181,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1876(o.members);
+ checkUnnamed1888(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -227,14 +227,14 @@
buildCounterCloudAuditOptions--;
}
-buildUnnamed1877() {
+buildUnnamed1889() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed1877(core.List<api.Mutation> o) {
+checkUnnamed1889(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -245,7 +245,7 @@
var o = new api.CommitRequest();
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- o.mutations = buildUnnamed1877();
+ o.mutations = buildUnnamed1889();
o.singleUseTransaction = buildTransactionOptions();
o.transactionId = "foo";
}
@@ -256,7 +256,7 @@
checkCommitRequest(api.CommitRequest o) {
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- checkUnnamed1877(o.mutations);
+ checkUnnamed1889(o.mutations);
checkTransactionOptions(o.singleUseTransaction);
unittest.expect(o.transactionId, unittest.equals('foo'));
}
@@ -282,14 +282,14 @@
buildCounterCommitResponse--;
}
-buildUnnamed1878() {
+buildUnnamed1890() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1878(core.List<core.String> o) {
+checkUnnamed1890(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -305,7 +305,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed1878();
+ o.values = buildUnnamed1890();
}
buildCounterCondition--;
return o;
@@ -319,7 +319,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed1878(o.values);
+ checkUnnamed1890(o.values);
}
buildCounterCondition--;
}
@@ -364,14 +364,14 @@
buildCounterCreateDatabaseMetadata--;
}
-buildUnnamed1879() {
+buildUnnamed1891() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1879(core.List<core.String> o) {
+checkUnnamed1891(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -383,7 +383,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
o.createStatement = "foo";
- o.extraStatements = buildUnnamed1879();
+ o.extraStatements = buildUnnamed1891();
}
buildCounterCreateDatabaseRequest--;
return o;
@@ -393,7 +393,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
unittest.expect(o.createStatement, unittest.equals('foo'));
- checkUnnamed1879(o.extraStatements);
+ checkUnnamed1891(o.extraStatements);
}
buildCounterCreateDatabaseRequest--;
}
@@ -520,27 +520,27 @@
buildCounterEmpty--;
}
-buildUnnamed1880() {
+buildUnnamed1892() {
var o = new core.Map<core.String, api.Type>();
o["x"] = buildType();
o["y"] = buildType();
return o;
}
-checkUnnamed1880(core.Map<core.String, api.Type> o) {
+checkUnnamed1892(core.Map<core.String, api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o["x"]);
checkType(o["y"]);
}
-buildUnnamed1881() {
+buildUnnamed1893() {
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;
}
-checkUnnamed1881(core.Map<core.String, core.Object> o) {
+checkUnnamed1893(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'));
@@ -551,8 +551,8 @@
var o = new api.ExecuteSqlRequest();
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- o.paramTypes = buildUnnamed1880();
- o.params = buildUnnamed1881();
+ o.paramTypes = buildUnnamed1892();
+ o.params = buildUnnamed1893();
o.queryMode = "foo";
o.resumeToken = "foo";
o.sql = "foo";
@@ -565,8 +565,8 @@
checkExecuteSqlRequest(api.ExecuteSqlRequest o) {
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- checkUnnamed1880(o.paramTypes);
- checkUnnamed1881(o.params);
+ checkUnnamed1892(o.paramTypes);
+ checkUnnamed1893(o.params);
unittest.expect(o.queryMode, unittest.equals('foo'));
unittest.expect(o.resumeToken, unittest.equals('foo'));
unittest.expect(o.sql, unittest.equals('foo'));
@@ -596,14 +596,14 @@
buildCounterField--;
}
-buildUnnamed1882() {
+buildUnnamed1894() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1882(core.List<core.String> o) {
+checkUnnamed1894(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -614,7 +614,7 @@
var o = new api.GetDatabaseDdlResponse();
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- o.statements = buildUnnamed1882();
+ o.statements = buildUnnamed1894();
}
buildCounterGetDatabaseDdlResponse--;
return o;
@@ -623,7 +623,7 @@
checkGetDatabaseDdlResponse(api.GetDatabaseDdlResponse o) {
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- checkUnnamed1882(o.statements);
+ checkUnnamed1894(o.statements);
}
buildCounterGetDatabaseDdlResponse--;
}
@@ -645,14 +645,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed1883() {
+buildUnnamed1895() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1883(core.Map<core.String, core.String> o) {
+checkUnnamed1895(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'));
@@ -665,7 +665,7 @@
if (buildCounterInstance < 3) {
o.config = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1883();
+ o.labels = buildUnnamed1895();
o.name = "foo";
o.nodeCount = 42;
o.state = "foo";
@@ -679,7 +679,7 @@
if (buildCounterInstance < 3) {
unittest.expect(o.config, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1883(o.labels);
+ checkUnnamed1895(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nodeCount, unittest.equals(42));
unittest.expect(o.state, unittest.equals('foo'));
@@ -708,53 +708,53 @@
buildCounterInstanceConfig--;
}
-buildUnnamed1884() {
+buildUnnamed1896() {
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;
}
-checkUnnamed1884(core.List<core.Object> o) {
+checkUnnamed1896(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'));
}
-buildUnnamed1885() {
+buildUnnamed1897() {
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;
}
-checkUnnamed1885(core.List<core.Object> o) {
+checkUnnamed1897(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'));
}
-buildUnnamed1886() {
+buildUnnamed1898() {
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;
}
-checkUnnamed1886(core.List<core.Object> o) {
+checkUnnamed1898(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'));
}
-buildUnnamed1887() {
+buildUnnamed1899() {
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;
}
-checkUnnamed1887(core.List<core.Object> o) {
+checkUnnamed1899(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o[0]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
var casted10 = (o[1]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
@@ -765,10 +765,10 @@
var o = new api.KeyRange();
buildCounterKeyRange++;
if (buildCounterKeyRange < 3) {
- o.endClosed = buildUnnamed1884();
- o.endOpen = buildUnnamed1885();
- o.startClosed = buildUnnamed1886();
- o.startOpen = buildUnnamed1887();
+ o.endClosed = buildUnnamed1896();
+ o.endOpen = buildUnnamed1897();
+ o.startClosed = buildUnnamed1898();
+ o.startOpen = buildUnnamed1899();
}
buildCounterKeyRange--;
return o;
@@ -777,48 +777,48 @@
checkKeyRange(api.KeyRange o) {
buildCounterKeyRange++;
if (buildCounterKeyRange < 3) {
- checkUnnamed1884(o.endClosed);
- checkUnnamed1885(o.endOpen);
- checkUnnamed1886(o.startClosed);
- checkUnnamed1887(o.startOpen);
+ checkUnnamed1896(o.endClosed);
+ checkUnnamed1897(o.endOpen);
+ checkUnnamed1898(o.startClosed);
+ checkUnnamed1899(o.startOpen);
}
buildCounterKeyRange--;
}
-buildUnnamed1888() {
+buildUnnamed1900() {
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;
}
-checkUnnamed1888(core.List<core.Object> o) {
+checkUnnamed1900(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o[0]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o[1]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1889() {
+buildUnnamed1901() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed1888());
- o.add(buildUnnamed1888());
+ o.add(buildUnnamed1900());
+ o.add(buildUnnamed1900());
return o;
}
-checkUnnamed1889(core.List<core.List<core.Object>> o) {
+checkUnnamed1901(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1888(o[0]);
- checkUnnamed1888(o[1]);
+ checkUnnamed1900(o[0]);
+ checkUnnamed1900(o[1]);
}
-buildUnnamed1890() {
+buildUnnamed1902() {
var o = new core.List<api.KeyRange>();
o.add(buildKeyRange());
o.add(buildKeyRange());
return o;
}
-checkUnnamed1890(core.List<api.KeyRange> o) {
+checkUnnamed1902(core.List<api.KeyRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRange(o[0]);
checkKeyRange(o[1]);
@@ -830,8 +830,8 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
o.all = true;
- o.keys = buildUnnamed1889();
- o.ranges = buildUnnamed1890();
+ o.keys = buildUnnamed1901();
+ o.ranges = buildUnnamed1902();
}
buildCounterKeySet--;
return o;
@@ -841,20 +841,20 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
unittest.expect(o.all, unittest.isTrue);
- checkUnnamed1889(o.keys);
- checkUnnamed1890(o.ranges);
+ checkUnnamed1901(o.keys);
+ checkUnnamed1902(o.ranges);
}
buildCounterKeySet--;
}
-buildUnnamed1891() {
+buildUnnamed1903() {
var o = new core.List<api.Database>();
o.add(buildDatabase());
o.add(buildDatabase());
return o;
}
-checkUnnamed1891(core.List<api.Database> o) {
+checkUnnamed1903(core.List<api.Database> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabase(o[0]);
checkDatabase(o[1]);
@@ -865,7 +865,7 @@
var o = new api.ListDatabasesResponse();
buildCounterListDatabasesResponse++;
if (buildCounterListDatabasesResponse < 3) {
- o.databases = buildUnnamed1891();
+ o.databases = buildUnnamed1903();
o.nextPageToken = "foo";
}
buildCounterListDatabasesResponse--;
@@ -875,20 +875,20 @@
checkListDatabasesResponse(api.ListDatabasesResponse o) {
buildCounterListDatabasesResponse++;
if (buildCounterListDatabasesResponse < 3) {
- checkUnnamed1891(o.databases);
+ checkUnnamed1903(o.databases);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatabasesResponse--;
}
-buildUnnamed1892() {
+buildUnnamed1904() {
var o = new core.List<api.InstanceConfig>();
o.add(buildInstanceConfig());
o.add(buildInstanceConfig());
return o;
}
-checkUnnamed1892(core.List<api.InstanceConfig> o) {
+checkUnnamed1904(core.List<api.InstanceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceConfig(o[0]);
checkInstanceConfig(o[1]);
@@ -899,7 +899,7 @@
var o = new api.ListInstanceConfigsResponse();
buildCounterListInstanceConfigsResponse++;
if (buildCounterListInstanceConfigsResponse < 3) {
- o.instanceConfigs = buildUnnamed1892();
+ o.instanceConfigs = buildUnnamed1904();
o.nextPageToken = "foo";
}
buildCounterListInstanceConfigsResponse--;
@@ -909,20 +909,20 @@
checkListInstanceConfigsResponse(api.ListInstanceConfigsResponse o) {
buildCounterListInstanceConfigsResponse++;
if (buildCounterListInstanceConfigsResponse < 3) {
- checkUnnamed1892(o.instanceConfigs);
+ checkUnnamed1904(o.instanceConfigs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstanceConfigsResponse--;
}
-buildUnnamed1893() {
+buildUnnamed1905() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed1893(core.List<api.Instance> o) {
+checkUnnamed1905(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -933,7 +933,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed1893();
+ o.instances = buildUnnamed1905();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -943,20 +943,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed1893(o.instances);
+ checkUnnamed1905(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed1894() {
+buildUnnamed1906() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1894(core.List<api.Operation> o) {
+checkUnnamed1906(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -968,7 +968,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1894();
+ o.operations = buildUnnamed1906();
}
buildCounterListOperationsResponse--;
return o;
@@ -978,7 +978,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1894(o.operations);
+ checkUnnamed1906(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -1033,27 +1033,27 @@
buildCounterMutation--;
}
-buildUnnamed1895() {
+buildUnnamed1907() {
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;
}
-checkUnnamed1895(core.Map<core.String, core.Object> o) {
+checkUnnamed1907(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed1896() {
+buildUnnamed1908() {
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;
}
-checkUnnamed1896(core.Map<core.String, core.Object> o) {
+checkUnnamed1908(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o["x"]) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo'));
var casted16 = (o["y"]) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string"], unittest.equals('foo'));
@@ -1066,9 +1066,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1895();
+ o.metadata = buildUnnamed1907();
o.name = "foo";
- o.response = buildUnnamed1896();
+ o.response = buildUnnamed1908();
}
buildCounterOperation--;
return o;
@@ -1079,21 +1079,21 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1895(o.metadata);
+ checkUnnamed1907(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1896(o.response);
+ checkUnnamed1908(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1897() {
+buildUnnamed1909() {
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;
}
-checkUnnamed1897(core.List<core.Object> o) {
+checkUnnamed1909(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo'));
var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string"], unittest.equals('foo'));
@@ -1108,7 +1108,7 @@
o.metadata = buildResultSetMetadata();
o.resumeToken = "foo";
o.stats = buildResultSetStats();
- o.values = buildUnnamed1897();
+ o.values = buildUnnamed1909();
}
buildCounterPartialResultSet--;
return o;
@@ -1121,45 +1121,45 @@
checkResultSetMetadata(o.metadata);
unittest.expect(o.resumeToken, unittest.equals('foo'));
checkResultSetStats(o.stats);
- checkUnnamed1897(o.values);
+ checkUnnamed1909(o.values);
}
buildCounterPartialResultSet--;
}
-buildUnnamed1898() {
+buildUnnamed1910() {
var o = new core.List<api.ChildLink>();
o.add(buildChildLink());
o.add(buildChildLink());
return o;
}
-checkUnnamed1898(core.List<api.ChildLink> o) {
+checkUnnamed1910(core.List<api.ChildLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkChildLink(o[0]);
checkChildLink(o[1]);
}
-buildUnnamed1899() {
+buildUnnamed1911() {
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;
}
-checkUnnamed1899(core.Map<core.String, core.Object> o) {
+checkUnnamed1911(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o["x"]) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string"], unittest.equals('foo'));
var casted20 = (o["y"]) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed1900() {
+buildUnnamed1912() {
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;
}
-checkUnnamed1900(core.Map<core.String, core.Object> o) {
+checkUnnamed1912(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string"], unittest.equals('foo'));
var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string"], unittest.equals('foo'));
@@ -1170,12 +1170,12 @@
var o = new api.PlanNode();
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- o.childLinks = buildUnnamed1898();
+ o.childLinks = buildUnnamed1910();
o.displayName = "foo";
- o.executionStats = buildUnnamed1899();
+ o.executionStats = buildUnnamed1911();
o.index = 42;
o.kind = "foo";
- o.metadata = buildUnnamed1900();
+ o.metadata = buildUnnamed1912();
o.shortRepresentation = buildShortRepresentation();
}
buildCounterPlanNode--;
@@ -1185,51 +1185,51 @@
checkPlanNode(api.PlanNode o) {
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- checkUnnamed1898(o.childLinks);
+ checkUnnamed1910(o.childLinks);
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1899(o.executionStats);
+ checkUnnamed1911(o.executionStats);
unittest.expect(o.index, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1900(o.metadata);
+ checkUnnamed1912(o.metadata);
checkShortRepresentation(o.shortRepresentation);
}
buildCounterPlanNode--;
}
-buildUnnamed1901() {
+buildUnnamed1913() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1901(core.List<api.AuditConfig> o) {
+checkUnnamed1913(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1902() {
+buildUnnamed1914() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1902(core.List<api.Binding> o) {
+checkUnnamed1914(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed1903() {
+buildUnnamed1915() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1903(core.List<api.Rule> o) {
+checkUnnamed1915(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -1240,11 +1240,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1901();
- o.bindings = buildUnnamed1902();
+ o.auditConfigs = buildUnnamed1913();
+ o.bindings = buildUnnamed1914();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed1903();
+ o.rules = buildUnnamed1915();
o.version = 42;
}
buildCounterPolicy--;
@@ -1254,24 +1254,24 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1901(o.auditConfigs);
- checkUnnamed1902(o.bindings);
+ checkUnnamed1913(o.auditConfigs);
+ checkUnnamed1914(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed1903(o.rules);
+ checkUnnamed1915(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1904() {
+buildUnnamed1916() {
var o = new core.List<api.PlanNode>();
o.add(buildPlanNode());
o.add(buildPlanNode());
return o;
}
-checkUnnamed1904(core.List<api.PlanNode> o) {
+checkUnnamed1916(core.List<api.PlanNode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlanNode(o[0]);
checkPlanNode(o[1]);
@@ -1282,7 +1282,7 @@
var o = new api.QueryPlan();
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- o.planNodes = buildUnnamed1904();
+ o.planNodes = buildUnnamed1916();
}
buildCounterQueryPlan--;
return o;
@@ -1291,7 +1291,7 @@
checkQueryPlan(api.QueryPlan o) {
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- checkUnnamed1904(o.planNodes);
+ checkUnnamed1916(o.planNodes);
}
buildCounterQueryPlan--;
}
@@ -1325,14 +1325,14 @@
buildCounterReadOnly--;
}
-buildUnnamed1905() {
+buildUnnamed1917() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1905(core.List<core.String> o) {
+checkUnnamed1917(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1343,7 +1343,7 @@
var o = new api.ReadRequest();
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- o.columns = buildUnnamed1905();
+ o.columns = buildUnnamed1917();
o.index = "foo";
o.keySet = buildKeySet();
o.limit = "foo";
@@ -1358,7 +1358,7 @@
checkReadRequest(api.ReadRequest o) {
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- checkUnnamed1905(o.columns);
+ checkUnnamed1917(o.columns);
unittest.expect(o.index, unittest.equals('foo'));
checkKeySet(o.keySet);
unittest.expect(o.limit, unittest.equals('foo'));
@@ -1386,30 +1386,30 @@
buildCounterReadWrite--;
}
-buildUnnamed1906() {
+buildUnnamed1918() {
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;
}
-checkUnnamed1906(core.List<core.Object> o) {
+checkUnnamed1918(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string"], unittest.equals('foo'));
var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed1907() {
+buildUnnamed1919() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed1906());
- o.add(buildUnnamed1906());
+ o.add(buildUnnamed1918());
+ o.add(buildUnnamed1918());
return o;
}
-checkUnnamed1907(core.List<core.List<core.Object>> o) {
+checkUnnamed1919(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1906(o[0]);
- checkUnnamed1906(o[1]);
+ checkUnnamed1918(o[0]);
+ checkUnnamed1918(o[1]);
}
core.int buildCounterResultSet = 0;
@@ -1418,7 +1418,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
o.metadata = buildResultSetMetadata();
- o.rows = buildUnnamed1907();
+ o.rows = buildUnnamed1919();
o.stats = buildResultSetStats();
}
buildCounterResultSet--;
@@ -1429,7 +1429,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
checkResultSetMetadata(o.metadata);
- checkUnnamed1907(o.rows);
+ checkUnnamed1919(o.rows);
checkResultSetStats(o.stats);
}
buildCounterResultSet--;
@@ -1456,14 +1456,14 @@
buildCounterResultSetMetadata--;
}
-buildUnnamed1908() {
+buildUnnamed1920() {
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;
}
-checkUnnamed1908(core.Map<core.String, core.Object> o) {
+checkUnnamed1920(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o["x"]) as core.Map; unittest.expect(casted25, unittest.hasLength(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string"], unittest.equals('foo'));
var casted26 = (o["y"]) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string"], unittest.equals('foo'));
@@ -1475,7 +1475,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
o.queryPlan = buildQueryPlan();
- o.queryStats = buildUnnamed1908();
+ o.queryStats = buildUnnamed1920();
}
buildCounterResultSetStats--;
return o;
@@ -1485,7 +1485,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
checkQueryPlan(o.queryPlan);
- checkUnnamed1908(o.queryStats);
+ checkUnnamed1920(o.queryStats);
}
buildCounterResultSetStats--;
}
@@ -1509,66 +1509,66 @@
buildCounterRollbackRequest--;
}
-buildUnnamed1909() {
+buildUnnamed1921() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1909(core.List<api.Condition> o) {
+checkUnnamed1921(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1910() {
+buildUnnamed1922() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1910(core.List<core.String> o) {
+checkUnnamed1922(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1911() {
+buildUnnamed1923() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed1911(core.List<api.LogConfig> o) {
+checkUnnamed1923(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed1912() {
+buildUnnamed1924() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1912(core.List<core.String> o) {
+checkUnnamed1924(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1913() {
+buildUnnamed1925() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1913(core.List<core.String> o) {
+checkUnnamed1925(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1580,12 +1580,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed1909();
+ o.conditions = buildUnnamed1921();
o.description = "foo";
- o.in_ = buildUnnamed1910();
- o.logConfig = buildUnnamed1911();
- o.notIn = buildUnnamed1912();
- o.permissions = buildUnnamed1913();
+ o.in_ = buildUnnamed1922();
+ o.logConfig = buildUnnamed1923();
+ o.notIn = buildUnnamed1924();
+ o.permissions = buildUnnamed1925();
}
buildCounterRule--;
return o;
@@ -1595,12 +1595,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed1909(o.conditions);
+ checkUnnamed1921(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1910(o.in_);
- checkUnnamed1911(o.logConfig);
- checkUnnamed1912(o.notIn);
- checkUnnamed1913(o.permissions);
+ checkUnnamed1922(o.in_);
+ checkUnnamed1923(o.logConfig);
+ checkUnnamed1924(o.notIn);
+ checkUnnamed1925(o.permissions);
}
buildCounterRule--;
}
@@ -1645,14 +1645,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed1914() {
+buildUnnamed1926() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed1914(core.Map<core.String, core.int> o) {
+checkUnnamed1926(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
@@ -1664,7 +1664,7 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
o.description = "foo";
- o.subqueries = buildUnnamed1914();
+ o.subqueries = buildUnnamed1926();
}
buildCounterShortRepresentation--;
return o;
@@ -1674,35 +1674,35 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1914(o.subqueries);
+ checkUnnamed1926(o.subqueries);
}
buildCounterShortRepresentation--;
}
-buildUnnamed1915() {
+buildUnnamed1927() {
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;
}
-checkUnnamed1915(core.Map<core.String, core.Object> o) {
+checkUnnamed1927(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o["x"]) as core.Map; unittest.expect(casted27, unittest.hasLength(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string"], unittest.equals('foo'));
var casted28 = (o["y"]) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed1916() {
+buildUnnamed1928() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1915());
- o.add(buildUnnamed1915());
+ o.add(buildUnnamed1927());
+ o.add(buildUnnamed1927());
return o;
}
-checkUnnamed1916(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1928(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1915(o[0]);
- checkUnnamed1915(o[1]);
+ checkUnnamed1927(o[0]);
+ checkUnnamed1927(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1711,7 +1711,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1916();
+ o.details = buildUnnamed1928();
o.message = "foo";
}
buildCounterStatus--;
@@ -1722,20 +1722,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1916(o.details);
+ checkUnnamed1928(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed1917() {
+buildUnnamed1929() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1917(core.List<api.Field> o) {
+checkUnnamed1929(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
@@ -1746,7 +1746,7 @@
var o = new api.StructType();
buildCounterStructType++;
if (buildCounterStructType < 3) {
- o.fields = buildUnnamed1917();
+ o.fields = buildUnnamed1929();
}
buildCounterStructType--;
return o;
@@ -1755,19 +1755,19 @@
checkStructType(api.StructType o) {
buildCounterStructType++;
if (buildCounterStructType < 3) {
- checkUnnamed1917(o.fields);
+ checkUnnamed1929(o.fields);
}
buildCounterStructType--;
}
-buildUnnamed1918() {
+buildUnnamed1930() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1918(core.List<core.String> o) {
+checkUnnamed1930(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1778,7 +1778,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1918();
+ o.permissions = buildUnnamed1930();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1787,19 +1787,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1918(o.permissions);
+ checkUnnamed1930(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1919() {
+buildUnnamed1931() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1919(core.List<core.String> o) {
+checkUnnamed1931(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1810,7 +1810,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1919();
+ o.permissions = buildUnnamed1931();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1819,7 +1819,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1919(o.permissions);
+ checkUnnamed1931(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1912,27 +1912,27 @@
buildCounterType--;
}
-buildUnnamed1920() {
+buildUnnamed1932() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1920(core.List<core.String> o) {
+checkUnnamed1932(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1921() {
+buildUnnamed1933() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1921(core.List<core.String> o) {
+checkUnnamed1933(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1943,9 +1943,9 @@
var o = new api.UpdateDatabaseDdlMetadata();
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- o.commitTimestamps = buildUnnamed1920();
+ o.commitTimestamps = buildUnnamed1932();
o.database = "foo";
- o.statements = buildUnnamed1921();
+ o.statements = buildUnnamed1933();
}
buildCounterUpdateDatabaseDdlMetadata--;
return o;
@@ -1954,21 +1954,21 @@
checkUpdateDatabaseDdlMetadata(api.UpdateDatabaseDdlMetadata o) {
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- checkUnnamed1920(o.commitTimestamps);
+ checkUnnamed1932(o.commitTimestamps);
unittest.expect(o.database, unittest.equals('foo'));
- checkUnnamed1921(o.statements);
+ checkUnnamed1933(o.statements);
}
buildCounterUpdateDatabaseDdlMetadata--;
}
-buildUnnamed1922() {
+buildUnnamed1934() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1922(core.List<core.String> o) {
+checkUnnamed1934(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1980,7 +1980,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
o.operationId = "foo";
- o.statements = buildUnnamed1922();
+ o.statements = buildUnnamed1934();
}
buildCounterUpdateDatabaseDdlRequest--;
return o;
@@ -1990,7 +1990,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1922(o.statements);
+ checkUnnamed1934(o.statements);
}
buildCounterUpdateDatabaseDdlRequest--;
}
@@ -2041,43 +2041,43 @@
buildCounterUpdateInstanceRequest--;
}
-buildUnnamed1923() {
+buildUnnamed1935() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1923(core.List<core.String> o) {
+checkUnnamed1935(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1924() {
+buildUnnamed1936() {
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;
}
-checkUnnamed1924(core.List<core.Object> o) {
+checkUnnamed1936(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted29 = (o[0]) as core.Map; unittest.expect(casted29, unittest.hasLength(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest.expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["string"], unittest.equals('foo'));
var casted30 = (o[1]) as core.Map; unittest.expect(casted30, unittest.hasLength(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest.expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["string"], unittest.equals('foo'));
}
-buildUnnamed1925() {
+buildUnnamed1937() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed1924());
- o.add(buildUnnamed1924());
+ o.add(buildUnnamed1936());
+ o.add(buildUnnamed1936());
return o;
}
-checkUnnamed1925(core.List<core.List<core.Object>> o) {
+checkUnnamed1937(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1924(o[0]);
- checkUnnamed1924(o[1]);
+ checkUnnamed1936(o[0]);
+ checkUnnamed1936(o[1]);
}
core.int buildCounterWrite = 0;
@@ -2085,9 +2085,9 @@
var o = new api.Write();
buildCounterWrite++;
if (buildCounterWrite < 3) {
- o.columns = buildUnnamed1923();
+ o.columns = buildUnnamed1935();
o.table = "foo";
- o.values = buildUnnamed1925();
+ o.values = buildUnnamed1937();
}
buildCounterWrite--;
return o;
@@ -2096,9 +2096,9 @@
checkWrite(api.Write o) {
buildCounterWrite++;
if (buildCounterWrite < 3) {
- checkUnnamed1923(o.columns);
+ checkUnnamed1935(o.columns);
unittest.expect(o.table, unittest.equals('foo'));
- checkUnnamed1925(o.values);
+ checkUnnamed1937(o.values);
}
buildCounterWrite--;
}
@@ -2705,8 +2705,8 @@
var mock = new HttpServerMock();
api.ProjectsInstanceConfigsResourceApi res = new api.SpannerApi(mock).projects.instanceConfigs;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2734,8 +2734,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -2744,7 +2744,7 @@
var resp = convert.JSON.encode(buildListInstanceConfigsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInstanceConfigsResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListInstanceConfigsResponse response) {
checkListInstanceConfigsResponse(response);
})));
});
@@ -3381,8 +3381,8 @@
var mock = new HttpServerMock();
api.ProjectsInstancesDatabasesResourceApi res = new api.SpannerApi(mock).projects.instances.databases;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3410,8 +3410,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -3420,7 +3420,7 @@
var resp = convert.JSON.encode(buildListDatabasesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListDatabasesResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListDatabasesResponse response) {
checkListDatabasesResponse(response);
})));
});
@@ -3716,9 +3716,9 @@
var mock = new HttpServerMock();
api.ProjectsInstancesDatabasesOperationsResourceApi res = new api.SpannerApi(mock).projects.instances.databases.operations;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3746,9 +3746,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -3757,7 +3757,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
diff --git a/generated/googleapis/test/storage/v1_test.dart b/generated/googleapis/test/storage/v1_test.dart
index db7954a..4a43469 100644
--- a/generated/googleapis/test/storage/v1_test.dart
+++ b/generated/googleapis/test/storage/v1_test.dart
@@ -51,53 +51,53 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed769() {
+buildUnnamed756() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed769(core.List<api.BucketAccessControl> o) {
+checkUnnamed756(core.List<api.BucketAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketAccessControl(o[0]);
checkBucketAccessControl(o[1]);
}
-buildUnnamed770() {
+buildUnnamed757() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed770(core.List<core.String> o) {
+checkUnnamed757(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed771() {
+buildUnnamed758() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed771(core.List<core.String> o) {
+checkUnnamed758(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed772() {
+buildUnnamed759() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed772(core.List<core.String> o) {
+checkUnnamed759(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -109,9 +109,9 @@
buildCounterBucketCors++;
if (buildCounterBucketCors < 3) {
o.maxAgeSeconds = 42;
- o.method = buildUnnamed770();
- o.origin = buildUnnamed771();
- o.responseHeader = buildUnnamed772();
+ o.method = buildUnnamed757();
+ o.origin = buildUnnamed758();
+ o.responseHeader = buildUnnamed759();
}
buildCounterBucketCors--;
return o;
@@ -121,39 +121,52 @@
buildCounterBucketCors++;
if (buildCounterBucketCors < 3) {
unittest.expect(o.maxAgeSeconds, unittest.equals(42));
- checkUnnamed770(o.method);
- checkUnnamed771(o.origin);
- checkUnnamed772(o.responseHeader);
+ checkUnnamed757(o.method);
+ checkUnnamed758(o.origin);
+ checkUnnamed759(o.responseHeader);
}
buildCounterBucketCors--;
}
-buildUnnamed773() {
+buildUnnamed760() {
var o = new core.List<api.BucketCors>();
o.add(buildBucketCors());
o.add(buildBucketCors());
return o;
}
-checkUnnamed773(core.List<api.BucketCors> o) {
+checkUnnamed760(core.List<api.BucketCors> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketCors(o[0]);
checkBucketCors(o[1]);
}
-buildUnnamed774() {
+buildUnnamed761() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed774(core.List<api.ObjectAccessControl> o) {
+checkUnnamed761(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
}
+buildUnnamed762() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed762(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterBucketLifecycleRuleAction = 0;
buildBucketLifecycleRuleAction() {
var o = new api.BucketLifecycleRuleAction();
@@ -175,14 +188,14 @@
buildCounterBucketLifecycleRuleAction--;
}
-buildUnnamed775() {
+buildUnnamed763() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed775(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'));
@@ -196,7 +209,7 @@
o.age = 42;
o.createdBefore = core.DateTime.parse("2002-02-27T14:01:02Z");
o.isLive = true;
- o.matchesStorageClass = buildUnnamed775();
+ o.matchesStorageClass = buildUnnamed763();
o.numNewerVersions = 42;
}
buildCounterBucketLifecycleRuleCondition--;
@@ -209,7 +222,7 @@
unittest.expect(o.age, unittest.equals(42));
unittest.expect(o.createdBefore, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.isLive, unittest.isTrue);
- checkUnnamed775(o.matchesStorageClass);
+ checkUnnamed763(o.matchesStorageClass);
unittest.expect(o.numNewerVersions, unittest.equals(42));
}
buildCounterBucketLifecycleRuleCondition--;
@@ -236,14 +249,14 @@
buildCounterBucketLifecycleRule--;
}
-buildUnnamed776() {
+buildUnnamed764() {
var o = new core.List<api.BucketLifecycleRule>();
o.add(buildBucketLifecycleRule());
o.add(buildBucketLifecycleRule());
return o;
}
-checkUnnamed776(core.List<api.BucketLifecycleRule> o) {
+checkUnnamed764(core.List<api.BucketLifecycleRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketLifecycleRule(o[0]);
checkBucketLifecycleRule(o[1]);
@@ -254,7 +267,7 @@
var o = new api.BucketLifecycle();
buildCounterBucketLifecycle++;
if (buildCounterBucketLifecycle < 3) {
- o.rule = buildUnnamed776();
+ o.rule = buildUnnamed764();
}
buildCounterBucketLifecycle--;
return o;
@@ -263,7 +276,7 @@
checkBucketLifecycle(api.BucketLifecycle o) {
buildCounterBucketLifecycle++;
if (buildCounterBucketLifecycle < 3) {
- checkUnnamed776(o.rule);
+ checkUnnamed764(o.rule);
}
buildCounterBucketLifecycle--;
}
@@ -355,12 +368,13 @@
var o = new api.Bucket();
buildCounterBucket++;
if (buildCounterBucket < 3) {
- o.acl = buildUnnamed769();
- o.cors = buildUnnamed773();
- o.defaultObjectAcl = buildUnnamed774();
+ o.acl = buildUnnamed756();
+ o.cors = buildUnnamed760();
+ o.defaultObjectAcl = buildUnnamed761();
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
+ o.labels = buildUnnamed762();
o.lifecycle = buildBucketLifecycle();
o.location = "foo";
o.logging = buildBucketLogging();
@@ -382,12 +396,13 @@
checkBucket(api.Bucket o) {
buildCounterBucket++;
if (buildCounterBucket < 3) {
- checkUnnamed769(o.acl);
- checkUnnamed773(o.cors);
- checkUnnamed774(o.defaultObjectAcl);
+ checkUnnamed756(o.acl);
+ checkUnnamed760(o.cors);
+ checkUnnamed761(o.defaultObjectAcl);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed762(o.labels);
checkBucketLifecycle(o.lifecycle);
unittest.expect(o.location, unittest.equals('foo'));
checkBucketLogging(o.logging);
@@ -465,14 +480,14 @@
buildCounterBucketAccessControl--;
}
-buildUnnamed777() {
+buildUnnamed765() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed777(core.List<api.BucketAccessControl> o) {
+checkUnnamed765(core.List<api.BucketAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketAccessControl(o[0]);
checkBucketAccessControl(o[1]);
@@ -483,7 +498,7 @@
var o = new api.BucketAccessControls();
buildCounterBucketAccessControls++;
if (buildCounterBucketAccessControls < 3) {
- o.items = buildUnnamed777();
+ o.items = buildUnnamed765();
o.kind = "foo";
}
buildCounterBucketAccessControls--;
@@ -493,20 +508,20 @@
checkBucketAccessControls(api.BucketAccessControls o) {
buildCounterBucketAccessControls++;
if (buildCounterBucketAccessControls < 3) {
- checkUnnamed777(o.items);
+ checkUnnamed765(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBucketAccessControls--;
}
-buildUnnamed778() {
+buildUnnamed766() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed778(core.List<api.Bucket> o) {
+checkUnnamed766(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -517,7 +532,7 @@
var o = new api.Buckets();
buildCounterBuckets++;
if (buildCounterBuckets < 3) {
- o.items = buildUnnamed778();
+ o.items = buildUnnamed766();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -528,21 +543,21 @@
checkBuckets(api.Buckets o) {
buildCounterBuckets++;
if (buildCounterBuckets < 3) {
- checkUnnamed778(o.items);
+ checkUnnamed766(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterBuckets--;
}
-buildUnnamed779() {
+buildUnnamed767() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed779(core.Map<core.String, core.String> o) {
+checkUnnamed767(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'));
@@ -557,7 +572,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed779();
+ o.params = buildUnnamed767();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -575,7 +590,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed779(o.params);
+ checkUnnamed767(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -627,14 +642,14 @@
buildCounterComposeRequestSourceObjects--;
}
-buildUnnamed780() {
+buildUnnamed768() {
var o = new core.List<api.ComposeRequestSourceObjects>();
o.add(buildComposeRequestSourceObjects());
o.add(buildComposeRequestSourceObjects());
return o;
}
-checkUnnamed780(core.List<api.ComposeRequestSourceObjects> o) {
+checkUnnamed768(core.List<api.ComposeRequestSourceObjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkComposeRequestSourceObjects(o[0]);
checkComposeRequestSourceObjects(o[1]);
@@ -647,7 +662,7 @@
if (buildCounterComposeRequest < 3) {
o.destination = buildObject();
o.kind = "foo";
- o.sourceObjects = buildUnnamed780();
+ o.sourceObjects = buildUnnamed768();
}
buildCounterComposeRequest--;
return o;
@@ -658,19 +673,114 @@
if (buildCounterComposeRequest < 3) {
checkObject(o.destination);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed780(o.sourceObjects);
+ checkUnnamed768(o.sourceObjects);
}
buildCounterComposeRequest--;
}
-buildUnnamed781() {
+buildUnnamed769() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed769(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'));
+}
+
+buildUnnamed770() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed770(core.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 buildCounterNotification = 0;
+buildNotification() {
+ var o = new api.Notification();
+ buildCounterNotification++;
+ if (buildCounterNotification < 3) {
+ o.customAttributes = buildUnnamed769();
+ o.etag = "foo";
+ o.eventTypes = buildUnnamed770();
+ o.id = "foo";
+ o.kind = "foo";
+ o.objectNamePrefix = "foo";
+ o.payloadFormat = "foo";
+ o.selfLink = "foo";
+ o.topic = "foo";
+ }
+ buildCounterNotification--;
+ return o;
+}
+
+checkNotification(api.Notification o) {
+ buildCounterNotification++;
+ if (buildCounterNotification < 3) {
+ checkUnnamed769(o.customAttributes);
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed770(o.eventTypes);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.objectNamePrefix, unittest.equals('foo'));
+ unittest.expect(o.payloadFormat, unittest.equals('foo'));
+ unittest.expect(o.selfLink, unittest.equals('foo'));
+ unittest.expect(o.topic, unittest.equals('foo'));
+ }
+ buildCounterNotification--;
+}
+
+buildUnnamed771() {
+ var o = new core.List<api.Notification>();
+ o.add(buildNotification());
+ o.add(buildNotification());
+ return o;
+}
+
+checkUnnamed771(core.List<api.Notification> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkNotification(o[0]);
+ checkNotification(o[1]);
+}
+
+core.int buildCounterNotifications = 0;
+buildNotifications() {
+ var o = new api.Notifications();
+ buildCounterNotifications++;
+ if (buildCounterNotifications < 3) {
+ o.items = buildUnnamed771();
+ o.kind = "foo";
+ }
+ buildCounterNotifications--;
+ return o;
+}
+
+checkNotifications(api.Notifications o) {
+ buildCounterNotifications++;
+ if (buildCounterNotifications < 3) {
+ checkUnnamed771(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterNotifications--;
+}
+
+buildUnnamed772() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed781(core.List<api.ObjectAccessControl> o) {
+checkUnnamed772(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -697,14 +807,14 @@
buildCounterObjectCustomerEncryption--;
}
-buildUnnamed782() {
+buildUnnamed773() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed782(core.Map<core.String, core.String> o) {
+checkUnnamed773(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'));
@@ -736,7 +846,7 @@
var o = new api.Object();
buildCounterObject++;
if (buildCounterObject < 3) {
- o.acl = buildUnnamed781();
+ o.acl = buildUnnamed772();
o.bucket = "foo";
o.cacheControl = "foo";
o.componentCount = 42;
@@ -752,7 +862,7 @@
o.kind = "foo";
o.md5Hash = "foo";
o.mediaLink = "foo";
- o.metadata = buildUnnamed782();
+ o.metadata = buildUnnamed773();
o.metageneration = "foo";
o.name = "foo";
o.owner = buildObjectOwner();
@@ -771,7 +881,7 @@
checkObject(api.Object o) {
buildCounterObject++;
if (buildCounterObject < 3) {
- checkUnnamed781(o.acl);
+ checkUnnamed772(o.acl);
unittest.expect(o.bucket, unittest.equals('foo'));
unittest.expect(o.cacheControl, unittest.equals('foo'));
unittest.expect(o.componentCount, unittest.equals(42));
@@ -787,7 +897,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.md5Hash, unittest.equals('foo'));
unittest.expect(o.mediaLink, unittest.equals('foo'));
- checkUnnamed782(o.metadata);
+ checkUnnamed773(o.metadata);
unittest.expect(o.metageneration, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkObjectOwner(o.owner);
@@ -866,14 +976,14 @@
buildCounterObjectAccessControl--;
}
-buildUnnamed783() {
+buildUnnamed774() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed783(core.List<api.ObjectAccessControl> o) {
+checkUnnamed774(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -884,7 +994,7 @@
var o = new api.ObjectAccessControls();
buildCounterObjectAccessControls++;
if (buildCounterObjectAccessControls < 3) {
- o.items = buildUnnamed783();
+ o.items = buildUnnamed774();
o.kind = "foo";
}
buildCounterObjectAccessControls--;
@@ -894,33 +1004,33 @@
checkObjectAccessControls(api.ObjectAccessControls o) {
buildCounterObjectAccessControls++;
if (buildCounterObjectAccessControls < 3) {
- checkUnnamed783(o.items);
+ checkUnnamed774(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterObjectAccessControls--;
}
-buildUnnamed784() {
+buildUnnamed775() {
var o = new core.List<api.Object>();
o.add(buildObject());
o.add(buildObject());
return o;
}
-checkUnnamed784(core.List<api.Object> o) {
+checkUnnamed775(core.List<api.Object> o) {
unittest.expect(o, unittest.hasLength(2));
checkObject(o[0]);
checkObject(o[1]);
}
-buildUnnamed785() {
+buildUnnamed776() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed785(core.List<core.String> o) {
+checkUnnamed776(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -931,10 +1041,10 @@
var o = new api.Objects();
buildCounterObjects++;
if (buildCounterObjects < 3) {
- o.items = buildUnnamed784();
+ o.items = buildUnnamed775();
o.kind = "foo";
o.nextPageToken = "foo";
- o.prefixes = buildUnnamed785();
+ o.prefixes = buildUnnamed776();
}
buildCounterObjects--;
return o;
@@ -943,22 +1053,22 @@
checkObjects(api.Objects o) {
buildCounterObjects++;
if (buildCounterObjects < 3) {
- checkUnnamed784(o.items);
+ checkUnnamed775(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed785(o.prefixes);
+ checkUnnamed776(o.prefixes);
}
buildCounterObjects--;
}
-buildUnnamed786() {
+buildUnnamed777() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed786(core.List<core.String> o) {
+checkUnnamed777(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -969,7 +1079,7 @@
var o = new api.PolicyBindings();
buildCounterPolicyBindings++;
if (buildCounterPolicyBindings < 3) {
- o.members = buildUnnamed786();
+ o.members = buildUnnamed777();
o.role = "foo";
}
buildCounterPolicyBindings--;
@@ -979,20 +1089,20 @@
checkPolicyBindings(api.PolicyBindings o) {
buildCounterPolicyBindings++;
if (buildCounterPolicyBindings < 3) {
- checkUnnamed786(o.members);
+ checkUnnamed777(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterPolicyBindings--;
}
-buildUnnamed787() {
+buildUnnamed778() {
var o = new core.List<api.PolicyBindings>();
o.add(buildPolicyBindings());
o.add(buildPolicyBindings());
return o;
}
-checkUnnamed787(core.List<api.PolicyBindings> o) {
+checkUnnamed778(core.List<api.PolicyBindings> o) {
unittest.expect(o, unittest.hasLength(2));
checkPolicyBindings(o[0]);
checkPolicyBindings(o[1]);
@@ -1003,7 +1113,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed787();
+ o.bindings = buildUnnamed778();
o.etag = "foo";
o.kind = "foo";
o.resourceId = "foo";
@@ -1015,7 +1125,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed787(o.bindings);
+ checkUnnamed778(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.resourceId, unittest.equals('foo'));
@@ -1052,14 +1162,35 @@
buildCounterRewriteResponse--;
}
-buildUnnamed788() {
+core.int buildCounterServiceAccount = 0;
+buildServiceAccount() {
+ var o = new api.ServiceAccount();
+ buildCounterServiceAccount++;
+ if (buildCounterServiceAccount < 3) {
+ o.emailAddress = "foo";
+ o.kind = "foo";
+ }
+ buildCounterServiceAccount--;
+ return o;
+}
+
+checkServiceAccount(api.ServiceAccount o) {
+ buildCounterServiceAccount++;
+ if (buildCounterServiceAccount < 3) {
+ unittest.expect(o.emailAddress, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterServiceAccount--;
+}
+
+buildUnnamed779() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed788(core.List<core.String> o) {
+checkUnnamed779(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1071,7 +1202,7 @@
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
o.kind = "foo";
- o.permissions = buildUnnamed788();
+ o.permissions = buildUnnamed779();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1081,32 +1212,32 @@
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed788(o.permissions);
+ checkUnnamed779(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed789() {
+buildUnnamed780() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed789(core.List<core.String> o) {
+checkUnnamed780(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed790() {
+buildUnnamed781() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed790(core.List<core.String> o) {
+checkUnnamed781(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1276,6 +1407,24 @@
});
+ unittest.group("obj-schema-Notification", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildNotification();
+ var od = new api.Notification.fromJson(o.toJson());
+ checkNotification(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Notifications", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildNotifications();
+ var od = new api.Notifications.fromJson(o.toJson());
+ checkNotifications(od);
+ });
+ });
+
+
unittest.group("obj-schema-ObjectCustomerEncryption", () {
unittest.test("to-json--from-json", () {
var o = buildObjectCustomerEncryption();
@@ -1366,6 +1515,15 @@
});
+ unittest.group("obj-schema-ServiceAccount", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildServiceAccount();
+ var od = new api.ServiceAccount.fromJson(o.toJson());
+ checkServiceAccount(od);
+ });
+ });
+
+
unittest.group("obj-schema-TestIamPermissionsResponse", () {
unittest.test("to-json--from-json", () {
var o = buildTestIamPermissionsResponse();
@@ -2120,7 +2278,7 @@
var mock = new HttpServerMock();
api.BucketsResourceApi res = new api.StorageApi(mock).buckets;
var arg_bucket = "foo";
- var arg_permissions = buildUnnamed789();
+ var arg_permissions = buildUnnamed780();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2639,6 +2797,232 @@
});
+ unittest.group("resource-NotificationsResourceApi", () {
+ unittest.test("method--delete", () {
+
+ var mock = new HttpServerMock();
+ api.NotificationsResourceApi res = new api.StorageApi(mock).notifications;
+ var arg_bucket = "foo";
+ var arg_notification = "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 + 11), unittest.equals("storage/v1/"));
+ pathOffset += 11;
+ unittest.expect(path.substring(pathOffset, pathOffset + 2), unittest.equals("b/"));
+ pathOffset += 2;
+ index = path.indexOf("/notificationConfigs/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_bucket"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.equals("/notificationConfigs/"));
+ pathOffset += 21;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_notification"));
+
+ 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(stringResponse(200, h, resp));
+ }), true);
+ res.delete(arg_bucket, arg_notification).then(unittest.expectAsync((_) {}));
+ });
+
+ unittest.test("method--get", () {
+
+ var mock = new HttpServerMock();
+ api.NotificationsResourceApi res = new api.StorageApi(mock).notifications;
+ var arg_bucket = "foo";
+ var arg_notification = "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 + 11), unittest.equals("storage/v1/"));
+ pathOffset += 11;
+ unittest.expect(path.substring(pathOffset, pathOffset + 2), unittest.equals("b/"));
+ pathOffset += 2;
+ index = path.indexOf("/notificationConfigs/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_bucket"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.equals("/notificationConfigs/"));
+ pathOffset += 21;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_notification"));
+
+ 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(buildNotification());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_bucket, arg_notification).then(unittest.expectAsync(((api.Notification response) {
+ checkNotification(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+
+ var mock = new HttpServerMock();
+ api.NotificationsResourceApi res = new api.StorageApi(mock).notifications;
+ var arg_request = buildNotification();
+ var arg_bucket = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.Notification.fromJson(json);
+ checkNotification(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 + 11), unittest.equals("storage/v1/"));
+ pathOffset += 11;
+ unittest.expect(path.substring(pathOffset, pathOffset + 2), unittest.equals("b/"));
+ pathOffset += 2;
+ index = path.indexOf("/notificationConfigs", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_bucket"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/notificationConfigs"));
+ 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(buildNotification());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.insert(arg_request, arg_bucket).then(unittest.expectAsync(((api.Notification response) {
+ checkNotification(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.NotificationsResourceApi res = new api.StorageApi(mock).notifications;
+ var arg_bucket = "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 + 11), unittest.equals("storage/v1/"));
+ pathOffset += 11;
+ unittest.expect(path.substring(pathOffset, pathOffset + 2), unittest.equals("b/"));
+ pathOffset += 2;
+ index = path.indexOf("/notificationConfigs", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_bucket"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/notificationConfigs"));
+ 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(buildNotifications());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_bucket).then(unittest.expectAsync(((api.Notifications response) {
+ checkNotifications(response);
+ })));
+ });
+
+ });
+
+
unittest.group("resource-ObjectAccessControlsResourceApi", () {
unittest.test("method--delete", () {
@@ -3812,7 +4196,7 @@
api.ObjectsResourceApi res = new api.StorageApi(mock).objects;
var arg_bucket = "foo";
var arg_object = "foo";
- var arg_permissions = buildUnnamed790();
+ var arg_permissions = buildUnnamed781();
var arg_generation = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4020,5 +4404,62 @@
});
+ unittest.group("resource-ProjectsServiceAccountResourceApi", () {
+ unittest.test("method--get", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsServiceAccountResourceApi res = new api.StorageApi(mock).projects.serviceAccount;
+ var arg_projectId = "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 + 11), unittest.equals("storage/v1/"));
+ pathOffset += 11;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("projects/"));
+ pathOffset += 9;
+ index = path.indexOf("/serviceAccount", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/serviceAccount"));
+ 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(buildServiceAccount());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_projectId).then(unittest.expectAsync(((api.ServiceAccount response) {
+ checkServiceAccount(response);
+ })));
+ });
+
+ });
+
+
}
diff --git a/generated/googleapis/test/storagetransfer/v1_test.dart b/generated/googleapis/test/storagetransfer/v1_test.dart
index 57c9d5d..c438498 100644
--- a/generated/googleapis/test/storagetransfer/v1_test.dart
+++ b/generated/googleapis/test/storagetransfer/v1_test.dart
@@ -133,14 +133,14 @@
buildCounterEmpty--;
}
-buildUnnamed1258() {
+buildUnnamed1253() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1258(core.List<core.String> o) {
+checkUnnamed1253(core.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 @@
var o = new api.ErrorLogEntry();
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- o.errorDetails = buildUnnamed1258();
+ o.errorDetails = buildUnnamed1253();
o.url = "foo";
}
buildCounterErrorLogEntry--;
@@ -161,20 +161,20 @@
checkErrorLogEntry(api.ErrorLogEntry o) {
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- checkUnnamed1258(o.errorDetails);
+ checkUnnamed1253(o.errorDetails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterErrorLogEntry--;
}
-buildUnnamed1259() {
+buildUnnamed1254() {
var o = new core.List<api.ErrorLogEntry>();
o.add(buildErrorLogEntry());
o.add(buildErrorLogEntry());
return o;
}
-checkUnnamed1259(core.List<api.ErrorLogEntry> o) {
+checkUnnamed1254(core.List<api.ErrorLogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorLogEntry(o[0]);
checkErrorLogEntry(o[1]);
@@ -187,7 +187,7 @@
if (buildCounterErrorSummary < 3) {
o.errorCode = "foo";
o.errorCount = "foo";
- o.errorLogEntries = buildUnnamed1259();
+ o.errorLogEntries = buildUnnamed1254();
}
buildCounterErrorSummary--;
return o;
@@ -198,7 +198,7 @@
if (buildCounterErrorSummary < 3) {
unittest.expect(o.errorCode, unittest.equals('foo'));
unittest.expect(o.errorCount, unittest.equals('foo'));
- checkUnnamed1259(o.errorLogEntries);
+ checkUnnamed1254(o.errorLogEntries);
}
buildCounterErrorSummary--;
}
@@ -260,14 +260,14 @@
buildCounterHttpData--;
}
-buildUnnamed1260() {
+buildUnnamed1255() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1260(core.List<api.Operation> o) {
+checkUnnamed1255(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -279,7 +279,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1260();
+ o.operations = buildUnnamed1255();
}
buildCounterListOperationsResponse--;
return o;
@@ -289,19 +289,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1260(o.operations);
+ checkUnnamed1255(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1261() {
+buildUnnamed1256() {
var o = new core.List<api.TransferJob>();
o.add(buildTransferJob());
o.add(buildTransferJob());
return o;
}
-checkUnnamed1261(core.List<api.TransferJob> o) {
+checkUnnamed1256(core.List<api.TransferJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferJob(o[0]);
checkTransferJob(o[1]);
@@ -313,7 +313,7 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
o.nextPageToken = "foo";
- o.transferJobs = buildUnnamed1261();
+ o.transferJobs = buildUnnamed1256();
}
buildCounterListTransferJobsResponse--;
return o;
@@ -323,32 +323,32 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1261(o.transferJobs);
+ checkUnnamed1256(o.transferJobs);
}
buildCounterListTransferJobsResponse--;
}
-buildUnnamed1262() {
+buildUnnamed1257() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1262(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'));
}
-buildUnnamed1263() {
+buildUnnamed1258() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1263(core.List<core.String> o) {
+checkUnnamed1258(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -359,8 +359,8 @@
var o = new api.ObjectConditions();
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- o.excludePrefixes = buildUnnamed1262();
- o.includePrefixes = buildUnnamed1263();
+ o.excludePrefixes = buildUnnamed1257();
+ o.includePrefixes = buildUnnamed1258();
o.maxTimeElapsedSinceLastModification = "foo";
o.minTimeElapsedSinceLastModification = "foo";
}
@@ -371,35 +371,35 @@
checkObjectConditions(api.ObjectConditions o) {
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- checkUnnamed1262(o.excludePrefixes);
- checkUnnamed1263(o.includePrefixes);
+ checkUnnamed1257(o.excludePrefixes);
+ checkUnnamed1258(o.includePrefixes);
unittest.expect(o.maxTimeElapsedSinceLastModification, unittest.equals('foo'));
unittest.expect(o.minTimeElapsedSinceLastModification, unittest.equals('foo'));
}
buildCounterObjectConditions--;
}
-buildUnnamed1264() {
+buildUnnamed1259() {
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;
}
-checkUnnamed1264(core.Map<core.String, core.Object> o) {
+checkUnnamed1259(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'));
}
-buildUnnamed1265() {
+buildUnnamed1260() {
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;
}
-checkUnnamed1265(core.Map<core.String, core.Object> o) {
+checkUnnamed1260(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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["y"]) 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'));
@@ -412,9 +412,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1264();
+ o.metadata = buildUnnamed1259();
o.name = "foo";
- o.response = buildUnnamed1265();
+ o.response = buildUnnamed1260();
}
buildCounterOperation--;
return o;
@@ -425,9 +425,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1264(o.metadata);
+ checkUnnamed1259(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1265(o.response);
+ checkUnnamed1260(o.response);
}
buildCounterOperation--;
}
@@ -489,30 +489,30 @@
buildCounterSchedule--;
}
-buildUnnamed1266() {
+buildUnnamed1261() {
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;
}
-checkUnnamed1266(core.Map<core.String, core.Object> o) {
+checkUnnamed1261(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed1267() {
+buildUnnamed1262() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1266());
- o.add(buildUnnamed1266());
+ o.add(buildUnnamed1261());
+ o.add(buildUnnamed1261());
return o;
}
-checkUnnamed1267(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1262(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1266(o[0]);
- checkUnnamed1266(o[1]);
+ checkUnnamed1261(o[0]);
+ checkUnnamed1261(o[1]);
}
core.int buildCounterStatus = 0;
@@ -521,7 +521,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1267();
+ o.details = buildUnnamed1262();
o.message = "foo";
}
buildCounterStatus--;
@@ -532,7 +532,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1267(o.details);
+ checkUnnamed1262(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -647,14 +647,14 @@
buildCounterTransferJob--;
}
-buildUnnamed1268() {
+buildUnnamed1263() {
var o = new core.List<api.ErrorSummary>();
o.add(buildErrorSummary());
o.add(buildErrorSummary());
return o;
}
-checkUnnamed1268(core.List<api.ErrorSummary> o) {
+checkUnnamed1263(core.List<api.ErrorSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorSummary(o[0]);
checkErrorSummary(o[1]);
@@ -667,7 +667,7 @@
if (buildCounterTransferOperation < 3) {
o.counters = buildTransferCounters();
o.endTime = "foo";
- o.errorBreakdowns = buildUnnamed1268();
+ o.errorBreakdowns = buildUnnamed1263();
o.name = "foo";
o.projectId = "foo";
o.startTime = "foo";
@@ -684,7 +684,7 @@
if (buildCounterTransferOperation < 3) {
checkTransferCounters(o.counters);
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed1268(o.errorBreakdowns);
+ checkUnnamed1263(o.errorBreakdowns);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -1138,9 +1138,9 @@
var mock = new HttpServerMock();
api.TransferJobsResourceApi res = new api.StoragetransferApi(mock).transferJobs;
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1167,9 +1167,9 @@
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["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -1178,7 +1178,7 @@
var resp = convert.JSON.encode(buildListTransferJobsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(filter: arg_filter, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListTransferJobsResponse response) {
+ res.list(pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListTransferJobsResponse response) {
checkListTransferJobsResponse(response);
})));
});
@@ -1377,8 +1377,8 @@
api.TransferOperationsResourceApi res = new api.StoragetransferApi(mock).transferOperations;
var arg_name = "foo";
var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1407,8 +1407,8 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1417,7 +1417,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, filter: arg_filter, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -1523,54 +1523,5 @@
});
- unittest.group("resource-V1ResourceApi", () {
- unittest.test("method--getGoogleServiceAccount", () {
-
- var mock = new HttpServerMock();
- api.V1ResourceApi res = new api.StoragetransferApi(mock).v1;
- var arg_projectId = "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 + 26), unittest.equals("v1:getGoogleServiceAccount"));
- pathOffset += 26;
-
- 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["projectId"].first, unittest.equals(arg_projectId));
-
-
- var h = {
- "content-type" : "application/json; charset=utf-8",
- };
- var resp = convert.JSON.encode(buildGoogleServiceAccount());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.getGoogleServiceAccount(projectId: arg_projectId).then(unittest.expectAsync(((api.GoogleServiceAccount response) {
- checkGoogleServiceAccount(response);
- })));
- });
-
- });
-
-
}
diff --git a/generated/googleapis/test/surveys/v2_test.dart b/generated/googleapis/test/surveys/v2_test.dart
index ab082b5..73867a1 100644
--- a/generated/googleapis/test/surveys/v2_test.dart
+++ b/generated/googleapis/test/surveys/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1993() {
+buildUnnamed2005() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed1993(core.List<api.FieldMask> o) {
+checkUnnamed2005(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -69,7 +69,7 @@
var o = new api.FieldMask();
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- o.fields = buildUnnamed1993();
+ o.fields = buildUnnamed2005();
o.id = 42;
}
buildCounterFieldMask--;
@@ -79,20 +79,20 @@
checkFieldMask(api.FieldMask o) {
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- checkUnnamed1993(o.fields);
+ checkUnnamed2005(o.fields);
unittest.expect(o.id, unittest.equals(42));
}
buildCounterFieldMask--;
}
-buildUnnamed1994() {
+buildUnnamed2006() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1994(core.List<core.String> o) {
+checkUnnamed2006(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -108,7 +108,7 @@
o.language = "foo";
o.mobileAppPanelId = "foo";
o.name = "foo";
- o.owners = buildUnnamed1994();
+ o.owners = buildUnnamed2006();
}
buildCounterMobileAppPanel--;
return o;
@@ -122,19 +122,19 @@
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1994(o.owners);
+ checkUnnamed2006(o.owners);
}
buildCounterMobileAppPanel--;
}
-buildUnnamed1995() {
+buildUnnamed2007() {
var o = new core.List<api.MobileAppPanel>();
o.add(buildMobileAppPanel());
o.add(buildMobileAppPanel());
return o;
}
-checkUnnamed1995(core.List<api.MobileAppPanel> o) {
+checkUnnamed2007(core.List<api.MobileAppPanel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileAppPanel(o[0]);
checkMobileAppPanel(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed1995();
+ o.resources = buildUnnamed2007();
o.tokenPagination = buildTokenPagination();
}
buildCounterMobileAppPanelsListResponse--;
@@ -159,7 +159,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed1995(o.resources);
+ checkUnnamed2007(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterMobileAppPanelsListResponse--;
@@ -207,14 +207,14 @@
buildCounterResultsGetRequest--;
}
-buildUnnamed1996() {
+buildUnnamed2008() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed1996(core.List<api.FieldMask> o) {
+checkUnnamed2008(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -225,7 +225,7 @@
var o = new api.ResultsMask();
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- o.fields = buildUnnamed1996();
+ o.fields = buildUnnamed2008();
o.projection = "foo";
}
buildCounterResultsMask--;
@@ -235,33 +235,33 @@
checkResultsMask(api.ResultsMask o) {
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- checkUnnamed1996(o.fields);
+ checkUnnamed2008(o.fields);
unittest.expect(o.projection, unittest.equals('foo'));
}
buildCounterResultsMask--;
}
-buildUnnamed1997() {
+buildUnnamed2009() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1997(core.List<core.String> o) {
+checkUnnamed2009(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1998() {
+buildUnnamed2010() {
var o = new core.List<api.SurveyQuestion>();
o.add(buildSurveyQuestion());
o.add(buildSurveyQuestion());
return o;
}
-checkUnnamed1998(core.List<api.SurveyQuestion> o) {
+checkUnnamed2010(core.List<api.SurveyQuestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestion(o[0]);
checkSurveyQuestion(o[1]);
@@ -276,8 +276,8 @@
o.cost = buildSurveyCost();
o.customerData = "foo";
o.description = "foo";
- o.owners = buildUnnamed1997();
- o.questions = buildUnnamed1998();
+ o.owners = buildUnnamed2009();
+ o.questions = buildUnnamed2010();
o.rejectionReason = buildSurveyRejection();
o.state = "foo";
o.surveyUrlId = "foo";
@@ -295,8 +295,8 @@
checkSurveyCost(o.cost);
unittest.expect(o.customerData, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1997(o.owners);
- checkUnnamed1998(o.questions);
+ checkUnnamed2009(o.owners);
+ checkUnnamed2010(o.questions);
checkSurveyRejection(o.rejectionReason);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.surveyUrlId, unittest.equals('foo'));
@@ -306,27 +306,27 @@
buildCounterSurvey--;
}
-buildUnnamed1999() {
+buildUnnamed2011() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1999(core.List<core.String> o) {
+checkUnnamed2011(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2000() {
+buildUnnamed2012() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2000(core.List<core.String> o) {
+checkUnnamed2012(core.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,11 +337,11 @@
var o = new api.SurveyAudience();
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- o.ages = buildUnnamed1999();
+ o.ages = buildUnnamed2011();
o.country = "foo";
o.countrySubdivision = "foo";
o.gender = "foo";
- o.languages = buildUnnamed2000();
+ o.languages = buildUnnamed2012();
o.mobileAppPanelId = "foo";
o.populationSource = "foo";
}
@@ -352,11 +352,11 @@
checkSurveyAudience(api.SurveyAudience o) {
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- checkUnnamed1999(o.ages);
+ checkUnnamed2011(o.ages);
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.countrySubdivision, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed2000(o.languages);
+ checkUnnamed2012(o.languages);
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.populationSource, unittest.equals('foo'));
}
@@ -388,53 +388,53 @@
buildCounterSurveyCost--;
}
-buildUnnamed2001() {
+buildUnnamed2013() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2001(core.List<core.String> o) {
+checkUnnamed2013(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2002() {
+buildUnnamed2014() {
var o = new core.List<api.SurveyQuestionImage>();
o.add(buildSurveyQuestionImage());
o.add(buildSurveyQuestionImage());
return o;
}
-checkUnnamed2002(core.List<api.SurveyQuestionImage> o) {
+checkUnnamed2014(core.List<api.SurveyQuestionImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestionImage(o[0]);
checkSurveyQuestionImage(o[1]);
}
-buildUnnamed2003() {
+buildUnnamed2015() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2003(core.List<core.String> o) {
+checkUnnamed2015(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2004() {
+buildUnnamed2016() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2004(core.List<core.String> o) {
+checkUnnamed2016(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -446,20 +446,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
o.answerOrder = "foo";
- o.answers = buildUnnamed2001();
+ o.answers = buildUnnamed2013();
o.hasOther = true;
o.highValueLabel = "foo";
- o.images = buildUnnamed2002();
+ o.images = buildUnnamed2014();
o.lastAnswerPositionPinned = true;
o.lowValueLabel = "foo";
o.mustPickSuggestion = true;
o.numStars = "foo";
o.openTextPlaceholder = "foo";
- o.openTextSuggestions = buildUnnamed2003();
+ o.openTextSuggestions = buildUnnamed2015();
o.question = "foo";
o.sentimentText = "foo";
o.singleLineResponse = true;
- o.thresholdAnswers = buildUnnamed2004();
+ o.thresholdAnswers = buildUnnamed2016();
o.type = "foo";
o.unitOfMeasurementLabel = "foo";
o.videoId = "foo";
@@ -472,20 +472,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
unittest.expect(o.answerOrder, unittest.equals('foo'));
- checkUnnamed2001(o.answers);
+ checkUnnamed2013(o.answers);
unittest.expect(o.hasOther, unittest.isTrue);
unittest.expect(o.highValueLabel, unittest.equals('foo'));
- checkUnnamed2002(o.images);
+ checkUnnamed2014(o.images);
unittest.expect(o.lastAnswerPositionPinned, unittest.isTrue);
unittest.expect(o.lowValueLabel, unittest.equals('foo'));
unittest.expect(o.mustPickSuggestion, unittest.isTrue);
unittest.expect(o.numStars, unittest.equals('foo'));
unittest.expect(o.openTextPlaceholder, unittest.equals('foo'));
- checkUnnamed2003(o.openTextSuggestions);
+ checkUnnamed2015(o.openTextSuggestions);
unittest.expect(o.question, unittest.equals('foo'));
unittest.expect(o.sentimentText, unittest.equals('foo'));
unittest.expect(o.singleLineResponse, unittest.isTrue);
- checkUnnamed2004(o.thresholdAnswers);
+ checkUnnamed2016(o.thresholdAnswers);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unitOfMeasurementLabel, unittest.equals('foo'));
unittest.expect(o.videoId, unittest.equals('foo'));
@@ -577,14 +577,14 @@
buildCounterSurveysDeleteResponse--;
}
-buildUnnamed2005() {
+buildUnnamed2017() {
var o = new core.List<api.Survey>();
o.add(buildSurvey());
o.add(buildSurvey());
return o;
}
-checkUnnamed2005(core.List<api.Survey> o) {
+checkUnnamed2017(core.List<api.Survey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurvey(o[0]);
checkSurvey(o[1]);
@@ -597,7 +597,7 @@
if (buildCounterSurveysListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed2005();
+ o.resources = buildUnnamed2017();
o.tokenPagination = buildTokenPagination();
}
buildCounterSurveysListResponse--;
@@ -609,7 +609,7 @@
if (buildCounterSurveysListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed2005(o.resources);
+ checkUnnamed2017(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterSurveysListResponse--;
@@ -640,7 +640,6 @@
buildCounterSurveysStartResponse++;
if (buildCounterSurveysStartResponse < 3) {
o.requestId = "foo";
- o.resource = buildSurvey();
}
buildCounterSurveysStartResponse--;
return o;
@@ -650,7 +649,6 @@
buildCounterSurveysStartResponse++;
if (buildCounterSurveysStartResponse < 3) {
unittest.expect(o.requestId, unittest.equals('foo'));
- checkSurvey(o.resource);
}
buildCounterSurveysStartResponse--;
}
@@ -661,7 +659,6 @@
buildCounterSurveysStopResponse++;
if (buildCounterSurveysStopResponse < 3) {
o.requestId = "foo";
- o.resource = buildSurvey();
}
buildCounterSurveysStopResponse--;
return o;
@@ -671,7 +668,6 @@
buildCounterSurveysStopResponse++;
if (buildCounterSurveysStopResponse < 3) {
unittest.expect(o.requestId, unittest.equals('foo'));
- checkSurvey(o.resource);
}
buildCounterSurveysStopResponse--;
}
diff --git a/generated/googleapis/test/tagmanager/v1_test.dart b/generated/googleapis/test/tagmanager/v1_test.dart
index bb3abd4..2931502 100644
--- a/generated/googleapis/test/tagmanager/v1_test.dart
+++ b/generated/googleapis/test/tagmanager/v1_test.dart
@@ -76,6 +76,85 @@
buildCounterAccount--;
}
+buildUnnamed1423() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1423(core.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 buildCounterAccountAccess = 0;
+buildAccountAccess() {
+ var o = new api.AccountAccess();
+ buildCounterAccountAccess++;
+ if (buildCounterAccountAccess < 3) {
+ o.permission = buildUnnamed1423();
+ }
+ buildCounterAccountAccess--;
+ return o;
+}
+
+checkAccountAccess(api.AccountAccess o) {
+ buildCounterAccountAccess++;
+ if (buildCounterAccountAccess < 3) {
+ checkUnnamed1423(o.permission);
+ }
+ buildCounterAccountAccess--;
+}
+
+buildUnnamed1424() {
+ var o = new core.List<api.Parameter>();
+ o.add(buildParameter());
+ o.add(buildParameter());
+ return o;
+}
+
+checkUnnamed1424(core.List<api.Parameter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkParameter(o[0]);
+ checkParameter(o[1]);
+}
+
+core.int buildCounterCondition = 0;
+buildCondition() {
+ var o = new api.Condition();
+ buildCounterCondition++;
+ if (buildCounterCondition < 3) {
+ o.parameter = buildUnnamed1424();
+ o.type = "foo";
+ }
+ buildCounterCondition--;
+ return o;
+}
+
+checkCondition(api.Condition o) {
+ buildCounterCondition++;
+ if (buildCounterCondition < 3) {
+ checkUnnamed1424(o.parameter);
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterCondition--;
+}
+
+buildUnnamed1425() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1425(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
buildUnnamed1426() {
var o = new core.List<core.String>();
o.add("foo");
@@ -89,57 +168,56 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterAccountAccess = 0;
-buildAccountAccess() {
- var o = new api.AccountAccess();
- buildCounterAccountAccess++;
- if (buildCounterAccountAccess < 3) {
- o.permission = buildUnnamed1426();
- }
- buildCounterAccountAccess--;
- return o;
-}
-
-checkAccountAccess(api.AccountAccess o) {
- buildCounterAccountAccess++;
- if (buildCounterAccountAccess < 3) {
- checkUnnamed1426(o.permission);
- }
- buildCounterAccountAccess--;
-}
-
buildUnnamed1427() {
- var o = new core.List<api.Parameter>();
- o.add(buildParameter());
- o.add(buildParameter());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed1427(core.List<api.Parameter> o) {
+checkUnnamed1427(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkParameter(o[0]);
- checkParameter(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterCondition = 0;
-buildCondition() {
- var o = new api.Condition();
- buildCounterCondition++;
- if (buildCounterCondition < 3) {
- o.parameter = buildUnnamed1427();
- o.type = "foo";
+core.int buildCounterContainer = 0;
+buildContainer() {
+ var o = new api.Container();
+ buildCounterContainer++;
+ if (buildCounterContainer < 3) {
+ o.accountId = "foo";
+ o.containerId = "foo";
+ o.domainName = buildUnnamed1425();
+ o.enabledBuiltInVariable = buildUnnamed1426();
+ o.fingerprint = "foo";
+ o.name = "foo";
+ o.notes = "foo";
+ o.publicId = "foo";
+ o.timeZoneCountryId = "foo";
+ o.timeZoneId = "foo";
+ o.usageContext = buildUnnamed1427();
}
- buildCounterCondition--;
+ buildCounterContainer--;
return o;
}
-checkCondition(api.Condition o) {
- buildCounterCondition++;
- if (buildCounterCondition < 3) {
- checkUnnamed1427(o.parameter);
- unittest.expect(o.type, unittest.equals('foo'));
+checkContainer(api.Container o) {
+ buildCounterContainer++;
+ if (buildCounterContainer < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.containerId, unittest.equals('foo'));
+ checkUnnamed1425(o.domainName);
+ checkUnnamed1426(o.enabledBuiltInVariable);
+ unittest.expect(o.fingerprint, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.notes, unittest.equals('foo'));
+ unittest.expect(o.publicId, unittest.equals('foo'));
+ unittest.expect(o.timeZoneCountryId, unittest.equals('foo'));
+ unittest.expect(o.timeZoneId, unittest.equals('foo'));
+ checkUnnamed1427(o.usageContext);
}
- buildCounterCondition--;
+ buildCounterContainer--;
}
buildUnnamed1428() {
@@ -155,91 +233,13 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1429() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1429(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1430() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1430(core.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 buildCounterContainer = 0;
-buildContainer() {
- var o = new api.Container();
- buildCounterContainer++;
- if (buildCounterContainer < 3) {
- o.accountId = "foo";
- o.containerId = "foo";
- o.domainName = buildUnnamed1428();
- o.enabledBuiltInVariable = buildUnnamed1429();
- o.fingerprint = "foo";
- o.name = "foo";
- o.notes = "foo";
- o.publicId = "foo";
- o.timeZoneCountryId = "foo";
- o.timeZoneId = "foo";
- o.usageContext = buildUnnamed1430();
- }
- buildCounterContainer--;
- return o;
-}
-
-checkContainer(api.Container o) {
- buildCounterContainer++;
- if (buildCounterContainer < 3) {
- unittest.expect(o.accountId, unittest.equals('foo'));
- unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1428(o.domainName);
- checkUnnamed1429(o.enabledBuiltInVariable);
- unittest.expect(o.fingerprint, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.notes, unittest.equals('foo'));
- unittest.expect(o.publicId, unittest.equals('foo'));
- unittest.expect(o.timeZoneCountryId, unittest.equals('foo'));
- unittest.expect(o.timeZoneId, unittest.equals('foo'));
- checkUnnamed1430(o.usageContext);
- }
- buildCounterContainer--;
-}
-
-buildUnnamed1431() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1431(core.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 buildCounterContainerAccess = 0;
buildContainerAccess() {
var o = new api.ContainerAccess();
buildCounterContainerAccess++;
if (buildCounterContainerAccess < 3) {
o.containerId = "foo";
- o.permission = buildUnnamed1431();
+ o.permission = buildUnnamed1428();
}
buildCounterContainerAccess--;
return o;
@@ -249,84 +249,84 @@
buildCounterContainerAccess++;
if (buildCounterContainerAccess < 3) {
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1431(o.permission);
+ checkUnnamed1428(o.permission);
}
buildCounterContainerAccess--;
}
-buildUnnamed1432() {
+buildUnnamed1429() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1432(core.List<api.Folder> o) {
+checkUnnamed1429(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
}
-buildUnnamed1433() {
+buildUnnamed1430() {
var o = new core.List<api.Macro>();
o.add(buildMacro());
o.add(buildMacro());
return o;
}
-checkUnnamed1433(core.List<api.Macro> o) {
+checkUnnamed1430(core.List<api.Macro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMacro(o[0]);
checkMacro(o[1]);
}
-buildUnnamed1434() {
+buildUnnamed1431() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1434(core.List<api.Rule> o) {
+checkUnnamed1431(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
}
-buildUnnamed1435() {
+buildUnnamed1432() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1435(core.List<api.Tag> o) {
+checkUnnamed1432(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1436() {
+buildUnnamed1433() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1436(core.List<api.Trigger> o) {
+checkUnnamed1433(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1437() {
+buildUnnamed1434() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1437(core.List<api.Variable> o) {
+checkUnnamed1434(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -343,14 +343,14 @@
o.containerVersionId = "foo";
o.deleted = true;
o.fingerprint = "foo";
- o.folder = buildUnnamed1432();
- o.macro = buildUnnamed1433();
+ o.folder = buildUnnamed1429();
+ o.macro = buildUnnamed1430();
o.name = "foo";
o.notes = "foo";
- o.rule = buildUnnamed1434();
- o.tag = buildUnnamed1435();
- o.trigger = buildUnnamed1436();
- o.variable = buildUnnamed1437();
+ o.rule = buildUnnamed1431();
+ o.tag = buildUnnamed1432();
+ o.trigger = buildUnnamed1433();
+ o.variable = buildUnnamed1434();
}
buildCounterContainerVersion--;
return o;
@@ -365,14 +365,14 @@
unittest.expect(o.containerVersionId, unittest.equals('foo'));
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1432(o.folder);
- checkUnnamed1433(o.macro);
+ checkUnnamed1429(o.folder);
+ checkUnnamed1430(o.macro);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1434(o.rule);
- checkUnnamed1435(o.tag);
- checkUnnamed1436(o.trigger);
- checkUnnamed1437(o.variable);
+ checkUnnamed1431(o.rule);
+ checkUnnamed1432(o.tag);
+ checkUnnamed1433(o.trigger);
+ checkUnnamed1434(o.variable);
}
buildCounterContainerVersion--;
}
@@ -526,40 +526,40 @@
buildCounterFolder--;
}
-buildUnnamed1438() {
+buildUnnamed1435() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1438(core.List<api.Tag> o) {
+checkUnnamed1435(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1439() {
+buildUnnamed1436() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1439(core.List<api.Trigger> o) {
+checkUnnamed1436(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1440() {
+buildUnnamed1437() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1440(core.List<api.Variable> o) {
+checkUnnamed1437(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -570,9 +570,9 @@
var o = new api.FolderEntities();
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
- o.tag = buildUnnamed1438();
- o.trigger = buildUnnamed1439();
- o.variable = buildUnnamed1440();
+ o.tag = buildUnnamed1435();
+ o.trigger = buildUnnamed1436();
+ o.variable = buildUnnamed1437();
}
buildCounterFolderEntities--;
return o;
@@ -581,21 +581,21 @@
checkFolderEntities(api.FolderEntities o) {
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
- checkUnnamed1438(o.tag);
- checkUnnamed1439(o.trigger);
- checkUnnamed1440(o.variable);
+ checkUnnamed1435(o.tag);
+ checkUnnamed1436(o.trigger);
+ checkUnnamed1437(o.variable);
}
buildCounterFolderEntities--;
}
-buildUnnamed1441() {
+buildUnnamed1438() {
var o = new core.List<api.UserAccess>();
o.add(buildUserAccess());
o.add(buildUserAccess());
return o;
}
-checkUnnamed1441(core.List<api.UserAccess> o) {
+checkUnnamed1438(core.List<api.UserAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserAccess(o[0]);
checkUserAccess(o[1]);
@@ -606,7 +606,7 @@
var o = new api.ListAccountUsersResponse();
buildCounterListAccountUsersResponse++;
if (buildCounterListAccountUsersResponse < 3) {
- o.userAccess = buildUnnamed1441();
+ o.userAccess = buildUnnamed1438();
}
buildCounterListAccountUsersResponse--;
return o;
@@ -615,19 +615,19 @@
checkListAccountUsersResponse(api.ListAccountUsersResponse o) {
buildCounterListAccountUsersResponse++;
if (buildCounterListAccountUsersResponse < 3) {
- checkUnnamed1441(o.userAccess);
+ checkUnnamed1438(o.userAccess);
}
buildCounterListAccountUsersResponse--;
}
-buildUnnamed1442() {
+buildUnnamed1439() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1442(core.List<api.Account> o) {
+checkUnnamed1439(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -638,7 +638,7 @@
var o = new api.ListAccountsResponse();
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- o.accounts = buildUnnamed1442();
+ o.accounts = buildUnnamed1439();
}
buildCounterListAccountsResponse--;
return o;
@@ -647,32 +647,32 @@
checkListAccountsResponse(api.ListAccountsResponse o) {
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- checkUnnamed1442(o.accounts);
+ checkUnnamed1439(o.accounts);
}
buildCounterListAccountsResponse--;
}
-buildUnnamed1443() {
+buildUnnamed1440() {
var o = new core.List<api.ContainerVersion>();
o.add(buildContainerVersion());
o.add(buildContainerVersion());
return o;
}
-checkUnnamed1443(core.List<api.ContainerVersion> o) {
+checkUnnamed1440(core.List<api.ContainerVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersion(o[0]);
checkContainerVersion(o[1]);
}
-buildUnnamed1444() {
+buildUnnamed1441() {
var o = new core.List<api.ContainerVersionHeader>();
o.add(buildContainerVersionHeader());
o.add(buildContainerVersionHeader());
return o;
}
-checkUnnamed1444(core.List<api.ContainerVersionHeader> o) {
+checkUnnamed1441(core.List<api.ContainerVersionHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersionHeader(o[0]);
checkContainerVersionHeader(o[1]);
@@ -683,8 +683,8 @@
var o = new api.ListContainerVersionsResponse();
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- o.containerVersion = buildUnnamed1443();
- o.containerVersionHeader = buildUnnamed1444();
+ o.containerVersion = buildUnnamed1440();
+ o.containerVersionHeader = buildUnnamed1441();
}
buildCounterListContainerVersionsResponse--;
return o;
@@ -693,20 +693,20 @@
checkListContainerVersionsResponse(api.ListContainerVersionsResponse o) {
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- checkUnnamed1443(o.containerVersion);
- checkUnnamed1444(o.containerVersionHeader);
+ checkUnnamed1440(o.containerVersion);
+ checkUnnamed1441(o.containerVersionHeader);
}
buildCounterListContainerVersionsResponse--;
}
-buildUnnamed1445() {
+buildUnnamed1442() {
var o = new core.List<api.Container>();
o.add(buildContainer());
o.add(buildContainer());
return o;
}
-checkUnnamed1445(core.List<api.Container> o) {
+checkUnnamed1442(core.List<api.Container> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainer(o[0]);
checkContainer(o[1]);
@@ -717,7 +717,7 @@
var o = new api.ListContainersResponse();
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- o.containers = buildUnnamed1445();
+ o.containers = buildUnnamed1442();
}
buildCounterListContainersResponse--;
return o;
@@ -726,19 +726,19 @@
checkListContainersResponse(api.ListContainersResponse o) {
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- checkUnnamed1445(o.containers);
+ checkUnnamed1442(o.containers);
}
buildCounterListContainersResponse--;
}
-buildUnnamed1446() {
+buildUnnamed1443() {
var o = new core.List<api.Environment>();
o.add(buildEnvironment());
o.add(buildEnvironment());
return o;
}
-checkUnnamed1446(core.List<api.Environment> o) {
+checkUnnamed1443(core.List<api.Environment> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvironment(o[0]);
checkEnvironment(o[1]);
@@ -749,7 +749,7 @@
var o = new api.ListEnvironmentsResponse();
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- o.environments = buildUnnamed1446();
+ o.environments = buildUnnamed1443();
}
buildCounterListEnvironmentsResponse--;
return o;
@@ -758,19 +758,19 @@
checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) {
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- checkUnnamed1446(o.environments);
+ checkUnnamed1443(o.environments);
}
buildCounterListEnvironmentsResponse--;
}
-buildUnnamed1447() {
+buildUnnamed1444() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1447(core.List<api.Folder> o) {
+checkUnnamed1444(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -781,7 +781,7 @@
var o = new api.ListFoldersResponse();
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- o.folders = buildUnnamed1447();
+ o.folders = buildUnnamed1444();
}
buildCounterListFoldersResponse--;
return o;
@@ -790,19 +790,19 @@
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed1447(o.folders);
+ checkUnnamed1444(o.folders);
}
buildCounterListFoldersResponse--;
}
-buildUnnamed1448() {
+buildUnnamed1445() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1448(core.List<api.Tag> o) {
+checkUnnamed1445(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
@@ -813,7 +813,7 @@
var o = new api.ListTagsResponse();
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
- o.tags = buildUnnamed1448();
+ o.tags = buildUnnamed1445();
}
buildCounterListTagsResponse--;
return o;
@@ -822,19 +822,19 @@
checkListTagsResponse(api.ListTagsResponse o) {
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
- checkUnnamed1448(o.tags);
+ checkUnnamed1445(o.tags);
}
buildCounterListTagsResponse--;
}
-buildUnnamed1449() {
+buildUnnamed1446() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1449(core.List<api.Trigger> o) {
+checkUnnamed1446(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
@@ -845,7 +845,7 @@
var o = new api.ListTriggersResponse();
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
- o.triggers = buildUnnamed1449();
+ o.triggers = buildUnnamed1446();
}
buildCounterListTriggersResponse--;
return o;
@@ -854,19 +854,19 @@
checkListTriggersResponse(api.ListTriggersResponse o) {
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
- checkUnnamed1449(o.triggers);
+ checkUnnamed1446(o.triggers);
}
buildCounterListTriggersResponse--;
}
-buildUnnamed1450() {
+buildUnnamed1447() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1450(core.List<api.Variable> o) {
+checkUnnamed1447(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -877,7 +877,7 @@
var o = new api.ListVariablesResponse();
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
- o.variables = buildUnnamed1450();
+ o.variables = buildUnnamed1447();
}
buildCounterListVariablesResponse--;
return o;
@@ -886,45 +886,45 @@
checkListVariablesResponse(api.ListVariablesResponse o) {
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
- checkUnnamed1450(o.variables);
+ checkUnnamed1447(o.variables);
}
buildCounterListVariablesResponse--;
}
-buildUnnamed1451() {
+buildUnnamed1448() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1451(core.List<core.String> o) {
+checkUnnamed1448(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1452() {
+buildUnnamed1449() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1452(core.List<core.String> o) {
+checkUnnamed1449(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1453() {
+buildUnnamed1450() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1453(core.List<api.Parameter> o) {
+checkUnnamed1450(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -937,13 +937,13 @@
if (buildCounterMacro < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.disablingRuleId = buildUnnamed1451();
- o.enablingRuleId = buildUnnamed1452();
+ o.disablingRuleId = buildUnnamed1448();
+ o.enablingRuleId = buildUnnamed1449();
o.fingerprint = "foo";
o.macroId = "foo";
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1453();
+ o.parameter = buildUnnamed1450();
o.parentFolderId = "foo";
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
@@ -958,13 +958,13 @@
if (buildCounterMacro < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1451(o.disablingRuleId);
- checkUnnamed1452(o.enablingRuleId);
+ checkUnnamed1448(o.disablingRuleId);
+ checkUnnamed1449(o.enablingRuleId);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.macroId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1453(o.parameter);
+ checkUnnamed1450(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
@@ -973,27 +973,27 @@
buildCounterMacro--;
}
-buildUnnamed1454() {
+buildUnnamed1451() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1454(core.List<api.Parameter> o) {
+checkUnnamed1451(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed1455() {
+buildUnnamed1452() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1455(core.List<api.Parameter> o) {
+checkUnnamed1452(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1005,8 +1005,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
o.key = "foo";
- o.list = buildUnnamed1454();
- o.map = buildUnnamed1455();
+ o.list = buildUnnamed1451();
+ o.map = buildUnnamed1452();
o.type = "foo";
o.value = "foo";
}
@@ -1018,8 +1018,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1454(o.list);
- checkUnnamed1455(o.map);
+ checkUnnamed1451(o.list);
+ checkUnnamed1452(o.map);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
@@ -1047,14 +1047,14 @@
buildCounterPublishContainerVersionResponse--;
}
-buildUnnamed1456() {
+buildUnnamed1453() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1456(core.List<api.Condition> o) {
+checkUnnamed1453(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
@@ -1066,7 +1066,7 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.accountId = "foo";
- o.condition = buildUnnamed1456();
+ o.condition = buildUnnamed1453();
o.containerId = "foo";
o.fingerprint = "foo";
o.name = "foo";
@@ -1081,7 +1081,7 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1456(o.condition);
+ checkUnnamed1453(o.condition);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -1112,6 +1112,45 @@
buildCounterSetupTag--;
}
+buildUnnamed1454() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1454(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1455() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1455(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1456() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1456(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
buildUnnamed1457() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1126,78 +1165,39 @@
}
buildUnnamed1458() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1458(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1459() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1459(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1460() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1460(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1461() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1461(core.List<api.Parameter> o) {
+checkUnnamed1458(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed1462() {
+buildUnnamed1459() {
var o = new core.List<api.SetupTag>();
o.add(buildSetupTag());
o.add(buildSetupTag());
return o;
}
-checkUnnamed1462(core.List<api.SetupTag> o) {
+checkUnnamed1459(core.List<api.SetupTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetupTag(o[0]);
checkSetupTag(o[1]);
}
-buildUnnamed1463() {
+buildUnnamed1460() {
var o = new core.List<api.TeardownTag>();
o.add(buildTeardownTag());
o.add(buildTeardownTag());
return o;
}
-checkUnnamed1463(core.List<api.TeardownTag> o) {
+checkUnnamed1460(core.List<api.TeardownTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeardownTag(o[0]);
checkTeardownTag(o[1]);
@@ -1209,24 +1209,24 @@
buildCounterTag++;
if (buildCounterTag < 3) {
o.accountId = "foo";
- o.blockingRuleId = buildUnnamed1457();
- o.blockingTriggerId = buildUnnamed1458();
+ o.blockingRuleId = buildUnnamed1454();
+ o.blockingTriggerId = buildUnnamed1455();
o.containerId = "foo";
o.fingerprint = "foo";
- o.firingRuleId = buildUnnamed1459();
- o.firingTriggerId = buildUnnamed1460();
+ o.firingRuleId = buildUnnamed1456();
+ o.firingTriggerId = buildUnnamed1457();
o.liveOnly = true;
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1461();
+ o.parameter = buildUnnamed1458();
o.parentFolderId = "foo";
o.priority = buildParameter();
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
- o.setupTag = buildUnnamed1462();
+ o.setupTag = buildUnnamed1459();
o.tagFiringOption = "foo";
o.tagId = "foo";
- o.teardownTag = buildUnnamed1463();
+ o.teardownTag = buildUnnamed1460();
o.type = "foo";
}
buildCounterTag--;
@@ -1237,24 +1237,24 @@
buildCounterTag++;
if (buildCounterTag < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1457(o.blockingRuleId);
- checkUnnamed1458(o.blockingTriggerId);
+ checkUnnamed1454(o.blockingRuleId);
+ checkUnnamed1455(o.blockingTriggerId);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1459(o.firingRuleId);
- checkUnnamed1460(o.firingTriggerId);
+ checkUnnamed1456(o.firingRuleId);
+ checkUnnamed1457(o.firingTriggerId);
unittest.expect(o.liveOnly, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1461(o.parameter);
+ checkUnnamed1458(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
checkParameter(o.priority);
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
- checkUnnamed1462(o.setupTag);
+ checkUnnamed1459(o.setupTag);
unittest.expect(o.tagFiringOption, unittest.equals('foo'));
unittest.expect(o.tagId, unittest.equals('foo'));
- checkUnnamed1463(o.teardownTag);
+ checkUnnamed1460(o.teardownTag);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterTag--;
@@ -1281,40 +1281,40 @@
buildCounterTeardownTag--;
}
-buildUnnamed1464() {
+buildUnnamed1461() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1464(core.List<api.Condition> o) {
+checkUnnamed1461(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1465() {
+buildUnnamed1462() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1465(core.List<api.Condition> o) {
+checkUnnamed1462(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1466() {
+buildUnnamed1463() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1466(core.List<api.Condition> o) {
+checkUnnamed1463(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
@@ -1326,13 +1326,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
o.accountId = "foo";
- o.autoEventFilter = buildUnnamed1464();
+ o.autoEventFilter = buildUnnamed1461();
o.checkValidation = buildParameter();
o.containerId = "foo";
- o.customEventFilter = buildUnnamed1465();
+ o.customEventFilter = buildUnnamed1462();
o.enableAllVideos = buildParameter();
o.eventName = buildParameter();
- o.filter = buildUnnamed1466();
+ o.filter = buildUnnamed1463();
o.fingerprint = "foo";
o.interval = buildParameter();
o.limit = buildParameter();
@@ -1353,13 +1353,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1464(o.autoEventFilter);
+ checkUnnamed1461(o.autoEventFilter);
checkParameter(o.checkValidation);
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1465(o.customEventFilter);
+ checkUnnamed1462(o.customEventFilter);
checkParameter(o.enableAllVideos);
checkParameter(o.eventName);
- checkUnnamed1466(o.filter);
+ checkUnnamed1463(o.filter);
unittest.expect(o.fingerprint, unittest.equals('foo'));
checkParameter(o.interval);
checkParameter(o.limit);
@@ -1375,14 +1375,14 @@
buildCounterTrigger--;
}
-buildUnnamed1467() {
+buildUnnamed1464() {
var o = new core.List<api.ContainerAccess>();
o.add(buildContainerAccess());
o.add(buildContainerAccess());
return o;
}
-checkUnnamed1467(core.List<api.ContainerAccess> o) {
+checkUnnamed1464(core.List<api.ContainerAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerAccess(o[0]);
checkContainerAccess(o[1]);
@@ -1395,7 +1395,7 @@
if (buildCounterUserAccess < 3) {
o.accountAccess = buildAccountAccess();
o.accountId = "foo";
- o.containerAccess = buildUnnamed1467();
+ o.containerAccess = buildUnnamed1464();
o.emailAddress = "foo";
o.permissionId = "foo";
}
@@ -1408,13 +1408,95 @@
if (buildCounterUserAccess < 3) {
checkAccountAccess(o.accountAccess);
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1467(o.containerAccess);
+ checkUnnamed1464(o.containerAccess);
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
}
buildCounterUserAccess--;
}
+buildUnnamed1465() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1465(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1466() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1466(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1467() {
+ var o = new core.List<api.Parameter>();
+ o.add(buildParameter());
+ o.add(buildParameter());
+ return o;
+}
+
+checkUnnamed1467(core.List<api.Parameter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkParameter(o[0]);
+ checkParameter(o[1]);
+}
+
+core.int buildCounterVariable = 0;
+buildVariable() {
+ var o = new api.Variable();
+ buildCounterVariable++;
+ if (buildCounterVariable < 3) {
+ o.accountId = "foo";
+ o.containerId = "foo";
+ o.disablingTriggerId = buildUnnamed1465();
+ o.enablingTriggerId = buildUnnamed1466();
+ o.fingerprint = "foo";
+ o.name = "foo";
+ o.notes = "foo";
+ o.parameter = buildUnnamed1467();
+ o.parentFolderId = "foo";
+ o.scheduleEndMs = "foo";
+ o.scheduleStartMs = "foo";
+ o.type = "foo";
+ o.variableId = "foo";
+ }
+ buildCounterVariable--;
+ return o;
+}
+
+checkVariable(api.Variable o) {
+ buildCounterVariable++;
+ if (buildCounterVariable < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.containerId, unittest.equals('foo'));
+ checkUnnamed1465(o.disablingTriggerId);
+ checkUnnamed1466(o.enablingTriggerId);
+ unittest.expect(o.fingerprint, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.notes, unittest.equals('foo'));
+ checkUnnamed1467(o.parameter);
+ unittest.expect(o.parentFolderId, unittest.equals('foo'));
+ unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
+ unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.variableId, unittest.equals('foo'));
+ }
+ buildCounterVariable--;
+}
+
buildUnnamed1468() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1442,95 +1524,13 @@
}
buildUnnamed1470() {
- var o = new core.List<api.Parameter>();
- o.add(buildParameter());
- o.add(buildParameter());
- return o;
-}
-
-checkUnnamed1470(core.List<api.Parameter> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkParameter(o[0]);
- checkParameter(o[1]);
-}
-
-core.int buildCounterVariable = 0;
-buildVariable() {
- var o = new api.Variable();
- buildCounterVariable++;
- if (buildCounterVariable < 3) {
- o.accountId = "foo";
- o.containerId = "foo";
- o.disablingTriggerId = buildUnnamed1468();
- o.enablingTriggerId = buildUnnamed1469();
- o.fingerprint = "foo";
- o.name = "foo";
- o.notes = "foo";
- o.parameter = buildUnnamed1470();
- o.parentFolderId = "foo";
- o.scheduleEndMs = "foo";
- o.scheduleStartMs = "foo";
- o.type = "foo";
- o.variableId = "foo";
- }
- buildCounterVariable--;
- return o;
-}
-
-checkVariable(api.Variable o) {
- buildCounterVariable++;
- if (buildCounterVariable < 3) {
- unittest.expect(o.accountId, unittest.equals('foo'));
- unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1468(o.disablingTriggerId);
- checkUnnamed1469(o.enablingTriggerId);
- unittest.expect(o.fingerprint, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1470(o.parameter);
- unittest.expect(o.parentFolderId, unittest.equals('foo'));
- unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
- unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- unittest.expect(o.variableId, unittest.equals('foo'));
- }
- buildCounterVariable--;
-}
-
-buildUnnamed1471() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1471(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1472() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1472(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1473() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1473(core.List<core.String> o) {
+checkUnnamed1470(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3070,9 +3070,9 @@
var arg_accountId = "foo";
var arg_containerId = "foo";
var arg_folderId = "foo";
- var arg_tagId = buildUnnamed1471();
- var arg_triggerId = buildUnnamed1472();
- var arg_variableId = buildUnnamed1473();
+ var arg_tagId = buildUnnamed1468();
+ var arg_triggerId = buildUnnamed1469();
+ var arg_variableId = buildUnnamed1470();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.Folder.fromJson(json);
checkFolder(obj);
diff --git a/generated/googleapis/test/tasks/v1_test.dart b/generated/googleapis/test/tasks/v1_test.dart
index fc4f6ca..8ba514a 100644
--- a/generated/googleapis/test/tasks/v1_test.dart
+++ b/generated/googleapis/test/tasks/v1_test.dart
@@ -74,14 +74,14 @@
buildCounterTaskLinks--;
}
-buildUnnamed2992() {
+buildUnnamed3006() {
var o = new core.List<api.TaskLinks>();
o.add(buildTaskLinks());
o.add(buildTaskLinks());
return o;
}
-checkUnnamed2992(core.List<api.TaskLinks> o) {
+checkUnnamed3006(core.List<api.TaskLinks> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaskLinks(o[0]);
checkTaskLinks(o[1]);
@@ -99,7 +99,7 @@
o.hidden = true;
o.id = "foo";
o.kind = "foo";
- o.links = buildUnnamed2992();
+ o.links = buildUnnamed3006();
o.notes = "foo";
o.parent = "foo";
o.position = "foo";
@@ -122,7 +122,7 @@
unittest.expect(o.hidden, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2992(o.links);
+ checkUnnamed3006(o.links);
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.position, unittest.equals('foo'));
@@ -163,14 +163,14 @@
buildCounterTaskList--;
}
-buildUnnamed2993() {
+buildUnnamed3007() {
var o = new core.List<api.TaskList>();
o.add(buildTaskList());
o.add(buildTaskList());
return o;
}
-checkUnnamed2993(core.List<api.TaskList> o) {
+checkUnnamed3007(core.List<api.TaskList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaskList(o[0]);
checkTaskList(o[1]);
@@ -182,7 +182,7 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
o.etag = "foo";
- o.items = buildUnnamed2993();
+ o.items = buildUnnamed3007();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -194,21 +194,21 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2993(o.items);
+ checkUnnamed3007(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterTaskLists--;
}
-buildUnnamed2994() {
+buildUnnamed3008() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed2994(core.List<api.Task> o) {
+checkUnnamed3008(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -220,7 +220,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
o.etag = "foo";
- o.items = buildUnnamed2994();
+ o.items = buildUnnamed3008();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -232,7 +232,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2994(o.items);
+ checkUnnamed3008(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/tracing/v1_test.dart b/generated/googleapis/test/tracing/v2_test.dart
similarity index 81%
rename from generated/googleapis/test/tracing/v1_test.dart
rename to generated/googleapis/test/tracing/v2_test.dart
index 1602676..cac9b15 100644
--- a/generated/googleapis/test/tracing/v1_test.dart
+++ b/generated/googleapis/test/tracing/v2_test.dart
@@ -1,4 +1,4 @@
-library googleapis.tracing.v1.test;
+library googleapis.tracing.v2.test;
import "dart:core" as core;
import "dart:collection" as collection;
@@ -9,7 +9,7 @@
import 'package:http/testing.dart' as http_testing;
import 'package:unittest/unittest.dart' as unittest;
-import 'package:googleapis/tracing/v1.dart' as api;
+import 'package:googleapis/tracing/v2.dart' as api;
class HttpServerMock extends http.BaseClient {
core.Function _callback;
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3064() {
+buildUnnamed1656() {
var o = new core.Map<core.String, api.AttributeValue>();
o["x"] = buildAttributeValue();
o["y"] = buildAttributeValue();
return o;
}
-checkUnnamed3064(core.Map<core.String, api.AttributeValue> o) {
+checkUnnamed1656(core.Map<core.String, api.AttributeValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttributeValue(o["x"]);
checkAttributeValue(o["y"]);
@@ -69,7 +69,7 @@
var o = new api.Annotation();
buildCounterAnnotation++;
if (buildCounterAnnotation < 3) {
- o.attributes = buildUnnamed3064();
+ o.attributes = buildUnnamed1656();
o.description = "foo";
}
buildCounterAnnotation--;
@@ -79,7 +79,7 @@
checkAnnotation(api.Annotation o) {
buildCounterAnnotation++;
if (buildCounterAnnotation < 3) {
- checkUnnamed3064(o.attributes);
+ checkUnnamed1656(o.attributes);
unittest.expect(o.description, unittest.equals('foo'));
}
buildCounterAnnotation--;
@@ -108,36 +108,36 @@
buildCounterAttributeValue--;
}
-buildUnnamed3065() {
- var o = new core.Map<core.String, api.SpanUpdates>();
- o["x"] = buildSpanUpdates();
- o["y"] = buildSpanUpdates();
+buildUnnamed1657() {
+ var o = new core.List<api.Span>();
+ o.add(buildSpan());
+ o.add(buildSpan());
return o;
}
-checkUnnamed3065(core.Map<core.String, api.SpanUpdates> o) {
+checkUnnamed1657(core.List<api.Span> o) {
unittest.expect(o, unittest.hasLength(2));
- checkSpanUpdates(o["x"]);
- checkSpanUpdates(o["y"]);
+ checkSpan(o[0]);
+ checkSpan(o[1]);
}
-core.int buildCounterBatchUpdateSpansRequest = 0;
-buildBatchUpdateSpansRequest() {
- var o = new api.BatchUpdateSpansRequest();
- buildCounterBatchUpdateSpansRequest++;
- if (buildCounterBatchUpdateSpansRequest < 3) {
- o.spanUpdates = buildUnnamed3065();
+core.int buildCounterBatchWriteSpansRequest = 0;
+buildBatchWriteSpansRequest() {
+ var o = new api.BatchWriteSpansRequest();
+ buildCounterBatchWriteSpansRequest++;
+ if (buildCounterBatchWriteSpansRequest < 3) {
+ o.spans = buildUnnamed1657();
}
- buildCounterBatchUpdateSpansRequest--;
+ buildCounterBatchWriteSpansRequest--;
return o;
}
-checkBatchUpdateSpansRequest(api.BatchUpdateSpansRequest o) {
- buildCounterBatchUpdateSpansRequest++;
- if (buildCounterBatchUpdateSpansRequest < 3) {
- checkUnnamed3065(o.spanUpdates);
+checkBatchWriteSpansRequest(api.BatchWriteSpansRequest o) {
+ buildCounterBatchWriteSpansRequest++;
+ if (buildCounterBatchWriteSpansRequest < 3) {
+ checkUnnamed1657(o.spans);
}
- buildCounterBatchUpdateSpansRequest--;
+ buildCounterBatchWriteSpansRequest--;
}
core.int buildCounterEmpty = 0;
@@ -180,14 +180,14 @@
buildCounterLink--;
}
-buildUnnamed3066() {
+buildUnnamed1658() {
var o = new core.List<api.Span>();
o.add(buildSpan());
o.add(buildSpan());
return o;
}
-checkUnnamed3066(core.List<api.Span> o) {
+checkUnnamed1658(core.List<api.Span> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpan(o[0]);
checkSpan(o[1]);
@@ -199,7 +199,7 @@
buildCounterListSpansResponse++;
if (buildCounterListSpansResponse < 3) {
o.nextPageToken = "foo";
- o.spans = buildUnnamed3066();
+ o.spans = buildUnnamed1658();
}
buildCounterListSpansResponse--;
return o;
@@ -209,19 +209,19 @@
buildCounterListSpansResponse++;
if (buildCounterListSpansResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3066(o.spans);
+ checkUnnamed1658(o.spans);
}
buildCounterListSpansResponse--;
}
-buildUnnamed3067() {
+buildUnnamed1659() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed3067(core.List<api.Trace> o) {
+checkUnnamed1659(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -233,7 +233,7 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
o.nextPageToken = "foo";
- o.traces = buildUnnamed3067();
+ o.traces = buildUnnamed1659();
}
buildCounterListTracesResponse--;
return o;
@@ -243,7 +243,7 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3067(o.traces);
+ checkUnnamed1659(o.traces);
}
buildCounterListTracesResponse--;
}
@@ -274,9 +274,9 @@
var o = new api.NetworkEvent();
buildCounterNetworkEvent++;
if (buildCounterNetworkEvent < 3) {
- o.kernelTime = "foo";
o.messageId = "foo";
o.messageSize = "foo";
+ o.time = "foo";
o.type = "foo";
}
buildCounterNetworkEvent--;
@@ -286,48 +286,48 @@
checkNetworkEvent(api.NetworkEvent o) {
buildCounterNetworkEvent++;
if (buildCounterNetworkEvent < 3) {
- unittest.expect(o.kernelTime, unittest.equals('foo'));
unittest.expect(o.messageId, unittest.equals('foo'));
unittest.expect(o.messageSize, unittest.equals('foo'));
+ unittest.expect(o.time, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterNetworkEvent--;
}
-buildUnnamed3068() {
+buildUnnamed1660() {
var o = new core.Map<core.String, api.AttributeValue>();
o["x"] = buildAttributeValue();
o["y"] = buildAttributeValue();
return o;
}
-checkUnnamed3068(core.Map<core.String, api.AttributeValue> o) {
+checkUnnamed1660(core.Map<core.String, api.AttributeValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttributeValue(o["x"]);
checkAttributeValue(o["y"]);
}
-buildUnnamed3069() {
+buildUnnamed1661() {
var o = new core.List<api.Link>();
o.add(buildLink());
o.add(buildLink());
return o;
}
-checkUnnamed3069(core.List<api.Link> o) {
+checkUnnamed1661(core.List<api.Link> o) {
unittest.expect(o, unittest.hasLength(2));
checkLink(o[0]);
checkLink(o[1]);
}
-buildUnnamed3070() {
+buildUnnamed1662() {
var o = new core.List<api.TimeEvent>();
o.add(buildTimeEvent());
o.add(buildTimeEvent());
return o;
}
-checkUnnamed3070(core.List<api.TimeEvent> o) {
+checkUnnamed1662(core.List<api.TimeEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeEvent(o[0]);
checkTimeEvent(o[1]);
@@ -338,17 +338,17 @@
var o = new api.Span();
buildCounterSpan++;
if (buildCounterSpan < 3) {
- o.attributes = buildUnnamed3068();
- o.hasRemoteParent = true;
- o.id = "foo";
- o.links = buildUnnamed3069();
- o.localEndTime = "foo";
- o.localStartTime = "foo";
+ o.attributes = buildUnnamed1660();
+ o.displayName = "foo";
+ o.endTime = "foo";
+ o.links = buildUnnamed1661();
o.name = "foo";
- o.parentId = "foo";
+ o.parentSpanId = "foo";
+ o.spanId = "foo";
o.stackTrace = buildStackTrace();
+ o.startTime = "foo";
o.status = buildStatus();
- o.timeEvents = buildUnnamed3070();
+ o.timeEvents = buildUnnamed1662();
}
buildCounterSpan--;
return o;
@@ -357,53 +357,21 @@
checkSpan(api.Span o) {
buildCounterSpan++;
if (buildCounterSpan < 3) {
- checkUnnamed3068(o.attributes);
- unittest.expect(o.hasRemoteParent, unittest.isTrue);
- unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3069(o.links);
- unittest.expect(o.localEndTime, unittest.equals('foo'));
- unittest.expect(o.localStartTime, unittest.equals('foo'));
+ checkUnnamed1660(o.attributes);
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ unittest.expect(o.endTime, unittest.equals('foo'));
+ checkUnnamed1661(o.links);
unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.parentId, unittest.equals('foo'));
+ unittest.expect(o.parentSpanId, unittest.equals('foo'));
+ unittest.expect(o.spanId, unittest.equals('foo'));
checkStackTrace(o.stackTrace);
+ unittest.expect(o.startTime, unittest.equals('foo'));
checkStatus(o.status);
- checkUnnamed3070(o.timeEvents);
+ checkUnnamed1662(o.timeEvents);
}
buildCounterSpan--;
}
-buildUnnamed3071() {
- var o = new core.List<api.Span>();
- o.add(buildSpan());
- o.add(buildSpan());
- return o;
-}
-
-checkUnnamed3071(core.List<api.Span> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSpan(o[0]);
- checkSpan(o[1]);
-}
-
-core.int buildCounterSpanUpdates = 0;
-buildSpanUpdates() {
- var o = new api.SpanUpdates();
- buildCounterSpanUpdates++;
- if (buildCounterSpanUpdates < 3) {
- o.spans = buildUnnamed3071();
- }
- buildCounterSpanUpdates--;
- return o;
-}
-
-checkSpanUpdates(api.SpanUpdates o) {
- buildCounterSpanUpdates++;
- if (buildCounterSpanUpdates < 3) {
- checkUnnamed3071(o.spans);
- }
- buildCounterSpanUpdates--;
-}
-
core.int buildCounterStackFrame = 0;
buildStackFrame() {
var o = new api.StackFrame();
@@ -435,14 +403,14 @@
buildCounterStackFrame--;
}
-buildUnnamed3072() {
+buildUnnamed1663() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed3072(core.List<api.StackFrame> o) {
+checkUnnamed1663(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
@@ -453,7 +421,7 @@
var o = new api.StackTrace();
buildCounterStackTrace++;
if (buildCounterStackTrace < 3) {
- o.stackFrame = buildUnnamed3072();
+ o.stackFrame = buildUnnamed1663();
o.stackTraceHashId = "foo";
}
buildCounterStackTrace--;
@@ -463,36 +431,36 @@
checkStackTrace(api.StackTrace o) {
buildCounterStackTrace++;
if (buildCounterStackTrace < 3) {
- checkUnnamed3072(o.stackFrame);
+ checkUnnamed1663(o.stackFrame);
unittest.expect(o.stackTraceHashId, unittest.equals('foo'));
}
buildCounterStackTrace--;
}
-buildUnnamed3073() {
+buildUnnamed1664() {
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;
}
-checkUnnamed3073(core.Map<core.String, core.Object> o) {
+checkUnnamed1664(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'));
}
-buildUnnamed3074() {
+buildUnnamed1665() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3073());
- o.add(buildUnnamed3073());
+ o.add(buildUnnamed1664());
+ o.add(buildUnnamed1664());
return o;
}
-checkUnnamed3074(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1665(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3073(o[0]);
- checkUnnamed3073(o[1]);
+ checkUnnamed1664(o[0]);
+ checkUnnamed1664(o[1]);
}
core.int buildCounterStatus = 0;
@@ -501,7 +469,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3074();
+ o.details = buildUnnamed1665();
o.message = "foo";
}
buildCounterStatus--;
@@ -512,7 +480,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3074(o.details);
+ checkUnnamed1665(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -524,8 +492,8 @@
buildCounterTimeEvent++;
if (buildCounterTimeEvent < 3) {
o.annotation = buildAnnotation();
- o.localTime = "foo";
o.networkEvent = buildNetworkEvent();
+ o.time = "foo";
}
buildCounterTimeEvent--;
return o;
@@ -535,8 +503,8 @@
buildCounterTimeEvent++;
if (buildCounterTimeEvent < 3) {
checkAnnotation(o.annotation);
- unittest.expect(o.localTime, unittest.equals('foo'));
checkNetworkEvent(o.networkEvent);
+ unittest.expect(o.time, unittest.equals('foo'));
}
buildCounterTimeEvent--;
}
@@ -580,11 +548,11 @@
});
- unittest.group("obj-schema-BatchUpdateSpansRequest", () {
+ unittest.group("obj-schema-BatchWriteSpansRequest", () {
unittest.test("to-json--from-json", () {
- var o = buildBatchUpdateSpansRequest();
- var od = new api.BatchUpdateSpansRequest.fromJson(o.toJson());
- checkBatchUpdateSpansRequest(od);
+ var o = buildBatchWriteSpansRequest();
+ var od = new api.BatchWriteSpansRequest.fromJson(o.toJson());
+ checkBatchWriteSpansRequest(od);
});
});
@@ -652,15 +620,6 @@
});
- unittest.group("obj-schema-SpanUpdates", () {
- unittest.test("to-json--from-json", () {
- var o = buildSpanUpdates();
- var od = new api.SpanUpdates.fromJson(o.toJson());
- checkSpanUpdates(od);
- });
- });
-
-
unittest.group("obj-schema-StackFrame", () {
unittest.test("to-json--from-json", () {
var o = buildStackFrame();
@@ -707,15 +666,15 @@
unittest.group("resource-ProjectsTracesResourceApi", () {
- unittest.test("method--batchUpdate", () {
+ unittest.test("method--batchWrite", () {
var mock = new HttpServerMock();
api.ProjectsTracesResourceApi res = new api.TracingApi(mock).projects.traces;
- var arg_request = buildBatchUpdateSpansRequest();
- var arg_parent = "foo";
+ var arg_request = buildBatchWriteSpansRequest();
+ var arg_name = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.BatchUpdateSpansRequest.fromJson(json);
- checkBatchUpdateSpansRequest(obj);
+ var obj = new api.BatchWriteSpansRequest.fromJson(json);
+ checkBatchWriteSpansRequest(obj);
var path = (req.url).path;
var pathOffset = 0;
@@ -723,7 +682,7 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equals("v1/"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
pathOffset += 3;
// NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
@@ -751,67 +710,22 @@
var resp = convert.JSON.encode(buildEmpty());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.batchUpdate(arg_request, arg_parent).then(unittest.expectAsync(((api.Empty response) {
+ res.batchWrite(arg_request, arg_name).then(unittest.expectAsync(((api.Empty response) {
checkEmpty(response);
})));
});
- unittest.test("method--get", () {
-
- var mock = new HttpServerMock();
- api.ProjectsTracesResourceApi res = new api.TracingApi(mock).projects.traces;
- var arg_name = "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 + 3), unittest.equals("v1/"));
- pathOffset += 3;
- // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
-
- 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(buildTrace());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.get(arg_name).then(unittest.expectAsync(((api.Trace response) {
- checkTrace(response);
- })));
- });
-
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ProjectsTracesResourceApi res = new api.TracingApi(mock).projects.traces;
var arg_parent = "foo";
- var arg_filter = "foo";
- var arg_endTime = "foo";
var arg_startTime = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_orderBy = "foo";
+ var arg_filter = "foo";
+ var arg_endTime = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -819,7 +733,7 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equals("v1/"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
pathOffset += 3;
// NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
@@ -839,12 +753,12 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime));
unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTime));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime));
var h = {
@@ -853,7 +767,7 @@
var resp = convert.JSON.encode(buildListTracesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, filter: arg_filter, endTime: arg_endTime, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, orderBy: arg_orderBy).then(unittest.expectAsync(((api.ListTracesResponse response) {
+ res.list(arg_parent, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, orderBy: arg_orderBy, filter: arg_filter, endTime: arg_endTime).then(unittest.expectAsync(((api.ListTracesResponse response) {
checkListTracesResponse(response);
})));
});
@@ -862,7 +776,7 @@
var mock = new HttpServerMock();
api.ProjectsTracesResourceApi res = new api.TracingApi(mock).projects.traces;
- var arg_name = "foo";
+ var arg_parent = "foo";
var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -871,7 +785,7 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equals("v1/"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
pathOffset += 3;
// NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
@@ -900,7 +814,7 @@
var resp = convert.JSON.encode(buildListSpansResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.listSpans(arg_name, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListSpansResponse response) {
+ res.listSpans(arg_parent, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListSpansResponse response) {
checkListSpansResponse(response);
})));
});
@@ -908,5 +822,58 @@
});
+ unittest.group("resource-ProjectsTracesSpansResourceApi", () {
+ unittest.test("method--create", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsTracesSpansResourceApi res = new api.TracingApi(mock).projects.traces.spans;
+ var arg_request = buildSpan();
+ var arg_name = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.Span.fromJson(json);
+ checkSpan(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 + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ 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(buildSpan());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.create(arg_request, arg_name).then(unittest.expectAsync(((api.Span response) {
+ checkSpan(response);
+ })));
+ });
+
+ });
+
+
}
diff --git a/generated/googleapis/test/translate/v2_test.dart b/generated/googleapis/test/translate/v2_test.dart
index c0a4cbe..a383eb2 100644
--- a/generated/googleapis/test/translate/v2_test.dart
+++ b/generated/googleapis/test/translate/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed685() {
+buildUnnamed672() {
var o = new core.List<api.DetectionsResource>();
o.add(buildDetectionsResource());
o.add(buildDetectionsResource());
return o;
}
-checkUnnamed685(core.List<api.DetectionsResource> o) {
+checkUnnamed672(core.List<api.DetectionsResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDetectionsResource(o[0]);
checkDetectionsResource(o[1]);
@@ -69,7 +69,7 @@
var o = new api.DetectionsListResponse();
buildCounterDetectionsListResponse++;
if (buildCounterDetectionsListResponse < 3) {
- o.detections = buildUnnamed685();
+ o.detections = buildUnnamed672();
}
buildCounterDetectionsListResponse--;
return o;
@@ -78,7 +78,7 @@
checkDetectionsListResponse(api.DetectionsListResponse o) {
buildCounterDetectionsListResponse++;
if (buildCounterDetectionsListResponse < 3) {
- checkUnnamed685(o.detections);
+ checkUnnamed672(o.detections);
}
buildCounterDetectionsListResponse--;
}
@@ -119,14 +119,14 @@
checkDetectionsResourceElement(o[1]);
}
-buildUnnamed686() {
+buildUnnamed673() {
var o = new core.List<api.LanguagesResource>();
o.add(buildLanguagesResource());
o.add(buildLanguagesResource());
return o;
}
-checkUnnamed686(core.List<api.LanguagesResource> o) {
+checkUnnamed673(core.List<api.LanguagesResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguagesResource(o[0]);
checkLanguagesResource(o[1]);
@@ -137,7 +137,7 @@
var o = new api.LanguagesListResponse();
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
- o.languages = buildUnnamed686();
+ o.languages = buildUnnamed673();
}
buildCounterLanguagesListResponse--;
return o;
@@ -146,7 +146,7 @@
checkLanguagesListResponse(api.LanguagesListResponse o) {
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
- checkUnnamed686(o.languages);
+ checkUnnamed673(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -172,14 +172,14 @@
buildCounterLanguagesResource--;
}
-buildUnnamed687() {
+buildUnnamed674() {
var o = new core.List<api.TranslationsResource>();
o.add(buildTranslationsResource());
o.add(buildTranslationsResource());
return o;
}
-checkUnnamed687(core.List<api.TranslationsResource> o) {
+checkUnnamed674(core.List<api.TranslationsResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkTranslationsResource(o[0]);
checkTranslationsResource(o[1]);
@@ -190,7 +190,7 @@
var o = new api.TranslationsListResponse();
buildCounterTranslationsListResponse++;
if (buildCounterTranslationsListResponse < 3) {
- o.translations = buildUnnamed687();
+ o.translations = buildUnnamed674();
}
buildCounterTranslationsListResponse--;
return o;
@@ -199,7 +199,7 @@
checkTranslationsListResponse(api.TranslationsListResponse o) {
buildCounterTranslationsListResponse++;
if (buildCounterTranslationsListResponse < 3) {
- checkUnnamed687(o.translations);
+ checkUnnamed674(o.translations);
}
buildCounterTranslationsListResponse--;
}
@@ -225,40 +225,40 @@
buildCounterTranslationsResource--;
}
-buildUnnamed688() {
+buildUnnamed675() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed688(core.List<core.String> o) {
+checkUnnamed675(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed689() {
+buildUnnamed676() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed689(core.List<core.String> o) {
+checkUnnamed676(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed690() {
+buildUnnamed677() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed690(core.List<core.String> o) {
+checkUnnamed677(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -334,7 +334,7 @@
var mock = new HttpServerMock();
api.DetectionsResourceApi res = new api.TranslateApi(mock).detections;
- var arg_q = buildUnnamed688();
+ var arg_q = buildUnnamed675();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -436,9 +436,9 @@
var mock = new HttpServerMock();
api.TranslationsResourceApi res = new api.TranslateApi(mock).translations;
- var arg_q = buildUnnamed689();
+ var arg_q = buildUnnamed676();
var arg_target = "foo";
- var arg_cid = buildUnnamed690();
+ var arg_cid = buildUnnamed677();
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 f8654ca..585b0c9 100644
--- a/generated/googleapis/test/urlshortener/v1_test.dart
+++ b/generated/googleapis/test/urlshortener/v1_test.dart
@@ -51,53 +51,53 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed711() {
+buildUnnamed698() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed711(core.List<api.StringCount> o) {
+checkUnnamed698(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed712() {
+buildUnnamed699() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed712(core.List<api.StringCount> o) {
+checkUnnamed699(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed713() {
+buildUnnamed700() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed713(core.List<api.StringCount> o) {
+checkUnnamed700(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed714() {
+buildUnnamed701() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed714(core.List<api.StringCount> o) {
+checkUnnamed701(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
@@ -108,11 +108,11 @@
var o = new api.AnalyticsSnapshot();
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- o.browsers = buildUnnamed711();
- o.countries = buildUnnamed712();
+ o.browsers = buildUnnamed698();
+ o.countries = buildUnnamed699();
o.longUrlClicks = "foo";
- o.platforms = buildUnnamed713();
- o.referrers = buildUnnamed714();
+ o.platforms = buildUnnamed700();
+ o.referrers = buildUnnamed701();
o.shortUrlClicks = "foo";
}
buildCounterAnalyticsSnapshot--;
@@ -122,11 +122,11 @@
checkAnalyticsSnapshot(api.AnalyticsSnapshot o) {
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- checkUnnamed711(o.browsers);
- checkUnnamed712(o.countries);
+ checkUnnamed698(o.browsers);
+ checkUnnamed699(o.countries);
unittest.expect(o.longUrlClicks, unittest.equals('foo'));
- checkUnnamed713(o.platforms);
- checkUnnamed714(o.referrers);
+ checkUnnamed700(o.platforms);
+ checkUnnamed701(o.referrers);
unittest.expect(o.shortUrlClicks, unittest.equals('foo'));
}
buildCounterAnalyticsSnapshot--;
@@ -209,14 +209,14 @@
buildCounterUrl--;
}
-buildUnnamed715() {
+buildUnnamed702() {
var o = new core.List<api.Url>();
o.add(buildUrl());
o.add(buildUrl());
return o;
}
-checkUnnamed715(core.List<api.Url> o) {
+checkUnnamed702(core.List<api.Url> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrl(o[0]);
checkUrl(o[1]);
@@ -227,7 +227,7 @@
var o = new api.UrlHistory();
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- o.items = buildUnnamed715();
+ o.items = buildUnnamed702();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -240,7 +240,7 @@
checkUrlHistory(api.UrlHistory o) {
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- checkUnnamed715(o.items);
+ checkUnnamed702(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/vision/v1_test.dart b/generated/googleapis/test/vision/v1_test.dart
index 90b684a..b2400aa 100644
--- a/generated/googleapis/test/vision/v1_test.dart
+++ b/generated/googleapis/test/vision/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1208() {
+buildUnnamed1203() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed1208(core.List<api.Feature> o) {
+checkUnnamed1203(core.List<api.Feature> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeature(o[0]);
checkFeature(o[1]);
@@ -69,7 +69,7 @@
var o = new api.AnnotateImageRequest();
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- o.features = buildUnnamed1208();
+ o.features = buildUnnamed1203();
o.image = buildImage();
o.imageContext = buildImageContext();
}
@@ -80,73 +80,73 @@
checkAnnotateImageRequest(api.AnnotateImageRequest o) {
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- checkUnnamed1208(o.features);
+ checkUnnamed1203(o.features);
checkImage(o.image);
checkImageContext(o.imageContext);
}
buildCounterAnnotateImageRequest--;
}
-buildUnnamed1209() {
+buildUnnamed1204() {
var o = new core.List<api.FaceAnnotation>();
o.add(buildFaceAnnotation());
o.add(buildFaceAnnotation());
return o;
}
-checkUnnamed1209(core.List<api.FaceAnnotation> o) {
+checkUnnamed1204(core.List<api.FaceAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkFaceAnnotation(o[0]);
checkFaceAnnotation(o[1]);
}
-buildUnnamed1210() {
+buildUnnamed1205() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1210(core.List<api.EntityAnnotation> o) {
+checkUnnamed1205(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1211() {
+buildUnnamed1206() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1211(core.List<api.EntityAnnotation> o) {
+checkUnnamed1206(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1212() {
+buildUnnamed1207() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1212(core.List<api.EntityAnnotation> o) {
+checkUnnamed1207(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1213() {
+buildUnnamed1208() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1213(core.List<api.EntityAnnotation> o) {
+checkUnnamed1208(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
@@ -159,14 +159,14 @@
if (buildCounterAnnotateImageResponse < 3) {
o.cropHintsAnnotation = buildCropHintsAnnotation();
o.error = buildStatus();
- o.faceAnnotations = buildUnnamed1209();
+ o.faceAnnotations = buildUnnamed1204();
o.fullTextAnnotation = buildTextAnnotation();
o.imagePropertiesAnnotation = buildImageProperties();
- o.labelAnnotations = buildUnnamed1210();
- o.landmarkAnnotations = buildUnnamed1211();
- o.logoAnnotations = buildUnnamed1212();
+ o.labelAnnotations = buildUnnamed1205();
+ o.landmarkAnnotations = buildUnnamed1206();
+ o.logoAnnotations = buildUnnamed1207();
o.safeSearchAnnotation = buildSafeSearchAnnotation();
- o.textAnnotations = buildUnnamed1213();
+ o.textAnnotations = buildUnnamed1208();
o.webDetection = buildWebDetection();
}
buildCounterAnnotateImageResponse--;
@@ -178,27 +178,27 @@
if (buildCounterAnnotateImageResponse < 3) {
checkCropHintsAnnotation(o.cropHintsAnnotation);
checkStatus(o.error);
- checkUnnamed1209(o.faceAnnotations);
+ checkUnnamed1204(o.faceAnnotations);
checkTextAnnotation(o.fullTextAnnotation);
checkImageProperties(o.imagePropertiesAnnotation);
- checkUnnamed1210(o.labelAnnotations);
- checkUnnamed1211(o.landmarkAnnotations);
- checkUnnamed1212(o.logoAnnotations);
+ checkUnnamed1205(o.labelAnnotations);
+ checkUnnamed1206(o.landmarkAnnotations);
+ checkUnnamed1207(o.logoAnnotations);
checkSafeSearchAnnotation(o.safeSearchAnnotation);
- checkUnnamed1213(o.textAnnotations);
+ checkUnnamed1208(o.textAnnotations);
checkWebDetection(o.webDetection);
}
buildCounterAnnotateImageResponse--;
}
-buildUnnamed1214() {
+buildUnnamed1209() {
var o = new core.List<api.AnnotateImageRequest>();
o.add(buildAnnotateImageRequest());
o.add(buildAnnotateImageRequest());
return o;
}
-checkUnnamed1214(core.List<api.AnnotateImageRequest> o) {
+checkUnnamed1209(core.List<api.AnnotateImageRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageRequest(o[0]);
checkAnnotateImageRequest(o[1]);
@@ -209,7 +209,7 @@
var o = new api.BatchAnnotateImagesRequest();
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
- o.requests = buildUnnamed1214();
+ o.requests = buildUnnamed1209();
}
buildCounterBatchAnnotateImagesRequest--;
return o;
@@ -218,19 +218,19 @@
checkBatchAnnotateImagesRequest(api.BatchAnnotateImagesRequest o) {
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
- checkUnnamed1214(o.requests);
+ checkUnnamed1209(o.requests);
}
buildCounterBatchAnnotateImagesRequest--;
}
-buildUnnamed1215() {
+buildUnnamed1210() {
var o = new core.List<api.AnnotateImageResponse>();
o.add(buildAnnotateImageResponse());
o.add(buildAnnotateImageResponse());
return o;
}
-checkUnnamed1215(core.List<api.AnnotateImageResponse> o) {
+checkUnnamed1210(core.List<api.AnnotateImageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageResponse(o[0]);
checkAnnotateImageResponse(o[1]);
@@ -241,7 +241,7 @@
var o = new api.BatchAnnotateImagesResponse();
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- o.responses = buildUnnamed1215();
+ o.responses = buildUnnamed1210();
}
buildCounterBatchAnnotateImagesResponse--;
return o;
@@ -250,19 +250,19 @@
checkBatchAnnotateImagesResponse(api.BatchAnnotateImagesResponse o) {
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- checkUnnamed1215(o.responses);
+ checkUnnamed1210(o.responses);
}
buildCounterBatchAnnotateImagesResponse--;
}
-buildUnnamed1216() {
+buildUnnamed1211() {
var o = new core.List<api.Paragraph>();
o.add(buildParagraph());
o.add(buildParagraph());
return o;
}
-checkUnnamed1216(core.List<api.Paragraph> o) {
+checkUnnamed1211(core.List<api.Paragraph> o) {
unittest.expect(o, unittest.hasLength(2));
checkParagraph(o[0]);
checkParagraph(o[1]);
@@ -275,7 +275,7 @@
if (buildCounterBlock < 3) {
o.blockType = "foo";
o.boundingBox = buildBoundingPoly();
- o.paragraphs = buildUnnamed1216();
+ o.paragraphs = buildUnnamed1211();
o.property = buildTextProperty();
}
buildCounterBlock--;
@@ -287,20 +287,20 @@
if (buildCounterBlock < 3) {
unittest.expect(o.blockType, unittest.equals('foo'));
checkBoundingPoly(o.boundingBox);
- checkUnnamed1216(o.paragraphs);
+ checkUnnamed1211(o.paragraphs);
checkTextProperty(o.property);
}
buildCounterBlock--;
}
-buildUnnamed1217() {
+buildUnnamed1212() {
var o = new core.List<api.Vertex>();
o.add(buildVertex());
o.add(buildVertex());
return o;
}
-checkUnnamed1217(core.List<api.Vertex> o) {
+checkUnnamed1212(core.List<api.Vertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkVertex(o[0]);
checkVertex(o[1]);
@@ -311,7 +311,7 @@
var o = new api.BoundingPoly();
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- o.vertices = buildUnnamed1217();
+ o.vertices = buildUnnamed1212();
}
buildCounterBoundingPoly--;
return o;
@@ -320,7 +320,7 @@
checkBoundingPoly(api.BoundingPoly o) {
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- checkUnnamed1217(o.vertices);
+ checkUnnamed1212(o.vertices);
}
buildCounterBoundingPoly--;
}
@@ -396,14 +396,14 @@
buildCounterCropHint--;
}
-buildUnnamed1218() {
+buildUnnamed1213() {
var o = new core.List<api.CropHint>();
o.add(buildCropHint());
o.add(buildCropHint());
return o;
}
-checkUnnamed1218(core.List<api.CropHint> o) {
+checkUnnamed1213(core.List<api.CropHint> o) {
unittest.expect(o, unittest.hasLength(2));
checkCropHint(o[0]);
checkCropHint(o[1]);
@@ -414,7 +414,7 @@
var o = new api.CropHintsAnnotation();
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- o.cropHints = buildUnnamed1218();
+ o.cropHints = buildUnnamed1213();
}
buildCounterCropHintsAnnotation--;
return o;
@@ -423,19 +423,19 @@
checkCropHintsAnnotation(api.CropHintsAnnotation o) {
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- checkUnnamed1218(o.cropHints);
+ checkUnnamed1213(o.cropHints);
}
buildCounterCropHintsAnnotation--;
}
-buildUnnamed1219() {
+buildUnnamed1214() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1219(core.List<core.double> o) {
+checkUnnamed1214(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));
@@ -446,7 +446,7 @@
var o = new api.CropHintsParams();
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- o.aspectRatios = buildUnnamed1219();
+ o.aspectRatios = buildUnnamed1214();
}
buildCounterCropHintsParams--;
return o;
@@ -455,7 +455,7 @@
checkCropHintsParams(api.CropHintsParams o) {
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- checkUnnamed1219(o.aspectRatios);
+ checkUnnamed1214(o.aspectRatios);
}
buildCounterCropHintsParams--;
}
@@ -502,14 +502,14 @@
buildCounterDetectedLanguage--;
}
-buildUnnamed1220() {
+buildUnnamed1215() {
var o = new core.List<api.ColorInfo>();
o.add(buildColorInfo());
o.add(buildColorInfo());
return o;
}
-checkUnnamed1220(core.List<api.ColorInfo> o) {
+checkUnnamed1215(core.List<api.ColorInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorInfo(o[0]);
checkColorInfo(o[1]);
@@ -520,7 +520,7 @@
var o = new api.DominantColorsAnnotation();
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- o.colors = buildUnnamed1220();
+ o.colors = buildUnnamed1215();
}
buildCounterDominantColorsAnnotation--;
return o;
@@ -529,32 +529,32 @@
checkDominantColorsAnnotation(api.DominantColorsAnnotation o) {
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- checkUnnamed1220(o.colors);
+ checkUnnamed1215(o.colors);
}
buildCounterDominantColorsAnnotation--;
}
-buildUnnamed1221() {
+buildUnnamed1216() {
var o = new core.List<api.LocationInfo>();
o.add(buildLocationInfo());
o.add(buildLocationInfo());
return o;
}
-checkUnnamed1221(core.List<api.LocationInfo> o) {
+checkUnnamed1216(core.List<api.LocationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationInfo(o[0]);
checkLocationInfo(o[1]);
}
-buildUnnamed1222() {
+buildUnnamed1217() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed1222(core.List<api.Property> o) {
+checkUnnamed1217(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -569,9 +569,9 @@
o.confidence = 42.0;
o.description = "foo";
o.locale = "foo";
- o.locations = buildUnnamed1221();
+ o.locations = buildUnnamed1216();
o.mid = "foo";
- o.properties = buildUnnamed1222();
+ o.properties = buildUnnamed1217();
o.score = 42.0;
o.topicality = 42.0;
}
@@ -586,23 +586,23 @@
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1221(o.locations);
+ checkUnnamed1216(o.locations);
unittest.expect(o.mid, unittest.equals('foo'));
- checkUnnamed1222(o.properties);
+ checkUnnamed1217(o.properties);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.topicality, unittest.equals(42.0));
}
buildCounterEntityAnnotation--;
}
-buildUnnamed1223() {
+buildUnnamed1218() {
var o = new core.List<api.Landmark>();
o.add(buildLandmark());
o.add(buildLandmark());
return o;
}
-checkUnnamed1223(core.List<api.Landmark> o) {
+checkUnnamed1218(core.List<api.Landmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandmark(o[0]);
checkLandmark(o[1]);
@@ -621,7 +621,7 @@
o.headwearLikelihood = "foo";
o.joyLikelihood = "foo";
o.landmarkingConfidence = 42.0;
- o.landmarks = buildUnnamed1223();
+ o.landmarks = buildUnnamed1218();
o.panAngle = 42.0;
o.rollAngle = 42.0;
o.sorrowLikelihood = "foo";
@@ -644,7 +644,7 @@
unittest.expect(o.headwearLikelihood, unittest.equals('foo'));
unittest.expect(o.joyLikelihood, unittest.equals('foo'));
unittest.expect(o.landmarkingConfidence, unittest.equals(42.0));
- checkUnnamed1223(o.landmarks);
+ checkUnnamed1218(o.landmarks);
unittest.expect(o.panAngle, unittest.equals(42.0));
unittest.expect(o.rollAngle, unittest.equals(42.0));
unittest.expect(o.sorrowLikelihood, unittest.equals('foo'));
@@ -697,14 +697,14 @@
buildCounterImage--;
}
-buildUnnamed1224() {
+buildUnnamed1219() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1224(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'));
@@ -716,7 +716,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
o.cropHintsParams = buildCropHintsParams();
- o.languageHints = buildUnnamed1224();
+ o.languageHints = buildUnnamed1219();
o.latLongRect = buildLatLongRect();
}
buildCounterImageContext--;
@@ -727,7 +727,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
checkCropHintsParams(o.cropHintsParams);
- checkUnnamed1224(o.languageHints);
+ checkUnnamed1219(o.languageHints);
checkLatLongRect(o.latLongRect);
}
buildCounterImageContext--;
@@ -855,14 +855,14 @@
buildCounterLocationInfo--;
}
-buildUnnamed1225() {
+buildUnnamed1220() {
var o = new core.List<api.Block>();
o.add(buildBlock());
o.add(buildBlock());
return o;
}
-checkUnnamed1225(core.List<api.Block> o) {
+checkUnnamed1220(core.List<api.Block> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlock(o[0]);
checkBlock(o[1]);
@@ -873,7 +873,7 @@
var o = new api.Page();
buildCounterPage++;
if (buildCounterPage < 3) {
- o.blocks = buildUnnamed1225();
+ o.blocks = buildUnnamed1220();
o.height = 42;
o.property = buildTextProperty();
o.width = 42;
@@ -885,7 +885,7 @@
checkPage(api.Page o) {
buildCounterPage++;
if (buildCounterPage < 3) {
- checkUnnamed1225(o.blocks);
+ checkUnnamed1220(o.blocks);
unittest.expect(o.height, unittest.equals(42));
checkTextProperty(o.property);
unittest.expect(o.width, unittest.equals(42));
@@ -893,14 +893,14 @@
buildCounterPage--;
}
-buildUnnamed1226() {
+buildUnnamed1221() {
var o = new core.List<api.Word>();
o.add(buildWord());
o.add(buildWord());
return o;
}
-checkUnnamed1226(core.List<api.Word> o) {
+checkUnnamed1221(core.List<api.Word> o) {
unittest.expect(o, unittest.hasLength(2));
checkWord(o[0]);
checkWord(o[1]);
@@ -913,7 +913,7 @@
if (buildCounterParagraph < 3) {
o.boundingBox = buildBoundingPoly();
o.property = buildTextProperty();
- o.words = buildUnnamed1226();
+ o.words = buildUnnamed1221();
}
buildCounterParagraph--;
return o;
@@ -924,7 +924,7 @@
if (buildCounterParagraph < 3) {
checkBoundingPoly(o.boundingBox);
checkTextProperty(o.property);
- checkUnnamed1226(o.words);
+ checkUnnamed1221(o.words);
}
buildCounterParagraph--;
}
@@ -1000,30 +1000,30 @@
buildCounterSafeSearchAnnotation--;
}
-buildUnnamed1227() {
+buildUnnamed1222() {
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;
}
-checkUnnamed1227(core.Map<core.String, core.Object> o) {
+checkUnnamed1222(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'));
}
-buildUnnamed1228() {
+buildUnnamed1223() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1227());
- o.add(buildUnnamed1227());
+ o.add(buildUnnamed1222());
+ o.add(buildUnnamed1222());
return o;
}
-checkUnnamed1228(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1223(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1227(o[0]);
- checkUnnamed1227(o[1]);
+ checkUnnamed1222(o[0]);
+ checkUnnamed1222(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1032,7 +1032,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1228();
+ o.details = buildUnnamed1223();
o.message = "foo";
}
buildCounterStatus--;
@@ -1043,7 +1043,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1228(o.details);
+ checkUnnamed1223(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1072,14 +1072,14 @@
buildCounterSymbol--;
}
-buildUnnamed1229() {
+buildUnnamed1224() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1229(core.List<api.Page> o) {
+checkUnnamed1224(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1090,7 +1090,7 @@
var o = new api.TextAnnotation();
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- o.pages = buildUnnamed1229();
+ o.pages = buildUnnamed1224();
o.text = "foo";
}
buildCounterTextAnnotation--;
@@ -1100,20 +1100,20 @@
checkTextAnnotation(api.TextAnnotation o) {
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- checkUnnamed1229(o.pages);
+ checkUnnamed1224(o.pages);
unittest.expect(o.text, unittest.equals('foo'));
}
buildCounterTextAnnotation--;
}
-buildUnnamed1230() {
+buildUnnamed1225() {
var o = new core.List<api.DetectedLanguage>();
o.add(buildDetectedLanguage());
o.add(buildDetectedLanguage());
return o;
}
-checkUnnamed1230(core.List<api.DetectedLanguage> o) {
+checkUnnamed1225(core.List<api.DetectedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkDetectedLanguage(o[0]);
checkDetectedLanguage(o[1]);
@@ -1125,7 +1125,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
o.detectedBreak = buildDetectedBreak();
- o.detectedLanguages = buildUnnamed1230();
+ o.detectedLanguages = buildUnnamed1225();
}
buildCounterTextProperty--;
return o;
@@ -1135,7 +1135,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
checkDetectedBreak(o.detectedBreak);
- checkUnnamed1230(o.detectedLanguages);
+ checkUnnamed1225(o.detectedLanguages);
}
buildCounterTextProperty--;
}
@@ -1161,66 +1161,66 @@
buildCounterVertex--;
}
-buildUnnamed1231() {
+buildUnnamed1226() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1231(core.List<api.WebImage> o) {
+checkUnnamed1226(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1232() {
+buildUnnamed1227() {
var o = new core.List<api.WebPage>();
o.add(buildWebPage());
o.add(buildWebPage());
return o;
}
-checkUnnamed1232(core.List<api.WebPage> o) {
+checkUnnamed1227(core.List<api.WebPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPage(o[0]);
checkWebPage(o[1]);
}
-buildUnnamed1233() {
+buildUnnamed1228() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1233(core.List<api.WebImage> o) {
+checkUnnamed1228(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1234() {
+buildUnnamed1229() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1234(core.List<api.WebImage> o) {
+checkUnnamed1229(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1235() {
+buildUnnamed1230() {
var o = new core.List<api.WebEntity>();
o.add(buildWebEntity());
o.add(buildWebEntity());
return o;
}
-checkUnnamed1235(core.List<api.WebEntity> o) {
+checkUnnamed1230(core.List<api.WebEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebEntity(o[0]);
checkWebEntity(o[1]);
@@ -1231,11 +1231,11 @@
var o = new api.WebDetection();
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- o.fullMatchingImages = buildUnnamed1231();
- o.pagesWithMatchingImages = buildUnnamed1232();
- o.partialMatchingImages = buildUnnamed1233();
- o.visuallySimilarImages = buildUnnamed1234();
- o.webEntities = buildUnnamed1235();
+ o.fullMatchingImages = buildUnnamed1226();
+ o.pagesWithMatchingImages = buildUnnamed1227();
+ o.partialMatchingImages = buildUnnamed1228();
+ o.visuallySimilarImages = buildUnnamed1229();
+ o.webEntities = buildUnnamed1230();
}
buildCounterWebDetection--;
return o;
@@ -1244,11 +1244,11 @@
checkWebDetection(api.WebDetection o) {
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- checkUnnamed1231(o.fullMatchingImages);
- checkUnnamed1232(o.pagesWithMatchingImages);
- checkUnnamed1233(o.partialMatchingImages);
- checkUnnamed1234(o.visuallySimilarImages);
- checkUnnamed1235(o.webEntities);
+ checkUnnamed1226(o.fullMatchingImages);
+ checkUnnamed1227(o.pagesWithMatchingImages);
+ checkUnnamed1228(o.partialMatchingImages);
+ checkUnnamed1229(o.visuallySimilarImages);
+ checkUnnamed1230(o.webEntities);
}
buildCounterWebDetection--;
}
@@ -1318,14 +1318,14 @@
buildCounterWebPage--;
}
-buildUnnamed1236() {
+buildUnnamed1231() {
var o = new core.List<api.Symbol>();
o.add(buildSymbol());
o.add(buildSymbol());
return o;
}
-checkUnnamed1236(core.List<api.Symbol> o) {
+checkUnnamed1231(core.List<api.Symbol> o) {
unittest.expect(o, unittest.hasLength(2));
checkSymbol(o[0]);
checkSymbol(o[1]);
@@ -1338,7 +1338,7 @@
if (buildCounterWord < 3) {
o.boundingBox = buildBoundingPoly();
o.property = buildTextProperty();
- o.symbols = buildUnnamed1236();
+ o.symbols = buildUnnamed1231();
}
buildCounterWord--;
return o;
@@ -1349,7 +1349,7 @@
if (buildCounterWord < 3) {
checkBoundingPoly(o.boundingBox);
checkTextProperty(o.property);
- checkUnnamed1236(o.symbols);
+ checkUnnamed1231(o.symbols);
}
buildCounterWord--;
}
diff --git a/generated/googleapis/test/webfonts/v1_test.dart b/generated/googleapis/test/webfonts/v1_test.dart
index 53f410c..117a172 100644
--- a/generated/googleapis/test/webfonts/v1_test.dart
+++ b/generated/googleapis/test/webfonts/v1_test.dart
@@ -51,40 +51,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1474() {
+buildUnnamed1471() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1474(core.Map<core.String, core.String> o) {
+checkUnnamed1471(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'));
}
-buildUnnamed1475() {
+buildUnnamed1472() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1475(core.List<core.String> o) {
+checkUnnamed1472(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1476() {
+buildUnnamed1473() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1476(core.List<core.String> o) {
+checkUnnamed1473(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -97,11 +97,11 @@
if (buildCounterWebfont < 3) {
o.category = "foo";
o.family = "foo";
- o.files = buildUnnamed1474();
+ o.files = buildUnnamed1471();
o.kind = "foo";
o.lastModified = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.subsets = buildUnnamed1475();
- o.variants = buildUnnamed1476();
+ o.subsets = buildUnnamed1472();
+ o.variants = buildUnnamed1473();
o.version = "foo";
}
buildCounterWebfont--;
@@ -113,24 +113,24 @@
if (buildCounterWebfont < 3) {
unittest.expect(o.category, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed1474(o.files);
+ checkUnnamed1471(o.files);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastModified, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed1475(o.subsets);
- checkUnnamed1476(o.variants);
+ checkUnnamed1472(o.subsets);
+ checkUnnamed1473(o.variants);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterWebfont--;
}
-buildUnnamed1477() {
+buildUnnamed1474() {
var o = new core.List<api.Webfont>();
o.add(buildWebfont());
o.add(buildWebfont());
return o;
}
-checkUnnamed1477(core.List<api.Webfont> o) {
+checkUnnamed1474(core.List<api.Webfont> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebfont(o[0]);
checkWebfont(o[1]);
@@ -141,7 +141,7 @@
var o = new api.WebfontList();
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- o.items = buildUnnamed1477();
+ o.items = buildUnnamed1474();
o.kind = "foo";
}
buildCounterWebfontList--;
@@ -151,7 +151,7 @@
checkWebfontList(api.WebfontList o) {
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- checkUnnamed1477(o.items);
+ checkUnnamed1474(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterWebfontList--;
diff --git a/generated/googleapis/test/webmasters/v3_test.dart b/generated/googleapis/test/webmasters/v3_test.dart
index b84a12c..8f0b1dd 100644
--- a/generated/googleapis/test/webmasters/v3_test.dart
+++ b/generated/googleapis/test/webmasters/v3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed606() {
+buildUnnamed592() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed606(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'));
@@ -72,7 +72,7 @@
o.clicks = 42.0;
o.ctr = 42.0;
o.impressions = 42.0;
- o.keys = buildUnnamed606();
+ o.keys = buildUnnamed592();
o.position = 42.0;
}
buildCounterApiDataRow--;
@@ -85,7 +85,7 @@
unittest.expect(o.clicks, unittest.equals(42.0));
unittest.expect(o.ctr, unittest.equals(42.0));
unittest.expect(o.impressions, unittest.equals(42.0));
- checkUnnamed606(o.keys);
+ checkUnnamed592(o.keys);
unittest.expect(o.position, unittest.equals(42.0));
}
buildCounterApiDataRow--;
@@ -114,14 +114,14 @@
buildCounterApiDimensionFilter--;
}
-buildUnnamed607() {
+buildUnnamed593() {
var o = new core.List<api.ApiDimensionFilter>();
o.add(buildApiDimensionFilter());
o.add(buildApiDimensionFilter());
return o;
}
-checkUnnamed607(core.List<api.ApiDimensionFilter> o) {
+checkUnnamed593(core.List<api.ApiDimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDimensionFilter(o[0]);
checkApiDimensionFilter(o[1]);
@@ -132,7 +132,7 @@
var o = new api.ApiDimensionFilterGroup();
buildCounterApiDimensionFilterGroup++;
if (buildCounterApiDimensionFilterGroup < 3) {
- o.filters = buildUnnamed607();
+ o.filters = buildUnnamed593();
o.groupType = "foo";
}
buildCounterApiDimensionFilterGroup--;
@@ -142,33 +142,33 @@
checkApiDimensionFilterGroup(api.ApiDimensionFilterGroup o) {
buildCounterApiDimensionFilterGroup++;
if (buildCounterApiDimensionFilterGroup < 3) {
- checkUnnamed607(o.filters);
+ checkUnnamed593(o.filters);
unittest.expect(o.groupType, unittest.equals('foo'));
}
buildCounterApiDimensionFilterGroup--;
}
-buildUnnamed608() {
+buildUnnamed594() {
var o = new core.List<api.ApiDimensionFilterGroup>();
o.add(buildApiDimensionFilterGroup());
o.add(buildApiDimensionFilterGroup());
return o;
}
-checkUnnamed608(core.List<api.ApiDimensionFilterGroup> o) {
+checkUnnamed594(core.List<api.ApiDimensionFilterGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDimensionFilterGroup(o[0]);
checkApiDimensionFilterGroup(o[1]);
}
-buildUnnamed609() {
+buildUnnamed595() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed609(core.List<core.String> o) {
+checkUnnamed595(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -180,8 +180,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
o.aggregationType = "foo";
- o.dimensionFilterGroups = buildUnnamed608();
- o.dimensions = buildUnnamed609();
+ o.dimensionFilterGroups = buildUnnamed594();
+ o.dimensions = buildUnnamed595();
o.endDate = "foo";
o.rowLimit = 42;
o.searchType = "foo";
@@ -196,8 +196,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
unittest.expect(o.aggregationType, unittest.equals('foo'));
- checkUnnamed608(o.dimensionFilterGroups);
- checkUnnamed609(o.dimensions);
+ checkUnnamed594(o.dimensionFilterGroups);
+ checkUnnamed595(o.dimensions);
unittest.expect(o.endDate, unittest.equals('foo'));
unittest.expect(o.rowLimit, unittest.equals(42));
unittest.expect(o.searchType, unittest.equals('foo'));
@@ -207,14 +207,14 @@
buildCounterSearchAnalyticsQueryRequest--;
}
-buildUnnamed610() {
+buildUnnamed596() {
var o = new core.List<api.ApiDataRow>();
o.add(buildApiDataRow());
o.add(buildApiDataRow());
return o;
}
-checkUnnamed610(core.List<api.ApiDataRow> o) {
+checkUnnamed596(core.List<api.ApiDataRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDataRow(o[0]);
checkApiDataRow(o[1]);
@@ -226,7 +226,7 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
o.responseAggregationType = "foo";
- o.rows = buildUnnamed610();
+ o.rows = buildUnnamed596();
}
buildCounterSearchAnalyticsQueryResponse--;
return o;
@@ -236,19 +236,19 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
unittest.expect(o.responseAggregationType, unittest.equals('foo'));
- checkUnnamed610(o.rows);
+ checkUnnamed596(o.rows);
}
buildCounterSearchAnalyticsQueryResponse--;
}
-buildUnnamed611() {
+buildUnnamed597() {
var o = new core.List<api.WmxSitemap>();
o.add(buildWmxSitemap());
o.add(buildWmxSitemap());
return o;
}
-checkUnnamed611(core.List<api.WmxSitemap> o) {
+checkUnnamed597(core.List<api.WmxSitemap> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemap(o[0]);
checkWmxSitemap(o[1]);
@@ -259,7 +259,7 @@
var o = new api.SitemapsListResponse();
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- o.sitemap = buildUnnamed611();
+ o.sitemap = buildUnnamed597();
}
buildCounterSitemapsListResponse--;
return o;
@@ -268,19 +268,19 @@
checkSitemapsListResponse(api.SitemapsListResponse o) {
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- checkUnnamed611(o.sitemap);
+ checkUnnamed597(o.sitemap);
}
buildCounterSitemapsListResponse--;
}
-buildUnnamed612() {
+buildUnnamed598() {
var o = new core.List<api.WmxSite>();
o.add(buildWmxSite());
o.add(buildWmxSite());
return o;
}
-checkUnnamed612(core.List<api.WmxSite> o) {
+checkUnnamed598(core.List<api.WmxSite> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSite(o[0]);
checkWmxSite(o[1]);
@@ -291,7 +291,7 @@
var o = new api.SitesListResponse();
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- o.siteEntry = buildUnnamed612();
+ o.siteEntry = buildUnnamed598();
}
buildCounterSitesListResponse--;
return o;
@@ -300,7 +300,7 @@
checkSitesListResponse(api.SitesListResponse o) {
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- checkUnnamed612(o.siteEntry);
+ checkUnnamed598(o.siteEntry);
}
buildCounterSitesListResponse--;
}
@@ -326,14 +326,14 @@
buildCounterUrlCrawlErrorCount--;
}
-buildUnnamed613() {
+buildUnnamed599() {
var o = new core.List<api.UrlCrawlErrorCount>();
o.add(buildUrlCrawlErrorCount());
o.add(buildUrlCrawlErrorCount());
return o;
}
-checkUnnamed613(core.List<api.UrlCrawlErrorCount> o) {
+checkUnnamed599(core.List<api.UrlCrawlErrorCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorCount(o[0]);
checkUrlCrawlErrorCount(o[1]);
@@ -345,7 +345,7 @@
buildCounterUrlCrawlErrorCountsPerType++;
if (buildCounterUrlCrawlErrorCountsPerType < 3) {
o.category = "foo";
- o.entries = buildUnnamed613();
+ o.entries = buildUnnamed599();
o.platform = "foo";
}
buildCounterUrlCrawlErrorCountsPerType--;
@@ -356,20 +356,20 @@
buildCounterUrlCrawlErrorCountsPerType++;
if (buildCounterUrlCrawlErrorCountsPerType < 3) {
unittest.expect(o.category, unittest.equals('foo'));
- checkUnnamed613(o.entries);
+ checkUnnamed599(o.entries);
unittest.expect(o.platform, unittest.equals('foo'));
}
buildCounterUrlCrawlErrorCountsPerType--;
}
-buildUnnamed614() {
+buildUnnamed600() {
var o = new core.List<api.UrlCrawlErrorCountsPerType>();
o.add(buildUrlCrawlErrorCountsPerType());
o.add(buildUrlCrawlErrorCountsPerType());
return o;
}
-checkUnnamed614(core.List<api.UrlCrawlErrorCountsPerType> o) {
+checkUnnamed600(core.List<api.UrlCrawlErrorCountsPerType> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorCountsPerType(o[0]);
checkUrlCrawlErrorCountsPerType(o[1]);
@@ -380,7 +380,7 @@
var o = new api.UrlCrawlErrorsCountsQueryResponse();
buildCounterUrlCrawlErrorsCountsQueryResponse++;
if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) {
- o.countPerTypes = buildUnnamed614();
+ o.countPerTypes = buildUnnamed600();
}
buildCounterUrlCrawlErrorsCountsQueryResponse--;
return o;
@@ -389,7 +389,7 @@
checkUrlCrawlErrorsCountsQueryResponse(api.UrlCrawlErrorsCountsQueryResponse o) {
buildCounterUrlCrawlErrorsCountsQueryResponse++;
if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) {
- checkUnnamed614(o.countPerTypes);
+ checkUnnamed600(o.countPerTypes);
}
buildCounterUrlCrawlErrorsCountsQueryResponse--;
}
@@ -421,14 +421,14 @@
buildCounterUrlCrawlErrorsSample--;
}
-buildUnnamed615() {
+buildUnnamed601() {
var o = new core.List<api.UrlCrawlErrorsSample>();
o.add(buildUrlCrawlErrorsSample());
o.add(buildUrlCrawlErrorsSample());
return o;
}
-checkUnnamed615(core.List<api.UrlCrawlErrorsSample> o) {
+checkUnnamed601(core.List<api.UrlCrawlErrorsSample> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorsSample(o[0]);
checkUrlCrawlErrorsSample(o[1]);
@@ -439,7 +439,7 @@
var o = new api.UrlCrawlErrorsSamplesListResponse();
buildCounterUrlCrawlErrorsSamplesListResponse++;
if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
- o.urlCrawlErrorSample = buildUnnamed615();
+ o.urlCrawlErrorSample = buildUnnamed601();
}
buildCounterUrlCrawlErrorsSamplesListResponse--;
return o;
@@ -448,32 +448,32 @@
checkUrlCrawlErrorsSamplesListResponse(api.UrlCrawlErrorsSamplesListResponse o) {
buildCounterUrlCrawlErrorsSamplesListResponse++;
if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
- checkUnnamed615(o.urlCrawlErrorSample);
+ checkUnnamed601(o.urlCrawlErrorSample);
}
buildCounterUrlCrawlErrorsSamplesListResponse--;
}
-buildUnnamed616() {
+buildUnnamed602() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed616(core.List<core.String> o) {
+checkUnnamed602(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed617() {
+buildUnnamed603() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed617(core.List<core.String> o) {
+checkUnnamed603(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -484,8 +484,8 @@
var o = new api.UrlSampleDetails();
buildCounterUrlSampleDetails++;
if (buildCounterUrlSampleDetails < 3) {
- o.containingSitemaps = buildUnnamed616();
- o.linkedFromUrls = buildUnnamed617();
+ o.containingSitemaps = buildUnnamed602();
+ o.linkedFromUrls = buildUnnamed603();
}
buildCounterUrlSampleDetails--;
return o;
@@ -494,8 +494,8 @@
checkUrlSampleDetails(api.UrlSampleDetails o) {
buildCounterUrlSampleDetails++;
if (buildCounterUrlSampleDetails < 3) {
- checkUnnamed616(o.containingSitemaps);
- checkUnnamed617(o.linkedFromUrls);
+ checkUnnamed602(o.containingSitemaps);
+ checkUnnamed603(o.linkedFromUrls);
}
buildCounterUrlSampleDetails--;
}
@@ -521,14 +521,14 @@
buildCounterWmxSite--;
}
-buildUnnamed618() {
+buildUnnamed604() {
var o = new core.List<api.WmxSitemapContent>();
o.add(buildWmxSitemapContent());
o.add(buildWmxSitemapContent());
return o;
}
-checkUnnamed618(core.List<api.WmxSitemapContent> o) {
+checkUnnamed604(core.List<api.WmxSitemapContent> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemapContent(o[0]);
checkWmxSitemapContent(o[1]);
@@ -539,7 +539,7 @@
var o = new api.WmxSitemap();
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- o.contents = buildUnnamed618();
+ o.contents = buildUnnamed604();
o.errors = "foo";
o.isPending = true;
o.isSitemapsIndex = true;
@@ -556,7 +556,7 @@
checkWmxSitemap(api.WmxSitemap o) {
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- checkUnnamed618(o.contents);
+ checkUnnamed604(o.contents);
unittest.expect(o.errors, unittest.equals('foo'));
unittest.expect(o.isPending, unittest.isTrue);
unittest.expect(o.isSitemapsIndex, unittest.isTrue);
diff --git a/generated/googleapis/test/youtube/v3_test.dart b/generated/googleapis/test/youtube/v3_test.dart
index 970644a..9f8bbac 100644
--- a/generated/googleapis/test/youtube/v3_test.dart
+++ b/generated/googleapis/test/youtube/v3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed519() {
+buildUnnamed505() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed519(core.List<core.String> o) {
+checkUnnamed505(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -70,7 +70,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
o.allowed = true;
- o.exception = buildUnnamed519();
+ o.exception = buildUnnamed505();
}
buildCounterAccessPolicy--;
return o;
@@ -80,7 +80,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
unittest.expect(o.allowed, unittest.isTrue);
- checkUnnamed519(o.exception);
+ checkUnnamed505(o.exception);
}
buildCounterAccessPolicy--;
}
@@ -269,27 +269,27 @@
buildCounterActivityContentDetailsPlaylistItem--;
}
-buildUnnamed520() {
+buildUnnamed506() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed520(core.List<core.String> o) {
+checkUnnamed506(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed521() {
+buildUnnamed507() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed521(core.List<core.String> o) {
+checkUnnamed507(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -307,8 +307,8 @@
o.customCtaButtonText = "foo";
o.descriptionText = "foo";
o.destinationUrl = "foo";
- o.forecastingUrl = buildUnnamed520();
- o.impressionUrl = buildUnnamed521();
+ o.forecastingUrl = buildUnnamed506();
+ o.impressionUrl = buildUnnamed507();
o.videoId = "foo";
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -325,8 +325,8 @@
unittest.expect(o.customCtaButtonText, unittest.equals('foo'));
unittest.expect(o.descriptionText, unittest.equals('foo'));
unittest.expect(o.destinationUrl, unittest.equals('foo'));
- checkUnnamed520(o.forecastingUrl);
- checkUnnamed521(o.impressionUrl);
+ checkUnnamed506(o.forecastingUrl);
+ checkUnnamed507(o.impressionUrl);
unittest.expect(o.videoId, unittest.equals('foo'));
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -420,14 +420,14 @@
buildCounterActivityContentDetailsUpload--;
}
-buildUnnamed522() {
+buildUnnamed508() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed522(core.List<api.Activity> o) {
+checkUnnamed508(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -440,7 +440,7 @@
if (buildCounterActivityListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed522();
+ o.items = buildUnnamed508();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -457,7 +457,7 @@
if (buildCounterActivityListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed522(o.items);
+ checkUnnamed508(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -526,14 +526,14 @@
buildCounterCaption--;
}
-buildUnnamed523() {
+buildUnnamed509() {
var o = new core.List<api.Caption>();
o.add(buildCaption());
o.add(buildCaption());
return o;
}
-checkUnnamed523(core.List<api.Caption> o) {
+checkUnnamed509(core.List<api.Caption> o) {
unittest.expect(o, unittest.hasLength(2));
checkCaption(o[0]);
checkCaption(o[1]);
@@ -546,7 +546,7 @@
if (buildCounterCaptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed523();
+ o.items = buildUnnamed509();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -559,7 +559,7 @@
if (buildCounterCaptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed523(o.items);
+ checkUnnamed509(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -636,14 +636,14 @@
buildCounterCdnSettings--;
}
-buildUnnamed524() {
+buildUnnamed510() {
var o = new core.Map<core.String, api.ChannelLocalization>();
o["x"] = buildChannelLocalization();
o["y"] = buildChannelLocalization();
return o;
}
-checkUnnamed524(core.Map<core.String, api.ChannelLocalization> o) {
+checkUnnamed510(core.Map<core.String, api.ChannelLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelLocalization(o["x"]);
checkChannelLocalization(o["y"]);
@@ -663,7 +663,7 @@
o.id = "foo";
o.invideoPromotion = buildInvideoPromotion();
o.kind = "foo";
- o.localizations = buildUnnamed524();
+ o.localizations = buildUnnamed510();
o.snippet = buildChannelSnippet();
o.statistics = buildChannelStatistics();
o.status = buildChannelStatus();
@@ -685,7 +685,7 @@
unittest.expect(o.id, unittest.equals('foo'));
checkInvideoPromotion(o.invideoPromotion);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed524(o.localizations);
+ checkUnnamed510(o.localizations);
checkChannelSnippet(o.snippet);
checkChannelStatistics(o.statistics);
checkChannelStatus(o.status);
@@ -742,14 +742,14 @@
buildCounterChannelBannerResource--;
}
-buildUnnamed525() {
+buildUnnamed511() {
var o = new core.List<api.PropertyValue>();
o.add(buildPropertyValue());
o.add(buildPropertyValue());
return o;
}
-checkUnnamed525(core.List<api.PropertyValue> o) {
+checkUnnamed511(core.List<api.PropertyValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyValue(o[0]);
checkPropertyValue(o[1]);
@@ -761,7 +761,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
o.channel = buildChannelSettings();
- o.hints = buildUnnamed525();
+ o.hints = buildUnnamed511();
o.image = buildImageSettings();
o.watch = buildWatchSettings();
}
@@ -773,7 +773,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
checkChannelSettings(o.channel);
- checkUnnamed525(o.hints);
+ checkUnnamed511(o.hints);
checkImageSettings(o.image);
checkWatchSettings(o.watch);
}
@@ -868,14 +868,14 @@
buildCounterChannelConversionPing--;
}
-buildUnnamed526() {
+buildUnnamed512() {
var o = new core.List<api.ChannelConversionPing>();
o.add(buildChannelConversionPing());
o.add(buildChannelConversionPing());
return o;
}
-checkUnnamed526(core.List<api.ChannelConversionPing> o) {
+checkUnnamed512(core.List<api.ChannelConversionPing> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelConversionPing(o[0]);
checkChannelConversionPing(o[1]);
@@ -886,7 +886,7 @@
var o = new api.ChannelConversionPings();
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- o.pings = buildUnnamed526();
+ o.pings = buildUnnamed512();
}
buildCounterChannelConversionPings--;
return o;
@@ -895,19 +895,19 @@
checkChannelConversionPings(api.ChannelConversionPings o) {
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- checkUnnamed526(o.pings);
+ checkUnnamed512(o.pings);
}
buildCounterChannelConversionPings--;
}
-buildUnnamed527() {
+buildUnnamed513() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed527(core.List<api.Channel> o) {
+checkUnnamed513(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -920,7 +920,7 @@
if (buildCounterChannelListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed527();
+ o.items = buildUnnamed513();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -937,7 +937,7 @@
if (buildCounterChannelListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed527(o.items);
+ checkUnnamed513(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -994,14 +994,14 @@
buildCounterChannelProfileDetails--;
}
-buildUnnamed528() {
+buildUnnamed514() {
var o = new core.Map<core.String, api.ChannelSectionLocalization>();
o["x"] = buildChannelSectionLocalization();
o["y"] = buildChannelSectionLocalization();
return o;
}
-checkUnnamed528(core.Map<core.String, api.ChannelSectionLocalization> o) {
+checkUnnamed514(core.Map<core.String, api.ChannelSectionLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSectionLocalization(o["x"]);
checkChannelSectionLocalization(o["y"]);
@@ -1016,7 +1016,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed528();
+ o.localizations = buildUnnamed514();
o.snippet = buildChannelSectionSnippet();
o.targeting = buildChannelSectionTargeting();
}
@@ -1031,34 +1031,34 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed528(o.localizations);
+ checkUnnamed514(o.localizations);
checkChannelSectionSnippet(o.snippet);
checkChannelSectionTargeting(o.targeting);
}
buildCounterChannelSection--;
}
-buildUnnamed529() {
+buildUnnamed515() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed529(core.List<core.String> o) {
+checkUnnamed515(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed530() {
+buildUnnamed516() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed530(core.List<core.String> o) {
+checkUnnamed516(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1069,8 +1069,8 @@
var o = new api.ChannelSectionContentDetails();
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- o.channels = buildUnnamed529();
- o.playlists = buildUnnamed530();
+ o.channels = buildUnnamed515();
+ o.playlists = buildUnnamed516();
}
buildCounterChannelSectionContentDetails--;
return o;
@@ -1079,20 +1079,20 @@
checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- checkUnnamed529(o.channels);
- checkUnnamed530(o.playlists);
+ checkUnnamed515(o.channels);
+ checkUnnamed516(o.playlists);
}
buildCounterChannelSectionContentDetails--;
}
-buildUnnamed531() {
+buildUnnamed517() {
var o = new core.List<api.ChannelSection>();
o.add(buildChannelSection());
o.add(buildChannelSection());
return o;
}
-checkUnnamed531(core.List<api.ChannelSection> o) {
+checkUnnamed517(core.List<api.ChannelSection> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSection(o[0]);
checkChannelSection(o[1]);
@@ -1105,7 +1105,7 @@
if (buildCounterChannelSectionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed531();
+ o.items = buildUnnamed517();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -1118,7 +1118,7 @@
if (buildCounterChannelSectionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed531(o.items);
+ checkUnnamed517(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -1175,40 +1175,40 @@
buildCounterChannelSectionSnippet--;
}
-buildUnnamed532() {
+buildUnnamed518() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed532(core.List<core.String> o) {
+checkUnnamed518(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed533() {
+buildUnnamed519() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed533(core.List<core.String> o) {
+checkUnnamed519(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed534() {
+buildUnnamed520() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed534(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'));
@@ -1219,9 +1219,9 @@
var o = new api.ChannelSectionTargeting();
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- o.countries = buildUnnamed532();
- o.languages = buildUnnamed533();
- o.regions = buildUnnamed534();
+ o.countries = buildUnnamed518();
+ o.languages = buildUnnamed519();
+ o.regions = buildUnnamed520();
}
buildCounterChannelSectionTargeting--;
return o;
@@ -1230,21 +1230,21 @@
checkChannelSectionTargeting(api.ChannelSectionTargeting o) {
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- checkUnnamed532(o.countries);
- checkUnnamed533(o.languages);
- checkUnnamed534(o.regions);
+ checkUnnamed518(o.countries);
+ checkUnnamed519(o.languages);
+ checkUnnamed520(o.regions);
}
buildCounterChannelSectionTargeting--;
}
-buildUnnamed535() {
+buildUnnamed521() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed535(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'));
@@ -1260,7 +1260,7 @@
o.defaultTab = "foo";
o.description = "foo";
o.featuredChannelsTitle = "foo";
- o.featuredChannelsUrls = buildUnnamed535();
+ o.featuredChannelsUrls = buildUnnamed521();
o.keywords = "foo";
o.moderateComments = true;
o.profileColor = "foo";
@@ -1282,7 +1282,7 @@
unittest.expect(o.defaultTab, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.featuredChannelsTitle, unittest.equals('foo'));
- checkUnnamed535(o.featuredChannelsUrls);
+ checkUnnamed521(o.featuredChannelsUrls);
unittest.expect(o.keywords, unittest.equals('foo'));
unittest.expect(o.moderateComments, unittest.isTrue);
unittest.expect(o.profileColor, unittest.equals('foo'));
@@ -1378,27 +1378,27 @@
buildCounterChannelStatus--;
}
-buildUnnamed536() {
+buildUnnamed522() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed536(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'));
}
-buildUnnamed537() {
+buildUnnamed523() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed537(core.List<core.String> o) {
+checkUnnamed523(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1409,8 +1409,8 @@
var o = new api.ChannelTopicDetails();
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- o.topicCategories = buildUnnamed536();
- o.topicIds = buildUnnamed537();
+ o.topicCategories = buildUnnamed522();
+ o.topicIds = buildUnnamed523();
}
buildCounterChannelTopicDetails--;
return o;
@@ -1419,8 +1419,8 @@
checkChannelTopicDetails(api.ChannelTopicDetails o) {
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- checkUnnamed536(o.topicCategories);
- checkUnnamed537(o.topicIds);
+ checkUnnamed522(o.topicCategories);
+ checkUnnamed523(o.topicIds);
}
buildCounterChannelTopicDetails--;
}
@@ -1450,14 +1450,14 @@
buildCounterComment--;
}
-buildUnnamed538() {
+buildUnnamed524() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed538(core.List<api.Comment> o) {
+checkUnnamed524(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1470,7 +1470,7 @@
if (buildCounterCommentListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed538();
+ o.items = buildUnnamed524();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1486,7 +1486,7 @@
if (buildCounterCommentListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed538(o.items);
+ checkUnnamed524(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1570,14 +1570,14 @@
buildCounterCommentThread--;
}
-buildUnnamed539() {
+buildUnnamed525() {
var o = new core.List<api.CommentThread>();
o.add(buildCommentThread());
o.add(buildCommentThread());
return o;
}
-checkUnnamed539(core.List<api.CommentThread> o) {
+checkUnnamed525(core.List<api.CommentThread> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentThread(o[0]);
checkCommentThread(o[1]);
@@ -1590,7 +1590,7 @@
if (buildCounterCommentThreadListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed539();
+ o.items = buildUnnamed525();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1606,7 +1606,7 @@
if (buildCounterCommentThreadListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed539(o.items);
+ checkUnnamed525(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1616,14 +1616,14 @@
buildCounterCommentThreadListResponse--;
}
-buildUnnamed540() {
+buildUnnamed526() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed540(core.List<api.Comment> o) {
+checkUnnamed526(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1634,7 +1634,7 @@
var o = new api.CommentThreadReplies();
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- o.comments = buildUnnamed540();
+ o.comments = buildUnnamed526();
}
buildCounterCommentThreadReplies--;
return o;
@@ -1643,7 +1643,7 @@
checkCommentThreadReplies(api.CommentThreadReplies o) {
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- checkUnnamed540(o.comments);
+ checkUnnamed526(o.comments);
}
buildCounterCommentThreadReplies--;
}
@@ -1677,27 +1677,27 @@
buildCounterCommentThreadSnippet--;
}
-buildUnnamed541() {
+buildUnnamed527() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed541(core.List<core.String> o) {
+checkUnnamed527(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed542() {
+buildUnnamed528() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed542(core.List<core.String> o) {
+checkUnnamed528(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1728,7 +1728,7 @@
o.cscfRating = "foo";
o.czfilmRating = "foo";
o.djctqRating = "foo";
- o.djctqRatingReasons = buildUnnamed541();
+ o.djctqRatingReasons = buildUnnamed527();
o.ecbmctRating = "foo";
o.eefilmRating = "foo";
o.egfilmRating = "foo";
@@ -1737,7 +1737,7 @@
o.fcoRating = "foo";
o.fmocRating = "foo";
o.fpbRating = "foo";
- o.fpbRatingReasons = buildUnnamed542();
+ o.fpbRatingReasons = buildUnnamed528();
o.fskRating = "foo";
o.grfilmRating = "foo";
o.icaaRating = "foo";
@@ -1804,7 +1804,7 @@
unittest.expect(o.cscfRating, unittest.equals('foo'));
unittest.expect(o.czfilmRating, unittest.equals('foo'));
unittest.expect(o.djctqRating, unittest.equals('foo'));
- checkUnnamed541(o.djctqRatingReasons);
+ checkUnnamed527(o.djctqRatingReasons);
unittest.expect(o.ecbmctRating, unittest.equals('foo'));
unittest.expect(o.eefilmRating, unittest.equals('foo'));
unittest.expect(o.egfilmRating, unittest.equals('foo'));
@@ -1813,7 +1813,7 @@
unittest.expect(o.fcoRating, unittest.equals('foo'));
unittest.expect(o.fmocRating, unittest.equals('foo'));
unittest.expect(o.fpbRating, unittest.equals('foo'));
- checkUnnamed542(o.fpbRatingReasons);
+ checkUnnamed528(o.fpbRatingReasons);
unittest.expect(o.fskRating, unittest.equals('foo'));
unittest.expect(o.grfilmRating, unittest.equals('foo'));
unittest.expect(o.icaaRating, unittest.equals('foo'));
@@ -1881,14 +1881,14 @@
buildCounterFanFundingEvent--;
}
-buildUnnamed543() {
+buildUnnamed529() {
var o = new core.List<api.FanFundingEvent>();
o.add(buildFanFundingEvent());
o.add(buildFanFundingEvent());
return o;
}
-checkUnnamed543(core.List<api.FanFundingEvent> o) {
+checkUnnamed529(core.List<api.FanFundingEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkFanFundingEvent(o[0]);
checkFanFundingEvent(o[1]);
@@ -1901,7 +1901,7 @@
if (buildCounterFanFundingEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed543();
+ o.items = buildUnnamed529();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1917,7 +1917,7 @@
if (buildCounterFanFundingEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed543(o.items);
+ checkUnnamed529(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2006,14 +2006,14 @@
buildCounterGuideCategory--;
}
-buildUnnamed544() {
+buildUnnamed530() {
var o = new core.List<api.GuideCategory>();
o.add(buildGuideCategory());
o.add(buildGuideCategory());
return o;
}
-checkUnnamed544(core.List<api.GuideCategory> o) {
+checkUnnamed530(core.List<api.GuideCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuideCategory(o[0]);
checkGuideCategory(o[1]);
@@ -2026,7 +2026,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed544();
+ o.items = buildUnnamed530();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2043,7 +2043,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed544(o.items);
+ checkUnnamed530(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2100,14 +2100,14 @@
buildCounterI18nLanguage--;
}
-buildUnnamed545() {
+buildUnnamed531() {
var o = new core.List<api.I18nLanguage>();
o.add(buildI18nLanguage());
o.add(buildI18nLanguage());
return o;
}
-checkUnnamed545(core.List<api.I18nLanguage> o) {
+checkUnnamed531(core.List<api.I18nLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nLanguage(o[0]);
checkI18nLanguage(o[1]);
@@ -2120,7 +2120,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed545();
+ o.items = buildUnnamed531();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2133,7 +2133,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed545(o.items);
+ checkUnnamed531(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2186,14 +2186,14 @@
buildCounterI18nRegion--;
}
-buildUnnamed546() {
+buildUnnamed532() {
var o = new core.List<api.I18nRegion>();
o.add(buildI18nRegion());
o.add(buildI18nRegion());
return o;
}
-checkUnnamed546(core.List<api.I18nRegion> o) {
+checkUnnamed532(core.List<api.I18nRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nRegion(o[0]);
checkI18nRegion(o[1]);
@@ -2206,7 +2206,7 @@
if (buildCounterI18nRegionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed546();
+ o.items = buildUnnamed532();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2219,7 +2219,7 @@
if (buildCounterI18nRegionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed546(o.items);
+ checkUnnamed532(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2379,14 +2379,14 @@
buildCounterInvideoPosition--;
}
-buildUnnamed547() {
+buildUnnamed533() {
var o = new core.List<api.PromotedItem>();
o.add(buildPromotedItem());
o.add(buildPromotedItem());
return o;
}
-checkUnnamed547(core.List<api.PromotedItem> o) {
+checkUnnamed533(core.List<api.PromotedItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotedItem(o[0]);
checkPromotedItem(o[1]);
@@ -2398,7 +2398,7 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
o.defaultTiming = buildInvideoTiming();
- o.items = buildUnnamed547();
+ o.items = buildUnnamed533();
o.position = buildInvideoPosition();
o.useSmartTiming = true;
}
@@ -2410,7 +2410,7 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
checkInvideoTiming(o.defaultTiming);
- checkUnnamed547(o.items);
+ checkUnnamed533(o.items);
checkInvideoPosition(o.position);
unittest.expect(o.useSmartTiming, unittest.isTrue);
}
@@ -2533,14 +2533,14 @@
buildCounterLiveBroadcastContentDetails--;
}
-buildUnnamed548() {
+buildUnnamed534() {
var o = new core.List<api.LiveBroadcast>();
o.add(buildLiveBroadcast());
o.add(buildLiveBroadcast());
return o;
}
-checkUnnamed548(core.List<api.LiveBroadcast> o) {
+checkUnnamed534(core.List<api.LiveBroadcast> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcast(o[0]);
checkLiveBroadcast(o[1]);
@@ -2553,7 +2553,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed548();
+ o.items = buildUnnamed534();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2570,7 +2570,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed548(o.items);
+ checkUnnamed534(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2689,14 +2689,14 @@
buildCounterLiveBroadcastTopic--;
}
-buildUnnamed549() {
+buildUnnamed535() {
var o = new core.List<api.LiveBroadcastTopic>();
o.add(buildLiveBroadcastTopic());
o.add(buildLiveBroadcastTopic());
return o;
}
-checkUnnamed549(core.List<api.LiveBroadcastTopic> o) {
+checkUnnamed535(core.List<api.LiveBroadcastTopic> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcastTopic(o[0]);
checkLiveBroadcastTopic(o[1]);
@@ -2707,7 +2707,7 @@
var o = new api.LiveBroadcastTopicDetails();
buildCounterLiveBroadcastTopicDetails++;
if (buildCounterLiveBroadcastTopicDetails < 3) {
- o.topics = buildUnnamed549();
+ o.topics = buildUnnamed535();
}
buildCounterLiveBroadcastTopicDetails--;
return o;
@@ -2716,7 +2716,7 @@
checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) {
buildCounterLiveBroadcastTopicDetails++;
if (buildCounterLiveBroadcastTopicDetails < 3) {
- checkUnnamed549(o.topics);
+ checkUnnamed535(o.topics);
}
buildCounterLiveBroadcastTopicDetails--;
}
@@ -2896,14 +2896,14 @@
buildCounterLiveChatMessageDeletedDetails--;
}
-buildUnnamed550() {
+buildUnnamed536() {
var o = new core.List<api.LiveChatMessage>();
o.add(buildLiveChatMessage());
o.add(buildLiveChatMessage());
return o;
}
-checkUnnamed550(core.List<api.LiveChatMessage> o) {
+checkUnnamed536(core.List<api.LiveChatMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatMessage(o[0]);
checkLiveChatMessage(o[1]);
@@ -2916,7 +2916,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed550();
+ o.items = buildUnnamed536();
o.kind = "foo";
o.nextPageToken = "foo";
o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2934,7 +2934,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed550(o.items);
+ checkUnnamed536(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -3039,14 +3039,14 @@
buildCounterLiveChatModerator--;
}
-buildUnnamed551() {
+buildUnnamed537() {
var o = new core.List<api.LiveChatModerator>();
o.add(buildLiveChatModerator());
o.add(buildLiveChatModerator());
return o;
}
-checkUnnamed551(core.List<api.LiveChatModerator> o) {
+checkUnnamed537(core.List<api.LiveChatModerator> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatModerator(o[0]);
checkLiveChatModerator(o[1]);
@@ -3059,7 +3059,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed551();
+ o.items = buildUnnamed537();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3076,7 +3076,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed551(o.items);
+ checkUnnamed537(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3127,14 +3127,14 @@
buildCounterLiveChatPollClosedDetails--;
}
-buildUnnamed552() {
+buildUnnamed538() {
var o = new core.List<api.LiveChatPollItem>();
o.add(buildLiveChatPollItem());
o.add(buildLiveChatPollItem());
return o;
}
-checkUnnamed552(core.List<api.LiveChatPollItem> o) {
+checkUnnamed538(core.List<api.LiveChatPollItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatPollItem(o[0]);
checkLiveChatPollItem(o[1]);
@@ -3146,7 +3146,7 @@
buildCounterLiveChatPollEditedDetails++;
if (buildCounterLiveChatPollEditedDetails < 3) {
o.id = "foo";
- o.items = buildUnnamed552();
+ o.items = buildUnnamed538();
o.prompt = "foo";
}
buildCounterLiveChatPollEditedDetails--;
@@ -3157,7 +3157,7 @@
buildCounterLiveChatPollEditedDetails++;
if (buildCounterLiveChatPollEditedDetails < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed552(o.items);
+ checkUnnamed538(o.items);
unittest.expect(o.prompt, unittest.equals('foo'));
}
buildCounterLiveChatPollEditedDetails--;
@@ -3184,14 +3184,14 @@
buildCounterLiveChatPollItem--;
}
-buildUnnamed553() {
+buildUnnamed539() {
var o = new core.List<api.LiveChatPollItem>();
o.add(buildLiveChatPollItem());
o.add(buildLiveChatPollItem());
return o;
}
-checkUnnamed553(core.List<api.LiveChatPollItem> o) {
+checkUnnamed539(core.List<api.LiveChatPollItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatPollItem(o[0]);
checkLiveChatPollItem(o[1]);
@@ -3203,7 +3203,7 @@
buildCounterLiveChatPollOpenedDetails++;
if (buildCounterLiveChatPollOpenedDetails < 3) {
o.id = "foo";
- o.items = buildUnnamed553();
+ o.items = buildUnnamed539();
o.prompt = "foo";
}
buildCounterLiveChatPollOpenedDetails--;
@@ -3214,7 +3214,7 @@
buildCounterLiveChatPollOpenedDetails++;
if (buildCounterLiveChatPollOpenedDetails < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed553(o.items);
+ checkUnnamed539(o.items);
unittest.expect(o.prompt, unittest.equals('foo'));
}
buildCounterLiveChatPollOpenedDetails--;
@@ -3387,14 +3387,14 @@
buildCounterLiveStreamContentDetails--;
}
-buildUnnamed554() {
+buildUnnamed540() {
var o = new core.List<api.LiveStreamConfigurationIssue>();
o.add(buildLiveStreamConfigurationIssue());
o.add(buildLiveStreamConfigurationIssue());
return o;
}
-checkUnnamed554(core.List<api.LiveStreamConfigurationIssue> o) {
+checkUnnamed540(core.List<api.LiveStreamConfigurationIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStreamConfigurationIssue(o[0]);
checkLiveStreamConfigurationIssue(o[1]);
@@ -3405,7 +3405,7 @@
var o = new api.LiveStreamHealthStatus();
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- o.configurationIssues = buildUnnamed554();
+ o.configurationIssues = buildUnnamed540();
o.lastUpdateTimeSeconds = "foo";
o.status = "foo";
}
@@ -3416,21 +3416,21 @@
checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) {
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- checkUnnamed554(o.configurationIssues);
+ checkUnnamed540(o.configurationIssues);
unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterLiveStreamHealthStatus--;
}
-buildUnnamed555() {
+buildUnnamed541() {
var o = new core.List<api.LiveStream>();
o.add(buildLiveStream());
o.add(buildLiveStream());
return o;
}
-checkUnnamed555(core.List<api.LiveStream> o) {
+checkUnnamed541(core.List<api.LiveStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStream(o[0]);
checkLiveStream(o[1]);
@@ -3443,7 +3443,7 @@
if (buildCounterLiveStreamListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed555();
+ o.items = buildUnnamed541();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3460,7 +3460,7 @@
if (buildCounterLiveStreamListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed555(o.items);
+ checkUnnamed541(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3519,14 +3519,14 @@
buildCounterLiveStreamStatus--;
}
-buildUnnamed556() {
+buildUnnamed542() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed556(core.List<api.LocalizedString> o) {
+checkUnnamed542(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -3539,7 +3539,7 @@
if (buildCounterLocalizedProperty < 3) {
o.default_ = "foo";
o.defaultLanguage = buildLanguageTag();
- o.localized = buildUnnamed556();
+ o.localized = buildUnnamed542();
}
buildCounterLocalizedProperty--;
return o;
@@ -3550,7 +3550,7 @@
if (buildCounterLocalizedProperty < 3) {
unittest.expect(o.default_, unittest.equals('foo'));
checkLanguageTag(o.defaultLanguage);
- checkUnnamed556(o.localized);
+ checkUnnamed542(o.localized);
}
buildCounterLocalizedProperty--;
}
@@ -3620,14 +3620,14 @@
buildCounterPageInfo--;
}
-buildUnnamed557() {
+buildUnnamed543() {
var o = new core.Map<core.String, api.PlaylistLocalization>();
o["x"] = buildPlaylistLocalization();
o["y"] = buildPlaylistLocalization();
return o;
}
-checkUnnamed557(core.Map<core.String, api.PlaylistLocalization> o) {
+checkUnnamed543(core.Map<core.String, api.PlaylistLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistLocalization(o["x"]);
checkPlaylistLocalization(o["y"]);
@@ -3642,7 +3642,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed557();
+ o.localizations = buildUnnamed543();
o.player = buildPlaylistPlayer();
o.snippet = buildPlaylistSnippet();
o.status = buildPlaylistStatus();
@@ -3658,7 +3658,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed557(o.localizations);
+ checkUnnamed543(o.localizations);
checkPlaylistPlayer(o.player);
checkPlaylistSnippet(o.snippet);
checkPlaylistStatus(o.status);
@@ -3741,14 +3741,14 @@
buildCounterPlaylistItemContentDetails--;
}
-buildUnnamed558() {
+buildUnnamed544() {
var o = new core.List<api.PlaylistItem>();
o.add(buildPlaylistItem());
o.add(buildPlaylistItem());
return o;
}
-checkUnnamed558(core.List<api.PlaylistItem> o) {
+checkUnnamed544(core.List<api.PlaylistItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistItem(o[0]);
checkPlaylistItem(o[1]);
@@ -3761,7 +3761,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed558();
+ o.items = buildUnnamed544();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3778,7 +3778,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed558(o.items);
+ checkUnnamed544(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3843,14 +3843,14 @@
buildCounterPlaylistItemStatus--;
}
-buildUnnamed559() {
+buildUnnamed545() {
var o = new core.List<api.Playlist>();
o.add(buildPlaylist());
o.add(buildPlaylist());
return o;
}
-checkUnnamed559(core.List<api.Playlist> o) {
+checkUnnamed545(core.List<api.Playlist> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylist(o[0]);
checkPlaylist(o[1]);
@@ -3863,7 +3863,7 @@
if (buildCounterPlaylistListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed559();
+ o.items = buildUnnamed545();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3880,7 +3880,7 @@
if (buildCounterPlaylistListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed559(o.items);
+ checkUnnamed545(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3931,14 +3931,14 @@
buildCounterPlaylistPlayer--;
}
-buildUnnamed560() {
+buildUnnamed546() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed560(core.List<core.String> o) {
+checkUnnamed546(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3955,7 +3955,7 @@
o.description = "foo";
o.localized = buildPlaylistLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed560();
+ o.tags = buildUnnamed546();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -3972,7 +3972,7 @@
unittest.expect(o.description, unittest.equals('foo'));
checkPlaylistLocalization(o.localized);
unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed560(o.tags);
+ checkUnnamed546(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -4094,14 +4094,14 @@
buildCounterResourceId--;
}
-buildUnnamed561() {
+buildUnnamed547() {
var o = new core.List<api.SearchResult>();
o.add(buildSearchResult());
o.add(buildSearchResult());
return o;
}
-checkUnnamed561(core.List<api.SearchResult> o) {
+checkUnnamed547(core.List<api.SearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchResult(o[0]);
checkSearchResult(o[1]);
@@ -4114,7 +4114,7 @@
if (buildCounterSearchListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed561();
+ o.items = buildUnnamed547();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4132,7 +4132,7 @@
if (buildCounterSearchListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed561(o.items);
+ checkUnnamed547(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4225,14 +4225,14 @@
buildCounterSponsor--;
}
-buildUnnamed562() {
+buildUnnamed548() {
var o = new core.List<api.Sponsor>();
o.add(buildSponsor());
o.add(buildSponsor());
return o;
}
-checkUnnamed562(core.List<api.Sponsor> o) {
+checkUnnamed548(core.List<api.Sponsor> o) {
unittest.expect(o, unittest.hasLength(2));
checkSponsor(o[0]);
checkSponsor(o[1]);
@@ -4245,7 +4245,7 @@
if (buildCounterSponsorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed562();
+ o.items = buildUnnamed548();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4261,7 +4261,7 @@
if (buildCounterSponsorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed562(o.items);
+ checkUnnamed548(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4346,14 +4346,14 @@
buildCounterSubscriptionContentDetails--;
}
-buildUnnamed563() {
+buildUnnamed549() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed563(core.List<api.Subscription> o) {
+checkUnnamed549(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -4366,7 +4366,7 @@
if (buildCounterSubscriptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed563();
+ o.items = buildUnnamed549();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4383,7 +4383,7 @@
if (buildCounterSubscriptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed563(o.items);
+ checkUnnamed549(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4475,14 +4475,14 @@
buildCounterSuperChatEvent--;
}
-buildUnnamed564() {
+buildUnnamed550() {
var o = new core.List<api.SuperChatEvent>();
o.add(buildSuperChatEvent());
o.add(buildSuperChatEvent());
return o;
}
-checkUnnamed564(core.List<api.SuperChatEvent> o) {
+checkUnnamed550(core.List<api.SuperChatEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuperChatEvent(o[0]);
checkSuperChatEvent(o[1]);
@@ -4495,7 +4495,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed564();
+ o.items = buildUnnamed550();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4511,7 +4511,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed564(o.items);
+ checkUnnamed550(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4604,14 +4604,14 @@
buildCounterThumbnailDetails--;
}
-buildUnnamed565() {
+buildUnnamed551() {
var o = new core.List<api.ThumbnailDetails>();
o.add(buildThumbnailDetails());
o.add(buildThumbnailDetails());
return o;
}
-checkUnnamed565(core.List<api.ThumbnailDetails> o) {
+checkUnnamed551(core.List<api.ThumbnailDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkThumbnailDetails(o[0]);
checkThumbnailDetails(o[1]);
@@ -4624,7 +4624,7 @@
if (buildCounterThumbnailSetResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed565();
+ o.items = buildUnnamed551();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4637,7 +4637,7 @@
if (buildCounterThumbnailSetResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed565(o.items);
+ checkUnnamed551(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -4661,14 +4661,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed566() {
+buildUnnamed552() {
var o = new core.Map<core.String, api.VideoLocalization>();
o["x"] = buildVideoLocalization();
o["y"] = buildVideoLocalization();
return o;
}
-checkUnnamed566(core.Map<core.String, api.VideoLocalization> o) {
+checkUnnamed552(core.Map<core.String, api.VideoLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoLocalization(o["x"]);
checkVideoLocalization(o["y"]);
@@ -4686,7 +4686,7 @@
o.id = "foo";
o.kind = "foo";
o.liveStreamingDetails = buildVideoLiveStreamingDetails();
- o.localizations = buildUnnamed566();
+ o.localizations = buildUnnamed552();
o.monetizationDetails = buildVideoMonetizationDetails();
o.player = buildVideoPlayer();
o.processingDetails = buildVideoProcessingDetails();
@@ -4712,7 +4712,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkVideoLiveStreamingDetails(o.liveStreamingDetails);
- checkUnnamed566(o.localizations);
+ checkUnnamed552(o.localizations);
checkVideoMonetizationDetails(o.monetizationDetails);
checkVideoPlayer(o.player);
checkVideoProcessingDetails(o.processingDetails);
@@ -4779,14 +4779,14 @@
buildCounterVideoAbuseReportReason--;
}
-buildUnnamed567() {
+buildUnnamed553() {
var o = new core.List<api.VideoAbuseReportReason>();
o.add(buildVideoAbuseReportReason());
o.add(buildVideoAbuseReportReason());
return o;
}
-checkUnnamed567(core.List<api.VideoAbuseReportReason> o) {
+checkUnnamed553(core.List<api.VideoAbuseReportReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportReason(o[0]);
checkVideoAbuseReportReason(o[1]);
@@ -4799,7 +4799,7 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed567();
+ o.items = buildUnnamed553();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4812,21 +4812,21 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed567(o.items);
+ checkUnnamed553(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoAbuseReportReasonListResponse--;
}
-buildUnnamed568() {
+buildUnnamed554() {
var o = new core.List<api.VideoAbuseReportSecondaryReason>();
o.add(buildVideoAbuseReportSecondaryReason());
o.add(buildVideoAbuseReportSecondaryReason());
return o;
}
-checkUnnamed568(core.List<api.VideoAbuseReportSecondaryReason> o) {
+checkUnnamed554(core.List<api.VideoAbuseReportSecondaryReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportSecondaryReason(o[0]);
checkVideoAbuseReportSecondaryReason(o[1]);
@@ -4838,7 +4838,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
o.label = "foo";
- o.secondaryReasons = buildUnnamed568();
+ o.secondaryReasons = buildUnnamed554();
}
buildCounterVideoAbuseReportReasonSnippet--;
return o;
@@ -4848,7 +4848,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
unittest.expect(o.label, unittest.equals('foo'));
- checkUnnamed568(o.secondaryReasons);
+ checkUnnamed554(o.secondaryReasons);
}
buildCounterVideoAbuseReportReasonSnippet--;
}
@@ -4922,14 +4922,14 @@
buildCounterVideoCategory--;
}
-buildUnnamed569() {
+buildUnnamed555() {
var o = new core.List<api.VideoCategory>();
o.add(buildVideoCategory());
o.add(buildVideoCategory());
return o;
}
-checkUnnamed569(core.List<api.VideoCategory> o) {
+checkUnnamed555(core.List<api.VideoCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoCategory(o[0]);
checkVideoCategory(o[1]);
@@ -4942,7 +4942,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed569();
+ o.items = buildUnnamed555();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4959,7 +4959,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed569(o.items);
+ checkUnnamed555(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -5030,27 +5030,27 @@
buildCounterVideoContentDetails--;
}
-buildUnnamed570() {
+buildUnnamed556() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed570(core.List<core.String> o) {
+checkUnnamed556(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed571() {
+buildUnnamed557() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed571(core.List<core.String> o) {
+checkUnnamed557(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5061,8 +5061,8 @@
var o = new api.VideoContentDetailsRegionRestriction();
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- o.allowed = buildUnnamed570();
- o.blocked = buildUnnamed571();
+ o.allowed = buildUnnamed556();
+ o.blocked = buildUnnamed557();
}
buildCounterVideoContentDetailsRegionRestriction--;
return o;
@@ -5071,33 +5071,33 @@
checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestriction o) {
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- checkUnnamed570(o.allowed);
- checkUnnamed571(o.blocked);
+ checkUnnamed556(o.allowed);
+ checkUnnamed557(o.blocked);
}
buildCounterVideoContentDetailsRegionRestriction--;
}
-buildUnnamed572() {
+buildUnnamed558() {
var o = new core.List<api.VideoFileDetailsAudioStream>();
o.add(buildVideoFileDetailsAudioStream());
o.add(buildVideoFileDetailsAudioStream());
return o;
}
-checkUnnamed572(core.List<api.VideoFileDetailsAudioStream> o) {
+checkUnnamed558(core.List<api.VideoFileDetailsAudioStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsAudioStream(o[0]);
checkVideoFileDetailsAudioStream(o[1]);
}
-buildUnnamed573() {
+buildUnnamed559() {
var o = new core.List<api.VideoFileDetailsVideoStream>();
o.add(buildVideoFileDetailsVideoStream());
o.add(buildVideoFileDetailsVideoStream());
return o;
}
-checkUnnamed573(core.List<api.VideoFileDetailsVideoStream> o) {
+checkUnnamed559(core.List<api.VideoFileDetailsVideoStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsVideoStream(o[0]);
checkVideoFileDetailsVideoStream(o[1]);
@@ -5108,7 +5108,7 @@
var o = new api.VideoFileDetails();
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- o.audioStreams = buildUnnamed572();
+ o.audioStreams = buildUnnamed558();
o.bitrateBps = "foo";
o.container = "foo";
o.creationTime = "foo";
@@ -5116,7 +5116,7 @@
o.fileName = "foo";
o.fileSize = "foo";
o.fileType = "foo";
- o.videoStreams = buildUnnamed573();
+ o.videoStreams = buildUnnamed559();
}
buildCounterVideoFileDetails--;
return o;
@@ -5125,7 +5125,7 @@
checkVideoFileDetails(api.VideoFileDetails o) {
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- checkUnnamed572(o.audioStreams);
+ checkUnnamed558(o.audioStreams);
unittest.expect(o.bitrateBps, unittest.equals('foo'));
unittest.expect(o.container, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
@@ -5133,7 +5133,7 @@
unittest.expect(o.fileName, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.fileType, unittest.equals('foo'));
- checkUnnamed573(o.videoStreams);
+ checkUnnamed559(o.videoStreams);
}
buildCounterVideoFileDetails--;
}
@@ -5196,14 +5196,14 @@
buildCounterVideoFileDetailsVideoStream--;
}
-buildUnnamed574() {
+buildUnnamed560() {
var o = new core.List<api.VideoRating>();
o.add(buildVideoRating());
o.add(buildVideoRating());
return o;
}
-checkUnnamed574(core.List<api.VideoRating> o) {
+checkUnnamed560(core.List<api.VideoRating> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoRating(o[0]);
checkVideoRating(o[1]);
@@ -5216,7 +5216,7 @@
if (buildCounterVideoGetRatingResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed574();
+ o.items = buildUnnamed560();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -5229,21 +5229,21 @@
if (buildCounterVideoGetRatingResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed574(o.items);
+ checkUnnamed560(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoGetRatingResponse--;
}
-buildUnnamed575() {
+buildUnnamed561() {
var o = new core.List<api.Video>();
o.add(buildVideo());
o.add(buildVideo());
return o;
}
-checkUnnamed575(core.List<api.Video> o) {
+checkUnnamed561(core.List<api.Video> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideo(o[0]);
checkVideo(o[1]);
@@ -5256,7 +5256,7 @@
if (buildCounterVideoListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed575();
+ o.items = buildUnnamed561();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -5273,7 +5273,7 @@
if (buildCounterVideoListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed575(o.items);
+ checkUnnamed561(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -5432,14 +5432,14 @@
buildCounterVideoProcessingDetailsProcessingProgress--;
}
-buildUnnamed576() {
+buildUnnamed562() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed576(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'));
@@ -5450,7 +5450,7 @@
var o = new api.VideoProjectDetails();
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- o.tags = buildUnnamed576();
+ o.tags = buildUnnamed562();
}
buildCounterVideoProjectDetails--;
return o;
@@ -5459,7 +5459,7 @@
checkVideoProjectDetails(api.VideoProjectDetails o) {
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- checkUnnamed576(o.tags);
+ checkUnnamed562(o.tags);
}
buildCounterVideoProjectDetails--;
}
@@ -5508,14 +5508,14 @@
buildCounterVideoRecordingDetails--;
}
-buildUnnamed577() {
+buildUnnamed563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed577(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'));
@@ -5535,7 +5535,7 @@
o.liveBroadcastContent = "foo";
o.localized = buildVideoLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed577();
+ o.tags = buildUnnamed563();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -5555,7 +5555,7 @@
unittest.expect(o.liveBroadcastContent, unittest.equals('foo'));
checkVideoLocalization(o.localized);
unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed577(o.tags);
+ checkUnnamed563(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -5622,66 +5622,66 @@
buildCounterVideoStatus--;
}
-buildUnnamed578() {
+buildUnnamed564() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed578(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'));
}
-buildUnnamed579() {
+buildUnnamed565() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed579(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'));
}
-buildUnnamed580() {
+buildUnnamed566() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed580(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'));
}
-buildUnnamed581() {
+buildUnnamed567() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed581(core.List<core.String> o) {
+checkUnnamed567(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed582() {
+buildUnnamed568() {
var o = new core.List<api.VideoSuggestionsTagSuggestion>();
o.add(buildVideoSuggestionsTagSuggestion());
o.add(buildVideoSuggestionsTagSuggestion());
return o;
}
-checkUnnamed582(core.List<api.VideoSuggestionsTagSuggestion> o) {
+checkUnnamed568(core.List<api.VideoSuggestionsTagSuggestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoSuggestionsTagSuggestion(o[0]);
checkVideoSuggestionsTagSuggestion(o[1]);
@@ -5692,11 +5692,11 @@
var o = new api.VideoSuggestions();
buildCounterVideoSuggestions++;
if (buildCounterVideoSuggestions < 3) {
- o.editorSuggestions = buildUnnamed578();
- o.processingErrors = buildUnnamed579();
- o.processingHints = buildUnnamed580();
- o.processingWarnings = buildUnnamed581();
- o.tagSuggestions = buildUnnamed582();
+ o.editorSuggestions = buildUnnamed564();
+ o.processingErrors = buildUnnamed565();
+ o.processingHints = buildUnnamed566();
+ o.processingWarnings = buildUnnamed567();
+ o.tagSuggestions = buildUnnamed568();
}
buildCounterVideoSuggestions--;
return o;
@@ -5705,23 +5705,23 @@
checkVideoSuggestions(api.VideoSuggestions o) {
buildCounterVideoSuggestions++;
if (buildCounterVideoSuggestions < 3) {
- checkUnnamed578(o.editorSuggestions);
- checkUnnamed579(o.processingErrors);
- checkUnnamed580(o.processingHints);
- checkUnnamed581(o.processingWarnings);
- checkUnnamed582(o.tagSuggestions);
+ checkUnnamed564(o.editorSuggestions);
+ checkUnnamed565(o.processingErrors);
+ checkUnnamed566(o.processingHints);
+ checkUnnamed567(o.processingWarnings);
+ checkUnnamed568(o.tagSuggestions);
}
buildCounterVideoSuggestions--;
}
-buildUnnamed583() {
+buildUnnamed569() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed583(core.List<core.String> o) {
+checkUnnamed569(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5732,7 +5732,7 @@
var o = new api.VideoSuggestionsTagSuggestion();
buildCounterVideoSuggestionsTagSuggestion++;
if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- o.categoryRestricts = buildUnnamed583();
+ o.categoryRestricts = buildUnnamed569();
o.tag = "foo";
}
buildCounterVideoSuggestionsTagSuggestion--;
@@ -5742,46 +5742,46 @@
checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
buildCounterVideoSuggestionsTagSuggestion++;
if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- checkUnnamed583(o.categoryRestricts);
+ checkUnnamed569(o.categoryRestricts);
unittest.expect(o.tag, unittest.equals('foo'));
}
buildCounterVideoSuggestionsTagSuggestion--;
}
-buildUnnamed584() {
+buildUnnamed570() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed584(core.List<core.String> o) {
+checkUnnamed570(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed585() {
+buildUnnamed571() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed585(core.List<core.String> o) {
+checkUnnamed571(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed586() {
+buildUnnamed572() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed586(core.List<core.String> o) {
+checkUnnamed572(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5792,9 +5792,9 @@
var o = new api.VideoTopicDetails();
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- o.relevantTopicIds = buildUnnamed584();
- o.topicCategories = buildUnnamed585();
- o.topicIds = buildUnnamed586();
+ o.relevantTopicIds = buildUnnamed570();
+ o.topicCategories = buildUnnamed571();
+ o.topicIds = buildUnnamed572();
}
buildCounterVideoTopicDetails--;
return o;
@@ -5803,9 +5803,9 @@
checkVideoTopicDetails(api.VideoTopicDetails o) {
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- checkUnnamed584(o.relevantTopicIds);
- checkUnnamed585(o.topicCategories);
- checkUnnamed586(o.topicIds);
+ checkUnnamed570(o.relevantTopicIds);
+ checkUnnamed571(o.topicCategories);
+ checkUnnamed572(o.topicIds);
}
buildCounterVideoTopicDetails--;
}
diff --git a/generated/googleapis/test/youtubeanalytics/v1_test.dart b/generated/googleapis/test/youtubeanalytics/v1_test.dart
index 0d5ef61..7bd320a 100644
--- a/generated/googleapis/test/youtubeanalytics/v1_test.dart
+++ b/generated/googleapis/test/youtubeanalytics/v1_test.dart
@@ -168,14 +168,14 @@
buildCounterGroupItem--;
}
-buildUnnamed216() {
+buildUnnamed214() {
var o = new core.List<api.GroupItem>();
o.add(buildGroupItem());
o.add(buildGroupItem());
return o;
}
-checkUnnamed216(core.List<api.GroupItem> o) {
+checkUnnamed214(core.List<api.GroupItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupItem(o[0]);
checkGroupItem(o[1]);
@@ -187,7 +187,7 @@
buildCounterGroupItemListResponse++;
if (buildCounterGroupItemListResponse < 3) {
o.etag = "foo";
- o.items = buildUnnamed216();
+ o.items = buildUnnamed214();
o.kind = "foo";
}
buildCounterGroupItemListResponse--;
@@ -198,20 +198,20 @@
buildCounterGroupItemListResponse++;
if (buildCounterGroupItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed216(o.items);
+ checkUnnamed214(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterGroupItemListResponse--;
}
-buildUnnamed217() {
+buildUnnamed215() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed217(core.List<api.Group> o) {
+checkUnnamed215(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -223,7 +223,7 @@
buildCounterGroupListResponse++;
if (buildCounterGroupListResponse < 3) {
o.etag = "foo";
- o.items = buildUnnamed217();
+ o.items = buildUnnamed215();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -235,7 +235,7 @@
buildCounterGroupListResponse++;
if (buildCounterGroupListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed217(o.items);
+ checkUnnamed215(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -265,43 +265,43 @@
buildCounterResultTableColumnHeaders--;
}
-buildUnnamed218() {
+buildUnnamed216() {
var o = new core.List<api.ResultTableColumnHeaders>();
o.add(buildResultTableColumnHeaders());
o.add(buildResultTableColumnHeaders());
return o;
}
-checkUnnamed218(core.List<api.ResultTableColumnHeaders> o) {
+checkUnnamed216(core.List<api.ResultTableColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultTableColumnHeaders(o[0]);
checkResultTableColumnHeaders(o[1]);
}
-buildUnnamed219() {
+buildUnnamed217() {
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;
}
-checkUnnamed219(core.List<core.Object> o) {
+checkUnnamed217(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'));
}
-buildUnnamed220() {
+buildUnnamed218() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed219());
- o.add(buildUnnamed219());
+ o.add(buildUnnamed217());
+ o.add(buildUnnamed217());
return o;
}
-checkUnnamed220(core.List<core.List<core.Object>> o) {
+checkUnnamed218(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed219(o[0]);
- checkUnnamed219(o[1]);
+ checkUnnamed217(o[0]);
+ checkUnnamed217(o[1]);
}
core.int buildCounterResultTable = 0;
@@ -309,9 +309,9 @@
var o = new api.ResultTable();
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- o.columnHeaders = buildUnnamed218();
+ o.columnHeaders = buildUnnamed216();
o.kind = "foo";
- o.rows = buildUnnamed220();
+ o.rows = buildUnnamed218();
}
buildCounterResultTable--;
return o;
@@ -320,9 +320,9 @@
checkResultTable(api.ResultTable o) {
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- checkUnnamed218(o.columnHeaders);
+ checkUnnamed216(o.columnHeaders);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed220(o.rows);
+ checkUnnamed218(o.rows);
}
buildCounterResultTable--;
}
diff --git a/generated/googleapis/test/youtubereporting/v1_test.dart b/generated/googleapis/test/youtubereporting/v1_test.dart
index 6e7bd5c..7bd49bd 100644
--- a/generated/googleapis/test/youtubereporting/v1_test.dart
+++ b/generated/googleapis/test/youtubereporting/v1_test.dart
@@ -97,14 +97,14 @@
buildCounterJob--;
}
-buildUnnamed996() {
+buildUnnamed987() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed996(core.List<api.Job> o) {
+checkUnnamed987(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -115,7 +115,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed996();
+ o.jobs = buildUnnamed987();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -125,20 +125,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed996(o.jobs);
+ checkUnnamed987(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed997() {
+buildUnnamed988() {
var o = new core.List<api.ReportType>();
o.add(buildReportType());
o.add(buildReportType());
return o;
}
-checkUnnamed997(core.List<api.ReportType> o) {
+checkUnnamed988(core.List<api.ReportType> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportType(o[0]);
checkReportType(o[1]);
@@ -150,7 +150,7 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
o.nextPageToken = "foo";
- o.reportTypes = buildUnnamed997();
+ o.reportTypes = buildUnnamed988();
}
buildCounterListReportTypesResponse--;
return o;
@@ -160,19 +160,19 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed997(o.reportTypes);
+ checkUnnamed988(o.reportTypes);
}
buildCounterListReportTypesResponse--;
}
-buildUnnamed998() {
+buildUnnamed989() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed998(core.List<api.Report> o) {
+checkUnnamed989(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -184,7 +184,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
o.nextPageToken = "foo";
- o.reports = buildUnnamed998();
+ o.reports = buildUnnamed989();
}
buildCounterListReportsResponse--;
return o;
@@ -194,7 +194,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed998(o.reports);
+ checkUnnamed989(o.reports);
}
buildCounterListReportsResponse--;
}
@@ -500,10 +500,10 @@
var mock = new HttpServerMock();
api.JobsResourceApi res = new api.YoutubereportingApi(mock).jobs;
+ var arg_onBehalfOfContentOwner = "foo";
var arg_pageToken = "foo";
var arg_includeSystemManaged = true;
var arg_pageSize = 42;
- var arg_onBehalfOfContentOwner = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -530,10 +530,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["includeSystemManaged"].first, unittest.equals("$arg_includeSystemManaged"));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
var h = {
@@ -542,7 +542,7 @@
var resp = convert.JSON.encode(buildListJobsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(pageToken: arg_pageToken, includeSystemManaged: arg_includeSystemManaged, pageSize: arg_pageSize, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.ListJobsResponse response) {
+ res.list(onBehalfOfContentOwner: arg_onBehalfOfContentOwner, pageToken: arg_pageToken, includeSystemManaged: arg_includeSystemManaged, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListJobsResponse response) {
checkListJobsResponse(response);
})));
});
@@ -613,12 +613,12 @@
var mock = new HttpServerMock();
api.JobsReportsResourceApi res = new api.YoutubereportingApi(mock).jobs.reports;
var arg_jobId = "foo";
+ var arg_createdAfter = "foo";
+ var arg_pageToken = "foo";
+ var arg_startTimeAtOrAfter = "foo";
+ var arg_pageSize = 42;
var arg_onBehalfOfContentOwner = "foo";
var arg_startTimeBefore = "foo";
- var arg_createdAfter = "foo";
- var arg_startTimeAtOrAfter = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -652,12 +652,12 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["createdAfter"].first, unittest.equals(arg_createdAfter));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["startTimeAtOrAfter"].first, unittest.equals(arg_startTimeAtOrAfter));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["startTimeBefore"].first, unittest.equals(arg_startTimeBefore));
- unittest.expect(queryMap["createdAfter"].first, unittest.equals(arg_createdAfter));
- unittest.expect(queryMap["startTimeAtOrAfter"].first, unittest.equals(arg_startTimeAtOrAfter));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -666,7 +666,7 @@
var resp = convert.JSON.encode(buildListReportsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_jobId, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, startTimeBefore: arg_startTimeBefore, createdAfter: arg_createdAfter, startTimeAtOrAfter: arg_startTimeAtOrAfter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListReportsResponse response) {
+ res.list(arg_jobId, createdAfter: arg_createdAfter, pageToken: arg_pageToken, startTimeAtOrAfter: arg_startTimeAtOrAfter, pageSize: arg_pageSize, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, startTimeBefore: arg_startTimeBefore).then(unittest.expectAsync(((api.ListReportsResponse response) {
checkListReportsResponse(response);
})));
});