Detect the language of a text
        Args:
            body, str: Your input text (UTF-8) (required)
            Returns: LanguageRest

def getLanguage(self, body, ):
        """Detect the language of a text
        Args:
            body, str: Your input text (UTF-8) (required)
            Returns: LanguageRest
        """

        resourcePath = '/text/detect_language'
        method = 'POST'

        queryParams = {}
        headerParams = {'Accept': 'Application/json', 'Content-Type': 'application/json'}
        postData = None

        postData = body
        response = self.apiClient._callAPI(resourcePath, method, queryParams, postData, headerParams)
        return language_rest.LanguageRest(**response.json())