// Code generated - EDITING IS FUTILE. DO NOT EDIT.

package v1

// +k8s:openapi-gen=true
type TestKind2statusOperatorState struct {
	// lastEvaluation is the ResourceVersion last evaluated
	LastEvaluation string `json:"lastEvaluation"`
	// state describes the state of the lastEvaluation.
	// It is limited to three possible states for machine evaluation.
	State TestKind2StatusOperatorStateState `json:"state"`
	// descriptiveState is an optional more descriptive state field which has no requirements on format
	DescriptiveState *string `json:"descriptiveState,omitempty"`
	// details contains any extra information that is operator-specific
	Details map[string]interface{} `json:"details,omitempty"`
}

// NewTestKind2statusOperatorState creates a new TestKind2statusOperatorState object.
func NewTestKind2statusOperatorState() *TestKind2statusOperatorState {
	return &TestKind2statusOperatorState{}
}

// OpenAPIModelName returns the OpenAPI model name for TestKind2statusOperatorState.
func (TestKind2statusOperatorState) OpenAPIModelName() string {
	return "codegen-tests.pkg.generated.testapp.v1.TestKind2statusOperatorState"
}

// +k8s:openapi-gen=true
type TestKind2Status struct {
	// operatorStates is a map of operator ID to operator state evaluations.
	// Any operator which consumes this kind SHOULD add its state evaluation information to this field.
	OperatorStates map[string]TestKind2statusOperatorState `json:"operatorStates,omitempty"`
	// additionalFields is reserved for future use
	AdditionalFields map[string]interface{} `json:"additionalFields,omitempty"`
}

// NewTestKind2Status creates a new TestKind2Status object.
func NewTestKind2Status() *TestKind2Status {
	return &TestKind2Status{}
}

// OpenAPIModelName returns the OpenAPI model name for TestKind2Status.
func (TestKind2Status) OpenAPIModelName() string {
	return "codegen-tests.pkg.generated.testapp.v1.TestKind2Status"
}

// +k8s:openapi-gen=true
type TestKind2StatusOperatorStateState string

const (
	TestKind2StatusOperatorStateStateSuccess    TestKind2StatusOperatorStateState = "success"
	TestKind2StatusOperatorStateStateInProgress TestKind2StatusOperatorStateState = "in_progress"
	TestKind2StatusOperatorStateStateFailed     TestKind2StatusOperatorStateState = "failed"
)

// OpenAPIModelName returns the OpenAPI model name for TestKind2StatusOperatorStateState.
func (TestKind2StatusOperatorStateState) OpenAPIModelName() string {
	return "codegen-tests.pkg.generated.testapp.v1.TestKind2StatusOperatorStateState"
}
