strongdm 6.8.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-8e713d387f255f0ec0181dce3e2a505478deb064.idx → pack-35100f17336a9a56e777373870676ef90dc420dc.idx} +0 -0
- data/.git/objects/pack/{pack-8e713d387f255f0ec0181dce3e2a505478deb064.pack → pack-35100f17336a9a56e777373870676ef90dc420dc.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +1 -0
- data/lib/grpc/accounts_pb.rb +2 -0
- data/lib/grpc/approval_workflow_approvers_history_pb.rb +49 -0
- data/lib/grpc/approval_workflow_approvers_history_services_pb.rb +37 -0
- data/lib/grpc/approval_workflow_approvers_pb.rb +81 -0
- data/lib/grpc/approval_workflow_approvers_services_pb.rb +43 -0
- data/lib/grpc/approval_workflow_steps_history_pb.rb +49 -0
- data/lib/grpc/approval_workflow_steps_history_services_pb.rb +37 -0
- data/lib/grpc/approval_workflow_steps_pb.rb +78 -0
- data/lib/grpc/approval_workflow_steps_services_pb.rb +43 -0
- data/lib/grpc/approval_workflows_history_pb.rb +49 -0
- data/lib/grpc/approval_workflows_history_services_pb.rb +37 -0
- data/lib/grpc/approval_workflows_pb.rb +91 -0
- data/lib/grpc/approval_workflows_services_pb.rb +46 -0
- data/lib/grpc/plumbing.rb +716 -62
- data/lib/models/porcelain.rb +516 -2
- data/lib/strongdm.rb +55 -2
- data/lib/svc.rb +738 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +16 -4
data/lib/grpc/plumbing.rb
CHANGED
@@ -34,6 +34,12 @@ require_relative "./account_resources_history_pb"
|
|
34
34
|
require_relative "./accounts_pb"
|
35
35
|
require_relative "./accounts_history_pb"
|
36
36
|
require_relative "./activities_pb"
|
37
|
+
require_relative "./approval_workflow_approvers_pb"
|
38
|
+
require_relative "./approval_workflow_approvers_history_pb"
|
39
|
+
require_relative "./approval_workflow_steps_pb"
|
40
|
+
require_relative "./approval_workflow_steps_history_pb"
|
41
|
+
require_relative "./approval_workflows_pb"
|
42
|
+
require_relative "./approval_workflows_history_pb"
|
37
43
|
require_relative "./control_panel_pb"
|
38
44
|
require_relative "./drivers_pb"
|
39
45
|
require_relative "./nodes_pb"
|
@@ -965,7 +971,6 @@ module SDM
|
|
965
971
|
end
|
966
972
|
porcelain = AccessRequestListRequest.new()
|
967
973
|
porcelain.filter = (plumbing.filter)
|
968
|
-
porcelain.meta = convert_list_request_metadata_to_porcelain(plumbing.meta)
|
969
974
|
porcelain
|
970
975
|
end
|
971
976
|
|
@@ -975,7 +980,6 @@ module SDM
|
|
975
980
|
end
|
976
981
|
plumbing = V1::AccessRequestListRequest.new()
|
977
982
|
plumbing.filter = (porcelain.filter)
|
978
|
-
plumbing.meta = convert_list_request_metadata_to_plumbing(porcelain.meta)
|
979
983
|
plumbing
|
980
984
|
end
|
981
985
|
def self.convert_repeated_access_request_list_request_to_plumbing(porcelains)
|
@@ -1000,8 +1004,6 @@ module SDM
|
|
1000
1004
|
return nil
|
1001
1005
|
end
|
1002
1006
|
porcelain = AccessRequestListResponse.new()
|
1003
|
-
porcelain.access_requests = convert_repeated_access_request_to_porcelain(plumbing.access_requests)
|
1004
|
-
porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
|
1005
1007
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
1006
1008
|
porcelain
|
1007
1009
|
end
|
@@ -1011,8 +1013,6 @@ module SDM
|
|
1011
1013
|
return nil
|
1012
1014
|
end
|
1013
1015
|
plumbing = V1::AccessRequestListResponse.new()
|
1014
|
-
plumbing.access_requests += convert_repeated_access_request_to_plumbing(porcelain.access_requests)
|
1015
|
-
plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
|
1016
1016
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
1017
1017
|
plumbing
|
1018
1018
|
end
|
@@ -2388,6 +2388,712 @@ module SDM
|
|
2388
2388
|
end
|
2389
2389
|
items
|
2390
2390
|
end
|
2391
|
+
def self.convert_approval_workflow_to_porcelain(plumbing)
|
2392
|
+
if plumbing == nil
|
2393
|
+
return nil
|
2394
|
+
end
|
2395
|
+
porcelain = ApprovalWorkflow.new()
|
2396
|
+
porcelain.approval_mode = (plumbing.approval_mode)
|
2397
|
+
porcelain.description = (plumbing.description)
|
2398
|
+
porcelain.id = (plumbing.id)
|
2399
|
+
porcelain.name = (plumbing.name)
|
2400
|
+
porcelain
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
def self.convert_approval_workflow_to_plumbing(porcelain)
|
2404
|
+
if porcelain == nil
|
2405
|
+
return nil
|
2406
|
+
end
|
2407
|
+
plumbing = V1::ApprovalWorkflow.new()
|
2408
|
+
plumbing.approval_mode = (porcelain.approval_mode)
|
2409
|
+
plumbing.description = (porcelain.description)
|
2410
|
+
plumbing.id = (porcelain.id)
|
2411
|
+
plumbing.name = (porcelain.name)
|
2412
|
+
plumbing
|
2413
|
+
end
|
2414
|
+
def self.convert_repeated_approval_workflow_to_plumbing(porcelains)
|
2415
|
+
items = Array.new
|
2416
|
+
porcelains.each do |porcelain|
|
2417
|
+
plumbing = convert_approval_workflow_to_plumbing(porcelain)
|
2418
|
+
items.append(plumbing)
|
2419
|
+
end
|
2420
|
+
items
|
2421
|
+
end
|
2422
|
+
|
2423
|
+
def self.convert_repeated_approval_workflow_to_porcelain(plumbings)
|
2424
|
+
items = Array.new
|
2425
|
+
plumbings.each do |plumbing|
|
2426
|
+
porcelain = convert_approval_workflow_to_porcelain(plumbing)
|
2427
|
+
items.append(porcelain)
|
2428
|
+
end
|
2429
|
+
items
|
2430
|
+
end
|
2431
|
+
def self.convert_approval_workflow_approver_to_porcelain(plumbing)
|
2432
|
+
if plumbing == nil
|
2433
|
+
return nil
|
2434
|
+
end
|
2435
|
+
porcelain = ApprovalWorkflowApprover.new()
|
2436
|
+
porcelain.account_id = (plumbing.account_id)
|
2437
|
+
porcelain.approval_flow_id = (plumbing.approval_flow_id)
|
2438
|
+
porcelain.approval_step_id = (plumbing.approval_step_id)
|
2439
|
+
porcelain.id = (plumbing.id)
|
2440
|
+
porcelain.role_id = (plumbing.role_id)
|
2441
|
+
porcelain
|
2442
|
+
end
|
2443
|
+
|
2444
|
+
def self.convert_approval_workflow_approver_to_plumbing(porcelain)
|
2445
|
+
if porcelain == nil
|
2446
|
+
return nil
|
2447
|
+
end
|
2448
|
+
plumbing = V1::ApprovalWorkflowApprover.new()
|
2449
|
+
plumbing.account_id = (porcelain.account_id)
|
2450
|
+
plumbing.approval_flow_id = (porcelain.approval_flow_id)
|
2451
|
+
plumbing.approval_step_id = (porcelain.approval_step_id)
|
2452
|
+
plumbing.id = (porcelain.id)
|
2453
|
+
plumbing.role_id = (porcelain.role_id)
|
2454
|
+
plumbing
|
2455
|
+
end
|
2456
|
+
def self.convert_repeated_approval_workflow_approver_to_plumbing(porcelains)
|
2457
|
+
items = Array.new
|
2458
|
+
porcelains.each do |porcelain|
|
2459
|
+
plumbing = convert_approval_workflow_approver_to_plumbing(porcelain)
|
2460
|
+
items.append(plumbing)
|
2461
|
+
end
|
2462
|
+
items
|
2463
|
+
end
|
2464
|
+
|
2465
|
+
def self.convert_repeated_approval_workflow_approver_to_porcelain(plumbings)
|
2466
|
+
items = Array.new
|
2467
|
+
plumbings.each do |plumbing|
|
2468
|
+
porcelain = convert_approval_workflow_approver_to_porcelain(plumbing)
|
2469
|
+
items.append(porcelain)
|
2470
|
+
end
|
2471
|
+
items
|
2472
|
+
end
|
2473
|
+
def self.convert_approval_workflow_approver_create_response_to_porcelain(plumbing)
|
2474
|
+
if plumbing == nil
|
2475
|
+
return nil
|
2476
|
+
end
|
2477
|
+
porcelain = ApprovalWorkflowApproverCreateResponse.new()
|
2478
|
+
porcelain.approval_workflow_approver = convert_approval_workflow_approver_to_porcelain(plumbing.approval_workflow_approver)
|
2479
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
2480
|
+
porcelain
|
2481
|
+
end
|
2482
|
+
|
2483
|
+
def self.convert_approval_workflow_approver_create_response_to_plumbing(porcelain)
|
2484
|
+
if porcelain == nil
|
2485
|
+
return nil
|
2486
|
+
end
|
2487
|
+
plumbing = V1::ApprovalWorkflowApproverCreateResponse.new()
|
2488
|
+
plumbing.approval_workflow_approver = convert_approval_workflow_approver_to_plumbing(porcelain.approval_workflow_approver)
|
2489
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
2490
|
+
plumbing
|
2491
|
+
end
|
2492
|
+
def self.convert_repeated_approval_workflow_approver_create_response_to_plumbing(porcelains)
|
2493
|
+
items = Array.new
|
2494
|
+
porcelains.each do |porcelain|
|
2495
|
+
plumbing = convert_approval_workflow_approver_create_response_to_plumbing(porcelain)
|
2496
|
+
items.append(plumbing)
|
2497
|
+
end
|
2498
|
+
items
|
2499
|
+
end
|
2500
|
+
|
2501
|
+
def self.convert_repeated_approval_workflow_approver_create_response_to_porcelain(plumbings)
|
2502
|
+
items = Array.new
|
2503
|
+
plumbings.each do |plumbing|
|
2504
|
+
porcelain = convert_approval_workflow_approver_create_response_to_porcelain(plumbing)
|
2505
|
+
items.append(porcelain)
|
2506
|
+
end
|
2507
|
+
items
|
2508
|
+
end
|
2509
|
+
def self.convert_approval_workflow_approver_delete_response_to_porcelain(plumbing)
|
2510
|
+
if plumbing == nil
|
2511
|
+
return nil
|
2512
|
+
end
|
2513
|
+
porcelain = ApprovalWorkflowApproverDeleteResponse.new()
|
2514
|
+
porcelain.id = (plumbing.id)
|
2515
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
2516
|
+
porcelain
|
2517
|
+
end
|
2518
|
+
|
2519
|
+
def self.convert_approval_workflow_approver_delete_response_to_plumbing(porcelain)
|
2520
|
+
if porcelain == nil
|
2521
|
+
return nil
|
2522
|
+
end
|
2523
|
+
plumbing = V1::ApprovalWorkflowApproverDeleteResponse.new()
|
2524
|
+
plumbing.id = (porcelain.id)
|
2525
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
2526
|
+
plumbing
|
2527
|
+
end
|
2528
|
+
def self.convert_repeated_approval_workflow_approver_delete_response_to_plumbing(porcelains)
|
2529
|
+
items = Array.new
|
2530
|
+
porcelains.each do |porcelain|
|
2531
|
+
plumbing = convert_approval_workflow_approver_delete_response_to_plumbing(porcelain)
|
2532
|
+
items.append(plumbing)
|
2533
|
+
end
|
2534
|
+
items
|
2535
|
+
end
|
2536
|
+
|
2537
|
+
def self.convert_repeated_approval_workflow_approver_delete_response_to_porcelain(plumbings)
|
2538
|
+
items = Array.new
|
2539
|
+
plumbings.each do |plumbing|
|
2540
|
+
porcelain = convert_approval_workflow_approver_delete_response_to_porcelain(plumbing)
|
2541
|
+
items.append(porcelain)
|
2542
|
+
end
|
2543
|
+
items
|
2544
|
+
end
|
2545
|
+
def self.convert_approval_workflow_approver_get_response_to_porcelain(plumbing)
|
2546
|
+
if plumbing == nil
|
2547
|
+
return nil
|
2548
|
+
end
|
2549
|
+
porcelain = ApprovalWorkflowApproverGetResponse.new()
|
2550
|
+
porcelain.approval_workflow_approver = convert_approval_workflow_approver_to_porcelain(plumbing.approval_workflow_approver)
|
2551
|
+
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
2552
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
2553
|
+
porcelain
|
2554
|
+
end
|
2555
|
+
|
2556
|
+
def self.convert_approval_workflow_approver_get_response_to_plumbing(porcelain)
|
2557
|
+
if porcelain == nil
|
2558
|
+
return nil
|
2559
|
+
end
|
2560
|
+
plumbing = V1::ApprovalWorkflowApproverGetResponse.new()
|
2561
|
+
plumbing.approval_workflow_approver = convert_approval_workflow_approver_to_plumbing(porcelain.approval_workflow_approver)
|
2562
|
+
plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
|
2563
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
2564
|
+
plumbing
|
2565
|
+
end
|
2566
|
+
def self.convert_repeated_approval_workflow_approver_get_response_to_plumbing(porcelains)
|
2567
|
+
items = Array.new
|
2568
|
+
porcelains.each do |porcelain|
|
2569
|
+
plumbing = convert_approval_workflow_approver_get_response_to_plumbing(porcelain)
|
2570
|
+
items.append(plumbing)
|
2571
|
+
end
|
2572
|
+
items
|
2573
|
+
end
|
2574
|
+
|
2575
|
+
def self.convert_repeated_approval_workflow_approver_get_response_to_porcelain(plumbings)
|
2576
|
+
items = Array.new
|
2577
|
+
plumbings.each do |plumbing|
|
2578
|
+
porcelain = convert_approval_workflow_approver_get_response_to_porcelain(plumbing)
|
2579
|
+
items.append(porcelain)
|
2580
|
+
end
|
2581
|
+
items
|
2582
|
+
end
|
2583
|
+
def self.convert_approval_workflow_approver_history_to_porcelain(plumbing)
|
2584
|
+
if plumbing == nil
|
2585
|
+
return nil
|
2586
|
+
end
|
2587
|
+
porcelain = ApprovalWorkflowApproverHistory.new()
|
2588
|
+
porcelain.activity_id = (plumbing.activity_id)
|
2589
|
+
porcelain.approval_workflow_approver = convert_approval_workflow_approver_to_porcelain(plumbing.approval_workflow_approver)
|
2590
|
+
porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
|
2591
|
+
porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
|
2592
|
+
porcelain
|
2593
|
+
end
|
2594
|
+
|
2595
|
+
def self.convert_approval_workflow_approver_history_to_plumbing(porcelain)
|
2596
|
+
if porcelain == nil
|
2597
|
+
return nil
|
2598
|
+
end
|
2599
|
+
plumbing = V1::ApprovalWorkflowApproverHistory.new()
|
2600
|
+
plumbing.activity_id = (porcelain.activity_id)
|
2601
|
+
plumbing.approval_workflow_approver = convert_approval_workflow_approver_to_plumbing(porcelain.approval_workflow_approver)
|
2602
|
+
plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
|
2603
|
+
plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
|
2604
|
+
plumbing
|
2605
|
+
end
|
2606
|
+
def self.convert_repeated_approval_workflow_approver_history_to_plumbing(porcelains)
|
2607
|
+
items = Array.new
|
2608
|
+
porcelains.each do |porcelain|
|
2609
|
+
plumbing = convert_approval_workflow_approver_history_to_plumbing(porcelain)
|
2610
|
+
items.append(plumbing)
|
2611
|
+
end
|
2612
|
+
items
|
2613
|
+
end
|
2614
|
+
|
2615
|
+
def self.convert_repeated_approval_workflow_approver_history_to_porcelain(plumbings)
|
2616
|
+
items = Array.new
|
2617
|
+
plumbings.each do |plumbing|
|
2618
|
+
porcelain = convert_approval_workflow_approver_history_to_porcelain(plumbing)
|
2619
|
+
items.append(porcelain)
|
2620
|
+
end
|
2621
|
+
items
|
2622
|
+
end
|
2623
|
+
def self.convert_approval_workflow_approver_list_response_to_porcelain(plumbing)
|
2624
|
+
if plumbing == nil
|
2625
|
+
return nil
|
2626
|
+
end
|
2627
|
+
porcelain = ApprovalWorkflowApproverListResponse.new()
|
2628
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
2629
|
+
porcelain
|
2630
|
+
end
|
2631
|
+
|
2632
|
+
def self.convert_approval_workflow_approver_list_response_to_plumbing(porcelain)
|
2633
|
+
if porcelain == nil
|
2634
|
+
return nil
|
2635
|
+
end
|
2636
|
+
plumbing = V1::ApprovalWorkflowApproverListResponse.new()
|
2637
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
2638
|
+
plumbing
|
2639
|
+
end
|
2640
|
+
def self.convert_repeated_approval_workflow_approver_list_response_to_plumbing(porcelains)
|
2641
|
+
items = Array.new
|
2642
|
+
porcelains.each do |porcelain|
|
2643
|
+
plumbing = convert_approval_workflow_approver_list_response_to_plumbing(porcelain)
|
2644
|
+
items.append(plumbing)
|
2645
|
+
end
|
2646
|
+
items
|
2647
|
+
end
|
2648
|
+
|
2649
|
+
def self.convert_repeated_approval_workflow_approver_list_response_to_porcelain(plumbings)
|
2650
|
+
items = Array.new
|
2651
|
+
plumbings.each do |plumbing|
|
2652
|
+
porcelain = convert_approval_workflow_approver_list_response_to_porcelain(plumbing)
|
2653
|
+
items.append(porcelain)
|
2654
|
+
end
|
2655
|
+
items
|
2656
|
+
end
|
2657
|
+
def self.convert_approval_workflow_create_response_to_porcelain(plumbing)
|
2658
|
+
if plumbing == nil
|
2659
|
+
return nil
|
2660
|
+
end
|
2661
|
+
porcelain = ApprovalWorkflowCreateResponse.new()
|
2662
|
+
porcelain.approval_workflow = convert_approval_workflow_to_porcelain(plumbing.approval_workflow)
|
2663
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
2664
|
+
porcelain
|
2665
|
+
end
|
2666
|
+
|
2667
|
+
def self.convert_approval_workflow_create_response_to_plumbing(porcelain)
|
2668
|
+
if porcelain == nil
|
2669
|
+
return nil
|
2670
|
+
end
|
2671
|
+
plumbing = V1::ApprovalWorkflowCreateResponse.new()
|
2672
|
+
plumbing.approval_workflow = convert_approval_workflow_to_plumbing(porcelain.approval_workflow)
|
2673
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
2674
|
+
plumbing
|
2675
|
+
end
|
2676
|
+
def self.convert_repeated_approval_workflow_create_response_to_plumbing(porcelains)
|
2677
|
+
items = Array.new
|
2678
|
+
porcelains.each do |porcelain|
|
2679
|
+
plumbing = convert_approval_workflow_create_response_to_plumbing(porcelain)
|
2680
|
+
items.append(plumbing)
|
2681
|
+
end
|
2682
|
+
items
|
2683
|
+
end
|
2684
|
+
|
2685
|
+
def self.convert_repeated_approval_workflow_create_response_to_porcelain(plumbings)
|
2686
|
+
items = Array.new
|
2687
|
+
plumbings.each do |plumbing|
|
2688
|
+
porcelain = convert_approval_workflow_create_response_to_porcelain(plumbing)
|
2689
|
+
items.append(porcelain)
|
2690
|
+
end
|
2691
|
+
items
|
2692
|
+
end
|
2693
|
+
def self.convert_approval_workflow_delete_response_to_porcelain(plumbing)
|
2694
|
+
if plumbing == nil
|
2695
|
+
return nil
|
2696
|
+
end
|
2697
|
+
porcelain = ApprovalWorkflowDeleteResponse.new()
|
2698
|
+
porcelain.id = (plumbing.id)
|
2699
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
2700
|
+
porcelain
|
2701
|
+
end
|
2702
|
+
|
2703
|
+
def self.convert_approval_workflow_delete_response_to_plumbing(porcelain)
|
2704
|
+
if porcelain == nil
|
2705
|
+
return nil
|
2706
|
+
end
|
2707
|
+
plumbing = V1::ApprovalWorkflowDeleteResponse.new()
|
2708
|
+
plumbing.id = (porcelain.id)
|
2709
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
2710
|
+
plumbing
|
2711
|
+
end
|
2712
|
+
def self.convert_repeated_approval_workflow_delete_response_to_plumbing(porcelains)
|
2713
|
+
items = Array.new
|
2714
|
+
porcelains.each do |porcelain|
|
2715
|
+
plumbing = convert_approval_workflow_delete_response_to_plumbing(porcelain)
|
2716
|
+
items.append(plumbing)
|
2717
|
+
end
|
2718
|
+
items
|
2719
|
+
end
|
2720
|
+
|
2721
|
+
def self.convert_repeated_approval_workflow_delete_response_to_porcelain(plumbings)
|
2722
|
+
items = Array.new
|
2723
|
+
plumbings.each do |plumbing|
|
2724
|
+
porcelain = convert_approval_workflow_delete_response_to_porcelain(plumbing)
|
2725
|
+
items.append(porcelain)
|
2726
|
+
end
|
2727
|
+
items
|
2728
|
+
end
|
2729
|
+
def self.convert_approval_workflow_get_response_to_porcelain(plumbing)
|
2730
|
+
if plumbing == nil
|
2731
|
+
return nil
|
2732
|
+
end
|
2733
|
+
porcelain = ApprovalWorkflowGetResponse.new()
|
2734
|
+
porcelain.approval_workflow = convert_approval_workflow_to_porcelain(plumbing.approval_workflow)
|
2735
|
+
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
2736
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
2737
|
+
porcelain
|
2738
|
+
end
|
2739
|
+
|
2740
|
+
def self.convert_approval_workflow_get_response_to_plumbing(porcelain)
|
2741
|
+
if porcelain == nil
|
2742
|
+
return nil
|
2743
|
+
end
|
2744
|
+
plumbing = V1::ApprovalWorkflowGetResponse.new()
|
2745
|
+
plumbing.approval_workflow = convert_approval_workflow_to_plumbing(porcelain.approval_workflow)
|
2746
|
+
plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
|
2747
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
2748
|
+
plumbing
|
2749
|
+
end
|
2750
|
+
def self.convert_repeated_approval_workflow_get_response_to_plumbing(porcelains)
|
2751
|
+
items = Array.new
|
2752
|
+
porcelains.each do |porcelain|
|
2753
|
+
plumbing = convert_approval_workflow_get_response_to_plumbing(porcelain)
|
2754
|
+
items.append(plumbing)
|
2755
|
+
end
|
2756
|
+
items
|
2757
|
+
end
|
2758
|
+
|
2759
|
+
def self.convert_repeated_approval_workflow_get_response_to_porcelain(plumbings)
|
2760
|
+
items = Array.new
|
2761
|
+
plumbings.each do |plumbing|
|
2762
|
+
porcelain = convert_approval_workflow_get_response_to_porcelain(plumbing)
|
2763
|
+
items.append(porcelain)
|
2764
|
+
end
|
2765
|
+
items
|
2766
|
+
end
|
2767
|
+
def self.convert_approval_workflow_history_to_porcelain(plumbing)
|
2768
|
+
if plumbing == nil
|
2769
|
+
return nil
|
2770
|
+
end
|
2771
|
+
porcelain = ApprovalWorkflowHistory.new()
|
2772
|
+
porcelain.activity_id = (plumbing.activity_id)
|
2773
|
+
porcelain.approval_workflow = convert_approval_workflow_to_porcelain(plumbing.approval_workflow)
|
2774
|
+
porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
|
2775
|
+
porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
|
2776
|
+
porcelain
|
2777
|
+
end
|
2778
|
+
|
2779
|
+
def self.convert_approval_workflow_history_to_plumbing(porcelain)
|
2780
|
+
if porcelain == nil
|
2781
|
+
return nil
|
2782
|
+
end
|
2783
|
+
plumbing = V1::ApprovalWorkflowHistory.new()
|
2784
|
+
plumbing.activity_id = (porcelain.activity_id)
|
2785
|
+
plumbing.approval_workflow = convert_approval_workflow_to_plumbing(porcelain.approval_workflow)
|
2786
|
+
plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
|
2787
|
+
plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
|
2788
|
+
plumbing
|
2789
|
+
end
|
2790
|
+
def self.convert_repeated_approval_workflow_history_to_plumbing(porcelains)
|
2791
|
+
items = Array.new
|
2792
|
+
porcelains.each do |porcelain|
|
2793
|
+
plumbing = convert_approval_workflow_history_to_plumbing(porcelain)
|
2794
|
+
items.append(plumbing)
|
2795
|
+
end
|
2796
|
+
items
|
2797
|
+
end
|
2798
|
+
|
2799
|
+
def self.convert_repeated_approval_workflow_history_to_porcelain(plumbings)
|
2800
|
+
items = Array.new
|
2801
|
+
plumbings.each do |plumbing|
|
2802
|
+
porcelain = convert_approval_workflow_history_to_porcelain(plumbing)
|
2803
|
+
items.append(porcelain)
|
2804
|
+
end
|
2805
|
+
items
|
2806
|
+
end
|
2807
|
+
def self.convert_approval_workflow_list_response_to_porcelain(plumbing)
|
2808
|
+
if plumbing == nil
|
2809
|
+
return nil
|
2810
|
+
end
|
2811
|
+
porcelain = ApprovalWorkflowListResponse.new()
|
2812
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
2813
|
+
porcelain
|
2814
|
+
end
|
2815
|
+
|
2816
|
+
def self.convert_approval_workflow_list_response_to_plumbing(porcelain)
|
2817
|
+
if porcelain == nil
|
2818
|
+
return nil
|
2819
|
+
end
|
2820
|
+
plumbing = V1::ApprovalWorkflowListResponse.new()
|
2821
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
2822
|
+
plumbing
|
2823
|
+
end
|
2824
|
+
def self.convert_repeated_approval_workflow_list_response_to_plumbing(porcelains)
|
2825
|
+
items = Array.new
|
2826
|
+
porcelains.each do |porcelain|
|
2827
|
+
plumbing = convert_approval_workflow_list_response_to_plumbing(porcelain)
|
2828
|
+
items.append(plumbing)
|
2829
|
+
end
|
2830
|
+
items
|
2831
|
+
end
|
2832
|
+
|
2833
|
+
def self.convert_repeated_approval_workflow_list_response_to_porcelain(plumbings)
|
2834
|
+
items = Array.new
|
2835
|
+
plumbings.each do |plumbing|
|
2836
|
+
porcelain = convert_approval_workflow_list_response_to_porcelain(plumbing)
|
2837
|
+
items.append(porcelain)
|
2838
|
+
end
|
2839
|
+
items
|
2840
|
+
end
|
2841
|
+
def self.convert_approval_workflow_step_to_porcelain(plumbing)
|
2842
|
+
if plumbing == nil
|
2843
|
+
return nil
|
2844
|
+
end
|
2845
|
+
porcelain = ApprovalWorkflowStep.new()
|
2846
|
+
porcelain.approval_flow_id = (plumbing.approval_flow_id)
|
2847
|
+
porcelain.id = (plumbing.id)
|
2848
|
+
porcelain
|
2849
|
+
end
|
2850
|
+
|
2851
|
+
def self.convert_approval_workflow_step_to_plumbing(porcelain)
|
2852
|
+
if porcelain == nil
|
2853
|
+
return nil
|
2854
|
+
end
|
2855
|
+
plumbing = V1::ApprovalWorkflowStep.new()
|
2856
|
+
plumbing.approval_flow_id = (porcelain.approval_flow_id)
|
2857
|
+
plumbing.id = (porcelain.id)
|
2858
|
+
plumbing
|
2859
|
+
end
|
2860
|
+
def self.convert_repeated_approval_workflow_step_to_plumbing(porcelains)
|
2861
|
+
items = Array.new
|
2862
|
+
porcelains.each do |porcelain|
|
2863
|
+
plumbing = convert_approval_workflow_step_to_plumbing(porcelain)
|
2864
|
+
items.append(plumbing)
|
2865
|
+
end
|
2866
|
+
items
|
2867
|
+
end
|
2868
|
+
|
2869
|
+
def self.convert_repeated_approval_workflow_step_to_porcelain(plumbings)
|
2870
|
+
items = Array.new
|
2871
|
+
plumbings.each do |plumbing|
|
2872
|
+
porcelain = convert_approval_workflow_step_to_porcelain(plumbing)
|
2873
|
+
items.append(porcelain)
|
2874
|
+
end
|
2875
|
+
items
|
2876
|
+
end
|
2877
|
+
def self.convert_approval_workflow_step_create_response_to_porcelain(plumbing)
|
2878
|
+
if plumbing == nil
|
2879
|
+
return nil
|
2880
|
+
end
|
2881
|
+
porcelain = ApprovalWorkflowStepCreateResponse.new()
|
2882
|
+
porcelain.approval_workflow_step = convert_approval_workflow_step_to_porcelain(plumbing.approval_workflow_step)
|
2883
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
2884
|
+
porcelain
|
2885
|
+
end
|
2886
|
+
|
2887
|
+
def self.convert_approval_workflow_step_create_response_to_plumbing(porcelain)
|
2888
|
+
if porcelain == nil
|
2889
|
+
return nil
|
2890
|
+
end
|
2891
|
+
plumbing = V1::ApprovalWorkflowStepCreateResponse.new()
|
2892
|
+
plumbing.approval_workflow_step = convert_approval_workflow_step_to_plumbing(porcelain.approval_workflow_step)
|
2893
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
2894
|
+
plumbing
|
2895
|
+
end
|
2896
|
+
def self.convert_repeated_approval_workflow_step_create_response_to_plumbing(porcelains)
|
2897
|
+
items = Array.new
|
2898
|
+
porcelains.each do |porcelain|
|
2899
|
+
plumbing = convert_approval_workflow_step_create_response_to_plumbing(porcelain)
|
2900
|
+
items.append(plumbing)
|
2901
|
+
end
|
2902
|
+
items
|
2903
|
+
end
|
2904
|
+
|
2905
|
+
def self.convert_repeated_approval_workflow_step_create_response_to_porcelain(plumbings)
|
2906
|
+
items = Array.new
|
2907
|
+
plumbings.each do |plumbing|
|
2908
|
+
porcelain = convert_approval_workflow_step_create_response_to_porcelain(plumbing)
|
2909
|
+
items.append(porcelain)
|
2910
|
+
end
|
2911
|
+
items
|
2912
|
+
end
|
2913
|
+
def self.convert_approval_workflow_step_delete_response_to_porcelain(plumbing)
|
2914
|
+
if plumbing == nil
|
2915
|
+
return nil
|
2916
|
+
end
|
2917
|
+
porcelain = ApprovalWorkflowStepDeleteResponse.new()
|
2918
|
+
porcelain.id = (plumbing.id)
|
2919
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
2920
|
+
porcelain
|
2921
|
+
end
|
2922
|
+
|
2923
|
+
def self.convert_approval_workflow_step_delete_response_to_plumbing(porcelain)
|
2924
|
+
if porcelain == nil
|
2925
|
+
return nil
|
2926
|
+
end
|
2927
|
+
plumbing = V1::ApprovalWorkflowStepDeleteResponse.new()
|
2928
|
+
plumbing.id = (porcelain.id)
|
2929
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
2930
|
+
plumbing
|
2931
|
+
end
|
2932
|
+
def self.convert_repeated_approval_workflow_step_delete_response_to_plumbing(porcelains)
|
2933
|
+
items = Array.new
|
2934
|
+
porcelains.each do |porcelain|
|
2935
|
+
plumbing = convert_approval_workflow_step_delete_response_to_plumbing(porcelain)
|
2936
|
+
items.append(plumbing)
|
2937
|
+
end
|
2938
|
+
items
|
2939
|
+
end
|
2940
|
+
|
2941
|
+
def self.convert_repeated_approval_workflow_step_delete_response_to_porcelain(plumbings)
|
2942
|
+
items = Array.new
|
2943
|
+
plumbings.each do |plumbing|
|
2944
|
+
porcelain = convert_approval_workflow_step_delete_response_to_porcelain(plumbing)
|
2945
|
+
items.append(porcelain)
|
2946
|
+
end
|
2947
|
+
items
|
2948
|
+
end
|
2949
|
+
def self.convert_approval_workflow_step_get_response_to_porcelain(plumbing)
|
2950
|
+
if plumbing == nil
|
2951
|
+
return nil
|
2952
|
+
end
|
2953
|
+
porcelain = ApprovalWorkflowStepGetResponse.new()
|
2954
|
+
porcelain.approval_workflow_step = convert_approval_workflow_step_to_porcelain(plumbing.approval_workflow_step)
|
2955
|
+
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
2956
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
2957
|
+
porcelain
|
2958
|
+
end
|
2959
|
+
|
2960
|
+
def self.convert_approval_workflow_step_get_response_to_plumbing(porcelain)
|
2961
|
+
if porcelain == nil
|
2962
|
+
return nil
|
2963
|
+
end
|
2964
|
+
plumbing = V1::ApprovalWorkflowStepGetResponse.new()
|
2965
|
+
plumbing.approval_workflow_step = convert_approval_workflow_step_to_plumbing(porcelain.approval_workflow_step)
|
2966
|
+
plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
|
2967
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
2968
|
+
plumbing
|
2969
|
+
end
|
2970
|
+
def self.convert_repeated_approval_workflow_step_get_response_to_plumbing(porcelains)
|
2971
|
+
items = Array.new
|
2972
|
+
porcelains.each do |porcelain|
|
2973
|
+
plumbing = convert_approval_workflow_step_get_response_to_plumbing(porcelain)
|
2974
|
+
items.append(plumbing)
|
2975
|
+
end
|
2976
|
+
items
|
2977
|
+
end
|
2978
|
+
|
2979
|
+
def self.convert_repeated_approval_workflow_step_get_response_to_porcelain(plumbings)
|
2980
|
+
items = Array.new
|
2981
|
+
plumbings.each do |plumbing|
|
2982
|
+
porcelain = convert_approval_workflow_step_get_response_to_porcelain(plumbing)
|
2983
|
+
items.append(porcelain)
|
2984
|
+
end
|
2985
|
+
items
|
2986
|
+
end
|
2987
|
+
def self.convert_approval_workflow_step_history_to_porcelain(plumbing)
|
2988
|
+
if plumbing == nil
|
2989
|
+
return nil
|
2990
|
+
end
|
2991
|
+
porcelain = ApprovalWorkflowStepHistory.new()
|
2992
|
+
porcelain.activity_id = (plumbing.activity_id)
|
2993
|
+
porcelain.approval_workflow_step = convert_approval_workflow_step_to_porcelain(plumbing.approval_workflow_step)
|
2994
|
+
porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
|
2995
|
+
porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
|
2996
|
+
porcelain
|
2997
|
+
end
|
2998
|
+
|
2999
|
+
def self.convert_approval_workflow_step_history_to_plumbing(porcelain)
|
3000
|
+
if porcelain == nil
|
3001
|
+
return nil
|
3002
|
+
end
|
3003
|
+
plumbing = V1::ApprovalWorkflowStepHistory.new()
|
3004
|
+
plumbing.activity_id = (porcelain.activity_id)
|
3005
|
+
plumbing.approval_workflow_step = convert_approval_workflow_step_to_plumbing(porcelain.approval_workflow_step)
|
3006
|
+
plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
|
3007
|
+
plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
|
3008
|
+
plumbing
|
3009
|
+
end
|
3010
|
+
def self.convert_repeated_approval_workflow_step_history_to_plumbing(porcelains)
|
3011
|
+
items = Array.new
|
3012
|
+
porcelains.each do |porcelain|
|
3013
|
+
plumbing = convert_approval_workflow_step_history_to_plumbing(porcelain)
|
3014
|
+
items.append(plumbing)
|
3015
|
+
end
|
3016
|
+
items
|
3017
|
+
end
|
3018
|
+
|
3019
|
+
def self.convert_repeated_approval_workflow_step_history_to_porcelain(plumbings)
|
3020
|
+
items = Array.new
|
3021
|
+
plumbings.each do |plumbing|
|
3022
|
+
porcelain = convert_approval_workflow_step_history_to_porcelain(plumbing)
|
3023
|
+
items.append(porcelain)
|
3024
|
+
end
|
3025
|
+
items
|
3026
|
+
end
|
3027
|
+
def self.convert_approval_workflow_step_list_response_to_porcelain(plumbing)
|
3028
|
+
if plumbing == nil
|
3029
|
+
return nil
|
3030
|
+
end
|
3031
|
+
porcelain = ApprovalWorkflowStepListResponse.new()
|
3032
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
3033
|
+
porcelain
|
3034
|
+
end
|
3035
|
+
|
3036
|
+
def self.convert_approval_workflow_step_list_response_to_plumbing(porcelain)
|
3037
|
+
if porcelain == nil
|
3038
|
+
return nil
|
3039
|
+
end
|
3040
|
+
plumbing = V1::ApprovalWorkflowStepListResponse.new()
|
3041
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
3042
|
+
plumbing
|
3043
|
+
end
|
3044
|
+
def self.convert_repeated_approval_workflow_step_list_response_to_plumbing(porcelains)
|
3045
|
+
items = Array.new
|
3046
|
+
porcelains.each do |porcelain|
|
3047
|
+
plumbing = convert_approval_workflow_step_list_response_to_plumbing(porcelain)
|
3048
|
+
items.append(plumbing)
|
3049
|
+
end
|
3050
|
+
items
|
3051
|
+
end
|
3052
|
+
|
3053
|
+
def self.convert_repeated_approval_workflow_step_list_response_to_porcelain(plumbings)
|
3054
|
+
items = Array.new
|
3055
|
+
plumbings.each do |plumbing|
|
3056
|
+
porcelain = convert_approval_workflow_step_list_response_to_porcelain(plumbing)
|
3057
|
+
items.append(porcelain)
|
3058
|
+
end
|
3059
|
+
items
|
3060
|
+
end
|
3061
|
+
def self.convert_approval_workflow_update_response_to_porcelain(plumbing)
|
3062
|
+
if plumbing == nil
|
3063
|
+
return nil
|
3064
|
+
end
|
3065
|
+
porcelain = ApprovalWorkflowUpdateResponse.new()
|
3066
|
+
porcelain.approval_workflow = convert_approval_workflow_to_porcelain(plumbing.approval_workflow)
|
3067
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
3068
|
+
porcelain
|
3069
|
+
end
|
3070
|
+
|
3071
|
+
def self.convert_approval_workflow_update_response_to_plumbing(porcelain)
|
3072
|
+
if porcelain == nil
|
3073
|
+
return nil
|
3074
|
+
end
|
3075
|
+
plumbing = V1::ApprovalWorkflowUpdateResponse.new()
|
3076
|
+
plumbing.approval_workflow = convert_approval_workflow_to_plumbing(porcelain.approval_workflow)
|
3077
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
3078
|
+
plumbing
|
3079
|
+
end
|
3080
|
+
def self.convert_repeated_approval_workflow_update_response_to_plumbing(porcelains)
|
3081
|
+
items = Array.new
|
3082
|
+
porcelains.each do |porcelain|
|
3083
|
+
plumbing = convert_approval_workflow_update_response_to_plumbing(porcelain)
|
3084
|
+
items.append(plumbing)
|
3085
|
+
end
|
3086
|
+
items
|
3087
|
+
end
|
3088
|
+
|
3089
|
+
def self.convert_repeated_approval_workflow_update_response_to_porcelain(plumbings)
|
3090
|
+
items = Array.new
|
3091
|
+
plumbings.each do |plumbing|
|
3092
|
+
porcelain = convert_approval_workflow_update_response_to_porcelain(plumbing)
|
3093
|
+
items.append(porcelain)
|
3094
|
+
end
|
3095
|
+
items
|
3096
|
+
end
|
2391
3097
|
def self.convert_athena_to_porcelain(plumbing)
|
2392
3098
|
if plumbing == nil
|
2393
3099
|
return nil
|
@@ -8770,7 +9476,6 @@ module SDM
|
|
8770
9476
|
end
|
8771
9477
|
porcelain = ResourceHealthcheckRequest.new()
|
8772
9478
|
porcelain.id = (plumbing.id)
|
8773
|
-
porcelain.meta = convert_update_request_metadata_to_porcelain(plumbing.meta)
|
8774
9479
|
porcelain
|
8775
9480
|
end
|
8776
9481
|
|
@@ -8780,7 +9485,6 @@ module SDM
|
|
8780
9485
|
end
|
8781
9486
|
plumbing = V1::ResourceHealthcheckRequest.new()
|
8782
9487
|
plumbing.id = (porcelain.id)
|
8783
|
-
plumbing.meta = convert_update_request_metadata_to_plumbing(porcelain.meta)
|
8784
9488
|
plumbing
|
8785
9489
|
end
|
8786
9490
|
def self.convert_repeated_resource_healthcheck_request_to_plumbing(porcelains)
|
@@ -9932,9 +10636,7 @@ module SDM
|
|
9932
10636
|
return nil
|
9933
10637
|
end
|
9934
10638
|
porcelain = SecretStoreHealthListResponse.new()
|
9935
|
-
porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
|
9936
10639
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
9937
|
-
porcelain.secret_store_healths = convert_repeated_secret_store_health_to_porcelain(plumbing.secret_store_healths)
|
9938
10640
|
porcelain
|
9939
10641
|
end
|
9940
10642
|
|
@@ -9943,9 +10645,7 @@ module SDM
|
|
9943
10645
|
return nil
|
9944
10646
|
end
|
9945
10647
|
plumbing = V1::SecretStoreHealthListResponse.new()
|
9946
|
-
plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
|
9947
10648
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
9948
|
-
plumbing.secret_store_healths += convert_repeated_secret_store_health_to_plumbing(porcelain.secret_store_healths)
|
9949
10649
|
plumbing
|
9950
10650
|
end
|
9951
10651
|
def self.convert_repeated_secret_store_health_list_response_to_plumbing(porcelains)
|
@@ -9970,7 +10670,6 @@ module SDM
|
|
9970
10670
|
return nil
|
9971
10671
|
end
|
9972
10672
|
porcelain = SecretStoreHealthcheckResponse.new()
|
9973
|
-
porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
|
9974
10673
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
9975
10674
|
porcelain
|
9976
10675
|
end
|
@@ -9980,7 +10679,6 @@ module SDM
|
|
9980
10679
|
return nil
|
9981
10680
|
end
|
9982
10681
|
plumbing = V1::SecretStoreHealthcheckResponse.new()
|
9983
|
-
plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
|
9984
10682
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
9985
10683
|
plumbing
|
9986
10684
|
end
|
@@ -10610,8 +11308,8 @@ module SDM
|
|
10610
11308
|
porcelain.id = (plumbing.id)
|
10611
11309
|
porcelain.last_name = (plumbing.last_name)
|
10612
11310
|
porcelain.managed_by = (plumbing.managed_by)
|
10613
|
-
porcelain.permission_level = (plumbing.
|
10614
|
-
porcelain.suspended = (plumbing.
|
11311
|
+
porcelain.permission_level = (plumbing.permission_levelRW)
|
11312
|
+
porcelain.suspended = (plumbing.suspendedRO)
|
10615
11313
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
10616
11314
|
porcelain
|
10617
11315
|
end
|
@@ -10627,8 +11325,8 @@ module SDM
|
|
10627
11325
|
plumbing.id = (porcelain.id)
|
10628
11326
|
plumbing.last_name = (porcelain.last_name)
|
10629
11327
|
plumbing.managed_by = (porcelain.managed_by)
|
10630
|
-
plumbing.
|
10631
|
-
plumbing.
|
11328
|
+
plumbing.permission_levelRW = (porcelain.permission_level)
|
11329
|
+
plumbing.suspendedRO = (porcelain.suspended)
|
10632
11330
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
10633
11331
|
plumbing
|
10634
11332
|
end
|
@@ -11240,7 +11938,6 @@ module SDM
|
|
11240
11938
|
return nil
|
11241
11939
|
end
|
11242
11940
|
porcelain = WorkflowApproversCreateRequest.new()
|
11243
|
-
porcelain.meta = convert_create_request_metadata_to_porcelain(plumbing.meta)
|
11244
11941
|
porcelain.workflow_approver = convert_workflow_approver_to_porcelain(plumbing.workflow_approver)
|
11245
11942
|
porcelain
|
11246
11943
|
end
|
@@ -11250,7 +11947,6 @@ module SDM
|
|
11250
11947
|
return nil
|
11251
11948
|
end
|
11252
11949
|
plumbing = V1::WorkflowApproversCreateRequest.new()
|
11253
|
-
plumbing.meta = convert_create_request_metadata_to_plumbing(porcelain.meta)
|
11254
11950
|
plumbing.workflow_approver = convert_workflow_approver_to_plumbing(porcelain.workflow_approver)
|
11255
11951
|
plumbing
|
11256
11952
|
end
|
@@ -11276,7 +11972,6 @@ module SDM
|
|
11276
11972
|
return nil
|
11277
11973
|
end
|
11278
11974
|
porcelain = WorkflowApproversCreateResponse.new()
|
11279
|
-
porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
|
11280
11975
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
11281
11976
|
porcelain.workflow_approver = convert_workflow_approver_to_porcelain(plumbing.workflow_approver)
|
11282
11977
|
porcelain
|
@@ -11287,7 +11982,6 @@ module SDM
|
|
11287
11982
|
return nil
|
11288
11983
|
end
|
11289
11984
|
plumbing = V1::WorkflowApproversCreateResponse.new()
|
11290
|
-
plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
|
11291
11985
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
11292
11986
|
plumbing.workflow_approver = convert_workflow_approver_to_plumbing(porcelain.workflow_approver)
|
11293
11987
|
plumbing
|
@@ -11315,7 +12009,6 @@ module SDM
|
|
11315
12009
|
end
|
11316
12010
|
porcelain = WorkflowApproversDeleteRequest.new()
|
11317
12011
|
porcelain.id = (plumbing.id)
|
11318
|
-
porcelain.meta = convert_delete_request_metadata_to_porcelain(plumbing.meta)
|
11319
12012
|
porcelain
|
11320
12013
|
end
|
11321
12014
|
|
@@ -11325,7 +12018,6 @@ module SDM
|
|
11325
12018
|
end
|
11326
12019
|
plumbing = V1::WorkflowApproversDeleteRequest.new()
|
11327
12020
|
plumbing.id = (porcelain.id)
|
11328
|
-
plumbing.meta = convert_delete_request_metadata_to_plumbing(porcelain.meta)
|
11329
12021
|
plumbing
|
11330
12022
|
end
|
11331
12023
|
def self.convert_repeated_workflow_approvers_delete_request_to_plumbing(porcelains)
|
@@ -11350,7 +12042,6 @@ module SDM
|
|
11350
12042
|
return nil
|
11351
12043
|
end
|
11352
12044
|
porcelain = WorkflowApproversDeleteResponse.new()
|
11353
|
-
porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
|
11354
12045
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
11355
12046
|
porcelain
|
11356
12047
|
end
|
@@ -11360,7 +12051,6 @@ module SDM
|
|
11360
12051
|
return nil
|
11361
12052
|
end
|
11362
12053
|
plumbing = V1::WorkflowApproversDeleteResponse.new()
|
11363
|
-
plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
|
11364
12054
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
11365
12055
|
plumbing
|
11366
12056
|
end
|
@@ -11387,7 +12077,6 @@ module SDM
|
|
11387
12077
|
end
|
11388
12078
|
porcelain = WorkflowApproversListRequest.new()
|
11389
12079
|
porcelain.filter = (plumbing.filter)
|
11390
|
-
porcelain.meta = convert_list_request_metadata_to_porcelain(plumbing.meta)
|
11391
12080
|
porcelain
|
11392
12081
|
end
|
11393
12082
|
|
@@ -11397,7 +12086,6 @@ module SDM
|
|
11397
12086
|
end
|
11398
12087
|
plumbing = V1::WorkflowApproversListRequest.new()
|
11399
12088
|
plumbing.filter = (porcelain.filter)
|
11400
|
-
plumbing.meta = convert_list_request_metadata_to_plumbing(porcelain.meta)
|
11401
12089
|
plumbing
|
11402
12090
|
end
|
11403
12091
|
def self.convert_repeated_workflow_approvers_list_request_to_plumbing(porcelains)
|
@@ -11422,9 +12110,7 @@ module SDM
|
|
11422
12110
|
return nil
|
11423
12111
|
end
|
11424
12112
|
porcelain = WorkflowApproversListResponse.new()
|
11425
|
-
porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
|
11426
12113
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
11427
|
-
porcelain.workflow_approvers = convert_repeated_workflow_approver_to_porcelain(plumbing.workflow_approvers)
|
11428
12114
|
porcelain
|
11429
12115
|
end
|
11430
12116
|
|
@@ -11433,9 +12119,7 @@ module SDM
|
|
11433
12119
|
return nil
|
11434
12120
|
end
|
11435
12121
|
plumbing = V1::WorkflowApproversListResponse.new()
|
11436
|
-
plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
|
11437
12122
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
11438
|
-
plumbing.workflow_approvers += convert_repeated_workflow_approver_to_plumbing(porcelain.workflow_approvers)
|
11439
12123
|
plumbing
|
11440
12124
|
end
|
11441
12125
|
def self.convert_repeated_workflow_approvers_list_response_to_plumbing(porcelains)
|
@@ -11537,7 +12221,6 @@ module SDM
|
|
11537
12221
|
end
|
11538
12222
|
porcelain = WorkflowAssignmentsListRequest.new()
|
11539
12223
|
porcelain.filter = (plumbing.filter)
|
11540
|
-
porcelain.meta = convert_list_request_metadata_to_porcelain(plumbing.meta)
|
11541
12224
|
porcelain
|
11542
12225
|
end
|
11543
12226
|
|
@@ -11547,7 +12230,6 @@ module SDM
|
|
11547
12230
|
end
|
11548
12231
|
plumbing = V1::WorkflowAssignmentsListRequest.new()
|
11549
12232
|
plumbing.filter = (porcelain.filter)
|
11550
|
-
plumbing.meta = convert_list_request_metadata_to_plumbing(porcelain.meta)
|
11551
12233
|
plumbing
|
11552
12234
|
end
|
11553
12235
|
def self.convert_repeated_workflow_assignments_list_request_to_plumbing(porcelains)
|
@@ -11572,9 +12254,7 @@ module SDM
|
|
11572
12254
|
return nil
|
11573
12255
|
end
|
11574
12256
|
porcelain = WorkflowAssignmentsListResponse.new()
|
11575
|
-
porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
|
11576
12257
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
11577
|
-
porcelain.workflow_assignments = convert_repeated_workflow_assignment_to_porcelain(plumbing.workflow_assignments)
|
11578
12258
|
porcelain
|
11579
12259
|
end
|
11580
12260
|
|
@@ -11583,9 +12263,7 @@ module SDM
|
|
11583
12263
|
return nil
|
11584
12264
|
end
|
11585
12265
|
plumbing = V1::WorkflowAssignmentsListResponse.new()
|
11586
|
-
plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
|
11587
12266
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
11588
|
-
plumbing.workflow_assignments += convert_repeated_workflow_assignment_to_plumbing(porcelain.workflow_assignments)
|
11589
12267
|
plumbing
|
11590
12268
|
end
|
11591
12269
|
def self.convert_repeated_workflow_assignments_list_response_to_plumbing(porcelains)
|
@@ -11610,7 +12288,6 @@ module SDM
|
|
11610
12288
|
return nil
|
11611
12289
|
end
|
11612
12290
|
porcelain = WorkflowCreateResponse.new()
|
11613
|
-
porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
|
11614
12291
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
11615
12292
|
porcelain.workflow = convert_workflow_to_porcelain(plumbing.workflow)
|
11616
12293
|
porcelain
|
@@ -11621,7 +12298,6 @@ module SDM
|
|
11621
12298
|
return nil
|
11622
12299
|
end
|
11623
12300
|
plumbing = V1::WorkflowCreateResponse.new()
|
11624
|
-
plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
|
11625
12301
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
11626
12302
|
plumbing.workflow = convert_workflow_to_plumbing(porcelain.workflow)
|
11627
12303
|
plumbing
|
@@ -11649,7 +12325,6 @@ module SDM
|
|
11649
12325
|
end
|
11650
12326
|
porcelain = WorkflowDeleteResponse.new()
|
11651
12327
|
porcelain.id = (plumbing.id)
|
11652
|
-
porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
|
11653
12328
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
11654
12329
|
porcelain
|
11655
12330
|
end
|
@@ -11660,7 +12335,6 @@ module SDM
|
|
11660
12335
|
end
|
11661
12336
|
plumbing = V1::WorkflowDeleteResponse.new()
|
11662
12337
|
plumbing.id = (porcelain.id)
|
11663
|
-
plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
|
11664
12338
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
11665
12339
|
plumbing
|
11666
12340
|
end
|
@@ -11764,9 +12438,7 @@ module SDM
|
|
11764
12438
|
return nil
|
11765
12439
|
end
|
11766
12440
|
porcelain = WorkflowListResponse.new()
|
11767
|
-
porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
|
11768
12441
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
11769
|
-
porcelain.workflows = convert_repeated_workflow_to_porcelain(plumbing.workflows)
|
11770
12442
|
porcelain
|
11771
12443
|
end
|
11772
12444
|
|
@@ -11775,9 +12447,7 @@ module SDM
|
|
11775
12447
|
return nil
|
11776
12448
|
end
|
11777
12449
|
plumbing = V1::WorkflowListResponse.new()
|
11778
|
-
plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
|
11779
12450
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
11780
|
-
plumbing.workflows += convert_repeated_workflow_to_plumbing(porcelain.workflows)
|
11781
12451
|
plumbing
|
11782
12452
|
end
|
11783
12453
|
def self.convert_repeated_workflow_list_response_to_plumbing(porcelains)
|
@@ -11918,7 +12588,6 @@ module SDM
|
|
11918
12588
|
return nil
|
11919
12589
|
end
|
11920
12590
|
porcelain = WorkflowRolesCreateRequest.new()
|
11921
|
-
porcelain.meta = convert_create_request_metadata_to_porcelain(plumbing.meta)
|
11922
12591
|
porcelain.workflow_role = convert_workflow_role_to_porcelain(plumbing.workflow_role)
|
11923
12592
|
porcelain
|
11924
12593
|
end
|
@@ -11928,7 +12597,6 @@ module SDM
|
|
11928
12597
|
return nil
|
11929
12598
|
end
|
11930
12599
|
plumbing = V1::WorkflowRolesCreateRequest.new()
|
11931
|
-
plumbing.meta = convert_create_request_metadata_to_plumbing(porcelain.meta)
|
11932
12600
|
plumbing.workflow_role = convert_workflow_role_to_plumbing(porcelain.workflow_role)
|
11933
12601
|
plumbing
|
11934
12602
|
end
|
@@ -11954,7 +12622,6 @@ module SDM
|
|
11954
12622
|
return nil
|
11955
12623
|
end
|
11956
12624
|
porcelain = WorkflowRolesCreateResponse.new()
|
11957
|
-
porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
|
11958
12625
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
11959
12626
|
porcelain.workflow_role = convert_workflow_role_to_porcelain(plumbing.workflow_role)
|
11960
12627
|
porcelain
|
@@ -11965,7 +12632,6 @@ module SDM
|
|
11965
12632
|
return nil
|
11966
12633
|
end
|
11967
12634
|
plumbing = V1::WorkflowRolesCreateResponse.new()
|
11968
|
-
plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
|
11969
12635
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
11970
12636
|
plumbing.workflow_role = convert_workflow_role_to_plumbing(porcelain.workflow_role)
|
11971
12637
|
plumbing
|
@@ -11993,7 +12659,6 @@ module SDM
|
|
11993
12659
|
end
|
11994
12660
|
porcelain = WorkflowRolesDeleteRequest.new()
|
11995
12661
|
porcelain.id = (plumbing.id)
|
11996
|
-
porcelain.meta = convert_delete_request_metadata_to_porcelain(plumbing.meta)
|
11997
12662
|
porcelain
|
11998
12663
|
end
|
11999
12664
|
|
@@ -12003,7 +12668,6 @@ module SDM
|
|
12003
12668
|
end
|
12004
12669
|
plumbing = V1::WorkflowRolesDeleteRequest.new()
|
12005
12670
|
plumbing.id = (porcelain.id)
|
12006
|
-
plumbing.meta = convert_delete_request_metadata_to_plumbing(porcelain.meta)
|
12007
12671
|
plumbing
|
12008
12672
|
end
|
12009
12673
|
def self.convert_repeated_workflow_roles_delete_request_to_plumbing(porcelains)
|
@@ -12028,7 +12692,6 @@ module SDM
|
|
12028
12692
|
return nil
|
12029
12693
|
end
|
12030
12694
|
porcelain = WorkflowRolesDeleteResponse.new()
|
12031
|
-
porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
|
12032
12695
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
12033
12696
|
porcelain
|
12034
12697
|
end
|
@@ -12038,7 +12701,6 @@ module SDM
|
|
12038
12701
|
return nil
|
12039
12702
|
end
|
12040
12703
|
plumbing = V1::WorkflowRolesDeleteResponse.new()
|
12041
|
-
plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
|
12042
12704
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
12043
12705
|
plumbing
|
12044
12706
|
end
|
@@ -12065,7 +12727,6 @@ module SDM
|
|
12065
12727
|
end
|
12066
12728
|
porcelain = WorkflowRolesListRequest.new()
|
12067
12729
|
porcelain.filter = (plumbing.filter)
|
12068
|
-
porcelain.meta = convert_list_request_metadata_to_porcelain(plumbing.meta)
|
12069
12730
|
porcelain
|
12070
12731
|
end
|
12071
12732
|
|
@@ -12075,7 +12736,6 @@ module SDM
|
|
12075
12736
|
end
|
12076
12737
|
plumbing = V1::WorkflowRolesListRequest.new()
|
12077
12738
|
plumbing.filter = (porcelain.filter)
|
12078
|
-
plumbing.meta = convert_list_request_metadata_to_plumbing(porcelain.meta)
|
12079
12739
|
plumbing
|
12080
12740
|
end
|
12081
12741
|
def self.convert_repeated_workflow_roles_list_request_to_plumbing(porcelains)
|
@@ -12100,9 +12760,7 @@ module SDM
|
|
12100
12760
|
return nil
|
12101
12761
|
end
|
12102
12762
|
porcelain = WorkflowRolesListResponse.new()
|
12103
|
-
porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
|
12104
12763
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
12105
|
-
porcelain.workflow_role = convert_repeated_workflow_role_to_porcelain(plumbing.workflow_role)
|
12106
12764
|
porcelain
|
12107
12765
|
end
|
12108
12766
|
|
@@ -12111,9 +12769,7 @@ module SDM
|
|
12111
12769
|
return nil
|
12112
12770
|
end
|
12113
12771
|
plumbing = V1::WorkflowRolesListResponse.new()
|
12114
|
-
plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
|
12115
12772
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
12116
|
-
plumbing.workflow_role += convert_repeated_workflow_role_to_plumbing(porcelain.workflow_role)
|
12117
12773
|
plumbing
|
12118
12774
|
end
|
12119
12775
|
def self.convert_repeated_workflow_roles_list_response_to_plumbing(porcelains)
|
@@ -12138,7 +12794,6 @@ module SDM
|
|
12138
12794
|
return nil
|
12139
12795
|
end
|
12140
12796
|
porcelain = WorkflowUpdateResponse.new()
|
12141
|
-
porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
|
12142
12797
|
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
12143
12798
|
porcelain.workflow = convert_workflow_to_porcelain(plumbing.workflow)
|
12144
12799
|
porcelain
|
@@ -12149,7 +12804,6 @@ module SDM
|
|
12149
12804
|
return nil
|
12150
12805
|
end
|
12151
12806
|
plumbing = V1::WorkflowUpdateResponse.new()
|
12152
|
-
plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta)
|
12153
12807
|
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
12154
12808
|
plumbing.workflow = convert_workflow_to_plumbing(porcelain.workflow)
|
12155
12809
|
plumbing
|