java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.plugin.openapi.spec.OAPath

public final class OAPath extends Object
An OpenAPI path object.
Author:
scf
  • Constructor Details

    • OAPath

      public OAPath()
  • Method Details

    • addParameter

      public OAPath addParameter(OAParameter parameter)
    • getRef

      public String getRef()
      Returns:
      the ref
    • setRef

      public OAPath setRef(String ref)
      Parameters:
      ref - the ref to set
      Returns:
      this
    • getParameters

      public List<OAParameter> getParameters()
      Returns:
      the parameters
    • getGet

      public OAOperation getGet()
      Returns:
      the get
    • setGet

      public OAPath setGet(OAOperation get)
      Parameters:
      get - the get to set
      Returns:
      this
    • getPut

      public OAOperation getPut()
      Returns:
      the put
    • setPut

      public OAPath setPut(OAOperation put)
      Parameters:
      put - the put to set
      Returns:
      this
    • getPost

      public OAOperation getPost()
      Returns:
      the post
    • setPost

      public OAPath setPost(OAOperation post)
      Parameters:
      post - the post to set
      Returns:
      this
    • getPatch

      public OAOperation getPatch()
      Returns:
      the patch
    • setPatch

      public OAPath setPatch(OAOperation patch)
      Parameters:
      patch - the patch to set
      Returns:
      this
    • getDelete

      public OAOperation getDelete()
      Returns:
      the delete
    • setDelete

      public OAPath setDelete(OAOperation delete)
      Parameters:
      delete - the delete to set
      Returns:
      this
    • getOptions

      public OAOperation getOptions()
      Returns:
      the options
    • setOptions

      public OAPath setOptions(OAOperation options)
      Parameters:
      options - the options to set
      Returns:
      this
    • getHead

      public OAOperation getHead()
      Returns:
      the head
    • setHead

      public OAPath setHead(OAOperation head)
      Parameters:
      head - the head to set
      Returns:
      this