/// <summary>
 /// Get a release with id `release_id`. If `release_id` is `latest`, return the
 /// latest release that was distributed to the current user (from all the
 /// distribution groups).
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='releaseId'>
 /// The ID of the release, or `latest` to get the latest release from all the
 /// distribution groups assigned to the current user.
 /// </param>
 /// <param name='ownerName'>
 /// The name of the owner
 /// </param>
 /// <param name='appName'>
 /// The name of the application
 /// </param>
 /// <param name='udid'>
 /// when supplied, this call will also check if the given UDID is provisioned.
 /// Will be ignored for non-iOS platforms. The value will be returned in the
 /// property is_udid_provisioned.
 /// </param>
 public static object GetLatestByUser(this IReleases operations, string releaseId, string ownerName, string appName, string udid = default(string))
 {
     return(operations.GetLatestByUserAsync(releaseId, ownerName, appName, udid).GetAwaiter().GetResult());
 }