/// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='agency'>
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='tag'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <long?> LatestGetAsync(this IApiV1ItemByAgencyByIdByTagVersions operations, string agency, System.Guid id, string tag, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.LatestGetWithHttpMessagesAsync(agency, id, tag, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='agency'>
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='tag'>
 /// </param>
 public static long?LatestGet(this IApiV1ItemByAgencyByIdByTagVersions operations, string agency, System.Guid id, string tag)
 {
     return(operations.LatestGetAsync(agency, id, tag).GetAwaiter().GetResult());
 }