/// <summary>
 /// Get a release with 'latest' for the given public group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='appSecret'>
 /// The secret of the target application
 /// </param>
 /// <param name='distributionGroupId'>
 /// the id for destination
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> GetLatestByPublicDistributionGroupAsync(this IReleases operations, string appSecret, string distributionGroupId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetLatestByPublicDistributionGroupWithHttpMessagesAsync(appSecret, distributionGroupId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }