Sha256: d033414877f2cd1fa72ac05fa4f16254c24975af1a87555deb00b0908c6382d4

Contents?: true

Size: 730 Bytes

Versions: 13

Compression:

Stored size: 730 Bytes

Contents

# typed: strict
# frozen_string_literal: true

require "nexus/invision/value_object"
require "sorbet-runtime"

module Nexus
  module Invision
    module Requests
      class ListForumTopics < T::Struct
        include ValueObject

        const :forums, String # A comma delimited list of forum IDs
        const :sort_by, String, name: "sortBy", default: "updated"
        const :sort_dir, String, name: "sortDir", default: "desc"
        const :per_page, Integer, name: "perPage", default: 100
        const :has_poll, T.nilable(Integer), name: "hasPoll", default: nil
        const :hidden, Integer, default: 0
        const :archived, Integer, default: 0
        const :locked, Integer, default: 0
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
nexus-invision-1.11.0 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.10.2 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.10.1 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.10.0 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.9.0 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.8.1 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.8.0 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.7.0 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.6.0 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.5.0 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.4.0 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.3.0 lib/nexus/invision/requests/list_forum_topics.rb
nexus-invision-1.2.1 lib/nexus/invision/requests/list_forum_topics.rb