
com.tencentcloudapi.ocr.v20181119.models.RecognizeHealthCodeOCRResponse Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.ocr.v20181119.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class RecognizeHealthCodeOCRResponse extends AbstractModel {
/**
* 持码人姓名,如:王*(允许返回空值)
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 持码人身份证号,如:11**************01(允许返回空值)
*/
@SerializedName("IDNumber")
@Expose
private String IDNumber;
/**
* 健康码更新时间(允许返回空值)
*/
@SerializedName("Time")
@Expose
private String Time;
/**
* 健康码颜色:绿色、黄色、红色(允许返回空值)
*/
@SerializedName("Color")
@Expose
private String Color;
/**
* 核酸检测间隔时长(允许返回空值)
*/
@SerializedName("TestingInterval")
@Expose
private String TestingInterval;
/**
* 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
*/
@SerializedName("TestingResult")
@Expose
private String TestingResult;
/**
* 核酸检测时间(允许返回空值)
*/
@SerializedName("TestingTime")
@Expose
private String TestingTime;
/**
* 疫苗接种信息,返回接种针数或接种情况(允许返回空值)
*/
@SerializedName("Vaccination")
@Expose
private String Vaccination;
/**
* 场所名称(允许返回空值)
*/
@SerializedName("SpotName")
@Expose
private String SpotName;
/**
* 疫苗接种时间
*/
@SerializedName("VaccinationTime")
@Expose
private String VaccinationTime;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get 持码人姓名,如:王*(允许返回空值)
* @return Name 持码人姓名,如:王*(允许返回空值)
*/
public String getName() {
return this.Name;
}
/**
* Set 持码人姓名,如:王*(允许返回空值)
* @param Name 持码人姓名,如:王*(允许返回空值)
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 持码人身份证号,如:11**************01(允许返回空值)
* @return IDNumber 持码人身份证号,如:11**************01(允许返回空值)
*/
public String getIDNumber() {
return this.IDNumber;
}
/**
* Set 持码人身份证号,如:11**************01(允许返回空值)
* @param IDNumber 持码人身份证号,如:11**************01(允许返回空值)
*/
public void setIDNumber(String IDNumber) {
this.IDNumber = IDNumber;
}
/**
* Get 健康码更新时间(允许返回空值)
* @return Time 健康码更新时间(允许返回空值)
*/
public String getTime() {
return this.Time;
}
/**
* Set 健康码更新时间(允许返回空值)
* @param Time 健康码更新时间(允许返回空值)
*/
public void setTime(String Time) {
this.Time = Time;
}
/**
* Get 健康码颜色:绿色、黄色、红色(允许返回空值)
* @return Color 健康码颜色:绿色、黄色、红色(允许返回空值)
*/
public String getColor() {
return this.Color;
}
/**
* Set 健康码颜色:绿色、黄色、红色(允许返回空值)
* @param Color 健康码颜色:绿色、黄色、红色(允许返回空值)
*/
public void setColor(String Color) {
this.Color = Color;
}
/**
* Get 核酸检测间隔时长(允许返回空值)
* @return TestingInterval 核酸检测间隔时长(允许返回空值)
*/
public String getTestingInterval() {
return this.TestingInterval;
}
/**
* Set 核酸检测间隔时长(允许返回空值)
* @param TestingInterval 核酸检测间隔时长(允许返回空值)
*/
public void setTestingInterval(String TestingInterval) {
this.TestingInterval = TestingInterval;
}
/**
* Get 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
* @return TestingResult 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
*/
public String getTestingResult() {
return this.TestingResult;
}
/**
* Set 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
* @param TestingResult 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
*/
public void setTestingResult(String TestingResult) {
this.TestingResult = TestingResult;
}
/**
* Get 核酸检测时间(允许返回空值)
* @return TestingTime 核酸检测时间(允许返回空值)
*/
public String getTestingTime() {
return this.TestingTime;
}
/**
* Set 核酸检测时间(允许返回空值)
* @param TestingTime 核酸检测时间(允许返回空值)
*/
public void setTestingTime(String TestingTime) {
this.TestingTime = TestingTime;
}
/**
* Get 疫苗接种信息,返回接种针数或接种情况(允许返回空值)
* @return Vaccination 疫苗接种信息,返回接种针数或接种情况(允许返回空值)
*/
public String getVaccination() {
return this.Vaccination;
}
/**
* Set 疫苗接种信息,返回接种针数或接种情况(允许返回空值)
* @param Vaccination 疫苗接种信息,返回接种针数或接种情况(允许返回空值)
*/
public void setVaccination(String Vaccination) {
this.Vaccination = Vaccination;
}
/**
* Get 场所名称(允许返回空值)
* @return SpotName 场所名称(允许返回空值)
*/
public String getSpotName() {
return this.SpotName;
}
/**
* Set 场所名称(允许返回空值)
* @param SpotName 场所名称(允许返回空值)
*/
public void setSpotName(String SpotName) {
this.SpotName = SpotName;
}
/**
* Get 疫苗接种时间
* @return VaccinationTime 疫苗接种时间
*/
public String getVaccinationTime() {
return this.VaccinationTime;
}
/**
* Set 疫苗接种时间
* @param VaccinationTime 疫苗接种时间
*/
public void setVaccinationTime(String VaccinationTime) {
this.VaccinationTime = VaccinationTime;
}
/**
* Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @return RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public String getRequestId() {
return this.RequestId;
}
/**
* Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @param RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public void setRequestId(String RequestId) {
this.RequestId = RequestId;
}
public RecognizeHealthCodeOCRResponse() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public RecognizeHealthCodeOCRResponse(RecognizeHealthCodeOCRResponse source) {
if (source.Name != null) {
this.Name = new String(source.Name);
}
if (source.IDNumber != null) {
this.IDNumber = new String(source.IDNumber);
}
if (source.Time != null) {
this.Time = new String(source.Time);
}
if (source.Color != null) {
this.Color = new String(source.Color);
}
if (source.TestingInterval != null) {
this.TestingInterval = new String(source.TestingInterval);
}
if (source.TestingResult != null) {
this.TestingResult = new String(source.TestingResult);
}
if (source.TestingTime != null) {
this.TestingTime = new String(source.TestingTime);
}
if (source.Vaccination != null) {
this.Vaccination = new String(source.Vaccination);
}
if (source.SpotName != null) {
this.SpotName = new String(source.SpotName);
}
if (source.VaccinationTime != null) {
this.VaccinationTime = new String(source.VaccinationTime);
}
if (source.RequestId != null) {
this.RequestId = new String(source.RequestId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamSimple(map, prefix + "IDNumber", this.IDNumber);
this.setParamSimple(map, prefix + "Time", this.Time);
this.setParamSimple(map, prefix + "Color", this.Color);
this.setParamSimple(map, prefix + "TestingInterval", this.TestingInterval);
this.setParamSimple(map, prefix + "TestingResult", this.TestingResult);
this.setParamSimple(map, prefix + "TestingTime", this.TestingTime);
this.setParamSimple(map, prefix + "Vaccination", this.Vaccination);
this.setParamSimple(map, prefix + "SpotName", this.SpotName);
this.setParamSimple(map, prefix + "VaccinationTime", this.VaccinationTime);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy