func (swfsc *SurveyWiFiScanCreate) SetLocationID(id string) *SurveyWiFiScanCreate {
	if swfsc.location == nil {
		swfsc.location = make(map[string]struct{})
	}
	swfsc.location[id] = struct{}{}
	return swfsc
}
// SetLocationID sets the location edge to Location by id.
SetLocationID sets the location edge to Location by id.
// SetLocationID sets the location edge to Location by id .
func (swfsc *SurveyWiFiScanCreate) SetLocationID(id string) *SurveyWiFiScanCreate {
	if swfsc.location == nil {
		swfsc.location = make(map[string]struct{})
	}
	swfsc.location[id] = struct{}{}
	return swfsc
}
func ( swfsc * SurveyWiFiScanCreate ) SetLocationID ( id string ) * SurveyWiFiScanCreate { if swfsc . location == nil { swfsc . location = make ( map [ string ] struct { } ) } swfsc . location [ id ] = struct { } { } return swfsc }
SetLocationID sets the location edge to Location by id.
SetLocationID sets the location edge to Location by id .