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.
11085 11086 11087 11088 11089 11090 11091 11092 11093 |
# File 'lib/models/porcelain.rb', line 11085 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.
11079 11080 11081 |
# File 'lib/models/porcelain.rb', line 11079 def end |
#proxy_cluster_key ⇒ Object
The requested ProxyClusterKey.
11081 11082 11083 |
# File 'lib/models/porcelain.rb', line 11081 def proxy_cluster_key @proxy_cluster_key end |
#rate_limit ⇒ Object
Rate limit information.
11083 11084 11085 |
# File 'lib/models/porcelain.rb', line 11083 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
11095 11096 11097 11098 11099 11100 11101 |
# File 'lib/models/porcelain.rb', line 11095 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 |