Klasse FormParameter.FormParameterBuilder
java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.FormParameter.FormParameterBuilder
- Umschließende Klasse:
FormParameter
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungallowEmptyValue
(Boolean allowEmptyValue) Sets the ability to pass empty-valued parameters.allowReserved
(Boolean allowReserved) Determines whether the parameter value SHOULD allow reserved characters, as defined by RFC3986 :/?#[]@!$&'()*+,;= to be included without percent-encoding.build()
A map containing the representations for the parameter.deprecated
(Boolean deprecated) Determines whether this parameter is mandatory.description
(String description) A brief description of the parameter.Examples of the media type.When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map.extendedExample
(Object extendedExample) Example of the media type.The available paths and operations for the APIThe location of the parameter.The name of the parameter.parameterSchema
(ParameterSchema parameterSchema) Determines whether this parameter is mandatory.style
(FormParameter.StyleEnum style) Describes how the parameter value will be serialized depending on the type of the parameter value.toString()
vendorExtensions
(Map<String, Object> vendorExtensions)
-
Methodendetails
-
__enum
- Gibt zurück:
this
.
-
allowEmptyValue
Sets the ability to pass empty-valued parameters. This is valid only for query parameters and allows sending a parameter with an empty value- Gibt zurück:
this
.
-
allowReserved
Determines whether the parameter value SHOULD allow reserved characters, as defined by RFC3986 :/?#[]@!$&'()*+,;= to be included without percent-encoding. This property only applies to parameters with an in value of query. The default value is false- Gibt zurück:
this
.
-
content
A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry- Gibt zurück:
this
.
-
_default
- Gibt zurück:
this
.
-
deprecated
Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false- Gibt zurück:
this
.
-
description
A brief description of the parameter. This could contain examples of use- Gibt zurück:
this
.
-
examples
Examples of the media type. Each example SHOULD contain a value in the correct format as specified in the parameter encoding. The examples field is mutually exclusive of the example field. Furthermore, if referencing a schema which contains an example, the examples value SHALL override the example provided by the schema- Gibt zurück:
this
.
-
explode
When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is false- Gibt zurück:
this
.
-
extendedExample
Example of the media type. The example SHOULD match the specified schema and encoding properties if present. The example field is mutually exclusive of the examples field. Furthermore, if referencing a schema which contains an example, the example value SHALL override the example provided by the schema. To represent examples of media types that cannot naturally be represented in JSON or YAML, a string value can contain the example with escaping where necessary- Gibt zurück:
this
.
-
get$ref
The available paths and operations for the API- Gibt zurück:
this
.
-
in
The location of the parameter. Possible values are "query", "header", "path" or "cookie"- Gibt zurück:
this
.
-
name
The name of the parameter. Parameter names are case sensitive- Gibt zurück:
this
.
-
parameterSchema
- Gibt zurück:
this
.
-
required
Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false- Gibt zurück:
this
.
-
style
Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form- Gibt zurück:
this
.
-
vendorExtensions
- Gibt zurück:
this
.
-
xpath
- Gibt zurück:
this
.
-
build
-
toString
-