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.



15786
15787
15788
15789
15790
15791
15792
15793
15794
# File 'lib/models/porcelain.rb', line 15786

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.



15780
15781
15782
# File 'lib/models/porcelain.rb', line 15780

def meta
  @meta
end

#rate_limit ⇒ Object

Rate limit information.



15782
15783
15784
# File 'lib/models/porcelain.rb', line 15782

def rate_limit
  @rate_limit
end

#remote_identity_group ⇒ Object

The requested RemoteIdentityGroup.



15784
15785
15786
# File 'lib/models/porcelain.rb', line 15784

def remote_identity_group
  @remote_identity_group
end

Instance Method Details

#to_json(options = {}) ⇒ Object



15796
15797
15798
15799
15800
15801
15802
# File 'lib/models/porcelain.rb', line 15796

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