Class SchemaType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<SchemaType>
-
- com.azure.resourcemanager.apimanagement.models.SchemaType
-
public final class SchemaType extends com.azure.core.util.ExpandableStringEnum<SchemaType>
Defines values for SchemaType.
-
-
Field Summary
Fields Modifier and Type Field Description static SchemaType
JSON
Static value json for SchemaType.static SchemaType
XML
Static value xml for SchemaType.
-
Constructor Summary
Constructors Constructor Description SchemaType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaType
fromString(String name)
Creates or finds a SchemaType from its string representation.static Collection<SchemaType>
values()
-
-
-
Field Detail
-
XML
public static final SchemaType XML
Static value xml for SchemaType.
-
JSON
public static final SchemaType JSON
Static value json for SchemaType.
-
-
Method Detail
-
fromString
public static SchemaType fromString(String name)
Creates or finds a SchemaType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding SchemaType.
-
values
public static Collection<SchemaType> values()
- Returns:
- known SchemaType values.
-
-