Show / Hide Table of Contents

Class CreateTriggerDetails

Information about the new trigger.

Inheritance
object
CreateTriggerDetails
CreateBitbucketCloudTriggerDetails
CreateBitbucketServerTriggerDetails
CreateDevopsCodeRepositoryTriggerDetails
CreateGithubTriggerDetails
CreateGitlabServerTriggerDetails
CreateGitlabTriggerDetails
CreateVbsTriggerDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
[JsonConverter(typeof(CreateTriggerDetailsModelConverter))]
public class CreateTriggerDetails

Properties

Actions

Declaration
[Required(ErrorMessage = "Actions is required.")]
[JsonProperty(PropertyName = "actions")]
public List<TriggerAction> Actions { get; set; }
Property Value
Type Description
List<TriggerAction>

The list of actions that are to be performed for this trigger.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace": {"bar-key": "value"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

Optional description about the trigger.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

Trigger display name. Avoid entering confidential information.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

ProjectId

Declaration
[Required(ErrorMessage = "ProjectId is required.")]
[JsonProperty(PropertyName = "projectId")]
public string ProjectId { get; set; }
Property Value
Type Description
string

The OCID of the DevOps project to which the trigger belongs to.

Remarks

Required

In this article
Back to top