Class: SDM::ProxyClusterKeyGetResponse
- Inherits:
-
Object
- Object
- SDM::ProxyClusterKeyGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ProxyClusterKeyGetResponse returns a requested ProxyClusterKey.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#proxy_cluster_key ⇒ Object
The requested ProxyClusterKey.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(meta: nil, proxy_cluster_key: nil, rate_limit: nil) ⇒ ProxyClusterKeyGetResponse
constructor
A new instance of ProxyClusterKeyGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, proxy_cluster_key: nil, rate_limit: nil) ⇒ ProxyClusterKeyGetResponse
Returns a new instance of ProxyClusterKeyGetResponse.
12380 12381 12382 12383 12384 12385 12386 12387 12388 |
# File 'lib/models/porcelain.rb', line 12380 def initialize( meta: nil, proxy_cluster_key: nil, rate_limit: nil ) @meta = == nil ? nil : @proxy_cluster_key = proxy_cluster_key == nil ? nil : proxy_cluster_key @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
12374 12375 12376 |
# File 'lib/models/porcelain.rb', line 12374 def @meta end |
#proxy_cluster_key ⇒ Object
The requested ProxyClusterKey.
12376 12377 12378 |
# File 'lib/models/porcelain.rb', line 12376 def proxy_cluster_key @proxy_cluster_key end |
#rate_limit ⇒ Object
Rate limit information.
12378 12379 12380 |
# File 'lib/models/porcelain.rb', line 12378 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
12390 12391 12392 12393 12394 12395 12396 |
# File 'lib/models/porcelain.rb', line 12390 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |