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

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