你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphEvent Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOutlookItem - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEvent
- com.
- com.
- com.
public final class MicrosoftGraphEvent
extends MicrosoftGraphOutlookItem
event.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphEvent() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Boolean |
allowNewTimeProposals()
Get the allow |
List<Microsoft |
attachments()
Get the attachments property: The collection of file |
List<Microsoft |
attendees()
Get the attendees property: The collection of attendees for the event. |
Microsoft |
body()
Get the body property: item |
String |
bodyPreview()
Get the body |
Microsoft |
calendar()
Get the calendar property: calendar. |
Microsoft |
end()
Get the end property: date |
List<Microsoft |
extensions()
Get the extensions property: The collection of open extensions defined for the event. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
hasAttachments()
Get the has |
Boolean |
hideAttendees()
Get the hide |
String |
iCalUId()
Get the i |
Microsoft |
importance()
Get the importance property: importance. |
List<Microsoft |
instances()
Get the instances property: The instances of the event. |
Boolean |
isAllDay()
Get the is |
Boolean |
isCancelled()
Get the is |
Boolean |
isDraft()
Get the is |
Boolean |
isOnlineMeeting()
Get the is |
Boolean |
isOrganizer()
Get the is |
Boolean |
isReminderOn()
Get the is |
Microsoft |
location()
Get the location property: location. |
List<Microsoft |
locations()
Get the locations property: The locations where the event is held or attended from. |
List<Microsoft |
multiValueExtendedProperties()
Get the multi |
Microsoft |
onlineMeeting()
Get the online |
Microsoft |
onlineMeetingProvider()
Get the online |
String |
onlineMeetingUrl()
Get the online |
Microsoft |
organizer()
Get the organizer property: recipient. |
String |
originalEndTimeZone()
Get the original |
Offset |
originalStart()
Get the original |
String |
originalStartTimeZone()
Get the original |
Microsoft |
recurrence()
Get the recurrence property: patterned |
Integer |
reminderMinutesBeforeStart()
Get the reminder |
Boolean |
responseRequested()
Get the response |
Microsoft |
responseStatus()
Get the response |
Microsoft |
sensitivity()
Get the sensitivity property: sensitivity. |
String |
seriesMasterId()
Get the series |
Microsoft |
showAs()
Get the show |
List<Microsoft |
singleValueExtendedProperties()
Get the single |
Microsoft |
start()
Get the start property: date |
String |
subject()
Get the subject property: The text of the event's subject line. |
Json |
toJson(JsonWriter jsonWriter) |
String |
transactionId()
Get the transaction |
Microsoft |
type()
Get the type property: event |
void |
validate()
Validates the instance. |
String |
webLink()
Get the web |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAllowNewTimeProposals(Boolean allowNewTimeProposals)
Set the allow |
Microsoft |
withAttachments(List<MicrosoftGraphAttachment> attachments)
Set the attachments property: The collection of file |
Microsoft |
withAttendees(List<MicrosoftGraphAttendee> attendees)
Set the attendees property: The collection of attendees for the event. |
Microsoft |
withBody(MicrosoftGraphItemBody body)
Set the body property: item |
Microsoft |
withBodyPreview(String bodyPreview)
Set the body |
Microsoft |
withCalendar(MicrosoftGraphCalendar calendar)
Set the calendar property: calendar. |
Microsoft |
withCategories(List<String> categories)
Set the categories property: The categories associated with the item. |
Microsoft |
withChangeKey(String changeKey)
Set the change |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withEnd(MicrosoftGraphDateTimeZone end)
Set the end property: date |
Microsoft |
withExtensions(List<MicrosoftGraphExtension> extensions)
Set the extensions property: The collection of open extensions defined for the event. |
Microsoft |
withHasAttachments(Boolean hasAttachments)
Set the has |
Microsoft |
withHideAttendees(Boolean hideAttendees)
Set the hide |
Microsoft |
withICalUId(String iCalUId)
Set the i |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withImportance(MicrosoftGraphImportance importance)
Set the importance property: importance. |
Microsoft |
withInstances(List<MicrosoftGraphEvent> instances)
Set the instances property: The instances of the event. |
Microsoft |
withIsAllDay(Boolean isAllDay)
Set the is |
Microsoft |
withIsCancelled(Boolean isCancelled)
Set the is |
Microsoft |
withIsDraft(Boolean isDraft)
Set the is |
Microsoft |
withIsOnlineMeeting(Boolean isOnlineMeeting)
Set the is |
Microsoft |
withIsOrganizer(Boolean isOrganizer)
Set the is |
Microsoft |
withIsReminderOn(Boolean isReminderOn)
Set the is |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Microsoft |
withLocation(MicrosoftGraphLocation location)
Set the location property: location. |
Microsoft |
withLocations(List<MicrosoftGraphLocation> locations)
Set the locations property: The locations where the event is held or attended from. |
Microsoft |
withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)
Set the multi |
Microsoft |
withOnlineMeeting(MicrosoftGraphOnlineMeetingInfo onlineMeeting)
Set the online |
Microsoft |
withOnlineMeetingProvider(MicrosoftGraphOnlineMeetingProviderType onlineMeetingProvider)
Set the online |
Microsoft |
withOnlineMeetingUrl(String onlineMeetingUrl)
Set the online |
Microsoft |
withOrganizer(MicrosoftGraphRecipient organizer)
Set the organizer property: recipient. |
Microsoft |
withOriginalEndTimeZone(String originalEndTimeZone)
Set the original |
Microsoft |
withOriginalStart(OffsetDateTime originalStart)
Set the original |
Microsoft |
withOriginalStartTimeZone(String originalStartTimeZone)
Set the original |
Microsoft |
withRecurrence(MicrosoftGraphPatternedRecurrence recurrence)
Set the recurrence property: patterned |
Microsoft |
withReminderMinutesBeforeStart(Integer reminderMinutesBeforeStart)
Set the reminder |
Microsoft |
withResponseRequested(Boolean responseRequested)
Set the response |
Microsoft |
withResponseStatus(MicrosoftGraphResponseStatus responseStatus)
Set the response |
Microsoft |
withSensitivity(MicrosoftGraphSensitivity sensitivity)
Set the sensitivity property: sensitivity. |
Microsoft |
withSeriesMasterId(String seriesMasterId)
Set the series |
Microsoft |
withShowAs(MicrosoftGraphFreeBusyStatus showAs)
Set the show |
Microsoft |
withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)
Set the single |
Microsoft |
withStart(MicrosoftGraphDateTimeZone start)
Set the start property: date |
Microsoft |
withSubject(String subject)
Set the subject property: The text of the event's subject line. |
Microsoft |
withTransactionId(String transactionId)
Set the transaction |
Microsoft |
withType(MicrosoftGraphEventType type)
Set the type property: event |
Microsoft |
withWebLink(String webLink)
Set the web |
Methods inherited from MicrosoftGraphEntity
Methods inherited from MicrosoftGraphOutlookItem
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphEvent
public MicrosoftGraphEvent()
Creates an instance of MicrosoftGraphEvent class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: event.
Overrides:
MicrosoftGraphEvent.additionalProperties()Returns:
allowNewTimeProposals
public Boolean allowNewTimeProposals()
Get the allowNewTimeProposals property: True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true.
Returns:
attachments
public List
Get the attachments property: The collection of fileAttachment and itemAttachment attachments for the event. Navigation property. Read-only. Nullable.
Returns:
attendees
public List
Get the attendees property: The collection of attendees for the event.
Returns:
body
public MicrosoftGraphItemBody body()
Get the body property: itemBody.
Returns:
bodyPreview
public String bodyPreview()
Get the bodyPreview property: The preview of the message associated with the event. It is in text format.
Returns:
calendar
public MicrosoftGraphCalendar calendar()
Get the calendar property: calendar.
Returns:
end
public MicrosoftGraphDateTimeZone end()
Get the end property: dateTimeTimeZone.
Returns:
extensions
public List
Get the extensions property: The collection of open extensions defined for the event. Read-only. Nullable.
Returns:
fromJson
public static MicrosoftGraphEvent fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphEvent from the JsonReader.
Parameters:
Returns:
Throws:
hasAttachments
public Boolean hasAttachments()
Get the hasAttachments property: Set to true if the event has attachments.
Returns:
hideAttendees
public Boolean hideAttendees()
Get the hideAttendees property: The hideAttendees property.
Returns:
iCalUId
public String iCalUId()
Get the iCalUId property: A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only.
Returns:
importance
public MicrosoftGraphImportance importance()
Get the importance property: importance.
Returns:
instances
public List
Get the instances property: The instances of the event. Navigation property. Read-only. Nullable.
Returns:
isAllDay
public Boolean isAllDay()
Get the isAllDay property: Set to true if the event lasts all day.
Returns:
isCancelled
public Boolean isCancelled()
Get the isCancelled property: Set to true if the event has been canceled.
Returns:
isDraft
public Boolean isDraft()
Get the isDraft property: The isDraft property.
Returns:
isOnlineMeeting
public Boolean isOnlineMeeting()
Get the isOnlineMeeting property: True if this event has online meeting information, false otherwise. Default is false. Optional.
Returns:
isOrganizer
public Boolean isOrganizer()
Get the isOrganizer property: 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.
Returns:
isReminderOn
public Boolean isReminderOn()
Get the isReminderOn property: Set to true if an alert is set to remind the user of the event.
Returns:
location
public MicrosoftGraphLocation location()
Get the location property: location.
Returns:
locations
public List
Get the locations property: 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.
Returns:
multiValueExtendedProperties
public List
Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the event. Read-only. Nullable.
Returns:
onlineMeeting
public MicrosoftGraphOnlineMeetingInfo onlineMeeting()
Get the onlineMeeting property: onlineMeetingInfo.
Returns:
onlineMeetingProvider
public MicrosoftGraphOnlineMeetingProviderType onlineMeetingProvider()
Get the onlineMeetingProvider property: onlineMeetingProviderType.
Returns:
onlineMeetingUrl
public String onlineMeetingUrl()
Get the onlineMeetingUrl property: A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only.
Returns:
organizer
public MicrosoftGraphRecipient organizer()
Get the organizer property: recipient.
Returns:
originalEndTimeZone
public String originalEndTimeZone()
Get the originalEndTimeZone property: 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.
Returns:
originalStart
public OffsetDateTime originalStart()
Get the originalStart property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
Returns:
originalStartTimeZone
public String originalStartTimeZone()
Get the originalStartTimeZone property: 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.
Returns:
recurrence
public MicrosoftGraphPatternedRecurrence recurrence()
Get the recurrence property: patternedRecurrence.
Returns:
reminderMinutesBeforeStart
public Integer reminderMinutesBeforeStart()
Get the reminderMinutesBeforeStart property: The number of minutes before the event start time that the reminder alert occurs.
Returns:
responseRequested
public Boolean responseRequested()
Get the responseRequested property: Default is true, which represents the organizer would like an invitee to send a response to the event.
Returns:
responseStatus
public MicrosoftGraphResponseStatus responseStatus()
Get the responseStatus property: responseStatus.
Returns:
sensitivity
public MicrosoftGraphSensitivity sensitivity()
Get the sensitivity property: sensitivity.
Returns:
seriesMasterId
public String seriesMasterId()
Get the seriesMasterId property: The ID for the recurring series master item, if this event is part of a recurring series.
Returns:
showAs
public MicrosoftGraphFreeBusyStatus showAs()
Get the showAs property: freeBusyStatus.
Returns:
singleValueExtendedProperties
public List
Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the event. Read-only. Nullable.
Returns:
start
public MicrosoftGraphDateTimeZone start()
Get the start property: dateTimeTimeZone.
Returns:
subject
public String subject()
Get the subject property: The text of the event's subject line.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphEvent.toJson(JsonWriter jsonWriter)Parameters:
Throws:
transactionId
public String transactionId()
Get the transactionId property: 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.
Returns:
type
public MicrosoftGraphEventType type()
Get the type property: eventType.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphEvent.validate()webLink
public String webLink()
Get the webLink property: 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.
Returns:
withAdditionalProperties
public MicrosoftGraphEvent withAdditionalProperties(Map
Set the additionalProperties property: event.
Overrides:
MicrosoftGraphEvent.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAllowNewTimeProposals
public MicrosoftGraphEvent withAllowNewTimeProposals(Boolean allowNewTimeProposals)
Set the allowNewTimeProposals property: True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true.
Parameters:
Returns:
withAttachments
public MicrosoftGraphEvent withAttachments(List
Set the attachments property: The collection of fileAttachment and itemAttachment attachments for the event. Navigation property. Read-only. Nullable.
Parameters:
Returns:
withAttendees
public MicrosoftGraphEvent withAttendees(List
Set the attendees property: The collection of attendees for the event.
Parameters:
Returns:
withBody
public MicrosoftGraphEvent withBody(MicrosoftGraphItemBody body)
Set the body property: itemBody.
Parameters:
Returns:
withBodyPreview
public MicrosoftGraphEvent withBodyPreview(String bodyPreview)
Set the bodyPreview property: The preview of the message associated with the event. It is in text format.
Parameters:
Returns:
withCalendar
public MicrosoftGraphEvent withCalendar(MicrosoftGraphCalendar calendar)
Set the calendar property: calendar.
Parameters:
Returns:
withCategories
public MicrosoftGraphEvent withCategories(List
Set the categories property: The categories associated with the item.
Overrides:
MicrosoftGraphEvent.withCategories(List<String> categories)Parameters:
withChangeKey
public MicrosoftGraphEvent withChangeKey(String changeKey)
Set the changeKey property: Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
Overrides:
MicrosoftGraphEvent.withChangeKey(String changeKey)Parameters:
withCreatedDateTime
public MicrosoftGraphEvent withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
Overrides:
MicrosoftGraphEvent.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withEnd
public MicrosoftGraphEvent withEnd(MicrosoftGraphDateTimeZone end)
Set the end property: dateTimeTimeZone.
Parameters:
Returns:
withExtensions
public MicrosoftGraphEvent withExtensions(List
Set the extensions property: The collection of open extensions defined for the event. Read-only. Nullable.
Parameters:
Returns:
withHasAttachments
public MicrosoftGraphEvent withHasAttachments(Boolean hasAttachments)
Set the hasAttachments property: Set to true if the event has attachments.
Parameters:
Returns:
withHideAttendees
public MicrosoftGraphEvent withHideAttendees(Boolean hideAttendees)
Set the hideAttendees property: The hideAttendees property.
Parameters:
Returns:
withICalUId
public MicrosoftGraphEvent withICalUId(String iCalUId)
Set the iCalUId property: A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only.
Parameters:
Returns:
withId
public MicrosoftGraphEvent withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphEvent.withId(String id)Parameters:
withImportance
public MicrosoftGraphEvent withImportance(MicrosoftGraphImportance importance)
Set the importance property: importance.
Parameters:
Returns:
withInstances
public MicrosoftGraphEvent withInstances(List
Set the instances property: The instances of the event. Navigation property. Read-only. Nullable.
Parameters:
Returns:
withIsAllDay
public MicrosoftGraphEvent withIsAllDay(Boolean isAllDay)
Set the isAllDay property: Set to true if the event lasts all day.
Parameters:
Returns:
withIsCancelled
public MicrosoftGraphEvent withIsCancelled(Boolean isCancelled)
Set the isCancelled property: Set to true if the event has been canceled.
Parameters:
Returns:
withIsDraft
public MicrosoftGraphEvent withIsDraft(Boolean isDraft)
Set the isDraft property: The isDraft property.
Parameters:
Returns:
withIsOnlineMeeting
public MicrosoftGraphEvent withIsOnlineMeeting(Boolean isOnlineMeeting)
Set the isOnlineMeeting property: True if this event has online meeting information, false otherwise. Default is false. Optional.
Parameters:
Returns:
withIsOrganizer
public MicrosoftGraphEvent withIsOrganizer(Boolean isOrganizer)
Set the isOrganizer property: 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.
Parameters:
Returns:
withIsReminderOn
public MicrosoftGraphEvent withIsReminderOn(Boolean isReminderOn)
Set the isReminderOn property: Set to true if an alert is set to remind the user of the event.
Parameters:
Returns:
withLastModifiedDateTime
public MicrosoftGraphEvent withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
Overrides:
MicrosoftGraphEvent.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters:
withLocation
public MicrosoftGraphEvent withLocation(MicrosoftGraphLocation location)
Set the location property: location.
Parameters:
Returns:
withLocations
public MicrosoftGraphEvent withLocations(List
Set the locations property: 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.
Parameters:
Returns:
withMultiValueExtendedProperties
public MicrosoftGraphEvent withMultiValueExtendedProperties(List
Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the event. Read-only. Nullable.
Parameters:
Returns:
withOnlineMeeting
public MicrosoftGraphEvent withOnlineMeeting(MicrosoftGraphOnlineMeetingInfo onlineMeeting)
Set the onlineMeeting property: onlineMeetingInfo.
Parameters:
Returns:
withOnlineMeetingProvider
public MicrosoftGraphEvent withOnlineMeetingProvider(MicrosoftGraphOnlineMeetingProviderType onlineMeetingProvider)
Set the onlineMeetingProvider property: onlineMeetingProviderType.
Parameters:
Returns:
withOnlineMeetingUrl
public MicrosoftGraphEvent withOnlineMeetingUrl(String onlineMeetingUrl)
Set the onlineMeetingUrl property: A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only.
Parameters:
Returns:
withOrganizer
public MicrosoftGraphEvent withOrganizer(MicrosoftGraphRecipient organizer)
Set the organizer property: recipient.
Parameters:
Returns:
withOriginalEndTimeZone
public MicrosoftGraphEvent withOriginalEndTimeZone(String originalEndTimeZone)
Set the originalEndTimeZone property: 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.
Parameters:
Returns:
withOriginalStart
public MicrosoftGraphEvent withOriginalStart(OffsetDateTime originalStart)
Set the originalStart property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
Parameters:
Returns:
withOriginalStartTimeZone
public MicrosoftGraphEvent withOriginalStartTimeZone(String originalStartTimeZone)
Set the originalStartTimeZone property: 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.
Parameters:
Returns:
withRecurrence
public MicrosoftGraphEvent withRecurrence(MicrosoftGraphPatternedRecurrence recurrence)
Set the recurrence property: patternedRecurrence.
Parameters:
Returns:
withReminderMinutesBeforeStart
public MicrosoftGraphEvent withReminderMinutesBeforeStart(Integer reminderMinutesBeforeStart)
Set the reminderMinutesBeforeStart property: The number of minutes before the event start time that the reminder alert occurs.
Parameters:
Returns:
withResponseRequested
public MicrosoftGraphEvent withResponseRequested(Boolean responseRequested)
Set the responseRequested property: Default is true, which represents the organizer would like an invitee to send a response to the event.
Parameters:
Returns:
withResponseStatus
public MicrosoftGraphEvent withResponseStatus(MicrosoftGraphResponseStatus responseStatus)
Set the responseStatus property: responseStatus.
Parameters:
Returns:
withSensitivity
public MicrosoftGraphEvent withSensitivity(MicrosoftGraphSensitivity sensitivity)
Set the sensitivity property: sensitivity.
Parameters:
Returns:
withSeriesMasterId
public MicrosoftGraphEvent withSeriesMasterId(String seriesMasterId)
Set the seriesMasterId property: The ID for the recurring series master item, if this event is part of a recurring series.
Parameters:
Returns:
withShowAs
public MicrosoftGraphEvent withShowAs(MicrosoftGraphFreeBusyStatus showAs)
Set the showAs property: freeBusyStatus.
Parameters:
Returns:
withSingleValueExtendedProperties
public MicrosoftGraphEvent withSingleValueExtendedProperties(List
Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the event. Read-only. Nullable.
Parameters:
Returns:
withStart
public MicrosoftGraphEvent withStart(MicrosoftGraphDateTimeZone start)
Set the start property: dateTimeTimeZone.
Parameters:
Returns:
withSubject
public MicrosoftGraphEvent withSubject(String subject)
Set the subject property: The text of the event's subject line.
Parameters:
Returns:
withTransactionId
public MicrosoftGraphEvent withTransactionId(String transactionId)
Set the transactionId property: 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.
Parameters:
Returns:
withType
public MicrosoftGraphEvent withType(MicrosoftGraphEventType type)
Set the type property: eventType.
Parameters:
Returns:
withWebLink
public MicrosoftGraphEvent withWebLink(String webLink)
Set the webLink property: 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.
Parameters:
Returns: