class Twilio::SubAccountsApi
- Twilio::SubAccountsApi
- Reference
- Object
Defined in:
twilio/api/sub_accounts_api.crConstant Summary
-
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
Instance Method Summary
- #account_sid : String
- #account_sid=(account_sid : String)
- #api_client : ApiClient
- #api_client=(api_client : ApiClient)
-
#build_api_request_for_fetch_account(*, sid : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#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
- #client_side_validation?(*args, **options)
- #client_side_validation?(*args, **options, &)
- #debugging?(*args, **options)
- #debugging?(*args, **options, &)
-
#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]
-
#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
-
#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
-
#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]
-
#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
-
#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
Constructor Detail
Instance Method Detail
@return Crest::Request
@return Crest::Request
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]
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
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
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]
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
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