Class: OCI::IdentityDomains::Models::SchemaSubAttributes

Inherits:
Object
  • Object
show all
Defined in:
lib/oci/identity_domains/models/schema_sub_attributes.rb

Overview

A list specifying the contained attributes

Constant Summary collapse

TYPE_ENUM =
[
  TYPE_STRING = 'string'.freeze,
  TYPE_COMPLEX = 'complex'.freeze,
  TYPE_BOOLEAN = 'boolean'.freeze,
  TYPE_DECIMAL = 'decimal'.freeze,
  TYPE_INTEGER = 'integer'.freeze,
  TYPE_DATE_TIME = 'dateTime'.freeze,
  TYPE_REFERENCE = 'reference'.freeze,
  TYPE_BINARY = 'binary'.freeze,
  TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
MUTABILITY_ENUM =
[
  MUTABILITY_READ_ONLY = 'readOnly'.freeze,
  MUTABILITY_READ_WRITE = 'readWrite'.freeze,
  MUTABILITY_IMMUTABLE = 'immutable'.freeze,
  MUTABILITY_WRITE_ONLY = 'writeOnly'.freeze,
  MUTABILITY_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
RETURNED_ENUM =
[
  RETURNED_ALWAYS = 'always'.freeze,
  RETURNED_NEVER = 'never'.freeze,
  RETURNED_DEFAULT = 'default'.freeze,
  RETURNED_REQUEST = 'request'.freeze,
  RETURNED_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
UNIQUENESS_ENUM =
[
  UNIQUENESS_NONE = 'none'.freeze,
  UNIQUENESS_SERVER = 'server'.freeze,
  UNIQUENESS_GLOBAL = 'global'.freeze,
  UNIQUENESS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
IDCS_SENSITIVE_ENUM =
[
  IDCS_SENSITIVE_ENCRYPT = 'encrypt'.freeze,
  IDCS_SENSITIVE_HASH = 'hash'.freeze,
  IDCS_SENSITIVE_HASH_SC = 'hash_sc'.freeze,
  IDCS_SENSITIVE_CHECKSUM = 'checksum'.freeze,
  IDCS_SENSITIVE_NONE = 'none'.freeze,
  IDCS_SENSITIVE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
IDCSUI_WIDGET_ENUM =
[
  IDCSUI_WIDGET_INPUTTEXT = 'inputtext'.freeze,
  IDCSUI_WIDGET_CHECKBOX = 'checkbox'.freeze,
  IDCSUI_WIDGET_TEXTAREA = 'textarea'.freeze,
  IDCSUI_WIDGET_COMBOBOX = 'combobox'.freeze,
  IDCSUI_WIDGET_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ SchemaSubAttributes

Initializes the object

Parameters:

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

    Model attributes in the form of hash

Options Hash (attributes):



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
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 1063

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }

  self.name = attributes[:'name'] if attributes[:'name']

  self.idcs_requires_immediate_read_after_write_for_access_flows = attributes[:'idcsRequiresImmediateReadAfterWriteForAccessFlows'] unless attributes[:'idcsRequiresImmediateReadAfterWriteForAccessFlows'].nil?

  raise 'You cannot provide both :idcsRequiresImmediateReadAfterWriteForAccessFlows and :idcs_requires_immediate_read_after_write_for_access_flows' if attributes.key?(:'idcsRequiresImmediateReadAfterWriteForAccessFlows') && attributes.key?(:'idcs_requires_immediate_read_after_write_for_access_flows')

  self.idcs_requires_immediate_read_after_write_for_access_flows = attributes[:'idcs_requires_immediate_read_after_write_for_access_flows'] unless attributes[:'idcs_requires_immediate_read_after_write_for_access_flows'].nil?

  self.idcs_requires_write_for_access_flows = attributes[:'idcsRequiresWriteForAccessFlows'] unless attributes[:'idcsRequiresWriteForAccessFlows'].nil?

  raise 'You cannot provide both :idcsRequiresWriteForAccessFlows and :idcs_requires_write_for_access_flows' if attributes.key?(:'idcsRequiresWriteForAccessFlows') && attributes.key?(:'idcs_requires_write_for_access_flows')

  self.idcs_requires_write_for_access_flows = attributes[:'idcs_requires_write_for_access_flows'] unless attributes[:'idcs_requires_write_for_access_flows'].nil?

  self.idcs_display_name_message_id = attributes[:'idcsDisplayNameMessageId'] if attributes[:'idcsDisplayNameMessageId']

  raise 'You cannot provide both :idcsDisplayNameMessageId and :idcs_display_name_message_id' if attributes.key?(:'idcsDisplayNameMessageId') && attributes.key?(:'idcs_display_name_message_id')

  self.idcs_display_name_message_id = attributes[:'idcs_display_name_message_id'] if attributes[:'idcs_display_name_message_id']

  self.idcs_rtsa_hide_attribute = attributes[:'idcsRtsaHideAttribute'] unless attributes[:'idcsRtsaHideAttribute'].nil?

  raise 'You cannot provide both :idcsRtsaHideAttribute and :idcs_rtsa_hide_attribute' if attributes.key?(:'idcsRtsaHideAttribute') && attributes.key?(:'idcs_rtsa_hide_attribute')

  self.idcs_rtsa_hide_attribute = attributes[:'idcs_rtsa_hide_attribute'] unless attributes[:'idcs_rtsa_hide_attribute'].nil?

  self.idcs_internal = attributes[:'idcsInternal'] unless attributes[:'idcsInternal'].nil?

  raise 'You cannot provide both :idcsInternal and :idcs_internal' if attributes.key?(:'idcsInternal') && attributes.key?(:'idcs_internal')

  self.idcs_internal = attributes[:'idcs_internal'] unless attributes[:'idcs_internal'].nil?

  self.type = attributes[:'type'] if attributes[:'type']

  self.multi_valued = attributes[:'multiValued'] unless attributes[:'multiValued'].nil?

  raise 'You cannot provide both :multiValued and :multi_valued' if attributes.key?(:'multiValued') && attributes.key?(:'multi_valued')

  self.multi_valued = attributes[:'multi_valued'] unless attributes[:'multi_valued'].nil?

  self.description = attributes[:'description'] if attributes[:'description']

  self.required = attributes[:'required'] unless attributes[:'required'].nil?

  self.idcs_return_empty_when_null = attributes[:'idcsReturnEmptyWhenNull'] unless attributes[:'idcsReturnEmptyWhenNull'].nil?

  raise 'You cannot provide both :idcsReturnEmptyWhenNull and :idcs_return_empty_when_null' if attributes.key?(:'idcsReturnEmptyWhenNull') && attributes.key?(:'idcs_return_empty_when_null')

  self.idcs_return_empty_when_null = attributes[:'idcs_return_empty_when_null'] unless attributes[:'idcs_return_empty_when_null'].nil?

  self.canonical_values = attributes[:'canonicalValues'] if attributes[:'canonicalValues']

  raise 'You cannot provide both :canonicalValues and :canonical_values' if attributes.key?(:'canonicalValues') && attributes.key?(:'canonical_values')

  self.canonical_values = attributes[:'canonical_values'] if attributes[:'canonical_values']

  self.idcs_default_value = attributes[:'idcsDefaultValue'] if attributes[:'idcsDefaultValue']

  raise 'You cannot provide both :idcsDefaultValue and :idcs_default_value' if attributes.key?(:'idcsDefaultValue') && attributes.key?(:'idcs_default_value')

  self.idcs_default_value = attributes[:'idcs_default_value'] if attributes[:'idcs_default_value']

  self.case_exact = attributes[:'caseExact'] unless attributes[:'caseExact'].nil?

  raise 'You cannot provide both :caseExact and :case_exact' if attributes.key?(:'caseExact') && attributes.key?(:'case_exact')

  self.case_exact = attributes[:'case_exact'] unless attributes[:'case_exact'].nil?

  self.mutability = attributes[:'mutability'] if attributes[:'mutability']

  self.returned = attributes[:'returned'] if attributes[:'returned']

  self.idcs_csv_attribute_name = attributes[:'idcsCsvAttributeName'] if attributes[:'idcsCsvAttributeName']

  raise 'You cannot provide both :idcsCsvAttributeName and :idcs_csv_attribute_name' if attributes.key?(:'idcsCsvAttributeName') && attributes.key?(:'idcs_csv_attribute_name')

  self.idcs_csv_attribute_name = attributes[:'idcs_csv_attribute_name'] if attributes[:'idcs_csv_attribute_name']

  self.uniqueness = attributes[:'uniqueness'] if attributes[:'uniqueness']

  self.reference_types = attributes[:'referenceTypes'] if attributes[:'referenceTypes']

  raise 'You cannot provide both :referenceTypes and :reference_types' if attributes.key?(:'referenceTypes') && attributes.key?(:'reference_types')

  self.reference_types = attributes[:'reference_types'] if attributes[:'reference_types']

  self.idcs_deprecated_since_version = attributes[:'idcsDeprecatedSinceVersion'] if attributes[:'idcsDeprecatedSinceVersion']

  raise 'You cannot provide both :idcsDeprecatedSinceVersion and :idcs_deprecated_since_version' if attributes.key?(:'idcsDeprecatedSinceVersion') && attributes.key?(:'idcs_deprecated_since_version')

  self.idcs_deprecated_since_version = attributes[:'idcs_deprecated_since_version'] if attributes[:'idcs_deprecated_since_version']

  self.idcs_added_since_version = attributes[:'idcsAddedSinceVersion'] if attributes[:'idcsAddedSinceVersion']

  raise 'You cannot provide both :idcsAddedSinceVersion and :idcs_added_since_version' if attributes.key?(:'idcsAddedSinceVersion') && attributes.key?(:'idcs_added_since_version')

  self.idcs_added_since_version = attributes[:'idcs_added_since_version'] if attributes[:'idcs_added_since_version']

  self.idcs_deprecated_since_release_number = attributes[:'idcsDeprecatedSinceReleaseNumber'] if attributes[:'idcsDeprecatedSinceReleaseNumber']

  raise 'You cannot provide both :idcsDeprecatedSinceReleaseNumber and :idcs_deprecated_since_release_number' if attributes.key?(:'idcsDeprecatedSinceReleaseNumber') && attributes.key?(:'idcs_deprecated_since_release_number')

  self.idcs_deprecated_since_release_number = attributes[:'idcs_deprecated_since_release_number'] if attributes[:'idcs_deprecated_since_release_number']

  self.idcs_added_since_release_number = attributes[:'idcsAddedSinceReleaseNumber'] if attributes[:'idcsAddedSinceReleaseNumber']

  raise 'You cannot provide both :idcsAddedSinceReleaseNumber and :idcs_added_since_release_number' if attributes.key?(:'idcsAddedSinceReleaseNumber') && attributes.key?(:'idcs_added_since_release_number')

  self.idcs_added_since_release_number = attributes[:'idcs_added_since_release_number'] if attributes[:'idcs_added_since_release_number']

  self.idcs_min_length = attributes[:'idcsMinLength'] if attributes[:'idcsMinLength']

  raise 'You cannot provide both :idcsMinLength and :idcs_min_length' if attributes.key?(:'idcsMinLength') && attributes.key?(:'idcs_min_length')

  self.idcs_min_length = attributes[:'idcs_min_length'] if attributes[:'idcs_min_length']

  self.idcs_max_length = attributes[:'idcsMaxLength'] if attributes[:'idcsMaxLength']

  raise 'You cannot provide both :idcsMaxLength and :idcs_max_length' if attributes.key?(:'idcsMaxLength') && attributes.key?(:'idcs_max_length')

  self.idcs_max_length = attributes[:'idcs_max_length'] if attributes[:'idcs_max_length']

  self.idcs_min_value = attributes[:'idcsMinValue'] if attributes[:'idcsMinValue']

  raise 'You cannot provide both :idcsMinValue and :idcs_min_value' if attributes.key?(:'idcsMinValue') && attributes.key?(:'idcs_min_value')

  self.idcs_min_value = attributes[:'idcs_min_value'] if attributes[:'idcs_min_value']

  self.idcs_max_value = attributes[:'idcsMaxValue'] if attributes[:'idcsMaxValue']

  raise 'You cannot provide both :idcsMaxValue and :idcs_max_value' if attributes.key?(:'idcsMaxValue') && attributes.key?(:'idcs_max_value')

  self.idcs_max_value = attributes[:'idcs_max_value'] if attributes[:'idcs_max_value']

  self.idcs_only_one_value_can_be_true = attributes[:'idcsOnlyOneValueCanBeTrue'] unless attributes[:'idcsOnlyOneValueCanBeTrue'].nil?

  raise 'You cannot provide both :idcsOnlyOneValueCanBeTrue and :idcs_only_one_value_can_be_true' if attributes.key?(:'idcsOnlyOneValueCanBeTrue') && attributes.key?(:'idcs_only_one_value_can_be_true')

  self.idcs_only_one_value_can_be_true = attributes[:'idcs_only_one_value_can_be_true'] unless attributes[:'idcs_only_one_value_can_be_true'].nil?

  self.idcs_max_values_returned = attributes[:'idcsMaxValuesReturned'] if attributes[:'idcsMaxValuesReturned']

  raise 'You cannot provide both :idcsMaxValuesReturned and :idcs_max_values_returned' if attributes.key?(:'idcsMaxValuesReturned') && attributes.key?(:'idcs_max_values_returned')

  self.idcs_max_values_returned = attributes[:'idcs_max_values_returned'] if attributes[:'idcs_max_values_returned']

  self.idcs_one_value_must_be_true = attributes[:'idcsOneValueMustBeTrue'] unless attributes[:'idcsOneValueMustBeTrue'].nil?

  raise 'You cannot provide both :idcsOneValueMustBeTrue and :idcs_one_value_must_be_true' if attributes.key?(:'idcsOneValueMustBeTrue') && attributes.key?(:'idcs_one_value_must_be_true')

  self.idcs_one_value_must_be_true = attributes[:'idcs_one_value_must_be_true'] unless attributes[:'idcs_one_value_must_be_true'].nil?

  self.idcs_ref_resource_attributes = attributes[:'idcsRefResourceAttributes'] if attributes[:'idcsRefResourceAttributes']

  raise 'You cannot provide both :idcsRefResourceAttributes and :idcs_ref_resource_attributes' if attributes.key?(:'idcsRefResourceAttributes') && attributes.key?(:'idcs_ref_resource_attributes')

  self.idcs_ref_resource_attributes = attributes[:'idcs_ref_resource_attributes'] if attributes[:'idcs_ref_resource_attributes']

  self.idcs_indirect_ref_resource_attributes = attributes[:'idcsIndirectRefResourceAttributes'] if attributes[:'idcsIndirectRefResourceAttributes']

  raise 'You cannot provide both :idcsIndirectRefResourceAttributes and :idcs_indirect_ref_resource_attributes' if attributes.key?(:'idcsIndirectRefResourceAttributes') && attributes.key?(:'idcs_indirect_ref_resource_attributes')

  self.idcs_indirect_ref_resource_attributes = attributes[:'idcs_indirect_ref_resource_attributes'] if attributes[:'idcs_indirect_ref_resource_attributes']

  self.idcs_value_persisted = attributes[:'idcsValuePersisted'] unless attributes[:'idcsValuePersisted'].nil?

  raise 'You cannot provide both :idcsValuePersisted and :idcs_value_persisted' if attributes.key?(:'idcsValuePersisted') && attributes.key?(:'idcs_value_persisted')

  self.idcs_value_persisted = attributes[:'idcs_value_persisted'] unless attributes[:'idcs_value_persisted'].nil?

  self.idcs_sensitive = attributes[:'idcsSensitive'] if attributes[:'idcsSensitive']

  raise 'You cannot provide both :idcsSensitive and :idcs_sensitive' if attributes.key?(:'idcsSensitive') && attributes.key?(:'idcs_sensitive')

  self.idcs_sensitive = attributes[:'idcs_sensitive'] if attributes[:'idcs_sensitive']

  self.idcs_trim_string_value = attributes[:'idcsTrimStringValue'] unless attributes[:'idcsTrimStringValue'].nil?

  raise 'You cannot provide both :idcsTrimStringValue and :idcs_trim_string_value' if attributes.key?(:'idcsTrimStringValue') && attributes.key?(:'idcs_trim_string_value')

  self.idcs_trim_string_value = attributes[:'idcs_trim_string_value'] unless attributes[:'idcs_trim_string_value'].nil?

  self.idcs_searchable = attributes[:'idcsSearchable'] unless attributes[:'idcsSearchable'].nil?

  raise 'You cannot provide both :idcsSearchable and :idcs_searchable' if attributes.key?(:'idcsSearchable') && attributes.key?(:'idcs_searchable')

  self.idcs_searchable = attributes[:'idcs_searchable'] unless attributes[:'idcs_searchable'].nil?

  self.idcs_generated = attributes[:'idcsGenerated'] unless attributes[:'idcsGenerated'].nil?

  raise 'You cannot provide both :idcsGenerated and :idcs_generated' if attributes.key?(:'idcsGenerated') && attributes.key?(:'idcs_generated')

  self.idcs_generated = attributes[:'idcs_generated'] unless attributes[:'idcs_generated'].nil?

  self.idcs_auditable = attributes[:'idcsAuditable'] unless attributes[:'idcsAuditable'].nil?

  raise 'You cannot provide both :idcsAuditable and :idcs_auditable' if attributes.key?(:'idcsAuditable') && attributes.key?(:'idcs_auditable')

  self.idcs_auditable = attributes[:'idcs_auditable'] unless attributes[:'idcs_auditable'].nil?

  self.idcs_target_attribute_name = attributes[:'idcsTargetAttributeName'] if attributes[:'idcsTargetAttributeName']

  raise 'You cannot provide both :idcsTargetAttributeName and :idcs_target_attribute_name' if attributes.key?(:'idcsTargetAttributeName') && attributes.key?(:'idcs_target_attribute_name')

  self.idcs_target_attribute_name = attributes[:'idcs_target_attribute_name'] if attributes[:'idcs_target_attribute_name']

  self.idcs_target_norm_attribute_name = attributes[:'idcsTargetNormAttributeName'] if attributes[:'idcsTargetNormAttributeName']

  raise 'You cannot provide both :idcsTargetNormAttributeName and :idcs_target_norm_attribute_name' if attributes.key?(:'idcsTargetNormAttributeName') && attributes.key?(:'idcs_target_norm_attribute_name')

  self.idcs_target_norm_attribute_name = attributes[:'idcs_target_norm_attribute_name'] if attributes[:'idcs_target_norm_attribute_name']

  self.idcs_target_attribute_name_to_migrate_from = attributes[:'idcsTargetAttributeNameToMigrateFrom'] if attributes[:'idcsTargetAttributeNameToMigrateFrom']

  raise 'You cannot provide both :idcsTargetAttributeNameToMigrateFrom and :idcs_target_attribute_name_to_migrate_from' if attributes.key?(:'idcsTargetAttributeNameToMigrateFrom') && attributes.key?(:'idcs_target_attribute_name_to_migrate_from')

  self.idcs_target_attribute_name_to_migrate_from = attributes[:'idcs_target_attribute_name_to_migrate_from'] if attributes[:'idcs_target_attribute_name_to_migrate_from']

  self.idcs_target_unique_constraint_name = attributes[:'idcsTargetUniqueConstraintName'] if attributes[:'idcsTargetUniqueConstraintName']

  raise 'You cannot provide both :idcsTargetUniqueConstraintName and :idcs_target_unique_constraint_name' if attributes.key?(:'idcsTargetUniqueConstraintName') && attributes.key?(:'idcs_target_unique_constraint_name')

  self.idcs_target_unique_constraint_name = attributes[:'idcs_target_unique_constraint_name'] if attributes[:'idcs_target_unique_constraint_name']

  self.idcs_to_target_mapper = attributes[:'idcsToTargetMapper'] if attributes[:'idcsToTargetMapper']

  raise 'You cannot provide both :idcsToTargetMapper and :idcs_to_target_mapper' if attributes.key?(:'idcsToTargetMapper') && attributes.key?(:'idcs_to_target_mapper')

  self.idcs_to_target_mapper = attributes[:'idcs_to_target_mapper'] if attributes[:'idcs_to_target_mapper']

  self.idcs_from_target_mapper = attributes[:'idcsFromTargetMapper'] if attributes[:'idcsFromTargetMapper']

  raise 'You cannot provide both :idcsFromTargetMapper and :idcs_from_target_mapper' if attributes.key?(:'idcsFromTargetMapper') && attributes.key?(:'idcs_from_target_mapper')

  self.idcs_from_target_mapper = attributes[:'idcs_from_target_mapper'] if attributes[:'idcs_from_target_mapper']

  self.idcs_display_name = attributes[:'idcsDisplayName'] if attributes[:'idcsDisplayName']

  raise 'You cannot provide both :idcsDisplayName and :idcs_display_name' if attributes.key?(:'idcsDisplayName') && attributes.key?(:'idcs_display_name')

  self.idcs_display_name = attributes[:'idcs_display_name'] if attributes[:'idcs_display_name']

  self.idcs_canonical_value_source_resource_type = attributes[:'idcsCanonicalValueSourceResourceType'] if attributes[:'idcsCanonicalValueSourceResourceType']

  raise 'You cannot provide both :idcsCanonicalValueSourceResourceType and :idcs_canonical_value_source_resource_type' if attributes.key?(:'idcsCanonicalValueSourceResourceType') && attributes.key?(:'idcs_canonical_value_source_resource_type')

  self.idcs_canonical_value_source_resource_type = attributes[:'idcs_canonical_value_source_resource_type'] if attributes[:'idcs_canonical_value_source_resource_type']

  self.idcs_canonical_value_source_filter = attributes[:'idcsCanonicalValueSourceFilter'] if attributes[:'idcsCanonicalValueSourceFilter']

  raise 'You cannot provide both :idcsCanonicalValueSourceFilter and :idcs_canonical_value_source_filter' if attributes.key?(:'idcsCanonicalValueSourceFilter') && attributes.key?(:'idcs_canonical_value_source_filter')

  self.idcs_canonical_value_source_filter = attributes[:'idcs_canonical_value_source_filter'] if attributes[:'idcs_canonical_value_source_filter']

  self.idcs_canonical_value_source_resource_type_id = attributes[:'idcsCanonicalValueSourceResourceTypeID'] if attributes[:'idcsCanonicalValueSourceResourceTypeID']

  raise 'You cannot provide both :idcsCanonicalValueSourceResourceTypeID and :idcs_canonical_value_source_resource_type_id' if attributes.key?(:'idcsCanonicalValueSourceResourceTypeID') && attributes.key?(:'idcs_canonical_value_source_resource_type_id')

  self.idcs_canonical_value_source_resource_type_id = attributes[:'idcs_canonical_value_source_resource_type_id'] if attributes[:'idcs_canonical_value_source_resource_type_id']

  self.idcs_canonical_value_source_display_attr_name = attributes[:'idcsCanonicalValueSourceDisplayAttrName'] if attributes[:'idcsCanonicalValueSourceDisplayAttrName']

  raise 'You cannot provide both :idcsCanonicalValueSourceDisplayAttrName and :idcs_canonical_value_source_display_attr_name' if attributes.key?(:'idcsCanonicalValueSourceDisplayAttrName') && attributes.key?(:'idcs_canonical_value_source_display_attr_name')

  self.idcs_canonical_value_source_display_attr_name = attributes[:'idcs_canonical_value_source_display_attr_name'] if attributes[:'idcs_canonical_value_source_display_attr_name']

  self.idcs_canonical_value_source_key_attr_name = attributes[:'idcsCanonicalValueSourceKeyAttrName'] if attributes[:'idcsCanonicalValueSourceKeyAttrName']

  raise 'You cannot provide both :idcsCanonicalValueSourceKeyAttrName and :idcs_canonical_value_source_key_attr_name' if attributes.key?(:'idcsCanonicalValueSourceKeyAttrName') && attributes.key?(:'idcs_canonical_value_source_key_attr_name')

  self.idcs_canonical_value_source_key_attr_name = attributes[:'idcs_canonical_value_source_key_attr_name'] if attributes[:'idcs_canonical_value_source_key_attr_name']

  self.idcs_validate_reference = attributes[:'idcsValidateReference'] unless attributes[:'idcsValidateReference'].nil?

  raise 'You cannot provide both :idcsValidateReference and :idcs_validate_reference' if attributes.key?(:'idcsValidateReference') && attributes.key?(:'idcs_validate_reference')

  self.idcs_validate_reference = attributes[:'idcs_validate_reference'] unless attributes[:'idcs_validate_reference'].nil?

  self.idcs_scim_compliant = attributes[:'idcsScimCompliant'] unless attributes[:'idcsScimCompliant'].nil?

  raise 'You cannot provide both :idcsScimCompliant and :idcs_scim_compliant' if attributes.key?(:'idcsScimCompliant') && attributes.key?(:'idcs_scim_compliant')

  self.idcs_scim_compliant = attributes[:'idcs_scim_compliant'] unless attributes[:'idcs_scim_compliant'].nil?

  self.idcs_attribute_mappable = attributes[:'idcsAttributeMappable'] unless attributes[:'idcsAttributeMappable'].nil?

  raise 'You cannot provide both :idcsAttributeMappable and :idcs_attribute_mappable' if attributes.key?(:'idcsAttributeMappable') && attributes.key?(:'idcs_attribute_mappable')

  self.idcs_attribute_mappable = attributes[:'idcs_attribute_mappable'] unless attributes[:'idcs_attribute_mappable'].nil?

  self.idcs_attribute_cacheable = attributes[:'idcsAttributeCacheable'] unless attributes[:'idcsAttributeCacheable'].nil?

  raise 'You cannot provide both :idcsAttributeCacheable and :idcs_attribute_cacheable' if attributes.key?(:'idcsAttributeCacheable') && attributes.key?(:'idcs_attribute_cacheable')

  self.idcs_attribute_cacheable = attributes[:'idcs_attribute_cacheable'] unless attributes[:'idcs_attribute_cacheable'].nil?

  self.idcsui_order = attributes[:'idcsuiOrder'] if attributes[:'idcsuiOrder']

  raise 'You cannot provide both :idcsuiOrder and :idcsui_order' if attributes.key?(:'idcsuiOrder') && attributes.key?(:'idcsui_order')

  self.idcsui_order = attributes[:'idcsui_order'] if attributes[:'idcsui_order']

  self.idcsui_regexp = attributes[:'idcsuiRegexp'] if attributes[:'idcsuiRegexp']

  raise 'You cannot provide both :idcsuiRegexp and :idcsui_regexp' if attributes.key?(:'idcsuiRegexp') && attributes.key?(:'idcsui_regexp')

  self.idcsui_regexp = attributes[:'idcsui_regexp'] if attributes[:'idcsui_regexp']

  self.idcsui_visible = attributes[:'idcsuiVisible'] unless attributes[:'idcsuiVisible'].nil?

  raise 'You cannot provide both :idcsuiVisible and :idcsui_visible' if attributes.key?(:'idcsuiVisible') && attributes.key?(:'idcsui_visible')

  self.idcsui_visible = attributes[:'idcsui_visible'] unless attributes[:'idcsui_visible'].nil?

  self.idcsui_widget = attributes[:'idcsuiWidget'] if attributes[:'idcsuiWidget']

  raise 'You cannot provide both :idcsuiWidget and :idcsui_widget' if attributes.key?(:'idcsuiWidget') && attributes.key?(:'idcsui_widget')

  self.idcsui_widget = attributes[:'idcsui_widget'] if attributes[:'idcsui_widget']

  self.idcs_value_persisted_in_other_attribute = attributes[:'idcsValuePersistedInOtherAttribute'] unless attributes[:'idcsValuePersistedInOtherAttribute'].nil?

  raise 'You cannot provide both :idcsValuePersistedInOtherAttribute and :idcs_value_persisted_in_other_attribute' if attributes.key?(:'idcsValuePersistedInOtherAttribute') && attributes.key?(:'idcs_value_persisted_in_other_attribute')

  self.idcs_value_persisted_in_other_attribute = attributes[:'idcs_value_persisted_in_other_attribute'] unless attributes[:'idcs_value_persisted_in_other_attribute'].nil?

  self.idcs_pii = attributes[:'idcsPii'] unless attributes[:'idcsPii'].nil?

  raise 'You cannot provide both :idcsPii and :idcs_pii' if attributes.key?(:'idcsPii') && attributes.key?(:'idcs_pii')

  self.idcs_pii = attributes[:'idcs_pii'] unless attributes[:'idcs_pii'].nil?

  self.idcs_sanitize = attributes[:'idcsSanitize'] unless attributes[:'idcsSanitize'].nil?

  raise 'You cannot provide both :idcsSanitize and :idcs_sanitize' if attributes.key?(:'idcsSanitize') && attributes.key?(:'idcs_sanitize')

  self.idcs_sanitize = attributes[:'idcs_sanitize'] unless attributes[:'idcs_sanitize'].nil?

  self.idcs_exclude_from_upgrade_patch = attributes[:'idcsExcludeFromUpgradePatch'] unless attributes[:'idcsExcludeFromUpgradePatch'].nil?

  raise 'You cannot provide both :idcsExcludeFromUpgradePatch and :idcs_exclude_from_upgrade_patch' if attributes.key?(:'idcsExcludeFromUpgradePatch') && attributes.key?(:'idcs_exclude_from_upgrade_patch')

  self.idcs_exclude_from_upgrade_patch = attributes[:'idcs_exclude_from_upgrade_patch'] unless attributes[:'idcs_exclude_from_upgrade_patch'].nil?
end

Instance Attribute Details

#canonical_valuesArray<String>

A collection of canonical values. Applicable Service Providers MUST specify the canonical types specified in the core schema specification–for example, \“work\”, \“home\”.

SCIM++ Properties: - caseExact: true - multiValued: true - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (Array<String>)


215
216
217
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 215

def canonical_values
  @canonical_values
end

#case_exactBOOLEAN

Specifies if the String attribute is case-sensitive

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


241
242
243
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 241

def case_exact
  @case_exact
end

#descriptionString

Attribute's human-readable description

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


178
179
180
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 178

def description
  @description
end

#idcs_added_since_release_numberString

Indicates that the schema has been added since this release number

Added In: 17.3.4

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: string

Returns:

  • (String)


358
359
360
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 358

def idcs_added_since_release_number
  @idcs_added_since_release_number
end

#idcs_added_since_versionInteger

Indicates that the schema has been added since version

Deprecated Since: 19.3.3

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: integer

Returns:

  • (Integer)


332
333
334
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 332

def idcs_added_since_version
  @idcs_added_since_version
end

#idcs_attribute_cacheableBOOLEAN

Specifies whether the attribute is cacheable. True by default for all attributes. If attribute with idcsAttributeCachable = false, is present \“attributesToGet\” while executing GET/SEARCH on cacheable resource, Cache is missed and data is fetched from Data Provider.

Added In: 17.3.4

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


747
748
749
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 747

def idcs_attribute_cacheable
  @idcs_attribute_cacheable
end

#idcs_attribute_mappableBOOLEAN

Specifies if the attribute can be used for mapping with external identity sources such as AD or LDAP. If isSchemaMappable: false for the schema in which this attribute is defined, then this flag is ignored.

SCIM++ Properties: - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


734
735
736
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 734

def idcs_attribute_mappable
  @idcs_attribute_mappable
end

#idcs_auditableBOOLEAN

Specifies whether changes to this attribute value will be audited

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


530
531
532
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 530

def idcs_auditable
  @idcs_auditable
end

#idcs_canonical_value_source_display_attr_nameString

Display name for the canonical value attribute name.

Added In: 17.4.4

SCIM++ Properties: - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


683
684
685
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 683

def idcs_canonical_value_source_display_attr_name
  @idcs_canonical_value_source_display_attr_name
end

#idcs_canonical_value_source_filterString

Filter to use when getting canonical values for this schema attribute

SCIM++ Properties: - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


652
653
654
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 652

def idcs_canonical_value_source_filter
  @idcs_canonical_value_source_filter
end

#idcs_canonical_value_source_key_attr_nameString

Source key attribute for the canonical value.

Added In: 17.4.4

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


698
699
700
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 698

def idcs_canonical_value_source_key_attr_name
  @idcs_canonical_value_source_key_attr_name
end

#idcs_canonical_value_source_resource_typeString

Specifies the Resource type to read from for dynamic canonical values

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


638
639
640
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 638

def idcs_canonical_value_source_resource_type
  @idcs_canonical_value_source_resource_type
end

#idcs_canonical_value_source_resource_type_idString

Specifies the Resource type ID to read from for dynamic canonical values

Added In: 17.4.4

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


667
668
669
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 667

def idcs_canonical_value_source_resource_type_id
  @idcs_canonical_value_source_resource_type_id
end

#idcs_csv_attribute_nameString

The attribute that defines the CSV header name for import/export

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


280
281
282
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 280

def idcs_csv_attribute_name
  @idcs_csv_attribute_name
end

#idcs_default_valueString

Specifies the default value for an attribute. The value must be one from canonicalValues if defined.

Added In: 18.1.6

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


230
231
232
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 230

def idcs_default_value
  @idcs_default_value
end

#idcs_deprecated_since_release_numberString

Indicates that the schema has been deprecated since this release number

Added In: 17.3.4

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: string

Returns:

  • (String)


345
346
347
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 345

def idcs_deprecated_since_release_number
  @idcs_deprecated_since_release_number
end

#idcs_deprecated_since_versionInteger

Indicates that the schema has been deprecated since version

Deprecated Since: 19.3.3

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: integer

Returns:

  • (Integer)


319
320
321
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 319

def idcs_deprecated_since_version
  @idcs_deprecated_since_version
end

#idcs_display_nameString

Specifies the user-friendly displayable attribute name or catalog key used for localization

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


625
626
627
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 625

def idcs_display_name
  @idcs_display_name
end

#idcs_display_name_message_idString

Localized schema attribute display name for use by UI client for displaying attribute labels

SCIM++ Properties: - caseExact: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


115
116
117
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 115

def idcs_display_name_message_id
  @idcs_display_name_message_id
end

#idcs_exclude_from_upgrade_patchBOOLEAN

Specifies whether the attribute should be excluded from the BulkApi patch generated by gradle task for upgrading OOTB resources.

Added In: 2104150946

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: never - type: boolean

Returns:

  • (BOOLEAN)


853
854
855
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 853

def idcs_exclude_from_upgrade_patch
  @idcs_exclude_from_upgrade_patch
end

#idcs_from_target_mapperString

Specifies the mapper to use when mapping this attribute value from DataProvider-specific semantics

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


612
613
614
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 612

def idcs_from_target_mapper
  @idcs_from_target_mapper
end

#idcs_generatedBOOLEAN

Specifies whether this attribute value was generated

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


519
520
521
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 519

def idcs_generated
  @idcs_generated
end

#idcs_indirect_ref_resource_attributesArray<String>

Specifies the indirectly referenced Resources

SCIM++ Properties: - multiValued: true - mutability: readWrite - required: false - returned: default - type: string

Returns:

  • (Array<String>)


462
463
464
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 462

def idcs_indirect_ref_resource_attributes
  @idcs_indirect_ref_resource_attributes
end

#idcs_internalBOOLEAN

Specifies whether the schema attribute is for internal use only. Internal attributes are not exposed via REST. This attribute overrides mutability for create/update if the request is internal and the attribute internal flag is set to True. This attribute overrides the return attribute while building SCIM response attributes when both the request is internal and the schema attribute is internal.

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


141
142
143
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 141

def idcs_internal
  @idcs_internal
end

#idcs_max_lengthInteger

Specifies the maximum length of this attribute

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: integer

Returns:

  • (Integer)


380
381
382
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 380

def idcs_max_length
  @idcs_max_length
end

#idcs_max_valueInteger

Specifies the maximum value of the integer attribute

SCIM++ Properties: - multiValued: false - mutability: readOnly - required: false - returned: default - type: integer

Returns:

  • (Integer)


402
403
404
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 402

def idcs_max_value
  @idcs_max_value
end

#idcs_max_values_returnedInteger

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: integer - uniqueness: none Specify a limit on the number of attribute-values that any caller will receive when requesting a CMVA attribute. If the no of CMVA instances exceeds the limit then Oracle Identity Cloud Service will throw exception. Users can choose to refine the filter on CMVA attribute.

Returns:

  • (Integer)


427
428
429
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 427

def idcs_max_values_returned
  @idcs_max_values_returned
end

#idcs_min_lengthInteger

Specifies the minimum length of this attribute

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: integer

Returns:

  • (Integer)


369
370
371
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 369

def idcs_min_length
  @idcs_min_length
end

#idcs_min_valueInteger

Specifies the minimum value of the integer attribute

SCIM++ Properties: - multiValued: false - mutability: readOnly - required: false - returned: default - type: integer

Returns:

  • (Integer)


391
392
393
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 391

def idcs_min_value
  @idcs_min_value
end

#idcs_one_value_must_be_trueBOOLEAN

If true, ARM will ensure atleast one of the instances of CMVA has the attribute value set to true.

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


440
441
442
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 440

def idcs_one_value_must_be_true
  @idcs_one_value_must_be_true
end

#idcs_only_one_value_can_be_trueBOOLEAN

If true, specifies that the sub attribute value can be set to true on one and only one instance of the CMVA.

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


415
416
417
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 415

def idcs_only_one_value_can_be_true
  @idcs_only_one_value_can_be_true
end

#idcs_piiBOOLEAN

Specifies whether the attribute is PII (personal information). False by default for all attributes. If attribute with idcsPii = true, it's value must be obfuscated before it's written to the Oracle Identity Cloud Service system logs.

Added In: 18.3.6

SCIM++ Properties: - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


825
826
827
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 825

def idcs_pii
  @idcs_pii
end

#idcs_ref_resource_attributesArray<String>

Specifies the directly referenced Resources

SCIM++ Properties: - multiValued: true - mutability: readWrite - required: false - returned: default - type: string

Returns:

  • (Array<String>)


451
452
453
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 451

def idcs_ref_resource_attributes
  @idcs_ref_resource_attributes
end

#idcs_requires_immediate_read_after_write_for_access_flowsBOOLEAN

If true, indicates that the attribute value must be written to the home region and requires immediate read-after-write consistency for access flows initiated from a replica region.

Added In: 2209220956

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: never - type: boolean

Returns:

  • (BOOLEAN)


88
89
90
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 88

def idcs_requires_immediate_read_after_write_for_access_flows
  @idcs_requires_immediate_read_after_write_for_access_flows
end

#idcs_requires_write_for_access_flowsBOOLEAN

If true, indicates that the attribute value must be written to the home region for access flows initiated from a replica region.

Added In: 2205120021

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


102
103
104
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 102

def idcs_requires_write_for_access_flows
  @idcs_requires_write_for_access_flows
end

#idcs_return_empty_when_nullBOOLEAN

Specifies if the attribute is required

Added In: 2305190132

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


202
203
204
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 202

def idcs_return_empty_when_null
  @idcs_return_empty_when_null
end

#idcs_rtsa_hide_attributeBOOLEAN

Specifies if the attributes in this schema can be displayed externally

Added In: 19.1.4

SCIM++ Properties: - caseExact: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


130
131
132
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 130

def idcs_rtsa_hide_attribute
  @idcs_rtsa_hide_attribute
end

#idcs_sanitizeBOOLEAN

Specifies if the value of the attribute should be sanitized using OWASP library for HTML content

Added In: 20.1.3

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


840
841
842
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 840

def idcs_sanitize
  @idcs_sanitize
end

#idcs_scim_compliantBOOLEAN

Indicates if the attribute is scim compliant, default is true

SCIM++ Properties: - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


723
724
725
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 723

def idcs_scim_compliant
  @idcs_scim_compliant
end

#idcs_searchableBOOLEAN

Specifies whether this attribute can be included in a search filter

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


508
509
510
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 508

def idcs_searchable
  @idcs_searchable
end

#idcs_sensitiveString

Specifiees if the attribute should be encrypted or hashed

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


486
487
488
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 486

def idcs_sensitive
  @idcs_sensitive
end

#idcs_target_attribute_nameString

Target attribute name that this attribute gets mapped to for persistence

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


543
544
545
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 543

def idcs_target_attribute_name
  @idcs_target_attribute_name
end

#idcs_target_attribute_name_to_migrate_fromString

Old Target attribute name from child table for CSVA attribute prior to migration. This maintains this attribute used to get mapped to for persistence

Added In: 19.2.1

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


573
574
575
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 573

def idcs_target_attribute_name_to_migrate_from
  @idcs_target_attribute_name_to_migrate_from
end

#idcs_target_norm_attribute_nameString

Target normalized attribute name that this normalized value of attribute gets mapped to for persistence. Only set for caseExact=false & searchable attributes. Do not use by default.

Added In: 19.1.4

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


558
559
560
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 558

def idcs_target_norm_attribute_name
  @idcs_target_norm_attribute_name
end

#idcs_target_unique_constraint_nameString

Target index name created for this attribute for performance

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


586
587
588
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 586

def idcs_target_unique_constraint_name
  @idcs_target_unique_constraint_name
end

#idcs_to_target_mapperString

Specifies the mapper to use when mapping this attribute value to DataProvider-specific semantics

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


599
600
601
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 599

def idcs_to_target_mapper
  @idcs_to_target_mapper
end

#idcs_trim_string_valueBOOLEAN

Trims any leading and trailing blanks from String values. Default is True.

SCIM++ Properties: - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


497
498
499
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 497

def idcs_trim_string_value
  @idcs_trim_string_value
end

#idcs_validate_referenceBOOLEAN

Validate payload reference value during create, replace, and update. Default is True.

SCIM++ Properties: - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


712
713
714
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 712

def idcs_validate_reference
  @idcs_validate_reference
end

#idcs_value_persistedBOOLEAN

Specifies whether the sub-attribute of the Resource attribute is persisted

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


473
474
475
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 473

def idcs_value_persisted
  @idcs_value_persisted
end

#idcs_value_persisted_in_other_attributeBOOLEAN

If true, ARM should not validate the value of the attribute since it will be converted/migrated to another attribute internally by the manager which will build valid post, put, or patch payload, depending on the client requested operation

Added In: 18.2.2

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


812
813
814
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 812

def idcs_value_persisted_in_other_attribute
  @idcs_value_persisted_in_other_attribute
end

#idcsui_orderInteger

Metadata used by Oracle Identity Cloud Service UI to sequence the attributes displayed on the Account Form.

Added In: 17.4.2

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: integer

Returns:

  • (Integer)


760
761
762
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 760

def idcsui_order
  @idcsui_order
end

#idcsui_regexpString

Metadata used by Oracle Identity Cloud Service UI to validate the attribute values using regular expressions.

Added In: 17.4.2

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: string

Returns:

  • (String)


773
774
775
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 773

def idcsui_regexp
  @idcsui_regexp
end

#idcsui_visibleBOOLEAN

Metadata used by Oracle Identity Cloud Service UI to decide whether the attribute must be displayed on the Account Form.

Added In: 17.4.2

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


786
787
788
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 786

def idcsui_visible
  @idcsui_visible
end

#idcsui_widgetString

Metadata used by Oracle Identity Cloud Service UI to render a widget for this attribute on the Account Form.

Added In: 17.4.2

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: string

Returns:

  • (String)


799
800
801
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 799

def idcsui_widget
  @idcsui_widget
end

#multi_valuedBOOLEAN

Indicates the attribute's plurality

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


165
166
167
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 165

def multi_valued
  @multi_valued
end

#mutabilityString

Specifies if the attribute is mutable

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


254
255
256
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 254

def mutability
  @mutability
end

#nameString

Attribute's name

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


75
76
77
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 75

def name
  @name
end

#reference_typesArray<String>

The names of the Resource types that may be referenced–for example, User. This is only applicable for attributes that are of the \“reference\” data type.

SCIM++ Properties: - caseExact: true - multiValued: true - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (Array<String>)


306
307
308
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 306

def reference_types
  @reference_types
end

#requiredBOOLEAN

Specifies if the attribute is required

SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean

Returns:

  • (BOOLEAN)


189
190
191
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 189

def required
  @required
end

#returnedString

A single keyword that indicates when an attribute and associated values are returned in response to a GET request or in response to a PUT, POST, or PATCH request

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


267
268
269
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 267

def returned
  @returned
end

#typeString

Attribute's data type–for example, String

SCIM++ Properties: - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


154
155
156
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 154

def type
  @type
end

#uniquenessString

A single keyword value that specifies how the Service Provider enforces uniqueness of attribute values. A server MAY reject an invalid value based on uniqueness by returning an HTTP response code of 400 (Bad Request). A client MAY enforce uniqueness on the client side to a greater degree than the Service Provider enforces. For example, a client could make a value unique while the server has a uniqueness of \“none\”.

SCIM++ Properties: - caseExact: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


293
294
295
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 293

def uniqueness
  @uniqueness
end

Class Method Details

.attribute_mapObject

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



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
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 856

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'name': :'name',
    'idcs_requires_immediate_read_after_write_for_access_flows': :'idcsRequiresImmediateReadAfterWriteForAccessFlows',
    'idcs_requires_write_for_access_flows': :'idcsRequiresWriteForAccessFlows',
    'idcs_display_name_message_id': :'idcsDisplayNameMessageId',
    'idcs_rtsa_hide_attribute': :'idcsRtsaHideAttribute',
    'idcs_internal': :'idcsInternal',
    'type': :'type',
    'multi_valued': :'multiValued',
    'description': :'description',
    'required': :'required',
    'idcs_return_empty_when_null': :'idcsReturnEmptyWhenNull',
    'canonical_values': :'canonicalValues',
    'idcs_default_value': :'idcsDefaultValue',
    'case_exact': :'caseExact',
    'mutability': :'mutability',
    'returned': :'returned',
    'idcs_csv_attribute_name': :'idcsCsvAttributeName',
    'uniqueness': :'uniqueness',
    'reference_types': :'referenceTypes',
    'idcs_deprecated_since_version': :'idcsDeprecatedSinceVersion',
    'idcs_added_since_version': :'idcsAddedSinceVersion',
    'idcs_deprecated_since_release_number': :'idcsDeprecatedSinceReleaseNumber',
    'idcs_added_since_release_number': :'idcsAddedSinceReleaseNumber',
    'idcs_min_length': :'idcsMinLength',
    'idcs_max_length': :'idcsMaxLength',
    'idcs_min_value': :'idcsMinValue',
    'idcs_max_value': :'idcsMaxValue',
    'idcs_only_one_value_can_be_true': :'idcsOnlyOneValueCanBeTrue',
    'idcs_max_values_returned': :'idcsMaxValuesReturned',
    'idcs_one_value_must_be_true': :'idcsOneValueMustBeTrue',
    'idcs_ref_resource_attributes': :'idcsRefResourceAttributes',
    'idcs_indirect_ref_resource_attributes': :'idcsIndirectRefResourceAttributes',
    'idcs_value_persisted': :'idcsValuePersisted',
    'idcs_sensitive': :'idcsSensitive',
    'idcs_trim_string_value': :'idcsTrimStringValue',
    'idcs_searchable': :'idcsSearchable',
    'idcs_generated': :'idcsGenerated',
    'idcs_auditable': :'idcsAuditable',
    'idcs_target_attribute_name': :'idcsTargetAttributeName',
    'idcs_target_norm_attribute_name': :'idcsTargetNormAttributeName',
    'idcs_target_attribute_name_to_migrate_from': :'idcsTargetAttributeNameToMigrateFrom',
    'idcs_target_unique_constraint_name': :'idcsTargetUniqueConstraintName',
    'idcs_to_target_mapper': :'idcsToTargetMapper',
    'idcs_from_target_mapper': :'idcsFromTargetMapper',
    'idcs_display_name': :'idcsDisplayName',
    'idcs_canonical_value_source_resource_type': :'idcsCanonicalValueSourceResourceType',
    'idcs_canonical_value_source_filter': :'idcsCanonicalValueSourceFilter',
    'idcs_canonical_value_source_resource_type_id': :'idcsCanonicalValueSourceResourceTypeID',
    'idcs_canonical_value_source_display_attr_name': :'idcsCanonicalValueSourceDisplayAttrName',
    'idcs_canonical_value_source_key_attr_name': :'idcsCanonicalValueSourceKeyAttrName',
    'idcs_validate_reference': :'idcsValidateReference',
    'idcs_scim_compliant': :'idcsScimCompliant',
    'idcs_attribute_mappable': :'idcsAttributeMappable',
    'idcs_attribute_cacheable': :'idcsAttributeCacheable',
    'idcsui_order': :'idcsuiOrder',
    'idcsui_regexp': :'idcsuiRegexp',
    'idcsui_visible': :'idcsuiVisible',
    'idcsui_widget': :'idcsuiWidget',
    'idcs_value_persisted_in_other_attribute': :'idcsValuePersistedInOtherAttribute',
    'idcs_pii': :'idcsPii',
    'idcs_sanitize': :'idcsSanitize',
    'idcs_exclude_from_upgrade_patch': :'idcsExcludeFromUpgradePatch'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



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
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 926

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'name': :'String',
    'idcs_requires_immediate_read_after_write_for_access_flows': :'BOOLEAN',
    'idcs_requires_write_for_access_flows': :'BOOLEAN',
    'idcs_display_name_message_id': :'String',
    'idcs_rtsa_hide_attribute': :'BOOLEAN',
    'idcs_internal': :'BOOLEAN',
    'type': :'String',
    'multi_valued': :'BOOLEAN',
    'description': :'String',
    'required': :'BOOLEAN',
    'idcs_return_empty_when_null': :'BOOLEAN',
    'canonical_values': :'Array<String>',
    'idcs_default_value': :'String',
    'case_exact': :'BOOLEAN',
    'mutability': :'String',
    'returned': :'String',
    'idcs_csv_attribute_name': :'String',
    'uniqueness': :'String',
    'reference_types': :'Array<String>',
    'idcs_deprecated_since_version': :'Integer',
    'idcs_added_since_version': :'Integer',
    'idcs_deprecated_since_release_number': :'String',
    'idcs_added_since_release_number': :'String',
    'idcs_min_length': :'Integer',
    'idcs_max_length': :'Integer',
    'idcs_min_value': :'Integer',
    'idcs_max_value': :'Integer',
    'idcs_only_one_value_can_be_true': :'BOOLEAN',
    'idcs_max_values_returned': :'Integer',
    'idcs_one_value_must_be_true': :'BOOLEAN',
    'idcs_ref_resource_attributes': :'Array<String>',
    'idcs_indirect_ref_resource_attributes': :'Array<String>',
    'idcs_value_persisted': :'BOOLEAN',
    'idcs_sensitive': :'String',
    'idcs_trim_string_value': :'BOOLEAN',
    'idcs_searchable': :'BOOLEAN',
    'idcs_generated': :'BOOLEAN',
    'idcs_auditable': :'BOOLEAN',
    'idcs_target_attribute_name': :'String',
    'idcs_target_norm_attribute_name': :'String',
    'idcs_target_attribute_name_to_migrate_from': :'String',
    'idcs_target_unique_constraint_name': :'String',
    'idcs_to_target_mapper': :'String',
    'idcs_from_target_mapper': :'String',
    'idcs_display_name': :'String',
    'idcs_canonical_value_source_resource_type': :'String',
    'idcs_canonical_value_source_filter': :'String',
    'idcs_canonical_value_source_resource_type_id': :'String',
    'idcs_canonical_value_source_display_attr_name': :'String',
    'idcs_canonical_value_source_key_attr_name': :'String',
    'idcs_validate_reference': :'BOOLEAN',
    'idcs_scim_compliant': :'BOOLEAN',
    'idcs_attribute_mappable': :'BOOLEAN',
    'idcs_attribute_cacheable': :'BOOLEAN',
    'idcsui_order': :'Integer',
    'idcsui_regexp': :'String',
    'idcsui_visible': :'BOOLEAN',
    'idcsui_widget': :'String',
    'idcs_value_persisted_in_other_attribute': :'BOOLEAN',
    'idcs_pii': :'BOOLEAN',
    'idcs_sanitize': :'BOOLEAN',
    'idcs_exclude_from_upgrade_patch': :'BOOLEAN'
    # rubocop:enable Style/SymbolLiteral
  }
end

Instance Method Details

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • other (Object)

    the other object to be compared



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
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 1499

def ==(other)
  return true if equal?(other)

  self.class == other.class &&
    name == other.name &&
    idcs_requires_immediate_read_after_write_for_access_flows == other.idcs_requires_immediate_read_after_write_for_access_flows &&
    idcs_requires_write_for_access_flows == other.idcs_requires_write_for_access_flows &&
    idcs_display_name_message_id == other.idcs_display_name_message_id &&
    idcs_rtsa_hide_attribute == other.idcs_rtsa_hide_attribute &&
    idcs_internal == other.idcs_internal &&
    type == other.type &&
    multi_valued == other.multi_valued &&
    description == other.description &&
    required == other.required &&
    idcs_return_empty_when_null == other.idcs_return_empty_when_null &&
    canonical_values == other.canonical_values &&
    idcs_default_value == other.idcs_default_value &&
    case_exact == other.case_exact &&
    mutability == other.mutability &&
    returned == other.returned &&
    idcs_csv_attribute_name == other.idcs_csv_attribute_name &&
    uniqueness == other.uniqueness &&
    reference_types == other.reference_types &&
    idcs_deprecated_since_version == other.idcs_deprecated_since_version &&
    idcs_added_since_version == other.idcs_added_since_version &&
    idcs_deprecated_since_release_number == other.idcs_deprecated_since_release_number &&
    idcs_added_since_release_number == other.idcs_added_since_release_number &&
    idcs_min_length == other.idcs_min_length &&
    idcs_max_length == other.idcs_max_length &&
    idcs_min_value == other.idcs_min_value &&
    idcs_max_value == other.idcs_max_value &&
    idcs_only_one_value_can_be_true == other.idcs_only_one_value_can_be_true &&
    idcs_max_values_returned == other.idcs_max_values_returned &&
    idcs_one_value_must_be_true == other.idcs_one_value_must_be_true &&
    idcs_ref_resource_attributes == other.idcs_ref_resource_attributes &&
    idcs_indirect_ref_resource_attributes == other.idcs_indirect_ref_resource_attributes &&
    idcs_value_persisted == other.idcs_value_persisted &&
    idcs_sensitive == other.idcs_sensitive &&
    idcs_trim_string_value == other.idcs_trim_string_value &&
    idcs_searchable == other.idcs_searchable &&
    idcs_generated == other.idcs_generated &&
    idcs_auditable == other.idcs_auditable &&
    idcs_target_attribute_name == other.idcs_target_attribute_name &&
    idcs_target_norm_attribute_name == other.idcs_target_norm_attribute_name &&
    idcs_target_attribute_name_to_migrate_from == other.idcs_target_attribute_name_to_migrate_from &&
    idcs_target_unique_constraint_name == other.idcs_target_unique_constraint_name &&
    idcs_to_target_mapper == other.idcs_to_target_mapper &&
    idcs_from_target_mapper == other.idcs_from_target_mapper &&
    idcs_display_name == other.idcs_display_name &&
    idcs_canonical_value_source_resource_type == other.idcs_canonical_value_source_resource_type &&
    idcs_canonical_value_source_filter == other.idcs_canonical_value_source_filter &&
    idcs_canonical_value_source_resource_type_id == other.idcs_canonical_value_source_resource_type_id &&
    idcs_canonical_value_source_display_attr_name == other.idcs_canonical_value_source_display_attr_name &&
    idcs_canonical_value_source_key_attr_name == other.idcs_canonical_value_source_key_attr_name &&
    idcs_validate_reference == other.idcs_validate_reference &&
    idcs_scim_compliant == other.idcs_scim_compliant &&
    idcs_attribute_mappable == other.idcs_attribute_mappable &&
    idcs_attribute_cacheable == other.idcs_attribute_cacheable &&
    idcsui_order == other.idcsui_order &&
    idcsui_regexp == other.idcsui_regexp &&
    idcsui_visible == other.idcsui_visible &&
    idcsui_widget == other.idcsui_widget &&
    idcs_value_persisted_in_other_attribute == other.idcs_value_persisted_in_other_attribute &&
    idcs_pii == other.idcs_pii &&
    idcs_sanitize == other.idcs_sanitize &&
    idcs_exclude_from_upgrade_patch == other.idcs_exclude_from_upgrade_patch
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



1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 1590

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)

  self.class.swagger_types.each_pair do |key, type|
    if type =~ /^Array<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        public_method("#{key}=").call(
          attributes[self.class.attribute_map[key]]
            .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
        )
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      public_method("#{key}=").call(
        OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
      )
    end
    # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(other) ⇒ Boolean

Parameters:

  • other (Object)

    the other object to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


1570
1571
1572
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 1570

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



1579
1580
1581
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 1579

def hash
  [name, idcs_requires_immediate_read_after_write_for_access_flows, idcs_requires_write_for_access_flows, idcs_display_name_message_id, idcs_rtsa_hide_attribute, idcs_internal, type, multi_valued, description, required, idcs_return_empty_when_null, canonical_values, idcs_default_value, case_exact, mutability, returned, idcs_csv_attribute_name, uniqueness, reference_types, idcs_deprecated_since_version, idcs_added_since_version, idcs_deprecated_since_release_number, idcs_added_since_release_number, idcs_min_length, idcs_max_length, idcs_min_value, idcs_max_value, idcs_only_one_value_can_be_true, idcs_max_values_returned, idcs_one_value_must_be_true, idcs_ref_resource_attributes, idcs_indirect_ref_resource_attributes, idcs_value_persisted, idcs_sensitive, idcs_trim_string_value, idcs_searchable, idcs_generated, idcs_auditable, idcs_target_attribute_name, idcs_target_norm_attribute_name, idcs_target_attribute_name_to_migrate_from, idcs_target_unique_constraint_name, idcs_to_target_mapper, idcs_from_target_mapper, idcs_display_name, idcs_canonical_value_source_resource_type, idcs_canonical_value_source_filter, idcs_canonical_value_source_resource_type_id, idcs_canonical_value_source_display_attr_name, idcs_canonical_value_source_key_attr_name, idcs_validate_reference, idcs_scim_compliant, idcs_attribute_mappable, idcs_attribute_cacheable, idcsui_order, idcsui_regexp, idcsui_visible, idcsui_widget, idcs_value_persisted_in_other_attribute, idcs_pii, idcs_sanitize, idcs_exclude_from_upgrade_patch].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 1623

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = public_method(attr).call
    next if value.nil? && !instance_variable_defined?("@#{attr}")

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

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



1617
1618
1619
# File 'lib/oci/identity_domains/models/schema_sub_attributes.rb', line 1617

def to_s
  to_hash.to_s
end