/// <summary>
        /// Sends a PUT to '/api/automatedtestschedule/{scheduleId}/schedule/{scheduleConfigId}'  (asynchronous)
        /// </summary>
        /// <param name="scheduleId">a path parameter (no description)</param>
        /// <param name="scheduleConfigId">a path parameter (no description)</param>
        /// <param name="model">a body parameter (no description)</param>
        /// <returns></returns>
        public virtual async Task<AutomatedTestingScheduleInfo> UpdateAutomatedTestScheduleScheduleConfigurationAsync(string scheduleId, string scheduleConfigId, CreateOrUpdateAutomatedTestingScheduleInfo model)
        {
            var operation = Operations.UpdateAutomatedTestScheduleScheduleConfiguration(scheduleId, scheduleConfigId, model);
			var response = await _client.SendAsync(operation.BuildRequest(_client));
			EnsureSuccess(response);
			var result = await response.Content.ReadAsAsync<AutomatedTestingScheduleInfo>();
			return result;
						
		}
        /// <summary>
        /// Sends a PATCH to '/api/automatedtestschedule/{scheduleId}/schedule/{scheduleConfigId}'
        /// </summary>
        /// <param name="scheduleId">a path parameter (no description)</param>
        /// <param name="scheduleConfigId">a path parameter (no description)</param>
        /// <param name="model">a body parameter (no description)</param>
        /// <returns></returns>
        public virtual AutomatedTestingScheduleInfo PatchAutomatedTestScheduleScheduleConfiguration(string scheduleId, string scheduleConfigId, CreateOrUpdateAutomatedTestingScheduleInfo model)
        {
            var operation = Operations.PatchAutomatedTestScheduleScheduleConfiguration(scheduleId, scheduleConfigId, model);
			var response = _client.SendAsync(operation.BuildRequest(_client)).Result;
			EnsureSuccess(response);
			var result = response.Content.ReadAsAsync<AutomatedTestingScheduleInfo>().Result;
			return result;
			
		}
 public CreateOrUpdateAutomatedTestingScheduleInfo Clone(bool includeLocalProperties)
 {
     var c = new CreateOrUpdateAutomatedTestingScheduleInfo
             {
                 Configuration = Configuration,
                 Enabled = Enabled,
                 Id = Id,
                 ScheduleId = ScheduleId,
             };
     CopyExtraPropertiesToClone(c, includeLocalProperties);
     return c;
 }
partial         void CopyExtraPropertiesToClone(CreateOrUpdateAutomatedTestingScheduleInfo clone, bool includeLocalProperties);
 /// <summary>
 /// Sends a PUT to '/api/automatedtestschedule/{scheduleId}/schedule/{scheduleConfigId}'
 /// </summary>
 /// <param name="scheduleId">a path parameter (no description)</param>
 /// <param name="scheduleConfigId">a path parameter (no description)</param>
 /// <param name="model">a body parameter (no description)</param>
 /// <returns></returns>
 public static RestOperation UpdateAutomatedTestScheduleScheduleConfiguration(string scheduleId, string scheduleConfigId, CreateOrUpdateAutomatedTestingScheduleInfo model)
 {
     return new RestOperation("PUT", "api/automatedtestschedule/" + scheduleId + "/schedule/" + scheduleConfigId + "")
         {
             Content = model
         };
 }