Class ApproveDeploymentDetails
The stage information for submitting for approval.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class ApproveDeploymentDetails
Properties
Action
Declaration
[Required(ErrorMessage = "Action is required.")]
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(StringEnumConverter))]
public ApproveDeploymentDetails.ActionEnum? Action { get; set; }
Property Value
Type | Description |
---|---|
ApproveDeploymentDetails.ActionEnum? | The action of Approve or Reject. |
Remarks
Required
DeployStageId
Declaration
[Required(ErrorMessage = "DeployStageId is required.")]
[JsonProperty(PropertyName = "deployStageId")]
public string DeployStageId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the stage which is marked for approval. |
Remarks
Required
Reason
Declaration
[JsonProperty(PropertyName = "reason")]
public string Reason { get; set; }
Property Value
Type | Description |
---|---|
string | The reason for approving or rejecting the deployment. |