com.aliyuncs.unimkt.model.v20181207.PopUpQueryRequest Maven / Gradle / Ivy
/*
* 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.unimkt.model.v20181207;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.unimkt.Endpoint;
/**
* @author auto create
* @version
*/
public class PopUpQueryRequest extends RpcAcsRequest {
private String optionType;
private String extra;
private String urlId;
private String alipayOpenId;
private String channelId;
private String outerCode;
public PopUpQueryRequest() {
super("UniMkt", "2018-12-07", "PopUpQuery", "1.0.0");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getOptionType() {
return this.optionType;
}
public void setOptionType(String optionType) {
this.optionType = optionType;
if(optionType != null){
putBodyParameter("OptionType", optionType);
}
}
public String getExtra() {
return this.extra;
}
public void setExtra(String extra) {
this.extra = extra;
if(extra != null){
putBodyParameter("Extra", extra);
}
}
public String getUrlId() {
return this.urlId;
}
public void setUrlId(String urlId) {
this.urlId = urlId;
if(urlId != null){
putBodyParameter("UrlId", urlId);
}
}
public String getAlipayOpenId() {
return this.alipayOpenId;
}
public void setAlipayOpenId(String alipayOpenId) {
this.alipayOpenId = alipayOpenId;
if(alipayOpenId != null){
putBodyParameter("AlipayOpenId", alipayOpenId);
}
}
public String getChannelId() {
return this.channelId;
}
public void setChannelId(String channelId) {
this.channelId = channelId;
if(channelId != null){
putBodyParameter("ChannelId", channelId);
}
}
public String getOuterCode() {
return this.outerCode;
}
public void setOuterCode(String outerCode) {
this.outerCode = outerCode;
if(outerCode != null){
putBodyParameter("OuterCode", outerCode);
}
}
@Override
public Class getResponseClass() {
return PopUpQueryResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy