Class: FastpixClient::Models::Operations::UpdateMediaSummaryRequestBody

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/fastpix_client/models/operations/update_media_summary_requestbody.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(generate:, summary_length: 100) ⇒ UpdateMediaSummaryRequestBody

Returns a new instance of UpdateMediaSummaryRequestBody.



24
25
26
27
# File 'lib/fastpix_client/models/operations/update_media_summary_requestbody.rb', line 24

def initialize(generate:, summary_length: 100)
  @generate = generate
  @summary_length = summary_length
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
# File 'lib/fastpix_client/models/operations/update_media_summary_requestbody.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @generate == other.generate
  return false unless @summary_length == other.summary_length
  true
end