<s> import logging <EOL> from st2client . models import core <EOL> LOG = logging . getLogger ( __name__ ) <EOL> class KeyValuePair ( core . Resource ) : <EOL> _alias = '<STR_LIT>' <EOL> _display_name = '<STR_LIT>' <EOL> _plural = '<STR_LIT>' <EOL> _plural_display_name = '<STR_LIT>' <EOL> _repr_attributes = [ '<STR_LIT:name>' , '<STR_LIT:value>' ] <EOL> def get_id ( self ) : <EOL> return self . name <EOL> def set_id ( self , value ) : <EOL> self . name = value <EOL> id = property ( get_id , set_id ) </s>
