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 com.restfb.Facebook;
026
027public class TargetingResponseGeographic extends NamedAdsObject {
028  @Facebook
029  private String key;
030  @Facebook
031  private String type;
032  @Facebook("address_string")
033  private String addressString;
034  @Facebook
035  private String latitude;
036  @Facebook
037  private String longitude;
038  @Facebook("country_code")
039  private String countryCode;
040  @Facebook("country_name")
041  private String countryName;
042  @Facebook
043  private String region;
044  @Facebook("region_id")
045  private Long regionId;
046  @Facebook("supports_region")
047  private Boolean supportsRegion;
048  @Facebook("supports_city")
049  private Boolean supportsCity;
050  @Facebook("primary_city")
051  private String primaryCity;
052  @Facebook("primary_city_id")
053  private Long primaryCityId;
054
055  @java.lang.SuppressWarnings("all")
056  public String getKey() {
057    return this.key;
058  }
059
060  @java.lang.SuppressWarnings("all")
061  public void setKey(final String key) {
062    this.key = key;
063  }
064
065  @java.lang.SuppressWarnings("all")
066  public String getType() {
067    return this.type;
068  }
069
070  @java.lang.SuppressWarnings("all")
071  public void setType(final String type) {
072    this.type = type;
073  }
074
075  @java.lang.SuppressWarnings("all")
076  public String getAddressString() {
077    return this.addressString;
078  }
079
080  @java.lang.SuppressWarnings("all")
081  public void setAddressString(final String addressString) {
082    this.addressString = addressString;
083  }
084
085  @java.lang.SuppressWarnings("all")
086  public String getLatitude() {
087    return this.latitude;
088  }
089
090  @java.lang.SuppressWarnings("all")
091  public void setLatitude(final String latitude) {
092    this.latitude = latitude;
093  }
094
095  @java.lang.SuppressWarnings("all")
096  public String getLongitude() {
097    return this.longitude;
098  }
099
100  @java.lang.SuppressWarnings("all")
101  public void setLongitude(final String longitude) {
102    this.longitude = longitude;
103  }
104
105  @java.lang.SuppressWarnings("all")
106  public String getCountryCode() {
107    return this.countryCode;
108  }
109
110  @java.lang.SuppressWarnings("all")
111  public void setCountryCode(final String countryCode) {
112    this.countryCode = countryCode;
113  }
114
115  @java.lang.SuppressWarnings("all")
116  public String getCountryName() {
117    return this.countryName;
118  }
119
120  @java.lang.SuppressWarnings("all")
121  public void setCountryName(final String countryName) {
122    this.countryName = countryName;
123  }
124
125  @java.lang.SuppressWarnings("all")
126  public String getRegion() {
127    return this.region;
128  }
129
130  @java.lang.SuppressWarnings("all")
131  public void setRegion(final String region) {
132    this.region = region;
133  }
134
135  @java.lang.SuppressWarnings("all")
136  public Long getRegionId() {
137    return this.regionId;
138  }
139
140  @java.lang.SuppressWarnings("all")
141  public void setRegionId(final Long regionId) {
142    this.regionId = regionId;
143  }
144
145  @java.lang.SuppressWarnings("all")
146  public Boolean getSupportsRegion() {
147    return this.supportsRegion;
148  }
149
150  @java.lang.SuppressWarnings("all")
151  public void setSupportsRegion(final Boolean supportsRegion) {
152    this.supportsRegion = supportsRegion;
153  }
154
155  @java.lang.SuppressWarnings("all")
156  public Boolean getSupportsCity() {
157    return this.supportsCity;
158  }
159
160  @java.lang.SuppressWarnings("all")
161  public void setSupportsCity(final Boolean supportsCity) {
162    this.supportsCity = supportsCity;
163  }
164
165  @java.lang.SuppressWarnings("all")
166  public String getPrimaryCity() {
167    return this.primaryCity;
168  }
169
170  @java.lang.SuppressWarnings("all")
171  public void setPrimaryCity(final String primaryCity) {
172    this.primaryCity = primaryCity;
173  }
174
175  @java.lang.SuppressWarnings("all")
176  public Long getPrimaryCityId() {
177    return this.primaryCityId;
178  }
179
180  @java.lang.SuppressWarnings("all")
181  public void setPrimaryCityId(final Long primaryCityId) {
182    this.primaryCityId = primaryCityId;
183  }
184}