Class: FastpixClient::Models::Components::AiResponseRecord
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::AiResponseRecord
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/airesponserecord.rb
Overview
Represents an AI response record containing status and data for AI-generated features like summary, chapters, named entities, or moderation.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(status: nil, data: nil) ⇒ AiResponseRecord
constructor
A new instance of AiResponseRecord.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(status: nil, data: nil) ⇒ AiResponseRecord
Returns a new instance of AiResponseRecord.
21 22 23 24 |
# File 'lib/fastpix_client/models/components/airesponserecord.rb', line 21 def initialize(status: nil, data: nil) @status = status @data = data end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/fastpix_client/models/components/airesponserecord.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @status == other.status return false unless @data == other.data true end |