Class EnumDynamic<T,E extends EnumDynamic<T,E>>

java.lang.Object
com.sinch.sdk.core.utils.EnumDynamic<T,E>
Type Parameters:
T - Type of value
E - Enum type
Direct Known Subclasses:
AgentType, AmdAnswerReasonType, AmdAnswerStatusType, CallLegType, CallReasonType, CallResultType, CallStatusType, Capability, CapabilityEventNotification.CapabilityStatusEnum, CapabilityType, CardHeight, ChannelIntegrationStatus, ChannelSpecificContactMessage.MessageTypeEnum, CommentEvent.CommentTypeEnum, ConferenceManageParticipantCommandType, ContactLanguage, ConversationChannel, ConversationDirection, ConversationMergeStrategy, ConversationMessagesView, ConversationMetadataReportView, ConversationRegion, ConversationsListRecentRequest.OrderEnum, DeliveryReportErrorCode, DeliveryReportRecipientEncoding, DeliveryReportStatus, DeliveryReportType, DeliveryStatus, DestinationNumberType, DispatchRetentionPolicyType, DomainType, DtfmModeType, Event.DirectionEnum, FlowChannelSpecificMessage.FlowActionEnum, FlowChannelSpecificMessage.FlowModeEnum, GetChannelProfileConversationChannel, IndicationType, Link.RelEnum, MenuInputType, MenuOptionActionType, MenuResultInputMethodType, MessageInboundEventMessage.DirectionEnum, MessageQueue, MetadataUpdateStrategy, MusicOnHoldType, NumberEvent.EventTypeEnum, NumberEvent.FailureCodeEnum, NumberEvent.StatusEnum, NumberType, NumberType, OffensiveAnalysis.EvaluationEnum, OptInEventNotification.StatusEnum, OptOutEventNotification.StatusEnum, OrderBy, PaymentStatus, PaymentTransactionStatus, ProcessingMode, ProcessingStrategy, ProvisioningStatus, ReactionAction, ReasonCode, ReasonSubCode, RecordNotificationEventNotification.RecordStatusEnum, ResourceType, RetentionPolicyType, SearchPosition, Sentiment, SmsErrorCode, SMSRegion, StatusCallResult, StatusSource, TemplateChannel, TransportType, VerificationEventResponseAction, VerificationMethod, VerificationReportRequestFlashCall.MethodEnum, VerificationReportRequestPhoneCall.MethodEnum, VerificationReportRequestSms.MethodEnum, VerificationRequestEvent.EventEnum, VerificationRequestEvent.MethodEnum, VerificationResultEvent.EventEnum, VerificationStartRequestSms.CodeTypeEnum, VerificationStatus, VerificationStatusReason, VerificationStatusResponseFlashCall.MethodEnum, VerificationStatusResponsePhoneCall.MethodEnum, VerificationStatusResponseSms.MethodEnum, VoiceRegion, WebhookTargetType, WebhookTrigger, WhatsAppInteractiveHeaderDocument.TypeEnum, WhatsAppInteractiveHeaderImage.TypeEnum, WhatsAppInteractiveHeaderText.TypeEnum, WhatsAppInteractiveHeaderVideo.TypeEnum, WhatsAppInteractiveNfmReply.NameEnum, WhatsAppInteractiveNfmReplyChannelSpecificContactMessage.TypeEnum

public abstract class EnumDynamic<T,E extends EnumDynamic<T,E>> extends Object
Abstract class providing common definition to extendable enums
  • Method Details

    • value

      public T value()
      Get enum value as String
      Returns:
      Enum value
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object