func (o *MetricsQueryRange) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}

	so := sparse.(*SparseMetricsQueryRange)
	if so.End != nil {
		o.End = *so.End
	}
	if so.Query != nil {
		o.Query = *so.Query
	}
	if so.Start != nil {
		o.Start = *so.Start
	}
	if so.Step != nil {
		o.Step = *so.Step
	}
}
// Patch apply the non nil value of a *SparseMetricsQueryRange to the object.
Patch apply the non nil value of a *SparseMetricsQueryRange to the object.
// Patch apply the non nil value of a * SparseMetricsQueryRange to the object .
func (o *MetricsQueryRange) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseMetricsQueryRange)
	if so.End != nil {
		o.End = *so.End
	}
	if so.Query != nil {
		o.Query = *so.Query
	}
	if so.Start != nil {
		o.Start = *so.Start
	}
	if so.Step != nil {
		o.Step = *so.Step
	}
}
func ( o * MetricsQueryRange ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseMetricsQueryRange ) if so . End != nil { o . End = * so . End } if so . Query != nil { o . Query = * so . Query } if so . Start != nil { o . Start = * so . Start } if so . Step != nil { o . Step = * so . Step } }
Patch apply the non nil value of a *SparseMetricsQueryRange to the object.
Patch apply the non nil value of a * SparseMetricsQueryRange to the object .