Class: SDM::OrganizationGetMFAResponse
- Inherits:
-
Object
- Object
- SDM::OrganizationGetMFAResponse
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#mfa ⇒ Object
The current MFA configuration.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(meta: nil, mfa: nil, rate_limit: nil) ⇒ OrganizationGetMFAResponse
constructor
A new instance of OrganizationGetMFAResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, mfa: nil, rate_limit: nil) ⇒ OrganizationGetMFAResponse
Returns a new instance of OrganizationGetMFAResponse.
13346 13347 13348 13349 13350 13351 13352 13353 13354 |
# File 'lib/models/porcelain.rb', line 13346 def initialize( meta: nil, mfa: nil, rate_limit: nil ) = == nil ? nil : @mfa = mfa == nil ? nil : mfa @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
13340 13341 13342 |
# File 'lib/models/porcelain.rb', line 13340 def end |
#mfa ⇒ Object
The current MFA configuration.
13342 13343 13344 |
# File 'lib/models/porcelain.rb', line 13342 def mfa @mfa end |
#rate_limit ⇒ Object
Rate limit information.
13344 13345 13346 |
# File 'lib/models/porcelain.rb', line 13344 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13356 13357 13358 13359 13360 13361 13362 |
# File 'lib/models/porcelain.rb', line 13356 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 |