Class: ApolloDeploySignalSdk::UpdateBimiRequest
- Inherits:
-
Object
- Object
- ApolloDeploySignalSdk::UpdateBimiRequest
- Defined in:
- lib/apollo_deploy_signal_sdk/types.rb
Overview
Schema type: UpdateBimiRequest
Instance Attribute Summary collapse
Class Method Summary collapse
-
.from_json(attributes) ⇒ UpdateBimiRequest
Create an instance from a parsed JSON hash.
Instance Method Summary collapse
-
#initialize(logo_url: nil) ⇒ UpdateBimiRequest
constructor
A new instance of UpdateBimiRequest.
-
#to_h ⇒ Hash
A hash representation of this object.
Constructor Details
#initialize(logo_url: nil) ⇒ UpdateBimiRequest
Returns a new instance of UpdateBimiRequest.
4695 4696 4697 |
# File 'lib/apollo_deploy_signal_sdk/types.rb', line 4695 def initialize(logo_url: nil) @logo_url = logo_url end |
Instance Attribute Details
#logo_url ⇒ String?
4692 4693 4694 |
# File 'lib/apollo_deploy_signal_sdk/types.rb', line 4692 def logo_url @logo_url end |
Class Method Details
.from_json(attributes) ⇒ UpdateBimiRequest
Create an instance from a parsed JSON hash.
4709 4710 4711 4712 4713 4714 4715 |
# File 'lib/apollo_deploy_signal_sdk/types.rb', line 4709 def self.from_json(attributes) return nil unless attributes.is_a?(Hash) new( logo_url: attributes.key?("logoUrl") ? attributes["logoUrl"] : attributes[:logo_url], ) end |
Instance Method Details
#to_h ⇒ Hash
Returns a hash representation of this object.
4700 4701 4702 4703 4704 |
# File 'lib/apollo_deploy_signal_sdk/types.rb', line 4700 def to_h { logo_url: @logo_url, }.compact end |