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.
13313 13314 13315 13316 13317 13318 13319 |
# File 'lib/models/porcelain.rb', line 13313 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.
13309 13310 13311 |
# File 'lib/models/porcelain.rb', line 13309 def mfa @mfa end |
#rate_limit ⇒ Object
Rate limit information.
13311 13312 13313 |
# File 'lib/models/porcelain.rb', line 13311 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13321 13322 13323 13324 13325 13326 13327 |
# File 'lib/models/porcelain.rb', line 13321 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 |