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.
13203 13204 13205 13206 13207 13208 13209 13210 13211 |
# File 'lib/models/porcelain.rb', line 13203 def initialize( meta: nil, proxy_cluster_key: nil, rate_limit: nil ) = == 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.
13197 13198 13199 |
# File 'lib/models/porcelain.rb', line 13197 def end |
#proxy_cluster_key ⇒ Object
The requested ProxyClusterKey.
13199 13200 13201 |
# File 'lib/models/porcelain.rb', line 13199 def proxy_cluster_key @proxy_cluster_key end |
#rate_limit ⇒ Object
Rate limit information.
13201 13202 13203 |
# File 'lib/models/porcelain.rb', line 13201 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13213 13214 13215 13216 13217 13218 13219 |
# File 'lib/models/porcelain.rb', line 13213 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 |