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.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 public List<String> getAdFormats() { 069 return this.adFormats; 070 } 071 072 @java.lang.SuppressWarnings("all") 073 public void setAdFormats(final List<String> adFormats) { 074 this.adFormats = adFormats; 075 } 076 077 @java.lang.SuppressWarnings("all") 078 public AdAssetFeedAdditionalData getAdditionalData() { 079 return this.additionalData; 080 } 081 082 @java.lang.SuppressWarnings("all") 083 public void setAdditionalData(final AdAssetFeedAdditionalData additionalData) { 084 this.additionalData = additionalData; 085 } 086 087 @java.lang.SuppressWarnings("all") 088 public List<JsonObject> getAssetCustomizationRules() { 089 return this.assetCustomizationRules; 090 } 091 092 @java.lang.SuppressWarnings("all") 093 public void setAssetCustomizationRules(final List<JsonObject> assetCustomizationRules) { 094 this.assetCustomizationRules = assetCustomizationRules; 095 } 096 097 @java.lang.SuppressWarnings("all") 098 public List<String> getAutotranslate() { 099 return this.autotranslate; 100 } 101 102 @java.lang.SuppressWarnings("all") 103 public void setAutotranslate(final List<String> autotranslate) { 104 this.autotranslate = autotranslate; 105 } 106 107 @java.lang.SuppressWarnings("all") 108 public List<AdAssetFeedSpecBody> getBodies() { 109 return this.bodies; 110 } 111 112 @java.lang.SuppressWarnings("all") 113 public void setBodies(final List<AdAssetFeedSpecBody> bodies) { 114 this.bodies = bodies; 115 } 116 117 @java.lang.SuppressWarnings("all") 118 public List<String> getCallToActionTypes() { 119 return this.callToActionTypes; 120 } 121 122 @java.lang.SuppressWarnings("all") 123 public void setCallToActionTypes(final List<String> callToActionTypes) { 124 this.callToActionTypes = callToActionTypes; 125 } 126 127 @java.lang.SuppressWarnings("all") 128 public List<AdAssetFeedSpecCaption> getCaptions() { 129 return this.captions; 130 } 131 132 @java.lang.SuppressWarnings("all") 133 public void setCaptions(final List<AdAssetFeedSpecCaption> captions) { 134 this.captions = captions; 135 } 136 137 @java.lang.SuppressWarnings("all") 138 public List<JsonObject> getCarousels() { 139 return this.carousels; 140 } 141 142 @java.lang.SuppressWarnings("all") 143 public void setCarousels(final List<JsonObject> carousels) { 144 this.carousels = carousels; 145 } 146 147 @java.lang.SuppressWarnings("all") 148 public List<AdAssetFeedSpecDescription> getDescriptions() { 149 return this.descriptions; 150 } 151 152 @java.lang.SuppressWarnings("all") 153 public void setDescriptions(final List<AdAssetFeedSpecDescription> descriptions) { 154 this.descriptions = descriptions; 155 } 156 157 @java.lang.SuppressWarnings("all") 158 public List<AdAssetFeedSpecGroupRule> getGroups() { 159 return this.groups; 160 } 161 162 @java.lang.SuppressWarnings("all") 163 public void setGroups(final List<AdAssetFeedSpecGroupRule> groups) { 164 this.groups = groups; 165 } 166 167 @java.lang.SuppressWarnings("all") 168 public List<AdAssetFeedSpecImage> getImages() { 169 return this.images; 170 } 171 172 @java.lang.SuppressWarnings("all") 173 public void setImages(final List<AdAssetFeedSpecImage> images) { 174 this.images = images; 175 } 176 177 @java.lang.SuppressWarnings("all") 178 public List<AdAssetFeedSpecLinkURL> getLinkUrls() { 179 return this.linkUrls; 180 } 181 182 @java.lang.SuppressWarnings("all") 183 public void setLinkUrls(final List<AdAssetFeedSpecLinkURL> linkUrls) { 184 this.linkUrls = linkUrls; 185 } 186 187 @java.lang.SuppressWarnings("all") 188 public String getOptimizationType() { 189 return this.optimizationType; 190 } 191 192 @java.lang.SuppressWarnings("all") 193 public void setOptimizationType(final String optimizationType) { 194 this.optimizationType = optimizationType; 195 } 196 197 @java.lang.SuppressWarnings("all") 198 public List<AdAssetFeedSpecTitle> getTitles() { 199 return this.titles; 200 } 201 202 @java.lang.SuppressWarnings("all") 203 public void setTitles(final List<AdAssetFeedSpecTitle> titles) { 204 this.titles = titles; 205 } 206 207 @java.lang.SuppressWarnings("all") 208 public List<AdAssetFeedSpecVideo> getVideos() { 209 return this.videos; 210 } 211 212 @java.lang.SuppressWarnings("all") 213 public void setVideos(final List<AdAssetFeedSpecVideo> videos) { 214 this.videos = videos; 215 } 216}