Class Event

    • Constructor Detail

    • Method Detail

      • getOwner

        public Event.Owner getOwner()
        The user who owns the event.
        Returns:
        The user who owns the event.
      • setCategory

        public void setCategory​(String category)
        The category of the event.
      • getDescription

        public String getDescription()
        The long-form HTML description of the event.
        Returns:
        The long-form HTML description of the event.
      • setDescription

        public void setDescription​(String description)
        The long-form HTML description of the event.
      • getStartTime

        public Date getStartTime()
        The start time of the event.
        Returns:
        The start time of the event.
      • setStartTime

        public void setStartTime​(Date startTime)
        The start time of the event.
      • getEndTime

        public Date getEndTime()
        The end time of the event.
        Returns:
        The end time of the event.
      • setEndTime

        public void setEndTime​(Date endTime)
        The end time of the event.
      • getLocation

        @Deprecated
        @GraphAPI(until="2.2")
        public String getLocation()
        Deprecated.
        with API version 2.3, use place field instead
        The location for this event, a string name.
        Returns:
        The location for this event, a string name.
      • setLocation

        @Deprecated
        public void setLocation​(String location)
        Deprecated.
        with API version 2.3, use place field instead
        The location for this event, a string name.
      • getIsCanceled

        public Boolean getIsCanceled()
        Whether or not the event has been marked as canceled
        Returns:
        Whether or not the event has been marked as canceled
      • setIsCanceled

        public void setIsCanceled​(Boolean isCanceled)
        Whether or not the event has been marked as canceled
      • getRsvpStatus

        public String getRsvpStatus()
        The RSVP status of this event.
        Returns:
        The RSVP status of this event.
      • setRsvpStatus

        public void setRsvpStatus​(String rsvpStatus)
        The RSVP status of this event.
      • setVenueList

        @Deprecated
        public void setVenueList​(List<Location> venueList)
        Deprecated.
        with API version 2.3, use getPlace() instead
        A list of locations of this event. This may happen in some strange case - see issue #XXX on GitHub
      • getVenue

        @Deprecated
        @GraphAPI(until="2.2")
        public Location getVenue()
        Deprecated.
        with API version 2.3, use getPlace() field instead
        The location of this event, a structured address object.
        Returns:
        The location of this event, a structured address object.
      • setVenue

        @Deprecated
        public void setVenue​(Location venue)
        Deprecated.
        with API version 2.3, use getPlace() field instead
        The location of this event, a structured address object.
      • setInterestedCount

        public void setInterestedCount​(Long interestedCount)
        Number of people interested in the event.
      • getIsPageOwned

        public Boolean getIsPageOwned()
        Whether the event is created by page or not.
        Returns:
        Whether the event is created by page or not
      • setIsPageOwned

        public void setIsPageOwned​(Boolean isPageOwned)
        Whether the event is created by page or not.
      • getIsViewerAdmin

        @Deprecated
        public Boolean getIsViewerAdmin()
        Deprecated.
        since January 30, 2018
        Whether the viewer is admin or not.
        Returns:
        Whether the viewer is admin or not
      • getPrivacy

        public String getPrivacy()
        The visibility of this event. Can be 'OPEN', 'CLOSED', or 'SECRET'.
        Returns:
        The visibility of this event. Can be 'OPEN', 'CLOSED', or 'SECRET'.
      • setPrivacy

        public void setPrivacy​(String privacy)
        The visibility of this event. Can be 'OPEN', 'CLOSED', or 'SECRET'.
      • getUpdatedTime

        public Date getUpdatedTime()
        The last time the event was updated.
        Returns:
        The last time the event was updated.
      • setUpdatedTime

        public void setUpdatedTime​(Date updatedTime)
        The last time the event was updated.
      • getTicketUri

        public String getTicketUri()
        The URL to a location to buy tickets for this event (on Events for Pages only).
        Returns:
        The URL to a location to buy tickets for this event (on Events for Pages only).
        Since:
        1.6.13
      • setTicketUri

        public void setTicketUri​(String ticketUri)
        The URL to a location to buy tickets for this event (on Events for Pages only).
        Since:
        1.6.13
      • getPicture

        public ProfilePictureSource getPicture()
        The event's picture.
        Returns:
        The event's picture (only returned if you explicitly include picture in the fields param; example: ?fields=id,name,picture)
        Since:
        1.6.13
      • getParentGroup

        public Group getParentGroup()
        The group the event belongs to, if any.
        Returns:
        The group the event belongs to, if any.
      • setParentGroup

        public void setParentGroup​(Group parentGroup)
        The group the event belongs to, if any.
      • getPlace

        @GraphAPI(since="2.3")
        public Place getPlace()
        Location associated with the event, if any.
        Returns:
        Location associated with the event, if any
      • setPlace

        public void setPlace​(Place place)
        Location associated with the event, if any.
      • getIsDateOnly

        public Boolean getIsDateOnly()
        Should the time information be ignored in the dates for this event?
        Returns:
        true if the time information be ignored in the dates for this event, false otherwise.
        Since:
        1.6.13
      • setIsDateOnly

        public void setIsDateOnly​(Boolean isDateOnly)
        Should the time information be ignored in the dates for this event?
        Since:
        1.6.13
      • setTimezone

        public void setTimezone​(String timezone)
        the timezone of the event
      • setDeclinedCount

        public void setDeclinedCount​(Integer declinedCount)
        Number of people who declined the event
      • getMaybeCount

        @GraphAPI(since="2.1")
        public Integer getMaybeCount()
        Number of people who maybe going to the event
        Returns:
        Number of people who maybe going to the event
      • setMaybeCount

        public void setMaybeCount​(Integer maybeCount)
        Number of people who maybe going to the event
      • getNoreplyCount

        @GraphAPI(since="2.1")
        public Integer getNoreplyCount()
        Number of people who did not reply to the event
        Returns:
        Number of people who did not reply to the event
      • setNoreplyCount

        public void setNoreplyCount​(Integer noreplyCount)
        Number of people who did not reply to the event