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