code: func (o *Compute) SetInstanceWeights(v []*InstanceWeight) *Compute {
  	if o.InstanceWeights = v; o.InstanceWeights == nil {
  		o.nullFields = append(o.nullFields, "InstanceWeights")
  	}
  	return o
  }
docs: // SetInstanceWeights sets a list if instance weights by type