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