datai/docs/reference-code/com/sforce/soap/tooling/ActionHttpMethod.java

66 lines
962 B
Java
Raw Normal View History

2026-01-22 10:52:30 +08:00
package com.sforce.soap.tooling;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
/**
* This is a generated class for the SObject Enterprise API.
* Do not edit this file, as your changes will be lost.
*/
public enum ActionHttpMethod {
/**
* Enumeration : GET
*/
GET("GET"),
/**
* Enumeration : PUT
*/
PUT("PUT"),
/**
* Enumeration : POST
*/
POST("POST"),
/**
* Enumeration : DELETE
*/
DELETE("DELETE"),
/**
* Enumeration : PATCH
*/
PATCH("PATCH"),
;
public static Map<String, String> valuesToEnums;
static {
valuesToEnums = new HashMap<String, String>();
for (ActionHttpMethod e : EnumSet.allOf(ActionHttpMethod.class)) {
valuesToEnums.put(e.toString(), e.name());
}
}
private String value;
private ActionHttpMethod(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
}