Problems with setup "Bitbucket webhook trigger" from Job DSL (Bitbucket server integration plugin)

All my jobs are configured by Job DSL. I connect to bitbucket via Bitbucket Server Integration. Unfortunately, I cannot find how to set “Bitbucket webhook trigger” option from Job DSL:

Do you have any suggestions on how to do that?

Here you can find example DSL code:

multibranchPipelineJob("Repo name") {
        branchSources {
            branchSource {
                source {
                    BbS {
                        id("all-branches")
                        credentialsId("ci.user_password")
                        sshCredentialsId("ci.user")
                        serverId("XXXX")
                        projectName("YYYYYY")
                        repositoryName(repository)
                        mirrorName("")
                        traits {
                            gitBranchDiscovery()
                            headWildcardFilter {
                                includes('*')
                                excludes("")
                            }
                        }
                    }
                }
            }
        }

        triggers {
              //any trigger or something?
        }
}

I don’t know how to do it officially, but you can use configure() to manually submit anything you would via forms.

Be warned, I haven’t done bitbucket work in a while, so I don’t know if it works, but it does load.

Have you tried the job-dsl config viewer at https://your.jenkins.installation/plugin/job-dsl/api-viewer/index.html

That’s what I need!
Thanks to this I found the solution:

                triggers {
                  BitbucketWebhookMultibranchTrigger {
                      refTrigger(true)
                      pullRequestTrigger(false)
                  }
               }

@halkeys big thanks!