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