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

Side by Side Diff: generated/googleapis/lib/androidenterprise/v1.dart

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.androidenterprise.v1; 3 library googleapis.androidenterprise.v1;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 body: _body, 625 body: _body,
626 queryParams: _queryParams, 626 queryParams: _queryParams,
627 uploadOptions: _uploadOptions, 627 uploadOptions: _uploadOptions,
628 uploadMedia: _uploadMedia, 628 uploadMedia: _uploadMedia,
629 downloadOptions: _downloadOptions); 629 downloadOptions: _downloadOptions);
630 return _response.then((data) => new ServiceAccount.fromJson(data)); 630 return _response.then((data) => new ServiceAccount.fromJson(data));
631 } 631 }
632 632
633 /** 633 /**
634 * Returns the store layout for the enterprise. If the store layout has not 634 * Returns the store layout for the enterprise. If the store layout has not
635 * been set, or if the store layout has no homepageId set, returns a NOT_FOUND 635 * been set, returns "basic" as the store layout type and no homepage.
636 * error.
637 * 636 *
638 * Request parameters: 637 * Request parameters:
639 * 638 *
640 * [enterpriseId] - The ID of the enterprise. 639 * [enterpriseId] - The ID of the enterprise.
641 * 640 *
642 * Completes with a [StoreLayout]. 641 * Completes with a [StoreLayout].
643 * 642 *
644 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 643 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
645 * error. 644 * error.
646 * 645 *
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 downloadOptions: _downloadOptions); 908 downloadOptions: _downloadOptions);
910 return _response.then((data) => new EnterpriseAccount.fromJson(data)); 909 return _response.then((data) => new EnterpriseAccount.fromJson(data));
911 } 910 }
912 911
913 /** 912 /**
914 * Sets the store layout for the enterprise. By default, storeLayoutType is 913 * Sets the store layout for the enterprise. By default, storeLayoutType is
915 * set to "basic" and the basic store layout is enabled. The basic layout only 914 * set to "basic" and the basic store layout is enabled. The basic layout only
916 * contains apps approved by the admin, and that have been added to the 915 * contains apps approved by the admin, and that have been added to the
917 * available product set for a user (using the setAvailableProductSet call). 916 * available product set for a user (using the setAvailableProductSet call).
918 * Apps on the page are sorted in order of their product ID value. If you 917 * Apps on the page are sorted in order of their product ID value. If you
919 * create a custom store layout (by setting storeLayoutType = "custom"), the 918 * create a custom store layout (by setting storeLayoutType = "custom" and
920 * basic store layout is disabled. 919 * setting a homepage), the basic store layout is disabled.
921 * 920 *
922 * [request] - The metadata request object. 921 * [request] - The metadata request object.
923 * 922 *
924 * Request parameters: 923 * Request parameters:
925 * 924 *
926 * [enterpriseId] - The ID of the enterprise. 925 * [enterpriseId] - The ID of the enterprise.
927 * 926 *
928 * Completes with a [StoreLayout]. 927 * Completes with a [StoreLayout].
929 * 928 *
930 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 929 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 5641 matching lines...) Expand 10 before | Expand all | Expand 10 after
6572 return _json; 6571 return _json;
6573 } 6572 }
6574 } 6573 }
6575 6574
6576 /** 6575 /**
6577 * General setting for the managed Google Play store layout, currently only 6576 * General setting for the managed Google Play store layout, currently only
6578 * specifying the page to display the first time the store is opened. 6577 * specifying the page to display the first time the store is opened.
6579 */ 6578 */
6580 class StoreLayout { 6579 class StoreLayout {
6581 /** 6580 /**
6582 * The ID of the store page to be used as the homepage. The homepage will be 6581 * The ID of the store page to be used as the homepage. The homepage is the
6583 * used as the first page shown in the managed Google Play store. 6582 * first page shown in the managed Google Play Store.
6584 * 6583 *
6585 * If a homepage has not been set, the Play store shown on devices will be 6584 * Not specifying a homepage is equivalent to setting the store layout type to
6586 * empty. Not specifying a homepage on a store layout effectively empties the 6585 * "basic".
6587 * store.
6588 *
6589 * If there exists at least one page, this field must be set to the ID of a
6590 * valid page.
6591 */ 6586 */
6592 core.String homepageId; 6587 core.String homepageId;
6593 /** 6588 /**
6594 * Identifies what kind of resource this is. Value: the fixed string 6589 * Identifies what kind of resource this is. Value: the fixed string
6595 * "androidenterprise#storeLayout". 6590 * "androidenterprise#storeLayout".
6596 */ 6591 */
6597 core.String kind; 6592 core.String kind;
6598 /** 6593 /**
6599 * The store layout type. By default, this value is set to "basic". If set to 6594 * The store layout type. By default, this value is set to "basic" if the
6600 * "custom", "homepageId" must be specified. If set to "basic", the layout 6595 * homepageId field is not set, and to "custom" otherwise. If set to "basic",
6601 * will consist of all approved apps accessible by the user, split in pages of 6596 * the layout will consist of all approved apps that have been whitelisted for
6602 * 100 each; in this case, "homepageId" must not be specified. The "basic" 6597 * the user.
6603 * setting takes precedence over any existing collections setup for this
6604 * enterprise (if any). Should the enterprise use collectionViewers for
6605 * controlling access rights, these will still be respected.
6606 */ 6598 */
6607 core.String storeLayoutType; 6599 core.String storeLayoutType;
6608 6600
6609 StoreLayout(); 6601 StoreLayout();
6610 6602
6611 StoreLayout.fromJson(core.Map _json) { 6603 StoreLayout.fromJson(core.Map _json) {
6612 if (_json.containsKey("homepageId")) { 6604 if (_json.containsKey("homepageId")) {
6613 homepageId = _json["homepageId"]; 6605 homepageId = _json["homepageId"];
6614 } 6606 }
6615 if (_json.containsKey("kind")) { 6607 if (_json.containsKey("kind")) {
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
6977 var _json = new core.Map(); 6969 var _json = new core.Map();
6978 if (kind != null) { 6970 if (kind != null) {
6979 _json["kind"] = kind; 6971 _json["kind"] = kind;
6980 } 6972 }
6981 if (user != null) { 6973 if (user != null) {
6982 _json["user"] = user.map((value) => (value).toJson()).toList(); 6974 _json["user"] = user.map((value) => (value).toJson()).toList();
6983 } 6975 }
6984 return _json; 6976 return _json;
6985 } 6977 }
6986 } 6978 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/admin/reports_v1.dart ('k') | generated/googleapis/lib/appengine/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698