@classmethod
    def _get_attributes(cls):
        if not (cls.__dict__ in '_ATTRIBUTES'):
            cls._ATTRIBUTES = {
                'id': ROAttr(),
                'name': ROAttr(),
                'startTime': ROAttr(datetime.datetime),
                'endTime': ROAttr(datetime.datetime),
                'active': ROAttr(),
                'success': ROAttr(),
                'resultMessage': ROAttr(),
                'clusterRef': ROAttr(ApiClusterRef),
                'serviceRef': ROAttr(ApiServiceRef),
                'roleRef': ROAttr(ApiRoleRef),
                'hostRef': ROAttr(ApiHostRef),
                'children': ROAttr(ApiCommand, is_api_list=True),
                'parent': ROAttr(ApiCommand),
                'resultDataUrl': ROAttr(),
            }
        return cls._ATTRIBUTES
dataset/ETHPy150Open openstack/sahara/sahara/plugins/cdh/client/types.py/ApiCommand._get_attributes/swapped operands of `in`