Class PullRequestSummary
Summary of the Pull Request.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class PullRequestSummary
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment Identifier |
Remarks
Required
CreatedBy
Declaration
[Required(ErrorMessage = "CreatedBy is required.")]
[JsonProperty(PropertyName = "createdBy")]
public PrincipalDetails CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
PrincipalDetails |
Remarks
Required
DefinedTags
Declaration
[Required(ErrorMessage = "DefinedTags is required.")]
[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"}} |
Remarks
Required
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Details of the pull request. Avoid entering confidential information. |
DestinationBranch
Declaration
[Required(ErrorMessage = "DestinationBranch is required.")]
[JsonProperty(PropertyName = "destinationBranch")]
public string DestinationBranch { get; set; }
Property Value
Type | Description |
---|---|
string | The destination branch against which the changes are to be reviewed. |
Remarks
Required
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Pull Request title, can be renamed |
Remarks
Required
FreeformTags
Declaration
[Required(ErrorMessage = "FreeformTags is required.")]
[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"} |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier that is immutable on creation |
Remarks
Required
LifecycleDetails
Declaration
[Required(ErrorMessage = "LifecycleDetails is required.")]
[JsonProperty(PropertyName = "lifecycleDetails")]
[JsonConverter(typeof(StringEnumConverter))]
public PullRequest.LifecycleDetailsEnum? LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
PullRequest.LifecycleDetailsEnum? | The status of the Pull Request. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public PullRequest.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
PullRequest.LifecycleStateEnum? | The current state of the Pull Request. |
Remarks
Required
MergeBaseCommitIdAtTermination
Declaration
[JsonProperty(PropertyName = "mergeBaseCommitIdAtTermination")]
public string MergeBaseCommitIdAtTermination { get; set; }
Property Value
Type | Description |
---|---|
string | The merge base commit ID when the Pull Request status was last changed to merged or closed |
RepositoryId
Declaration
[Required(ErrorMessage = "RepositoryId is required.")]
[JsonProperty(PropertyName = "repositoryId")]
public string RepositoryId { get; set; }
Property Value
Type | Description |
---|---|
string | DevOps Repository Identifier |
Remarks
Required
SourceBranch
Declaration
[Required(ErrorMessage = "SourceBranch is required.")]
[JsonProperty(PropertyName = "sourceBranch")]
public string SourceBranch { get; set; }
Property Value
Type | Description |
---|---|
string | The review branch which contains the changes to be reviewed. |
Remarks
Required
SourceCommitIdAtTermination
Declaration
[JsonProperty(PropertyName = "sourceCommitIdAtTermination")]
public string SourceCommitIdAtTermination { get; set; }
Property Value
Type | Description |
---|---|
string | The source branch commit ID when the Pull Request status was last changed to merged or closed |
SourceRepositoryId
Declaration
[JsonProperty(PropertyName = "sourceRepositoryId")]
public string SourceRepositoryId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the forked repository that will act as the source of the changes to be included in the pull request against the parent repository. |
SystemTags
Declaration
[Required(ErrorMessage = "SystemTags is required.")]
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the the Pull Request was created. An RFC3339 formatted datetime string |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the Pull Request was updated. An RFC3339 formatted datetime string |
TotalComments
Declaration
[Required(ErrorMessage = "TotalComments is required.")]
[JsonProperty(PropertyName = "totalComments")]
public int? TotalComments { get; set; }
Property Value
Type | Description |
---|---|
int? | The total number of comments on the pull request. |
Remarks
Required
TotalReviewers
Declaration
[Required(ErrorMessage = "TotalReviewers is required.")]
[JsonProperty(PropertyName = "totalReviewers")]
public int? TotalReviewers { get; set; }
Property Value
Type | Description |
---|---|
int? | The total number of reviewers on the pull request. |
Remarks
Required