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

public final class ApiType extends com.azure.core.util.ExpandableStringEnum<ApiType>
Type of API.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ApiType
    Static value graphql for ApiType.
    static final ApiType
    Static value grpc for ApiType.
    static final ApiType
    Static value http for ApiType.
    static final ApiType
    Static value odata for ApiType.
    static final ApiType
    Static value soap for ApiType.
    static final ApiType
    Static value websocket for ApiType.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    static ApiType
    Creates or finds a ApiType from its string representation.
    Gets known ApiType 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

    • HTTP

      public static final ApiType HTTP
      Static value http for ApiType.
    • SOAP

      public static final ApiType SOAP
      Static value soap for ApiType.
    • WEBSOCKET

      public static final ApiType WEBSOCKET
      Static value websocket for ApiType.
    • GRAPHQL

      public static final ApiType GRAPHQL
      Static value graphql for ApiType.
    • ODATA

      public static final ApiType ODATA
      Static value odata for ApiType.
    • GRPC

      public static final ApiType GRPC
      Static value grpc for ApiType.
  • Constructor Details

  • Method Details

    • fromString

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

      public static Collection<ApiType> values()
      Gets known ApiType values.
      Returns:
      known ApiType values.