Package io.openapiparser.model.v30
Class License
- java.lang.Object
-
- io.openapiparser.Properties
-
- io.openapiparser.model.v30.License
-
- All Implemented Interfaces:
Extensions
public class License extends Properties implements Extensions
the License object.See specification: 4.7.4 License Object
-
-
Field Summary
-
Fields inherited from class io.openapiparser.Properties
bucket, context
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getExtensions()map of all extension properties.java.lang.StringgetName()@Nullable java.lang.StringgetUrl()-
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
-
License
public License(Context context, io.openapiprocessor.jsonschema.schema.Bucket bucket)
-
-
Method Detail
-
getName
@Required public java.lang.String getName()
-
getUrl
public @Nullable java.lang.String getUrl()
-
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
-
-