# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# See https://github.com/eolymp/contracts/tree/main/cmd/protoc-gen-python-esdk for more details.
"""Generated protocol buffer code."""

from google.protobuf import symbol_database as _symbol_database

_sym_db = _symbol_database.Default()


class HelpdeskClient:
    def __init__(self, transport):
        self.transport = transport

    def DescribeDocument(self, request, **kwargs):
        return self.transport.request(
            url="eolymp.helpdesk.Helpdesk/DescribeDocument",
            request=request,
            response_obj=_sym_db.GetSymbol("eolymp.helpdesk.DescribeDocumentOutput"),
            **kwargs,
        )

    def ListDocuments(self, request, **kwargs):
        return self.transport.request(
            url="eolymp.helpdesk.Helpdesk/ListDocuments",
            request=request,
            response_obj=_sym_db.GetSymbol("eolymp.helpdesk.ListDocumentsOutput"),
            **kwargs,
        )

    def CreateDocument(self, request, **kwargs):
        return self.transport.request(
            url="eolymp.helpdesk.Helpdesk/CreateDocument",
            request=request,
            response_obj=_sym_db.GetSymbol("eolymp.helpdesk.CreateDocumentOutput"),
            **kwargs,
        )

    def UpdateDocument(self, request, **kwargs):
        return self.transport.request(
            url="eolymp.helpdesk.Helpdesk/UpdateDocument",
            request=request,
            response_obj=_sym_db.GetSymbol("eolymp.helpdesk.UpdateDocumentOutput"),
            **kwargs,
        )

    def DeleteDocument(self, request, **kwargs):
        return self.transport.request(
            url="eolymp.helpdesk.Helpdesk/DeleteDocument",
            request=request,
            response_obj=_sym_db.GetSymbol("eolymp.helpdesk.DeleteDocumentOutput"),
            **kwargs,
        )

    def DescribePath(self, request, **kwargs):
        return self.transport.request(
            url="eolymp.helpdesk.Helpdesk/DescribePath",
            request=request,
            response_obj=_sym_db.GetSymbol("eolymp.helpdesk.DescribePathOutput"),
            **kwargs,
        )

    def ListPaths(self, request, **kwargs):
        return self.transport.request(
            url="eolymp.helpdesk.Helpdesk/ListPaths",
            request=request,
            response_obj=_sym_db.GetSymbol("eolymp.helpdesk.ListPathsOutput"),
            **kwargs,
        )

    def ListParents(self, request, **kwargs):
        return self.transport.request(
            url="eolymp.helpdesk.Helpdesk/ListParents",
            request=request,
            response_obj=_sym_db.GetSymbol("eolymp.helpdesk.ListParentsOutput"),
            **kwargs,
        )

