com.aliyun.teaopenapi.models.OpenApiRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.teaopenapi.models;
import com.aliyun.tea.*;
public class OpenApiRequest extends TeaModel {
@NameInMap("headers")
public java.util.Map headers;
@NameInMap("query")
public java.util.Map query;
@NameInMap("body")
public Object body;
@NameInMap("stream")
public java.io.InputStream stream;
public static OpenApiRequest build(java.util.Map map) throws Exception {
OpenApiRequest self = new OpenApiRequest();
return TeaModel.build(map, self);
}
public OpenApiRequest setHeaders(java.util.Map headers) {
this.headers = headers;
return this;
}
public java.util.Map getHeaders() {
return this.headers;
}
public OpenApiRequest setQuery(java.util.Map query) {
this.query = query;
return this;
}
public java.util.Map getQuery() {
return this.query;
}
public OpenApiRequest setBody(Object body) {
this.body = body;
return this;
}
public Object getBody() {
return this.body;
}
public OpenApiRequest setStream(java.io.InputStream stream) {
this.stream = stream;
return this;
}
public java.io.InputStream getStream() {
return this.stream;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy