strongdm 4.6.1 → 4.8.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.
data/lib/grpc/plumbing.rb CHANGED
@@ -58,10 +58,13 @@ require_relative "./roles_history_pb"
58
58
  require_relative "./secret_store_types_pb"
59
59
  require_relative "./secret_stores_pb"
60
60
  require_relative "./secret_stores_history_pb"
61
- require_relative "./workflows_pb"
61
+ require_relative "./workflow_approvers_pb"
62
62
  require_relative "./workflow_approvers_history_pb"
63
+ require_relative "./workflow_assignments_pb"
63
64
  require_relative "./workflow_assignments_history_pb"
65
+ require_relative "./workflow_roles_pb"
64
66
  require_relative "./workflow_roles_history_pb"
67
+ require_relative "./workflows_pb"
65
68
  require_relative "./workflows_history_pb"
66
69
  require_relative "../models/porcelain"
67
70
  require_relative "../errors/errors"
@@ -10115,6 +10118,7 @@ module SDM
10115
10118
  end
10116
10119
  porcelain = WorkflowApprover.new()
10117
10120
  porcelain.approver_id = (plumbing.approver_id)
10121
+ porcelain.id = (plumbing.id)
10118
10122
  porcelain.workflow_id = (plumbing.workflow_id)
10119
10123
  porcelain
10120
10124
  end
@@ -10125,6 +10129,7 @@ module SDM
10125
10129
  end
10126
10130
  plumbing = V1::WorkflowApprover.new()
10127
10131
  plumbing.approver_id = (porcelain.approver_id)
10132
+ plumbing.id = (porcelain.id)
10128
10133
  plumbing.workflow_id = (porcelain.workflow_id)
10129
10134
  plumbing
10130
10135
  end
@@ -10145,6 +10150,44 @@ module SDM
10145
10150
  end
10146
10151
  items
10147
10152
  end
10153
+ def self.convert_workflow_approver_get_response_to_porcelain(plumbing)
10154
+ if plumbing == nil
10155
+ return nil
10156
+ end
10157
+ porcelain = WorkflowApproverGetResponse.new()
10158
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
10159
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
10160
+ porcelain.workflow_approver = convert_workflow_approver_to_porcelain(plumbing.workflow_approver)
10161
+ porcelain
10162
+ end
10163
+
10164
+ def self.convert_workflow_approver_get_response_to_plumbing(porcelain)
10165
+ if porcelain == nil
10166
+ return nil
10167
+ end
10168
+ plumbing = V1::WorkflowApproverGetResponse.new()
10169
+ plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
10170
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
10171
+ plumbing.workflow_approver = convert_workflow_approver_to_plumbing(porcelain.workflow_approver)
10172
+ plumbing
10173
+ end
10174
+ def self.convert_repeated_workflow_approver_get_response_to_plumbing(porcelains)
10175
+ items = Array.new
10176
+ porcelains.each do |porcelain|
10177
+ plumbing = convert_workflow_approver_get_response_to_plumbing(porcelain)
10178
+ items.append(plumbing)
10179
+ end
10180
+ items
10181
+ end
10182
+
10183
+ def self.convert_repeated_workflow_approver_get_response_to_porcelain(plumbings)
10184
+ items = Array.new
10185
+ plumbings.each do |plumbing|
10186
+ porcelain = convert_workflow_approver_get_response_to_porcelain(plumbing)
10187
+ items.append(porcelain)
10188
+ end
10189
+ items
10190
+ end
10148
10191
  def self.convert_workflow_approver_history_to_porcelain(plumbing)
10149
10192
  if plumbing == nil
10150
10193
  return nil
@@ -10185,268 +10228,938 @@ module SDM
10185
10228
  end
10186
10229
  items
10187
10230
  end
10188
- def self.convert_workflow_assignment_to_porcelain(plumbing)
10231
+ def self.convert_workflow_approvers_create_request_to_porcelain(plumbing)
10189
10232
  if plumbing == nil
10190
10233
  return nil
10191
10234
  end
10192
- porcelain = WorkflowAssignment.new()
10193
- porcelain.resource_id = (plumbing.resource_id)
10194
- porcelain.workflow_id = (plumbing.workflow_id)
10235
+ porcelain = WorkflowApproversCreateRequest.new()
10236
+ porcelain.meta = convert_create_request_metadata_to_porcelain(plumbing.meta)
10237
+ porcelain.workflow_approver = convert_workflow_approver_to_porcelain(plumbing.workflow_approver)
10195
10238
  porcelain
10196
10239
  end
10197
10240
 
10198
- def self.convert_workflow_assignment_to_plumbing(porcelain)
10241
+ def self.convert_workflow_approvers_create_request_to_plumbing(porcelain)
10199
10242
  if porcelain == nil
10200
10243
  return nil
10201
10244
  end
10202
- plumbing = V1::WorkflowAssignment.new()
10203
- plumbing.resource_id = (porcelain.resource_id)
10204
- plumbing.workflow_id = (porcelain.workflow_id)
10245
+ plumbing = V1::WorkflowApproversCreateRequest.new()
10246
+ plumbing.meta = convert_create_request_metadata_to_plumbing(porcelain.meta)
10247
+ plumbing.workflow_approver = convert_workflow_approver_to_plumbing(porcelain.workflow_approver)
10205
10248
  plumbing
10206
10249
  end
10207
- def self.convert_repeated_workflow_assignment_to_plumbing(porcelains)
10250
+ def self.convert_repeated_workflow_approvers_create_request_to_plumbing(porcelains)
10208
10251
  items = Array.new
10209
10252
  porcelains.each do |porcelain|
10210
- plumbing = convert_workflow_assignment_to_plumbing(porcelain)
10253
+ plumbing = convert_workflow_approvers_create_request_to_plumbing(porcelain)
10211
10254
  items.append(plumbing)
10212
10255
  end
10213
10256
  items
10214
10257
  end
10215
10258
 
10216
- def self.convert_repeated_workflow_assignment_to_porcelain(plumbings)
10259
+ def self.convert_repeated_workflow_approvers_create_request_to_porcelain(plumbings)
10217
10260
  items = Array.new
10218
10261
  plumbings.each do |plumbing|
10219
- porcelain = convert_workflow_assignment_to_porcelain(plumbing)
10262
+ porcelain = convert_workflow_approvers_create_request_to_porcelain(plumbing)
10220
10263
  items.append(porcelain)
10221
10264
  end
10222
10265
  items
10223
10266
  end
10224
- def self.convert_workflow_assignment_history_to_porcelain(plumbing)
10267
+ def self.convert_workflow_approvers_create_response_to_porcelain(plumbing)
10225
10268
  if plumbing == nil
10226
10269
  return nil
10227
10270
  end
10228
- porcelain = WorkflowAssignmentHistory.new()
10229
- porcelain.activity_id = (plumbing.activity_id)
10230
- porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
10231
- porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
10232
- porcelain.workflow_assignment = convert_workflow_assignment_to_porcelain(plumbing.workflow_assignment)
10271
+ porcelain = WorkflowApproversCreateResponse.new()
10272
+ porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
10273
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
10274
+ porcelain.workflow_approver = convert_workflow_approver_to_porcelain(plumbing.workflow_approver)
10233
10275
  porcelain
10234
10276
  end
10235
10277
 
10236
- def self.convert_workflow_assignment_history_to_plumbing(porcelain)
10278
+ def self.convert_workflow_approvers_create_response_to_plumbing(porcelain)
10237
10279
  if porcelain == nil
10238
10280
  return nil
10239
10281
  end
10240
- plumbing = V1::WorkflowAssignmentHistory.new()
10241
- plumbing.activity_id = (porcelain.activity_id)
10242
- plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
10243
- plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
10244
- plumbing.workflow_assignment = convert_workflow_assignment_to_plumbing(porcelain.workflow_assignment)
10282
+ plumbing = V1::WorkflowApproversCreateResponse.new()
10283
+ plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
10284
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
10285
+ plumbing.workflow_approver = convert_workflow_approver_to_plumbing(porcelain.workflow_approver)
10245
10286
  plumbing
10246
10287
  end
10247
- def self.convert_repeated_workflow_assignment_history_to_plumbing(porcelains)
10288
+ def self.convert_repeated_workflow_approvers_create_response_to_plumbing(porcelains)
10248
10289
  items = Array.new
10249
10290
  porcelains.each do |porcelain|
10250
- plumbing = convert_workflow_assignment_history_to_plumbing(porcelain)
10291
+ plumbing = convert_workflow_approvers_create_response_to_plumbing(porcelain)
10251
10292
  items.append(plumbing)
10252
10293
  end
10253
10294
  items
10254
10295
  end
10255
10296
 
10256
- def self.convert_repeated_workflow_assignment_history_to_porcelain(plumbings)
10297
+ def self.convert_repeated_workflow_approvers_create_response_to_porcelain(plumbings)
10257
10298
  items = Array.new
10258
10299
  plumbings.each do |plumbing|
10259
- porcelain = convert_workflow_assignment_history_to_porcelain(plumbing)
10300
+ porcelain = convert_workflow_approvers_create_response_to_porcelain(plumbing)
10260
10301
  items.append(porcelain)
10261
10302
  end
10262
10303
  items
10263
10304
  end
10264
- def self.convert_workflow_history_to_porcelain(plumbing)
10305
+ def self.convert_workflow_approvers_delete_request_to_porcelain(plumbing)
10265
10306
  if plumbing == nil
10266
10307
  return nil
10267
10308
  end
10268
- porcelain = WorkflowHistory.new()
10269
- porcelain.activity_id = (plumbing.activity_id)
10270
- porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
10271
- porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
10272
- porcelain.workflow = convert_workflow_to_porcelain(plumbing.workflow)
10309
+ porcelain = WorkflowApproversDeleteRequest.new()
10310
+ porcelain.id = (plumbing.id)
10311
+ porcelain.meta = convert_delete_request_metadata_to_porcelain(plumbing.meta)
10273
10312
  porcelain
10274
10313
  end
10275
10314
 
10276
- def self.convert_workflow_history_to_plumbing(porcelain)
10315
+ def self.convert_workflow_approvers_delete_request_to_plumbing(porcelain)
10277
10316
  if porcelain == nil
10278
10317
  return nil
10279
10318
  end
10280
- plumbing = V1::WorkflowHistory.new()
10281
- plumbing.activity_id = (porcelain.activity_id)
10282
- plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
10283
- plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
10284
- plumbing.workflow = convert_workflow_to_plumbing(porcelain.workflow)
10319
+ plumbing = V1::WorkflowApproversDeleteRequest.new()
10320
+ plumbing.id = (porcelain.id)
10321
+ plumbing.meta = convert_delete_request_metadata_to_plumbing(porcelain.meta)
10285
10322
  plumbing
10286
10323
  end
10287
- def self.convert_repeated_workflow_history_to_plumbing(porcelains)
10324
+ def self.convert_repeated_workflow_approvers_delete_request_to_plumbing(porcelains)
10288
10325
  items = Array.new
10289
10326
  porcelains.each do |porcelain|
10290
- plumbing = convert_workflow_history_to_plumbing(porcelain)
10327
+ plumbing = convert_workflow_approvers_delete_request_to_plumbing(porcelain)
10291
10328
  items.append(plumbing)
10292
10329
  end
10293
10330
  items
10294
10331
  end
10295
10332
 
10296
- def self.convert_repeated_workflow_history_to_porcelain(plumbings)
10333
+ def self.convert_repeated_workflow_approvers_delete_request_to_porcelain(plumbings)
10297
10334
  items = Array.new
10298
10335
  plumbings.each do |plumbing|
10299
- porcelain = convert_workflow_history_to_porcelain(plumbing)
10336
+ porcelain = convert_workflow_approvers_delete_request_to_porcelain(plumbing)
10337
+ items.append(porcelain)
10338
+ end
10339
+ items
10340
+ end
10341
+ def self.convert_workflow_approvers_delete_response_to_porcelain(plumbing)
10342
+ if plumbing == nil
10343
+ return nil
10344
+ end
10345
+ porcelain = WorkflowApproversDeleteResponse.new()
10346
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
10347
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
10348
+ porcelain
10349
+ end
10350
+
10351
+ def self.convert_workflow_approvers_delete_response_to_plumbing(porcelain)
10352
+ if porcelain == nil
10353
+ return nil
10354
+ end
10355
+ plumbing = V1::WorkflowApproversDeleteResponse.new()
10356
+ plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
10357
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
10358
+ plumbing
10359
+ end
10360
+ def self.convert_repeated_workflow_approvers_delete_response_to_plumbing(porcelains)
10361
+ items = Array.new
10362
+ porcelains.each do |porcelain|
10363
+ plumbing = convert_workflow_approvers_delete_response_to_plumbing(porcelain)
10364
+ items.append(plumbing)
10365
+ end
10366
+ items
10367
+ end
10368
+
10369
+ def self.convert_repeated_workflow_approvers_delete_response_to_porcelain(plumbings)
10370
+ items = Array.new
10371
+ plumbings.each do |plumbing|
10372
+ porcelain = convert_workflow_approvers_delete_response_to_porcelain(plumbing)
10300
10373
  items.append(porcelain)
10301
10374
  end
10302
10375
  items
10303
10376
  end
10304
- def self.convert_workflow_list_request_to_porcelain(plumbing)
10377
+ def self.convert_workflow_approvers_list_request_to_porcelain(plumbing)
10305
10378
  if plumbing == nil
10306
10379
  return nil
10307
10380
  end
10308
- porcelain = WorkflowListRequest.new()
10381
+ porcelain = WorkflowApproversListRequest.new()
10309
10382
  porcelain.filter = (plumbing.filter)
10310
10383
  porcelain.meta = convert_list_request_metadata_to_porcelain(plumbing.meta)
10311
10384
  porcelain
10312
10385
  end
10313
10386
 
10314
- def self.convert_workflow_list_request_to_plumbing(porcelain)
10387
+ def self.convert_workflow_approvers_list_request_to_plumbing(porcelain)
10315
10388
  if porcelain == nil
10316
10389
  return nil
10317
10390
  end
10318
- plumbing = V1::WorkflowListRequest.new()
10391
+ plumbing = V1::WorkflowApproversListRequest.new()
10319
10392
  plumbing.filter = (porcelain.filter)
10320
10393
  plumbing.meta = convert_list_request_metadata_to_plumbing(porcelain.meta)
10321
10394
  plumbing
10322
10395
  end
10323
- def self.convert_repeated_workflow_list_request_to_plumbing(porcelains)
10396
+ def self.convert_repeated_workflow_approvers_list_request_to_plumbing(porcelains)
10324
10397
  items = Array.new
10325
10398
  porcelains.each do |porcelain|
10326
- plumbing = convert_workflow_list_request_to_plumbing(porcelain)
10399
+ plumbing = convert_workflow_approvers_list_request_to_plumbing(porcelain)
10327
10400
  items.append(plumbing)
10328
10401
  end
10329
10402
  items
10330
10403
  end
10331
10404
 
10332
- def self.convert_repeated_workflow_list_request_to_porcelain(plumbings)
10405
+ def self.convert_repeated_workflow_approvers_list_request_to_porcelain(plumbings)
10333
10406
  items = Array.new
10334
10407
  plumbings.each do |plumbing|
10335
- porcelain = convert_workflow_list_request_to_porcelain(plumbing)
10408
+ porcelain = convert_workflow_approvers_list_request_to_porcelain(plumbing)
10336
10409
  items.append(porcelain)
10337
10410
  end
10338
10411
  items
10339
10412
  end
10340
- def self.convert_workflow_list_response_to_porcelain(plumbing)
10413
+ def self.convert_workflow_approvers_list_response_to_porcelain(plumbing)
10341
10414
  if plumbing == nil
10342
10415
  return nil
10343
10416
  end
10344
- porcelain = WorkflowListResponse.new()
10417
+ porcelain = WorkflowApproversListResponse.new()
10345
10418
  porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
10346
10419
  porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
10347
- porcelain.workflows = convert_repeated_workflow_to_porcelain(plumbing.workflows)
10420
+ porcelain.workflow_approvers = convert_repeated_workflow_approver_to_porcelain(plumbing.workflow_approvers)
10348
10421
  porcelain
10349
10422
  end
10350
10423
 
10351
- def self.convert_workflow_list_response_to_plumbing(porcelain)
10424
+ def self.convert_workflow_approvers_list_response_to_plumbing(porcelain)
10352
10425
  if porcelain == nil
10353
10426
  return nil
10354
10427
  end
10355
- plumbing = V1::WorkflowListResponse.new()
10428
+ plumbing = V1::WorkflowApproversListResponse.new()
10356
10429
  plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
10357
10430
  plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
10358
- plumbing.workflows += convert_repeated_workflow_to_plumbing(porcelain.workflows)
10431
+ plumbing.workflow_approvers += convert_repeated_workflow_approver_to_plumbing(porcelain.workflow_approvers)
10359
10432
  plumbing
10360
10433
  end
10361
- def self.convert_repeated_workflow_list_response_to_plumbing(porcelains)
10434
+ def self.convert_repeated_workflow_approvers_list_response_to_plumbing(porcelains)
10362
10435
  items = Array.new
10363
10436
  porcelains.each do |porcelain|
10364
- plumbing = convert_workflow_list_response_to_plumbing(porcelain)
10437
+ plumbing = convert_workflow_approvers_list_response_to_plumbing(porcelain)
10365
10438
  items.append(plumbing)
10366
10439
  end
10367
10440
  items
10368
10441
  end
10369
10442
 
10370
- def self.convert_repeated_workflow_list_response_to_porcelain(plumbings)
10443
+ def self.convert_repeated_workflow_approvers_list_response_to_porcelain(plumbings)
10371
10444
  items = Array.new
10372
10445
  plumbings.each do |plumbing|
10373
- porcelain = convert_workflow_list_response_to_porcelain(plumbing)
10446
+ porcelain = convert_workflow_approvers_list_response_to_porcelain(plumbing)
10374
10447
  items.append(porcelain)
10375
10448
  end
10376
10449
  items
10377
10450
  end
10378
- def self.convert_workflow_role_to_porcelain(plumbing)
10451
+ def self.convert_workflow_assignment_to_porcelain(plumbing)
10379
10452
  if plumbing == nil
10380
10453
  return nil
10381
10454
  end
10382
- porcelain = WorkflowRole.new()
10383
- porcelain.role_id = (plumbing.role_id)
10455
+ porcelain = WorkflowAssignment.new()
10456
+ porcelain.resource_id = (plumbing.resource_id)
10384
10457
  porcelain.workflow_id = (plumbing.workflow_id)
10385
10458
  porcelain
10386
10459
  end
10387
10460
 
10388
- def self.convert_workflow_role_to_plumbing(porcelain)
10461
+ def self.convert_workflow_assignment_to_plumbing(porcelain)
10389
10462
  if porcelain == nil
10390
10463
  return nil
10391
10464
  end
10392
- plumbing = V1::WorkflowRole.new()
10393
- plumbing.role_id = (porcelain.role_id)
10465
+ plumbing = V1::WorkflowAssignment.new()
10466
+ plumbing.resource_id = (porcelain.resource_id)
10394
10467
  plumbing.workflow_id = (porcelain.workflow_id)
10395
10468
  plumbing
10396
10469
  end
10397
- def self.convert_repeated_workflow_role_to_plumbing(porcelains)
10470
+ def self.convert_repeated_workflow_assignment_to_plumbing(porcelains)
10398
10471
  items = Array.new
10399
10472
  porcelains.each do |porcelain|
10400
- plumbing = convert_workflow_role_to_plumbing(porcelain)
10473
+ plumbing = convert_workflow_assignment_to_plumbing(porcelain)
10401
10474
  items.append(plumbing)
10402
10475
  end
10403
10476
  items
10404
10477
  end
10405
10478
 
10406
- def self.convert_repeated_workflow_role_to_porcelain(plumbings)
10479
+ def self.convert_repeated_workflow_assignment_to_porcelain(plumbings)
10407
10480
  items = Array.new
10408
10481
  plumbings.each do |plumbing|
10409
- porcelain = convert_workflow_role_to_porcelain(plumbing)
10482
+ porcelain = convert_workflow_assignment_to_porcelain(plumbing)
10410
10483
  items.append(porcelain)
10411
10484
  end
10412
10485
  items
10413
10486
  end
10414
- def self.convert_workflow_role_history_to_porcelain(plumbing)
10487
+ def self.convert_workflow_assignment_history_to_porcelain(plumbing)
10415
10488
  if plumbing == nil
10416
10489
  return nil
10417
10490
  end
10418
- porcelain = WorkflowRoleHistory.new()
10491
+ porcelain = WorkflowAssignmentHistory.new()
10419
10492
  porcelain.activity_id = (plumbing.activity_id)
10420
10493
  porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
10421
10494
  porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
10422
- porcelain.workflow_role = convert_workflow_role_to_porcelain(plumbing.workflow_role)
10495
+ porcelain.workflow_assignment = convert_workflow_assignment_to_porcelain(plumbing.workflow_assignment)
10423
10496
  porcelain
10424
10497
  end
10425
10498
 
10426
- def self.convert_workflow_role_history_to_plumbing(porcelain)
10499
+ def self.convert_workflow_assignment_history_to_plumbing(porcelain)
10427
10500
  if porcelain == nil
10428
10501
  return nil
10429
10502
  end
10430
- plumbing = V1::WorkflowRoleHistory.new()
10503
+ plumbing = V1::WorkflowAssignmentHistory.new()
10431
10504
  plumbing.activity_id = (porcelain.activity_id)
10432
10505
  plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
10433
10506
  plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
10434
- plumbing.workflow_role = convert_workflow_role_to_plumbing(porcelain.workflow_role)
10507
+ plumbing.workflow_assignment = convert_workflow_assignment_to_plumbing(porcelain.workflow_assignment)
10435
10508
  plumbing
10436
10509
  end
10437
- def self.convert_repeated_workflow_role_history_to_plumbing(porcelains)
10510
+ def self.convert_repeated_workflow_assignment_history_to_plumbing(porcelains)
10438
10511
  items = Array.new
10439
10512
  porcelains.each do |porcelain|
10440
- plumbing = convert_workflow_role_history_to_plumbing(porcelain)
10513
+ plumbing = convert_workflow_assignment_history_to_plumbing(porcelain)
10441
10514
  items.append(plumbing)
10442
10515
  end
10443
10516
  items
10444
10517
  end
10445
10518
 
10446
- def self.convert_repeated_workflow_role_history_to_porcelain(plumbings)
10519
+ def self.convert_repeated_workflow_assignment_history_to_porcelain(plumbings)
10447
10520
  items = Array.new
10448
10521
  plumbings.each do |plumbing|
10449
- porcelain = convert_workflow_role_history_to_porcelain(plumbing)
10522
+ porcelain = convert_workflow_assignment_history_to_porcelain(plumbing)
10523
+ items.append(porcelain)
10524
+ end
10525
+ items
10526
+ end
10527
+ def self.convert_workflow_assignments_list_request_to_porcelain(plumbing)
10528
+ if plumbing == nil
10529
+ return nil
10530
+ end
10531
+ porcelain = WorkflowAssignmentsListRequest.new()
10532
+ porcelain.filter = (plumbing.filter)
10533
+ porcelain.meta = convert_list_request_metadata_to_porcelain(plumbing.meta)
10534
+ porcelain
10535
+ end
10536
+
10537
+ def self.convert_workflow_assignments_list_request_to_plumbing(porcelain)
10538
+ if porcelain == nil
10539
+ return nil
10540
+ end
10541
+ plumbing = V1::WorkflowAssignmentsListRequest.new()
10542
+ plumbing.filter = (porcelain.filter)
10543
+ plumbing.meta = convert_list_request_metadata_to_plumbing(porcelain.meta)
10544
+ plumbing
10545
+ end
10546
+ def self.convert_repeated_workflow_assignments_list_request_to_plumbing(porcelains)
10547
+ items = Array.new
10548
+ porcelains.each do |porcelain|
10549
+ plumbing = convert_workflow_assignments_list_request_to_plumbing(porcelain)
10550
+ items.append(plumbing)
10551
+ end
10552
+ items
10553
+ end
10554
+
10555
+ def self.convert_repeated_workflow_assignments_list_request_to_porcelain(plumbings)
10556
+ items = Array.new
10557
+ plumbings.each do |plumbing|
10558
+ porcelain = convert_workflow_assignments_list_request_to_porcelain(plumbing)
10559
+ items.append(porcelain)
10560
+ end
10561
+ items
10562
+ end
10563
+ def self.convert_workflow_assignments_list_response_to_porcelain(plumbing)
10564
+ if plumbing == nil
10565
+ return nil
10566
+ end
10567
+ porcelain = WorkflowAssignmentsListResponse.new()
10568
+ porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
10569
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
10570
+ porcelain.workflow_assignments = convert_repeated_workflow_assignment_to_porcelain(plumbing.workflow_assignments)
10571
+ porcelain
10572
+ end
10573
+
10574
+ def self.convert_workflow_assignments_list_response_to_plumbing(porcelain)
10575
+ if porcelain == nil
10576
+ return nil
10577
+ end
10578
+ plumbing = V1::WorkflowAssignmentsListResponse.new()
10579
+ plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
10580
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
10581
+ plumbing.workflow_assignments += convert_repeated_workflow_assignment_to_plumbing(porcelain.workflow_assignments)
10582
+ plumbing
10583
+ end
10584
+ def self.convert_repeated_workflow_assignments_list_response_to_plumbing(porcelains)
10585
+ items = Array.new
10586
+ porcelains.each do |porcelain|
10587
+ plumbing = convert_workflow_assignments_list_response_to_plumbing(porcelain)
10588
+ items.append(plumbing)
10589
+ end
10590
+ items
10591
+ end
10592
+
10593
+ def self.convert_repeated_workflow_assignments_list_response_to_porcelain(plumbings)
10594
+ items = Array.new
10595
+ plumbings.each do |plumbing|
10596
+ porcelain = convert_workflow_assignments_list_response_to_porcelain(plumbing)
10597
+ items.append(porcelain)
10598
+ end
10599
+ items
10600
+ end
10601
+ def self.convert_workflow_create_response_to_porcelain(plumbing)
10602
+ if plumbing == nil
10603
+ return nil
10604
+ end
10605
+ porcelain = WorkflowCreateResponse.new()
10606
+ porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
10607
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
10608
+ porcelain.workflow = convert_workflow_to_porcelain(plumbing.workflow)
10609
+ porcelain
10610
+ end
10611
+
10612
+ def self.convert_workflow_create_response_to_plumbing(porcelain)
10613
+ if porcelain == nil
10614
+ return nil
10615
+ end
10616
+ plumbing = V1::WorkflowCreateResponse.new()
10617
+ plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
10618
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
10619
+ plumbing.workflow = convert_workflow_to_plumbing(porcelain.workflow)
10620
+ plumbing
10621
+ end
10622
+ def self.convert_repeated_workflow_create_response_to_plumbing(porcelains)
10623
+ items = Array.new
10624
+ porcelains.each do |porcelain|
10625
+ plumbing = convert_workflow_create_response_to_plumbing(porcelain)
10626
+ items.append(plumbing)
10627
+ end
10628
+ items
10629
+ end
10630
+
10631
+ def self.convert_repeated_workflow_create_response_to_porcelain(plumbings)
10632
+ items = Array.new
10633
+ plumbings.each do |plumbing|
10634
+ porcelain = convert_workflow_create_response_to_porcelain(plumbing)
10635
+ items.append(porcelain)
10636
+ end
10637
+ items
10638
+ end
10639
+ def self.convert_workflow_delete_response_to_porcelain(plumbing)
10640
+ if plumbing == nil
10641
+ return nil
10642
+ end
10643
+ porcelain = WorkflowDeleteResponse.new()
10644
+ porcelain.id = (plumbing.id)
10645
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
10646
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
10647
+ porcelain
10648
+ end
10649
+
10650
+ def self.convert_workflow_delete_response_to_plumbing(porcelain)
10651
+ if porcelain == nil
10652
+ return nil
10653
+ end
10654
+ plumbing = V1::WorkflowDeleteResponse.new()
10655
+ plumbing.id = (porcelain.id)
10656
+ plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
10657
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
10658
+ plumbing
10659
+ end
10660
+ def self.convert_repeated_workflow_delete_response_to_plumbing(porcelains)
10661
+ items = Array.new
10662
+ porcelains.each do |porcelain|
10663
+ plumbing = convert_workflow_delete_response_to_plumbing(porcelain)
10664
+ items.append(plumbing)
10665
+ end
10666
+ items
10667
+ end
10668
+
10669
+ def self.convert_repeated_workflow_delete_response_to_porcelain(plumbings)
10670
+ items = Array.new
10671
+ plumbings.each do |plumbing|
10672
+ porcelain = convert_workflow_delete_response_to_porcelain(plumbing)
10673
+ items.append(porcelain)
10674
+ end
10675
+ items
10676
+ end
10677
+ def self.convert_workflow_get_response_to_porcelain(plumbing)
10678
+ if plumbing == nil
10679
+ return nil
10680
+ end
10681
+ porcelain = WorkflowGetResponse.new()
10682
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
10683
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
10684
+ porcelain.workflow = convert_workflow_to_porcelain(plumbing.workflow)
10685
+ porcelain
10686
+ end
10687
+
10688
+ def self.convert_workflow_get_response_to_plumbing(porcelain)
10689
+ if porcelain == nil
10690
+ return nil
10691
+ end
10692
+ plumbing = V1::WorkflowGetResponse.new()
10693
+ plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
10694
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
10695
+ plumbing.workflow = convert_workflow_to_plumbing(porcelain.workflow)
10696
+ plumbing
10697
+ end
10698
+ def self.convert_repeated_workflow_get_response_to_plumbing(porcelains)
10699
+ items = Array.new
10700
+ porcelains.each do |porcelain|
10701
+ plumbing = convert_workflow_get_response_to_plumbing(porcelain)
10702
+ items.append(plumbing)
10703
+ end
10704
+ items
10705
+ end
10706
+
10707
+ def self.convert_repeated_workflow_get_response_to_porcelain(plumbings)
10708
+ items = Array.new
10709
+ plumbings.each do |plumbing|
10710
+ porcelain = convert_workflow_get_response_to_porcelain(plumbing)
10711
+ items.append(porcelain)
10712
+ end
10713
+ items
10714
+ end
10715
+ def self.convert_workflow_history_to_porcelain(plumbing)
10716
+ if plumbing == nil
10717
+ return nil
10718
+ end
10719
+ porcelain = WorkflowHistory.new()
10720
+ porcelain.activity_id = (plumbing.activity_id)
10721
+ porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
10722
+ porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
10723
+ porcelain.workflow = convert_workflow_to_porcelain(plumbing.workflow)
10724
+ porcelain
10725
+ end
10726
+
10727
+ def self.convert_workflow_history_to_plumbing(porcelain)
10728
+ if porcelain == nil
10729
+ return nil
10730
+ end
10731
+ plumbing = V1::WorkflowHistory.new()
10732
+ plumbing.activity_id = (porcelain.activity_id)
10733
+ plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
10734
+ plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
10735
+ plumbing.workflow = convert_workflow_to_plumbing(porcelain.workflow)
10736
+ plumbing
10737
+ end
10738
+ def self.convert_repeated_workflow_history_to_plumbing(porcelains)
10739
+ items = Array.new
10740
+ porcelains.each do |porcelain|
10741
+ plumbing = convert_workflow_history_to_plumbing(porcelain)
10742
+ items.append(plumbing)
10743
+ end
10744
+ items
10745
+ end
10746
+
10747
+ def self.convert_repeated_workflow_history_to_porcelain(plumbings)
10748
+ items = Array.new
10749
+ plumbings.each do |plumbing|
10750
+ porcelain = convert_workflow_history_to_porcelain(plumbing)
10751
+ items.append(porcelain)
10752
+ end
10753
+ items
10754
+ end
10755
+ def self.convert_workflow_list_response_to_porcelain(plumbing)
10756
+ if plumbing == nil
10757
+ return nil
10758
+ end
10759
+ porcelain = WorkflowListResponse.new()
10760
+ porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
10761
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
10762
+ porcelain.workflows = convert_repeated_workflow_to_porcelain(plumbing.workflows)
10763
+ porcelain
10764
+ end
10765
+
10766
+ def self.convert_workflow_list_response_to_plumbing(porcelain)
10767
+ if porcelain == nil
10768
+ return nil
10769
+ end
10770
+ plumbing = V1::WorkflowListResponse.new()
10771
+ plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
10772
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
10773
+ plumbing.workflows += convert_repeated_workflow_to_plumbing(porcelain.workflows)
10774
+ plumbing
10775
+ end
10776
+ def self.convert_repeated_workflow_list_response_to_plumbing(porcelains)
10777
+ items = Array.new
10778
+ porcelains.each do |porcelain|
10779
+ plumbing = convert_workflow_list_response_to_plumbing(porcelain)
10780
+ items.append(plumbing)
10781
+ end
10782
+ items
10783
+ end
10784
+
10785
+ def self.convert_repeated_workflow_list_response_to_porcelain(plumbings)
10786
+ items = Array.new
10787
+ plumbings.each do |plumbing|
10788
+ porcelain = convert_workflow_list_response_to_porcelain(plumbing)
10789
+ items.append(porcelain)
10790
+ end
10791
+ items
10792
+ end
10793
+ def self.convert_workflow_role_to_porcelain(plumbing)
10794
+ if plumbing == nil
10795
+ return nil
10796
+ end
10797
+ porcelain = WorkflowRole.new()
10798
+ porcelain.id = (plumbing.id)
10799
+ porcelain.role_id = (plumbing.role_id)
10800
+ porcelain.workflow_id = (plumbing.workflow_id)
10801
+ porcelain
10802
+ end
10803
+
10804
+ def self.convert_workflow_role_to_plumbing(porcelain)
10805
+ if porcelain == nil
10806
+ return nil
10807
+ end
10808
+ plumbing = V1::WorkflowRole.new()
10809
+ plumbing.id = (porcelain.id)
10810
+ plumbing.role_id = (porcelain.role_id)
10811
+ plumbing.workflow_id = (porcelain.workflow_id)
10812
+ plumbing
10813
+ end
10814
+ def self.convert_repeated_workflow_role_to_plumbing(porcelains)
10815
+ items = Array.new
10816
+ porcelains.each do |porcelain|
10817
+ plumbing = convert_workflow_role_to_plumbing(porcelain)
10818
+ items.append(plumbing)
10819
+ end
10820
+ items
10821
+ end
10822
+
10823
+ def self.convert_repeated_workflow_role_to_porcelain(plumbings)
10824
+ items = Array.new
10825
+ plumbings.each do |plumbing|
10826
+ porcelain = convert_workflow_role_to_porcelain(plumbing)
10827
+ items.append(porcelain)
10828
+ end
10829
+ items
10830
+ end
10831
+ def self.convert_workflow_role_get_response_to_porcelain(plumbing)
10832
+ if plumbing == nil
10833
+ return nil
10834
+ end
10835
+ porcelain = WorkflowRoleGetResponse.new()
10836
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
10837
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
10838
+ porcelain.workflow_role = convert_workflow_role_to_porcelain(plumbing.workflow_role)
10839
+ porcelain
10840
+ end
10841
+
10842
+ def self.convert_workflow_role_get_response_to_plumbing(porcelain)
10843
+ if porcelain == nil
10844
+ return nil
10845
+ end
10846
+ plumbing = V1::WorkflowRoleGetResponse.new()
10847
+ plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
10848
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
10849
+ plumbing.workflow_role = convert_workflow_role_to_plumbing(porcelain.workflow_role)
10850
+ plumbing
10851
+ end
10852
+ def self.convert_repeated_workflow_role_get_response_to_plumbing(porcelains)
10853
+ items = Array.new
10854
+ porcelains.each do |porcelain|
10855
+ plumbing = convert_workflow_role_get_response_to_plumbing(porcelain)
10856
+ items.append(plumbing)
10857
+ end
10858
+ items
10859
+ end
10860
+
10861
+ def self.convert_repeated_workflow_role_get_response_to_porcelain(plumbings)
10862
+ items = Array.new
10863
+ plumbings.each do |plumbing|
10864
+ porcelain = convert_workflow_role_get_response_to_porcelain(plumbing)
10865
+ items.append(porcelain)
10866
+ end
10867
+ items
10868
+ end
10869
+ def self.convert_workflow_role_history_to_porcelain(plumbing)
10870
+ if plumbing == nil
10871
+ return nil
10872
+ end
10873
+ porcelain = WorkflowRoleHistory.new()
10874
+ porcelain.activity_id = (plumbing.activity_id)
10875
+ porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
10876
+ porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
10877
+ porcelain.workflow_role = convert_workflow_role_to_porcelain(plumbing.workflow_role)
10878
+ porcelain
10879
+ end
10880
+
10881
+ def self.convert_workflow_role_history_to_plumbing(porcelain)
10882
+ if porcelain == nil
10883
+ return nil
10884
+ end
10885
+ plumbing = V1::WorkflowRoleHistory.new()
10886
+ plumbing.activity_id = (porcelain.activity_id)
10887
+ plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
10888
+ plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
10889
+ plumbing.workflow_role = convert_workflow_role_to_plumbing(porcelain.workflow_role)
10890
+ plumbing
10891
+ end
10892
+ def self.convert_repeated_workflow_role_history_to_plumbing(porcelains)
10893
+ items = Array.new
10894
+ porcelains.each do |porcelain|
10895
+ plumbing = convert_workflow_role_history_to_plumbing(porcelain)
10896
+ items.append(plumbing)
10897
+ end
10898
+ items
10899
+ end
10900
+
10901
+ def self.convert_repeated_workflow_role_history_to_porcelain(plumbings)
10902
+ items = Array.new
10903
+ plumbings.each do |plumbing|
10904
+ porcelain = convert_workflow_role_history_to_porcelain(plumbing)
10905
+ items.append(porcelain)
10906
+ end
10907
+ items
10908
+ end
10909
+ def self.convert_workflow_roles_create_request_to_porcelain(plumbing)
10910
+ if plumbing == nil
10911
+ return nil
10912
+ end
10913
+ porcelain = WorkflowRolesCreateRequest.new()
10914
+ porcelain.meta = convert_create_request_metadata_to_porcelain(plumbing.meta)
10915
+ porcelain.workflow_role = convert_workflow_role_to_porcelain(plumbing.workflow_role)
10916
+ porcelain
10917
+ end
10918
+
10919
+ def self.convert_workflow_roles_create_request_to_plumbing(porcelain)
10920
+ if porcelain == nil
10921
+ return nil
10922
+ end
10923
+ plumbing = V1::WorkflowRolesCreateRequest.new()
10924
+ plumbing.meta = convert_create_request_metadata_to_plumbing(porcelain.meta)
10925
+ plumbing.workflow_role = convert_workflow_role_to_plumbing(porcelain.workflow_role)
10926
+ plumbing
10927
+ end
10928
+ def self.convert_repeated_workflow_roles_create_request_to_plumbing(porcelains)
10929
+ items = Array.new
10930
+ porcelains.each do |porcelain|
10931
+ plumbing = convert_workflow_roles_create_request_to_plumbing(porcelain)
10932
+ items.append(plumbing)
10933
+ end
10934
+ items
10935
+ end
10936
+
10937
+ def self.convert_repeated_workflow_roles_create_request_to_porcelain(plumbings)
10938
+ items = Array.new
10939
+ plumbings.each do |plumbing|
10940
+ porcelain = convert_workflow_roles_create_request_to_porcelain(plumbing)
10941
+ items.append(porcelain)
10942
+ end
10943
+ items
10944
+ end
10945
+ def self.convert_workflow_roles_create_response_to_porcelain(plumbing)
10946
+ if plumbing == nil
10947
+ return nil
10948
+ end
10949
+ porcelain = WorkflowRolesCreateResponse.new()
10950
+ porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
10951
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
10952
+ porcelain.workflow_role = convert_workflow_role_to_porcelain(plumbing.workflow_role)
10953
+ porcelain
10954
+ end
10955
+
10956
+ def self.convert_workflow_roles_create_response_to_plumbing(porcelain)
10957
+ if porcelain == nil
10958
+ return nil
10959
+ end
10960
+ plumbing = V1::WorkflowRolesCreateResponse.new()
10961
+ plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
10962
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
10963
+ plumbing.workflow_role = convert_workflow_role_to_plumbing(porcelain.workflow_role)
10964
+ plumbing
10965
+ end
10966
+ def self.convert_repeated_workflow_roles_create_response_to_plumbing(porcelains)
10967
+ items = Array.new
10968
+ porcelains.each do |porcelain|
10969
+ plumbing = convert_workflow_roles_create_response_to_plumbing(porcelain)
10970
+ items.append(plumbing)
10971
+ end
10972
+ items
10973
+ end
10974
+
10975
+ def self.convert_repeated_workflow_roles_create_response_to_porcelain(plumbings)
10976
+ items = Array.new
10977
+ plumbings.each do |plumbing|
10978
+ porcelain = convert_workflow_roles_create_response_to_porcelain(plumbing)
10979
+ items.append(porcelain)
10980
+ end
10981
+ items
10982
+ end
10983
+ def self.convert_workflow_roles_delete_request_to_porcelain(plumbing)
10984
+ if plumbing == nil
10985
+ return nil
10986
+ end
10987
+ porcelain = WorkflowRolesDeleteRequest.new()
10988
+ porcelain.id = (plumbing.id)
10989
+ porcelain.meta = convert_delete_request_metadata_to_porcelain(plumbing.meta)
10990
+ porcelain
10991
+ end
10992
+
10993
+ def self.convert_workflow_roles_delete_request_to_plumbing(porcelain)
10994
+ if porcelain == nil
10995
+ return nil
10996
+ end
10997
+ plumbing = V1::WorkflowRolesDeleteRequest.new()
10998
+ plumbing.id = (porcelain.id)
10999
+ plumbing.meta = convert_delete_request_metadata_to_plumbing(porcelain.meta)
11000
+ plumbing
11001
+ end
11002
+ def self.convert_repeated_workflow_roles_delete_request_to_plumbing(porcelains)
11003
+ items = Array.new
11004
+ porcelains.each do |porcelain|
11005
+ plumbing = convert_workflow_roles_delete_request_to_plumbing(porcelain)
11006
+ items.append(plumbing)
11007
+ end
11008
+ items
11009
+ end
11010
+
11011
+ def self.convert_repeated_workflow_roles_delete_request_to_porcelain(plumbings)
11012
+ items = Array.new
11013
+ plumbings.each do |plumbing|
11014
+ porcelain = convert_workflow_roles_delete_request_to_porcelain(plumbing)
11015
+ items.append(porcelain)
11016
+ end
11017
+ items
11018
+ end
11019
+ def self.convert_workflow_roles_delete_response_to_porcelain(plumbing)
11020
+ if plumbing == nil
11021
+ return nil
11022
+ end
11023
+ porcelain = WorkflowRolesDeleteResponse.new()
11024
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
11025
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
11026
+ porcelain
11027
+ end
11028
+
11029
+ def self.convert_workflow_roles_delete_response_to_plumbing(porcelain)
11030
+ if porcelain == nil
11031
+ return nil
11032
+ end
11033
+ plumbing = V1::WorkflowRolesDeleteResponse.new()
11034
+ plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
11035
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
11036
+ plumbing
11037
+ end
11038
+ def self.convert_repeated_workflow_roles_delete_response_to_plumbing(porcelains)
11039
+ items = Array.new
11040
+ porcelains.each do |porcelain|
11041
+ plumbing = convert_workflow_roles_delete_response_to_plumbing(porcelain)
11042
+ items.append(plumbing)
11043
+ end
11044
+ items
11045
+ end
11046
+
11047
+ def self.convert_repeated_workflow_roles_delete_response_to_porcelain(plumbings)
11048
+ items = Array.new
11049
+ plumbings.each do |plumbing|
11050
+ porcelain = convert_workflow_roles_delete_response_to_porcelain(plumbing)
11051
+ items.append(porcelain)
11052
+ end
11053
+ items
11054
+ end
11055
+ def self.convert_workflow_roles_list_request_to_porcelain(plumbing)
11056
+ if plumbing == nil
11057
+ return nil
11058
+ end
11059
+ porcelain = WorkflowRolesListRequest.new()
11060
+ porcelain.filter = (plumbing.filter)
11061
+ porcelain.meta = convert_list_request_metadata_to_porcelain(plumbing.meta)
11062
+ porcelain
11063
+ end
11064
+
11065
+ def self.convert_workflow_roles_list_request_to_plumbing(porcelain)
11066
+ if porcelain == nil
11067
+ return nil
11068
+ end
11069
+ plumbing = V1::WorkflowRolesListRequest.new()
11070
+ plumbing.filter = (porcelain.filter)
11071
+ plumbing.meta = convert_list_request_metadata_to_plumbing(porcelain.meta)
11072
+ plumbing
11073
+ end
11074
+ def self.convert_repeated_workflow_roles_list_request_to_plumbing(porcelains)
11075
+ items = Array.new
11076
+ porcelains.each do |porcelain|
11077
+ plumbing = convert_workflow_roles_list_request_to_plumbing(porcelain)
11078
+ items.append(plumbing)
11079
+ end
11080
+ items
11081
+ end
11082
+
11083
+ def self.convert_repeated_workflow_roles_list_request_to_porcelain(plumbings)
11084
+ items = Array.new
11085
+ plumbings.each do |plumbing|
11086
+ porcelain = convert_workflow_roles_list_request_to_porcelain(plumbing)
11087
+ items.append(porcelain)
11088
+ end
11089
+ items
11090
+ end
11091
+ def self.convert_workflow_roles_list_response_to_porcelain(plumbing)
11092
+ if plumbing == nil
11093
+ return nil
11094
+ end
11095
+ porcelain = WorkflowRolesListResponse.new()
11096
+ porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
11097
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
11098
+ porcelain.workflow_role = convert_repeated_workflow_role_to_porcelain(plumbing.workflow_role)
11099
+ porcelain
11100
+ end
11101
+
11102
+ def self.convert_workflow_roles_list_response_to_plumbing(porcelain)
11103
+ if porcelain == nil
11104
+ return nil
11105
+ end
11106
+ plumbing = V1::WorkflowRolesListResponse.new()
11107
+ plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
11108
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
11109
+ plumbing.workflow_role += convert_repeated_workflow_role_to_plumbing(porcelain.workflow_role)
11110
+ plumbing
11111
+ end
11112
+ def self.convert_repeated_workflow_roles_list_response_to_plumbing(porcelains)
11113
+ items = Array.new
11114
+ porcelains.each do |porcelain|
11115
+ plumbing = convert_workflow_roles_list_response_to_plumbing(porcelain)
11116
+ items.append(plumbing)
11117
+ end
11118
+ items
11119
+ end
11120
+
11121
+ def self.convert_repeated_workflow_roles_list_response_to_porcelain(plumbings)
11122
+ items = Array.new
11123
+ plumbings.each do |plumbing|
11124
+ porcelain = convert_workflow_roles_list_response_to_porcelain(plumbing)
11125
+ items.append(porcelain)
11126
+ end
11127
+ items
11128
+ end
11129
+ def self.convert_workflow_update_response_to_porcelain(plumbing)
11130
+ if plumbing == nil
11131
+ return nil
11132
+ end
11133
+ porcelain = WorkflowUpdateResponse.new()
11134
+ porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
11135
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
11136
+ porcelain.workflow = convert_workflow_to_porcelain(plumbing.workflow)
11137
+ porcelain
11138
+ end
11139
+
11140
+ def self.convert_workflow_update_response_to_plumbing(porcelain)
11141
+ if porcelain == nil
11142
+ return nil
11143
+ end
11144
+ plumbing = V1::WorkflowUpdateResponse.new()
11145
+ plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta)
11146
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
11147
+ plumbing.workflow = convert_workflow_to_plumbing(porcelain.workflow)
11148
+ plumbing
11149
+ end
11150
+ def self.convert_repeated_workflow_update_response_to_plumbing(porcelains)
11151
+ items = Array.new
11152
+ porcelains.each do |porcelain|
11153
+ plumbing = convert_workflow_update_response_to_plumbing(porcelain)
11154
+ items.append(plumbing)
11155
+ end
11156
+ items
11157
+ end
11158
+
11159
+ def self.convert_repeated_workflow_update_response_to_porcelain(plumbings)
11160
+ items = Array.new
11161
+ plumbings.each do |plumbing|
11162
+ porcelain = convert_workflow_update_response_to_porcelain(plumbing)
10450
11163
  items.append(porcelain)
10451
11164
  end
10452
11165
  items