Show / Hide Table of Contents

Class PullRequest

Metadata of a PullRequest. PullRequest is the request from a user to merge a branch (head) into another branch (base).

Inheritance
object
PullRequest
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SecureSourceManager.v1.Data
Assembly: Google.Apis.SecureSourceManager.v1.dll
Syntax
public class PullRequest : IDirectResponseSchema

Properties

Base__

Required. The branch to merge changes in.

Declaration
[JsonProperty("base")]
public virtual Branch Base__ { get; set; }
Property Value
Type Description
Branch

Body

Optional. The pull request body. Provides a detailed description of the changes.

Declaration
[JsonProperty("body")]
public virtual string Body { get; set; }
Property Value
Type Description
string

CloseTime

object representation of CloseTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CloseTimeDateTimeOffset instead.")]
public virtual object CloseTime { get; set; }
Property Value
Type Description
object

CloseTimeDateTimeOffset

DateTimeOffset representation of CloseTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CloseTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CloseTimeRaw

Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.

Declaration
[JsonProperty("closeTime")]
public virtual string CloseTimeRaw { get; set; }
Property Value
Type Description
string

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. Creation timestamp.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Head

Immutable. The branch containing the changes to be merged.

Declaration
[JsonProperty("head")]
public virtual Branch Head { get; set; }
Property Value
Type Description
Branch

Name

Output only. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

State

Output only. State of the pull request (open, closed or merged).

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

Title

Required. The pull request title.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
string

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. Last updated timestamp.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX