/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteBudgetResponse response = new DeleteBudgetResponse(); return(response); }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteBudgetResponse response = new DeleteBudgetResponse(); return response; }
public DeleteBudgetResponse ApiDeleteBudget(DeleteBudgetRequest DeleteBudgetRequest) { var DeleteBudgetResponse = new DeleteBudgetResponse(); try { DeleteBudgetResponse = this.ExecuteApiDeleteBudget(DeleteBudgetRequest); } catch (Exception ex) { if (((HttpWebResponse)((WebException)ex.InnerException).Response).StatusCode == HttpStatusCode.Unauthorized) { _apiAuthentication.GetToken(true); DeleteBudgetResponse = this.ExecuteApiDeleteBudget(DeleteBudgetRequest); } } return(DeleteBudgetResponse); }