public KalturaContentDistributionSearchItem(Element node) throws KalturaApiException {
   super(node);
   NodeList childNodes = node.getChildNodes();
   for (int i = 0; i < childNodes.getLength(); i++) {
     Node aNode = childNodes.item(i);
     String nodeName = aNode.getNodeName();
     String txt = aNode.getTextContent();
     if (nodeName.equals("noDistributionProfiles")) {
       this.noDistributionProfiles = ParseUtils.parseBool(txt);
       continue;
     } else if (nodeName.equals("distributionProfileId")) {
       this.distributionProfileId = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("distributionSunStatus")) {
       this.distributionSunStatus =
           KalturaEntryDistributionSunStatus.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("entryDistributionFlag")) {
       this.entryDistributionFlag = KalturaEntryDistributionFlag.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("entryDistributionStatus")) {
       this.entryDistributionStatus = KalturaEntryDistributionStatus.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("hasEntryDistributionValidationErrors")) {
       this.hasEntryDistributionValidationErrors = ParseUtils.parseBool(txt);
       continue;
     } else if (nodeName.equals("entryDistributionValidationErrors")) {
       this.entryDistributionValidationErrors = ParseUtils.parseString(txt);
       continue;
     }
   }
 }
 public KalturaEntryDistribution(Element node) throws KalturaApiException {
   NodeList childNodes = node.getChildNodes();
   for (int i = 0; i < childNodes.getLength(); i++) {
     Node aNode = childNodes.item(i);
     String nodeName = aNode.getNodeName();
     String txt = aNode.getTextContent();
     if (nodeName.equals("id")) {
       this.id = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("createdAt")) {
       this.createdAt = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("updatedAt")) {
       this.updatedAt = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("submittedAt")) {
       this.submittedAt = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("entryId")) {
       this.entryId = ParseUtils.parseString(txt);
       continue;
     } else if (nodeName.equals("partnerId")) {
       this.partnerId = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("distributionProfileId")) {
       this.distributionProfileId = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("status")) {
       this.status = KalturaEntryDistributionStatus.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("sunStatus")) {
       this.sunStatus = KalturaEntryDistributionSunStatus.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("dirtyStatus")) {
       this.dirtyStatus = KalturaEntryDistributionFlag.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("thumbAssetIds")) {
       this.thumbAssetIds = ParseUtils.parseString(txt);
       continue;
     } else if (nodeName.equals("flavorAssetIds")) {
       this.flavorAssetIds = ParseUtils.parseString(txt);
       continue;
     } else if (nodeName.equals("assetIds")) {
       this.assetIds = ParseUtils.parseString(txt);
       continue;
     } else if (nodeName.equals("sunrise")) {
       this.sunrise = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("sunset")) {
       this.sunset = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("remoteId")) {
       this.remoteId = ParseUtils.parseString(txt);
       continue;
     } else if (nodeName.equals("plays")) {
       this.plays = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("views")) {
       this.views = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("validationErrors")) {
       this.validationErrors =
           ParseUtils.parseArray(KalturaDistributionValidationError.class, aNode);
       continue;
     } else if (nodeName.equals("errorType")) {
       this.errorType = KalturaBatchJobErrorTypes.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("errorNumber")) {
       this.errorNumber = ParseUtils.parseInt(txt);
       continue;
     } else if (nodeName.equals("errorDescription")) {
       this.errorDescription = ParseUtils.parseString(txt);
       continue;
     } else if (nodeName.equals("hasSubmitResultsLog")) {
       this.hasSubmitResultsLog = KalturaNullableBoolean.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("hasSubmitSentDataLog")) {
       this.hasSubmitSentDataLog = KalturaNullableBoolean.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("hasUpdateResultsLog")) {
       this.hasUpdateResultsLog = KalturaNullableBoolean.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("hasUpdateSentDataLog")) {
       this.hasUpdateSentDataLog = KalturaNullableBoolean.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("hasDeleteResultsLog")) {
       this.hasDeleteResultsLog = KalturaNullableBoolean.get(ParseUtils.parseInt(txt));
       continue;
     } else if (nodeName.equals("hasDeleteSentDataLog")) {
       this.hasDeleteSentDataLog = KalturaNullableBoolean.get(ParseUtils.parseInt(txt));
       continue;
     }
   }
 }