Class OAParameter
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.openapi.spec.OAParameter
-
public final class OAParameter extends Object
An OpenAPI parameter object.- Author:
- scf
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOAParameter.In
-
Constructor Summary
Constructors Constructor Description OAParameter(String refName)OAParameter(String name, OAParameter.In in, String description, OASchema schema)OAParameter(String name, String description, OASchema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()OAParameter.IngetIn()StringgetName()StringgetRef()BooleangetRequired()OASchemagetSchema()voidsetDescription(String description)voidsetIn(OAParameter.In in)voidsetName(String name)voidsetRef(String ref)voidsetRequired(Boolean required)voidsetSchema(OASchema schema)
-
-
-
Method Detail
-
getRef
public String getRef()
- Returns:
- the ref
-
setRef
public void setRef(String ref)
- Parameters:
ref- the ref to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
getIn
public OAParameter.In getIn()
- Returns:
- the in
-
setIn
public void setIn(OAParameter.In in)
- Parameters:
in- the in to set
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
getRequired
public Boolean getRequired()
- Returns:
- the required
-
setRequired
public void setRequired(Boolean required)
- Parameters:
required- the required to set
-
getSchema
public OASchema getSchema()
- Returns:
- the schema
-
setSchema
public void setSchema(OASchema schema)
- Parameters:
schema- the schema to set
-
-