
com.aliyuncs.advisor_share.model.v20180608.CreateAdviceRequest Maven / Gradle / Ivy
The newest version!
/*
* 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.advisor_share.model.v20180608;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateAdviceRequest extends RpcAcsRequest {
private String resourceId;
private String product;
private String data;
private String checkCode;
public CreateAdviceRequest() {
super("Advisor-Share", "2018-06-08", "CreateAdvice", "advisor");
setMethod(MethodType.POST);
}
public String getResourceId() {
return this.resourceId;
}
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
if(resourceId != null){
putQueryParameter("ResourceId", resourceId);
}
}
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
if(product != null){
putQueryParameter("Product", product);
}
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
if(data != null){
putQueryParameter("Data", data);
}
}
public String getCheckCode() {
return this.checkCode;
}
public void setCheckCode(String checkCode) {
this.checkCode = checkCode;
if(checkCode != null){
putQueryParameter("CheckCode", checkCode);
}
}
@Override
public Class getResponseClass() {
return CreateAdviceResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy