예제 #1
0
        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);
        }
예제 #2
0
        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.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);
        }
예제 #4
0
        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.AddStringEnumIfNotNull("category", this.Category);
            kparams.AddStringEnumIfNotNull("adultContent", this.AdultContent);
            kparams.AddStringIfNotNull("feedDescription", this.FeedDescription);
            kparams.AddStringIfNotNull("feedLandingPage", this.FeedLandingPage);
            return(kparams);
        }
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringEnumIfNotNull("language", this.Language);
            kparams.AddEnumIfNotNull("isDefault", this.IsDefault);
            kparams.AddStringIfNotNull("label", this.Label);
            kparams.AddStringEnumIfNotNull("format", this.Format);
            kparams.AddIntIfNotNull("sourceParamsId", this.SourceParamsId);
            return(kparams);
        }
예제 #7
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringEnumIfNotNull("protocolType", this.ProtocolType);
            kparams.AddStringIfNotNull("sourceUrl", this.SourceUrl);
            kparams.AddStringEnumIfNotNull("adType", this.AdType);
            kparams.AddStringIfNotNull("title", this.Title);
            kparams.AddIntIfNotNull("endTime", this.EndTime);
            kparams.AddIntIfNotNull("duration", this.Duration);
            return(kparams);
        }
예제 #8
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringIfNotNull("feedDescription", this.FeedDescription);
            kparams.AddStringIfNotNull("language", this.Language);
            kparams.AddStringIfNotNull("feedLandingPage", this.FeedLandingPage);
            kparams.AddStringIfNotNull("ownerName", this.OwnerName);
            kparams.AddStringIfNotNull("ownerEmail", this.OwnerEmail);
            kparams.AddStringIfNotNull("feedImageUrl", this.FeedImageUrl);
            kparams.AddStringEnumIfNotNull("category", this.Category);
            kparams.AddStringEnumIfNotNull("adultContent", this.AdultContent);
            kparams.AddStringIfNotNull("feedAuthor", this.FeedAuthor);
            return(kparams);
        }
예제 #9
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringEnumIfNotNull("adultContent", this.AdultContent);
            return(kparams);
        }
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringEnumIfNotNull("formatEqual", this.FormatEqual);
            return(kparams);
        }
예제 #11
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringEnumIfNotNull("handlerType", this.HandlerType);
            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.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);
        }
예제 #13
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringEnumIfNotNull("orderBy", this.OrderBy);
            return(kparams);
        }
        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);
        }
예제 #15
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringEnumIfNotNull("category", this.Category);
            return(kparams);
        }
예제 #16
0
        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.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);
        }
예제 #18
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringEnumIfNotNull("typeEqual", this.TypeEqual);
            kparams.AddStringIfNotNull("typeIn", this.TypeIn);
            return(kparams);
        }
예제 #19
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringIfNotNull("object", this.Object);
            kparams.AddStringIfNotNull("parameter", this.Parameter);
            kparams.AddStringEnumIfNotNull("action", this.Action);
            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);
        }
예제 #21
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringIfNotNull("freeText", this.FreeText);
            kparams.AddEnumIfNotNull("isRoot", this.IsRoot);
            kparams.AddStringEnumIfNotNull("orderBy", this.OrderBy);
            return(kparams);
        }
예제 #22
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringIfNotNull("idEqual", this.IdEqual);
            kparams.AddStringIfNotNull("idIn", this.IdIn);
            kparams.AddBoolIfNotNull("loginEnabledEqual", this.LoginEnabledEqual);
            kparams.AddStringEnumIfNotNull("orderBy", this.OrderBy);
            return(kparams);
        }
예제 #23
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringIfNotNull("filename", this.Filename);
            kparams.AddStringIfNotNull("title", this.Title);
            kparams.AddStringEnumIfNotNull("format", this.Format);
            kparams.AddEnumIfNotNull("status", this.Status);
            return(kparams);
        }
예제 #24
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddIntIfNotNull("idEqual", this.IdEqual);
            kparams.AddIntIfNotNull("createdAtGreaterThanOrEqual", this.CreatedAtGreaterThanOrEqual);
            kparams.AddIntIfNotNull("createdAtLessThanOrEqual", this.CreatedAtLessThanOrEqual);
            kparams.AddIntIfNotNull("parsedAtGreaterThanOrEqual", this.ParsedAtGreaterThanOrEqual);
            kparams.AddIntIfNotNull("parsedAtLessThanOrEqual", this.ParsedAtLessThanOrEqual);
            kparams.AddEnumIfNotNull("statusEqual", this.StatusEqual);
            kparams.AddStringIfNotNull("statusIn", this.StatusIn);
            kparams.AddStringEnumIfNotNull("auditObjectTypeEqual", this.AuditObjectTypeEqual);
            kparams.AddStringIfNotNull("auditObjectTypeIn", this.AuditObjectTypeIn);
            kparams.AddStringIfNotNull("objectIdEqual", this.ObjectIdEqual);
            kparams.AddStringIfNotNull("objectIdIn", this.ObjectIdIn);
            kparams.AddStringIfNotNull("relatedObjectIdEqual", this.RelatedObjectIdEqual);
            kparams.AddStringIfNotNull("relatedObjectIdIn", this.RelatedObjectIdIn);
            kparams.AddStringEnumIfNotNull("relatedObjectTypeEqual", this.RelatedObjectTypeEqual);
            kparams.AddStringIfNotNull("relatedObjectTypeIn", this.RelatedObjectTypeIn);
            kparams.AddStringIfNotNull("entryIdEqual", this.EntryIdEqual);
            kparams.AddStringIfNotNull("entryIdIn", this.EntryIdIn);
            kparams.AddIntIfNotNull("masterPartnerIdEqual", this.MasterPartnerIdEqual);
            kparams.AddStringIfNotNull("masterPartnerIdIn", this.MasterPartnerIdIn);
            kparams.AddIntIfNotNull("partnerIdEqual", this.PartnerIdEqual);
            kparams.AddStringIfNotNull("partnerIdIn", this.PartnerIdIn);
            kparams.AddStringIfNotNull("requestIdEqual", this.RequestIdEqual);
            kparams.AddStringIfNotNull("requestIdIn", this.RequestIdIn);
            kparams.AddStringIfNotNull("userIdEqual", this.UserIdEqual);
            kparams.AddStringIfNotNull("userIdIn", this.UserIdIn);
            kparams.AddStringEnumIfNotNull("actionEqual", this.ActionEqual);
            kparams.AddStringIfNotNull("actionIn", this.ActionIn);
            kparams.AddStringIfNotNull("ksEqual", this.KsEqual);
            kparams.AddEnumIfNotNull("contextEqual", this.ContextEqual);
            kparams.AddStringIfNotNull("contextIn", this.ContextIn);
            kparams.AddStringIfNotNull("entryPointEqual", this.EntryPointEqual);
            kparams.AddStringIfNotNull("entryPointIn", this.EntryPointIn);
            kparams.AddStringIfNotNull("serverNameEqual", this.ServerNameEqual);
            kparams.AddStringIfNotNull("serverNameIn", this.ServerNameIn);
            kparams.AddStringIfNotNull("ipAddressEqual", this.IpAddressEqual);
            kparams.AddStringIfNotNull("ipAddressIn", this.IpAddressIn);
            kparams.AddStringIfNotNull("clientTagEqual", this.ClientTagEqual);
            return(kparams);
        }
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddIntIfNotNull("assetParamsIdEqual", this.AssetParamsIdEqual);
            kparams.AddStringIfNotNull("assetParamsVersionEqual", this.AssetParamsVersionEqual);
            kparams.AddStringIfNotNull("assetIdEqual", this.AssetIdEqual);
            kparams.AddStringIfNotNull("assetVersionEqual", this.AssetVersionEqual);
            kparams.AddStringEnumIfNotNull("formatEqual", this.FormatEqual);
            return(kparams);
        }
예제 #26
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddIntIfNotNull("id", this.Id);
            kparams.AddStringEnumIfNotNull("type", this.Type);
            kparams.AddIntIfNotNull("partnerId", this.PartnerId);
            kparams.AddStringIfNotNull("tags", this.Tags);
            kparams.AddIntIfNotNull("createdAt", this.CreatedAt);
            kparams.AddIntIfNotNull("updatedAt", this.UpdatedAt);
            return(kparams);
        }
예제 #27
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddIntIfNotNull("assetParamsId", this.AssetParamsId);
            kparams.AddStringIfNotNull("assetParamsVersion", this.AssetParamsVersion);
            kparams.AddStringIfNotNull("assetId", this.AssetId);
            kparams.AddStringIfNotNull("assetVersion", this.AssetVersion);
            kparams.AddIntIfNotNull("readyBehavior", this.ReadyBehavior);
            kparams.AddStringEnumIfNotNull("format", this.Format);
            return(kparams);
        }
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddIntIfNotNull("plays", this.Plays);
            kparams.AddIntIfNotNull("views", this.Views);
            kparams.AddIntIfNotNull("width", this.Width);
            kparams.AddIntIfNotNull("height", this.Height);
            kparams.AddIntIfNotNull("duration", this.Duration);
            kparams.AddIntIfNotNull("msDuration", this.MsDuration);
            kparams.AddStringEnumIfNotNull("durationType", this.DurationType);
            return(kparams);
        }
예제 #29
0
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddIntIfNotNull("id", this.Id);
            kparams.AddIntIfNotNull("bulkUploadJobId", this.BulkUploadJobId);
            kparams.AddIntIfNotNull("lineIndex", this.LineIndex);
            kparams.AddIntIfNotNull("partnerId", this.PartnerId);
            kparams.AddEnumIfNotNull("action", this.Action);
            kparams.AddStringIfNotNull("entryId", this.EntryId);
            kparams.AddStringIfNotNull("objectId", this.ObjectId);
            kparams.AddStringEnumIfNotNull("bulkUploadResultObjectType", this.BulkUploadResultObjectType);
            kparams.AddIntIfNotNull("entryStatus", this.EntryStatus);
            kparams.AddStringIfNotNull("rowData", this.RowData);
            kparams.AddStringIfNotNull("title", this.Title);
            kparams.AddStringIfNotNull("description", this.Description);
            kparams.AddStringIfNotNull("tags", this.Tags);
            kparams.AddStringIfNotNull("url", this.Url);
            kparams.AddStringIfNotNull("contentType", this.ContentType);
            kparams.AddIntIfNotNull("conversionProfileId", this.ConversionProfileId);
            kparams.AddIntIfNotNull("accessControlProfileId", this.AccessControlProfileId);
            kparams.AddStringIfNotNull("category", this.Category);
            kparams.AddIntIfNotNull("scheduleStartDate", this.ScheduleStartDate);
            kparams.AddIntIfNotNull("scheduleEndDate", this.ScheduleEndDate);
            kparams.AddStringIfNotNull("thumbnailUrl", this.ThumbnailUrl);
            kparams.AddBoolIfNotNull("thumbnailSaved", this.ThumbnailSaved);
            kparams.AddStringIfNotNull("partnerData", this.PartnerData);
            kparams.AddStringIfNotNull("errorDescription", this.ErrorDescription);
            if (this.PluginsData != null)
            {
                if (this.PluginsData.Count == 0)
                {
                    kparams.Add("pluginsData:-", "");
                }
                else
                {
                    int i = 0;
                    foreach (KalturaBulkUploadPluginData item in this.PluginsData)
                    {
                        kparams.Add("pluginsData:" + i + ":objectType", item.GetType().Name);
                        kparams.Add("pluginsData:" + i, item.ToParams());
                        i++;
                    }
                }
            }
            kparams.AddStringIfNotNull("sshPrivateKey", this.SshPrivateKey);
            kparams.AddStringIfNotNull("sshPublicKey", this.SshPublicKey);
            kparams.AddStringIfNotNull("sshKeyPassphrase", this.SshKeyPassphrase);
            return(kparams);
        }
        public override KalturaParams ToParams()
        {
            KalturaParams kparams = base.ToParams();

            kparams.AddStringEnumIfNotNull("protocolTypeEqual", this.ProtocolTypeEqual);
            kparams.AddStringIfNotNull("protocolTypeIn", this.ProtocolTypeIn);
            kparams.AddStringIfNotNull("titleLike", this.TitleLike);
            kparams.AddStringIfNotNull("titleMultiLikeOr", this.TitleMultiLikeOr);
            kparams.AddStringIfNotNull("titleMultiLikeAnd", this.TitleMultiLikeAnd);
            kparams.AddIntIfNotNull("endTimeGreaterThanOrEqual", this.EndTimeGreaterThanOrEqual);
            kparams.AddIntIfNotNull("endTimeLessThanOrEqual", this.EndTimeLessThanOrEqual);
            kparams.AddIntIfNotNull("durationGreaterThanOrEqual", this.DurationGreaterThanOrEqual);
            kparams.AddIntIfNotNull("durationLessThanOrEqual", this.DurationLessThanOrEqual);
            return(kparams);
        }