/// <summary>
 /// Gets a single folder, based on its Id.
 /// </summary>
 /// <remarks>
 /// Required permissions: (Units.View - Gets any folder) and (SubFolders.View -
 /// Gets folder only if user has SubFoldersView permission on it).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 public static FolderDto GetById(this IFolders operations, long id, string expand = default(string), string select = default(string))
 {
     return(operations.GetByIdAsync(id, expand, select).GetAwaiter().GetResult());
 }