func (o *CloudNetworkQueryFilter) SetBSON(raw bson.Raw) error {

	if o == nil {
		return nil
	}

	s := &mongoAttributesCloudNetworkQueryFilter{}
	if err := raw.Unmarshal(s); err != nil {
		return err
	}

	o.VPCIDs = s.VPCIDs
	o.AccountIDs = s.AccountIDs
	o.CloudTypes = s.CloudTypes
	o.ImageIDs = s.ImageIDs
	o.ObjectIDs = s.ObjectIDs
	o.ProductInfoType = s.ProductInfoType
	o.ProductInfoValue = s.ProductInfoValue
	o.Regions = s.Regions
	o.ResourceType = s.ResourceType
	o.SecurityTags = s.SecurityTags
	o.ServiceOwners = s.ServiceOwners
	o.ServiceTypes = s.ServiceTypes
	o.Subnets = s.Subnets
	o.Tags = s.Tags

	return nil
}
// SetBSON implements the bson marshaling interface.
// This is used to transparently convert ID to MongoDBID as ObectID.
SetBSON implements the bson marshaling interface.
This is used to transparently convert ID to MongoDBID as ObectID.
// SetBSON implements the bson marshaling interface . // This is used to transparently convert ID to MongoDBID as ObectID .
func (o *CloudNetworkQueryFilter) SetBSON(raw bson.Raw) error {
	if o == nil {
		return nil
	}
	s := &mongoAttributesCloudNetworkQueryFilter{}
	if err := raw.Unmarshal(s); err != nil {
		return err
	}
	o.VPCIDs = s.VPCIDs
	o.AccountIDs = s.AccountIDs
	o.CloudTypes = s.CloudTypes
	o.ImageIDs = s.ImageIDs
	o.ObjectIDs = s.ObjectIDs
	o.ProductInfoType = s.ProductInfoType
	o.ProductInfoValue = s.ProductInfoValue
	o.Regions = s.Regions
	o.ResourceType = s.ResourceType
	o.SecurityTags = s.SecurityTags
	o.ServiceOwners = s.ServiceOwners
	o.ServiceTypes = s.ServiceTypes
	o.Subnets = s.Subnets
	o.Tags = s.Tags
	return nil
}
func ( o * CloudNetworkQueryFilter ) SetBSON ( raw bson . Raw ) error { if o == nil { return nil } s := & mongoAttributesCloudNetworkQueryFilter { } if err := raw . Unmarshal ( s ) ; err != nil { return err } o . VPCIDs = s . VPCIDs o . AccountIDs = s . AccountIDs o . CloudTypes = s . CloudTypes o . ImageIDs = s . ImageIDs o . ObjectIDs = s . ObjectIDs o . ProductInfoType = s . ProductInfoType o . ProductInfoValue = s . ProductInfoValue o . Regions = s . Regions o . ResourceType = s . ResourceType o . SecurityTags = s . SecurityTags o . ServiceOwners = s . ServiceOwners o . ServiceTypes = s . ServiceTypes o . Subnets = s . Subnets o . Tags = s . Tags return nil }
SetBSON implements the bson marshaling interface.
SetBSON implements the bson marshaling interface .