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.



10046
10047
10048
10049
10050
10051
10052
10053
10054
# File 'lib/models/porcelain.rb', line 10046

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.



10040
10041
10042
# File 'lib/models/porcelain.rb', line 10040

def meta
  @meta
end

#rate_limitObject

Rate limit information.



10042
10043
10044
# File 'lib/models/porcelain.rb', line 10042

def rate_limit
  @rate_limit
end

#remote_identity_groupObject

The requested RemoteIdentityGroup.



10044
10045
10046
# File 'lib/models/porcelain.rb', line 10044

def remote_identity_group
  @remote_identity_group
end

Instance Method Details

#to_json(options = {}) ⇒ Object



10056
10057
10058
10059
10060
10061
10062
# File 'lib/models/porcelain.rb', line 10056

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