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

	so := sparse.(*SparseExport)
	if so.APIVersion != nil {
		o.APIVersion = *so.APIVersion
	}
	if so.Data != nil {
		o.Data = *so.Data
	}
	if so.Identities != nil {
		o.Identities = *so.Identities
	}
	if so.Label != nil {
		o.Label = *so.Label
	}
}
// Patch apply the non nil value of a *SparseExport to the object.
Patch apply the non nil value of a *SparseExport to the object.
// Patch apply the non nil value of a * SparseExport to the object .
func (o *Export) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseExport)
	if so.APIVersion != nil {
		o.APIVersion = *so.APIVersion
	}
	if so.Data != nil {
		o.Data = *so.Data
	}
	if so.Identities != nil {
		o.Identities = *so.Identities
	}
	if so.Label != nil {
		o.Label = *so.Label
	}
}
func ( o * Export ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseExport ) if so . APIVersion != nil { o . APIVersion = * so . APIVersion } if so . Data != nil { o . Data = * so . Data } if so . Identities != nil { o . Identities = * so . Identities } if so . Label != nil { o . Label = * so . Label } }
Patch apply the non nil value of a *SparseExport to the object.
Patch apply the non nil value of a * SparseExport to the object .