# ProtectionRuleset
## Properties
**name** | **String** | Unique name for the protection rule |
**workspace_id** | Option<**String**> | | [optional]
**rules** | [**Vec<models::ProtectionRuleKind>**](ProtectionRuleKind.md) | Configuration of protection restrictions |
**bypass_groups** | **Vec<String>** | Groups that can bypass this ruleset |
**bypass_users** | **Vec<String>** | Users that can bypass this ruleset |
**fork_role_mapping** | Option<**std::collections::HashMap<String, String>**> | Role a member of this workspace gets in a fork of it, keyed by the role it holds here. Unmapped roles carry over unchanged; where two rulesets map the same role, the first by name wins. On update, omitting it leaves the stored mapping unchanged. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)