docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TriggerConfigBody

    TriggerConfigBody

    Inheritance
    object
    TriggerConfigBody
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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 TriggerConfigBody class.

    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).

    TriggerActionType? 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
    TriggerActionType?

    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)