func (o *EnforcerTraceReport) GetBSON() (interface{}, error) {

	if o == nil {
		return nil, nil
	}

	s := &mongoAttributesEnforcerTraceReport{}

	s.EnforcerID = o.EnforcerID
	s.EnforcerNamespace = o.EnforcerNamespace
	s.Namespace = o.Namespace
	s.PuID = o.PuID
	s.Records = o.Records

	return s, nil
}
// GetBSON implements the bson marshaling interface.
// This is used to transparently convert ID to MongoDBID as ObectID.
GetBSON implements the bson marshaling interface.
This is used to transparently convert ID to MongoDBID as ObectID.
// GetBSON implements the bson marshaling interface . // This is used to transparently convert ID to MongoDBID as ObectID .
func (o *EnforcerTraceReport) GetBSON() (interface{}, error) {
	if o == nil {
		return nil, nil
	}
	s := &mongoAttributesEnforcerTraceReport{}
	s.EnforcerID = o.EnforcerID
	s.EnforcerNamespace = o.EnforcerNamespace
	s.Namespace = o.Namespace
	s.PuID = o.PuID
	s.Records = o.Records
	return s, nil
}
func ( o * EnforcerTraceReport ) GetBSON ( ) ( interface { } , error ) { if o == nil { return nil , nil } s := & mongoAttributesEnforcerTraceReport { } s . EnforcerID = o . EnforcerID s . EnforcerNamespace = o . EnforcerNamespace s . Namespace = o . Namespace s . PuID = o . PuID s . Records = o . Records return s , nil }
GetBSON implements the bson marshaling interface.
GetBSON implements the bson marshaling interface .