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)); }
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() } })); }
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))); }
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); }