| 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_beta.toolresults.v1beta3; | 3 library googleapis_beta.toolresults.v1beta3; |
| 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 2064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2075 * | 2075 * |
| 2076 * - In response always set - In create/update request: optional | 2076 * - In response always set - In create/update request: optional |
| 2077 * Possible string values are: | 2077 * Possible string values are: |
| 2078 * - "complete" | 2078 * - "complete" |
| 2079 * - "inProgress" | 2079 * - "inProgress" |
| 2080 * - "pending" | 2080 * - "pending" |
| 2081 * - "unknownState" | 2081 * - "unknownState" |
| 2082 */ | 2082 */ |
| 2083 core.String state; | 2083 core.String state; |
| 2084 /** | 2084 /** |
| 2085 * TestExecution Matrix ID that the Test Service uses. | 2085 * TestExecution Matrix ID that the TestExecutionService uses. |
| 2086 * | 2086 * |
| 2087 * - In response: present if set by create - In create: optional - In update: | 2087 * - In response: present if set by create - In create: optional - In update: |
| 2088 * never set | 2088 * never set |
| 2089 */ | 2089 */ |
| 2090 core.String testExecutionMatrixId; | 2090 core.String testExecutionMatrixId; |
| 2091 | 2091 |
| 2092 Execution(); | 2092 Execution(); |
| 2093 | 2093 |
| 2094 Execution.fromJson(core.Map _json) { | 2094 Execution.fromJson(core.Map _json) { |
| 2095 if (_json.containsKey("completionTime")) { | 2095 if (_json.containsKey("completionTime")) { |
| (...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3011 } | 3011 } |
| 3012 if (incompatibleDevice != null) { | 3012 if (incompatibleDevice != null) { |
| 3013 _json["incompatibleDevice"] = incompatibleDevice; | 3013 _json["incompatibleDevice"] = incompatibleDevice; |
| 3014 } | 3014 } |
| 3015 return _json; | 3015 return _json; |
| 3016 } | 3016 } |
| 3017 } | 3017 } |
| 3018 | 3018 |
| 3019 /** A stacktrace. */ | 3019 /** A stacktrace. */ |
| 3020 class StackTrace { | 3020 class StackTrace { |
| 3021 /** Exception cluster ID */ |
| 3022 core.String clusterId; |
| 3021 /** | 3023 /** |
| 3022 * The stack trace message. | 3024 * The stack trace message. |
| 3023 * | 3025 * |
| 3024 * Required | 3026 * Required |
| 3025 */ | 3027 */ |
| 3026 core.String exception; | 3028 core.String exception; |
| 3029 /** Exception report ID */ |
| 3030 core.String reportId; |
| 3027 | 3031 |
| 3028 StackTrace(); | 3032 StackTrace(); |
| 3029 | 3033 |
| 3030 StackTrace.fromJson(core.Map _json) { | 3034 StackTrace.fromJson(core.Map _json) { |
| 3035 if (_json.containsKey("clusterId")) { |
| 3036 clusterId = _json["clusterId"]; |
| 3037 } |
| 3031 if (_json.containsKey("exception")) { | 3038 if (_json.containsKey("exception")) { |
| 3032 exception = _json["exception"]; | 3039 exception = _json["exception"]; |
| 3033 } | 3040 } |
| 3041 if (_json.containsKey("reportId")) { |
| 3042 reportId = _json["reportId"]; |
| 3043 } |
| 3034 } | 3044 } |
| 3035 | 3045 |
| 3036 core.Map<core.String, core.Object> toJson() { | 3046 core.Map<core.String, core.Object> toJson() { |
| 3037 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3047 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3048 if (clusterId != null) { |
| 3049 _json["clusterId"] = clusterId; |
| 3050 } |
| 3038 if (exception != null) { | 3051 if (exception != null) { |
| 3039 _json["exception"] = exception; | 3052 _json["exception"] = exception; |
| 3040 } | 3053 } |
| 3054 if (reportId != null) { |
| 3055 _json["reportId"] = reportId; |
| 3056 } |
| 3041 return _json; | 3057 return _json; |
| 3042 } | 3058 } |
| 3043 } | 3059 } |
| 3044 | 3060 |
| 3045 /** | 3061 /** |
| 3046 * The `Status` type defines a logical error model that is suitable for | 3062 * The `Status` type defines a logical error model that is suitable for |
| 3047 * different programming environments, including REST APIs and RPC APIs. It is | 3063 * different programming environments, including REST APIs and RPC APIs. It is |
| 3048 * used by [gRPC](https://github.com/grpc). The error model is designed to be: | 3064 * used by [gRPC](https://github.com/grpc). The error model is designed to be: |
| 3049 * | 3065 * |
| 3050 * - Simple to use and understand for most users - Flexible enough to meet | 3066 * - Simple to use and understand for most users - Flexible enough to meet |
| (...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4148 } | 4164 } |
| 4149 if (output != null) { | 4165 if (output != null) { |
| 4150 _json["output"] = (output).toJson(); | 4166 _json["output"] = (output).toJson(); |
| 4151 } | 4167 } |
| 4152 if (testCase != null) { | 4168 if (testCase != null) { |
| 4153 _json["testCase"] = (testCase).toJson(); | 4169 _json["testCase"] = (testCase).toJson(); |
| 4154 } | 4170 } |
| 4155 return _json; | 4171 return _json; |
| 4156 } | 4172 } |
| 4157 } | 4173 } |
| OLD | NEW |