<s> class InstanceState ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , load_balancer = None , description = None , <EOL> state = None , instance_id = None , reason_code = None ) : <EOL> """<STR_LIT>""" <EOL> self . load_balancer = load_balancer <EOL> self . description = description <EOL> self . state = state <EOL> self . instance_id = instance_id <EOL> self . reason_code = reason_code <EOL> def __repr__ ( self ) : <EOL> return '<STR_LIT>' % ( self . instance_id , self . state ) <EOL> def startElement ( self , name , attrs , connection ) : <EOL> return None <EOL> def endElement ( self , name , value , connection ) : <EOL> if name == '<STR_LIT>' : <EOL> self . description = value <EOL> elif name == '<STR_LIT>' : <EOL> self . state = value <EOL> elif name == '<STR_LIT>' : <EOL> self . instance_id = value <EOL> elif name == '<STR_LIT>' : <EOL> self . reason_code = value <EOL> else : <EOL> setattr ( self , name , value ) </s>
