Account usage statistics returned by GET /mail/stats. Includes billing-cycle usage totals (for cost calculation) as well as time-windowed sent/received counts and volume breakdowns by IP, destination, and source address.
| Name | Type | Description | Notes |
|---|---|---|---|
| time | str | The time window these `received`, `sent`, and `volume` statistics cover. | [optional] [default to '1h'] |
| usage | int | Total messages accepted during the current billing cycle. Used to calculate the `cost` value. | [optional] |
| currency | str | The ISO 4217 currency code for this account (e.g. `USD`). | [optional] |
| cost | float | Estimated cost for the current billing cycle combining the base plan price and per-email charges ($0.20/1000 emails). | [optional] |
| received | int | Count of messages accepted by the relay within the selected `time` window. Includes messages still in queue. | [optional] |
| sent | int | Count of messages successfully delivered to the destination MX within the selected `time` window. Will be ≤ `received`. | [optional] |
| volume | MailStatsVolume | [optional] |
from openapi_client.models.mail_stats_type import MailStatsType
# TODO update the JSON string below
json = "{}"
# create an instance of MailStatsType from a JSON string
mail_stats_type_instance = MailStatsType.from_json(json)
# print the JSON string representation of the object
print(MailStatsType.to_json())
# convert the object into a dict
mail_stats_type_dict = mail_stats_type_instance.to_dict()
# create an instance of MailStatsType from a dict
mail_stats_type_from_dict = MailStatsType.from_dict(mail_stats_type_dict)