001// Generated by delombok at Thu Aug 13 13:56:43 UTC 2026
002/*
003 * Copyright (c) 2010-2026 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.ArrayList;
026import java.util.List;
027import com.restfb.Facebook;
028import com.restfb.json.JsonObject;
029
030/**
031 * Represents the <a href="https://developers.facebook.com/docs/marketing-api/reference/ad-asset-feed-spec">Ad Asset
032 * Feed Spec Type</a>.
033 */
034public class AdAssetFeedSpec extends BaseAdsObject {
035  private static final long serialVersionUID = 1L;
036  @Facebook("ad_formats")
037  private List<String> adFormats = new ArrayList<>();
038  @Facebook("additional_data")
039  private AdAssetFeedAdditionalData additionalData;
040  @Facebook("asset_customization_rules")
041  private List<JsonObject> assetCustomizationRules = new ArrayList<>();
042  @Facebook
043  private List<String> autotranslate = new ArrayList<>();
044  @Facebook
045  private List<AdAssetFeedSpecBody> bodies = new ArrayList<>();
046  @Facebook("call_to_action_types")
047  private List<String> callToActionTypes = new ArrayList<>();
048  @Facebook
049  private List<AdAssetFeedSpecCaption> captions = new ArrayList<>();
050  @Facebook
051  private List<JsonObject> carousels = new ArrayList<>();
052  @Facebook
053  private List<AdAssetFeedSpecDescription> descriptions = new ArrayList<>();
054  @Facebook
055  private List<AdAssetFeedSpecGroupRule> groups = new ArrayList<>();
056  @Facebook
057  private List<AdAssetFeedSpecImage> images = new ArrayList<>();
058  @Facebook("link_urls")
059  private List<AdAssetFeedSpecLinkURL> linkUrls = new ArrayList<>();
060  @Facebook("optimization_type")
061  private String optimizationType;
062  @Facebook
063  private List<AdAssetFeedSpecTitle> titles = new ArrayList<>();
064  @Facebook
065  private List<AdAssetFeedSpecVideo> videos = new ArrayList<>();
066
067  @java.lang.SuppressWarnings("all")
068  @lombok.Generated
069  public List<String> getAdFormats() {
070    return this.adFormats;
071  }
072
073  @java.lang.SuppressWarnings("all")
074  @lombok.Generated
075  public void setAdFormats(final List<String> adFormats) {
076    this.adFormats = adFormats;
077  }
078
079  @java.lang.SuppressWarnings("all")
080  @lombok.Generated
081  public AdAssetFeedAdditionalData getAdditionalData() {
082    return this.additionalData;
083  }
084
085  @java.lang.SuppressWarnings("all")
086  @lombok.Generated
087  public void setAdditionalData(final AdAssetFeedAdditionalData additionalData) {
088    this.additionalData = additionalData;
089  }
090
091  @java.lang.SuppressWarnings("all")
092  @lombok.Generated
093  public List<JsonObject> getAssetCustomizationRules() {
094    return this.assetCustomizationRules;
095  }
096
097  @java.lang.SuppressWarnings("all")
098  @lombok.Generated
099  public void setAssetCustomizationRules(final List<JsonObject> assetCustomizationRules) {
100    this.assetCustomizationRules = assetCustomizationRules;
101  }
102
103  @java.lang.SuppressWarnings("all")
104  @lombok.Generated
105  public List<String> getAutotranslate() {
106    return this.autotranslate;
107  }
108
109  @java.lang.SuppressWarnings("all")
110  @lombok.Generated
111  public void setAutotranslate(final List<String> autotranslate) {
112    this.autotranslate = autotranslate;
113  }
114
115  @java.lang.SuppressWarnings("all")
116  @lombok.Generated
117  public List<AdAssetFeedSpecBody> getBodies() {
118    return this.bodies;
119  }
120
121  @java.lang.SuppressWarnings("all")
122  @lombok.Generated
123  public void setBodies(final List<AdAssetFeedSpecBody> bodies) {
124    this.bodies = bodies;
125  }
126
127  @java.lang.SuppressWarnings("all")
128  @lombok.Generated
129  public List<String> getCallToActionTypes() {
130    return this.callToActionTypes;
131  }
132
133  @java.lang.SuppressWarnings("all")
134  @lombok.Generated
135  public void setCallToActionTypes(final List<String> callToActionTypes) {
136    this.callToActionTypes = callToActionTypes;
137  }
138
139  @java.lang.SuppressWarnings("all")
140  @lombok.Generated
141  public List<AdAssetFeedSpecCaption> getCaptions() {
142    return this.captions;
143  }
144
145  @java.lang.SuppressWarnings("all")
146  @lombok.Generated
147  public void setCaptions(final List<AdAssetFeedSpecCaption> captions) {
148    this.captions = captions;
149  }
150
151  @java.lang.SuppressWarnings("all")
152  @lombok.Generated
153  public List<JsonObject> getCarousels() {
154    return this.carousels;
155  }
156
157  @java.lang.SuppressWarnings("all")
158  @lombok.Generated
159  public void setCarousels(final List<JsonObject> carousels) {
160    this.carousels = carousels;
161  }
162
163  @java.lang.SuppressWarnings("all")
164  @lombok.Generated
165  public List<AdAssetFeedSpecDescription> getDescriptions() {
166    return this.descriptions;
167  }
168
169  @java.lang.SuppressWarnings("all")
170  @lombok.Generated
171  public void setDescriptions(final List<AdAssetFeedSpecDescription> descriptions) {
172    this.descriptions = descriptions;
173  }
174
175  @java.lang.SuppressWarnings("all")
176  @lombok.Generated
177  public List<AdAssetFeedSpecGroupRule> getGroups() {
178    return this.groups;
179  }
180
181  @java.lang.SuppressWarnings("all")
182  @lombok.Generated
183  public void setGroups(final List<AdAssetFeedSpecGroupRule> groups) {
184    this.groups = groups;
185  }
186
187  @java.lang.SuppressWarnings("all")
188  @lombok.Generated
189  public List<AdAssetFeedSpecImage> getImages() {
190    return this.images;
191  }
192
193  @java.lang.SuppressWarnings("all")
194  @lombok.Generated
195  public void setImages(final List<AdAssetFeedSpecImage> images) {
196    this.images = images;
197  }
198
199  @java.lang.SuppressWarnings("all")
200  @lombok.Generated
201  public List<AdAssetFeedSpecLinkURL> getLinkUrls() {
202    return this.linkUrls;
203  }
204
205  @java.lang.SuppressWarnings("all")
206  @lombok.Generated
207  public void setLinkUrls(final List<AdAssetFeedSpecLinkURL> linkUrls) {
208    this.linkUrls = linkUrls;
209  }
210
211  @java.lang.SuppressWarnings("all")
212  @lombok.Generated
213  public String getOptimizationType() {
214    return this.optimizationType;
215  }
216
217  @java.lang.SuppressWarnings("all")
218  @lombok.Generated
219  public void setOptimizationType(final String optimizationType) {
220    this.optimizationType = optimizationType;
221  }
222
223  @java.lang.SuppressWarnings("all")
224  @lombok.Generated
225  public List<AdAssetFeedSpecTitle> getTitles() {
226    return this.titles;
227  }
228
229  @java.lang.SuppressWarnings("all")
230  @lombok.Generated
231  public void setTitles(final List<AdAssetFeedSpecTitle> titles) {
232    this.titles = titles;
233  }
234
235  @java.lang.SuppressWarnings("all")
236  @lombok.Generated
237  public List<AdAssetFeedSpecVideo> getVideos() {
238    return this.videos;
239  }
240
241  @java.lang.SuppressWarnings("all")
242  @lombok.Generated
243  public void setVideos(final List<AdAssetFeedSpecVideo> videos) {
244    this.videos = videos;
245  }
246}