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

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