class LanguageServer::Protocol::Interface::RelatedUnchangedDocumentDiagnosticReport
An unchanged diagnostic report with a set of related documents.
def initialize(kind:, result_id:, related_documents: nil)
def initialize(kind:, result_id:, related_documents: nil) @attributes = {} @attributes[:kind] = kind @attributes[:resultId] = result_id @attributes[:relatedDocuments] = related_documents if related_documents @attributes.freeze end
def kind
-
(any)
-
def kind attributes.fetch(:kind) end
def related_documents
-
({ [uri: string]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport; })
-
def related_documents attributes.fetch(:relatedDocuments) end
def result_id
-
(string)
-
def result_id attributes.fetch(:resultId) end
def to_hash
def to_hash attributes end
def to_json(*args)
def to_json(*args) to_hash.to_json(*args) end