Class: SDM::RemoteIdentityGroupGetResponse

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

Overview

RemoteIdentityGroupGetResponse returns a requested RemoteIdentityGroup.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(meta: nil, rate_limit: nil, remote_identity_group: nil) ⇒ RemoteIdentityGroupGetResponse

Returns a new instance of RemoteIdentityGroupGetResponse.



6536
6537
6538
6539
6540
6541
6542
6543
6544
# File 'lib/models/porcelain.rb', line 6536

def initialize(
  meta: nil,
  rate_limit: nil,
  remote_identity_group: nil
)
  @meta = meta == nil ? nil : meta
  @rate_limit = rate_limit == nil ? nil : rate_limit
  @remote_identity_group = remote_identity_group == nil ? nil : remote_identity_group
end

Instance Attribute Details

#metaObject

Reserved for future use.



6530
6531
6532
# File 'lib/models/porcelain.rb', line 6530

def meta
  @meta
end

#rate_limitObject

Rate limit information.



6532
6533
6534
# File 'lib/models/porcelain.rb', line 6532

def rate_limit
  @rate_limit
end

#remote_identity_groupObject

The requested RemoteIdentityGroup.



6534
6535
6536
# File 'lib/models/porcelain.rb', line 6534

def remote_identity_group
  @remote_identity_group
end

Instance Method Details

#to_json(options = {}) ⇒ Object



6546
6547
6548
6549
6550
6551
6552
# File 'lib/models/porcelain.rb', line 6546

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