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

	out := NewPingProbe()
	if o.ACLPolicyAction != nil {
		out.ACLPolicyAction = *o.ACLPolicyAction
	}
	if o.ACLPolicyID != nil {
		out.ACLPolicyID = *o.ACLPolicyID
	}
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.RTT != nil {
		out.RTT = *o.RTT
	}
	if o.ApplicationListening != nil {
		out.ApplicationListening = *o.ApplicationListening
	}
	if o.Claims != nil {
		out.Claims = *o.Claims
	}
	if o.ClaimsType != nil {
		out.ClaimsType = *o.ClaimsType
	}
	if o.CreateTime != nil {
		out.CreateTime = *o.CreateTime
	}
	if o.EnforcerID != nil {
		out.EnforcerID = *o.EnforcerID
	}
	if o.EnforcerNamespace != nil {
		out.EnforcerNamespace = *o.EnforcerNamespace
	}
	if o.EnforcerVersion != nil {
		out.EnforcerVersion = *o.EnforcerVersion
	}
	if o.Error != nil {
		out.Error = *o.Error
	}
	if o.ExcludedNetworks != nil {
		out.ExcludedNetworks = *o.ExcludedNetworks
	}
	if o.FourTuple != nil {
		out.FourTuple = *o.FourTuple
	}
	if o.IsServer != nil {
		out.IsServer = *o.IsServer
	}
	if o.IterationIndex != nil {
		out.IterationIndex = *o.IterationIndex
	}
	if o.MigrationsLog != nil {
		out.MigrationsLog = *o.MigrationsLog
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.PayloadSize != nil {
		out.PayloadSize = *o.PayloadSize
	}
	if o.PayloadSizeType != nil {
		out.PayloadSizeType = *o.PayloadSizeType
	}
	if o.PeerCertExpiry != nil {
		out.PeerCertExpiry = *o.PeerCertExpiry
	}
	if o.PeerCertIssuer != nil {
		out.PeerCertIssuer = *o.PeerCertIssuer
	}
	if o.PeerCertSubject != nil {
		out.PeerCertSubject = *o.PeerCertSubject
	}
	if o.PingID != nil {
		out.PingID = *o.PingID
	}
	if o.PolicyAction != nil {
		out.PolicyAction = *o.PolicyAction
	}
	if o.PolicyID != nil {
		out.PolicyID = *o.PolicyID
	}
	if o.PolicyNamespace != nil {
		out.PolicyNamespace = *o.PolicyNamespace
	}
	if o.ProcessingUnitID != nil {
		out.ProcessingUnitID = *o.ProcessingUnitID
	}
	if o.Protocol != nil {
		out.Protocol = *o.Protocol
	}
	if o.RemoteController != nil {
		out.RemoteController = *o.RemoteController
	}
	if o.RemoteEndpointType != nil {
		out.RemoteEndpointType = *o.RemoteEndpointType
	}
	if o.RemoteNamespace != nil {
		out.RemoteNamespace = *o.RemoteNamespace
	}
	if o.RemoteNamespaceType != nil {
		out.RemoteNamespaceType = *o.RemoteNamespaceType
	}
	if o.RemoteProcessingUnitID != nil {
		out.RemoteProcessingUnitID = *o.RemoteProcessingUnitID
	}
	if o.SeqNum != nil {
		out.SeqNum = *o.SeqNum
	}
	if o.ServiceID != nil {
		out.ServiceID = *o.ServiceID
	}
	if o.ServiceType != nil {
		out.ServiceType = *o.ServiceType
	}
	if o.TargetTCPNetworks != nil {
		out.TargetTCPNetworks = *o.TargetTCPNetworks
	}
	if o.Type != nil {
		out.Type = *o.Type
	}
	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 *SparsePingProbe) ToPlain() elemental.PlainIdentifiable {
	out := NewPingProbe()
	if o.ACLPolicyAction != nil {
		out.ACLPolicyAction = *o.ACLPolicyAction
	}
	if o.ACLPolicyID != nil {
		out.ACLPolicyID = *o.ACLPolicyID
	}
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.RTT != nil {
		out.RTT = *o.RTT
	}
	if o.ApplicationListening != nil {
		out.ApplicationListening = *o.ApplicationListening
	}
	if o.Claims != nil {
		out.Claims = *o.Claims
	}
	if o.ClaimsType != nil {
		out.ClaimsType = *o.ClaimsType
	}
	if o.CreateTime != nil {
		out.CreateTime = *o.CreateTime
	}
	if o.EnforcerID != nil {
		out.EnforcerID = *o.EnforcerID
	}
	if o.EnforcerNamespace != nil {
		out.EnforcerNamespace = *o.EnforcerNamespace
	}
	if o.EnforcerVersion != nil {
		out.EnforcerVersion = *o.EnforcerVersion
	}
	if o.Error != nil {
		out.Error = *o.Error
	}
	if o.ExcludedNetworks != nil {
		out.ExcludedNetworks = *o.ExcludedNetworks
	}
	if o.FourTuple != nil {
		out.FourTuple = *o.FourTuple
	}
	if o.IsServer != nil {
		out.IsServer = *o.IsServer
	}
	if o.IterationIndex != nil {
		out.IterationIndex = *o.IterationIndex
	}
	if o.MigrationsLog != nil {
		out.MigrationsLog = *o.MigrationsLog
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.PayloadSize != nil {
		out.PayloadSize = *o.PayloadSize
	}
	if o.PayloadSizeType != nil {
		out.PayloadSizeType = *o.PayloadSizeType
	}
	if o.PeerCertExpiry != nil {
		out.PeerCertExpiry = *o.PeerCertExpiry
	}
	if o.PeerCertIssuer != nil {
		out.PeerCertIssuer = *o.PeerCertIssuer
	}
	if o.PeerCertSubject != nil {
		out.PeerCertSubject = *o.PeerCertSubject
	}
	if o.PingID != nil {
		out.PingID = *o.PingID
	}
	if o.PolicyAction != nil {
		out.PolicyAction = *o.PolicyAction
	}
	if o.PolicyID != nil {
		out.PolicyID = *o.PolicyID
	}
	if o.PolicyNamespace != nil {
		out.PolicyNamespace = *o.PolicyNamespace
	}
	if o.ProcessingUnitID != nil {
		out.ProcessingUnitID = *o.ProcessingUnitID
	}
	if o.Protocol != nil {
		out.Protocol = *o.Protocol
	}
	if o.RemoteController != nil {
		out.RemoteController = *o.RemoteController
	}
	if o.RemoteEndpointType != nil {
		out.RemoteEndpointType = *o.RemoteEndpointType
	}
	if o.RemoteNamespace != nil {
		out.RemoteNamespace = *o.RemoteNamespace
	}
	if o.RemoteNamespaceType != nil {
		out.RemoteNamespaceType = *o.RemoteNamespaceType
	}
	if o.RemoteProcessingUnitID != nil {
		out.RemoteProcessingUnitID = *o.RemoteProcessingUnitID
	}
	if o.SeqNum != nil {
		out.SeqNum = *o.SeqNum
	}
	if o.ServiceID != nil {
		out.ServiceID = *o.ServiceID
	}
	if o.ServiceType != nil {
		out.ServiceType = *o.ServiceType
	}
	if o.TargetTCPNetworks != nil {
		out.TargetTCPNetworks = *o.TargetTCPNetworks
	}
	if o.Type != nil {
		out.Type = *o.Type
	}
	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 * SparsePingProbe ) ToPlain ( ) elemental . PlainIdentifiable { out := NewPingProbe ( ) if o . ACLPolicyAction != nil { out . ACLPolicyAction = * o . ACLPolicyAction } if o . ACLPolicyID != nil { out . ACLPolicyID = * o . ACLPolicyID } if o . ID != nil { out . ID = * o . ID } if o . RTT != nil { out . RTT = * o . RTT } if o . ApplicationListening != nil { out . ApplicationListening = * o . ApplicationListening } if o . Claims != nil { out . Claims = * o . Claims } if o . ClaimsType != nil { out . ClaimsType = * o . ClaimsType } if o . CreateTime != nil { out . CreateTime = * o . CreateTime } if o . EnforcerID != nil { out . EnforcerID = * o . EnforcerID } if o . EnforcerNamespace != nil { out . EnforcerNamespace = * o . EnforcerNamespace } if o . EnforcerVersion != nil { out . EnforcerVersion = * o . EnforcerVersion } if o . Error != nil { out . Error = * o . Error } if o . ExcludedNetworks != nil { out . ExcludedNetworks = * o . ExcludedNetworks } if o . FourTuple != nil { out . FourTuple = * o . FourTuple } if o . IsServer != nil { out . IsServer = * o . IsServer } if o . IterationIndex != nil { out . IterationIndex = * o . IterationIndex } if o . MigrationsLog != nil { out . MigrationsLog = * o . MigrationsLog } if o . Namespace != nil { out . Namespace = * o . Namespace } if o . PayloadSize != nil { out . PayloadSize = * o . PayloadSize } if o . PayloadSizeType != nil { out . PayloadSizeType = * o . PayloadSizeType } if o . PeerCertExpiry != nil { out . PeerCertExpiry = * o . PeerCertExpiry } if o . PeerCertIssuer != nil { out . PeerCertIssuer = * o . PeerCertIssuer } if o . PeerCertSubject != nil { out . PeerCertSubject = * o . PeerCertSubject } if o . PingID != nil { out . PingID = * o . PingID } if o . PolicyAction != nil { out . PolicyAction = * o . PolicyAction } if o . PolicyID != nil { out . PolicyID = * o . PolicyID } if o . PolicyNamespace != nil { out . PolicyNamespace = * o . PolicyNamespace } if o . ProcessingUnitID != nil { out . ProcessingUnitID = * o . ProcessingUnitID } if o . Protocol != nil { out . Protocol = * o . Protocol } if o . RemoteController != nil { out . RemoteController = * o . RemoteController } if o . RemoteEndpointType != nil { out . RemoteEndpointType = * o . RemoteEndpointType } if o . RemoteNamespace != nil { out . RemoteNamespace = * o . RemoteNamespace } if o . RemoteNamespaceType != nil { out . RemoteNamespaceType = * o . RemoteNamespaceType } if o . RemoteProcessingUnitID != nil { out . RemoteProcessingUnitID = * o . RemoteProcessingUnitID } if o . SeqNum != nil { out . SeqNum = * o . SeqNum } if o . ServiceID != nil { out . ServiceID = * o . ServiceID } if o . ServiceType != nil { out . ServiceType = * o . ServiceType } if o . TargetTCPNetworks != nil { out . TargetTCPNetworks = * o . TargetTCPNetworks } if o . Type != nil { out . Type = * o . Type } 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 .