コード例 #1
0
		/// <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;
						
		}
コード例 #2
0
 public PatchScheduleConfigurationDTO Clone(bool includeLocalProperties)
 {
     var c = new PatchScheduleConfigurationDTO
             {
                 Enabled = Enabled,
             };
     CopyExtraPropertiesToClone(c, includeLocalProperties);
     return c;
 }
コード例 #3
0
partial         void CopyExtraPropertiesToClone(PatchScheduleConfigurationDTO clone, bool includeLocalProperties);
コード例 #4
0
 /// <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
         };
 }