Exemple #1
0
 public RateLimited <Statistics> Statistics(string clientId, Guid?smartEmailId = null, string @group = null, DateTime?from = null, DateTime?to = null, DisplayedTimeZone timezone = DisplayedTimeZone.Client)
 {
     return(statistics.Statistics(clientId, smartEmailId, @group, from, to, timezone));
 }
Exemple #2
0
 private NameValueCollection CreateQueryString(Guid?smartEmailId, string @group, DateTime?from, DateTime?to, DisplayedTimeZone timezone, string clientId = null)
 {
     return(this.CreateQueryString(
                clientId,
                query: new NameValueCollection
     {
         { "smartemailid", smartEmailId.Encode() },
         { "group", @group.Encode() },
         { "from", from.EncodeIso8601DateOnly() },
         { "to", to.EncodeIso8601DateOnly() },
         { "timezone", timezone.Encode() }
     }));
 }
Exemple #3
0
 public RateLimited <Statistics> Statistics(Guid?smartEmailId = null, string @group = null, DateTime?from = null, DateTime?to = null, DisplayedTimeZone timezone = DisplayedTimeZone.Client)
 {
     return(Statistics(CreateQueryString(smartEmailId, @group, from, to, timezone)));
 }
Exemple #4
0
        public RateLimited <Statistics> Statistics(string clientId, Guid?smartEmailId = null, string @group = null, DateTime?from = null, DateTime?to = null, DisplayedTimeZone timezone = DisplayedTimeZone.Client)
        {
            if (clientId == null)
            {
                throw new ArgumentNullException("clientId");
            }

            return(Statistics(CreateQueryString(smartEmailId, @group, from, to, timezone, clientId)));
        }
 public RateLimited<Statistics> Statistics(string clientId, Guid? smartEmailId = null, string @group = null, DateTime? from = null, DateTime? to = null, DisplayedTimeZone timezone = DisplayedTimeZone.Client)
 {
     return statistics.Statistics(clientId, smartEmailId, @group, from, to, timezone);
 }