private void ProcessRecordIgmpSnoopingStatus(string pif) { RunApiCall(() => { pif_igmp_status obj = XenAPI.PIF.get_igmp_snooping_status(session, pif); WriteObject(obj, true); }); }
public static string StringOf(this pif_igmp_status x) { switch (x) { case pif_igmp_status.enabled: return("enabled"); case pif_igmp_status.disabled: return("disabled"); default: return("unknown"); } }
public static string ToString(pif_igmp_status x) { return(x.StringOf()); }