com.tencentcloudapi.sms.v20190711.models.CallbackStatusStatistics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-sms Show documentation
Show all versions of tencentcloud-sdk-java-sms Show documentation
Tencent Cloud Open 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.sms.v20190711.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CallbackStatusStatistics extends AbstractModel{
/**
* 短信回执量统计。
*/
@SerializedName("CallbackCount")
@Expose
private Long CallbackCount;
/**
* 短信提交成功量统计。
*/
@SerializedName("RequestSuccessCount")
@Expose
private Long RequestSuccessCount;
/**
* 短信回执失败量统计。
*/
@SerializedName("CallbackFailCount")
@Expose
private Long CallbackFailCount;
/**
* 短信回执成功量统计。
*/
@SerializedName("CallbackSuccessCount")
@Expose
private Long CallbackSuccessCount;
/**
* 运营商内部错误统计。
*/
@SerializedName("InternalErrorCount")
@Expose
private Long InternalErrorCount;
/**
* 号码无效或空号统计。
*/
@SerializedName("InvalidNumberCount")
@Expose
private Long InvalidNumberCount;
/**
* 停机、关机等错误统计。
*/
@SerializedName("ShutdownErrorCount")
@Expose
private Long ShutdownErrorCount;
/**
* 号码拉入黑名单统计。
*/
@SerializedName("BlackListCount")
@Expose
private Long BlackListCount;
/**
* 运营商频率限制统计。
*/
@SerializedName("FrequencyLimitCount")
@Expose
private Long FrequencyLimitCount;
/**
* Get 短信回执量统计。
* @return CallbackCount 短信回执量统计。
*/
public Long getCallbackCount() {
return this.CallbackCount;
}
/**
* Set 短信回执量统计。
* @param CallbackCount 短信回执量统计。
*/
public void setCallbackCount(Long CallbackCount) {
this.CallbackCount = CallbackCount;
}
/**
* Get 短信提交成功量统计。
* @return RequestSuccessCount 短信提交成功量统计。
*/
public Long getRequestSuccessCount() {
return this.RequestSuccessCount;
}
/**
* Set 短信提交成功量统计。
* @param RequestSuccessCount 短信提交成功量统计。
*/
public void setRequestSuccessCount(Long RequestSuccessCount) {
this.RequestSuccessCount = RequestSuccessCount;
}
/**
* Get 短信回执失败量统计。
* @return CallbackFailCount 短信回执失败量统计。
*/
public Long getCallbackFailCount() {
return this.CallbackFailCount;
}
/**
* Set 短信回执失败量统计。
* @param CallbackFailCount 短信回执失败量统计。
*/
public void setCallbackFailCount(Long CallbackFailCount) {
this.CallbackFailCount = CallbackFailCount;
}
/**
* Get 短信回执成功量统计。
* @return CallbackSuccessCount 短信回执成功量统计。
*/
public Long getCallbackSuccessCount() {
return this.CallbackSuccessCount;
}
/**
* Set 短信回执成功量统计。
* @param CallbackSuccessCount 短信回执成功量统计。
*/
public void setCallbackSuccessCount(Long CallbackSuccessCount) {
this.CallbackSuccessCount = CallbackSuccessCount;
}
/**
* Get 运营商内部错误统计。
* @return InternalErrorCount 运营商内部错误统计。
*/
public Long getInternalErrorCount() {
return this.InternalErrorCount;
}
/**
* Set 运营商内部错误统计。
* @param InternalErrorCount 运营商内部错误统计。
*/
public void setInternalErrorCount(Long InternalErrorCount) {
this.InternalErrorCount = InternalErrorCount;
}
/**
* Get 号码无效或空号统计。
* @return InvalidNumberCount 号码无效或空号统计。
*/
public Long getInvalidNumberCount() {
return this.InvalidNumberCount;
}
/**
* Set 号码无效或空号统计。
* @param InvalidNumberCount 号码无效或空号统计。
*/
public void setInvalidNumberCount(Long InvalidNumberCount) {
this.InvalidNumberCount = InvalidNumberCount;
}
/**
* Get 停机、关机等错误统计。
* @return ShutdownErrorCount 停机、关机等错误统计。
*/
public Long getShutdownErrorCount() {
return this.ShutdownErrorCount;
}
/**
* Set 停机、关机等错误统计。
* @param ShutdownErrorCount 停机、关机等错误统计。
*/
public void setShutdownErrorCount(Long ShutdownErrorCount) {
this.ShutdownErrorCount = ShutdownErrorCount;
}
/**
* Get 号码拉入黑名单统计。
* @return BlackListCount 号码拉入黑名单统计。
*/
public Long getBlackListCount() {
return this.BlackListCount;
}
/**
* Set 号码拉入黑名单统计。
* @param BlackListCount 号码拉入黑名单统计。
*/
public void setBlackListCount(Long BlackListCount) {
this.BlackListCount = BlackListCount;
}
/**
* Get 运营商频率限制统计。
* @return FrequencyLimitCount 运营商频率限制统计。
*/
public Long getFrequencyLimitCount() {
return this.FrequencyLimitCount;
}
/**
* Set 运营商频率限制统计。
* @param FrequencyLimitCount 运营商频率限制统计。
*/
public void setFrequencyLimitCount(Long FrequencyLimitCount) {
this.FrequencyLimitCount = FrequencyLimitCount;
}
public CallbackStatusStatistics() {
}
/**
* 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 CallbackStatusStatistics(CallbackStatusStatistics source) {
if (source.CallbackCount != null) {
this.CallbackCount = new Long(source.CallbackCount);
}
if (source.RequestSuccessCount != null) {
this.RequestSuccessCount = new Long(source.RequestSuccessCount);
}
if (source.CallbackFailCount != null) {
this.CallbackFailCount = new Long(source.CallbackFailCount);
}
if (source.CallbackSuccessCount != null) {
this.CallbackSuccessCount = new Long(source.CallbackSuccessCount);
}
if (source.InternalErrorCount != null) {
this.InternalErrorCount = new Long(source.InternalErrorCount);
}
if (source.InvalidNumberCount != null) {
this.InvalidNumberCount = new Long(source.InvalidNumberCount);
}
if (source.ShutdownErrorCount != null) {
this.ShutdownErrorCount = new Long(source.ShutdownErrorCount);
}
if (source.BlackListCount != null) {
this.BlackListCount = new Long(source.BlackListCount);
}
if (source.FrequencyLimitCount != null) {
this.FrequencyLimitCount = new Long(source.FrequencyLimitCount);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CallbackCount", this.CallbackCount);
this.setParamSimple(map, prefix + "RequestSuccessCount", this.RequestSuccessCount);
this.setParamSimple(map, prefix + "CallbackFailCount", this.CallbackFailCount);
this.setParamSimple(map, prefix + "CallbackSuccessCount", this.CallbackSuccessCount);
this.setParamSimple(map, prefix + "InternalErrorCount", this.InternalErrorCount);
this.setParamSimple(map, prefix + "InvalidNumberCount", this.InvalidNumberCount);
this.setParamSimple(map, prefix + "ShutdownErrorCount", this.ShutdownErrorCount);
this.setParamSimple(map, prefix + "BlackListCount", this.BlackListCount);
this.setParamSimple(map, prefix + "FrequencyLimitCount", this.FrequencyLimitCount);
}
}