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.
13233 13234 13235 13236 13237 13238 13239 |
# File 'lib/models/porcelain.rb', line 13233 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.
13229 13230 13231 |
# File 'lib/models/porcelain.rb', line 13229 def mfa @mfa end |
#rate_limit ⇒ Object
Rate limit information.
13231 13232 13233 |
# File 'lib/models/porcelain.rb', line 13231 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13241 13242 13243 13244 13245 13246 13247 |
# File 'lib/models/porcelain.rb', line 13241 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 |