---
title: "PublishRuleModel"
description: "PublishRuleModel"
url: "https://www.contentstack.com/docs/developers/sdks/content-management-sdk/dot-net/reference/publishrulemodel"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-21"
---

# PublishRuleModel

## PublishRuleModel

Set rules for publishing entry/asset.

Set list action for publishing rules.

Approval details for publish rule

List of branches for the publish rule to be applied.

List of content types the publish rule to be applied.

Set true to disable approvals.

Set environment for the publish rule

Set locale for the publish rules.

Set workflow stage uid for the publish rules.

Set workflow uid for the publish rules.

## PublishRuleModel | .NET Management SDK | Contentstack

PublishRuleModel defines the structure used to set rules for publishing an entry or asset.