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.oembed;
024
025import com.restfb.Facebook;
026import com.restfb.types.AbstractFacebookType;
027
028public abstract class BaseOEmbed extends AbstractFacebookType {
029  /**
030   * The HTML used to display the page.
031   */
032  @Facebook
033  private String html;
034  /**
035   * The height in pixels required to display the HTML.
036   */
037  @Facebook
038  private Long height;
039  /**
040   * The width in pixels required to display the HTML.
041   */
042  @Facebook
043  private Long width;
044  /**
045   * Name of the provider (Facebook)
046   */
047  @Facebook("provider_name")
048  private String providerName;
049  /**
050   * URL of the provider (Facebook)
051   */
052  @Facebook("provider_url")
053  private String providerUrl;
054  /**
055   * The oEmbed resource type. See https://oembed.com/.
056   */
057  @Facebook
058  private String type;
059  /**
060   * Always 1.0. See https://oembed.com/
061   */
062  @Facebook
063  private String version;
064
065  /**
066   * The HTML used to display the page.
067   */
068  @java.lang.SuppressWarnings("all")
069  public String getHtml() {
070    return this.html;
071  }
072
073  /**
074   * The HTML used to display the page.
075   */
076  @java.lang.SuppressWarnings("all")
077  public void setHtml(final String html) {
078    this.html = html;
079  }
080
081  /**
082   * The height in pixels required to display the HTML.
083   */
084  @java.lang.SuppressWarnings("all")
085  public Long getHeight() {
086    return this.height;
087  }
088
089  /**
090   * The height in pixels required to display the HTML.
091   */
092  @java.lang.SuppressWarnings("all")
093  public void setHeight(final Long height) {
094    this.height = height;
095  }
096
097  /**
098   * The width in pixels required to display the HTML.
099   */
100  @java.lang.SuppressWarnings("all")
101  public Long getWidth() {
102    return this.width;
103  }
104
105  /**
106   * The width in pixels required to display the HTML.
107   */
108  @java.lang.SuppressWarnings("all")
109  public void setWidth(final Long width) {
110    this.width = width;
111  }
112
113  /**
114   * Name of the provider (Facebook)
115   */
116  @java.lang.SuppressWarnings("all")
117  public String getProviderName() {
118    return this.providerName;
119  }
120
121  /**
122   * Name of the provider (Facebook)
123   */
124  @java.lang.SuppressWarnings("all")
125  public void setProviderName(final String providerName) {
126    this.providerName = providerName;
127  }
128
129  /**
130   * URL of the provider (Facebook)
131   */
132  @java.lang.SuppressWarnings("all")
133  public String getProviderUrl() {
134    return this.providerUrl;
135  }
136
137  /**
138   * URL of the provider (Facebook)
139   */
140  @java.lang.SuppressWarnings("all")
141  public void setProviderUrl(final String providerUrl) {
142    this.providerUrl = providerUrl;
143  }
144
145  /**
146   * The oEmbed resource type. See https://oembed.com/.
147   */
148  @java.lang.SuppressWarnings("all")
149  public String getType() {
150    return this.type;
151  }
152
153  /**
154   * The oEmbed resource type. See https://oembed.com/.
155   */
156  @java.lang.SuppressWarnings("all")
157  public void setType(final String type) {
158    this.type = type;
159  }
160
161  /**
162   * Always 1.0. See https://oembed.com/
163   */
164  @java.lang.SuppressWarnings("all")
165  public String getVersion() {
166    return this.version;
167  }
168
169  /**
170   * Always 1.0. See https://oembed.com/
171   */
172  @java.lang.SuppressWarnings("all")
173  public void setVersion(final String version) {
174    this.version = version;
175  }
176}