Package org.hl7.fhir.r4.model
Enum TestScript.AssertionResponseTypes
java.lang.Object
java.lang.Enum<TestScript.AssertionResponseTypes>
org.hl7.fhir.r4.model.TestScript.AssertionResponseTypes
- All Implemented Interfaces:
Serializable
,Comparable<TestScript.AssertionResponseTypes>
- Enclosing class:
TestScript
public static enum TestScript.AssertionResponseTypes
extends Enum<TestScript.AssertionResponseTypes>
-
Enum Constant Summary
Enum ConstantDescriptionResponse code is 400.Response code is 409.Response code is 201.Response code is 403.Response code is 410.Response code is 405.Response code is 204.Response code is 404.Response code is 304.added to help the parsers with the generic typesResponse code is 200.Response code is 412.Response code is 422. -
Method Summary
Modifier and TypeMethodDescriptiontoCode()
Returns the enum constant of this type with the specified name.static TestScript.AssertionResponseTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OKAY
Response code is 200. -
CREATED
Response code is 201. -
NOCONTENT
Response code is 204. -
NOTMODIFIED
Response code is 304. -
BAD
Response code is 400. -
FORBIDDEN
Response code is 403. -
NOTFOUND
Response code is 404. -
METHODNOTALLOWED
Response code is 405. -
CONFLICT
Response code is 409. -
GONE
Response code is 410. -
PRECONDITIONFAILED
Response code is 412. -
UNPROCESSABLE
Response code is 422. -
NULL
added to help the parsers with the generic types
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromCode
public static TestScript.AssertionResponseTypes fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-