Klasse ParameterSchema
java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.ParameterSchema
- Bekannte direkte Unterklassen:
ArraySchema
,BooleanSchema
,ComposedSchema
,GatewaySchema
,ObjectSchema
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ParameterSchema
extends Object
ParameterSchema
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected Object
The default value represents what would be assumed by the consumer of the input as the value of the schema if one is not provided.protected ParameterSchema
protected Boolean
protected Boolean
Specifies that a schema is deprecated and SHOULD be transitioned out of usage.protected String
Provide a more lengthy explanation about the purpose of the data described by the schemaprotected Object
A free-form property to include an example of an instance for this schema.protected Boolean
Indicate whether maximum are exclusive of the valueprotected Boolean
Indicate whether minimum are exclusive of the valueprotected ExternalDocs
protected String
The format keyword allows for basic semantic validation on certain kinds of string values that are commonly usedprotected String
protected BigDecimal
Upper limit in the ranges of numbers, (or exclusiveMinimum and exclusiveMaximum for expressing exclusive range)protected Integer
The maximum length of the array can be specifiedprotected Integer
The maximum length of a string can be constrained using the minLengthprotected Integer
The maximum number of properties on an object can be restrictedprotected BigDecimal
Lower limit in the ranges of numbersprotected Integer
The minimum length of the array can be specifiedprotected Integer
The minimum length of a string can be constrained using the minLengthprotected Integer
The minimum number of properties on an object can be restrictedprotected BigDecimal
Numbers can be restricted to a multiple of a given number, using the multipleOf keyword.protected String
User defined name for the propertyprotected ParameterSchema
protected Boolean
Allows sending a null value for the defined schema.protected String
The pattern keyword is used to restrict a string to a particular regular expression.protected Map<String,
ParameterSchema> The properties (key-value pairs) on an object are defined using the properties keyword.protected Boolean
Relevant only for Schema "properties" definitions.By default, the properties defined by the properties keyword are not required.protected String
User defined title for the propertyprotected String
It specifies the data type for a schemaprotected Boolean
A schema can ensure that each of the items in an array is unique.protected Boolean
Relevant only for Schema "properties" definitions.protected Xml
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
ParameterSchema
(ParameterSchema additionalProperties, Boolean additionalPropertiesAsBoolean, Object _default, Boolean deprecated, String description, List<Object> _enum, Object example, Boolean exclusiveMaximum, Boolean exclusiveMinimum, ExternalDocs externalDocs, String format, String get$ref, Integer maxItems, Integer maxLength, Integer maxProperties, BigDecimal maximum, Integer minItems, Integer minLength, Integer minProperties, BigDecimal minimum, BigDecimal multipleOf, String name, ParameterSchema not, Boolean nullable, String pattern, Map<String, ParameterSchema> properties, Boolean readOnly, List<String> required, String title, String type, Boolean uniqueItems, Map<String, Object> vendorExtensions, Boolean writeOnly, Xml xml) Constructs a validated instance ofParameterSchema
.Constructs a validated instance ofParameterSchema
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung_default()
The default value represents what would be assumed by the consumer of the input as the value of the schema if one is not provided.The default value represents what would be assumed by the consumer of the input as the value of the schema if one is not provided._enum()
additionalProperties
(ParameterSchema additionalProperties) additionalPropertiesAsBoolean
(Boolean additionalPropertiesAsBoolean) builder()
protected boolean
Specifies that a schema is deprecated and SHOULD be transitioned out of usage.deprecated
(Boolean deprecated) Specifies that a schema is deprecated and SHOULD be transitioned out of usage.Provide a more lengthy explanation about the purpose of the data described by the schemadescription
(String description) Provide a more lengthy explanation about the purpose of the data described by the schemaboolean
example()
A free-form property to include an example of an instance for this schema.A free-form property to include an example of an instance for this schema.Indicate whether maximum are exclusive of the valueexclusiveMaximum
(Boolean exclusiveMaximum) Indicate whether maximum are exclusive of the valueIndicate whether minimum are exclusive of the valueexclusiveMinimum
(Boolean exclusiveMinimum) Indicate whether minimum are exclusive of the valueexternalDocs
(ExternalDocs externalDocs) format()
The format keyword allows for basic semantic validation on certain kinds of string values that are commonly usedThe format keyword allows for basic semantic validation on certain kinds of string values that are commonly usedget$ref()
int
hashCode()
maximum()
Upper limit in the ranges of numbers, (or exclusiveMinimum and exclusiveMaximum for expressing exclusive range)maximum
(BigDecimal maximum) Upper limit in the ranges of numbers, (or exclusiveMinimum and exclusiveMaximum for expressing exclusive range)maxItems()
The maximum length of the array can be specifiedThe maximum length of the array can be specifiedThe maximum length of a string can be constrained using the minLengthThe maximum length of a string can be constrained using the minLengthThe maximum number of properties on an object can be restrictedmaxProperties
(Integer maxProperties) The maximum number of properties on an object can be restrictedminimum()
Lower limit in the ranges of numbersminimum
(BigDecimal minimum) Lower limit in the ranges of numbersminItems()
The minimum length of the array can be specifiedThe minimum length of the array can be specifiedThe minimum length of a string can be constrained using the minLengthThe minimum length of a string can be constrained using the minLengthThe minimum number of properties on an object can be restrictedminProperties
(Integer minProperties) The minimum number of properties on an object can be restrictedNumbers can be restricted to a multiple of a given number, using the multipleOf keyword.multipleOf
(BigDecimal multipleOf) Numbers can be restricted to a multiple of a given number, using the multipleOf keyword.name()
User defined name for the propertyUser defined name for the propertynot()
not
(ParameterSchema not) nullable()
Allows sending a null value for the defined schema.Allows sending a null value for the defined schema.pattern()
The pattern keyword is used to restrict a string to a particular regular expression.The pattern keyword is used to restrict a string to a particular regular expression.The properties (key-value pairs) on an object are defined using the properties keyword.properties
(Map<String, ParameterSchema> properties) The properties (key-value pairs) on an object are defined using the properties keyword.readOnly()
Relevant only for Schema "properties" definitions.Relevant only for Schema "properties" definitions.required()
By default, the properties defined by the properties keyword are not required.By default, the properties defined by the properties keyword are not required.title()
User defined title for the propertyUser defined title for the propertytoString()
type()
It specifies the data type for a schemaIt specifies the data type for a schemaA schema can ensure that each of the items in an array is unique.uniqueItems
(Boolean uniqueItems) A schema can ensure that each of the items in an array is unique.vendorExtensions
(Map<String, Object> vendorExtensions) Relevant only for Schema "properties" definitions.Relevant only for Schema "properties" definitions.xml()
-
Felddetails
-
additionalProperties
-
additionalPropertiesAsBoolean
-
_default
The default value represents what would be assumed by the consumer of the input as the value of the schema if one is not provided. Unlike JSON Schema, the value MUST conform to the defined type for the Schema Object defined at the same level. For example, if type is string, then default can be "foo" but cannot be 1 -
deprecated
Specifies that a schema is deprecated and SHOULD be transitioned out of usage. Default value is false -
description
Provide a more lengthy explanation about the purpose of the data described by the schema -
_enum
-
example
A free-form property to include an example of an instance for this schema. To represent examples that cannot be naturally represented in JSON or YAML, a string value can be used to contain the example with escaping where necessary -
exclusiveMaximum
Indicate whether maximum are exclusive of the value -
exclusiveMinimum
Indicate whether minimum are exclusive of the value -
externalDocs
-
format
The format keyword allows for basic semantic validation on certain kinds of string values that are commonly used -
get$ref
-
maxItems
The maximum length of the array can be specified -
maxLength
The maximum length of a string can be constrained using the minLength -
maxProperties
The maximum number of properties on an object can be restricted -
maximum
Upper limit in the ranges of numbers, (or exclusiveMinimum and exclusiveMaximum for expressing exclusive range) -
minItems
The minimum length of the array can be specified -
minLength
The minimum length of a string can be constrained using the minLength -
minProperties
The minimum number of properties on an object can be restricted -
minimum
Lower limit in the ranges of numbers -
multipleOf
Numbers can be restricted to a multiple of a given number, using the multipleOf keyword. It may be set to any positive number. -
name
User defined name for the property -
not
-
nullable
Allows sending a null value for the defined schema. Default value is false -
pattern
The pattern keyword is used to restrict a string to a particular regular expression. The regular expression syntax is the one defined in JavaScript (ECMA 262 specifically) -
properties
The properties (key-value pairs) on an object are defined using the properties keyword. The value of properties is an object, where each key is the name of a property and each value is of type schema used to validate that property -
readOnly
Relevant only for Schema "properties" definitions. Declares the property as "read only". This means that it MAY be sent as part of a response but SHOULD NOT be sent as part of the request. If the property is marked as readOnly being true and is in the required list, the required will take effect on the response only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false -
required
By default, the properties defined by the properties keyword are not required. However, one can provide a list of required properties using the required keyword. The required keyword takes an array of zero or more strings. Each of these strings must be unique. -
title
User defined title for the property -
type
It specifies the data type for a schema -
uniqueItems
A schema can ensure that each of the items in an array is unique. Simply set the uniqueItems keyword to true -
vendorExtensions
-
writeOnly
Relevant only for Schema "properties" definitions. Declares the property as "write only". Therefore, it MAY be sent as part of a request but SHOULD NOT be sent as part of the response. If the property is marked as writeOnly being true and is in the required list, the required will take effect on the request only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false -
xml
-
-
Konstruktordetails
-
ParameterSchema
Constructs a validated instance ofParameterSchema
.- Parameter:
spec
- the specification to process
-
ParameterSchema
@Internal public ParameterSchema(ParameterSchema additionalProperties, Boolean additionalPropertiesAsBoolean, Object _default, Boolean deprecated, String description, List<Object> _enum, Object example, Boolean exclusiveMaximum, Boolean exclusiveMinimum, ExternalDocs externalDocs, String format, String get$ref, Integer maxItems, Integer maxLength, Integer maxProperties, BigDecimal maximum, Integer minItems, Integer minLength, Integer minProperties, BigDecimal minimum, BigDecimal multipleOf, String name, ParameterSchema not, Boolean nullable, String pattern, Map<String, ParameterSchema> properties, Boolean readOnly, List<String> required, String title, String type, Boolean uniqueItems, Map<String, Object> vendorExtensions, Boolean writeOnly, Xml xml) Constructs a validated instance ofParameterSchema
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ParameterSchema(Consumer)
instead.- Parameter:
additionalProperties
- additionalPropertiesadditionalPropertiesAsBoolean
- additionalPropertiesAsBoolean_default
- The default value represents what would be assumed by the consumer of the input as the value of the schema if one is not provided. Unlike JSON Schema, the value MUST conform to the defined type for the Schema Object defined at the same level. For example, if type is string, then default can be "foo" but cannot be 1deprecated
- Specifies that a schema is deprecated and SHOULD be transitioned out of usage. Default value is falsedescription
- Provide a more lengthy explanation about the purpose of the data described by the schema_enum
- _enumexample
- A free-form property to include an example of an instance for this schema. To represent examples that cannot be naturally represented in JSON or YAML, a string value can be used to contain the example with escaping where necessaryexclusiveMaximum
- Indicate whether maximum are exclusive of the valueexclusiveMinimum
- Indicate whether minimum are exclusive of the valueexternalDocs
- externalDocsformat
- The format keyword allows for basic semantic validation on certain kinds of string values that are commonly usedget$ref
- get$refmaxItems
- The maximum length of the array can be specifiedmaxLength
- The maximum length of a string can be constrained using the minLengthmaxProperties
- The maximum number of properties on an object can be restrictedmaximum
- Upper limit in the ranges of numbers, (or exclusiveMinimum and exclusiveMaximum for expressing exclusive range)minItems
- The minimum length of the array can be specifiedminLength
- The minimum length of a string can be constrained using the minLengthminProperties
- The minimum number of properties on an object can be restrictedminimum
- Lower limit in the ranges of numbersmultipleOf
- Numbers can be restricted to a multiple of a given number, using the multipleOf keyword. It may be set to any positive number.name
- User defined name for the propertynot
- notnullable
- Allows sending a null value for the defined schema. Default value is falsepattern
- The pattern keyword is used to restrict a string to a particular regular expression. The regular expression syntax is the one defined in JavaScript (ECMA 262 specifically)properties
- The properties (key-value pairs) on an object are defined using the properties keyword. The value of properties is an object, where each key is the name of a property and each value is of type schema used to validate that propertyreadOnly
- Relevant only for Schema "properties" definitions. Declares the property as "read only". This means that it MAY be sent as part of a response but SHOULD NOT be sent as part of the request. If the property is marked as readOnly being true and is in the required list, the required will take effect on the response only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is falserequired
- By default, the properties defined by the properties keyword are not required. However, one can provide a list of required properties using the required keyword. The required keyword takes an array of zero or more strings. Each of these strings must be unique.title
- User defined title for the propertytype
- It specifies the data type for a schemauniqueItems
- A schema can ensure that each of the items in an array is unique. Simply set the uniqueItems keyword to truevendorExtensions
- vendorExtensionswriteOnly
- Relevant only for Schema "properties" definitions. Declares the property as "write only". Therefore, it MAY be sent as part of a request but SHOULD NOT be sent as part of the response. If the property is marked as writeOnly being true and is in the required list, the required will take effect on the request only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is falsexml
- xml
-
ParameterSchema
protected ParameterSchema()
-
-
Methodendetails
-
builder
-
additionalProperties
-
additionalPropertiesAsBoolean
-
_default
The default value represents what would be assumed by the consumer of the input as the value of the schema if one is not provided. Unlike JSON Schema, the value MUST conform to the defined type for the Schema Object defined at the same level. For example, if type is string, then default can be "foo" but cannot be 1 -
deprecated
Specifies that a schema is deprecated and SHOULD be transitioned out of usage. Default value is false -
description
Provide a more lengthy explanation about the purpose of the data described by the schema -
_enum
-
example
A free-form property to include an example of an instance for this schema. To represent examples that cannot be naturally represented in JSON or YAML, a string value can be used to contain the example with escaping where necessary -
exclusiveMaximum
Indicate whether maximum are exclusive of the value -
exclusiveMinimum
Indicate whether minimum are exclusive of the value -
externalDocs
-
format
The format keyword allows for basic semantic validation on certain kinds of string values that are commonly used -
get$ref
-
maxItems
The maximum length of the array can be specified -
maxLength
The maximum length of a string can be constrained using the minLength -
maxProperties
The maximum number of properties on an object can be restricted -
maximum
Upper limit in the ranges of numbers, (or exclusiveMinimum and exclusiveMaximum for expressing exclusive range) -
minItems
The minimum length of the array can be specified -
minLength
The minimum length of a string can be constrained using the minLength -
minProperties
The minimum number of properties on an object can be restricted -
minimum
Lower limit in the ranges of numbers -
multipleOf
Numbers can be restricted to a multiple of a given number, using the multipleOf keyword. It may be set to any positive number. -
name
User defined name for the property -
not
-
nullable
Allows sending a null value for the defined schema. Default value is false -
pattern
The pattern keyword is used to restrict a string to a particular regular expression. The regular expression syntax is the one defined in JavaScript (ECMA 262 specifically) -
properties
The properties (key-value pairs) on an object are defined using the properties keyword. The value of properties is an object, where each key is the name of a property and each value is of type schema used to validate that property -
readOnly
Relevant only for Schema "properties" definitions. Declares the property as "read only". This means that it MAY be sent as part of a response but SHOULD NOT be sent as part of the request. If the property is marked as readOnly being true and is in the required list, the required will take effect on the response only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false -
required
By default, the properties defined by the properties keyword are not required. However, one can provide a list of required properties using the required keyword. The required keyword takes an array of zero or more strings. Each of these strings must be unique. -
title
User defined title for the property -
type
It specifies the data type for a schema -
uniqueItems
A schema can ensure that each of the items in an array is unique. Simply set the uniqueItems keyword to true -
vendorExtensions
-
writeOnly
Relevant only for Schema "properties" definitions. Declares the property as "write only". Therefore, it MAY be sent as part of a request but SHOULD NOT be sent as part of the response. If the property is marked as writeOnly being true and is in the required list, the required will take effect on the request only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false -
xml
-
additionalProperties
- Gibt zurück:
this
.
-
additionalPropertiesAsBoolean
- Gibt zurück:
this
.
-
_default
The default value represents what would be assumed by the consumer of the input as the value of the schema if one is not provided. Unlike JSON Schema, the value MUST conform to the defined type for the Schema Object defined at the same level. For example, if type is string, then default can be "foo" but cannot be 1- Gibt zurück:
this
.
-
deprecated
Specifies that a schema is deprecated and SHOULD be transitioned out of usage. Default value is false- Gibt zurück:
this
.
-
description
Provide a more lengthy explanation about the purpose of the data described by the schema- Gibt zurück:
this
.
-
_enum
- Gibt zurück:
this
.
-
example
A free-form property to include an example of an instance for this schema. To represent examples that cannot be naturally represented in JSON or YAML, a string value can be used to contain the example with escaping where necessary- Gibt zurück:
this
.
-
exclusiveMaximum
Indicate whether maximum are exclusive of the value- Gibt zurück:
this
.
-
exclusiveMinimum
Indicate whether minimum are exclusive of the value- Gibt zurück:
this
.
-
externalDocs
- Gibt zurück:
this
.
-
format
The format keyword allows for basic semantic validation on certain kinds of string values that are commonly used- Gibt zurück:
this
.
-
get$ref
- Gibt zurück:
this
.
-
maxItems
The maximum length of the array can be specified- Gibt zurück:
this
.
-
maxLength
The maximum length of a string can be constrained using the minLength- Gibt zurück:
this
.
-
maxProperties
The maximum number of properties on an object can be restricted- Gibt zurück:
this
.
-
maximum
Upper limit in the ranges of numbers, (or exclusiveMinimum and exclusiveMaximum for expressing exclusive range)- Gibt zurück:
this
.
-
minItems
The minimum length of the array can be specified- Gibt zurück:
this
.
-
minLength
The minimum length of a string can be constrained using the minLength- Gibt zurück:
this
.
-
minProperties
The minimum number of properties on an object can be restricted- Gibt zurück:
this
.
-
minimum
Lower limit in the ranges of numbers- Gibt zurück:
this
.
-
multipleOf
Numbers can be restricted to a multiple of a given number, using the multipleOf keyword. It may be set to any positive number.- Gibt zurück:
this
.
-
name
User defined name for the property- Gibt zurück:
this
.
-
not
- Gibt zurück:
this
.
-
nullable
Allows sending a null value for the defined schema. Default value is false- Gibt zurück:
this
.
-
pattern
The pattern keyword is used to restrict a string to a particular regular expression. The regular expression syntax is the one defined in JavaScript (ECMA 262 specifically)- Gibt zurück:
this
.
-
properties
The properties (key-value pairs) on an object are defined using the properties keyword. The value of properties is an object, where each key is the name of a property and each value is of type schema used to validate that property- Gibt zurück:
this
.
-
readOnly
Relevant only for Schema "properties" definitions. Declares the property as "read only". This means that it MAY be sent as part of a response but SHOULD NOT be sent as part of the request. If the property is marked as readOnly being true and is in the required list, the required will take effect on the response only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false- Gibt zurück:
this
.
-
required
By default, the properties defined by the properties keyword are not required. However, one can provide a list of required properties using the required keyword. The required keyword takes an array of zero or more strings. Each of these strings must be unique.- Gibt zurück:
this
.
-
title
User defined title for the property- Gibt zurück:
this
.
-
type
It specifies the data type for a schema- Gibt zurück:
this
.
-
uniqueItems
A schema can ensure that each of the items in an array is unique. Simply set the uniqueItems keyword to true- Gibt zurück:
this
.
-
vendorExtensions
- Gibt zurück:
this
.
-
writeOnly
Relevant only for Schema "properties" definitions. Declares the property as "write only". Therefore, it MAY be sent as part of a request but SHOULD NOT be sent as part of the response. If the property is marked as writeOnly being true and is in the required list, the required will take effect on the request only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false- Gibt zurück:
this
.
-
xml
- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-