Sha256: 3635be8179817ab937b191e32f62227659d358bbdf7380853baecaaa090c1578

Contents?: true

Size: 1.1 KB

Versions: 20

Compression:

Stored size: 1.1 KB

Contents

=begin
#Mux API

#Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.

The version of the OpenAPI document: v1
Contact: devex@mux.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.0.1

=end

require 'date'
require 'time'

module MuxRuby
  class LiveStreamStatus
    ACTIVE = "active".freeze
    IDLE = "idle".freeze
    DISABLED = "disabled".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 = LiveStreamStatus.constants.select { |c| LiveStreamStatus::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #LiveStreamStatus" if constantValues.empty?
      value
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
mux_ruby-3.20.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.19.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.18.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.17.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.15.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.14.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.13.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.12.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.11.1 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.11.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.9.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.8.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.7.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.6.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.5.2 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.5.1 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.5.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.4.0 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.3.1 lib/mux_ruby/models/live_stream_status.rb
mux_ruby-3.3.0 lib/mux_ruby/models/live_stream_status.rb