Class: WhopSDK::Models::Referrals::BusinessRetrieveResponse::Owner::ProfilePicture
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::Referrals::BusinessRetrieveResponse::Owner::ProfilePicture
- Defined in:
- lib/whop_sdk/models/referrals/business_retrieve_response.rb,
sig/whop_sdk/models/referrals/business_retrieve_response.rbs
Overview
Instance Attribute Summary collapse
-
#url ⇒ String
The user's profile picture URL.
Instance Method Summary collapse
-
#initialize ⇒ ProfilePicture
constructor
A new instance of ProfilePicture.
- #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 ⇒ ProfilePicture
Returns a new instance of ProfilePicture.
635 |
# File 'sig/whop_sdk/models/referrals/business_retrieve_response.rbs', line 635
def initialize: (url: String) -> void
|
Instance Attribute Details
#url ⇒ String
The user's profile picture URL.
824 |
# File 'lib/whop_sdk/models/referrals/business_retrieve_response.rb', line 824 required :url, String |
Instance Method Details
#to_hash ⇒ { url: String }
637 |
# File 'sig/whop_sdk/models/referrals/business_retrieve_response.rbs', line 637
def to_hash: -> { url: String }
|