com.pulumi.gitlab.kotlin.outputs.GetProjectHooksHook.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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gitlab.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property confidentialIssuesEvents Invoke the hook for confidential issues events.
* @property confidentialNoteEvents Invoke the hook for confidential notes events.
* @property customWebhookTemplate Set a custom webhook template.
* @property deploymentEvents Invoke the hook for deployment events.
* @property enableSslVerification Enable ssl verification when invoking the hook.
* @property hookId The id of the project hook.
* @property issuesEvents Invoke the hook for issues events.
* @property jobEvents Invoke the hook for job events.
* @property mergeRequestsEvents Invoke the hook for merge requests.
* @property noteEvents Invoke the hook for notes events.
* @property pipelineEvents Invoke the hook for pipeline events.
* @property project The name or id of the project to add the hook to.
* @property projectId The id of the project for the hook.
* @property pushEvents Invoke the hook for push events.
* @property pushEventsBranchFilter Invoke the hook for push events on matching branches only.
* @property releasesEvents Invoke the hook for releases events.
* @property tagPushEvents Invoke the hook for tag push events.
* @property token A token to present when invoking the hook. The token is not available for imported resources.
* @property url The url of the hook to invoke.
* @property wikiPageEvents Invoke the hook for wiki page events.
*/
public data class GetProjectHooksHook(
public val confidentialIssuesEvents: Boolean,
public val confidentialNoteEvents: Boolean,
public val customWebhookTemplate: String,
public val deploymentEvents: Boolean,
public val enableSslVerification: Boolean,
public val hookId: Int,
public val issuesEvents: Boolean,
public val jobEvents: Boolean,
public val mergeRequestsEvents: Boolean,
public val noteEvents: Boolean,
public val pipelineEvents: Boolean,
public val project: String,
public val projectId: Int,
public val pushEvents: Boolean,
public val pushEventsBranchFilter: String,
public val releasesEvents: Boolean,
public val tagPushEvents: Boolean,
public val token: String,
public val url: String,
public val wikiPageEvents: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gitlab.outputs.GetProjectHooksHook): GetProjectHooksHook = GetProjectHooksHook(
confidentialIssuesEvents = javaType.confidentialIssuesEvents(),
confidentialNoteEvents = javaType.confidentialNoteEvents(),
customWebhookTemplate = javaType.customWebhookTemplate(),
deploymentEvents = javaType.deploymentEvents(),
enableSslVerification = javaType.enableSslVerification(),
hookId = javaType.hookId(),
issuesEvents = javaType.issuesEvents(),
jobEvents = javaType.jobEvents(),
mergeRequestsEvents = javaType.mergeRequestsEvents(),
noteEvents = javaType.noteEvents(),
pipelineEvents = javaType.pipelineEvents(),
project = javaType.project(),
projectId = javaType.projectId(),
pushEvents = javaType.pushEvents(),
pushEventsBranchFilter = javaType.pushEventsBranchFilter(),
releasesEvents = javaType.releasesEvents(),
tagPushEvents = javaType.tagPushEvents(),
token = javaType.token(),
url = javaType.url(),
wikiPageEvents = javaType.wikiPageEvents(),
)
}
}