/// <summary> /// Update a specific fax. /// </summary> /// <param name="pathSid"> The unique string that identifies the resource </param> /// <param name="status"> The new status of the resource </param> /// <param name="client"> Client to make requests to Twilio </param> /// <returns> Task that resolves to A single instance of Fax </returns> public static async System.Threading.Tasks.Task<FaxResource> UpdateAsync(string pathSid, FaxResource.UpdateStatusEnum status = null, ITwilioRestClient client = null) { var options = new UpdateFaxOptions(pathSid){Status = status}; return await UpdateAsync(options, client); }
/// <summary> /// Update a specific fax. /// </summary> /// <param name="pathSid"> The unique string that identifies the resource </param> /// <param name="status"> The new status of the resource </param> /// <param name="client"> Client to make requests to Twilio </param> /// <returns> A single instance of Fax </returns> public static FaxResource Update(string pathSid, FaxResource.UpdateStatusEnum status = null, ITwilioRestClient client = null) { var options = new UpdateFaxOptions(pathSid){Status = status}; return Update(options, client); }