public KalturaAnswerCuePoint(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("parentId")) { this.parentId = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("quizUserEntryId")) { this.quizUserEntryId = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("answerKey")) { this.answerKey = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("isCorrect")) { this.isCorrect = KalturaNullableBoolean.get(ParseUtils.parseInt(txt)); continue; } else if (nodeName.equals("correctAnswerKeys")) { this.correctAnswerKeys = ParseUtils.parseArray(KalturaString.class, aNode); continue; } else if (nodeName.equals("explanation")) { this.explanation = ParseUtils.parseString(txt); continue; } } }
public KalturaAnnotation(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("parentId")) { this.parentId = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("text")) { this.text = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("endTime")) { this.endTime = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("duration")) { this.duration = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("depth")) { this.depth = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("childrenCount")) { this.childrenCount = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("directChildrenCount")) { this.directChildrenCount = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("isPublic")) { this.isPublic = KalturaNullableBoolean.get(ParseUtils.parseInt(txt)); continue; } else if (nodeName.equals("searchableOnEntry")) { this.searchableOnEntry = KalturaNullableBoolean.get(ParseUtils.parseInt(txt)); continue; } } }
public KalturaAssetParams(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("partnerId")) { this.partnerId = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("name")) { this.name = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("systemName")) { this.systemName = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("description")) { this.description = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("createdAt")) { this.createdAt = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("isSystemDefault")) { this.isSystemDefault = KalturaNullableBoolean.get(ParseUtils.parseInt(txt)); continue; } else if (nodeName.equals("tags")) { this.tags = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("requiredPermissions")) { this.requiredPermissions = ParseUtils.parseArray(KalturaString.class, aNode); continue; } else if (nodeName.equals("sourceRemoteStorageProfileId")) { this.sourceRemoteStorageProfileId = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("remoteStorageProfileIds")) { this.remoteStorageProfileIds = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("mediaParserType")) { this.mediaParserType = KalturaMediaParserType.get(ParseUtils.parseString(txt)); continue; } else if (nodeName.equals("sourceAssetParamsIds")) { this.sourceAssetParamsIds = ParseUtils.parseString(txt); continue; } } }
public KalturaLiveChannel(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("playlistId")) { this.playlistId = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("repeat")) { this.repeat = KalturaNullableBoolean.get(ParseUtils.parseInt(txt)); continue; } } }
public KalturaGenericDistributionProviderBaseFilter(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("idEqual")) { this.idEqual = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("idIn")) { this.idIn = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("createdAtGreaterThanOrEqual")) { this.createdAtGreaterThanOrEqual = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("createdAtLessThanOrEqual")) { this.createdAtLessThanOrEqual = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("updatedAtGreaterThanOrEqual")) { this.updatedAtGreaterThanOrEqual = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("updatedAtLessThanOrEqual")) { this.updatedAtLessThanOrEqual = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("partnerIdEqual")) { this.partnerIdEqual = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("partnerIdIn")) { this.partnerIdIn = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("isDefaultEqual")) { this.isDefaultEqual = KalturaNullableBoolean.get(ParseUtils.parseInt(txt)); continue; } else if (nodeName.equals("isDefaultIn")) { this.isDefaultIn = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("statusEqual")) { this.statusEqual = KalturaGenericDistributionProviderStatus.get(ParseUtils.parseInt(txt)); continue; } else if (nodeName.equals("statusIn")) { this.statusIn = ParseUtils.parseString(txt); continue; } } }
public KalturaAnnotationBaseFilter(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("parentIdEqual")) { this.parentIdEqual = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("parentIdIn")) { this.parentIdIn = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("textLike")) { this.textLike = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("textMultiLikeOr")) { this.textMultiLikeOr = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("textMultiLikeAnd")) { this.textMultiLikeAnd = ParseUtils.parseString(txt); continue; } else if (nodeName.equals("endTimeGreaterThanOrEqual")) { this.endTimeGreaterThanOrEqual = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("endTimeLessThanOrEqual")) { this.endTimeLessThanOrEqual = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("durationGreaterThanOrEqual")) { this.durationGreaterThanOrEqual = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("durationLessThanOrEqual")) { this.durationLessThanOrEqual = ParseUtils.parseInt(txt); continue; } else if (nodeName.equals("isPublicEqual")) { this.isPublicEqual = KalturaNullableBoolean.get(ParseUtils.parseInt(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; } } }