1/*
2 * Copyright (c) 2022 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15package ohos;
16
17import java.util.ArrayList;
18import java.util.List;
19
20/**
21 * collection of HQF verify info.
22 */
23public class HQFInfo {
24    private String bundleName = "";
25
26    private int versionCode = -1;
27
28    private String versionName = "";
29
30    private int patchVersionCode = -1;
31
32    private String patchVersionName = "";
33
34    private String moduleName = "";
35
36    private String type = "";
37
38    private List<String> deviceTypes = new ArrayList<>();
39
40    private String originalModuleHash = "";
41
42    public String getBundleName() {
43        return bundleName;
44    }
45
46    public void setBundleName(String bundleName) {
47        this.bundleName = bundleName;
48    }
49
50    public int getVersionCode() {
51        return versionCode;
52    }
53
54    public void setVersionCode(int versionCode) {
55        this.versionCode = versionCode;
56    }
57
58    public String getVersionName() {
59        return versionName;
60    }
61
62    public void setVersionName(String versionName) {
63        this.versionName = versionName;
64    }
65
66    public int getPatchVersionCode() {
67        return patchVersionCode;
68    }
69
70    public void setPatchVersionCode(int patchVersionCode) {
71        this.patchVersionCode = patchVersionCode;
72    }
73
74    public String getPatchVersionName() {
75        return patchVersionName;
76    }
77
78    public void setPatchVersionName(String patchVersionName) {
79        this.patchVersionName = patchVersionName;
80    }
81
82    public String getModuleName() {
83        return moduleName;
84    }
85
86    public void setModuleName(String moduleName) {
87        this.moduleName = moduleName;
88    }
89
90    public String getType() {
91        return type;
92    }
93
94    public void setType(String type) {
95        this.type = type;
96    }
97
98    public List<String> getDeviceTypes() {
99        return deviceTypes;
100    }
101
102    public void setDeviceTypes(List<String> deviceTypes) {
103        this.deviceTypes = deviceTypes;
104    }
105
106    public String getOriginalModuleHash() {
107        return originalModuleHash;
108    }
109
110    public void setOriginalModuleHash(String originalModuleHash) {
111        this.originalModuleHash = originalModuleHash;
112    }
113}
114