All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.calendar.model.FreeBusyRequest Maven / Gradle / Ivy

There is a newer version: v3-rev20241101-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.calendar.model;

/**
 * Model definition for FreeBusyRequest.
 *
 * 

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. */ @SuppressWarnings("javadoc") public final class FreeBusyRequest extends com.google.api.client.json.GenericJson { /** * Maximal number of calendars for which FreeBusy information is to be provided. Optional. Maximum * value is 50. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer calendarExpansionMax; /** * Maximal number of calendar identifiers to be provided for a single group. Optional. An error is * returned for a group with more members than this value. Maximum value is 100. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer groupExpansionMax; /** * List of calendars and/or groups to query. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List items; /** * The end of the interval for the query formatted as per RFC3339. * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime timeMax; /** * The start of the interval for the query formatted as per RFC3339. * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime timeMin; /** * Time zone used in the response. Optional. The default is UTC. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String timeZone; /** * Maximal number of calendars for which FreeBusy information is to be provided. Optional. Maximum * value is 50. * @return value or {@code null} for none */ public java.lang.Integer getCalendarExpansionMax() { return calendarExpansionMax; } /** * Maximal number of calendars for which FreeBusy information is to be provided. Optional. Maximum * value is 50. * @param calendarExpansionMax calendarExpansionMax or {@code null} for none */ public FreeBusyRequest setCalendarExpansionMax(java.lang.Integer calendarExpansionMax) { this.calendarExpansionMax = calendarExpansionMax; return this; } /** * Maximal number of calendar identifiers to be provided for a single group. Optional. An error is * returned for a group with more members than this value. Maximum value is 100. * @return value or {@code null} for none */ public java.lang.Integer getGroupExpansionMax() { return groupExpansionMax; } /** * Maximal number of calendar identifiers to be provided for a single group. Optional. An error is * returned for a group with more members than this value. Maximum value is 100. * @param groupExpansionMax groupExpansionMax or {@code null} for none */ public FreeBusyRequest setGroupExpansionMax(java.lang.Integer groupExpansionMax) { this.groupExpansionMax = groupExpansionMax; return this; } /** * List of calendars and/or groups to query. * @return value or {@code null} for none */ public java.util.List getItems() { return items; } /** * List of calendars and/or groups to query. * @param items items or {@code null} for none */ public FreeBusyRequest setItems(java.util.List items) { this.items = items; return this; } /** * The end of the interval for the query formatted as per RFC3339. * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getTimeMax() { return timeMax; } /** * The end of the interval for the query formatted as per RFC3339. * @param timeMax timeMax or {@code null} for none */ public FreeBusyRequest setTimeMax(com.google.api.client.util.DateTime timeMax) { this.timeMax = timeMax; return this; } /** * The start of the interval for the query formatted as per RFC3339. * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getTimeMin() { return timeMin; } /** * The start of the interval for the query formatted as per RFC3339. * @param timeMin timeMin or {@code null} for none */ public FreeBusyRequest setTimeMin(com.google.api.client.util.DateTime timeMin) { this.timeMin = timeMin; return this; } /** * Time zone used in the response. Optional. The default is UTC. * @return value or {@code null} for none */ public java.lang.String getTimeZone() { return timeZone; } /** * Time zone used in the response. Optional. The default is UTC. * @param timeZone timeZone or {@code null} for none */ public FreeBusyRequest setTimeZone(java.lang.String timeZone) { this.timeZone = timeZone; return this; } @Override public FreeBusyRequest set(String fieldName, Object value) { return (FreeBusyRequest) super.set(fieldName, value); } @Override public FreeBusyRequest clone() { return (FreeBusyRequest) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy