Class: SDM::RoleAttachmentCreateResponse
- Inherits:
-
Object
- Object
- SDM::RoleAttachmentCreateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
RoleAttachmentCreateResponse reports how the RoleAttachments were created in the system.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#role_attachment ⇒ Object
The created RoleAttachment.
Instance Method Summary collapse
-
#initialize(meta: nil, role_attachment: nil, rate_limit: nil) ⇒ RoleAttachmentCreateResponse
constructor
A new instance of RoleAttachmentCreateResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, role_attachment: nil, rate_limit: nil) ⇒ RoleAttachmentCreateResponse
Returns a new instance of RoleAttachmentCreateResponse.
6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 |
# File 'lib/models/porcelain.rb', line 6310 def initialize( meta: nil, role_attachment: nil, rate_limit: nil ) if != nil @meta = end if != nil @role_attachment = end if rate_limit != nil @rate_limit = rate_limit end end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
6304 6305 6306 |
# File 'lib/models/porcelain.rb', line 6304 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
6308 6309 6310 |
# File 'lib/models/porcelain.rb', line 6308 def rate_limit @rate_limit end |
#role_attachment ⇒ Object
The created RoleAttachment.
6306 6307 6308 |
# File 'lib/models/porcelain.rb', line 6306 def @role_attachment end |
Instance Method Details
#to_json(options = {}) ⇒ Object
6326 6327 6328 6329 6330 6331 6332 |
# File 'lib/models/porcelain.rb', line 6326 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 |