Class: WhopSDK::Models::AdCampaignRetrieveParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::AdCampaignRetrieveParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/whop_sdk/models/ad_campaign_retrieve_params.rb,
sig/whop_sdk/models/ad_campaign_retrieve_params.rbs
Overview
Instance Attribute Summary collapse
- #id ⇒ String
-
#stats_from ⇒ String?
Start of the stats window.
-
#stats_to ⇒ String?
End of the stats window.
-
#time_zone ⇒ String?
IANA timezone the stats window is interpreted in.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
- #initialize(id:, stats_from: nil, stats_to: nil, time_zone: nil, request_options: {}) ⇒ Object constructor
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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:, stats_from: nil, stats_to: nil, time_zone: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/whop_sdk/models/ad_campaign_retrieve_params.rb', line 33
|
Instance Attribute Details
#id ⇒ String
13 |
# File 'lib/whop_sdk/models/ad_campaign_retrieve_params.rb', line 13 required :id, String |
#stats_from ⇒ String?
Start of the stats window.
19 |
# File 'lib/whop_sdk/models/ad_campaign_retrieve_params.rb', line 19 optional :stats_from, String |
#stats_to ⇒ String?
End of the stats window.
25 |
# File 'lib/whop_sdk/models/ad_campaign_retrieve_params.rb', line 25 optional :stats_to, String |
#time_zone ⇒ String?
IANA timezone the stats window is interpreted in. Defaults to UTC.
31 |
# File 'lib/whop_sdk/models/ad_campaign_retrieve_params.rb', line 31 optional :time_zone, String |
Instance Method Details
#to_hash ⇒ {
33 |
# File 'sig/whop_sdk/models/ad_campaign_retrieve_params.rbs', line 33
def to_hash: -> {
|