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

org.sdn.api.request.SubscribeEventRequest Maven / Gradle / Ivy

package org.sdn.api.request;

import org.sdn.api.response.OpenAuthResponse;
import org.sdn.api.response.SubscribeEventResponse;

import java.util.Map;

/**
 * User: humucai
 * Date: 2018/11/29
 * Time: 17:10
 */
public class SubscribeEventRequest implements OpenRequest {


    private Map param;

    public SubscribeEventRequest() {
    }

    public SubscribeEventRequest(Map param) {
        this.param = param;
    }

    @Override
    public String getApiMethodName() {
        return "eventservice.eventservice.event.subscribe";
    }

    @Override
    public Class getResponseClass() {
        return SubscribeEventResponse.class;
    }

    @Override
    public Map getMapParams() {
        return param;
    }

    @Override
    public String getRequestMethod() {
        return "post";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy