Class: WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations
- Defined in:
- lib/whop_sdk/models/ad_group_update_params.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#cities ⇒ Array<WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations::City>?
City targets.
-
#countries ⇒ Array<String>?
ISO 3166-1 alpha-2 country codes.
-
#location_types ⇒ Array<String>?
Location types (home, recent, travel_in).
-
#regions ⇒ Array<WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations::Region>?
Region/state targets.
-
#zips ⇒ Array<WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations::Zip>?
Zip/postal code targets.
Instance Method Summary collapse
-
#initialize(key:, country: nil, name: nil, radius: nil) ⇒ Object
constructor
A Meta geo target entry (region, city, or zip).
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(key:, country: nil, name: nil, radius: nil) ⇒ Object
A Meta geo target entry (region, city, or zip).
|
|
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1055
|
Instance Attribute Details
#cities ⇒ Array<WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations::City>?
City targets.
979 980 981 982 983 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 979 optional :cities, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations::City] }, nil?: true |
#countries ⇒ Array<String>?
ISO 3166-1 alpha-2 country codes.
989 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 989 optional :countries, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |
#location_types ⇒ Array<String>?
Location types (home, recent, travel_in).
995 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 995 optional :location_types, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |
#regions ⇒ Array<WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations::Region>?
Region/state targets.
1001 1002 1003 1004 1005 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1001 optional :regions, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations::Region] }, nil?: true |
#zips ⇒ Array<WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations::Zip>?
Zip/postal code targets.
1011 1012 1013 1014 1015 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1011 optional :zips, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations::Zip] }, nil?: true |