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.
4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 |
# File 'lib/models/porcelain.rb', line 4554 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.
4549 4550 4551 |
# File 'lib/models/porcelain.rb', line 4549 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
4553 4554 4555 |
# File 'lib/models/porcelain.rb', line 4553 def rate_limit @rate_limit end |
#role_attachment ⇒ Object
The created RoleAttachment.
4551 4552 4553 |
# File 'lib/models/porcelain.rb', line 4551 def @role_attachment end |
Instance Method Details
#to_json(options = {}) ⇒ Object
4571 4572 4573 4574 4575 4576 4577 |
# File 'lib/models/porcelain.rb', line 4571 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 |