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

	if o == nil {
		return nil, nil
	}

	s := &mongoAttributesPolicyRefresh{}

	s.SourceID = o.SourceID
	s.SourceNamespace = o.SourceNamespace
	s.Type = o.Type

	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 *PolicyRefresh) GetBSON() (interface{}, error) {
	if o == nil {
		return nil, nil
	}
	s := &mongoAttributesPolicyRefresh{}
	s.SourceID = o.SourceID
	s.SourceNamespace = o.SourceNamespace
	s.Type = o.Type
	return s, nil
}
func ( o * PolicyRefresh ) GetBSON ( ) ( interface { } , error ) { if o == nil { return nil , nil } s := & mongoAttributesPolicyRefresh { } s . SourceID = o . SourceID s . SourceNamespace = o . SourceNamespace s . Type = o . Type return s , nil }
GetBSON implements the bson marshaling interface.
GetBSON implements the bson marshaling interface .