
com.tencentcloudapi.ocr.v20181119.models.BizLicenseOCRResponse 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 BizLicenseOCRResponse extends AbstractModel {
/**
* 统一社会信用代码(三合一之前为注册号)
*/
@SerializedName("RegNum")
@Expose
private String RegNum;
/**
* 公司名称
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 注册资本
*/
@SerializedName("Capital")
@Expose
private String Capital;
/**
* 法定代表人
*/
@SerializedName("Person")
@Expose
private String Person;
/**
* 地址
*/
@SerializedName("Address")
@Expose
private String Address;
/**
* 经营范围
*/
@SerializedName("Business")
@Expose
private String Business;
/**
* 主体类型
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* 营业期限
*/
@SerializedName("Period")
@Expose
private String Period;
/**
* 组成形式
*/
@SerializedName("ComposingForm")
@Expose
private String ComposingForm;
/**
* 成立日期
*/
@SerializedName("SetDate")
@Expose
private String SetDate;
/**
* Code 告警码列表和释义:
-9102 黑白复印件告警
-9104 翻拍件告警
*/
@SerializedName("RecognizeWarnCode")
@Expose
private Long [] RecognizeWarnCode;
/**
* 告警码说明:
WARN_COPY_CARD 黑白复印件告警
WARN_RESHOOT_SCREENED_CARD 翻拍件告警
*/
@SerializedName("RecognizeWarnMsg")
@Expose
private String [] RecognizeWarnMsg;
/**
* 是否为副本。1为是,-1为不是。
*/
@SerializedName("IsDuplication")
@Expose
private Long IsDuplication;
/**
* 登记日期
*/
@SerializedName("RegistrationDate")
@Expose
private String RegistrationDate;
/**
* 图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度
*/
@SerializedName("Angle")
@Expose
private Float Angle;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get 统一社会信用代码(三合一之前为注册号)
* @return RegNum 统一社会信用代码(三合一之前为注册号)
*/
public String getRegNum() {
return this.RegNum;
}
/**
* Set 统一社会信用代码(三合一之前为注册号)
* @param RegNum 统一社会信用代码(三合一之前为注册号)
*/
public void setRegNum(String RegNum) {
this.RegNum = RegNum;
}
/**
* Get 公司名称
* @return Name 公司名称
*/
public String getName() {
return this.Name;
}
/**
* Set 公司名称
* @param Name 公司名称
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 注册资本
* @return Capital 注册资本
*/
public String getCapital() {
return this.Capital;
}
/**
* Set 注册资本
* @param Capital 注册资本
*/
public void setCapital(String Capital) {
this.Capital = Capital;
}
/**
* Get 法定代表人
* @return Person 法定代表人
*/
public String getPerson() {
return this.Person;
}
/**
* Set 法定代表人
* @param Person 法定代表人
*/
public void setPerson(String Person) {
this.Person = Person;
}
/**
* Get 地址
* @return Address 地址
*/
public String getAddress() {
return this.Address;
}
/**
* Set 地址
* @param Address 地址
*/
public void setAddress(String Address) {
this.Address = Address;
}
/**
* Get 经营范围
* @return Business 经营范围
*/
public String getBusiness() {
return this.Business;
}
/**
* Set 经营范围
* @param Business 经营范围
*/
public void setBusiness(String Business) {
this.Business = Business;
}
/**
* Get 主体类型
* @return Type 主体类型
*/
public String getType() {
return this.Type;
}
/**
* Set 主体类型
* @param Type 主体类型
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get 营业期限
* @return Period 营业期限
*/
public String getPeriod() {
return this.Period;
}
/**
* Set 营业期限
* @param Period 营业期限
*/
public void setPeriod(String Period) {
this.Period = Period;
}
/**
* Get 组成形式
* @return ComposingForm 组成形式
*/
public String getComposingForm() {
return this.ComposingForm;
}
/**
* Set 组成形式
* @param ComposingForm 组成形式
*/
public void setComposingForm(String ComposingForm) {
this.ComposingForm = ComposingForm;
}
/**
* Get 成立日期
* @return SetDate 成立日期
*/
public String getSetDate() {
return this.SetDate;
}
/**
* Set 成立日期
* @param SetDate 成立日期
*/
public void setSetDate(String SetDate) {
this.SetDate = SetDate;
}
/**
* Get Code 告警码列表和释义:
-9102 黑白复印件告警
-9104 翻拍件告警
* @return RecognizeWarnCode Code 告警码列表和释义:
-9102 黑白复印件告警
-9104 翻拍件告警
*/
public Long [] getRecognizeWarnCode() {
return this.RecognizeWarnCode;
}
/**
* Set Code 告警码列表和释义:
-9102 黑白复印件告警
-9104 翻拍件告警
* @param RecognizeWarnCode Code 告警码列表和释义:
-9102 黑白复印件告警
-9104 翻拍件告警
*/
public void setRecognizeWarnCode(Long [] RecognizeWarnCode) {
this.RecognizeWarnCode = RecognizeWarnCode;
}
/**
* Get 告警码说明:
WARN_COPY_CARD 黑白复印件告警
WARN_RESHOOT_SCREENED_CARD 翻拍件告警
* @return RecognizeWarnMsg 告警码说明:
WARN_COPY_CARD 黑白复印件告警
WARN_RESHOOT_SCREENED_CARD 翻拍件告警
*/
public String [] getRecognizeWarnMsg() {
return this.RecognizeWarnMsg;
}
/**
* Set 告警码说明:
WARN_COPY_CARD 黑白复印件告警
WARN_RESHOOT_SCREENED_CARD 翻拍件告警
* @param RecognizeWarnMsg 告警码说明:
WARN_COPY_CARD 黑白复印件告警
WARN_RESHOOT_SCREENED_CARD 翻拍件告警
*/
public void setRecognizeWarnMsg(String [] RecognizeWarnMsg) {
this.RecognizeWarnMsg = RecognizeWarnMsg;
}
/**
* Get 是否为副本。1为是,-1为不是。
* @return IsDuplication 是否为副本。1为是,-1为不是。
*/
public Long getIsDuplication() {
return this.IsDuplication;
}
/**
* Set 是否为副本。1为是,-1为不是。
* @param IsDuplication 是否为副本。1为是,-1为不是。
*/
public void setIsDuplication(Long IsDuplication) {
this.IsDuplication = IsDuplication;
}
/**
* Get 登记日期
* @return RegistrationDate 登记日期
*/
public String getRegistrationDate() {
return this.RegistrationDate;
}
/**
* Set 登记日期
* @param RegistrationDate 登记日期
*/
public void setRegistrationDate(String RegistrationDate) {
this.RegistrationDate = RegistrationDate;
}
/**
* Get 图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度
* @return Angle 图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度
*/
public Float getAngle() {
return this.Angle;
}
/**
* Set 图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度
* @param Angle 图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度
*/
public void setAngle(Float Angle) {
this.Angle = Angle;
}
/**
* 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 BizLicenseOCRResponse() {
}
/**
* 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 BizLicenseOCRResponse(BizLicenseOCRResponse source) {
if (source.RegNum != null) {
this.RegNum = new String(source.RegNum);
}
if (source.Name != null) {
this.Name = new String(source.Name);
}
if (source.Capital != null) {
this.Capital = new String(source.Capital);
}
if (source.Person != null) {
this.Person = new String(source.Person);
}
if (source.Address != null) {
this.Address = new String(source.Address);
}
if (source.Business != null) {
this.Business = new String(source.Business);
}
if (source.Type != null) {
this.Type = new String(source.Type);
}
if (source.Period != null) {
this.Period = new String(source.Period);
}
if (source.ComposingForm != null) {
this.ComposingForm = new String(source.ComposingForm);
}
if (source.SetDate != null) {
this.SetDate = new String(source.SetDate);
}
if (source.RecognizeWarnCode != null) {
this.RecognizeWarnCode = new Long[source.RecognizeWarnCode.length];
for (int i = 0; i < source.RecognizeWarnCode.length; i++) {
this.RecognizeWarnCode[i] = new Long(source.RecognizeWarnCode[i]);
}
}
if (source.RecognizeWarnMsg != null) {
this.RecognizeWarnMsg = new String[source.RecognizeWarnMsg.length];
for (int i = 0; i < source.RecognizeWarnMsg.length; i++) {
this.RecognizeWarnMsg[i] = new String(source.RecognizeWarnMsg[i]);
}
}
if (source.IsDuplication != null) {
this.IsDuplication = new Long(source.IsDuplication);
}
if (source.RegistrationDate != null) {
this.RegistrationDate = new String(source.RegistrationDate);
}
if (source.Angle != null) {
this.Angle = new Float(source.Angle);
}
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 + "RegNum", this.RegNum);
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamSimple(map, prefix + "Capital", this.Capital);
this.setParamSimple(map, prefix + "Person", this.Person);
this.setParamSimple(map, prefix + "Address", this.Address);
this.setParamSimple(map, prefix + "Business", this.Business);
this.setParamSimple(map, prefix + "Type", this.Type);
this.setParamSimple(map, prefix + "Period", this.Period);
this.setParamSimple(map, prefix + "ComposingForm", this.ComposingForm);
this.setParamSimple(map, prefix + "SetDate", this.SetDate);
this.setParamArraySimple(map, prefix + "RecognizeWarnCode.", this.RecognizeWarnCode);
this.setParamArraySimple(map, prefix + "RecognizeWarnMsg.", this.RecognizeWarnMsg);
this.setParamSimple(map, prefix + "IsDuplication", this.IsDuplication);
this.setParamSimple(map, prefix + "RegistrationDate", this.RegistrationDate);
this.setParamSimple(map, prefix + "Angle", this.Angle);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy