001/* 002 * The MIT License 003 * Copyright (c) 2012 Microsoft Corporation 004 * 005 * Permission is hereby granted, free of charge, to any person obtaining a copy 006 * of this software and associated documentation files (the "Software"), to deal 007 * in the Software without restriction, including without limitation the rights 008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 009 * copies of the Software, and to permit persons to whom the Software is 010 * furnished to do so, subject to the following conditions: 011 * 012 * The above copyright notice and this permission notice shall be included in 013 * all copies or substantial portions of the Software. 014 * 015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 021 * THE SOFTWARE. 022 */ 023 024package microsoft.exchange.webservices.data.core.enumeration.availability; 025 026/** 027 * Defines the type of free/busy information returned by a GetUserAvailability 028 * operation. 029 */ 030public enum FreeBusyViewType { 031 032 // No view could be returned. This value cannot be specified in a call to 033 // GetUserAvailability. 034 /** 035 * The None. 036 */ 037 None, 038 039 // Represents an aggregated free/busy stream. In cross-forest scenarios in 040 // which the target user in one forest 041 // does not have an Availability service configured, the Availability 042 // service of the requestor retrieves the 043 // target users free/busy information from the free/busy public folder. 044 // Because public folder only store 045 // free/busy information in merged form, MergedOnly is the only available 046 // information. 047 /** 048 * The Merged only. 049 */ 050 MergedOnly, 051 052 // Represents the legacy status information: free, busy, tentative, and OOF. 053 // This also includes the start/end 054 // times of the appointments. This view is richer than the legacy free/busy 055 // view because individual meeting 056 // start and end times are provided instead of an aggregated free/busy 057 // stream. 058 /** 059 * The Free busy. 060 */ 061 FreeBusy, 062 063 // Represents all the property in FreeBusy with a stream of merged 064 // free/busy availability information. 065 /** 066 * The Free busy merged. 067 */ 068 FreeBusyMerged, 069 070 // Represents the legacy status information: free, busy, tentative, and OOF; 071 // the start/end times of the 072 // appointments; and various property of the appointment such as subject, 073 // location, and importance. 074 // This requested view will return the maximum amount of information for 075 // which the requesting user is privileged. 076 // If merged free/busy information only is available, as with requesting 077 // information for users in a Microsoft 078 // Exchange Server 2003 forest, MergedOnly will be returned. Otherwise, 079 // FreeBusy or Detailed will be returned. 080 /** 081 * The Detailed. 082 */ 083 Detailed, 084 085 // Represents all the property in Detailed with a stream of merged 086 // free/busy availability 087 // information. If only merged free/busy information is available, for 088 // example if the mailbox exists on a computer 089 // running Exchange 2003, MergedOnly will be returned. Otherwise, 090 // FreeBusyMerged or DetailedMerged will be returned. 091 /** 092 * The Detailed merged. 093 */ 094 DetailedMerged 095 096}