@classmethod
def userFromResponse(cls, userData: dict):
    """
        create a user object from an OG operation response
        :param userData: the user data received from the OG operation
        :type userData: dict
        :return: The created user object
        :rtype: User
        """
    user = cls()
    user.businessPhones = userData.get('businessPhones')
    user.displayName = userData.get('displayName')
    user.givenName = userData.get('givenName')
    user.jobTitle = userData.get('jobTitle')
    user.mail = userData.get('mail')
    user.mobilePhone = userData.get('mobilePhone')
    user.officeLocation = userData.get('officeLocation')
    user.preferredLanguage = userData.get('preferredLanguage')
    user.surname = userData.get('surname')
    user.userPrincipalName = userData.get('userPrincipalName')
    user.uid = userData.get('id')
    return user
