@classmethod
def _from_dict(cls, _dict):
    """Initialize a FaceAge object from a json dictionary."""
    args = {}
    if 'min' in _dict:
        args['min'] = _dict.get('min')
    if 'max' in _dict:
        args['max'] = _dict.get('max')
    if 'score' in _dict:
        args['score'] = _dict.get('score')
    else:
        raise ValueError(
            "Required property 'score' not present in FaceAge JSON")
    return cls(**args)
