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.
13159 13160 13161 13162 13163 13164 13165 13166 13167 |
# File 'lib/models/porcelain.rb', line 13159 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.
13153 13154 13155 |
# File 'lib/models/porcelain.rb', line 13153 def @meta end |
#mfa ⇒ Object
The current MFA configuration.
13155 13156 13157 |
# File 'lib/models/porcelain.rb', line 13155 def mfa @mfa end |
#rate_limit ⇒ Object
Rate limit information.
13157 13158 13159 |
# File 'lib/models/porcelain.rb', line 13157 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13169 13170 13171 13172 13173 13174 13175 |
# File 'lib/models/porcelain.rb', line 13169 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 |