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

com.ly.doc.model.torna.Apis Maven / Gradle / Ivy

Go to download

Smart-doc is a tool that supports both JAVA RESTFUL API and Apache Dubbo RPC interface document generation.

There is a newer version: 3.0.5
Show newest version
/*
 * Copyright (C) 2018-2023 smart-doc
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you 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.ly.doc.model.torna;

import java.util.List;

/**
 * @author xingzi 2021/2/8 10:07
 **/
public class Apis {

    private String name;
    private String description;
    private String url;
    private String httpMethod;
    private String contentType;
    private String isFolder;
    private String parentId;
    private String isShow;
    private String author;
    private Integer orderIndex;
    private DubboInfo dubboInfo;
    private List headerParams;
    private List pathParams;
    private List queryParams;
    private List requestParams;
    private List responseParams;
    private String errorCodeParams;
    private List items;
    private Integer isRequestArray;
    private String requestArrayType;
    private Integer isResponseArray;
    private String responseArrayType;
    private String deprecated;
    private String version;

    public String getVersion() {
        return version;
    }

    public Apis setVersion(String version) {
        this.version = version;
        return this;
    }

    public Integer getIsRequestArray() {
        return isRequestArray;
    }

    public void setIsRequestArray(Integer isRequestArray) {
        this.isRequestArray = isRequestArray;
    }

    public String getRequestArrayType() {
        return requestArrayType;
    }

    public void setRequestArrayType(String requestArrayType) {
        this.requestArrayType = requestArrayType;
    }

    public Integer getIsResponseArray() {
        return isResponseArray;
    }

    public void setIsResponseArray(Integer isResponseArray) {
        this.isResponseArray = isResponseArray;
    }

    public String getResponseArrayType() {
        return responseArrayType;
    }

    public void setResponseArrayType(String responseArrayType) {
        this.responseArrayType = responseArrayType;
    }

    public Integer getOrderIndex() {
        return orderIndex;
    }

    public void setOrderIndex(Integer orderIndex) {
        this.orderIndex = orderIndex;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    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 getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getIsFolder() {
        return isFolder;
    }

    public void setIsFolder(String isFolder) {
        this.isFolder = isFolder;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getIsShow() {
        return isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    public List getQueryParams() {
        return queryParams;
    }

    public void setQueryParams(List queryParams) {
        this.queryParams = queryParams;
    }

    public List getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(List requestParams) {
        this.requestParams = requestParams;
    }

    public List getHeaderParams() {
        return headerParams;
    }

    public void setHeaderParams(List headerParams) {
        this.headerParams = headerParams;
    }

    public List getPathParams() {
        return pathParams;
    }

    public Apis setPathParams(List pathParams) {
        this.pathParams = pathParams;
        return this;
    }

    public List getResponseParams() {
        return responseParams;
    }

    public void setResponseParams(List responseParams) {
        this.responseParams = responseParams;
    }

    public String getErrorCodeParams() {
        return errorCodeParams;
    }

    public void setErrorCodeParams(String errorCodeParams) {
        this.errorCodeParams = errorCodeParams;
    }

    public List getItems() {
        return items;
    }

    public void setItems(List items) {
        this.items = items;
    }

    public DubboInfo getDubboInfo() {
        return dubboInfo;
    }

    public void setDubboInfo(DubboInfo dubboInfo) {
        this.dubboInfo = dubboInfo;
    }

    public String getDeprecated() {
        return deprecated;
    }

    public void setDeprecated(String deprecated) {
        this.deprecated = deprecated;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy