Class: OCI::IdentityDomains::Models::AppExtensionManagedappApp

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

Overview

Managed App

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ AppExtensionManagedappApp

Initializes the object

Parameters:

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

    Model attributes in the form of hash

Options Hash (attributes):



419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 419

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.connected = attributes[:'connected'] unless attributes[:'connected'].nil?

  self.can_be_authoritative = attributes[:'canBeAuthoritative'] unless attributes[:'canBeAuthoritative'].nil?

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

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

  self.is_authoritative = attributes[:'isAuthoritative'] unless attributes[:'isAuthoritative'].nil?

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

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

  self.is_on_premise_app = attributes[:'isOnPremiseApp'] unless attributes[:'isOnPremiseApp'].nil?

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

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

  self.is_directory = attributes[:'isDirectory'] unless attributes[:'isDirectory'].nil?

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

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

  self.is_schema_discovery_supported = attributes[:'isSchemaDiscoverySupported'] unless attributes[:'isSchemaDiscoverySupported'].nil?

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

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

  self.is_schema_customization_supported = attributes[:'isSchemaCustomizationSupported'] unless attributes[:'isSchemaCustomizationSupported'].nil?

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

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

  self.enable_sync = attributes[:'enableSync'] unless attributes[:'enableSync'].nil?

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

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

  self.enable_sync_summary_report_notification = attributes[:'enableSyncSummaryReportNotification'] unless attributes[:'enableSyncSummaryReportNotification'].nil?

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

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

  self.enable_auth_sync_new_user_notification = attributes[:'enableAuthSyncNewUserNotification'] unless attributes[:'enableAuthSyncNewUserNotification'].nil?

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

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

  self.admin_consent_granted = attributes[:'adminConsentGranted'] unless attributes[:'adminConsentGranted'].nil?

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

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

  self.is_three_legged_o_auth_enabled = attributes[:'isThreeLeggedOAuthEnabled'] unless attributes[:'isThreeLeggedOAuthEnabled'].nil?

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

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

  self.is_two_legged_o_auth_enabled = attributes[:'isTwoLeggedOAuthEnabled'] unless attributes[:'isTwoLeggedOAuthEnabled'].nil?

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

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

  self.three_legged_o_auth_provider_name = attributes[:'threeLeggedOAuthProviderName'] if attributes[:'threeLeggedOAuthProviderName']

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

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

  self.sync_config_last_modified = attributes[:'syncConfigLastModified'] if attributes[:'syncConfigLastModified']

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

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

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

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

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

  self.identity_bridges = attributes[:'identityBridges'] if attributes[:'identityBridges']

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

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

  self.connector_bundle = attributes[:'connectorBundle'] if attributes[:'connectorBundle']

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

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

  self.bundle_configuration_properties = attributes[:'bundleConfigurationProperties'] if attributes[:'bundleConfigurationProperties']

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

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

  self.object_classes = attributes[:'objectClasses'] if attributes[:'objectClasses']

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

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

  self.bundle_pool_configuration = attributes[:'bundlePoolConfiguration'] if attributes[:'bundlePoolConfiguration']

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

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

  self.flat_file_connector_bundle = attributes[:'flatFileConnectorBundle'] if attributes[:'flatFileConnectorBundle']

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

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

  self.flat_file_bundle_configuration_properties = attributes[:'flatFileBundleConfigurationProperties'] if attributes[:'flatFileBundleConfigurationProperties']

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

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

  self.three_legged_o_auth_credential = attributes[:'threeLeggedOAuthCredential'] if attributes[:'threeLeggedOAuthCredential']

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

  self.three_legged_o_auth_credential = attributes[:'three_legged_o_auth_credential'] if attributes[:'three_legged_o_auth_credential']
end

Instance Attribute Details

#account_form_visibleBOOLEAN

If true, then the account form will be displayed in the Oracle Identity Cloud Service UI to interactively create or update an account for this App. If a value is not specified for this attribute, a default value of \“false\” will be assumed as the value for this attribute.

Added In: 18.4.2

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

Returns:

  • (BOOLEAN)


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

def 
  @account_form_visible
end

If true, admin has granted consent to perform managed app run-time operations.

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

Returns:

  • (BOOLEAN)


179
180
181
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 179

def admin_consent_granted
  @admin_consent_granted
end

#bundle_configuration_propertiesArray<OCI::IdentityDomains::Models::AppBundleConfigurationProperties>

ConnectorBundle configuration properties

SCIM++ Properties: - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: true - mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none



286
287
288
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 286

def bundle_configuration_properties
  @bundle_configuration_properties
end

#bundle_pool_configurationOCI::IdentityDomains::Models::AppBundlePoolConfiguration



303
304
305
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 303

def bundle_pool_configuration
  @bundle_pool_configuration
end

#can_be_authoritativeBOOLEAN

If true, the managed app can be authoritative.

Added In: 17.4.6

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

Returns:

  • (BOOLEAN)


39
40
41
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 39

def can_be_authoritative
  @can_be_authoritative
end

#connectedBOOLEAN

If true, the accounts of the application are managed through an ICF connector bundle

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

Returns:

  • (BOOLEAN)


23
24
25
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 23

def connected
  @connected
end

#connector_bundleOCI::IdentityDomains::Models::AppConnectorBundle



272
273
274
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 272

def connector_bundle
  @connector_bundle
end

#enable_auth_sync_new_user_notificationBOOLEAN

If true, send activation email to new users created from authoritative sync.

Added In: 19.2.1

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

Returns:

  • (BOOLEAN)


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

def enable_auth_sync_new_user_notification
  @enable_auth_sync_new_user_notification
end

#enable_syncBOOLEAN

If true, sync run-time operations are enabled for this App.

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

Returns:

  • (BOOLEAN)


133
134
135
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 133

def enable_sync
  @enable_sync
end

#enable_sync_summary_report_notificationBOOLEAN

If true, send sync summary as notification upon job completion.

Added In: 20.1.3

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

Returns:

  • (BOOLEAN)


149
150
151
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 149

def enable_sync_summary_report_notification
  @enable_sync_summary_report_notification
end

#flat_file_bundle_configuration_propertiesArray<OCI::IdentityDomains::Models::AppFlatFileBundleConfigurationProperties>

Flat file connector bundle configuration properties

SCIM++ Properties: - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: true - mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none



320
321
322
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 320

def flat_file_bundle_configuration_properties
  @flat_file_bundle_configuration_properties
end

#flat_file_connector_bundleOCI::IdentityDomains::Models::AppFlatFileConnectorBundle



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

def flat_file_connector_bundle
  @flat_file_connector_bundle
end

#identity_bridgesArray<OCI::IdentityDomains::Models::AppIdentityBridges>

IdentityBridges associated with this App

Added In: 19.1.4

SCIM++ Properties: - idcsSearchable: true - multiValued: true - mutability: readOnly - required: false - returned: request - type: complex - uniqueness: none



269
270
271
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 269

def identity_bridges
  @identity_bridges
end

#is_authoritativeBOOLEAN

If true, sync from the managed app will be performed as authoritative sync.

Added In: 17.4.6

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

Returns:

  • (BOOLEAN)


55
56
57
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 55

def is_authoritative
  @is_authoritative
end

#is_directoryBOOLEAN

If true, the managed app is a directory.

Added In: 19.1.4

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

Returns:

  • (BOOLEAN)


87
88
89
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 87

def is_directory
  @is_directory
end

#is_on_premise_appBOOLEAN

If true, the managed app is an On-Premise app.

Added In: 19.1.4

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

Returns:

  • (BOOLEAN)


71
72
73
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 71

def is_on_premise_app
  @is_on_premise_app
end

#is_schema_customization_supportedBOOLEAN

If true, the managed app supports schema customization.

Added In: 19.1.4

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

Returns:

  • (BOOLEAN)


119
120
121
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 119

def is_schema_customization_supported
  @is_schema_customization_supported
end

#is_schema_discovery_supportedBOOLEAN

If true, the managed app supports schema discovery.

Added In: 19.1.4

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

Returns:

  • (BOOLEAN)


103
104
105
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 103

def is_schema_discovery_supported
  @is_schema_discovery_supported
end

#is_three_legged_o_auth_enabledBOOLEAN

If true, the managed app requires 3-legged OAuth for authorization.

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

Returns:

  • (BOOLEAN)


193
194
195
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 193

def is_three_legged_o_auth_enabled
  @is_three_legged_o_auth_enabled
end

#is_two_legged_o_auth_enabledBOOLEAN

If true, indicates that Oracle Identity Cloud Service can use two-legged OAuth to connect to this ManagedApp.

Added In: 18.2.6

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

Returns:

  • (BOOLEAN)


209
210
211
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 209

def is_two_legged_o_auth_enabled
  @is_two_legged_o_auth_enabled
end

#object_classesArray<OCI::IdentityDomains::Models::AppObjectClasses>

Object classes

SCIM++ Properties: - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: true - mutability: readOnly - required: false - returned: default - type: complex - uniqueness: none



300
301
302
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 300

def object_classes
  @object_classes
end

#sync_config_last_modifiedString

The most recent DateTime that the configuration of this App was updated. AppServices updates this timestamp whenever AppServices updates an App's configuration with respect to synchronization.

Added In: 18.2.6

SCIM++ Properties: - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: request - type: dateTime - uniqueness: none

Returns:

  • (String)


238
239
240
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 238

def sync_config_last_modified
  @sync_config_last_modified
end

#three_legged_o_auth_credentialOCI::IdentityDomains::Models::AppThreeLeggedOAuthCredential



323
324
325
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 323

def three_legged_o_auth_credential
  @three_legged_o_auth_credential
end

#three_legged_o_auth_provider_nameString

Three legged OAuth provider name in Oracle Identity Cloud Service.

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

Returns:

  • (String)


222
223
224
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 222

def three_legged_o_auth_provider_name
  @three_legged_o_auth_provider_name
end

Class Method Details

.attribute_mapObject

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



326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 326

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'connected': :'connected',
    'can_be_authoritative': :'canBeAuthoritative',
    'is_authoritative': :'isAuthoritative',
    'is_on_premise_app': :'isOnPremiseApp',
    'is_directory': :'isDirectory',
    'is_schema_discovery_supported': :'isSchemaDiscoverySupported',
    'is_schema_customization_supported': :'isSchemaCustomizationSupported',
    'enable_sync': :'enableSync',
    'enable_sync_summary_report_notification': :'enableSyncSummaryReportNotification',
    'enable_auth_sync_new_user_notification': :'enableAuthSyncNewUserNotification',
    'admin_consent_granted': :'adminConsentGranted',
    'is_three_legged_o_auth_enabled': :'isThreeLeggedOAuthEnabled',
    'is_two_legged_o_auth_enabled': :'isTwoLeggedOAuthEnabled',
    'three_legged_o_auth_provider_name': :'threeLeggedOAuthProviderName',
    'sync_config_last_modified': :'syncConfigLastModified',
    'account_form_visible': :'accountFormVisible',
    'identity_bridges': :'identityBridges',
    'connector_bundle': :'connectorBundle',
    'bundle_configuration_properties': :'bundleConfigurationProperties',
    'object_classes': :'objectClasses',
    'bundle_pool_configuration': :'bundlePoolConfiguration',
    'flat_file_connector_bundle': :'flatFileConnectorBundle',
    'flat_file_bundle_configuration_properties': :'flatFileBundleConfigurationProperties',
    'three_legged_o_auth_credential': :'threeLeggedOAuthCredential'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 358

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'connected': :'BOOLEAN',
    'can_be_authoritative': :'BOOLEAN',
    'is_authoritative': :'BOOLEAN',
    'is_on_premise_app': :'BOOLEAN',
    'is_directory': :'BOOLEAN',
    'is_schema_discovery_supported': :'BOOLEAN',
    'is_schema_customization_supported': :'BOOLEAN',
    'enable_sync': :'BOOLEAN',
    'enable_sync_summary_report_notification': :'BOOLEAN',
    'enable_auth_sync_new_user_notification': :'BOOLEAN',
    'admin_consent_granted': :'BOOLEAN',
    'is_three_legged_o_auth_enabled': :'BOOLEAN',
    'is_two_legged_o_auth_enabled': :'BOOLEAN',
    'three_legged_o_auth_provider_name': :'String',
    'sync_config_last_modified': :'String',
    'account_form_visible': :'BOOLEAN',
    'identity_bridges': :'Array<OCI::IdentityDomains::Models::AppIdentityBridges>',
    'connector_bundle': :'OCI::IdentityDomains::Models::AppConnectorBundle',
    'bundle_configuration_properties': :'Array<OCI::IdentityDomains::Models::AppBundleConfigurationProperties>',
    'object_classes': :'Array<OCI::IdentityDomains::Models::AppObjectClasses>',
    'bundle_pool_configuration': :'OCI::IdentityDomains::Models::AppBundlePoolConfiguration',
    'flat_file_connector_bundle': :'OCI::IdentityDomains::Models::AppFlatFileConnectorBundle',
    'flat_file_bundle_configuration_properties': :'Array<OCI::IdentityDomains::Models::AppFlatFileBundleConfigurationProperties>',
    'three_legged_o_auth_credential': :'OCI::IdentityDomains::Models::AppThreeLeggedOAuthCredential'
    # 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



573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 573

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

  self.class == other.class &&
    connected == other.connected &&
    can_be_authoritative == other.can_be_authoritative &&
    is_authoritative == other.is_authoritative &&
    is_on_premise_app == other.is_on_premise_app &&
    is_directory == other.is_directory &&
    is_schema_discovery_supported == other.is_schema_discovery_supported &&
    is_schema_customization_supported == other.is_schema_customization_supported &&
    enable_sync == other.enable_sync &&
    enable_sync_summary_report_notification == other.enable_sync_summary_report_notification &&
    enable_auth_sync_new_user_notification == other.enable_auth_sync_new_user_notification &&
    admin_consent_granted == other.admin_consent_granted &&
    is_three_legged_o_auth_enabled == other.is_three_legged_o_auth_enabled &&
    is_two_legged_o_auth_enabled == other.is_two_legged_o_auth_enabled &&
    three_legged_o_auth_provider_name == other.three_legged_o_auth_provider_name &&
    sync_config_last_modified == other.sync_config_last_modified &&
     == other. &&
    identity_bridges == other.identity_bridges &&
    connector_bundle == other.connector_bundle &&
    bundle_configuration_properties == other.bundle_configuration_properties &&
    object_classes == other.object_classes &&
    bundle_pool_configuration == other.bundle_pool_configuration &&
    flat_file_connector_bundle == other.flat_file_connector_bundle &&
    flat_file_bundle_configuration_properties == other.flat_file_bundle_configuration_properties &&
    three_legged_o_auth_credential == other.three_legged_o_auth_credential
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



626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 626

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


606
607
608
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 606

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



615
616
617
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 615

def hash
  [connected, can_be_authoritative, is_authoritative, is_on_premise_app, is_directory, is_schema_discovery_supported, is_schema_customization_supported, enable_sync, enable_sync_summary_report_notification, enable_auth_sync_new_user_notification, admin_consent_granted, is_three_legged_o_auth_enabled, is_two_legged_o_auth_enabled, three_legged_o_auth_provider_name, sync_config_last_modified, , identity_bridges, connector_bundle, bundle_configuration_properties, object_classes, bundle_pool_configuration, flat_file_connector_bundle, flat_file_bundle_configuration_properties, three_legged_o_auth_credential].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



659
660
661
662
663
664
665
666
667
668
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 659

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



653
654
655
# File 'lib/oci/identity_domains/models/app_extension_managedapp_app.rb', line 653

def to_s
  to_hash.to_s
end