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

	out := NewCachedFlowReport()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.Action != nil {
		out.Action = *o.Action
	}
	if o.DestinationController != nil {
		out.DestinationController = *o.DestinationController
	}
	if o.DestinationID != nil {
		out.DestinationID = *o.DestinationID
	}
	if o.DestinationIP != nil {
		out.DestinationIP = *o.DestinationIP
	}
	if o.DestinationNamespace != nil {
		out.DestinationNamespace = *o.DestinationNamespace
	}
	if o.DestinationPlatform != nil {
		out.DestinationPlatform = *o.DestinationPlatform
	}
	if o.DestinationPort != nil {
		out.DestinationPort = *o.DestinationPort
	}
	if o.DestinationType != nil {
		out.DestinationType = *o.DestinationType
	}
	if o.DropReason != nil {
		out.DropReason = *o.DropReason
	}
	if o.Encrypted != nil {
		out.Encrypted = *o.Encrypted
	}
	if o.EnforcerID != nil {
		out.EnforcerID = *o.EnforcerID
	}
	if o.IsLocalDestinationID != nil {
		out.IsLocalDestinationID = *o.IsLocalDestinationID
	}
	if o.IsLocalSourceID != nil {
		out.IsLocalSourceID = *o.IsLocalSourceID
	}
	if o.MigrationsLog != nil {
		out.MigrationsLog = *o.MigrationsLog
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.Observed != nil {
		out.Observed = *o.Observed
	}
	if o.ObservedAction != nil {
		out.ObservedAction = *o.ObservedAction
	}
	if o.ObservedDropReason != nil {
		out.ObservedDropReason = *o.ObservedDropReason
	}
	if o.ObservedEncrypted != nil {
		out.ObservedEncrypted = *o.ObservedEncrypted
	}
	if o.ObservedPolicyID != nil {
		out.ObservedPolicyID = *o.ObservedPolicyID
	}
	if o.ObservedPolicyNamespace != nil {
		out.ObservedPolicyNamespace = *o.ObservedPolicyNamespace
	}
	if o.PolicyID != nil {
		out.PolicyID = *o.PolicyID
	}
	if o.PolicyNamespace != nil {
		out.PolicyNamespace = *o.PolicyNamespace
	}
	if o.Protocol != nil {
		out.Protocol = *o.Protocol
	}
	if o.RemoteNamespace != nil {
		out.RemoteNamespace = *o.RemoteNamespace
	}
	if o.RuleName != nil {
		out.RuleName = *o.RuleName
	}
	if o.ServiceClaimHash != nil {
		out.ServiceClaimHash = *o.ServiceClaimHash
	}
	if o.ServiceID != nil {
		out.ServiceID = *o.ServiceID
	}
	if o.ServiceNamespace != nil {
		out.ServiceNamespace = *o.ServiceNamespace
	}
	if o.ServiceType != nil {
		out.ServiceType = *o.ServiceType
	}
	if o.ServiceURL != nil {
		out.ServiceURL = *o.ServiceURL
	}
	if o.SourceController != nil {
		out.SourceController = *o.SourceController
	}
	if o.SourceID != nil {
		out.SourceID = *o.SourceID
	}
	if o.SourceIP != nil {
		out.SourceIP = *o.SourceIP
	}
	if o.SourceNamespace != nil {
		out.SourceNamespace = *o.SourceNamespace
	}
	if o.SourcePlatform != nil {
		out.SourcePlatform = *o.SourcePlatform
	}
	if o.SourceType != nil {
		out.SourceType = *o.SourceType
	}
	if o.Timestamp != nil {
		out.Timestamp = *o.Timestamp
	}
	if o.Value != nil {
		out.Value = *o.Value
	}
	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 *SparseCachedFlowReport) ToPlain() elemental.PlainIdentifiable {
	out := NewCachedFlowReport()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.Action != nil {
		out.Action = *o.Action
	}
	if o.DestinationController != nil {
		out.DestinationController = *o.DestinationController
	}
	if o.DestinationID != nil {
		out.DestinationID = *o.DestinationID
	}
	if o.DestinationIP != nil {
		out.DestinationIP = *o.DestinationIP
	}
	if o.DestinationNamespace != nil {
		out.DestinationNamespace = *o.DestinationNamespace
	}
	if o.DestinationPlatform != nil {
		out.DestinationPlatform = *o.DestinationPlatform
	}
	if o.DestinationPort != nil {
		out.DestinationPort = *o.DestinationPort
	}
	if o.DestinationType != nil {
		out.DestinationType = *o.DestinationType
	}
	if o.DropReason != nil {
		out.DropReason = *o.DropReason
	}
	if o.Encrypted != nil {
		out.Encrypted = *o.Encrypted
	}
	if o.EnforcerID != nil {
		out.EnforcerID = *o.EnforcerID
	}
	if o.IsLocalDestinationID != nil {
		out.IsLocalDestinationID = *o.IsLocalDestinationID
	}
	if o.IsLocalSourceID != nil {
		out.IsLocalSourceID = *o.IsLocalSourceID
	}
	if o.MigrationsLog != nil {
		out.MigrationsLog = *o.MigrationsLog
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.Observed != nil {
		out.Observed = *o.Observed
	}
	if o.ObservedAction != nil {
		out.ObservedAction = *o.ObservedAction
	}
	if o.ObservedDropReason != nil {
		out.ObservedDropReason = *o.ObservedDropReason
	}
	if o.ObservedEncrypted != nil {
		out.ObservedEncrypted = *o.ObservedEncrypted
	}
	if o.ObservedPolicyID != nil {
		out.ObservedPolicyID = *o.ObservedPolicyID
	}
	if o.ObservedPolicyNamespace != nil {
		out.ObservedPolicyNamespace = *o.ObservedPolicyNamespace
	}
	if o.PolicyID != nil {
		out.PolicyID = *o.PolicyID
	}
	if o.PolicyNamespace != nil {
		out.PolicyNamespace = *o.PolicyNamespace
	}
	if o.Protocol != nil {
		out.Protocol = *o.Protocol
	}
	if o.RemoteNamespace != nil {
		out.RemoteNamespace = *o.RemoteNamespace
	}
	if o.RuleName != nil {
		out.RuleName = *o.RuleName
	}
	if o.ServiceClaimHash != nil {
		out.ServiceClaimHash = *o.ServiceClaimHash
	}
	if o.ServiceID != nil {
		out.ServiceID = *o.ServiceID
	}
	if o.ServiceNamespace != nil {
		out.ServiceNamespace = *o.ServiceNamespace
	}
	if o.ServiceType != nil {
		out.ServiceType = *o.ServiceType
	}
	if o.ServiceURL != nil {
		out.ServiceURL = *o.ServiceURL
	}
	if o.SourceController != nil {
		out.SourceController = *o.SourceController
	}
	if o.SourceID != nil {
		out.SourceID = *o.SourceID
	}
	if o.SourceIP != nil {
		out.SourceIP = *o.SourceIP
	}
	if o.SourceNamespace != nil {
		out.SourceNamespace = *o.SourceNamespace
	}
	if o.SourcePlatform != nil {
		out.SourcePlatform = *o.SourcePlatform
	}
	if o.SourceType != nil {
		out.SourceType = *o.SourceType
	}
	if o.Timestamp != nil {
		out.Timestamp = *o.Timestamp
	}
	if o.Value != nil {
		out.Value = *o.Value
	}
	if o.ZHash != nil {
		out.ZHash = *o.ZHash
	}
	if o.Zone != nil {
		out.Zone = *o.Zone
	}
	return out
}
func ( o * SparseCachedFlowReport ) ToPlain ( ) elemental . PlainIdentifiable { out := NewCachedFlowReport ( ) if o . ID != nil { out . ID = * o . ID } if o . Action != nil { out . Action = * o . Action } if o . DestinationController != nil { out . DestinationController = * o . DestinationController } if o . DestinationID != nil { out . DestinationID = * o . DestinationID } if o . DestinationIP != nil { out . DestinationIP = * o . DestinationIP } if o . DestinationNamespace != nil { out . DestinationNamespace = * o . DestinationNamespace } if o . DestinationPlatform != nil { out . DestinationPlatform = * o . DestinationPlatform } if o . DestinationPort != nil { out . DestinationPort = * o . DestinationPort } if o . DestinationType != nil { out . DestinationType = * o . DestinationType } if o . DropReason != nil { out . DropReason = * o . DropReason } if o . Encrypted != nil { out . Encrypted = * o . Encrypted } if o . EnforcerID != nil { out . EnforcerID = * o . EnforcerID } if o . IsLocalDestinationID != nil { out . IsLocalDestinationID = * o . IsLocalDestinationID } if o . IsLocalSourceID != nil { out . IsLocalSourceID = * o . IsLocalSourceID } if o . MigrationsLog != nil { out . MigrationsLog = * o . MigrationsLog } if o . Namespace != nil { out . Namespace = * o . Namespace } if o . Observed != nil { out . Observed = * o . Observed } if o . ObservedAction != nil { out . ObservedAction = * o . ObservedAction } if o . ObservedDropReason != nil { out . ObservedDropReason = * o . ObservedDropReason } if o . ObservedEncrypted != nil { out . ObservedEncrypted = * o . ObservedEncrypted } if o . ObservedPolicyID != nil { out . ObservedPolicyID = * o . ObservedPolicyID } if o . ObservedPolicyNamespace != nil { out . ObservedPolicyNamespace = * o . ObservedPolicyNamespace } if o . PolicyID != nil { out . PolicyID = * o . PolicyID } if o . PolicyNamespace != nil { out . PolicyNamespace = * o . PolicyNamespace } if o . Protocol != nil { out . Protocol = * o . Protocol } if o . RemoteNamespace != nil { out . RemoteNamespace = * o . RemoteNamespace } if o . RuleName != nil { out . RuleName = * o . RuleName } if o . ServiceClaimHash != nil { out . ServiceClaimHash = * o . ServiceClaimHash } if o . ServiceID != nil { out . ServiceID = * o . ServiceID } if o . ServiceNamespace != nil { out . ServiceNamespace = * o . ServiceNamespace } if o . ServiceType != nil { out . ServiceType = * o . ServiceType } if o . ServiceURL != nil { out . ServiceURL = * o . ServiceURL } if o . SourceController != nil { out . SourceController = * o . SourceController } if o . SourceID != nil { out . SourceID = * o . SourceID } if o . SourceIP != nil { out . SourceIP = * o . SourceIP } if o . SourceNamespace != nil { out . SourceNamespace = * o . SourceNamespace } if o . SourcePlatform != nil { out . SourcePlatform = * o . SourcePlatform } if o . SourceType != nil { out . SourceType = * o . SourceType } if o . Timestamp != nil { out . Timestamp = * o . Timestamp } if o . Value != nil { out . Value = * o . Value } 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 .