All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.gateway.iot.models.OpenApiRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.gateway.iot.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("pathname")
    public String pathname;

    @NameInMap("method")
    public String method;

    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 setPathname(String pathname) {
        this.pathname = pathname;
        return this;
    }
    public String getPathname() {
        return this.pathname;
    }

    public OpenApiRequest setMethod(String method) {
        this.method = method;
        return this;
    }
    public String getMethod() {
        return this.method;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy