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

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

The newest version!






EventBirthdayProperties (Calendar API v3-rev20241101-2.0.0)












com.google.api.services.calendar.model

Class EventBirthdayProperties

    • Constructor Detail

      • EventBirthdayProperties

        public EventBirthdayProperties()
    • Method Detail

      • getContact

        public String getContact()
        Resource name of the contact this birthday event is linked to. This can be used to fetch contact details from People API. Format: "people/c12345". Read-only.
        Returns:
        value or null for none
      • setContact

        public EventBirthdayProperties setContact(String contact)
        Resource name of the contact this birthday event is linked to. This can be used to fetch contact details from People API. Format: "people/c12345". Read-only.
        Parameters:
        contact - contact or null for none
      • getCustomTypeName

        public String getCustomTypeName()
        Custom type label specified for this event. This is populated if birthdayProperties.type is set to "custom". Read-only.
        Returns:
        value or null for none
      • setCustomTypeName

        public EventBirthdayProperties setCustomTypeName(String customTypeName)
        Custom type label specified for this event. This is populated if birthdayProperties.type is set to "custom". Read-only.
        Parameters:
        customTypeName - customTypeName or null for none
      • getType

        public String getType()
        Type of birthday or special event. Possible values are: - "anniversary" - An anniversary other than birthday. Always has a contact. - "birthday" - A birthday event. This is the default value. - "custom" - A special date whose label is further specified in the customTypeName field. Always has a contact. - "other" - A special date which does not fall into the other categories, and does not have a custom label. Always has a contact. - "self" - Calendar owner's own birthday. Cannot have a contact. The Calendar API only supports creating events with the type "birthday". The type cannot be changed after the event is created.
        Returns:
        value or null for none
      • setType

        public EventBirthdayProperties setType(String type)
        Type of birthday or special event. Possible values are: - "anniversary" - An anniversary other than birthday. Always has a contact. - "birthday" - A birthday event. This is the default value. - "custom" - A special date whose label is further specified in the customTypeName field. Always has a contact. - "other" - A special date which does not fall into the other categories, and does not have a custom label. Always has a contact. - "self" - Calendar owner's own birthday. Cannot have a contact. The Calendar API only supports creating events with the type "birthday". The type cannot be changed after the event is created.
        Parameters:
        type - type or null for none
      • clone

        public EventBirthdayProperties 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