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

com.devonfw.cobigen.openapiplugin.model.HeaderDef Maven / Gradle / Ivy

There is a newer version: 2021.12.006
Show newest version
package com.devonfw.cobigen.openapiplugin.model;

import java.util.LinkedList;
import java.util.List;

/**
 * Definition that stores data about the overall application
 */
@SuppressWarnings("javadoc")
public class HeaderDef {
    List servers;

    InfoDef info;

    public List getServers() {
        return servers;
    }

    public void setServers(List servers) {
        this.servers = servers;
    }

    public InfoDef getInfo() {
        return info;
    }

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

    public HeaderDef() {
        servers = new LinkedList<>();
    }

    @Override
    public String toString() {
        return info.getTitle() + "  " + info.getDescription();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy