Class: WhopSDK::Models::AppBuildCreateParams::Attachment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::AppBuildCreateParams::Attachment
- Defined in:
- lib/whop_sdk/models/app_build_create_params.rb
Instance Attribute Summary collapse
-
#id ⇒ String
The ID of an existing file object.
Instance Method Summary collapse
-
#initialize(id:) ⇒ Object
constructor
The build file to upload.
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(id:) ⇒ Object
The build file to upload. For iOS and Android, this should be a .zip archive containing a main_js_bundle.hbc file and an optional assets folder. For web, this should be a JavaScript file.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/whop_sdk/models/app_build_create_params.rb', line 71 class Attachment < WhopSDK::Internal::Type::BaseModel # @!attribute id # The ID of an existing file object. # # @return [String] required :id, String # @!method initialize(id:) # The build file to upload. For iOS and Android, this should be a .zip archive # containing a main_js_bundle.hbc file and an optional assets folder. For web, # this should be a JavaScript file. # # @param id [String] The ID of an existing file object. end |
Instance Attribute Details
#id ⇒ String
The ID of an existing file object.
76 |
# File 'lib/whop_sdk/models/app_build_create_params.rb', line 76 required :id, String |