Class: WhopSDK::Models::AppListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::AppListResponse
- Defined in:
- lib/whop_sdk/models/app_list_response.rb,
sig/whop_sdk/models/app_list_response.rbs
Overview
Defined Under Namespace
Classes: Company, Creator, Icon
Instance Attribute Summary collapse
-
#app_type ⇒ Symbol, WhopSDK::Models::AppType
The target audience classification for this app (e.g., 'b2b_app', 'b2c_app', 'company_app', 'component').
-
#base_url ⇒ String?
The production base URL where the app is hosted.
-
#company ⇒ WhopSDK::Models::AppListResponse::Company
The company that owns and publishes this app.
-
#creator ⇒ WhopSDK::Models::AppListResponse::Creator
The user who created and owns the company that published this app.
-
#dashboard_path ⇒ String?
The URL path template for a specific view of this app, appended to the base domain (e.g., '/experiences/[experienceId]').
-
#description ⇒ String?
A written description of what this app does, displayed on the app store listing page.
-
#discover_path ⇒ String?
The URL path template for a specific view of this app, appended to the base domain (e.g., '/experiences/[experienceId]').
-
#domain_id ⇒ String
The unique subdomain identifier for this app's proxied URL on the Whop platform.
-
#experience_path ⇒ String?
The URL path template for a specific view of this app, appended to the base domain (e.g., '/experiences/[experienceId]').
-
#hosted_url ⇒ String?
The full canonical URL where this app's hosted web build is served.
-
#icon ⇒ WhopSDK::Models::AppListResponse::Icon?
The icon image for this app, displayed on the app store, product pages, checkout, and as the default icon for experiences using this app.
-
#id ⇒ String
The unique identifier for the app.
-
#name ⇒ String
The display name of this app shown on the app store and in experience navigation.
-
#openapi_path ⇒ String?
The URL path template for a specific view of this app, appended to the base domain (e.g., '/experiences/[experienceId]').
-
#origin ⇒ String?
The full origin URL for this app's proxied domain (e.g., 'https://myapp.apps.whop.com').
-
#route ⇒ String?
The unique subdomain route where this app's hosted web builds are served, such as 'myapp' for myapp.whop.app.
-
#skills_path ⇒ String?
The URL path template for a specific view of this app, appended to the base domain (e.g., '/experiences/[experienceId]').
-
#status ⇒ Symbol, WhopSDK::Models::AppStatuses
The current visibility status of this app on the Whop app store.
-
#verified ⇒ Boolean
Whether this app has been verified by Whop.
Instance Method Summary collapse
-
#initialize(id:, name:, username:) ⇒ Object
constructor
The user who created and owns the company that published this app.
- #to_hash ⇒ {
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:, name:, username:) ⇒ Object
The user who created and owns the company that published this app.
|
|
# File 'lib/whop_sdk/models/app_list_response.rb', line 143
|
Instance Attribute Details
#app_type ⇒ Symbol, WhopSDK::Models::AppType
The target audience classification for this app (e.g., 'b2b_app', 'b2c_app', 'company_app', 'component').
18 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 18 required :app_type, enum: -> { WhopSDK::AppType } |
#base_url ⇒ String?
The production base URL where the app is hosted. Null if no base URL is configured.
25 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 25 required :base_url, String, nil?: true |
#company ⇒ WhopSDK::Models::AppListResponse::Company
The company that owns and publishes this app.
31 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 31 required :company, -> { WhopSDK::Models::AppListResponse::Company } |
#creator ⇒ WhopSDK::Models::AppListResponse::Creator
The user who created and owns the company that published this app.
37 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 37 required :creator, -> { WhopSDK::Models::AppListResponse::Creator } |
#dashboard_path ⇒ String?
The URL path template for a specific view of this app, appended to the base domain (e.g., '/experiences/[experienceId]'). Null if the specified view type is not configured.
45 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 45 required :dashboard_path, String, nil?: true |
#description ⇒ String?
A written description of what this app does, displayed on the app store listing page. Null if no description has been set.
52 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 52 required :description, String, nil?: true |
#discover_path ⇒ String?
The URL path template for a specific view of this app, appended to the base domain (e.g., '/experiences/[experienceId]'). Null if the specified view type is not configured.
60 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 60 required :discover_path, String, nil?: true |
#domain_id ⇒ String
The unique subdomain identifier for this app's proxied URL on the Whop platform. Forms the URL pattern #domain_id.apps.whop.com">https://#domain_id.apps.whop.com.
67 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 67 required :domain_id, String |
#experience_path ⇒ String?
The URL path template for a specific view of this app, appended to the base domain (e.g., '/experiences/[experienceId]'). Null if the specified view type is not configured.
75 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 75 required :experience_path, String, nil?: true |
#hosted_url ⇒ String?
The full canonical URL where this app's hosted web build is served. Null if the app has not claimed a route.
82 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 82 required :hosted_url, String, nil?: true |
#icon ⇒ WhopSDK::Models::AppListResponse::Icon?
The icon image for this app, displayed on the app store, product pages, checkout, and as the default icon for experiences using this app.
89 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 89 required :icon, -> { WhopSDK::Models::AppListResponse::Icon }, nil?: true |
#id ⇒ String
The unique identifier for the app.
11 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 11 required :id, String |
#name ⇒ String
The display name of this app shown on the app store and in experience navigation. Maximum 30 characters.
96 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 96 required :name, String |
#openapi_path ⇒ String?
The URL path template for a specific view of this app, appended to the base domain (e.g., '/experiences/[experienceId]'). Null if the specified view type is not configured.
104 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 104 required :openapi_path, String, nil?: true |
#origin ⇒ String?
The full origin URL for this app's proxied domain (e.g., 'https://myapp.apps.whop.com'). Null if no proxy domain is configured.
111 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 111 required :origin, String, nil?: true |
#route ⇒ String?
The unique subdomain route where this app's hosted web builds are served, such as 'myapp' for myapp.whop.app. Null if the app has not claimed a route.
118 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 118 required :route, String, nil?: true |
#skills_path ⇒ String?
The URL path template for a specific view of this app, appended to the base domain (e.g., '/experiences/[experienceId]'). Null if the specified view type is not configured.
126 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 126 required :skills_path, String, nil?: true |
#status ⇒ Symbol, WhopSDK::Models::AppStatuses
The current visibility status of this app on the Whop app store. 'live' means publicly discoverable, 'unlisted' means accessible only via direct link, and 'hidden' means not visible anywhere.
134 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 134 required :status, enum: -> { WhopSDK::AppStatuses } |
#verified ⇒ Boolean
Whether this app has been verified by Whop. Verified apps are endorsed by Whop and displayed in the featured apps section of the app store.
141 |
# File 'lib/whop_sdk/models/app_list_response.rb', line 141 required :verified, WhopSDK::Internal::Type::Boolean |
Instance Method Details
#to_hash ⇒ {
87 |
# File 'sig/whop_sdk/models/app_list_response.rbs', line 87
def to_hash: -> {
|