/// <summary>
 /// Edits a message template.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='messageTemplateDto'>
 /// The entity to put
 /// </param>
 public static MessageTemplateDto PutById(this IMessageTemplates operations, string id, MessageTemplateDto messageTemplateDto)
 {
     return(operations.PutByIdAsync(id, messageTemplateDto).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Edits a message template.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Administration or
 /// Administration.Write.
 ///
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='key'>
 /// Message template name
 /// </param>
 /// <param name='body'>
 /// Message template entity
 /// </param>
 public static MessageTemplateDto PutById(this IMessageTemplates operations, string key, MessageTemplateDto body = default(MessageTemplateDto))
 {
     return(operations.PutByIdAsync(key, body).GetAwaiter().GetResult());
 }