| OLD | NEW |
| 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.admin.directory_v1; | 3 library googleapis.admin.directory_v1; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:collection' as collection; | 6 import 'dart:collection' as collection; |
| 7 import 'dart:async' as async; | 7 import 'dart:async' as async; |
| 8 import 'dart:convert' as convert; | 8 import 'dart:convert' as convert; |
| 9 | 9 |
| 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 } | 582 } |
| 583 | 583 |
| 584 | 584 |
| 585 class CustomersResourceApi { | 585 class CustomersResourceApi { |
| 586 final commons.ApiRequester _requester; | 586 final commons.ApiRequester _requester; |
| 587 | 587 |
| 588 CustomersResourceApi(commons.ApiRequester client) : | 588 CustomersResourceApi(commons.ApiRequester client) : |
| 589 _requester = client; | 589 _requester = client; |
| 590 | 590 |
| 591 /** | 591 /** |
| 592 * Retrives a customer. | 592 * Retrieves a customer. |
| 593 * | 593 * |
| 594 * Request parameters: | 594 * Request parameters: |
| 595 * | 595 * |
| 596 * [customerKey] - Id of the customer to be retrieved | 596 * [customerKey] - Id of the customer to be retrieved |
| 597 * | 597 * |
| 598 * Completes with a [Customer]. | 598 * Completes with a [Customer]. |
| 599 * | 599 * |
| 600 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 600 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 601 * error. | 601 * error. |
| 602 * | 602 * |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 948 "DELETE", | 948 "DELETE", |
| 949 body: _body, | 949 body: _body, |
| 950 queryParams: _queryParams, | 950 queryParams: _queryParams, |
| 951 uploadOptions: _uploadOptions, | 951 uploadOptions: _uploadOptions, |
| 952 uploadMedia: _uploadMedia, | 952 uploadMedia: _uploadMedia, |
| 953 downloadOptions: _downloadOptions); | 953 downloadOptions: _downloadOptions); |
| 954 return _response.then((data) => null); | 954 return _response.then((data) => null); |
| 955 } | 955 } |
| 956 | 956 |
| 957 /** | 957 /** |
| 958 * Retrives a domain of the customer. | 958 * Retrieves a domain of the customer. |
| 959 * | 959 * |
| 960 * Request parameters: | 960 * Request parameters: |
| 961 * | 961 * |
| 962 * [customer] - Immutable id of the Google Apps account. | 962 * [customer] - Immutable id of the Google Apps account. |
| 963 * | 963 * |
| 964 * [domainName] - Name of domain to be retrieved | 964 * [domainName] - Name of domain to be retrieved |
| 965 * | 965 * |
| 966 * Completes with a [Domains]. | 966 * Completes with a [Domains]. |
| 967 * | 967 * |
| 968 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 968 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| (...skipping 8084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9053 } | 9053 } |
| 9054 if (items != null) { | 9054 if (items != null) { |
| 9055 _json["items"] = items.map((value) => (value).toJson()).toList(); | 9055 _json["items"] = items.map((value) => (value).toJson()).toList(); |
| 9056 } | 9056 } |
| 9057 if (kind != null) { | 9057 if (kind != null) { |
| 9058 _json["kind"] = kind; | 9058 _json["kind"] = kind; |
| 9059 } | 9059 } |
| 9060 return _json; | 9060 return _json; |
| 9061 } | 9061 } |
| 9062 } | 9062 } |
| OLD | NEW |