// TODO: Move tcctl/model to here.
package model

type TcctlApiVersion string

const (
	TcctlApiVersionV1 = "api/v1"
)

type TcctlResourceKind string

const (
	TcctlResourceKindCase = "Case"
	TcctlResourceKindPlan = "Plan"
)

type TcctlHeader struct {
	ApiVersion TcctlApiVersion   `yaml:"apiVersion,omitempty"`
	Kind       TcctlResourceKind `yaml:"kind,omitempty"`
}

func NewTcctlHeaderV1(kind TcctlResourceKind) TcctlHeader {
	return TcctlHeader{
		ApiVersion: TcctlApiVersionV1,
		Kind:       kind,
	}
}
