com.pulumi.gitlab.kotlin.outputs.GetProjectMergeRequestResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gitlab-kotlin Show documentation
Show all versions of pulumi-gitlab-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gitlab.kotlin.outputs
import kotlin.Boolean
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getProjectMergeRequest.
* @property assignee First assignee of the merge request.
* @property assignees Assignees of the merge request.
* @property author User who created this merge request.
* @property blockingDiscussionsResolved Indicates if all discussions are resolved only if all are
* required before merge request can be merged.
* @property changesCount Number of changes made on the merge request. Empty when the
* merge request is created, and populates asynchronously.
* @property closedAt Timestamp of when the merge request was closed.
* @property closedBy User who closed this merge request.
* @property createdAt Timestamp of when the merge request was created.
* @property id The unique instance level ID of the merge request.
* @property iid The unique project level ID of the merge request.
* @property project The ID or path of the project.
*/
public data class GetProjectMergeRequestResult(
public val assignee: GetProjectMergeRequestAssignee,
public val assignees: List,
public val author: GetProjectMergeRequestAuthor,
public val blockingDiscussionsResolved: Boolean,
public val changesCount: String,
public val closedAt: String,
public val closedBy: GetProjectMergeRequestClosedBy,
public val createdAt: String,
public val id: Double,
public val iid: Double,
public val project: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gitlab.outputs.GetProjectMergeRequestResult): GetProjectMergeRequestResult = GetProjectMergeRequestResult(
assignee = javaType.assignee().let({ args0 ->
com.pulumi.gitlab.kotlin.outputs.GetProjectMergeRequestAssignee.Companion.toKotlin(args0)
}),
assignees = javaType.assignees().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gitlab.kotlin.outputs.GetProjectMergeRequestAssignee.Companion.toKotlin(args0)
})
}),
author = javaType.author().let({ args0 ->
com.pulumi.gitlab.kotlin.outputs.GetProjectMergeRequestAuthor.Companion.toKotlin(args0)
}),
blockingDiscussionsResolved = javaType.blockingDiscussionsResolved(),
changesCount = javaType.changesCount(),
closedAt = javaType.closedAt(),
closedBy = javaType.closedBy().let({ args0 ->
com.pulumi.gitlab.kotlin.outputs.GetProjectMergeRequestClosedBy.Companion.toKotlin(args0)
}),
createdAt = javaType.createdAt(),
id = javaType.id(),
iid = javaType.iid(),
project = javaType.project(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy