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

com.tencentcloudapi.captcha.v20190722.models.CaptchaStatisticObj 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.captcha.v20190722.models;

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

public class CaptchaStatisticObj extends AbstractModel{

    /**
    * 请求总量
    */
    @SerializedName("ActionTotal")
    @Expose
    private Long ActionTotal;

    /**
    * 验证总量
    */
    @SerializedName("VerifyTotal")
    @Expose
    private Long VerifyTotal;

    /**
    * 验证通过总量
    */
    @SerializedName("VerifyThroughTotal")
    @Expose
    private Long VerifyThroughTotal;

    /**
    * 验证拦截总量
    */
    @SerializedName("VerifyInterceptTotal")
    @Expose
    private Long VerifyInterceptTotal;

    /**
    * 票据校验总量
    */
    @SerializedName("TicketTotal")
    @Expose
    private Long TicketTotal;

    /**
    * 票据通过总量
    */
    @SerializedName("TicketThroughTotal")
    @Expose
    private Long TicketThroughTotal;

    /**
    * 票据拦截总量
    */
    @SerializedName("TicketInterceptTotal")
    @Expose
    private Long TicketInterceptTotal;

    /**
    * 请求趋势图
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("RequestTrend")
    @Expose
    private RequestTrendObj [] RequestTrend;

    /**
    * 拦截率趋势图
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("InterceptPerTrend")
    @Expose
    private InterceptPerTrendObj [] InterceptPerTrend;

    /**
    * 票据校验趋势图
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("TicketCheckTrend")
    @Expose
    private TicketCheckTrendObj [] TicketCheckTrend;

    /**
     * Get 请求总量 
     * @return ActionTotal 请求总量
     */
    public Long getActionTotal() {
        return this.ActionTotal;
    }

    /**
     * Set 请求总量
     * @param ActionTotal 请求总量
     */
    public void setActionTotal(Long ActionTotal) {
        this.ActionTotal = ActionTotal;
    }

    /**
     * Get 验证总量 
     * @return VerifyTotal 验证总量
     */
    public Long getVerifyTotal() {
        return this.VerifyTotal;
    }

    /**
     * Set 验证总量
     * @param VerifyTotal 验证总量
     */
    public void setVerifyTotal(Long VerifyTotal) {
        this.VerifyTotal = VerifyTotal;
    }

    /**
     * Get 验证通过总量 
     * @return VerifyThroughTotal 验证通过总量
     */
    public Long getVerifyThroughTotal() {
        return this.VerifyThroughTotal;
    }

    /**
     * Set 验证通过总量
     * @param VerifyThroughTotal 验证通过总量
     */
    public void setVerifyThroughTotal(Long VerifyThroughTotal) {
        this.VerifyThroughTotal = VerifyThroughTotal;
    }

    /**
     * Get 验证拦截总量 
     * @return VerifyInterceptTotal 验证拦截总量
     */
    public Long getVerifyInterceptTotal() {
        return this.VerifyInterceptTotal;
    }

    /**
     * Set 验证拦截总量
     * @param VerifyInterceptTotal 验证拦截总量
     */
    public void setVerifyInterceptTotal(Long VerifyInterceptTotal) {
        this.VerifyInterceptTotal = VerifyInterceptTotal;
    }

    /**
     * Get 票据校验总量 
     * @return TicketTotal 票据校验总量
     */
    public Long getTicketTotal() {
        return this.TicketTotal;
    }

    /**
     * Set 票据校验总量
     * @param TicketTotal 票据校验总量
     */
    public void setTicketTotal(Long TicketTotal) {
        this.TicketTotal = TicketTotal;
    }

    /**
     * Get 票据通过总量 
     * @return TicketThroughTotal 票据通过总量
     */
    public Long getTicketThroughTotal() {
        return this.TicketThroughTotal;
    }

    /**
     * Set 票据通过总量
     * @param TicketThroughTotal 票据通过总量
     */
    public void setTicketThroughTotal(Long TicketThroughTotal) {
        this.TicketThroughTotal = TicketThroughTotal;
    }

    /**
     * Get 票据拦截总量 
     * @return TicketInterceptTotal 票据拦截总量
     */
    public Long getTicketInterceptTotal() {
        return this.TicketInterceptTotal;
    }

    /**
     * Set 票据拦截总量
     * @param TicketInterceptTotal 票据拦截总量
     */
    public void setTicketInterceptTotal(Long TicketInterceptTotal) {
        this.TicketInterceptTotal = TicketInterceptTotal;
    }

    /**
     * Get 请求趋势图
注意:此字段可能返回 null,表示取不到有效值。 
     * @return RequestTrend 请求趋势图
注意:此字段可能返回 null,表示取不到有效值。
     */
    public RequestTrendObj [] getRequestTrend() {
        return this.RequestTrend;
    }

    /**
     * Set 请求趋势图
注意:此字段可能返回 null,表示取不到有效值。
     * @param RequestTrend 请求趋势图
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setRequestTrend(RequestTrendObj [] RequestTrend) {
        this.RequestTrend = RequestTrend;
    }

    /**
     * Get 拦截率趋势图
注意:此字段可能返回 null,表示取不到有效值。 
     * @return InterceptPerTrend 拦截率趋势图
注意:此字段可能返回 null,表示取不到有效值。
     */
    public InterceptPerTrendObj [] getInterceptPerTrend() {
        return this.InterceptPerTrend;
    }

    /**
     * Set 拦截率趋势图
注意:此字段可能返回 null,表示取不到有效值。
     * @param InterceptPerTrend 拦截率趋势图
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setInterceptPerTrend(InterceptPerTrendObj [] InterceptPerTrend) {
        this.InterceptPerTrend = InterceptPerTrend;
    }

    /**
     * Get 票据校验趋势图
注意:此字段可能返回 null,表示取不到有效值。 
     * @return TicketCheckTrend 票据校验趋势图
注意:此字段可能返回 null,表示取不到有效值。
     */
    public TicketCheckTrendObj [] getTicketCheckTrend() {
        return this.TicketCheckTrend;
    }

    /**
     * Set 票据校验趋势图
注意:此字段可能返回 null,表示取不到有效值。
     * @param TicketCheckTrend 票据校验趋势图
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setTicketCheckTrend(TicketCheckTrendObj [] TicketCheckTrend) {
        this.TicketCheckTrend = TicketCheckTrend;
    }

    public CaptchaStatisticObj() {
    }

    /**
     * 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 CaptchaStatisticObj(CaptchaStatisticObj source) {
        if (source.ActionTotal != null) {
            this.ActionTotal = new Long(source.ActionTotal);
        }
        if (source.VerifyTotal != null) {
            this.VerifyTotal = new Long(source.VerifyTotal);
        }
        if (source.VerifyThroughTotal != null) {
            this.VerifyThroughTotal = new Long(source.VerifyThroughTotal);
        }
        if (source.VerifyInterceptTotal != null) {
            this.VerifyInterceptTotal = new Long(source.VerifyInterceptTotal);
        }
        if (source.TicketTotal != null) {
            this.TicketTotal = new Long(source.TicketTotal);
        }
        if (source.TicketThroughTotal != null) {
            this.TicketThroughTotal = new Long(source.TicketThroughTotal);
        }
        if (source.TicketInterceptTotal != null) {
            this.TicketInterceptTotal = new Long(source.TicketInterceptTotal);
        }
        if (source.RequestTrend != null) {
            this.RequestTrend = new RequestTrendObj[source.RequestTrend.length];
            for (int i = 0; i < source.RequestTrend.length; i++) {
                this.RequestTrend[i] = new RequestTrendObj(source.RequestTrend[i]);
            }
        }
        if (source.InterceptPerTrend != null) {
            this.InterceptPerTrend = new InterceptPerTrendObj[source.InterceptPerTrend.length];
            for (int i = 0; i < source.InterceptPerTrend.length; i++) {
                this.InterceptPerTrend[i] = new InterceptPerTrendObj(source.InterceptPerTrend[i]);
            }
        }
        if (source.TicketCheckTrend != null) {
            this.TicketCheckTrend = new TicketCheckTrendObj[source.TicketCheckTrend.length];
            for (int i = 0; i < source.TicketCheckTrend.length; i++) {
                this.TicketCheckTrend[i] = new TicketCheckTrendObj(source.TicketCheckTrend[i]);
            }
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "ActionTotal", this.ActionTotal);
        this.setParamSimple(map, prefix + "VerifyTotal", this.VerifyTotal);
        this.setParamSimple(map, prefix + "VerifyThroughTotal", this.VerifyThroughTotal);
        this.setParamSimple(map, prefix + "VerifyInterceptTotal", this.VerifyInterceptTotal);
        this.setParamSimple(map, prefix + "TicketTotal", this.TicketTotal);
        this.setParamSimple(map, prefix + "TicketThroughTotal", this.TicketThroughTotal);
        this.setParamSimple(map, prefix + "TicketInterceptTotal", this.TicketInterceptTotal);
        this.setParamArrayObj(map, prefix + "RequestTrend.", this.RequestTrend);
        this.setParamArrayObj(map, prefix + "InterceptPerTrend.", this.InterceptPerTrend);
        this.setParamArrayObj(map, prefix + "TicketCheckTrend.", this.TicketCheckTrend);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy