Class: WhopSDK::Models::AppListResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/whop_sdk/models/app_list_response.rb

Overview

Defined Under Namespace

Classes: Company, Creator, Icon

Instance Attribute Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • id (String)

    The unique identifier for the user.

  • name (String, nil)

    The user’s display name shown on their public profile.

  • username (String)

    The user’s unique username shown on their public profile.



# File 'lib/whop_sdk/models/app_list_response.rb', line 129

Instance Attribute Details

#app_typeSymbol, WhopSDK::Models::AppType

The target audience classification for this app (e.g., ‘b2b_app’, ‘b2c_app’, ‘company_app’, ‘component’).

Returns:



18
# File 'lib/whop_sdk/models/app_list_response.rb', line 18

required :app_type, enum: -> { WhopSDK::AppType }

#base_urlString?

The production base URL where the app is hosted. Null if no base URL is configured.

Returns:

  • (String, nil)


25
# File 'lib/whop_sdk/models/app_list_response.rb', line 25

required :base_url, String, nil?: true

#companyWhopSDK::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 }

#creatorWhopSDK::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_pathString?

The URL path template for a specific view of this app, appended to the base domain (e.g., ‘/experiences/’). Null if the specified view type is not configured.

Returns:

  • (String, nil)


45
# File 'lib/whop_sdk/models/app_list_response.rb', line 45

required :dashboard_path, String, nil?: true

#descriptionString?

A written description of what this app does, displayed on the app store listing page. Null if no description has been set.

Returns:

  • (String, nil)


52
# File 'lib/whop_sdk/models/app_list_response.rb', line 52

required :description, String, nil?: true

#discover_pathString?

The URL path template for a specific view of this app, appended to the base domain (e.g., ‘/experiences/’). Null if the specified view type is not configured.

Returns:

  • (String, nil)


60
# File 'lib/whop_sdk/models/app_list_response.rb', line 60

required :discover_path, String, nil?: true

#domain_idString

The unique subdomain identifier for this app’s proxied URL on the Whop platform. Forms the URL pattern https://#domain_id.apps.whop.com.

Returns:

  • (String)


67
# File 'lib/whop_sdk/models/app_list_response.rb', line 67

required :domain_id, String

#experience_pathString?

The URL path template for a specific view of this app, appended to the base domain (e.g., ‘/experiences/’). Null if the specified view type is not configured.

Returns:

  • (String, nil)


75
# File 'lib/whop_sdk/models/app_list_response.rb', line 75

required :experience_path, String, nil?: true

#iconWhopSDK::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.



82
# File 'lib/whop_sdk/models/app_list_response.rb', line 82

required :icon, -> { WhopSDK::Models::AppListResponse::Icon }, nil?: true

#idString

The unique identifier for the app.

Returns:

  • (String)


11
# File 'lib/whop_sdk/models/app_list_response.rb', line 11

required :id, String

#nameString

The display name of this app shown on the app store and in experience navigation. Maximum 30 characters.

Returns:

  • (String)


89
# File 'lib/whop_sdk/models/app_list_response.rb', line 89

required :name, String

#openapi_pathString?

The URL path template for a specific view of this app, appended to the base domain (e.g., ‘/experiences/’). Null if the specified view type is not configured.

Returns:

  • (String, nil)


97
# File 'lib/whop_sdk/models/app_list_response.rb', line 97

required :openapi_path, String, nil?: true

#originString?

The full origin URL for this app’s proxied domain (e.g., ‘myapp.apps.whop.com’). Null if no proxy domain is configured.

Returns:

  • (String, nil)


104
# File 'lib/whop_sdk/models/app_list_response.rb', line 104

required :origin, String, nil?: true

#skills_pathString?

The URL path template for a specific view of this app, appended to the base domain (e.g., ‘/experiences/’). Null if the specified view type is not configured.

Returns:

  • (String, nil)


112
# File 'lib/whop_sdk/models/app_list_response.rb', line 112

required :skills_path, String, nil?: true

#statusSymbol, 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.

Returns:



120
# File 'lib/whop_sdk/models/app_list_response.rb', line 120

required :status, enum: -> { WhopSDK::AppStatuses }

#verifiedBoolean

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.

Returns:

  • (Boolean)


127
# File 'lib/whop_sdk/models/app_list_response.rb', line 127

required :verified, WhopSDK::Internal::Type::Boolean