Twilio. Schemas. UsageRecordMonthly
(twilio v0.2.0)
Copy Markdown
Fields
account_sid- The SID of the Account that accrued the usage.api_version- The API version used to create the resource.as_of- Usage records up to date as of this timestamp, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMTcategory- The category of usage. For more information, see Usage Categories.count- The number of usage events, such as the number of calls.count_unit- The units in whichcountis measured, such ascallsfor calls ormessagesfor SMS.description- A plain-language description of the usage category.end_date- The last date for which usage is included in the UsageRecord. The date is specified in GMT and formatted asYYYY-MM-DD.price- The total price of the usage in the currency specified inprice_unitand associated with the account.price_unit- The currency in whichpriceis measured, in ISO 4127 format, such asusd,eur, andjpy.start_date- The first date for which usage is included in this UsageRecord. The date is specified in GMT and formatted asYYYY-MM-DD.subresource_uris- A list of related resources identified by their URIs. For more information, see List Subresources.uri- The URI of the resource, relative tohttps://api.twilio.com.usage- The amount used to bill usage and measured in units described inusage_unit.usage_unit- The units in whichusageis measured, such asminutesfor calls ormessagesfor SMS.
Summary
Functions
Decodes parsed JSON into this struct.
Types
@type t() :: %Twilio.Schemas.UsageRecordMonthly{ __extra__: %{optional(String.t()) => term()}, __present__: [atom()], account_sid: String.t() | nil, api_version: String.t() | nil, as_of: String.t() | nil, category: String.t() | nil, count: String.t() | nil, count_unit: String.t() | nil, description: String.t() | nil, end_date: String.t() | nil, price: number() | nil, price_unit: String.t() | nil, start_date: String.t() | nil, subresource_uris: map() | nil, uri: String.t() | nil, usage: String.t() | nil, usage_unit: String.t() | nil }