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.
10931 10932 10933 10934 10935 10936 10937 10938 10939 |
# File 'lib/models/porcelain.rb', line 10931 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.
10925 10926 10927 |
# File 'lib/models/porcelain.rb', line 10925 def @meta end |
#proxy_cluster_key ⇒ Object
The requested ProxyClusterKey.
10927 10928 10929 |
# File 'lib/models/porcelain.rb', line 10927 def proxy_cluster_key @proxy_cluster_key end |
#rate_limit ⇒ Object
Rate limit information.
10929 10930 10931 |
# File 'lib/models/porcelain.rb', line 10929 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
10941 10942 10943 10944 10945 10946 10947 |
# File 'lib/models/porcelain.rb', line 10941 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 |