class LanguageServer::Protocol::Interface::PreviousResultId
A previous result id in a workspace pull request.
Attributes
attributes[R]
Public Class Methods
new(uri:, value:)
click to toggle source
# File lib/language_server/protocol/interface/previous_result_id.rb, line 8 def initialize(uri:, value:) @attributes = {} @attributes[:uri] = uri @attributes[:value] = value @attributes.freeze end
Public Instance Methods
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/previous_result_id.rb, line 36 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/previous_result_id.rb, line 40 def to_json(*args) to_hash.to_json(*args) end
uri()
click to toggle source
The URI for which the client knows a result id.
@return [string]
# File lib/language_server/protocol/interface/previous_result_id.rb, line 22 def uri attributes.fetch(:uri) end
value()
click to toggle source
The value of the previous result id.
@return [string]
# File lib/language_server/protocol/interface/previous_result_id.rb, line 30 def value attributes.fetch(:value) end