001// Generated by delombok at Fri Oct 04 16:05:59 CEST 2024
002/*
003 * Copyright (c) 2010-2024 Mark Allen, Norbert Bartels.
004 *
005 * Permission is hereby granted, free of charge, to any person obtaining a copy
006 * of this software and associated documentation files (the "Software"), to deal
007 * in the Software without restriction, including without limitation the rights
008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
009 * copies of the Software, and to permit persons to whom the Software is
010 * furnished to do so, subject to the following conditions:
011 *
012 * The above copyright notice and this permission notice shall be included in
013 * all copies or substantial portions of the Software.
014 *
015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
021 * THE SOFTWARE.
022 */
023package com.restfb.types.ads;
024
025import java.util.List;
026import com.restfb.Facebook;
027import com.restfb.types.AbstractFacebookType;
028
029public class TargetingGeoLocation extends AbstractFacebookType {
030  @Facebook
031  private List<TargetingGeoLocationCity> cities;
032  @Facebook
033  private List<String> countries;
034  @Facebook("country_groups")
035  private List<String> countryGroups;
036  @Facebook("custom_locations")
037  private List<TargetingGeoLocationCustomLocation> customLocations;
038  @Facebook("electoral_districts")
039  private List<TargetingGeoLocationElectoralDistrict> electoralDistricts;
040  @Facebook("geo_markets")
041  private List<TargetingGeoLocationMarket> geoMarkets;
042  @Facebook("location_types")
043  private List<String> locationTypes;
044  @Facebook
045  private List<TargetingGeoLocationPlace> places;
046  @Facebook
047  private List<TargetingGeoLocationRegion> regions;
048  @Facebook
049  private List<TargetingGeoLocationZip> zips;
050
051  @java.lang.SuppressWarnings("all")
052  public List<TargetingGeoLocationCity> getCities() {
053    return this.cities;
054  }
055
056  @java.lang.SuppressWarnings("all")
057  public void setCities(final List<TargetingGeoLocationCity> cities) {
058    this.cities = cities;
059  }
060
061  @java.lang.SuppressWarnings("all")
062  public List<String> getCountries() {
063    return this.countries;
064  }
065
066  @java.lang.SuppressWarnings("all")
067  public void setCountries(final List<String> countries) {
068    this.countries = countries;
069  }
070
071  @java.lang.SuppressWarnings("all")
072  public List<String> getCountryGroups() {
073    return this.countryGroups;
074  }
075
076  @java.lang.SuppressWarnings("all")
077  public void setCountryGroups(final List<String> countryGroups) {
078    this.countryGroups = countryGroups;
079  }
080
081  @java.lang.SuppressWarnings("all")
082  public List<TargetingGeoLocationCustomLocation> getCustomLocations() {
083    return this.customLocations;
084  }
085
086  @java.lang.SuppressWarnings("all")
087  public void setCustomLocations(final List<TargetingGeoLocationCustomLocation> customLocations) {
088    this.customLocations = customLocations;
089  }
090
091  @java.lang.SuppressWarnings("all")
092  public List<TargetingGeoLocationElectoralDistrict> getElectoralDistricts() {
093    return this.electoralDistricts;
094  }
095
096  @java.lang.SuppressWarnings("all")
097  public void setElectoralDistricts(final List<TargetingGeoLocationElectoralDistrict> electoralDistricts) {
098    this.electoralDistricts = electoralDistricts;
099  }
100
101  @java.lang.SuppressWarnings("all")
102  public List<TargetingGeoLocationMarket> getGeoMarkets() {
103    return this.geoMarkets;
104  }
105
106  @java.lang.SuppressWarnings("all")
107  public void setGeoMarkets(final List<TargetingGeoLocationMarket> geoMarkets) {
108    this.geoMarkets = geoMarkets;
109  }
110
111  @java.lang.SuppressWarnings("all")
112  public List<String> getLocationTypes() {
113    return this.locationTypes;
114  }
115
116  @java.lang.SuppressWarnings("all")
117  public void setLocationTypes(final List<String> locationTypes) {
118    this.locationTypes = locationTypes;
119  }
120
121  @java.lang.SuppressWarnings("all")
122  public List<TargetingGeoLocationPlace> getPlaces() {
123    return this.places;
124  }
125
126  @java.lang.SuppressWarnings("all")
127  public void setPlaces(final List<TargetingGeoLocationPlace> places) {
128    this.places = places;
129  }
130
131  @java.lang.SuppressWarnings("all")
132  public List<TargetingGeoLocationRegion> getRegions() {
133    return this.regions;
134  }
135
136  @java.lang.SuppressWarnings("all")
137  public void setRegions(final List<TargetingGeoLocationRegion> regions) {
138    this.regions = regions;
139  }
140
141  @java.lang.SuppressWarnings("all")
142  public List<TargetingGeoLocationZip> getZips() {
143    return this.zips;
144  }
145
146  @java.lang.SuppressWarnings("all")
147  public void setZips(final List<TargetingGeoLocationZip> zips) {
148    this.zips = zips;
149  }
150}