Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.microsoft.graph.models;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import java.time.OffsetDateTime;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public class Event extends OutlookItem implements Parsable {
/**
* Instantiates a new {@link Event} and sets the default values.
*/
public Event() {
super();
this.setOdataType("#microsoft.graph.event");
}
/**
* Creates a new instance of the appropriate class based on discriminator value
* @param parseNode The parse node to use to read the discriminator value and create the object
* @return a {@link Event}
*/
@jakarta.annotation.Nonnull
public static Event createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new Event();
}
/**
* Gets the allowNewTimeProposals property value. true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. Default is true.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getAllowNewTimeProposals() {
return this.backingStore.get("allowNewTimeProposals");
}
/**
* Gets the attachments property value. The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getAttachments() {
return this.backingStore.get("attachments");
}
/**
* Gets the attendees property value. The collection of attendees for the event.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getAttendees() {
return this.backingStore.get("attendees");
}
/**
* Gets the body property value. The body of the message associated with the event. It can be in HTML or text format.
* @return a {@link ItemBody}
*/
@jakarta.annotation.Nullable
public ItemBody getBody() {
return this.backingStore.get("body");
}
/**
* Gets the bodyPreview property value. The preview of the message associated with the event. It is in text format.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getBodyPreview() {
return this.backingStore.get("bodyPreview");
}
/**
* Gets the calendar property value. The calendar that contains the event. Navigation property. Read-only.
* @return a {@link Calendar}
*/
@jakarta.annotation.Nullable
public Calendar getCalendar() {
return this.backingStore.get("calendar");
}
/**
* Gets the end property value. The date, time, and time zone that the event ends. By default, the end time is in UTC.
* @return a {@link DateTimeTimeZone}
*/
@jakarta.annotation.Nullable
public DateTimeTimeZone getEnd() {
return this.backingStore.get("end");
}
/**
* Gets the extensions property value. The collection of open extensions defined for the event. Nullable.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getExtensions() {
return this.backingStore.get("extensions");
}
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
deserializerMap.put("allowNewTimeProposals", (n) -> { this.setAllowNewTimeProposals(n.getBooleanValue()); });
deserializerMap.put("attachments", (n) -> { this.setAttachments(n.getCollectionOfObjectValues(Attachment::createFromDiscriminatorValue)); });
deserializerMap.put("attendees", (n) -> { this.setAttendees(n.getCollectionOfObjectValues(Attendee::createFromDiscriminatorValue)); });
deserializerMap.put("body", (n) -> { this.setBody(n.getObjectValue(ItemBody::createFromDiscriminatorValue)); });
deserializerMap.put("bodyPreview", (n) -> { this.setBodyPreview(n.getStringValue()); });
deserializerMap.put("calendar", (n) -> { this.setCalendar(n.getObjectValue(Calendar::createFromDiscriminatorValue)); });
deserializerMap.put("end", (n) -> { this.setEnd(n.getObjectValue(DateTimeTimeZone::createFromDiscriminatorValue)); });
deserializerMap.put("extensions", (n) -> { this.setExtensions(n.getCollectionOfObjectValues(Extension::createFromDiscriminatorValue)); });
deserializerMap.put("hasAttachments", (n) -> { this.setHasAttachments(n.getBooleanValue()); });
deserializerMap.put("hideAttendees", (n) -> { this.setHideAttendees(n.getBooleanValue()); });
deserializerMap.put("iCalUId", (n) -> { this.setICalUId(n.getStringValue()); });
deserializerMap.put("importance", (n) -> { this.setImportance(n.getEnumValue(Importance::forValue)); });
deserializerMap.put("instances", (n) -> { this.setInstances(n.getCollectionOfObjectValues(Event::createFromDiscriminatorValue)); });
deserializerMap.put("isAllDay", (n) -> { this.setIsAllDay(n.getBooleanValue()); });
deserializerMap.put("isCancelled", (n) -> { this.setIsCancelled(n.getBooleanValue()); });
deserializerMap.put("isDraft", (n) -> { this.setIsDraft(n.getBooleanValue()); });
deserializerMap.put("isOnlineMeeting", (n) -> { this.setIsOnlineMeeting(n.getBooleanValue()); });
deserializerMap.put("isOrganizer", (n) -> { this.setIsOrganizer(n.getBooleanValue()); });
deserializerMap.put("isReminderOn", (n) -> { this.setIsReminderOn(n.getBooleanValue()); });
deserializerMap.put("location", (n) -> { this.setLocation(n.getObjectValue(Location::createFromDiscriminatorValue)); });
deserializerMap.put("locations", (n) -> { this.setLocations(n.getCollectionOfObjectValues(Location::createFromDiscriminatorValue)); });
deserializerMap.put("multiValueExtendedProperties", (n) -> { this.setMultiValueExtendedProperties(n.getCollectionOfObjectValues(MultiValueLegacyExtendedProperty::createFromDiscriminatorValue)); });
deserializerMap.put("onlineMeeting", (n) -> { this.setOnlineMeeting(n.getObjectValue(OnlineMeetingInfo::createFromDiscriminatorValue)); });
deserializerMap.put("onlineMeetingProvider", (n) -> { this.setOnlineMeetingProvider(n.getEnumValue(OnlineMeetingProviderType::forValue)); });
deserializerMap.put("onlineMeetingUrl", (n) -> { this.setOnlineMeetingUrl(n.getStringValue()); });
deserializerMap.put("organizer", (n) -> { this.setOrganizer(n.getObjectValue(Recipient::createFromDiscriminatorValue)); });
deserializerMap.put("originalEndTimeZone", (n) -> { this.setOriginalEndTimeZone(n.getStringValue()); });
deserializerMap.put("originalStart", (n) -> { this.setOriginalStart(n.getOffsetDateTimeValue()); });
deserializerMap.put("originalStartTimeZone", (n) -> { this.setOriginalStartTimeZone(n.getStringValue()); });
deserializerMap.put("recurrence", (n) -> { this.setRecurrence(n.getObjectValue(PatternedRecurrence::createFromDiscriminatorValue)); });
deserializerMap.put("reminderMinutesBeforeStart", (n) -> { this.setReminderMinutesBeforeStart(n.getIntegerValue()); });
deserializerMap.put("responseRequested", (n) -> { this.setResponseRequested(n.getBooleanValue()); });
deserializerMap.put("responseStatus", (n) -> { this.setResponseStatus(n.getObjectValue(ResponseStatus::createFromDiscriminatorValue)); });
deserializerMap.put("sensitivity", (n) -> { this.setSensitivity(n.getEnumValue(Sensitivity::forValue)); });
deserializerMap.put("seriesMasterId", (n) -> { this.setSeriesMasterId(n.getStringValue()); });
deserializerMap.put("showAs", (n) -> { this.setShowAs(n.getEnumValue(FreeBusyStatus::forValue)); });
deserializerMap.put("singleValueExtendedProperties", (n) -> { this.setSingleValueExtendedProperties(n.getCollectionOfObjectValues(SingleValueLegacyExtendedProperty::createFromDiscriminatorValue)); });
deserializerMap.put("start", (n) -> { this.setStart(n.getObjectValue(DateTimeTimeZone::createFromDiscriminatorValue)); });
deserializerMap.put("subject", (n) -> { this.setSubject(n.getStringValue()); });
deserializerMap.put("transactionId", (n) -> { this.setTransactionId(n.getStringValue()); });
deserializerMap.put("type", (n) -> { this.setType(n.getEnumValue(EventType::forValue)); });
deserializerMap.put("webLink", (n) -> { this.setWebLink(n.getStringValue()); });
return deserializerMap;
}
/**
* Gets the hasAttachments property value. Set to true if the event has attachments.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getHasAttachments() {
return this.backingStore.get("hasAttachments");
}
/**
* Gets the hideAttendees property value. When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. Default is false.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getHideAttendees() {
return this.backingStore.get("hideAttendees");
}
/**
* Gets the iCalUId property value. A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getICalUId() {
return this.backingStore.get("iCalUId");
}
/**
* Gets the importance property value. The importance of the event. The possible values are: low, normal, high.
* @return a {@link Importance}
*/
@jakarta.annotation.Nullable
public Importance getImportance() {
return this.backingStore.get("importance");
}
/**
* Gets the instances property value. The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getInstances() {
return this.backingStore.get("instances");
}
/**
* Gets the isAllDay property value. Set to true if the event lasts all day. If true, regardless of whether it's a single-day or multi-day event, start and end time must be set to midnight and be in the same time zone.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getIsAllDay() {
return this.backingStore.get("isAllDay");
}
/**
* Gets the isCancelled property value. Set to true if the event has been canceled.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getIsCancelled() {
return this.backingStore.get("isCancelled");
}
/**
* Gets the isDraft property value. Set to true if the user has updated the meeting in Outlook but has not sent the updates to attendees. Set to false if all changes have been sent, or if the event is an appointment without any attendees.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getIsDraft() {
return this.backingStore.get("isDraft");
}
/**
* Gets the isOnlineMeeting property value. True if this event has online meeting information (that is, onlineMeeting points to an onlineMeetingInfo resource), false otherwise. Default is false (onlineMeeting is null). Optional. After you set isOnlineMeeting to true, Microsoft Graph initializes onlineMeeting. Subsequently Outlook ignores any further changes to isOnlineMeeting, and the meeting remains available online.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getIsOnlineMeeting() {
return this.backingStore.get("isOnlineMeeting");
}
/**
* Gets the isOrganizer property value. Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). This also applies if a delegate organized the event on behalf of the owner.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getIsOrganizer() {
return this.backingStore.get("isOrganizer");
}
/**
* Gets the isReminderOn property value. Set to true if an alert is set to remind the user of the event.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getIsReminderOn() {
return this.backingStore.get("isReminderOn");
}
/**
* Gets the location property value. The location of the event.
* @return a {@link Location}
*/
@jakarta.annotation.Nullable
public Location getLocation() {
return this.backingStore.get("location");
}
/**
* Gets the locations property value. The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getLocations() {
return this.backingStore.get("locations");
}
/**
* Gets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the event. Read-only. Nullable.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getMultiValueExtendedProperties() {
return this.backingStore.get("multiValueExtendedProperties");
}
/**
* Gets the onlineMeeting property value. Details for an attendee to join the meeting online. Default is null. Read-only. After you set the isOnlineMeeting and onlineMeetingProvider properties to enable a meeting online, Microsoft Graph initializes onlineMeeting. When set, the meeting remains available online, and you cannot change the isOnlineMeeting, onlineMeetingProvider, and onlneMeeting properties again.
* @return a {@link OnlineMeetingInfo}
*/
@jakarta.annotation.Nullable
public OnlineMeetingInfo getOnlineMeeting() {
return this.backingStore.get("onlineMeeting");
}
/**
* Gets the onlineMeetingProvider property value. Represents the online meeting service provider. By default, onlineMeetingProvider is unknown. The possible values are unknown, teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional. After you set onlineMeetingProvider, Microsoft Graph initializes onlineMeeting. Subsequently you cannot change onlineMeetingProvider again, and the meeting remains available online.
* @return a {@link OnlineMeetingProviderType}
*/
@jakarta.annotation.Nullable
public OnlineMeetingProviderType getOnlineMeetingProvider() {
return this.backingStore.get("onlineMeetingProvider");
}
/**
* Gets the onlineMeetingUrl property value. A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getOnlineMeetingUrl() {
return this.backingStore.get("onlineMeetingUrl");
}
/**
* Gets the organizer property value. The organizer of the event.
* @return a {@link Recipient}
*/
@jakarta.annotation.Nullable
public Recipient getOrganizer() {
return this.backingStore.get("organizer");
}
/**
* Gets the originalEndTimeZone property value. The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getOriginalEndTimeZone() {
return this.backingStore.get("originalEndTimeZone");
}
/**
* Gets the originalStart property value. Represents the start time of an event when it is initially created as an occurrence or exception in a recurring series. This property is not returned for events that are single instances. Its date and time information is expressed in ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
* @return a {@link OffsetDateTime}
*/
@jakarta.annotation.Nullable
public OffsetDateTime getOriginalStart() {
return this.backingStore.get("originalStart");
}
/**
* Gets the originalStartTimeZone property value. The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getOriginalStartTimeZone() {
return this.backingStore.get("originalStartTimeZone");
}
/**
* Gets the recurrence property value. The recurrence pattern for the event.
* @return a {@link PatternedRecurrence}
*/
@jakarta.annotation.Nullable
public PatternedRecurrence getRecurrence() {
return this.backingStore.get("recurrence");
}
/**
* Gets the reminderMinutesBeforeStart property value. The number of minutes before the event start time that the reminder alert occurs.
* @return a {@link Integer}
*/
@jakarta.annotation.Nullable
public Integer getReminderMinutesBeforeStart() {
return this.backingStore.get("reminderMinutesBeforeStart");
}
/**
* Gets the responseRequested property value. Default is true, which represents the organizer would like an invitee to send a response to the event.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getResponseRequested() {
return this.backingStore.get("responseRequested");
}
/**
* Gets the responseStatus property value. Indicates the type of response sent in response to an event message.
* @return a {@link ResponseStatus}
*/
@jakarta.annotation.Nullable
public ResponseStatus getResponseStatus() {
return this.backingStore.get("responseStatus");
}
/**
* Gets the sensitivity property value. Possible values are: normal, personal, private, confidential.
* @return a {@link Sensitivity}
*/
@jakarta.annotation.Nullable
public Sensitivity getSensitivity() {
return this.backingStore.get("sensitivity");
}
/**
* Gets the seriesMasterId property value. The ID for the recurring series master item, if this event is part of a recurring series.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getSeriesMasterId() {
return this.backingStore.get("seriesMasterId");
}
/**
* Gets the showAs property value. The status to show. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown.
* @return a {@link FreeBusyStatus}
*/
@jakarta.annotation.Nullable
public FreeBusyStatus getShowAs() {
return this.backingStore.get("showAs");
}
/**
* Gets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the event. Read-only. Nullable.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getSingleValueExtendedProperties() {
return this.backingStore.get("singleValueExtendedProperties");
}
/**
* Gets the start property value. The start date, time, and time zone of the event. By default, the start time is in UTC.
* @return a {@link DateTimeTimeZone}
*/
@jakarta.annotation.Nullable
public DateTimeTimeZone getStart() {
return this.backingStore.get("start");
}
/**
* Gets the subject property value. The text of the event's subject line.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getSubject() {
return this.backingStore.get("subject");
}
/**
* Gets the transactionId property value. A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getTransactionId() {
return this.backingStore.get("transactionId");
}
/**
* Gets the type property value. The event type. Possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only
* @return a {@link EventType}
*/
@jakarta.annotation.Nullable
public EventType getType() {
return this.backingStore.get("type");
}
/**
* Gets the webLink property value. The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL cannot be accessed from within an iFrame.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getWebLink() {
return this.backingStore.get("webLink");
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
super.serialize(writer);
writer.writeBooleanValue("allowNewTimeProposals", this.getAllowNewTimeProposals());
writer.writeCollectionOfObjectValues("attachments", this.getAttachments());
writer.writeCollectionOfObjectValues("attendees", this.getAttendees());
writer.writeObjectValue("body", this.getBody());
writer.writeStringValue("bodyPreview", this.getBodyPreview());
writer.writeObjectValue("calendar", this.getCalendar());
writer.writeObjectValue("end", this.getEnd());
writer.writeCollectionOfObjectValues("extensions", this.getExtensions());
writer.writeBooleanValue("hasAttachments", this.getHasAttachments());
writer.writeBooleanValue("hideAttendees", this.getHideAttendees());
writer.writeStringValue("iCalUId", this.getICalUId());
writer.writeEnumValue("importance", this.getImportance());
writer.writeCollectionOfObjectValues("instances", this.getInstances());
writer.writeBooleanValue("isAllDay", this.getIsAllDay());
writer.writeBooleanValue("isCancelled", this.getIsCancelled());
writer.writeBooleanValue("isDraft", this.getIsDraft());
writer.writeBooleanValue("isOnlineMeeting", this.getIsOnlineMeeting());
writer.writeBooleanValue("isOrganizer", this.getIsOrganizer());
writer.writeBooleanValue("isReminderOn", this.getIsReminderOn());
writer.writeObjectValue("location", this.getLocation());
writer.writeCollectionOfObjectValues("locations", this.getLocations());
writer.writeCollectionOfObjectValues("multiValueExtendedProperties", this.getMultiValueExtendedProperties());
writer.writeObjectValue("onlineMeeting", this.getOnlineMeeting());
writer.writeEnumValue("onlineMeetingProvider", this.getOnlineMeetingProvider());
writer.writeStringValue("onlineMeetingUrl", this.getOnlineMeetingUrl());
writer.writeObjectValue("organizer", this.getOrganizer());
writer.writeStringValue("originalEndTimeZone", this.getOriginalEndTimeZone());
writer.writeOffsetDateTimeValue("originalStart", this.getOriginalStart());
writer.writeStringValue("originalStartTimeZone", this.getOriginalStartTimeZone());
writer.writeObjectValue("recurrence", this.getRecurrence());
writer.writeIntegerValue("reminderMinutesBeforeStart", this.getReminderMinutesBeforeStart());
writer.writeBooleanValue("responseRequested", this.getResponseRequested());
writer.writeObjectValue("responseStatus", this.getResponseStatus());
writer.writeEnumValue("sensitivity", this.getSensitivity());
writer.writeStringValue("seriesMasterId", this.getSeriesMasterId());
writer.writeEnumValue("showAs", this.getShowAs());
writer.writeCollectionOfObjectValues("singleValueExtendedProperties", this.getSingleValueExtendedProperties());
writer.writeObjectValue("start", this.getStart());
writer.writeStringValue("subject", this.getSubject());
writer.writeStringValue("transactionId", this.getTransactionId());
writer.writeEnumValue("type", this.getType());
writer.writeStringValue("webLink", this.getWebLink());
}
/**
* Sets the allowNewTimeProposals property value. true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. Default is true.
* @param value Value to set for the allowNewTimeProposals property.
*/
public void setAllowNewTimeProposals(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("allowNewTimeProposals", value);
}
/**
* Sets the attachments property value. The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
* @param value Value to set for the attachments property.
*/
public void setAttachments(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("attachments", value);
}
/**
* Sets the attendees property value. The collection of attendees for the event.
* @param value Value to set for the attendees property.
*/
public void setAttendees(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("attendees", value);
}
/**
* Sets the body property value. The body of the message associated with the event. It can be in HTML or text format.
* @param value Value to set for the body property.
*/
public void setBody(@jakarta.annotation.Nullable final ItemBody value) {
this.backingStore.set("body", value);
}
/**
* Sets the bodyPreview property value. The preview of the message associated with the event. It is in text format.
* @param value Value to set for the bodyPreview property.
*/
public void setBodyPreview(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("bodyPreview", value);
}
/**
* Sets the calendar property value. The calendar that contains the event. Navigation property. Read-only.
* @param value Value to set for the calendar property.
*/
public void setCalendar(@jakarta.annotation.Nullable final Calendar value) {
this.backingStore.set("calendar", value);
}
/**
* Sets the end property value. The date, time, and time zone that the event ends. By default, the end time is in UTC.
* @param value Value to set for the end property.
*/
public void setEnd(@jakarta.annotation.Nullable final DateTimeTimeZone value) {
this.backingStore.set("end", value);
}
/**
* Sets the extensions property value. The collection of open extensions defined for the event. Nullable.
* @param value Value to set for the extensions property.
*/
public void setExtensions(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("extensions", value);
}
/**
* Sets the hasAttachments property value. Set to true if the event has attachments.
* @param value Value to set for the hasAttachments property.
*/
public void setHasAttachments(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("hasAttachments", value);
}
/**
* Sets the hideAttendees property value. When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. Default is false.
* @param value Value to set for the hideAttendees property.
*/
public void setHideAttendees(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("hideAttendees", value);
}
/**
* Sets the iCalUId property value. A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only.
* @param value Value to set for the iCalUId property.
*/
public void setICalUId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("iCalUId", value);
}
/**
* Sets the importance property value. The importance of the event. The possible values are: low, normal, high.
* @param value Value to set for the importance property.
*/
public void setImportance(@jakarta.annotation.Nullable final Importance value) {
this.backingStore.set("importance", value);
}
/**
* Sets the instances property value. The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable.
* @param value Value to set for the instances property.
*/
public void setInstances(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("instances", value);
}
/**
* Sets the isAllDay property value. Set to true if the event lasts all day. If true, regardless of whether it's a single-day or multi-day event, start and end time must be set to midnight and be in the same time zone.
* @param value Value to set for the isAllDay property.
*/
public void setIsAllDay(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("isAllDay", value);
}
/**
* Sets the isCancelled property value. Set to true if the event has been canceled.
* @param value Value to set for the isCancelled property.
*/
public void setIsCancelled(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("isCancelled", value);
}
/**
* Sets the isDraft property value. Set to true if the user has updated the meeting in Outlook but has not sent the updates to attendees. Set to false if all changes have been sent, or if the event is an appointment without any attendees.
* @param value Value to set for the isDraft property.
*/
public void setIsDraft(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("isDraft", value);
}
/**
* Sets the isOnlineMeeting property value. True if this event has online meeting information (that is, onlineMeeting points to an onlineMeetingInfo resource), false otherwise. Default is false (onlineMeeting is null). Optional. After you set isOnlineMeeting to true, Microsoft Graph initializes onlineMeeting. Subsequently Outlook ignores any further changes to isOnlineMeeting, and the meeting remains available online.
* @param value Value to set for the isOnlineMeeting property.
*/
public void setIsOnlineMeeting(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("isOnlineMeeting", value);
}
/**
* Sets the isOrganizer property value. Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). This also applies if a delegate organized the event on behalf of the owner.
* @param value Value to set for the isOrganizer property.
*/
public void setIsOrganizer(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("isOrganizer", value);
}
/**
* Sets the isReminderOn property value. Set to true if an alert is set to remind the user of the event.
* @param value Value to set for the isReminderOn property.
*/
public void setIsReminderOn(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("isReminderOn", value);
}
/**
* Sets the location property value. The location of the event.
* @param value Value to set for the location property.
*/
public void setLocation(@jakarta.annotation.Nullable final Location value) {
this.backingStore.set("location", value);
}
/**
* Sets the locations property value. The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value.
* @param value Value to set for the locations property.
*/
public void setLocations(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("locations", value);
}
/**
* Sets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the event. Read-only. Nullable.
* @param value Value to set for the multiValueExtendedProperties property.
*/
public void setMultiValueExtendedProperties(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("multiValueExtendedProperties", value);
}
/**
* Sets the onlineMeeting property value. Details for an attendee to join the meeting online. Default is null. Read-only. After you set the isOnlineMeeting and onlineMeetingProvider properties to enable a meeting online, Microsoft Graph initializes onlineMeeting. When set, the meeting remains available online, and you cannot change the isOnlineMeeting, onlineMeetingProvider, and onlneMeeting properties again.
* @param value Value to set for the onlineMeeting property.
*/
public void setOnlineMeeting(@jakarta.annotation.Nullable final OnlineMeetingInfo value) {
this.backingStore.set("onlineMeeting", value);
}
/**
* Sets the onlineMeetingProvider property value. Represents the online meeting service provider. By default, onlineMeetingProvider is unknown. The possible values are unknown, teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional. After you set onlineMeetingProvider, Microsoft Graph initializes onlineMeeting. Subsequently you cannot change onlineMeetingProvider again, and the meeting remains available online.
* @param value Value to set for the onlineMeetingProvider property.
*/
public void setOnlineMeetingProvider(@jakarta.annotation.Nullable final OnlineMeetingProviderType value) {
this.backingStore.set("onlineMeetingProvider", value);
}
/**
* Sets the onlineMeetingUrl property value. A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future.
* @param value Value to set for the onlineMeetingUrl property.
*/
public void setOnlineMeetingUrl(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("onlineMeetingUrl", value);
}
/**
* Sets the organizer property value. The organizer of the event.
* @param value Value to set for the organizer property.
*/
public void setOrganizer(@jakarta.annotation.Nullable final Recipient value) {
this.backingStore.set("organizer", value);
}
/**
* Sets the originalEndTimeZone property value. The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook.
* @param value Value to set for the originalEndTimeZone property.
*/
public void setOriginalEndTimeZone(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("originalEndTimeZone", value);
}
/**
* Sets the originalStart property value. Represents the start time of an event when it is initially created as an occurrence or exception in a recurring series. This property is not returned for events that are single instances. Its date and time information is expressed in ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
* @param value Value to set for the originalStart property.
*/
public void setOriginalStart(@jakarta.annotation.Nullable final OffsetDateTime value) {
this.backingStore.set("originalStart", value);
}
/**
* Sets the originalStartTimeZone property value. The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook.
* @param value Value to set for the originalStartTimeZone property.
*/
public void setOriginalStartTimeZone(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("originalStartTimeZone", value);
}
/**
* Sets the recurrence property value. The recurrence pattern for the event.
* @param value Value to set for the recurrence property.
*/
public void setRecurrence(@jakarta.annotation.Nullable final PatternedRecurrence value) {
this.backingStore.set("recurrence", value);
}
/**
* Sets the reminderMinutesBeforeStart property value. The number of minutes before the event start time that the reminder alert occurs.
* @param value Value to set for the reminderMinutesBeforeStart property.
*/
public void setReminderMinutesBeforeStart(@jakarta.annotation.Nullable final Integer value) {
this.backingStore.set("reminderMinutesBeforeStart", value);
}
/**
* Sets the responseRequested property value. Default is true, which represents the organizer would like an invitee to send a response to the event.
* @param value Value to set for the responseRequested property.
*/
public void setResponseRequested(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("responseRequested", value);
}
/**
* Sets the responseStatus property value. Indicates the type of response sent in response to an event message.
* @param value Value to set for the responseStatus property.
*/
public void setResponseStatus(@jakarta.annotation.Nullable final ResponseStatus value) {
this.backingStore.set("responseStatus", value);
}
/**
* Sets the sensitivity property value. Possible values are: normal, personal, private, confidential.
* @param value Value to set for the sensitivity property.
*/
public void setSensitivity(@jakarta.annotation.Nullable final Sensitivity value) {
this.backingStore.set("sensitivity", value);
}
/**
* Sets the seriesMasterId property value. The ID for the recurring series master item, if this event is part of a recurring series.
* @param value Value to set for the seriesMasterId property.
*/
public void setSeriesMasterId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("seriesMasterId", value);
}
/**
* Sets the showAs property value. The status to show. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown.
* @param value Value to set for the showAs property.
*/
public void setShowAs(@jakarta.annotation.Nullable final FreeBusyStatus value) {
this.backingStore.set("showAs", value);
}
/**
* Sets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the event. Read-only. Nullable.
* @param value Value to set for the singleValueExtendedProperties property.
*/
public void setSingleValueExtendedProperties(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("singleValueExtendedProperties", value);
}
/**
* Sets the start property value. The start date, time, and time zone of the event. By default, the start time is in UTC.
* @param value Value to set for the start property.
*/
public void setStart(@jakarta.annotation.Nullable final DateTimeTimeZone value) {
this.backingStore.set("start", value);
}
/**
* Sets the subject property value. The text of the event's subject line.
* @param value Value to set for the subject property.
*/
public void setSubject(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("subject", value);
}
/**
* Sets the transactionId property value. A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional.
* @param value Value to set for the transactionId property.
*/
public void setTransactionId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("transactionId", value);
}
/**
* Sets the type property value. The event type. Possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only
* @param value Value to set for the type property.
*/
public void setType(@jakarta.annotation.Nullable final EventType value) {
this.backingStore.set("type", value);
}
/**
* Sets the webLink property value. The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL cannot be accessed from within an iFrame.
* @param value Value to set for the webLink property.
*/
public void setWebLink(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("webLink", value);
}
}