Class: OBS::WebSocket::Protocol::Responses::DuplicateSceneItem

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

#item ⇒ Hash (readonly)

Returns item field.

Returns:

  • (Hash) —

    item field



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

def item; get_field("item", Types::Object[{:id=>{:type=>Types::Integer, :json_name=>"id"}, :name=>{:type=>Types::String, :json_name=>"name"}}]); end

#scene ⇒ String (readonly)

Returns scene field.

Returns:

  • (String) —

    scene field



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

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