@classmethod
def _from_dict(cls, _dict):
    """Initialize a TableHeaders object from a json dictionary."""
    args = {}
    if 'cell_id' in _dict:
        args['cell_id'] = _dict.get('cell_id')
    if 'location' in _dict:
        args['location'] = _dict.get('location')
    if 'text' in _dict:
        args['text'] = _dict.get('text')
    if 'row_index_begin' in _dict:
        args['row_index_begin'] = _dict.get('row_index_begin')
    if 'row_index_end' in _dict:
        args['row_index_end'] = _dict.get('row_index_end')
    if 'column_index_begin' in _dict:
        args['column_index_begin'] = _dict.get('column_index_begin')
    if 'column_index_end' in _dict:
        args['column_index_end'] = _dict.get('column_index_end')
    return cls(**args)
