// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package org_tangled

// schema: org.tangled.ci.trigger.manual

import (
	"github.com/bluesky-social/indigo/lex/util"
)

const (
	CiTriggerManualNSID = "org.tangled.ci.trigger.manual"
)

func init() {
	util.RegisterType("org.tangled.ci.trigger.manual#main", &CiTriggerManual{})
} // CiTriggerManual is a "main" in the org.tangled.ci.trigger.manual schema.
// RECORDTYPE: CiTriggerManual
type CiTriggerManual struct {
	LexiconTypeID string `json:"$type,const=org.tangled.ci.trigger.manual" cborgen:"$type,const=org.tangled.ci.trigger.manual"`
	// commit: Commit id the pipeline will run on.
	Commit string                  `json:"commit" cborgen:"commit"`
	Inputs []*CiTriggerManual_Pair `json:"inputs,omitempty" cborgen:"inputs,omitempty"`
	// ref: Optional ref the commit was resolved from.
	Ref  *string `json:"ref,omitempty" cborgen:"ref,omitempty"`
	Repo string  `json:"repo" cborgen:"repo"`
	// workflows: Workflow names to run. When not provided, every dispatchable workflow is run.
	Workflows []string `json:"workflows,omitempty" cborgen:"workflows,omitempty"`
}

// CiTriggerManual_Pair is a "pair" in the org.tangled.ci.trigger.manual schema.
type CiTriggerManual_Pair struct {
	Key   string `json:"key" cborgen:"key"`
	Value string `json:"value" cborgen:"value"`
}
