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

io.github.yedaxia.apidocs.ext.rap.Action Maven / Gradle / Ivy

There is a newer version: 1.4.4
Show newest version
package io.github.yedaxia.apidocs.ext.rap;

import java.util.HashSet;
import java.util.Set;

/**
 * @author yeguozhong yedaxia.github.com
 */
class Action {

    private int id;
    private int disableCache;
    private String name;
    private String description;
    private String requestType = "1";
    private String requestUrl;
    private Set requestParameterList = new HashSet();
    private Set responseParameterList = new HashSet();
    private String responseTemplate;
    private Set pageList = new HashSet();
    private String remarks;

    public static Action newAction(){
        Action action = new Action();
        action.setId(-1);
        return action;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getDisableCache() {
        return disableCache;
    }

    public void setDisableCache(int disableCache) {
        this.disableCache = disableCache;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRequestType() {
        return requestType;
    }

    public void setRequestType(String requestType) {
        this.requestType = requestType;
    }

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public Set getRequestParameterList() {
        return requestParameterList;
    }

    public void setRequestParameterList(Set requestParameterList) {
        this.requestParameterList = requestParameterList;
    }

    public Set getResponseParameterList() {
        return responseParameterList;
    }

    public void setResponseParameterList(Set responseParameterList) {
        this.responseParameterList = responseParameterList;
    }

    public String getResponseTemplate() {
        return responseTemplate;
    }

    public void setResponseTemplate(String responseTemplate) {
        this.responseTemplate = responseTemplate;
    }

    public Set getPageList() {
        return pageList;
    }

    public void setPageList(Set pageList) {
        this.pageList = pageList;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy