/// <summary>
 /// Method is used to remove the specified Custom Object based on the account Id(UID).
 /// </summary>
 /// <param name="objectId">LoginRadius Custom Object Id.</param>
 ///  <param name="accountId">Account Id is a uniquely generated string used for determination of a user account.</param>
 /// <param name="isblock"></param>
 public LoginRadiusPostResponse DeleteCustomObject(string accountId, string objectId, bool isblock)
 {
     _valuesToCheck = new ArrayList {objectId, accountId};
     _validate.Validate(_valuesToCheck, "Delete Custom Object");
     var getRequest = new HttpRequestParameter
     {
         {"accountid", accountId},
         {"objectid", objectId}
     };
     var loginRadiusBlockUnblockModel = new LoginRadiusBlockUnblockModel
     {
         IsBlock = isblock
     };
     var response = Post(_object.ChildObject("status"), getRequest, loginRadiusBlockUnblockModel.Serialize());
     return response.Deserialize<LoginRadiusPostResponse>();
 }
        /// <summary>
        /// Method which is used to block or unblock a Users account. It prevents them from logging in our registering for a new account.
        /// </summary>
        /// <param name="accountId">An account id is set of unique numerics and characters that uniquely identifies a user's account or the identifier for each user account.</param>
        /// <param name="isBlock">True or False , defines the status to be set. </param>
        public LoginRadiusPostResponse SetAccountStatus(string accountId, bool isBlock)
        {
            _valuesToCheck = new ArrayList {accountId, isBlock};
            _validate.Validate(_valuesToCheck, "SetAccountStatus");
            var getRequest = new HttpRequestParameter
            {
                { "accountid", accountId }
            };
            LoginRadiusBlockUnblockModel loginRadiusBlockUnblockModel = new LoginRadiusBlockUnblockModel
            {
                IsBlock = isBlock
            };
            var json = new JavaScriptSerializer().Serialize(loginRadiusBlockUnblockModel);
            var response = Post(_object.ChildObject("status"), getRequest, json);

            return response.Deserialize<LoginRadiusPostResponse>();
        }