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.



6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/models/porcelain.rb', line 6810

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.



6804
6805
6806
# File 'lib/models/porcelain.rb', line 6804

def meta
  @meta
end

#rate_limitObject

Rate limit information.



6806
6807
6808
# File 'lib/models/porcelain.rb', line 6806

def rate_limit
  @rate_limit
end

#remote_identity_groupObject

The requested RemoteIdentityGroup.



6808
6809
6810
# File 'lib/models/porcelain.rb', line 6808

def remote_identity_group
  @remote_identity_group
end

Instance Method Details

#to_json(options = {}) ⇒ Object



6820
6821
6822
6823
6824
6825
6826
# File 'lib/models/porcelain.rb', line 6820

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