PullRequest
public struct PullRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The approval rules applied to the pull request.
Declaration
Swift
public let approvalRules: [ApprovalRule]?
-
The Amazon Resource Name (ARN) of the user who created the pull request.
Declaration
Swift
public let authorArn: String?
-
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
Declaration
Swift
public let clientRequestToken: String?
-
The date and time the pull request was originally created, in timestamp format.
Declaration
Swift
public let creationDate: TimeStamp?
-
The user-defined description of the pull request. This description can be used to clarify what should be reviewed and other details of the request.
Declaration
Swift
public let description: String?
-
The day and time of the last user or system activity on the pull request, in timestamp format.
Declaration
Swift
public let lastActivityDate: TimeStamp?
-
The system-generated ID of the pull request.
Declaration
Swift
public let pullRequestId: String?
-
The status of the pull request. Pull request status can only change from OPEN to CLOSED.
Declaration
Swift
public let pullRequestStatus: PullRequestStatusEnum?
-
The targets of the pull request, including the source branch and destination branch for the pull request.
Declaration
Swift
public let pullRequestTargets: [PullRequestTarget]?
-
The system-generated revision ID for the pull request.
Declaration
Swift
public let revisionId: String?
-
The user-defined title of the pull request. This title is displayed in the list of pull requests to other repository users.
Declaration
Swift
public let title: String?
-
init(approvalRules:authorArn:clientRequestToken:creationDate:description:lastActivityDate:pullRequestId:pullRequestStatus:pullRequestTargets:revisionId:title:)
Undocumented
Declaration
Swift
public init(approvalRules: [ApprovalRule]? = nil, authorArn: String? = nil, clientRequestToken: String? = nil, creationDate: TimeStamp? = nil, description: String? = nil, lastActivityDate: TimeStamp? = nil, pullRequestId: String? = nil, pullRequestStatus: PullRequestStatusEnum? = nil, pullRequestTargets: [PullRequestTarget]? = nil, revisionId: String? = nil, title: String? = nil)