Class: FastpixClient::Models::Operations::ListVideoViewsResponseBody
- Inherits:
-
Object
- Object
- FastpixClient::Models::Operations::ListVideoViewsResponseBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/operations/list_video_views_responsebody.rb
Overview
Get the list of Views
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(success: nil, data: nil, pagination: nil, timespan: nil) ⇒ ListVideoViewsResponseBody
constructor
A new instance of ListVideoViewsResponseBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(success: nil, data: nil, pagination: nil, timespan: nil) ⇒ ListVideoViewsResponseBody
Returns a new instance of ListVideoViewsResponseBody.
26 27 28 29 30 31 |
# File 'lib/fastpix_client/models/operations/list_video_views_responsebody.rb', line 26 def initialize(success: nil, data: nil, pagination: nil, timespan: nil) @success = success @data = data @pagination = pagination @timespan = timespan end |
Instance Method Details
#==(other) ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'lib/fastpix_client/models/operations/list_video_views_responsebody.rb', line 34 def ==(other) return false unless other.is_a? self.class return false unless @success == other.success return false unless @data == other.data return false unless @pagination == other.pagination return false unless @timespan == other.timespan true end |