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.
4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 |
# File 'lib/models/porcelain.rb', line 4582 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.
4576 4577 4578 |
# File 'lib/models/porcelain.rb', line 4576 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
4580 4581 4582 |
# File 'lib/models/porcelain.rb', line 4580 def rate_limit @rate_limit end |
#role_attachment ⇒ Object
The created RoleAttachment.
4578 4579 4580 |
# File 'lib/models/porcelain.rb', line 4578 def @role_attachment end |
Instance Method Details
#to_json(options = {}) ⇒ Object
4598 4599 4600 4601 4602 4603 4604 |
# File 'lib/models/porcelain.rb', line 4598 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 |