Class: WhopSDK::Models::ForumPostCreateParams::Attachment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::ForumPostCreateParams::Attachment
- Defined in:
- lib/whop_sdk/models/forum_post_create_params.rb
Instance Attribute Summary collapse
-
#id ⇒ String
The ID of an existing file object.
Instance Method Summary collapse
-
#initialize(experience_id:, attachments: nil, company_id: nil, content: nil, is_mention: nil, parent_id: nil, paywall_amount: nil, paywall_currency: nil, pinned: nil, poll: nil, rich_content: nil, title: nil, visibility: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see WhopSDK::Models::ForumPostCreateParams for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(experience_id:, attachments: nil, company_id: nil, content: nil, is_mention: nil, parent_id: nil, paywall_amount: nil, paywall_currency: nil, pinned: nil, poll: nil, rich_content: nil, title: nil, visibility: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see WhopSDK::Models::ForumPostCreateParams for more details.
**upd
133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'lib/whop_sdk/models/forum_post_create_params.rb', line 133 class Attachment < WhopSDK::Internal::Type::BaseModel # @!attribute id # The ID of an existing file object. # # @return [String] required :id, String # @!method initialize(id:) # Input for an attachment # # @param id [String] The ID of an existing file object. end |
Instance Attribute Details
#id ⇒ String
The ID of an existing file object.
138 |
# File 'lib/whop_sdk/models/forum_post_create_params.rb', line 138 required :id, String |