Class: ContextDev::Models::BrandRetrieveParams::Body::ByDirectURL
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::BrandRetrieveParams::Body::ByDirectURL
- Defined in:
- lib/context_dev/models/brand_retrieve_params.rb,
sig/context_dev/models/brand_retrieve_params.rbs
Instance Attribute Summary collapse
-
#direct_url ⇒ String
Full http(s) URL to fetch brand data from (e.g., 'https://stripe.com/enterprise').
-
#timeout_ms ⇒ Integer?
Optional timeout in milliseconds for the request.
-
#type ⇒ Symbol, :by_direct_url
Discriminator for direct-URL-based brand retrieval.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
1264 |
# File 'sig/context_dev/models/brand_retrieve_params.rbs', line 1264
def initialize: (
|
Instance Attribute Details
#direct_url ⇒ String
Full http(s) URL to fetch brand data from (e.g., 'https://stripe.com/enterprise'). Only this URL is fetched — not the entire internet.
837 |
# File 'lib/context_dev/models/brand_retrieve_params.rb', line 837 required :direct_url, String |
#timeout_ms ⇒ Integer?
Optional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed value is 300000ms (5 minutes).
851 |
# File 'lib/context_dev/models/brand_retrieve_params.rb', line 851 optional :timeout_ms, Integer, api_name: :timeoutMS |
#type ⇒ Symbol, :by_direct_url
Discriminator for direct-URL-based brand retrieval.
843 |
# File 'lib/context_dev/models/brand_retrieve_params.rb', line 843 required :type, const: :by_direct_url |
Instance Method Details
#to_hash ⇒ {
1270 |
# File 'sig/context_dev/models/brand_retrieve_params.rbs', line 1270
def to_hash: -> {
|