Enum Class WebApiResponseStatus

java.lang.Object
java.lang.Enum<WebApiResponseStatus>
com.veeva.vault.sdk.api.webapi.WebApiResponseStatus
All Implemented Interfaces:
Serializable, Comparable<WebApiResponseStatus>, Constable

public enum WebApiResponseStatus extends Enum<WebApiResponseStatus>
Contains valid values to define the status of a WebApiRequest.
  • Enum Constant Details

    • SUCCESS

      public static final WebApiResponseStatus SUCCESS
      The WebAPIRequest was successfully processed.
    • FAILURE

      public static final WebApiResponseStatus FAILURE
      The WebAPIRequest was not processed successfully.
    • WARNING

      public static final WebApiResponseStatus WARNING
      The WebAPIRequest was successfully processed, but with warnings.
  • Method Details

    • values

      public static WebApiResponseStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WebApiResponseStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null