public KalturaAdCuePoint(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "protocolType": this.ProtocolType = (KalturaAdProtocolType)KalturaStringEnum.Parse(typeof(KalturaAdProtocolType), txt); continue; case "sourceUrl": this.SourceUrl = txt; continue; case "adType": this.AdType = (KalturaAdType)KalturaStringEnum.Parse(typeof(KalturaAdType), txt); continue; case "title": this.Title = txt; continue; case "endTime": this.EndTime = ParseInt(txt); continue; case "duration": this.Duration = ParseInt(txt); continue; } } }
public KalturaUserFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "idEqual": this.IdEqual = txt; continue; case "idIn": this.IdIn = txt; continue; case "loginEnabledEqual": this.LoginEnabledEqual = ParseBool(txt); continue; case "orderBy": this.OrderBy = (KalturaUserOrderBy)KalturaStringEnum.Parse(typeof(KalturaUserOrderBy), txt); continue; } } }
public KalturaAssetParamsOutput(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "assetParamsId": this.AssetParamsId = ParseInt(txt); continue; case "assetParamsVersion": this.AssetParamsVersion = txt; continue; case "assetId": this.AssetId = txt; continue; case "assetVersion": this.AssetVersion = txt; continue; case "readyBehavior": this.ReadyBehavior = ParseInt(txt); continue; case "format": this.Format = (KalturaContainerFormat)KalturaStringEnum.Parse(typeof(KalturaContainerFormat), txt); continue; } } }
public KalturaCaptionParams(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "language": this.Language = (KalturaLanguage)KalturaStringEnum.Parse(typeof(KalturaLanguage), txt); continue; case "isDefault": this.IsDefault = (KalturaNullableBoolean)ParseEnum(typeof(KalturaNullableBoolean), txt); continue; case "label": this.Label = txt; continue; case "format": this.Format = (KalturaCaptionType)KalturaStringEnum.Parse(typeof(KalturaCaptionType), txt); continue; case "sourceParamsId": this.SourceParamsId = ParseInt(txt); continue; } } }
public KalturaYahooSyndicationFeed(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "category": this.Category = (KalturaYahooSyndicationFeedCategories)KalturaStringEnum.Parse(typeof(KalturaYahooSyndicationFeedCategories), txt); continue; case "adultContent": this.AdultContent = (KalturaYahooSyndicationFeedAdultValues)KalturaStringEnum.Parse(typeof(KalturaYahooSyndicationFeedAdultValues), txt); continue; case "feedDescription": this.FeedDescription = txt; continue; case "feedLandingPage": this.FeedLandingPage = txt; continue; } } }
public void AddIfNotNull(string key, KalturaStringEnum value) { if (value != null) { this.Add(key, value.ToString()); } }
public KalturaAttachmentAssetBaseFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "formatEqual": this.FormatEqual = (KalturaAttachmentType)KalturaStringEnum.Parse(typeof(KalturaAttachmentType), txt); continue; case "formatIn": this.FormatIn = txt; continue; case "statusEqual": this.StatusEqual = (KalturaAttachmentAssetStatus)ParseEnum(typeof(KalturaAttachmentAssetStatus), txt); continue; case "statusIn": this.StatusIn = txt; continue; case "statusNotIn": this.StatusNotIn = txt; continue; } } }
public KalturaPermissionItem(XmlElement node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "id": this.Id = ParseInt(txt); continue; case "type": this.Type = (KalturaPermissionItemType)KalturaStringEnum.Parse(typeof(KalturaPermissionItemType), txt); continue; case "partnerId": this.PartnerId = ParseInt(txt); continue; case "tags": this.Tags = txt; continue; case "createdAt": this.CreatedAt = ParseInt(txt); continue; case "updatedAt": this.UpdatedAt = ParseInt(txt); continue; } } }
public KalturaAssetParamsOutputBaseFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "assetParamsIdEqual": this.AssetParamsIdEqual = ParseInt(txt); continue; case "assetParamsVersionEqual": this.AssetParamsVersionEqual = txt; continue; case "assetIdEqual": this.AssetIdEqual = txt; continue; case "assetVersionEqual": this.AssetVersionEqual = txt; continue; case "formatEqual": this.FormatEqual = (KalturaContainerFormat)KalturaStringEnum.Parse(typeof(KalturaContainerFormat), txt); continue; } } }
public KalturaAttachmentAsset(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "filename": this.Filename = txt; continue; case "title": this.Title = txt; continue; case "format": this.Format = (KalturaAttachmentType)KalturaStringEnum.Parse(typeof(KalturaAttachmentType), txt); continue; case "status": this.Status = (KalturaAttachmentAssetStatus)ParseEnum(typeof(KalturaAttachmentAssetStatus), txt); continue; } } }
public KalturaPermissionItemBaseFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "idEqual": this.IdEqual = ParseInt(txt); continue; case "idIn": this.IdIn = txt; continue; case "typeEqual": this.TypeEqual = (KalturaPermissionItemType)KalturaStringEnum.Parse(typeof(KalturaPermissionItemType), txt); continue; case "typeIn": this.TypeIn = txt; continue; case "partnerIdEqual": this.PartnerIdEqual = ParseInt(txt); continue; case "partnerIdIn": this.PartnerIdIn = txt; continue; case "tagsMultiLikeOr": this.TagsMultiLikeOr = txt; continue; case "tagsMultiLikeAnd": this.TagsMultiLikeAnd = txt; continue; case "createdAtGreaterThanOrEqual": this.CreatedAtGreaterThanOrEqual = ParseInt(txt); continue; case "createdAtLessThanOrEqual": this.CreatedAtLessThanOrEqual = ParseInt(txt); continue; case "updatedAtGreaterThanOrEqual": this.UpdatedAtGreaterThanOrEqual = ParseInt(txt); continue; case "updatedAtLessThanOrEqual": this.UpdatedAtLessThanOrEqual = ParseInt(txt); continue; } } }
public KalturaMetadata(XmlElement node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "id": this.Id = ParseInt(txt); continue; case "partnerId": this.PartnerId = ParseInt(txt); continue; case "metadataProfileId": this.MetadataProfileId = ParseInt(txt); continue; case "metadataProfileVersion": this.MetadataProfileVersion = ParseInt(txt); continue; case "metadataObjectType": this.MetadataObjectType = (KalturaMetadataObjectType)KalturaStringEnum.Parse(typeof(KalturaMetadataObjectType), txt); continue; case "objectId": this.ObjectId = txt; continue; case "version": this.Version = ParseInt(txt); continue; case "createdAt": this.CreatedAt = ParseInt(txt); continue; case "updatedAt": this.UpdatedAt = ParseInt(txt); continue; case "status": this.Status = (KalturaMetadataStatus)ParseEnum(typeof(KalturaMetadataStatus), txt); continue; case "xml": this.Xml = txt; continue; } } }
public KalturaConversionProfileBaseFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "idEqual": this.IdEqual = ParseInt(txt); continue; case "idIn": this.IdIn = txt; continue; case "statusEqual": this.StatusEqual = (KalturaConversionProfileStatus)KalturaStringEnum.Parse(typeof(KalturaConversionProfileStatus), txt); continue; case "statusIn": this.StatusIn = txt; continue; case "nameEqual": this.NameEqual = txt; continue; case "systemNameEqual": this.SystemNameEqual = txt; continue; case "systemNameIn": this.SystemNameIn = txt; continue; case "tagsMultiLikeOr": this.TagsMultiLikeOr = txt; continue; case "tagsMultiLikeAnd": this.TagsMultiLikeAnd = txt; continue; case "defaultEntryIdEqual": this.DefaultEntryIdEqual = txt; continue; case "defaultEntryIdIn": this.DefaultEntryIdIn = txt; continue; } } }
public KalturaGoogleVideoSyndicationFeed(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "adultContent": this.AdultContent = (KalturaGoogleSyndicationFeedAdultValues)KalturaStringEnum.Parse(typeof(KalturaGoogleSyndicationFeedAdultValues), txt); continue; } } }
public KalturaThumbParamsBaseFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "formatEqual": this.FormatEqual = (KalturaContainerFormat)KalturaStringEnum.Parse(typeof(KalturaContainerFormat), txt); continue; } } }
public KalturaDropFolderFileHandlerConfig(XmlElement node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "handlerType": this.HandlerType = (KalturaDropFolderFileHandlerType)KalturaStringEnum.Parse(typeof(KalturaDropFolderFileHandlerType), txt); continue; } } }
public KalturaConversionProfileFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "orderBy": this.OrderBy = (KalturaConversionProfileOrderBy)KalturaStringEnum.Parse(typeof(KalturaConversionProfileOrderBy), txt); continue; } } }
public KalturaMediaFlavorParamsOutputFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "orderBy": this.OrderBy = (KalturaMediaFlavorParamsOutputOrderBy)KalturaStringEnum.Parse(typeof(KalturaMediaFlavorParamsOutputOrderBy), txt); continue; } } }
public KalturaTubeMogulSyndicationFeed(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "category": this.Category = (KalturaTubeMogulSyndicationFeedCategories)KalturaStringEnum.Parse(typeof(KalturaTubeMogulSyndicationFeedCategories), txt); continue; } } }
public KalturaTubeMogulSyndicationFeedFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "orderBy": this.OrderBy = (KalturaTubeMogulSyndicationFeedOrderBy)KalturaStringEnum.Parse(typeof(KalturaTubeMogulSyndicationFeedOrderBy), txt); continue; } } }
public KalturaDistributionProviderBaseFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "typeEqual": this.TypeEqual = (KalturaDistributionProviderType)KalturaStringEnum.Parse(typeof(KalturaDistributionProviderType), txt); continue; case "typeIn": this.TypeIn = txt; continue; } } }
public KalturaAdCuePointBaseFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "protocolTypeEqual": this.ProtocolTypeEqual = (KalturaAdProtocolType)KalturaStringEnum.Parse(typeof(KalturaAdProtocolType), txt); continue; case "protocolTypeIn": this.ProtocolTypeIn = txt; continue; case "titleLike": this.TitleLike = txt; continue; case "titleMultiLikeOr": this.TitleMultiLikeOr = txt; continue; case "titleMultiLikeAnd": this.TitleMultiLikeAnd = txt; continue; case "endTimeGreaterThanOrEqual": this.EndTimeGreaterThanOrEqual = ParseInt(txt); continue; case "endTimeLessThanOrEqual": this.EndTimeLessThanOrEqual = ParseInt(txt); continue; case "durationGreaterThanOrEqual": this.DurationGreaterThanOrEqual = ParseInt(txt); continue; case "durationLessThanOrEqual": this.DurationLessThanOrEqual = ParseInt(txt); continue; } } }
public KalturaDistributionProvider(XmlElement node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "type": this.Type = (KalturaDistributionProviderType)KalturaStringEnum.Parse(typeof(KalturaDistributionProviderType), txt); continue; case "name": this.Name = txt; continue; case "scheduleUpdateEnabled": this.ScheduleUpdateEnabled = ParseBool(txt); continue; case "availabilityUpdateEnabled": this.AvailabilityUpdateEnabled = ParseBool(txt); continue; case "deleteInsteadUpdate": this.DeleteInsteadUpdate = ParseBool(txt); continue; case "intervalBeforeSunrise": this.IntervalBeforeSunrise = ParseInt(txt); continue; case "intervalBeforeSunset": this.IntervalBeforeSunset = ParseInt(txt); continue; case "updateRequiredEntryFields": this.UpdateRequiredEntryFields = txt; continue; case "updateRequiredMetadataXPaths": this.UpdateRequiredMetadataXPaths = txt; continue; } } }
public KalturaVirusScanProfile(XmlElement node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "id": this.Id = ParseInt(txt); continue; case "createdAt": this.CreatedAt = ParseInt(txt); continue; case "updatedAt": this.UpdatedAt = ParseInt(txt); continue; case "partnerId": this.PartnerId = ParseInt(txt); continue; case "name": this.Name = txt; continue; case "status": this.Status = (KalturaVirusScanProfileStatus)ParseEnum(typeof(KalturaVirusScanProfileStatus), txt); continue; case "engineType": this.EngineType = (KalturaVirusScanEngineType)KalturaStringEnum.Parse(typeof(KalturaVirusScanEngineType), txt); continue; case "entryFilter": this.EntryFilter = (KalturaBaseEntryFilter)KalturaObjectFactory.Create(propertyNode); continue; case "actionIfInfected": this.ActionIfInfected = (KalturaVirusFoundAction)ParseEnum(typeof(KalturaVirusFoundAction), txt); continue; } } }
public KalturaApiParameterPermissionItem(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "object": this.Object = txt; continue; case "parameter": this.Parameter = txt; continue; case "action": this.Action = (KalturaApiParameterPermissionItemAction)KalturaStringEnum.Parse(typeof(KalturaApiParameterPermissionItemAction), txt); continue; } } }
public KalturaBaseEntryFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "freeText": this.FreeText = txt; continue; case "isRoot": this.IsRoot = (KalturaNullableBoolean)ParseEnum(typeof(KalturaNullableBoolean), txt); continue; case "orderBy": this.OrderBy = (KalturaBaseEntryOrderBy)KalturaStringEnum.Parse(typeof(KalturaBaseEntryOrderBy), txt); continue; } } }
public KalturaConversionProfileAssetParamsFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "conversionProfileIdFilter": this.ConversionProfileIdFilter = (KalturaConversionProfileFilter)KalturaObjectFactory.Create(propertyNode); continue; case "assetParamsIdFilter": this.AssetParamsIdFilter = (KalturaAssetParamsFilter)KalturaObjectFactory.Create(propertyNode); continue; case "orderBy": this.OrderBy = (KalturaConversionProfileAssetParamsOrderBy)KalturaStringEnum.Parse(typeof(KalturaConversionProfileAssetParamsOrderBy), txt); continue; } } }
public KalturaPlayableEntry(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "plays": this.Plays = ParseInt(txt); continue; case "views": this.Views = ParseInt(txt); continue; case "width": this.Width = ParseInt(txt); continue; case "height": this.Height = ParseInt(txt); continue; case "duration": this.Duration = ParseInt(txt); continue; case "msDuration": this.MsDuration = ParseInt(txt); continue; case "durationType": this.DurationType = (KalturaDurationType)KalturaStringEnum.Parse(typeof(KalturaDurationType), txt); continue; } } }
public KalturaAuditTrailBaseFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "idEqual": this.IdEqual = ParseInt(txt); continue; case "createdAtGreaterThanOrEqual": this.CreatedAtGreaterThanOrEqual = ParseInt(txt); continue; case "createdAtLessThanOrEqual": this.CreatedAtLessThanOrEqual = ParseInt(txt); continue; case "parsedAtGreaterThanOrEqual": this.ParsedAtGreaterThanOrEqual = ParseInt(txt); continue; case "parsedAtLessThanOrEqual": this.ParsedAtLessThanOrEqual = ParseInt(txt); continue; case "statusEqual": this.StatusEqual = (KalturaAuditTrailStatus)ParseEnum(typeof(KalturaAuditTrailStatus), txt); continue; case "statusIn": this.StatusIn = txt; continue; case "auditObjectTypeEqual": this.AuditObjectTypeEqual = (KalturaAuditTrailObjectType)KalturaStringEnum.Parse(typeof(KalturaAuditTrailObjectType), txt); continue; case "auditObjectTypeIn": this.AuditObjectTypeIn = txt; continue; case "objectIdEqual": this.ObjectIdEqual = txt; continue; case "objectIdIn": this.ObjectIdIn = txt; continue; case "relatedObjectIdEqual": this.RelatedObjectIdEqual = txt; continue; case "relatedObjectIdIn": this.RelatedObjectIdIn = txt; continue; case "relatedObjectTypeEqual": this.RelatedObjectTypeEqual = (KalturaAuditTrailObjectType)KalturaStringEnum.Parse(typeof(KalturaAuditTrailObjectType), txt); continue; case "relatedObjectTypeIn": this.RelatedObjectTypeIn = txt; continue; case "entryIdEqual": this.EntryIdEqual = txt; continue; case "entryIdIn": this.EntryIdIn = txt; continue; case "masterPartnerIdEqual": this.MasterPartnerIdEqual = ParseInt(txt); continue; case "masterPartnerIdIn": this.MasterPartnerIdIn = txt; continue; case "partnerIdEqual": this.PartnerIdEqual = ParseInt(txt); continue; case "partnerIdIn": this.PartnerIdIn = txt; continue; case "requestIdEqual": this.RequestIdEqual = txt; continue; case "requestIdIn": this.RequestIdIn = txt; continue; case "userIdEqual": this.UserIdEqual = txt; continue; case "userIdIn": this.UserIdIn = txt; continue; case "actionEqual": this.ActionEqual = (KalturaAuditTrailAction)KalturaStringEnum.Parse(typeof(KalturaAuditTrailAction), txt); continue; case "actionIn": this.ActionIn = txt; continue; case "ksEqual": this.KsEqual = txt; continue; case "contextEqual": this.ContextEqual = (KalturaAuditTrailContext)ParseEnum(typeof(KalturaAuditTrailContext), txt); continue; case "contextIn": this.ContextIn = txt; continue; case "entryPointEqual": this.EntryPointEqual = txt; continue; case "entryPointIn": this.EntryPointIn = txt; continue; case "serverNameEqual": this.ServerNameEqual = txt; continue; case "serverNameIn": this.ServerNameIn = txt; continue; case "ipAddressEqual": this.IpAddressEqual = txt; continue; case "ipAddressIn": this.IpAddressIn = txt; continue; case "clientTagEqual": this.ClientTagEqual = txt; continue; } } }
public KalturaCuePointBaseFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { string txt = propertyNode.InnerText; switch (propertyNode.Name) { case "idEqual": this.IdEqual = txt; continue; case "idIn": this.IdIn = txt; continue; case "cuePointTypeEqual": this.CuePointTypeEqual = (KalturaCuePointType)KalturaStringEnum.Parse(typeof(KalturaCuePointType), txt); continue; case "cuePointTypeIn": this.CuePointTypeIn = txt; continue; case "statusEqual": this.StatusEqual = (KalturaCuePointStatus)ParseEnum(typeof(KalturaCuePointStatus), txt); continue; case "statusIn": this.StatusIn = txt; continue; case "entryIdEqual": this.EntryIdEqual = txt; continue; case "entryIdIn": this.EntryIdIn = txt; continue; case "createdAtGreaterThanOrEqual": this.CreatedAtGreaterThanOrEqual = ParseInt(txt); continue; case "createdAtLessThanOrEqual": this.CreatedAtLessThanOrEqual = ParseInt(txt); continue; case "updatedAtGreaterThanOrEqual": this.UpdatedAtGreaterThanOrEqual = ParseInt(txt); continue; case "updatedAtLessThanOrEqual": this.UpdatedAtLessThanOrEqual = ParseInt(txt); continue; case "tagsLike": this.TagsLike = txt; continue; case "tagsMultiLikeOr": this.TagsMultiLikeOr = txt; continue; case "tagsMultiLikeAnd": this.TagsMultiLikeAnd = txt; continue; case "startTimeGreaterThanOrEqual": this.StartTimeGreaterThanOrEqual = ParseInt(txt); continue; case "startTimeLessThanOrEqual": this.StartTimeLessThanOrEqual = ParseInt(txt); continue; case "userIdEqual": this.UserIdEqual = txt; continue; case "userIdIn": this.UserIdIn = txt; continue; case "partnerSortValueEqual": this.PartnerSortValueEqual = ParseInt(txt); continue; case "partnerSortValueIn": this.PartnerSortValueIn = txt; continue; case "partnerSortValueGreaterThanOrEqual": this.PartnerSortValueGreaterThanOrEqual = ParseInt(txt); continue; case "partnerSortValueLessThanOrEqual": this.PartnerSortValueLessThanOrEqual = ParseInt(txt); continue; case "forceStopEqual": this.ForceStopEqual = (KalturaNullableBoolean)ParseEnum(typeof(KalturaNullableBoolean), txt); continue; case "systemNameEqual": this.SystemNameEqual = txt; continue; case "systemNameIn": this.SystemNameIn = txt; continue; } } }