/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deckId'> /// </param> /// <param name='xFields'> /// An optional fields mask /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Deck> DeckMethodAsync(this IGet operations, int deckId, string xFields = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeckMethodWithHttpMessagesAsync(deckId, xFields, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }