target.apidocs.com.google.api.services.calendar.model.EventFocusTimeProperties.html Maven / Gradle / Ivy
The newest version!
EventFocusTimeProperties (Calendar API v3-rev20241101-2.0.0)
com.google.api.services.calendar.model
Class EventFocusTimeProperties
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.calendar.model.EventFocusTimeProperties
-
public final class EventFocusTimeProperties
extends com.google.api.client.json.GenericJson
Model definition for EventFocusTimeProperties.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Calendar API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
EventFocusTimeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
EventFocusTimeProperties
clone()
String
getAutoDeclineMode()
Whether to decline meeting invitations which overlap Focus Time events.
String
getChatStatus()
The status to mark the user in Chat and related products.
String
getDeclineMessage()
Response message to set if an existing event or new invitation is automatically declined by
Calendar.
EventFocusTimeProperties
set(String fieldName,
Object value)
EventFocusTimeProperties
setAutoDeclineMode(String autoDeclineMode)
Whether to decline meeting invitations which overlap Focus Time events.
EventFocusTimeProperties
setChatStatus(String chatStatus)
The status to mark the user in Chat and related products.
EventFocusTimeProperties
setDeclineMessage(String declineMessage)
Response message to set if an existing event or new invitation is automatically declined by
Calendar.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAutoDeclineMode
public String getAutoDeclineMode()
Whether to decline meeting invitations which overlap Focus Time events. Valid values are
declineNone, meaning that no meeting invitations are declined;
declineAllConflictingInvitations, meaning that all conflicting meeting invitations that
conflict with the event are declined; and declineOnlyNewConflictingInvitations, meaning that
only new conflicting meeting invitations which arrive while the Focus Time event is present are
to be declined.
- Returns:
- value or
null
for none
-
setAutoDeclineMode
public EventFocusTimeProperties setAutoDeclineMode(String autoDeclineMode)
Whether to decline meeting invitations which overlap Focus Time events. Valid values are
declineNone, meaning that no meeting invitations are declined;
declineAllConflictingInvitations, meaning that all conflicting meeting invitations that
conflict with the event are declined; and declineOnlyNewConflictingInvitations, meaning that
only new conflicting meeting invitations which arrive while the Focus Time event is present are
to be declined.
- Parameters:
autoDeclineMode
- autoDeclineMode or null
for none
-
getChatStatus
public String getChatStatus()
The status to mark the user in Chat and related products. This can be available or
doNotDisturb.
- Returns:
- value or
null
for none
-
setChatStatus
public EventFocusTimeProperties setChatStatus(String chatStatus)
The status to mark the user in Chat and related products. This can be available or
doNotDisturb.
- Parameters:
chatStatus
- chatStatus or null
for none
-
getDeclineMessage
public String getDeclineMessage()
Response message to set if an existing event or new invitation is automatically declined by
Calendar.
- Returns:
- value or
null
for none
-
setDeclineMessage
public EventFocusTimeProperties setDeclineMessage(String declineMessage)
Response message to set if an existing event or new invitation is automatically declined by
Calendar.
- Parameters:
declineMessage
- declineMessage or null
for none
-
set
public EventFocusTimeProperties set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public EventFocusTimeProperties 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