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

	out := NewPacketReport()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.TCPFlags != nil {
		out.TCPFlags = *o.TCPFlags
	}
	if o.Claims != nil {
		out.Claims = *o.Claims
	}
	if o.DestinationIP != nil {
		out.DestinationIP = *o.DestinationIP
	}
	if o.DestinationPort != nil {
		out.DestinationPort = *o.DestinationPort
	}
	if o.DropReason != nil {
		out.DropReason = *o.DropReason
	}
	if o.Encrypt != nil {
		out.Encrypt = *o.Encrypt
	}
	if o.EnforcerID != nil {
		out.EnforcerID = *o.EnforcerID
	}
	if o.EnforcerNamespace != nil {
		out.EnforcerNamespace = *o.EnforcerNamespace
	}
	if o.Event != nil {
		out.Event = *o.Event
	}
	if o.Length != nil {
		out.Length = *o.Length
	}
	if o.Mark != nil {
		out.Mark = *o.Mark
	}
	if o.MigrationsLog != nil {
		out.MigrationsLog = *o.MigrationsLog
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.PacketID != nil {
		out.PacketID = *o.PacketID
	}
	if o.Protocol != nil {
		out.Protocol = *o.Protocol
	}
	if o.PuID != nil {
		out.PuID = *o.PuID
	}
	if o.RawPacket != nil {
		out.RawPacket = *o.RawPacket
	}
	if o.SourceIP != nil {
		out.SourceIP = *o.SourceIP
	}
	if o.SourcePort != nil {
		out.SourcePort = *o.SourcePort
	}
	if o.Timestamp != nil {
		out.Timestamp = *o.Timestamp
	}
	if o.TriremePacket != nil {
		out.TriremePacket = *o.TriremePacket
	}
	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 *SparsePacketReport) ToPlain() elemental.PlainIdentifiable {
	out := NewPacketReport()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.TCPFlags != nil {
		out.TCPFlags = *o.TCPFlags
	}
	if o.Claims != nil {
		out.Claims = *o.Claims
	}
	if o.DestinationIP != nil {
		out.DestinationIP = *o.DestinationIP
	}
	if o.DestinationPort != nil {
		out.DestinationPort = *o.DestinationPort
	}
	if o.DropReason != nil {
		out.DropReason = *o.DropReason
	}
	if o.Encrypt != nil {
		out.Encrypt = *o.Encrypt
	}
	if o.EnforcerID != nil {
		out.EnforcerID = *o.EnforcerID
	}
	if o.EnforcerNamespace != nil {
		out.EnforcerNamespace = *o.EnforcerNamespace
	}
	if o.Event != nil {
		out.Event = *o.Event
	}
	if o.Length != nil {
		out.Length = *o.Length
	}
	if o.Mark != nil {
		out.Mark = *o.Mark
	}
	if o.MigrationsLog != nil {
		out.MigrationsLog = *o.MigrationsLog
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.PacketID != nil {
		out.PacketID = *o.PacketID
	}
	if o.Protocol != nil {
		out.Protocol = *o.Protocol
	}
	if o.PuID != nil {
		out.PuID = *o.PuID
	}
	if o.RawPacket != nil {
		out.RawPacket = *o.RawPacket
	}
	if o.SourceIP != nil {
		out.SourceIP = *o.SourceIP
	}
	if o.SourcePort != nil {
		out.SourcePort = *o.SourcePort
	}
	if o.Timestamp != nil {
		out.Timestamp = *o.Timestamp
	}
	if o.TriremePacket != nil {
		out.TriremePacket = *o.TriremePacket
	}
	if o.ZHash != nil {
		out.ZHash = *o.ZHash
	}
	if o.Zone != nil {
		out.Zone = *o.Zone
	}
	return out
}
func ( o * SparsePacketReport ) ToPlain ( ) elemental . PlainIdentifiable { out := NewPacketReport ( ) if o . ID != nil { out . ID = * o . ID } if o . TCPFlags != nil { out . TCPFlags = * o . TCPFlags } if o . Claims != nil { out . Claims = * o . Claims } if o . DestinationIP != nil { out . DestinationIP = * o . DestinationIP } if o . DestinationPort != nil { out . DestinationPort = * o . DestinationPort } if o . DropReason != nil { out . DropReason = * o . DropReason } if o . Encrypt != nil { out . Encrypt = * o . Encrypt } if o . EnforcerID != nil { out . EnforcerID = * o . EnforcerID } if o . EnforcerNamespace != nil { out . EnforcerNamespace = * o . EnforcerNamespace } if o . Event != nil { out . Event = * o . Event } if o . Length != nil { out . Length = * o . Length } if o . Mark != nil { out . Mark = * o . Mark } if o . MigrationsLog != nil { out . MigrationsLog = * o . MigrationsLog } if o . Namespace != nil { out . Namespace = * o . Namespace } if o . PacketID != nil { out . PacketID = * o . PacketID } if o . Protocol != nil { out . Protocol = * o . Protocol } if o . PuID != nil { out . PuID = * o . PuID } if o . RawPacket != nil { out . RawPacket = * o . RawPacket } if o . SourceIP != nil { out . SourceIP = * o . SourceIP } if o . SourcePort != nil { out . SourcePort = * o . SourcePort } if o . Timestamp != nil { out . Timestamp = * o . Timestamp } if o . TriremePacket != nil { out . TriremePacket = * o . TriremePacket } 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 .