Class: PlexRubySDK::Models::Operations::GetSessionHistoryRequest
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetSessionHistoryRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/getsessionhistory_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id: nil, filter: nil, library_section_id: nil, sort: nil) ⇒ GetSessionHistoryRequest
constructor
A new instance of GetSessionHistoryRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id: nil, filter: nil, library_section_id: nil, sort: nil) ⇒ GetSessionHistoryRequest
Returns a new instance of GetSessionHistoryRequest.
32 33 34 35 36 37 |
# File 'lib/plex_ruby_sdk/models/operations/getsessionhistory_request.rb', line 32 def initialize(account_id: nil, filter: nil, library_section_id: nil, sort: nil) @account_id = account_id @filter = filter @library_section_id = library_section_id @sort = sort end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 |
# File 'lib/plex_ruby_sdk/models/operations/getsessionhistory_request.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @filter == other.filter return false unless @library_section_id == other.library_section_id return false unless @sort == other.sort true end |