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

# typed: true
# frozen_string_literal: true


module PlexRubySDK
  module Operations
  

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


      field :height, ::Integer, { 'query_param': { 'field_name': 'height', 'style': 'form', 'explode': true } }

      field :min_size, ::Integer, { 'query_param': { 'field_name': 'minSize', 'style': 'form', 'explode': true } }
      # the id of the library item to return the children of.
      field :rating_key, ::Integer, { 'path_param': { 'field_name': 'ratingKey', 'style': 'simple', 'explode': false } }

      field :upscale, ::Integer, { 'query_param': { 'field_name': 'upscale', 'style': 'form', 'explode': true } }

      field :width, ::Integer, { 'query_param': { 'field_name': 'width', 'style': 'form', 'explode': true } }
      # Plex Authentication Token
      field :x_plex_token, ::String, { 'query_param': { 'field_name': 'X-Plex-Token', 'style': 'form', 'explode': true } }


      sig { params(height: ::Integer, min_size: ::Integer, rating_key: ::Integer, upscale: ::Integer, width: ::Integer, x_plex_token: ::String).void }
      def initialize(height: nil, min_size: nil, rating_key: nil, upscale: nil, width: nil, x_plex_token: nil)
        @height = height
        @min_size = min_size
        @rating_key = rating_key
        @upscale = upscale
        @width = width
        @x_plex_token = x_plex_token
      end
    end
  end
end
