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.
13239 13240 13241 13242 13243 13244 13245 13246 13247 |
# File 'lib/models/porcelain.rb', line 13239 def initialize( meta: nil, mfa: nil, rate_limit: nil ) @meta = == 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.
13233 13234 13235 |
# File 'lib/models/porcelain.rb', line 13233 def @meta end |
#mfa ⇒ Object
The current MFA configuration.
13235 13236 13237 |
# File 'lib/models/porcelain.rb', line 13235 def mfa @mfa end |
#rate_limit ⇒ Object
Rate limit information.
13237 13238 13239 |
# File 'lib/models/porcelain.rb', line 13237 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13249 13250 13251 13252 13253 13254 13255 |
# File 'lib/models/porcelain.rb', line 13249 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 |