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.
9929 9930 9931 9932 9933 9934 9935 9936 9937 |
# File 'lib/models/porcelain.rb', line 9929 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.
9923 9924 9925 |
# File 'lib/models/porcelain.rb', line 9923 def @meta end |
#proxy_cluster_key ⇒ Object
The requested ProxyClusterKey.
9925 9926 9927 |
# File 'lib/models/porcelain.rb', line 9925 def proxy_cluster_key @proxy_cluster_key end |
#rate_limit ⇒ Object
Rate limit information.
9927 9928 9929 |
# File 'lib/models/porcelain.rb', line 9927 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
9939 9940 9941 9942 9943 9944 9945 |
# File 'lib/models/porcelain.rb', line 9939 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 |