def getChanges(self):
        """Get all :class:`rtcclient.models.Change` objects in this changeset

        :return: a :class:`list` contains all the
            :class:`rtcclient.models.Change` objects
        :rtype: list
        """

        identifier = self.url.split("/")[-1]
        resource_url = "/".join(["%s" % self.rtc_obj.url,
                                 "resource/itemOid",
                                 "com.ibm.team.scm.ChangeSet",
                                 "%s?_mediaType=text/xml" % identifier])
        resp = self.get(resource_url,
                        verify=False,
                        proxies=self.rtc_obj.proxies,
                        headers=self.rtc_obj.headers)
        raw_data = xmltodict.parse(resp.content).get("scm:ChangeSet")
        common_changes = dict()
        changes = raw_data.get("changes")
        for (key, value) in raw_data.items():
            if key.startswith("@"):
                continue
            if "changes" != key:
                common_changes[key] = value
        return self._handle_changes(changes, common_changes)
def getChanges ( self ) : identifier = self . url . split ( "/" ) [ - 1 ] resource_url = "/" . join ( [ "%s" % self . rtc_obj . url , "resource/itemOid" , "com.ibm.team.scm.ChangeSet" , "%s?_mediaType=text/xml" % identifier ] ) resp = self . get ( resource_url , verify = False , proxies = self . rtc_obj . proxies , headers = self . rtc_obj . headers ) raw_data = xmltodict . parse ( resp . content ) . get ( "scm:ChangeSet" ) common_changes = dict ( ) changes = raw_data . get ( "changes" ) for ( key , value ) in raw_data . items ( ) : if key . startswith ( "@" ) : continue if "changes" != key : common_changes [ key ] = value return self . _handle_changes ( changes , common_changes )
Get all :class:`rtcclient.models.Change` objects in this changeset

        :return: a :class:`list` contains all the
            :class:`rtcclient.models.Change` objects
        :rtype: list