@classmethod
def from_json(cls, _json, project, client_api, bots=None):
    """
        Build a Bot entity object from a json

        :param client_api:
        :param _json: _json response from host
        :param project: project entity
        :param bots: Bots repository
        :return: User object
        """
    return cls(createdAt=_json.get('createdAt', None), name=_json.get(
        'firstName', None), updatedAt=_json.get('updatedAt', None),
        last_name=_json.get('lastName', None), username=_json.get(
        'username', None), avatar=_json.get('avatar', None), email=_json.
        get('email', None), type=_json.get('type', None), org=_json.get(
        'org', None), id=_json.get('id', None), project=project, client_api
        =client_api, bots=bots)
