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

	out := NewPingResult()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.CreateTime != nil {
		out.CreateTime = *o.CreateTime
	}
	if o.Errors != nil {
		out.Errors = *o.Errors
	}
	if o.MigrationsLog != nil {
		out.MigrationsLog = *o.MigrationsLog
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.PingID != nil {
		out.PingID = *o.PingID
	}
	if o.PingPairs != nil {
		out.PingPairs = *o.PingPairs
	}
	if o.RefreshID != nil {
		out.RefreshID = *o.RefreshID
	}
	if o.RemoteProbes != nil {
		out.RemoteProbes = *o.RemoteProbes
	}
	if o.UpdateTime != nil {
		out.UpdateTime = *o.UpdateTime
	}
	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 *SparsePingResult) ToPlain() elemental.PlainIdentifiable {
	out := NewPingResult()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.CreateTime != nil {
		out.CreateTime = *o.CreateTime
	}
	if o.Errors != nil {
		out.Errors = *o.Errors
	}
	if o.MigrationsLog != nil {
		out.MigrationsLog = *o.MigrationsLog
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.PingID != nil {
		out.PingID = *o.PingID
	}
	if o.PingPairs != nil {
		out.PingPairs = *o.PingPairs
	}
	if o.RefreshID != nil {
		out.RefreshID = *o.RefreshID
	}
	if o.RemoteProbes != nil {
		out.RemoteProbes = *o.RemoteProbes
	}
	if o.UpdateTime != nil {
		out.UpdateTime = *o.UpdateTime
	}
	if o.ZHash != nil {
		out.ZHash = *o.ZHash
	}
	if o.Zone != nil {
		out.Zone = *o.Zone
	}
	return out
}
func ( o * SparsePingResult ) ToPlain ( ) elemental . PlainIdentifiable { out := NewPingResult ( ) if o . ID != nil { out . ID = * o . ID } if o . CreateTime != nil { out . CreateTime = * o . CreateTime } if o . Errors != nil { out . Errors = * o . Errors } if o . MigrationsLog != nil { out . MigrationsLog = * o . MigrationsLog } if o . Namespace != nil { out . Namespace = * o . Namespace } if o . PingID != nil { out . PingID = * o . PingID } if o . PingPairs != nil { out . PingPairs = * o . PingPairs } if o . RefreshID != nil { out . RefreshID = * o . RefreshID } if o . RemoteProbes != nil { out . RemoteProbes = * o . RemoteProbes } if o . UpdateTime != nil { out . UpdateTime = * o . UpdateTime } 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 .