// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.

package serverlessapplicationrepository

// Values that must be specified in order to deploy some applications.
type Capability string

// Enum values for Capability
const (
	CapabilityCapabilityIam            Capability = "CAPABILITY_IAM"
	CapabilityCapabilityNamedIam       Capability = "CAPABILITY_NAMED_IAM"
	CapabilityCapabilityAutoExpand     Capability = "CAPABILITY_AUTO_EXPAND"
	CapabilityCapabilityResourcePolicy Capability = "CAPABILITY_RESOURCE_POLICY"
)

func (enum Capability) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum Capability) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}

type Status string

// Enum values for Status
const (
	StatusPreparing Status = "PREPARING"
	StatusActive    Status = "ACTIVE"
	StatusExpired   Status = "EXPIRED"
)

func (enum Status) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum Status) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}
