# 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 TextDocumentPositionParams(Model):
#     text_document: TextDocumentIdentifier
#     position: Position
# 
# class WorkDoneProgressOptions(Model):
#     work_done_progress: Optional[ProgressToken]
# 
# class WorkDoneProgressParams(Model):
#     work_done_token: Optional[ProgressToken]


import enum
from typing import Optional
from pygls.lsp.types.basic_structures import (Model, TextDocumentPositionParams,
                                              WorkDoneProgressOptions, WorkDoneProgressParams)
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
# See the License for the specific language governing permissions and      #
# limitations under the License.                                           #
############################################################################
"""This module contains Language Server Protocol types
https://microsoft.github.io/language-server-protocol/specification

-- Language Features - Rename --

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



class PrepareSupportDefaultBehavior(enum.IntEnum):
    Identifier = 1


class RenameClientCapabilities(Model):
    dynamic_registration: Optional[bool]
    prepare_support: Optional[bool]
    prepare_support_default_behavior: Optional[PrepareSupportDefaultBehavior]
    honors_change_annotations: Optional[bool]


class RenameOptions(WorkDoneProgressOptions):
    prepare_provider: Optional[bool]



# 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 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/rename.py
import enum
from typing import Optional
from pygls.lsp.types.basic_structures import (Model, TextDocumentPositionParams,
                                              WorkDoneProgressOptions, WorkDoneProgressParams)

# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
# See the License for the specific language governing permissions and      #
# limitations under the License.                                           #
############################################################################
"""This module contains Language Server Protocol types
https://microsoft.github.io/language-server-protocol/specification

-- Language Features - Rename --

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



class PrepareSupportDefaultBehavior(enum.IntEnum):
    Identifier = 1


class RenameClientCapabilities(Model):
    dynamic_registration: Optional[bool]
    prepare_support: Optional[bool]
    prepare_support_default_behavior: Optional[PrepareSupportDefaultBehavior]
    honors_change_annotations: Optional[bool]


class RenameOptions(WorkDoneProgressOptions):
    prepare_provider: Optional[bool]



class RenameParams(TextDocumentPositionParams, WorkDoneProgressParams):