# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module PlexRubySDK
  module Operations
  

    class GetLibraryDetailsRequest < ::PlexRubySDK::Utils::FieldAugmented
      extend T::Sig

      # The unique key of the Plex library. 
      # Note: This is unique in the context of the Plex server.
      # 
      field :section_key, ::Integer, { 'path_param': { 'field_name': 'sectionKey', 'style': 'simple', 'explode': false } }
      # Whether or not to include details for a section (types, filters, and sorts). 
      # Only exists for backwards compatibility, media providers other than the server libraries have it on always.
      # 
      field :include_details, T.nilable(::PlexRubySDK::Operations::IncludeDetails), { 'query_param': { 'field_name': 'includeDetails', 'style': 'form', 'explode': true } }


      sig { params(section_key: ::Integer, include_details: T.nilable(::PlexRubySDK::Operations::IncludeDetails)).void }
      def initialize(section_key: nil, include_details: nil)
        @section_key = section_key
        @include_details = include_details
      end
    end
  end
end
