Class: WhopSDK::Models::AffiliateListResponse::Company
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::AffiliateListResponse::Company
- Defined in:
- lib/whop_sdk/models/affiliate_list_response.rb,
sig/whop_sdk/models/affiliate_list_response.rbs
Overview
Instance Attribute Summary collapse
-
#id ⇒ String
The unique identifier for the company.
-
#title ⇒ String
The written name of the company.
Instance Method Summary collapse
-
#initialize ⇒ Company
constructor
A new instance of Company.
- #to_hash ⇒ { id: String, title: 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 ⇒ Company
Returns a new instance of Company.
91 |
# File 'sig/whop_sdk/models/affiliate_list_response.rbs', line 91
def initialize: (id: String, title: String) -> void
|
Instance Attribute Details
#id ⇒ String
The unique identifier for the company.
135 |
# File 'lib/whop_sdk/models/affiliate_list_response.rb', line 135 required :id, String |
#title ⇒ String
The written name of the company.
141 |
# File 'lib/whop_sdk/models/affiliate_list_response.rb', line 141 required :title, String |
Instance Method Details
#to_hash ⇒ { id: String, title: String }
93 |
# File 'sig/whop_sdk/models/affiliate_list_response.rbs', line 93
def to_hash: -> { id: String, title: String }
|