/// <summary>
 /// Get a release with hash 'release_hash' or the 'latest' from all the
 /// distribution groups assigned to the current user.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='appSecret'>
 /// The secret of the target application
 /// </param>
 /// <param name='releaseHash'>
 /// The hash of the release or 'latest' to get the latest release from all the
 /// distribution groups assigned to the current user.
 /// </param>
 /// <param name='udid'>
 /// When passing `udid` in the query string, a provisioning check for the given
 /// device ID will be done. Will be ignored for non-iOS platforms.
 /// </param>
 public static object GetLatestByHash(this IReleases operations, string appSecret, string releaseHash, string udid = default(string))
 {
     return(operations.GetLatestByHashAsync(appSecret, releaseHash, udid).GetAwaiter().GetResult());
 }