Class: OCI::IdentityDomains::Models::AuthenticationFactorSettingsClientAppSettings

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

Overview

Settings related to compliance, Personal Identification Number (PIN) policy, and so on

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

Constant Summary collapse

REQUEST_SIGNING_ALGO_ENUM =
[
  REQUEST_SIGNING_ALGO_SHA256WITH_RSA = 'SHA256withRSA'.freeze,
  REQUEST_SIGNING_ALGO_SHA384WITH_RSA = 'SHA384withRSA'.freeze,
  REQUEST_SIGNING_ALGO_SHA512WITH_RSA = 'SHA512withRSA'.freeze,
  REQUEST_SIGNING_ALGO_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
SHARED_SECRET_ENCODING_ENUM =
[
  SHARED_SECRET_ENCODING_BASE32 = 'Base32'.freeze,
  SHARED_SECRET_ENCODING_BASE64 = 'Base64'.freeze,
  SHARED_SECRET_ENCODING_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ AuthenticationFactorSettingsClientAppSettings

Initializes the object

Parameters:

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

    Model attributes in the form of hash

Options Hash (attributes):



316
317
318
319
320
321
322
323
324
325
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
356
357
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
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 316

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.min_pin_length = attributes[:'minPinLength'] if attributes[:'minPinLength']

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

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

  self.max_failures_before_warning = attributes[:'maxFailuresBeforeWarning'] if attributes[:'maxFailuresBeforeWarning']

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

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

  self.max_failures_before_lockout = attributes[:'maxFailuresBeforeLockout'] if attributes[:'maxFailuresBeforeLockout']

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

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

  self.initial_lockout_period_in_secs = attributes[:'initialLockoutPeriodInSecs'] if attributes[:'initialLockoutPeriodInSecs']

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

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

  self.lockout_escalation_pattern = attributes[:'lockoutEscalationPattern'] if attributes[:'lockoutEscalationPattern']

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

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

  self.max_lockout_interval_in_secs = attributes[:'maxLockoutIntervalInSecs'] if attributes[:'maxLockoutIntervalInSecs']

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

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

  self.request_signing_algo = attributes[:'requestSigningAlgo'] if attributes[:'requestSigningAlgo']

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

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

  self.policy_update_freq_in_days = attributes[:'policyUpdateFreqInDays'] if attributes[:'policyUpdateFreqInDays']

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

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

  self.key_pair_length = attributes[:'keyPairLength'] if attributes[:'keyPairLength']

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

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

  self.device_protection_policy = attributes[:'deviceProtectionPolicy'] if attributes[:'deviceProtectionPolicy']

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

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

  self.unlock_app_for_each_request_enabled = attributes[:'unlockAppForEachRequestEnabled'] unless attributes[:'unlockAppForEachRequestEnabled'].nil?

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

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

  self.unlock_on_app_start_enabled = attributes[:'unlockOnAppStartEnabled'] unless attributes[:'unlockOnAppStartEnabled'].nil?

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

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

  self.unlock_app_interval_in_secs = attributes[:'unlockAppIntervalInSecs'] if attributes[:'unlockAppIntervalInSecs']

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

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

  self.shared_secret_encoding = attributes[:'sharedSecretEncoding'] if attributes[:'sharedSecretEncoding']

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

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

  self.unlock_on_app_foreground_enabled = attributes[:'unlockOnAppForegroundEnabled'] unless attributes[:'unlockOnAppForegroundEnabled'].nil?

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

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

Instance Attribute Details

#device_protection_policyString

[Required] Indicates what protection policy that the system applies on a device. By default, the value is NONE, which indicates that the system applies no protection policy. A value of APP_PIN indicates that the system requires a Personal Identification Number (PIN). A value of DEVICE_BIOMETRIC_OR_APP_PIN indicates that either a PIN or a biometric authentication factor is required.

SCIM++ Properties: - idcsCanonicalValueSourceFilter: attrName eq "deviceProtectionPolicy" and attrValues.value eq "$(deviceProtectionPolicy)" - idcsCanonicalValueSourceResourceType: AllowedValue - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none

Returns:

  • (String)


180
181
182
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 180

def device_protection_policy
  @device_protection_policy
end

#initial_lockout_period_in_secsInteger

[Required] The period of time in seconds that the system will lock a user out of the service after that user exceeds the maximum number of login failures

SCIM++ Properties: - idcsMaxValue: 86400 - idcsMinValue: 30 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none

Returns:

  • (Integer)


92
93
94
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 92

def initial_lockout_period_in_secs
  @initial_lockout_period_in_secs
end

#key_pair_lengthInteger

[Required] The size of the key that the system uses to generate the public-private key pair

SCIM++ Properties: - idcsMaxValue: 4000 - idcsMinValue: 32 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none

Returns:

  • (Integer)


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

def key_pair_length
  @key_pair_length
end

#lockout_escalation_patternString

[Required] The pattern of escalation that the system follows, in locking a particular user out of the service.

SCIM++ Properties: - idcsCanonicalValueSourceFilter: attrName eq "lockoutEscalationPattern" and attrValues.value eq "$(lockoutEscalationPattern)" - idcsCanonicalValueSourceResourceType: AllowedValue - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none

Returns:

  • (String)


107
108
109
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 107

def lockout_escalation_pattern
  @lockout_escalation_pattern
end

#max_failures_before_lockoutInteger

[Required] The maximum number of times that a particular user can fail to login before the system locks that user out of the service

SCIM++ Properties: - idcsMaxValue: 10 - idcsMinValue: 5 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none

Returns:

  • (Integer)


77
78
79
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 77

def max_failures_before_lockout
  @max_failures_before_lockout
end

#max_failures_before_warningInteger

[Required] The maximum number of login failures that the system will allow before raising a warning and sending an alert via email

SCIM++ Properties: - idcsMaxValue: 10 - idcsMinValue: 0 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none

Returns:

  • (Integer)


62
63
64
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 62

def max_failures_before_warning
  @max_failures_before_warning
end

#max_lockout_interval_in_secsInteger

[Required] The maximum period of time that the system will lock a particular user out of the service regardless of what the configured pattern of escalation would otherwise dictate

SCIM++ Properties: - idcsMaxValue: 86400 - idcsMinValue: 30 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none

Returns:

  • (Integer)


122
123
124
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 122

def max_lockout_interval_in_secs
  @max_lockout_interval_in_secs
end

#min_pin_lengthInteger

[Required] Minimum length of the Personal Identification Number (PIN)

SCIM++ Properties: - idcsMaxValue: 10 - idcsMinValue: 6 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none

Returns:

  • (Integer)


47
48
49
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 47

def min_pin_length
  @min_pin_length
end

#policy_update_freq_in_daysInteger

[Required] The period of time in days after which a client should refresh its policy by re-reading that policy from the server

SCIM++ Properties: - idcsMaxValue: 999 - idcsMinValue: 1 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none

Returns:

  • (Integer)


150
151
152
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 150

def policy_update_freq_in_days
  @policy_update_freq_in_days
end

#request_signing_algoString

[Required] Indicates which algorithm the system will use to sign requests

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

Returns:

  • (String)


135
136
137
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 135

def request_signing_algo
  @request_signing_algo
end

#shared_secret_encodingString

[Required] Indicates the type of encoding that the system should use to generate a shared secret

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

Returns:

  • (String)


234
235
236
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 234

def shared_secret_encoding
  @shared_secret_encoding
end

#unlock_app_for_each_request_enabledBOOLEAN

[Required] If true, indicates that the system should require the user to unlock the client app for each request. In order to unlock the App, the user must supply a Personal Identification Number (PIN) or a biometric authentication-factor.

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

Returns:

  • (BOOLEAN)


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

def unlock_app_for_each_request_enabled
  @unlock_app_for_each_request_enabled
end

#unlock_app_interval_in_secsInteger

[Required] Specifies the period of time in seconds after which the client App should require the user to unlock the App. In order to unlock the App, the user must supply a Personal Identification Number (PIN) or a biometric authentication-factor. A value of zero means that it is disabled.

SCIM++ Properties: - idcsMaxValue: 9999999 - idcsMinValue: 0 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none

Returns:

  • (Integer)


221
222
223
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 221

def unlock_app_interval_in_secs
  @unlock_app_interval_in_secs
end

#unlock_on_app_foreground_enabledBOOLEAN

[Required] If true, indicates that the system should require the user to unlock the client App, when the client App comes to the foreground in the display of the device. In order to unlock the App, the user must supply a Personal Identification Number (PIN) or a biometric authentication-factor.

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

Returns:

  • (BOOLEAN)


247
248
249
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 247

def unlock_on_app_foreground_enabled
  @unlock_on_app_foreground_enabled
end

#unlock_on_app_start_enabledBOOLEAN

[Required] If true, indicates that the system should require the user to unlock the client App whenever the App is started. In order to unlock the App, the user must supply a Personal Identification Number (PIN) or a biometric authentication-factor.

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

Returns:

  • (BOOLEAN)


206
207
208
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 206

def unlock_on_app_start_enabled
  @unlock_on_app_start_enabled
end

Class Method Details

.attribute_mapObject

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



250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 250

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'min_pin_length': :'minPinLength',
    'max_failures_before_warning': :'maxFailuresBeforeWarning',
    'max_failures_before_lockout': :'maxFailuresBeforeLockout',
    'initial_lockout_period_in_secs': :'initialLockoutPeriodInSecs',
    'lockout_escalation_pattern': :'lockoutEscalationPattern',
    'max_lockout_interval_in_secs': :'maxLockoutIntervalInSecs',
    'request_signing_algo': :'requestSigningAlgo',
    'policy_update_freq_in_days': :'policyUpdateFreqInDays',
    'key_pair_length': :'keyPairLength',
    'device_protection_policy': :'deviceProtectionPolicy',
    'unlock_app_for_each_request_enabled': :'unlockAppForEachRequestEnabled',
    'unlock_on_app_start_enabled': :'unlockOnAppStartEnabled',
    'unlock_app_interval_in_secs': :'unlockAppIntervalInSecs',
    'shared_secret_encoding': :'sharedSecretEncoding',
    'unlock_on_app_foreground_enabled': :'unlockOnAppForegroundEnabled'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 273

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'min_pin_length': :'Integer',
    'max_failures_before_warning': :'Integer',
    'max_failures_before_lockout': :'Integer',
    'initial_lockout_period_in_secs': :'Integer',
    'lockout_escalation_pattern': :'String',
    'max_lockout_interval_in_secs': :'Integer',
    'request_signing_algo': :'String',
    'policy_update_freq_in_days': :'Integer',
    'key_pair_length': :'Integer',
    'device_protection_policy': :'String',
    'unlock_app_for_each_request_enabled': :'BOOLEAN',
    'unlock_on_app_start_enabled': :'BOOLEAN',
    'unlock_app_interval_in_secs': :'Integer',
    'shared_secret_encoding': :'String',
    'unlock_on_app_foreground_enabled': :'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



446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 446

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

  self.class == other.class &&
    min_pin_length == other.min_pin_length &&
    max_failures_before_warning == other.max_failures_before_warning &&
    max_failures_before_lockout == other.max_failures_before_lockout &&
    initial_lockout_period_in_secs == other.initial_lockout_period_in_secs &&
    lockout_escalation_pattern == other.lockout_escalation_pattern &&
    max_lockout_interval_in_secs == other.max_lockout_interval_in_secs &&
    request_signing_algo == other.request_signing_algo &&
    policy_update_freq_in_days == other.policy_update_freq_in_days &&
    key_pair_length == other.key_pair_length &&
    device_protection_policy == other.device_protection_policy &&
    unlock_app_for_each_request_enabled == other.unlock_app_for_each_request_enabled &&
    unlock_on_app_start_enabled == other.unlock_on_app_start_enabled &&
    unlock_app_interval_in_secs == other.unlock_app_interval_in_secs &&
    shared_secret_encoding == other.shared_secret_encoding &&
    unlock_on_app_foreground_enabled == other.unlock_on_app_foreground_enabled
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



490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 490

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


470
471
472
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 470

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



479
480
481
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 479

def hash
  [min_pin_length, max_failures_before_warning, max_failures_before_lockout, initial_lockout_period_in_secs, lockout_escalation_pattern, max_lockout_interval_in_secs, request_signing_algo, policy_update_freq_in_days, key_pair_length, device_protection_policy, unlock_app_for_each_request_enabled, unlock_on_app_start_enabled, unlock_app_interval_in_secs, shared_secret_encoding, unlock_on_app_foreground_enabled].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



523
524
525
526
527
528
529
530
531
532
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 523

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



517
518
519
# File 'lib/oci/identity_domains/models/authentication_factor_settings_client_app_settings.rb', line 517

def to_s
  to_hash.to_s
end