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

Side by Side Diff: generated/googleapis/lib/androidpublisher/v2.dart

Issue 2734843002: Api-roll 46: 2017-03-06 (Closed)
Patch Set: Created 3 years, 9 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.androidpublisher.v2; 3 library googleapis.androidpublisher.v2;
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 3244 matching lines...) Expand 10 before | Expand all | Expand 10 after
3255 "GET", 3255 "GET",
3256 body: _body, 3256 body: _body,
3257 queryParams: _queryParams, 3257 queryParams: _queryParams,
3258 uploadOptions: _uploadOptions, 3258 uploadOptions: _uploadOptions,
3259 uploadMedia: _uploadMedia, 3259 uploadMedia: _uploadMedia,
3260 downloadOptions: _downloadOptions); 3260 downloadOptions: _downloadOptions);
3261 return _response.then((data) => new Review.fromJson(data)); 3261 return _response.then((data) => new Review.fromJson(data));
3262 } 3262 }
3263 3263
3264 /** 3264 /**
3265 * Returns a list of reviews. 3265 * Returns a list of reviews. Only reviews from last week will be returned.
3266 * 3266 *
3267 * Request parameters: 3267 * Request parameters:
3268 * 3268 *
3269 * [packageName] - Unique identifier for the Android app for which we want 3269 * [packageName] - Unique identifier for the Android app for which we want
3270 * reviews; for example, "com.spiffygame". 3270 * reviews; for example, "com.spiffygame".
3271 * 3271 *
3272 * [maxResults] - null 3272 * [maxResults] - null
3273 * 3273 *
3274 * [startIndex] - null 3274 * [startIndex] - null
3275 * 3275 *
(...skipping 1965 matching lines...) Expand 10 before | Expand all | Expand 10 after
5241 * ISO 4217 currency code for the subscription price. For example, if the 5241 * ISO 4217 currency code for the subscription price. For example, if the
5242 * price is specified in British pounds sterling, price_currency_code is 5242 * price is specified in British pounds sterling, price_currency_code is
5243 * "GBP". 5243 * "GBP".
5244 */ 5244 */
5245 core.String priceCurrencyCode; 5245 core.String priceCurrencyCode;
5246 /** 5246 /**
5247 * Time at which the subscription was granted, in milliseconds since the 5247 * Time at which the subscription was granted, in milliseconds since the
5248 * Epoch. 5248 * Epoch.
5249 */ 5249 */
5250 core.String startTimeMillis; 5250 core.String startTimeMillis;
5251 /**
5252 * The time at which the subscription was canceled by the user, in
5253 * milliseconds since the epoch. Only present if cancelReason is 0.
5254 */
5255 core.String userCancellationTimeMillis;
5251 5256
5252 SubscriptionPurchase(); 5257 SubscriptionPurchase();
5253 5258
5254 SubscriptionPurchase.fromJson(core.Map _json) { 5259 SubscriptionPurchase.fromJson(core.Map _json) {
5255 if (_json.containsKey("autoRenewing")) { 5260 if (_json.containsKey("autoRenewing")) {
5256 autoRenewing = _json["autoRenewing"]; 5261 autoRenewing = _json["autoRenewing"];
5257 } 5262 }
5258 if (_json.containsKey("cancelReason")) { 5263 if (_json.containsKey("cancelReason")) {
5259 cancelReason = _json["cancelReason"]; 5264 cancelReason = _json["cancelReason"];
5260 } 5265 }
(...skipping 14 matching lines...) Expand all
5275 } 5280 }
5276 if (_json.containsKey("priceAmountMicros")) { 5281 if (_json.containsKey("priceAmountMicros")) {
5277 priceAmountMicros = _json["priceAmountMicros"]; 5282 priceAmountMicros = _json["priceAmountMicros"];
5278 } 5283 }
5279 if (_json.containsKey("priceCurrencyCode")) { 5284 if (_json.containsKey("priceCurrencyCode")) {
5280 priceCurrencyCode = _json["priceCurrencyCode"]; 5285 priceCurrencyCode = _json["priceCurrencyCode"];
5281 } 5286 }
5282 if (_json.containsKey("startTimeMillis")) { 5287 if (_json.containsKey("startTimeMillis")) {
5283 startTimeMillis = _json["startTimeMillis"]; 5288 startTimeMillis = _json["startTimeMillis"];
5284 } 5289 }
5290 if (_json.containsKey("userCancellationTimeMillis")) {
5291 userCancellationTimeMillis = _json["userCancellationTimeMillis"];
5292 }
5285 } 5293 }
5286 5294
5287 core.Map toJson() { 5295 core.Map toJson() {
5288 var _json = new core.Map(); 5296 var _json = new core.Map();
5289 if (autoRenewing != null) { 5297 if (autoRenewing != null) {
5290 _json["autoRenewing"] = autoRenewing; 5298 _json["autoRenewing"] = autoRenewing;
5291 } 5299 }
5292 if (cancelReason != null) { 5300 if (cancelReason != null) {
5293 _json["cancelReason"] = cancelReason; 5301 _json["cancelReason"] = cancelReason;
5294 } 5302 }
(...skipping 14 matching lines...) Expand all
5309 } 5317 }
5310 if (priceAmountMicros != null) { 5318 if (priceAmountMicros != null) {
5311 _json["priceAmountMicros"] = priceAmountMicros; 5319 _json["priceAmountMicros"] = priceAmountMicros;
5312 } 5320 }
5313 if (priceCurrencyCode != null) { 5321 if (priceCurrencyCode != null) {
5314 _json["priceCurrencyCode"] = priceCurrencyCode; 5322 _json["priceCurrencyCode"] = priceCurrencyCode;
5315 } 5323 }
5316 if (startTimeMillis != null) { 5324 if (startTimeMillis != null) {
5317 _json["startTimeMillis"] = startTimeMillis; 5325 _json["startTimeMillis"] = startTimeMillis;
5318 } 5326 }
5327 if (userCancellationTimeMillis != null) {
5328 _json["userCancellationTimeMillis"] = userCancellationTimeMillis;
5329 }
5319 return _json; 5330 return _json;
5320 } 5331 }
5321 } 5332 }
5322 5333
5323 class SubscriptionPurchasesDeferRequest { 5334 class SubscriptionPurchasesDeferRequest {
5324 /** 5335 /**
5325 * The information about the new desired expiry time for the subscription. 5336 * The information about the new desired expiry time for the subscription.
5326 */ 5337 */
5327 SubscriptionDeferralInfo deferralInfo; 5338 SubscriptionDeferralInfo deferralInfo;
5328 5339
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
5730 } 5741 }
5731 if (tokenPagination != null) { 5742 if (tokenPagination != null) {
5732 _json["tokenPagination"] = (tokenPagination).toJson(); 5743 _json["tokenPagination"] = (tokenPagination).toJson();
5733 } 5744 }
5734 if (voidedPurchases != null) { 5745 if (voidedPurchases != null) {
5735 _json["voidedPurchases"] = voidedPurchases.map((value) => (value).toJson() ).toList(); 5746 _json["voidedPurchases"] = voidedPurchases.map((value) => (value).toJson() ).toList();
5736 } 5747 }
5737 return _json; 5748 return _json;
5738 } 5749 }
5739 } 5750 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/androidenterprise/v1.dart ('k') | generated/googleapis/lib/appsactivity/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698