Class: FastpixClient::Models::Operations::ListByTopContentRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(timespan: nil, filterby: nil, limit: 10) ⇒ ListByTopContentRequest

Returns a new instance of ListByTopContentRequest.



35
36
37
38
39
# File 'lib/fastpix_client/models/operations/list_by_top_content_request.rb', line 35

def initialize(timespan: nil, filterby: nil, limit: 10)
  @timespan = timespan
  @filterby = filterby
  @limit = limit
end

Instance Method Details

#==(other) ⇒ Object



42
43
44
45
46
47
48
# File 'lib/fastpix_client/models/operations/list_by_top_content_request.rb', line 42

def ==(other)
  return false unless other.is_a? self.class
  return false unless @timespan == other.timespan
  return false unless @filterby == other.filterby
  return false unless @limit == other.limit
  true
end