<s> """<STR_LIT>""" <EOL> LIST_ACCOUNTS_MASK = '''<STR_LIT>''' <EOL> ENDPOINT_MASK = '''<STR_LIT>''' <EOL> class ObjectStorageManager ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , client ) : <EOL> self . client = client <EOL> def list_accounts ( self ) : <EOL> """<STR_LIT>""" <EOL> _filter = { <EOL> '<STR_LIT>' : { '<STR_LIT>' : { '<STR_LIT>' : '<STR_LIT>' } } , <EOL> } <EOL> return self . client . call ( '<STR_LIT>' , '<STR_LIT>' , <EOL> mask = LIST_ACCOUNTS_MASK , <EOL> filter = _filter ) <EOL> def list_endpoints ( self ) : <EOL> """<STR_LIT>""" <EOL> _filter = { <EOL> '<STR_LIT>' : { '<STR_LIT>' : { '<STR_LIT>' : '<STR_LIT>' } } , <EOL> } <EOL> endpoints = [ ] <EOL> for node in self . client . call ( '<STR_LIT>' , '<STR_LIT>' , <EOL> mask = ENDPOINT_MASK , <EOL> limit = <NUM_LIT:1> , <EOL> filter = _filter ) [ '<STR_LIT>' ] : <EOL> endpoints . append ( { <EOL> '<STR_LIT>' : node [ '<STR_LIT>' ] , <EOL> '<STR_LIT>' : node [ '<STR_LIT>' ] , <EOL> '<STR_LIT>' : node [ '<STR_LIT>' ] , <EOL> } ) <EOL> return endpoints </s>
