All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gitlab.kotlin.inputs.GetProjectMergeRequestPlainArgs.kt Maven / Gradle / Ivy

Go to download

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.inputs

import com.pulumi.gitlab.inputs.GetProjectMergeRequestPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getProjectMergeRequest.
 * @property iid The unique project level ID of the merge request.
 * @property project The ID or path of the project.
 */
public data class GetProjectMergeRequestPlainArgs(
    public val iid: Double,
    public val project: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gitlab.inputs.GetProjectMergeRequestPlainArgs =
        com.pulumi.gitlab.inputs.GetProjectMergeRequestPlainArgs.builder()
            .iid(iid.let({ args0 -> args0 }))
            .project(project.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetProjectMergeRequestPlainArgs].
 */
@PulumiTagMarker
public class GetProjectMergeRequestPlainArgsBuilder internal constructor() {
    private var iid: Double? = null

    private var project: String? = null

    /**
     * @param value The unique project level ID of the merge request.
     */
    @JvmName("tbtqucttscvgawsj")
    public suspend fun iid(`value`: Double) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.iid = mapped
    }

    /**
     * @param value The ID or path of the project.
     */
    @JvmName("prtxwunsejselxgh")
    public suspend fun project(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.project = mapped
    }

    internal fun build(): GetProjectMergeRequestPlainArgs = GetProjectMergeRequestPlainArgs(
        iid = iid ?: throw PulumiNullFieldException("iid"),
        project = project ?: throw PulumiNullFieldException("project"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy