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

com.devonfw.cobigen.openapiplugin.model.PathDef 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;

/**
 *
 */
@SuppressWarnings("javadoc")
public class PathDef {

  private String rootComponent;

  private String pathURI;

  private String version;

  private List operations;

  public PathDef(String pathURI, String version) {

    this.version = version;
    this.pathURI = pathURI;
    this.operations = new LinkedList<>();
  }

  public PathDef(String rootComponent, String pathURI, String version) {

    this(pathURI, version);
    this.rootComponent = rootComponent;
  }

  public PathDef() {

    this.version = "v1";
  }

  public String getRootComponent() {

    return this.rootComponent;
  }

  public void setRootComponent(String rootComponent) {

    this.rootComponent = rootComponent;
  }

  public String getPathURI() {

    return this.pathURI;
  }

  public void setPathURI(String pathURI) {

    this.pathURI = pathURI;
  }

  public List getOperations() {

    return this.operations;
  }

  public void setOperations(List operations) {

    this.operations = operations;
  }

  public String getVersion() {

    return this.version;
  }

  public void setVersion(String version) {

    this.version = version;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy