Package com.ibm.fhir.model.type.code
Class HTTPVerb
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.HTTPVerb
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class HTTPVerb extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHTTPVerb.Builderstatic classHTTPVerb.ValueSet
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HTTPVerb.Builderbuilder()static Codecode(String value)Inherited factory method for creating HTTPVerb objects from a passed string value.booleanequals(Object obj)HTTPVerb.ValueSetgetValueAsEnumConstant()inthashCode()static HTTPVerbof(HTTPVerb.ValueSet value)Factory method for creating HTTPVerb objects from a passed enum value.static HTTPVerbof(String value)Factory method for creating HTTPVerb objects from a passed string value.static Stringstring(String value)Inherited factory method for creating HTTPVerb objects from a passed string value.HTTPVerb.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
GET
public static final HTTPVerb GET
GETHTTP GET Command.
-
HEAD
public static final HTTPVerb HEAD
HEADHTTP HEAD Command.
-
POST
public static final HTTPVerb POST
POSTHTTP POST Command.
-
PUT
public static final HTTPVerb PUT
PUTHTTP PUT Command.
-
DELETE
public static final HTTPVerb DELETE
DELETEHTTP DELETE Command.
-
PATCH
public static final HTTPVerb PATCH
PATCHHTTP PATCH Command.
-
-
Method Detail
-
getValueAsEnumConstant
public HTTPVerb.ValueSet getValueAsEnumConstant()
-
of
public static HTTPVerb of(HTTPVerb.ValueSet value)
Factory method for creating HTTPVerb objects from a passed enum value.
-
of
public static HTTPVerb of(String value)
Factory method for creating HTTPVerb objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating HTTPVerb objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating HTTPVerb objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public HTTPVerb.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static HTTPVerb.Builder builder()
-
-