func (o *SparseProcessingUnit) ToPlain() elemental.PlainIdentifiable {

	out := NewProcessingUnit()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.Annotations != nil {
		out.Annotations = *o.Annotations
	}
	if o.Archived != nil {
		out.Archived = *o.Archived
	}
	if o.AssociatedTags != nil {
		out.AssociatedTags = *o.AssociatedTags
	}
	if o.ClientLocalID != nil {
		out.ClientLocalID = *o.ClientLocalID
	}
	if o.CollectInfo != nil {
		out.CollectInfo = *o.CollectInfo
	}
	if o.CollectedInfo != nil {
		out.CollectedInfo = *o.CollectedInfo
	}
	if o.Controller != nil {
		out.Controller = *o.Controller
	}
	if o.CreateIdempotencyKey != nil {
		out.CreateIdempotencyKey = *o.CreateIdempotencyKey
	}
	if o.CreateTime != nil {
		out.CreateTime = *o.CreateTime
	}
	if o.DatapathType != nil {
		out.DatapathType = *o.DatapathType
	}
	if o.Description != nil {
		out.Description = *o.Description
	}
	if o.EnforcementStatus != nil {
		out.EnforcementStatus = *o.EnforcementStatus
	}
	if o.EnforcerID != nil {
		out.EnforcerID = *o.EnforcerID
	}
	if o.EnforcerNamespace != nil {
		out.EnforcerNamespace = *o.EnforcerNamespace
	}
	if o.Image != nil {
		out.Image = *o.Image
	}
	if o.Images != nil {
		out.Images = *o.Images
	}
	if o.LastCollectionTime != nil {
		out.LastCollectionTime = *o.LastCollectionTime
	}
	if o.LastLocalTimestamp != nil {
		out.LastLocalTimestamp = *o.LastLocalTimestamp
	}
	if o.LastSyncTime != nil {
		out.LastSyncTime = *o.LastSyncTime
	}
	if o.Metadata != nil {
		out.Metadata = *o.Metadata
	}
	if o.MigrationsLog != nil {
		out.MigrationsLog = *o.MigrationsLog
	}
	if o.Name != nil {
		out.Name = *o.Name
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.NativeContextID != nil {
		out.NativeContextID = *o.NativeContextID
	}
	if o.NetworkServices != nil {
		out.NetworkServices = *o.NetworkServices
	}
	if o.NormalizedTags != nil {
		out.NormalizedTags = *o.NormalizedTags
	}
	if o.OperationalStatus != nil {
		out.OperationalStatus = *o.OperationalStatus
	}
	if o.Protected != nil {
		out.Protected = *o.Protected
	}
	if o.Tracing != nil {
		out.Tracing = o.Tracing
	}
	if o.Type != nil {
		out.Type = *o.Type
	}
	if o.UpdateIdempotencyKey != nil {
		out.UpdateIdempotencyKey = *o.UpdateIdempotencyKey
	}
	if o.UpdateTime != nil {
		out.UpdateTime = *o.UpdateTime
	}
	if o.Vulnerabilities != nil {
		out.Vulnerabilities = *o.Vulnerabilities
	}
	if o.VulnerabilityLevel != nil {
		out.VulnerabilityLevel = *o.VulnerabilityLevel
	}
	if o.ZHash != nil {
		out.ZHash = *o.ZHash
	}
	if o.Zone != nil {
		out.Zone = *o.Zone
	}

	return out
}
// ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model.
// ToPlain returns the plain version of the sparse model .
func (o *SparseProcessingUnit) ToPlain() elemental.PlainIdentifiable {
	out := NewProcessingUnit()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.Annotations != nil {
		out.Annotations = *o.Annotations
	}
	if o.Archived != nil {
		out.Archived = *o.Archived
	}
	if o.AssociatedTags != nil {
		out.AssociatedTags = *o.AssociatedTags
	}
	if o.ClientLocalID != nil {
		out.ClientLocalID = *o.ClientLocalID
	}
	if o.CollectInfo != nil {
		out.CollectInfo = *o.CollectInfo
	}
	if o.CollectedInfo != nil {
		out.CollectedInfo = *o.CollectedInfo
	}
	if o.Controller != nil {
		out.Controller = *o.Controller
	}
	if o.CreateIdempotencyKey != nil {
		out.CreateIdempotencyKey = *o.CreateIdempotencyKey
	}
	if o.CreateTime != nil {
		out.CreateTime = *o.CreateTime
	}
	if o.DatapathType != nil {
		out.DatapathType = *o.DatapathType
	}
	if o.Description != nil {
		out.Description = *o.Description
	}
	if o.EnforcementStatus != nil {
		out.EnforcementStatus = *o.EnforcementStatus
	}
	if o.EnforcerID != nil {
		out.EnforcerID = *o.EnforcerID
	}
	if o.EnforcerNamespace != nil {
		out.EnforcerNamespace = *o.EnforcerNamespace
	}
	if o.Image != nil {
		out.Image = *o.Image
	}
	if o.Images != nil {
		out.Images = *o.Images
	}
	if o.LastCollectionTime != nil {
		out.LastCollectionTime = *o.LastCollectionTime
	}
	if o.LastLocalTimestamp != nil {
		out.LastLocalTimestamp = *o.LastLocalTimestamp
	}
	if o.LastSyncTime != nil {
		out.LastSyncTime = *o.LastSyncTime
	}
	if o.Metadata != nil {
		out.Metadata = *o.Metadata
	}
	if o.MigrationsLog != nil {
		out.MigrationsLog = *o.MigrationsLog
	}
	if o.Name != nil {
		out.Name = *o.Name
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.NativeContextID != nil {
		out.NativeContextID = *o.NativeContextID
	}
	if o.NetworkServices != nil {
		out.NetworkServices = *o.NetworkServices
	}
	if o.NormalizedTags != nil {
		out.NormalizedTags = *o.NormalizedTags
	}
	if o.OperationalStatus != nil {
		out.OperationalStatus = *o.OperationalStatus
	}
	if o.Protected != nil {
		out.Protected = *o.Protected
	}
	if o.Tracing != nil {
		out.Tracing = o.Tracing
	}
	if o.Type != nil {
		out.Type = *o.Type
	}
	if o.UpdateIdempotencyKey != nil {
		out.UpdateIdempotencyKey = *o.UpdateIdempotencyKey
	}
	if o.UpdateTime != nil {
		out.UpdateTime = *o.UpdateTime
	}
	if o.Vulnerabilities != nil {
		out.Vulnerabilities = *o.Vulnerabilities
	}
	if o.VulnerabilityLevel != nil {
		out.VulnerabilityLevel = *o.VulnerabilityLevel
	}
	if o.ZHash != nil {
		out.ZHash = *o.ZHash
	}
	if o.Zone != nil {
		out.Zone = *o.Zone
	}
	return out
}
func ( o * SparseProcessingUnit ) ToPlain ( ) elemental . PlainIdentifiable { out := NewProcessingUnit ( ) if o . ID != nil { out . ID = * o . ID } if o . Annotations != nil { out . Annotations = * o . Annotations } if o . Archived != nil { out . Archived = * o . Archived } if o . AssociatedTags != nil { out . AssociatedTags = * o . AssociatedTags } if o . ClientLocalID != nil { out . ClientLocalID = * o . ClientLocalID } if o . CollectInfo != nil { out . CollectInfo = * o . CollectInfo } if o . CollectedInfo != nil { out . CollectedInfo = * o . CollectedInfo } if o . Controller != nil { out . Controller = * o . Controller } if o . CreateIdempotencyKey != nil { out . CreateIdempotencyKey = * o . CreateIdempotencyKey } if o . CreateTime != nil { out . CreateTime = * o . CreateTime } if o . DatapathType != nil { out . DatapathType = * o . DatapathType } if o . Description != nil { out . Description = * o . Description } if o . EnforcementStatus != nil { out . EnforcementStatus = * o . EnforcementStatus } if o . EnforcerID != nil { out . EnforcerID = * o . EnforcerID } if o . EnforcerNamespace != nil { out . EnforcerNamespace = * o . EnforcerNamespace } if o . Image != nil { out . Image = * o . Image } if o . Images != nil { out . Images = * o . Images } if o . LastCollectionTime != nil { out . LastCollectionTime = * o . LastCollectionTime } if o . LastLocalTimestamp != nil { out . LastLocalTimestamp = * o . LastLocalTimestamp } if o . LastSyncTime != nil { out . LastSyncTime = * o . LastSyncTime } if o . Metadata != nil { out . Metadata = * o . Metadata } if o . MigrationsLog != nil { out . MigrationsLog = * o . MigrationsLog } if o . Name != nil { out . Name = * o . Name } if o . Namespace != nil { out . Namespace = * o . Namespace } if o . NativeContextID != nil { out . NativeContextID = * o . NativeContextID } if o . NetworkServices != nil { out . NetworkServices = * o . NetworkServices } if o . NormalizedTags != nil { out . NormalizedTags = * o . NormalizedTags } if o . OperationalStatus != nil { out . OperationalStatus = * o . OperationalStatus } if o . Protected != nil { out . Protected = * o . Protected } if o . Tracing != nil { out . Tracing = o . Tracing } if o . Type != nil { out . Type = * o . Type } if o . UpdateIdempotencyKey != nil { out . UpdateIdempotencyKey = * o . UpdateIdempotencyKey } if o . UpdateTime != nil { out . UpdateTime = * o . UpdateTime } if o . Vulnerabilities != nil { out . Vulnerabilities = * o . Vulnerabilities } if o . VulnerabilityLevel != nil { out . VulnerabilityLevel = * o . VulnerabilityLevel } if o . ZHash != nil { out . ZHash = * o . ZHash } if o . Zone != nil { out . Zone = * o . Zone } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .