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