Class TriggerConfigBody
TriggerConfigBody
Inherited Members
Namespace: Unity.Services.Apis.Admin.Triggers
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "TriggerConfigBody")]
[Preserve]
public class TriggerConfigBody
Constructors
TriggerConfigBody(string, string, TriggerActionType?, string)
Initializes a new instance of the Trigger
Declaration
[Preserve]
public TriggerConfigBody(string name = null, string eventType = null, TriggerActionType? actionType = null, string actionUrn = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Display name for the trigger configuration (required). |
string | eventType | Type of the event that should trigger the configured action (required). |
Trigger |
actionType | actionType. |
string | actionUrn | A URN description the action that should be taken on event occurrences (required). |
Properties
ActionType
Gets or Sets ActionType
Declaration
[DataMember(Name = "actionType", EmitDefaultValue = false)]
[Preserve]
public TriggerActionType? ActionType { get; set; }
Property Value
Type | Description |
---|---|
Trigger |
ActionUrn
A URN description the action that should be taken on event occurrences
Declaration
[DataMember(Name = "actionUrn", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string ActionUrn { get; set; }
Property Value
Type | Description |
---|---|
string | A URN description the action that should be taken on event occurrences |
EventType
Type of the event that should trigger the configured action
Declaration
[DataMember(Name = "eventType", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string EventType { get; set; }
Property Value
Type | Description |
---|---|
string | Type of the event that should trigger the configured action |
Name
Display name for the trigger configuration
Declaration
[DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Display name for the trigger configuration |