com.tencentcloudapi.sms.v20210111.models.ReportConversionRequest 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.v20210111.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ReportConversionRequest extends AbstractModel{
/**
* 短信应用ID。在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
*/
@SerializedName("SmsSdkAppId")
@Expose
private String SmsSdkAppId;
/**
* 发送短信返回的流水号。
*/
@SerializedName("SerialNo")
@Expose
private String SerialNo;
/**
* 用户回填时间,UNIX 时间戳(单位:秒)。
*/
@SerializedName("ConversionTime")
@Expose
private Long ConversionTime;
/**
* Get 短信应用ID。在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
* @return SmsSdkAppId 短信应用ID。在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
*/
public String getSmsSdkAppId() {
return this.SmsSdkAppId;
}
/**
* Set 短信应用ID。在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
* @param SmsSdkAppId 短信应用ID。在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
*/
public void setSmsSdkAppId(String SmsSdkAppId) {
this.SmsSdkAppId = SmsSdkAppId;
}
/**
* Get 发送短信返回的流水号。
* @return SerialNo 发送短信返回的流水号。
*/
public String getSerialNo() {
return this.SerialNo;
}
/**
* Set 发送短信返回的流水号。
* @param SerialNo 发送短信返回的流水号。
*/
public void setSerialNo(String SerialNo) {
this.SerialNo = SerialNo;
}
/**
* Get 用户回填时间,UNIX 时间戳(单位:秒)。
* @return ConversionTime 用户回填时间,UNIX 时间戳(单位:秒)。
*/
public Long getConversionTime() {
return this.ConversionTime;
}
/**
* Set 用户回填时间,UNIX 时间戳(单位:秒)。
* @param ConversionTime 用户回填时间,UNIX 时间戳(单位:秒)。
*/
public void setConversionTime(Long ConversionTime) {
this.ConversionTime = ConversionTime;
}
public ReportConversionRequest() {
}
/**
* 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 ReportConversionRequest(ReportConversionRequest source) {
if (source.SmsSdkAppId != null) {
this.SmsSdkAppId = new String(source.SmsSdkAppId);
}
if (source.SerialNo != null) {
this.SerialNo = new String(source.SerialNo);
}
if (source.ConversionTime != null) {
this.ConversionTime = new Long(source.ConversionTime);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "SmsSdkAppId", this.SmsSdkAppId);
this.setParamSimple(map, prefix + "SerialNo", this.SerialNo);
this.setParamSimple(map, prefix + "ConversionTime", this.ConversionTime);
}
}