ContentFormat Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.apimanagement.v2019_01_01.ContentFormat

public final class ContentFormat
extends com.microsoft.rest.ExpandableStringEnum<ContentFormat>

Defines values for ContentFormat.

Field Summary

Modifier and Type Field and Description
static final ContentFormat OPENAPI

Static value openapi for ContentFormat.

static final ContentFormat OPENAPIJSON

Static value openapi+json for ContentFormat.

static final ContentFormat OPENAPI_LINK

Static value openapi-link for ContentFormat.

static final ContentFormat SWAGGER_JSON

Static value swagger-json for ContentFormat.

static final ContentFormat SWAGGER_LINK_JSON

Static value swagger-link-json for ContentFormat.

static final ContentFormat WADL_LINK_JSON

Static value wadl-link-json for ContentFormat.

static final ContentFormat WADL_XML

Static value wadl-xml for ContentFormat.

static final ContentFormat WSDL

Static value wsdl for ContentFormat.

static final ContentFormat WSDL_LINK

Static value wsdl-link for ContentFormat.

Constructor Summary

Constructor Description
ContentFormat()

Method Summary

Modifier and Type Method and Description
static ContentFormat fromString(String name)

Creates or finds a ContentFormat from its string representation.

static java.util.Collection<ContentFormat> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

OPENAPI

public static final ContentFormat OPENAPI

Static value openapi for ContentFormat.

OPENAPIJSON

public static final ContentFormat OPENAPIJSON

Static value openapi+json for ContentFormat.

public static final ContentFormat OPENAPI_LINK

Static value openapi-link for ContentFormat.

SWAGGER_JSON

public static final ContentFormat SWAGGER_JSON

Static value swagger-json for ContentFormat.

public static final ContentFormat SWAGGER_LINK_JSON

Static value swagger-link-json for ContentFormat.

public static final ContentFormat WADL_LINK_JSON

Static value wadl-link-json for ContentFormat.

WADL_XML

public static final ContentFormat WADL_XML

Static value wadl-xml for ContentFormat.

WSDL

public static final ContentFormat WSDL

Static value wsdl for ContentFormat.

public static final ContentFormat WSDL_LINK

Static value wsdl-link for ContentFormat.

Constructor Details

ContentFormat

public ContentFormat()

Method Details

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

values

public static Collection values()

Returns:

known ContentFormat values

Applies to