All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.hcm.v20181106.models.EvaluationRequest 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.hcm.v20181106.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class EvaluationRequest extends AbstractModel{

    /**
    * 图片唯一标识,一张图片一个SessionId;
    */
    @SerializedName("SessionId")
    @Expose
    private String SessionId;

    /**
    * 图片数据,需要使用base64对图片的二进制数据进行编码,与url参数二者填一即可;
    */
    @SerializedName("Image")
    @Expose
    private String Image;

    /**
    * 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 HcmAppid 可以在[控制台](https://console.cloud.tencent.com/hcm)【应用管理】下新建。
    */
    @SerializedName("HcmAppid")
    @Expose
    private String HcmAppid;

    /**
    * 图片url,与Image参数二者填一即可;
    */
    @SerializedName("Url")
    @Expose
    private String Url;

    /**
    * 横屏拍摄开关,若开启则支持传输横屏拍摄的图片;
    */
    @SerializedName("SupportHorizontalImage")
    @Expose
    private Boolean SupportHorizontalImage;

    /**
    * 拒绝非速算图(如风景图、人物图)开关,若开启,则遇到非速算图会快速返回拒绝的结果,但极端情况下可能会影响评估结果(比如算式截图贴到风景画里可能被判为非速算图直接返回了)。
    */
    @SerializedName("RejectNonArithmeticImage")
    @Expose
    private Boolean RejectNonArithmeticImage;

    /**
    * 异步模式标识,0:同步模式,1:异步模式。默认为同步模式
    */
    @SerializedName("IsAsync")
    @Expose
    private Long IsAsync;

    /**
     * Get 图片唯一标识,一张图片一个SessionId; 
     * @return SessionId 图片唯一标识,一张图片一个SessionId;
     */
    public String getSessionId() {
        return this.SessionId;
    }

    /**
     * Set 图片唯一标识,一张图片一个SessionId;
     * @param SessionId 图片唯一标识,一张图片一个SessionId;
     */
    public void setSessionId(String SessionId) {
        this.SessionId = SessionId;
    }

    /**
     * Get 图片数据,需要使用base64对图片的二进制数据进行编码,与url参数二者填一即可; 
     * @return Image 图片数据,需要使用base64对图片的二进制数据进行编码,与url参数二者填一即可;
     */
    public String getImage() {
        return this.Image;
    }

    /**
     * Set 图片数据,需要使用base64对图片的二进制数据进行编码,与url参数二者填一即可;
     * @param Image 图片数据,需要使用base64对图片的二进制数据进行编码,与url参数二者填一即可;
     */
    public void setImage(String Image) {
        this.Image = Image;
    }

    /**
     * Get 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 HcmAppid 可以在[控制台](https://console.cloud.tencent.com/hcm)【应用管理】下新建。 
     * @return HcmAppid 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 HcmAppid 可以在[控制台](https://console.cloud.tencent.com/hcm)【应用管理】下新建。
     */
    public String getHcmAppid() {
        return this.HcmAppid;
    }

    /**
     * Set 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 HcmAppid 可以在[控制台](https://console.cloud.tencent.com/hcm)【应用管理】下新建。
     * @param HcmAppid 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 HcmAppid 可以在[控制台](https://console.cloud.tencent.com/hcm)【应用管理】下新建。
     */
    public void setHcmAppid(String HcmAppid) {
        this.HcmAppid = HcmAppid;
    }

    /**
     * Get 图片url,与Image参数二者填一即可; 
     * @return Url 图片url,与Image参数二者填一即可;
     */
    public String getUrl() {
        return this.Url;
    }

    /**
     * Set 图片url,与Image参数二者填一即可;
     * @param Url 图片url,与Image参数二者填一即可;
     */
    public void setUrl(String Url) {
        this.Url = Url;
    }

    /**
     * Get 横屏拍摄开关,若开启则支持传输横屏拍摄的图片; 
     * @return SupportHorizontalImage 横屏拍摄开关,若开启则支持传输横屏拍摄的图片;
     */
    public Boolean getSupportHorizontalImage() {
        return this.SupportHorizontalImage;
    }

    /**
     * Set 横屏拍摄开关,若开启则支持传输横屏拍摄的图片;
     * @param SupportHorizontalImage 横屏拍摄开关,若开启则支持传输横屏拍摄的图片;
     */
    public void setSupportHorizontalImage(Boolean SupportHorizontalImage) {
        this.SupportHorizontalImage = SupportHorizontalImage;
    }

    /**
     * Get 拒绝非速算图(如风景图、人物图)开关,若开启,则遇到非速算图会快速返回拒绝的结果,但极端情况下可能会影响评估结果(比如算式截图贴到风景画里可能被判为非速算图直接返回了)。 
     * @return RejectNonArithmeticImage 拒绝非速算图(如风景图、人物图)开关,若开启,则遇到非速算图会快速返回拒绝的结果,但极端情况下可能会影响评估结果(比如算式截图贴到风景画里可能被判为非速算图直接返回了)。
     */
    public Boolean getRejectNonArithmeticImage() {
        return this.RejectNonArithmeticImage;
    }

    /**
     * Set 拒绝非速算图(如风景图、人物图)开关,若开启,则遇到非速算图会快速返回拒绝的结果,但极端情况下可能会影响评估结果(比如算式截图贴到风景画里可能被判为非速算图直接返回了)。
     * @param RejectNonArithmeticImage 拒绝非速算图(如风景图、人物图)开关,若开启,则遇到非速算图会快速返回拒绝的结果,但极端情况下可能会影响评估结果(比如算式截图贴到风景画里可能被判为非速算图直接返回了)。
     */
    public void setRejectNonArithmeticImage(Boolean RejectNonArithmeticImage) {
        this.RejectNonArithmeticImage = RejectNonArithmeticImage;
    }

    /**
     * Get 异步模式标识,0:同步模式,1:异步模式。默认为同步模式 
     * @return IsAsync 异步模式标识,0:同步模式,1:异步模式。默认为同步模式
     */
    public Long getIsAsync() {
        return this.IsAsync;
    }

    /**
     * Set 异步模式标识,0:同步模式,1:异步模式。默认为同步模式
     * @param IsAsync 异步模式标识,0:同步模式,1:异步模式。默认为同步模式
     */
    public void setIsAsync(Long IsAsync) {
        this.IsAsync = IsAsync;
    }

    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "SessionId", this.SessionId);
        this.setParamSimple(map, prefix + "Image", this.Image);
        this.setParamSimple(map, prefix + "HcmAppid", this.HcmAppid);
        this.setParamSimple(map, prefix + "Url", this.Url);
        this.setParamSimple(map, prefix + "SupportHorizontalImage", this.SupportHorizontalImage);
        this.setParamSimple(map, prefix + "RejectNonArithmeticImage", this.RejectNonArithmeticImage);
        this.setParamSimple(map, prefix + "IsAsync", this.IsAsync);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy