Package com.restfb.types
Class VideoCopyright
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.VideoCopyright
-
- All Implemented Interfaces:
Serializable
public class VideoCopyright extends FacebookType
Represents the Video Copyright type- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description VideoCopyright()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCopyrightContentId()
The copyright content IDUser
getCreator()
The account that created the copyrightString
getMonitoringStatus()
Whether the video is monitored successfully for copyright.String
getMonitoringType()
Whether the video is monitored for video, audio, or bothList<String>
getOwnershipCountries()
A string array of ISO 3166 format country codes, where the owner owns the rights of the contentString
getReferenceOwnerId()
The ID of the reference video ownerList<VideoCopyrightRule>
getRuleIds()
A list of matching rules applied to the copyrighted contentList<String>
getWhitelistedIds()
A list of page IDs or user IDs, who are allowed to use the copyrighted content.void
setCopyrightContentId(String copyrightContentId)
The copyright content IDvoid
setCreator(User creator)
The account that created the copyrightvoid
setMonitoringStatus(String monitoringStatus)
Whether the video is monitored successfully for copyright.void
setMonitoringType(String monitoringType)
Whether the video is monitored for video, audio, or bothvoid
setOwnershipCountries(List<String> ownershipCountries)
A string array of ISO 3166 format country codes, where the owner owns the rights of the contentvoid
setReferenceOwnerId(String referenceOwnerId)
The ID of the reference video ownervoid
setRuleIds(List<VideoCopyrightRule> ruleIds)
A list of matching rules applied to the copyrighted contentvoid
setWhitelistedIds(List<String> whitelistedIds)
A list of page IDs or user IDs, who are allowed to use the copyrighted content.-
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
VideoCopyright
public VideoCopyright()
-
-
Method Detail
-
getCopyrightContentId
public String getCopyrightContentId()
The copyright content ID
-
setCopyrightContentId
public void setCopyrightContentId(String copyrightContentId)
The copyright content ID
-
getCreator
public User getCreator()
The account that created the copyright
-
setCreator
public void setCreator(User creator)
The account that created the copyright
-
getMonitoringStatus
@GraphAPI(since="2.5") public String getMonitoringStatus()
Whether the video is monitored successfully for copyright. The status could beNOT_EXAMED
,COPYRIGHTED
andERROR
.
-
setMonitoringStatus
public void setMonitoringStatus(String monitoringStatus)
Whether the video is monitored successfully for copyright. The status could beNOT_EXAMED
,COPYRIGHTED
andERROR
.
-
getMonitoringType
public String getMonitoringType()
Whether the video is monitored for video, audio, or both
-
setMonitoringType
public void setMonitoringType(String monitoringType)
Whether the video is monitored for video, audio, or both
-
getOwnershipCountries
public List<String> getOwnershipCountries()
A string array of ISO 3166 format country codes, where the owner owns the rights of the content
-
setOwnershipCountries
public void setOwnershipCountries(List<String> ownershipCountries)
A string array of ISO 3166 format country codes, where the owner owns the rights of the content
-
getReferenceOwnerId
public String getReferenceOwnerId()
The ID of the reference video owner
-
setReferenceOwnerId
public void setReferenceOwnerId(String referenceOwnerId)
The ID of the reference video owner
-
getRuleIds
public List<VideoCopyrightRule> getRuleIds()
A list of matching rules applied to the copyrighted content
-
setRuleIds
public void setRuleIds(List<VideoCopyrightRule> ruleIds)
A list of matching rules applied to the copyrighted content
-
getWhitelistedIds
public List<String> getWhitelistedIds()
A list of page IDs or user IDs, who are allowed to use the copyrighted content.
-
setWhitelistedIds
public void setWhitelistedIds(List<String> whitelistedIds)
A list of page IDs or user IDs, who are allowed to use the copyrighted content.
-
-