Class: OBS::WebSocket::Protocol::Responses::GetTransitionList

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

#current_transitionString (readonly)

Returns current-transition field.

Returns:

  • (String)

    current-transition field



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

def current_transition; get_field("current-transition", Types::String); end

#transitionsArray<Hash> (readonly)

Returns transitions field.

Returns:

  • (Array<Hash>)

    transitions field



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

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