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

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