Class: Copilot::RemoteEnableResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/copilot/types.rb

Overview

Experimental Result of enabling remote mode for a session.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#remote_steerableObject

Returns the value of attribute remote_steerable

Returns:

  • (Object)

    the current value of remote_steerable



826
827
828
# File 'lib/copilot/types.rb', line 826

def remote_steerable
  @remote_steerable
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



826
827
828
# File 'lib/copilot/types.rb', line 826

def url
  @url
end

Class Method Details

.from_hash(h) ⇒ Object



827
828
829
830
831
832
# File 'lib/copilot/types.rb', line 827

def self.from_hash(h)
  new(
    remote_steerable: h["remoteSteerable"],
    url: h["url"]
  )
end