Class TriggerConfig
TriggerConfig
Inherited Members
Namespace: Unity.Services.Apis.Admin.Triggers
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "TriggerConfig")]
[Preserve]
public class TriggerConfig
Constructors
TriggerConfig(string, DateTime, DateTime, string, string, string, string, TriggerActionType?, string)
Initializes a new instance of the Trigger
Declaration
[Preserve]
public TriggerConfig(string id = null, DateTime createdAt = default, DateTime updatedAt = default, string name = null, string projectId = null, string environmentId = null, string eventType = null, TriggerActionType? actionType = null, string actionUrn = null)
Parameters
Type | Name | Description |
---|---|---|
string | id | id. |
Date |
createdAt | createdAt. |
Date |
updatedAt | updatedAt. |
string | name | Display name for the trigger configuration. |
string | projectId | projectId. |
string | environmentId | environmentId. |
string | eventType | Type of the event that should trigger the configured action. |
Trigger |
actionType | actionType. |
string | actionUrn | A URN description the action that should be taken on event occurrences. |
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", EmitDefaultValue = false)]
[Preserve]
public string ActionUrn { get; set; }
Property Value
Type | Description |
---|---|
string | A URN description the action that should be taken on event occurrences |
CreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", EmitDefaultValue = false)]
[Preserve]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
Date |
EnvironmentId
Gets or Sets EnvironmentId
Declaration
[DataMember(Name = "environmentId", EmitDefaultValue = false)]
[Preserve]
public string EnvironmentId { get; set; }
Property Value
Type | Description |
---|---|
string |
EventType
Type of the event that should trigger the configured action
Declaration
[DataMember(Name = "eventType", EmitDefaultValue = false)]
[Preserve]
public string EventType { get; set; }
Property Value
Type | Description |
---|---|
string | Type of the event that should trigger the configured action |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
[Preserve]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Display name for the trigger configuration
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
[Preserve]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Display name for the trigger configuration |
ProjectId
Gets or Sets ProjectId
Declaration
[DataMember(Name = "projectId", EmitDefaultValue = false)]
[Preserve]
public string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
[DataMember(Name = "updatedAt", EmitDefaultValue = false)]
[Preserve]
public DateTime UpdatedAt { get; set; }
Property Value
Type | Description |
---|---|
Date |