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.



15733
15734
15735
15736
15737
15738
15739
15740
15741
# File 'lib/models/porcelain.rb', line 15733

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

#meta ⇒ Object

Reserved for future use.



15727
15728
15729
# File 'lib/models/porcelain.rb', line 15727

def meta
  @meta
end

#rate_limit ⇒ Object

Rate limit information.



15729
15730
15731
# File 'lib/models/porcelain.rb', line 15729

def rate_limit
  @rate_limit
end

#remote_identity_group ⇒ Object

The requested RemoteIdentityGroup.



15731
15732
15733
# File 'lib/models/porcelain.rb', line 15731

def remote_identity_group
  @remote_identity_group
end

Instance Method Details

#to_json(options = {}) ⇒ Object



15743
15744
15745
15746
15747
15748
15749
# File 'lib/models/porcelain.rb', line 15743

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