# Path: pygls/lsp/types/basic_structures.py
# class MarkupContent(Model):
#     kind: MarkupKind
#     value: str
# 
# class MarkupKind(str, enum.Enum):
#     PlainText = 'plaintext'
#     Markdown = 'markdown'
# 
# class Model(BaseModel):
#     class Config:
#         alias_generator = snake_to_camel
#         allow_population_by_field_name = True
#         fields = {
#             'from_': 'from'
#         }
# 
# class Range(Model):
#     start: Position
#     end: Position
# 
#     def __eq__(self, other):
#         return (
#             isinstance(other, Range)
#             and self.start == other.start
#             and self.end == other.end)
# 
#     def __hash__(self):
#         return hash((self.start, self.end))
# 
#     def __iter__(self):
#         return iter((self.start, self.end))
# 
#     def __repr__(self):
#         return f'{self.start!r}-{self.end!r}'
# 
# class TextDocumentPositionParams(Model):
#     text_document: TextDocumentIdentifier
#     position: Position
# 
# class WorkDoneProgressOptions(Model):
#     work_done_progress: Optional[ProgressToken]
# 
# class WorkDoneProgressParams(Model):
#     work_done_token: Optional[ProgressToken]


from typing import List, Optional, Union
from pygls.lsp.types.basic_structures import (MarkupContent, MarkupKind, Model, Range,
                                              TextDocumentPositionParams, WorkDoneProgressOptions,
                                              WorkDoneProgressParams)

-- Language Features - Hover --

Class attributes are named with camel case notation because client is expecting
that.
"""



class HoverClientCapabilities(Model):
    dynamic_registration: Optional[bool]
    content_format: Optional[List[MarkupKind]]


class HoverOptions(WorkDoneProgressOptions):
    pass


class HoverParams(TextDocumentPositionParams, WorkDoneProgressParams):
    pass


class MarkedString(Model):
    language: str
    value: str


MarkedStringType = Union[str, MarkedString]



# Path: pygls/lsp/types/basic_structures.py
# class MarkupContent(Model):
#     kind: MarkupKind
#     value: str
# 
# class MarkupKind(str, enum.Enum):
#     PlainText = 'plaintext'
#     Markdown = 'markdown'
# 
# class Model(BaseModel):
#     class Config:
#         alias_generator = snake_to_camel
#         allow_population_by_field_name = True
#         fields = {
#             'from_': 'from'
#         }
# 
# class Range(Model):
#     start: Position
#     end: Position
# 
#     def __eq__(self, other):
#         return (
#             isinstance(other, Range)
#             and self.start == other.start
#             and self.end == other.end)
# 
#     def __hash__(self):
#         return hash((self.start, self.end))
# 
#     def __iter__(self):
#         return iter((self.start, self.end))
# 
#     def __repr__(self):
#         return f'{self.start!r}-{self.end!r}'
# 
# class TextDocumentPositionParams(Model):
#     text_document: TextDocumentIdentifier
#     position: Position
# 
# class WorkDoneProgressOptions(Model):
#     work_done_progress: Optional[ProgressToken]
# 
# class WorkDoneProgressParams(Model):
#     work_done_token: Optional[ProgressToken]


# Path: pygls/lsp/types/language_features/hover.py
from typing import List, Optional, Union
from pygls.lsp.types.basic_structures import (MarkupContent, MarkupKind, Model, Range,
                                              TextDocumentPositionParams, WorkDoneProgressOptions,
                                              WorkDoneProgressParams)


-- Language Features - Hover --

Class attributes are named with camel case notation because client is expecting
that.
"""



class HoverClientCapabilities(Model):
    dynamic_registration: Optional[bool]
    content_format: Optional[List[MarkupKind]]


class HoverOptions(WorkDoneProgressOptions):
    pass


class HoverParams(TextDocumentPositionParams, WorkDoneProgressParams):
    pass


class MarkedString(Model):
    language: str
    value: str


MarkedStringType = Union[str, MarkedString]



class Hover(Model):