Twilio::AddressesApi
Constants
Constructors
Instance methods
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@required @param account_sid [String?] The SID of the Account that will be responsible for the new Address resource.
@required @param city [String?] The city of the new address.
@required @param customer_name [String?] The name to associate with the new address.
@required @param iso_country [String?] The ISO country code of the new address.
@required @param postal_code [String?] The postal code of the new address.
@required @param region [String?] The state or region of the new address.
@required @param street [String?] The number and street address of the new address.
@optional @param auto_correct_address [Bool?] Whether we should automatically correct the address. Can be: true or false and the default is true. If empty or true, we will correct the address you provide if necessary. If false, we won't alter the address you provide.
@optional @param emergency_enabled [Bool?] Whether to enable emergency calling on the new address. Can be: true or false.
@optional @param friendly_name [String?] A descriptive string that you create to describe the new address. It can be up to 64 characters long.
@optional @param street_secondary [String?] The additional number and street address of the address.
@return [Twilio::Address]
@required @param account_sid [String?] The SID of the Account that will be responsible for the new Address resource.
@required @param city [String?] The city of the new address.
@required @param customer_name [String?] The name to associate with the new address.
@required @param iso_country [String?] The ISO country code of the new address.
@required @param postal_code [String?] The postal code of the new address.
@required @param region [String?] The state or region of the new address.
@required @param street [String?] The number and street address of the new address.
@optional @param auto_correct_address [Bool?] Whether we should automatically correct the address. Can be: true or false and the default is true. If empty or true, we will correct the address you provide if necessary. If false, we won't alter the address you provide.
@optional @param emergency_enabled [Bool?] Whether to enable emergency calling on the new address. Can be: true or false.
@optional @param friendly_name [String?] A descriptive string that you create to describe the new address. It can be up to 64 characters long.
@optional @param street_secondary [String?] The additional number and street address of the address.
@return nil
@required @param account_sid [String?] The SID of the Account that will be responsible for the new Address resource.
@required @param city [String?] The city of the new address.
@required @param customer_name [String?] The name to associate with the new address.
@required @param iso_country [String?] The ISO country code of the new address.
@required @param postal_code [String?] The postal code of the new address.
@required @param region [String?] The state or region of the new address.
@required @param street [String?] The number and street address of the new address.
@optional @param auto_correct_address [Bool?] Whether we should automatically correct the address. Can be: true or false and the default is true. If empty or true, we will correct the address you provide if necessary. If false, we won't alter the address you provide.
@optional @param emergency_enabled [Bool?] Whether to enable emergency calling on the new address. Can be: true or false.
@optional @param friendly_name [String?] A descriptive string that you create to describe the new address. It can be up to 64 characters long.
@optional @param street_secondary [String?] The additional number and street address of the address.
@return [Tuple(Twilio::Address, Integer, Hash)] Twilio::Address, response status code and response headers
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Address resource to delete. @return [Nil]
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Address resource to delete. @return nil
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Address resource to delete. @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Address resource to fetch. @return [Twilio::Address]
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Address resource to fetch. @return nil
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Address resource to fetch. @return [Tuple(Twilio::Address, Integer, Hash)] Twilio::Address, response status code and response headers
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to read.
@optional @param customer_name [String?] The customer_name of the Address resources to read.
@optional @param friendly_name [String?] The string that identifies the Address resources to read.
@optional @param iso_country [String?] The ISO country code of the Address resources to read.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Twilio::ListAddressResponse]
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to read.
@optional @param customer_name [String?] The customer_name of the Address resources to read.
@optional @param friendly_name [String?] The string that identifies the Address resources to read.
@optional @param iso_country [String?] The ISO country code of the Address resources to read.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return nil
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to read.
@optional @param customer_name [String?] The customer_name of the Address resources to read.
@optional @param friendly_name [String?] The string that identifies the Address resources to read.
@optional @param iso_country [String?] The ISO country code of the Address resources to read.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Tuple(Twilio::ListAddressResponse, Integer, Hash)] Twilio::ListAddressResponse, response status code and response headers
@required @param account_sid [String?] The SID of the Account that created the DependentPhoneNumber resources to read. @required @param address_sid [String?] The SID of the Address resource associated with the phone number. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Twilio::ListDependentPhoneNumberResponse]
@required @param account_sid [String?] The SID of the Account that created the DependentPhoneNumber resources to read. @required @param address_sid [String?] The SID of the Address resource associated with the phone number. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return nil
@required @param account_sid [String?] The SID of the Account that created the DependentPhoneNumber resources to read. @required @param address_sid [String?] The SID of the Address resource associated with the phone number. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Tuple(Twilio::ListDependentPhoneNumberResponse, Integer, Hash)] Twilio::ListDependentPhoneNumberResponse, response status code and response headers
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to update.
@required @param sid [String?] The Twilio-provided string that uniquely identifies the Address resource to update.
@optional @param auto_correct_address [Bool?] Whether we should automatically correct the address. Can be: true or false and the default is true. If empty or true, we will correct the address you provide if necessary. If false, we won't alter the address you provide.
@optional @param city [String?] The city of the address.
@optional @param customer_name [String?] The name to associate with the address.
@optional @param emergency_enabled [Bool?] Whether to enable emergency calling on the address. Can be: true or false.
@optional @param friendly_name [String?] A descriptive string that you create to describe the address. It can be up to 64 characters long.
@optional @param postal_code [String?] The postal code of the address.
@optional @param region [String?] The state or region of the address.
@optional @param street [String?] The number and street address of the address.
@optional @param street_secondary [String?] The additional number and street address of the address.
@return [Twilio::Address]
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to update.
@required @param sid [String?] The Twilio-provided string that uniquely identifies the Address resource to update.
@optional @param auto_correct_address [Bool?] Whether we should automatically correct the address. Can be: true or false and the default is true. If empty or true, we will correct the address you provide if necessary. If false, we won't alter the address you provide.
@optional @param city [String?] The city of the address.
@optional @param customer_name [String?] The name to associate with the address.
@optional @param emergency_enabled [Bool?] Whether to enable emergency calling on the address. Can be: true or false.
@optional @param friendly_name [String?] A descriptive string that you create to describe the address. It can be up to 64 characters long.
@optional @param postal_code [String?] The postal code of the address.
@optional @param region [String?] The state or region of the address.
@optional @param street [String?] The number and street address of the address.
@optional @param street_secondary [String?] The additional number and street address of the address.
@return nil
@required @param account_sid [String?] The SID of the Account that is responsible for the Address resource to update.
@required @param sid [String?] The Twilio-provided string that uniquely identifies the Address resource to update.
@optional @param auto_correct_address [Bool?] Whether we should automatically correct the address. Can be: true or false and the default is true. If empty or true, we will correct the address you provide if necessary. If false, we won't alter the address you provide.
@optional @param city [String?] The city of the address.
@optional @param customer_name [String?] The name to associate with the address.
@optional @param emergency_enabled [Bool?] Whether to enable emergency calling on the address. Can be: true or false.
@optional @param friendly_name [String?] A descriptive string that you create to describe the address. It can be up to 64 characters long.
@optional @param postal_code [String?] The postal code of the address.
@optional @param region [String?] The state or region of the address.
@optional @param street [String?] The number and street address of the address.
@optional @param street_secondary [String?] The additional number and street address of the address.
@return [Tuple(Twilio::Address, Integer, Hash)] Twilio::Address, response status code and response headers