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

	out := NewEnforcerRefresh()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.Debug != nil {
		out.Debug = *o.Debug
	}
	if o.DebugID != nil {
		out.DebugID = *o.DebugID
	}
	if o.DebugPcapFilter != nil {
		out.DebugPcapFilter = *o.DebugPcapFilter
	}
	if o.DebugProcessingUnitID != nil {
		out.DebugProcessingUnitID = *o.DebugProcessingUnitID
	}
	if o.MigrationVersion != nil {
		out.MigrationVersion = *o.MigrationVersion
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.Propagate != nil {
		out.Propagate = *o.Propagate
	}
	if o.RefreshType != nil {
		out.RefreshType = *o.RefreshType
	}
	if o.Selector != nil {
		out.Selector = *o.Selector
	}

	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 *SparseEnforcerRefresh) ToPlain() elemental.PlainIdentifiable {
	out := NewEnforcerRefresh()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.Debug != nil {
		out.Debug = *o.Debug
	}
	if o.DebugID != nil {
		out.DebugID = *o.DebugID
	}
	if o.DebugPcapFilter != nil {
		out.DebugPcapFilter = *o.DebugPcapFilter
	}
	if o.DebugProcessingUnitID != nil {
		out.DebugProcessingUnitID = *o.DebugProcessingUnitID
	}
	if o.MigrationVersion != nil {
		out.MigrationVersion = *o.MigrationVersion
	}
	if o.Namespace != nil {
		out.Namespace = *o.Namespace
	}
	if o.Propagate != nil {
		out.Propagate = *o.Propagate
	}
	if o.RefreshType != nil {
		out.RefreshType = *o.RefreshType
	}
	if o.Selector != nil {
		out.Selector = *o.Selector
	}
	return out
}
func ( o * SparseEnforcerRefresh ) ToPlain ( ) elemental . PlainIdentifiable { out := NewEnforcerRefresh ( ) if o . ID != nil { out . ID = * o . ID } if o . Debug != nil { out . Debug = * o . Debug } if o . DebugID != nil { out . DebugID = * o . DebugID } if o . DebugPcapFilter != nil { out . DebugPcapFilter = * o . DebugPcapFilter } if o . DebugProcessingUnitID != nil { out . DebugProcessingUnitID = * o . DebugProcessingUnitID } if o . MigrationVersion != nil { out . MigrationVersion = * o . MigrationVersion } if o . Namespace != nil { out . Namespace = * o . Namespace } if o . Propagate != nil { out . Propagate = * o . Propagate } if o . RefreshType != nil { out . RefreshType = * o . RefreshType } if o . Selector != nil { out . Selector = * o . Selector } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .