Files
plexruby/lib/open_api_sdk/models/operations/gettopwatchedcontent_request.rb

29 lines
838 B
Ruby

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
# typed: true
# frozen_string_literal: true
module OpenApiSDK
module Operations
class GetTopWatchedContentRequest < ::OpenApiSDK::Utils::FieldAugmented
extend T::Sig
# the library type (1 - movies, 2 - shows, 3 - music)
field :type, ::Integer, { 'query_param': { 'field_name': 'type', 'style': 'form', 'explode': true } }
# Adds the Guids object to the response
#
field :include_guids, T.nilable(::Integer), { 'query_param': { 'field_name': 'includeGuids', 'style': 'form', 'explode': true } }
sig { params(type: ::Integer, include_guids: T.nilable(::Integer)).void }
def initialize(type: nil, include_guids: nil)
@type = type
@include_guids = include_guids
end
end
end
end