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

	so := sparse.(*SparseProcessingUnitRefresh)
	if so.ID != nil {
		o.ID = *so.ID
	}
	if so.Debug != nil {
		o.Debug = *so.Debug
	}
	if so.Namespace != nil {
		o.Namespace = *so.Namespace
	}
	if so.PingAddress != nil {
		o.PingAddress = *so.PingAddress
	}
	if so.PingEnabled != nil {
		o.PingEnabled = *so.PingEnabled
	}
	if so.PingIterations != nil {
		o.PingIterations = *so.PingIterations
	}
	if so.PingMode != nil {
		o.PingMode = *so.PingMode
	}
	if so.PingPort != nil {
		o.PingPort = *so.PingPort
	}
	if so.RefreshID != nil {
		o.RefreshID = *so.RefreshID
	}
	if so.RefreshPolicy != nil {
		o.RefreshPolicy = *so.RefreshPolicy
	}
	if so.TraceApplicationConnections != nil {
		o.TraceApplicationConnections = *so.TraceApplicationConnections
	}
	if so.TraceDuration != nil {
		o.TraceDuration = *so.TraceDuration
	}
	if so.TraceIPTables != nil {
		o.TraceIPTables = *so.TraceIPTables
	}
	if so.TraceNetworkConnections != nil {
		o.TraceNetworkConnections = *so.TraceNetworkConnections
	}
}
// Patch apply the non nil value of a *SparseProcessingUnitRefresh to the object.
Patch apply the non nil value of a *SparseProcessingUnitRefresh to the object.
// Patch apply the non nil value of a * SparseProcessingUnitRefresh to the object .
func (o *ProcessingUnitRefresh) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseProcessingUnitRefresh)
	if so.ID != nil {
		o.ID = *so.ID
	}
	if so.Debug != nil {
		o.Debug = *so.Debug
	}
	if so.Namespace != nil {
		o.Namespace = *so.Namespace
	}
	if so.PingAddress != nil {
		o.PingAddress = *so.PingAddress
	}
	if so.PingEnabled != nil {
		o.PingEnabled = *so.PingEnabled
	}
	if so.PingIterations != nil {
		o.PingIterations = *so.PingIterations
	}
	if so.PingMode != nil {
		o.PingMode = *so.PingMode
	}
	if so.PingPort != nil {
		o.PingPort = *so.PingPort
	}
	if so.RefreshID != nil {
		o.RefreshID = *so.RefreshID
	}
	if so.RefreshPolicy != nil {
		o.RefreshPolicy = *so.RefreshPolicy
	}
	if so.TraceApplicationConnections != nil {
		o.TraceApplicationConnections = *so.TraceApplicationConnections
	}
	if so.TraceDuration != nil {
		o.TraceDuration = *so.TraceDuration
	}
	if so.TraceIPTables != nil {
		o.TraceIPTables = *so.TraceIPTables
	}
	if so.TraceNetworkConnections != nil {
		o.TraceNetworkConnections = *so.TraceNetworkConnections
	}
}
func ( o * ProcessingUnitRefresh ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseProcessingUnitRefresh ) if so . ID != nil { o . ID = * so . ID } if so . Debug != nil { o . Debug = * so . Debug } if so . Namespace != nil { o . Namespace = * so . Namespace } if so . PingAddress != nil { o . PingAddress = * so . PingAddress } if so . PingEnabled != nil { o . PingEnabled = * so . PingEnabled } if so . PingIterations != nil { o . PingIterations = * so . PingIterations } if so . PingMode != nil { o . PingMode = * so . PingMode } if so . PingPort != nil { o . PingPort = * so . PingPort } if so . RefreshID != nil { o . RefreshID = * so . RefreshID } if so . RefreshPolicy != nil { o . RefreshPolicy = * so . RefreshPolicy } if so . TraceApplicationConnections != nil { o . TraceApplicationConnections = * so . TraceApplicationConnections } if so . TraceDuration != nil { o . TraceDuration = * so . TraceDuration } if so . TraceIPTables != nil { o . TraceIPTables = * so . TraceIPTables } if so . TraceNetworkConnections != nil { o . TraceNetworkConnections = * so . TraceNetworkConnections } }
Patch apply the non nil value of a *SparseProcessingUnitRefresh to the object.
Patch apply the non nil value of a * SparseProcessingUnitRefresh to the object .