@classmethod
def _from_dict(cls, _dict):
    """Initialize a SearchStatus object from a json dictionary."""
    args = {}
    if 'scope' in _dict:
        args['scope'] = _dict.get('scope')
    if 'status' in _dict:
        args['status'] = _dict.get('status')
    if 'status_description' in _dict:
        args['status_description'] = _dict.get('status_description')
    if 'last_trained' in _dict:
        args['last_trained'] = _dict.get('last_trained')
    return cls(**args)
