Exemplo n.º 1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='skip'>
 /// </param>
 /// <param name='take'>
 /// </param>
 /// <param name='orderBy'>
 /// </param>
 /// <param name='orderByDesc'>
 /// </param>
 /// <param name='include'>
 /// </param>
 /// <param name='fields'>
 /// </param>
 /// <param name='meta'>
 /// </param>
 /// <param name='format'>
 /// Specifies response output format
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <QueryResponseRockstar> GetAsync(this IQueryRockstarsOperations operations, int?skip = default(int?), int?take = default(int?), string orderBy = default(string), string orderByDesc = default(string), string include = default(string), string fields = default(string), object meta = default(object), string format = "json", CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(skip, take, orderBy, orderByDesc, include, fields, meta, format, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemplo n.º 2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='skip'>
 /// </param>
 /// <param name='take'>
 /// </param>
 /// <param name='orderBy'>
 /// </param>
 /// <param name='orderByDesc'>
 /// </param>
 /// <param name='include'>
 /// </param>
 /// <param name='fields'>
 /// </param>
 /// <param name='meta'>
 /// </param>
 /// <param name='format'>
 /// Specifies response output format
 /// </param>
 public static QueryResponseRockstar Create(this IQueryRockstarsOperations operations, int?skip = default(int?), int?take = default(int?), string orderBy = default(string), string orderByDesc = default(string), string include = default(string), string fields = default(string), object meta = default(object), string format = "json")
 {
     return(operations.CreateAsync(skip, take, orderBy, orderByDesc, include, fields, meta, format).GetAwaiter().GetResult());
 }