Package com.boomi.connector.openapi.util
Class OpenAPIParameter
- java.lang.Object
-
- com.boomi.connector.openapi.util.OpenAPIParameter
-
public class OpenAPIParameter extends Object
This class is used to store theParameter
details from Open Api Specification during the browse operation. These details are used to create http request during execution.
-
-
Constructor Summary
Constructors Constructor Description OpenAPIParameter()
OpenAPIParameter(String id, OpenAPIDataType dataType, io.swagger.v3.oas.models.parameters.Parameter.StyleEnum style, boolean explode, OpenAPIParameterType parameterType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenAPIDataType
getDataType()
Returns "schema" data type associated with the parameter given from the OpenAPI SpecString
getId()
Returns the Base64 encoded Operation field id generated for the parameter.String
getName()
Returns the "name" associated with the parameter given from the OpenAPI SpecOpenAPIParameterType
getParameterType()
Returns the "in" type associated with the parameter given from the OpenAPI Specio.swagger.v3.oas.models.parameters.Parameter.StyleEnum
getStyle()
Returns the "style" type associated with the parameter given from the OpenAPI Specboolean
isExplode()
Returns the "explode" boolean value associated with the parameter given from the OpenAPI Specvoid
setDataType(OpenAPIDataType dataType)
void
setExplode(boolean explode)
void
setId(String id)
void
setParameterType(OpenAPIParameterType parameterType)
void
setStyle(io.swagger.v3.oas.models.parameters.Parameter.StyleEnum style)
-
-
-
Constructor Detail
-
OpenAPIParameter
public OpenAPIParameter()
-
OpenAPIParameter
public OpenAPIParameter(String id, OpenAPIDataType dataType, io.swagger.v3.oas.models.parameters.Parameter.StyleEnum style, boolean explode, OpenAPIParameterType parameterType)
-
-
Method Detail
-
getId
public String getId()
Returns the Base64 encoded Operation field id generated for the parameter.- Returns:
- the field id
-
setId
public void setId(String id)
-
getName
public String getName()
Returns the "name" associated with the parameter given from the OpenAPI Spec- Returns:
- the name
-
getDataType
public OpenAPIDataType getDataType()
Returns "schema" data type associated with the parameter given from the OpenAPI Spec- Returns:
- the dataType
-
setDataType
public void setDataType(OpenAPIDataType dataType)
-
getParameterType
public OpenAPIParameterType getParameterType()
Returns the "in" type associated with the parameter given from the OpenAPI Spec- Returns:
- the parameter Type
-
setParameterType
public void setParameterType(OpenAPIParameterType parameterType)
-
getStyle
public io.swagger.v3.oas.models.parameters.Parameter.StyleEnum getStyle()
Returns the "style" type associated with the parameter given from the OpenAPI Spec- Returns:
- the Style
-
setStyle
public void setStyle(io.swagger.v3.oas.models.parameters.Parameter.StyleEnum style)
-
isExplode
public boolean isExplode()
Returns the "explode" boolean value associated with the parameter given from the OpenAPI Spec- Returns:
- true if explode, false otherwise
-
setExplode
public void setExplode(boolean explode)
-
-