/// <summary>
 /// Gets information about client traffic
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='clientId'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> GetGaUserTrafficAsync(this IGoogleAnalyticsWrapperAPI operations, string clientId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetGaUserTrafficWithHttpMessagesAsync(clientId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Tracks trade fee as a transaction in GA
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ErrorResponse> TrackTradeAsync(this IGoogleAnalyticsWrapperAPI operations, TransactionModel model = default(TransactionModel), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.TrackTradeWithHttpMessagesAsync(model, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Tracks withdraw / deposit
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ErrorResponse> WithdrawDepositEventAsync(this IGoogleAnalyticsWrapperAPI operations, WithdrawDepositEventModel model = default(WithdrawDepositEventModel), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.WithdrawDepositEventWithHttpMessagesAsync(model, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Checks service is alive
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> IsAliveAsync(this IGoogleAnalyticsWrapperAPI operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.IsAliveWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Adds client traffic
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ErrorResponse> AddGaUserTrafficAsync(this IGoogleAnalyticsWrapperAPI operations, GaTrafficModel model = default(GaTrafficModel), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.AddGaUserTrafficWithHttpMessagesAsync(model, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Adds client traffic
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 public static ErrorResponse AddGaUserTraffic(this IGoogleAnalyticsWrapperAPI operations, GaTrafficModel model = default(GaTrafficModel))
 {
     return(operations.AddGaUserTrafficAsync(model).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets information about client traffic
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='clientId'>
 /// </param>
 public static object GetGaUserTraffic(this IGoogleAnalyticsWrapperAPI operations, string clientId)
 {
     return(operations.GetGaUserTrafficAsync(clientId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Tracks trade fee as a transaction in GA
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 public static ErrorResponse TrackTrade(this IGoogleAnalyticsWrapperAPI operations, TransactionModel model = default(TransactionModel))
 {
     return(operations.TrackTradeAsync(model).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Tracks withdraw / deposit
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 public static ErrorResponse WithdrawDepositEvent(this IGoogleAnalyticsWrapperAPI operations, WithdrawDepositEventModel model = default(WithdrawDepositEventModel))
 {
     return(operations.WithdrawDepositEventAsync(model).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Tracks margin order change
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// </param>
 public static ErrorResponse MtOrderCreatedEvent(this IGoogleAnalyticsWrapperAPI operations, TrackEventModel model = default(TrackEventModel))
 {
     return(operations.MtOrderCreatedEventAsync(model).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Checks service is alive
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static object IsAlive(this IGoogleAnalyticsWrapperAPI operations)
 {
     return(operations.IsAliveAsync().GetAwaiter().GetResult());
 }