# 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'
#         }


from typing import Any, List, Optional
from pygls.lsp.types.basic_structures import Model
#                                                                          #
#     http: // www.apache.org/licenses/LICENSE-2.0                         #
#                                                                          #
# Unless required by applicable law or agreed to in writing, software      #
# distributed under the License is distributed on an "AS IS" BASIS,        #
# 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

-- Client --

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



class Registration(Model):
    id: str
    method: str
    register_options: Optional[Any]


class RegistrationParams(Model):
    registrations: List[Registration]



# 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'
#         }


# Path: pygls/lsp/types/client.py
from typing import Any, List, Optional
from pygls.lsp.types.basic_structures import Model

#                                                                          #
#     http: // www.apache.org/licenses/LICENSE-2.0                         #
#                                                                          #
# Unless required by applicable law or agreed to in writing, software      #
# distributed under the License is distributed on an "AS IS" BASIS,        #
# 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

-- Client --

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



class Registration(Model):
    id: str
    method: str
    register_options: Optional[Any]


class RegistrationParams(Model):
    registrations: List[Registration]



class Unregistration(Model):