Class: ApolloDeploySignalSdkRails::ListApiKeysResponse
- Inherits:
-
Object
- Object
- ApolloDeploySignalSdkRails::ListApiKeysResponse
- Defined in:
- lib/apollo_deploy_signal_sdk_rails/types.rb
Overview
Schema type without properties: ListApiKeysResponse
Instance Attribute Summary collapse
-
#attributes ⇒ Hash
readonly
Raw attributes.
Class Method Summary collapse
-
.from_json(attributes) ⇒ ListApiKeysResponse
Create an instance from a parsed JSON hash.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ListApiKeysResponse
constructor
A new instance of ListApiKeysResponse.
- #to_h ⇒ Hash
Constructor Details
#initialize(attributes = {}) ⇒ ListApiKeysResponse
Returns a new instance of ListApiKeysResponse.
4898 4899 4900 |
# File 'lib/apollo_deploy_signal_sdk_rails/types.rb', line 4898 def initialize(attributes = {}) @attributes = attributes end |
Instance Attribute Details
#attributes ⇒ Hash (readonly)
Returns raw attributes.
4895 4896 4897 |
# File 'lib/apollo_deploy_signal_sdk_rails/types.rb', line 4895 def attributes @attributes end |
Class Method Details
.from_json(attributes) ⇒ ListApiKeysResponse
Create an instance from a parsed JSON hash.
4910 4911 4912 4913 4914 |
# File 'lib/apollo_deploy_signal_sdk_rails/types.rb', line 4910 def self.from_json(attributes) return nil unless attributes.is_a?(Hash) new(attributes) end |
Instance Method Details
#to_h ⇒ Hash
4903 4904 4905 |
# File 'lib/apollo_deploy_signal_sdk_rails/types.rb', line 4903 def to_h @attributes.dup end |