katello_api 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/doc/KatelloApi.html +2 -2
- data/doc/KatelloApi/Base.html +33 -23
- data/doc/KatelloApi/Generator.html +1 -1
- data/doc/KatelloApi/Generator/Base.html +1 -1
- data/doc/KatelloApi/Resources.html +1 -1
- data/doc/KatelloApi/Resources/About.html +1 -1
- data/doc/KatelloApi/Resources/ActivationKey.html +1 -1
- data/doc/KatelloApi/Resources/Architecture.html +1 -1
- data/doc/KatelloApi/Resources/Changeset.html +1 -1
- data/doc/KatelloApi/Resources/ChangesetsContent.html +1 -1
- data/doc/KatelloApi/Resources/ComputeResource.html +1 -1
- data/doc/KatelloApi/Resources/ConfigTemplate.html +1 -1
- data/doc/KatelloApi/Resources/ContentUpload.html +1 -1
- data/doc/KatelloApi/Resources/ContentView.html +1 -1
- data/doc/KatelloApi/Resources/ContentViewDefinition.html +1 -1
- data/doc/KatelloApi/Resources/Crl.html +1 -1
- data/doc/KatelloApi/Resources/CustomInfo.html +1 -1
- data/doc/KatelloApi/Resources/Distribution.html +1 -1
- data/doc/KatelloApi/Resources/Distributor.html +1 -1
- data/doc/KatelloApi/Resources/Domain.html +1 -1
- data/doc/KatelloApi/Resources/Environment.html +1 -1
- data/doc/KatelloApi/Resources/Erratum.html +1 -1
- data/doc/KatelloApi/Resources/Filter.html +1 -1
- data/doc/KatelloApi/Resources/FilterRule.html +1 -1
- data/doc/KatelloApi/Resources/GpgKey.html +1 -1
- data/doc/KatelloApi/Resources/HardwareModel.html +1 -1
- data/doc/KatelloApi/Resources/Organization.html +1 -1
- data/doc/KatelloApi/Resources/OrganizationDefaultInfo.html +1 -1
- data/doc/KatelloApi/Resources/Package.html +1 -1
- data/doc/KatelloApi/Resources/Permission.html +1 -1
- data/doc/KatelloApi/Resources/Ping.html +1 -1
- data/doc/KatelloApi/Resources/Product.html +1 -1
- data/doc/KatelloApi/Resources/ProductsBulkAction.html +1 -1
- data/doc/KatelloApi/Resources/Provider.html +1 -1
- data/doc/KatelloApi/Resources/PuppetModule.html +1 -1
- data/doc/KatelloApi/Resources/RepositoriesBulkAction.html +1 -1
- data/doc/KatelloApi/Resources/Repository.html +1 -1
- data/doc/KatelloApi/Resources/RepositorySet.html +1 -1
- data/doc/KatelloApi/Resources/Role.html +1 -1
- data/doc/KatelloApi/Resources/RoleLdapGroup.html +1 -1
- data/doc/KatelloApi/Resources/SmartProxy.html +1 -1
- data/doc/KatelloApi/Resources/Statu.html +1 -1
- data/doc/KatelloApi/Resources/Status.html +1 -1
- data/doc/KatelloApi/Resources/Subnet.html +1 -1
- data/doc/KatelloApi/Resources/Subscription.html +1 -1
- data/doc/KatelloApi/Resources/Sync.html +1 -1
- data/doc/KatelloApi/Resources/SyncPlan.html +842 -76
- data/doc/KatelloApi/Resources/System.html +1 -1
- data/doc/KatelloApi/Resources/SystemErratum.html +1 -1
- data/doc/KatelloApi/Resources/SystemGroup.html +1 -1
- data/doc/KatelloApi/Resources/SystemGroupErratum.html +1 -1
- data/doc/KatelloApi/Resources/SystemGroupPackage.html +1 -1
- data/doc/KatelloApi/Resources/SystemPackage.html +1 -1
- data/doc/KatelloApi/Resources/SystemsBulkAction.html +1 -1
- data/doc/KatelloApi/Resources/Task.html +1 -1
- data/doc/KatelloApi/Resources/Template.html +1 -1
- data/doc/KatelloApi/Resources/TemplatesContent.html +1 -1
- data/doc/KatelloApi/Resources/Uebercert.html +1 -1
- data/doc/KatelloApi/Resources/User.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +499 -475
- data/doc/top-level-namespace.html +1 -1
- data/katello_api.gemspec +1 -1
- data/lib/katello_api/base.rb +7 -2
- data/lib/katello_api/documentation.json +1 -1
- data/lib/katello_api/resources/sync_plan.rb +52 -0
- data/lib/katello_api/version.rb +1 -1
- metadata +5 -5
@@ -1676,7 +1676,7 @@
|
|
1676
1676
|
</div>
|
1677
1677
|
|
1678
1678
|
<div id="footer">
|
1679
|
-
Generated on
|
1679
|
+
Generated on Mon Feb 3 15:49:51 2014 by
|
1680
1680
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1681
1681
|
0.8.7.3 (ruby-1.9.3).
|
1682
1682
|
</div>
|
@@ -682,7 +682,7 @@
|
|
682
682
|
</div>
|
683
683
|
|
684
684
|
<div id="footer">
|
685
|
-
Generated on
|
685
|
+
Generated on Mon Feb 3 15:49:57 2014 by
|
686
686
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
687
687
|
0.8.7.3 (ruby-1.9.3).
|
688
688
|
</div>
|
@@ -2240,7 +2240,7 @@
|
|
2240
2240
|
</div>
|
2241
2241
|
|
2242
2242
|
<div id="footer">
|
2243
|
-
Generated on
|
2243
|
+
Generated on Mon Feb 3 15:49:52 2014 by
|
2244
2244
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2245
2245
|
0.8.7.3 (ruby-1.9.3).
|
2246
2246
|
</div>
|
@@ -695,7 +695,7 @@
|
|
695
695
|
</div>
|
696
696
|
|
697
697
|
<div id="footer">
|
698
|
-
Generated on
|
698
|
+
Generated on Mon Feb 3 15:49:55 2014 by
|
699
699
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
700
700
|
0.8.7.3 (ruby-1.9.3).
|
701
701
|
</div>
|
@@ -522,7 +522,7 @@
|
|
522
522
|
</div>
|
523
523
|
|
524
524
|
<div id="footer">
|
525
|
-
Generated on
|
525
|
+
Generated on Mon Feb 3 15:49:57 2014 by
|
526
526
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
527
527
|
0.8.7.3 (ruby-1.9.3).
|
528
528
|
</div>
|
@@ -1324,7 +1324,7 @@
|
|
1324
1324
|
</div>
|
1325
1325
|
|
1326
1326
|
<div id="footer">
|
1327
|
-
Generated on
|
1327
|
+
Generated on Mon Feb 3 15:49:53 2014 by
|
1328
1328
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1329
1329
|
0.8.7.3 (ruby-1.9.3).
|
1330
1330
|
</div>
|
@@ -721,7 +721,7 @@
|
|
721
721
|
</div>
|
722
722
|
|
723
723
|
<div id="footer">
|
724
|
-
Generated on
|
724
|
+
Generated on Mon Feb 3 15:49:55 2014 by
|
725
725
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
726
726
|
0.8.7.3 (ruby-1.9.3).
|
727
727
|
</div>
|
@@ -1129,7 +1129,7 @@
|
|
1129
1129
|
</div>
|
1130
1130
|
|
1131
1131
|
<div id="footer">
|
1132
|
-
Generated on
|
1132
|
+
Generated on Mon Feb 3 15:49:49 2014 by
|
1133
1133
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1134
1134
|
0.8.7.3 (ruby-1.9.3).
|
1135
1135
|
</div>
|
@@ -698,7 +698,7 @@
|
|
698
698
|
</div>
|
699
699
|
|
700
700
|
<div id="footer">
|
701
|
-
Generated on
|
701
|
+
Generated on Mon Feb 3 15:49:56 2014 by
|
702
702
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
703
703
|
0.8.7.3 (ruby-1.9.3).
|
704
704
|
</div>
|
@@ -999,7 +999,7 @@
|
|
999
999
|
</div>
|
1000
1000
|
|
1001
1001
|
<div id="footer">
|
1002
|
-
Generated on
|
1002
|
+
Generated on Mon Feb 3 15:49:53 2014 by
|
1003
1003
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1004
1004
|
0.8.7.3 (ruby-1.9.3).
|
1005
1005
|
</div>
|
@@ -351,7 +351,7 @@
|
|
351
351
|
</div>
|
352
352
|
|
353
353
|
<div id="footer">
|
354
|
-
Generated on
|
354
|
+
Generated on Mon Feb 3 15:49:50 2014 by
|
355
355
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
356
356
|
0.8.7.3 (ruby-1.9.3).
|
357
357
|
</div>
|
@@ -351,7 +351,7 @@
|
|
351
351
|
</div>
|
352
352
|
|
353
353
|
<div id="footer">
|
354
|
-
Generated on
|
354
|
+
Generated on Mon Feb 3 15:49:51 2014 by
|
355
355
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
356
356
|
0.8.7.3 (ruby-1.9.3).
|
357
357
|
</div>
|
@@ -958,7 +958,7 @@
|
|
958
958
|
</div>
|
959
959
|
|
960
960
|
<div id="footer">
|
961
|
-
Generated on
|
961
|
+
Generated on Mon Feb 3 15:49:51 2014 by
|
962
962
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
963
963
|
0.8.7.3 (ruby-1.9.3).
|
964
964
|
</div>
|
@@ -1366,7 +1366,7 @@
|
|
1366
1366
|
</div>
|
1367
1367
|
|
1368
1368
|
<div id="footer">
|
1369
|
-
Generated on
|
1369
|
+
Generated on Mon Feb 3 15:49:54 2014 by
|
1370
1370
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1371
1371
|
0.8.7.3 (ruby-1.9.3).
|
1372
1372
|
</div>
|
@@ -602,7 +602,7 @@ path</p>
|
|
602
602
|
</div>
|
603
603
|
|
604
604
|
<div id="footer">
|
605
|
-
Generated on
|
605
|
+
Generated on Mon Feb 3 15:49:50 2014 by
|
606
606
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
607
607
|
0.8.7.3 (ruby-1.9.3).
|
608
608
|
</div>
|
@@ -164,6 +164,54 @@
|
|
164
164
|
<li class="public ">
|
165
165
|
<span class="summary_signature">
|
166
166
|
|
167
|
+
<a href="#add_products-instance_method" title="#add_products (instance method)">- (Array) <strong>add_products</strong>(params = {}, headers = {}) </a>
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
</span>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
<span class="summary_desc"><div class='inline'>
|
182
|
+
<p>First item: parsed data; second item: raw body.</p>
|
183
|
+
</div></span>
|
184
|
+
|
185
|
+
</li>
|
186
|
+
|
187
|
+
|
188
|
+
<li class="public ">
|
189
|
+
<span class="summary_signature">
|
190
|
+
|
191
|
+
<a href="#available_products-instance_method" title="#available_products (instance method)">- (Array) <strong>available_products</strong>(params = {}, headers = {}) </a>
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
</span>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
<span class="summary_desc"><div class='inline'>
|
206
|
+
<p>First item: parsed data; second item: raw body.</p>
|
207
|
+
</div></span>
|
208
|
+
|
209
|
+
</li>
|
210
|
+
|
211
|
+
|
212
|
+
<li class="public ">
|
213
|
+
<span class="summary_signature">
|
214
|
+
|
167
215
|
<a href="#create-instance_method" title="#create (instance method)">- (Array) <strong>create</strong>(params = {}, headers = {}) </a>
|
168
216
|
|
169
217
|
|
@@ -226,6 +274,54 @@
|
|
226
274
|
|
227
275
|
|
228
276
|
|
277
|
+
<span class="summary_desc"><div class='inline'>
|
278
|
+
<p>First item: parsed data; second item: raw body.</p>
|
279
|
+
</div></span>
|
280
|
+
|
281
|
+
</li>
|
282
|
+
|
283
|
+
|
284
|
+
<li class="public ">
|
285
|
+
<span class="summary_signature">
|
286
|
+
|
287
|
+
<a href="#remove_products-instance_method" title="#remove_products (instance method)">- (Array) <strong>remove_products</strong>(params = {}, headers = {}) </a>
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
</span>
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
<span class="summary_desc"><div class='inline'>
|
302
|
+
<p>First item: parsed data; second item: raw body.</p>
|
303
|
+
</div></span>
|
304
|
+
|
305
|
+
</li>
|
306
|
+
|
307
|
+
|
308
|
+
<li class="public ">
|
309
|
+
<span class="summary_signature">
|
310
|
+
|
311
|
+
<a href="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</strong>(params = {}, headers = {}) </a>
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
</span>
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
|
229
325
|
<span class="summary_desc"><div class='inline'>
|
230
326
|
<p>First item: parsed data; second item: raw body.</p>
|
231
327
|
</div></span>
|
@@ -320,9 +416,9 @@
|
|
320
416
|
|
321
417
|
|
322
418
|
<div class="method_details first">
|
323
|
-
<h3 class="signature first" id="
|
419
|
+
<h3 class="signature first" id="add_products-instance_method">
|
324
420
|
|
325
|
-
- (<tt>Array</tt>) <strong>
|
421
|
+
- (<tt>Array</tt>) <strong>add_products</strong>(params = {}, headers = {})
|
326
422
|
|
327
423
|
|
328
424
|
|
@@ -385,66 +481,40 @@
|
|
385
481
|
<ul class="option">
|
386
482
|
|
387
483
|
<li>
|
388
|
-
<span class="name">
|
389
|
-
<span class="type">(<tt>String</tt>)</span>
|
390
|
-
<span class="default">
|
391
|
-
|
392
|
-
</span>
|
393
|
-
|
394
|
-
— <div class='inline'>
|
395
|
-
<p>filter products by organization name or label</p>
|
396
|
-
</div>
|
397
|
-
|
398
|
-
</li>
|
399
|
-
|
400
|
-
<li>
|
401
|
-
<span class="name">description</span>
|
402
|
-
<span class="type">(<tt>String</tt>)</span>
|
403
|
-
<span class="default">
|
404
|
-
|
405
|
-
</span>
|
406
|
-
|
407
|
-
— <div class='inline'>
|
408
|
-
<p>sync plan description</p>
|
409
|
-
</div>
|
410
|
-
|
411
|
-
</li>
|
412
|
-
|
413
|
-
<li>
|
414
|
-
<span class="name">interval</span>
|
484
|
+
<span class="name">id</span>
|
415
485
|
<span class="type">(<tt>String</tt>)</span>
|
416
486
|
<span class="default">
|
417
487
|
|
418
488
|
</span>
|
419
489
|
|
420
490
|
— <div class='inline'>
|
421
|
-
<p>
|
491
|
+
<p>id of the sync plan</p>
|
422
492
|
</div>
|
423
493
|
|
424
494
|
</li>
|
425
495
|
|
426
496
|
<li>
|
427
|
-
<span class="name">
|
428
|
-
<span class="type">(<tt>
|
497
|
+
<span class="name">organization_id</span>
|
498
|
+
<span class="type">(<tt>Object</tt>)</span>
|
429
499
|
<span class="default">
|
430
500
|
|
431
501
|
</span>
|
432
502
|
|
433
503
|
— <div class='inline'>
|
434
|
-
<p>
|
504
|
+
<p>Part of <tt>/api/organizations/:organization_id/sync_plans/:id/products</tt> path</p>
|
435
505
|
</div>
|
436
506
|
|
437
507
|
</li>
|
438
508
|
|
439
509
|
<li>
|
440
|
-
<span class="name">
|
441
|
-
<span class="type">(<tt>
|
510
|
+
<span class="name">product_ids</span>
|
511
|
+
<span class="type">(<tt>Array</tt>)</span>
|
442
512
|
<span class="default">
|
443
513
|
|
444
514
|
</span>
|
445
515
|
|
446
516
|
— <div class='inline'>
|
447
|
-
<p>
|
517
|
+
<p>list of product ids to add to the sync plan</p>
|
448
518
|
</div>
|
449
519
|
|
450
520
|
</li>
|
@@ -479,14 +549,14 @@
|
|
479
549
|
<pre class="lines">
|
480
550
|
|
481
551
|
|
482
|
-
|
483
|
-
|
484
|
-
|
552
|
+
94
|
553
|
+
95
|
554
|
+
96</pre>
|
485
555
|
</td>
|
486
556
|
<td>
|
487
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line
|
557
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line 94</span>
|
488
558
|
|
489
|
-
<span class='kw'>def</span> <span class='id identifier
|
559
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_add_products'>add_products</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
490
560
|
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
491
561
|
<span class='kw'>end</span></pre>
|
492
562
|
</td>
|
@@ -495,9 +565,9 @@
|
|
495
565
|
</div>
|
496
566
|
|
497
567
|
<div class="method_details ">
|
498
|
-
<h3 class="signature " id="
|
568
|
+
<h3 class="signature " id="available_products-instance_method">
|
499
569
|
|
500
|
-
- (<tt>Array</tt>) <strong>
|
570
|
+
- (<tt>Array</tt>) <strong>available_products</strong>(params = {}, headers = {})
|
501
571
|
|
502
572
|
|
503
573
|
|
@@ -561,26 +631,126 @@
|
|
561
631
|
|
562
632
|
<li>
|
563
633
|
<span class="name">id</span>
|
564
|
-
<span class="type">(<tt>
|
634
|
+
<span class="type">(<tt>Object</tt>)</span>
|
565
635
|
<span class="default">
|
566
636
|
|
567
637
|
</span>
|
568
638
|
|
569
639
|
— <div class='inline'>
|
570
|
-
<p>
|
640
|
+
<p>Part of
|
641
|
+
<tt>/api/organizations/:organization_id/sync_plans/:id/available_products</tt>
|
642
|
+
path</p>
|
571
643
|
</div>
|
572
644
|
|
573
645
|
</li>
|
574
646
|
|
575
647
|
<li>
|
576
648
|
<span class="name">organization_id</span>
|
649
|
+
<span class="type">(<tt>Object</tt>)</span>
|
650
|
+
<span class="default">
|
651
|
+
|
652
|
+
</span>
|
653
|
+
|
654
|
+
— <div class='inline'>
|
655
|
+
<p>Part of
|
656
|
+
<tt>/api/organizations/:organization_id/sync_plans/:id/available_products</tt>
|
657
|
+
path</p>
|
658
|
+
</div>
|
659
|
+
|
660
|
+
</li>
|
661
|
+
|
662
|
+
<li>
|
663
|
+
<span class="name">full_results</span>
|
577
664
|
<span class="type">(<tt>String</tt>)</span>
|
578
665
|
<span class="default">
|
579
666
|
|
580
667
|
</span>
|
581
668
|
|
582
669
|
— <div class='inline'>
|
583
|
-
<p>
|
670
|
+
<p>whether or not to show all results</p>
|
671
|
+
</div>
|
672
|
+
|
673
|
+
</li>
|
674
|
+
|
675
|
+
<li>
|
676
|
+
<span class="name">name</span>
|
677
|
+
<span class="type">(<tt>String</tt>)</span>
|
678
|
+
<span class="default">
|
679
|
+
|
680
|
+
</span>
|
681
|
+
|
682
|
+
— <div class='inline'>
|
683
|
+
<p>product name to filter by</p>
|
684
|
+
</div>
|
685
|
+
|
686
|
+
</li>
|
687
|
+
|
688
|
+
<li>
|
689
|
+
<span class="name">order</span>
|
690
|
+
<span class="type">(<tt>String</tt>)</span>
|
691
|
+
<span class="default">
|
692
|
+
|
693
|
+
</span>
|
694
|
+
|
695
|
+
— <div class='inline'>
|
696
|
+
<p>sort field and order, eg. ‘name desc’</p>
|
697
|
+
</div>
|
698
|
+
|
699
|
+
</li>
|
700
|
+
|
701
|
+
<li>
|
702
|
+
<span class="name">page</span>
|
703
|
+
<span class="type">(<tt>String</tt>)</span>
|
704
|
+
<span class="default">
|
705
|
+
|
706
|
+
</span>
|
707
|
+
|
708
|
+
— <div class='inline'>
|
709
|
+
<p>page number, starting at 1</p>
|
710
|
+
</div>
|
711
|
+
|
712
|
+
</li>
|
713
|
+
|
714
|
+
<li>
|
715
|
+
<span class="name">per_page</span>
|
716
|
+
<span class="type">(<tt>String</tt>)</span>
|
717
|
+
<span class="default">
|
718
|
+
|
719
|
+
</span>
|
720
|
+
|
721
|
+
— <div class='inline'>
|
722
|
+
<p>number of results per page to return</p>
|
723
|
+
</div>
|
724
|
+
|
725
|
+
</li>
|
726
|
+
|
727
|
+
<li>
|
728
|
+
<span class="name">search</span>
|
729
|
+
<span class="type">(<tt>String</tt>)</span>
|
730
|
+
<span class="default">
|
731
|
+
|
732
|
+
</span>
|
733
|
+
|
734
|
+
— <div class='inline'>
|
735
|
+
<p>search string</p>
|
736
|
+
</div>
|
737
|
+
|
738
|
+
</li>
|
739
|
+
|
740
|
+
<li>
|
741
|
+
<span class="name">sort</span>
|
742
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
743
|
+
<span class="default">
|
744
|
+
|
745
|
+
</span>
|
746
|
+
|
747
|
+
— <div class='inline'>
|
748
|
+
<p>hash version of ‘order’ param allowed keys are:</p>
|
749
|
+
<ul><li>
|
750
|
+
<p>by [String] field to sort the results on</p>
|
751
|
+
</li><li>
|
752
|
+
<p>order [String] how to order the sorted results (e.g. asc for ascending)</p>
|
753
|
+
</li></ul>
|
584
754
|
</div>
|
585
755
|
|
586
756
|
</li>
|
@@ -615,14 +785,14 @@
|
|
615
785
|
<pre class="lines">
|
616
786
|
|
617
787
|
|
618
|
-
|
619
|
-
|
620
|
-
|
788
|
+
83
|
789
|
+
84
|
790
|
+
85</pre>
|
621
791
|
</td>
|
622
792
|
<td>
|
623
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line
|
793
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line 83</span>
|
624
794
|
|
625
|
-
<span class='kw'>def</span> <span class='id identifier
|
795
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_available_products'>available_products</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
626
796
|
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
627
797
|
<span class='kw'>end</span></pre>
|
628
798
|
</td>
|
@@ -631,9 +801,9 @@
|
|
631
801
|
</div>
|
632
802
|
|
633
803
|
<div class="method_details ">
|
634
|
-
<h3 class="signature " id="
|
804
|
+
<h3 class="signature " id="create-instance_method">
|
635
805
|
|
636
|
-
- (<tt>Array</tt>) <strong>
|
806
|
+
- (<tt>Array</tt>) <strong>create</strong>(params = {}, headers = {})
|
637
807
|
|
638
808
|
|
639
809
|
|
@@ -708,6 +878,19 @@
|
|
708
878
|
|
709
879
|
</li>
|
710
880
|
|
881
|
+
<li>
|
882
|
+
<span class="name">description</span>
|
883
|
+
<span class="type">(<tt>String</tt>)</span>
|
884
|
+
<span class="default">
|
885
|
+
|
886
|
+
</span>
|
887
|
+
|
888
|
+
— <div class='inline'>
|
889
|
+
<p>sync plan description</p>
|
890
|
+
</div>
|
891
|
+
|
892
|
+
</li>
|
893
|
+
|
711
894
|
<li>
|
712
895
|
<span class="name">interval</span>
|
713
896
|
<span class="type">(<tt>String</tt>)</span>
|
@@ -716,7 +899,7 @@
|
|
716
899
|
</span>
|
717
900
|
|
718
901
|
— <div class='inline'>
|
719
|
-
<p>
|
902
|
+
<p>how often synchronization should run</p>
|
720
903
|
</div>
|
721
904
|
|
722
905
|
</li>
|
@@ -729,7 +912,7 @@
|
|
729
912
|
</span>
|
730
913
|
|
731
914
|
— <div class='inline'>
|
732
|
-
<p>
|
915
|
+
<p>sync plan name</p>
|
733
916
|
</div>
|
734
917
|
|
735
918
|
</li>
|
@@ -742,7 +925,7 @@
|
|
742
925
|
</span>
|
743
926
|
|
744
927
|
— <div class='inline'>
|
745
|
-
<p>
|
928
|
+
<p>start datetime of synchronization</p>
|
746
929
|
</div>
|
747
930
|
|
748
931
|
</li>
|
@@ -777,14 +960,14 @@
|
|
777
960
|
<pre class="lines">
|
778
961
|
|
779
962
|
|
780
|
-
|
781
|
-
|
782
|
-
|
963
|
+
39
|
964
|
+
40
|
965
|
+
41</pre>
|
783
966
|
</td>
|
784
967
|
<td>
|
785
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line
|
968
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line 39</span>
|
786
969
|
|
787
|
-
<span class='kw'>def</span> <span class='id identifier
|
970
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
788
971
|
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
789
972
|
<span class='kw'>end</span></pre>
|
790
973
|
</td>
|
@@ -793,9 +976,9 @@
|
|
793
976
|
</div>
|
794
977
|
|
795
978
|
<div class="method_details ">
|
796
|
-
<h3 class="signature " id="
|
979
|
+
<h3 class="signature " id="destroy-instance_method">
|
797
980
|
|
798
|
-
- (<tt>Array</tt>) <strong>
|
981
|
+
- (<tt>Array</tt>) <strong>destroy</strong>(params = {}, headers = {})
|
799
982
|
|
800
983
|
|
801
984
|
|
@@ -883,14 +1066,597 @@
|
|
883
1066
|
|
884
1067
|
</li>
|
885
1068
|
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
1069
|
+
</ul>
|
1070
|
+
|
1071
|
+
|
1072
|
+
|
1073
|
+
|
1074
|
+
<p class="tag_title">Returns:</p>
|
1075
|
+
<ul class="return">
|
1076
|
+
|
1077
|
+
<li>
|
1078
|
+
|
1079
|
+
|
1080
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
1081
|
+
|
1082
|
+
|
1083
|
+
|
1084
|
+
—
|
1085
|
+
<div class='inline'>
|
1086
|
+
<p>First item: parsed data; second item: raw body</p>
|
1087
|
+
</div>
|
1088
|
+
|
1089
|
+
</li>
|
1090
|
+
|
1091
|
+
</ul>
|
1092
|
+
|
1093
|
+
</div><table class="source_code">
|
1094
|
+
<tr>
|
1095
|
+
<td>
|
1096
|
+
<pre class="lines">
|
1097
|
+
|
1098
|
+
|
1099
|
+
63
|
1100
|
+
64
|
1101
|
+
65</pre>
|
1102
|
+
</td>
|
1103
|
+
<td>
|
1104
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line 63</span>
|
1105
|
+
|
1106
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_destroy'>destroy</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1107
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
1108
|
+
<span class='kw'>end</span></pre>
|
1109
|
+
</td>
|
1110
|
+
</tr>
|
1111
|
+
</table>
|
1112
|
+
</div>
|
1113
|
+
|
1114
|
+
<div class="method_details ">
|
1115
|
+
<h3 class="signature " id="index-instance_method">
|
1116
|
+
|
1117
|
+
- (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
|
1118
|
+
|
1119
|
+
|
1120
|
+
|
1121
|
+
|
1122
|
+
|
1123
|
+
</h3><div class="docstring">
|
1124
|
+
<div class="discussion">
|
1125
|
+
|
1126
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1127
|
+
|
1128
|
+
|
1129
|
+
</div>
|
1130
|
+
</div>
|
1131
|
+
<div class="tags">
|
1132
|
+
<p class="tag_title">Parameters:</p>
|
1133
|
+
<ul class="param">
|
1134
|
+
|
1135
|
+
<li>
|
1136
|
+
|
1137
|
+
<span class='name'>params</span>
|
1138
|
+
|
1139
|
+
|
1140
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1141
|
+
|
1142
|
+
|
1143
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1144
|
+
|
1145
|
+
|
1146
|
+
—
|
1147
|
+
<div class='inline'>
|
1148
|
+
<p>a hash of params to be passed to the service</p>
|
1149
|
+
</div>
|
1150
|
+
|
1151
|
+
</li>
|
1152
|
+
|
1153
|
+
<li>
|
1154
|
+
|
1155
|
+
<span class='name'>headers</span>
|
1156
|
+
|
1157
|
+
|
1158
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1159
|
+
|
1160
|
+
|
1161
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1162
|
+
|
1163
|
+
|
1164
|
+
—
|
1165
|
+
<div class='inline'>
|
1166
|
+
<p>additional http headers</p>
|
1167
|
+
</div>
|
1168
|
+
|
1169
|
+
</li>
|
1170
|
+
|
1171
|
+
</ul>
|
1172
|
+
|
1173
|
+
|
1174
|
+
|
1175
|
+
|
1176
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
1177
|
+
<ul class="option">
|
1178
|
+
|
1179
|
+
<li>
|
1180
|
+
<span class="name">organization_id</span>
|
1181
|
+
<span class="type">(<tt>String</tt>)</span>
|
1182
|
+
<span class="default">
|
1183
|
+
|
1184
|
+
</span>
|
1185
|
+
|
1186
|
+
— <div class='inline'>
|
1187
|
+
<p>filter products by organization name or label</p>
|
1188
|
+
</div>
|
1189
|
+
|
1190
|
+
</li>
|
1191
|
+
|
1192
|
+
<li>
|
1193
|
+
<span class="name">interval</span>
|
1194
|
+
<span class="type">(<tt>String</tt>)</span>
|
1195
|
+
<span class="default">
|
1196
|
+
|
1197
|
+
</span>
|
1198
|
+
|
1199
|
+
— <div class='inline'>
|
1200
|
+
<p>filter by interval</p>
|
1201
|
+
</div>
|
1202
|
+
|
1203
|
+
</li>
|
1204
|
+
|
1205
|
+
<li>
|
1206
|
+
<span class="name">name</span>
|
1207
|
+
<span class="type">(<tt>String</tt>)</span>
|
1208
|
+
<span class="default">
|
1209
|
+
|
1210
|
+
</span>
|
1211
|
+
|
1212
|
+
— <div class='inline'>
|
1213
|
+
<p>filter by name</p>
|
1214
|
+
</div>
|
1215
|
+
|
1216
|
+
</li>
|
1217
|
+
|
1218
|
+
<li>
|
1219
|
+
<span class="name">sync_date</span>
|
1220
|
+
<span class="type">(<tt>String</tt>)</span>
|
1221
|
+
<span class="default">
|
1222
|
+
|
1223
|
+
</span>
|
1224
|
+
|
1225
|
+
— <div class='inline'>
|
1226
|
+
<p>filter by sync date</p>
|
1227
|
+
</div>
|
1228
|
+
|
1229
|
+
</li>
|
1230
|
+
|
1231
|
+
</ul>
|
1232
|
+
|
1233
|
+
|
1234
|
+
|
1235
|
+
|
1236
|
+
<p class="tag_title">Returns:</p>
|
1237
|
+
<ul class="return">
|
1238
|
+
|
1239
|
+
<li>
|
1240
|
+
|
1241
|
+
|
1242
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
1243
|
+
|
1244
|
+
|
1245
|
+
|
1246
|
+
—
|
1247
|
+
<div class='inline'>
|
1248
|
+
<p>First item: parsed data; second item: raw body</p>
|
1249
|
+
</div>
|
1250
|
+
|
1251
|
+
</li>
|
1252
|
+
|
1253
|
+
</ul>
|
1254
|
+
|
1255
|
+
</div><table class="source_code">
|
1256
|
+
<tr>
|
1257
|
+
<td>
|
1258
|
+
<pre class="lines">
|
1259
|
+
|
1260
|
+
|
1261
|
+
16
|
1262
|
+
17
|
1263
|
+
18</pre>
|
1264
|
+
</td>
|
1265
|
+
<td>
|
1266
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line 16</span>
|
1267
|
+
|
1268
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_index'>index</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1269
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
1270
|
+
<span class='kw'>end</span></pre>
|
1271
|
+
</td>
|
1272
|
+
</tr>
|
1273
|
+
</table>
|
1274
|
+
</div>
|
1275
|
+
|
1276
|
+
<div class="method_details ">
|
1277
|
+
<h3 class="signature " id="remove_products-instance_method">
|
1278
|
+
|
1279
|
+
- (<tt>Array</tt>) <strong>remove_products</strong>(params = {}, headers = {})
|
1280
|
+
|
1281
|
+
|
1282
|
+
|
1283
|
+
|
1284
|
+
|
1285
|
+
</h3><div class="docstring">
|
1286
|
+
<div class="discussion">
|
1287
|
+
|
1288
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1289
|
+
|
1290
|
+
|
1291
|
+
</div>
|
1292
|
+
</div>
|
1293
|
+
<div class="tags">
|
1294
|
+
<p class="tag_title">Parameters:</p>
|
1295
|
+
<ul class="param">
|
1296
|
+
|
1297
|
+
<li>
|
1298
|
+
|
1299
|
+
<span class='name'>params</span>
|
1300
|
+
|
1301
|
+
|
1302
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1303
|
+
|
1304
|
+
|
1305
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1306
|
+
|
1307
|
+
|
1308
|
+
—
|
1309
|
+
<div class='inline'>
|
1310
|
+
<p>a hash of params to be passed to the service</p>
|
1311
|
+
</div>
|
1312
|
+
|
1313
|
+
</li>
|
1314
|
+
|
1315
|
+
<li>
|
1316
|
+
|
1317
|
+
<span class='name'>headers</span>
|
1318
|
+
|
1319
|
+
|
1320
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1321
|
+
|
1322
|
+
|
1323
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1324
|
+
|
1325
|
+
|
1326
|
+
—
|
1327
|
+
<div class='inline'>
|
1328
|
+
<p>additional http headers</p>
|
1329
|
+
</div>
|
1330
|
+
|
1331
|
+
</li>
|
1332
|
+
|
1333
|
+
</ul>
|
1334
|
+
|
1335
|
+
|
1336
|
+
|
1337
|
+
|
1338
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
1339
|
+
<ul class="option">
|
1340
|
+
|
1341
|
+
<li>
|
1342
|
+
<span class="name">id</span>
|
1343
|
+
<span class="type">(<tt>String</tt>)</span>
|
1344
|
+
<span class="default">
|
1345
|
+
|
1346
|
+
</span>
|
1347
|
+
|
1348
|
+
— <div class='inline'>
|
1349
|
+
<p>id of the sync plan</p>
|
1350
|
+
</div>
|
1351
|
+
|
1352
|
+
</li>
|
1353
|
+
|
1354
|
+
<li>
|
1355
|
+
<span class="name">organization_id</span>
|
1356
|
+
<span class="type">(<tt>Object</tt>)</span>
|
1357
|
+
<span class="default">
|
1358
|
+
|
1359
|
+
</span>
|
1360
|
+
|
1361
|
+
— <div class='inline'>
|
1362
|
+
<p>Part of <tt>/api/organizations/:organization_id/sync_plans/:id/products</tt> path</p>
|
1363
|
+
</div>
|
1364
|
+
|
1365
|
+
</li>
|
1366
|
+
|
1367
|
+
<li>
|
1368
|
+
<span class="name">product_ids</span>
|
1369
|
+
<span class="type">(<tt>Array</tt>)</span>
|
1370
|
+
<span class="default">
|
1371
|
+
|
1372
|
+
</span>
|
1373
|
+
|
1374
|
+
— <div class='inline'>
|
1375
|
+
<p>list of product ids to remove from the sync plan</p>
|
1376
|
+
</div>
|
1377
|
+
|
1378
|
+
</li>
|
1379
|
+
|
1380
|
+
</ul>
|
1381
|
+
|
1382
|
+
|
1383
|
+
|
1384
|
+
|
1385
|
+
<p class="tag_title">Returns:</p>
|
1386
|
+
<ul class="return">
|
1387
|
+
|
1388
|
+
<li>
|
1389
|
+
|
1390
|
+
|
1391
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
1392
|
+
|
1393
|
+
|
1394
|
+
|
1395
|
+
—
|
1396
|
+
<div class='inline'>
|
1397
|
+
<p>First item: parsed data; second item: raw body</p>
|
1398
|
+
</div>
|
1399
|
+
|
1400
|
+
</li>
|
1401
|
+
|
1402
|
+
</ul>
|
1403
|
+
|
1404
|
+
</div><table class="source_code">
|
1405
|
+
<tr>
|
1406
|
+
<td>
|
1407
|
+
<pre class="lines">
|
1408
|
+
|
1409
|
+
|
1410
|
+
105
|
1411
|
+
106
|
1412
|
+
107</pre>
|
1413
|
+
</td>
|
1414
|
+
<td>
|
1415
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line 105</span>
|
1416
|
+
|
1417
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_remove_products'>remove_products</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1418
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
1419
|
+
<span class='kw'>end</span></pre>
|
1420
|
+
</td>
|
1421
|
+
</tr>
|
1422
|
+
</table>
|
1423
|
+
</div>
|
1424
|
+
|
1425
|
+
<div class="method_details ">
|
1426
|
+
<h3 class="signature " id="show-instance_method">
|
1427
|
+
|
1428
|
+
- (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
|
1429
|
+
|
1430
|
+
|
1431
|
+
|
1432
|
+
|
1433
|
+
|
1434
|
+
</h3><div class="docstring">
|
1435
|
+
<div class="discussion">
|
1436
|
+
|
1437
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1438
|
+
|
1439
|
+
|
1440
|
+
</div>
|
1441
|
+
</div>
|
1442
|
+
<div class="tags">
|
1443
|
+
<p class="tag_title">Parameters:</p>
|
1444
|
+
<ul class="param">
|
1445
|
+
|
1446
|
+
<li>
|
1447
|
+
|
1448
|
+
<span class='name'>params</span>
|
1449
|
+
|
1450
|
+
|
1451
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1452
|
+
|
1453
|
+
|
1454
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1455
|
+
|
1456
|
+
|
1457
|
+
—
|
1458
|
+
<div class='inline'>
|
1459
|
+
<p>a hash of params to be passed to the service</p>
|
1460
|
+
</div>
|
1461
|
+
|
1462
|
+
</li>
|
1463
|
+
|
1464
|
+
<li>
|
1465
|
+
|
1466
|
+
<span class='name'>headers</span>
|
1467
|
+
|
1468
|
+
|
1469
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1470
|
+
|
1471
|
+
|
1472
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1473
|
+
|
1474
|
+
|
1475
|
+
—
|
1476
|
+
<div class='inline'>
|
1477
|
+
<p>additional http headers</p>
|
1478
|
+
</div>
|
1479
|
+
|
1480
|
+
</li>
|
1481
|
+
|
1482
|
+
</ul>
|
1483
|
+
|
1484
|
+
|
1485
|
+
|
1486
|
+
|
1487
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
1488
|
+
<ul class="option">
|
1489
|
+
|
1490
|
+
<li>
|
1491
|
+
<span class="name">id</span>
|
1492
|
+
<span class="type">(<tt>String</tt>)</span>
|
1493
|
+
<span class="default">
|
1494
|
+
|
1495
|
+
</span>
|
1496
|
+
|
1497
|
+
— <div class='inline'>
|
1498
|
+
<p>product numeric identifier</p>
|
1499
|
+
</div>
|
1500
|
+
|
1501
|
+
</li>
|
1502
|
+
|
1503
|
+
<li>
|
1504
|
+
<span class="name">organization_id</span>
|
1505
|
+
<span class="type">(<tt>String</tt>)</span>
|
1506
|
+
<span class="default">
|
1507
|
+
|
1508
|
+
</span>
|
1509
|
+
|
1510
|
+
— <div class='inline'>
|
1511
|
+
<p>filter products by organization name or label</p>
|
1512
|
+
</div>
|
1513
|
+
|
1514
|
+
</li>
|
1515
|
+
|
1516
|
+
</ul>
|
1517
|
+
|
1518
|
+
|
1519
|
+
|
1520
|
+
|
1521
|
+
<p class="tag_title">Returns:</p>
|
1522
|
+
<ul class="return">
|
1523
|
+
|
1524
|
+
<li>
|
1525
|
+
|
1526
|
+
|
1527
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
1528
|
+
|
1529
|
+
|
1530
|
+
|
1531
|
+
—
|
1532
|
+
<div class='inline'>
|
1533
|
+
<p>First item: parsed data; second item: raw body</p>
|
1534
|
+
</div>
|
1535
|
+
|
1536
|
+
</li>
|
1537
|
+
|
1538
|
+
</ul>
|
1539
|
+
|
1540
|
+
</div><table class="source_code">
|
1541
|
+
<tr>
|
1542
|
+
<td>
|
1543
|
+
<pre class="lines">
|
1544
|
+
|
1545
|
+
|
1546
|
+
26
|
1547
|
+
27
|
1548
|
+
28</pre>
|
1549
|
+
</td>
|
1550
|
+
<td>
|
1551
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line 26</span>
|
1552
|
+
|
1553
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_show'>show</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1554
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
1555
|
+
<span class='kw'>end</span></pre>
|
1556
|
+
</td>
|
1557
|
+
</tr>
|
1558
|
+
</table>
|
1559
|
+
</div>
|
1560
|
+
|
1561
|
+
<div class="method_details ">
|
1562
|
+
<h3 class="signature " id="update-instance_method">
|
1563
|
+
|
1564
|
+
- (<tt>Array</tt>) <strong>update</strong>(params = {}, headers = {})
|
1565
|
+
|
1566
|
+
|
1567
|
+
|
1568
|
+
|
1569
|
+
|
1570
|
+
</h3><div class="docstring">
|
1571
|
+
<div class="discussion">
|
1572
|
+
|
1573
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1574
|
+
|
1575
|
+
|
1576
|
+
</div>
|
1577
|
+
</div>
|
1578
|
+
<div class="tags">
|
1579
|
+
<p class="tag_title">Parameters:</p>
|
1580
|
+
<ul class="param">
|
1581
|
+
|
1582
|
+
<li>
|
1583
|
+
|
1584
|
+
<span class='name'>params</span>
|
1585
|
+
|
1586
|
+
|
1587
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1588
|
+
|
1589
|
+
|
1590
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1591
|
+
|
1592
|
+
|
1593
|
+
—
|
1594
|
+
<div class='inline'>
|
1595
|
+
<p>a hash of params to be passed to the service</p>
|
1596
|
+
</div>
|
1597
|
+
|
1598
|
+
</li>
|
1599
|
+
|
1600
|
+
<li>
|
1601
|
+
|
1602
|
+
<span class='name'>headers</span>
|
1603
|
+
|
1604
|
+
|
1605
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1606
|
+
|
1607
|
+
|
1608
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1609
|
+
|
1610
|
+
|
1611
|
+
—
|
1612
|
+
<div class='inline'>
|
1613
|
+
<p>additional http headers</p>
|
1614
|
+
</div>
|
1615
|
+
|
1616
|
+
</li>
|
1617
|
+
|
1618
|
+
</ul>
|
1619
|
+
|
1620
|
+
|
1621
|
+
|
1622
|
+
|
1623
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
1624
|
+
<ul class="option">
|
1625
|
+
|
1626
|
+
<li>
|
1627
|
+
<span class="name">id</span>
|
1628
|
+
<span class="type">(<tt>String</tt>)</span>
|
1629
|
+
<span class="default">
|
1630
|
+
|
1631
|
+
</span>
|
1632
|
+
|
1633
|
+
— <div class='inline'>
|
1634
|
+
<p>sync plan numeric identifier</p>
|
1635
|
+
</div>
|
1636
|
+
|
1637
|
+
</li>
|
1638
|
+
|
1639
|
+
<li>
|
1640
|
+
<span class="name">organization_id</span>
|
1641
|
+
<span class="type">(<tt>String</tt>)</span>
|
1642
|
+
<span class="default">
|
1643
|
+
|
1644
|
+
</span>
|
1645
|
+
|
1646
|
+
— <div class='inline'>
|
1647
|
+
<p>filter products by organization name or label</p>
|
1648
|
+
</div>
|
1649
|
+
|
1650
|
+
</li>
|
1651
|
+
|
1652
|
+
<li>
|
1653
|
+
<span class="name">description</span>
|
1654
|
+
<span class="type">(<tt>String</tt>)</span>
|
1655
|
+
<span class="default">
|
1656
|
+
|
1657
|
+
</span>
|
1658
|
+
|
1659
|
+
— <div class='inline'>
|
894
1660
|
<p>sync plan description</p>
|
895
1661
|
</div>
|
896
1662
|
|
@@ -965,12 +1731,12 @@
|
|
965
1731
|
<pre class="lines">
|
966
1732
|
|
967
1733
|
|
968
|
-
|
969
|
-
|
970
|
-
|
1734
|
+
53
|
1735
|
+
54
|
1736
|
+
55</pre>
|
971
1737
|
</td>
|
972
1738
|
<td>
|
973
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line
|
1739
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/sync_plan.rb', line 53</span>
|
974
1740
|
|
975
1741
|
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
976
1742
|
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
@@ -985,7 +1751,7 @@
|
|
985
1751
|
</div>
|
986
1752
|
|
987
1753
|
<div id="footer">
|
988
|
-
Generated on
|
1754
|
+
Generated on Mon Feb 3 15:49:52 2014 by
|
989
1755
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
990
1756
|
0.8.7.3 (ruby-1.9.3).
|
991
1757
|
</div>
|