strongdm 8.4.0 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/grpc/plumbing.rb CHANGED
@@ -42,6 +42,10 @@ require_relative "./approval_workflows_pb"
42
42
  require_relative "./approval_workflows_history_pb"
43
43
  require_relative "./control_panel_pb"
44
44
  require_relative "./drivers_pb"
45
+ require_relative "./identity_aliases_pb"
46
+ require_relative "./identity_aliases_history_pb"
47
+ require_relative "./identity_sets_pb"
48
+ require_relative "./identity_sets_history_pb"
45
49
  require_relative "./nodes_pb"
46
50
  require_relative "./nodes_history_pb"
47
51
  require_relative "./organization_history_pb"
@@ -179,11 +183,11 @@ module SDM
179
183
  porcelain.healthy = (plumbing.healthy)
180
184
  porcelain.hostname = (plumbing.hostname)
181
185
  porcelain.id = (plumbing.id)
186
+ porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
187
+ porcelain.identity_set_id = (plumbing.identity_set_id)
182
188
  porcelain.name = (plumbing.name)
183
189
  porcelain.port = (plumbing.port)
184
190
  porcelain.port_override = (plumbing.port_override)
185
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
186
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
187
191
  porcelain.secret_store_id = (plumbing.secret_store_id)
188
192
  porcelain.subdomain = (plumbing.subdomain)
189
193
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
@@ -204,11 +208,11 @@ module SDM
204
208
  plumbing.healthy = (porcelain.healthy)
205
209
  plumbing.hostname = (porcelain.hostname)
206
210
  plumbing.id = (porcelain.id)
211
+ plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
212
+ plumbing.identity_set_id = (porcelain.identity_set_id)
207
213
  plumbing.name = (porcelain.name)
208
214
  plumbing.port = (porcelain.port)
209
215
  plumbing.port_override = (porcelain.port_override)
210
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
211
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
212
216
  plumbing.secret_store_id = (porcelain.secret_store_id)
213
217
  plumbing.subdomain = (porcelain.subdomain)
214
218
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
@@ -302,11 +306,11 @@ module SDM
302
306
  porcelain.healthy = (plumbing.healthy)
303
307
  porcelain.hostname = (plumbing.hostname)
304
308
  porcelain.id = (plumbing.id)
309
+ porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
310
+ porcelain.identity_set_id = (plumbing.identity_set_id)
305
311
  porcelain.name = (plumbing.name)
306
312
  porcelain.port = (plumbing.port)
307
313
  porcelain.port_override = (plumbing.port_override)
308
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
309
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
310
314
  porcelain.secret_store_id = (plumbing.secret_store_id)
311
315
  porcelain.subdomain = (plumbing.subdomain)
312
316
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
@@ -325,11 +329,11 @@ module SDM
325
329
  plumbing.healthy = (porcelain.healthy)
326
330
  plumbing.hostname = (porcelain.hostname)
327
331
  plumbing.id = (porcelain.id)
332
+ plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
333
+ plumbing.identity_set_id = (porcelain.identity_set_id)
328
334
  plumbing.name = (porcelain.name)
329
335
  plumbing.port = (porcelain.port)
330
336
  plumbing.port_override = (porcelain.port_override)
331
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
332
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
333
337
  plumbing.secret_store_id = (porcelain.secret_store_id)
334
338
  plumbing.subdomain = (porcelain.subdomain)
335
339
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
@@ -591,11 +595,11 @@ module SDM
591
595
  porcelain.enable_env_variables = (plumbing.enable_env_variables)
592
596
  porcelain.healthy = (plumbing.healthy)
593
597
  porcelain.id = (plumbing.id)
598
+ porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
599
+ porcelain.identity_set_id = (plumbing.identity_set_id)
594
600
  porcelain.name = (plumbing.name)
595
601
  porcelain.port_override = (plumbing.port_override)
596
602
  porcelain.region = (plumbing.region)
597
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
598
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
599
603
  porcelain.role_arn = (plumbing.role_arn)
600
604
  porcelain.role_external_id = (plumbing.role_external_id)
601
605
  porcelain.secret_store_id = (plumbing.secret_store_id)
@@ -615,11 +619,11 @@ module SDM
615
619
  plumbing.enable_env_variables = (porcelain.enable_env_variables)
616
620
  plumbing.healthy = (porcelain.healthy)
617
621
  plumbing.id = (porcelain.id)
622
+ plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
623
+ plumbing.identity_set_id = (porcelain.identity_set_id)
618
624
  plumbing.name = (porcelain.name)
619
625
  plumbing.port_override = (porcelain.port_override)
620
626
  plumbing.region = (porcelain.region)
621
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
622
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
623
627
  plumbing.role_arn = (porcelain.role_arn)
624
628
  plumbing.role_external_id = (porcelain.role_external_id)
625
629
  plumbing.secret_store_id = (porcelain.secret_store_id)
@@ -655,11 +659,11 @@ module SDM
655
659
  porcelain.egress_filter = (plumbing.egress_filter)
656
660
  porcelain.healthy = (plumbing.healthy)
657
661
  porcelain.id = (plumbing.id)
662
+ porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
663
+ porcelain.identity_set_id = (plumbing.identity_set_id)
658
664
  porcelain.name = (plumbing.name)
659
665
  porcelain.port_override = (plumbing.port_override)
660
666
  porcelain.region = (plumbing.region)
661
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
662
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
663
667
  porcelain.role_arn = (plumbing.role_arn)
664
668
  porcelain.role_external_id = (plumbing.role_external_id)
665
669
  porcelain.secret_access_key = (plumbing.secret_access_key)
@@ -680,11 +684,11 @@ module SDM
680
684
  plumbing.egress_filter = (porcelain.egress_filter)
681
685
  plumbing.healthy = (porcelain.healthy)
682
686
  plumbing.id = (porcelain.id)
687
+ plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
688
+ plumbing.identity_set_id = (porcelain.identity_set_id)
683
689
  plumbing.name = (porcelain.name)
684
690
  plumbing.port_override = (porcelain.port_override)
685
691
  plumbing.region = (porcelain.region)
686
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
687
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
688
692
  plumbing.role_arn = (porcelain.role_arn)
689
693
  plumbing.role_external_id = (porcelain.role_external_id)
690
694
  plumbing.secret_access_key = (porcelain.secret_access_key)
@@ -2014,11 +2018,11 @@ module SDM
2014
2018
  porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
2015
2019
  porcelain.healthy = (plumbing.healthy)
2016
2020
  porcelain.id = (plumbing.id)
2021
+ porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
2022
+ porcelain.identity_set_id = (plumbing.identity_set_id)
2017
2023
  porcelain.name = (plumbing.name)
2018
2024
  porcelain.port_override = (plumbing.port_override)
2019
2025
  porcelain.region = (plumbing.region)
2020
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
2021
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
2022
2026
  porcelain.role_arn = (plumbing.role_arn)
2023
2027
  porcelain.role_external_id = (plumbing.role_external_id)
2024
2028
  porcelain.secret_access_key = (plumbing.secret_access_key)
@@ -2042,11 +2046,11 @@ module SDM
2042
2046
  plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
2043
2047
  plumbing.healthy = (porcelain.healthy)
2044
2048
  plumbing.id = (porcelain.id)
2049
+ plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
2050
+ plumbing.identity_set_id = (porcelain.identity_set_id)
2045
2051
  plumbing.name = (porcelain.name)
2046
2052
  plumbing.port_override = (porcelain.port_override)
2047
2053
  plumbing.region = (porcelain.region)
2048
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
2049
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
2050
2054
  plumbing.role_arn = (porcelain.role_arn)
2051
2055
  plumbing.role_external_id = (porcelain.role_external_id)
2052
2056
  plumbing.secret_access_key = (porcelain.secret_access_key)
@@ -2085,11 +2089,11 @@ module SDM
2085
2089
  porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
2086
2090
  porcelain.healthy = (plumbing.healthy)
2087
2091
  porcelain.id = (plumbing.id)
2092
+ porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
2093
+ porcelain.identity_set_id = (plumbing.identity_set_id)
2088
2094
  porcelain.name = (plumbing.name)
2089
2095
  porcelain.port_override = (plumbing.port_override)
2090
2096
  porcelain.region = (plumbing.region)
2091
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
2092
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
2093
2097
  porcelain.role_arn = (plumbing.role_arn)
2094
2098
  porcelain.role_external_id = (plumbing.role_external_id)
2095
2099
  porcelain.secret_store_id = (plumbing.secret_store_id)
@@ -2111,11 +2115,11 @@ module SDM
2111
2115
  plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
2112
2116
  plumbing.healthy = (porcelain.healthy)
2113
2117
  plumbing.id = (porcelain.id)
2118
+ plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
2119
+ plumbing.identity_set_id = (porcelain.identity_set_id)
2114
2120
  plumbing.name = (porcelain.name)
2115
2121
  plumbing.port_override = (porcelain.port_override)
2116
2122
  plumbing.region = (porcelain.region)
2117
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
2118
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
2119
2123
  plumbing.role_arn = (porcelain.role_arn)
2120
2124
  plumbing.role_external_id = (porcelain.role_external_id)
2121
2125
  plumbing.secret_store_id = (porcelain.secret_store_id)
@@ -2156,8 +2160,6 @@ module SDM
2156
2160
  porcelain.name = (plumbing.name)
2157
2161
  porcelain.port_override = (plumbing.port_override)
2158
2162
  porcelain.region = (plumbing.region)
2159
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
2160
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
2161
2163
  porcelain.role_arn = (plumbing.role_arn)
2162
2164
  porcelain.role_external_id = (plumbing.role_external_id)
2163
2165
  porcelain.secret_store_id = (plumbing.secret_store_id)
@@ -2182,8 +2184,6 @@ module SDM
2182
2184
  plumbing.name = (porcelain.name)
2183
2185
  plumbing.port_override = (porcelain.port_override)
2184
2186
  plumbing.region = (porcelain.region)
2185
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
2186
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
2187
2187
  plumbing.role_arn = (porcelain.role_arn)
2188
2188
  plumbing.role_external_id = (porcelain.role_external_id)
2189
2189
  plumbing.secret_store_id = (porcelain.secret_store_id)
@@ -5066,10 +5066,10 @@ module SDM
5066
5066
  porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
5067
5067
  porcelain.healthy = (plumbing.healthy)
5068
5068
  porcelain.id = (plumbing.id)
5069
+ porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
5070
+ porcelain.identity_set_id = (plumbing.identity_set_id)
5069
5071
  porcelain.name = (plumbing.name)
5070
5072
  porcelain.port_override = (plumbing.port_override)
5071
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
5072
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
5073
5073
  porcelain.secret_store_id = (plumbing.secret_store_id)
5074
5074
  porcelain.service_account_key = (plumbing.service_account_key)
5075
5075
  porcelain.subdomain = (plumbing.subdomain)
@@ -5089,10 +5089,10 @@ module SDM
5089
5089
  plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
5090
5090
  plumbing.healthy = (porcelain.healthy)
5091
5091
  plumbing.id = (porcelain.id)
5092
+ plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
5093
+ plumbing.identity_set_id = (porcelain.identity_set_id)
5092
5094
  plumbing.name = (porcelain.name)
5093
5095
  plumbing.port_override = (porcelain.port_override)
5094
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
5095
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
5096
5096
  plumbing.secret_store_id = (porcelain.secret_store_id)
5097
5097
  plumbing.service_account_key = (porcelain.service_account_key)
5098
5098
  plumbing.subdomain = (porcelain.subdomain)
@@ -5416,6 +5416,350 @@ module SDM
5416
5416
  end
5417
5417
  items
5418
5418
  end
5419
+ def self.convert_identity_alias_to_porcelain(plumbing)
5420
+ if plumbing == nil
5421
+ return nil
5422
+ end
5423
+ porcelain = IdentityAlias.new()
5424
+ porcelain.account_id = (plumbing.account_id)
5425
+ porcelain.id = (plumbing.id)
5426
+ porcelain.identity_set_id = (plumbing.identity_set_id)
5427
+ porcelain.username = (plumbing.username)
5428
+ porcelain
5429
+ end
5430
+
5431
+ def self.convert_identity_alias_to_plumbing(porcelain)
5432
+ if porcelain == nil
5433
+ return nil
5434
+ end
5435
+ plumbing = V1::IdentityAlias.new()
5436
+ plumbing.account_id = (porcelain.account_id)
5437
+ plumbing.id = (porcelain.id)
5438
+ plumbing.identity_set_id = (porcelain.identity_set_id)
5439
+ plumbing.username = (porcelain.username)
5440
+ plumbing
5441
+ end
5442
+ def self.convert_repeated_identity_alias_to_plumbing(porcelains)
5443
+ items = Array.new
5444
+ porcelains.each do |porcelain|
5445
+ plumbing = convert_identity_alias_to_plumbing(porcelain)
5446
+ items.append(plumbing)
5447
+ end
5448
+ items
5449
+ end
5450
+
5451
+ def self.convert_repeated_identity_alias_to_porcelain(plumbings)
5452
+ items = Array.new
5453
+ plumbings.each do |plumbing|
5454
+ porcelain = convert_identity_alias_to_porcelain(plumbing)
5455
+ items.append(porcelain)
5456
+ end
5457
+ items
5458
+ end
5459
+ def self.convert_identity_alias_create_response_to_porcelain(plumbing)
5460
+ if plumbing == nil
5461
+ return nil
5462
+ end
5463
+ porcelain = IdentityAliasCreateResponse.new()
5464
+ porcelain.identity_alias = convert_identity_alias_to_porcelain(plumbing.identity_alias)
5465
+ porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
5466
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
5467
+ porcelain
5468
+ end
5469
+
5470
+ def self.convert_identity_alias_create_response_to_plumbing(porcelain)
5471
+ if porcelain == nil
5472
+ return nil
5473
+ end
5474
+ plumbing = V1::IdentityAliasCreateResponse.new()
5475
+ plumbing.identity_alias = convert_identity_alias_to_plumbing(porcelain.identity_alias)
5476
+ plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
5477
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
5478
+ plumbing
5479
+ end
5480
+ def self.convert_repeated_identity_alias_create_response_to_plumbing(porcelains)
5481
+ items = Array.new
5482
+ porcelains.each do |porcelain|
5483
+ plumbing = convert_identity_alias_create_response_to_plumbing(porcelain)
5484
+ items.append(plumbing)
5485
+ end
5486
+ items
5487
+ end
5488
+
5489
+ def self.convert_repeated_identity_alias_create_response_to_porcelain(plumbings)
5490
+ items = Array.new
5491
+ plumbings.each do |plumbing|
5492
+ porcelain = convert_identity_alias_create_response_to_porcelain(plumbing)
5493
+ items.append(porcelain)
5494
+ end
5495
+ items
5496
+ end
5497
+ def self.convert_identity_alias_delete_response_to_porcelain(plumbing)
5498
+ if plumbing == nil
5499
+ return nil
5500
+ end
5501
+ porcelain = IdentityAliasDeleteResponse.new()
5502
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
5503
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
5504
+ porcelain
5505
+ end
5506
+
5507
+ def self.convert_identity_alias_delete_response_to_plumbing(porcelain)
5508
+ if porcelain == nil
5509
+ return nil
5510
+ end
5511
+ plumbing = V1::IdentityAliasDeleteResponse.new()
5512
+ plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
5513
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
5514
+ plumbing
5515
+ end
5516
+ def self.convert_repeated_identity_alias_delete_response_to_plumbing(porcelains)
5517
+ items = Array.new
5518
+ porcelains.each do |porcelain|
5519
+ plumbing = convert_identity_alias_delete_response_to_plumbing(porcelain)
5520
+ items.append(plumbing)
5521
+ end
5522
+ items
5523
+ end
5524
+
5525
+ def self.convert_repeated_identity_alias_delete_response_to_porcelain(plumbings)
5526
+ items = Array.new
5527
+ plumbings.each do |plumbing|
5528
+ porcelain = convert_identity_alias_delete_response_to_porcelain(plumbing)
5529
+ items.append(porcelain)
5530
+ end
5531
+ items
5532
+ end
5533
+ def self.convert_identity_alias_get_response_to_porcelain(plumbing)
5534
+ if plumbing == nil
5535
+ return nil
5536
+ end
5537
+ porcelain = IdentityAliasGetResponse.new()
5538
+ porcelain.identity_alias = convert_identity_alias_to_porcelain(plumbing.identity_alias)
5539
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
5540
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
5541
+ porcelain
5542
+ end
5543
+
5544
+ def self.convert_identity_alias_get_response_to_plumbing(porcelain)
5545
+ if porcelain == nil
5546
+ return nil
5547
+ end
5548
+ plumbing = V1::IdentityAliasGetResponse.new()
5549
+ plumbing.identity_alias = convert_identity_alias_to_plumbing(porcelain.identity_alias)
5550
+ plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
5551
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
5552
+ plumbing
5553
+ end
5554
+ def self.convert_repeated_identity_alias_get_response_to_plumbing(porcelains)
5555
+ items = Array.new
5556
+ porcelains.each do |porcelain|
5557
+ plumbing = convert_identity_alias_get_response_to_plumbing(porcelain)
5558
+ items.append(plumbing)
5559
+ end
5560
+ items
5561
+ end
5562
+
5563
+ def self.convert_repeated_identity_alias_get_response_to_porcelain(plumbings)
5564
+ items = Array.new
5565
+ plumbings.each do |plumbing|
5566
+ porcelain = convert_identity_alias_get_response_to_porcelain(plumbing)
5567
+ items.append(porcelain)
5568
+ end
5569
+ items
5570
+ end
5571
+ def self.convert_identity_alias_history_to_porcelain(plumbing)
5572
+ if plumbing == nil
5573
+ return nil
5574
+ end
5575
+ porcelain = IdentityAliasHistory.new()
5576
+ porcelain.activity_id = (plumbing.activity_id)
5577
+ porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
5578
+ porcelain.identity_alias = convert_identity_alias_to_porcelain(plumbing.identity_alias)
5579
+ porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
5580
+ porcelain
5581
+ end
5582
+
5583
+ def self.convert_identity_alias_history_to_plumbing(porcelain)
5584
+ if porcelain == nil
5585
+ return nil
5586
+ end
5587
+ plumbing = V1::IdentityAliasHistory.new()
5588
+ plumbing.activity_id = (porcelain.activity_id)
5589
+ plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
5590
+ plumbing.identity_alias = convert_identity_alias_to_plumbing(porcelain.identity_alias)
5591
+ plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
5592
+ plumbing
5593
+ end
5594
+ def self.convert_repeated_identity_alias_history_to_plumbing(porcelains)
5595
+ items = Array.new
5596
+ porcelains.each do |porcelain|
5597
+ plumbing = convert_identity_alias_history_to_plumbing(porcelain)
5598
+ items.append(plumbing)
5599
+ end
5600
+ items
5601
+ end
5602
+
5603
+ def self.convert_repeated_identity_alias_history_to_porcelain(plumbings)
5604
+ items = Array.new
5605
+ plumbings.each do |plumbing|
5606
+ porcelain = convert_identity_alias_history_to_porcelain(plumbing)
5607
+ items.append(porcelain)
5608
+ end
5609
+ items
5610
+ end
5611
+ def self.convert_identity_alias_update_response_to_porcelain(plumbing)
5612
+ if plumbing == nil
5613
+ return nil
5614
+ end
5615
+ porcelain = IdentityAliasUpdateResponse.new()
5616
+ porcelain.identity_alias = convert_identity_alias_to_porcelain(plumbing.identity_alias)
5617
+ porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
5618
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
5619
+ porcelain
5620
+ end
5621
+
5622
+ def self.convert_identity_alias_update_response_to_plumbing(porcelain)
5623
+ if porcelain == nil
5624
+ return nil
5625
+ end
5626
+ plumbing = V1::IdentityAliasUpdateResponse.new()
5627
+ plumbing.identity_alias = convert_identity_alias_to_plumbing(porcelain.identity_alias)
5628
+ plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta)
5629
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
5630
+ plumbing
5631
+ end
5632
+ def self.convert_repeated_identity_alias_update_response_to_plumbing(porcelains)
5633
+ items = Array.new
5634
+ porcelains.each do |porcelain|
5635
+ plumbing = convert_identity_alias_update_response_to_plumbing(porcelain)
5636
+ items.append(plumbing)
5637
+ end
5638
+ items
5639
+ end
5640
+
5641
+ def self.convert_repeated_identity_alias_update_response_to_porcelain(plumbings)
5642
+ items = Array.new
5643
+ plumbings.each do |plumbing|
5644
+ porcelain = convert_identity_alias_update_response_to_porcelain(plumbing)
5645
+ items.append(porcelain)
5646
+ end
5647
+ items
5648
+ end
5649
+ def self.convert_identity_set_to_porcelain(plumbing)
5650
+ if plumbing == nil
5651
+ return nil
5652
+ end
5653
+ porcelain = IdentitySet.new()
5654
+ porcelain.id = (plumbing.id)
5655
+ porcelain.name = (plumbing.name)
5656
+ porcelain
5657
+ end
5658
+
5659
+ def self.convert_identity_set_to_plumbing(porcelain)
5660
+ if porcelain == nil
5661
+ return nil
5662
+ end
5663
+ plumbing = V1::IdentitySet.new()
5664
+ plumbing.id = (porcelain.id)
5665
+ plumbing.name = (porcelain.name)
5666
+ plumbing
5667
+ end
5668
+ def self.convert_repeated_identity_set_to_plumbing(porcelains)
5669
+ items = Array.new
5670
+ porcelains.each do |porcelain|
5671
+ plumbing = convert_identity_set_to_plumbing(porcelain)
5672
+ items.append(plumbing)
5673
+ end
5674
+ items
5675
+ end
5676
+
5677
+ def self.convert_repeated_identity_set_to_porcelain(plumbings)
5678
+ items = Array.new
5679
+ plumbings.each do |plumbing|
5680
+ porcelain = convert_identity_set_to_porcelain(plumbing)
5681
+ items.append(porcelain)
5682
+ end
5683
+ items
5684
+ end
5685
+ def self.convert_identity_set_get_response_to_porcelain(plumbing)
5686
+ if plumbing == nil
5687
+ return nil
5688
+ end
5689
+ porcelain = IdentitySetGetResponse.new()
5690
+ porcelain.identity_set = convert_identity_set_to_porcelain(plumbing.identity_set)
5691
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
5692
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
5693
+ porcelain
5694
+ end
5695
+
5696
+ def self.convert_identity_set_get_response_to_plumbing(porcelain)
5697
+ if porcelain == nil
5698
+ return nil
5699
+ end
5700
+ plumbing = V1::IdentitySetGetResponse.new()
5701
+ plumbing.identity_set = convert_identity_set_to_plumbing(porcelain.identity_set)
5702
+ plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
5703
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
5704
+ plumbing
5705
+ end
5706
+ def self.convert_repeated_identity_set_get_response_to_plumbing(porcelains)
5707
+ items = Array.new
5708
+ porcelains.each do |porcelain|
5709
+ plumbing = convert_identity_set_get_response_to_plumbing(porcelain)
5710
+ items.append(plumbing)
5711
+ end
5712
+ items
5713
+ end
5714
+
5715
+ def self.convert_repeated_identity_set_get_response_to_porcelain(plumbings)
5716
+ items = Array.new
5717
+ plumbings.each do |plumbing|
5718
+ porcelain = convert_identity_set_get_response_to_porcelain(plumbing)
5719
+ items.append(porcelain)
5720
+ end
5721
+ items
5722
+ end
5723
+ def self.convert_identity_set_history_to_porcelain(plumbing)
5724
+ if plumbing == nil
5725
+ return nil
5726
+ end
5727
+ porcelain = IdentitySetHistory.new()
5728
+ porcelain.activity_id = (plumbing.activity_id)
5729
+ porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
5730
+ porcelain.identity_set = convert_identity_set_to_porcelain(plumbing.identity_set)
5731
+ porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
5732
+ porcelain
5733
+ end
5734
+
5735
+ def self.convert_identity_set_history_to_plumbing(porcelain)
5736
+ if porcelain == nil
5737
+ return nil
5738
+ end
5739
+ plumbing = V1::IdentitySetHistory.new()
5740
+ plumbing.activity_id = (porcelain.activity_id)
5741
+ plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
5742
+ plumbing.identity_set = convert_identity_set_to_plumbing(porcelain.identity_set)
5743
+ plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
5744
+ plumbing
5745
+ end
5746
+ def self.convert_repeated_identity_set_history_to_plumbing(porcelains)
5747
+ items = Array.new
5748
+ porcelains.each do |porcelain|
5749
+ plumbing = convert_identity_set_history_to_plumbing(porcelain)
5750
+ items.append(plumbing)
5751
+ end
5752
+ items
5753
+ end
5754
+
5755
+ def self.convert_repeated_identity_set_history_to_porcelain(plumbings)
5756
+ items = Array.new
5757
+ plumbings.each do |plumbing|
5758
+ porcelain = convert_identity_set_history_to_porcelain(plumbing)
5759
+ items.append(porcelain)
5760
+ end
5761
+ items
5762
+ end
5419
5763
  def self.convert_keyfactor_ssh_store_to_porcelain(plumbing)
5420
5764
  if plumbing == nil
5421
5765
  return nil
@@ -5542,11 +5886,11 @@ module SDM
5542
5886
  porcelain.healthy = (plumbing.healthy)
5543
5887
  porcelain.hostname = (plumbing.hostname)
5544
5888
  porcelain.id = (plumbing.id)
5889
+ porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
5890
+ porcelain.identity_set_id = (plumbing.identity_set_id)
5545
5891
  porcelain.name = (plumbing.name)
5546
5892
  porcelain.port = (plumbing.port)
5547
5893
  porcelain.port_override = (plumbing.port_override)
5548
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
5549
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
5550
5894
  porcelain.secret_store_id = (plumbing.secret_store_id)
5551
5895
  porcelain.subdomain = (plumbing.subdomain)
5552
5896
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
@@ -5567,11 +5911,11 @@ module SDM
5567
5911
  plumbing.healthy = (porcelain.healthy)
5568
5912
  plumbing.hostname = (porcelain.hostname)
5569
5913
  plumbing.id = (porcelain.id)
5914
+ plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
5915
+ plumbing.identity_set_id = (porcelain.identity_set_id)
5570
5916
  plumbing.name = (porcelain.name)
5571
5917
  plumbing.port = (porcelain.port)
5572
5918
  plumbing.port_override = (porcelain.port_override)
5573
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
5574
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
5575
5919
  plumbing.secret_store_id = (porcelain.secret_store_id)
5576
5920
  plumbing.subdomain = (porcelain.subdomain)
5577
5921
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
@@ -5665,11 +6009,11 @@ module SDM
5665
6009
  porcelain.healthy = (plumbing.healthy)
5666
6010
  porcelain.hostname = (plumbing.hostname)
5667
6011
  porcelain.id = (plumbing.id)
6012
+ porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
6013
+ porcelain.identity_set_id = (plumbing.identity_set_id)
5668
6014
  porcelain.name = (plumbing.name)
5669
6015
  porcelain.port = (plumbing.port)
5670
6016
  porcelain.port_override = (plumbing.port_override)
5671
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
5672
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
5673
6017
  porcelain.secret_store_id = (plumbing.secret_store_id)
5674
6018
  porcelain.subdomain = (plumbing.subdomain)
5675
6019
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
@@ -5688,11 +6032,11 @@ module SDM
5688
6032
  plumbing.healthy = (porcelain.healthy)
5689
6033
  plumbing.hostname = (porcelain.hostname)
5690
6034
  plumbing.id = (porcelain.id)
6035
+ plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
6036
+ plumbing.identity_set_id = (porcelain.identity_set_id)
5691
6037
  plumbing.name = (porcelain.name)
5692
6038
  plumbing.port = (porcelain.port)
5693
6039
  plumbing.port_override = (porcelain.port_override)
5694
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
5695
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
5696
6040
  plumbing.secret_store_id = (porcelain.secret_store_id)
5697
6041
  plumbing.subdomain = (porcelain.subdomain)
5698
6042
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
@@ -8045,11 +8389,11 @@ module SDM
8045
8389
  porcelain.healthy = (plumbing.healthy)
8046
8390
  porcelain.hostname = (plumbing.hostname)
8047
8391
  porcelain.id = (plumbing.id)
8392
+ porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
8393
+ porcelain.identity_set_id = (plumbing.identity_set_id)
8048
8394
  porcelain.name = (plumbing.name)
8049
8395
  porcelain.port = (plumbing.port)
8050
8396
  porcelain.port_override = (plumbing.port_override)
8051
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
8052
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
8053
8397
  porcelain.secret_store_id = (plumbing.secret_store_id)
8054
8398
  porcelain.subdomain = (plumbing.subdomain)
8055
8399
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
@@ -8067,11 +8411,11 @@ module SDM
8067
8411
  plumbing.healthy = (porcelain.healthy)
8068
8412
  plumbing.hostname = (porcelain.hostname)
8069
8413
  plumbing.id = (porcelain.id)
8414
+ plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
8415
+ plumbing.identity_set_id = (porcelain.identity_set_id)
8070
8416
  plumbing.name = (porcelain.name)
8071
8417
  plumbing.port = (porcelain.port)
8072
8418
  plumbing.port_override = (porcelain.port_override)
8073
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
8074
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
8075
8419
  plumbing.secret_store_id = (porcelain.secret_store_id)
8076
8420
  plumbing.subdomain = (porcelain.subdomain)
8077
8421
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
@@ -10333,13 +10677,13 @@ module SDM
10333
10677
  porcelain.healthy = (plumbing.healthy)
10334
10678
  porcelain.hostname = (plumbing.hostname)
10335
10679
  porcelain.id = (plumbing.id)
10680
+ porcelain.identity_alias_healthcheck_username = (plumbing.identity_alias_healthcheck_username)
10681
+ porcelain.identity_set_id = (plumbing.identity_set_id)
10336
10682
  porcelain.key_type = (plumbing.key_type)
10337
10683
  porcelain.name = (plumbing.name)
10338
10684
  porcelain.port = (plumbing.port)
10339
10685
  porcelain.port_forwarding = (plumbing.port_forwarding)
10340
10686
  porcelain.port_override = (plumbing.port_override)
10341
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
10342
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
10343
10687
  porcelain.secret_store_id = (plumbing.secret_store_id)
10344
10688
  porcelain.subdomain = (plumbing.subdomain)
10345
10689
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
@@ -10358,13 +10702,13 @@ module SDM
10358
10702
  plumbing.healthy = (porcelain.healthy)
10359
10703
  plumbing.hostname = (porcelain.hostname)
10360
10704
  plumbing.id = (porcelain.id)
10705
+ plumbing.identity_alias_healthcheck_username = (porcelain.identity_alias_healthcheck_username)
10706
+ plumbing.identity_set_id = (porcelain.identity_set_id)
10361
10707
  plumbing.key_type = (porcelain.key_type)
10362
10708
  plumbing.name = (porcelain.name)
10363
10709
  plumbing.port = (porcelain.port)
10364
10710
  plumbing.port_forwarding = (porcelain.port_forwarding)
10365
10711
  plumbing.port_override = (porcelain.port_override)
10366
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
10367
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
10368
10712
  plumbing.secret_store_id = (porcelain.secret_store_id)
10369
10713
  plumbing.subdomain = (porcelain.subdomain)
10370
10714
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)