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

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

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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/lib/container/v1.dart ('k') | generated/googleapis/lib/dataproc/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.content.v2; 3 library googleapis.content.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 3206 matching lines...) Expand 10 before | Expand all | Expand 10 after
3217 } 3217 }
3218 } 3218 }
3219 3219
3220 /** 3220 /**
3221 * The status of an account, i.e., information about its products, which is 3221 * The status of an account, i.e., information about its products, which is
3222 * computed offline and not returned immediately at insertion time. 3222 * computed offline and not returned immediately at insertion time.
3223 */ 3223 */
3224 class AccountStatus { 3224 class AccountStatus {
3225 /** The ID of the account for which the status is reported. */ 3225 /** The ID of the account for which the status is reported. */
3226 core.String accountId; 3226 core.String accountId;
3227 /** A list of account level issues. */
3228 core.List<AccountStatusAccountLevelIssue> accountLevelIssues;
3227 /** A list of data quality issues. */ 3229 /** A list of data quality issues. */
3228 core.List<AccountStatusDataQualityIssue> dataQualityIssues; 3230 core.List<AccountStatusDataQualityIssue> dataQualityIssues;
3229 /** 3231 /**
3230 * Identifies what kind of resource this is. Value: the fixed string 3232 * Identifies what kind of resource this is. Value: the fixed string
3231 * "content#accountStatus". 3233 * "content#accountStatus".
3232 */ 3234 */
3233 core.String kind; 3235 core.String kind;
3234 /** Whether the account's website is claimed or not. */ 3236 /** Whether the account's website is claimed or not. */
3235 core.bool websiteClaimed; 3237 core.bool websiteClaimed;
3236 3238
3237 AccountStatus(); 3239 AccountStatus();
3238 3240
3239 AccountStatus.fromJson(core.Map _json) { 3241 AccountStatus.fromJson(core.Map _json) {
3240 if (_json.containsKey("accountId")) { 3242 if (_json.containsKey("accountId")) {
3241 accountId = _json["accountId"]; 3243 accountId = _json["accountId"];
3242 } 3244 }
3245 if (_json.containsKey("accountLevelIssues")) {
3246 accountLevelIssues = _json["accountLevelIssues"].map((value) => new Accoun tStatusAccountLevelIssue.fromJson(value)).toList();
3247 }
3243 if (_json.containsKey("dataQualityIssues")) { 3248 if (_json.containsKey("dataQualityIssues")) {
3244 dataQualityIssues = _json["dataQualityIssues"].map((value) => new AccountS tatusDataQualityIssue.fromJson(value)).toList(); 3249 dataQualityIssues = _json["dataQualityIssues"].map((value) => new AccountS tatusDataQualityIssue.fromJson(value)).toList();
3245 } 3250 }
3246 if (_json.containsKey("kind")) { 3251 if (_json.containsKey("kind")) {
3247 kind = _json["kind"]; 3252 kind = _json["kind"];
3248 } 3253 }
3249 if (_json.containsKey("websiteClaimed")) { 3254 if (_json.containsKey("websiteClaimed")) {
3250 websiteClaimed = _json["websiteClaimed"]; 3255 websiteClaimed = _json["websiteClaimed"];
3251 } 3256 }
3252 } 3257 }
3253 3258
3254 core.Map<core.String, core.Object> toJson() { 3259 core.Map<core.String, core.Object> toJson() {
3255 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 3260 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3256 if (accountId != null) { 3261 if (accountId != null) {
3257 _json["accountId"] = accountId; 3262 _json["accountId"] = accountId;
3258 } 3263 }
3264 if (accountLevelIssues != null) {
3265 _json["accountLevelIssues"] = accountLevelIssues.map((value) => (value).to Json()).toList();
3266 }
3259 if (dataQualityIssues != null) { 3267 if (dataQualityIssues != null) {
3260 _json["dataQualityIssues"] = dataQualityIssues.map((value) => (value).toJs on()).toList(); 3268 _json["dataQualityIssues"] = dataQualityIssues.map((value) => (value).toJs on()).toList();
3261 } 3269 }
3262 if (kind != null) { 3270 if (kind != null) {
3263 _json["kind"] = kind; 3271 _json["kind"] = kind;
3264 } 3272 }
3265 if (websiteClaimed != null) { 3273 if (websiteClaimed != null) {
3266 _json["websiteClaimed"] = websiteClaimed; 3274 _json["websiteClaimed"] = websiteClaimed;
3267 } 3275 }
3268 return _json; 3276 return _json;
3269 } 3277 }
3270 } 3278 }
3271 3279
3280 class AccountStatusAccountLevelIssue {
3281 /** Country for which this issue is reported. */
3282 core.String country;
3283 /** Additional details about the issue. */
3284 core.String detail;
3285 /** Issue identifier. */
3286 core.String id;
3287 /** Severity of the issue. */
3288 core.String severity;
3289 /** Short description of the issue. */
3290 core.String title;
3291
3292 AccountStatusAccountLevelIssue();
3293
3294 AccountStatusAccountLevelIssue.fromJson(core.Map _json) {
3295 if (_json.containsKey("country")) {
3296 country = _json["country"];
3297 }
3298 if (_json.containsKey("detail")) {
3299 detail = _json["detail"];
3300 }
3301 if (_json.containsKey("id")) {
3302 id = _json["id"];
3303 }
3304 if (_json.containsKey("severity")) {
3305 severity = _json["severity"];
3306 }
3307 if (_json.containsKey("title")) {
3308 title = _json["title"];
3309 }
3310 }
3311
3312 core.Map<core.String, core.Object> toJson() {
3313 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3314 if (country != null) {
3315 _json["country"] = country;
3316 }
3317 if (detail != null) {
3318 _json["detail"] = detail;
3319 }
3320 if (id != null) {
3321 _json["id"] = id;
3322 }
3323 if (severity != null) {
3324 _json["severity"] = severity;
3325 }
3326 if (title != null) {
3327 _json["title"] = title;
3328 }
3329 return _json;
3330 }
3331 }
3332
3272 class AccountStatusDataQualityIssue { 3333 class AccountStatusDataQualityIssue {
3273 /** Country for which this issue is reported. */ 3334 /** Country for which this issue is reported. */
3274 core.String country; 3335 core.String country;
3275 /** A more detailed description of the issue. */ 3336 /** A more detailed description of the issue. */
3276 core.String detail; 3337 core.String detail;
3277 /** Actual value displayed on the landing page. */ 3338 /** Actual value displayed on the landing page. */
3278 core.String displayedValue; 3339 core.String displayedValue;
3279 /** Example items featuring the issue. */ 3340 /** Example items featuring the issue. */
3280 core.List<AccountStatusExampleItem> exampleItems; 3341 core.List<AccountStatusExampleItem> exampleItems;
3281 /** Issue identifier. */ 3342 /** Issue identifier. */
(...skipping 7855 matching lines...) Expand 10 before | Expand all | Expand 10 after
11137 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 11198 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
11138 if (unit != null) { 11199 if (unit != null) {
11139 _json["unit"] = unit; 11200 _json["unit"] = unit;
11140 } 11201 }
11141 if (value != null) { 11202 if (value != null) {
11142 _json["value"] = value; 11203 _json["value"] = value;
11143 } 11204 }
11144 return _json; 11205 return _json;
11145 } 11206 }
11146 } 11207 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/container/v1.dart ('k') | generated/googleapis/lib/dataproc/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698