Class: LSP::PuppetFixDiagnosticErrorsRequest

Inherits:
LSPBase
  • Object
show all
Defined in:
lib/lsp/lsp_custom.rb

Overview

export interface PuppetFixDiagnosticErrorsRequestParams

documentUri: string;
alwaysReturnContent: boolean;

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LSPBase

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from LSP::LSPBase

Instance Attribute Details

#alwaysReturnContentObject

type: string # type: boolean



138
139
140
# File 'lib/lsp/lsp_custom.rb', line 138

def alwaysReturnContent
  @alwaysReturnContent
end

#documentUriObject

type: string # type: boolean



138
139
140
# File 'lib/lsp/lsp_custom.rb', line 138

def documentUri
  @documentUri
end

Instance Method Details

#from_h!(value) ⇒ Object



140
141
142
143
144
145
# File 'lib/lsp/lsp_custom.rb', line 140

def from_h!(value)
  value = {} if value.nil?
  self.documentUri = value['documentUri']
  self.alwaysReturnContent = value['alwaysReturnContent']
  self
end