/// <summary>
        /// Sends a PUT to '/api/automatedtestschedule/{id}'  (asynchronous)
        /// </summary>
        /// <param name="id">a path parameter (no description)</param>
        /// <param name="dto">a body parameter (no description)</param>
        /// <returns></returns>
        public virtual async Task<Schedule> UpdateAutomatedTestScheduleAsync(string id, EditScheduleDTO dto)
        {
            var operation = Operations.UpdateAutomatedTestSchedule(id, dto);
			var response = await _client.SendAsync(operation.BuildRequest(_client));
			EnsureSuccess(response);
			var result = await response.Content.ReadAsAsync<Schedule>();
			return result;
						
		}
 public EditScheduleDTO Clone(bool includeLocalProperties)
 {
     var c = new EditScheduleDTO
             {
                 Id = Id,
                 Name = Name,
             };
     CopyExtraPropertiesToClone(c, includeLocalProperties);
     return c;
 }
partial         void CopyExtraPropertiesToClone(EditScheduleDTO clone, bool includeLocalProperties);
 /// <summary>
 /// Sends a PUT to '/api/automatedtestschedule/{id}'
 /// </summary>
 /// <param name="id">a path parameter (no description)</param>
 /// <param name="dto">a body parameter (no description)</param>
 /// <returns></returns>
 public static RestOperation UpdateAutomatedTestSchedule(string id, EditScheduleDTO dto)
 {
     return new RestOperation("PUT", "api/automatedtestschedule/" + id + "")
         {
             Content = dto
         };
 }