Class: SDM::RoleAttachmentGetResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Overview

RoleAttachmentGetResponse returns a requested RoleAttachment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(meta: nil, role_attachment: nil, rate_limit: nil) ⇒ RoleAttachmentGetResponse

Returns a new instance of RoleAttachmentGetResponse.



3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
# File 'lib/models/porcelain.rb', line 3747

def initialize(
	meta:nil \
,
	role_attachment:nil \
,
	rate_limit:nil \
)
	if meta != nil
		@meta = meta
	end
	if role_attachment != nil
		@role_attachment = role_attachment
	end
	if rate_limit != nil
		@rate_limit = rate_limit
	end
end

Instance Attribute Details

#metaObject

Reserved for future use.



3742
3743
3744
# File 'lib/models/porcelain.rb', line 3742

def meta
  @meta
end

#rate_limitObject

Rate limit information.



3746
3747
3748
# File 'lib/models/porcelain.rb', line 3746

def rate_limit
  @rate_limit
end

#role_attachmentObject

The requested RoleAttachment.



3744
3745
3746
# File 'lib/models/porcelain.rb', line 3744

def role_attachment
  @role_attachment
end