// ID returns the ID of the switch
ID returns the ID of the switch
// ID returns the ID of the switch
func (v VirtualSwitch) ID() (string, error) {
	id, err := v.virtualSwitch.GetProperty("Name")
	if err != nil {
		return "", errors.Wrap(err, "GetProperty(Name)")
	}
	return id.Value().(string), nil
}
func ( v VirtualSwitch ) ID ( ) ( string , error ) { id , err := v . virtualSwitch . GetProperty ( " " ) if err != nil { return " " , errors . Wrap ( err , " " ) } return id . Value ( ) . ( string ) , nil }
ID returns the ID of the switch
ID returns the ID of the switch