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.vault.v1; | 3 library googleapis.vault.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 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 body: _body, | 832 body: _body, |
833 queryParams: _queryParams, | 833 queryParams: _queryParams, |
834 uploadOptions: _uploadOptions, | 834 uploadOptions: _uploadOptions, |
835 uploadMedia: _uploadMedia, | 835 uploadMedia: _uploadMedia, |
836 downloadOptions: _downloadOptions); | 836 downloadOptions: _downloadOptions); |
837 return _response.then((data) => new Empty.fromJson(data)); | 837 return _response.then((data) => new Empty.fromJson(data)); |
838 } | 838 } |
839 | 839 |
840 /** | 840 /** |
841 * Lists HeldAccounts for a hold. This will only list individually specified | 841 * Lists HeldAccounts for a hold. This will only list individually specified |
842 * held accounts. If the hold is on an OU, then use the | 842 * held accounts. If the hold is on an OU, then use |
843 * <ahref="https://developers.google.com/admin-sdk/">Admin SDK</a> | 843 * <a href="https://developers.google.com/admin-sdk/">Admin SDK</a> |
844 * to enumerate its members. | 844 * to enumerate its members. |
845 * | 845 * |
846 * Request parameters: | 846 * Request parameters: |
847 * | 847 * |
848 * [matterId] - The matter ID. | 848 * [matterId] - The matter ID. |
849 * | 849 * |
850 * [holdId] - The hold ID. | 850 * [holdId] - The hold ID. |
851 * | 851 * |
852 * Completes with a [ListHeldAccountsResponse]. | 852 * Completes with a [ListHeldAccountsResponse]. |
853 * | 853 * |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 return _json; | 1034 return _json; |
1035 } | 1035 } |
1036 } | 1036 } |
1037 | 1037 |
1038 /** | 1038 /** |
1039 * An account being held in a particular hold. This structure is immutable. | 1039 * An account being held in a particular hold. This structure is immutable. |
1040 * This can be either a single user or a google group, depending on the corpus. | 1040 * This can be either a single user or a google group, depending on the corpus. |
1041 */ | 1041 */ |
1042 class HeldAccount { | 1042 class HeldAccount { |
1043 /** | 1043 /** |
1044 * The account's ID as provided by the <a | 1044 * The account's ID as provided by the |
1045 * href="https://developers.google.com/admin-sdk/">Admin SDK</a>. | 1045 * <a href="https://developers.google.com/admin-sdk/">Admin SDK</a>. |
1046 */ | 1046 */ |
1047 core.String accountId; | 1047 core.String accountId; |
1048 /** When the account was put on hold. */ | 1048 /** When the account was put on hold. */ |
1049 core.String holdTime; | 1049 core.String holdTime; |
1050 | 1050 |
1051 HeldAccount(); | 1051 HeldAccount(); |
1052 | 1052 |
1053 HeldAccount.fromJson(core.Map _json) { | 1053 HeldAccount.fromJson(core.Map _json) { |
1054 if (_json.containsKey("accountId")) { | 1054 if (_json.containsKey("accountId")) { |
1055 accountId = _json["accountId"]; | 1055 accountId = _json["accountId"]; |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1565 UndeleteMatterRequest(); | 1565 UndeleteMatterRequest(); |
1566 | 1566 |
1567 UndeleteMatterRequest.fromJson(core.Map _json) { | 1567 UndeleteMatterRequest.fromJson(core.Map _json) { |
1568 } | 1568 } |
1569 | 1569 |
1570 core.Map<core.String, core.Object> toJson() { | 1570 core.Map<core.String, core.Object> toJson() { |
1571 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1571 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1572 return _json; | 1572 return _json; |
1573 } | 1573 } |
1574 } | 1574 } |
OLD | NEW |