Class: OryClient::CreateProjectNormalizedPayload

Inherits:
Object
  • Object
show all
Defined in:
lib/ory-client/models/create_project_normalized_payload.rb

Overview

Create project (normalized) request payload

Defined Under Namespace

Classes: EnumAttributeValidator

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ CreateProjectNormalizedPayload

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 1018

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::CreateProjectNormalizedPayload` initialize method"
  end

  # check to see if the attribute exists and convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h|
    if (!self.class.attribute_map.key?(k.to_sym))
      fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::CreateProjectNormalizedPayload`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    end
    h[k.to_sym] = v
  }

  if attributes.key?(:'created_at')
    self.created_at = attributes[:'created_at']
  end

  if attributes.key?(:'disable_account_experience_welcome_screen')
    self. = attributes[:'disable_account_experience_welcome_screen']
  end

  if attributes.key?(:'enable_ax_v2')
    self.enable_ax_v2 = attributes[:'enable_ax_v2']
  end

  if attributes.key?(:'environment')
    self.environment = attributes[:'environment']
  else
    self.environment = nil
  end

  if attributes.key?(:'hydra_oauth2_allowed_top_level_claims')
    if (value = attributes[:'hydra_oauth2_allowed_top_level_claims']).is_a?(Array)
      self.hydra_oauth2_allowed_top_level_claims = value
    end
  end

  if attributes.key?(:'hydra_oauth2_client_credentials_default_grant_allowed_scope')
    self.hydra_oauth2_client_credentials_default_grant_allowed_scope = attributes[:'hydra_oauth2_client_credentials_default_grant_allowed_scope']
  end

  if attributes.key?(:'hydra_oauth2_exclude_not_before_claim')
    self.hydra_oauth2_exclude_not_before_claim = attributes[:'hydra_oauth2_exclude_not_before_claim']
  end

  if attributes.key?(:'hydra_oauth2_grant_jwt_iat_optional')
    self.hydra_oauth2_grant_jwt_iat_optional = attributes[:'hydra_oauth2_grant_jwt_iat_optional']
  end

  if attributes.key?(:'hydra_oauth2_grant_jwt_jti_optional')
    self.hydra_oauth2_grant_jwt_jti_optional = attributes[:'hydra_oauth2_grant_jwt_jti_optional']
  end

  if attributes.key?(:'hydra_oauth2_grant_jwt_max_ttl')
    self.hydra_oauth2_grant_jwt_max_ttl = attributes[:'hydra_oauth2_grant_jwt_max_ttl']
  else
    self.hydra_oauth2_grant_jwt_max_ttl = '720h'
  end

  if attributes.key?(:'hydra_oauth2_mirror_top_level_claims')
    self.hydra_oauth2_mirror_top_level_claims = attributes[:'hydra_oauth2_mirror_top_level_claims']
  end

  if attributes.key?(:'hydra_oauth2_pkce_enforced')
    self.hydra_oauth2_pkce_enforced = attributes[:'hydra_oauth2_pkce_enforced']
  end

  if attributes.key?(:'hydra_oauth2_pkce_enforced_for_public_clients')
    self.hydra_oauth2_pkce_enforced_for_public_clients = attributes[:'hydra_oauth2_pkce_enforced_for_public_clients']
  end

  if attributes.key?(:'hydra_oauth2_refresh_token_hook')
    self.hydra_oauth2_refresh_token_hook = attributes[:'hydra_oauth2_refresh_token_hook']
  end

  if attributes.key?(:'hydra_oauth2_token_hook')
    self.hydra_oauth2_token_hook = attributes[:'hydra_oauth2_token_hook']
  end

  if attributes.key?(:'hydra_oidc_dynamic_client_registration_default_scope')
    if (value = attributes[:'hydra_oidc_dynamic_client_registration_default_scope']).is_a?(Array)
      self.hydra_oidc_dynamic_client_registration_default_scope = value
    end
  end

  if attributes.key?(:'hydra_oidc_dynamic_client_registration_enabled')
    self.hydra_oidc_dynamic_client_registration_enabled = attributes[:'hydra_oidc_dynamic_client_registration_enabled']
  end

  if attributes.key?(:'hydra_oidc_subject_identifiers_pairwise_salt')
    self.hydra_oidc_subject_identifiers_pairwise_salt = attributes[:'hydra_oidc_subject_identifiers_pairwise_salt']
  end

  if attributes.key?(:'hydra_oidc_subject_identifiers_supported_types')
    if (value = attributes[:'hydra_oidc_subject_identifiers_supported_types']).is_a?(Array)
      self.hydra_oidc_subject_identifiers_supported_types = value
    end
  end

  if attributes.key?(:'hydra_secrets_cookie')
    if (value = attributes[:'hydra_secrets_cookie']).is_a?(Array)
      self.hydra_secrets_cookie = value
    end
  end

  if attributes.key?(:'hydra_secrets_system')
    if (value = attributes[:'hydra_secrets_system']).is_a?(Array)
      self.hydra_secrets_system = value
    end
  end

  if attributes.key?(:'hydra_serve_cookies_same_site_legacy_workaround')
    self.hydra_serve_cookies_same_site_legacy_workaround = attributes[:'hydra_serve_cookies_same_site_legacy_workaround']
  end

  if attributes.key?(:'hydra_serve_cookies_same_site_mode')
    self.hydra_serve_cookies_same_site_mode = attributes[:'hydra_serve_cookies_same_site_mode']
  end

  if attributes.key?(:'hydra_strategies_access_token')
    self.hydra_strategies_access_token = attributes[:'hydra_strategies_access_token']
  else
    self.hydra_strategies_access_token = 'opaque'
  end

  if attributes.key?(:'hydra_strategies_scope')
    self.hydra_strategies_scope = attributes[:'hydra_strategies_scope']
  else
    self.hydra_strategies_scope = 'wildcard'
  end

  if attributes.key?(:'hydra_ttl_access_token')
    self.hydra_ttl_access_token = attributes[:'hydra_ttl_access_token']
  else
    self.hydra_ttl_access_token = '30m'
  end

  if attributes.key?(:'hydra_ttl_auth_code')
    self.hydra_ttl_auth_code = attributes[:'hydra_ttl_auth_code']
  else
    self.hydra_ttl_auth_code = '720h'
  end

  if attributes.key?(:'hydra_ttl_id_token')
    self.hydra_ttl_id_token = attributes[:'hydra_ttl_id_token']
  else
    self.hydra_ttl_id_token = '30m'
  end

  if attributes.key?(:'hydra_ttl_login_consent_request')
    self. = attributes[:'hydra_ttl_login_consent_request']
  else
    self. = '30m'
  end

  if attributes.key?(:'hydra_ttl_refresh_token')
    self.hydra_ttl_refresh_token = attributes[:'hydra_ttl_refresh_token']
  else
    self.hydra_ttl_refresh_token = '720h'
  end

  if attributes.key?(:'hydra_urls_consent')
    self.hydra_urls_consent = attributes[:'hydra_urls_consent']
  end

  if attributes.key?(:'hydra_urls_error')
    self.hydra_urls_error = attributes[:'hydra_urls_error']
  end

  if attributes.key?(:'hydra_urls_login')
    self. = attributes[:'hydra_urls_login']
  end

  if attributes.key?(:'hydra_urls_logout')
    self.hydra_urls_logout = attributes[:'hydra_urls_logout']
  end

  if attributes.key?(:'hydra_urls_post_logout_redirect')
    self.hydra_urls_post_logout_redirect = attributes[:'hydra_urls_post_logout_redirect']
  end

  if attributes.key?(:'hydra_urls_registration')
    self.hydra_urls_registration = attributes[:'hydra_urls_registration']
  end

  if attributes.key?(:'hydra_urls_self_issuer')
    self.hydra_urls_self_issuer = attributes[:'hydra_urls_self_issuer']
  end

  if attributes.key?(:'hydra_webfinger_jwks_broadcast_keys')
    if (value = attributes[:'hydra_webfinger_jwks_broadcast_keys']).is_a?(Array)
      self.hydra_webfinger_jwks_broadcast_keys = value
    end
  end

  if attributes.key?(:'hydra_webfinger_oidc_discovery_auth_url')
    self.hydra_webfinger_oidc_discovery_auth_url = attributes[:'hydra_webfinger_oidc_discovery_auth_url']
  end

  if attributes.key?(:'hydra_webfinger_oidc_discovery_client_registration_url')
    self.hydra_webfinger_oidc_discovery_client_registration_url = attributes[:'hydra_webfinger_oidc_discovery_client_registration_url']
  end

  if attributes.key?(:'hydra_webfinger_oidc_discovery_jwks_url')
    self.hydra_webfinger_oidc_discovery_jwks_url = attributes[:'hydra_webfinger_oidc_discovery_jwks_url']
  end

  if attributes.key?(:'hydra_webfinger_oidc_discovery_supported_claims')
    if (value = attributes[:'hydra_webfinger_oidc_discovery_supported_claims']).is_a?(Array)
      self.hydra_webfinger_oidc_discovery_supported_claims = value
    end
  end

  if attributes.key?(:'hydra_webfinger_oidc_discovery_supported_scope')
    if (value = attributes[:'hydra_webfinger_oidc_discovery_supported_scope']).is_a?(Array)
      self.hydra_webfinger_oidc_discovery_supported_scope = value
    end
  end

  if attributes.key?(:'hydra_webfinger_oidc_discovery_token_url')
    self.hydra_webfinger_oidc_discovery_token_url = attributes[:'hydra_webfinger_oidc_discovery_token_url']
  end

  if attributes.key?(:'hydra_webfinger_oidc_discovery_userinfo_url')
    self.hydra_webfinger_oidc_discovery_userinfo_url = attributes[:'hydra_webfinger_oidc_discovery_userinfo_url']
  end

  if attributes.key?(:'id')
    self.id = attributes[:'id']
  end

  if attributes.key?(:'keto_namespace_configuration')
    self.keto_namespace_configuration = attributes[:'keto_namespace_configuration']
  end

  if attributes.key?(:'keto_namespaces')
    if (value = attributes[:'keto_namespaces']).is_a?(Array)
      self.keto_namespaces = value
    end
  end

  if attributes.key?(:'kratos_cookies_same_site')
    self.kratos_cookies_same_site = attributes[:'kratos_cookies_same_site']
  end

  if attributes.key?(:'kratos_courier_channels')
    if (value = attributes[:'kratos_courier_channels']).is_a?(Array)
      self.kratos_courier_channels = value
    end
  end

  if attributes.key?(:'kratos_courier_delivery_strategy')
    self.kratos_courier_delivery_strategy = attributes[:'kratos_courier_delivery_strategy']
  else
    self.kratos_courier_delivery_strategy = 'smtp'
  end

  if attributes.key?(:'kratos_courier_http_request_config_auth_api_key_in')
    self.kratos_courier_http_request_config_auth_api_key_in = attributes[:'kratos_courier_http_request_config_auth_api_key_in']
  end

  if attributes.key?(:'kratos_courier_http_request_config_auth_api_key_name')
    self.kratos_courier_http_request_config_auth_api_key_name = attributes[:'kratos_courier_http_request_config_auth_api_key_name']
  end

  if attributes.key?(:'kratos_courier_http_request_config_auth_api_key_value')
    self.kratos_courier_http_request_config_auth_api_key_value = attributes[:'kratos_courier_http_request_config_auth_api_key_value']
  end

  if attributes.key?(:'kratos_courier_http_request_config_auth_basic_auth_password')
    self.kratos_courier_http_request_config_auth_basic_auth_password = attributes[:'kratos_courier_http_request_config_auth_basic_auth_password']
  end

  if attributes.key?(:'kratos_courier_http_request_config_auth_basic_auth_user')
    self.kratos_courier_http_request_config_auth_basic_auth_user = attributes[:'kratos_courier_http_request_config_auth_basic_auth_user']
  end

  if attributes.key?(:'kratos_courier_http_request_config_auth_type')
    self.kratos_courier_http_request_config_auth_type = attributes[:'kratos_courier_http_request_config_auth_type']
  else
    self.kratos_courier_http_request_config_auth_type = 'empty (no authentication)'
  end

  if attributes.key?(:'kratos_courier_http_request_config_body')
    self.kratos_courier_http_request_config_body = attributes[:'kratos_courier_http_request_config_body']
  end

  if attributes.key?(:'kratos_courier_http_request_config_headers')
    self.kratos_courier_http_request_config_headers = attributes[:'kratos_courier_http_request_config_headers']
  end

  if attributes.key?(:'kratos_courier_http_request_config_method')
    self.kratos_courier_http_request_config_method = attributes[:'kratos_courier_http_request_config_method']
  else
    self.kratos_courier_http_request_config_method = 'POST'
  end

  if attributes.key?(:'kratos_courier_http_request_config_url')
    self.kratos_courier_http_request_config_url = attributes[:'kratos_courier_http_request_config_url']
  end

  if attributes.key?(:'kratos_courier_smtp_connection_uri')
    self.kratos_courier_smtp_connection_uri = attributes[:'kratos_courier_smtp_connection_uri']
  end

  if attributes.key?(:'kratos_courier_smtp_from_address')
    self.kratos_courier_smtp_from_address = attributes[:'kratos_courier_smtp_from_address']
  end

  if attributes.key?(:'kratos_courier_smtp_from_name')
    self.kratos_courier_smtp_from_name = attributes[:'kratos_courier_smtp_from_name']
  end

  if attributes.key?(:'kratos_courier_smtp_headers')
    self.kratos_courier_smtp_headers = attributes[:'kratos_courier_smtp_headers']
  end

  if attributes.key?(:'kratos_courier_smtp_local_name')
    self.kratos_courier_smtp_local_name = attributes[:'kratos_courier_smtp_local_name']
  end

  if attributes.key?(:'kratos_courier_templates_login_code_valid_email_body_html')
    self. = attributes[:'kratos_courier_templates_login_code_valid_email_body_html']
  end

  if attributes.key?(:'kratos_courier_templates_login_code_valid_email_body_plaintext')
    self. = attributes[:'kratos_courier_templates_login_code_valid_email_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_login_code_valid_email_subject')
    self. = attributes[:'kratos_courier_templates_login_code_valid_email_subject']
  end

  if attributes.key?(:'kratos_courier_templates_login_code_valid_sms_body_plaintext')
    self. = attributes[:'kratos_courier_templates_login_code_valid_sms_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_code_invalid_email_body_html')
    self.kratos_courier_templates_recovery_code_invalid_email_body_html = attributes[:'kratos_courier_templates_recovery_code_invalid_email_body_html']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_code_invalid_email_body_plaintext')
    self.kratos_courier_templates_recovery_code_invalid_email_body_plaintext = attributes[:'kratos_courier_templates_recovery_code_invalid_email_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_code_invalid_email_subject')
    self.kratos_courier_templates_recovery_code_invalid_email_subject = attributes[:'kratos_courier_templates_recovery_code_invalid_email_subject']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_code_valid_email_body_html')
    self.kratos_courier_templates_recovery_code_valid_email_body_html = attributes[:'kratos_courier_templates_recovery_code_valid_email_body_html']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_code_valid_email_body_plaintext')
    self.kratos_courier_templates_recovery_code_valid_email_body_plaintext = attributes[:'kratos_courier_templates_recovery_code_valid_email_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_code_valid_email_subject')
    self.kratos_courier_templates_recovery_code_valid_email_subject = attributes[:'kratos_courier_templates_recovery_code_valid_email_subject']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_invalid_email_body_html')
    self.kratos_courier_templates_recovery_invalid_email_body_html = attributes[:'kratos_courier_templates_recovery_invalid_email_body_html']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_invalid_email_body_plaintext')
    self.kratos_courier_templates_recovery_invalid_email_body_plaintext = attributes[:'kratos_courier_templates_recovery_invalid_email_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_invalid_email_subject')
    self.kratos_courier_templates_recovery_invalid_email_subject = attributes[:'kratos_courier_templates_recovery_invalid_email_subject']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_valid_email_body_html')
    self.kratos_courier_templates_recovery_valid_email_body_html = attributes[:'kratos_courier_templates_recovery_valid_email_body_html']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_valid_email_body_plaintext')
    self.kratos_courier_templates_recovery_valid_email_body_plaintext = attributes[:'kratos_courier_templates_recovery_valid_email_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_recovery_valid_email_subject')
    self.kratos_courier_templates_recovery_valid_email_subject = attributes[:'kratos_courier_templates_recovery_valid_email_subject']
  end

  if attributes.key?(:'kratos_courier_templates_registration_code_valid_email_body_html')
    self.kratos_courier_templates_registration_code_valid_email_body_html = attributes[:'kratos_courier_templates_registration_code_valid_email_body_html']
  end

  if attributes.key?(:'kratos_courier_templates_registration_code_valid_email_body_plaintext')
    self.kratos_courier_templates_registration_code_valid_email_body_plaintext = attributes[:'kratos_courier_templates_registration_code_valid_email_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_registration_code_valid_email_subject')
    self.kratos_courier_templates_registration_code_valid_email_subject = attributes[:'kratos_courier_templates_registration_code_valid_email_subject']
  end

  if attributes.key?(:'kratos_courier_templates_verification_code_invalid_email_body_html')
    self.kratos_courier_templates_verification_code_invalid_email_body_html = attributes[:'kratos_courier_templates_verification_code_invalid_email_body_html']
  end

  if attributes.key?(:'kratos_courier_templates_verification_code_invalid_email_body_plaintext')
    self.kratos_courier_templates_verification_code_invalid_email_body_plaintext = attributes[:'kratos_courier_templates_verification_code_invalid_email_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_verification_code_invalid_email_subject')
    self.kratos_courier_templates_verification_code_invalid_email_subject = attributes[:'kratos_courier_templates_verification_code_invalid_email_subject']
  end

  if attributes.key?(:'kratos_courier_templates_verification_code_valid_email_body_html')
    self.kratos_courier_templates_verification_code_valid_email_body_html = attributes[:'kratos_courier_templates_verification_code_valid_email_body_html']
  end

  if attributes.key?(:'kratos_courier_templates_verification_code_valid_email_body_plaintext')
    self.kratos_courier_templates_verification_code_valid_email_body_plaintext = attributes[:'kratos_courier_templates_verification_code_valid_email_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_verification_code_valid_email_subject')
    self.kratos_courier_templates_verification_code_valid_email_subject = attributes[:'kratos_courier_templates_verification_code_valid_email_subject']
  end

  if attributes.key?(:'kratos_courier_templates_verification_code_valid_sms_body_plaintext')
    self.kratos_courier_templates_verification_code_valid_sms_body_plaintext = attributes[:'kratos_courier_templates_verification_code_valid_sms_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_verification_invalid_email_body_html')
    self.kratos_courier_templates_verification_invalid_email_body_html = attributes[:'kratos_courier_templates_verification_invalid_email_body_html']
  end

  if attributes.key?(:'kratos_courier_templates_verification_invalid_email_body_plaintext')
    self.kratos_courier_templates_verification_invalid_email_body_plaintext = attributes[:'kratos_courier_templates_verification_invalid_email_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_verification_invalid_email_subject')
    self.kratos_courier_templates_verification_invalid_email_subject = attributes[:'kratos_courier_templates_verification_invalid_email_subject']
  end

  if attributes.key?(:'kratos_courier_templates_verification_valid_email_body_html')
    self.kratos_courier_templates_verification_valid_email_body_html = attributes[:'kratos_courier_templates_verification_valid_email_body_html']
  end

  if attributes.key?(:'kratos_courier_templates_verification_valid_email_body_plaintext')
    self.kratos_courier_templates_verification_valid_email_body_plaintext = attributes[:'kratos_courier_templates_verification_valid_email_body_plaintext']
  end

  if attributes.key?(:'kratos_courier_templates_verification_valid_email_subject')
    self.kratos_courier_templates_verification_valid_email_subject = attributes[:'kratos_courier_templates_verification_valid_email_subject']
  end

  if attributes.key?(:'kratos_feature_flags_cacheable_sessions')
    self.kratos_feature_flags_cacheable_sessions = attributes[:'kratos_feature_flags_cacheable_sessions']
  end

  if attributes.key?(:'kratos_feature_flags_use_continue_with_transitions')
    self.kratos_feature_flags_use_continue_with_transitions = attributes[:'kratos_feature_flags_use_continue_with_transitions']
  end

  if attributes.key?(:'kratos_identity_schemas')
    if (value = attributes[:'kratos_identity_schemas']).is_a?(Array)
      self.kratos_identity_schemas = value
    end
  end

  if attributes.key?(:'kratos_oauth2_provider_headers')
    self.kratos_oauth2_provider_headers = attributes[:'kratos_oauth2_provider_headers']
  end

  if attributes.key?(:'kratos_oauth2_provider_override_return_to')
    self.kratos_oauth2_provider_override_return_to = attributes[:'kratos_oauth2_provider_override_return_to']
  end

  if attributes.key?(:'kratos_oauth2_provider_url')
    self.kratos_oauth2_provider_url = attributes[:'kratos_oauth2_provider_url']
  end

  if attributes.key?(:'kratos_preview_default_read_consistency_level')
    self.kratos_preview_default_read_consistency_level = attributes[:'kratos_preview_default_read_consistency_level']
  end

  if attributes.key?(:'kratos_secrets_cipher')
    if (value = attributes[:'kratos_secrets_cipher']).is_a?(Array)
      self.kratos_secrets_cipher = value
    end
  end

  if attributes.key?(:'kratos_secrets_cookie')
    if (value = attributes[:'kratos_secrets_cookie']).is_a?(Array)
      self.kratos_secrets_cookie = value
    end
  end

  if attributes.key?(:'kratos_secrets_default')
    if (value = attributes[:'kratos_secrets_default']).is_a?(Array)
      self.kratos_secrets_default = value
    end
  end

  if attributes.key?(:'kratos_selfservice_allowed_return_urls')
    if (value = attributes[:'kratos_selfservice_allowed_return_urls']).is_a?(Array)
      self.kratos_selfservice_allowed_return_urls = value
    end
  end

  if attributes.key?(:'kratos_selfservice_default_browser_return_url')
    self.kratos_selfservice_default_browser_return_url = attributes[:'kratos_selfservice_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_error_ui_url')
    self.kratos_selfservice_flows_error_ui_url = attributes[:'kratos_selfservice_flows_error_ui_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_login_after_code_default_browser_return_url')
    self. = attributes[:'kratos_selfservice_flows_login_after_code_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_login_after_default_browser_return_url')
    self. = attributes[:'kratos_selfservice_flows_login_after_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url')
    self. = attributes[:'kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_login_after_oidc_default_browser_return_url')
    self. = attributes[:'kratos_selfservice_flows_login_after_oidc_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_login_after_password_default_browser_return_url')
    self. = attributes[:'kratos_selfservice_flows_login_after_password_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_login_after_totp_default_browser_return_url')
    self. = attributes[:'kratos_selfservice_flows_login_after_totp_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_login_after_webauthn_default_browser_return_url')
    self. = attributes[:'kratos_selfservice_flows_login_after_webauthn_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_login_lifespan')
    self. = attributes[:'kratos_selfservice_flows_login_lifespan']
  end

  if attributes.key?(:'kratos_selfservice_flows_login_ui_url')
    self. = attributes[:'kratos_selfservice_flows_login_ui_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_logout_after_default_browser_return_url')
    self.kratos_selfservice_flows_logout_after_default_browser_return_url = attributes[:'kratos_selfservice_flows_logout_after_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_recovery_after_default_browser_return_url')
    self.kratos_selfservice_flows_recovery_after_default_browser_return_url = attributes[:'kratos_selfservice_flows_recovery_after_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_recovery_enabled')
    self.kratos_selfservice_flows_recovery_enabled = attributes[:'kratos_selfservice_flows_recovery_enabled']
  end

  if attributes.key?(:'kratos_selfservice_flows_recovery_lifespan')
    self.kratos_selfservice_flows_recovery_lifespan = attributes[:'kratos_selfservice_flows_recovery_lifespan']
  end

  if attributes.key?(:'kratos_selfservice_flows_recovery_notify_unknown_recipients')
    self.kratos_selfservice_flows_recovery_notify_unknown_recipients = attributes[:'kratos_selfservice_flows_recovery_notify_unknown_recipients']
  end

  if attributes.key?(:'kratos_selfservice_flows_recovery_ui_url')
    self.kratos_selfservice_flows_recovery_ui_url = attributes[:'kratos_selfservice_flows_recovery_ui_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_recovery_use')
    self.kratos_selfservice_flows_recovery_use = attributes[:'kratos_selfservice_flows_recovery_use']
  end

  if attributes.key?(:'kratos_selfservice_flows_registration_after_code_default_browser_return_url')
    self.kratos_selfservice_flows_registration_after_code_default_browser_return_url = attributes[:'kratos_selfservice_flows_registration_after_code_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_registration_after_default_browser_return_url')
    self.kratos_selfservice_flows_registration_after_default_browser_return_url = attributes[:'kratos_selfservice_flows_registration_after_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_registration_after_oidc_default_browser_return_url')
    self.kratos_selfservice_flows_registration_after_oidc_default_browser_return_url = attributes[:'kratos_selfservice_flows_registration_after_oidc_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_registration_after_password_default_browser_return_url')
    self.kratos_selfservice_flows_registration_after_password_default_browser_return_url = attributes[:'kratos_selfservice_flows_registration_after_password_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url')
    self.kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url = attributes[:'kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_registration_enabled')
    self.kratos_selfservice_flows_registration_enabled = attributes[:'kratos_selfservice_flows_registration_enabled']
  end

  if attributes.key?(:'kratos_selfservice_flows_registration_lifespan')
    self.kratos_selfservice_flows_registration_lifespan = attributes[:'kratos_selfservice_flows_registration_lifespan']
  end

  if attributes.key?(:'kratos_selfservice_flows_registration_login_hints')
    self. = attributes[:'kratos_selfservice_flows_registration_login_hints']
  end

  if attributes.key?(:'kratos_selfservice_flows_registration_ui_url')
    self.kratos_selfservice_flows_registration_ui_url = attributes[:'kratos_selfservice_flows_registration_ui_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_settings_after_default_browser_return_url')
    self.kratos_selfservice_flows_settings_after_default_browser_return_url = attributes[:'kratos_selfservice_flows_settings_after_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url')
    self.kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url = attributes[:'kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_settings_after_oidc_default_browser_return_url')
    self.kratos_selfservice_flows_settings_after_oidc_default_browser_return_url = attributes[:'kratos_selfservice_flows_settings_after_oidc_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_settings_after_password_default_browser_return_url')
    self.kratos_selfservice_flows_settings_after_password_default_browser_return_url = attributes[:'kratos_selfservice_flows_settings_after_password_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_settings_after_profile_default_browser_return_url')
    self.kratos_selfservice_flows_settings_after_profile_default_browser_return_url = attributes[:'kratos_selfservice_flows_settings_after_profile_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_settings_after_totp_default_browser_return_url')
    self.kratos_selfservice_flows_settings_after_totp_default_browser_return_url = attributes[:'kratos_selfservice_flows_settings_after_totp_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url')
    self.kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url = attributes[:'kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_settings_lifespan')
    self.kratos_selfservice_flows_settings_lifespan = attributes[:'kratos_selfservice_flows_settings_lifespan']
  end

  if attributes.key?(:'kratos_selfservice_flows_settings_privileged_session_max_age')
    self.kratos_selfservice_flows_settings_privileged_session_max_age = attributes[:'kratos_selfservice_flows_settings_privileged_session_max_age']
  end

  if attributes.key?(:'kratos_selfservice_flows_settings_required_aal')
    self.kratos_selfservice_flows_settings_required_aal = attributes[:'kratos_selfservice_flows_settings_required_aal']
  end

  if attributes.key?(:'kratos_selfservice_flows_settings_ui_url')
    self.kratos_selfservice_flows_settings_ui_url = attributes[:'kratos_selfservice_flows_settings_ui_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_verification_after_default_browser_return_url')
    self.kratos_selfservice_flows_verification_after_default_browser_return_url = attributes[:'kratos_selfservice_flows_verification_after_default_browser_return_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_verification_enabled')
    self.kratos_selfservice_flows_verification_enabled = attributes[:'kratos_selfservice_flows_verification_enabled']
  end

  if attributes.key?(:'kratos_selfservice_flows_verification_lifespan')
    self.kratos_selfservice_flows_verification_lifespan = attributes[:'kratos_selfservice_flows_verification_lifespan']
  end

  if attributes.key?(:'kratos_selfservice_flows_verification_notify_unknown_recipients')
    self.kratos_selfservice_flows_verification_notify_unknown_recipients = attributes[:'kratos_selfservice_flows_verification_notify_unknown_recipients']
  end

  if attributes.key?(:'kratos_selfservice_flows_verification_ui_url')
    self.kratos_selfservice_flows_verification_ui_url = attributes[:'kratos_selfservice_flows_verification_ui_url']
  end

  if attributes.key?(:'kratos_selfservice_flows_verification_use')
    self.kratos_selfservice_flows_verification_use = attributes[:'kratos_selfservice_flows_verification_use']
  end

  if attributes.key?(:'kratos_selfservice_methods_code_config_lifespan')
    self.kratos_selfservice_methods_code_config_lifespan = attributes[:'kratos_selfservice_methods_code_config_lifespan']
  end

  if attributes.key?(:'kratos_selfservice_methods_code_enabled')
    self.kratos_selfservice_methods_code_enabled = attributes[:'kratos_selfservice_methods_code_enabled']
  end

  if attributes.key?(:'kratos_selfservice_methods_code_mfa_enabled')
    self.kratos_selfservice_methods_code_mfa_enabled = attributes[:'kratos_selfservice_methods_code_mfa_enabled']
  end

  if attributes.key?(:'kratos_selfservice_methods_code_passwordless_enabled')
    self.kratos_selfservice_methods_code_passwordless_enabled = attributes[:'kratos_selfservice_methods_code_passwordless_enabled']
  end

  if attributes.key?(:'kratos_selfservice_methods_link_config_base_url')
    self.kratos_selfservice_methods_link_config_base_url = attributes[:'kratos_selfservice_methods_link_config_base_url']
  end

  if attributes.key?(:'kratos_selfservice_methods_link_config_lifespan')
    self.kratos_selfservice_methods_link_config_lifespan = attributes[:'kratos_selfservice_methods_link_config_lifespan']
  end

  if attributes.key?(:'kratos_selfservice_methods_link_enabled')
    self.kratos_selfservice_methods_link_enabled = attributes[:'kratos_selfservice_methods_link_enabled']
  end

  if attributes.key?(:'kratos_selfservice_methods_lookup_secret_enabled')
    self.kratos_selfservice_methods_lookup_secret_enabled = attributes[:'kratos_selfservice_methods_lookup_secret_enabled']
  end

  if attributes.key?(:'kratos_selfservice_methods_oidc_config_base_redirect_uri')
    self.kratos_selfservice_methods_oidc_config_base_redirect_uri = attributes[:'kratos_selfservice_methods_oidc_config_base_redirect_uri']
  end

  if attributes.key?(:'kratos_selfservice_methods_oidc_config_providers')
    if (value = attributes[:'kratos_selfservice_methods_oidc_config_providers']).is_a?(Array)
      self.kratos_selfservice_methods_oidc_config_providers = value
    end
  end

  if attributes.key?(:'kratos_selfservice_methods_oidc_enabled')
    self.kratos_selfservice_methods_oidc_enabled = attributes[:'kratos_selfservice_methods_oidc_enabled']
  end

  if attributes.key?(:'kratos_selfservice_methods_password_config_haveibeenpwned_enabled')
    self.kratos_selfservice_methods_password_config_haveibeenpwned_enabled = attributes[:'kratos_selfservice_methods_password_config_haveibeenpwned_enabled']
  end

  if attributes.key?(:'kratos_selfservice_methods_password_config_identifier_similarity_check_enabled')
    self.kratos_selfservice_methods_password_config_identifier_similarity_check_enabled = attributes[:'kratos_selfservice_methods_password_config_identifier_similarity_check_enabled']
  end

  if attributes.key?(:'kratos_selfservice_methods_password_config_ignore_network_errors')
    self.kratos_selfservice_methods_password_config_ignore_network_errors = attributes[:'kratos_selfservice_methods_password_config_ignore_network_errors']
  end

  if attributes.key?(:'kratos_selfservice_methods_password_config_max_breaches')
    self.kratos_selfservice_methods_password_config_max_breaches = attributes[:'kratos_selfservice_methods_password_config_max_breaches']
  end

  if attributes.key?(:'kratos_selfservice_methods_password_config_min_password_length')
    self.kratos_selfservice_methods_password_config_min_password_length = attributes[:'kratos_selfservice_methods_password_config_min_password_length']
  end

  if attributes.key?(:'kratos_selfservice_methods_password_enabled')
    self.kratos_selfservice_methods_password_enabled = attributes[:'kratos_selfservice_methods_password_enabled']
  end

  if attributes.key?(:'kratos_selfservice_methods_profile_enabled')
    self.kratos_selfservice_methods_profile_enabled = attributes[:'kratos_selfservice_methods_profile_enabled']
  end

  if attributes.key?(:'kratos_selfservice_methods_totp_config_issuer')
    self.kratos_selfservice_methods_totp_config_issuer = attributes[:'kratos_selfservice_methods_totp_config_issuer']
  end

  if attributes.key?(:'kratos_selfservice_methods_totp_enabled')
    self.kratos_selfservice_methods_totp_enabled = attributes[:'kratos_selfservice_methods_totp_enabled']
  end

  if attributes.key?(:'kratos_selfservice_methods_webauthn_config_passwordless')
    self.kratos_selfservice_methods_webauthn_config_passwordless = attributes[:'kratos_selfservice_methods_webauthn_config_passwordless']
  end

  if attributes.key?(:'kratos_selfservice_methods_webauthn_config_rp_display_name')
    self.kratos_selfservice_methods_webauthn_config_rp_display_name = attributes[:'kratos_selfservice_methods_webauthn_config_rp_display_name']
  end

  if attributes.key?(:'kratos_selfservice_methods_webauthn_config_rp_icon')
    self.kratos_selfservice_methods_webauthn_config_rp_icon = attributes[:'kratos_selfservice_methods_webauthn_config_rp_icon']
  end

  if attributes.key?(:'kratos_selfservice_methods_webauthn_config_rp_id')
    self.kratos_selfservice_methods_webauthn_config_rp_id = attributes[:'kratos_selfservice_methods_webauthn_config_rp_id']
  end

  if attributes.key?(:'kratos_selfservice_methods_webauthn_config_rp_origins')
    if (value = attributes[:'kratos_selfservice_methods_webauthn_config_rp_origins']).is_a?(Array)
      self.kratos_selfservice_methods_webauthn_config_rp_origins = value
    end
  end

  if attributes.key?(:'kratos_selfservice_methods_webauthn_enabled')
    self.kratos_selfservice_methods_webauthn_enabled = attributes[:'kratos_selfservice_methods_webauthn_enabled']
  end

  if attributes.key?(:'kratos_session_cookie_persistent')
    self.kratos_session_cookie_persistent = attributes[:'kratos_session_cookie_persistent']
  end

  if attributes.key?(:'kratos_session_cookie_same_site')
    self.kratos_session_cookie_same_site = attributes[:'kratos_session_cookie_same_site']
  end

  if attributes.key?(:'kratos_session_lifespan')
    self.kratos_session_lifespan = attributes[:'kratos_session_lifespan']
  end

  if attributes.key?(:'kratos_session_whoami_required_aal')
    self.kratos_session_whoami_required_aal = attributes[:'kratos_session_whoami_required_aal']
  end

  if attributes.key?(:'kratos_session_whoami_tokenizer_templates')
    if (value = attributes[:'kratos_session_whoami_tokenizer_templates']).is_a?(Array)
      self.kratos_session_whoami_tokenizer_templates = value
    end
  end

  if attributes.key?(:'name')
    self.name = attributes[:'name']
  else
    self.name = nil
  end

  if attributes.key?(:'project_id')
    self.project_id = attributes[:'project_id']
  end

  if attributes.key?(:'project_revision_hooks')
    if (value = attributes[:'project_revision_hooks']).is_a?(Array)
      self.project_revision_hooks = value
    end
  end

  if attributes.key?(:'serve_admin_cors_allowed_origins')
    if (value = attributes[:'serve_admin_cors_allowed_origins']).is_a?(Array)
      self.serve_admin_cors_allowed_origins = value
    end
  end

  if attributes.key?(:'serve_admin_cors_enabled')
    self.serve_admin_cors_enabled = attributes[:'serve_admin_cors_enabled']
  end

  if attributes.key?(:'serve_public_cors_allowed_origins')
    if (value = attributes[:'serve_public_cors_allowed_origins']).is_a?(Array)
      self.serve_public_cors_allowed_origins = value
    end
  end

  if attributes.key?(:'serve_public_cors_enabled')
    self.serve_public_cors_enabled = attributes[:'serve_public_cors_enabled']
  end

  if attributes.key?(:'strict_security')
    self.strict_security = attributes[:'strict_security']
  end

  if attributes.key?(:'updated_at')
    self.updated_at = attributes[:'updated_at']
  end

  if attributes.key?(:'workspace_id')
    self.workspace_id = attributes[:'workspace_id']
  end
end

Instance Attribute Details

#created_atObject

The Project’s Revision Creation Date



20
21
22
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 20

def created_at
  @created_at
end

#disable_account_experience_welcome_screenObject

Whether to disable the account experience welcome screen, which is hosted under ‘/ui/welcome`.



23
24
25
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 23

def 
  @disable_account_experience_welcome_screen
end

#enable_ax_v2Object

Whether the new account experience is enabled and reachable.



26
27
28
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 26

def enable_ax_v2
  @enable_ax_v2
end

#environmentObject

prod Production dev Development



29
30
31
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 29

def environment
  @environment
end

#hydra_oauth2_allowed_top_level_claimsObject

Returns the value of attribute hydra_oauth2_allowed_top_level_claims.



31
32
33
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 31

def hydra_oauth2_allowed_top_level_claims
  @hydra_oauth2_allowed_top_level_claims
end

#hydra_oauth2_client_credentials_default_grant_allowed_scopeObject

Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example ‘read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow. If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid. This governs the "oauth2.client_credentials.default_grant_allowed_scope" setting.



34
35
36
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 34

def hydra_oauth2_client_credentials_default_grant_allowed_scope
  @hydra_oauth2_client_credentials_default_grant_allowed_scope
end

#hydra_oauth2_exclude_not_before_claimObject

Set to true if you want to exclude claim ‘nbf (not before)` part of access token. This governs the "oauth2.exclude_not_before_claim" setting.



37
38
39
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 37

def hydra_oauth2_exclude_not_before_claim
  @hydra_oauth2_exclude_not_before_claim
end

#hydra_oauth2_grant_jwt_iat_optionalObject

Configures if the issued at (‘iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the "oauth2.grant.jwt.iat_optional" setting.



40
41
42
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 40

def hydra_oauth2_grant_jwt_iat_optional
  @hydra_oauth2_grant_jwt_iat_optional
end

#hydra_oauth2_grant_jwt_jti_optionalObject

Configures if the JSON Web Token ID (‘jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the "oauth2.grant.jwt.jti_optional" setting.



43
44
45
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 43

def hydra_oauth2_grant_jwt_jti_optional
  @hydra_oauth2_grant_jwt_jti_optional
end

#hydra_oauth2_grant_jwt_max_ttlObject

Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the ‘exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the "oauth2.grant.jwt.max_ttl" setting.



46
47
48
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 46

def hydra_oauth2_grant_jwt_max_ttl
  @hydra_oauth2_grant_jwt_max_ttl
end

#hydra_oauth2_mirror_top_level_claimsObject

Set to false if you don’t want to mirror custom claims under ‘ext’. This governs the "oauth2.mirror_top_level_claims" setting.



49
50
51
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 49

def hydra_oauth2_mirror_top_level_claims
  @hydra_oauth2_mirror_top_level_claims
end

#hydra_oauth2_pkce_enforcedObject

Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the "oauth2.pkce.enforced" setting.



52
53
54
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 52

def hydra_oauth2_pkce_enforced
  @hydra_oauth2_pkce_enforced
end

#hydra_oauth2_pkce_enforced_for_public_clientsObject

Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the "oauth2.pkce.enforced_for_public_clients" setting.



55
56
57
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 55

def hydra_oauth2_pkce_enforced_for_public_clients
  @hydra_oauth2_pkce_enforced_for_public_clients
end

#hydra_oauth2_refresh_token_hookObject

Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the "oauth2.refresh_token_hook" setting.



58
59
60
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 58

def hydra_oauth2_refresh_token_hook
  @hydra_oauth2_refresh_token_hook
end

#hydra_oauth2_token_hookObject

Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims. This governs the "oauth2.token_hook.url" setting.



61
62
63
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 61

def hydra_oauth2_token_hook
  @hydra_oauth2_token_hook
end

#hydra_oidc_dynamic_client_registration_default_scopeObject

Returns the value of attribute hydra_oidc_dynamic_client_registration_default_scope.



63
64
65
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 63

def hydra_oidc_dynamic_client_registration_default_scope
  @hydra_oidc_dynamic_client_registration_default_scope
end

#hydra_oidc_dynamic_client_registration_enabledObject

Configures OpenID Connect Dynamic Client Registration. This governs the "oidc.dynamic_client_registration.enabled" setting.



66
67
68
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 66

def hydra_oidc_dynamic_client_registration_enabled
  @hydra_oidc_dynamic_client_registration_enabled
end

#hydra_oidc_subject_identifiers_pairwise_saltObject

Configures OpenID Connect Discovery and overwrites the pairwise algorithm This governs the "oidc.subject_identifiers.pairwise_salt" setting.



69
70
71
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 69

def hydra_oidc_subject_identifiers_pairwise_salt
  @hydra_oidc_subject_identifiers_pairwise_salt
end

#hydra_oidc_subject_identifiers_supported_typesObject

Returns the value of attribute hydra_oidc_subject_identifiers_supported_types.



71
72
73
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 71

def hydra_oidc_subject_identifiers_supported_types
  @hydra_oidc_subject_identifiers_supported_types
end

Returns the value of attribute hydra_secrets_cookie.



73
74
75
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 73

def hydra_secrets_cookie
  @hydra_secrets_cookie
end

#hydra_secrets_systemObject

Returns the value of attribute hydra_secrets_system.



75
76
77
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 75

def hydra_secrets_system
  @hydra_secrets_system
end

#hydra_serve_cookies_same_site_legacy_workaroundObject

Configures the Ory Hydra Cookie Same Site Legacy Workaround This governs the "serve.cookies.same_site_legacy_workaround" setting.



78
79
80
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 78

def hydra_serve_cookies_same_site_legacy_workaround
  @hydra_serve_cookies_same_site_legacy_workaround
end

#hydra_serve_cookies_same_site_modeObject

Configures the Ory Hydra Cookie Same Site Mode This governs the "serve.cookies.same_site_mode" setting.



81
82
83
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 81

def hydra_serve_cookies_same_site_mode
  @hydra_serve_cookies_same_site_mode
end

#hydra_strategies_access_tokenObject

Defines access token type. jwt is a bad idea, see www.ory.sh/docs/hydra/advanced#json-web-tokens This governs the "strategies.access_token" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt



84
85
86
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 84

def hydra_strategies_access_token
  @hydra_strategies_access_token
end

#hydra_strategies_scopeObject

Defines how scopes are matched. For more details have a look at github.com/ory/fosite#scopes This governs the "strategies.scope" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard



87
88
89
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 87

def hydra_strategies_scope
  @hydra_strategies_scope
end

#hydra_ttl_access_tokenObject

This governs the "ttl.access_token" setting.



90
91
92
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 90

def hydra_ttl_access_token
  @hydra_ttl_access_token
end

#hydra_ttl_auth_codeObject

Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the "ttl.auth_code" setting.



93
94
95
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 93

def hydra_ttl_auth_code
  @hydra_ttl_auth_code
end

#hydra_ttl_id_tokenObject

This governs the "ttl.id_token" setting.



96
97
98
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 96

def hydra_ttl_id_token
  @hydra_ttl_id_token
end

Configures how long a user login and consent flow may take. This governs the "ttl.login_consent_request" setting.



99
100
101
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 99

def 
  @hydra_ttl_login_consent_request
end

#hydra_ttl_refresh_tokenObject

Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the "ttl.refresh_token" setting.



102
103
104
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 102

def hydra_ttl_refresh_token
  @hydra_ttl_refresh_token
end

Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the "urls.consent" setting.



105
106
107
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 105

def hydra_urls_consent
  @hydra_urls_consent
end

#hydra_urls_errorObject

Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the "urls.error" setting.



108
109
110
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 108

def hydra_urls_error
  @hydra_urls_error
end

#hydra_urls_loginObject

Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the "urls.login" setting.



111
112
113
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 111

def 
  @hydra_urls_login
end

#hydra_urls_logoutObject

Sets the logout endpoint. Defaults to the Ory Account Experience if left empty. This governs the "urls.logout" setting.



114
115
116
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 114

def hydra_urls_logout
  @hydra_urls_logout
end

#hydra_urls_post_logout_redirectObject

When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default. Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected. This governs the "urls.post_logout_redirect" setting.



117
118
119
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 117

def hydra_urls_post_logout_redirect
  @hydra_urls_post_logout_redirect
end

#hydra_urls_registrationObject

Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the "urls.registration" setting.



120
121
122
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 120

def hydra_urls_registration
  @hydra_urls_registration
end

#hydra_urls_self_issuerObject

This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled. On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network. This governs the "urls.self.issuer" setting.



123
124
125
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 123

def hydra_urls_self_issuer
  @hydra_urls_self_issuer
end

#hydra_webfinger_jwks_broadcast_keysObject

Returns the value of attribute hydra_webfinger_jwks_broadcast_keys.



125
126
127
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 125

def hydra_webfinger_jwks_broadcast_keys
  @hydra_webfinger_jwks_broadcast_keys
end

#hydra_webfinger_oidc_discovery_auth_urlObject

Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL. This governs the "webfinger.oidc.discovery.auth_url" setting.



128
129
130
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 128

def hydra_webfinger_oidc_discovery_auth_url
  @hydra_webfinger_oidc_discovery_auth_url
end

#hydra_webfinger_oidc_discovery_client_registration_urlObject

Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint. This governs the "webfinger.oidc.discovery.client_registration_url" setting.



131
132
133
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 131

def hydra_webfinger_oidc_discovery_client_registration_url
  @hydra_webfinger_oidc_discovery_client_registration_url
end

#hydra_webfinger_oidc_discovery_jwks_urlObject

Configures OpenID Connect Discovery and overwrites the JWKS URL. This governs the "webfinger.oidc.discovery.jwks_url" setting.



134
135
136
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 134

def hydra_webfinger_oidc_discovery_jwks_url
  @hydra_webfinger_oidc_discovery_jwks_url
end

#hydra_webfinger_oidc_discovery_supported_claimsObject

Returns the value of attribute hydra_webfinger_oidc_discovery_supported_claims.



136
137
138
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 136

def hydra_webfinger_oidc_discovery_supported_claims
  @hydra_webfinger_oidc_discovery_supported_claims
end

#hydra_webfinger_oidc_discovery_supported_scopeObject

Returns the value of attribute hydra_webfinger_oidc_discovery_supported_scope.



138
139
140
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 138

def hydra_webfinger_oidc_discovery_supported_scope
  @hydra_webfinger_oidc_discovery_supported_scope
end

#hydra_webfinger_oidc_discovery_token_urlObject

Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the "webfinger.oidc.discovery.token_url" setting.



141
142
143
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 141

def hydra_webfinger_oidc_discovery_token_url
  @hydra_webfinger_oidc_discovery_token_url
end

#hydra_webfinger_oidc_discovery_userinfo_urlObject

Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra’s userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself. This governs the "webfinger.oidc.discovery.userinfo_url" setting.



144
145
146
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 144

def hydra_webfinger_oidc_discovery_userinfo_url
  @hydra_webfinger_oidc_discovery_userinfo_url
end

#idObject

The revision ID.



147
148
149
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 147

def id
  @id
end

#keto_namespace_configurationObject

The Revisions’ Keto Namespace Configuration The string is a URL pointing to an OPL file with the configuration.



150
151
152
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 150

def keto_namespace_configuration
  @keto_namespace_configuration
end

#keto_namespacesObject

Returns the value of attribute keto_namespaces.



152
153
154
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 152

def keto_namespaces
  @keto_namespaces
end

#kratos_cookies_same_siteObject

Configures the Ory Kratos Cookie SameSite Attribute This governs the "cookies.same_site" setting.



155
156
157
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 155

def kratos_cookies_same_site
  @kratos_cookies_same_site
end

#kratos_courier_channelsObject

Returns the value of attribute kratos_courier_channels.



157
158
159
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 157

def kratos_courier_channels
  @kratos_courier_channels
end

#kratos_courier_delivery_strategyObject

The delivery strategy to use when sending emails ‘smtp`: Use SMTP server `http`: Use the built in HTTP client to send the email to some remote service



160
161
162
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 160

def kratos_courier_delivery_strategy
  @kratos_courier_delivery_strategy
end

#kratos_courier_http_request_config_auth_api_key_inObject

The location of the API key to use in the HTTP email sending service’s authentication ‘header`: Send the key value pair as a header `cookie`: Send the key value pair as a cookie This governs the "courier.http.auth.config.in" setting



163
164
165
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 163

def kratos_courier_http_request_config_auth_api_key_in
  @kratos_courier_http_request_config_auth_api_key_in
end

#kratos_courier_http_request_config_auth_api_key_nameObject

The name of the API key to use in the HTTP email sending service’s authentication This governs the "courier.http.auth.config.name" setting



166
167
168
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 166

def kratos_courier_http_request_config_auth_api_key_name
  @kratos_courier_http_request_config_auth_api_key_name
end

#kratos_courier_http_request_config_auth_api_key_valueObject

The value of the API key to use in the HTTP email sending service’s authentication This governs the "courier.http.auth.config.value" setting



169
170
171
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 169

def kratos_courier_http_request_config_auth_api_key_value
  @kratos_courier_http_request_config_auth_api_key_value
end

#kratos_courier_http_request_config_auth_basic_auth_passwordObject

The password to use for basic auth in the HTTP email sending service’s authentication This governs the "courier.http.auth.config.password" setting



172
173
174
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 172

def kratos_courier_http_request_config_auth_basic_auth_password
  @kratos_courier_http_request_config_auth_basic_auth_password
end

#kratos_courier_http_request_config_auth_basic_auth_userObject

The user to use for basic auth in the HTTP email sending service’s authentication This governs the "courier.http.auth.config.user" setting



175
176
177
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 175

def kratos_courier_http_request_config_auth_basic_auth_user
  @kratos_courier_http_request_config_auth_basic_auth_user
end

#kratos_courier_http_request_config_auth_typeObject

The authentication type to use while contacting the remote HTTP email sending service ‘basic_auth`: Use Basic Authentication `api_key`: Use API Key Authentication in a header or cookie



178
179
180
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 178

def kratos_courier_http_request_config_auth_type
  @kratos_courier_http_request_config_auth_type
end

#kratos_courier_http_request_config_bodyObject

The Jsonnet template to generate the body to send to the remote HTTP email sending service Should be valid Jsonnet and base64 encoded This governs the "courier.http.body" setting



181
182
183
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 181

def kratos_courier_http_request_config_body
  @kratos_courier_http_request_config_body
end

#kratos_courier_http_request_config_headersObject

NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-



184
185
186
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 184

def kratos_courier_http_request_config_headers
  @kratos_courier_http_request_config_headers
end

#kratos_courier_http_request_config_methodObject

The http METHOD to use when calling the remote HTTP email sending service



187
188
189
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 187

def kratos_courier_http_request_config_method
  @kratos_courier_http_request_config_method
end

#kratos_courier_http_request_config_urlObject

The URL of the remote HTTP email sending service This governs the "courier.http.url" setting



190
191
192
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 190

def kratos_courier_http_request_config_url
  @kratos_courier_http_request_config_url
end

#kratos_courier_smtp_connection_uriObject

Configures the Ory Kratos SMTP Connection URI This governs the "courier.smtp.connection_uri" setting.



193
194
195
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 193

def kratos_courier_smtp_connection_uri
  @kratos_courier_smtp_connection_uri
end

#kratos_courier_smtp_from_addressObject

Configures the Ory Kratos SMTP From Address This governs the "courier.smtp.from_address" setting.



196
197
198
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 196

def kratos_courier_smtp_from_address
  @kratos_courier_smtp_from_address
end

#kratos_courier_smtp_from_nameObject

Configures the Ory Kratos SMTP From Name This governs the "courier.smtp.from_name" setting.



199
200
201
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 199

def kratos_courier_smtp_from_name
  @kratos_courier_smtp_from_name
end

#kratos_courier_smtp_headersObject

NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-



202
203
204
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 202

def kratos_courier_smtp_headers
  @kratos_courier_smtp_headers
end

#kratos_courier_smtp_local_nameObject

Configures the local_name to use in SMTP connections This governs the "courier.smtp.local_name" setting.



205
206
207
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 205

def kratos_courier_smtp_local_name
  @kratos_courier_smtp_local_name
end

#kratos_courier_templates_login_code_valid_email_body_htmlObject

Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the "courier.smtp.templates.login_code.valid.email.body.html" setting.



208
209
210
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 208

def 
  @kratos_courier_templates_login_code_valid_email_body_html
end

#kratos_courier_templates_login_code_valid_email_body_plaintextObject

Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the "courier.smtp.templates.login_code.valid.email.body.plaintext" setting.



211
212
213
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 211

def 
  @kratos_courier_templates_login_code_valid_email_body_plaintext
end

#kratos_courier_templates_login_code_valid_email_subjectObject

Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the "courier.smtp.templates.login_code.valid.email.subject" setting.



214
215
216
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 214

def 
  @kratos_courier_templates_login_code_valid_email_subject
end

#kratos_courier_templates_login_code_valid_sms_body_plaintextObject

Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the "courier.smtp.templates.login_code.valid.sms.plaintext" setting.



217
218
219
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 217

def 
  @kratos_courier_templates_login_code_valid_sms_body_plaintext
end

#kratos_courier_templates_recovery_code_invalid_email_body_htmlObject

Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the "courier.smtp.templates.recovery_code.invalid.email.body.html" setting.



220
221
222
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 220

def kratos_courier_templates_recovery_code_invalid_email_body_html
  @kratos_courier_templates_recovery_code_invalid_email_body_html
end

#kratos_courier_templates_recovery_code_invalid_email_body_plaintextObject

Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the "courier.smtp.templates.recovery_code.invalid.email.body.plaintext" setting.



223
224
225
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 223

def kratos_courier_templates_recovery_code_invalid_email_body_plaintext
  @kratos_courier_templates_recovery_code_invalid_email_body_plaintext
end

#kratos_courier_templates_recovery_code_invalid_email_subjectObject

Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the "courier.smtp.templates.recovery_code.invalid.email.body.html" setting.



226
227
228
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 226

def kratos_courier_templates_recovery_code_invalid_email_subject
  @kratos_courier_templates_recovery_code_invalid_email_subject
end

#kratos_courier_templates_recovery_code_valid_email_body_htmlObject

Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template This governs the "courier.smtp.templates.recovery_code.valid.email.body.html" setting.



229
230
231
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 229

def kratos_courier_templates_recovery_code_valid_email_body_html
  @kratos_courier_templates_recovery_code_valid_email_body_html
end

#kratos_courier_templates_recovery_code_valid_email_body_plaintextObject

Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template This governs the "courier.smtp.templates.recovery_code.valid.email.body.plaintext" setting.



232
233
234
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 232

def kratos_courier_templates_recovery_code_valid_email_body_plaintext
  @kratos_courier_templates_recovery_code_valid_email_body_plaintext
end

#kratos_courier_templates_recovery_code_valid_email_subjectObject

Configures the Ory Kratos Valid Recovery via Code Email Subject Template This governs the "courier.smtp.templates.recovery_code.valid.email.subject" setting.



235
236
237
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 235

def kratos_courier_templates_recovery_code_valid_email_subject
  @kratos_courier_templates_recovery_code_valid_email_subject
end

#kratos_courier_templates_recovery_invalid_email_body_htmlObject

Configures the Ory Kratos Invalid Recovery Email Body HTML Template This governs the "courier.smtp.templates.recovery.invalid.email.body.html" setting.



238
239
240
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 238

def kratos_courier_templates_recovery_invalid_email_body_html
  @kratos_courier_templates_recovery_invalid_email_body_html
end

#kratos_courier_templates_recovery_invalid_email_body_plaintextObject

Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template This governs the "courier.smtp.templates.recovery.invalid.email.body.plaintext" setting.



241
242
243
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 241

def kratos_courier_templates_recovery_invalid_email_body_plaintext
  @kratos_courier_templates_recovery_invalid_email_body_plaintext
end

#kratos_courier_templates_recovery_invalid_email_subjectObject

Configures the Ory Kratos Invalid Recovery Email Subject Template This governs the "courier.smtp.templates.recovery.invalid.email.body.html" setting.



244
245
246
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 244

def kratos_courier_templates_recovery_invalid_email_subject
  @kratos_courier_templates_recovery_invalid_email_subject
end

#kratos_courier_templates_recovery_valid_email_body_htmlObject

Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the "courier.smtp.templates.recovery.valid.email.body.html" setting.



247
248
249
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 247

def kratos_courier_templates_recovery_valid_email_body_html
  @kratos_courier_templates_recovery_valid_email_body_html
end

#kratos_courier_templates_recovery_valid_email_body_plaintextObject

Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the "courier.smtp.templates.recovery.valid.email.body.plaintext" setting.



250
251
252
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 250

def kratos_courier_templates_recovery_valid_email_body_plaintext
  @kratos_courier_templates_recovery_valid_email_body_plaintext
end

#kratos_courier_templates_recovery_valid_email_subjectObject

Configures the Ory Kratos Valid Recovery Email Subject Template This governs the "courier.smtp.templates.recovery.valid.email.subject" setting.



253
254
255
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 253

def kratos_courier_templates_recovery_valid_email_subject
  @kratos_courier_templates_recovery_valid_email_subject
end

#kratos_courier_templates_registration_code_valid_email_body_htmlObject

Configures the Ory Kratos Valid Registration via Code Email Body HTML Template This governs the "courier.smtp.templates.registration_code.valid.email.body.html" setting.



256
257
258
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 256

def kratos_courier_templates_registration_code_valid_email_body_html
  @kratos_courier_templates_registration_code_valid_email_body_html
end

#kratos_courier_templates_registration_code_valid_email_body_plaintextObject

Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template This governs the "courier.smtp.templates.registration_code.valid.email.body.plaintext" setting.



259
260
261
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 259

def kratos_courier_templates_registration_code_valid_email_body_plaintext
  @kratos_courier_templates_registration_code_valid_email_body_plaintext
end

#kratos_courier_templates_registration_code_valid_email_subjectObject

Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the "courier.smtp.templates.registration_code.valid.email.subject" setting.



262
263
264
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 262

def kratos_courier_templates_registration_code_valid_email_subject
  @kratos_courier_templates_registration_code_valid_email_subject
end

#kratos_courier_templates_verification_code_invalid_email_body_htmlObject

Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template This governs the "courier.smtp.templates.verification_code.invalid.email.body.html" setting.



265
266
267
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 265

def kratos_courier_templates_verification_code_invalid_email_body_html
  @kratos_courier_templates_verification_code_invalid_email_body_html
end

#kratos_courier_templates_verification_code_invalid_email_body_plaintextObject

Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template This governs the "courier.smtp.templates.verification_code.invalid.email.body.plaintext" setting.



268
269
270
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 268

def kratos_courier_templates_verification_code_invalid_email_body_plaintext
  @kratos_courier_templates_verification_code_invalid_email_body_plaintext
end

#kratos_courier_templates_verification_code_invalid_email_subjectObject

Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the "courier.smtp.templates.verification_code.invalid.email.subject" setting.



271
272
273
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 271

def kratos_courier_templates_verification_code_invalid_email_subject
  @kratos_courier_templates_verification_code_invalid_email_subject
end

#kratos_courier_templates_verification_code_valid_email_body_htmlObject

Configures the Ory Kratos Valid Verification via Code Email Body HTML Template This governs the "courier.smtp.templates.verification_code.valid.email.body.html" setting.



274
275
276
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 274

def kratos_courier_templates_verification_code_valid_email_body_html
  @kratos_courier_templates_verification_code_valid_email_body_html
end

#kratos_courier_templates_verification_code_valid_email_body_plaintextObject

Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template This governs the "courier.smtp.templates.verification_code.valid.email.body.plaintext" setting.



277
278
279
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 277

def kratos_courier_templates_verification_code_valid_email_body_plaintext
  @kratos_courier_templates_verification_code_valid_email_body_plaintext
end

#kratos_courier_templates_verification_code_valid_email_subjectObject

Configures the Ory Kratos Valid Verification via Code Email Subject Template This governs the "courier.smtp.templates.verification_code.valid.email.subject" setting.



280
281
282
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 280

def kratos_courier_templates_verification_code_valid_email_subject
  @kratos_courier_templates_verification_code_valid_email_subject
end

#kratos_courier_templates_verification_code_valid_sms_body_plaintextObject

Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext This governs the "courier.smtp.templates.verification_code.valid.sms.body.plaintext" setting.



283
284
285
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 283

def kratos_courier_templates_verification_code_valid_sms_body_plaintext
  @kratos_courier_templates_verification_code_valid_sms_body_plaintext
end

#kratos_courier_templates_verification_invalid_email_body_htmlObject

Configures the Ory Kratos Invalid Verification Email Body HTML Template This governs the "courier.smtp.templates.verification.invalid.email.body.html" setting.



286
287
288
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 286

def kratos_courier_templates_verification_invalid_email_body_html
  @kratos_courier_templates_verification_invalid_email_body_html
end

#kratos_courier_templates_verification_invalid_email_body_plaintextObject

Configures the Ory Kratos Invalid Verification Email Body Plaintext Template This governs the "courier.smtp.templates.verification.invalid.email.body.plaintext" setting.



289
290
291
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 289

def kratos_courier_templates_verification_invalid_email_body_plaintext
  @kratos_courier_templates_verification_invalid_email_body_plaintext
end

#kratos_courier_templates_verification_invalid_email_subjectObject

Configures the Ory Kratos Invalid Verification Email Subject Template This governs the "courier.smtp.templates.verification.invalid.email.subject" setting.



292
293
294
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 292

def kratos_courier_templates_verification_invalid_email_subject
  @kratos_courier_templates_verification_invalid_email_subject
end

#kratos_courier_templates_verification_valid_email_body_htmlObject

Configures the Ory Kratos Valid Verification Email Body HTML Template This governs the "courier.smtp.templates.verification.valid.email.body.html" setting.



295
296
297
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 295

def kratos_courier_templates_verification_valid_email_body_html
  @kratos_courier_templates_verification_valid_email_body_html
end

#kratos_courier_templates_verification_valid_email_body_plaintextObject

Configures the Ory Kratos Valid Verification Email Body Plaintext Template This governs the "courier.smtp.templates.verification.valid.email.body.plaintext" setting.



298
299
300
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 298

def kratos_courier_templates_verification_valid_email_body_plaintext
  @kratos_courier_templates_verification_valid_email_body_plaintext
end

#kratos_courier_templates_verification_valid_email_subjectObject

Configures the Ory Kratos Valid Verification Email Subject Template This governs the "courier.smtp.templates.verification.valid.email.subject" setting.



301
302
303
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 301

def kratos_courier_templates_verification_valid_email_subject
  @kratos_courier_templates_verification_valid_email_subject
end

#kratos_feature_flags_cacheable_sessionsObject

Configures the Ory Kratos Session caching feature flag This governs the "feature_flags.cacheable_sessions" setting.



304
305
306
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 304

def kratos_feature_flags_cacheable_sessions
  @kratos_feature_flags_cacheable_sessions
end

#kratos_feature_flags_use_continue_with_transitionsObject

Configures the Ory Kratos Session use_continue_with_transitions flag This governs the "feature_flags.use_continue_with_transitions" setting.



307
308
309
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 307

def kratos_feature_flags_use_continue_with_transitions
  @kratos_feature_flags_use_continue_with_transitions
end

#kratos_identity_schemasObject

Returns the value of attribute kratos_identity_schemas.



309
310
311
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 309

def kratos_identity_schemas
  @kratos_identity_schemas
end

#kratos_oauth2_provider_headersObject

NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-



312
313
314
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 312

def kratos_oauth2_provider_headers
  @kratos_oauth2_provider_headers
end

#kratos_oauth2_provider_override_return_toObject

Kratos OAuth2 Provider Override Return To Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow.



315
316
317
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 315

def kratos_oauth2_provider_override_return_to
  @kratos_oauth2_provider_override_return_to
end

#kratos_oauth2_provider_urlObject

The Revisions’ OAuth2 Provider Integration URL This governs the "oauth2_provider.url" setting.



318
319
320
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 318

def kratos_oauth2_provider_url
  @kratos_oauth2_provider_url
end

#kratos_preview_default_read_consistency_levelObject

Configures the default read consistency level for identity APIs This governs the ‘preview.default_read_consistency_level` setting. The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` Defaults to "strong" for new and existing projects. This feature is in preview. Use with caution.



321
322
323
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 321

def kratos_preview_default_read_consistency_level
  @kratos_preview_default_read_consistency_level
end

#kratos_secrets_cipherObject

Returns the value of attribute kratos_secrets_cipher.



323
324
325
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 323

def kratos_secrets_cipher
  @kratos_secrets_cipher
end

Returns the value of attribute kratos_secrets_cookie.



325
326
327
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 325

def kratos_secrets_cookie
  @kratos_secrets_cookie
end

#kratos_secrets_defaultObject

Returns the value of attribute kratos_secrets_default.



327
328
329
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 327

def kratos_secrets_default
  @kratos_secrets_default
end

#kratos_selfservice_allowed_return_urlsObject

Returns the value of attribute kratos_selfservice_allowed_return_urls.



329
330
331
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 329

def kratos_selfservice_allowed_return_urls
  @kratos_selfservice_allowed_return_urls
end

#kratos_selfservice_default_browser_return_urlObject

Configures the Ory Kratos Default Return URL This governs the "selfservice.allowed_return_urls" setting.



332
333
334
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 332

def kratos_selfservice_default_browser_return_url
  @kratos_selfservice_default_browser_return_url
end

#kratos_selfservice_flows_error_ui_urlObject

Configures the Ory Kratos Error UI URL This governs the "selfservice.flows.error.ui_url" setting.



335
336
337
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 335

def kratos_selfservice_flows_error_ui_url
  @kratos_selfservice_flows_error_ui_url
end

#kratos_selfservice_flows_login_after_code_default_browser_return_urlObject

Configures the Ory Kratos Login After Password Default Return URL This governs the "selfservice.flows.code.after.password.default_browser_return_url" setting.



338
339
340
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 338

def 
  @kratos_selfservice_flows_login_after_code_default_browser_return_url
end

#kratos_selfservice_flows_login_after_default_browser_return_urlObject

Configures the Ory Kratos Login Default Return URL This governs the "selfservice.flows.login.after.default_browser_return_url" setting.



341
342
343
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 341

def 
  @kratos_selfservice_flows_login_after_default_browser_return_url
end

#kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_urlObject

Configures the Ory Kratos Login After Password Default Return URL This governs the "selfservice.flows.lookup_secret.after.password.default_browser_return_url" setting.



344
345
346
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 344

def 
  @kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url
end

#kratos_selfservice_flows_login_after_oidc_default_browser_return_urlObject

Configures the Ory Kratos Login After OIDC Default Return URL This governs the "selfservice.flows.login.after.oidc.default_browser_return_url" setting.



347
348
349
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 347

def 
  @kratos_selfservice_flows_login_after_oidc_default_browser_return_url
end

#kratos_selfservice_flows_login_after_password_default_browser_return_urlObject

Configures the Ory Kratos Login After Password Default Return URL This governs the "selfservice.flows.login.after.password.default_browser_return_url" setting.



350
351
352
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 350

def 
  @kratos_selfservice_flows_login_after_password_default_browser_return_url
end

#kratos_selfservice_flows_login_after_totp_default_browser_return_urlObject

Configures the Ory Kratos Login After Password Default Return URL This governs the "selfservice.flows.totp.after.password.default_browser_return_url" setting.



353
354
355
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 353

def 
  @kratos_selfservice_flows_login_after_totp_default_browser_return_url
end

#kratos_selfservice_flows_login_after_webauthn_default_browser_return_urlObject

Configures the Ory Kratos Login After WebAuthn Default Return URL This governs the "selfservice.flows.login.after.webauthn.default_browser_return_url" setting.



356
357
358
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 356

def 
  @kratos_selfservice_flows_login_after_webauthn_default_browser_return_url
end

#kratos_selfservice_flows_login_lifespanObject

Configures the Ory Kratos Login Lifespan This governs the "selfservice.flows.login.lifespan" setting.



359
360
361
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 359

def 
  @kratos_selfservice_flows_login_lifespan
end

#kratos_selfservice_flows_login_ui_urlObject

Configures the Ory Kratos Login UI URL This governs the "selfservice.flows.login.ui_url" setting.



362
363
364
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 362

def 
  @kratos_selfservice_flows_login_ui_url
end

#kratos_selfservice_flows_logout_after_default_browser_return_urlObject

Configures the Ory Kratos Logout Default Return URL This governs the "selfservice.flows.logout.after.default_browser_return_url" setting.



365
366
367
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 365

def kratos_selfservice_flows_logout_after_default_browser_return_url
  @kratos_selfservice_flows_logout_after_default_browser_return_url
end

#kratos_selfservice_flows_recovery_after_default_browser_return_urlObject

Configures the Ory Kratos Recovery Default Return URL This governs the "selfservice.flows.recovery.after.default_browser_return_url" setting.



368
369
370
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 368

def kratos_selfservice_flows_recovery_after_default_browser_return_url
  @kratos_selfservice_flows_recovery_after_default_browser_return_url
end

#kratos_selfservice_flows_recovery_enabledObject

Configures the Ory Kratos Recovery Enabled Setting This governs the "selfservice.flows.recovery.enabled" setting.



371
372
373
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 371

def kratos_selfservice_flows_recovery_enabled
  @kratos_selfservice_flows_recovery_enabled
end

#kratos_selfservice_flows_recovery_lifespanObject

Configures the Ory Kratos Recovery Lifespan This governs the "selfservice.flows.recovery.lifespan" setting.



374
375
376
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 374

def kratos_selfservice_flows_recovery_lifespan
  @kratos_selfservice_flows_recovery_lifespan
end

#kratos_selfservice_flows_recovery_notify_unknown_recipientsObject

Configures whether to notify unknown recipients of a Ory Kratos recovery flow This governs the "selfservice.flows.recovery.notify_unknown_recipients" setting.



377
378
379
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 377

def kratos_selfservice_flows_recovery_notify_unknown_recipients
  @kratos_selfservice_flows_recovery_notify_unknown_recipients
end

#kratos_selfservice_flows_recovery_ui_urlObject

Configures the Ory Kratos Recovery UI URL This governs the "selfservice.flows.recovery.ui_url" setting.



380
381
382
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 380

def kratos_selfservice_flows_recovery_ui_url
  @kratos_selfservice_flows_recovery_ui_url
end

#kratos_selfservice_flows_recovery_useObject

Configures the Ory Kratos Recovery strategy to use ("link" or "code") This governs the "selfservice.flows.recovery.use" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode



383
384
385
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 383

def kratos_selfservice_flows_recovery_use
  @kratos_selfservice_flows_recovery_use
end

#kratos_selfservice_flows_registration_after_code_default_browser_return_urlObject

Configures the Ory Kratos Registration After Code Default Return URL This governs the "selfservice.flows.registration.after.code.default_browser_return_url" setting.



386
387
388
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 386

def kratos_selfservice_flows_registration_after_code_default_browser_return_url
  @kratos_selfservice_flows_registration_after_code_default_browser_return_url
end

#kratos_selfservice_flows_registration_after_default_browser_return_urlObject

Configures the Ory Kratos Registration Default Return URL This governs the "selfservice.flows.registration.after.default_browser_return_url" setting.



389
390
391
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 389

def kratos_selfservice_flows_registration_after_default_browser_return_url
  @kratos_selfservice_flows_registration_after_default_browser_return_url
end

#kratos_selfservice_flows_registration_after_oidc_default_browser_return_urlObject

Configures the Ory Kratos Registration After OIDC Default Return URL This governs the "selfservice.flows.registration.after.oidc.default_browser_return_url" setting.



392
393
394
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 392

def kratos_selfservice_flows_registration_after_oidc_default_browser_return_url
  @kratos_selfservice_flows_registration_after_oidc_default_browser_return_url
end

#kratos_selfservice_flows_registration_after_password_default_browser_return_urlObject

Configures the Ory Kratos Registration After Password Default Return URL This governs the "selfservice.flows.registration.after.password.default_browser_return_url" setting.



395
396
397
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 395

def kratos_selfservice_flows_registration_after_password_default_browser_return_url
  @kratos_selfservice_flows_registration_after_password_default_browser_return_url
end

#kratos_selfservice_flows_registration_after_webauthn_default_browser_return_urlObject

Configures the Ory Kratos Registration After Password Default Return URL This governs the "selfservice.flows.registration.after.password.default_browser_return_url" setting.



398
399
400
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 398

def kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url
  @kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url
end

#kratos_selfservice_flows_registration_enabledObject

Configures the Whether Ory Kratos Registration is Enabled This governs the "selfservice.flows.registration.enabled" setting.0



401
402
403
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 401

def kratos_selfservice_flows_registration_enabled
  @kratos_selfservice_flows_registration_enabled
end

#kratos_selfservice_flows_registration_lifespanObject

Configures the Ory Kratos Registration Lifespan This governs the "selfservice.flows.registration.lifespan" setting.



404
405
406
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 404

def kratos_selfservice_flows_registration_lifespan
  @kratos_selfservice_flows_registration_lifespan
end

#kratos_selfservice_flows_registration_login_hintsObject

Configures the Ory Kratos Registration Login Hints Shows helpful information when a user tries to sign up with a duplicate account. This governs the "selfservice.flows.registration.login_hints" setting.



407
408
409
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 407

def 
  @kratos_selfservice_flows_registration_login_hints
end

#kratos_selfservice_flows_registration_ui_urlObject

Configures the Ory Kratos Registration UI URL This governs the "selfservice.flows.registration.ui_url" setting.



410
411
412
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 410

def kratos_selfservice_flows_registration_ui_url
  @kratos_selfservice_flows_registration_ui_url
end

#kratos_selfservice_flows_settings_after_default_browser_return_urlObject

Configures the Ory Kratos Settings Default Return URL This governs the "selfservice.flows.settings.after.default_browser_return_url" setting.



413
414
415
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 413

def kratos_selfservice_flows_settings_after_default_browser_return_url
  @kratos_selfservice_flows_settings_after_default_browser_return_url
end

#kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_urlObject

Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets This governs the "selfservice.flows.settings.after.lookup_secret.default_browser_return_url" setting.



416
417
418
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 416

def kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url
  @kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url
end

#kratos_selfservice_flows_settings_after_oidc_default_browser_return_urlObject

Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In This governs the "selfservice.flows.settings.after.oidc.default_browser_return_url" setting.



419
420
421
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 419

def kratos_selfservice_flows_settings_after_oidc_default_browser_return_url
  @kratos_selfservice_flows_settings_after_oidc_default_browser_return_url
end

#kratos_selfservice_flows_settings_after_password_default_browser_return_urlObject

Configures the Ory Kratos Settings Default Return URL After Updating Passwords This governs the "selfservice.flows.settings.after.password.default_browser_return_url" setting.



422
423
424
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 422

def kratos_selfservice_flows_settings_after_password_default_browser_return_url
  @kratos_selfservice_flows_settings_after_password_default_browser_return_url
end

#kratos_selfservice_flows_settings_after_profile_default_browser_return_urlObject

Configures the Ory Kratos Settings Default Return URL After Updating Profiles This governs the "selfservice.flows.settings.after.profile.default_browser_return_url" setting.



425
426
427
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 425

def kratos_selfservice_flows_settings_after_profile_default_browser_return_url
  @kratos_selfservice_flows_settings_after_profile_default_browser_return_url
end

#kratos_selfservice_flows_settings_after_totp_default_browser_return_urlObject

Configures the Ory Kratos Settings Default Return URL After Updating TOTP This governs the "selfservice.flows.settings.after.totp.default_browser_return_url" setting.



428
429
430
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 428

def kratos_selfservice_flows_settings_after_totp_default_browser_return_url
  @kratos_selfservice_flows_settings_after_totp_default_browser_return_url
end

#kratos_selfservice_flows_settings_after_webauthn_default_browser_return_urlObject

Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn This governs the "selfservice.flows.settings.webauthn.profile.default_browser_return_url" setting.



431
432
433
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 431

def kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url
  @kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url
end

#kratos_selfservice_flows_settings_lifespanObject

Configures the Ory Kratos Settings Lifespan This governs the "selfservice.flows.settings.lifespan" setting.



434
435
436
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 434

def kratos_selfservice_flows_settings_lifespan
  @kratos_selfservice_flows_settings_lifespan
end

#kratos_selfservice_flows_settings_privileged_session_max_ageObject

Configures the Ory Kratos Settings Privileged Session Max Age This governs the "selfservice.flows.settings.privileged_session_max_age" setting.



437
438
439
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 437

def kratos_selfservice_flows_settings_privileged_session_max_age
  @kratos_selfservice_flows_settings_privileged_session_max_age
end

#kratos_selfservice_flows_settings_required_aalObject

Configures the Ory Kratos Settings Required AAL This governs the "selfservice.flows.settings.required_aal" setting.



440
441
442
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 440

def kratos_selfservice_flows_settings_required_aal
  @kratos_selfservice_flows_settings_required_aal
end

#kratos_selfservice_flows_settings_ui_urlObject

Configures the Ory Kratos Settings UI URL This governs the "selfservice.flows.settings.ui_url" setting.



443
444
445
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 443

def kratos_selfservice_flows_settings_ui_url
  @kratos_selfservice_flows_settings_ui_url
end

#kratos_selfservice_flows_verification_after_default_browser_return_urlObject

Configures the Ory Kratos Verification Default Return URL This governs the "selfservice.flows.verification.after.default_browser_return_url" setting.



446
447
448
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 446

def kratos_selfservice_flows_verification_after_default_browser_return_url
  @kratos_selfservice_flows_verification_after_default_browser_return_url
end

#kratos_selfservice_flows_verification_enabledObject

Configures the Ory Kratos Verification Enabled Setting This governs the "selfservice.flows.verification.enabled" setting.



449
450
451
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 449

def kratos_selfservice_flows_verification_enabled
  @kratos_selfservice_flows_verification_enabled
end

#kratos_selfservice_flows_verification_lifespanObject

Configures the Ory Kratos Verification Lifespan This governs the "selfservice.flows.verification.lifespan" setting.



452
453
454
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 452

def kratos_selfservice_flows_verification_lifespan
  @kratos_selfservice_flows_verification_lifespan
end

#kratos_selfservice_flows_verification_notify_unknown_recipientsObject

Configures whether to notify unknown recipients of a Ory Kratos verification flow This governs the "selfservice.flows.verification.notify_unknown_recipients" setting.



455
456
457
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 455

def kratos_selfservice_flows_verification_notify_unknown_recipients
  @kratos_selfservice_flows_verification_notify_unknown_recipients
end

#kratos_selfservice_flows_verification_ui_urlObject

Configures the Ory Kratos Verification UI URL This governs the "selfservice.flows.verification.ui_url" setting.



458
459
460
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 458

def kratos_selfservice_flows_verification_ui_url
  @kratos_selfservice_flows_verification_ui_url
end

#kratos_selfservice_flows_verification_useObject

Configures the Ory Kratos Strategy to use for Verification This governs the "selfservice.flows.verification.use" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode



461
462
463
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 461

def kratos_selfservice_flows_verification_use
  @kratos_selfservice_flows_verification_use
end

#kratos_selfservice_methods_code_config_lifespanObject

Configures the Ory Kratos Code Method’s lifespan This governs the "selfservice.methods.code.config.lifespan" setting.



464
465
466
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 464

def kratos_selfservice_methods_code_config_lifespan
  @kratos_selfservice_methods_code_config_lifespan
end

#kratos_selfservice_methods_code_enabledObject

Configures whether Ory Kratos Code Method is enabled This governs the "selfservice.methods.code.enabled" setting.



467
468
469
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 467

def kratos_selfservice_methods_code_enabled
  @kratos_selfservice_methods_code_enabled
end

#kratos_selfservice_methods_code_mfa_enabledObject

Configues whether the code method can be used to fulfil MFA flows This governs the "selfservice.methods.code.mfa_enabled" setting.



470
471
472
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 470

def kratos_selfservice_methods_code_mfa_enabled
  @kratos_selfservice_methods_code_mfa_enabled
end

#kratos_selfservice_methods_code_passwordless_enabledObject

Configues whether Ory Kratos Passwordless should use the Code Method This governs the "selfservice.methods.code.passwordless_enabled" setting.



473
474
475
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 473

def kratos_selfservice_methods_code_passwordless_enabled
  @kratos_selfservice_methods_code_passwordless_enabled
end

Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the "selfservice.methods.link.config.base_url" setting.



476
477
478
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 476

def kratos_selfservice_methods_link_config_base_url
  @kratos_selfservice_methods_link_config_base_url
end

Configures the Ory Kratos Link Method’s lifespan This governs the "selfservice.methods.link.config.lifespan" setting.



479
480
481
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 479

def kratos_selfservice_methods_link_config_lifespan
  @kratos_selfservice_methods_link_config_lifespan
end

Configures whether Ory Kratos Link Method is enabled This governs the "selfservice.methods.link.enabled" setting.



482
483
484
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 482

def kratos_selfservice_methods_link_enabled
  @kratos_selfservice_methods_link_enabled
end

#kratos_selfservice_methods_lookup_secret_enabledObject

Configures whether Ory Kratos TOTP Lookup Secret is enabled This governs the "selfservice.methods.lookup_secret.enabled" setting.



485
486
487
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 485

def kratos_selfservice_methods_lookup_secret_enabled
  @kratos_selfservice_methods_lookup_secret_enabled
end

#kratos_selfservice_methods_oidc_config_base_redirect_uriObject

Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the "selfservice.methods.oidc.config.base_redirect_uri" setting.



488
489
490
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 488

def kratos_selfservice_methods_oidc_config_base_redirect_uri
  @kratos_selfservice_methods_oidc_config_base_redirect_uri
end

#kratos_selfservice_methods_oidc_config_providersObject

Returns the value of attribute kratos_selfservice_methods_oidc_config_providers.



490
491
492
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 490

def kratos_selfservice_methods_oidc_config_providers
  @kratos_selfservice_methods_oidc_config_providers
end

#kratos_selfservice_methods_oidc_enabledObject

Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the "selfservice.methods.oidc.enabled" setting.



493
494
495
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 493

def kratos_selfservice_methods_oidc_enabled
  @kratos_selfservice_methods_oidc_enabled
end

#kratos_selfservice_methods_password_config_haveibeenpwned_enabledObject

Configures whether Ory Kratos Password HIBP Checks is enabled This governs the "selfservice.methods.password.config.haveibeenpwned_enabled" setting.



496
497
498
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 496

def kratos_selfservice_methods_password_config_haveibeenpwned_enabled
  @kratos_selfservice_methods_password_config_haveibeenpwned_enabled
end

#kratos_selfservice_methods_password_config_identifier_similarity_check_enabledObject

Configures whether Ory Kratos Password should disable the similarity policy. This governs the "selfservice.methods.password.config.identifier_similarity_check_enabled" setting.



499
500
501
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 499

def kratos_selfservice_methods_password_config_identifier_similarity_check_enabled
  @kratos_selfservice_methods_password_config_identifier_similarity_check_enabled
end

#kratos_selfservice_methods_password_config_ignore_network_errorsObject

Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors This governs the "selfservice.methods.password.config.ignore_network_errors" setting.



502
503
504
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 502

def kratos_selfservice_methods_password_config_ignore_network_errors
  @kratos_selfservice_methods_password_config_ignore_network_errors
end

#kratos_selfservice_methods_password_config_max_breachesObject

Configures Ory Kratos Password Max Breaches Detection This governs the "selfservice.methods.password.config.max_breaches" setting.



505
506
507
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 505

def kratos_selfservice_methods_password_config_max_breaches
  @kratos_selfservice_methods_password_config_max_breaches
end

#kratos_selfservice_methods_password_config_min_password_lengthObject

Configures the minimum length of passwords. This governs the "selfservice.methods.password.config.min_password_length" setting.



508
509
510
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 508

def kratos_selfservice_methods_password_config_min_password_length
  @kratos_selfservice_methods_password_config_min_password_length
end

#kratos_selfservice_methods_password_enabledObject

Configures whether Ory Kratos Password Method is enabled This governs the "selfservice.methods.password.enabled" setting.



511
512
513
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 511

def kratos_selfservice_methods_password_enabled
  @kratos_selfservice_methods_password_enabled
end

#kratos_selfservice_methods_profile_enabledObject

Configures whether Ory Kratos Profile Method is enabled This governs the "selfservice.methods.profile.enabled" setting.



514
515
516
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 514

def kratos_selfservice_methods_profile_enabled
  @kratos_selfservice_methods_profile_enabled
end

#kratos_selfservice_methods_totp_config_issuerObject

Configures Ory Kratos TOTP Issuer This governs the "selfservice.methods.totp.config.issuer" setting.



517
518
519
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 517

def kratos_selfservice_methods_totp_config_issuer
  @kratos_selfservice_methods_totp_config_issuer
end

#kratos_selfservice_methods_totp_enabledObject

Configures whether Ory Kratos TOTP Method is enabled This governs the "selfservice.methods.totp.enabled" setting.



520
521
522
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 520

def kratos_selfservice_methods_totp_enabled
  @kratos_selfservice_methods_totp_enabled
end

#kratos_selfservice_methods_webauthn_config_passwordlessObject

Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the "selfservice.methods.webauthn.config.passwordless" setting.



523
524
525
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 523

def kratos_selfservice_methods_webauthn_config_passwordless
  @kratos_selfservice_methods_webauthn_config_passwordless
end

#kratos_selfservice_methods_webauthn_config_rp_display_nameObject

Configures the Ory Kratos Webauthn RP Display Name This governs the "selfservice.methods.webauthn.config.rp.display_name" setting.



526
527
528
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 526

def kratos_selfservice_methods_webauthn_config_rp_display_name
  @kratos_selfservice_methods_webauthn_config_rp_display_name
end

#kratos_selfservice_methods_webauthn_config_rp_iconObject

Configures the Ory Kratos Webauthn RP Icon This governs the "selfservice.methods.webauthn.config.rp.icon" setting. Deprecated: This value will be ignored due to security considerations.



529
530
531
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 529

def kratos_selfservice_methods_webauthn_config_rp_icon
  @kratos_selfservice_methods_webauthn_config_rp_icon
end

#kratos_selfservice_methods_webauthn_config_rp_idObject

Configures the Ory Kratos Webauthn RP ID This governs the "selfservice.methods.webauthn.config.rp.id" setting.



532
533
534
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 532

def kratos_selfservice_methods_webauthn_config_rp_id
  @kratos_selfservice_methods_webauthn_config_rp_id
end

#kratos_selfservice_methods_webauthn_config_rp_originsObject

Returns the value of attribute kratos_selfservice_methods_webauthn_config_rp_origins.



534
535
536
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 534

def kratos_selfservice_methods_webauthn_config_rp_origins
  @kratos_selfservice_methods_webauthn_config_rp_origins
end

#kratos_selfservice_methods_webauthn_enabledObject

Configures whether Ory Kratos Webauthn is enabled This governs the "selfservice.methods.webauthn.enabled" setting.



537
538
539
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 537

def kratos_selfservice_methods_webauthn_enabled
  @kratos_selfservice_methods_webauthn_enabled
end

Configures the Ory Kratos Session Cookie Persistent Attribute This governs the "session.cookie.persistent" setting.



540
541
542
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 540

def kratos_session_cookie_persistent
  @kratos_session_cookie_persistent
end

Configures the Ory Kratos Session Cookie SameSite Attribute This governs the "session.cookie.same_site" setting.



543
544
545
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 543

def kratos_session_cookie_same_site
  @kratos_session_cookie_same_site
end

#kratos_session_lifespanObject

Configures the Ory Kratos Session Lifespan This governs the "session.lifespan" setting.



546
547
548
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 546

def kratos_session_lifespan
  @kratos_session_lifespan
end

#kratos_session_whoami_required_aalObject

Configures the Ory Kratos Session Whoami AAL requirement This governs the "session.whoami.required_aal" setting.



549
550
551
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 549

def kratos_session_whoami_required_aal
  @kratos_session_whoami_required_aal
end

#kratos_session_whoami_tokenizer_templatesObject

Returns the value of attribute kratos_session_whoami_tokenizer_templates.



551
552
553
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 551

def kratos_session_whoami_tokenizer_templates
  @kratos_session_whoami_tokenizer_templates
end

#nameObject

The project’s name.



554
555
556
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 554

def name
  @name
end

#project_idObject

The Revision’s Project ID



557
558
559
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 557

def project_id
  @project_id
end

#project_revision_hooksObject

Returns the value of attribute project_revision_hooks.



559
560
561
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 559

def project_revision_hooks
  @project_revision_hooks
end

#serve_admin_cors_allowed_originsObject

Returns the value of attribute serve_admin_cors_allowed_origins.



561
562
563
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 561

def serve_admin_cors_allowed_origins
  @serve_admin_cors_allowed_origins
end

#serve_admin_cors_enabledObject

Enable CORS headers on all admin APIs This governs the "serve.admin.cors.enabled" setting.



564
565
566
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 564

def serve_admin_cors_enabled
  @serve_admin_cors_enabled
end

#serve_public_cors_allowed_originsObject

Returns the value of attribute serve_public_cors_allowed_origins.



566
567
568
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 566

def serve_public_cors_allowed_origins
  @serve_public_cors_allowed_origins
end

#serve_public_cors_enabledObject

Enable CORS headers on all public APIs This governs the "serve.public.cors.enabled" setting.



569
570
571
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 569

def serve_public_cors_enabled
  @serve_public_cors_enabled
end

#strict_securityObject

Whether the project should employ strict security measures. Setting this to true is recommended for going into production.



572
573
574
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 572

def strict_security
  @strict_security
end

#updated_atObject

Last Time Project’s Revision was Updated



575
576
577
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 575

def updated_at
  @updated_at
end

#workspace_idObject

Returns the value of attribute workspace_id.



577
578
579
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 577

def workspace_id
  @workspace_id
end

Class Method Details

._deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 2327

def self._deserialize(type, value)
  case type.to_sym
  when :Time
    Time.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :Boolean
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    # models (e.g. Pet) or oneOf
    klass = OryClient.const_get(type)
    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
  end
end

.acceptable_attributesObject

Returns all the JSON keys this model knows about



802
803
804
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 802

def self.acceptable_attributes
  attribute_map.values
end

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 602

def self.attribute_map
  {
    :'created_at' => :'created_at',
    :'disable_account_experience_welcome_screen' => :'disable_account_experience_welcome_screen',
    :'enable_ax_v2' => :'enable_ax_v2',
    :'environment' => :'environment',
    :'hydra_oauth2_allowed_top_level_claims' => :'hydra_oauth2_allowed_top_level_claims',
    :'hydra_oauth2_client_credentials_default_grant_allowed_scope' => :'hydra_oauth2_client_credentials_default_grant_allowed_scope',
    :'hydra_oauth2_exclude_not_before_claim' => :'hydra_oauth2_exclude_not_before_claim',
    :'hydra_oauth2_grant_jwt_iat_optional' => :'hydra_oauth2_grant_jwt_iat_optional',
    :'hydra_oauth2_grant_jwt_jti_optional' => :'hydra_oauth2_grant_jwt_jti_optional',
    :'hydra_oauth2_grant_jwt_max_ttl' => :'hydra_oauth2_grant_jwt_max_ttl',
    :'hydra_oauth2_mirror_top_level_claims' => :'hydra_oauth2_mirror_top_level_claims',
    :'hydra_oauth2_pkce_enforced' => :'hydra_oauth2_pkce_enforced',
    :'hydra_oauth2_pkce_enforced_for_public_clients' => :'hydra_oauth2_pkce_enforced_for_public_clients',
    :'hydra_oauth2_refresh_token_hook' => :'hydra_oauth2_refresh_token_hook',
    :'hydra_oauth2_token_hook' => :'hydra_oauth2_token_hook',
    :'hydra_oidc_dynamic_client_registration_default_scope' => :'hydra_oidc_dynamic_client_registration_default_scope',
    :'hydra_oidc_dynamic_client_registration_enabled' => :'hydra_oidc_dynamic_client_registration_enabled',
    :'hydra_oidc_subject_identifiers_pairwise_salt' => :'hydra_oidc_subject_identifiers_pairwise_salt',
    :'hydra_oidc_subject_identifiers_supported_types' => :'hydra_oidc_subject_identifiers_supported_types',
    :'hydra_secrets_cookie' => :'hydra_secrets_cookie',
    :'hydra_secrets_system' => :'hydra_secrets_system',
    :'hydra_serve_cookies_same_site_legacy_workaround' => :'hydra_serve_cookies_same_site_legacy_workaround',
    :'hydra_serve_cookies_same_site_mode' => :'hydra_serve_cookies_same_site_mode',
    :'hydra_strategies_access_token' => :'hydra_strategies_access_token',
    :'hydra_strategies_scope' => :'hydra_strategies_scope',
    :'hydra_ttl_access_token' => :'hydra_ttl_access_token',
    :'hydra_ttl_auth_code' => :'hydra_ttl_auth_code',
    :'hydra_ttl_id_token' => :'hydra_ttl_id_token',
    :'hydra_ttl_login_consent_request' => :'hydra_ttl_login_consent_request',
    :'hydra_ttl_refresh_token' => :'hydra_ttl_refresh_token',
    :'hydra_urls_consent' => :'hydra_urls_consent',
    :'hydra_urls_error' => :'hydra_urls_error',
    :'hydra_urls_login' => :'hydra_urls_login',
    :'hydra_urls_logout' => :'hydra_urls_logout',
    :'hydra_urls_post_logout_redirect' => :'hydra_urls_post_logout_redirect',
    :'hydra_urls_registration' => :'hydra_urls_registration',
    :'hydra_urls_self_issuer' => :'hydra_urls_self_issuer',
    :'hydra_webfinger_jwks_broadcast_keys' => :'hydra_webfinger_jwks_broadcast_keys',
    :'hydra_webfinger_oidc_discovery_auth_url' => :'hydra_webfinger_oidc_discovery_auth_url',
    :'hydra_webfinger_oidc_discovery_client_registration_url' => :'hydra_webfinger_oidc_discovery_client_registration_url',
    :'hydra_webfinger_oidc_discovery_jwks_url' => :'hydra_webfinger_oidc_discovery_jwks_url',
    :'hydra_webfinger_oidc_discovery_supported_claims' => :'hydra_webfinger_oidc_discovery_supported_claims',
    :'hydra_webfinger_oidc_discovery_supported_scope' => :'hydra_webfinger_oidc_discovery_supported_scope',
    :'hydra_webfinger_oidc_discovery_token_url' => :'hydra_webfinger_oidc_discovery_token_url',
    :'hydra_webfinger_oidc_discovery_userinfo_url' => :'hydra_webfinger_oidc_discovery_userinfo_url',
    :'id' => :'id',
    :'keto_namespace_configuration' => :'keto_namespace_configuration',
    :'keto_namespaces' => :'keto_namespaces',
    :'kratos_cookies_same_site' => :'kratos_cookies_same_site',
    :'kratos_courier_channels' => :'kratos_courier_channels',
    :'kratos_courier_delivery_strategy' => :'kratos_courier_delivery_strategy',
    :'kratos_courier_http_request_config_auth_api_key_in' => :'kratos_courier_http_request_config_auth_api_key_in',
    :'kratos_courier_http_request_config_auth_api_key_name' => :'kratos_courier_http_request_config_auth_api_key_name',
    :'kratos_courier_http_request_config_auth_api_key_value' => :'kratos_courier_http_request_config_auth_api_key_value',
    :'kratos_courier_http_request_config_auth_basic_auth_password' => :'kratos_courier_http_request_config_auth_basic_auth_password',
    :'kratos_courier_http_request_config_auth_basic_auth_user' => :'kratos_courier_http_request_config_auth_basic_auth_user',
    :'kratos_courier_http_request_config_auth_type' => :'kratos_courier_http_request_config_auth_type',
    :'kratos_courier_http_request_config_body' => :'kratos_courier_http_request_config_body',
    :'kratos_courier_http_request_config_headers' => :'kratos_courier_http_request_config_headers',
    :'kratos_courier_http_request_config_method' => :'kratos_courier_http_request_config_method',
    :'kratos_courier_http_request_config_url' => :'kratos_courier_http_request_config_url',
    :'kratos_courier_smtp_connection_uri' => :'kratos_courier_smtp_connection_uri',
    :'kratos_courier_smtp_from_address' => :'kratos_courier_smtp_from_address',
    :'kratos_courier_smtp_from_name' => :'kratos_courier_smtp_from_name',
    :'kratos_courier_smtp_headers' => :'kratos_courier_smtp_headers',
    :'kratos_courier_smtp_local_name' => :'kratos_courier_smtp_local_name',
    :'kratos_courier_templates_login_code_valid_email_body_html' => :'kratos_courier_templates_login_code_valid_email_body_html',
    :'kratos_courier_templates_login_code_valid_email_body_plaintext' => :'kratos_courier_templates_login_code_valid_email_body_plaintext',
    :'kratos_courier_templates_login_code_valid_email_subject' => :'kratos_courier_templates_login_code_valid_email_subject',
    :'kratos_courier_templates_login_code_valid_sms_body_plaintext' => :'kratos_courier_templates_login_code_valid_sms_body_plaintext',
    :'kratos_courier_templates_recovery_code_invalid_email_body_html' => :'kratos_courier_templates_recovery_code_invalid_email_body_html',
    :'kratos_courier_templates_recovery_code_invalid_email_body_plaintext' => :'kratos_courier_templates_recovery_code_invalid_email_body_plaintext',
    :'kratos_courier_templates_recovery_code_invalid_email_subject' => :'kratos_courier_templates_recovery_code_invalid_email_subject',
    :'kratos_courier_templates_recovery_code_valid_email_body_html' => :'kratos_courier_templates_recovery_code_valid_email_body_html',
    :'kratos_courier_templates_recovery_code_valid_email_body_plaintext' => :'kratos_courier_templates_recovery_code_valid_email_body_plaintext',
    :'kratos_courier_templates_recovery_code_valid_email_subject' => :'kratos_courier_templates_recovery_code_valid_email_subject',
    :'kratos_courier_templates_recovery_invalid_email_body_html' => :'kratos_courier_templates_recovery_invalid_email_body_html',
    :'kratos_courier_templates_recovery_invalid_email_body_plaintext' => :'kratos_courier_templates_recovery_invalid_email_body_plaintext',
    :'kratos_courier_templates_recovery_invalid_email_subject' => :'kratos_courier_templates_recovery_invalid_email_subject',
    :'kratos_courier_templates_recovery_valid_email_body_html' => :'kratos_courier_templates_recovery_valid_email_body_html',
    :'kratos_courier_templates_recovery_valid_email_body_plaintext' => :'kratos_courier_templates_recovery_valid_email_body_plaintext',
    :'kratos_courier_templates_recovery_valid_email_subject' => :'kratos_courier_templates_recovery_valid_email_subject',
    :'kratos_courier_templates_registration_code_valid_email_body_html' => :'kratos_courier_templates_registration_code_valid_email_body_html',
    :'kratos_courier_templates_registration_code_valid_email_body_plaintext' => :'kratos_courier_templates_registration_code_valid_email_body_plaintext',
    :'kratos_courier_templates_registration_code_valid_email_subject' => :'kratos_courier_templates_registration_code_valid_email_subject',
    :'kratos_courier_templates_verification_code_invalid_email_body_html' => :'kratos_courier_templates_verification_code_invalid_email_body_html',
    :'kratos_courier_templates_verification_code_invalid_email_body_plaintext' => :'kratos_courier_templates_verification_code_invalid_email_body_plaintext',
    :'kratos_courier_templates_verification_code_invalid_email_subject' => :'kratos_courier_templates_verification_code_invalid_email_subject',
    :'kratos_courier_templates_verification_code_valid_email_body_html' => :'kratos_courier_templates_verification_code_valid_email_body_html',
    :'kratos_courier_templates_verification_code_valid_email_body_plaintext' => :'kratos_courier_templates_verification_code_valid_email_body_plaintext',
    :'kratos_courier_templates_verification_code_valid_email_subject' => :'kratos_courier_templates_verification_code_valid_email_subject',
    :'kratos_courier_templates_verification_code_valid_sms_body_plaintext' => :'kratos_courier_templates_verification_code_valid_sms_body_plaintext',
    :'kratos_courier_templates_verification_invalid_email_body_html' => :'kratos_courier_templates_verification_invalid_email_body_html',
    :'kratos_courier_templates_verification_invalid_email_body_plaintext' => :'kratos_courier_templates_verification_invalid_email_body_plaintext',
    :'kratos_courier_templates_verification_invalid_email_subject' => :'kratos_courier_templates_verification_invalid_email_subject',
    :'kratos_courier_templates_verification_valid_email_body_html' => :'kratos_courier_templates_verification_valid_email_body_html',
    :'kratos_courier_templates_verification_valid_email_body_plaintext' => :'kratos_courier_templates_verification_valid_email_body_plaintext',
    :'kratos_courier_templates_verification_valid_email_subject' => :'kratos_courier_templates_verification_valid_email_subject',
    :'kratos_feature_flags_cacheable_sessions' => :'kratos_feature_flags_cacheable_sessions',
    :'kratos_feature_flags_use_continue_with_transitions' => :'kratos_feature_flags_use_continue_with_transitions',
    :'kratos_identity_schemas' => :'kratos_identity_schemas',
    :'kratos_oauth2_provider_headers' => :'kratos_oauth2_provider_headers',
    :'kratos_oauth2_provider_override_return_to' => :'kratos_oauth2_provider_override_return_to',
    :'kratos_oauth2_provider_url' => :'kratos_oauth2_provider_url',
    :'kratos_preview_default_read_consistency_level' => :'kratos_preview_default_read_consistency_level',
    :'kratos_secrets_cipher' => :'kratos_secrets_cipher',
    :'kratos_secrets_cookie' => :'kratos_secrets_cookie',
    :'kratos_secrets_default' => :'kratos_secrets_default',
    :'kratos_selfservice_allowed_return_urls' => :'kratos_selfservice_allowed_return_urls',
    :'kratos_selfservice_default_browser_return_url' => :'kratos_selfservice_default_browser_return_url',
    :'kratos_selfservice_flows_error_ui_url' => :'kratos_selfservice_flows_error_ui_url',
    :'kratos_selfservice_flows_login_after_code_default_browser_return_url' => :'kratos_selfservice_flows_login_after_code_default_browser_return_url',
    :'kratos_selfservice_flows_login_after_default_browser_return_url' => :'kratos_selfservice_flows_login_after_default_browser_return_url',
    :'kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url' => :'kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url',
    :'kratos_selfservice_flows_login_after_oidc_default_browser_return_url' => :'kratos_selfservice_flows_login_after_oidc_default_browser_return_url',
    :'kratos_selfservice_flows_login_after_password_default_browser_return_url' => :'kratos_selfservice_flows_login_after_password_default_browser_return_url',
    :'kratos_selfservice_flows_login_after_totp_default_browser_return_url' => :'kratos_selfservice_flows_login_after_totp_default_browser_return_url',
    :'kratos_selfservice_flows_login_after_webauthn_default_browser_return_url' => :'kratos_selfservice_flows_login_after_webauthn_default_browser_return_url',
    :'kratos_selfservice_flows_login_lifespan' => :'kratos_selfservice_flows_login_lifespan',
    :'kratos_selfservice_flows_login_ui_url' => :'kratos_selfservice_flows_login_ui_url',
    :'kratos_selfservice_flows_logout_after_default_browser_return_url' => :'kratos_selfservice_flows_logout_after_default_browser_return_url',
    :'kratos_selfservice_flows_recovery_after_default_browser_return_url' => :'kratos_selfservice_flows_recovery_after_default_browser_return_url',
    :'kratos_selfservice_flows_recovery_enabled' => :'kratos_selfservice_flows_recovery_enabled',
    :'kratos_selfservice_flows_recovery_lifespan' => :'kratos_selfservice_flows_recovery_lifespan',
    :'kratos_selfservice_flows_recovery_notify_unknown_recipients' => :'kratos_selfservice_flows_recovery_notify_unknown_recipients',
    :'kratos_selfservice_flows_recovery_ui_url' => :'kratos_selfservice_flows_recovery_ui_url',
    :'kratos_selfservice_flows_recovery_use' => :'kratos_selfservice_flows_recovery_use',
    :'kratos_selfservice_flows_registration_after_code_default_browser_return_url' => :'kratos_selfservice_flows_registration_after_code_default_browser_return_url',
    :'kratos_selfservice_flows_registration_after_default_browser_return_url' => :'kratos_selfservice_flows_registration_after_default_browser_return_url',
    :'kratos_selfservice_flows_registration_after_oidc_default_browser_return_url' => :'kratos_selfservice_flows_registration_after_oidc_default_browser_return_url',
    :'kratos_selfservice_flows_registration_after_password_default_browser_return_url' => :'kratos_selfservice_flows_registration_after_password_default_browser_return_url',
    :'kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url' => :'kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url',
    :'kratos_selfservice_flows_registration_enabled' => :'kratos_selfservice_flows_registration_enabled',
    :'kratos_selfservice_flows_registration_lifespan' => :'kratos_selfservice_flows_registration_lifespan',
    :'kratos_selfservice_flows_registration_login_hints' => :'kratos_selfservice_flows_registration_login_hints',
    :'kratos_selfservice_flows_registration_ui_url' => :'kratos_selfservice_flows_registration_ui_url',
    :'kratos_selfservice_flows_settings_after_default_browser_return_url' => :'kratos_selfservice_flows_settings_after_default_browser_return_url',
    :'kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url' => :'kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url',
    :'kratos_selfservice_flows_settings_after_oidc_default_browser_return_url' => :'kratos_selfservice_flows_settings_after_oidc_default_browser_return_url',
    :'kratos_selfservice_flows_settings_after_password_default_browser_return_url' => :'kratos_selfservice_flows_settings_after_password_default_browser_return_url',
    :'kratos_selfservice_flows_settings_after_profile_default_browser_return_url' => :'kratos_selfservice_flows_settings_after_profile_default_browser_return_url',
    :'kratos_selfservice_flows_settings_after_totp_default_browser_return_url' => :'kratos_selfservice_flows_settings_after_totp_default_browser_return_url',
    :'kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url' => :'kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url',
    :'kratos_selfservice_flows_settings_lifespan' => :'kratos_selfservice_flows_settings_lifespan',
    :'kratos_selfservice_flows_settings_privileged_session_max_age' => :'kratos_selfservice_flows_settings_privileged_session_max_age',
    :'kratos_selfservice_flows_settings_required_aal' => :'kratos_selfservice_flows_settings_required_aal',
    :'kratos_selfservice_flows_settings_ui_url' => :'kratos_selfservice_flows_settings_ui_url',
    :'kratos_selfservice_flows_verification_after_default_browser_return_url' => :'kratos_selfservice_flows_verification_after_default_browser_return_url',
    :'kratos_selfservice_flows_verification_enabled' => :'kratos_selfservice_flows_verification_enabled',
    :'kratos_selfservice_flows_verification_lifespan' => :'kratos_selfservice_flows_verification_lifespan',
    :'kratos_selfservice_flows_verification_notify_unknown_recipients' => :'kratos_selfservice_flows_verification_notify_unknown_recipients',
    :'kratos_selfservice_flows_verification_ui_url' => :'kratos_selfservice_flows_verification_ui_url',
    :'kratos_selfservice_flows_verification_use' => :'kratos_selfservice_flows_verification_use',
    :'kratos_selfservice_methods_code_config_lifespan' => :'kratos_selfservice_methods_code_config_lifespan',
    :'kratos_selfservice_methods_code_enabled' => :'kratos_selfservice_methods_code_enabled',
    :'kratos_selfservice_methods_code_mfa_enabled' => :'kratos_selfservice_methods_code_mfa_enabled',
    :'kratos_selfservice_methods_code_passwordless_enabled' => :'kratos_selfservice_methods_code_passwordless_enabled',
    :'kratos_selfservice_methods_link_config_base_url' => :'kratos_selfservice_methods_link_config_base_url',
    :'kratos_selfservice_methods_link_config_lifespan' => :'kratos_selfservice_methods_link_config_lifespan',
    :'kratos_selfservice_methods_link_enabled' => :'kratos_selfservice_methods_link_enabled',
    :'kratos_selfservice_methods_lookup_secret_enabled' => :'kratos_selfservice_methods_lookup_secret_enabled',
    :'kratos_selfservice_methods_oidc_config_base_redirect_uri' => :'kratos_selfservice_methods_oidc_config_base_redirect_uri',
    :'kratos_selfservice_methods_oidc_config_providers' => :'kratos_selfservice_methods_oidc_config_providers',
    :'kratos_selfservice_methods_oidc_enabled' => :'kratos_selfservice_methods_oidc_enabled',
    :'kratos_selfservice_methods_password_config_haveibeenpwned_enabled' => :'kratos_selfservice_methods_password_config_haveibeenpwned_enabled',
    :'kratos_selfservice_methods_password_config_identifier_similarity_check_enabled' => :'kratos_selfservice_methods_password_config_identifier_similarity_check_enabled',
    :'kratos_selfservice_methods_password_config_ignore_network_errors' => :'kratos_selfservice_methods_password_config_ignore_network_errors',
    :'kratos_selfservice_methods_password_config_max_breaches' => :'kratos_selfservice_methods_password_config_max_breaches',
    :'kratos_selfservice_methods_password_config_min_password_length' => :'kratos_selfservice_methods_password_config_min_password_length',
    :'kratos_selfservice_methods_password_enabled' => :'kratos_selfservice_methods_password_enabled',
    :'kratos_selfservice_methods_profile_enabled' => :'kratos_selfservice_methods_profile_enabled',
    :'kratos_selfservice_methods_totp_config_issuer' => :'kratos_selfservice_methods_totp_config_issuer',
    :'kratos_selfservice_methods_totp_enabled' => :'kratos_selfservice_methods_totp_enabled',
    :'kratos_selfservice_methods_webauthn_config_passwordless' => :'kratos_selfservice_methods_webauthn_config_passwordless',
    :'kratos_selfservice_methods_webauthn_config_rp_display_name' => :'kratos_selfservice_methods_webauthn_config_rp_display_name',
    :'kratos_selfservice_methods_webauthn_config_rp_icon' => :'kratos_selfservice_methods_webauthn_config_rp_icon',
    :'kratos_selfservice_methods_webauthn_config_rp_id' => :'kratos_selfservice_methods_webauthn_config_rp_id',
    :'kratos_selfservice_methods_webauthn_config_rp_origins' => :'kratos_selfservice_methods_webauthn_config_rp_origins',
    :'kratos_selfservice_methods_webauthn_enabled' => :'kratos_selfservice_methods_webauthn_enabled',
    :'kratos_session_cookie_persistent' => :'kratos_session_cookie_persistent',
    :'kratos_session_cookie_same_site' => :'kratos_session_cookie_same_site',
    :'kratos_session_lifespan' => :'kratos_session_lifespan',
    :'kratos_session_whoami_required_aal' => :'kratos_session_whoami_required_aal',
    :'kratos_session_whoami_tokenizer_templates' => :'kratos_session_whoami_tokenizer_templates',
    :'name' => :'name',
    :'project_id' => :'project_id',
    :'project_revision_hooks' => :'project_revision_hooks',
    :'serve_admin_cors_allowed_origins' => :'serve_admin_cors_allowed_origins',
    :'serve_admin_cors_enabled' => :'serve_admin_cors_enabled',
    :'serve_public_cors_allowed_origins' => :'serve_public_cors_allowed_origins',
    :'serve_public_cors_enabled' => :'serve_public_cors_enabled',
    :'strict_security' => :'strict_security',
    :'updated_at' => :'updated_at',
    :'workspace_id' => :'workspace_id'
  }
end

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 2303

def self.build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  attributes = attributes.transform_keys(&:to_sym)
  transformed_hash = {}
  openapi_types.each_pair do |key, type|
    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
      transformed_hash["#{key}"] = nil
    elsif type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the attribute
      # is documented as an array but the input is not
      if attributes[attribute_map[key]].is_a?(Array)
        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
      end
    elsif !attributes[attribute_map[key]].nil?
      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    end
  end
  new(transformed_hash)
end

.openapi_nullableObject

List of attributes with nullable: true



1007
1008
1009
1010
1011
1012
1013
1014
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 1007

def self.openapi_nullable
  Set.new([
    :'kratos_courier_http_request_config_headers',
    :'kratos_courier_smtp_headers',
    :'kratos_oauth2_provider_headers',
    :'workspace_id'
  ])
end

.openapi_typesObject

Attribute type mapping.



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 807

def self.openapi_types
  {
    :'created_at' => :'Time',
    :'disable_account_experience_welcome_screen' => :'Boolean',
    :'enable_ax_v2' => :'Boolean',
    :'environment' => :'String',
    :'hydra_oauth2_allowed_top_level_claims' => :'Array<String>',
    :'hydra_oauth2_client_credentials_default_grant_allowed_scope' => :'Boolean',
    :'hydra_oauth2_exclude_not_before_claim' => :'Boolean',
    :'hydra_oauth2_grant_jwt_iat_optional' => :'Boolean',
    :'hydra_oauth2_grant_jwt_jti_optional' => :'Boolean',
    :'hydra_oauth2_grant_jwt_max_ttl' => :'String',
    :'hydra_oauth2_mirror_top_level_claims' => :'Boolean',
    :'hydra_oauth2_pkce_enforced' => :'Boolean',
    :'hydra_oauth2_pkce_enforced_for_public_clients' => :'Boolean',
    :'hydra_oauth2_refresh_token_hook' => :'String',
    :'hydra_oauth2_token_hook' => :'String',
    :'hydra_oidc_dynamic_client_registration_default_scope' => :'Array<String>',
    :'hydra_oidc_dynamic_client_registration_enabled' => :'Boolean',
    :'hydra_oidc_subject_identifiers_pairwise_salt' => :'String',
    :'hydra_oidc_subject_identifiers_supported_types' => :'Array<String>',
    :'hydra_secrets_cookie' => :'Array<String>',
    :'hydra_secrets_system' => :'Array<String>',
    :'hydra_serve_cookies_same_site_legacy_workaround' => :'Boolean',
    :'hydra_serve_cookies_same_site_mode' => :'String',
    :'hydra_strategies_access_token' => :'String',
    :'hydra_strategies_scope' => :'String',
    :'hydra_ttl_access_token' => :'String',
    :'hydra_ttl_auth_code' => :'String',
    :'hydra_ttl_id_token' => :'String',
    :'hydra_ttl_login_consent_request' => :'String',
    :'hydra_ttl_refresh_token' => :'String',
    :'hydra_urls_consent' => :'String',
    :'hydra_urls_error' => :'String',
    :'hydra_urls_login' => :'String',
    :'hydra_urls_logout' => :'String',
    :'hydra_urls_post_logout_redirect' => :'String',
    :'hydra_urls_registration' => :'String',
    :'hydra_urls_self_issuer' => :'String',
    :'hydra_webfinger_jwks_broadcast_keys' => :'Array<String>',
    :'hydra_webfinger_oidc_discovery_auth_url' => :'String',
    :'hydra_webfinger_oidc_discovery_client_registration_url' => :'String',
    :'hydra_webfinger_oidc_discovery_jwks_url' => :'String',
    :'hydra_webfinger_oidc_discovery_supported_claims' => :'Array<String>',
    :'hydra_webfinger_oidc_discovery_supported_scope' => :'Array<String>',
    :'hydra_webfinger_oidc_discovery_token_url' => :'String',
    :'hydra_webfinger_oidc_discovery_userinfo_url' => :'String',
    :'id' => :'String',
    :'keto_namespace_configuration' => :'String',
    :'keto_namespaces' => :'Array<KetoNamespace>',
    :'kratos_cookies_same_site' => :'String',
    :'kratos_courier_channels' => :'Array<NormalizedProjectRevisionCourierChannel>',
    :'kratos_courier_delivery_strategy' => :'String',
    :'kratos_courier_http_request_config_auth_api_key_in' => :'String',
    :'kratos_courier_http_request_config_auth_api_key_name' => :'String',
    :'kratos_courier_http_request_config_auth_api_key_value' => :'String',
    :'kratos_courier_http_request_config_auth_basic_auth_password' => :'String',
    :'kratos_courier_http_request_config_auth_basic_auth_user' => :'String',
    :'kratos_courier_http_request_config_auth_type' => :'String',
    :'kratos_courier_http_request_config_body' => :'String',
    :'kratos_courier_http_request_config_headers' => :'Object',
    :'kratos_courier_http_request_config_method' => :'String',
    :'kratos_courier_http_request_config_url' => :'String',
    :'kratos_courier_smtp_connection_uri' => :'String',
    :'kratos_courier_smtp_from_address' => :'String',
    :'kratos_courier_smtp_from_name' => :'String',
    :'kratos_courier_smtp_headers' => :'Object',
    :'kratos_courier_smtp_local_name' => :'String',
    :'kratos_courier_templates_login_code_valid_email_body_html' => :'String',
    :'kratos_courier_templates_login_code_valid_email_body_plaintext' => :'String',
    :'kratos_courier_templates_login_code_valid_email_subject' => :'String',
    :'kratos_courier_templates_login_code_valid_sms_body_plaintext' => :'String',
    :'kratos_courier_templates_recovery_code_invalid_email_body_html' => :'String',
    :'kratos_courier_templates_recovery_code_invalid_email_body_plaintext' => :'String',
    :'kratos_courier_templates_recovery_code_invalid_email_subject' => :'String',
    :'kratos_courier_templates_recovery_code_valid_email_body_html' => :'String',
    :'kratos_courier_templates_recovery_code_valid_email_body_plaintext' => :'String',
    :'kratos_courier_templates_recovery_code_valid_email_subject' => :'String',
    :'kratos_courier_templates_recovery_invalid_email_body_html' => :'String',
    :'kratos_courier_templates_recovery_invalid_email_body_plaintext' => :'String',
    :'kratos_courier_templates_recovery_invalid_email_subject' => :'String',
    :'kratos_courier_templates_recovery_valid_email_body_html' => :'String',
    :'kratos_courier_templates_recovery_valid_email_body_plaintext' => :'String',
    :'kratos_courier_templates_recovery_valid_email_subject' => :'String',
    :'kratos_courier_templates_registration_code_valid_email_body_html' => :'String',
    :'kratos_courier_templates_registration_code_valid_email_body_plaintext' => :'String',
    :'kratos_courier_templates_registration_code_valid_email_subject' => :'String',
    :'kratos_courier_templates_verification_code_invalid_email_body_html' => :'String',
    :'kratos_courier_templates_verification_code_invalid_email_body_plaintext' => :'String',
    :'kratos_courier_templates_verification_code_invalid_email_subject' => :'String',
    :'kratos_courier_templates_verification_code_valid_email_body_html' => :'String',
    :'kratos_courier_templates_verification_code_valid_email_body_plaintext' => :'String',
    :'kratos_courier_templates_verification_code_valid_email_subject' => :'String',
    :'kratos_courier_templates_verification_code_valid_sms_body_plaintext' => :'String',
    :'kratos_courier_templates_verification_invalid_email_body_html' => :'String',
    :'kratos_courier_templates_verification_invalid_email_body_plaintext' => :'String',
    :'kratos_courier_templates_verification_invalid_email_subject' => :'String',
    :'kratos_courier_templates_verification_valid_email_body_html' => :'String',
    :'kratos_courier_templates_verification_valid_email_body_plaintext' => :'String',
    :'kratos_courier_templates_verification_valid_email_subject' => :'String',
    :'kratos_feature_flags_cacheable_sessions' => :'Boolean',
    :'kratos_feature_flags_use_continue_with_transitions' => :'Boolean',
    :'kratos_identity_schemas' => :'Array<NormalizedProjectRevisionIdentitySchema>',
    :'kratos_oauth2_provider_headers' => :'Object',
    :'kratos_oauth2_provider_override_return_to' => :'Boolean',
    :'kratos_oauth2_provider_url' => :'String',
    :'kratos_preview_default_read_consistency_level' => :'String',
    :'kratos_secrets_cipher' => :'Array<String>',
    :'kratos_secrets_cookie' => :'Array<String>',
    :'kratos_secrets_default' => :'Array<String>',
    :'kratos_selfservice_allowed_return_urls' => :'Array<String>',
    :'kratos_selfservice_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_error_ui_url' => :'String',
    :'kratos_selfservice_flows_login_after_code_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_login_after_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_login_after_oidc_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_login_after_password_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_login_after_totp_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_login_after_webauthn_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_login_lifespan' => :'String',
    :'kratos_selfservice_flows_login_ui_url' => :'String',
    :'kratos_selfservice_flows_logout_after_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_recovery_after_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_recovery_enabled' => :'Boolean',
    :'kratos_selfservice_flows_recovery_lifespan' => :'String',
    :'kratos_selfservice_flows_recovery_notify_unknown_recipients' => :'Boolean',
    :'kratos_selfservice_flows_recovery_ui_url' => :'String',
    :'kratos_selfservice_flows_recovery_use' => :'String',
    :'kratos_selfservice_flows_registration_after_code_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_registration_after_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_registration_after_oidc_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_registration_after_password_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_registration_enabled' => :'Boolean',
    :'kratos_selfservice_flows_registration_lifespan' => :'String',
    :'kratos_selfservice_flows_registration_login_hints' => :'Boolean',
    :'kratos_selfservice_flows_registration_ui_url' => :'String',
    :'kratos_selfservice_flows_settings_after_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_settings_after_oidc_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_settings_after_password_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_settings_after_profile_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_settings_after_totp_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_settings_lifespan' => :'String',
    :'kratos_selfservice_flows_settings_privileged_session_max_age' => :'String',
    :'kratos_selfservice_flows_settings_required_aal' => :'String',
    :'kratos_selfservice_flows_settings_ui_url' => :'String',
    :'kratos_selfservice_flows_verification_after_default_browser_return_url' => :'String',
    :'kratos_selfservice_flows_verification_enabled' => :'Boolean',
    :'kratos_selfservice_flows_verification_lifespan' => :'String',
    :'kratos_selfservice_flows_verification_notify_unknown_recipients' => :'Boolean',
    :'kratos_selfservice_flows_verification_ui_url' => :'String',
    :'kratos_selfservice_flows_verification_use' => :'String',
    :'kratos_selfservice_methods_code_config_lifespan' => :'String',
    :'kratos_selfservice_methods_code_enabled' => :'Boolean',
    :'kratos_selfservice_methods_code_mfa_enabled' => :'Boolean',
    :'kratos_selfservice_methods_code_passwordless_enabled' => :'Boolean',
    :'kratos_selfservice_methods_link_config_base_url' => :'String',
    :'kratos_selfservice_methods_link_config_lifespan' => :'String',
    :'kratos_selfservice_methods_link_enabled' => :'Boolean',
    :'kratos_selfservice_methods_lookup_secret_enabled' => :'Boolean',
    :'kratos_selfservice_methods_oidc_config_base_redirect_uri' => :'String',
    :'kratos_selfservice_methods_oidc_config_providers' => :'Array<NormalizedProjectRevisionThirdPartyProvider>',
    :'kratos_selfservice_methods_oidc_enabled' => :'Boolean',
    :'kratos_selfservice_methods_password_config_haveibeenpwned_enabled' => :'Boolean',
    :'kratos_selfservice_methods_password_config_identifier_similarity_check_enabled' => :'Boolean',
    :'kratos_selfservice_methods_password_config_ignore_network_errors' => :'Boolean',
    :'kratos_selfservice_methods_password_config_max_breaches' => :'Integer',
    :'kratos_selfservice_methods_password_config_min_password_length' => :'Integer',
    :'kratos_selfservice_methods_password_enabled' => :'Boolean',
    :'kratos_selfservice_methods_profile_enabled' => :'Boolean',
    :'kratos_selfservice_methods_totp_config_issuer' => :'String',
    :'kratos_selfservice_methods_totp_enabled' => :'Boolean',
    :'kratos_selfservice_methods_webauthn_config_passwordless' => :'Boolean',
    :'kratos_selfservice_methods_webauthn_config_rp_display_name' => :'String',
    :'kratos_selfservice_methods_webauthn_config_rp_icon' => :'String',
    :'kratos_selfservice_methods_webauthn_config_rp_id' => :'String',
    :'kratos_selfservice_methods_webauthn_config_rp_origins' => :'Array<String>',
    :'kratos_selfservice_methods_webauthn_enabled' => :'Boolean',
    :'kratos_session_cookie_persistent' => :'Boolean',
    :'kratos_session_cookie_same_site' => :'String',
    :'kratos_session_lifespan' => :'String',
    :'kratos_session_whoami_required_aal' => :'String',
    :'kratos_session_whoami_tokenizer_templates' => :'Array<NormalizedProjectRevisionTokenizerTemplate>',
    :'name' => :'String',
    :'project_id' => :'String',
    :'project_revision_hooks' => :'Array<NormalizedProjectRevisionHook>',
    :'serve_admin_cors_allowed_origins' => :'Array<String>',
    :'serve_admin_cors_enabled' => :'Boolean',
    :'serve_public_cors_allowed_origins' => :'Array<String>',
    :'serve_public_cors_enabled' => :'Boolean',
    :'strict_security' => :'Boolean',
    :'updated_at' => :'Time',
    :'workspace_id' => :'String'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 2089

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      created_at == o.created_at &&
       == o. &&
      enable_ax_v2 == o.enable_ax_v2 &&
      environment == o.environment &&
      hydra_oauth2_allowed_top_level_claims == o.hydra_oauth2_allowed_top_level_claims &&
      hydra_oauth2_client_credentials_default_grant_allowed_scope == o.hydra_oauth2_client_credentials_default_grant_allowed_scope &&
      hydra_oauth2_exclude_not_before_claim == o.hydra_oauth2_exclude_not_before_claim &&
      hydra_oauth2_grant_jwt_iat_optional == o.hydra_oauth2_grant_jwt_iat_optional &&
      hydra_oauth2_grant_jwt_jti_optional == o.hydra_oauth2_grant_jwt_jti_optional &&
      hydra_oauth2_grant_jwt_max_ttl == o.hydra_oauth2_grant_jwt_max_ttl &&
      hydra_oauth2_mirror_top_level_claims == o.hydra_oauth2_mirror_top_level_claims &&
      hydra_oauth2_pkce_enforced == o.hydra_oauth2_pkce_enforced &&
      hydra_oauth2_pkce_enforced_for_public_clients == o.hydra_oauth2_pkce_enforced_for_public_clients &&
      hydra_oauth2_refresh_token_hook == o.hydra_oauth2_refresh_token_hook &&
      hydra_oauth2_token_hook == o.hydra_oauth2_token_hook &&
      hydra_oidc_dynamic_client_registration_default_scope == o.hydra_oidc_dynamic_client_registration_default_scope &&
      hydra_oidc_dynamic_client_registration_enabled == o.hydra_oidc_dynamic_client_registration_enabled &&
      hydra_oidc_subject_identifiers_pairwise_salt == o.hydra_oidc_subject_identifiers_pairwise_salt &&
      hydra_oidc_subject_identifiers_supported_types == o.hydra_oidc_subject_identifiers_supported_types &&
      hydra_secrets_cookie == o.hydra_secrets_cookie &&
      hydra_secrets_system == o.hydra_secrets_system &&
      hydra_serve_cookies_same_site_legacy_workaround == o.hydra_serve_cookies_same_site_legacy_workaround &&
      hydra_serve_cookies_same_site_mode == o.hydra_serve_cookies_same_site_mode &&
      hydra_strategies_access_token == o.hydra_strategies_access_token &&
      hydra_strategies_scope == o.hydra_strategies_scope &&
      hydra_ttl_access_token == o.hydra_ttl_access_token &&
      hydra_ttl_auth_code == o.hydra_ttl_auth_code &&
      hydra_ttl_id_token == o.hydra_ttl_id_token &&
       == o. &&
      hydra_ttl_refresh_token == o.hydra_ttl_refresh_token &&
      hydra_urls_consent == o.hydra_urls_consent &&
      hydra_urls_error == o.hydra_urls_error &&
       == o. &&
      hydra_urls_logout == o.hydra_urls_logout &&
      hydra_urls_post_logout_redirect == o.hydra_urls_post_logout_redirect &&
      hydra_urls_registration == o.hydra_urls_registration &&
      hydra_urls_self_issuer == o.hydra_urls_self_issuer &&
      hydra_webfinger_jwks_broadcast_keys == o.hydra_webfinger_jwks_broadcast_keys &&
      hydra_webfinger_oidc_discovery_auth_url == o.hydra_webfinger_oidc_discovery_auth_url &&
      hydra_webfinger_oidc_discovery_client_registration_url == o.hydra_webfinger_oidc_discovery_client_registration_url &&
      hydra_webfinger_oidc_discovery_jwks_url == o.hydra_webfinger_oidc_discovery_jwks_url &&
      hydra_webfinger_oidc_discovery_supported_claims == o.hydra_webfinger_oidc_discovery_supported_claims &&
      hydra_webfinger_oidc_discovery_supported_scope == o.hydra_webfinger_oidc_discovery_supported_scope &&
      hydra_webfinger_oidc_discovery_token_url == o.hydra_webfinger_oidc_discovery_token_url &&
      hydra_webfinger_oidc_discovery_userinfo_url == o.hydra_webfinger_oidc_discovery_userinfo_url &&
      id == o.id &&
      keto_namespace_configuration == o.keto_namespace_configuration &&
      keto_namespaces == o.keto_namespaces &&
      kratos_cookies_same_site == o.kratos_cookies_same_site &&
      kratos_courier_channels == o.kratos_courier_channels &&
      kratos_courier_delivery_strategy == o.kratos_courier_delivery_strategy &&
      kratos_courier_http_request_config_auth_api_key_in == o.kratos_courier_http_request_config_auth_api_key_in &&
      kratos_courier_http_request_config_auth_api_key_name == o.kratos_courier_http_request_config_auth_api_key_name &&
      kratos_courier_http_request_config_auth_api_key_value == o.kratos_courier_http_request_config_auth_api_key_value &&
      kratos_courier_http_request_config_auth_basic_auth_password == o.kratos_courier_http_request_config_auth_basic_auth_password &&
      kratos_courier_http_request_config_auth_basic_auth_user == o.kratos_courier_http_request_config_auth_basic_auth_user &&
      kratos_courier_http_request_config_auth_type == o.kratos_courier_http_request_config_auth_type &&
      kratos_courier_http_request_config_body == o.kratos_courier_http_request_config_body &&
      kratos_courier_http_request_config_headers == o.kratos_courier_http_request_config_headers &&
      kratos_courier_http_request_config_method == o.kratos_courier_http_request_config_method &&
      kratos_courier_http_request_config_url == o.kratos_courier_http_request_config_url &&
      kratos_courier_smtp_connection_uri == o.kratos_courier_smtp_connection_uri &&
      kratos_courier_smtp_from_address == o.kratos_courier_smtp_from_address &&
      kratos_courier_smtp_from_name == o.kratos_courier_smtp_from_name &&
      kratos_courier_smtp_headers == o.kratos_courier_smtp_headers &&
      kratos_courier_smtp_local_name == o.kratos_courier_smtp_local_name &&
       == o. &&
       == o. &&
       == o. &&
       == o. &&
      kratos_courier_templates_recovery_code_invalid_email_body_html == o.kratos_courier_templates_recovery_code_invalid_email_body_html &&
      kratos_courier_templates_recovery_code_invalid_email_body_plaintext == o.kratos_courier_templates_recovery_code_invalid_email_body_plaintext &&
      kratos_courier_templates_recovery_code_invalid_email_subject == o.kratos_courier_templates_recovery_code_invalid_email_subject &&
      kratos_courier_templates_recovery_code_valid_email_body_html == o.kratos_courier_templates_recovery_code_valid_email_body_html &&
      kratos_courier_templates_recovery_code_valid_email_body_plaintext == o.kratos_courier_templates_recovery_code_valid_email_body_plaintext &&
      kratos_courier_templates_recovery_code_valid_email_subject == o.kratos_courier_templates_recovery_code_valid_email_subject &&
      kratos_courier_templates_recovery_invalid_email_body_html == o.kratos_courier_templates_recovery_invalid_email_body_html &&
      kratos_courier_templates_recovery_invalid_email_body_plaintext == o.kratos_courier_templates_recovery_invalid_email_body_plaintext &&
      kratos_courier_templates_recovery_invalid_email_subject == o.kratos_courier_templates_recovery_invalid_email_subject &&
      kratos_courier_templates_recovery_valid_email_body_html == o.kratos_courier_templates_recovery_valid_email_body_html &&
      kratos_courier_templates_recovery_valid_email_body_plaintext == o.kratos_courier_templates_recovery_valid_email_body_plaintext &&
      kratos_courier_templates_recovery_valid_email_subject == o.kratos_courier_templates_recovery_valid_email_subject &&
      kratos_courier_templates_registration_code_valid_email_body_html == o.kratos_courier_templates_registration_code_valid_email_body_html &&
      kratos_courier_templates_registration_code_valid_email_body_plaintext == o.kratos_courier_templates_registration_code_valid_email_body_plaintext &&
      kratos_courier_templates_registration_code_valid_email_subject == o.kratos_courier_templates_registration_code_valid_email_subject &&
      kratos_courier_templates_verification_code_invalid_email_body_html == o.kratos_courier_templates_verification_code_invalid_email_body_html &&
      kratos_courier_templates_verification_code_invalid_email_body_plaintext == o.kratos_courier_templates_verification_code_invalid_email_body_plaintext &&
      kratos_courier_templates_verification_code_invalid_email_subject == o.kratos_courier_templates_verification_code_invalid_email_subject &&
      kratos_courier_templates_verification_code_valid_email_body_html == o.kratos_courier_templates_verification_code_valid_email_body_html &&
      kratos_courier_templates_verification_code_valid_email_body_plaintext == o.kratos_courier_templates_verification_code_valid_email_body_plaintext &&
      kratos_courier_templates_verification_code_valid_email_subject == o.kratos_courier_templates_verification_code_valid_email_subject &&
      kratos_courier_templates_verification_code_valid_sms_body_plaintext == o.kratos_courier_templates_verification_code_valid_sms_body_plaintext &&
      kratos_courier_templates_verification_invalid_email_body_html == o.kratos_courier_templates_verification_invalid_email_body_html &&
      kratos_courier_templates_verification_invalid_email_body_plaintext == o.kratos_courier_templates_verification_invalid_email_body_plaintext &&
      kratos_courier_templates_verification_invalid_email_subject == o.kratos_courier_templates_verification_invalid_email_subject &&
      kratos_courier_templates_verification_valid_email_body_html == o.kratos_courier_templates_verification_valid_email_body_html &&
      kratos_courier_templates_verification_valid_email_body_plaintext == o.kratos_courier_templates_verification_valid_email_body_plaintext &&
      kratos_courier_templates_verification_valid_email_subject == o.kratos_courier_templates_verification_valid_email_subject &&
      kratos_feature_flags_cacheable_sessions == o.kratos_feature_flags_cacheable_sessions &&
      kratos_feature_flags_use_continue_with_transitions == o.kratos_feature_flags_use_continue_with_transitions &&
      kratos_identity_schemas == o.kratos_identity_schemas &&
      kratos_oauth2_provider_headers == o.kratos_oauth2_provider_headers &&
      kratos_oauth2_provider_override_return_to == o.kratos_oauth2_provider_override_return_to &&
      kratos_oauth2_provider_url == o.kratos_oauth2_provider_url &&
      kratos_preview_default_read_consistency_level == o.kratos_preview_default_read_consistency_level &&
      kratos_secrets_cipher == o.kratos_secrets_cipher &&
      kratos_secrets_cookie == o.kratos_secrets_cookie &&
      kratos_secrets_default == o.kratos_secrets_default &&
      kratos_selfservice_allowed_return_urls == o.kratos_selfservice_allowed_return_urls &&
      kratos_selfservice_default_browser_return_url == o.kratos_selfservice_default_browser_return_url &&
      kratos_selfservice_flows_error_ui_url == o.kratos_selfservice_flows_error_ui_url &&
       == o. &&
       == o. &&
       == o. &&
       == o. &&
       == o. &&
       == o. &&
       == o. &&
       == o. &&
       == o. &&
      kratos_selfservice_flows_logout_after_default_browser_return_url == o.kratos_selfservice_flows_logout_after_default_browser_return_url &&
      kratos_selfservice_flows_recovery_after_default_browser_return_url == o.kratos_selfservice_flows_recovery_after_default_browser_return_url &&
      kratos_selfservice_flows_recovery_enabled == o.kratos_selfservice_flows_recovery_enabled &&
      kratos_selfservice_flows_recovery_lifespan == o.kratos_selfservice_flows_recovery_lifespan &&
      kratos_selfservice_flows_recovery_notify_unknown_recipients == o.kratos_selfservice_flows_recovery_notify_unknown_recipients &&
      kratos_selfservice_flows_recovery_ui_url == o.kratos_selfservice_flows_recovery_ui_url &&
      kratos_selfservice_flows_recovery_use == o.kratos_selfservice_flows_recovery_use &&
      kratos_selfservice_flows_registration_after_code_default_browser_return_url == o.kratos_selfservice_flows_registration_after_code_default_browser_return_url &&
      kratos_selfservice_flows_registration_after_default_browser_return_url == o.kratos_selfservice_flows_registration_after_default_browser_return_url &&
      kratos_selfservice_flows_registration_after_oidc_default_browser_return_url == o.kratos_selfservice_flows_registration_after_oidc_default_browser_return_url &&
      kratos_selfservice_flows_registration_after_password_default_browser_return_url == o.kratos_selfservice_flows_registration_after_password_default_browser_return_url &&
      kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url == o.kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url &&
      kratos_selfservice_flows_registration_enabled == o.kratos_selfservice_flows_registration_enabled &&
      kratos_selfservice_flows_registration_lifespan == o.kratos_selfservice_flows_registration_lifespan &&
       == o. &&
      kratos_selfservice_flows_registration_ui_url == o.kratos_selfservice_flows_registration_ui_url &&
      kratos_selfservice_flows_settings_after_default_browser_return_url == o.kratos_selfservice_flows_settings_after_default_browser_return_url &&
      kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url == o.kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url &&
      kratos_selfservice_flows_settings_after_oidc_default_browser_return_url == o.kratos_selfservice_flows_settings_after_oidc_default_browser_return_url &&
      kratos_selfservice_flows_settings_after_password_default_browser_return_url == o.kratos_selfservice_flows_settings_after_password_default_browser_return_url &&
      kratos_selfservice_flows_settings_after_profile_default_browser_return_url == o.kratos_selfservice_flows_settings_after_profile_default_browser_return_url &&
      kratos_selfservice_flows_settings_after_totp_default_browser_return_url == o.kratos_selfservice_flows_settings_after_totp_default_browser_return_url &&
      kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url == o.kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url &&
      kratos_selfservice_flows_settings_lifespan == o.kratos_selfservice_flows_settings_lifespan &&
      kratos_selfservice_flows_settings_privileged_session_max_age == o.kratos_selfservice_flows_settings_privileged_session_max_age &&
      kratos_selfservice_flows_settings_required_aal == o.kratos_selfservice_flows_settings_required_aal &&
      kratos_selfservice_flows_settings_ui_url == o.kratos_selfservice_flows_settings_ui_url &&
      kratos_selfservice_flows_verification_after_default_browser_return_url == o.kratos_selfservice_flows_verification_after_default_browser_return_url &&
      kratos_selfservice_flows_verification_enabled == o.kratos_selfservice_flows_verification_enabled &&
      kratos_selfservice_flows_verification_lifespan == o.kratos_selfservice_flows_verification_lifespan &&
      kratos_selfservice_flows_verification_notify_unknown_recipients == o.kratos_selfservice_flows_verification_notify_unknown_recipients &&
      kratos_selfservice_flows_verification_ui_url == o.kratos_selfservice_flows_verification_ui_url &&
      kratos_selfservice_flows_verification_use == o.kratos_selfservice_flows_verification_use &&
      kratos_selfservice_methods_code_config_lifespan == o.kratos_selfservice_methods_code_config_lifespan &&
      kratos_selfservice_methods_code_enabled == o.kratos_selfservice_methods_code_enabled &&
      kratos_selfservice_methods_code_mfa_enabled == o.kratos_selfservice_methods_code_mfa_enabled &&
      kratos_selfservice_methods_code_passwordless_enabled == o.kratos_selfservice_methods_code_passwordless_enabled &&
      kratos_selfservice_methods_link_config_base_url == o.kratos_selfservice_methods_link_config_base_url &&
      kratos_selfservice_methods_link_config_lifespan == o.kratos_selfservice_methods_link_config_lifespan &&
      kratos_selfservice_methods_link_enabled == o.kratos_selfservice_methods_link_enabled &&
      kratos_selfservice_methods_lookup_secret_enabled == o.kratos_selfservice_methods_lookup_secret_enabled &&
      kratos_selfservice_methods_oidc_config_base_redirect_uri == o.kratos_selfservice_methods_oidc_config_base_redirect_uri &&
      kratos_selfservice_methods_oidc_config_providers == o.kratos_selfservice_methods_oidc_config_providers &&
      kratos_selfservice_methods_oidc_enabled == o.kratos_selfservice_methods_oidc_enabled &&
      kratos_selfservice_methods_password_config_haveibeenpwned_enabled == o.kratos_selfservice_methods_password_config_haveibeenpwned_enabled &&
      kratos_selfservice_methods_password_config_identifier_similarity_check_enabled == o.kratos_selfservice_methods_password_config_identifier_similarity_check_enabled &&
      kratos_selfservice_methods_password_config_ignore_network_errors == o.kratos_selfservice_methods_password_config_ignore_network_errors &&
      kratos_selfservice_methods_password_config_max_breaches == o.kratos_selfservice_methods_password_config_max_breaches &&
      kratos_selfservice_methods_password_config_min_password_length == o.kratos_selfservice_methods_password_config_min_password_length &&
      kratos_selfservice_methods_password_enabled == o.kratos_selfservice_methods_password_enabled &&
      kratos_selfservice_methods_profile_enabled == o.kratos_selfservice_methods_profile_enabled &&
      kratos_selfservice_methods_totp_config_issuer == o.kratos_selfservice_methods_totp_config_issuer &&
      kratos_selfservice_methods_totp_enabled == o.kratos_selfservice_methods_totp_enabled &&
      kratos_selfservice_methods_webauthn_config_passwordless == o.kratos_selfservice_methods_webauthn_config_passwordless &&
      kratos_selfservice_methods_webauthn_config_rp_display_name == o.kratos_selfservice_methods_webauthn_config_rp_display_name &&
      kratos_selfservice_methods_webauthn_config_rp_icon == o.kratos_selfservice_methods_webauthn_config_rp_icon &&
      kratos_selfservice_methods_webauthn_config_rp_id == o.kratos_selfservice_methods_webauthn_config_rp_id &&
      kratos_selfservice_methods_webauthn_config_rp_origins == o.kratos_selfservice_methods_webauthn_config_rp_origins &&
      kratos_selfservice_methods_webauthn_enabled == o.kratos_selfservice_methods_webauthn_enabled &&
      kratos_session_cookie_persistent == o.kratos_session_cookie_persistent &&
      kratos_session_cookie_same_site == o.kratos_session_cookie_same_site &&
      kratos_session_lifespan == o.kratos_session_lifespan &&
      kratos_session_whoami_required_aal == o.kratos_session_whoami_required_aal &&
      kratos_session_whoami_tokenizer_templates == o.kratos_session_whoami_tokenizer_templates &&
      name == o.name &&
      project_id == o.project_id &&
      project_revision_hooks == o.project_revision_hooks &&
      serve_admin_cors_allowed_origins == o.serve_admin_cors_allowed_origins &&
      serve_admin_cors_enabled == o.serve_admin_cors_enabled &&
      serve_public_cors_allowed_origins == o.serve_public_cors_allowed_origins &&
      serve_public_cors_enabled == o.serve_public_cors_enabled &&
      strict_security == o.strict_security &&
      updated_at == o.updated_at &&
      workspace_id == o.workspace_id
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 2398

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


2290
2291
2292
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 2290

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



2296
2297
2298
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 2296

def hash
  [created_at, , enable_ax_v2, environment, hydra_oauth2_allowed_top_level_claims, hydra_oauth2_client_credentials_default_grant_allowed_scope, hydra_oauth2_exclude_not_before_claim, hydra_oauth2_grant_jwt_iat_optional, hydra_oauth2_grant_jwt_jti_optional, hydra_oauth2_grant_jwt_max_ttl, hydra_oauth2_mirror_top_level_claims, hydra_oauth2_pkce_enforced, hydra_oauth2_pkce_enforced_for_public_clients, hydra_oauth2_refresh_token_hook, hydra_oauth2_token_hook, hydra_oidc_dynamic_client_registration_default_scope, hydra_oidc_dynamic_client_registration_enabled, hydra_oidc_subject_identifiers_pairwise_salt, hydra_oidc_subject_identifiers_supported_types, hydra_secrets_cookie, hydra_secrets_system, hydra_serve_cookies_same_site_legacy_workaround, hydra_serve_cookies_same_site_mode, hydra_strategies_access_token, hydra_strategies_scope, hydra_ttl_access_token, hydra_ttl_auth_code, hydra_ttl_id_token, , hydra_ttl_refresh_token, hydra_urls_consent, hydra_urls_error, , hydra_urls_logout, hydra_urls_post_logout_redirect, hydra_urls_registration, hydra_urls_self_issuer, hydra_webfinger_jwks_broadcast_keys, hydra_webfinger_oidc_discovery_auth_url, hydra_webfinger_oidc_discovery_client_registration_url, hydra_webfinger_oidc_discovery_jwks_url, hydra_webfinger_oidc_discovery_supported_claims, hydra_webfinger_oidc_discovery_supported_scope, hydra_webfinger_oidc_discovery_token_url, hydra_webfinger_oidc_discovery_userinfo_url, id, keto_namespace_configuration, keto_namespaces, kratos_cookies_same_site, kratos_courier_channels, kratos_courier_delivery_strategy, kratos_courier_http_request_config_auth_api_key_in, kratos_courier_http_request_config_auth_api_key_name, kratos_courier_http_request_config_auth_api_key_value, kratos_courier_http_request_config_auth_basic_auth_password, kratos_courier_http_request_config_auth_basic_auth_user, kratos_courier_http_request_config_auth_type, kratos_courier_http_request_config_body, kratos_courier_http_request_config_headers, kratos_courier_http_request_config_method, kratos_courier_http_request_config_url, kratos_courier_smtp_connection_uri, kratos_courier_smtp_from_address, kratos_courier_smtp_from_name, kratos_courier_smtp_headers, kratos_courier_smtp_local_name, , , , , kratos_courier_templates_recovery_code_invalid_email_body_html, kratos_courier_templates_recovery_code_invalid_email_body_plaintext, kratos_courier_templates_recovery_code_invalid_email_subject, kratos_courier_templates_recovery_code_valid_email_body_html, kratos_courier_templates_recovery_code_valid_email_body_plaintext, kratos_courier_templates_recovery_code_valid_email_subject, kratos_courier_templates_recovery_invalid_email_body_html, kratos_courier_templates_recovery_invalid_email_body_plaintext, kratos_courier_templates_recovery_invalid_email_subject, kratos_courier_templates_recovery_valid_email_body_html, kratos_courier_templates_recovery_valid_email_body_plaintext, kratos_courier_templates_recovery_valid_email_subject, kratos_courier_templates_registration_code_valid_email_body_html, kratos_courier_templates_registration_code_valid_email_body_plaintext, kratos_courier_templates_registration_code_valid_email_subject, kratos_courier_templates_verification_code_invalid_email_body_html, kratos_courier_templates_verification_code_invalid_email_body_plaintext, kratos_courier_templates_verification_code_invalid_email_subject, kratos_courier_templates_verification_code_valid_email_body_html, kratos_courier_templates_verification_code_valid_email_body_plaintext, kratos_courier_templates_verification_code_valid_email_subject, kratos_courier_templates_verification_code_valid_sms_body_plaintext, kratos_courier_templates_verification_invalid_email_body_html, kratos_courier_templates_verification_invalid_email_body_plaintext, kratos_courier_templates_verification_invalid_email_subject, kratos_courier_templates_verification_valid_email_body_html, kratos_courier_templates_verification_valid_email_body_plaintext, kratos_courier_templates_verification_valid_email_subject, kratos_feature_flags_cacheable_sessions, kratos_feature_flags_use_continue_with_transitions, kratos_identity_schemas, kratos_oauth2_provider_headers, kratos_oauth2_provider_override_return_to, kratos_oauth2_provider_url, kratos_preview_default_read_consistency_level, kratos_secrets_cipher, kratos_secrets_cookie, kratos_secrets_default, kratos_selfservice_allowed_return_urls, kratos_selfservice_default_browser_return_url, kratos_selfservice_flows_error_ui_url, , , , , , , , , , kratos_selfservice_flows_logout_after_default_browser_return_url, kratos_selfservice_flows_recovery_after_default_browser_return_url, kratos_selfservice_flows_recovery_enabled, kratos_selfservice_flows_recovery_lifespan, kratos_selfservice_flows_recovery_notify_unknown_recipients, kratos_selfservice_flows_recovery_ui_url, kratos_selfservice_flows_recovery_use, kratos_selfservice_flows_registration_after_code_default_browser_return_url, kratos_selfservice_flows_registration_after_default_browser_return_url, kratos_selfservice_flows_registration_after_oidc_default_browser_return_url, kratos_selfservice_flows_registration_after_password_default_browser_return_url, kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url, kratos_selfservice_flows_registration_enabled, kratos_selfservice_flows_registration_lifespan, , kratos_selfservice_flows_registration_ui_url, kratos_selfservice_flows_settings_after_default_browser_return_url, kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url, kratos_selfservice_flows_settings_after_oidc_default_browser_return_url, kratos_selfservice_flows_settings_after_password_default_browser_return_url, kratos_selfservice_flows_settings_after_profile_default_browser_return_url, kratos_selfservice_flows_settings_after_totp_default_browser_return_url, kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url, kratos_selfservice_flows_settings_lifespan, kratos_selfservice_flows_settings_privileged_session_max_age, kratos_selfservice_flows_settings_required_aal, kratos_selfservice_flows_settings_ui_url, kratos_selfservice_flows_verification_after_default_browser_return_url, kratos_selfservice_flows_verification_enabled, kratos_selfservice_flows_verification_lifespan, kratos_selfservice_flows_verification_notify_unknown_recipients, kratos_selfservice_flows_verification_ui_url, kratos_selfservice_flows_verification_use, kratos_selfservice_methods_code_config_lifespan, kratos_selfservice_methods_code_enabled, kratos_selfservice_methods_code_mfa_enabled, kratos_selfservice_methods_code_passwordless_enabled, kratos_selfservice_methods_link_config_base_url, kratos_selfservice_methods_link_config_lifespan, kratos_selfservice_methods_link_enabled, kratos_selfservice_methods_lookup_secret_enabled, kratos_selfservice_methods_oidc_config_base_redirect_uri, kratos_selfservice_methods_oidc_config_providers, kratos_selfservice_methods_oidc_enabled, kratos_selfservice_methods_password_config_haveibeenpwned_enabled, kratos_selfservice_methods_password_config_identifier_similarity_check_enabled, kratos_selfservice_methods_password_config_ignore_network_errors, kratos_selfservice_methods_password_config_max_breaches, kratos_selfservice_methods_password_config_min_password_length, kratos_selfservice_methods_password_enabled, kratos_selfservice_methods_profile_enabled, kratos_selfservice_methods_totp_config_issuer, kratos_selfservice_methods_totp_enabled, kratos_selfservice_methods_webauthn_config_passwordless, kratos_selfservice_methods_webauthn_config_rp_display_name, kratos_selfservice_methods_webauthn_config_rp_icon, kratos_selfservice_methods_webauthn_config_rp_id, kratos_selfservice_methods_webauthn_config_rp_origins, kratos_selfservice_methods_webauthn_enabled, kratos_session_cookie_persistent, kratos_session_cookie_same_site, kratos_session_lifespan, kratos_session_whoami_required_aal, kratos_session_whoami_tokenizer_templates, name, project_id, project_revision_hooks, serve_admin_cors_allowed_origins, serve_admin_cors_enabled, serve_public_cors_allowed_origins, serve_public_cors_enabled, strict_security, updated_at, workspace_id].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 1878

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  if @environment.nil?
    invalid_properties.push('invalid value for "environment", environment cannot be nil.')
  end

  pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
  if !@hydra_oauth2_grant_jwt_max_ttl.nil? && @hydra_oauth2_grant_jwt_max_ttl !~ pattern
    invalid_properties.push("invalid value for \"hydra_oauth2_grant_jwt_max_ttl\", must conform to the pattern #{pattern}.")
  end

  pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
  if !@hydra_ttl_access_token.nil? && @hydra_ttl_access_token !~ pattern
    invalid_properties.push("invalid value for \"hydra_ttl_access_token\", must conform to the pattern #{pattern}.")
  end

  pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
  if !@hydra_ttl_auth_code.nil? && @hydra_ttl_auth_code !~ pattern
    invalid_properties.push("invalid value for \"hydra_ttl_auth_code\", must conform to the pattern #{pattern}.")
  end

  pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
  if !@hydra_ttl_id_token.nil? && @hydra_ttl_id_token !~ pattern
    invalid_properties.push("invalid value for \"hydra_ttl_id_token\", must conform to the pattern #{pattern}.")
  end

  pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
  if !@hydra_ttl_login_consent_request.nil? && @hydra_ttl_login_consent_request !~ pattern
    invalid_properties.push("invalid value for \"hydra_ttl_login_consent_request\", must conform to the pattern #{pattern}.")
  end

  pattern = Regexp.new(/^([0-9]+(ns|us|ms|s|m|h)|-1)$/)
  if !@hydra_ttl_refresh_token.nil? && @hydra_ttl_refresh_token !~ pattern
    invalid_properties.push("invalid value for \"hydra_ttl_refresh_token\", must conform to the pattern #{pattern}.")
  end

  if @name.nil?
    invalid_properties.push('invalid value for "name", name cannot be nil.')
  end

  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



2374
2375
2376
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 2374

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 2380

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    if value.nil?
      is_nullable = self.class.openapi_nullable.include?(attr)
      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    end

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



2368
2369
2370
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 2368

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'lib/ory-client/models/create_project_normalized_payload.rb', line 1924

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @environment.nil?
  environment_validator = EnumAttributeValidator.new('String', ["prod", "dev"])
  return false unless environment_validator.valid?(@environment)
  return false if !@hydra_oauth2_grant_jwt_max_ttl.nil? && @hydra_oauth2_grant_jwt_max_ttl !~ Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
  hydra_strategies_access_token_validator = EnumAttributeValidator.new('String', ["opaque", "jwt"])
  return false unless hydra_strategies_access_token_validator.valid?(@hydra_strategies_access_token)
  hydra_strategies_scope_validator = EnumAttributeValidator.new('String', ["exact", "wildcard"])
  return false unless hydra_strategies_scope_validator.valid?(@hydra_strategies_scope)
  return false if !@hydra_ttl_access_token.nil? && @hydra_ttl_access_token !~ Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
  return false if !@hydra_ttl_auth_code.nil? && @hydra_ttl_auth_code !~ Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
  return false if !@hydra_ttl_id_token.nil? && @hydra_ttl_id_token !~ Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
  return false if !@hydra_ttl_login_consent_request.nil? && @hydra_ttl_login_consent_request !~ Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
  return false if !@hydra_ttl_refresh_token.nil? && @hydra_ttl_refresh_token !~ Regexp.new(/^([0-9]+(ns|us|ms|s|m|h)|-1)$/)
  kratos_selfservice_flows_recovery_use_validator = EnumAttributeValidator.new('String', ["link", "code"])
  return false unless kratos_selfservice_flows_recovery_use_validator.valid?(@kratos_selfservice_flows_recovery_use)
  kratos_selfservice_flows_verification_use_validator = EnumAttributeValidator.new('String', ["link", "code"])
  return false unless kratos_selfservice_flows_verification_use_validator.valid?(@kratos_selfservice_flows_verification_use)
  return false if @name.nil?
  true
end