ContentType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appcomplianceautomation. models. ContentType
- com.
- com.
public final class ContentType
extends ExpandableStringEnum<ContentType>
content type.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Content |
APPLICATION_JSON
The content type is application/json. |
Constructor Summary
| Constructor | Description |
|---|---|
| ContentType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Content |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Content |
fromString(String name)
Creates or finds a Content |
|
static
Collection<Content |
values()
Gets known Content |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
APPLICATION_JSON
public static final ContentType APPLICATION_JSON
The content type is application/json.
Constructor Details
ContentType
@Deprecated
public ContentType()
Deprecated
Creates a new instance of ContentType value.
Method Details
fromString
public static ContentType fromString(String name)
Creates or finds a ContentType from its string representation.
Parameters:
Returns:
values
public static Collection<ContentType> values()
Gets known ContentType values.
Returns: