mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 20:57:45 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.314.2
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
|
||||
module OpenApiSDK
|
||||
module Operations
|
||||
|
||||
|
||||
class GetSessionHistoryRequest < ::OpenApiSDK::Utils::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# Filter results by those that are related to a specific users id
|
||||
#
|
||||
field :account_id, T.nilable(::Integer), { 'query_param': { 'field_name': 'accountId', 'style': 'form', 'explode': true } }
|
||||
# Filters content by field and direction/equality
|
||||
# (Unknown if viewedAt is the only supported column)
|
||||
#
|
||||
field :filter, T.nilable(::OpenApiSDK::Operations::Filter), { 'query_param': { 'field_name': 'filter', 'style': 'form', 'explode': true } }
|
||||
# Filters the results based on the id of a valid library section
|
||||
#
|
||||
field :library_section_id, T.nilable(::Integer), { 'query_param': { 'field_name': 'librarySectionID', 'style': 'form', 'explode': true } }
|
||||
# Sorts the results by the specified field followed by the direction (asc, desc)
|
||||
#
|
||||
field :sort, T.nilable(::String), { 'query_param': { 'field_name': 'sort', 'style': 'form', 'explode': true } }
|
||||
|
||||
|
||||
sig { params(account_id: T.nilable(::Integer), filter: T.nilable(::OpenApiSDK::Operations::Filter), library_section_id: T.nilable(::Integer), sort: T.nilable(::String)).void }
|
||||
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
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user