Package io.openapiparser.model.v30
Class ServerVariable
- java.lang.Object
-
- io.openapiparser.Properties
-
- io.openapiparser.model.v30.ServerVariable
-
- All Implemented Interfaces:
Extensions
public class ServerVariable extends Properties implements Extensions
the Server Variable object.See specification: 4.7.6 Server Variable Object
-
-
Field Summary
-
Fields inherited from class io.openapiparser.Properties
bucket, context
-
-
Constructor Summary
Constructors Constructor Description ServerVariable(Context context, io.openapiprocessor.jsonschema.schema.Bucket bucket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDefault()@Nullable java.lang.StringgetDescription()java.util.Collection<java.lang.String>getEnum()java.util.Map<java.lang.String,java.lang.Object>getExtensions()map of all extension properties.-
Methods inherited from class io.openapiparser.Properties
getBooleanOrDefault, getBooleanOrFalse, getBooleanOrNull, getIntegerOrDefault, getIntegerOrNull, getMapObjectsOrEmpty, getMapObjectsOrEmpty, getMapSetStringsOrEmpty, getMapStringsOrEmpty, getNumberOrNull, getObjectOrNull, getObjectOrThrow, getObjectsOrEmpty, getRawValue, getRawValueOf, getRefObject, getRefObjectOrThrow, getStringOrNull, getStringOrThrow, getStringsOrEmpty, getStringsOrNull, getValueOf, hasProperty
-
-
-
-
Constructor Detail
-
ServerVariable
public ServerVariable(Context context, io.openapiprocessor.jsonschema.schema.Bucket bucket)
-
-
Method Detail
-
getEnum
public java.util.Collection<java.lang.String> getEnum()
-
getDefault
@Required public java.lang.String getDefault()
-
getDescription
public @Nullable java.lang.String getDescription()
-
getExtensions
public java.util.Map<java.lang.String,java.lang.Object> getExtensions()
Description copied from interface:Extensionsmap of all extension properties.- Specified by:
getExtensionsin interfaceExtensions- Overrides:
getExtensionsin classProperties- Returns:
- map of extension properties
-
-