Class: WhopSDK::Models::Experience::App::Icon
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::Experience::App::Icon
- Defined in:
- lib/whop_sdk/models/experience.rb,
sig/whop_sdk/models/experience.rbs
Overview
Instance Attribute Summary collapse
-
#url ⇒ String?
A pre-optimized URL for rendering this attachment on the client.
Instance Method Summary collapse
-
#initialize ⇒ Icon
constructor
A new instance of Icon.
- #to_hash ⇒ { url: String? }
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 ⇒ Icon
Returns a new instance of Icon.
86 |
# File 'sig/whop_sdk/models/experience.rbs', line 86
def initialize: (url: String?) -> void
|
Instance Attribute Details
#url ⇒ String?
A pre-optimized URL for rendering this attachment on the client. This should be used for displaying attachments in apps.
132 |
# File 'lib/whop_sdk/models/experience.rb', line 132 required :url, String, nil?: true |
Instance Method Details
#to_hash ⇒ { url: String? }
88 |
# File 'sig/whop_sdk/models/experience.rbs', line 88
def to_hash: -> { url: String? }
|