001// Generated by delombok at Wed Feb 12 09:04:33 CET 2025 002/* 003 * Copyright (c) 2010-2025 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; 026import com.restfb.types.AbstractFacebookType; 027 028/** 029 * Represents the <a href="https://developers.facebook.com/docs/marketing-api/reference/product-feed-schedule/">Product 030 * Feed Schedule type</a> 031 */ 032public class ProductFeedSchedule extends AbstractFacebookType { 033 /** 034 * The day of month to fetch feed, for monthly schedules e.g., 1 for first of month 035 */ 036 @Facebook("day_of_month") 037 private Long mDayOfMonth; 038 /** 039 * The day of week to fetch feed, for weekly schedules. 040 * 041 * Allowed values: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY 042 */ 043 @Facebook("day_of_week") 044 private String dayOfWeek; 045 /** 046 * Hour of the day to fetch the product feed, 0-23 PST 047 */ 048 @Facebook 049 private Long hour; 050 /** 051 * The interval at which the product feed gets fetched 052 */ 053 @Facebook 054 private String interval; 055 /** 056 * Minute of the hour to fetch the product feed, 0-59 057 */ 058 @Facebook 059 private Long minute; 060 /** 061 * The location of the product feed to fetch 062 */ 063 @Facebook 064 private String url; 065 /** 066 * The username that is needed to access the url 067 */ 068 @Facebook 069 private String username; 070 /** 071 * undocumented field according to GitHub issue #497 072 */ 073 @Facebook 074 private String password; 075 076 /** 077 * @return The day of month to fetch feed, for monthly schedules e.g., 1 for first of month 078 */ 079 @java.lang.SuppressWarnings("all") 080 public Long getMDayOfMonth() { 081 return this.mDayOfMonth; 082 } 083 084 /** 085 * The day of month to fetch feed, for monthly schedules e.g., 1 for first of month 086 */ 087 @java.lang.SuppressWarnings("all") 088 public void setMDayOfMonth(final Long mDayOfMonth) { 089 this.mDayOfMonth = mDayOfMonth; 090 } 091 092 /** 093 * @return The day of week to fetch feed, for weekly schedules. 094 */ 095 @java.lang.SuppressWarnings("all") 096 public String getDayOfWeek() { 097 return this.dayOfWeek; 098 } 099 100 /** 101 * The day of week to fetch feed, for weekly schedules. 102 * 103 * Allowed values: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY 104 */ 105 @java.lang.SuppressWarnings("all") 106 public void setDayOfWeek(final String dayOfWeek) { 107 this.dayOfWeek = dayOfWeek; 108 } 109 110 /** 111 * @return Hour of the day to fetch the product feed, 0-23 PST 112 */ 113 @java.lang.SuppressWarnings("all") 114 public Long getHour() { 115 return this.hour; 116 } 117 118 /** 119 * Hour of the day to fetch the product feed, 0-23 PST 120 */ 121 @java.lang.SuppressWarnings("all") 122 public void setHour(final Long hour) { 123 this.hour = hour; 124 } 125 126 /** 127 * @return The interval at which the product feed gets fetched 128 */ 129 @java.lang.SuppressWarnings("all") 130 public String getInterval() { 131 return this.interval; 132 } 133 134 /** 135 * The interval at which the product feed gets fetched 136 */ 137 @java.lang.SuppressWarnings("all") 138 public void setInterval(final String interval) { 139 this.interval = interval; 140 } 141 142 /** 143 * @return Minute of the hour to fetch the product feed, 0-59 144 */ 145 @java.lang.SuppressWarnings("all") 146 public Long getMinute() { 147 return this.minute; 148 } 149 150 /** 151 * Minute of the hour to fetch the product feed, 0-59 152 */ 153 @java.lang.SuppressWarnings("all") 154 public void setMinute(final Long minute) { 155 this.minute = minute; 156 } 157 158 /** 159 * @return The location of the product feed to fetch 160 */ 161 @java.lang.SuppressWarnings("all") 162 public String getUrl() { 163 return this.url; 164 } 165 166 /** 167 * The location of the product feed to fetch 168 */ 169 @java.lang.SuppressWarnings("all") 170 public void setUrl(final String url) { 171 this.url = url; 172 } 173 174 /** 175 * @return The username that is needed to access the url 176 */ 177 @java.lang.SuppressWarnings("all") 178 public String getUsername() { 179 return this.username; 180 } 181 182 /** 183 * The username that is needed to access the url 184 */ 185 @java.lang.SuppressWarnings("all") 186 public void setUsername(final String username) { 187 this.username = username; 188 } 189 190 /** 191 * undocumented field according to GitHub issue #497 192 */ 193 @java.lang.SuppressWarnings("all") 194 public String getPassword() { 195 return this.password; 196 } 197 198 /** 199 * undocumented field according to GitHub issue #497 200 */ 201 @java.lang.SuppressWarnings("all") 202 public void setPassword(final String password) { 203 this.password = password; 204 } 205}