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

	so := sparse.(*SparseDataPathCertificate)
	if so.CSR != nil {
		o.CSR = *so.CSR
	}
	if so.Certificate != nil {
		o.Certificate = *so.Certificate
	}
	if so.ObjectID != nil {
		o.ObjectID = *so.ObjectID
	}
	if so.SessionID != nil {
		o.SessionID = *so.SessionID
	}
	if so.Signer != nil {
		o.Signer = *so.Signer
	}
	if so.Token != nil {
		o.Token = *so.Token
	}
	if so.Type != nil {
		o.Type = *so.Type
	}
}
// Patch apply the non nil value of a *SparseDataPathCertificate to the object.
Patch apply the non nil value of a *SparseDataPathCertificate to the object.
// Patch apply the non nil value of a * SparseDataPathCertificate to the object .
func (o *DataPathCertificate) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseDataPathCertificate)
	if so.CSR != nil {
		o.CSR = *so.CSR
	}
	if so.Certificate != nil {
		o.Certificate = *so.Certificate
	}
	if so.ObjectID != nil {
		o.ObjectID = *so.ObjectID
	}
	if so.SessionID != nil {
		o.SessionID = *so.SessionID
	}
	if so.Signer != nil {
		o.Signer = *so.Signer
	}
	if so.Token != nil {
		o.Token = *so.Token
	}
	if so.Type != nil {
		o.Type = *so.Type
	}
}
func ( o * DataPathCertificate ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseDataPathCertificate ) if so . CSR != nil { o . CSR = * so . CSR } if so . Certificate != nil { o . Certificate = * so . Certificate } if so . ObjectID != nil { o . ObjectID = * so . ObjectID } if so . SessionID != nil { o . SessionID = * so . SessionID } if so . Signer != nil { o . Signer = * so . Signer } if so . Token != nil { o . Token = * so . Token } if so . Type != nil { o . Type = * so . Type } }
Patch apply the non nil value of a *SparseDataPathCertificate to the object.
Patch apply the non nil value of a * SparseDataPathCertificate to the object .