kaltura-client 15.0.0 → 15.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2cfa3251f5e6bcde18ac0adf7ad5dd7e917aba9
4
- data.tar.gz: 8ea43516bc3d837a6a80ebf2bb809ea18e9d8b49
3
+ metadata.gz: bbf003968e1feb65ecfe76879e73d1260d29e208
4
+ data.tar.gz: 7b16fae557274debf048a6cafbf7ab2b571812bf
5
5
  SHA512:
6
- metadata.gz: a7bd838fd274f3672befd34e3c89501586b03562eb5c2300048c4092f0ab45773770df66d7e0e48df17781065347308677c8f6bcb56c32a01f49933aa0d71f09
7
- data.tar.gz: f4aac68f7ba09b5cf2fb407700b55c22ab0e053d69147aeae3a7507e114bc68fc9133a06a6a945c5058640ebf0966dac7d1ac06464c772c7ad6ebdcb305489f0
6
+ metadata.gz: dcb10efa5627dca37ddb8f20a6f7bc5c8172faccb05489a3363bd5acf00f5eac0596c8cd555d94928c0e68301074cc516428f25448e54d9d22e125501b670daf
7
+ data.tar.gz: f00fb63c88a540bf8ccb54904ac27ff072d66070c81eace1130cd5d6542bb43bc10ca676b1784acc5de2df39e8a00ebfc6fe1c3586ddc2a2f54f5b1b41cd8310
data/README CHANGED
@@ -1,5 +1,5 @@
1
1
  Kaltura Ruby API Client Library.
2
- Compatible with Kaltura server version 15.0.0 and above.
2
+ Compatible with Kaltura server version 15.2.0 and above.
3
3
 
4
4
  This source contains:
5
5
  - The Kaltura client library (kaltura_client_base.rb)
@@ -203,12 +203,12 @@ module Kaltura
203
203
  end
204
204
 
205
205
  # Set initial users password
206
- # @return []
206
+ # @return [KalturaAuthentication]
207
207
  def set_initial_password(hash_key, new_password)
208
208
  kparams = {}
209
209
  client.add_param(kparams, 'hashKey', hash_key)
210
210
  client.add_param(kparams, 'newPassword', new_password)
211
- client.queue_service_action_call('adminuser', 'setInitialPassword', '', kparams)
211
+ client.queue_service_action_call('adminuser', 'setInitialPassword', 'KalturaAuthentication', kparams)
212
212
  if (client.is_multirequest)
213
213
  return nil
214
214
  end
@@ -5500,6 +5500,18 @@ module Kaltura
5500
5500
  return client.do_queue()
5501
5501
  end
5502
5502
 
5503
+ # get QR image content
5504
+ # @return [string]
5505
+ def generate_qr_code(hash_key)
5506
+ kparams = {}
5507
+ client.add_param(kparams, 'hashKey', hash_key)
5508
+ client.queue_service_action_call('user', 'generateQrCode', 'string', kparams)
5509
+ if (client.is_multirequest)
5510
+ return nil
5511
+ end
5512
+ return client.do_queue()
5513
+ end
5514
+
5503
5515
  # Retrieves a user object for a specified user ID.
5504
5516
  # @return [KalturaUser]
5505
5517
  def get(user_id=KalturaNotImplemented)
@@ -5635,12 +5647,12 @@ module Kaltura
5635
5647
  end
5636
5648
 
5637
5649
  # Set initial user password
5638
- # @return []
5650
+ # @return [KalturaAuthentication]
5639
5651
  def set_initial_password(hash_key, new_password)
5640
5652
  kparams = {}
5641
5653
  client.add_param(kparams, 'hashKey', hash_key)
5642
5654
  client.add_param(kparams, 'newPassword', new_password)
5643
- client.queue_service_action_call('user', 'setInitialPassword', '', kparams)
5655
+ client.queue_service_action_call('user', 'setInitialPassword', 'KalturaAuthentication', kparams)
5644
5656
  if (client.is_multirequest)
5645
5657
  return nil
5646
5658
  end
@@ -6193,8 +6205,8 @@ module Kaltura
6193
6205
 
6194
6206
  def initialize(client)
6195
6207
  super(client)
6196
- self.client_tag = 'ruby:19-05-28'
6197
- self.api_version = '15.0.0'
6208
+ self.client_tag = 'ruby:19-07-08'
6209
+ self.api_version = '15.2.0'
6198
6210
  end
6199
6211
 
6200
6212
  def client_tag=(value)
data/lib/kaltura_enums.rb CHANGED
@@ -391,6 +391,12 @@ module Kaltura
391
391
  TRUE_VALUE = 1
392
392
  end
393
393
 
394
+ class KalturaPartnerAuthenticationType
395
+ PASSWORD_ONLY = 0
396
+ TWO_FACTOR_AUTH = 1
397
+ SSO = 2
398
+ end
399
+
394
400
  class KalturaPartnerGroupType
395
401
  PUBLISHER = 1
396
402
  VAR_GROUP = 2
@@ -1038,13 +1044,13 @@ module Kaltura
1038
1044
  end
1039
1045
 
1040
1046
  class KalturaBatchJobType
1047
+ CONVERT = "0"
1041
1048
  PARSE_MULTI_LANGUAGE_CAPTION_ASSET = "caption.parsemultilanguagecaptionasset"
1042
1049
  PARSE_CAPTION_ASSET = "captionSearch.parseCaptionAsset"
1043
1050
  DISTRIBUTION_DELETE = "contentDistribution.DistributionDelete"
1044
1051
  DISTRIBUTION_DISABLE = "contentDistribution.DistributionDisable"
1045
1052
  DISTRIBUTION_ENABLE = "contentDistribution.DistributionEnable"
1046
1053
  DISTRIBUTION_FETCH_REPORT = "contentDistribution.DistributionFetchReport"
1047
- CONVERT = "0"
1048
1054
  DISTRIBUTION_SUBMIT = "contentDistribution.DistributionSubmit"
1049
1055
  DISTRIBUTION_SYNC = "contentDistribution.DistributionSync"
1050
1056
  DISTRIBUTION_UPDATE = "contentDistribution.DistributionUpdate"
@@ -1618,9 +1624,9 @@ module Kaltura
1618
1624
  class KalturaEntryStatus
1619
1625
  ERROR_IMPORTING = "-2"
1620
1626
  ERROR_CONVERTING = "-1"
1621
- SCAN_FAILURE = "virusScan.ScanFailure"
1622
1627
  IMPORT = "0"
1623
1628
  INFECTED = "virusScan.Infected"
1629
+ SCAN_FAILURE = "virusScan.ScanFailure"
1624
1630
  PRECONVERT = "1"
1625
1631
  READY = "2"
1626
1632
  DELETED = "3"
@@ -1912,6 +1918,7 @@ module Kaltura
1912
1918
  ALN = "Albanian (Gheg)"
1913
1919
  ALS = "Albanian (Tosk)"
1914
1920
  ALE = "Aleut"
1921
+ ALG = "Algonquian languages"
1915
1922
  ALQ = "Algonquin"
1916
1923
  ALT = "Altai (Southern)"
1917
1924
  AM = "Amharic"
@@ -1932,6 +1939,7 @@ module Kaltura
1932
1939
  ASB = "Assiniboine"
1933
1940
  AII = "Assyrian Neo-Aramaic"
1934
1941
  AST = "Asturian"
1942
+ ATH = "Athapascan languages"
1935
1943
  ATJ = "Atikamekw"
1936
1944
  AWA = "Awadhi"
1937
1945
  AY = "Aymara"
@@ -1999,6 +2007,7 @@ module Kaltura
1999
2007
  COO = "Comox"
2000
2008
  COP = "Coptic"
2001
2009
  CO = "Corsican"
2010
+ CR = "Cree"
2002
2011
  MUS = "Creek"
2003
2012
  CRH = "Crimean Tatar"
2004
2013
  HR = "Croatian"
@@ -2076,8 +2085,8 @@ module Kaltura
2076
2085
  HNI = "Hani"
2077
2086
  HA = "Hausa"
2078
2087
  HAW = "Hawaiian"
2079
- IW = "Hebrew"
2080
2088
  HE = "Hebrew"
2089
+ IW = "Hebrew"
2081
2090
  HEI = "Heiltsuk"
2082
2091
  HID = "Hidatsa"
2083
2092
  HIL = "Hiligaynon"
@@ -2091,15 +2100,17 @@ module Kaltura
2091
2100
  KPO = "Ikposo"
2092
2101
  ILO = "Iloko"
2093
2102
  SMN = "Inari Sami"
2094
- IN = "Indonesian"
2095
2103
  ID = "Indonesian"
2104
+ IN = "Indonesian"
2096
2105
  IZH = "Ingrian"
2097
2106
  INH = "Ingush"
2098
2107
  IA = "Interlingua"
2099
2108
  IE = "Interlingue"
2109
+ IKT = "Inuinnaqtun"
2100
2110
  IU = "Inuktitut"
2101
2111
  IK = "Inupiak"
2102
2112
  GA = "Irish"
2113
+ IRO = "Iroquoian languages"
2103
2114
  IT = "Italian"
2104
2115
  ITL = "Itelmen"
2105
2116
  JA = "Japanese"
@@ -2221,6 +2232,7 @@ module Kaltura
2221
2232
  MO = "Moldavian"
2222
2233
  MNW = "Mon"
2223
2234
  MN = "Mongolian"
2235
+ MOE = "Montagnais"
2224
2236
  MFE = "Morisyen"
2225
2237
  MOS = "Mossi"
2226
2238
  MXI = "Mozarabic"
@@ -2236,6 +2248,7 @@ module Kaltura
2236
2248
  NIO = "Nganasan"
2237
2249
  NCG = "Nisgaa"
2238
2250
  NIU = "Niuean"
2251
+ ZXX = "No linguistic content"
2239
2252
  NOG = "Nogai"
2240
2253
  NON = "Norse Old"
2241
2254
  NSO = "Northern Sotho Pedi Sepedi"
@@ -2250,6 +2263,8 @@ module Kaltura
2250
2263
  OJB = "Ojibwa Northwestern"
2251
2264
  OJS = "Ojibwa Severn"
2252
2265
  OJW = "Ojibwa Western"
2266
+ OJ = "Ojibwe, Ojibwa"
2267
+ OKA = "Okanagan"
2253
2268
  RYU = "Okinawan Central"
2254
2269
  ANG = "Old English"
2255
2270
  ONE = "Oneida"
@@ -2300,7 +2315,9 @@ module Kaltura
2300
2315
  SAH = "Sakha"
2301
2316
  SLR = "Salar"
2302
2317
  STR = "Salish Straits"
2318
+ SAL = "Salishan languages"
2303
2319
  SJD = "Sami Kildin"
2320
+ SMI = "Sami languages"
2304
2321
  SM = "Samoan"
2305
2322
  SG = "Sangro"
2306
2323
  SA = "Sanskrit"
@@ -2327,6 +2344,7 @@ module Kaltura
2327
2344
  SHS = "Shuswap"
2328
2345
  SCN = "Sicilian"
2329
2346
  SID = "Sidamo"
2347
+ BLA = "Siksika"
2330
2348
  SZL = "Silesian"
2331
2349
  SD = "Sindhi"
2332
2350
  SI = "Sinhalese"
@@ -2341,6 +2359,7 @@ module Kaltura
2341
2359
  DSB = "Sorbian Lower"
2342
2360
  HSB = "Sorbian Upper"
2343
2361
  SMA = "Southern Sami"
2362
+ TCE = "Southern Tutchone"
2344
2363
  ES = "Spanish"
2345
2364
  SRN = "Sranan"
2346
2365
  STO = "Stoney"
@@ -2441,9 +2460,11 @@ module Kaltura
2441
2460
  AA = "aa"
2442
2461
  AB = "ab"
2443
2462
  AF = "af"
2463
+ ALG = "alg"
2444
2464
  AM = "am"
2445
2465
  AR = "ar"
2446
2466
  AS_ = "as"
2467
+ ATH = "ath"
2447
2468
  AY = "ay"
2448
2469
  AZ = "az"
2449
2470
  BA = "ba"
@@ -2451,11 +2472,14 @@ module Kaltura
2451
2472
  BG = "bg"
2452
2473
  BH = "bh"
2453
2474
  BI = "bi"
2475
+ BLA = "bla"
2454
2476
  BN = "bn"
2455
2477
  BO = "bo"
2456
2478
  BR = "br"
2457
2479
  CA = "ca"
2458
2480
  CO = "co"
2481
+ CR = "cr"
2482
+ CRG = "crg"
2459
2483
  CS = "cs"
2460
2484
  CY = "cy"
2461
2485
  DA = "da"
@@ -2491,7 +2515,9 @@ module Kaltura
2491
2515
  ID = "id"
2492
2516
  IE = "ie"
2493
2517
  IK = "ik"
2518
+ IKT = "ikt"
2494
2519
  IN = "in"
2520
+ IRO = "iro"
2495
2521
  IS = "is"
2496
2522
  IT = "it"
2497
2523
  IU = "iu"
@@ -2517,20 +2543,26 @@ module Kaltura
2517
2543
  LV = "lv"
2518
2544
  MG = "mg"
2519
2545
  MI = "mi"
2546
+ MIC = "mic"
2520
2547
  MK = "mk"
2521
2548
  ML = "ml"
2522
2549
  MN = "mn"
2523
2550
  MO = "mo"
2551
+ MOE = "moe"
2524
2552
  MR = "mr"
2525
2553
  MS = "ms"
2526
2554
  MT = "mt"
2527
- MU = "multilingual"
2555
+ MU = "mu"
2528
2556
  MY = "my"
2529
2557
  NA = "na"
2530
2558
  NE = "ne"
2531
2559
  NL = "nl"
2532
2560
  NO = "no"
2533
2561
  OC = "oc"
2562
+ OJ = "oj"
2563
+ OJS = "ojs"
2564
+ OJW = "ojw"
2565
+ OKA = "oka"
2534
2566
  OM = "om"
2535
2567
  OR_ = "or"
2536
2568
  PA = "pa"
@@ -2544,6 +2576,7 @@ module Kaltura
2544
2576
  RU = "ru"
2545
2577
  RW = "rw"
2546
2578
  SA = "sa"
2579
+ SAL = "sal"
2547
2580
  SD = "sd"
2548
2581
  SG = "sg"
2549
2582
  SH = "sh"
@@ -2551,6 +2584,7 @@ module Kaltura
2551
2584
  SK = "sk"
2552
2585
  SL = "sl"
2553
2586
  SM = "sm"
2587
+ SMI = "smi"
2554
2588
  SN = "sn"
2555
2589
  SO = "so"
2556
2590
  SQ = "sq"
@@ -2561,6 +2595,7 @@ module Kaltura
2561
2595
  SV = "sv"
2562
2596
  SW = "sw"
2563
2597
  TA = "ta"
2598
+ TCE = "tce"
2564
2599
  TE = "te"
2565
2600
  TG = "tg"
2566
2601
  TH = "th"
@@ -2575,6 +2610,7 @@ module Kaltura
2575
2610
  TW = "tw"
2576
2611
  UG = "ug"
2577
2612
  UK = "uk"
2613
+ UN = "un"
2578
2614
  UR = "ur"
2579
2615
  UZ = "uz"
2580
2616
  VI = "vi"
@@ -2585,6 +2621,7 @@ module Kaltura
2585
2621
  YO = "yo"
2586
2622
  ZH = "zh"
2587
2623
  ZU = "zu"
2624
+ ZXX = "zxx"
2588
2625
  end
2589
2626
 
2590
2627
  class KalturaLiveAssetOrderBy
@@ -3009,6 +3046,7 @@ module Kaltura
3009
3046
  MAIL_TYPE_REPORT_EXPORT_SUCCESS = "136"
3010
3047
  MAIL_TYPE_REPORT_EXPORT_FAILURE = "137"
3011
3048
  MAIL_TYPE_REPORT_EXPORT_ABORT = "138"
3049
+ MAIL_TYPE_SIP_FAILURE = "139"
3012
3050
  end
3013
3051
 
3014
3052
  class KalturaMatchConditionType
@@ -3393,7 +3431,10 @@ module Kaltura
3393
3431
 
3394
3432
  class KalturaReportInterval
3395
3433
  DAYS = "days"
3434
+ HOURS = "hours"
3435
+ MINUTES = "minutes"
3396
3436
  MONTHS = "months"
3437
+ TEN_SECONDS = "ten_seconds"
3397
3438
  end
3398
3439
 
3399
3440
  class KalturaReportOrderBy
@@ -3449,6 +3490,18 @@ module Kaltura
3449
3490
  PLAYER_RELATED_INTERACTIONS = "45"
3450
3491
  PLAYBACK_RATE = "46"
3451
3492
  PARTNER_USAGE = "201"
3493
+ MAP_OVERLAY_COUNTRY_REALTIME = "10001"
3494
+ MAP_OVERLAY_REGION_REALTIME = "10002"
3495
+ MAP_OVERLAY_CITY_REALTIME = "10003"
3496
+ PLATFORMS_REALTIME = "10004"
3497
+ USERS_OVERVIEW_REALTIME = "10005"
3498
+ QOS_OVERVIEW_REALTIME = "10006"
3499
+ DISCOVERY_REALTIME = "10007"
3500
+ ENTRY_LEVEL_USERS_DISCOVERY_REALTIME = "10008"
3501
+ ENTRY_LEVEL_USERS_STATUS_REALTIME = "10009"
3502
+ PLATFORMS_DISCOVERY_REALTIME = "10010"
3503
+ PLAYBACK_TYPE_REALTIME = "10011"
3504
+ CONTENT_REALTIME = "10012"
3452
3505
  end
3453
3506
 
3454
3507
  class KalturaResponseProfileOrderBy
@@ -42,6 +42,10 @@ module Kaltura
42
42
  attr_accessor :csv_version
43
43
  # Array containing CSV headers
44
44
  attr_accessor :columns
45
+ # The object in process
46
+ attr_accessor :process_object_id
47
+ # The type of the object in process
48
+ attr_accessor :process_object_type
45
49
 
46
50
  def csv_version=(val)
47
51
  @csv_version = val.to_i
@@ -55,6 +59,12 @@ module Kaltura
55
59
  if xml_element.elements['columns'] != nil
56
60
  self.columns = KalturaClientBase.object_from_xml(xml_element.elements['columns'], 'KalturaString')
57
61
  end
62
+ if xml_element.elements['processObjectId'] != nil
63
+ self.process_object_id = xml_element.elements['processObjectId'].text
64
+ end
65
+ if xml_element.elements['processObjectType'] != nil
66
+ self.process_object_type = xml_element.elements['processObjectType'].text
67
+ end
58
68
  end
59
69
 
60
70
  end
@@ -30,6 +30,11 @@ require File.dirname(__FILE__) + '/kaltura_elastic_search_client_plugin.rb'
30
30
 
31
31
  module Kaltura
32
32
 
33
+ class KalturaGroupProcessStatus
34
+ NONE = 0
35
+ PROCESSING = 1
36
+ end
37
+
33
38
  class KalturaESearchGroupFieldName
34
39
  CREATED_AT = "created_at"
35
40
  EMAIL = "email"
@@ -63,16 +68,23 @@ module Kaltura
63
68
 
64
69
  class KalturaGroup < KalturaBaseUser
65
70
  attr_accessor :members_count
71
+ attr_accessor :process_status
66
72
 
67
73
  def members_count=(val)
68
74
  @members_count = val.to_i
69
75
  end
76
+ def process_status=(val)
77
+ @process_status = val.to_i
78
+ end
70
79
 
71
80
  def from_xml(xml_element)
72
81
  super
73
82
  if xml_element.elements['membersCount'] != nil
74
83
  self.members_count = xml_element.elements['membersCount'].text
75
84
  end
85
+ if xml_element.elements['processStatus'] != nil
86
+ self.process_status = xml_element.elements['processStatus'].text
87
+ end
76
88
  end
77
89
 
78
90
  end
@@ -81,6 +81,7 @@ module Kaltura
81
81
  TRANSLATION = 2
82
82
  ALIGNMENT = 3
83
83
  AUDIO_DESCRIPTION = 4
84
+ CHAPTERING = 5
84
85
  end
85
86
 
86
87
  class KalturaVendorServiceTurnAroundTime
@@ -128,6 +129,7 @@ module Kaltura
128
129
  KO = "Korean"
129
130
  CMN = "Mandarin Chinese"
130
131
  NO = "Norwegian"
132
+ PL = "Polish"
131
133
  PT = "Portuguese"
132
134
  RU = "Russian"
133
135
  ES = "Spanish"
@@ -751,6 +753,8 @@ module Kaltura
751
753
  class KalturaCategoryEntryCondition < KalturaCondition
752
754
  # Category id to check condition for
753
755
  attr_accessor :category_id
756
+ # Category id's to check condition for
757
+ attr_accessor :category_ids
754
758
  # Minimum category user level permission to validate
755
759
  attr_accessor :category_user_permission
756
760
  # Comparing operator
@@ -768,6 +772,9 @@ module Kaltura
768
772
  if xml_element.elements['categoryId'] != nil
769
773
  self.category_id = xml_element.elements['categoryId'].text
770
774
  end
775
+ if xml_element.elements['categoryIds'] != nil
776
+ self.category_ids = xml_element.elements['categoryIds'].text
777
+ end
771
778
  if xml_element.elements['categoryUserPermission'] != nil
772
779
  self.category_user_permission = xml_element.elements['categoryUserPermission'].text
773
780
  end
@@ -921,6 +928,19 @@ module Kaltura
921
928
 
922
929
  end
923
930
 
931
+ class KalturaVendorChapteringCatalogItem < KalturaVendorCatalogItem
932
+ attr_accessor :source_language
933
+
934
+
935
+ def from_xml(xml_element)
936
+ super
937
+ if xml_element.elements['sourceLanguage'] != nil
938
+ self.source_language = xml_element.elements['sourceLanguage'].text
939
+ end
940
+ end
941
+
942
+ end
943
+
924
944
  class KalturaVendorCredit < KalturaBaseVendorCredit
925
945
  attr_accessor :credit
926
946
  attr_accessor :from_date
@@ -1446,6 +1466,15 @@ module Kaltura
1446
1466
 
1447
1467
  end
1448
1468
 
1469
+ class KalturaVendorChapteringCatalogItemFilter < KalturaVendorCaptionsCatalogItemBaseFilter
1470
+
1471
+
1472
+ def from_xml(xml_element)
1473
+ super
1474
+ end
1475
+
1476
+ end
1477
+
1449
1478
  class KalturaVendorTranslationCatalogItemBaseFilter < KalturaVendorCaptionsCatalogItemFilter
1450
1479
  attr_accessor :target_language_equal
1451
1480
  attr_accessor :target_language_in
@@ -33,13 +33,90 @@ module Kaltura
33
33
 
34
34
  class KalturaBulkUploadResultScheduleEvent < KalturaBulkUploadResult
35
35
  attr_accessor :reference_id
36
+ attr_accessor :template_entry_id
37
+ attr_accessor :event_type
38
+ attr_accessor :title
39
+ attr_accessor :description
40
+ attr_accessor :tags
41
+ attr_accessor :category_ids
42
+ # ID of the resource specified for the new event.
43
+ attr_accessor :resource_id
44
+ attr_accessor :start_time
45
+ attr_accessor :duration
46
+ attr_accessor :end_time
47
+ attr_accessor :recurrence
48
+ attr_accessor :co_editors
49
+ attr_accessor :co_publishers
50
+ attr_accessor :event_organizer_id
51
+ attr_accessor :content_owner_id
52
+ attr_accessor :template_entry_type
36
53
 
54
+ def event_type=(val)
55
+ @event_type = val.to_i
56
+ end
57
+ def start_time=(val)
58
+ @start_time = val.to_i
59
+ end
60
+ def duration=(val)
61
+ @duration = val.to_i
62
+ end
63
+ def end_time=(val)
64
+ @end_time = val.to_i
65
+ end
37
66
 
38
67
  def from_xml(xml_element)
39
68
  super
40
69
  if xml_element.elements['referenceId'] != nil
41
70
  self.reference_id = xml_element.elements['referenceId'].text
42
71
  end
72
+ if xml_element.elements['templateEntryId'] != nil
73
+ self.template_entry_id = xml_element.elements['templateEntryId'].text
74
+ end
75
+ if xml_element.elements['eventType'] != nil
76
+ self.event_type = xml_element.elements['eventType'].text
77
+ end
78
+ if xml_element.elements['title'] != nil
79
+ self.title = xml_element.elements['title'].text
80
+ end
81
+ if xml_element.elements['description'] != nil
82
+ self.description = xml_element.elements['description'].text
83
+ end
84
+ if xml_element.elements['tags'] != nil
85
+ self.tags = xml_element.elements['tags'].text
86
+ end
87
+ if xml_element.elements['categoryIds'] != nil
88
+ self.category_ids = xml_element.elements['categoryIds'].text
89
+ end
90
+ if xml_element.elements['resourceId'] != nil
91
+ self.resource_id = xml_element.elements['resourceId'].text
92
+ end
93
+ if xml_element.elements['startTime'] != nil
94
+ self.start_time = xml_element.elements['startTime'].text
95
+ end
96
+ if xml_element.elements['duration'] != nil
97
+ self.duration = xml_element.elements['duration'].text
98
+ end
99
+ if xml_element.elements['endTime'] != nil
100
+ self.end_time = xml_element.elements['endTime'].text
101
+ end
102
+ if xml_element.elements['recurrence'] != nil
103
+ self.recurrence = xml_element.elements['recurrence'].text
104
+ end
105
+ if xml_element.elements['coEditors'] != nil
106
+ self.co_editors = xml_element.elements['coEditors'].text
107
+ end
108
+ if xml_element.elements['coPublishers'] != nil
109
+ self.co_publishers = xml_element.elements['coPublishers'].text
110
+ end
111
+ if xml_element.elements['eventOrganizerId'] != nil
112
+ self.event_organizer_id = xml_element.elements['eventOrganizerId'].text
113
+ end
114
+ if xml_element.elements['contentOwnerId'] != nil
115
+ self.content_owner_id = xml_element.elements['contentOwnerId'].text
116
+ end
117
+ if xml_element.elements['templateEntryType'] != nil
118
+ self.template_entry_type = xml_element.elements['templateEntryType'].text
119
+ end
43
120
  end
44
121
 
45
122
  end
@@ -85,8 +162,18 @@ module Kaltura
85
162
 
86
163
  end
87
164
 
165
+ # Represents the abstract Bulk upload job data for general bulk upload
166
+ class KalturaBulkUploadScheduleEventJobData < KalturaBulkUploadJobData
167
+
168
+
169
+ def from_xml(xml_element)
170
+ super
171
+ end
172
+
173
+ end
174
+
88
175
  # Represents the Bulk upload job data for iCal bulk upload
89
- class KalturaBulkUploadICalJobData < KalturaBulkUploadJobData
176
+ class KalturaBulkUploadICalJobData < KalturaBulkUploadScheduleEventJobData
90
177
  # The type of the events that ill be created by this upload
91
178
  attr_accessor :events_type
92
179
 
@@ -103,5 +190,28 @@ module Kaltura
103
190
 
104
191
  end
105
192
 
193
+ # Represents the Bulk upload job data for CSV bulk upload
194
+ class KalturaBulkUploadScheduleEventCsvJobData < KalturaBulkUploadScheduleEventJobData
195
+ # The version of the csv file
196
+ attr_accessor :csv_version
197
+ # Array containing CSV headers
198
+ attr_accessor :columns
199
+
200
+ def csv_version=(val)
201
+ @csv_version = val.to_i
202
+ end
203
+
204
+ def from_xml(xml_element)
205
+ super
206
+ if xml_element.elements['csvVersion'] != nil
207
+ self.csv_version = xml_element.elements['csvVersion'].text
208
+ end
209
+ if xml_element.elements['columns'] != nil
210
+ self.columns = KalturaClientBase.object_from_xml(xml_element.elements['columns'], 'KalturaString')
211
+ end
212
+ end
213
+
214
+ end
215
+
106
216
 
107
217
  end
data/lib/kaltura_types.rb CHANGED
@@ -829,6 +829,19 @@ module Kaltura
829
829
 
830
830
  end
831
831
 
832
+ class KalturaAuthentication < KalturaObjectBase
833
+ attr_accessor :qr_code
834
+
835
+
836
+ def from_xml(xml_element)
837
+ super
838
+ if xml_element.elements['qrCode'] != nil
839
+ self.qr_code = xml_element.elements['qrCode'].text
840
+ end
841
+ end
842
+
843
+ end
844
+
832
845
  # Base class to all operation attributes types
833
846
  class KalturaOperationAttributes < KalturaObjectBase
834
847
 
@@ -1911,6 +1924,7 @@ module Kaltura
1911
1924
  attr_accessor :ovp_environment_url
1912
1925
  attr_accessor :ott_environment_url
1913
1926
  attr_accessor :e_search_languages
1927
+ attr_accessor :authentication_type
1914
1928
 
1915
1929
  def id=(val)
1916
1930
  @id = val.to_i
@@ -1981,6 +1995,9 @@ module Kaltura
1981
1995
  def publisher_environment_type=(val)
1982
1996
  @publisher_environment_type = val.to_i
1983
1997
  end
1998
+ def authentication_type=(val)
1999
+ @authentication_type = val.to_i
2000
+ end
1984
2001
 
1985
2002
  def from_xml(xml_element)
1986
2003
  super
@@ -2155,6 +2172,9 @@ module Kaltura
2155
2172
  if xml_element.elements['eSearchLanguages'] != nil
2156
2173
  self.e_search_languages = KalturaClientBase.object_from_xml(xml_element.elements['eSearchLanguages'], 'KalturaESearchLanguageItem')
2157
2174
  end
2175
+ if xml_element.elements['authenticationType'] != nil
2176
+ self.authentication_type = xml_element.elements['authenticationType'].text
2177
+ end
2158
2178
  end
2159
2179
 
2160
2180
  end
@@ -51,17 +51,22 @@ class CuePointServiceTest < Test::Unit::TestCase
51
51
  created_cue_point = @client.cue_point_service.add(cue_point)
52
52
 
53
53
  assert_not_nil created_cue_point.id
54
-
54
+
55
55
  # list the cuepoints
56
56
  cue_point_filter = Kaltura::KalturaCuePointFilter.new
57
57
  cue_point_filter.entry_id_equal = created_entry.id
58
58
  filter_pager = Kaltura::KalturaFilterPager.new
59
59
 
60
- cue_point_list = @client.cue_point_service.list(cue_point_filter, filter_pager)
61
-
62
- assert_equal cue_point_list.total_count, 1
60
+ for i in 1..5 do
61
+ cue_point_list = @client.cue_point_service.list(cue_point_filter, filter_pager)
62
+ if cue_point_list.total_count > 0
63
+ break
64
+ end
65
+ sleep(1)
66
+ end
63
67
 
64
- assert_nil @client.cue_point_service.delete(created_cue_point.id)
68
+ assert_equal cue_point_list.total_count, 1
69
+ assert_nil @client.cue_point_service.delete(created_cue_point.id)
65
70
  assert_nil @client.media_service.delete(created_entry.id)
66
71
  end
67
72
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaltura-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.0.0
4
+ version: 15.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaltura Inc.