def dump(self, depth, gentext):
        sys.stdout.write('\n')
Return dictionary representing the Resource for REST API.
dataset/ETHPy150Open erkyrath/tworld/lib/twcommon/gentext.py/GenNodeClass.dump--crossover with--dataset/ETHPy150Open openstack/sahara/sahara/conductor/resource.py/Resource.to_dict