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