Class: FastpixClient::Models::Operations::ListLiveClipsRequest
- Inherits:
-
Object
- Object
- FastpixClient::Models::Operations::ListLiveClipsRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/operations/list_live_clips_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(livestream_id:, limit: 10, offset: 1, order_by: Models::Components::SortOrder::DESC) ⇒ ListLiveClipsRequest
constructor
A new instance of ListLiveClipsRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(livestream_id:, limit: 10, offset: 1, order_by: Models::Components::SortOrder::DESC) ⇒ ListLiveClipsRequest
Returns a new instance of ListLiveClipsRequest.
25 26 27 28 29 30 |
# File 'lib/fastpix_client/models/operations/list_live_clips_request.rb', line 25 def initialize(livestream_id:, limit: 10, offset: 1, order_by: Models::Components::SortOrder::DESC) @livestream_id = livestream_id @limit = limit @offset = offset @order_by = order_by end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/fastpix_client/models/operations/list_live_clips_request.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @livestream_id == other.livestream_id return false unless @limit == other.limit return false unless @offset == other.offset return false unless @order_by == other.order_by true end |