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.
13287 13288 13289 13290 13291 13292 13293 13294 13295 |
# File 'lib/models/porcelain.rb', line 13287 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.
13281 13282 13283 |
# File 'lib/models/porcelain.rb', line 13281 def @meta end |
#mfa ⇒ Object
The current MFA configuration.
13283 13284 13285 |
# File 'lib/models/porcelain.rb', line 13283 def mfa @mfa end |
#rate_limit ⇒ Object
Rate limit information.
13285 13286 13287 |
# File 'lib/models/porcelain.rb', line 13285 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13297 13298 13299 13300 13301 13302 13303 |
# File 'lib/models/porcelain.rb', line 13297 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 |