Esempio n. 1
0
        /**
         * AUTO_GENERATED
         */
        public CancelPermissionsResponse CancelPermissions(CancelPermissionsRequest cancelPermissionsRequest, string apiUserName)
        {
            string  response = Call("CancelPermissions", cancelPermissionsRequest.ToNVPString(""), apiUserName);
            NVPUtil util     = new NVPUtil();

            return(CancelPermissionsResponse.CreateInstance(util.ParseNVPString(response), "", -1));
        }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        ///<param name="cancelPermissionsRequest"></param>
        ///<param name="credential">An explicit ICredential object that you want to authenticate this call against</param>
        public CancelPermissionsResponse CancelPermissions(CancelPermissionsRequest cancelPermissionsRequest, ICredential credential)
        {
            IAPICallPreHandler apiCallPreHandler = new PlatformAPICallPreHandler(this.config, cancelPermissionsRequest.ToNVPString(string.Empty), ServiceName, "CancelPermissions", credential);

            ((PlatformAPICallPreHandler)apiCallPreHandler).SDKName    = SDKName;
            ((PlatformAPICallPreHandler)apiCallPreHandler).SDKVersion = SDKVersion;
            ((PlatformAPICallPreHandler)apiCallPreHandler).PortName   = "Permissions";

            NVPUtil util = new NVPUtil();

            return(CancelPermissionsResponse.CreateInstance(util.ParseNVPString(Call(apiCallPreHandler)), string.Empty, -1));
        }