/// <summary>
 /// Sends a PATCH to '/api/externalsystemlink/{id}'
 /// </summary>
 /// <param name="id">a path parameter (no description)</param>
 /// <param name="model">a body parameter (no description)</param>
 /// <returns></returns>
 public static RestOperation PatchExternalSystemLink(string id, EditExternalSystemLink model)
 {
     return new RestOperation("PATCH", "api/externalsystemlink/" + id + "")
         {
             Content = model
         };
 }
 public EditExternalSystemLink Clone(bool includeLocalProperties)
 {
     var c = new EditExternalSystemLink
             {
                 Enabled = Enabled,
                 Id = Id,
             };
     CopyExtraPropertiesToClone(c, includeLocalProperties);
     return c;
 }
partial         void CopyExtraPropertiesToClone(EditExternalSystemLink clone, bool includeLocalProperties);
		/// <summary>
        /// Sends a PATCH to '/api/externalsystemlink/{id}'  (asynchronous)
        /// </summary>
        /// <param name="id">a path parameter (no description)</param>
        /// <param name="model">a body parameter (no description)</param>
        /// <returns></returns>
        public virtual async Task<ExternalSystemLink> PatchExternalSystemLinkAsync(string id, EditExternalSystemLink model)
        {
            var operation = Operations.PatchExternalSystemLink(id, model);
			var response = await _client.SendAsync(operation.BuildRequest(_client));
			EnsureSuccess(response);
			var result = await response.Content.ReadAsAsync<ExternalSystemLink>();
			return result;
						
		}