// Code generated by applyconfiguration-gen. DO NOT EDIT. package v1 // InsightsReportApplyConfiguration represents an declarative configuration of the InsightsReport type for use // with apply. type InsightsReportApplyConfiguration struct { HealthChecks []HealthCheckApplyConfiguration `json:"healthChecks,omitempty"` } // InsightsReportApplyConfiguration constructs an declarative configuration of the InsightsReport type for use with // apply. func InsightsReport() *InsightsReportApplyConfiguration { return &InsightsReportApplyConfiguration{} } // WithHealthChecks adds the given value to the HealthChecks 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 HealthChecks field. func (b *InsightsReportApplyConfiguration) WithHealthChecks(values ...*HealthCheckApplyConfiguration) *InsightsReportApplyConfiguration { for i := range values { if values[i] == nil { panic("nil value passed to WithHealthChecks") } b.HealthChecks = append(b.HealthChecks, *values[i]) } return b }