code: func flattenDVSTrafficShapingPolicyIngress(d *schema.ResourceData, obj *types.DVSTrafficShapingPolicy) error {
  	if obj == nil {
  		return nil
  	}
  
  	structure.SetBoolPolicy(d, "ingress_shaping_enabled", obj.Enabled)
  	structure.SetLongPolicy(d, "ingress_shaping_average_bandwidth", obj.AverageBandwidth)
  	structure.SetLongPolicy(d, "ingress_shaping_peak_bandwidth", obj.PeakBandwidth)
  	structure.SetLongPolicy(d, "ingress_shaping_burst_size", obj.BurstSize)
  
  	return nil
  }
docs: // flattenDVSTrafficShapingPolicyIngress reads various fields from the
  // DVSTrafficShapingPolicy ingress policy into the passed in ResourceData.