Class: WhopSDK::Models::Transfer::Origin::Company
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::Transfer::Origin::Company
- Defined in:
- lib/whop_sdk/models/transfer.rb
Instance Attribute Summary collapse
-
#id ⇒ String
The ID (tag) of the company.
-
#route ⇒ String
The slug/route of the company on the Whop site.
-
#title ⇒ String
The title of the company.
-
#typename ⇒ Symbol, :Company
The typename of this object.
Instance Method Summary collapse
-
#initialize(id: , route: , title: , typename: :Company) ⇒ Object
constructor
An object representing a (sanitized) company.
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: , route: , title: , typename: :Company) ⇒ Object
An object representing a (sanitized) company.
|
|
# File 'lib/whop_sdk/models/transfer.rb', line 257
|
Instance Attribute Details
#id ⇒ String
The ID (tag) of the company.
237 |
# File 'lib/whop_sdk/models/transfer.rb', line 237 required :id, String |
#route ⇒ String
The slug/route of the company on the Whop site.
243 |
# File 'lib/whop_sdk/models/transfer.rb', line 243 required :route, String |
#title ⇒ String
The title of the company.
249 |
# File 'lib/whop_sdk/models/transfer.rb', line 249 required :title, String |
#typename ⇒ Symbol, :Company
The typename of this object
255 |
# File 'lib/whop_sdk/models/transfer.rb', line 255 required :typename, const: :Company |