Class OAPath
- 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 Summary
Constructors Constructor Description OAPath()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAPathaddParameter(OAParameter parameter)OAOperationgetDelete()OAOperationgetGet()OAOperationgetHead()OAOperationgetOptions()List<OAParameter>getParameters()OAOperationgetPatch()OAOperationgetPost()OAOperationgetPut()StringgetRef()OAPathsetDelete(OAOperation delete)OAPathsetGet(OAOperation get)OAPathsetHead(OAOperation head)OAPathsetOptions(OAOperation options)OAPathsetPatch(OAOperation patch)OAPathsetPost(OAOperation post)OAPathsetPut(OAOperation put)OAPathsetRef(String ref)
-
-
-
Method Detail
-
addParameter
public OAPath addParameter(OAParameter parameter)
-
getRef
public String getRef()
- Returns:
- the ref
-
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
-
-