/// <summary> /// Fetch a role by objectId or name and fill the properties (if found) of the current class instance with what's found /// </summary> /// <param name="pObjectId"> /// GUID of the role to find. /// </param> /// <returns> /// WebCallResults instance. /// </returns> private WebCallResult GetVmsServer(string pObjectId) { string strUrl = HomeServer.BaseUrl + "vmsservers/" + pObjectId; //issue the command to the CUPI interface return(HomeServer.FillObjectWithRestGetResults(strUrl, this)); }
/// <summary> /// Fills the current instance of ConfigurationSetting in with properties fetched from the server. /// </summary> /// <param name="pFullName"> /// Full name of the configuraiton setting (i.e. "System.Notifier.TaskManager.TaskMaxThreadWaitMinutes") to fetch. /// </param> /// <returns> /// Instance of the WebCallResults class containing details of the items sent and recieved from the CUPI interface. /// </returns> private WebCallResult GetConfigurationValue(string pFullName) { string strUrl = string.Format("{0}configurationvalues/{1}", HomeServer.BaseUrl, pFullName); return(HomeServer.FillObjectWithRestGetResults(strUrl, this)); }
/// <summary> /// Fetch a role by objectId or name and fill the properties (if found) of the current class instance with what's found /// </summary> /// <param name="pObjectId"> /// GUID of the role to find. /// </param> /// <returns> /// WebCallResults instance. /// </returns> private WebCallResult GetPortGroupTemplate(string pObjectId) { string strUrl = HomeServer.BaseUrl + "portgrouptemplates/" + pObjectId; return(HomeServer.FillObjectWithRestGetResults(strUrl, this)); }
/// <summary> /// Fetch a role by objectId or name and fill the properties (if found) of the current class instance with what's found /// </summary> /// <param name="pObjectId"> /// GUID of the role to find. /// </param> /// <returns> /// WebCallResults instance. /// </returns> private WebCallResult GetRtpCodecDef(string pObjectId) { string strUrl = HomeServer.BaseUrl + "rtpcodecdefs/" + pObjectId; return(HomeServer.FillObjectWithRestGetResults(strUrl, this)); }
/// <summary> /// Fetch a role by objectId or name and fill the properties (if found) of the current class instance with what's found /// </summary> /// <param name="pObjectId"> /// GUID of the role to find. /// </param> /// <returns> /// WebCallResults instance. /// </returns> private WebCallResult GetPortGroupCodec(string pObjectId) { string strUrl = HomeServer.BaseUrl + "portgroups/" + MediaPortGroupObjectId + "/portgroupcodecs/" + pObjectId; return(HomeServer.FillObjectWithRestGetResults(strUrl, this)); }