Sha256: e6a0476573d3d03f12ba2cfdc8b18af2212cd2ddbcbaa601e93b0295c3486f3d

Contents?: true

Size: 918 Bytes

Versions: 1

Compression:

Stored size: 918 Bytes

Contents

=begin
#Sunshine Conversations API

The version of the OpenAPI document: 12.5.1

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

1 entries across 1 versions & 1 rubygems

Version Path
sunshine-conversations-client-12.5.1 lib/sunshine-conversations-client/models/conversation_type.rb