Class Calendar
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.Calendar
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Calendar extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCalendar.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<OnlineMeetingProviderType>allowedOnlineMeetingProvidersprotected StringallowedOnlineMeetingProvidersNextLinkprotected StringcalendarGroupIdprotected BooleancanEditprotected BooleancanShareprotected BooleancanViewPrivateItemsprotected StringchangeKeyprotected CalendarColorcolorprotected OnlineMeetingProviderTypedefaultOnlineMeetingProviderprotected StringhexColorprotected BooleanisDefaultCalendarprotected BooleanisRemovableprotected BooleanisSharedprotected BooleanisSharedWithMeprotected BooleanisTallyingResponsesprotected Stringnameprotected EmailAddressowner-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCalendar()
-
Method Summary
-
-
-
Field Detail
-
allowedOnlineMeetingProviders
protected List<OnlineMeetingProviderType> allowedOnlineMeetingProviders
-
allowedOnlineMeetingProvidersNextLink
protected String allowedOnlineMeetingProvidersNextLink
-
calendarGroupId
protected String calendarGroupId
-
canEdit
protected Boolean canEdit
-
canShare
protected Boolean canShare
-
canViewPrivateItems
protected Boolean canViewPrivateItems
-
changeKey
protected String changeKey
-
color
protected CalendarColor color
-
defaultOnlineMeetingProvider
protected OnlineMeetingProviderType defaultOnlineMeetingProvider
-
hexColor
protected String hexColor
-
isDefaultCalendar
protected Boolean isDefaultCalendar
-
isRemovable
protected Boolean isRemovable
-
isShared
protected Boolean isShared
-
isSharedWithMe
protected Boolean isSharedWithMe
-
isTallyingResponses
protected Boolean isTallyingResponses
-
name
protected String name
-
owner
protected EmailAddress owner
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderCalendar
public static Calendar.Builder builderCalendar()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getAllowedOnlineMeetingProviders
public com.github.davidmoten.odata.client.CollectionPage<OnlineMeetingProviderType> getAllowedOnlineMeetingProviders()
-
withAllowedOnlineMeetingProviders
public Calendar withAllowedOnlineMeetingProviders(List<OnlineMeetingProviderType> allowedOnlineMeetingProviders)
-
getAllowedOnlineMeetingProviders
public com.github.davidmoten.odata.client.CollectionPage<OnlineMeetingProviderType> getAllowedOnlineMeetingProviders(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getColor
public Optional<CalendarColor> getColor()
-
withColor
public Calendar withColor(CalendarColor color)
-
getDefaultOnlineMeetingProvider
public Optional<OnlineMeetingProviderType> getDefaultOnlineMeetingProvider()
-
withDefaultOnlineMeetingProvider
public Calendar withDefaultOnlineMeetingProvider(OnlineMeetingProviderType defaultOnlineMeetingProvider)
-
getOwner
public Optional<EmailAddress> getOwner()
-
withOwner
public Calendar withOwner(EmailAddress owner)
-
withUnmappedField
public Calendar withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getCalendarPermissions
public CalendarPermissionCollectionRequest getCalendarPermissions()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property calendarPermissions
-
getCalendarView
public EventCollectionRequest getCalendarView()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property calendarView
-
getEvents
public EventCollectionRequest getEvents()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property events
-
getMultiValueExtendedProperties
public MultiValueLegacyExtendedPropertyCollectionRequest getMultiValueExtendedProperties()
-
getSingleValueExtendedProperties
public SingleValueLegacyExtendedPropertyCollectionRequest getSingleValueExtendedProperties()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Calendar patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Calendar put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
getSchedule
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ScheduleInformation> getSchedule(List<String> schedules, DateTimeTimeZone endTime, DateTimeTimeZone startTime, Integer availabilityViewInterval)
-
allowedCalendarSharingRoles
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<CalendarRoleType> allowedCalendarSharingRoles(String user)
-
-