class LanguageServer::Protocol::Interface::DiagnosticClientCapabilities


Client capabilities specific to diagnostic pull requests.

def dynamic_registration

Returns:
  • (boolean) -
def dynamic_registration
  attributes.fetch(:dynamicRegistration)
end

def initialize(dynamic_registration: nil, related_document_support: nil)

def initialize(dynamic_registration: nil, related_document_support: nil)
  @attributes = {}
  @attributes[:dynamicRegistration] = dynamic_registration if dynamic_registration
  @attributes[:relatedDocumentSupport] = related_document_support if related_document_support
  @attributes.freeze
end

def related_document_support

Returns:
  • (boolean) -
def related_document_support
  attributes.fetch(:relatedDocumentSupport)
end

def to_hash

def to_hash
  attributes
end

def to_json(*args)

def to_json(*args)
  to_hash.to_json(*args)
end