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, AnsweredCallEvent.WebhooksEventRequestType, AnsweredCallEventAnsweringMachineDetection.ReasonEnum, AnsweredCallEventAnsweringMachineDetection.StatusEnum, CallInformation.DomainEnum, CallInformation.ReasonEnum, CallInformation.StatusEnum, CallLeg, CalloutRequestConference.MethodEnum, CalloutRequestCustom.MethodEnum, CalloutRequestTTS.MethodEnum, CallResult, Capability, Capability, CapabilityEventNotification.CapabilityStatusEnum, CardHeight, ChannelIntegrationStatus, ChannelSpecificContactMessage.MessageTypeEnum, CommentEvent.CommentTypeEnum, ConferenceDtmfOptions.ModeEnum, ContactLanguage, ConversationChannel, ConversationDirection, ConversationMergeStrategy, ConversationMessagesView, ConversationMetadataReportView, ConversationRegion, ConversationsListRecentRequest.OrderEnum, DeliveryReportErrorCode, DeliveryReportRecipientEncoding, DeliveryReportStatus, DeliveryReportType, DeliveryStatus, DisconnectedCallEvent.ReasonEnum, DisconnectedCallEvent.WebhooksEventRequestType, DispatchRetentionPolicyType, Domain, Event.DirectionEnum, FlowChannelSpecificMessage.FlowActionEnum, FlowChannelSpecificMessage.FlowModeEnum, GetChannelProfileConversationChannel, Link.RelEnum, ManageConferenceParticipantRequest.CommandEnum, MenuOptionActionFactory.MenuOptionActionType, MenuResult.InputMethodEnum, MenuResult.TypeEnum, MessageInboundEventMessage.DirectionEnum, MessageQueue, MetadataUpdateStrategy, MusicOnHold, NotificationEvent.WebhooksEventRequestType, NumberEvent.EventTypeEnum, NumberEvent.FailureCodeEnum, NumberEvent.StatusEnum, NumberType, OffensiveAnalysis.EvaluationEnum, OptInEventNotification.StatusEnum, OptOutEventNotification.StatusEnum, OrderBy, PaymentStatus, PaymentTransactionStatus, ProcessingMode, ProcessingStrategy, PromptInputEvent.WebhooksEventRequestType, ProvisioningStatus, QueryNumberInformation.NumberTypeEnum, ReactionAction, ReasonCode, ReasonSubCode, RecordNotificationEventNotification.RecordStatusEnum, ResourceType, RetentionPolicyType, SearchPosition, Sentiment, SmsErrorCode, SMSRegion, StatusCallResult, StatusSource, SvamlActionConnectConference.NameEnum, SvamlActionConnectMxp.NameEnum, SvamlActionConnectPstn.IndicationsEnum, SvamlActionConnectPstn.NameEnum, SvamlActionConnectSip.NameEnum, SvamlActionConnectSip.TransportEnum, SvamlActionContinue.NameEnum, SvamlActionHangup.NameEnum, SvamlActionPark.NameEnum, SvamlActionRunMenu.NameEnum, SvamlInstructionAnswer.NameEnum, SvamlInstructionPlayFiles.NameEnum, SvamlInstructionSay.NameEnum, SvamlInstructionSendDtmf.NameEnum, SvamlInstructionSetCookie.NameEnum, SvamlInstructionStartRecording.NameEnum, SvamlInstructionStopRecording.NameEnum, TemplateChannel, 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, WebhooksEventRequestType, 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