All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.calendar.model.Events.html Maven / Gradle / Ivy

The newest version!






Events (Calendar API v3-rev20241101-2.0.0)












com.google.api.services.calendar.model

Class Events

    • Constructor Detail

      • Events

        public Events()
    • Method Detail

      • getAccessRole

        public String getAccessRole()
        The user's access role for this calendar. Read-only. Possible values are: - "none" - The user has no access. - "freeBusyReader" - The user has read access to free/busy information. - "reader" - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. - "writer" - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. - "owner" - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
        Returns:
        value or null for none
      • setAccessRole

        public Events setAccessRole(String accessRole)
        The user's access role for this calendar. Read-only. Possible values are: - "none" - The user has no access. - "freeBusyReader" - The user has read access to free/busy information. - "reader" - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. - "writer" - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. - "owner" - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
        Parameters:
        accessRole - accessRole or null for none
      • getDefaultReminders

        public List<EventReminder> getDefaultReminders()
        The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).
        Returns:
        value or null for none
      • setDefaultReminders

        public Events setDefaultReminders(List<EventReminder> defaultReminders)
        The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).
        Parameters:
        defaultReminders - defaultReminders or null for none
      • getDescription

        public String getDescription()
        Description of the calendar. Read-only.
        Returns:
        value or null for none
      • setDescription

        public Events setDescription(String description)
        Description of the calendar. Read-only.
        Parameters:
        description - description or null for none
      • getEtag

        public String getEtag()
        ETag of the collection.
        Returns:
        value or null for none
      • setEtag

        public Events setEtag(String etag)
        ETag of the collection.
        Parameters:
        etag - etag or null for none
      • getItems

        public List<Event> getItems()
        List of events on the calendar.
        Returns:
        value or null for none
      • setItems

        public Events setItems(List<Event> items)
        List of events on the calendar.
        Parameters:
        items - items or null for none
      • getKind

        public String getKind()
        Type of the collection ("calendar#events").
        Returns:
        value or null for none
      • setKind

        public Events setKind(String kind)
        Type of the collection ("calendar#events").
        Parameters:
        kind - kind or null for none
      • getNextPageToken

        public String getNextPageToken()
        Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
        Returns:
        value or null for none
      • setNextPageToken

        public Events setNextPageToken(String nextPageToken)
        Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
        Parameters:
        nextPageToken - nextPageToken or null for none
      • getNextSyncToken

        public String getNextSyncToken()
        Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided.
        Returns:
        value or null for none
      • setNextSyncToken

        public Events setNextSyncToken(String nextSyncToken)
        Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided.
        Parameters:
        nextSyncToken - nextSyncToken or null for none
      • getSummary

        public String getSummary()
        Title of the calendar. Read-only.
        Returns:
        value or null for none
      • setSummary

        public Events setSummary(String summary)
        Title of the calendar. Read-only.
        Parameters:
        summary - summary or null for none
      • getTimeZone

        public String getTimeZone()
        The time zone of the calendar. Read-only.
        Returns:
        value or null for none
      • setTimeZone

        public Events setTimeZone(String timeZone)
        The time zone of the calendar. Read-only.
        Parameters:
        timeZone - timeZone or null for none
      • getUpdated

        public com.google.api.client.util.DateTime getUpdated()
        Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
        Returns:
        value or null for none
      • setUpdated

        public Events setUpdated(com.google.api.client.util.DateTime updated)
        Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
        Parameters:
        updated - updated or null for none
      • set

        public Events set(String fieldName,
                          Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public Events clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy