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 theParameterdetails 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 OpenAPIDataTypegetDataType()Returns "schema" data type associated with the parameter given from the OpenAPI SpecStringgetId()Returns the Base64 encoded Operation field id generated for the parameter.StringgetName()Returns the "name" associated with the parameter given from the OpenAPI SpecOpenAPIParameterTypegetParameterType()Returns the "in" type associated with the parameter given from the OpenAPI Specio.swagger.v3.oas.models.parameters.Parameter.StyleEnumgetStyle()Returns the "style" type associated with the parameter given from the OpenAPI SpecbooleanisExplode()Returns the "explode" boolean value associated with the parameter given from the OpenAPI SpecvoidsetDataType(OpenAPIDataType dataType)voidsetExplode(boolean explode)voidsetId(String id)voidsetParameterType(OpenAPIParameterType parameterType)voidsetStyle(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)
-
-