Sha256: 773e1121a6c726b2eeffe340d7e5e3093618d8e6f8fcc1b4cc67f7e77a4d2e8c

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

=begin
#Sunshine Conversations API

The version of the OpenAPI document: 12.8.0

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
=end

require 'date'

module SunshineConversationsClient
  class ClientType
    APPLE = "apple".freeze
    GBM = "gbm".freeze
    GOOGLERCS = "googlercs".freeze
    INSTAGRAM = "instagram".freeze
    KAKAO = "kakao".freeze
    LINE = "line".freeze
    MAILGUN = "mailgun".freeze
    MESSAGEBIRD = "messagebird".freeze
    MESSENGER = "messenger".freeze
    SLACKCONNECT = "slackconnect".freeze
    SDK = "sdk".freeze
    TELEGRAM = "telegram".freeze
    TWILIO = "twilio".freeze
    TWITTER = "twitter".freeze
    VIBER = "viber".freeze
    WECHAT = "wechat".freeze
    WHATSAPP = "whatsapp".freeze

    # Builds the enum from string
    # @param [String] The enum value in the form of the string
    # @return [String] The enum value
    def self.build_from_hash(value)
      new.build_from_hash(value)
    end

    # Builds the enum from string
    # @param [String] The enum value in the form of the string
    # @return [String] The enum value
    def build_from_hash(value)
      constantValues = ClientType.constants.select { |c| ClientType::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #ClientType" if constantValues.empty?
      value
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sunshine-conversations-client-13.0.0 lib/sunshine-conversations-client/models/client_type.rb
sunshine-conversations-client-12.8.0 lib/sunshine-conversations-client/models/client_type.rb