1 from PLC.Faults import *
2 from PLC.Parameter import Parameter
3 from PLC.Table import Row, Table
7 Representation of a row in the addresses table. To use, instantiate
12 'address_id': Parameter(int, "Address identifier"),
13 'line1': Parameter(str, "Address line 1"),
14 'line2': Parameter(str, "Address line 2"),
15 'line3': Parameter(str, "Address line 3"),
16 'city': Parameter(str, "City"),
17 'state': Parameter(str, "State or province"),
18 'postalcode': Parameter(str, "Postal code"),
19 'country': Parameter(str, "Country"),
20 'address_type': Parameter(str, "Address type"),
23 def __init__(self, api, fields):
27 def sync(self, commit = True):
31 def delete(self, commit = True):
35 class Addresses(Table):
37 Representation of row(s) from the addresses table in the
41 def __init__(self, api, address_id_list = None):