mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
// ==========================================================================
|
|
// ContentChangedTriggerSchemaDto.cs
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex Group
|
|
// All rights reserved.
|
|
// ==========================================================================
|
|
|
|
using System;
|
|
|
|
namespace Squidex.Controllers.Api.Rules.Models.Triggers
|
|
{
|
|
public sealed class ContentChangedTriggerSchemaDto
|
|
{
|
|
/// <summary>
|
|
/// The id of the schema.
|
|
/// </summary>
|
|
public Guid SchemaId { get; set; }
|
|
|
|
/// <summary>
|
|
/// True, when to send a message for created events.
|
|
/// </summary>
|
|
public bool SendCreate { get; set; }
|
|
|
|
/// <summary>
|
|
/// True, when to send a message for updated events.
|
|
/// </summary>
|
|
public bool SendUpdate { get; set; }
|
|
|
|
/// <summary>
|
|
/// True, when to send a message for deleted events.
|
|
/// </summary>
|
|
public bool SendDelete { get; set; }
|
|
|
|
/// <summary>
|
|
/// True, when to send a message for published events.
|
|
/// </summary>
|
|
public bool SendPublish { get; set; }
|
|
}
|
|
}
|
|
|