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

io.swagger.models.resourcelisting.ResourceListing Maven / Gradle / Ivy

There is a newer version: 1.0.71
Show newest version
package io.swagger.models.resourcelisting;

import io.swagger.models.SwaggerBaseModel;
import io.swagger.models.SwaggerVersion;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ResourceListing extends SwaggerBaseModel {
    private SwaggerVersion swaggerVersion = null;
    private String apiVersion = null;
    private List apis = new ArrayList<>();
    private Map authorizations = new HashMap<>();
    private ApiInfo info = null;

    public SwaggerVersion getSwaggerVersion() {
        return swaggerVersion;
    }

    public void setSwaggerVersion(SwaggerVersion swaggerVersion) {
        this.swaggerVersion = swaggerVersion;
    }

    public String getApiVersion() {
        return apiVersion;
    }

    public void setApiVersion(String apiVersion) {
        this.apiVersion = apiVersion;
    }

    public List getApis() {
        return apis;
    }

    public void setApis(List apis) {
        this.apis = apis;
    }

    public Map getAuthorizations() {
        return authorizations;
    }

    public void setAuthorizations(Map authorizations) {
        this.authorizations = authorizations;
    }

    public ApiInfo getInfo() {
        return info;
    }

    public void setInfo(ApiInfo info) {
        this.info = info;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class ResourceListing {\n");
        sb.append("  apiVersion: ").append(apiVersion).append("\n");
        sb.append("  swaggerVersion: ").append(swaggerVersion).append("\n");
        sb.append("  apis: ").append(apis).append("\n");
        sb.append("  authorizations: ").append(authorizations).append("\n");
        sb.append("  info: ").append(info).append("\n");
        sb.append("  extraFields: ").append(getExtraFields()).append("\n");
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy