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

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