• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * Copyright (C) 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16export class Schedule {
17  name: string = void 0;
18  schedule_type: string = void 0;
19
20  // device image information
21  build_storage_type: number = void 0;
22  manifest_branch: string = void 0;
23  build_target: string = void 0;
24  device_pab_account_id: string = void 0;
25  require_signed_device_build: boolean = void 0;
26  has_bootloader_img: boolean = void 0;
27  has_radio_img: boolean = void 0;
28
29  // GSI information
30  gsi_storage_type: number = void 0;
31  gsi_branch: string = void 0;
32  gsi_build_target: string = void 0;
33  gsi_pab_account_id: string = void 0;
34  gsi_vendor_version: string = void 0;
35
36  // test suite information
37  test_storage_type: number = void 0;
38  test_branch: string = void 0;
39  test_build_target: string = void 0;
40  test_pab_account_id: string = void 0;
41
42  test_name: string = void 0;
43  period: number = void 0;
44  schedule: string = void 0;
45  priority: string = void 0;
46  device: string[] = void 0;
47  shards: number = void 0;
48  param: string[] = void 0;
49  retry_count: number = void 0;
50
51  required_host_equipment: string[] = void 0;
52  required_device_equipment: string[] = void 0;
53
54  report_bucket: string[] = void 0;
55  report_spreadsheet_id: string[] = void 0;
56  report_persistent_url: string[] = void 0;
57  report_reference_url: string[] = void 0;
58
59  image_package_repo_base: string = void 0;
60  timestamp = void 0;
61  owner: string[] = void 0;
62
63  error_count: number = void 0;
64  suspended: boolean = void 0;
65  urlsafe_key: string = void 0;
66}
67
68export interface ScheduleSuspendResponseWrapper {
69  schedules: ScheduleSuspendResponse[];
70}
71
72export interface ScheduleSuspendResponse {
73  urlsafe_key: string;
74  suspend: boolean;
75}
76