
com.tencentcloudapi.sms.v20210111.models.PullSmsSendStatusByPhoneNumberRequest 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.sms.v20210111.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class PullSmsSendStatusByPhoneNumberRequest extends AbstractModel {
/**
* 拉取起始时间,UNIX 时间戳(时间:秒)。
注:最大可拉取当前时期前7天的数据。
*/
@SerializedName("BeginTime")
@Expose
private Long BeginTime;
/**
* 偏移量。
注:目前固定设置为0。
*/
@SerializedName("Offset")
@Expose
private Long Offset;
/**
* 拉取最大条数,最多 100。
*/
@SerializedName("Limit")
@Expose
private Long Limit;
/**
* 下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。
*/
@SerializedName("PhoneNumber")
@Expose
private String PhoneNumber;
/**
* 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
*/
@SerializedName("SmsSdkAppId")
@Expose
private String SmsSdkAppId;
/**
* 拉取截止时间,UNIX 时间戳(时间:秒)。
*/
@SerializedName("EndTime")
@Expose
private Long EndTime;
/**
* Get 拉取起始时间,UNIX 时间戳(时间:秒)。
注:最大可拉取当前时期前7天的数据。
* @return BeginTime 拉取起始时间,UNIX 时间戳(时间:秒)。
注:最大可拉取当前时期前7天的数据。
*/
public Long getBeginTime() {
return this.BeginTime;
}
/**
* Set 拉取起始时间,UNIX 时间戳(时间:秒)。
注:最大可拉取当前时期前7天的数据。
* @param BeginTime 拉取起始时间,UNIX 时间戳(时间:秒)。
注:最大可拉取当前时期前7天的数据。
*/
public void setBeginTime(Long BeginTime) {
this.BeginTime = BeginTime;
}
/**
* Get 偏移量。
注:目前固定设置为0。
* @return Offset 偏移量。
注:目前固定设置为0。
*/
public Long getOffset() {
return this.Offset;
}
/**
* Set 偏移量。
注:目前固定设置为0。
* @param Offset 偏移量。
注:目前固定设置为0。
*/
public void setOffset(Long Offset) {
this.Offset = Offset;
}
/**
* Get 拉取最大条数,最多 100。
* @return Limit 拉取最大条数,最多 100。
*/
public Long getLimit() {
return this.Limit;
}
/**
* Set 拉取最大条数,最多 100。
* @param Limit 拉取最大条数,最多 100。
*/
public void setLimit(Long Limit) {
this.Limit = Limit;
}
/**
* Get 下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。
* @return PhoneNumber 下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。
*/
public String getPhoneNumber() {
return this.PhoneNumber;
}
/**
* Set 下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。
* @param PhoneNumber 下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。
*/
public void setPhoneNumber(String PhoneNumber) {
this.PhoneNumber = PhoneNumber;
}
/**
* Get 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
* @return SmsSdkAppId 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
*/
public String getSmsSdkAppId() {
return this.SmsSdkAppId;
}
/**
* Set 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
* @param SmsSdkAppId 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
*/
public void setSmsSdkAppId(String SmsSdkAppId) {
this.SmsSdkAppId = SmsSdkAppId;
}
/**
* Get 拉取截止时间,UNIX 时间戳(时间:秒)。
* @return EndTime 拉取截止时间,UNIX 时间戳(时间:秒)。
*/
public Long getEndTime() {
return this.EndTime;
}
/**
* Set 拉取截止时间,UNIX 时间戳(时间:秒)。
* @param EndTime 拉取截止时间,UNIX 时间戳(时间:秒)。
*/
public void setEndTime(Long EndTime) {
this.EndTime = EndTime;
}
public PullSmsSendStatusByPhoneNumberRequest() {
}
/**
* 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 PullSmsSendStatusByPhoneNumberRequest(PullSmsSendStatusByPhoneNumberRequest source) {
if (source.BeginTime != null) {
this.BeginTime = new Long(source.BeginTime);
}
if (source.Offset != null) {
this.Offset = new Long(source.Offset);
}
if (source.Limit != null) {
this.Limit = new Long(source.Limit);
}
if (source.PhoneNumber != null) {
this.PhoneNumber = new String(source.PhoneNumber);
}
if (source.SmsSdkAppId != null) {
this.SmsSdkAppId = new String(source.SmsSdkAppId);
}
if (source.EndTime != null) {
this.EndTime = new Long(source.EndTime);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "BeginTime", this.BeginTime);
this.setParamSimple(map, prefix + "Offset", this.Offset);
this.setParamSimple(map, prefix + "Limit", this.Limit);
this.setParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
this.setParamSimple(map, prefix + "SmsSdkAppId", this.SmsSdkAppId);
this.setParamSimple(map, prefix + "EndTime", this.EndTime);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy