java.lang.Object
com.azure.core.util.ExpandableStringEnum<SchemaType>
com.azure.resourcemanager.apimanagement.models.SchemaType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class SchemaType extends com.azure.core.util.ExpandableStringEnum<SchemaType>
Schema Type. Immutable.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final SchemaType
    Static value json for SchemaType.
    static final SchemaType
    Static value xml for SchemaType.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static SchemaType
    Creates or finds a SchemaType from its string representation.
    Gets known SchemaType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • XML

      public static final SchemaType XML
      Static value xml for SchemaType.
    • JSON

      public static final SchemaType JSON
      Static value json for SchemaType.
  • Constructor Details

  • Method Details

    • 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()
      Gets known SchemaType values.
      Returns:
      known SchemaType values.