/// <summary> /// Sends a PATCH to '/api/automatedtestschedule/{scheduleId}/importconfiguration/{configId}' (asynchronous) /// </summary> /// <param name="scheduleId">a path parameter (no description)</param> /// <param name="configId">a path parameter (no description)</param> /// <param name="dto">a body parameter (no description)</param> /// <returns></returns> public virtual async Task<ScheduleImportConfiguration> PatchConfigurationForAutomatedTestScheduleAsync(string scheduleId, string configId, PatchScheduleConfigurationDTO dto) { var operation = Operations.PatchConfigurationForAutomatedTestSchedule(scheduleId, configId, dto); var response = await _client.SendAsync(operation.BuildRequest(_client)); EnsureSuccess(response); var result = await response.Content.ReadAsAsync<ScheduleImportConfiguration>(); return result; }
public PatchScheduleConfigurationDTO Clone(bool includeLocalProperties) { var c = new PatchScheduleConfigurationDTO { Enabled = Enabled, }; CopyExtraPropertiesToClone(c, includeLocalProperties); return c; }
partial void CopyExtraPropertiesToClone(PatchScheduleConfigurationDTO clone, bool includeLocalProperties);
/// <summary> /// Sends a PATCH to '/api/automatedtestschedule/{scheduleId}/importconfiguration/{configId}' /// </summary> /// <param name="scheduleId">a path parameter (no description)</param> /// <param name="configId">a path parameter (no description)</param> /// <param name="dto">a body parameter (no description)</param> /// <returns></returns> public static RestOperation PatchConfigurationForAutomatedTestSchedule(string scheduleId, string configId, PatchScheduleConfigurationDTO dto) { return new RestOperation("PATCH", "api/automatedtestschedule/" + scheduleId + "/importconfiguration/" + configId + "") { Content = dto }; }