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

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