// Code generated by applyconfiguration-gen. DO NOT EDIT.

package v1

// OperandVersionApplyConfiguration represents a declarative configuration of the OperandVersion type for use
// with apply.
type OperandVersionApplyConfiguration struct {
	Name    *string `json:"name,omitempty"`
	Version *string `json:"version,omitempty"`
}

// OperandVersionApplyConfiguration constructs a declarative configuration of the OperandVersion type for use with
// apply.
func OperandVersion() *OperandVersionApplyConfiguration {
	return &OperandVersionApplyConfiguration{}
}

// WithName sets the Name field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Name field is set to the value of the last call.
func (b *OperandVersionApplyConfiguration) WithName(value string) *OperandVersionApplyConfiguration {
	b.Name = &value
	return b
}

// WithVersion sets the Version field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Version field is set to the value of the last call.
func (b *OperandVersionApplyConfiguration) WithVersion(value string) *OperandVersionApplyConfiguration {
	b.Version = &value
	return b
}
