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

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