# Path: pygls/lsp/types/basic_structures.py
# class Model(BaseModel):
#     class Config:
#         alias_generator = snake_to_camel
#         allow_population_by_field_name = True
#         fields = {
#             'from_': 'from'
#         }
# 
# class PartialResultParams(Model):
#     partial_result_token: Optional[ProgressToken]
# 
# 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 StaticRegistrationOptions(Model):
#     id: Optional[str]
# 
# class TextDocumentPositionParams(Model):
#     text_document: TextDocumentIdentifier
#     position: Position
# 
# class TextDocumentRegistrationOptions(Model):
#     document_selector: Optional[DocumentSelector]
# 
# class WorkDoneProgressOptions(Model):
#     work_done_progress: Optional[ProgressToken]
# 
# class WorkDoneProgressParams(Model):
#     work_done_token: Optional[ProgressToken]
# 
# Path: pygls/lsp/types/language_features/document_symbol.py
# class SymbolKind(enum.IntEnum):
#     File = 1
#     Module = 2
#     Namespace = 3
#     Package = 4
#     Class = 5
#     Method = 6
#     Property = 7
#     Field = 8
#     Constructor = 9
#     Enum = 10
#     Interface = 11
#     Function = 12
#     Variable = 13
#     Constant = 14
#     String = 15
#     Number = 16
#     Boolean = 17
#     Array = 18
#     Object = 19
#     Key = 20
#     Null = 21
#     EnumMember = 22
#     Struct = 23
#     Event = 24
#     Operator = 25
#     TypeParameter = 26
# 
# class SymbolTag(enum.IntEnum):
#     Deprecated = 1


from typing import Any, List, Optional
from pygls.lsp.types.basic_structures import (Model, PartialResultParams, Range,
                                              StaticRegistrationOptions,
                                              TextDocumentPositionParams,
                                              TextDocumentRegistrationOptions,
                                              WorkDoneProgressOptions, WorkDoneProgressParams)
from pygls.lsp.types.language_features.document_symbol import SymbolKind, SymbolTag

class CallHierarchyClientCapabilities(Model):
    dynamic_registration: Optional[bool]


class CallHierarchyOptions(WorkDoneProgressOptions):

    def __eq__(self, other: Any) -> bool:
        return self.__dict__ == other.__dict__


class CallHierarchyRegistrationOptions(TextDocumentRegistrationOptions, CallHierarchyOptions, StaticRegistrationOptions):
    pass


class CallHierarchyPrepareParams(TextDocumentPositionParams, WorkDoneProgressParams):
    pass


class CallHierarchyItem(Model):
    name: str
    kind: SymbolKind
    uri: str
    range: Range
    selection_range: Range
    tags: Optional[List[SymbolTag]]
    detail: Optional[str]
    data: Optional[Any]



# Path: pygls/lsp/types/basic_structures.py
# class Model(BaseModel):
#     class Config:
#         alias_generator = snake_to_camel
#         allow_population_by_field_name = True
#         fields = {
#             'from_': 'from'
#         }
# 
# class PartialResultParams(Model):
#     partial_result_token: Optional[ProgressToken]
# 
# 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 StaticRegistrationOptions(Model):
#     id: Optional[str]
# 
# class TextDocumentPositionParams(Model):
#     text_document: TextDocumentIdentifier
#     position: Position
# 
# class TextDocumentRegistrationOptions(Model):
#     document_selector: Optional[DocumentSelector]
# 
# class WorkDoneProgressOptions(Model):
#     work_done_progress: Optional[ProgressToken]
# 
# class WorkDoneProgressParams(Model):
#     work_done_token: Optional[ProgressToken]
# 
# Path: pygls/lsp/types/language_features/document_symbol.py
# class SymbolKind(enum.IntEnum):
#     File = 1
#     Module = 2
#     Namespace = 3
#     Package = 4
#     Class = 5
#     Method = 6
#     Property = 7
#     Field = 8
#     Constructor = 9
#     Enum = 10
#     Interface = 11
#     Function = 12
#     Variable = 13
#     Constant = 14
#     String = 15
#     Number = 16
#     Boolean = 17
#     Array = 18
#     Object = 19
#     Key = 20
#     Null = 21
#     EnumMember = 22
#     Struct = 23
#     Event = 24
#     Operator = 25
#     TypeParameter = 26
# 
# class SymbolTag(enum.IntEnum):
#     Deprecated = 1


# Path: pygls/lsp/types/language_features/call_hierarchy.py
from typing import Any, List, Optional
from pygls.lsp.types.basic_structures import (Model, PartialResultParams, Range,
                                              StaticRegistrationOptions,
                                              TextDocumentPositionParams,
                                              TextDocumentRegistrationOptions,
                                              WorkDoneProgressOptions, WorkDoneProgressParams)
from pygls.lsp.types.language_features.document_symbol import SymbolKind, SymbolTag


class CallHierarchyClientCapabilities(Model):
    dynamic_registration: Optional[bool]


class CallHierarchyOptions(WorkDoneProgressOptions):

    def __eq__(self, other: Any) -> bool:
        return self.__dict__ == other.__dict__


class CallHierarchyRegistrationOptions(TextDocumentRegistrationOptions, CallHierarchyOptions, StaticRegistrationOptions):
    pass


class CallHierarchyPrepareParams(TextDocumentPositionParams, WorkDoneProgressParams):
    pass


class CallHierarchyItem(Model):
    name: str
    kind: SymbolKind
    uri: str
    range: Range
    selection_range: Range
    tags: Optional[List[SymbolTag]]
    detail: Optional[str]
    data: Optional[Any]



class CallHierarchyIncomingCallsParams(WorkDoneProgressParams, PartialResultParams):