Package org.pac4j.oauth.profile.facebook
Class FacebookPhoto
java.lang.Object
org.pac4j.oauth.profile.facebook.FacebookPhoto
- All Implemented Interfaces:
Serializable
This class represents a Facebook photo.
- Since:
- 1.1.0
- Author:
- Jerome Leleu
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldcanUpload
.getCount()
Getter for the fieldcount
.Getter for the fieldcoverPhoto
.Getter for the fieldcreatedTime
.getFrom()
Getter for the fieldfrom
.getId()
Getter for the fieldid
.getLink()
Getter for the fieldlink
.getName()
Getter for the fieldname
.Getter for the fieldprivacy
.getType()
Getter for the fieldtype
.Getter for the fieldupdatedTime
.void
setCanUpload
(Boolean canUpload) Setter for the fieldcanUpload
.void
Setter for the fieldcount
.void
setCoverPhoto
(String coverPhoto) Setter for the fieldcoverPhoto
.void
setCreatedTime
(Date createdTime) Setter for the fieldcreatedTime
.void
setFrom
(FacebookObject from) Setter for the fieldfrom
.void
Setter for the fieldid
.void
Setter for the fieldlink
.void
Setter for the fieldname
.void
setPrivacy
(String privacy) Setter for the fieldprivacy
.void
Setter for the fieldtype
.void
setUpdatedTime
(Date updatedTime) Setter for the fieldupdatedTime
.
-
Constructor Details
-
FacebookPhoto
public FacebookPhoto()
-
-
Method Details
-
getId
Getter for the field
id
.- Returns:
- a
String
object
-
setId
Setter for the field
id
.- Parameters:
id
- aString
object
-
getFrom
Getter for the field
from
.- Returns:
- a
FacebookObject
object
-
setFrom
Setter for the field
from
.- Parameters:
from
- aFacebookObject
object
-
getName
Getter for the field
name
.- Returns:
- a
String
object
-
setName
Setter for the field
name
.- Parameters:
name
- aString
object
-
getLink
Getter for the field
link
.- Returns:
- a
String
object
-
setLink
Setter for the field
link
.- Parameters:
link
- aString
object
-
getCoverPhoto
Getter for the field
coverPhoto
.- Returns:
- a
String
object
-
setCoverPhoto
Setter for the field
coverPhoto
.- Parameters:
coverPhoto
- aString
object
-
getPrivacy
Getter for the field
privacy
.- Returns:
- a
String
object
-
setPrivacy
Setter for the field
privacy
.- Parameters:
privacy
- aString
object
-
getCount
Getter for the field
count
.- Returns:
- a
Integer
object
-
setCount
Setter for the field
count
.- Parameters:
count
- aInteger
object
-
getType
Getter for the field
type
.- Returns:
- a
String
object
-
setType
Setter for the field
type
.- Parameters:
type
- aString
object
-
getCreatedTime
Getter for the field
createdTime
.- Returns:
- a
Date
object
-
setCreatedTime
Setter for the field
createdTime
.- Parameters:
createdTime
- aDate
object
-
getUpdatedTime
Getter for the field
updatedTime
.- Returns:
- a
Date
object
-
setUpdatedTime
Setter for the field
updatedTime
.- Parameters:
updatedTime
- aDate
object
-
getCanUpload
Getter for the field
canUpload
.- Returns:
- a
Boolean
object
-
setCanUpload
Setter for the field
canUpload
.- Parameters:
canUpload
- aBoolean
object
-