Class: WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::GeoLocations
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::GeoLocations
- 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::GeoLocations::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::GeoLocations::Region>?
Region/state targets.
-
#zips ⇒ Array<WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::GeoLocations::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 1261
|
Instance Attribute Details
#cities ⇒ Array<WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::GeoLocations::City>?
City targets.
1185 1186 1187 1188 1189 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1185 optional :cities, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::AdGroupUpdateParams::PlatformConfig::Meta::GeoLocations::City] }, nil?: true |
#countries ⇒ Array<String>?
ISO 3166-1 alpha-2 country codes.
1195 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1195 optional :countries, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |
#location_types ⇒ Array<String>?
Location types (home, recent, travel_in).
1201 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1201 optional :location_types, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |
#regions ⇒ Array<WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::GeoLocations::Region>?
Region/state targets.
1207 1208 1209 1210 1211 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1207 optional :regions, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::AdGroupUpdateParams::PlatformConfig::Meta::GeoLocations::Region] }, nil?: true |
#zips ⇒ Array<WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::GeoLocations::Zip>?
Zip/postal code targets.
1217 1218 1219 1220 1221 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1217 optional :zips, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::AdGroupUpdateParams::PlatformConfig::Meta::GeoLocations::Zip] }, nil?: true |