001// Generated by delombok at Fri Oct 11 21:56:29 CEST 2019
002/**
003 * Copyright (c) 2010-2019 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;
027import com.restfb.types.Page;
028
029/**
030 * Represents the <a href="https://developers.facebook.com/docs/marketing-api/businessmanager">Business type</a>.
031 */
032public class Business extends NamedAdsObject {
033  private static final long serialVersionUID = 1L;
034  @Facebook("creation_time")
035  private Date creationTime;
036  @Facebook("created_by")
037  private NamedAdsObject createdBy;
038  @Facebook("primary_page")
039  private Page primaryPage;
040  @Facebook("timezone_id")
041  private Integer timezoneId;
042  @Facebook("update_time")
043  private Date updateTime;
044  @Facebook("updated_by")
045  private NamedAdsObject updatedBy;
046  @Facebook("vertical_id")
047  private Integer verticalId;
048
049  @java.lang.SuppressWarnings("all")
050  public Date getCreationTime() {
051    return this.creationTime;
052  }
053
054  @java.lang.SuppressWarnings("all")
055  public void setCreationTime(final Date creationTime) {
056    this.creationTime = creationTime;
057  }
058
059  @java.lang.SuppressWarnings("all")
060  public NamedAdsObject getCreatedBy() {
061    return this.createdBy;
062  }
063
064  @java.lang.SuppressWarnings("all")
065  public void setCreatedBy(final NamedAdsObject createdBy) {
066    this.createdBy = createdBy;
067  }
068
069  @java.lang.SuppressWarnings("all")
070  public Page getPrimaryPage() {
071    return this.primaryPage;
072  }
073
074  @java.lang.SuppressWarnings("all")
075  public void setPrimaryPage(final Page primaryPage) {
076    this.primaryPage = primaryPage;
077  }
078
079  @java.lang.SuppressWarnings("all")
080  public Integer getTimezoneId() {
081    return this.timezoneId;
082  }
083
084  @java.lang.SuppressWarnings("all")
085  public void setTimezoneId(final Integer timezoneId) {
086    this.timezoneId = timezoneId;
087  }
088
089  @java.lang.SuppressWarnings("all")
090  public Date getUpdateTime() {
091    return this.updateTime;
092  }
093
094  @java.lang.SuppressWarnings("all")
095  public void setUpdateTime(final Date updateTime) {
096    this.updateTime = updateTime;
097  }
098
099  @java.lang.SuppressWarnings("all")
100  public NamedAdsObject getUpdatedBy() {
101    return this.updatedBy;
102  }
103
104  @java.lang.SuppressWarnings("all")
105  public void setUpdatedBy(final NamedAdsObject updatedBy) {
106    this.updatedBy = updatedBy;
107  }
108
109  @java.lang.SuppressWarnings("all")
110  public Integer getVerticalId() {
111    return this.verticalId;
112  }
113
114  @java.lang.SuppressWarnings("all")
115  public void setVerticalId(final Integer verticalId) {
116    this.verticalId = verticalId;
117  }
118}