def modify(self, args, domainId):
        
        body = {
            "name" : args.name,
            "comment" : args.comment,
            "ttl" : int(args.ttl),
            "data" : args.data,
            "priority" : args.priority                
        }
        url = '/domains/%s/records/%s' % (base.getid(domainId), base.getid(args.record_id))
        
        if hasattr(args, 'type'):
            if args.type == "PTR":
                url = '/rdns'
                body = {
                        "recordsList" : {
                                "records" : [ {
                                   "name" : args.name,
                                   "id" : args.record_id,
                                   "comment" : args.comment,
                                   "ttl" : int(args.ttl),
                                   "type" : args.type,
                                   "data" : args.data               
                                   } ]
                        },
                        "link" : {
                                  "content" : "",
                                  "href" : args.server_href,
                                  "rel" : "cloudServersOpenStack"
                        }
                }      

        return self._update(url, body, return_raw=False, response_key="")
The class labels used by this classifier.
dataset/ETHPy150Open kwminnick/rackspace-dns-cli/dnsclient/v1_0/records.py/RecordManager.modify--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/classify/scikitlearn.py/SklearnClassifier.labels