Skip to main content

GetVersionListResponse Constructors

An object defining constructors for the GetVersionListResponse class.

GetVersionListResponse()

Initializes a new instance of the GetVersionListResponse class.


GetVersionListResponse(items, hasUnCompletedBranch)

Initializes a new instance of the GetVersionListResponse class with version list and branch status.

Parameters:

items (required): List<GetVersionResponse>
The list of version information responses.

hasUnCompletedBranch (required): bool
Indicates whether there are any uncompleted branches.

This constructor creates a new GetVersionListResponse instance with the provided version list and branch status information. It initializes both the collection of version responses and the flag indicating the presence of uncompleted branches.