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

# typed: true
# frozen_string_literal: true


module PlexRubySDK
  module Operations
  

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

      # limit to a type of playlist.
      field :playlist_type, T.nilable(::PlexRubySDK::Operations::PlaylistType), { 'query_param': { 'field_name': 'playlistType', 'style': 'form', 'explode': true } }
      # type of playlists to return (default is all).
      field :smart, T.nilable(::PlexRubySDK::Operations::QueryParamSmart), { 'query_param': { 'field_name': 'smart', 'style': 'form', 'explode': true } }


      sig { params(playlist_type: T.nilable(::PlexRubySDK::Operations::PlaylistType), smart: T.nilable(::PlexRubySDK::Operations::QueryParamSmart)).void }
      def initialize(playlist_type: nil, smart: nil)
        @playlist_type = playlist_type
        @smart = smart
      end
    end
  end
end
