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.
12461 12462 12463 12464 12465 12466 12467 12468 12469 |
# File 'lib/models/porcelain.rb', line 12461 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.
12455 12456 12457 |
# File 'lib/models/porcelain.rb', line 12455 def @meta end |
#proxy_cluster_key ⇒ Object
The requested ProxyClusterKey.
12457 12458 12459 |
# File 'lib/models/porcelain.rb', line 12457 def proxy_cluster_key @proxy_cluster_key end |
#rate_limit ⇒ Object
Rate limit information.
12459 12460 12461 |
# File 'lib/models/porcelain.rb', line 12459 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
12471 12472 12473 12474 12475 12476 12477 |
# File 'lib/models/porcelain.rb', line 12471 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 |