Class MicrosoftGraphScheduleItem
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScheduleItem
-
public final class MicrosoftGraphScheduleItem extends Object
scheduleItem.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphScheduleItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: scheduleItem.MicrosoftGraphDateTimeZoneend()Get the end property: dateTimeTimeZone.BooleanisPrivate()Get the isPrivate property: The sensitivity of the corresponding event.Stringlocation()Get the location property: The location where the corresponding event is held or attended from.MicrosoftGraphDateTimeZonestart()Get the start property: dateTimeTimeZone.MicrosoftGraphFreeBusyStatusstatus()Get the status property: The status property.Stringsubject()Get the subject property: The corresponding event's subject line.voidvalidate()Validates the instance.MicrosoftGraphScheduleItemwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: scheduleItem.MicrosoftGraphScheduleItemwithEnd(MicrosoftGraphDateTimeZone end)Set the end property: dateTimeTimeZone.MicrosoftGraphScheduleItemwithIsPrivate(Boolean isPrivate)Set the isPrivate property: The sensitivity of the corresponding event.MicrosoftGraphScheduleItemwithLocation(String location)Set the location property: The location where the corresponding event is held or attended from.MicrosoftGraphScheduleItemwithStart(MicrosoftGraphDateTimeZone start)Set the start property: dateTimeTimeZone.MicrosoftGraphScheduleItemwithStatus(MicrosoftGraphFreeBusyStatus status)Set the status property: The status property.MicrosoftGraphScheduleItemwithSubject(String subject)Set the subject property: The corresponding event's subject line.
-
-
-
Method Detail
-
end
public MicrosoftGraphDateTimeZone end()
Get the end property: dateTimeTimeZone.- Returns:
- the end value.
-
withEnd
public MicrosoftGraphScheduleItem withEnd(MicrosoftGraphDateTimeZone end)
Set the end property: dateTimeTimeZone.- Parameters:
end- the end value to set.- Returns:
- the MicrosoftGraphScheduleItem object itself.
-
isPrivate
public Boolean isPrivate()
Get the isPrivate property: The sensitivity of the corresponding event. True if the event is marked private, false otherwise. Optional.- Returns:
- the isPrivate value.
-
withIsPrivate
public MicrosoftGraphScheduleItem withIsPrivate(Boolean isPrivate)
Set the isPrivate property: The sensitivity of the corresponding event. True if the event is marked private, false otherwise. Optional.- Parameters:
isPrivate- the isPrivate value to set.- Returns:
- the MicrosoftGraphScheduleItem object itself.
-
location
public String location()
Get the location property: The location where the corresponding event is held or attended from. Optional.- Returns:
- the location value.
-
withLocation
public MicrosoftGraphScheduleItem withLocation(String location)
Set the location property: The location where the corresponding event is held or attended from. Optional.- Parameters:
location- the location value to set.- Returns:
- the MicrosoftGraphScheduleItem object itself.
-
start
public MicrosoftGraphDateTimeZone start()
Get the start property: dateTimeTimeZone.- Returns:
- the start value.
-
withStart
public MicrosoftGraphScheduleItem withStart(MicrosoftGraphDateTimeZone start)
Set the start property: dateTimeTimeZone.- Parameters:
start- the start value to set.- Returns:
- the MicrosoftGraphScheduleItem object itself.
-
status
public MicrosoftGraphFreeBusyStatus status()
Get the status property: The status property.- Returns:
- the status value.
-
withStatus
public MicrosoftGraphScheduleItem withStatus(MicrosoftGraphFreeBusyStatus status)
Set the status property: The status property.- Parameters:
status- the status value to set.- Returns:
- the MicrosoftGraphScheduleItem object itself.
-
subject
public String subject()
Get the subject property: The corresponding event's subject line. Optional.- Returns:
- the subject value.
-
withSubject
public MicrosoftGraphScheduleItem withSubject(String subject)
Set the subject property: The corresponding event's subject line. Optional.- Parameters:
subject- the subject value to set.- Returns:
- the MicrosoftGraphScheduleItem object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: scheduleItem.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphScheduleItem withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: scheduleItem.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphScheduleItem object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-