Package com.ibm.fhir.model.type.code
Class SubscriptionChannelType
- 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.SubscriptionChannelType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class SubscriptionChannelType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscriptionChannelType.Builderstatic classSubscriptionChannelType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static SubscriptionChannelTypeEMAILEmailstatic SubscriptionChannelTypeMESSAGEMessagestatic SubscriptionChannelTypeREST_HOOKRest Hookstatic SubscriptionChannelTypeSMSSMSstatic SubscriptionChannelTypeWEBSOCKETWebsocket
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionChannelType.Builderbuilder()static Codecode(String value)Inherited factory method for creating SubscriptionChannelType objects from a passed string value.booleanequals(Object obj)SubscriptionChannelType.ValueSetgetValueAsEnumConstant()inthashCode()static SubscriptionChannelTypeof(SubscriptionChannelType.ValueSet value)Factory method for creating SubscriptionChannelType objects from a passed enum value.static SubscriptionChannelTypeof(String value)Factory method for creating SubscriptionChannelType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating SubscriptionChannelType objects from a passed string value.SubscriptionChannelType.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
-
REST_HOOK
public static final SubscriptionChannelType REST_HOOK
Rest HookThe channel is executed by making a post to the URI. If a payload is included, the URL is interpreted as the service base, and an update (PUT) is made.
-
WEBSOCKET
public static final SubscriptionChannelType WEBSOCKET
WebsocketThe channel is executed by sending a packet across a web socket connection maintained by the client. The URL identifies the websocket, and the client binds to this URL.
-
EMAIL
public static final SubscriptionChannelType EMAIL
EmailThe channel is executed by sending an email to the email addressed in the URI (which must be a mailto:).
-
SMS
public static final SubscriptionChannelType SMS
SMSThe channel is executed by sending an SMS message to the phone number identified in the URL (tel:).
-
MESSAGE
public static final SubscriptionChannelType MESSAGE
MessageThe channel is executed by sending a message (e.g. a Bundle with a MessageHeader resource etc.) to the application identified in the URI.
-
-
Method Detail
-
getValueAsEnumConstant
public SubscriptionChannelType.ValueSet getValueAsEnumConstant()
-
of
public static SubscriptionChannelType of(SubscriptionChannelType.ValueSet value)
Factory method for creating SubscriptionChannelType objects from a passed enum value.
-
of
public static SubscriptionChannelType of(String value)
Factory method for creating SubscriptionChannelType 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 SubscriptionChannelType 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 SubscriptionChannelType 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 SubscriptionChannelType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static SubscriptionChannelType.Builder builder()
-
-