001// Generated by delombok at Thu Aug 13 13:56:44 UTC 2026
002/*
003 * Copyright (c) 2010-2026 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  @lombok.Generated
070  public String getHtml() {
071    return this.html;
072  }
073
074  /**
075   * The HTML used to display the page.
076   */
077  @java.lang.SuppressWarnings("all")
078  @lombok.Generated
079  public void setHtml(final String html) {
080    this.html = html;
081  }
082
083  /**
084   * The height in pixels required to display the HTML.
085   */
086  @java.lang.SuppressWarnings("all")
087  @lombok.Generated
088  public Long getHeight() {
089    return this.height;
090  }
091
092  /**
093   * The height in pixels required to display the HTML.
094   */
095  @java.lang.SuppressWarnings("all")
096  @lombok.Generated
097  public void setHeight(final Long height) {
098    this.height = height;
099  }
100
101  /**
102   * The width in pixels required to display the HTML.
103   */
104  @java.lang.SuppressWarnings("all")
105  @lombok.Generated
106  public Long getWidth() {
107    return this.width;
108  }
109
110  /**
111   * The width in pixels required to display the HTML.
112   */
113  @java.lang.SuppressWarnings("all")
114  @lombok.Generated
115  public void setWidth(final Long width) {
116    this.width = width;
117  }
118
119  /**
120   * Name of the provider (Facebook)
121   */
122  @java.lang.SuppressWarnings("all")
123  @lombok.Generated
124  public String getProviderName() {
125    return this.providerName;
126  }
127
128  /**
129   * Name of the provider (Facebook)
130   */
131  @java.lang.SuppressWarnings("all")
132  @lombok.Generated
133  public void setProviderName(final String providerName) {
134    this.providerName = providerName;
135  }
136
137  /**
138   * URL of the provider (Facebook)
139   */
140  @java.lang.SuppressWarnings("all")
141  @lombok.Generated
142  public String getProviderUrl() {
143    return this.providerUrl;
144  }
145
146  /**
147   * URL of the provider (Facebook)
148   */
149  @java.lang.SuppressWarnings("all")
150  @lombok.Generated
151  public void setProviderUrl(final String providerUrl) {
152    this.providerUrl = providerUrl;
153  }
154
155  /**
156   * The oEmbed resource type. See https://oembed.com/.
157   */
158  @java.lang.SuppressWarnings("all")
159  @lombok.Generated
160  public String getType() {
161    return this.type;
162  }
163
164  /**
165   * The oEmbed resource type. See https://oembed.com/.
166   */
167  @java.lang.SuppressWarnings("all")
168  @lombok.Generated
169  public void setType(final String type) {
170    this.type = type;
171  }
172
173  /**
174   * Always 1.0. See https://oembed.com/
175   */
176  @java.lang.SuppressWarnings("all")
177  @lombok.Generated
178  public String getVersion() {
179    return this.version;
180  }
181
182  /**
183   * Always 1.0. See https://oembed.com/
184   */
185  @java.lang.SuppressWarnings("all")
186  @lombok.Generated
187  public void setVersion(final String version) {
188    this.version = version;
189  }
190}