Twilio.Schemas.Queue (twilio v0.2.0)

Copy Markdown

Fields

  • account_sid - The SID of the Account that created this Queue resource.
  • average_wait_time - The average wait time in seconds of the members in this queue. This is calculated at the time of the request.
  • current_size - The number of calls currently in the queue.
  • date_created - The date and time in GMT that this resource was created specified in RFC 2822 format.
  • date_updated - The date and time in GMT that this resource was last updated, specified in RFC 2822 format.
  • friendly_name - A string that you assigned to describe this resource.
  • max_size - The maximum number of calls that can be in the queue. The default is 1000 and the maximum is 5000.
  • sid - The unique string that that we created to identify this Queue resource.
  • uri - The URI of this resource, relative to https://api.twilio.com.

Summary

Functions

Decodes parsed JSON into this struct.

Types

t()

@type t() :: %Twilio.Schemas.Queue{
  __extra__: %{optional(String.t()) => term()},
  __present__: [atom()],
  account_sid: String.t() | nil,
  average_wait_time: integer() | nil,
  current_size: integer() | nil,
  date_created: String.t() | nil,
  date_updated: String.t() | nil,
  friendly_name: String.t() | nil,
  max_size: integer() | nil,
  sid: String.t() | nil,
  uri: String.t() | nil
}

Functions

decode(json)

@spec decode(term()) :: t() | term()

Decodes parsed JSON into this struct.