class SDM::RoleAttachmentCreateResponse

RoleAttachmentCreateResponse reports how the RoleAttachments were created in the system.

Attributes

meta[RW]

Reserved for future use.

rate_limit[RW]

Rate limit information.

role_attachment[RW]

The created RoleAttachment.

Public Class Methods

new( meta:nil \ , rate_limit:nil \ , role_attachment:nil \ ) click to toggle source
# File lib/models/porcelain.rb, line 6344
                def initialize(
                        meta:nil \
,
                        rate_limit:nil \
,
                        role_attachment:nil \
                )
                        if meta != nil
                                @meta = meta
                        end
                        if rate_limit != nil
                                @rate_limit = rate_limit
                        end
                        if role_attachment != nil
                                @role_attachment = role_attachment
                        end
                end

Public Instance Methods

to_json(options={}) click to toggle source
# File lib/models/porcelain.rb, line 6361
def to_json(options={})
        hash = {}
        self.instance_variables.each do |var|
            hash[var.id2name.delete_prefix('@')] = self.instance_variable_get var
        end
        hash.to_json
end