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

package v1

import (
	operatorv1 "github.com/openshift/api/operator/v1"
)

// IrreconcilableValidationOverridesApplyConfiguration represents a declarative configuration of the IrreconcilableValidationOverrides type for use
// with apply.
type IrreconcilableValidationOverridesApplyConfiguration struct {
	Storage []operatorv1.IrreconcilableValidationOverridesStorage `json:"storage,omitempty"`
}

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

// WithStorage adds the given value to the Storage field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Storage field.
func (b *IrreconcilableValidationOverridesApplyConfiguration) WithStorage(values ...operatorv1.IrreconcilableValidationOverridesStorage) *IrreconcilableValidationOverridesApplyConfiguration {
	for i := range values {
		b.Storage = append(b.Storage, values[i])
	}
	return b
}
