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.



12701
12702
12703
12704
12705
12706
12707
12708
12709
# File 'lib/models/porcelain.rb', line 12701

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.



12695
12696
12697
# File 'lib/models/porcelain.rb', line 12695

def meta
  @meta
end

#rate_limitObject

Rate limit information.



12697
12698
12699
# File 'lib/models/porcelain.rb', line 12697

def rate_limit
  @rate_limit
end

#remote_identity_groupObject

The requested RemoteIdentityGroup.



12699
12700
12701
# File 'lib/models/porcelain.rb', line 12699

def remote_identity_group
  @remote_identity_group
end

Instance Method Details

#to_json(options = {}) ⇒ Object



12711
12712
12713
12714
12715
12716
12717
# File 'lib/models/porcelain.rb', line 12711

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