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;
024
025import java.util.List;
026import com.restfb.Facebook;
027import com.restfb.annotation.GraphAPI;
028
029/**
030 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/video-copyright/">Video
031 * Copyright</a> type
032 */
033public class VideoCopyright extends FacebookType {
034  /**
035   * The copyright content ID
036   */
037  @Facebook("copyright_content_id")
038  private String copyrightContentId;
039  /**
040   * The account that created the copyright
041   */
042  @Facebook
043  private User creator;
044  /**
045   * Whether the video is monitored successfully for copyright.
046   *
047   * The status could be {@code NOT_EXAMED}, {@code COPYRIGHTED} and {@code ERROR}.
048   */
049  @Facebook("monitoring_status")
050  @GraphAPI(since = "2.5")
051  private String monitoringStatus;
052  /**
053   * Whether the video is monitored for video, audio, or both
054   */
055  @Facebook("monitoring_type")
056  private String monitoringType;
057  /**
058   * A string array of ISO 3166 format country codes, where the owner owns the rights of the content
059   */
060  @Facebook("ownership_countries")
061  private List<String> ownershipCountries;
062  /**
063   * The ID of the reference video owner
064   */
065  @Facebook("reference_owner_id")
066  private String referenceOwnerId;
067  /**
068   * A list of matching rules applied to the copyrighted content
069   */
070  @Facebook("rule_ids")
071  private List<VideoCopyrightRule> ruleIds;
072  /**
073   * A list of page IDs or user IDs, who are allowed to use the copyrighted content.
074   */
075  @Facebook("whitelisted_ids")
076  private List<String> whitelistedIds;
077
078  /**
079   * The copyright content ID
080   */
081  @java.lang.SuppressWarnings("all")
082  @lombok.Generated
083  public String getCopyrightContentId() {
084    return this.copyrightContentId;
085  }
086
087  /**
088   * The copyright content ID
089   */
090  @java.lang.SuppressWarnings("all")
091  @lombok.Generated
092  public void setCopyrightContentId(final String copyrightContentId) {
093    this.copyrightContentId = copyrightContentId;
094  }
095
096  /**
097   * The account that created the copyright
098   */
099  @java.lang.SuppressWarnings("all")
100  @lombok.Generated
101  public User getCreator() {
102    return this.creator;
103  }
104
105  /**
106   * The account that created the copyright
107   */
108  @java.lang.SuppressWarnings("all")
109  @lombok.Generated
110  public void setCreator(final User creator) {
111    this.creator = creator;
112  }
113
114  /**
115   * Whether the video is monitored successfully for copyright.
116   *
117   * The status could be {@code NOT_EXAMED}, {@code COPYRIGHTED} and {@code ERROR}.
118   */
119  @GraphAPI(since = "2.5")
120  @java.lang.SuppressWarnings("all")
121  @lombok.Generated
122  public String getMonitoringStatus() {
123    return this.monitoringStatus;
124  }
125
126  /**
127   * Whether the video is monitored successfully for copyright.
128   *
129   * The status could be {@code NOT_EXAMED}, {@code COPYRIGHTED} and {@code ERROR}.
130   */
131  @java.lang.SuppressWarnings("all")
132  @lombok.Generated
133  public void setMonitoringStatus(final String monitoringStatus) {
134    this.monitoringStatus = monitoringStatus;
135  }
136
137  /**
138   * Whether the video is monitored for video, audio, or both
139   */
140  @java.lang.SuppressWarnings("all")
141  @lombok.Generated
142  public String getMonitoringType() {
143    return this.monitoringType;
144  }
145
146  /**
147   * Whether the video is monitored for video, audio, or both
148   */
149  @java.lang.SuppressWarnings("all")
150  @lombok.Generated
151  public void setMonitoringType(final String monitoringType) {
152    this.monitoringType = monitoringType;
153  }
154
155  /**
156   * A string array of ISO 3166 format country codes, where the owner owns the rights of the content
157   */
158  @java.lang.SuppressWarnings("all")
159  @lombok.Generated
160  public List<String> getOwnershipCountries() {
161    return this.ownershipCountries;
162  }
163
164  /**
165   * A string array of ISO 3166 format country codes, where the owner owns the rights of the content
166   */
167  @java.lang.SuppressWarnings("all")
168  @lombok.Generated
169  public void setOwnershipCountries(final List<String> ownershipCountries) {
170    this.ownershipCountries = ownershipCountries;
171  }
172
173  /**
174   * The ID of the reference video owner
175   */
176  @java.lang.SuppressWarnings("all")
177  @lombok.Generated
178  public String getReferenceOwnerId() {
179    return this.referenceOwnerId;
180  }
181
182  /**
183   * The ID of the reference video owner
184   */
185  @java.lang.SuppressWarnings("all")
186  @lombok.Generated
187  public void setReferenceOwnerId(final String referenceOwnerId) {
188    this.referenceOwnerId = referenceOwnerId;
189  }
190
191  /**
192   * A list of matching rules applied to the copyrighted content
193   */
194  @java.lang.SuppressWarnings("all")
195  @lombok.Generated
196  public List<VideoCopyrightRule> getRuleIds() {
197    return this.ruleIds;
198  }
199
200  /**
201   * A list of matching rules applied to the copyrighted content
202   */
203  @java.lang.SuppressWarnings("all")
204  @lombok.Generated
205  public void setRuleIds(final List<VideoCopyrightRule> ruleIds) {
206    this.ruleIds = ruleIds;
207  }
208
209  /**
210   * A list of page IDs or user IDs, who are allowed to use the copyrighted content.
211   */
212  @java.lang.SuppressWarnings("all")
213  @lombok.Generated
214  public List<String> getWhitelistedIds() {
215    return this.whitelistedIds;
216  }
217
218  /**
219   * A list of page IDs or user IDs, who are allowed to use the copyrighted content.
220   */
221  @java.lang.SuppressWarnings("all")
222  @lombok.Generated
223  public void setWhitelistedIds(final List<String> whitelistedIds) {
224    this.whitelistedIds = whitelistedIds;
225  }
226}