Sha256: 6e717e4ddd55358aae2726578a50d27526737d80a6bac4c37c695983122822f3

Contents?: true

Size: 917 Bytes

Versions: 3

Compression:

Stored size: 917 Bytes

Contents

=begin
#Sunshine Conversations API

The version of the OpenAPI document: 9.4.5

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

require 'date'

module SunshineConversationsClient
  class ConversationType
    PERSONAL = "personal".freeze
    SDK_GROUP = "sdkGroup".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 = ConversationType.constants.select { |c| ConversationType::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #ConversationType" if constantValues.empty?
      value
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sunshine-conversations-client-9.5.6 lib/sunshine-conversations-client/models/conversation_type.rb
sunshine-conversations-client-9.4.6 lib/sunshine-conversations-client/models/conversation_type.rb
sunshine-conversations-client-9.4.5 lib/sunshine-conversations-client/models/conversation_type.rb