public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddStringIfNotNull("idEqual", this.IdEqual); kparams.AddStringIfNotNull("idIn", this.IdIn); kparams.AddStringEnumIfNotNull("cuePointTypeEqual", this.CuePointTypeEqual); kparams.AddStringIfNotNull("cuePointTypeIn", this.CuePointTypeIn); kparams.AddEnumIfNotNull("statusEqual", this.StatusEqual); kparams.AddStringIfNotNull("statusIn", this.StatusIn); kparams.AddStringIfNotNull("entryIdEqual", this.EntryIdEqual); kparams.AddStringIfNotNull("entryIdIn", this.EntryIdIn); kparams.AddIntIfNotNull("createdAtGreaterThanOrEqual", this.CreatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("createdAtLessThanOrEqual", this.CreatedAtLessThanOrEqual); kparams.AddIntIfNotNull("updatedAtGreaterThanOrEqual", this.UpdatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("updatedAtLessThanOrEqual", this.UpdatedAtLessThanOrEqual); kparams.AddStringIfNotNull("tagsLike", this.TagsLike); kparams.AddStringIfNotNull("tagsMultiLikeOr", this.TagsMultiLikeOr); kparams.AddStringIfNotNull("tagsMultiLikeAnd", this.TagsMultiLikeAnd); kparams.AddIntIfNotNull("startTimeGreaterThanOrEqual", this.StartTimeGreaterThanOrEqual); kparams.AddIntIfNotNull("startTimeLessThanOrEqual", this.StartTimeLessThanOrEqual); kparams.AddStringIfNotNull("userIdEqual", this.UserIdEqual); kparams.AddStringIfNotNull("userIdIn", this.UserIdIn); kparams.AddIntIfNotNull("partnerSortValueEqual", this.PartnerSortValueEqual); kparams.AddStringIfNotNull("partnerSortValueIn", this.PartnerSortValueIn); kparams.AddIntIfNotNull("partnerSortValueGreaterThanOrEqual", this.PartnerSortValueGreaterThanOrEqual); kparams.AddIntIfNotNull("partnerSortValueLessThanOrEqual", this.PartnerSortValueLessThanOrEqual); kparams.AddEnumIfNotNull("forceStopEqual", this.ForceStopEqual); kparams.AddStringIfNotNull("systemNameEqual", this.SystemNameEqual); kparams.AddStringIfNotNull("systemNameIn", this.SystemNameIn); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("id", this.Id); kparams.AddIntIfNotNull("createdAt", this.CreatedAt); kparams.AddIntIfNotNull("parsedAt", this.ParsedAt); kparams.AddEnumIfNotNull("status", this.Status); kparams.AddStringEnumIfNotNull("auditObjectType", this.AuditObjectType); kparams.AddStringIfNotNull("objectId", this.ObjectId); kparams.AddStringIfNotNull("relatedObjectId", this.RelatedObjectId); kparams.AddStringEnumIfNotNull("relatedObjectType", this.RelatedObjectType); kparams.AddStringIfNotNull("entryId", this.EntryId); kparams.AddIntIfNotNull("masterPartnerId", this.MasterPartnerId); kparams.AddIntIfNotNull("partnerId", this.PartnerId); kparams.AddStringIfNotNull("requestId", this.RequestId); kparams.AddStringIfNotNull("userId", this.UserId); kparams.AddStringEnumIfNotNull("action", this.Action); if (this.Data != null) { kparams.Add("data", this.Data.ToParams()); } kparams.AddStringIfNotNull("ks", this.Ks); kparams.AddEnumIfNotNull("context", this.Context); kparams.AddStringIfNotNull("entryPoint", this.EntryPoint); kparams.AddStringIfNotNull("serverName", this.ServerName); kparams.AddStringIfNotNull("ipAddress", this.IpAddress); kparams.AddStringIfNotNull("userAgent", this.UserAgent); kparams.AddStringIfNotNull("clientTag", this.ClientTag); kparams.AddStringIfNotNull("description", this.Description); kparams.AddStringIfNotNull("errorDescription", this.ErrorDescription); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("idEqual", this.IdEqual); kparams.AddStringIfNotNull("idIn", this.IdIn); kparams.AddIntIfNotNull("createdAtGreaterThanOrEqual", this.CreatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("createdAtLessThanOrEqual", this.CreatedAtLessThanOrEqual); kparams.AddIntIfNotNull("updatedAtGreaterThanOrEqual", this.UpdatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("updatedAtLessThanOrEqual", this.UpdatedAtLessThanOrEqual); kparams.AddIntIfNotNull("submittedAtGreaterThanOrEqual", this.SubmittedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("submittedAtLessThanOrEqual", this.SubmittedAtLessThanOrEqual); kparams.AddStringIfNotNull("entryIdEqual", this.EntryIdEqual); kparams.AddStringIfNotNull("entryIdIn", this.EntryIdIn); kparams.AddIntIfNotNull("distributionProfileIdEqual", this.DistributionProfileIdEqual); kparams.AddStringIfNotNull("distributionProfileIdIn", this.DistributionProfileIdIn); kparams.AddEnumIfNotNull("statusEqual", this.StatusEqual); kparams.AddStringIfNotNull("statusIn", this.StatusIn); kparams.AddEnumIfNotNull("dirtyStatusEqual", this.DirtyStatusEqual); kparams.AddStringIfNotNull("dirtyStatusIn", this.DirtyStatusIn); kparams.AddIntIfNotNull("sunriseGreaterThanOrEqual", this.SunriseGreaterThanOrEqual); kparams.AddIntIfNotNull("sunriseLessThanOrEqual", this.SunriseLessThanOrEqual); kparams.AddIntIfNotNull("sunsetGreaterThanOrEqual", this.SunsetGreaterThanOrEqual); kparams.AddIntIfNotNull("sunsetLessThanOrEqual", this.SunsetLessThanOrEqual); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("partnerIdEqual", this.PartnerIdEqual); kparams.AddStringEnumIfNotNull("fileObjectTypeEqual", this.FileObjectTypeEqual); kparams.AddStringIfNotNull("fileObjectTypeIn", this.FileObjectTypeIn); kparams.AddStringIfNotNull("objectIdEqual", this.ObjectIdEqual); kparams.AddStringIfNotNull("objectIdIn", this.ObjectIdIn); kparams.AddStringIfNotNull("versionEqual", this.VersionEqual); kparams.AddStringIfNotNull("versionIn", this.VersionIn); kparams.AddIntIfNotNull("objectSubTypeEqual", this.ObjectSubTypeEqual); kparams.AddStringIfNotNull("objectSubTypeIn", this.ObjectSubTypeIn); kparams.AddStringIfNotNull("dcEqual", this.DcEqual); kparams.AddStringIfNotNull("dcIn", this.DcIn); kparams.AddIntIfNotNull("originalEqual", this.OriginalEqual); kparams.AddIntIfNotNull("createdAtGreaterThanOrEqual", this.CreatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("createdAtLessThanOrEqual", this.CreatedAtLessThanOrEqual); kparams.AddIntIfNotNull("updatedAtGreaterThanOrEqual", this.UpdatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("updatedAtLessThanOrEqual", this.UpdatedAtLessThanOrEqual); kparams.AddIntIfNotNull("readyAtGreaterThanOrEqual", this.ReadyAtGreaterThanOrEqual); kparams.AddIntIfNotNull("readyAtLessThanOrEqual", this.ReadyAtLessThanOrEqual); kparams.AddIntIfNotNull("syncTimeGreaterThanOrEqual", this.SyncTimeGreaterThanOrEqual); kparams.AddIntIfNotNull("syncTimeLessThanOrEqual", this.SyncTimeLessThanOrEqual); kparams.AddEnumIfNotNull("statusEqual", this.StatusEqual); kparams.AddStringIfNotNull("statusIn", this.StatusIn); kparams.AddEnumIfNotNull("fileTypeEqual", this.FileTypeEqual); kparams.AddStringIfNotNull("fileTypeIn", this.FileTypeIn); kparams.AddIntIfNotNull("linkedIdEqual", this.LinkedIdEqual); kparams.AddIntIfNotNull("linkCountGreaterThanOrEqual", this.LinkCountGreaterThanOrEqual); kparams.AddIntIfNotNull("linkCountLessThanOrEqual", this.LinkCountLessThanOrEqual); kparams.AddIntIfNotNull("fileSizeGreaterThanOrEqual", this.FileSizeGreaterThanOrEqual); kparams.AddIntIfNotNull("fileSizeLessThanOrEqual", this.FileSizeLessThanOrEqual); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("id", this.Id); kparams.AddStringIfNotNull("name", this.Name); kparams.AddStringIfNotNull("description", this.Description); kparams.AddIntIfNotNull("partnerId", this.PartnerId); kparams.AddEnumIfNotNull("objType", this.ObjType); kparams.AddStringIfNotNull("objTypeAsString", this.ObjTypeAsString); kparams.AddIntIfNotNull("width", this.Width); kparams.AddIntIfNotNull("height", this.Height); kparams.AddStringIfNotNull("htmlParams", this.HtmlParams); kparams.AddStringIfNotNull("swfUrl", this.SwfUrl); kparams.AddStringIfNotNull("confFilePath", this.ConfFilePath); kparams.AddStringIfNotNull("confFile", this.ConfFile); kparams.AddStringIfNotNull("confFileFeatures", this.ConfFileFeatures); kparams.AddStringIfNotNull("confVars", this.ConfVars); kparams.AddBoolIfNotNull("useCdn", this.UseCdn); kparams.AddStringIfNotNull("tags", this.Tags); kparams.AddStringIfNotNull("swfUrlVersion", this.SwfUrlVersion); kparams.AddIntIfNotNull("createdAt", this.CreatedAt); kparams.AddIntIfNotNull("updatedAt", this.UpdatedAt); kparams.AddEnumIfNotNull("creationMode", this.CreationMode); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("id", this.Id); kparams.AddIntIfNotNull("partnerId", this.PartnerId); kparams.AddStringIfNotNull("name", this.Name); kparams.AddStringIfNotNull("description", this.Description); kparams.AddStringEnumIfNotNull("type", this.Type); kparams.AddEnumIfNotNull("status", this.Status); kparams.AddIntIfNotNull("conversionProfileId", this.ConversionProfileId); kparams.AddIntIfNotNull("dc", this.Dc); kparams.AddStringIfNotNull("path", this.Path); kparams.AddIntIfNotNull("fileSizeCheckInterval", this.FileSizeCheckInterval); kparams.AddEnumIfNotNull("fileDeletePolicy", this.FileDeletePolicy); kparams.AddIntIfNotNull("autoFileDeleteDays", this.AutoFileDeleteDays); kparams.AddStringEnumIfNotNull("fileHandlerType", this.FileHandlerType); kparams.AddStringIfNotNull("fileNamePatterns", this.FileNamePatterns); if (this.FileHandlerConfig != null) { kparams.Add("fileHandlerConfig", this.FileHandlerConfig.ToParams()); } kparams.AddStringIfNotNull("tags", this.Tags); kparams.AddStringIfNotNull("ignoreFileNamePatterns", this.IgnoreFileNamePatterns); kparams.AddIntIfNotNull("createdAt", this.CreatedAt); kparams.AddIntIfNotNull("updatedAt", this.UpdatedAt); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("idEqual", this.IdEqual); kparams.AddStringIfNotNull("idIn", this.IdIn); kparams.AddEnumIfNotNull("typeEqual", this.TypeEqual); kparams.AddStringIfNotNull("typeIn", this.TypeIn); kparams.AddStringIfNotNull("nameEqual", this.NameEqual); kparams.AddStringIfNotNull("nameIn", this.NameIn); kparams.AddStringIfNotNull("friendlyNameLike", this.FriendlyNameLike); kparams.AddStringIfNotNull("descriptionLike", this.DescriptionLike); kparams.AddEnumIfNotNull("statusEqual", this.StatusEqual); kparams.AddStringIfNotNull("statusIn", this.StatusIn); kparams.AddIntIfNotNull("partnerIdEqual", this.PartnerIdEqual); kparams.AddStringIfNotNull("partnerIdIn", this.PartnerIdIn); kparams.AddStringIfNotNull("dependsOnPermissionNamesMultiLikeOr", this.DependsOnPermissionNamesMultiLikeOr); kparams.AddStringIfNotNull("dependsOnPermissionNamesMultiLikeAnd", this.DependsOnPermissionNamesMultiLikeAnd); kparams.AddStringIfNotNull("tagsMultiLikeOr", this.TagsMultiLikeOr); kparams.AddStringIfNotNull("tagsMultiLikeAnd", this.TagsMultiLikeAnd); kparams.AddIntIfNotNull("createdAtGreaterThanOrEqual", this.CreatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("createdAtLessThanOrEqual", this.CreatedAtLessThanOrEqual); kparams.AddIntIfNotNull("updatedAtGreaterThanOrEqual", this.UpdatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("updatedAtLessThanOrEqual", this.UpdatedAtLessThanOrEqual); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddStringIfNotNull("id", this.Id); kparams.AddStringIfNotNull("name", this.Name); kparams.AddStringIfNotNull("description", this.Description); kparams.AddIntIfNotNull("partnerId", this.PartnerId); kparams.AddStringIfNotNull("userId", this.UserId); kparams.AddStringIfNotNull("tags", this.Tags); kparams.AddStringIfNotNull("adminTags", this.AdminTags); kparams.AddStringIfNotNull("categories", this.Categories); kparams.AddStringIfNotNull("categoriesIds", this.CategoriesIds); kparams.AddStringEnumIfNotNull("status", this.Status); kparams.AddEnumIfNotNull("moderationStatus", this.ModerationStatus); kparams.AddIntIfNotNull("moderationCount", this.ModerationCount); kparams.AddStringEnumIfNotNull("type", this.Type); kparams.AddIntIfNotNull("createdAt", this.CreatedAt); kparams.AddIntIfNotNull("updatedAt", this.UpdatedAt); kparams.AddFloatIfNotNull("rank", this.Rank); kparams.AddIntIfNotNull("totalRank", this.TotalRank); kparams.AddIntIfNotNull("votes", this.Votes); kparams.AddIntIfNotNull("groupId", this.GroupId); kparams.AddStringIfNotNull("partnerData", this.PartnerData); kparams.AddStringIfNotNull("downloadUrl", this.DownloadUrl); kparams.AddStringIfNotNull("searchText", this.SearchText); kparams.AddEnumIfNotNull("licenseType", this.LicenseType); kparams.AddIntIfNotNull("version", this.Version); kparams.AddStringIfNotNull("thumbnailUrl", this.ThumbnailUrl); kparams.AddIntIfNotNull("accessControlId", this.AccessControlId); kparams.AddIntIfNotNull("startDate", this.StartDate); kparams.AddIntIfNotNull("endDate", this.EndDate); kparams.AddStringIfNotNull("referenceId", this.ReferenceId); kparams.AddStringIfNotNull("replacingEntryId", this.ReplacingEntryId); kparams.AddStringIfNotNull("replacedEntryId", this.ReplacedEntryId); kparams.AddStringEnumIfNotNull("replacementStatus", this.ReplacementStatus); kparams.AddIntIfNotNull("partnerSortValue", this.PartnerSortValue); kparams.AddIntIfNotNull("conversionProfileId", this.ConversionProfileId); kparams.AddStringIfNotNull("rootEntryId", this.RootEntryId); if (this.OperationAttributes != null) { if (this.OperationAttributes.Count == 0) { kparams.Add("operationAttributes:-", ""); } else { int i = 0; foreach (KalturaOperationAttributes item in this.OperationAttributes) { kparams.Add("operationAttributes:" + i + ":objectType", item.GetType().Name); kparams.Add("operationAttributes:" + i, item.ToParams()); i++; } } } return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("id", this.Id); kparams.AddStringIfNotNull("name", this.Name); kparams.AddStringIfNotNull("website", this.Website); kparams.AddStringIfNotNull("notificationUrl", this.NotificationUrl); kparams.AddIntIfNotNull("appearInSearch", this.AppearInSearch); kparams.AddIntIfNotNull("createdAt", this.CreatedAt); kparams.AddStringIfNotNull("adminName", this.AdminName); kparams.AddStringIfNotNull("adminEmail", this.AdminEmail); kparams.AddStringIfNotNull("description", this.Description); kparams.AddEnumIfNotNull("commercialUse", this.CommercialUse); kparams.AddStringIfNotNull("landingPage", this.LandingPage); kparams.AddStringIfNotNull("userLandingPage", this.UserLandingPage); kparams.AddStringIfNotNull("contentCategories", this.ContentCategories); kparams.AddEnumIfNotNull("type", this.Type); kparams.AddStringIfNotNull("phone", this.Phone); kparams.AddStringIfNotNull("describeYourself", this.DescribeYourself); kparams.AddBoolIfNotNull("adultContent", this.AdultContent); kparams.AddStringIfNotNull("defConversionProfileType", this.DefConversionProfileType); kparams.AddIntIfNotNull("notify", this.Notify); kparams.AddEnumIfNotNull("status", this.Status); kparams.AddIntIfNotNull("allowQuickEdit", this.AllowQuickEdit); kparams.AddIntIfNotNull("mergeEntryLists", this.MergeEntryLists); kparams.AddStringIfNotNull("notificationsConfig", this.NotificationsConfig); kparams.AddIntIfNotNull("maxUploadSize", this.MaxUploadSize); kparams.AddIntIfNotNull("partnerPackage", this.PartnerPackage); kparams.AddStringIfNotNull("secret", this.Secret); kparams.AddStringIfNotNull("adminSecret", this.AdminSecret); kparams.AddStringIfNotNull("cmsPassword", this.CmsPassword); kparams.AddIntIfNotNull("allowMultiNotification", this.AllowMultiNotification); kparams.AddIntIfNotNull("adminLoginUsersQuota", this.AdminLoginUsersQuota); kparams.AddStringIfNotNull("adminUserId", this.AdminUserId); kparams.AddStringIfNotNull("firstName", this.FirstName); kparams.AddStringIfNotNull("lastName", this.LastName); kparams.AddStringIfNotNull("country", this.Country); kparams.AddStringIfNotNull("state", this.State); if (this.AdditionalParams != null) { if (this.AdditionalParams.Count == 0) { kparams.Add("additionalParams:-", ""); } else { int i = 0; foreach (KalturaKeyValue item in this.AdditionalParams) { kparams.Add("additionalParams:" + i + ":objectType", item.GetType().Name); kparams.Add("additionalParams:" + i, item.ToParams()); i++; } } } return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("id", this.Id); kparams.AddIntIfNotNull("createdAt", this.CreatedAt); kparams.AddIntIfNotNull("updatedAt", this.UpdatedAt); kparams.AddIntIfNotNull("partnerId", this.PartnerId); kparams.AddStringEnumIfNotNull("providerType", this.ProviderType); kparams.AddStringIfNotNull("name", this.Name); kparams.AddEnumIfNotNull("status", this.Status); kparams.AddEnumIfNotNull("submitEnabled", this.SubmitEnabled); kparams.AddEnumIfNotNull("updateEnabled", this.UpdateEnabled); kparams.AddEnumIfNotNull("deleteEnabled", this.DeleteEnabled); kparams.AddEnumIfNotNull("reportEnabled", this.ReportEnabled); kparams.AddStringIfNotNull("autoCreateFlavors", this.AutoCreateFlavors); kparams.AddStringIfNotNull("autoCreateThumb", this.AutoCreateThumb); kparams.AddStringIfNotNull("optionalFlavorParamsIds", this.OptionalFlavorParamsIds); kparams.AddStringIfNotNull("requiredFlavorParamsIds", this.RequiredFlavorParamsIds); if (this.OptionalThumbDimensions != null) { if (this.OptionalThumbDimensions.Count == 0) { kparams.Add("optionalThumbDimensions:-", ""); } else { int i = 0; foreach (KalturaDistributionThumbDimensions item in this.OptionalThumbDimensions) { kparams.Add("optionalThumbDimensions:" + i + ":objectType", item.GetType().Name); kparams.Add("optionalThumbDimensions:" + i, item.ToParams()); i++; } } } if (this.RequiredThumbDimensions != null) { if (this.RequiredThumbDimensions.Count == 0) { kparams.Add("requiredThumbDimensions:-", ""); } else { int i = 0; foreach (KalturaDistributionThumbDimensions item in this.RequiredThumbDimensions) { kparams.Add("requiredThumbDimensions:" + i + ":objectType", item.GetType().Name); kparams.Add("requiredThumbDimensions:" + i, item.ToParams()); i++; } } } kparams.AddIntIfNotNull("sunriseDefaultOffset", this.SunriseDefaultOffset); kparams.AddIntIfNotNull("sunsetDefaultOffset", this.SunsetDefaultOffset); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddEnumIfNotNull("action", this.Action); kparams.AddEnumIfNotNull("errorType", this.ErrorType); kparams.AddStringIfNotNull("description", this.Description); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddStringIfNotNull("keyWords", this.KeyWords); kparams.AddEnumIfNotNull("searchSource", this.SearchSource); kparams.AddEnumIfNotNull("mediaType", this.MediaType); kparams.AddStringIfNotNull("extraData", this.ExtraData); kparams.AddStringIfNotNull("authData", this.AuthData); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("conversionProfileId", this.ConversionProfileId); kparams.AddIntIfNotNull("assetParamsId", this.AssetParamsId); kparams.AddEnumIfNotNull("readyBehavior", this.ReadyBehavior); kparams.AddEnumIfNotNull("origin", this.Origin); kparams.AddStringIfNotNull("systemName", this.SystemName); kparams.AddEnumIfNotNull("forceNoneComplied", this.ForceNoneComplied); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddBoolIfNotNull("noDistributionProfiles", this.NoDistributionProfiles); kparams.AddIntIfNotNull("distributionProfileId", this.DistributionProfileId); kparams.AddEnumIfNotNull("distributionSunStatus", this.DistributionSunStatus); kparams.AddEnumIfNotNull("entryDistributionFlag", this.EntryDistributionFlag); kparams.AddEnumIfNotNull("entryDistributionStatus", this.EntryDistributionStatus); kparams.AddBoolIfNotNull("hasEntryDistributionValidationErrors", this.HasEntryDistributionValidationErrors); kparams.AddStringIfNotNull("entryDistributionValidationErrors", this.EntryDistributionValidationErrors); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("captionParamsId", this.CaptionParamsId); kparams.AddStringEnumIfNotNull("language", this.Language); kparams.AddStringEnumIfNotNull("languageCode", this.LanguageCode); kparams.AddEnumIfNotNull("isDefault", this.IsDefault); kparams.AddStringIfNotNull("label", this.Label); kparams.AddStringEnumIfNotNull("format", this.Format); kparams.AddEnumIfNotNull("status", this.Status); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("id", this.Id); kparams.AddIntIfNotNull("createdAt", this.CreatedAt); kparams.AddIntIfNotNull("updatedAt", this.UpdatedAt); kparams.AddIntIfNotNull("partnerId", this.PartnerId); kparams.AddStringIfNotNull("name", this.Name); kparams.AddStringIfNotNull("systemName", this.SystemName); kparams.AddStringIfNotNull("desciption", this.Desciption); kparams.AddEnumIfNotNull("status", this.Status); kparams.AddEnumIfNotNull("protocol", this.Protocol); kparams.AddStringIfNotNull("storageUrl", this.StorageUrl); kparams.AddStringIfNotNull("storageBaseDir", this.StorageBaseDir); kparams.AddStringIfNotNull("storageUsername", this.StorageUsername); kparams.AddStringIfNotNull("storagePassword", this.StoragePassword); kparams.AddBoolIfNotNull("storageFtpPassiveMode", this.StorageFtpPassiveMode); kparams.AddStringIfNotNull("deliveryHttpBaseUrl", this.DeliveryHttpBaseUrl); kparams.AddStringIfNotNull("deliveryRmpBaseUrl", this.DeliveryRmpBaseUrl); kparams.AddStringIfNotNull("deliveryIisBaseUrl", this.DeliveryIisBaseUrl); kparams.AddIntIfNotNull("minFileSize", this.MinFileSize); kparams.AddIntIfNotNull("maxFileSize", this.MaxFileSize); kparams.AddStringIfNotNull("flavorParamsIds", this.FlavorParamsIds); kparams.AddIntIfNotNull("maxConcurrentConnections", this.MaxConcurrentConnections); kparams.AddStringIfNotNull("pathManagerClass", this.PathManagerClass); kparams.AddStringIfNotNull("urlManagerClass", this.UrlManagerClass); if (this.UrlManagerParams != null) { if (this.UrlManagerParams.Count == 0) { kparams.Add("urlManagerParams:-", ""); } else { int i = 0; foreach (KalturaKeyValue item in this.UrlManagerParams) { kparams.Add("urlManagerParams:" + i + ":objectType", item.GetType().Name); kparams.Add("urlManagerParams:" + i, item.ToParams()); i++; } } } kparams.AddIntIfNotNull("trigger", this.Trigger); kparams.AddIntIfNotNull("deliveryPriority", this.DeliveryPriority); kparams.AddEnumIfNotNull("deliveryStatus", this.DeliveryStatus); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("id", this.Id); kparams.AddIntIfNotNull("createdAt", this.CreatedAt); kparams.AddIntIfNotNull("updatedAt", this.UpdatedAt); kparams.AddIntIfNotNull("submittedAt", this.SubmittedAt); kparams.AddStringIfNotNull("entryId", this.EntryId); kparams.AddIntIfNotNull("partnerId", this.PartnerId); kparams.AddIntIfNotNull("distributionProfileId", this.DistributionProfileId); kparams.AddEnumIfNotNull("status", this.Status); kparams.AddEnumIfNotNull("sunStatus", this.SunStatus); kparams.AddEnumIfNotNull("dirtyStatus", this.DirtyStatus); kparams.AddStringIfNotNull("thumbAssetIds", this.ThumbAssetIds); kparams.AddStringIfNotNull("flavorAssetIds", this.FlavorAssetIds); kparams.AddIntIfNotNull("sunrise", this.Sunrise); kparams.AddIntIfNotNull("sunset", this.Sunset); kparams.AddStringIfNotNull("remoteId", this.RemoteId); kparams.AddIntIfNotNull("plays", this.Plays); kparams.AddIntIfNotNull("views", this.Views); if (this.ValidationErrors != null) { if (this.ValidationErrors.Count == 0) { kparams.Add("validationErrors:-", ""); } else { int i = 0; foreach (KalturaDistributionValidationError item in this.ValidationErrors) { kparams.Add("validationErrors:" + i + ":objectType", item.GetType().Name); kparams.Add("validationErrors:" + i, item.ToParams()); i++; } } } kparams.AddEnumIfNotNull("errorType", this.ErrorType); kparams.AddIntIfNotNull("errorNumber", this.ErrorNumber); kparams.AddStringIfNotNull("errorDescription", this.ErrorDescription); kparams.AddEnumIfNotNull("hasSubmitResultsLog", this.HasSubmitResultsLog); kparams.AddEnumIfNotNull("hasSubmitSentDataLog", this.HasSubmitSentDataLog); kparams.AddEnumIfNotNull("hasUpdateResultsLog", this.HasUpdateResultsLog); kparams.AddEnumIfNotNull("hasUpdateSentDataLog", this.HasUpdateSentDataLog); kparams.AddEnumIfNotNull("hasDeleteResultsLog", this.HasDeleteResultsLog); kparams.AddEnumIfNotNull("hasDeleteSentDataLog", this.HasDeleteSentDataLog); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddStringIfNotNull("playlistContent", this.PlaylistContent); if (this.Filters != null) { if (this.Filters.Count == 0) { kparams.Add("filters:-", ""); } else { int i = 0; foreach (KalturaMediaEntryFilterForPlaylist item in this.Filters) { kparams.Add("filters:" + i + ":objectType", item.GetType().Name); kparams.Add("filters:" + i, item.ToParams()); i++; } } } kparams.AddIntIfNotNull("totalResults", this.TotalResults); kparams.AddEnumIfNotNull("playlistType", this.PlaylistType); kparams.AddIntIfNotNull("plays", this.Plays); kparams.AddIntIfNotNull("views", this.Views); kparams.AddIntIfNotNull("duration", this.Duration); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddEnumIfNotNull("comparison", this.Comparison); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("conversionProfileIdEqual", this.ConversionProfileIdEqual); kparams.AddStringIfNotNull("conversionProfileIdIn", this.ConversionProfileIdIn); kparams.AddIntIfNotNull("assetParamsIdEqual", this.AssetParamsIdEqual); kparams.AddStringIfNotNull("assetParamsIdIn", this.AssetParamsIdIn); kparams.AddEnumIfNotNull("readyBehaviorEqual", this.ReadyBehaviorEqual); kparams.AddStringIfNotNull("readyBehaviorIn", this.ReadyBehaviorIn); kparams.AddEnumIfNotNull("originEqual", this.OriginEqual); kparams.AddStringIfNotNull("originIn", this.OriginIn); kparams.AddStringIfNotNull("systemNameEqual", this.SystemNameEqual); kparams.AddStringIfNotNull("systemNameIn", this.SystemNameIn); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("id", this.Id); kparams.AddIntIfNotNull("partnerId", this.PartnerId); kparams.AddStringIfNotNull("name", this.Name); kparams.AddStringIfNotNull("systemName", this.SystemName); kparams.AddStringIfNotNull("description", this.Description); kparams.AddIntIfNotNull("createdAt", this.CreatedAt); kparams.AddEnumIfNotNull("isSystemDefault", this.IsSystemDefault); kparams.AddStringIfNotNull("tags", this.Tags); if (this.RequiredPermissions != null) { if (this.RequiredPermissions.Count == 0) { kparams.Add("requiredPermissions:-", ""); } else { int i = 0; foreach (KalturaString item in this.RequiredPermissions) { kparams.Add("requiredPermissions:" + i + ":objectType", item.GetType().Name); kparams.Add("requiredPermissions:" + i, item.ToParams()); i++; } } } return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("id", this.Id); kparams.AddIntIfNotNull("partnerId", this.PartnerId); kparams.AddStringEnumIfNotNull("status", this.Status); kparams.AddStringIfNotNull("name", this.Name); kparams.AddStringIfNotNull("systemName", this.SystemName); kparams.AddStringIfNotNull("tags", this.Tags); kparams.AddStringIfNotNull("description", this.Description); kparams.AddStringIfNotNull("defaultEntryId", this.DefaultEntryId); kparams.AddIntIfNotNull("createdAt", this.CreatedAt); kparams.AddStringIfNotNull("flavorParamsIds", this.FlavorParamsIds); kparams.AddEnumIfNotNull("isDefault", this.IsDefault); kparams.AddBoolIfNotNull("isPartnerDefault", this.IsPartnerDefault); if (this.CropDimensions != null) { kparams.Add("cropDimensions", this.CropDimensions.ToParams()); } kparams.AddIntIfNotNull("clipStart", this.ClipStart); kparams.AddIntIfNotNull("clipDuration", this.ClipDuration); kparams.AddStringIfNotNull("xslTransformation", this.XslTransformation); kparams.AddIntIfNotNull("storageProfileId", this.StorageProfileId); return(kparams); }
public IList <KalturaReportGraph> GetGraphs(KalturaReportType reportType, KalturaReportInputFilter reportInputFilter, string dimension, string objectIds) { KalturaParams kparams = new KalturaParams(); kparams.AddEnumIfNotNull("reportType", reportType); if (reportInputFilter != null) { kparams.Add("reportInputFilter", reportInputFilter.ToParams()); } kparams.AddStringIfNotNull("dimension", dimension); kparams.AddStringIfNotNull("objectIds", objectIds); _Client.QueueServiceCall("report", "getGraphs", kparams); if (this._Client.IsMultiRequest) { return(null); } XmlElement result = _Client.DoQueue(); IList <KalturaReportGraph> list = new List <KalturaReportGraph>(); foreach (XmlElement node in result.ChildNodes) { list.Add((KalturaReportGraph)KalturaObjectFactory.Create(node)); } return(list); }
public string GetUrlForReportAsCsv(string reportTitle, string reportText, string headers, KalturaReportType reportType, KalturaReportInputFilter reportInputFilter, string dimension, KalturaFilterPager pager, string order, string objectIds) { KalturaParams kparams = new KalturaParams(); kparams.AddStringIfNotNull("reportTitle", reportTitle); kparams.AddStringIfNotNull("reportText", reportText); kparams.AddStringIfNotNull("headers", headers); kparams.AddEnumIfNotNull("reportType", reportType); if (reportInputFilter != null) { kparams.Add("reportInputFilter", reportInputFilter.ToParams()); } kparams.AddStringIfNotNull("dimension", dimension); if (pager != null) { kparams.Add("pager", pager.ToParams()); } kparams.AddStringIfNotNull("order", order); kparams.AddStringIfNotNull("objectIds", objectIds); _Client.QueueServiceCall("report", "getUrlForReportAsCsv", kparams); if (this._Client.IsMultiRequest) { return(null); } XmlElement result = _Client.DoQueue(); return(result.InnerText); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("idEqual", this.IdEqual); kparams.AddStringIfNotNull("idIn", this.IdIn); kparams.AddIntIfNotNull("partnerIdEqual", this.PartnerIdEqual); kparams.AddStringIfNotNull("partnerIdIn", this.PartnerIdIn); kparams.AddIntIfNotNull("dropFolderIdEqual", this.DropFolderIdEqual); kparams.AddStringIfNotNull("dropFolderIdIn", this.DropFolderIdIn); kparams.AddStringIfNotNull("fileNameEqual", this.FileNameEqual); kparams.AddStringIfNotNull("fileNameIn", this.FileNameIn); kparams.AddStringIfNotNull("fileNameLike", this.FileNameLike); kparams.AddEnumIfNotNull("statusEqual", this.StatusEqual); kparams.AddStringIfNotNull("statusIn", this.StatusIn); kparams.AddStringIfNotNull("parsedSlugEqual", this.ParsedSlugEqual); kparams.AddStringIfNotNull("parsedSlugIn", this.ParsedSlugIn); kparams.AddStringIfNotNull("parsedSlugLike", this.ParsedSlugLike); kparams.AddStringIfNotNull("parsedFlavorEqual", this.ParsedFlavorEqual); kparams.AddStringIfNotNull("parsedFlavorIn", this.ParsedFlavorIn); kparams.AddStringIfNotNull("parsedFlavorLike", this.ParsedFlavorLike); kparams.AddStringEnumIfNotNull("errorCodeEqual", this.ErrorCodeEqual); kparams.AddStringIfNotNull("errorCodeIn", this.ErrorCodeIn); kparams.AddIntIfNotNull("createdAtGreaterThanOrEqual", this.CreatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("createdAtLessThanOrEqual", this.CreatedAtLessThanOrEqual); kparams.AddIntIfNotNull("updatedAtGreaterThanOrEqual", this.UpdatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("updatedAtLessThanOrEqual", this.UpdatedAtLessThanOrEqual); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddStringIfNotNull("fieldName", this.FieldName); kparams.AddStringIfNotNull("userFriendlyFieldName", this.UserFriendlyFieldName); kparams.AddStringIfNotNull("entryMrssXslt", this.EntryMrssXslt); kparams.AddEnumIfNotNull("isRequired", this.IsRequired); kparams.AddBoolIfNotNull("updateOnChange", this.UpdateOnChange); if (this.UpdateParams != null) { if (this.UpdateParams.Count == 0) { kparams.Add("updateParams:-", ""); } else { int i = 0; foreach (KalturaString item in this.UpdateParams) { kparams.Add("updateParams:" + i + ":objectType", item.GetType().Name); kparams.Add("updateParams:" + i, item.ToParams()); i++; } } } kparams.AddBoolIfNotNull("isDefault", this.IsDefault); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddEnumIfNotNull("directoryRestrictionType", this.DirectoryRestrictionType); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddStringIfNotNull("clientVer", this.ClientVer); kparams.AddEnumIfNotNull("eventType", this.EventType); kparams.AddFloatIfNotNull("eventTimestamp", this.EventTimestamp); kparams.AddStringIfNotNull("sessionId", this.SessionId); kparams.AddIntIfNotNull("partnerId", this.PartnerId); kparams.AddStringIfNotNull("entryId", this.EntryId); kparams.AddStringIfNotNull("uniqueViewer", this.UniqueViewer); kparams.AddStringIfNotNull("widgetId", this.WidgetId); kparams.AddIntIfNotNull("uiconfId", this.UiconfId); kparams.AddStringIfNotNull("userId", this.UserId); kparams.AddIntIfNotNull("currentPoint", this.CurrentPoint); kparams.AddIntIfNotNull("duration", this.Duration); kparams.AddStringIfNotNull("userIp", this.UserIp); kparams.AddIntIfNotNull("processDuration", this.ProcessDuration); kparams.AddStringIfNotNull("controlId", this.ControlId); kparams.AddBoolIfNotNull("seek", this.Seek); kparams.AddIntIfNotNull("newPoint", this.NewPoint); kparams.AddStringIfNotNull("referrer", this.Referrer); kparams.AddBoolIfNotNull("isFirstInSession", this.IsFirstInSession); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddEnumIfNotNull("type", this.Type); if (this.Versions != null) { if (this.Versions.Count == 0) { kparams.Add("versions:-", ""); } else { int i = 0; foreach (KalturaString item in this.Versions) { kparams.Add("versions:" + i + ":objectType", item.GetType().Name); kparams.Add("versions:" + i, item.ToParams()); i++; } } } kparams.AddStringIfNotNull("directory", this.Directory); kparams.AddStringIfNotNull("filename", this.Filename); return(kparams); }
public override KalturaParams ToParams() { KalturaParams kparams = base.ToParams(); kparams.AddIntIfNotNull("idEqual", this.IdEqual); kparams.AddStringIfNotNull("idIn", this.IdIn); kparams.AddIntIfNotNull("partnerIdEqual", this.PartnerIdEqual); kparams.AddStringIfNotNull("partnerIdIn", this.PartnerIdIn); kparams.AddStringIfNotNull("nameLike", this.NameLike); kparams.AddStringEnumIfNotNull("typeEqual", this.TypeEqual); kparams.AddStringIfNotNull("typeIn", this.TypeIn); kparams.AddEnumIfNotNull("statusEqual", this.StatusEqual); kparams.AddStringIfNotNull("statusIn", this.StatusIn); kparams.AddIntIfNotNull("conversionProfileIdEqual", this.ConversionProfileIdEqual); kparams.AddStringIfNotNull("conversionProfileIdIn", this.ConversionProfileIdIn); kparams.AddIntIfNotNull("dcEqual", this.DcEqual); kparams.AddStringIfNotNull("dcIn", this.DcIn); kparams.AddStringIfNotNull("pathLike", this.PathLike); kparams.AddStringEnumIfNotNull("fileHandlerTypeEqual", this.FileHandlerTypeEqual); kparams.AddStringIfNotNull("fileHandlerTypeIn", this.FileHandlerTypeIn); kparams.AddStringIfNotNull("fileNamePatternsLike", this.FileNamePatternsLike); kparams.AddStringIfNotNull("fileNamePatternsMultiLikeOr", this.FileNamePatternsMultiLikeOr); kparams.AddStringIfNotNull("fileNamePatternsMultiLikeAnd", this.FileNamePatternsMultiLikeAnd); kparams.AddStringIfNotNull("tagsLike", this.TagsLike); kparams.AddStringIfNotNull("tagsMultiLikeOr", this.TagsMultiLikeOr); kparams.AddStringIfNotNull("tagsMultiLikeAnd", this.TagsMultiLikeAnd); kparams.AddIntIfNotNull("createdAtGreaterThanOrEqual", this.CreatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("createdAtLessThanOrEqual", this.CreatedAtLessThanOrEqual); kparams.AddIntIfNotNull("updatedAtGreaterThanOrEqual", this.UpdatedAtGreaterThanOrEqual); kparams.AddIntIfNotNull("updatedAtLessThanOrEqual", this.UpdatedAtLessThanOrEqual); return(kparams); }