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

	if o == nil {
		return nil, nil
	}

	s := &mongoAttributesExport{}

	s.APIVersion = o.APIVersion
	s.Data = o.Data
	s.Identities = o.Identities
	s.Label = o.Label

	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 *Export) GetBSON() (interface{}, error) {
	if o == nil {
		return nil, nil
	}
	s := &mongoAttributesExport{}
	s.APIVersion = o.APIVersion
	s.Data = o.Data
	s.Identities = o.Identities
	s.Label = o.Label
	return s, nil
}
func ( o * Export ) GetBSON ( ) ( interface { } , error ) { if o == nil { return nil , nil } s := & mongoAttributesExport { } s . APIVersion = o . APIVersion s . Data = o . Data s . Identities = o . Identities s . Label = o . Label return s , nil }
GetBSON implements the bson marshaling interface.
GetBSON implements the bson marshaling interface .