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

package v3

// Key identifies a foobar entry.
// It is referenced by a custom route, so its multi-line
// description exercises the route schema codegen path.
type CreateFoobarRequestKey struct {
	Name  string  `json:"name"`
	Match *string `json:"match,omitempty"`
}

// NewCreateFoobarRequestKey creates a new CreateFoobarRequestKey object.
func NewCreateFoobarRequestKey() *CreateFoobarRequestKey {
	return &CreateFoobarRequestKey{}
}

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

type CreateFoobarRequestBody struct {
	Keys []CreateFoobarRequestKey `json:"keys"`
}

// NewCreateFoobarRequestBody creates a new CreateFoobarRequestBody object.
func NewCreateFoobarRequestBody() *CreateFoobarRequestBody {
	return &CreateFoobarRequestBody{
		Keys: []CreateFoobarRequestKey{},
	}
}

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