Class: FastpixClient::Models::Components::SummaryResponse
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::SummaryResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/summaryresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(media_id: nil, is_summary_enabled: nil) ⇒ SummaryResponse
constructor
A new instance of SummaryResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(media_id: nil, is_summary_enabled: nil) ⇒ SummaryResponse
Returns a new instance of SummaryResponse.
21 22 23 24 |
# File 'lib/fastpix_client/models/components/summaryresponse.rb', line 21 def initialize(media_id: nil, is_summary_enabled: nil) @media_id = media_id @is_summary_enabled = is_summary_enabled end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/fastpix_client/models/components/summaryresponse.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @media_id == other.media_id return false unless @is_summary_enabled == other.is_summary_enabled true end |