Files
plexruby/lib/plex_ruby_sdk/models/operations/getrecentlyadded_request.rb

34 lines
1.3 KiB
Ruby

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
# typed: true
# frozen_string_literal: true
module PlexRubySDK
module Operations
class GetRecentlyAddedRequest < ::PlexRubySDK::Utils::FieldAugmented
extend T::Sig
# The number of items to return. If not specified, all items will be returned.
# If the number of items exceeds the limit, the response will be paginated.
# By default this is 50
#
field :x_plex_container_size, T.nilable(::Integer), { 'query_param': { 'field_name': 'X-Plex-Container-Size', 'style': 'form', 'explode': true } }
# The index of the first item to return. If not specified, the first item will be returned.
# If the number of items exceeds the limit, the response will be paginated.
# By default this is 0
#
field :x_plex_container_start, T.nilable(::Integer), { 'query_param': { 'field_name': 'X-Plex-Container-Start', 'style': 'form', 'explode': true } }
sig { params(x_plex_container_size: T.nilable(::Integer), x_plex_container_start: T.nilable(::Integer)).void }
def initialize(x_plex_container_size: nil, x_plex_container_start: nil)
@x_plex_container_size = x_plex_container_size
@x_plex_container_start = x_plex_container_start
end
end
end
end