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.
10999 11000 11001 11002 11003 11004 11005 11006 11007 |
# File 'lib/models/porcelain.rb', line 10999 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.
10993 10994 10995 |
# File 'lib/models/porcelain.rb', line 10993 def end |
#proxy_cluster_key ⇒ Object
The requested ProxyClusterKey.
10995 10996 10997 |
# File 'lib/models/porcelain.rb', line 10995 def proxy_cluster_key @proxy_cluster_key end |
#rate_limit ⇒ Object
Rate limit information.
10997 10998 10999 |
# File 'lib/models/porcelain.rb', line 10997 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
11009 11010 11011 11012 11013 11014 11015 |
# File 'lib/models/porcelain.rb', line 11009 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 |