Class ContentFormat
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ContentFormat>
com.azure.resourcemanager.apimanagement.models.ContentFormat
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Format of the Content in which the API is getting imported. New formats can be added in the future.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ContentFormatStatic value graphql-link for ContentFormat.static final ContentFormatStatic value grpc for ContentFormat.static final ContentFormatStatic value grpc-link for ContentFormat.static final ContentFormatStatic value odata for ContentFormat.static final ContentFormatStatic value odata-link for ContentFormat.static final ContentFormatStatic value openapi for ContentFormat.static final ContentFormatStatic value openapi+json for ContentFormat.static final ContentFormatStatic value openapi+json-link for ContentFormat.static final ContentFormatStatic value openapi-link for ContentFormat.static final ContentFormatStatic value swagger-json for ContentFormat.static final ContentFormatStatic value swagger-link-json for ContentFormat.static final ContentFormatStatic value wadl-link-json for ContentFormat.static final ContentFormatStatic value wadl-xml for ContentFormat.static final ContentFormatStatic value wsdl for ContentFormat.static final ContentFormatStatic value wsdl-link for ContentFormat. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentFormatfromString(String name) Creates or finds a ContentFormat from its string representation.static Collection<ContentFormat> values()Gets known ContentFormat values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
WADL_XML
Static value wadl-xml for ContentFormat. -
WADL_LINK_JSON
Static value wadl-link-json for ContentFormat. -
SWAGGER_JSON
Static value swagger-json for ContentFormat. -
SWAGGER_LINK_JSON
Static value swagger-link-json for ContentFormat. -
WSDL
Static value wsdl for ContentFormat. -
WSDL_LINK
Static value wsdl-link for ContentFormat. -
OPENAPI
Static value openapi for ContentFormat. -
OPENAPI_JSON
Static value openapi+json for ContentFormat. -
OPENAPI_LINK
Static value openapi-link for ContentFormat. -
OPENAPI_JSON_LINK
Static value openapi+json-link for ContentFormat. -
GRAPHQL_LINK
Static value graphql-link for ContentFormat. -
ODATA
Static value odata for ContentFormat. -
ODATA_LINK
Static value odata-link for ContentFormat. -
GRPC
Static value grpc for ContentFormat. -
GRPC_LINK
Static value grpc-link for ContentFormat.
-
-
Constructor Details
-
ContentFormat
Deprecated.Use thefromString(String)factory method.Creates a new instance of ContentFormat value.
-
-
Method Details
-
fromString
Creates or finds a ContentFormat from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ContentFormat.
-
values
Gets known ContentFormat values.- Returns:
- known ContentFormat values.
-
fromString(String)factory method.