Class: WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations::City
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::AdGroupUpdateParams::PlatformConfig::Meta::ExcludedGeoLocations::City
- Defined in:
- lib/whop_sdk/models/ad_group_update_params.rb
Instance Attribute Summary collapse
-
#country ⇒ String?
Country code for this entry.
-
#key ⇒ String
Meta geo target key/ID.
-
#name ⇒ String?
Display name.
-
#radius ⇒ Integer?
Radius in miles (cities only).
Instance Method Summary collapse
-
#initialize(cities: nil, countries: nil, location_types: nil, regions: nil, zips: nil) ⇒ Object
constructor
Geo locations to exclude.
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(cities: nil, countries: nil, location_types: nil, regions: nil, zips: nil) ⇒ Object
Geo locations to exclude.
1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1030 class City < WhopSDK::Internal::Type::BaseModel # @!attribute key # Meta geo target key/ID. # # @return [String] required :key, String # @!attribute country # Country code for this entry. # # @return [String, nil] optional :country, String, nil?: true # @!attribute name # Display name. # # @return [String, nil] optional :name, String, nil?: true # @!attribute radius # Radius in miles (cities only). # # @return [Integer, nil] optional :radius, Integer, nil?: true # @!method initialize(key:, country: nil, name: nil, radius: nil) # A Meta geo target entry (region, city, or zip). # # @param key [String] Meta geo target key/ID. # # @param country [String, nil] Country code for this entry. # # @param name [String, nil] Display name. # # @param radius [Integer, nil] Radius in miles (cities only). end |
Instance Attribute Details
#country ⇒ String?
Country code for this entry.
1041 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1041 optional :country, String, nil?: true |
#key ⇒ String
Meta geo target key/ID.
1035 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1035 required :key, String |
#name ⇒ String?
Display name.
1047 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1047 optional :name, String, nil?: true |
#radius ⇒ Integer?
Radius in miles (cities only).
1053 |
# File 'lib/whop_sdk/models/ad_group_update_params.rb', line 1053 optional :radius, Integer, nil?: true |