public T get()

in juneau-core/juneau-dto/src/main/java/org/apache/juneau/dto/swagger/SchemaInfo.java [994:1031]


	public <T> T get(String property, Class<T> type) {
		if (property == null)
			return null;
		switch (property) {
			case "additionalProperties": return toType(getAdditionalProperties(), type);
			case "allOf": return toType(getAllOf(), type);
			case "default": return toType(getDefault(), type);
			case "description": return toType(getDescription(), type);
			case "discriminator": return toType(getDiscriminator(), type);
			case "enum": return toType(getEnum(), type);
			case "example": return toType(getExample(), type);
			case "exclusiveMaximum": return toType(getExclusiveMaximum(), type);
			case "exclusiveMinimum": return toType(getExclusiveMinimum(), type);
			case "externalDocs": return toType(getExternalDocs(), type);
			case "format": return toType(getFormat(), type);
			case "items": return toType(getItems(), type);
			case "maximum": return toType(getMaximum(), type);
			case "maxItems": return toType(getMaxItems(), type);
			case "maxLength": return toType(getMaxLength(), type);
			case "maxProperties": return toType(getMaxProperties(), type);
			case "minimum": return toType(getMinimum(), type);
			case "minItems": return toType(getMinItems(), type);
			case "minLength": return toType(getMinLength(), type);
			case "minProperties": return toType(getMinProperties(), type);
			case "multipleOf": return toType(getMultipleOf(), type);
			case "pattern": return toType(getPattern(), type);
			case "properties": return toType(getProperties(), type);
			case "readOnly": return toType(getReadOnly(), type);
			case "$ref": return toType(getRef(), type);
			case "rquired": return toType(getRequired(), type);
			case "requiredProperties": return toType(getRequiredProperties(), type);
			case "title": return toType(getTitle(), type);
			case "type": return toType(getType(), type);
			case "uniqueItems": return toType(getUniqueItems(), type);
			case "xml": return toType(getXml(), type);
			default: return super.get(property, type);
		}
	}