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

# typed: true
# frozen_string_literal: true


module PlexRubySDK
  module Operations
  

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


      field :context, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('context') } }

      field :hub_identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hubIdentifier') } }

      field :hub_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hubKey') } }

      field :key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }

      field :metadata, T.nilable(T::Array[::PlexRubySDK::Operations::GetGlobalHubsMetadata]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Metadata') } }

      field :more, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('more') } }

      field :promoted, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('promoted') } }

      field :size, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('size') } }

      field :style, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('style') } }

      field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }

      field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }


      sig { params(context: T.nilable(::String), hub_identifier: T.nilable(::String), hub_key: T.nilable(::String), key: T.nilable(::String), metadata: T.nilable(T::Array[::PlexRubySDK::Operations::GetGlobalHubsMetadata]), more: T.nilable(T::Boolean), promoted: T.nilable(T::Boolean), size: T.nilable(::Integer), style: T.nilable(::String), title: T.nilable(::String), type: T.nilable(::String)).void }
      def initialize(context: nil, hub_identifier: nil, hub_key: nil, key: nil, metadata: nil, more: nil, promoted: nil, size: nil, style: nil, title: nil, type: nil)
        @context = context
        @hub_identifier = hub_identifier
        @hub_key = hub_key
        @key = key
        @metadata = metadata
        @more = more
        @promoted = promoted
        @size = size
        @style = style
        @title = title
        @type = type
      end
    end
  end
end
