Twilio.Schemas.Account (twilio v0.2.0)

Copy Markdown

Fields

  • auth_token - The authorization token for this account. This token should be kept a secret, so no sharing.
  • date_created - The date that this account was created, in GMT in RFC 2822 format
  • date_updated - The date that this account was last updated, in GMT in RFC 2822 format.
  • friendly_name - A human readable description of this account, up to 64 characters long. By default the FriendlyName is your email address.
  • owner_account_sid - The unique 34 character id that represents the parent of this account. The OwnerAccountSid of a parent account is it's own sid.
  • sid - A 34 character string that uniquely identifies this resource.
  • status
  • subresource_uris - A Map of various subresources available for the given Account Instance
  • type
  • uri - The URI for this resource, relative to https://api.twilio.com

Summary

Functions

Decodes parsed JSON into this struct.

Types

t()

@type t() :: %Twilio.Schemas.Account{
  __extra__: %{optional(String.t()) => term()},
  __present__: [atom()],
  auth_token: String.t() | nil,
  date_created: String.t() | nil,
  date_updated: String.t() | nil,
  friendly_name: String.t() | nil,
  owner_account_sid: String.t() | nil,
  sid: String.t() | nil,
  status: Twilio.Schemas.AccountEnumStatus.t() | nil,
  subresource_uris: map() | nil,
  type: Twilio.Schemas.AccountEnumType.t() | nil,
  uri: String.t() | nil
}

Functions

decode(json)

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

Decodes parsed JSON into this struct.