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.
12659 12660 12661 12662 12663 12664 12665 12666 12667 |
# File 'lib/models/porcelain.rb', line 12659 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.
12653 12654 12655 |
# File 'lib/models/porcelain.rb', line 12653 def @meta end |
#proxy_cluster_key ⇒ Object
The requested ProxyClusterKey.
12655 12656 12657 |
# File 'lib/models/porcelain.rb', line 12655 def proxy_cluster_key @proxy_cluster_key end |
#rate_limit ⇒ Object
Rate limit information.
12657 12658 12659 |
# File 'lib/models/porcelain.rb', line 12657 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
12669 12670 12671 12672 12673 12674 12675 |
# File 'lib/models/porcelain.rb', line 12669 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 |