Class MergeSettings
Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class MergeSettings
Properties
AllowedMergeStrategies
Declaration
[Required(ErrorMessage = "AllowedMergeStrategies is required.")]
[JsonProperty(PropertyName = "allowedMergeStrategies")]
public List<MergeStrategy> AllowedMergeStrategies { get; set; }
Property Value
Type | Description |
---|---|
List<MergeStrategy> | List of merge strategies which are allowed for a Project or Repository. |
Remarks
Required
DefaultMergeStrategy
Declaration
[Required(ErrorMessage = "DefaultMergeStrategy is required.")]
[JsonProperty(PropertyName = "defaultMergeStrategy")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MergeStrategy? DefaultMergeStrategy { get; set; }
Property Value
Type | Description |
---|---|
MergeStrategy? | Default type of merge strategy associated with the a Project or Repository. |
Remarks
Required