Class: WhopSDK::Models::CompanyCreateParams::Logo

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

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:) ⇒ Object

The company’s logo image. Accepts PNG, JPEG, or GIF format.

Parameters:

  • id (String)

    The ID of an existing file object.



77
78
79
80
81
82
83
84
85
86
87
88
# File 'lib/whop_sdk/models/company_create_params.rb', line 77

class Logo < WhopSDK::Internal::Type::BaseModel
  # @!attribute id
  #   The ID of an existing file object.
  #
  #   @return [String]
  required :id, String

  # @!method initialize(id:)
  #   The company's logo image. Accepts PNG, JPEG, or GIF format.
  #
  #   @param id [String] The ID of an existing file object.
end

Instance Attribute Details

#idString

The ID of an existing file object.

Returns:

  • (String)


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

required :id, String