public final class CalendarModeExtensionAdviceResponse
extends com.google.api.client.json.GenericJson
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 Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CalendarModeExtensionAdviceResponse() |
| Modifier and Type | Method and Description |
|---|---|
CalendarModeExtensionAdviceResponse |
clone() |
String |
getEndTime()
The recommended end time for the extension, which is either the end time requested by the
caller or the longest alternative with sufficient capacity.
|
CalendarModeExtensionAdviceResponseNotRecommendedReason |
getNotRecommendedReason()
The reason why the future reservation can't be extended.
|
String |
getRecommendationId()
The unique ID of the recommendation, which is a UUID string generated by the API.
|
CalendarModeExtensionAdviceResponse |
set(String fieldName,
Object value) |
CalendarModeExtensionAdviceResponse |
setEndTime(String endTime)
The recommended end time for the extension, which is either the end time requested by the
caller or the longest alternative with sufficient capacity.
|
CalendarModeExtensionAdviceResponse |
setNotRecommendedReason(CalendarModeExtensionAdviceResponseNotRecommendedReason notRecommendedReason)
The reason why the future reservation can't be extended.
|
CalendarModeExtensionAdviceResponse |
setRecommendationId(String recommendationId)
The unique ID of the recommendation, which is a UUID string generated by the API.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getEndTime()
null for nonepublic CalendarModeExtensionAdviceResponse setEndTime(String endTime)
endTime - endTime or null for nonepublic CalendarModeExtensionAdviceResponseNotRecommendedReason getNotRecommendedReason()
null for nonepublic CalendarModeExtensionAdviceResponse setNotRecommendedReason(CalendarModeExtensionAdviceResponseNotRecommendedReason notRecommendedReason)
notRecommendedReason - notRecommendedReason or null for nonepublic String getRecommendationId()
null for nonepublic CalendarModeExtensionAdviceResponse setRecommendationId(String recommendationId)
recommendationId - recommendationId or null for nonepublic CalendarModeExtensionAdviceResponse set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CalendarModeExtensionAdviceResponse clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.