Show / Hide Table of Contents

Class PullRequestAttachment

Pull Request attachment created by users.

Inheritance
object
PullRequestAttachment
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
public class PullRequestAttachment

Properties

CreatedBy

Declaration
[Required(ErrorMessage = "CreatedBy is required.")]
[JsonProperty(PropertyName = "createdBy")]
public PrincipalDetails CreatedBy { get; set; }
Property Value
Type Description
PrincipalDetails
Remarks

Required

FileName

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

name to display in description or comment

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

PullRequestId

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

OCID of the pull request that this attachment belongs to

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

Creation timestamp. Format defined by RFC3339.

Remarks

Required

In this article
Back to top