com.aliyuncs.domain.model.v20180129.UpdateDomainToDomainGroupRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-domain Show documentation
Show all versions of aliyun-java-sdk-domain Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
/*
* 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.aliyuncs.domain.model.v20180129;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateDomainToDomainGroupRequest extends RpcAcsRequest {
public UpdateDomainToDomainGroupRequest() {
super("Domain", "2018-01-29", "UpdateDomainToDomainGroup");
setMethod(MethodType.POST);
}
private Integer dataSource;
private String userClientIp;
private String fileToUpload;
private List domainNames;
private Boolean replace;
private String lang;
private Long domainGroupId;
public Integer getDataSource() {
return this.dataSource;
}
public void setDataSource(Integer dataSource) {
this.dataSource = dataSource;
if(dataSource != null){
putQueryParameter("DataSource", dataSource.toString());
}
}
public String getUserClientIp() {
return this.userClientIp;
}
public void setUserClientIp(String userClientIp) {
this.userClientIp = userClientIp;
if(userClientIp != null){
putQueryParameter("UserClientIp", userClientIp);
}
}
public String getFileToUpload() {
return this.fileToUpload;
}
public void setFileToUpload(String fileToUpload) {
this.fileToUpload = fileToUpload;
if(fileToUpload != null){
putBodyParameter("FileToUpload", fileToUpload);
}
}
public List getDomainNames() {
return this.domainNames;
}
public void setDomainNames(List domainNames) {
this.domainNames = domainNames;
if (domainNames != null) {
for (int i = 0; i < domainNames.size(); i++) {
putQueryParameter("DomainName." + (i + 1) , domainNames.get(i));
}
}
}
public Boolean getReplace() {
return this.replace;
}
public void setReplace(Boolean replace) {
this.replace = replace;
if(replace != null){
putQueryParameter("Replace", replace.toString());
}
}
public String getLang() {
return this.lang;
}
public void setLang(String lang) {
this.lang = lang;
if(lang != null){
putQueryParameter("Lang", lang);
}
}
public Long getDomainGroupId() {
return this.domainGroupId;
}
public void setDomainGroupId(Long domainGroupId) {
this.domainGroupId = domainGroupId;
if(domainGroupId != null){
putQueryParameter("DomainGroupId", domainGroupId.toString());
}
}
@Override
public Class getResponseClass() {
return UpdateDomainToDomainGroupResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy