Class: SDM::OrganizationUpdateMFAResponse
- Inherits:
-
Object
- Object
- SDM::OrganizationUpdateMFAResponse
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#mfa ⇒ Object
The updated MFA configuration.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(mfa: nil, rate_limit: nil) ⇒ OrganizationUpdateMFAResponse
constructor
A new instance of OrganizationUpdateMFAResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(mfa: nil, rate_limit: nil) ⇒ OrganizationUpdateMFAResponse
Returns a new instance of OrganizationUpdateMFAResponse.
13421 13422 13423 13424 13425 13426 13427 |
# File 'lib/models/porcelain.rb', line 13421 def initialize( mfa: nil, rate_limit: nil ) @mfa = mfa == nil ? nil : mfa @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#mfa ⇒ Object
The updated MFA configuration.
13417 13418 13419 |
# File 'lib/models/porcelain.rb', line 13417 def mfa @mfa end |
#rate_limit ⇒ Object
Rate limit information.
13419 13420 13421 |
# File 'lib/models/porcelain.rb', line 13419 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13429 13430 13431 13432 13433 13434 13435 |
# File 'lib/models/porcelain.rb', line 13429 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |