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

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

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 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.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;
11 import 'package:crypto/crypto.dart' as crypto;
12 import 'package:http/http.dart' as http; 11 import 'package:http/http.dart' as http;
13 12
14 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show 13 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
15 ApiRequestError, DetailedApiRequestError; 14 ApiRequestError, DetailedApiRequestError;
16 15
17 const core.String USER_AGENT = 'dart-api-client admin/directory_v1'; 16 const core.String USER_AGENT = 'dart-api-client admin/directory_v1';
18 17
19 /** 18 /**
20 * The Admin SDK Directory API lets you view and manage enterprise resources 19 * The Admin SDK Directory API lets you view and manage enterprise resources
21 * such as users and groups, administrative notifications, security features, 20 * such as users and groups, administrative notifications, security features,
(...skipping 8697 matching lines...) Expand 10 before | Expand all | Expand 10 after
8719 core.int height; 8718 core.int height;
8720 /** Unique identifier of User (Read-only) */ 8719 /** Unique identifier of User (Read-only) */
8721 core.String id; 8720 core.String id;
8722 /** Kind of resource this is. */ 8721 /** Kind of resource this is. */
8723 core.String kind; 8722 core.String kind;
8724 /** Mime Type of the photo */ 8723 /** Mime Type of the photo */
8725 core.String mimeType; 8724 core.String mimeType;
8726 /** Base64 encoded photo data */ 8725 /** Base64 encoded photo data */
8727 core.String photoData; 8726 core.String photoData;
8728 core.List<core.int> get photoDataAsBytes { 8727 core.List<core.int> get photoDataAsBytes {
8729 return crypto.CryptoUtils.base64StringToBytes(photoData); 8728 return convert.BASE64.decode(photoData);
8730 } 8729 }
8731 8730
8732 void set photoDataAsBytes(core.List<core.int> _bytes) { 8731 void set photoDataAsBytes(core.List<core.int> _bytes) {
8733 photoData = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true); 8732 photoData = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+ ", "-");
8734 } 8733 }
8735 /** Primary email of User (Read-only) */ 8734 /** Primary email of User (Read-only) */
8736 core.String primaryEmail; 8735 core.String primaryEmail;
8737 /** Width in pixels of the photo */ 8736 /** Width in pixels of the photo */
8738 core.int width; 8737 core.int width;
8739 8738
8740 UserPhoto(); 8739 UserPhoto();
8741 8740
8742 UserPhoto.fromJson(core.Map _json) { 8741 UserPhoto.fromJson(core.Map _json) {
8743 if (_json.containsKey("etag")) { 8742 if (_json.containsKey("etag")) {
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
9054 } 9053 }
9055 if (items != null) { 9054 if (items != null) {
9056 _json["items"] = items.map((value) => (value).toJson()).toList(); 9055 _json["items"] = items.map((value) => (value).toJson()).toList();
9057 } 9056 }
9058 if (kind != null) { 9057 if (kind != null) {
9059 _json["kind"] = kind; 9058 _json["kind"] = kind;
9060 } 9059 }
9061 return _json; 9060 return _json;
9062 } 9061 }
9063 } 9062 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/adexchangebuyer/v1_4.dart ('k') | generated/googleapis/lib/analyticsreporting/v4.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698