Class: SDM::IdentityAliasCreateResponse
- Inherits:
-
Object
- Object
- SDM::IdentityAliasCreateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
IdentityAliasCreateResponse reports how the IdentityAliases were created in the system.
Instance Attribute Summary collapse
-
#identity_alias ⇒ Object
The created IdentityAlias.
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(identity_alias: nil, meta: nil, rate_limit: nil) ⇒ IdentityAliasCreateResponse
constructor
A new instance of IdentityAliasCreateResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(identity_alias: nil, meta: nil, rate_limit: nil) ⇒ IdentityAliasCreateResponse
Returns a new instance of IdentityAliasCreateResponse.
9140 9141 9142 9143 9144 9145 9146 9147 9148 |
# File 'lib/models/porcelain.rb', line 9140 def initialize( identity_alias: nil, meta: nil, rate_limit: nil ) @identity_alias = identity_alias == nil ? nil : identity_alias = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#identity_alias ⇒ Object
The created IdentityAlias.
9134 9135 9136 |
# File 'lib/models/porcelain.rb', line 9134 def identity_alias @identity_alias end |
#meta ⇒ Object
Reserved for future use.
9136 9137 9138 |
# File 'lib/models/porcelain.rb', line 9136 def end |
#rate_limit ⇒ Object
Rate limit information.
9138 9139 9140 |
# File 'lib/models/porcelain.rb', line 9138 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
9150 9151 9152 9153 9154 9155 9156 |
# File 'lib/models/porcelain.rb', line 9150 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 |