com.aliyun.sdk.service.dyvmsapi20170525.models.ListHotlineTransferRegisterFileRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dyvmsapi20170525 Show documentation
Show all versions of alibabacloud-dyvmsapi20170525 Show documentation
Alibaba Cloud Dyvmsapi (20170525) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dyvmsapi20170525.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ListHotlineTransferRegisterFileRequest} extends {@link RequestModel}
*
* ListHotlineTransferRegisterFileRequest
*/
public class ListHotlineTransferRegisterFileRequest extends Request {
@Query
@NameInMap("HotlineNumber")
@Validation(required = true)
private String hotlineNumber;
@Query
@NameInMap("OwnerId")
private Long ownerId;
@Query
@NameInMap("PageNo")
private Integer pageNo;
@Query
@NameInMap("PageSize")
@Validation(maximum = 1000, minimum = 1)
private Integer pageSize;
@Query
@NameInMap("QualificationId")
@Validation(required = true)
private String qualificationId;
@Query
@NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@Query
@NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private ListHotlineTransferRegisterFileRequest(Builder builder) {
super(builder);
this.hotlineNumber = builder.hotlineNumber;
this.ownerId = builder.ownerId;
this.pageNo = builder.pageNo;
this.pageSize = builder.pageSize;
this.qualificationId = builder.qualificationId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static ListHotlineTransferRegisterFileRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return hotlineNumber
*/
public String getHotlineNumber() {
return this.hotlineNumber;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return pageNo
*/
public Integer getPageNo() {
return this.pageNo;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return qualificationId
*/
public String getQualificationId() {
return this.qualificationId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder {
private String hotlineNumber;
private Long ownerId;
private Integer pageNo;
private Integer pageSize;
private String qualificationId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(ListHotlineTransferRegisterFileRequest request) {
super(request);
this.hotlineNumber = request.hotlineNumber;
this.ownerId = request.ownerId;
this.pageNo = request.pageNo;
this.pageSize = request.pageSize;
this.qualificationId = request.qualificationId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* The China 400 number.
*/
public Builder hotlineNumber(String hotlineNumber) {
this.putQueryParameter("HotlineNumber", hotlineNumber);
this.hotlineNumber = hotlineNumber;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* The page number. Default value: **1**.
*/
public Builder pageNo(Integer pageNo) {
this.putQueryParameter("PageNo", pageNo);
this.pageNo = pageNo;
return this;
}
/**
* The number of entries per page. Valid values: 1 to 10.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* The qualification ID. You can call the [GetHotlineQualificationByOrder](~~393548~~) operation to obtain the qualification ID.
*/
public Builder qualificationId(String qualificationId) {
this.putQueryParameter("QualificationId", qualificationId);
this.qualificationId = qualificationId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public ListHotlineTransferRegisterFileRequest build() {
return new ListHotlineTransferRegisterFileRequest(this);
}
}
}