class

Twilio::SubAccountsApi

Inherits Reference / Object

Constants

FETCH_ACCOUNT_MAX_LENGTH_FOR_SID = 34
FETCH_ACCOUNT_MIN_LENGTH_FOR_SID = 34
FETCH_ACCOUNT_PATTERN_FOR_SID = /^AC[0-9a-fA-F]{32}$/
UPDATE_ACCOUNT_MAX_LENGTH_FOR_SID = 34
UPDATE_ACCOUNT_MIN_LENGTH_FOR_SID = 34
UPDATE_ACCOUNT_PATTERN_FOR_SID = /^AC[0-9a-fA-F]{32}$/

Constructors

new(api_client : Twilio::ApiClient = ApiClient.default)
Source

Instance methods

account_sid
Source
account_sid=(account_sid : String)
Source
api_client
Source
api_client=(api_client : ApiClient)
Source
build_api_request_for_fetch_account(*, sid : String | Nil = nil) : Crest::Request

@return Crest::Request

Source
build_api_request_for_update_account(*, sid : String | Nil = nil, friendly_name : String | Nil = nil, status : Twilio::AccountEnumStatus | Nil = nil) : Crest::Request

@return Crest::Request

Source
client_side_validation?(*args, **options)
Source
client_side_validation?(*args, **options, &)
Source
debugging?(*args, **options)
Source
debugging?(*args, **options, &)
Source
fetch_account(*, sid : String | Nil = nil) : Twilio::Account

Fetch the account specified by the provided Account Sid @required @param sid [String?] The Account Sid that uniquely identifies the account to fetch @return [Twilio::Account]

Source
fetch_account(*, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil

Fetch the account specified by the provided Account Sid @required @param sid [String?] The Account Sid that uniquely identifies the account to fetch @return nil

Source
fetch_account_with_http_info(*, sid : String | Nil = nil) : Tuple(Twilio::Account, Int32, Hash(String, Array(String) | String))

Fetch the account specified by the provided Account Sid @required @param sid [String?] The Account Sid that uniquely identifies the account to fetch @return [Tuple(Twilio::Account, Integer, Hash)] Twilio::Account, response status code and response headers

Source
update_account(*, sid : String | Nil = nil, friendly_name : String | Nil = nil, status : Twilio::AccountEnumStatus | Nil = nil) : Twilio::Account

Modify the properties of a given Account @required @param sid [String?] The Account Sid that uniquely identifies the account to update @optional @param friendly_name [String?] Update the human-readable description of this Account @optional @param status [Twilio::AccountEnumStatus?] @return [Twilio::Account]

Source
update_account(*, sid : String | Nil = nil, friendly_name : String | Nil = nil, status : Twilio::AccountEnumStatus | Nil = nil, &block : Crest::Response -> ) : Nil

Modify the properties of a given Account @required @param sid [String?] The Account Sid that uniquely identifies the account to update @optional @param friendly_name [String?] Update the human-readable description of this Account @optional @param status [Twilio::AccountEnumStatus?] @return nil

Source
update_account_with_http_info(*, sid : String | Nil = nil, friendly_name : String | Nil = nil, status : Twilio::AccountEnumStatus | Nil = nil) : Tuple(Twilio::Account, Int32, Hash(String, Array(String) | String))

Modify the properties of a given Account @required @param sid [String?] The Account Sid that uniquely identifies the account to update @optional @param friendly_name [String?] Update the human-readable description of this Account @optional @param status [Twilio::AccountEnumStatus?] @return [Tuple(Twilio::Account, Integer, Hash)] Twilio::Account, response status code and response headers

Source