/// <summary> /// Returns the SMS Log for the given Subscription Id /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// </param> /// <param name='take'> /// </param> /// <param name='skip'> /// </param> /// <param name='messageId'> /// </param> /// <param name='destination'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <SmsCdrEntry> > GetSmsLogAsync(this ISMS operations, string subscriptionId, int?take = default(int?), int?skip = default(int?), string messageId = default(string), string destination = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetSmsLogWithHttpMessagesAsync(subscriptionId, take, skip, messageId, destination, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }