@@ -37,7 +37,8 @@ def __init__(self, version, account_sid):
3737 self ._uri = '/Accounts/{account_sid}/Addresses.json' .format (** self ._solution )
3838
3939 def create (self , customer_name , street , city , region , postal_code , iso_country ,
40- friendly_name = values .unset , emergency_enabled = values .unset ):
40+ friendly_name = values .unset , emergency_enabled = values .unset ,
41+ auto_correct_address = values .unset ):
4142 """
4243 Create a new AddressInstance
4344
@@ -49,6 +50,7 @@ def create(self, customer_name, street, city, region, postal_code, iso_country,
4950 :param unicode iso_country: The iso_country
5051 :param unicode friendly_name: The friendly_name
5152 :param bool emergency_enabled: The emergency_enabled
53+ :param bool auto_correct_address: The auto_correct_address
5254
5355 :returns: Newly created AddressInstance
5456 :rtype: twilio.rest.api.v2010.account.address.AddressInstance
@@ -62,6 +64,7 @@ def create(self, customer_name, street, city, region, postal_code, iso_country,
6264 'IsoCountry' : iso_country ,
6365 'FriendlyName' : friendly_name ,
6466 'EmergencyEnabled' : emergency_enabled ,
67+ 'AutoCorrectAddress' : auto_correct_address ,
6568 })
6669
6770 payload = self ._version .create (
@@ -330,7 +333,8 @@ def fetch(self):
330333
331334 def update (self , friendly_name = values .unset , customer_name = values .unset ,
332335 street = values .unset , city = values .unset , region = values .unset ,
333- postal_code = values .unset , emergency_enabled = values .unset ):
336+ postal_code = values .unset , emergency_enabled = values .unset ,
337+ auto_correct_address = values .unset ):
334338 """
335339 Update the AddressInstance
336340
@@ -341,6 +345,7 @@ def update(self, friendly_name=values.unset, customer_name=values.unset,
341345 :param unicode region: The region
342346 :param unicode postal_code: The postal_code
343347 :param bool emergency_enabled: The emergency_enabled
348+ :param bool auto_correct_address: The auto_correct_address
344349
345350 :returns: Updated AddressInstance
346351 :rtype: twilio.rest.api.v2010.account.address.AddressInstance
@@ -353,6 +358,7 @@ def update(self, friendly_name=values.unset, customer_name=values.unset,
353358 'Region' : region ,
354359 'PostalCode' : postal_code ,
355360 'EmergencyEnabled' : emergency_enabled ,
361+ 'AutoCorrectAddress' : auto_correct_address ,
356362 })
357363
358364 payload = self ._version .update (
@@ -581,7 +587,8 @@ def fetch(self):
581587
582588 def update (self , friendly_name = values .unset , customer_name = values .unset ,
583589 street = values .unset , city = values .unset , region = values .unset ,
584- postal_code = values .unset , emergency_enabled = values .unset ):
590+ postal_code = values .unset , emergency_enabled = values .unset ,
591+ auto_correct_address = values .unset ):
585592 """
586593 Update the AddressInstance
587594
@@ -592,6 +599,7 @@ def update(self, friendly_name=values.unset, customer_name=values.unset,
592599 :param unicode region: The region
593600 :param unicode postal_code: The postal_code
594601 :param bool emergency_enabled: The emergency_enabled
602+ :param bool auto_correct_address: The auto_correct_address
595603
596604 :returns: Updated AddressInstance
597605 :rtype: twilio.rest.api.v2010.account.address.AddressInstance
@@ -604,6 +612,7 @@ def update(self, friendly_name=values.unset, customer_name=values.unset,
604612 region = region ,
605613 postal_code = postal_code ,
606614 emergency_enabled = emergency_enabled ,
615+ auto_correct_address = auto_correct_address ,
607616 )
608617
609618 @property
0 commit comments