strongdm 6.7.1 → 6.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/.git/ORIG_HEAD +1 -1
  3. data/.git/index +0 -0
  4. data/.git/logs/HEAD +3 -3
  5. data/.git/logs/refs/heads/master +2 -2
  6. data/.git/logs/refs/remotes/origin/HEAD +1 -1
  7. data/.git/objects/pack/{pack-757ca4731668a732671503ca8a7e87450627a2ec.idx → pack-0dcf1b734229e84f3c3baa668d79743a0683c5e4.idx} +0 -0
  8. data/.git/objects/pack/{pack-757ca4731668a732671503ca8a7e87450627a2ec.pack → pack-0dcf1b734229e84f3c3baa668d79743a0683c5e4.pack} +0 -0
  9. data/.git/packed-refs +4 -2
  10. data/.git/refs/heads/master +1 -1
  11. data/lib/constants.rb +1 -0
  12. data/lib/grpc/approval_workflow_approvers_history_pb.rb +49 -0
  13. data/lib/grpc/approval_workflow_approvers_history_services_pb.rb +37 -0
  14. data/lib/grpc/approval_workflow_approvers_pb.rb +81 -0
  15. data/lib/grpc/approval_workflow_approvers_services_pb.rb +43 -0
  16. data/lib/grpc/approval_workflow_steps_history_pb.rb +49 -0
  17. data/lib/grpc/approval_workflow_steps_history_services_pb.rb +37 -0
  18. data/lib/grpc/approval_workflow_steps_pb.rb +78 -0
  19. data/lib/grpc/approval_workflow_steps_services_pb.rb +43 -0
  20. data/lib/grpc/approval_workflows_history_pb.rb +49 -0
  21. data/lib/grpc/approval_workflows_history_services_pb.rb +37 -0
  22. data/lib/grpc/approval_workflows_pb.rb +91 -0
  23. data/lib/grpc/approval_workflows_services_pb.rb +46 -0
  24. data/lib/grpc/plumbing.rb +1014 -230
  25. data/lib/grpc/secret_store_types_pb.rb +8 -0
  26. data/lib/models/porcelain.rb +547 -0
  27. data/lib/strongdm.rb +54 -1
  28. data/lib/svc.rb +739 -0
  29. data/lib/version +1 -1
  30. data/lib/version.rb +1 -1
  31. 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"
@@ -1780,6 +1786,46 @@ module SDM
1780
1786
  end
1781
1787
  items
1782
1788
  end
1789
+ def self.convert_active_directory_store_to_porcelain(plumbing)
1790
+ if plumbing == nil
1791
+ return nil
1792
+ end
1793
+ porcelain = ActiveDirectoryStore.new()
1794
+ porcelain.id = (plumbing.id)
1795
+ porcelain.name = (plumbing.name)
1796
+ porcelain.server_address = (plumbing.server_address)
1797
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
1798
+ porcelain
1799
+ end
1800
+
1801
+ def self.convert_active_directory_store_to_plumbing(porcelain)
1802
+ if porcelain == nil
1803
+ return nil
1804
+ end
1805
+ plumbing = V1::ActiveDirectoryStore.new()
1806
+ plumbing.id = (porcelain.id)
1807
+ plumbing.name = (porcelain.name)
1808
+ plumbing.server_address = (porcelain.server_address)
1809
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
1810
+ plumbing
1811
+ end
1812
+ def self.convert_repeated_active_directory_store_to_plumbing(porcelains)
1813
+ items = Array.new
1814
+ porcelains.each do |porcelain|
1815
+ plumbing = convert_active_directory_store_to_plumbing(porcelain)
1816
+ items.append(plumbing)
1817
+ end
1818
+ items
1819
+ end
1820
+
1821
+ def self.convert_repeated_active_directory_store_to_porcelain(plumbings)
1822
+ items = Array.new
1823
+ plumbings.each do |plumbing|
1824
+ porcelain = convert_active_directory_store_to_porcelain(plumbing)
1825
+ items.append(porcelain)
1826
+ end
1827
+ items
1828
+ end
1783
1829
  def self.convert_activity_to_porcelain(plumbing)
1784
1830
  if plumbing == nil
1785
1831
  return nil
@@ -1978,372 +2024,1104 @@ module SDM
1978
2024
  porcelain
1979
2025
  end
1980
2026
 
1981
- def self.convert_amazon_eks_to_plumbing(porcelain)
2027
+ def self.convert_amazon_eks_to_plumbing(porcelain)
2028
+ if porcelain == nil
2029
+ return nil
2030
+ end
2031
+ plumbing = V1::AmazonEKS.new()
2032
+ plumbing.access_key = (porcelain.access_key)
2033
+ plumbing.bind_interface = (porcelain.bind_interface)
2034
+ plumbing.certificate_authority = (porcelain.certificate_authority)
2035
+ plumbing.cluster_name = (porcelain.cluster_name)
2036
+ plumbing.egress_filter = (porcelain.egress_filter)
2037
+ plumbing.endpoint = (porcelain.endpoint)
2038
+ plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
2039
+ plumbing.healthy = (porcelain.healthy)
2040
+ plumbing.id = (porcelain.id)
2041
+ plumbing.name = (porcelain.name)
2042
+ plumbing.port_override = (porcelain.port_override)
2043
+ plumbing.region = (porcelain.region)
2044
+ plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
2045
+ plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
2046
+ plumbing.role_arn = (porcelain.role_arn)
2047
+ plumbing.role_external_id = (porcelain.role_external_id)
2048
+ plumbing.secret_access_key = (porcelain.secret_access_key)
2049
+ plumbing.secret_store_id = (porcelain.secret_store_id)
2050
+ plumbing.subdomain = (porcelain.subdomain)
2051
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2052
+ plumbing
2053
+ end
2054
+ def self.convert_repeated_amazon_eks_to_plumbing(porcelains)
2055
+ items = Array.new
2056
+ porcelains.each do |porcelain|
2057
+ plumbing = convert_amazon_eks_to_plumbing(porcelain)
2058
+ items.append(plumbing)
2059
+ end
2060
+ items
2061
+ end
2062
+
2063
+ def self.convert_repeated_amazon_eks_to_porcelain(plumbings)
2064
+ items = Array.new
2065
+ plumbings.each do |plumbing|
2066
+ porcelain = convert_amazon_eks_to_porcelain(plumbing)
2067
+ items.append(porcelain)
2068
+ end
2069
+ items
2070
+ end
2071
+ def self.convert_amazon_eks_instance_profile_to_porcelain(plumbing)
2072
+ if plumbing == nil
2073
+ return nil
2074
+ end
2075
+ porcelain = AmazonEKSInstanceProfile.new()
2076
+ porcelain.bind_interface = (plumbing.bind_interface)
2077
+ porcelain.certificate_authority = (plumbing.certificate_authority)
2078
+ porcelain.cluster_name = (plumbing.cluster_name)
2079
+ porcelain.egress_filter = (plumbing.egress_filter)
2080
+ porcelain.endpoint = (plumbing.endpoint)
2081
+ porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
2082
+ porcelain.healthy = (plumbing.healthy)
2083
+ porcelain.id = (plumbing.id)
2084
+ porcelain.name = (plumbing.name)
2085
+ porcelain.port_override = (plumbing.port_override)
2086
+ porcelain.region = (plumbing.region)
2087
+ porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
2088
+ porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
2089
+ porcelain.role_arn = (plumbing.role_arn)
2090
+ porcelain.role_external_id = (plumbing.role_external_id)
2091
+ porcelain.secret_store_id = (plumbing.secret_store_id)
2092
+ porcelain.subdomain = (plumbing.subdomain)
2093
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2094
+ porcelain
2095
+ end
2096
+
2097
+ def self.convert_amazon_eks_instance_profile_to_plumbing(porcelain)
2098
+ if porcelain == nil
2099
+ return nil
2100
+ end
2101
+ plumbing = V1::AmazonEKSInstanceProfile.new()
2102
+ plumbing.bind_interface = (porcelain.bind_interface)
2103
+ plumbing.certificate_authority = (porcelain.certificate_authority)
2104
+ plumbing.cluster_name = (porcelain.cluster_name)
2105
+ plumbing.egress_filter = (porcelain.egress_filter)
2106
+ plumbing.endpoint = (porcelain.endpoint)
2107
+ plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
2108
+ plumbing.healthy = (porcelain.healthy)
2109
+ plumbing.id = (porcelain.id)
2110
+ plumbing.name = (porcelain.name)
2111
+ plumbing.port_override = (porcelain.port_override)
2112
+ plumbing.region = (porcelain.region)
2113
+ plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
2114
+ plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
2115
+ plumbing.role_arn = (porcelain.role_arn)
2116
+ plumbing.role_external_id = (porcelain.role_external_id)
2117
+ plumbing.secret_store_id = (porcelain.secret_store_id)
2118
+ plumbing.subdomain = (porcelain.subdomain)
2119
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2120
+ plumbing
2121
+ end
2122
+ def self.convert_repeated_amazon_eks_instance_profile_to_plumbing(porcelains)
2123
+ items = Array.new
2124
+ porcelains.each do |porcelain|
2125
+ plumbing = convert_amazon_eks_instance_profile_to_plumbing(porcelain)
2126
+ items.append(plumbing)
2127
+ end
2128
+ items
2129
+ end
2130
+
2131
+ def self.convert_repeated_amazon_eks_instance_profile_to_porcelain(plumbings)
2132
+ items = Array.new
2133
+ plumbings.each do |plumbing|
2134
+ porcelain = convert_amazon_eks_instance_profile_to_porcelain(plumbing)
2135
+ items.append(porcelain)
2136
+ end
2137
+ items
2138
+ end
2139
+ def self.convert_amazon_eks_instance_profile_user_impersonation_to_porcelain(plumbing)
2140
+ if plumbing == nil
2141
+ return nil
2142
+ end
2143
+ porcelain = AmazonEKSInstanceProfileUserImpersonation.new()
2144
+ porcelain.bind_interface = (plumbing.bind_interface)
2145
+ porcelain.certificate_authority = (plumbing.certificate_authority)
2146
+ porcelain.cluster_name = (plumbing.cluster_name)
2147
+ porcelain.egress_filter = (plumbing.egress_filter)
2148
+ porcelain.endpoint = (plumbing.endpoint)
2149
+ porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
2150
+ porcelain.healthy = (plumbing.healthy)
2151
+ porcelain.id = (plumbing.id)
2152
+ porcelain.name = (plumbing.name)
2153
+ porcelain.port_override = (plumbing.port_override)
2154
+ porcelain.region = (plumbing.region)
2155
+ porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
2156
+ porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
2157
+ porcelain.role_arn = (plumbing.role_arn)
2158
+ porcelain.role_external_id = (plumbing.role_external_id)
2159
+ porcelain.secret_store_id = (plumbing.secret_store_id)
2160
+ porcelain.subdomain = (plumbing.subdomain)
2161
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2162
+ porcelain
2163
+ end
2164
+
2165
+ def self.convert_amazon_eks_instance_profile_user_impersonation_to_plumbing(porcelain)
2166
+ if porcelain == nil
2167
+ return nil
2168
+ end
2169
+ plumbing = V1::AmazonEKSInstanceProfileUserImpersonation.new()
2170
+ plumbing.bind_interface = (porcelain.bind_interface)
2171
+ plumbing.certificate_authority = (porcelain.certificate_authority)
2172
+ plumbing.cluster_name = (porcelain.cluster_name)
2173
+ plumbing.egress_filter = (porcelain.egress_filter)
2174
+ plumbing.endpoint = (porcelain.endpoint)
2175
+ plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
2176
+ plumbing.healthy = (porcelain.healthy)
2177
+ plumbing.id = (porcelain.id)
2178
+ plumbing.name = (porcelain.name)
2179
+ plumbing.port_override = (porcelain.port_override)
2180
+ plumbing.region = (porcelain.region)
2181
+ plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
2182
+ plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
2183
+ plumbing.role_arn = (porcelain.role_arn)
2184
+ plumbing.role_external_id = (porcelain.role_external_id)
2185
+ plumbing.secret_store_id = (porcelain.secret_store_id)
2186
+ plumbing.subdomain = (porcelain.subdomain)
2187
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2188
+ plumbing
2189
+ end
2190
+ def self.convert_repeated_amazon_eks_instance_profile_user_impersonation_to_plumbing(porcelains)
2191
+ items = Array.new
2192
+ porcelains.each do |porcelain|
2193
+ plumbing = convert_amazon_eks_instance_profile_user_impersonation_to_plumbing(porcelain)
2194
+ items.append(plumbing)
2195
+ end
2196
+ items
2197
+ end
2198
+
2199
+ def self.convert_repeated_amazon_eks_instance_profile_user_impersonation_to_porcelain(plumbings)
2200
+ items = Array.new
2201
+ plumbings.each do |plumbing|
2202
+ porcelain = convert_amazon_eks_instance_profile_user_impersonation_to_porcelain(plumbing)
2203
+ items.append(porcelain)
2204
+ end
2205
+ items
2206
+ end
2207
+ def self.convert_amazon_eks_user_impersonation_to_porcelain(plumbing)
2208
+ if plumbing == nil
2209
+ return nil
2210
+ end
2211
+ porcelain = AmazonEKSUserImpersonation.new()
2212
+ porcelain.access_key = (plumbing.access_key)
2213
+ porcelain.bind_interface = (plumbing.bind_interface)
2214
+ porcelain.certificate_authority = (plumbing.certificate_authority)
2215
+ porcelain.cluster_name = (plumbing.cluster_name)
2216
+ porcelain.egress_filter = (plumbing.egress_filter)
2217
+ porcelain.endpoint = (plumbing.endpoint)
2218
+ porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
2219
+ porcelain.healthy = (plumbing.healthy)
2220
+ porcelain.id = (plumbing.id)
2221
+ porcelain.name = (plumbing.name)
2222
+ porcelain.port_override = (plumbing.port_override)
2223
+ porcelain.region = (plumbing.region)
2224
+ porcelain.role_arn = (plumbing.role_arn)
2225
+ porcelain.role_external_id = (plumbing.role_external_id)
2226
+ porcelain.secret_access_key = (plumbing.secret_access_key)
2227
+ porcelain.secret_store_id = (plumbing.secret_store_id)
2228
+ porcelain.subdomain = (plumbing.subdomain)
2229
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2230
+ porcelain
2231
+ end
2232
+
2233
+ def self.convert_amazon_eks_user_impersonation_to_plumbing(porcelain)
2234
+ if porcelain == nil
2235
+ return nil
2236
+ end
2237
+ plumbing = V1::AmazonEKSUserImpersonation.new()
2238
+ plumbing.access_key = (porcelain.access_key)
2239
+ plumbing.bind_interface = (porcelain.bind_interface)
2240
+ plumbing.certificate_authority = (porcelain.certificate_authority)
2241
+ plumbing.cluster_name = (porcelain.cluster_name)
2242
+ plumbing.egress_filter = (porcelain.egress_filter)
2243
+ plumbing.endpoint = (porcelain.endpoint)
2244
+ plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
2245
+ plumbing.healthy = (porcelain.healthy)
2246
+ plumbing.id = (porcelain.id)
2247
+ plumbing.name = (porcelain.name)
2248
+ plumbing.port_override = (porcelain.port_override)
2249
+ plumbing.region = (porcelain.region)
2250
+ plumbing.role_arn = (porcelain.role_arn)
2251
+ plumbing.role_external_id = (porcelain.role_external_id)
2252
+ plumbing.secret_access_key = (porcelain.secret_access_key)
2253
+ plumbing.secret_store_id = (porcelain.secret_store_id)
2254
+ plumbing.subdomain = (porcelain.subdomain)
2255
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2256
+ plumbing
2257
+ end
2258
+ def self.convert_repeated_amazon_eks_user_impersonation_to_plumbing(porcelains)
2259
+ items = Array.new
2260
+ porcelains.each do |porcelain|
2261
+ plumbing = convert_amazon_eks_user_impersonation_to_plumbing(porcelain)
2262
+ items.append(plumbing)
2263
+ end
2264
+ items
2265
+ end
2266
+
2267
+ def self.convert_repeated_amazon_eks_user_impersonation_to_porcelain(plumbings)
2268
+ items = Array.new
2269
+ plumbings.each do |plumbing|
2270
+ porcelain = convert_amazon_eks_user_impersonation_to_porcelain(plumbing)
2271
+ items.append(porcelain)
2272
+ end
2273
+ items
2274
+ end
2275
+ def self.convert_amazon_es_to_porcelain(plumbing)
2276
+ if plumbing == nil
2277
+ return nil
2278
+ end
2279
+ porcelain = AmazonES.new()
2280
+ porcelain.access_key = (plumbing.access_key)
2281
+ porcelain.bind_interface = (plumbing.bind_interface)
2282
+ porcelain.egress_filter = (plumbing.egress_filter)
2283
+ porcelain.endpoint = (plumbing.endpoint)
2284
+ porcelain.healthy = (plumbing.healthy)
2285
+ porcelain.id = (plumbing.id)
2286
+ porcelain.name = (plumbing.name)
2287
+ porcelain.port_override = (plumbing.port_override)
2288
+ porcelain.region = (plumbing.region)
2289
+ porcelain.role_arn = (plumbing.role_arn)
2290
+ porcelain.role_external_id = (plumbing.role_external_id)
2291
+ porcelain.secret_access_key = (plumbing.secret_access_key)
2292
+ porcelain.secret_store_id = (plumbing.secret_store_id)
2293
+ porcelain.subdomain = (plumbing.subdomain)
2294
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2295
+ porcelain
2296
+ end
2297
+
2298
+ def self.convert_amazon_es_to_plumbing(porcelain)
2299
+ if porcelain == nil
2300
+ return nil
2301
+ end
2302
+ plumbing = V1::AmazonES.new()
2303
+ plumbing.access_key = (porcelain.access_key)
2304
+ plumbing.bind_interface = (porcelain.bind_interface)
2305
+ plumbing.egress_filter = (porcelain.egress_filter)
2306
+ plumbing.endpoint = (porcelain.endpoint)
2307
+ plumbing.healthy = (porcelain.healthy)
2308
+ plumbing.id = (porcelain.id)
2309
+ plumbing.name = (porcelain.name)
2310
+ plumbing.port_override = (porcelain.port_override)
2311
+ plumbing.region = (porcelain.region)
2312
+ plumbing.role_arn = (porcelain.role_arn)
2313
+ plumbing.role_external_id = (porcelain.role_external_id)
2314
+ plumbing.secret_access_key = (porcelain.secret_access_key)
2315
+ plumbing.secret_store_id = (porcelain.secret_store_id)
2316
+ plumbing.subdomain = (porcelain.subdomain)
2317
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2318
+ plumbing
2319
+ end
2320
+ def self.convert_repeated_amazon_es_to_plumbing(porcelains)
2321
+ items = Array.new
2322
+ porcelains.each do |porcelain|
2323
+ plumbing = convert_amazon_es_to_plumbing(porcelain)
2324
+ items.append(plumbing)
2325
+ end
2326
+ items
2327
+ end
2328
+
2329
+ def self.convert_repeated_amazon_es_to_porcelain(plumbings)
2330
+ items = Array.new
2331
+ plumbings.each do |plumbing|
2332
+ porcelain = convert_amazon_es_to_porcelain(plumbing)
2333
+ items.append(porcelain)
2334
+ end
2335
+ items
2336
+ end
2337
+ def self.convert_amazon_mqamqp_091_to_porcelain(plumbing)
2338
+ if plumbing == nil
2339
+ return nil
2340
+ end
2341
+ porcelain = AmazonMQAMQP091.new()
2342
+ porcelain.bind_interface = (plumbing.bind_interface)
2343
+ porcelain.egress_filter = (plumbing.egress_filter)
2344
+ porcelain.healthy = (plumbing.healthy)
2345
+ porcelain.hostname = (plumbing.hostname)
2346
+ porcelain.id = (plumbing.id)
2347
+ porcelain.name = (plumbing.name)
2348
+ porcelain.password = (plumbing.password)
2349
+ porcelain.port = (plumbing.port)
2350
+ porcelain.port_override = (plumbing.port_override)
2351
+ porcelain.secret_store_id = (plumbing.secret_store_id)
2352
+ porcelain.subdomain = (plumbing.subdomain)
2353
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2354
+ porcelain.tls_required = (plumbing.tls_required)
2355
+ porcelain.username = (plumbing.username)
2356
+ porcelain
2357
+ end
2358
+
2359
+ def self.convert_amazon_mqamqp_091_to_plumbing(porcelain)
2360
+ if porcelain == nil
2361
+ return nil
2362
+ end
2363
+ plumbing = V1::AmazonMQAMQP091.new()
2364
+ plumbing.bind_interface = (porcelain.bind_interface)
2365
+ plumbing.egress_filter = (porcelain.egress_filter)
2366
+ plumbing.healthy = (porcelain.healthy)
2367
+ plumbing.hostname = (porcelain.hostname)
2368
+ plumbing.id = (porcelain.id)
2369
+ plumbing.name = (porcelain.name)
2370
+ plumbing.password = (porcelain.password)
2371
+ plumbing.port = (porcelain.port)
2372
+ plumbing.port_override = (porcelain.port_override)
2373
+ plumbing.secret_store_id = (porcelain.secret_store_id)
2374
+ plumbing.subdomain = (porcelain.subdomain)
2375
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2376
+ plumbing.tls_required = (porcelain.tls_required)
2377
+ plumbing.username = (porcelain.username)
2378
+ plumbing
2379
+ end
2380
+ def self.convert_repeated_amazon_mqamqp_091_to_plumbing(porcelains)
2381
+ items = Array.new
2382
+ porcelains.each do |porcelain|
2383
+ plumbing = convert_amazon_mqamqp_091_to_plumbing(porcelain)
2384
+ items.append(plumbing)
2385
+ end
2386
+ items
2387
+ end
2388
+
2389
+ def self.convert_repeated_amazon_mqamqp_091_to_porcelain(plumbings)
2390
+ items = Array.new
2391
+ plumbings.each do |plumbing|
2392
+ porcelain = convert_amazon_mqamqp_091_to_porcelain(plumbing)
2393
+ items.append(porcelain)
2394
+ end
2395
+ items
2396
+ end
2397
+ def self.convert_approval_workflow_to_porcelain(plumbing)
2398
+ if plumbing == nil
2399
+ return nil
2400
+ end
2401
+ porcelain = ApprovalWorkflow.new()
2402
+ porcelain.approval_mode = (plumbing.approval_mode)
2403
+ porcelain.description = (plumbing.description)
2404
+ porcelain.id = (plumbing.id)
2405
+ porcelain.name = (plumbing.name)
2406
+ porcelain
2407
+ end
2408
+
2409
+ def self.convert_approval_workflow_to_plumbing(porcelain)
2410
+ if porcelain == nil
2411
+ return nil
2412
+ end
2413
+ plumbing = V1::ApprovalWorkflow.new()
2414
+ plumbing.approval_mode = (porcelain.approval_mode)
2415
+ plumbing.description = (porcelain.description)
2416
+ plumbing.id = (porcelain.id)
2417
+ plumbing.name = (porcelain.name)
2418
+ plumbing
2419
+ end
2420
+ def self.convert_repeated_approval_workflow_to_plumbing(porcelains)
2421
+ items = Array.new
2422
+ porcelains.each do |porcelain|
2423
+ plumbing = convert_approval_workflow_to_plumbing(porcelain)
2424
+ items.append(plumbing)
2425
+ end
2426
+ items
2427
+ end
2428
+
2429
+ def self.convert_repeated_approval_workflow_to_porcelain(plumbings)
2430
+ items = Array.new
2431
+ plumbings.each do |plumbing|
2432
+ porcelain = convert_approval_workflow_to_porcelain(plumbing)
2433
+ items.append(porcelain)
2434
+ end
2435
+ items
2436
+ end
2437
+ def self.convert_approval_workflow_approver_to_porcelain(plumbing)
2438
+ if plumbing == nil
2439
+ return nil
2440
+ end
2441
+ porcelain = ApprovalWorkflowApprover.new()
2442
+ porcelain.account_id = (plumbing.account_id)
2443
+ porcelain.approval_flow_id = (plumbing.approval_flow_id)
2444
+ porcelain.approval_step_id = (plumbing.approval_step_id)
2445
+ porcelain.id = (plumbing.id)
2446
+ porcelain.role_id = (plumbing.role_id)
2447
+ porcelain
2448
+ end
2449
+
2450
+ def self.convert_approval_workflow_approver_to_plumbing(porcelain)
2451
+ if porcelain == nil
2452
+ return nil
2453
+ end
2454
+ plumbing = V1::ApprovalWorkflowApprover.new()
2455
+ plumbing.account_id = (porcelain.account_id)
2456
+ plumbing.approval_flow_id = (porcelain.approval_flow_id)
2457
+ plumbing.approval_step_id = (porcelain.approval_step_id)
2458
+ plumbing.id = (porcelain.id)
2459
+ plumbing.role_id = (porcelain.role_id)
2460
+ plumbing
2461
+ end
2462
+ def self.convert_repeated_approval_workflow_approver_to_plumbing(porcelains)
2463
+ items = Array.new
2464
+ porcelains.each do |porcelain|
2465
+ plumbing = convert_approval_workflow_approver_to_plumbing(porcelain)
2466
+ items.append(plumbing)
2467
+ end
2468
+ items
2469
+ end
2470
+
2471
+ def self.convert_repeated_approval_workflow_approver_to_porcelain(plumbings)
2472
+ items = Array.new
2473
+ plumbings.each do |plumbing|
2474
+ porcelain = convert_approval_workflow_approver_to_porcelain(plumbing)
2475
+ items.append(porcelain)
2476
+ end
2477
+ items
2478
+ end
2479
+ def self.convert_approval_workflow_approver_create_response_to_porcelain(plumbing)
2480
+ if plumbing == nil
2481
+ return nil
2482
+ end
2483
+ porcelain = ApprovalWorkflowApproverCreateResponse.new()
2484
+ porcelain.approval_workflow_approver = convert_approval_workflow_approver_to_porcelain(plumbing.approval_workflow_approver)
2485
+ porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
2486
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2487
+ porcelain
2488
+ end
2489
+
2490
+ def self.convert_approval_workflow_approver_create_response_to_plumbing(porcelain)
2491
+ if porcelain == nil
2492
+ return nil
2493
+ end
2494
+ plumbing = V1::ApprovalWorkflowApproverCreateResponse.new()
2495
+ plumbing.approval_workflow_approver = convert_approval_workflow_approver_to_plumbing(porcelain.approval_workflow_approver)
2496
+ plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
2497
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2498
+ plumbing
2499
+ end
2500
+ def self.convert_repeated_approval_workflow_approver_create_response_to_plumbing(porcelains)
2501
+ items = Array.new
2502
+ porcelains.each do |porcelain|
2503
+ plumbing = convert_approval_workflow_approver_create_response_to_plumbing(porcelain)
2504
+ items.append(plumbing)
2505
+ end
2506
+ items
2507
+ end
2508
+
2509
+ def self.convert_repeated_approval_workflow_approver_create_response_to_porcelain(plumbings)
2510
+ items = Array.new
2511
+ plumbings.each do |plumbing|
2512
+ porcelain = convert_approval_workflow_approver_create_response_to_porcelain(plumbing)
2513
+ items.append(porcelain)
2514
+ end
2515
+ items
2516
+ end
2517
+ def self.convert_approval_workflow_approver_delete_response_to_porcelain(plumbing)
2518
+ if plumbing == nil
2519
+ return nil
2520
+ end
2521
+ porcelain = ApprovalWorkflowApproverDeleteResponse.new()
2522
+ porcelain.id = (plumbing.id)
2523
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
2524
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2525
+ porcelain
2526
+ end
2527
+
2528
+ def self.convert_approval_workflow_approver_delete_response_to_plumbing(porcelain)
2529
+ if porcelain == nil
2530
+ return nil
2531
+ end
2532
+ plumbing = V1::ApprovalWorkflowApproverDeleteResponse.new()
2533
+ plumbing.id = (porcelain.id)
2534
+ plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
2535
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2536
+ plumbing
2537
+ end
2538
+ def self.convert_repeated_approval_workflow_approver_delete_response_to_plumbing(porcelains)
2539
+ items = Array.new
2540
+ porcelains.each do |porcelain|
2541
+ plumbing = convert_approval_workflow_approver_delete_response_to_plumbing(porcelain)
2542
+ items.append(plumbing)
2543
+ end
2544
+ items
2545
+ end
2546
+
2547
+ def self.convert_repeated_approval_workflow_approver_delete_response_to_porcelain(plumbings)
2548
+ items = Array.new
2549
+ plumbings.each do |plumbing|
2550
+ porcelain = convert_approval_workflow_approver_delete_response_to_porcelain(plumbing)
2551
+ items.append(porcelain)
2552
+ end
2553
+ items
2554
+ end
2555
+ def self.convert_approval_workflow_approver_get_response_to_porcelain(plumbing)
2556
+ if plumbing == nil
2557
+ return nil
2558
+ end
2559
+ porcelain = ApprovalWorkflowApproverGetResponse.new()
2560
+ porcelain.approval_workflow_approver = convert_approval_workflow_approver_to_porcelain(plumbing.approval_workflow_approver)
2561
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
2562
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2563
+ porcelain
2564
+ end
2565
+
2566
+ def self.convert_approval_workflow_approver_get_response_to_plumbing(porcelain)
2567
+ if porcelain == nil
2568
+ return nil
2569
+ end
2570
+ plumbing = V1::ApprovalWorkflowApproverGetResponse.new()
2571
+ plumbing.approval_workflow_approver = convert_approval_workflow_approver_to_plumbing(porcelain.approval_workflow_approver)
2572
+ plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
2573
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2574
+ plumbing
2575
+ end
2576
+ def self.convert_repeated_approval_workflow_approver_get_response_to_plumbing(porcelains)
2577
+ items = Array.new
2578
+ porcelains.each do |porcelain|
2579
+ plumbing = convert_approval_workflow_approver_get_response_to_plumbing(porcelain)
2580
+ items.append(plumbing)
2581
+ end
2582
+ items
2583
+ end
2584
+
2585
+ def self.convert_repeated_approval_workflow_approver_get_response_to_porcelain(plumbings)
2586
+ items = Array.new
2587
+ plumbings.each do |plumbing|
2588
+ porcelain = convert_approval_workflow_approver_get_response_to_porcelain(plumbing)
2589
+ items.append(porcelain)
2590
+ end
2591
+ items
2592
+ end
2593
+ def self.convert_approval_workflow_approver_history_to_porcelain(plumbing)
2594
+ if plumbing == nil
2595
+ return nil
2596
+ end
2597
+ porcelain = ApprovalWorkflowApproverHistory.new()
2598
+ porcelain.activity_id = (plumbing.activity_id)
2599
+ porcelain.approval_workflow_approver = convert_approval_workflow_approver_to_porcelain(plumbing.approval_workflow_approver)
2600
+ porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
2601
+ porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
2602
+ porcelain
2603
+ end
2604
+
2605
+ def self.convert_approval_workflow_approver_history_to_plumbing(porcelain)
2606
+ if porcelain == nil
2607
+ return nil
2608
+ end
2609
+ plumbing = V1::ApprovalWorkflowApproverHistory.new()
2610
+ plumbing.activity_id = (porcelain.activity_id)
2611
+ plumbing.approval_workflow_approver = convert_approval_workflow_approver_to_plumbing(porcelain.approval_workflow_approver)
2612
+ plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
2613
+ plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
2614
+ plumbing
2615
+ end
2616
+ def self.convert_repeated_approval_workflow_approver_history_to_plumbing(porcelains)
2617
+ items = Array.new
2618
+ porcelains.each do |porcelain|
2619
+ plumbing = convert_approval_workflow_approver_history_to_plumbing(porcelain)
2620
+ items.append(plumbing)
2621
+ end
2622
+ items
2623
+ end
2624
+
2625
+ def self.convert_repeated_approval_workflow_approver_history_to_porcelain(plumbings)
2626
+ items = Array.new
2627
+ plumbings.each do |plumbing|
2628
+ porcelain = convert_approval_workflow_approver_history_to_porcelain(plumbing)
2629
+ items.append(porcelain)
2630
+ end
2631
+ items
2632
+ end
2633
+ def self.convert_approval_workflow_approver_list_response_to_porcelain(plumbing)
2634
+ if plumbing == nil
2635
+ return nil
2636
+ end
2637
+ porcelain = ApprovalWorkflowApproverListResponse.new()
2638
+ porcelain.approval_workflow_approvers = convert_repeated_approval_workflow_approver_to_porcelain(plumbing.approval_workflow_approvers)
2639
+ porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
2640
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2641
+ porcelain
2642
+ end
2643
+
2644
+ def self.convert_approval_workflow_approver_list_response_to_plumbing(porcelain)
2645
+ if porcelain == nil
2646
+ return nil
2647
+ end
2648
+ plumbing = V1::ApprovalWorkflowApproverListResponse.new()
2649
+ plumbing.approval_workflow_approvers += convert_repeated_approval_workflow_approver_to_plumbing(porcelain.approval_workflow_approvers)
2650
+ plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
2651
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2652
+ plumbing
2653
+ end
2654
+ def self.convert_repeated_approval_workflow_approver_list_response_to_plumbing(porcelains)
2655
+ items = Array.new
2656
+ porcelains.each do |porcelain|
2657
+ plumbing = convert_approval_workflow_approver_list_response_to_plumbing(porcelain)
2658
+ items.append(plumbing)
2659
+ end
2660
+ items
2661
+ end
2662
+
2663
+ def self.convert_repeated_approval_workflow_approver_list_response_to_porcelain(plumbings)
2664
+ items = Array.new
2665
+ plumbings.each do |plumbing|
2666
+ porcelain = convert_approval_workflow_approver_list_response_to_porcelain(plumbing)
2667
+ items.append(porcelain)
2668
+ end
2669
+ items
2670
+ end
2671
+ def self.convert_approval_workflow_create_response_to_porcelain(plumbing)
2672
+ if plumbing == nil
2673
+ return nil
2674
+ end
2675
+ porcelain = ApprovalWorkflowCreateResponse.new()
2676
+ porcelain.approval_workflow = convert_approval_workflow_to_porcelain(plumbing.approval_workflow)
2677
+ porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
2678
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2679
+ porcelain
2680
+ end
2681
+
2682
+ def self.convert_approval_workflow_create_response_to_plumbing(porcelain)
2683
+ if porcelain == nil
2684
+ return nil
2685
+ end
2686
+ plumbing = V1::ApprovalWorkflowCreateResponse.new()
2687
+ plumbing.approval_workflow = convert_approval_workflow_to_plumbing(porcelain.approval_workflow)
2688
+ plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
2689
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2690
+ plumbing
2691
+ end
2692
+ def self.convert_repeated_approval_workflow_create_response_to_plumbing(porcelains)
2693
+ items = Array.new
2694
+ porcelains.each do |porcelain|
2695
+ plumbing = convert_approval_workflow_create_response_to_plumbing(porcelain)
2696
+ items.append(plumbing)
2697
+ end
2698
+ items
2699
+ end
2700
+
2701
+ def self.convert_repeated_approval_workflow_create_response_to_porcelain(plumbings)
2702
+ items = Array.new
2703
+ plumbings.each do |plumbing|
2704
+ porcelain = convert_approval_workflow_create_response_to_porcelain(plumbing)
2705
+ items.append(porcelain)
2706
+ end
2707
+ items
2708
+ end
2709
+ def self.convert_approval_workflow_delete_response_to_porcelain(plumbing)
2710
+ if plumbing == nil
2711
+ return nil
2712
+ end
2713
+ porcelain = ApprovalWorkflowDeleteResponse.new()
2714
+ porcelain.id = (plumbing.id)
2715
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
2716
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2717
+ porcelain
2718
+ end
2719
+
2720
+ def self.convert_approval_workflow_delete_response_to_plumbing(porcelain)
2721
+ if porcelain == nil
2722
+ return nil
2723
+ end
2724
+ plumbing = V1::ApprovalWorkflowDeleteResponse.new()
2725
+ plumbing.id = (porcelain.id)
2726
+ plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
2727
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2728
+ plumbing
2729
+ end
2730
+ def self.convert_repeated_approval_workflow_delete_response_to_plumbing(porcelains)
2731
+ items = Array.new
2732
+ porcelains.each do |porcelain|
2733
+ plumbing = convert_approval_workflow_delete_response_to_plumbing(porcelain)
2734
+ items.append(plumbing)
2735
+ end
2736
+ items
2737
+ end
2738
+
2739
+ def self.convert_repeated_approval_workflow_delete_response_to_porcelain(plumbings)
2740
+ items = Array.new
2741
+ plumbings.each do |plumbing|
2742
+ porcelain = convert_approval_workflow_delete_response_to_porcelain(plumbing)
2743
+ items.append(porcelain)
2744
+ end
2745
+ items
2746
+ end
2747
+ def self.convert_approval_workflow_get_response_to_porcelain(plumbing)
2748
+ if plumbing == nil
2749
+ return nil
2750
+ end
2751
+ porcelain = ApprovalWorkflowGetResponse.new()
2752
+ porcelain.approval_workflow = convert_approval_workflow_to_porcelain(plumbing.approval_workflow)
2753
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
2754
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2755
+ porcelain
2756
+ end
2757
+
2758
+ def self.convert_approval_workflow_get_response_to_plumbing(porcelain)
2759
+ if porcelain == nil
2760
+ return nil
2761
+ end
2762
+ plumbing = V1::ApprovalWorkflowGetResponse.new()
2763
+ plumbing.approval_workflow = convert_approval_workflow_to_plumbing(porcelain.approval_workflow)
2764
+ plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
2765
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2766
+ plumbing
2767
+ end
2768
+ def self.convert_repeated_approval_workflow_get_response_to_plumbing(porcelains)
2769
+ items = Array.new
2770
+ porcelains.each do |porcelain|
2771
+ plumbing = convert_approval_workflow_get_response_to_plumbing(porcelain)
2772
+ items.append(plumbing)
2773
+ end
2774
+ items
2775
+ end
2776
+
2777
+ def self.convert_repeated_approval_workflow_get_response_to_porcelain(plumbings)
2778
+ items = Array.new
2779
+ plumbings.each do |plumbing|
2780
+ porcelain = convert_approval_workflow_get_response_to_porcelain(plumbing)
2781
+ items.append(porcelain)
2782
+ end
2783
+ items
2784
+ end
2785
+ def self.convert_approval_workflow_history_to_porcelain(plumbing)
2786
+ if plumbing == nil
2787
+ return nil
2788
+ end
2789
+ porcelain = ApprovalWorkflowHistory.new()
2790
+ porcelain.activity_id = (plumbing.activity_id)
2791
+ porcelain.approval_workflow = convert_approval_workflow_to_porcelain(plumbing.approval_workflow)
2792
+ porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
2793
+ porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
2794
+ porcelain
2795
+ end
2796
+
2797
+ def self.convert_approval_workflow_history_to_plumbing(porcelain)
2798
+ if porcelain == nil
2799
+ return nil
2800
+ end
2801
+ plumbing = V1::ApprovalWorkflowHistory.new()
2802
+ plumbing.activity_id = (porcelain.activity_id)
2803
+ plumbing.approval_workflow = convert_approval_workflow_to_plumbing(porcelain.approval_workflow)
2804
+ plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
2805
+ plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
2806
+ plumbing
2807
+ end
2808
+ def self.convert_repeated_approval_workflow_history_to_plumbing(porcelains)
2809
+ items = Array.new
2810
+ porcelains.each do |porcelain|
2811
+ plumbing = convert_approval_workflow_history_to_plumbing(porcelain)
2812
+ items.append(plumbing)
2813
+ end
2814
+ items
2815
+ end
2816
+
2817
+ def self.convert_repeated_approval_workflow_history_to_porcelain(plumbings)
2818
+ items = Array.new
2819
+ plumbings.each do |plumbing|
2820
+ porcelain = convert_approval_workflow_history_to_porcelain(plumbing)
2821
+ items.append(porcelain)
2822
+ end
2823
+ items
2824
+ end
2825
+ def self.convert_approval_workflow_list_response_to_porcelain(plumbing)
2826
+ if plumbing == nil
2827
+ return nil
2828
+ end
2829
+ porcelain = ApprovalWorkflowListResponse.new()
2830
+ porcelain.approval_workflows = convert_repeated_approval_workflow_to_porcelain(plumbing.approval_workflows)
2831
+ porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
2832
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2833
+ porcelain
2834
+ end
2835
+
2836
+ def self.convert_approval_workflow_list_response_to_plumbing(porcelain)
2837
+ if porcelain == nil
2838
+ return nil
2839
+ end
2840
+ plumbing = V1::ApprovalWorkflowListResponse.new()
2841
+ plumbing.approval_workflows += convert_repeated_approval_workflow_to_plumbing(porcelain.approval_workflows)
2842
+ plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
2843
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2844
+ plumbing
2845
+ end
2846
+ def self.convert_repeated_approval_workflow_list_response_to_plumbing(porcelains)
2847
+ items = Array.new
2848
+ porcelains.each do |porcelain|
2849
+ plumbing = convert_approval_workflow_list_response_to_plumbing(porcelain)
2850
+ items.append(plumbing)
2851
+ end
2852
+ items
2853
+ end
2854
+
2855
+ def self.convert_repeated_approval_workflow_list_response_to_porcelain(plumbings)
2856
+ items = Array.new
2857
+ plumbings.each do |plumbing|
2858
+ porcelain = convert_approval_workflow_list_response_to_porcelain(plumbing)
2859
+ items.append(porcelain)
2860
+ end
2861
+ items
2862
+ end
2863
+ def self.convert_approval_workflow_step_to_porcelain(plumbing)
2864
+ if plumbing == nil
2865
+ return nil
2866
+ end
2867
+ porcelain = ApprovalWorkflowStep.new()
2868
+ porcelain.approval_flow_id = (plumbing.approval_flow_id)
2869
+ porcelain.id = (plumbing.id)
2870
+ porcelain
2871
+ end
2872
+
2873
+ def self.convert_approval_workflow_step_to_plumbing(porcelain)
2874
+ if porcelain == nil
2875
+ return nil
2876
+ end
2877
+ plumbing = V1::ApprovalWorkflowStep.new()
2878
+ plumbing.approval_flow_id = (porcelain.approval_flow_id)
2879
+ plumbing.id = (porcelain.id)
2880
+ plumbing
2881
+ end
2882
+ def self.convert_repeated_approval_workflow_step_to_plumbing(porcelains)
2883
+ items = Array.new
2884
+ porcelains.each do |porcelain|
2885
+ plumbing = convert_approval_workflow_step_to_plumbing(porcelain)
2886
+ items.append(plumbing)
2887
+ end
2888
+ items
2889
+ end
2890
+
2891
+ def self.convert_repeated_approval_workflow_step_to_porcelain(plumbings)
2892
+ items = Array.new
2893
+ plumbings.each do |plumbing|
2894
+ porcelain = convert_approval_workflow_step_to_porcelain(plumbing)
2895
+ items.append(porcelain)
2896
+ end
2897
+ items
2898
+ end
2899
+ def self.convert_approval_workflow_step_create_response_to_porcelain(plumbing)
2900
+ if plumbing == nil
2901
+ return nil
2902
+ end
2903
+ porcelain = ApprovalWorkflowStepCreateResponse.new()
2904
+ porcelain.approval_workflow_step = convert_approval_workflow_step_to_porcelain(plumbing.approval_workflow_step)
2905
+ porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
2906
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2907
+ porcelain
2908
+ end
2909
+
2910
+ def self.convert_approval_workflow_step_create_response_to_plumbing(porcelain)
1982
2911
  if porcelain == nil
1983
2912
  return nil
1984
2913
  end
1985
- plumbing = V1::AmazonEKS.new()
1986
- plumbing.access_key = (porcelain.access_key)
1987
- plumbing.bind_interface = (porcelain.bind_interface)
1988
- plumbing.certificate_authority = (porcelain.certificate_authority)
1989
- plumbing.cluster_name = (porcelain.cluster_name)
1990
- plumbing.egress_filter = (porcelain.egress_filter)
1991
- plumbing.endpoint = (porcelain.endpoint)
1992
- plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
1993
- plumbing.healthy = (porcelain.healthy)
1994
- plumbing.id = (porcelain.id)
1995
- plumbing.name = (porcelain.name)
1996
- plumbing.port_override = (porcelain.port_override)
1997
- plumbing.region = (porcelain.region)
1998
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
1999
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
2000
- plumbing.role_arn = (porcelain.role_arn)
2001
- plumbing.role_external_id = (porcelain.role_external_id)
2002
- plumbing.secret_access_key = (porcelain.secret_access_key)
2003
- plumbing.secret_store_id = (porcelain.secret_store_id)
2004
- plumbing.subdomain = (porcelain.subdomain)
2005
- plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2914
+ plumbing = V1::ApprovalWorkflowStepCreateResponse.new()
2915
+ plumbing.approval_workflow_step = convert_approval_workflow_step_to_plumbing(porcelain.approval_workflow_step)
2916
+ plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
2917
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2006
2918
  plumbing
2007
2919
  end
2008
- def self.convert_repeated_amazon_eks_to_plumbing(porcelains)
2920
+ def self.convert_repeated_approval_workflow_step_create_response_to_plumbing(porcelains)
2009
2921
  items = Array.new
2010
2922
  porcelains.each do |porcelain|
2011
- plumbing = convert_amazon_eks_to_plumbing(porcelain)
2923
+ plumbing = convert_approval_workflow_step_create_response_to_plumbing(porcelain)
2012
2924
  items.append(plumbing)
2013
2925
  end
2014
2926
  items
2015
2927
  end
2016
2928
 
2017
- def self.convert_repeated_amazon_eks_to_porcelain(plumbings)
2929
+ def self.convert_repeated_approval_workflow_step_create_response_to_porcelain(plumbings)
2018
2930
  items = Array.new
2019
2931
  plumbings.each do |plumbing|
2020
- porcelain = convert_amazon_eks_to_porcelain(plumbing)
2932
+ porcelain = convert_approval_workflow_step_create_response_to_porcelain(plumbing)
2021
2933
  items.append(porcelain)
2022
2934
  end
2023
2935
  items
2024
2936
  end
2025
- def self.convert_amazon_eks_instance_profile_to_porcelain(plumbing)
2937
+ def self.convert_approval_workflow_step_delete_response_to_porcelain(plumbing)
2026
2938
  if plumbing == nil
2027
2939
  return nil
2028
2940
  end
2029
- porcelain = AmazonEKSInstanceProfile.new()
2030
- porcelain.bind_interface = (plumbing.bind_interface)
2031
- porcelain.certificate_authority = (plumbing.certificate_authority)
2032
- porcelain.cluster_name = (plumbing.cluster_name)
2033
- porcelain.egress_filter = (plumbing.egress_filter)
2034
- porcelain.endpoint = (plumbing.endpoint)
2035
- porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
2036
- porcelain.healthy = (plumbing.healthy)
2941
+ porcelain = ApprovalWorkflowStepDeleteResponse.new()
2037
2942
  porcelain.id = (plumbing.id)
2038
- porcelain.name = (plumbing.name)
2039
- porcelain.port_override = (plumbing.port_override)
2040
- porcelain.region = (plumbing.region)
2041
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
2042
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
2043
- porcelain.role_arn = (plumbing.role_arn)
2044
- porcelain.role_external_id = (plumbing.role_external_id)
2045
- porcelain.secret_store_id = (plumbing.secret_store_id)
2046
- porcelain.subdomain = (plumbing.subdomain)
2047
- porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2943
+ porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
2944
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2048
2945
  porcelain
2049
2946
  end
2050
2947
 
2051
- def self.convert_amazon_eks_instance_profile_to_plumbing(porcelain)
2948
+ def self.convert_approval_workflow_step_delete_response_to_plumbing(porcelain)
2052
2949
  if porcelain == nil
2053
2950
  return nil
2054
2951
  end
2055
- plumbing = V1::AmazonEKSInstanceProfile.new()
2056
- plumbing.bind_interface = (porcelain.bind_interface)
2057
- plumbing.certificate_authority = (porcelain.certificate_authority)
2058
- plumbing.cluster_name = (porcelain.cluster_name)
2059
- plumbing.egress_filter = (porcelain.egress_filter)
2060
- plumbing.endpoint = (porcelain.endpoint)
2061
- plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
2062
- plumbing.healthy = (porcelain.healthy)
2952
+ plumbing = V1::ApprovalWorkflowStepDeleteResponse.new()
2063
2953
  plumbing.id = (porcelain.id)
2064
- plumbing.name = (porcelain.name)
2065
- plumbing.port_override = (porcelain.port_override)
2066
- plumbing.region = (porcelain.region)
2067
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
2068
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
2069
- plumbing.role_arn = (porcelain.role_arn)
2070
- plumbing.role_external_id = (porcelain.role_external_id)
2071
- plumbing.secret_store_id = (porcelain.secret_store_id)
2072
- plumbing.subdomain = (porcelain.subdomain)
2073
- plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2954
+ plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
2955
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2074
2956
  plumbing
2075
2957
  end
2076
- def self.convert_repeated_amazon_eks_instance_profile_to_plumbing(porcelains)
2958
+ def self.convert_repeated_approval_workflow_step_delete_response_to_plumbing(porcelains)
2077
2959
  items = Array.new
2078
2960
  porcelains.each do |porcelain|
2079
- plumbing = convert_amazon_eks_instance_profile_to_plumbing(porcelain)
2961
+ plumbing = convert_approval_workflow_step_delete_response_to_plumbing(porcelain)
2080
2962
  items.append(plumbing)
2081
2963
  end
2082
2964
  items
2083
2965
  end
2084
2966
 
2085
- def self.convert_repeated_amazon_eks_instance_profile_to_porcelain(plumbings)
2967
+ def self.convert_repeated_approval_workflow_step_delete_response_to_porcelain(plumbings)
2086
2968
  items = Array.new
2087
2969
  plumbings.each do |plumbing|
2088
- porcelain = convert_amazon_eks_instance_profile_to_porcelain(plumbing)
2970
+ porcelain = convert_approval_workflow_step_delete_response_to_porcelain(plumbing)
2089
2971
  items.append(porcelain)
2090
2972
  end
2091
2973
  items
2092
2974
  end
2093
- def self.convert_amazon_eks_instance_profile_user_impersonation_to_porcelain(plumbing)
2975
+ def self.convert_approval_workflow_step_get_response_to_porcelain(plumbing)
2094
2976
  if plumbing == nil
2095
2977
  return nil
2096
2978
  end
2097
- porcelain = AmazonEKSInstanceProfileUserImpersonation.new()
2098
- porcelain.bind_interface = (plumbing.bind_interface)
2099
- porcelain.certificate_authority = (plumbing.certificate_authority)
2100
- porcelain.cluster_name = (plumbing.cluster_name)
2101
- porcelain.egress_filter = (plumbing.egress_filter)
2102
- porcelain.endpoint = (plumbing.endpoint)
2103
- porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
2104
- porcelain.healthy = (plumbing.healthy)
2105
- porcelain.id = (plumbing.id)
2106
- porcelain.name = (plumbing.name)
2107
- porcelain.port_override = (plumbing.port_override)
2108
- porcelain.region = (plumbing.region)
2109
- porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
2110
- porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
2111
- porcelain.role_arn = (plumbing.role_arn)
2112
- porcelain.role_external_id = (plumbing.role_external_id)
2113
- porcelain.secret_store_id = (plumbing.secret_store_id)
2114
- porcelain.subdomain = (plumbing.subdomain)
2115
- porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2979
+ porcelain = ApprovalWorkflowStepGetResponse.new()
2980
+ porcelain.approval_workflow_step = convert_approval_workflow_step_to_porcelain(plumbing.approval_workflow_step)
2981
+ porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
2982
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2116
2983
  porcelain
2117
2984
  end
2118
2985
 
2119
- def self.convert_amazon_eks_instance_profile_user_impersonation_to_plumbing(porcelain)
2986
+ def self.convert_approval_workflow_step_get_response_to_plumbing(porcelain)
2120
2987
  if porcelain == nil
2121
2988
  return nil
2122
2989
  end
2123
- plumbing = V1::AmazonEKSInstanceProfileUserImpersonation.new()
2124
- plumbing.bind_interface = (porcelain.bind_interface)
2125
- plumbing.certificate_authority = (porcelain.certificate_authority)
2126
- plumbing.cluster_name = (porcelain.cluster_name)
2127
- plumbing.egress_filter = (porcelain.egress_filter)
2128
- plumbing.endpoint = (porcelain.endpoint)
2129
- plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
2130
- plumbing.healthy = (porcelain.healthy)
2131
- plumbing.id = (porcelain.id)
2132
- plumbing.name = (porcelain.name)
2133
- plumbing.port_override = (porcelain.port_override)
2134
- plumbing.region = (porcelain.region)
2135
- plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
2136
- plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
2137
- plumbing.role_arn = (porcelain.role_arn)
2138
- plumbing.role_external_id = (porcelain.role_external_id)
2139
- plumbing.secret_store_id = (porcelain.secret_store_id)
2140
- plumbing.subdomain = (porcelain.subdomain)
2141
- plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2990
+ plumbing = V1::ApprovalWorkflowStepGetResponse.new()
2991
+ plumbing.approval_workflow_step = convert_approval_workflow_step_to_plumbing(porcelain.approval_workflow_step)
2992
+ plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
2993
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2142
2994
  plumbing
2143
2995
  end
2144
- def self.convert_repeated_amazon_eks_instance_profile_user_impersonation_to_plumbing(porcelains)
2996
+ def self.convert_repeated_approval_workflow_step_get_response_to_plumbing(porcelains)
2145
2997
  items = Array.new
2146
2998
  porcelains.each do |porcelain|
2147
- plumbing = convert_amazon_eks_instance_profile_user_impersonation_to_plumbing(porcelain)
2999
+ plumbing = convert_approval_workflow_step_get_response_to_plumbing(porcelain)
2148
3000
  items.append(plumbing)
2149
3001
  end
2150
3002
  items
2151
3003
  end
2152
3004
 
2153
- def self.convert_repeated_amazon_eks_instance_profile_user_impersonation_to_porcelain(plumbings)
3005
+ def self.convert_repeated_approval_workflow_step_get_response_to_porcelain(plumbings)
2154
3006
  items = Array.new
2155
3007
  plumbings.each do |plumbing|
2156
- porcelain = convert_amazon_eks_instance_profile_user_impersonation_to_porcelain(plumbing)
3008
+ porcelain = convert_approval_workflow_step_get_response_to_porcelain(plumbing)
2157
3009
  items.append(porcelain)
2158
3010
  end
2159
3011
  items
2160
3012
  end
2161
- def self.convert_amazon_eks_user_impersonation_to_porcelain(plumbing)
3013
+ def self.convert_approval_workflow_step_history_to_porcelain(plumbing)
2162
3014
  if plumbing == nil
2163
3015
  return nil
2164
3016
  end
2165
- porcelain = AmazonEKSUserImpersonation.new()
2166
- porcelain.access_key = (plumbing.access_key)
2167
- porcelain.bind_interface = (plumbing.bind_interface)
2168
- porcelain.certificate_authority = (plumbing.certificate_authority)
2169
- porcelain.cluster_name = (plumbing.cluster_name)
2170
- porcelain.egress_filter = (plumbing.egress_filter)
2171
- porcelain.endpoint = (plumbing.endpoint)
2172
- porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
2173
- porcelain.healthy = (plumbing.healthy)
2174
- porcelain.id = (plumbing.id)
2175
- porcelain.name = (plumbing.name)
2176
- porcelain.port_override = (plumbing.port_override)
2177
- porcelain.region = (plumbing.region)
2178
- porcelain.role_arn = (plumbing.role_arn)
2179
- porcelain.role_external_id = (plumbing.role_external_id)
2180
- porcelain.secret_access_key = (plumbing.secret_access_key)
2181
- porcelain.secret_store_id = (plumbing.secret_store_id)
2182
- porcelain.subdomain = (plumbing.subdomain)
2183
- porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
3017
+ porcelain = ApprovalWorkflowStepHistory.new()
3018
+ porcelain.activity_id = (plumbing.activity_id)
3019
+ porcelain.approval_workflow_step = convert_approval_workflow_step_to_porcelain(plumbing.approval_workflow_step)
3020
+ porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
3021
+ porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
2184
3022
  porcelain
2185
3023
  end
2186
3024
 
2187
- def self.convert_amazon_eks_user_impersonation_to_plumbing(porcelain)
3025
+ def self.convert_approval_workflow_step_history_to_plumbing(porcelain)
2188
3026
  if porcelain == nil
2189
3027
  return nil
2190
3028
  end
2191
- plumbing = V1::AmazonEKSUserImpersonation.new()
2192
- plumbing.access_key = (porcelain.access_key)
2193
- plumbing.bind_interface = (porcelain.bind_interface)
2194
- plumbing.certificate_authority = (porcelain.certificate_authority)
2195
- plumbing.cluster_name = (porcelain.cluster_name)
2196
- plumbing.egress_filter = (porcelain.egress_filter)
2197
- plumbing.endpoint = (porcelain.endpoint)
2198
- plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace)
2199
- plumbing.healthy = (porcelain.healthy)
2200
- plumbing.id = (porcelain.id)
2201
- plumbing.name = (porcelain.name)
2202
- plumbing.port_override = (porcelain.port_override)
2203
- plumbing.region = (porcelain.region)
2204
- plumbing.role_arn = (porcelain.role_arn)
2205
- plumbing.role_external_id = (porcelain.role_external_id)
2206
- plumbing.secret_access_key = (porcelain.secret_access_key)
2207
- plumbing.secret_store_id = (porcelain.secret_store_id)
2208
- plumbing.subdomain = (porcelain.subdomain)
2209
- plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
3029
+ plumbing = V1::ApprovalWorkflowStepHistory.new()
3030
+ plumbing.activity_id = (porcelain.activity_id)
3031
+ plumbing.approval_workflow_step = convert_approval_workflow_step_to_plumbing(porcelain.approval_workflow_step)
3032
+ plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
3033
+ plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
2210
3034
  plumbing
2211
3035
  end
2212
- def self.convert_repeated_amazon_eks_user_impersonation_to_plumbing(porcelains)
3036
+ def self.convert_repeated_approval_workflow_step_history_to_plumbing(porcelains)
2213
3037
  items = Array.new
2214
3038
  porcelains.each do |porcelain|
2215
- plumbing = convert_amazon_eks_user_impersonation_to_plumbing(porcelain)
3039
+ plumbing = convert_approval_workflow_step_history_to_plumbing(porcelain)
2216
3040
  items.append(plumbing)
2217
3041
  end
2218
3042
  items
2219
3043
  end
2220
3044
 
2221
- def self.convert_repeated_amazon_eks_user_impersonation_to_porcelain(plumbings)
3045
+ def self.convert_repeated_approval_workflow_step_history_to_porcelain(plumbings)
2222
3046
  items = Array.new
2223
3047
  plumbings.each do |plumbing|
2224
- porcelain = convert_amazon_eks_user_impersonation_to_porcelain(plumbing)
3048
+ porcelain = convert_approval_workflow_step_history_to_porcelain(plumbing)
2225
3049
  items.append(porcelain)
2226
3050
  end
2227
3051
  items
2228
3052
  end
2229
- def self.convert_amazon_es_to_porcelain(plumbing)
3053
+ def self.convert_approval_workflow_step_list_response_to_porcelain(plumbing)
2230
3054
  if plumbing == nil
2231
3055
  return nil
2232
3056
  end
2233
- porcelain = AmazonES.new()
2234
- porcelain.access_key = (plumbing.access_key)
2235
- porcelain.bind_interface = (plumbing.bind_interface)
2236
- porcelain.egress_filter = (plumbing.egress_filter)
2237
- porcelain.endpoint = (plumbing.endpoint)
2238
- porcelain.healthy = (plumbing.healthy)
2239
- porcelain.id = (plumbing.id)
2240
- porcelain.name = (plumbing.name)
2241
- porcelain.port_override = (plumbing.port_override)
2242
- porcelain.region = (plumbing.region)
2243
- porcelain.role_arn = (plumbing.role_arn)
2244
- porcelain.role_external_id = (plumbing.role_external_id)
2245
- porcelain.secret_access_key = (plumbing.secret_access_key)
2246
- porcelain.secret_store_id = (plumbing.secret_store_id)
2247
- porcelain.subdomain = (plumbing.subdomain)
2248
- porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
3057
+ porcelain = ApprovalWorkflowStepListResponse.new()
3058
+ porcelain.approval_workflow_steps = convert_repeated_approval_workflow_step_to_porcelain(plumbing.approval_workflow_steps)
3059
+ porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
3060
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2249
3061
  porcelain
2250
3062
  end
2251
3063
 
2252
- def self.convert_amazon_es_to_plumbing(porcelain)
3064
+ def self.convert_approval_workflow_step_list_response_to_plumbing(porcelain)
2253
3065
  if porcelain == nil
2254
3066
  return nil
2255
3067
  end
2256
- plumbing = V1::AmazonES.new()
2257
- plumbing.access_key = (porcelain.access_key)
2258
- plumbing.bind_interface = (porcelain.bind_interface)
2259
- plumbing.egress_filter = (porcelain.egress_filter)
2260
- plumbing.endpoint = (porcelain.endpoint)
2261
- plumbing.healthy = (porcelain.healthy)
2262
- plumbing.id = (porcelain.id)
2263
- plumbing.name = (porcelain.name)
2264
- plumbing.port_override = (porcelain.port_override)
2265
- plumbing.region = (porcelain.region)
2266
- plumbing.role_arn = (porcelain.role_arn)
2267
- plumbing.role_external_id = (porcelain.role_external_id)
2268
- plumbing.secret_access_key = (porcelain.secret_access_key)
2269
- plumbing.secret_store_id = (porcelain.secret_store_id)
2270
- plumbing.subdomain = (porcelain.subdomain)
2271
- plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
3068
+ plumbing = V1::ApprovalWorkflowStepListResponse.new()
3069
+ plumbing.approval_workflow_steps += convert_repeated_approval_workflow_step_to_plumbing(porcelain.approval_workflow_steps)
3070
+ plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
3071
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2272
3072
  plumbing
2273
3073
  end
2274
- def self.convert_repeated_amazon_es_to_plumbing(porcelains)
3074
+ def self.convert_repeated_approval_workflow_step_list_response_to_plumbing(porcelains)
2275
3075
  items = Array.new
2276
3076
  porcelains.each do |porcelain|
2277
- plumbing = convert_amazon_es_to_plumbing(porcelain)
3077
+ plumbing = convert_approval_workflow_step_list_response_to_plumbing(porcelain)
2278
3078
  items.append(plumbing)
2279
3079
  end
2280
3080
  items
2281
3081
  end
2282
3082
 
2283
- def self.convert_repeated_amazon_es_to_porcelain(plumbings)
3083
+ def self.convert_repeated_approval_workflow_step_list_response_to_porcelain(plumbings)
2284
3084
  items = Array.new
2285
3085
  plumbings.each do |plumbing|
2286
- porcelain = convert_amazon_es_to_porcelain(plumbing)
3086
+ porcelain = convert_approval_workflow_step_list_response_to_porcelain(plumbing)
2287
3087
  items.append(porcelain)
2288
3088
  end
2289
3089
  items
2290
3090
  end
2291
- def self.convert_amazon_mqamqp_091_to_porcelain(plumbing)
3091
+ def self.convert_approval_workflow_update_response_to_porcelain(plumbing)
2292
3092
  if plumbing == nil
2293
3093
  return nil
2294
3094
  end
2295
- porcelain = AmazonMQAMQP091.new()
2296
- porcelain.bind_interface = (plumbing.bind_interface)
2297
- porcelain.egress_filter = (plumbing.egress_filter)
2298
- porcelain.healthy = (plumbing.healthy)
2299
- porcelain.hostname = (plumbing.hostname)
2300
- porcelain.id = (plumbing.id)
2301
- porcelain.name = (plumbing.name)
2302
- porcelain.password = (plumbing.password)
2303
- porcelain.port = (plumbing.port)
2304
- porcelain.port_override = (plumbing.port_override)
2305
- porcelain.secret_store_id = (plumbing.secret_store_id)
2306
- porcelain.subdomain = (plumbing.subdomain)
2307
- porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2308
- porcelain.tls_required = (plumbing.tls_required)
2309
- porcelain.username = (plumbing.username)
3095
+ porcelain = ApprovalWorkflowUpdateResponse.new()
3096
+ porcelain.approval_workflow = convert_approval_workflow_to_porcelain(plumbing.approval_workflow)
3097
+ porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
3098
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
2310
3099
  porcelain
2311
3100
  end
2312
3101
 
2313
- def self.convert_amazon_mqamqp_091_to_plumbing(porcelain)
3102
+ def self.convert_approval_workflow_update_response_to_plumbing(porcelain)
2314
3103
  if porcelain == nil
2315
3104
  return nil
2316
3105
  end
2317
- plumbing = V1::AmazonMQAMQP091.new()
2318
- plumbing.bind_interface = (porcelain.bind_interface)
2319
- plumbing.egress_filter = (porcelain.egress_filter)
2320
- plumbing.healthy = (porcelain.healthy)
2321
- plumbing.hostname = (porcelain.hostname)
2322
- plumbing.id = (porcelain.id)
2323
- plumbing.name = (porcelain.name)
2324
- plumbing.password = (porcelain.password)
2325
- plumbing.port = (porcelain.port)
2326
- plumbing.port_override = (porcelain.port_override)
2327
- plumbing.secret_store_id = (porcelain.secret_store_id)
2328
- plumbing.subdomain = (porcelain.subdomain)
2329
- plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2330
- plumbing.tls_required = (porcelain.tls_required)
2331
- plumbing.username = (porcelain.username)
3106
+ plumbing = V1::ApprovalWorkflowUpdateResponse.new()
3107
+ plumbing.approval_workflow = convert_approval_workflow_to_plumbing(porcelain.approval_workflow)
3108
+ plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta)
3109
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
2332
3110
  plumbing
2333
3111
  end
2334
- def self.convert_repeated_amazon_mqamqp_091_to_plumbing(porcelains)
3112
+ def self.convert_repeated_approval_workflow_update_response_to_plumbing(porcelains)
2335
3113
  items = Array.new
2336
3114
  porcelains.each do |porcelain|
2337
- plumbing = convert_amazon_mqamqp_091_to_plumbing(porcelain)
3115
+ plumbing = convert_approval_workflow_update_response_to_plumbing(porcelain)
2338
3116
  items.append(plumbing)
2339
3117
  end
2340
3118
  items
2341
3119
  end
2342
3120
 
2343
- def self.convert_repeated_amazon_mqamqp_091_to_porcelain(plumbings)
3121
+ def self.convert_repeated_approval_workflow_update_response_to_porcelain(plumbings)
2344
3122
  items = Array.new
2345
3123
  plumbings.each do |plumbing|
2346
- porcelain = convert_amazon_mqamqp_091_to_porcelain(plumbing)
3124
+ porcelain = convert_approval_workflow_update_response_to_porcelain(plumbing)
2347
3125
  items.append(porcelain)
2348
3126
  end
2349
3127
  items
@@ -9587,6 +10365,9 @@ module SDM
9587
10365
  return nil
9588
10366
  end
9589
10367
  plumbing = V1::SecretStore.new()
10368
+ if porcelain.instance_of? ActiveDirectoryStore
10369
+ plumbing.active_directory = convert_active_directory_store_to_plumbing(porcelain)
10370
+ end
9590
10371
  if porcelain.instance_of? AWSStore
9591
10372
  plumbing.aws = convert_aws_store_to_plumbing(porcelain)
9592
10373
  end
@@ -9648,6 +10429,9 @@ module SDM
9648
10429
  if plumbing == nil
9649
10430
  return nil
9650
10431
  end
10432
+ if plumbing.active_directory != nil
10433
+ return convert_active_directory_store_to_porcelain(plumbing.active_directory)
10434
+ end
9651
10435
  if plumbing.aws != nil
9652
10436
  return convert_aws_store_to_porcelain(plumbing.aws)
9653
10437
  end