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.Date; 026import com.restfb.Facebook; 027 028public class AdsPixel extends NamedAdsObject { 029 private static final long serialVersionUID = 1L; 030 @Facebook 031 private String code; 032 @Facebook 033 private String rulevalidation; 034 @Facebook 035 private String rules; 036 @Facebook("creation_time") 037 private Date creationTime; 038 @Facebook("last_fired_time") 039 private Date lastFiredTime; 040 @Facebook("owner_ad_account") 041 private AdAccount ownerAdAccount; 042 @Facebook("owner_business") 043 private Business ownerBusiness; 044 @Facebook("user_access_expire_time") 045 private Date userAccessExpireTime; 046 047 @java.lang.SuppressWarnings("all") 048 public String getCode() { 049 return this.code; 050 } 051 052 @java.lang.SuppressWarnings("all") 053 public void setCode(final String code) { 054 this.code = code; 055 } 056 057 @java.lang.SuppressWarnings("all") 058 public String getRulevalidation() { 059 return this.rulevalidation; 060 } 061 062 @java.lang.SuppressWarnings("all") 063 public void setRulevalidation(final String rulevalidation) { 064 this.rulevalidation = rulevalidation; 065 } 066 067 @java.lang.SuppressWarnings("all") 068 public String getRules() { 069 return this.rules; 070 } 071 072 @java.lang.SuppressWarnings("all") 073 public void setRules(final String rules) { 074 this.rules = rules; 075 } 076 077 @java.lang.SuppressWarnings("all") 078 public Date getCreationTime() { 079 return this.creationTime; 080 } 081 082 @java.lang.SuppressWarnings("all") 083 public void setCreationTime(final Date creationTime) { 084 this.creationTime = creationTime; 085 } 086 087 @java.lang.SuppressWarnings("all") 088 public Date getLastFiredTime() { 089 return this.lastFiredTime; 090 } 091 092 @java.lang.SuppressWarnings("all") 093 public void setLastFiredTime(final Date lastFiredTime) { 094 this.lastFiredTime = lastFiredTime; 095 } 096 097 @java.lang.SuppressWarnings("all") 098 public AdAccount getOwnerAdAccount() { 099 return this.ownerAdAccount; 100 } 101 102 @java.lang.SuppressWarnings("all") 103 public void setOwnerAdAccount(final AdAccount ownerAdAccount) { 104 this.ownerAdAccount = ownerAdAccount; 105 } 106 107 @java.lang.SuppressWarnings("all") 108 public Business getOwnerBusiness() { 109 return this.ownerBusiness; 110 } 111 112 @java.lang.SuppressWarnings("all") 113 public void setOwnerBusiness(final Business ownerBusiness) { 114 this.ownerBusiness = ownerBusiness; 115 } 116 117 @java.lang.SuppressWarnings("all") 118 public Date getUserAccessExpireTime() { 119 return this.userAccessExpireTime; 120 } 121 122 @java.lang.SuppressWarnings("all") 123 public void setUserAccessExpireTime(final Date userAccessExpireTime) { 124 this.userAccessExpireTime = userAccessExpireTime; 125 } 126}