Sha256: 294a15fb63f5f04323e7412fac9d15d2d4998a9a230a951bde6138d41d3033f0

Contents?: true

Size: 841 Bytes

Versions: 7

Compression:

Stored size: 841 Bytes

Contents

# typed: strict
# require 'sorbet-runtime'

# (1) Create a new class that subclasses `T::Struct`
module Researchable
  module FreedcampApi
    module Structs
      class Comment < T::Struct
        # Item id to add a comment for
        const :item_id, T.nilable(String)
        # Application id (wiki). Supported apps are
        # - (2) APP_TODOS,
        # - (6) APP_FILES,
        # - 3 APP_DISCUSSIONS,
        # - 13 APP_BUGTRACKER,
        # - 14 APP_WIKI, A
        # - 19 APP_CALENDAR.
        # (see https://freedcamp.com/Mobile_7Yh/iOS_application_6zp/wiki/wiki_public/view/AHaab)
        const :app_id, T.nilable(String)
        # Description of the comment
        const :description, T.nilable(String)
        # Files that might be attached
        const :attached_ids, T.nilable(T::Array[Integer])
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
researchable-freedcamp-api-0.1.8 lib/researchable/freedcamp_api/structs/comment.rb
researchable-freedcamp-api-0.1.7 lib/researchable/freedcamp_api/structs/comment.rb
researchable-freedcamp-api-0.1.6 lib/researchable/freedcamp_api/structs/comment.rb
researchable-freedcamp-api-0.1.5 lib/researchable/freedcamp_api/structs/comment.rb
researchable-freedcamp-api-0.1.4 lib/researchable/freedcamp_api/structs/comment.rb
researchable-freedcamp-api-0.1.3 lib/researchable/freedcamp_api/structs/comment.rb
researchable-freedcamp-api-0.1.2 lib/researchable/freedcamp_api/structs/comment.rb