Class: OBS::WebSocket::Protocol::Responses::GetStreamSettings

Inherits:
OBS::WebSocket::Protocol::Response show all
Defined in:
lib/obs/websocket/protocol.rb

Overview

Instance Attribute Summary collapse

Method Summary

Methods inherited from OBS::WebSocket::Protocol::Response

#initialize, #to_h

Constructor Details

This class inherits a constructor from OBS::WebSocket::Protocol::Response

Instance Attribute Details

#settingsHash (readonly)

Returns settings field.

Returns:

  • (Hash)

    settings field



4442
# File 'lib/obs/websocket/protocol.rb', line 4442

def settings; get_field("settings", Types::Object[{:server=>{:type=>Types::String, :json_name=>"server"}, :key=>{:type=>Types::String, :json_name=>"key"}, :use_auth=>{:type=>Types::Boolean, :json_name=>"use_auth"}, :username=>{:type=>Types::String, :json_name=>"username"}, :password=>{:type=>Types::String, :json_name=>"password"}}]); end

#typeString (readonly)

Returns type field.

Returns:

  • (String)

    type field



4439
# File 'lib/obs/websocket/protocol.rb', line 4439

def type; get_field("type", Types::String); end