Class ContentFormat


  • public final class ContentFormat
    extends com.azure.core.util.ExpandableStringEnum<ContentFormat>
    Defines values for ContentFormat.
    • Field Detail

      • WADL_XML

        public static final ContentFormat WADL_XML
        Static value wadl-xml for ContentFormat.
      • WADL_LINK_JSON

        public static final ContentFormat WADL_LINK_JSON
        Static value wadl-link-json for ContentFormat.
      • SWAGGER_JSON

        public static final ContentFormat SWAGGER_JSON
        Static value swagger-json for ContentFormat.
      • SWAGGER_LINK_JSON

        public static final ContentFormat SWAGGER_LINK_JSON
        Static value swagger-link-json for ContentFormat.
      • WSDL

        public static final ContentFormat WSDL
        Static value wsdl for ContentFormat.
      • WSDL_LINK

        public static final ContentFormat WSDL_LINK
        Static value wsdl-link for ContentFormat.
      • OPENAPI

        public static final ContentFormat OPENAPI
        Static value openapi for ContentFormat.
      • OPENAPI_JSON

        public static final ContentFormat OPENAPI_JSON
        Static value openapi+json for ContentFormat.
      • OPENAPI_LINK

        public static final ContentFormat OPENAPI_LINK
        Static value openapi-link for ContentFormat.
      • OPENAPI_JSON_LINK

        public static final ContentFormat OPENAPI_JSON_LINK
        Static value openapi+json-link for ContentFormat.
      • GRAPHQL_LINK

        public static final ContentFormat GRAPHQL_LINK
        Static value graphql-link for ContentFormat.
    • Constructor Detail

      • ContentFormat

        public ContentFormat()
    • Method Detail

      • fromString

        public static ContentFormat fromString​(String name)
        Creates or finds a ContentFormat from its string representation.
        Parameters:
        name - a name to look for.
        Returns:
        the corresponding ContentFormat.