com.tencentcloudapi.mps.v20190612.models.AIRecognitionTemplateItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.mps.v20190612.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class AIRecognitionTemplateItem extends AbstractModel{
/**
* Unique ID of a video content recognition template.
*/
@SerializedName("Definition")
@Expose
private Long Definition;
/**
* Name of a video content recognition template.
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* Description of a video content recognition template.
*/
@SerializedName("Comment")
@Expose
private String Comment;
/**
* Face recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("FaceConfigure")
@Expose
private FaceConfigureInfo FaceConfigure;
/**
* Full text recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("OcrFullTextConfigure")
@Expose
private OcrFullTextConfigureInfo OcrFullTextConfigure;
/**
* Text keyword recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("OcrWordsConfigure")
@Expose
private OcrWordsConfigureInfo OcrWordsConfigure;
/**
* Full speech recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("AsrFullTextConfigure")
@Expose
private AsrFullTextConfigureInfo AsrFullTextConfigure;
/**
* Speech keyword recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("AsrWordsConfigure")
@Expose
private AsrWordsConfigureInfo AsrWordsConfigure;
/**
* Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
@SerializedName("UpdateTime")
@Expose
private String UpdateTime;
/**
* Get Unique ID of a video content recognition template.
* @return Definition Unique ID of a video content recognition template.
*/
public Long getDefinition() {
return this.Definition;
}
/**
* Set Unique ID of a video content recognition template.
* @param Definition Unique ID of a video content recognition template.
*/
public void setDefinition(Long Definition) {
this.Definition = Definition;
}
/**
* Get Name of a video content recognition template.
* @return Name Name of a video content recognition template.
*/
public String getName() {
return this.Name;
}
/**
* Set Name of a video content recognition template.
* @param Name Name of a video content recognition template.
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get Description of a video content recognition template.
* @return Comment Description of a video content recognition template.
*/
public String getComment() {
return this.Comment;
}
/**
* Set Description of a video content recognition template.
* @param Comment Description of a video content recognition template.
*/
public void setComment(String Comment) {
this.Comment = Comment;
}
/**
* Get Face recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
* @return FaceConfigure Face recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public FaceConfigureInfo getFaceConfigure() {
return this.FaceConfigure;
}
/**
* Set Face recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
* @param FaceConfigure Face recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setFaceConfigure(FaceConfigureInfo FaceConfigure) {
this.FaceConfigure = FaceConfigure;
}
/**
* Get Full text recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
* @return OcrFullTextConfigure Full text recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public OcrFullTextConfigureInfo getOcrFullTextConfigure() {
return this.OcrFullTextConfigure;
}
/**
* Set Full text recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
* @param OcrFullTextConfigure Full text recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setOcrFullTextConfigure(OcrFullTextConfigureInfo OcrFullTextConfigure) {
this.OcrFullTextConfigure = OcrFullTextConfigure;
}
/**
* Get Text keyword recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
* @return OcrWordsConfigure Text keyword recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public OcrWordsConfigureInfo getOcrWordsConfigure() {
return this.OcrWordsConfigure;
}
/**
* Set Text keyword recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
* @param OcrWordsConfigure Text keyword recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setOcrWordsConfigure(OcrWordsConfigureInfo OcrWordsConfigure) {
this.OcrWordsConfigure = OcrWordsConfigure;
}
/**
* Get Full speech recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
* @return AsrFullTextConfigure Full speech recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public AsrFullTextConfigureInfo getAsrFullTextConfigure() {
return this.AsrFullTextConfigure;
}
/**
* Set Full speech recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
* @param AsrFullTextConfigure Full speech recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setAsrFullTextConfigure(AsrFullTextConfigureInfo AsrFullTextConfigure) {
this.AsrFullTextConfigure = AsrFullTextConfigure;
}
/**
* Get Speech keyword recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
* @return AsrWordsConfigure Speech keyword recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public AsrWordsConfigureInfo getAsrWordsConfigure() {
return this.AsrWordsConfigure;
}
/**
* Set Speech keyword recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
* @param AsrWordsConfigure Speech keyword recognition control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setAsrWordsConfigure(AsrWordsConfigureInfo AsrWordsConfigure) {
this.AsrWordsConfigure = AsrWordsConfigure;
}
/**
* Get Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
* @return CreateTime Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
* @param CreateTime Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
* @return UpdateTime Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
public String getUpdateTime() {
return this.UpdateTime;
}
/**
* Set Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
* @param UpdateTime Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
public void setUpdateTime(String UpdateTime) {
this.UpdateTime = UpdateTime;
}
public AIRecognitionTemplateItem() {
}
/**
* 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 AIRecognitionTemplateItem(AIRecognitionTemplateItem source) {
if (source.Definition != null) {
this.Definition = new Long(source.Definition);
}
if (source.Name != null) {
this.Name = new String(source.Name);
}
if (source.Comment != null) {
this.Comment = new String(source.Comment);
}
if (source.FaceConfigure != null) {
this.FaceConfigure = new FaceConfigureInfo(source.FaceConfigure);
}
if (source.OcrFullTextConfigure != null) {
this.OcrFullTextConfigure = new OcrFullTextConfigureInfo(source.OcrFullTextConfigure);
}
if (source.OcrWordsConfigure != null) {
this.OcrWordsConfigure = new OcrWordsConfigureInfo(source.OcrWordsConfigure);
}
if (source.AsrFullTextConfigure != null) {
this.AsrFullTextConfigure = new AsrFullTextConfigureInfo(source.AsrFullTextConfigure);
}
if (source.AsrWordsConfigure != null) {
this.AsrWordsConfigure = new AsrWordsConfigureInfo(source.AsrWordsConfigure);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.UpdateTime != null) {
this.UpdateTime = new String(source.UpdateTime);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Definition", this.Definition);
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamSimple(map, prefix + "Comment", this.Comment);
this.setParamObj(map, prefix + "FaceConfigure.", this.FaceConfigure);
this.setParamObj(map, prefix + "OcrFullTextConfigure.", this.OcrFullTextConfigure);
this.setParamObj(map, prefix + "OcrWordsConfigure.", this.OcrWordsConfigure);
this.setParamObj(map, prefix + "AsrFullTextConfigure.", this.AsrFullTextConfigure);
this.setParamObj(map, prefix + "AsrWordsConfigure.", this.AsrWordsConfigure);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy