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

package v1

// AddPageApplyConfiguration represents an declarative configuration of the AddPage type for use
// with apply.
type AddPageApplyConfiguration struct {
	DisabledActions []string `json:"disabledActions,omitempty"`
}

// AddPageApplyConfiguration constructs an declarative configuration of the AddPage type for use with
// apply.
func AddPage() *AddPageApplyConfiguration {
	return &AddPageApplyConfiguration{}
}

// WithDisabledActions adds the given value to the DisabledActions 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 DisabledActions field.
func (b *AddPageApplyConfiguration) WithDisabledActions(values ...string) *AddPageApplyConfiguration {
	for i := range values {
		b.DisabledActions = append(b.DisabledActions, values[i])
	}
	return b
}
