com.aliyun.dysmsapi20170525.models.QuerySendStatisticsRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dysmsapi20170525.models;
import com.aliyun.tea.*;
public class QuerySendStatisticsRequest extends TeaModel {
/**
* The end of the time range to query. Format: yyyyMMdd. Example: 20181225.
* This parameter is required.
*
* example:
* 20201003
*/
@NameInMap("EndDate")
public String endDate;
/**
* The site from where the message is sent. Valid values:
*
* - 1: China site
* - 2: international site
*
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("IsGlobe")
public Integer isGlobe;
@NameInMap("OwnerId")
public Long ownerId;
/**
* The page number. Default value: 1.
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("PageIndex")
public Integer pageIndex;
/**
* The number of entries to return on each page. Valid values: 1 to 50.
* This parameter is required.
*
* example:
* 10
*/
@NameInMap("PageSize")
public Integer pageSize;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
/**
* The signature.
*
* example:
* Aliyun
*/
@NameInMap("SignName")
public String signName;
/**
* The beginning of the time range to query. Format: yyyyMMdd. Example: 20181225.
* This parameter is required.
*
* example:
* 20201002
*/
@NameInMap("StartDate")
public String startDate;
/**
* The type of the message template. Valid values: Valid values:
*
* - 0: verification code
* - 1: notification
* - 2: promotional message (Enterprise users only)
* - 3: international purpose (Enterprise users only)
* - 7: digital message
*
*
* example:
* 0
*/
@NameInMap("TemplateType")
public Integer templateType;
public static QuerySendStatisticsRequest build(java.util.Map map) throws Exception {
QuerySendStatisticsRequest self = new QuerySendStatisticsRequest();
return TeaModel.build(map, self);
}
public QuerySendStatisticsRequest setEndDate(String endDate) {
this.endDate = endDate;
return this;
}
public String getEndDate() {
return this.endDate;
}
public QuerySendStatisticsRequest setIsGlobe(Integer isGlobe) {
this.isGlobe = isGlobe;
return this;
}
public Integer getIsGlobe() {
return this.isGlobe;
}
public QuerySendStatisticsRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public QuerySendStatisticsRequest setPageIndex(Integer pageIndex) {
this.pageIndex = pageIndex;
return this;
}
public Integer getPageIndex() {
return this.pageIndex;
}
public QuerySendStatisticsRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public QuerySendStatisticsRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public QuerySendStatisticsRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public QuerySendStatisticsRequest setSignName(String signName) {
this.signName = signName;
return this;
}
public String getSignName() {
return this.signName;
}
public QuerySendStatisticsRequest setStartDate(String startDate) {
this.startDate = startDate;
return this;
}
public String getStartDate() {
return this.startDate;
}
public QuerySendStatisticsRequest setTemplateType(Integer templateType) {
this.templateType = templateType;
return this;
}
public Integer getTemplateType() {
return this.templateType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy