@classmethod
def _from_dict(cls, _dict):
    """Initialize a ContentItem object from a json dictionary."""
    args = {}
    if 'content' in _dict:
        args['content'] = _dict.get('content')
    else:
        raise ValueError(
            "Required property 'content' not present in ContentItem JSON")
    if 'id' in _dict:
        args['id'] = _dict.get('id')
    if 'created' in _dict:
        args['created'] = _dict.get('created')
    if 'updated' in _dict:
        args['updated'] = _dict.get('updated')
    if 'contenttype' in _dict:
        args['contenttype'] = _dict.get('contenttype')
    if 'language' in _dict:
        args['language'] = _dict.get('language')
    if 'parentid' in _dict:
        args['parentid'] = _dict.get('parentid')
    if 'reply' in _dict:
        args['reply'] = _dict.get('reply')
    if 'forward' in _dict:
        args['forward'] = _dict.get('forward')
    return cls(**args)
