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

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