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

Side by Side Diff: generated/googleapis/lib/admin/directory_v1.dart

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: 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
« no previous file with comments | « generated/googleapis/README.md ('k') | generated/googleapis/lib/admin/reports_v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.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 8017 matching lines...) Expand 10 before | Expand all | Expand 10 after
8028 core.Object organizations; 8028 core.Object organizations;
8029 /** User's password */ 8029 /** User's password */
8030 core.String password; 8030 core.String password;
8031 /** 8031 /**
8032 * 8032 *
8033 * 8033 *
8034 * The values for Object must be JSON objects. It can consist of `num`, 8034 * The values for Object must be JSON objects. It can consist of `num`,
8035 * `String`, `bool` and `null` as well as `Map` and `List` values. 8035 * `String`, `bool` and `null` as well as `Map` and `List` values.
8036 */ 8036 */
8037 core.Object phones; 8037 core.Object phones;
8038 /**
8039 *
8040 *
8041 * The values for Object must be JSON objects. It can consist of `num`,
8042 * `String`, `bool` and `null` as well as `Map` and `List` values.
8043 */
8044 core.Object posixAccounts;
8038 /** username of User */ 8045 /** username of User */
8039 core.String primaryEmail; 8046 core.String primaryEmail;
8040 /** 8047 /**
8041 * 8048 *
8042 * 8049 *
8043 * The values for Object must be JSON objects. It can consist of `num`, 8050 * The values for Object must be JSON objects. It can consist of `num`,
8044 * `String`, `bool` and `null` as well as `Map` and `List` values. 8051 * `String`, `bool` and `null` as well as `Map` and `List` values.
8045 */ 8052 */
8046 core.Object relations; 8053 core.Object relations;
8054 /**
8055 *
8056 *
8057 * The values for Object must be JSON objects. It can consist of `num`,
8058 * `String`, `bool` and `null` as well as `Map` and `List` values.
8059 */
8060 core.Object sshPublicKeys;
8047 /** Indicates if user is suspended */ 8061 /** Indicates if user is suspended */
8048 core.bool suspended; 8062 core.bool suspended;
8049 /** Suspension reason if user is suspended (Read-only) */ 8063 /** Suspension reason if user is suspended (Read-only) */
8050 core.String suspensionReason; 8064 core.String suspensionReason;
8051 /** ETag of the user's photo (Read-only) */ 8065 /** ETag of the user's photo (Read-only) */
8052 core.String thumbnailPhotoEtag; 8066 core.String thumbnailPhotoEtag;
8053 /** Photo Url of the user (Read-only) */ 8067 /** Photo Url of the user (Read-only) */
8054 core.String thumbnailPhotoUrl; 8068 core.String thumbnailPhotoUrl;
8055 /** 8069 /**
8056 * 8070 *
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
8146 } 8160 }
8147 if (_json.containsKey("organizations")) { 8161 if (_json.containsKey("organizations")) {
8148 organizations = _json["organizations"]; 8162 organizations = _json["organizations"];
8149 } 8163 }
8150 if (_json.containsKey("password")) { 8164 if (_json.containsKey("password")) {
8151 password = _json["password"]; 8165 password = _json["password"];
8152 } 8166 }
8153 if (_json.containsKey("phones")) { 8167 if (_json.containsKey("phones")) {
8154 phones = _json["phones"]; 8168 phones = _json["phones"];
8155 } 8169 }
8170 if (_json.containsKey("posixAccounts")) {
8171 posixAccounts = _json["posixAccounts"];
8172 }
8156 if (_json.containsKey("primaryEmail")) { 8173 if (_json.containsKey("primaryEmail")) {
8157 primaryEmail = _json["primaryEmail"]; 8174 primaryEmail = _json["primaryEmail"];
8158 } 8175 }
8159 if (_json.containsKey("relations")) { 8176 if (_json.containsKey("relations")) {
8160 relations = _json["relations"]; 8177 relations = _json["relations"];
8161 } 8178 }
8179 if (_json.containsKey("sshPublicKeys")) {
8180 sshPublicKeys = _json["sshPublicKeys"];
8181 }
8162 if (_json.containsKey("suspended")) { 8182 if (_json.containsKey("suspended")) {
8163 suspended = _json["suspended"]; 8183 suspended = _json["suspended"];
8164 } 8184 }
8165 if (_json.containsKey("suspensionReason")) { 8185 if (_json.containsKey("suspensionReason")) {
8166 suspensionReason = _json["suspensionReason"]; 8186 suspensionReason = _json["suspensionReason"];
8167 } 8187 }
8168 if (_json.containsKey("thumbnailPhotoEtag")) { 8188 if (_json.containsKey("thumbnailPhotoEtag")) {
8169 thumbnailPhotoEtag = _json["thumbnailPhotoEtag"]; 8189 thumbnailPhotoEtag = _json["thumbnailPhotoEtag"];
8170 } 8190 }
8171 if (_json.containsKey("thumbnailPhotoUrl")) { 8191 if (_json.containsKey("thumbnailPhotoUrl")) {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
8261 } 8281 }
8262 if (organizations != null) { 8282 if (organizations != null) {
8263 _json["organizations"] = organizations; 8283 _json["organizations"] = organizations;
8264 } 8284 }
8265 if (password != null) { 8285 if (password != null) {
8266 _json["password"] = password; 8286 _json["password"] = password;
8267 } 8287 }
8268 if (phones != null) { 8288 if (phones != null) {
8269 _json["phones"] = phones; 8289 _json["phones"] = phones;
8270 } 8290 }
8291 if (posixAccounts != null) {
8292 _json["posixAccounts"] = posixAccounts;
8293 }
8271 if (primaryEmail != null) { 8294 if (primaryEmail != null) {
8272 _json["primaryEmail"] = primaryEmail; 8295 _json["primaryEmail"] = primaryEmail;
8273 } 8296 }
8274 if (relations != null) { 8297 if (relations != null) {
8275 _json["relations"] = relations; 8298 _json["relations"] = relations;
8276 } 8299 }
8300 if (sshPublicKeys != null) {
8301 _json["sshPublicKeys"] = sshPublicKeys;
8302 }
8277 if (suspended != null) { 8303 if (suspended != null) {
8278 _json["suspended"] = suspended; 8304 _json["suspended"] = suspended;
8279 } 8305 }
8280 if (suspensionReason != null) { 8306 if (suspensionReason != null) {
8281 _json["suspensionReason"] = suspensionReason; 8307 _json["suspensionReason"] = suspensionReason;
8282 } 8308 }
8283 if (thumbnailPhotoEtag != null) { 8309 if (thumbnailPhotoEtag != null) {
8284 _json["thumbnailPhotoEtag"] = thumbnailPhotoEtag; 8310 _json["thumbnailPhotoEtag"] = thumbnailPhotoEtag;
8285 } 8311 }
8286 if (thumbnailPhotoUrl != null) { 8312 if (thumbnailPhotoUrl != null) {
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
8965 if (primaryEmail != null) { 8991 if (primaryEmail != null) {
8966 _json["primaryEmail"] = primaryEmail; 8992 _json["primaryEmail"] = primaryEmail;
8967 } 8993 }
8968 if (width != null) { 8994 if (width != null) {
8969 _json["width"] = width; 8995 _json["width"] = width;
8970 } 8996 }
8971 return _json; 8997 return _json;
8972 } 8998 }
8973 } 8999 }
8974 9000
9001 /**
9002 * JSON template for a POSIX account entry. Description of the field family:
9003 * go/fbs-posix.
9004 */
9005 class UserPosixAccount {
9006 /** The GECOS (user information) entry for this account. */
9007 core.String gecos;
9008 /** The default group ID. */
9009 core.int gid;
9010 /** The path to the home directory for this account. */
9011 core.String homeDirectory;
9012 /** If this is user's primary account within the SystemId. */
9013 core.bool primary;
9014 /** The path to the login shell for this account. */
9015 core.String shell;
9016 /** System identifier for which account Username or Uid apply to. */
9017 core.String systemId;
9018 /** The user ID. */
9019 core.int uid;
9020 /** The username of the account. */
9021 core.String username;
9022
9023 UserPosixAccount();
9024
9025 UserPosixAccount.fromJson(core.Map _json) {
9026 if (_json.containsKey("gecos")) {
9027 gecos = _json["gecos"];
9028 }
9029 if (_json.containsKey("gid")) {
9030 gid = _json["gid"];
9031 }
9032 if (_json.containsKey("homeDirectory")) {
9033 homeDirectory = _json["homeDirectory"];
9034 }
9035 if (_json.containsKey("primary")) {
9036 primary = _json["primary"];
9037 }
9038 if (_json.containsKey("shell")) {
9039 shell = _json["shell"];
9040 }
9041 if (_json.containsKey("systemId")) {
9042 systemId = _json["systemId"];
9043 }
9044 if (_json.containsKey("uid")) {
9045 uid = _json["uid"];
9046 }
9047 if (_json.containsKey("username")) {
9048 username = _json["username"];
9049 }
9050 }
9051
9052 core.Map toJson() {
9053 var _json = new core.Map();
9054 if (gecos != null) {
9055 _json["gecos"] = gecos;
9056 }
9057 if (gid != null) {
9058 _json["gid"] = gid;
9059 }
9060 if (homeDirectory != null) {
9061 _json["homeDirectory"] = homeDirectory;
9062 }
9063 if (primary != null) {
9064 _json["primary"] = primary;
9065 }
9066 if (shell != null) {
9067 _json["shell"] = shell;
9068 }
9069 if (systemId != null) {
9070 _json["systemId"] = systemId;
9071 }
9072 if (uid != null) {
9073 _json["uid"] = uid;
9074 }
9075 if (username != null) {
9076 _json["username"] = username;
9077 }
9078 return _json;
9079 }
9080 }
9081
8975 /** JSON template for a relation entry. */ 9082 /** JSON template for a relation entry. */
8976 class UserRelation { 9083 class UserRelation {
8977 /** Custom Type. */ 9084 /** Custom Type. */
8978 core.String customType; 9085 core.String customType;
8979 /** 9086 /**
8980 * The relation of the user. Some of the possible values are mother, father, 9087 * The relation of the user. Some of the possible values are mother, father,
8981 * sister, brother, manager, assistant, partner. 9088 * sister, brother, manager, assistant, partner.
8982 */ 9089 */
8983 core.String type; 9090 core.String type;
8984 /** The name of the relation. */ 9091 /** The name of the relation. */
(...skipping 21 matching lines...) Expand all
9006 if (type != null) { 9113 if (type != null) {
9007 _json["type"] = type; 9114 _json["type"] = type;
9008 } 9115 }
9009 if (value != null) { 9116 if (value != null) {
9010 _json["value"] = value; 9117 _json["value"] = value;
9011 } 9118 }
9012 return _json; 9119 return _json;
9013 } 9120 }
9014 } 9121 }
9015 9122
9123 /** JSON template for a POSIX account entry. */
9124 class UserSshPublicKey {
9125 /** An expiration time in microseconds since epoch. */
9126 core.String expirationTimeUsec;
9127 /** A SHA-256 fingerprint of the SSH public key. (Read-only) */
9128 core.String fingerprint;
9129 /** An SSH public key. */
9130 core.String key;
9131
9132 UserSshPublicKey();
9133
9134 UserSshPublicKey.fromJson(core.Map _json) {
9135 if (_json.containsKey("expirationTimeUsec")) {
9136 expirationTimeUsec = _json["expirationTimeUsec"];
9137 }
9138 if (_json.containsKey("fingerprint")) {
9139 fingerprint = _json["fingerprint"];
9140 }
9141 if (_json.containsKey("key")) {
9142 key = _json["key"];
9143 }
9144 }
9145
9146 core.Map toJson() {
9147 var _json = new core.Map();
9148 if (expirationTimeUsec != null) {
9149 _json["expirationTimeUsec"] = expirationTimeUsec;
9150 }
9151 if (fingerprint != null) {
9152 _json["fingerprint"] = fingerprint;
9153 }
9154 if (key != null) {
9155 _json["key"] = key;
9156 }
9157 return _json;
9158 }
9159 }
9160
9016 /** JSON request template to undelete a user in Directory API. */ 9161 /** JSON request template to undelete a user in Directory API. */
9017 class UserUndelete { 9162 class UserUndelete {
9018 /** OrgUnit of User */ 9163 /** OrgUnit of User */
9019 core.String orgUnitPath; 9164 core.String orgUnitPath;
9020 9165
9021 UserUndelete(); 9166 UserUndelete();
9022 9167
9023 UserUndelete.fromJson(core.Map _json) { 9168 UserUndelete.fromJson(core.Map _json) {
9024 if (_json.containsKey("orgUnitPath")) { 9169 if (_json.containsKey("orgUnitPath")) {
9025 orgUnitPath = _json["orgUnitPath"]; 9170 orgUnitPath = _json["orgUnitPath"];
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
9230 } 9375 }
9231 if (items != null) { 9376 if (items != null) {
9232 _json["items"] = items.map((value) => (value).toJson()).toList(); 9377 _json["items"] = items.map((value) => (value).toJson()).toList();
9233 } 9378 }
9234 if (kind != null) { 9379 if (kind != null) {
9235 _json["kind"] = kind; 9380 _json["kind"] = kind;
9236 } 9381 }
9237 return _json; 9382 return _json;
9238 } 9383 }
9239 } 9384 }
OLDNEW
« no previous file with comments | « generated/googleapis/README.md ('k') | generated/googleapis/lib/admin/reports_v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698