ewsxml

package
v0.0.0-...-9b5b312 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequestedView_None           RequestedView = "None"
	RequestedView_MergedOnly     RequestedView = "MergedOnly"
	RequestedView_FreeBusy       RequestedView = "FreeBusy"
	RequestedView_FreeBusyMerged RequestedView = "FreeBusyMerged"
	RequestedView_Detailed       RequestedView = "Detailed"
	RequestedView_DetailedMerged RequestedView = "DetailedMerged"

	FreeBusyViewType_None           FreeBusyViewType = "None"
	FreeBusyViewType_MergedOnly     FreeBusyViewType = "MergedOnly"
	FreeBusyViewType_FreeBusy       FreeBusyViewType = "FreeBusy"
	FreeBusyViewType_FreeBusyMerged FreeBusyViewType = "FreeBusyMerged"
	FreeBusyViewType_Detailed       FreeBusyViewType = "Detailed"
	FreeBusyViewType_DetailedMerged FreeBusyViewType = "DetailedMerged"

	MinimumSuggestionQuality_Excellent MinimumSuggestionQuality = "Excellent"
	MinimumSuggestionQuality_Good      MinimumSuggestionQuality = "Good"
	MinimumSuggestionQuality_Fair      MinimumSuggestionQuality = "Fair"
	MinimumSuggestionQuality_Poor      MinimumSuggestionQuality = "Poor"

	AttendeeType_Organizer AttendeeType = "Organizer"
	AttendeeType_Required  AttendeeType = "Required"
	AttendeeType_Optional  AttendeeType = "Optional"
	AttendeeType_Room      AttendeeType = "Room"
	AttendeeType_Resource  AttendeeType = "Resource"
)
View Source
const (
	Sensitivity_Normal       Sensitivity = "Normal"
	Sensitivity_Personal     Sensitivity = "Personal"
	Sensitivity_Private      Sensitivity = "Private"
	Sensitivity_Confidential Sensitivity = "Confidential"

	LegacyFreeBusyStatus_Free             LegacyFreeBusyStatus = "Free"
	LegacyFreeBusyStatus_Tentative        LegacyFreeBusyStatus = "Tentative"
	LegacyFreeBusyStatus_Busy             LegacyFreeBusyStatus = "Busy"
	LegacyFreeBusyStatus_OOF              LegacyFreeBusyStatus = "OOF"
	LegacyFreeBusyStatus_WorkingElsewhere LegacyFreeBusyStatus = "WorkingElsewhere"
	LegacyFreeBusyStatus_NoData           LegacyFreeBusyStatus = "NoData"

	// CalendarItemType_Single indicates the item is not associated with a
	// recurring calendar item.
	CalendarItemType_Single CalendarItemType = "Single"
	// CalendarItemType_Occurrence indicates the item is an occurrence of a
	// recurring calendar item.
	CalendarItemType_Occurrence CalendarItemType = "Occurrence"
	// CalendarItemType_Exception indicates the item is an exception to a
	// recurring calendar item.
	CalendarItemType_Exception CalendarItemType = "Exception"
	// CalendarItemType_RecurringMaster indicates the item is master for a set
	// of recurring calendar items.
	CalendarItemType_RecurringMaster CalendarItemType = "RecurringMaster"
)
View Source
const (
	// An item is permanently removed from the store.
	DeleteType_HardDelete DeleteType = "HardDelete"
	// An item is moved to the dumpster if the dumpster is enabled.
	DeleteType_SoftDelete DeleteType = "SoftDelete"
	// An item is moved to the Deleted Items folder.
	DeleteType_MoveToDeletedItems DeleteType = "MoveToDeletedItems"

	// A calendar item is deleted without sending a cancellation message.
	SendMeetingCancellations_SendToNone SendMeetingCancellations = "SendToNone"
	// A calendar item is deleted and a cancellation message is sent to all attendees.
	SendMeetingCancellations_SendOnlyToAll SendMeetingCancellations = "SendOnlyToAll"
	// A calendar item is deleted and a cancellation message is sent to all attendees.
	// A copy of the cancellation message is saved in the Sent Items folder.
	SendMeetingCancellations_SendToAllAndSaveCopy SendMeetingCancellations = "SendToAllAndSaveCopy"

	// A delete item request deletes the master task, and therefore all recurring
	// tasks that are associated with the master task.
	AffectedTaskOccurrences_AllOccurrences AffectedTaskOccurrences = "AllOccurrences"
	// A delete item request deletes only specific occurrences of a task.
	AffectedTaskOccurrences_SpecifiedOccurrenceOnly AffectedTaskOccurrences = "SpecifiedOccurrenceOnly"
)
View Source
const (
	// Traversal_Shallow returns only the identities of items in the folder.
	Traversal_Shallow Traversal = "Shallow"
	// Traversal_SoftDeleted returns only the identities of items that are in a
	// folder's dumpster. Note that a soft-deleted traversal combined with a
	// search restriction will result in zero items returned even if there are
	// items that match the search criteria.
	Traversal_SoftDeleted Traversal = "SoftDeleted"
	// Traversal_Associated returns only the identities of associated items in
	// the folder.
	Traversal_Associated Traversal = "Associated"
	Traversal_Deep       Traversal = "Deep"

	// BaseShape_IdOnly returns only the item or folder ID.
	BaseShape_IdOnly BaseShape = "IdOnly"
	// BaseShape_Default returns a set of properties that are defined as the
	// default for the item or folder.
	BaseShape_Default BaseShape = "Default"
	// BaseShape_AllProperties returns all the properties used by the Exchange
	// Business Logic layer to construct a folder.
	BaseShape_AllProperties BaseShape = "AllProperties"

	// BodyType_Best indicates the response will return the richest available
	// content of body text. This is useful if it is unknown whether the content
	// is text or HTML.
	// The returned body will be text if the stored body is plain text.
	// Otherwise, the response will return HTML if the stored body is in either
	// HTML or RTF format.
	BodyType_Best BodyType = "Best"
	// BodyType_HTML indicates the response will return an item body as HTML.
	BodyType_HTML BodyType = "HTML"
	// BodyType_Text indicates the response will return an item body as plain
	// text.
	BodyType_Text BodyType = "Text"

	Order_Ascending  Order = "Ascending"
	Order_Descending Order = "Descending"
)
View Source
const (
	// MessageDisposition_SaveOnly indicates the item is updated and saved back
	// to its current folder.
	MessageDisposition_SaveOnly MessageDisposition = "SaveOnly"
	// MessageDisposition_SendOnly indicates the item is updated and sent but no
	// copy is saved.
	MessageDisposition_SendOnly MessageDisposition = "SendOnly"
	// MessageDisposition_SendAndSaveCopy indicates the item is updated and a
	// copy is saved in the folder identified by the SavedItemFolderId element.
	MessageDisposition_SendAndSaveCopy MessageDisposition = "SendAndSaveCopy"

	// SendMeetingInvitations_SendToNone indicates if the item is a meeting
	// request, it is saved as a calendar item but not sent.
	SendMeetingInvitations_SendToNone SendMeetingInvitations = "SendToNone"
	// SendMeetingInvitations_SendOnlyToAll indicates the meeting request is
	// sent to all attendees but is not saved in the Sent Items folder.
	SendMeetingInvitations_SendOnlyToAll SendMeetingInvitations = "SendOnlyToAll"
	// SendMeetingInvitations_SendToAllAndSaveCopy indicates the meeting
	// request is sent to all attendees and a copy is saved in the folder that
	// is identified by the SavedItemFolderId element.
	SendMeetingInvitations_SendToAllAndSaveCopy SendMeetingInvitations = "SendToAllAndSaveCopy"
)
View Source
const (
	// ConflictResolution_NeverOverwrite indicates if there is a conflict, the
	// update operation fails and an error is returned.
	ConflictResolution_NeverOverwrite ConflictResolution = "NeverOverwrite"
	// ConflictResolution_AutoResolve indicates the update operation
	// automatically resolves any conflict.
	ConflictResolution_AutoResolve ConflictResolution = "AutoResolve"
	// ConflictResolution_AlwaysOverwrite indicates if there is a conflict, the
	// update operation will overwrite information.
	ConflictResolution_AlwaysOverwrite ConflictResolution = "AlwaysOverwrite"

	// SendMeetingInvitationsOrCancellations_SendToNone indicates the calendar
	// item is updated but updates are not sent to attendees.
	SendMeetingInvitationsOrCancellations_SendToNone SendMeetingInvitationsOrCancellations = "SendToNone"
	// SendMeetingInvitationsOrCancellations_SendOnlyToAll indicates the
	// calendar item is updated and the meeting update is sent to all attendees
	// but is not saved in the Sent Items folder.
	SendMeetingInvitationsOrCancellations_SendOnlyToAll SendMeetingInvitationsOrCancellations = "SendOnlyToAll"
	// SendMeetingInvitationsOrCancellations_SendOnlyToChanged indicates the
	// calendar item is updated and the meeting update is sent only to
	// attendees that are affected by the change in the meeting.
	SendMeetingInvitationsOrCancellations_SendOnlyToChanged SendMeetingInvitationsOrCancellations = "SendOnlyToChanged"
	// SendMeetingInvitationsOrCancellations_SendToAllAndSaveCopy indicates the
	// calendar item is updated, the meeting update is sent to all attendees,
	// and a copy is saved in the Sent Items folder.
	SendMeetingInvitationsOrCancellations_SendToAllAndSaveCopy SendMeetingInvitationsOrCancellations = "SendToAllAndSaveCopy"
	// SendMeetingInvitationsOrCancellations_SendToChangedAndSaveCopy indicates
	// the calendar item is updated, the meeting update is sent to all
	// attendees that are affected by the change in the meeting, and a copy is
	// saved in the Sent Items folder.
	SendMeetingInvitationsOrCancellations_SendToChangedAndSaveCopy SendMeetingInvitationsOrCancellations = "SendToChangedAndSaveCopy"
)
View Source
const (
	RoutingType_Smtp RoutingType = "SMTP"
	RoutingType_EX   RoutingType = "EX"

	// MailboxType_Mailbox represents a mail-enabled Active Directory object.
	MailboxType_Mailbox MailboxType = "Mailbox"
	// MailboxType_PublicDL represents a public distribution list.
	MailboxType_PublicDL MailboxType = "PublicDL"
	// MailboxType_PrivateDL represents a private distribution list in a user's
	// mailbox.
	MailboxType_PrivateDL MailboxType = "PrivateDL"
	// MailboxType_Contact represents a contact in a user's mailbox.
	MailboxType_Contact MailboxType = "Contact"
	// MailboxType_PublicFolder represents a public folder.
	MailboxType_PublicFolder MailboxType = "PublicFolder"
	// MailboxType_Unknown represents an unknown type of mailbox.
	MailboxType_Unknown MailboxType = "Unknown"
	// MailboxType_OneOff represents a one-off member of a personal distribution
	// list.
	MailboxType_OneOff MailboxType = "OneOff"
	// MailboxType_GroupMailbox represents a group mailbox.
	MailboxType_GroupMailbox MailboxType = "GroupMailbox"
)
View Source
const (
	// The comparison is between the full string and the constant. The property value and the supplied constant are precisely the same.
	ContainmentMode_FullString ContainmentMode = "FullString"
	// The comparison is between the string prefix and the constant.
	ContainmentMode_Prefixed ContainmentMode = "Prefixed"
	// The comparison is between a substring of the string and the constant.
	ContainmentMode_Substring ContainmentMode = "Substring"
	// The comparison is between a prefix on individual words in the string and the constant.
	ContainmentMode_PrefixOnWords ContainmentMode = "PrefixOnWords"
	// The comparison is between an exact phrase in the string and the constant.
	ContainmentMode_ExactPhrase ContainmentMode = "ExactPhrase"

	// The comparison must be exact.
	ContainmentComparison_Exact ContainmentComparison = "Exact"
	// The comparison ignores casing.
	ContainmentComparison_IgnoreCase ContainmentComparison = "IgnoreCase"
	// The comparison ignores non-spacing characters.
	ContainmentComparison_IgnoreNonSpacingCharacters ContainmentComparison = "IgnoreNonSpacingCharacters"
	// The comparison ignores casing and non-spacing characters.
	ContainmentComparison_IgnoreCaseAndNonSpacingCharacters ContainmentComparison = "IgnoreCaseAndNonSpacingCharacters"
)
View Source
const (
	EventType_CopiedEvent          EventType = "CopiedEvent"
	EventType_CreatedEvent         EventType = "CreatedEvent"
	EventType_DeletedEvent         EventType = "DeletedEvent"
	EventType_ModifiedEvent        EventType = "ModifiedEvent"
	EventType_MovedEvent           EventType = "MovedEvent"
	EventType_NewMailEvent         EventType = "NewMailEvent"
	EventType_FreeBusyChangedEvent EventType = "FreeBusyChangedEvent"

	SubscriptionStatus_OK          SubscriptionStatus = "OK"
	SubscriptionStatus_Unsubscribe SubscriptionStatus = "Unsubscribe"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AbsoluteMonthlyRecurrence

type AbsoluteMonthlyRecurrence struct {
	XMLName    xml.Name `xml:"AbsoluteMonthlyRecurrence"`
	DayOfMonth int      `xml:"DayOfMonth,omitempty"`
	Interval   int      `xml:"Interval,omitempty"`
}

type AbsoluteYearlyRecurrence

type AbsoluteYearlyRecurrence struct {
	XMLName    xml.Name `xml:"AbsoluteYearlyRecurrence"`
	DayOfMonth int      `xml:"DayOfMonth,omitempty"`
	Month      string   `xml:"Month,omitempty"`
}

type AcceptItem

type AcceptItem struct {
	XMLName xml.Name `xml:"AcceptItem"`
}

type AcceptSharingInvitation

type AcceptSharingInvitation struct {
	XMLName xml.Name `xml:"AcceptSharingInvitation"`
}

type AffectedTaskOccurrences

type AffectedTaskOccurrences string

AffectedTaskOccurrences Describes whether a task instance or a task master is deleted by a DeleteItem operation. This attribute is required when tasks are deleted. This attribute is optional when non-task items are deleted.

func (AffectedTaskOccurrences) String

func (s AffectedTaskOccurrences) String() string

type AttachmentId

type AttachmentId struct {
	XMLName          xml.Name `xml:"AttachmentId"`
	Id               string   `xml:"Id,attr"`
	RootItemId       string   `xml:"RootItemId,attr,omitempty"`
	RootItemChangeId string   `xml:"RootItemChangeId,attr,omitempty"`
}

The AttachmentId element identifies an item or file attachment. This element is used in CreateAttachment responses. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/attachmentid

type AttachmentIds

type AttachmentIds struct {
	XMLName      xml.Name `xml:"m:AttachmentIds"`
	AttachmentId []SendAttachmentId
}

type AttachmentShape

type AttachmentShape struct {
	XMLName            xml.Name `xml:"m:AttachmentShape"`
	IncludeMimeContent bool     `xml:"t:IncludeMimeContent,omitempty"`
	BodyType           BodyType `xml:"t:BodyType,omitempty"`
	FilterHtmlContent  bool     `xml:"t:FilterHtmlContent,omitempty"`
}

The AttachmentShape element identifies additional properties to return in a response to a GetAttachment request. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/attachmentshape

type Attachments

type Attachments struct {
	XMLName        xml.Name `xml:"Attachments"`
	ItemAttachment []ItemAttachment
	FileAttachment []FileAttachment
}

The Attachments element contains the items or files that are attached to an item in the Exchange store. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/attachments-ex15websvcsotherref

type Attendee

type Attendee struct {
	XMLName      xml.Name `xml:"Attendee"`
	Mailbox      Mailbox
	ResponseType string
}

type AttendeeType

type AttendeeType string

The AttendeeType element represents the type of attendee that is identified in the Email (EmailAddressType) element. This element is used in requests for meeting suggestions. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/attendeetype

func (AttendeeType) String

func (s AttendeeType) String() string

type BasePoint

type BasePoint string
const (
	BasePointBeginning BasePoint = "Beginning"
	BasePointEnd       BasePoint = "End"
)

func (BasePoint) String

func (s BasePoint) String() string

type BaseShape

type BaseShape string

The BaseShape element identifies the set of properties to return in an item or folder response. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/baseshape

func (BaseShape) String

func (s BaseShape) String() string

type Bitmask

type Bitmask struct {
	XMLName xml.Name `xml:"t:Bitmask"`
	Value   string   `xml:"Value,attr"`
}

type Body

type Body struct {
	BodyType    BodyType `xml:"BodyType,attr"`
	IsTruncated bool     `xml:"IsTruncated,attr"`
	Contents    []byte   `xml:",chardata"`
}

The Body element specifies the body of an item. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/body

type BodyType

type BodyType string

The BodyType element identifies how the body text is formatted in the response. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/bodytype

func (BodyType) String

func (s BodyType) String() string

type BusinessPhoneNumbers

type BusinessPhoneNumbers struct {
	PhoneNumberAttributedValue PhoneNumberAttributedValue `xml:"PhoneNumberAttributedValue"`
}

type CalendarEvent

type CalendarEvent struct {
	XMLName              xml.Name `xml:"CalendarEvent"`
	StartTime            string
	EndTime              string
	BusyType             LegacyFreeBusyStatus
	CalendarEventDetails struct {
		ID            string
		Subject       string
		Location      string
		IsMeeting     bool
		IsRecurring   bool
		IsException   bool
		IsReminderSet bool
		IsPrivate     bool
	}
}

type CalendarFolder

type CalendarFolder struct {
	XMLName          xml.Name `xml:"CalendarFolder"`
	FolderId         FolderId `xml:"FolderId"`
	ParentFolderId   ParentFolderId
	FolderClass      string
	DisplayName      string
	TotalCount       int
	ChildFolderCount int
	//ExtendedProperty
	//ManagedFolderInformation
	UnreadCount int
	//PermissionSet
	EffectiveRights struct {
		CreateAssociated bool
		CreateContents   bool
		CreateHierarchy  bool
		Delete           bool
		Modify           bool
		Read             bool
		ViewPrivateItems bool
	}
}

type CalendarItem

type CalendarItem struct {
	XMLName        xml.Name `xml:"CalendarItem"`
	Data           []byte   `xml:",innerxml"`
	MimeContent    string
	ItemId         *ItemId `xml:"ItemId,omitempty"`
	ParentFolderId *ItemId `xml:",omitempty"`
	// ItemClass                    string      `xml:"t:ItemClass"`
	Subject     string      `xml:",omitempty"`
	Sensitivity Sensitivity `xml:",omitempty"`
	Body        *Body       `xml:",omitempty"`
	// DateTimeReceived             string      `xml:"t:DateTimeReceived"`
	// Size                         string      `xml:"t:Size"`
	Categories *Categories `xml:",omitempty"`
	// InReplyTo                    string      `xml:"t:InReplyTo"`
	// IsSubmitted                  string      `xml:"t:IsSubmitted"`
	// IsDraft                      string      `xml:"t:IsDraft"`
	// IsResend                     string      `xml:"t:IsResend"`
	// IsUnmodified                 string      `xml:"t:IsUnmodified"`
	// InternetMessageHeaders       string      `xml:"t:InternetMessageHeaders"`
	// DateTimeSent                 string      `xml:"t:DateTimeSent"`
	// DateTimeCreated              string      `xml:"t:DateTimeCreated"`
	// ResponseObjects              string      `xml:"t:ResponseObjects"`
	ReminderDueBy              string
	ReminderIsSet              bool
	ReminderMinutesBeforeStart int
	DisplayCc                  ConcatenatedString `xml:",omitempty"`
	DisplayTo                  ConcatenatedString `xml:",omitempty"`
	Attachments                *Attachments
	HasAttachments             bool
	// ExtendedProperty             string      `xml:"t:ExtendedProperty"`
	// Culture                      string      `xml:"t:Culture"`
	Start time.Time
	End   time.Time
	// OriginalStart                string      `xml:"t:OriginalStart"`
	IsAllDayEvent        bool
	LegacyFreeBusyStatus LegacyFreeBusyStatus `xml:",omitempty"`
	Location             string
	// When                         string      `xml:"t:When"`
	IsMeeting   bool
	IsCancelled bool
	IsRecurring bool
	IsOrganizer bool
	//IsFromMe       bool
	MyResponseType       string
	AppointmentReplyTime string
	ResponseObjects      *ResponseObjects
	// MeetingRequestWasSent        string      `xml:"t:MeetingRequestWasSent"`
	// IsResponseRequested          string      `xml:"t:IsResponseRequested"`
	CalendarItemType  CalendarItemType
	Organizer         *Organizer
	RequiredAttendees *RequiredAttendees
	OptionalAttendees *OptionalAttendees
	Resources         []Attendee // []Attendees
	// ConflictingMeetingCount      string      `xml:"t:ConflictingMeetingCount"`
	// AdjacentMeetingCount         string      `xml:"t:AdjacentMeetingCount"`
	// ConflictingMeetings          string      `xml:"t:ConflictingMeetings"`
	// AdjacentMeetings             string      `xml:"t:AdjacentMeetings"`
	// Duration                     string      `xml:"t:Duration"`
	// TimeZone                     string      `xml:"t:TimeZone"`
	// AppointmentSequenceNumber    string      `xml:"t:AppointmentSequenceNumber"`
	// AppointmentState             string      `xml:"t:AppointmentState"`
	Recurrence *Recurrence
	// FirstOccurrence              string      `xml:"t:FirstOccurrence"`
	// LastOccurrence               string      `xml:"t:LastOccurrence"`
	// ModifiedOccurrences          string      `xml:"t:ModifiedOccurrences"`
	// DeletedOccurrences           string      `xml:"t:DeletedOccurrences"`
	// MeetingTimeZone              string      `xml:"t:MeetingTimeZone"`
	// StartTimeZone                string      `xml:"t:StartTimeZone"`
	// EndTimeZone                  string      `xml:"t:EndTimeZone"`
	StartTimeZoneId string `xml:",omitempty"`
	EndTimeZoneId   string `xml:",omitempty"`
	// ConferenceType               string      `xml:"t:ConferenceType"`
	// AllowNewTimeProposal         string      `xml:"t:AllowNewTimeProposal"`
	// IsOnlineMeeting              string      `xml:"t:IsOnlineMeeting"`
	// MeetingWorkspaceUrl          string      `xml:"t:MeetingWorkspaceUrl"`
	// NetShowUrl                   string      `xml:"t:NetShowUrl"`
	// EffectiveRights              string      `xml:"t:EffectiveRights"`
	LastModifiedTime string
	IsAssociated     bool `xml:",omitempty"`
	// WebClientReadFormQueryString string      `xml:"t:WebClientReadFormQueryString"`
	// WebClientEditFormQueryString string      `xml:"t:WebClientEditFormQueryString"`
	// ConversationId               string      `xml:"t:ConversationId"`
	// UniqueBody                   string      `xml:"t:UniqueBody"`
	UID string `xml:",omitempty"`
}

The CalendarItem element represents an Exchange calendar item. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/calendaritem

type CalendarItemType

type CalendarItemType string

The CalendarItemType element represents the type of a calendar item. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/calendaritemtype

type CalendarView

type CalendarView struct {
	XMLName            xml.Name  `xml:"m:CalendarView"`
	MaxEntriesReturned uint      `xml:"MaxEntriesReturned,attr,omitempty"`
	StartDate          time.Time `xml:"StartDate,attr"`
	EndDate            time.Time `xml:"EndDate,attr"`
}

type CancelCalendarItem

type CancelCalendarItem struct {
	XMLName xml.Name `xml:"CancelCalendarItem"`
}

type Categories

type Categories struct {
	XMLName xml.Name `xml:"Categories"`
	String  []string `xml:"String,omitempty"`
}

type ConcatenatedString

type ConcatenatedString string

ConcatenatedString represents the concatenated display string that is used for the contents of the element. Each part represents its own value. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/displaycc https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/displayto

func (ConcatenatedString) Split

func (c ConcatenatedString) Split(sep string) []string

func (ConcatenatedString) String

func (s ConcatenatedString) String() string

type ConflictResolution

type ConflictResolution string

func (ConflictResolution) String

func (s ConflictResolution) String() string

type ConnectingSID

type ConnectingSID struct {
	PrincipalName      string `xml:"t:PrincipalName,omitempty"`
	SID                string `xml:"t:SID,omitempty"`
	SmtpAddress        string `xml:"t:SmtpAddress,omitempty"`
	PrimarySmtpAddress string `xml:"t:PrimarySmtpAddress,omitempty"`
}

https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/connectingsid

type Constant

type Constant struct {
	XMLName xml.Name `xml:"t:Constant"`
	Value   string   `xml:"Value,attr"`
}

type ContactsView

type ContactsView struct {
	XMLName xml.Name `xml:"ContactsView"`
}

type ContainmentComparison

type ContainmentComparison string

func (ContainmentComparison) String

func (s ContainmentComparison) String() string

type ContainmentMode

type ContainmentMode string

func (ContainmentMode) String

func (s ContainmentMode) String() string

type CreateAttachment

type CreateAttachment struct {
	XMLName      xml.Name `xml:"m:CreateAttachment"`
	ParentItemId ParentItemId
	Attachments  SendAttachments
}

The CreateAttachment element defines a request to create an attachment to an item in the Exchange store. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/createattachment

type CreateAttachmentsResponseMessage

type CreateAttachmentsResponseMessage struct {
	XMLName     xml.Name `xml:"CreateAttachmentResponseMessage"`
	Attachments Attachments
}

type CreateFolder

type CreateFolder struct {
	XMLName        xml.Name `xml:"m:CreateFolder"`
	ParentFolderId *SendParentFolderId
	Folders        SendFolders
}

The CreateFolder operation creates folders, calendar folders, contacts folders, tasks folders, and search folders. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/createfolder-operation

type CreateFolderResponseMessage

type CreateFolderResponseMessage struct {
	XMLName xml.Name `xml:"CreateFolderResponseMessage"`
	Response
	Folders Folders
}

The CreateFolderResponseMessage element contains the status and result of a single CreateFolder operation request. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/createfolderresponsemessage

type CreateItem

type CreateItem struct {
	XMLName                xml.Name           `xml:"m:CreateItem"`
	MessageDisposition     MessageDisposition `xml:"MessageDisposition,attr,omitempty"`
	SendMeetingInvitations string             `xml:"SendMeetingInvitations,attr,omitempty"`
	SavedItemFolderId      *SavedItemFolderId `xml:",omitempty"`
	Items                  MessageItems
}

The CreateItem element defines a request to create an item in the Exchange store. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/createitem

type CreateItemResponseMessage

type CreateItemResponseMessage struct {
	XMLName xml.Name `xml:"CreateItemResponseMessage"`
	Response
	Items Items
}

The CreateItemResponseMessage element contains the status and result of a single CreateItem operation request. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/createitemresponsemessage

type DailyRecurrence

type DailyRecurrence struct {
	XMLName  xml.Name `xml:"DailyRecurrence"`
	Interval int      `xml:"Interval"`
}

type DeclineItem

type DeclineItem struct {
	XMLName xml.Name `xml:"DeclineItem"`
}

type DeleteAttachment

type DeleteAttachment struct {
	XMLName       xml.Name `xml:"m:DeleteAttachment"`
	AttachmentIds *AttachmentIds
}

The DeleteAttachment operation is used to delete file and item attachments from an existing item in the Exchange store. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/deleteattachment-operation

type DeleteAttachmentResponseMessage

type DeleteAttachmentResponseMessage struct {
	XMLName xml.Name `xml:"DeleteAttachmentResponseMessage"`
}

The DeleteAttachmentResponseMessage element contains the status and result of a single DeleteAttachment operation request. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/deleteattachmentresponsemessage

type DeleteFolder

type DeleteFolder struct {
	XMLName    xml.Name   `xml:"m:DeleteFolder"`
	DeleteType DeleteType `xml:"DeleteType,attr"`
	FolderIds  SendFolderIds
}

The DeleteFolder operation deletes folders from a mailbox. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/deletefolder-operation

type DeleteFolderResponseMessage

type DeleteFolderResponseMessage struct {
	XMLName xml.Name `xml:"DeleteFolderResponseMessage"`
	Response
	DescriptiveLinkKey int `xml:"DescriptiveLinkKey,attr"`
	RootFolder         RootFolder
}

The DeleteFolderResponseMessage element contains the status and result of a single DeleteFolder operation request. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/deletefolderresponsemessage

type DeleteItem

type DeleteItem struct {
	XMLName                  xml.Name                 `xml:"m:DeleteItem"`
	DeleteType               DeleteType               `xml:",attr,omitempty"`
	SendMeetingCancellations SendMeetingCancellations `xml:",attr,omitempty"`
	AffectedTaskOccurrences  AffectedTaskOccurrences  `xml:",attr,omitempty"`
	SuppressReadReceipts     SuppressReadReceipts     `xml:",attr"`

	ItemIds *ItemIds
}

The DeleteItem element defines a request to delete an item from a mailbox in the Exchange store. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/deleteitem

type DeleteItemField

type DeleteItemField struct {
	XMLName  xml.Name `xml:"t:DeleteItemField"`
	FieldURI FieldURI
}

https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/deleteitemfield

type DeleteItemResponseMessage

type DeleteItemResponseMessage struct {
	XMLName xml.Name `xml:"DeleteItemResponseMessage"`
	Response
	DescriptiveLinkKey int `xml:"DescriptiveLinkKey,attr"`
	RootFolder         RootFolder
}

The DeleteItemResponseMessage element contains the status and result of a single DeleteItem operation request. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/deleteitemresponsemessage

type DeleteType

type DeleteType string

DeleteType Describes how an item is deleted. This attribute is required.

func (DeleteType) String

func (s DeleteType) String() string

type Departments

type Departments struct {
	StringAttributedValue StringAttributedValue `xml:"StringAttributedValue"`
}

type DistinguishedFolderId

type DistinguishedFolderId struct {
	XMLName xml.Name `xml:"t:DistinguishedFolderId"`
	Id      string   `xml:"Id,attr,omitempty"`
	Mailbox Mailbox  `xml:"t:Mailbox"`
}

The DistinguishedFolderId element identifies folders that can be referenced by name. If you do not use this element, you must use the FolderId element to identify a folder. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/distinguishedfolderid

type EmailAddressType

type EmailAddressType struct {
	XMLName     xml.Name    `xml:"t:Email"`
	Name        string      `xml:"t:Name,omitempty"`
	Address     string      `xml:"t:Address,omitempty"`
	RoutingType RoutingType `xml:"t:RoutingType,omitempty"`
}

The Email element represents the mailbox user for a GetUserAvailability query. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/email-emailaddresstype

type EndDateRecurrence

type EndDateRecurrence struct {
	XMLName   xml.Name `xml:"EndDateRecurrence"`
	StartDate string   `xml:"StartDate"`
	EndDate   string   `xml:"EndDate"`
}

type EndTimeZone

type EndTimeZone struct {
	XMLName xml.Name `xml:"t:EndTimeZone"`
	Id      string   `xml:"Id,attr,omitempty"`
}

https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/endtimezone

type EventType

type EventType string

The EventType element is used to create a subscription and identifies an event type to be reported in a notification. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/eventtype

func (EventType) String

func (s EventType) String() string

type EventTypes

type EventTypes struct {
	XMLName   xml.Name    `xml:"t:EventTypes"`
	EventType []EventType `xml:"t:EventType,omitempty"`
}

The EventTypes element contains a collection of event notification types that are used to create a subscription. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/eventtypes

type ExchangeImpersonation

type ExchangeImpersonation struct {
	ConnectingSID ConnectingSID `xml:"t:ConnectingSID,omitempty"`
}

type ExtendedFieldURI

type ExtendedFieldURI struct {
	XMLName                    xml.Name `xml:"t:ExtendedFieldURI"`
	DistinguishedPropertySetId string   `xml:"DistinguishedPropertySetId,attr"`
	PropertySetId              string   `xml:"PropertySetId,attr,omitempty"`
	PropertyTag                string   `xml:"PropertyTag,attr,omitempty"`
	PropertyName               string   `xml:"PropertyName,attr,omitempty"`
	PropertyId                 string   `xml:"PropertyId,attr,omitempty"`
	PropertyType               string   `xml:"PropertyType,attr,omitempty"`
}

https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/extendedfielduri

type FieldOrder

type FieldOrder struct {
	XMLName  xml.Name `xml:"t:FieldOrder"`
	Order    Order    `xml:"Order,attr"`
	FieldURI FieldURI
}

type FieldURI

type FieldURI struct {
	XMLName  xml.Name `xml:"t:FieldURI"`
	FieldURI string   `xml:"FieldURI,attr"`
}

https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/fielduri

type FieldURIOrConstant

type FieldURIOrConstant struct {
	XMLName          xml.Name `xml:"t:FieldURIOrConstant"`
	FieldURI         *FieldURI
	IndexedFieldURI  *IndexedFieldURI
	ExtendedFieldURI *ExtendedFieldURI
	Constant         *Constant
}

type FileAttachment

type FileAttachment struct {
	XMLName          xml.Name `xml:"FileAttachment"`
	AttachmentId     AttachmentId
	Name             string
	ContentType      string
	ContentId        string
	ContentLocation  string
	Size             uint
	LastModifiedTime string
	IsInline         bool
	IsContactPhoto   bool
	Content          string
}

The FileAttachment element represents a file that is attached to an item in the Exchange store. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/fileattachment

type FindFolder

type FindFolder struct {
	XMLName     xml.Name  `xml:"m:FindFolder"`
	Traversal   Traversal `xml:"Traversal,attr"`
	FolderShape FolderShape
	//IndexedPageFolderView
	//FractionalPageFolderView
	//Restriction
	ParentFolderIds SendParentFolderIds
}

The FindFolder element defines a request to find folders in a mailbox. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/findfolder

type FindFolderResponseMessage

type FindFolderResponseMessage struct {
	XMLName xml.Name `xml:"FindFolderResponseMessage"`
	Response
	RootFolder struct {
		Folders Folders
	} `xml:"RootFolder"`
}

The FindFolderResponseMessage element contains the status and result of a single FindFolder operation request. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/findfolderresponsemessage

type FindItem

type FindItem struct {
	XMLName     xml.Name  `xml:"m:FindItem"`
	Traversal   Traversal `xml:"Traversal,attr"`
	ItemShape   ItemShape
	Restriction *Restriction
}

The FindItem element defines a request to find items in a mailbox. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/finditem

type FindItemResponseMessage

type FindItemResponseMessage struct {
	XMLName xml.Name `xml:"FindItemResponseMessage"`
	Response
	DescriptiveLinkKey int `xml:"DescriptiveLinkKey,attr"`
	RootFolder         RootFolder
}

The FindItemResponseMessage element contains the status and result of a single FindItem operation request. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/finditemresponsemessage

type FolderChange

type FolderChange struct {
	XMLName               xml.Name `xml:"t:FolderChange"`
	FolderId              *SendFolderId
	DistinguishedFolderId *SendDistinguishedFolderId
	Updates               FolderUpdates
}

The FolderChange element represents a collection of changes to be performed on a single folder. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/folderchange

type FolderChanges

type FolderChanges struct {
	XMLName      xml.Name `xml:"m:FolderChanges"`
	FolderChange []FolderChange
}

The FolderChanges element represents a collection of changes for a folder. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/folderchanges

type FolderId

type FolderId struct {
	XMLName   xml.Name `xml:"FolderId"`
	Id        string   `xml:"Id,attr"`
	ChangeKey string   `xml:"ChangeKey,attr,omitempty"`
}

The FolderId element contains the identifier and change key of a folder https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/folderid

type FolderIds

type FolderIds struct {
	XMLName               xml.Name `xml:"t:FolderIds"`
	FolderId              []FolderId
	DistinguishedFolderId []DistinguishedFolderId
}

The FolderIds element contains an array of folder identifiers that are used to identify folders to copy, move, get, delete, or monitor for event notifications. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/folderids

type FolderShape

type FolderShape struct {
	XMLName   xml.Name  `xml:"m:FolderShape"`
	BaseShape BaseShape `xml:"t:BaseShape,omitempty"`
}

The FolderShape element identifies the folder properties to include in a GetFolder, FindFolder, or SyncFolderHierarchy response. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/foldershape

type FolderUpdates

type FolderUpdates struct {
	XMLName xml.Name `xml:"t:Updates"`
	//AppendToFolderField []AppendToFolderField
	SetFolderField []SetFolderField
}

https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/updates-folder

type Folders

type Folders struct {
	XMLName xml.Name `xml:"Folders"`
	//Folder         []Folder
	CalendarFolder []CalendarFolder
}

type ForwardItem

type ForwardItem struct {
	XMLName xml.Name `xml:"ForwardItem"`
}

type FractionalPageItemView

type FractionalPageItemView struct {
	XMLName xml.Name `xml:"FractionalPageItemView"`
}

type FreeBusyResponse

type FreeBusyResponse struct {
	Response
	FreeBusyView FreeBusyView
}

The FreeBusyResponse element contains the free/busy information for a single mailbox user. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/freebusyresponse

type FreeBusyResponseArray

type FreeBusyResponseArray struct {
	XMLName          xml.Name `xml:"FreeBusyResponseArray"`
	FreeBusyResponse []FreeBusyResponse
}

The FreeBusyResponseArray element contains the requested users' availability information and the response status. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/freebusyresponsearray

type FreeBusyView

type FreeBusyView struct {
	XMLName            xml.Name `xml:"FreeBusyView"`
	FreeBusyViewType   FreeBusyViewType
	MergedFreeBusy     string
	CalendarEventArray struct {
		CalendarEvent []CalendarEvent
	}
	WorkingHours WorkingHours
}

The FreeBusyView element contains availability information for a specific user. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/freebusyview

type FreeBusyViewOptions

type FreeBusyViewOptions struct {
	XMLName                         xml.Name      `xml:"t:FreeBusyViewOptions"`
	TimeWindow                      TimeWindowStr `xml:"t:TimeWindow"`
	MergedFreeBusyIntervalInMinutes int           `xml:"t:MergedFreeBusyIntervalInMinutes"`
	RequestedView                   RequestedView `xml:"t:RequestedView"`
}

The FreeBusyViewOptions element specifies the type of free/busy information returned in the response. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/freebusyviewoptions

type FreeBusyViewType

type FreeBusyViewType string

The FreeBusyViewType element represents the type of free/busy information returned in the response. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/freebusyviewtype

func (FreeBusyViewType) String

func (s FreeBusyViewType) String() string

type GetAttachment

type GetAttachment struct {
	XMLName         xml.Name `xml:"m:GetAttachment"`
	AttachmentShape AttachmentShape
	AttachmentIds   *AttachmentIds
}

The GetAttachment element is the root element in a request to get an attachment from the Exchange store. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/getattachment

type GetAttachmentResponseMessage

type GetAttachmentResponseMessage struct {
	XMLName     xml.Name `xml:"GetAttachmentResponseMessage"`
	Attachments Attachments
}

The GetAttachmentResponseMessage element contains the status and result of a single GetAttachment operation request. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/getattachmentresponsemessage

type GetFolder

type GetFolder struct {
	XMLName     xml.Name `xml:"m:GetFolder"`
	FolderShape FolderShape
	FolderIds   SendFolderIds
}

The GetFolder operation gets folders from the Exchange store. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/getfolder-operation

type GetFolderResponseMessage

type GetFolderResponseMessage struct {
	XMLName xml.Name `xml:"GetFolderResponseMessage"`
	Response
	Folders Folders
}

The GetFolderResponseMessage element contains the status and result of a single GetFolder operation request. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/getfolderresponsemessage

type GetItem

type GetItem struct {
	XMLName   xml.Name `xml:"m:GetItem"`
	ItemShape ItemShape
	ItemsIds  *ItemIds
}

type GetItemResponseMessage

type GetItemResponseMessage struct {
	XMLName xml.Name `xml:"GetItemResponseMessage"`
	Response
	Items Items
}

The GetItemResponseMessage element contains the status and result of a single GetItem operation request. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/getitemresponsemessage

type GetReminders

type GetReminders struct {
	XMLName      xml.Name   `xml:"m:GetReminders"`
	BeginTime    *time.Time `xml:"m:BeginTime,omitempty"`
	EndTime      *time.Time `xml:"m:EndTime,omitempty"`
	MaxItems     uint       `xml:"m:MaxItems,omitempty"`
	ReminderType string     `xml:"m:ReminderType,omitempty"`
}

type GetRooms

type GetRooms struct {
	XMLName  xml.Name `xml:"m:GetRooms"`
	RoomList struct {
		EmailAddress string `xml:"t:EmailAddress"`
	} `xml:"m:RoomList"`
}

type GetUserAvailabilityRequest

type GetUserAvailabilityRequest struct {
	XMLName                xml.Name `xml:"m:GetUserAvailabilityRequest"`
	MailboxDataArray       MailboxDataArray
	FreeBusyViewOptions    FreeBusyViewOptions
	SuggestionsViewOptions *SuggestionsViewOptions
}

The GetUserAvailabilityRequest element contains the arguments used to obtain user availability information. This is a root element. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/getuseravailabilityrequest

type GetUserConfiguration

type GetUserConfiguration struct {
	XMLName                     xml.Name `xml:"m:GetUserConfiguration"`
	UserConfigurationName       SendUserConfigurationName
	UserConfigurationProperties UserConfigurationProperties `xml:"m:UserConfigurationProperties"`
}

The GetUserConfiguration element represent a request to get a user configuration object. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/getuserconfiguration

type GetUserConfigurationResponseMessage

type GetUserConfigurationResponseMessage struct {
	UserConfiguration UserConfiguration
}
type Header struct {
	XMLName               xml.Name               `xml:"soap:Header"`
	RequestServerVersion  RequestServerVersion   `xml:"t:RequestServerVersion"`
	ExchangeImpersonation *ExchangeImpersonation `xml:"t:ExchangeImpersonation,omitempty"`
	TimeZoneContext       *TimeZoneContext       `xml:",omitempty"`
}

func (*Header) DiscardImpersonation

func (h *Header) DiscardImpersonation()

func (*Header) ImpersonatePrimarySmtpAddress

func (h *Header) ImpersonatePrimarySmtpAddress(v string)

func (*Header) ImpersonateSmtpAddress

func (h *Header) ImpersonateSmtpAddress(v string)

func (*Header) ServerVersion

func (h *Header) ServerVersion(ver Version)

type IndexedFieldURI

type IndexedFieldURI struct {
	XMLName    xml.Name `xml:"t:IndexedFieldURI"`
	FieldURI   string   `xml:"FieldURI,attr"`
	FieldIndex string   `xml:"FieldIndex,attr"`
}

https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/indexedfielduri

type IndexedPageItemView

type IndexedPageItemView struct {
	XMLName xml.Name `xml:"IndexedPageItemView"`
}

type ItemAttachment

type ItemAttachment struct {
	XMLName          xml.Name `xml:"ItemAttachment"`
	AttachmentId     AttachmentId
	Name             string
	ContentType      string
	ContentId        string
	ContentLocation  string
	Size             uint
	LastModifiedTime string
	IsInline         bool
	CalendarItem     CalendarItem
}

The ItemAttachment element represents an Exchange item that is attached to another Exchange item. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/itemattachment

type ItemChange

type ItemChange struct {
	XMLName               xml.Name `xml:"t:ItemChange"`
	ItemId                SendItemId
	OccurrenceItemId      *OccurrenceItemId
	RecurringMasterItemId *RecurringMasterItemId
	Updates               Updates
}

The ItemChange element contains an item identifier and the updates to apply to the item. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/itemchange

type ItemChanges

type ItemChanges struct {
	XMLName    xml.Name `xml:"m:ItemChanges"`
	ItemChange []ItemChange
}

The ItemChanges element contains an array of ItemChange elements that identify items and and the updates to apply to the items. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/itemchanges

type ItemId

type ItemId struct {
	Id        string `xml:"Id,attr"`
	ChangeKey string `xml:"ChangeKey,attr,omitempty"`
}

The ItemId element contains the unique identifier and change key of an item in the Exchange store. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/itemid

type ItemIds

type ItemIds struct {
	XMLName                     xml.Name `xml:"m:ItemIds"`
	ItemId                      []ItemId `xml:"t:ItemId"`
	OccurrenceItemId            []OccurrenceItemId
	RecurringMasterItemId       []RecurringMasterItemId
	RecurringMasterItemIdRanges []RecurringMasterItemIdRanges
}

type ItemShape

type ItemShape struct {
	XMLName            xml.Name  `xml:"m:ItemShape"`
	BaseShape          BaseShape `xml:"t:BaseShape,omitempty"`
	IncludeMimeContent bool      `xml:"t:IncludeMimeContent,omitempty"`
	BodyType           BodyType  `xml:"t:BodyType,omitempty"`
	FilterHtmlContent  bool      `xml:"t:FilterHtmlContent,omitempty"`
}

The ItemShape element identifies a set of properties to return in a GetItem operation, FindItem operation, or SyncFolderItems operation response. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/itemshape

type Items

type Items struct {
	// Item                Item                `xml:"t:Item"`
	XMLName      xml.Name  `xml:"Items"`
	Message      []Message `xml:",omitempty"`
	CalendarItem []CalendarItem
}

https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/items

type LegacyFreeBusyStatus

type LegacyFreeBusyStatus string

The LegacyFreeBusyStatus element represents the free/busy status of the calendar item. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/legacyfreebusystatus

func (LegacyFreeBusyStatus) String

func (s LegacyFreeBusyStatus) String() string

type Mailbox

type Mailbox struct {
	Name         string      `xml:"Name"`
	EmailAddress string      `xml:"EmailAddress"`
	RoutingType  RoutingType `xml:"RoutingType,omitempty"`
	MailboxType  MailboxType `xml:"MailboxType,omitempty"`
	ItemId       ItemId      `xml:"ItemId,omitempty"`
}

The Mailbox element identifies a mail-enabled Active Directory object. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/mailbox

type MailboxData

type MailboxData struct {
	XMLName          xml.Name `xml:"t:MailboxData"`
	Email            EmailAddressType
	AttendeeType     AttendeeType `xml:"t:AttendeeType"`
	ExcludeConflicts bool         `xml:"t:ExcludeConflicts"`
}

The MailboxData element represents an individual mailbox user and options for the type of data to be returned about the mailbox user. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/mailboxdata

type MailboxDataArray

type MailboxDataArray struct {
	XMLName     xml.Name `xml:"m:MailboxDataArray"`
	MailboxData []MailboxData
}

The MailboxDataArray element contains a list of mailboxes to query for availability information. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/mailboxdataarray

type MailboxType

type MailboxType string

The MailboxType element represents the type of mailbox that is represented by the e-mail address. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/mailboxtype

func (MailboxType) String

func (s MailboxType) String() string

type Message

type Message struct {
	// MimeContent string `xml:"t:MimeContent"`
	// ItemId         ItemId         `xml:"t:ItemId"`
	// ParentFolderId ParentFolderId `xml:"t:ParentFolderId"`
	ItemClass   string      `xml:"t:ItemClass"`
	Subject     string      `xml:"t:Subject"`
	Sensitivity Sensitivity `xml:"t:Sensitivity"`
	Body        Body        `xml:"t:Body"`
	// Attachments                  string      `xml:"t:Attachments"`
	// DateTimeReceived             string      `xml:"t:DateTimeReceived"`
	// Size                         string      `xml:"t:Size"`
	// Categories                   string      `xml:"t:Categories"`
	// Importance                   string      `xml:"t:Importance"`
	// InReplyTo                    string      `xml:"t:InReplyTo"`
	// IsSubmitted                  string      `xml:"t:IsSubmitted"`
	// IsDraft                      string      `xml:"t:IsDraft"`
	// IsFromMe                     string      `xml:"t:IsFromMe"`
	// IsResend                     string      `xml:"t:IsResend"`
	// IsUnmodified                 string      `xml:"t:IsUnmodified"`
	// InternetMessageHeaders       string      `xml:"t:InternetMessageHeaders"`
	// DateTimeSent                 string      `xml:"t:DateTimeSent"`
	// DateTimeCreated              string      `xml:"t:DateTimeCreated"`
	// ResponseObjects              string      `xml:"t:ResponseObjects"`
	// ReminderDueBy                string      `xml:"t:ReminderDueBy"`
	// ReminderIsSet                string      `xml:"t:ReminderIsSet"`
	// ReminderMinutesBeforeStart   string      `xml:"t:ReminderMinutesBeforeStart"`
	// DisplayCc                    string      `xml:"t:DisplayCc"`
	// DisplayTo                    string      `xml:"t:DisplayTo"`
	// HasAttachments               string      `xml:"t:HasAttachments"`
	// ExtendedProperty             string      `xml:"t:ExtendedProperty"`
	// Culture                      string      `xml:"t:Culture"`
	Sender       OneMailbox `xml:"t:Sender"`
	ToRecipients []Mailbox  `xml:"t:ToRecipients"`
}

https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/message-ex15websvcsotherref

type MessageDisposition

type MessageDisposition string

func (MessageDisposition) String

func (s MessageDisposition) String() string

type MessageItems

type MessageItems struct {
	XMLName               xml.Name                    `xml:"m:Items"`
	Message               []Message                   `xml:",omitempty"`
	CalendarItem          []SendCalendarItem          `xml:",omitempty"`
	CancelCalendarItem    []SendCancelCalendarItem    `xml:",omitempty"`
	AcceptItem            []SendAcceptItem            `xml:",omitempty"`
	TentativelyAcceptItem []SendTentativelyAcceptItem `xml:",omitempty"`
	DeclineItem           []SendDeclineItem           `xml:",omitempty"`
	ForwardItem           []SendForwardItem           `xml:",omitempty"`
}

https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/items

type MessageXml

type MessageXml struct {
	ExceptionType       string `xml:"ExceptionType"`
	ExceptionCode       string `xml:"ExceptionCode"`
	ExceptionServerName string `xml:"ExceptionServerName"`
	ExceptionMessage    string `xml:"ExceptionMessage"`
}

type MinimumSuggestionQuality

type MinimumSuggestionQuality string

The MinimumSuggestionQuality element defines the quality of meeting suggestions to be returned in the response. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/minimumsuggestionquality

func (MinimumSuggestionQuality) String

func (s MinimumSuggestionQuality) String() string

type MobilePhones

type MobilePhones struct {
	PhoneNumberAttributedValue PhoneNumberAttributedValue `xml:"PhoneNumberAttributedValue"`
}

type MoveItem

type MoveItem struct {
	XMLName    xml.Name `xml:"m:MoveItem"`
	ItemIds    ItemIds
	ToFolderId ToFolderId
}

The MoveItem operation is used to move one or more items to a single destination folder. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/moveitem-operation

type MoveItemResponseMessage

type MoveItemResponseMessage struct {
	XMLName xml.Name `xml:"MoveItemResponseMessage"`
	Response
	Items Items
}

The MoveItemResponseMessage element contains the status and result of a single MoveItem operation request. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/moveitemresponsemessage

type NewBodyContent

type NewBodyContent struct {
	XMLName  xml.Name `xml:"t:NewBodyContent"`
	BodyType BodyType `xml:"BodyType,attr"`
	Contents []byte   `xml:",chardata"`
}

type NoEndRecurrence

type NoEndRecurrence struct {
	XMLName   xml.Name `xml:"NoEndRecurrence"`
	StartDate string   `xml:"StartDate"`
}

type Notification

type Notification struct {
	XMLName           xml.Name            `xml:"Notification"`
	SubscriptionId    string              `xml:"SubscriptionId"`
	PreviousWatermark string              `xml:"PreviousWatermark"`
	MoreEvents        bool                `xml:"MoreEvents"`
	CreatedEvent      []NotificationEvent `xml:"CreatedEvent"`
	ModifiedEvent     []NotificationEvent `xml:"ModifiedEvent"`
	DeletedEvent      []NotificationEvent `xml:"DeletedEvent"`
}

type NotificationEvent

type NotificationEvent struct {
	Watermark string    `xml:"Watermark"`
	TimeStamp time.Time `xml:"TimeStamp"`
	ItemId    ItemId    `xml:"ItemId"`
}

type NumberedRecurrence

type NumberedRecurrence struct {
	XMLName             xml.Name `xml:"NumberedRecurrence"`
	StartDate           string   `xml:"StartDate"`
	NumberOfOccurrences int      `xml:"NumberOfOccurrences"`
}

type OccurrenceItemId

type OccurrenceItemId struct {
	XMLName           xml.Name `xml:"t:OccurrenceItemId"`
	RecurringMasterId string   `xml:"RecurringMasterId,attr"`
	ChangeKey         string   `xml:"ChangeKey,attr"`
	InstanceIndex     uint     `xml:"InstanceIndex,attr"`
}

The OccurrenceItemId element identifies a single occurrence of a recurring item. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/occurrenceitemid

type OfficeLocations

type OfficeLocations struct {
	StringAttributedValue StringAttributedValue `xml:"StringAttributedValue"`
}

type OneMailbox

type OneMailbox struct {
	Mailbox Mailbox `xml:"t:Mailbox"`
}

OneMailbox is a wrapper with only a single Mailbox element inside. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/sender

type OptionalAttendees

type OptionalAttendees struct {
	XMLName  xml.Name `xml:"OptionalAttendees"`
	Attendee []Attendee
}

type Order

type Order string

Describes the sort order direction.

func (Order) String

func (s Order) String() string

type Organizer

type Organizer struct {
	XMLName xml.Name `xml:"Organizer"`
	Mailbox Mailbox
}

type ParentFolderId

type ParentFolderId struct {
	XMLName   xml.Name `xml:"m:ParentFolderId"`
	Id        string   `xml:"Id,attr"`
	ChangeKey string   `xml:"ChangeKey,attr,omitempty"`
}

The ParentFolderId element represents the identifier of the parent folder that contains the item or folder. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/parentfolderid

type ParentItemId

type ParentItemId struct {
	XMLName   xml.Name `xml:"m:ParentItemId"`
	Id        string   `xml:"Id,attr"`
	ChangeKey string   `xml:"ChangeKey,attr,omitempty"`
}

The ParentItemId element identifies the parent item that links to an associated attachment. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/parentitemid

type Persona

type Persona struct {
	PersonaId            PersonaId            `xml:"PersonaId"`
	DisplayName          string               `xml:"DisplayName"`
	Title                string               `xml:"Title"`
	Department           string               `xml:"Department"`
	Departments          Departments          `xml:"Departments"`
	EmailAddress         Mailbox              `xml:"EmailAddress"`
	RelevanceScore       int                  `xml:"RelevanceScore"`
	BusinessPhoneNumbers BusinessPhoneNumbers `xml:"BusinessPhoneNumbers"`
	MobilePhones         MobilePhones         `xml:"MobilePhones"`
	OfficeLocations      OfficeLocations      `xml:"OfficeLocations"`
}

type PersonaId

type PersonaId struct {
	Id string `xml:"Id,attr"`
}

type PhoneNumberAttributedValue

type PhoneNumberAttributedValue struct {
	Value Value `json:"Value"`
}

type PostReplyItem

type PostReplyItem struct {
	XMLName xml.Name `xml:"PostReplyItem"`
}

type ProposeNewTime

type ProposeNewTime struct {
	XMLName xml.Name `xml:"ProposeNewTime"`
}

type PushSubscriptionRequest

type PushSubscriptionRequest struct {
	XMLName         xml.Name `xml:"m:PushSubscriptionRequest"`
	FolderIds       FolderIds
	EventTypes      EventTypes
	Watermark       *string `xml:"t:Watermark,omitempty"`
	StatusFrequency *int    `xml:"t:StatusFrequency,omitempty"`
	URL             *string `xml:"t:URL"`
}

The PushSubscriptionRequest element represents a subscription to a push-based event notification subscription. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/pushsubscriptionrequest

type Range

type Range struct {
	XMLName                  xml.Name  `xml:"t:Range"`
	Start                    time.Time `xml:"Start,attr"`
	End                      time.Time `xml:"End,attr"`
	Count                    int       `xml:"Count,attr"`
	CompareOriginalStartTime bool      `xml:"CompareOriginalStartTime,attr"`
}

The Range element specifies a range of calendar item occurrences for a repeating calendar item.const https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/range

type Ranges

type Ranges struct {
	XMLName xml.Name `xml:"t:Ranges"`
	Range   []Range
}

The Ranges element specifies an array of recurrence ranges. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/ranges

type Recepients

type Recepients struct {
	Mailbox SendMailbox
}

type Recurrence

type Recurrence struct {
	XMLName xml.Name `xml:"Recurrence"`

	DailyRecurrence *DailyRecurrence

	WeeklyRecurrence *WeeklyRecurrence

	AbsoluteMonthlyRecurrence *AbsoluteMonthlyRecurrence
	RelativeMonthlyRecurrence *RelativeMonthlyRecurrence

	AbsoluteYearlyRecurrence *AbsoluteYearlyRecurrence
	RelativeYearlyRecurrence *RelativeYearlyRecurrence

	EndDateRecurrence  *EndDateRecurrence
	NoEndRecurrence    *NoEndRecurrence
	NumberedRecurrence *NumberedRecurrence
}

type RecurringMasterItemId

type RecurringMasterItemId struct {
	XMLName      xml.Name `xml:"t:RecurringMasterItemId"`
	OccurrenceId string   `xml:"OccurrenceId,attr"`
	ChangeKey    string   `xml:"ChangeKey,attr,omitempty"`
}

The RecurringMasterItemId element identifies a recurrence master item by identifying the identifiers of one of its related occurrence items. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/recurringmasteritemid

type RecurringMasterItemIdRanges

type RecurringMasterItemIdRanges struct {
	XMLName   xml.Name `xml:"t:RecurringMasterItemIdRanges"`
	Id        string   `xml:"Id,attr"`
	ChangeKey string   `xml:"ChangeKey,attr,omitempty"`
	Ranges    Ranges
}

The RecurringMasterItemIdRanges element specifies an array of occurrence ranges. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/recurringmasteritemidranges

type ReferenceItemId

type ReferenceItemId struct {
	XMLName   xml.Name `xml:"t:ReferenceItemId"`
	Id        string   `xml:"Id,attr"`
	ChangeKey string   `xml:"ChangeKey,attr,omitempty"`
}

type RelativeMonthlyRecurrence

type RelativeMonthlyRecurrence struct {
	XMLName        xml.Name `xml:"RelativeMonthlyRecurrence"`
	DaysOfWeek     string   `xml:"DaysOfWeek,omitempty"`
	DayOfWeekIndex string   `xml:"DayOfWeekIndex"`
	Interval       int      `xml:"Interval,omitempty"`
}

type RelativeYearlyRecurrence

type RelativeYearlyRecurrence struct {
	XMLName        xml.Name `xml:"RelativeYearlyRecurrence"`
	DaysOfWeek     string   `xml:"DaysOfWeek,omitempty"`
	DayOfWeekIndex string   `xml:"DayOfWeekIndex"`
	Month          string   `xml:"Month,omitempty"`
}

type Reminder

type Reminder struct {
	XMLName               xml.Name `xml:"Reminder"`
	Subject               string
	Location              string
	ReminderTime          time.Time
	StartDate             time.Time
	EndDate               time.Time
	ItemId                *ItemId `xml:"ItemId,omitempty"`
	RecurringMasterItemId string
	ReminderGroup         string
	UID                   string
}

The Reminder element specifies a reminder for a task or a calendar item. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/reminder

type Reminders

type Reminders struct {
	XMLName  xml.Name `xml:"Reminders"`
	Reminder []Reminder
}

The Reminders element specifies the reminders returned in the response to a GetReminders request. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/reminders

type RemoveItem

type RemoveItem struct {
	XMLName xml.Name `xml:"RemoveItem"`
}

type ReplyAllToItem

type ReplyAllToItem struct {
	XMLName xml.Name `xml:"ReplyAllToItem"`
}

type ReplyToItem

type ReplyToItem struct {
	XMLName xml.Name `xml:"ReplyToItem"`
}

type RequestServerVersion

type RequestServerVersion struct {
	Version Version `xml:"Version,attr"`
}

type RequestedView

type RequestedView string

The RequestedView element defines the type of calendar information that a client requests. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/requestedview

func (RequestedView) String

func (s RequestedView) String() string

type RequiredAttendees

type RequiredAttendees struct {
	XMLName  xml.Name `xml:"RequiredAttendees"`
	Attendee []Attendee
}

type Response

type Response struct {
	ResponseClass ResponseClass `xml:"ResponseClass,attr"`
	// The MessageText element provides a text description of the status of the
	// response.
	// https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/messagetext
	MessageText  string       `xml:"MessageText"`
	ResponseCode ResponseCode `xml:"ResponseCode"`
	MessageXml   MessageXml   `xml:"MessageXml"`
}

https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/responsemessage

func (Response) String

func (r Response) String() string

type ResponseClass

type ResponseClass string
const (
	// ResponseClass_Success describes a request that is fulfilled.
	ResponseClass_Success ResponseClass = "Success"
	// ResponseClass_Warning describes a request that was not processed. A
	// warning may be returned if an error occurred while an item in the
	// request was processing and subsequent items could not be processed.
	ResponseClass_Warning ResponseClass = "Warning"
	// ResponseClass_Error describes a request that cannot be fulfilled.
	// Information about the error can be found in the Response.ResponseCode
	// and Response.MessageText elements.
	ResponseClass_Error ResponseClass = "Error"
)

func (ResponseClass) String

func (r ResponseClass) String() string

type ResponseCode

type ResponseCode string

The ResponseCode element provides status information about the request. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/responsecode

const (
	// NoError indicates no error occurred for the request.
	NoError ResponseCode = "NoError"

	// ErrorAccessDenied occurs when the calling account does not have the
	// rights to perform the requested action.
	ErrorAccessDenied ResponseCode = "ErrorAccessDenied"

	// ErrorAccessModeSpecified is for internal use only. This error is not
	// returned.
	ErrorAccessModeSpecified ResponseCode = "ErrorAccessModeSpecified"

	// ErrorAccountDisabled occurs when the account in question has been
	// disabled.
	ErrorAccountDisabled ResponseCode = "ErrorAccountDisabled"

	// ErrorAddDelegatesFailed occurs when a list with added delegates cannot
	// be saved.
	ErrorAddDelegatesFailed ResponseCode = "ErrorAddDelegatesFailed"

	// ErrorAddressSpaceNotFound occurs when the address space record, or
	// Domain Name System (DNS) domain name, for cross-forest availability
	// could not be found in the Active Directory database.
	ErrorAddressSpaceNotFound ResponseCode = "ErrorAddressSpaceNotFound"

	// ErrorADOperation occurs when the operation failed because of
	// communication problems with Active Directory Domain Services (AD DS).
	ErrorADOperation ResponseCode = "ErrorADOperation"

	// ErrorADSessionFilter is returned when a ResolveNames operation request
	// specifies a name that is not valid.
	ErrorADSessionFilter ResponseCode = "ErrorADSessionFilter"

	// ErrorADUnavailable occurs when AD DS is unavailable. Try your request
	// again later.
	ErrorADUnavailable ResponseCode = "ErrorADUnavailable"

	// ErrorAffectedTaskOccurrencesRequired indicates that the
	// AffectedTaskOccurrences attribute was not specified. When the
	// DeleteItem element is used to delete at least one item that is a task,
	// and regardless of whether that task is recurring or not, the
	// AffectedTaskOccurrences attribute has to be specified so that
	// DeleteItem can determine whether to delete the current occurrence
	// or the entire series.
	ErrorAffectedTaskOccurrencesRequired ResponseCode = "ErrorAffectedTaskOccurrencesRequired"

	// ErrorArchiveFolderPathCreation indicates an error in archive folder path
	// creation.
	ErrorArchiveFolderPathCreation ResponseCode = "ErrorArchiveFolderPathCreation"

	// ErrorArchiveMailboxNotEnabled indicates that the archive mailbox was not
	// enabled.
	ErrorArchiveMailboxNotEnabled ResponseCode = "ErrorArchiveMailboxNotEnabled"

	// ErrorArchiveMailboxServiceDiscoveryFailed indicates that archive mailbox
	// service discovery failed.
	// This error was introduced in Exchange 2013.
	ErrorArchiveMailboxServiceDiscoveryFailed ResponseCode = "ErrorArchiveMailboxServiceDiscoveryFailed"

	// ErrorAttachmentNestLevelLimitExceeded specifies that an attempt was made
	// to create an item with more than 10 nested attachments. This value was
	// introduced in Exchange Server 2010 Service Pack 2 (SP2).
	ErrorAttachmentNestLevelLimitExceeded ResponseCode = "ErrorAttachmentNestLevelLimitExceeded"

	// ErrorAttachmentSizeLimitExceeded is returned by the CreateAttachment
	// element if an attempt is made to create an attachment with size
	// exceeding Int32.MaxValue, in bytes. The GetAttachment element returns
	// this error if an attempt to retrieve an existing attachment with size
	// exceeding Int32.MaxValue, in bytes.
	ErrorAttachmentSizeLimitExceeded ResponseCode = "ErrorAttachmentSizeLimitExceeded"

	// ErrorAutoDiscoverFailed indicates that Exchange Web Services tried to
	// determine the location of a cross-forest computer that is running
	// Exchange 2010 that has the Client Access server role installed by using
	// the Autodiscover service, but the call to the Autodiscover service
	// failed.
	ErrorAutoDiscoverFailed ResponseCode = "ErrorAutoDiscoverFailed"

	// ErrorAvailabilityConfigNotFound indicates that the availability
	// configuration information for the local forest is missing from AD DS.
	ErrorAvailabilityConfigNotFound ResponseCode = "ErrorAvailabilityConfigNotFound"

	// ErrorBatchProcessingStopped indicates that an exception occurred while
	// processing an item and that exception is likely to occur for the items
	// that follow. Requests may include multiple items; for example, a GetItem
	// operation request might include multiple identifiers. In general, items
	// are processed one at a time. If an exception occurs while processing an
	// item and that exception is likely to occur for the items that follow,
	// items that follow will not be processed. The following are examples of
	// errors that will stop processing for items that follow:
	//  - ErrorAccessDenied
	//  - ErrorAccountDisabled
	//  - ErrorADUnavailable
	//  - ErrorADOperation
	//  - ErrorConnectionFailed
	//  - ErrorMailboxStoreUnavailable
	//  - ErrorMailboxMoveInProgress
	//  - ErrorPasswordChangeRequired
	//  - ErrorPasswordExpired
	//  - ErrorQuotaExceeded
	//  - ErrorInsufficientResources
	ErrorBatchProcessingStopped ResponseCode = "ErrorBatchProcessingStopped"

	// ErrorCalendarCannotMoveOrCopyOccurrence occurs when an attempt is made
	// to move or copy an occurrence of a recurring calendar item.
	ErrorCalendarCannotMoveOrCopyOccurrence ResponseCode = "ErrorCalendarCannotMoveOrCopyOccurrence"

	// ErrorCalendarCannotUpdateDeletedItem occurs when an attempt is made to
	// update a calendar item that is located in the Deleted Items folder and
	// when meeting updates or cancellations are to be sent according to the
	// value of the SendMeetingInvitationsOrCancellations attribute.
	// The following are the possible values for this attribute:
	//  - SendToAllAndSaveCopy (SendMeetingInvitationsOrCancellations_SendToAllAndSaveCopy)
	//  - SendToChangedAndSaveCopy (SendMeetingInvitationsOrCancellations_SendToChangedAndSaveCopy)
	//  - SendOnlyToAll (SendMeetingInvitationsOrCancellations_SendOnlyToAll)
	//  - SendOnlyToChanged (SendMeetingInvitationsOrCancellations_SendOnlyToChanged)
	// However, such an update is allowed only when the value of this attribute
	// is set to SendToNone (SendMeetingInvitationsOrCancellations_SendToNone).
	ErrorCalendarCannotUpdateDeletedItem ResponseCode = "ErrorCalendarCannotUpdateDeletedItem"

	// ErrorCalendarCannotUseIdForOccurrenceId occurs when the UpdateItem,
	// GetItem, DeleteItem, MoveItem, CopyItem, or SendItem operation is called
	// and the ID that was specified is not an occurrence ID of any recurring
	// calendar item.
	ErrorCalendarCannotUseIdForOccurrenceId ResponseCode = "ErrorCalendarCannotUseIdForOccurrenceId"

	// ErrorCalendarCannotUseIdForRecurringMasterId occurs when the UpdateItem,
	// GetItem, DeleteItem, MoveItem, CopyItem, or SendItem operation is called
	// and the ID that was specified is not an ID of any recurring master item.
	ErrorCalendarCannotUseIdForRecurringMasterId ResponseCode = "ErrorCalendarCannotUseIdForRecurringMasterId"

	// ErrorCalendarDurationIsTooLong occurs during a CreateItem or UpdateItem
	// operation when a calendar item duration is longer than the maximum
	// allowed, which is currently 5 years.
	ErrorCalendarDurationIsTooLong ResponseCode = "ErrorCalendarDurationIsTooLong"

	// ErrorCalendarEndDateIsEarlierThanStartDate occurs when a calendar End
	// time is set to the same time or after the Start time.
	ErrorCalendarEndDateIsEarlierThanStartDate ResponseCode = "ErrorCalendarEndDateIsEarlierThanStartDate"

	// ErrorCalendarFolderIsInvalidForCalendarView occurs when the specified
	// folder for a FindItem operation with a CalendarView element is not of
	// calendar folder type.
	ErrorCalendarFolderIsInvalidForCalendarView ResponseCode = "ErrorCalendarFolderIsInvalidForCalendarView"

	// ErrorCalendarInvalidDayForTimeChangePattern occurs during a CreateItem
	// or UpdateItem operation when invalid values of Day, WeekendDay, and
	// Weekday are used to define the time change pattern.
	ErrorCalendarInvalidDayForTimeChangePattern ResponseCode = "ErrorCalendarInvalidDayForTimeChangePattern"

	// ErrorCalendarInvalidDayForWeeklyRecurrence occurs during a CreateItem or
	// UpdateItem operation when invalid values of Day, WeekDay, and WeekendDay
	// are used to specify the weekly recurrence.
	ErrorCalendarInvalidDayForWeeklyRecurrence ResponseCode = "ErrorCalendarInvalidDayForWeeklyRecurrence"

	// ErrorCalendarInvalidPropertyState occurs when the state of a calendar
	// item recurrence binary large object (BLOB) in the Exchange store is
	// invalid.
	ErrorCalendarInvalidPropertyState ResponseCode = "ErrorCalendarInvalidPropertyState"

	// ErrorCalendarInvalidRecurrence occurs when the specified recurrence
	// cannot be created.
	ErrorCalendarInvalidRecurrence ResponseCode = "ErrorCalendarInvalidRecurrence"

	// ErrorCalendarInvalidTimeZone occurs when an invalid time zone is
	// encountered.
	ErrorCalendarInvalidTimeZone ResponseCode = "ErrorCalendarInvalidTimeZone"

	// ErrorCalendarIsCancelledForAccept indicates that a calendar item has
	// been canceled.
	ErrorCalendarIsCancelledForAccept ResponseCode = "ErrorCalendarIsCancelledForAccept"

	// ErrorCalendarIsCancelledForDecline indicates that a calendar item has
	// been canceled.
	ErrorCalendarIsCancelledForDecline ResponseCode = "ErrorCalendarIsCancelledForDecline"

	// ErrorCalendarIsCancelledForRemove indicates that a calendar item has
	// been canceled.
	ErrorCalendarIsCancelledForRemove ResponseCode = "ErrorCalendarIsCancelledForRemove"

	// ErrorCalendarIsCancelledForTentative indicates that a calendar item has
	// been canceled.
	ErrorCalendarIsCancelledForTentative ResponseCode = "ErrorCalendarIsCancelledForTentative"

	// ErrorCalendarIsDelegatedForAccept indicates that the AcceptItem element
	// is invalid for a calendar item or meeting request in a delegated
	// scenario.
	ErrorCalendarIsDelegatedForAccept ResponseCode = "ErrorCalendarIsDelegatedForAccept"

	// ErrorCalendarIsDelegatedForDecline indicates that the DeclineItem
	// element is invalid for a calendar item or meeting request in a delegated
	// scenario.
	ErrorCalendarIsDelegatedForDecline ResponseCode = "ErrorCalendarIsDelegatedForDecline"

	// ErrorCalendarIsDelegatedForRemove indicates that the RemoveItem element
	// is invalid for a meeting cancellation in a delegated scenario.
	ErrorCalendarIsDelegatedForRemove ResponseCode = "ErrorCalendarIsDelegatedForRemove"

	// ErrorCalendarIsDelegatedForTentative indicates that the
	// TentativelyAcceptItem element is invalid for a calendar item or meeting
	// request in a delegated scenario.
	ErrorCalendarIsDelegatedForTentative ResponseCode = "ErrorCalendarIsDelegatedForTentative"

	// ErrorCalendarIsNotOrganizer indicates that the operation (currently
	// CancelItem) on the calendar item is not valid for an attendee. Only the
	// meeting organizer can cancel the meeting.
	ErrorCalendarIsNotOrganizer ResponseCode = "ErrorCalendarIsNotOrganizer"

	// ErrorCalendarIsOrganizerForAccept indicates that AcceptItem is invalid
	// for the organizer's calendar item.
	ErrorCalendarIsOrganizerForAccept ResponseCode = "ErrorCalendarIsOrganizerForAccept"

	// ErrorCalendarIsOrganizerForDecline indicates that DeclineItem is invalid
	// for the organizer's calendar item.
	ErrorCalendarIsOrganizerForDecline ResponseCode = "ErrorCalendarIsOrganizerForDecline"

	// ErrorCalendarIsOrganizerForRemove indicates that RemoveItem is invalid
	// for the organizer's calendar item. To remove a meeting from the calendar,
	// the organizer must use CancelCalendarItem.
	ErrorCalendarIsOrganizerForRemove ResponseCode = "ErrorCalendarIsOrganizerForRemove"

	// ErrorCalendarIsOrganizerForTentative indicates that
	// TentativelyAcceptItem is invalid for the organizer's calendar item.
	ErrorCalendarIsOrganizerForTentative ResponseCode = "ErrorCalendarIsOrganizerForTentative"

	// ErrorCalendarMeetingRequestIsOutOfDate indicates that a meeting request
	// is out-of-date and cannot be updated.
	ErrorCalendarMeetingRequestIsOutOfDate ResponseCode = "ErrorCalendarMeetingRequestIsOutOfDate"

	// ErrorCalendarOccurrenceIndexIsOutOfRecurrenceRange indicates that the
	// occurrence index does not point to an occurrence within the current
	// recurrence. For example, if your recurrence pattern defines a set of
	// three meeting occurrences and you try to access the fifth occurrence,
	// this response code will result.
	ErrorCalendarOccurrenceIndexIsOutOfRecurrenceRange ResponseCode = "ErrorCalendarOccurrenceIndexIsOutOfRecurrenceRange"

	// ErrorCalendarOccurrenceIsDeletedFromRecurrence indicates that any
	// operation on a deleted occurrence (addressed via recurring master ID and
	// occurrence index) is invalid.
	ErrorCalendarOccurrenceIsDeletedFromRecurrence ResponseCode = "ErrorCalendarOccurrenceIsDeletedFromRecurrence"

	// ErrorCalendarOutOfRange is reported on CreateItem and UpdateItem
	// operations for calendar items or task recurrence properties when the
	// property value is out of range. For example, specifying the fifteenth
	// week of the month will result in this response code.
	ErrorCalendarOutOfRange ResponseCode = "ErrorCalendarOutOfRange"

	// ErrorCalendarViewRangeTooBig occurs when Start to End range for the
	// CalendarView element is more than the maximum allowed, currently 2 years.
	ErrorCalendarViewRangeTooBig ResponseCode = "ErrorCalendarViewRangeTooBig"

	// ErrorCallerIsInvalidADAccount indicates that the requesting account is
	// not a valid account in the directory database.
	ErrorCallerIsInvalidADAccount ResponseCode = "ErrorCallerIsInvalidADAccount"

	// ErrorCannotArchiveCalendarContactTaskFolderException indicates that an
	// attempt was made to archive a calendar contact task folder.
	ErrorCannotArchiveCalendarContactTaskFolderException ResponseCode = "ErrorCannotArchiveCalendarContactTaskFolderException"

	// ErrorCannotArchiveItemsInPublicFolders indicates that an attempt was
	// made to archive items in public folders.
	ErrorCannotArchiveItemsInPublicFolders ResponseCode = "ErrorCannotArchiveItemsInPublicFolders"

	// ErrorCannotArchiveItemsInArchiveMailbox indicates that attempt was made
	// to archive items in the archive mailbox.
	ErrorCannotArchiveItemsInArchiveMailbox ResponseCode = "ErrorCannotArchiveItemsInArchiveMailbox"

	// ErrorCannotCreateCalendarItemInNonCalendarFolder occurs when a calendar
	// item is being created and the SavedItemFolderId attribute refers to a
	// non-calendar folder.
	ErrorCannotCreateCalendarItemInNonCalendarFolder ResponseCode = "ErrorCannotCreateCalendarItemInNonCalendarFolder"

	// ErrorCannotCreateContactInNonContactFolder occurs when a contact is
	// being created and the SavedItemFolderId attribute refers to a
	// non-contact folder.
	ErrorCannotCreateContactInNonContactFolder ResponseCode = "ErrorCannotCreateContactInNonContactFolder"

	// ErrorCannotCreatePostItemInNonMailFolder indicates that a post item
	// cannot be created in a folder other than a mail folder, such as Calendar,
	// Contact, Tasks, Notes, and so on.
	ErrorCannotCreatePostItemInNonMailFolder ResponseCode = "ErrorCannotCreatePostItemInNonMailFolder"

	// ErrorCannotCreateTaskInNonTaskFolder occurs when a task is being created
	// and the SavedItemFolderId attribute refers to a non-task folder.
	ErrorCannotCreateTaskInNonTaskFolder ResponseCode = "ErrorCannotCreateTaskInNonTaskFolder"

	// ErrorCannotDeleteObject occurs when the item or folder to delete cannot
	// be deleted.
	ErrorCannotDeleteObject ResponseCode = "ErrorCannotDeleteObject"

	// ErrorCannotDeleteTaskOccurrence is returned by the DeleteItem operation
	// when it fails to delete the current occurrence of a recurring task. This
	// can only happen if the AffectedTaskOccurrences attribute has been set to
	// SpecifiedOccurrenceOnly.
	ErrorCannotDeleteTaskOccurrence ResponseCode = "ErrorCannotDeleteTaskOccurrence"

	// ErrorCannotDisableMandatoryExtension indicates that an attempt was made
	// to disable a mandatory extension.
	ErrorCannotDisableMandatoryExtension ResponseCode = "ErrorCannotDisableMandatoryExtension"

	// ErrorCannotEmptyFolder must be returned when the server cannot empty a
	// folder.
	ErrorCannotEmptyFolder ResponseCode = "ErrorCannotEmptyFolder"

	// ErrorCannotGetSourceFolderPath indicates that the source folder path
	// could not be retrieved.
	ErrorCannotGetSourceFolderPath ResponseCode = "ErrorCannotGetSourceFolderPath"

	// ErrorCannotGetExternalEcpUrl specifies that the server could not
	// retrieve the external URL for Outlook Web App Options.
	ErrorCannotGetExternalEcpUrl ResponseCode = "ErrorCannotGetExternalEcpUrl"

	// ErrorCannotOpenFileAttachment is returned by the GetAttachment operation
	// if it cannot retrieve the body of a file attachment.
	ErrorCannotOpenFileAttachment ResponseCode = "ErrorCannotOpenFileAttachment"

	// ErrorCannotSetCalendarPermissionOnNonCalendarFolder indicates that the
	// caller tried to set calendar permissions on a non-calendar folder.
	ErrorCannotSetCalendarPermissionOnNonCalendarFolder ResponseCode = "ErrorCannotSetCalendarPermissionOnNonCalendarFolder"

	// ErrorCannotSetNonCalendarPermissionOnCalendarFolder indicates that the
	// caller tried to set non-calendar permissions on a calendar folder.
	ErrorCannotSetNonCalendarPermissionOnCalendarFolder ResponseCode = "ErrorCannotSetNonCalendarPermissionOnCalendarFolder"

	// ErrorCannotSetPermissionUnknownEntries indicates that you cannot set
	// unknown permissions in a permissions set.
	ErrorCannotSetPermissionUnknownEntries ResponseCode = "ErrorCannotSetPermissionUnknownEntries"

	// ErrorCannotSpecifySearchFolderAsSourceFolder indicates that an attempt
	// was made to specify the search folder as the source folder.
	ErrorCannotSpecifySearchFolderAsSourceFolder ResponseCode = "ErrorCannotSpecifySearchFolderAsSourceFolder"

	// ErrorCannotUseFolderIdForItemId occurs when a request that requires an
	// item identifier is given a folder identifier.
	ErrorCannotUseFolderIdForItemId ResponseCode = "ErrorCannotUseFolderIdForItemId"

	// ErrorCannotUseItemIdForFolderId occurs when a request that requires a
	// folder identifier is given an item identifier.
	ErrorCannotUseItemIdForFolderId ResponseCode = "ErrorCannotUseItemIdForFolderId"

	// ErrorChangeKeyRequired code has been replaced by
	// ErrorChangeKeyRequiredForWriteOperations
	ErrorChangeKeyRequired ResponseCode = "ErrorChangeKeyRequired"

	// ErrorChangeKeyRequiredForWriteOperations is returned when the change key
	// for an item is missing or stale. For SendItem, UpdateItem, and
	// UpdateFolder operations, the caller must pass in a correct and current
	// change key for the item. Note that this is the case with UpdateItem even
	// when conflict resolution is set to always overwrite.
	ErrorChangeKeyRequiredForWriteOperations ResponseCode = "ErrorChangeKeyRequiredForWriteOperations"

	// ErrorClientDisconnected specifies that the client was disconnected.
	ErrorClientDisconnected ResponseCode = "ErrorClientDisconnected"

	// ErrorClientIntentInvalidStateDefinition is intended for internal use only.
	ErrorClientIntentInvalidStateDefinition ResponseCode = "ErrorClientIntentInvalidStateDefinition"

	// ErrorClientIntentNotFound is intended for internal use only.
	ErrorClientIntentNotFound ResponseCode = "ErrorClientIntentNotFound"

	// ErrorConnectionFailed occurs when Exchange Web Services cannot connect
	// to the mailbox.
	ErrorConnectionFailed ResponseCode = "ErrorConnectionFailed"

	// ErrorContainsFilterWrongType indicates that the property that was
	// inspected for a Contains filter is not a string type.
	ErrorContainsFilterWrongType ResponseCode = "ErrorContainsFilterWrongType"

	// ErrorContentConversionFailed is returned by the GetItem operation when
	// Exchange Web Services is unable to retrieve the MIME content for the
	// item requested. The CreateItem operation returns this error when
	// Exchange Web Services is unable to create the item from the supplied
	// MIME content. Usually this is an indication that the item property is
	// corrupted or truncated.
	ErrorContentConversionFailed ResponseCode = "ErrorContentConversionFailed"

	// ErrorContentIndexingNotEnabled occurs when a search request is made
	// using the QueryString option and content indexing is not enabled for the
	// target mailbox.
	ErrorContentIndexingNotEnabled ResponseCode = "ErrorContentIndexingNotEnabled"

	// ErrorCorruptData occurs when the data is corrupted and cannot be
	// processed.
	ErrorCorruptData ResponseCode = "ErrorCorruptData"

	// ErrorCreateItemAccessDenied occurs when the caller does not have
	// permission to create the item.
	ErrorCreateItemAccessDenied ResponseCode = "ErrorCreateItemAccessDenied"

	// ErrorCreateManagedFolderPartialCompletion occurs when one or more of the
	// managed folders that were specified in the CreateManagedFolder operation
	// request failed to be created. Search for each folder to determine which
	// folders were created and which folders do not exist.
	ErrorCreateManagedFolderPartialCompletion ResponseCode = "ErrorCreateManagedFolderPartialCompletion"

	// ErrorCreateSubfolderAccessDenied occurs when the calling account does
	// not have the permissions required to create the subfolder.
	ErrorCreateSubfolderAccessDenied ResponseCode = "ErrorCreateSubfolderAccessDenied"

	// ErrorCrossMailboxMoveCopy occurs when an attempt is made to move an item
	// or folder from one mailbox to another. If the source mailbox and
	// destination mailbox are different, you will get this error.
	ErrorCrossMailboxMoveCopy ResponseCode = "ErrorCrossMailboxMoveCopy"

	// ErrorCrossSiteRequest indicates that the request is not allowed because
	// the Client Access server that should service the request is in a
	// different site.
	ErrorCrossSiteRequest ResponseCode = "ErrorCrossSiteRequest"

	// ErrorDataSizeLimitExceeded can occur in the following scenarios:
	//  - An attempt is made to access or write a property on an item and the
	//    property value is too large.
	//  - The base64 encoded MIME content length within the request XML exceeds
	//    the limit.
	//  - The size of the body of an existing item body exceeds the limit.
	//  - The consumer tries to set an HTML or text body whose length (or
	//    combined length in the case of append) exceeds the limit.
	ErrorDataSizeLimitExceeded ResponseCode = "ErrorDataSizeLimitExceeded"

	// ErrorDataSourceOperation occurs when the underlying data provider fails
	// to complete the operation.
	ErrorDataSourceOperation ResponseCode = "ErrorDataSourceOperation"

	// ErrorDelegateAlreadyExists occurs in an AddDelegate operation when the
	// specified user already exists in the list of delegates.
	ErrorDelegateAlreadyExists ResponseCode = "ErrorDelegateAlreadyExists"

	// ErrorDelegateCannotAddOwner occurs in an AddDelegate operation when the
	// specified user to be added is the owner of the mailbox.
	ErrorDelegateCannotAddOwner ResponseCode = "ErrorDelegateCannotAddOwner"

	// ErrorDelegateMissingConfiguration occurs in a GetDelegate operation when
	// either there is no delegate information on the local FreeBusy message or
	// no Active Directory public delegate (no "public delegate" or no "Send On
	// Behalf" entry in AD DS).
	ErrorDelegateMissingConfiguration ResponseCode = "ErrorDelegateMissingConfiguration"

	// ErrorDelegateNoUser occurs when a specified user cannot be mapped to a
	// user in AD DS.
	ErrorDelegateNoUser ResponseCode = "ErrorDelegateNoUser"

	// ErrorDelegateValidationFailed occurs in the AddDelegate operation when
	// an added delegate user is not valid.
	ErrorDelegateValidationFailed ResponseCode = "ErrorDelegateValidationFailed"

	// ErrorDeleteDistinguishedFolder occurs when an attempt is made to delete
	// a distinguished folder.
	ErrorDeleteDistinguishedFolder ResponseCode = "ErrorDeleteDistinguishedFolder"

	// ErrorDeleteUnifiedMessagingPromptFailed is intended for internal use
	// only.
	ErrorDeleteUnifiedMessagingPromptFailed ResponseCode = "ErrorDeleteUnifiedMessagingPromptFailed"

	// ErrorDistinguishedUserNotSupported indicates that a distinguished user
	// ID is not valid for the operation. DistinguishedUserType should not be
	// present in the request.
	ErrorDistinguishedUserNotSupported ResponseCode = "ErrorDistinguishedUserNotSupported"

	// ErrorDistributionListMemberNotExist indicates that a request
	// distribution list member does not exist in the distribution list.
	ErrorDistributionListMemberNotExist ResponseCode = "ErrorDistributionListMemberNotExist"

	// ErrorDuplicateInputFolderNames occurs when duplicate folder names are
	// specified within the FolderNames element of the CreateManagedFolder
	// operation request.
	ErrorDuplicateInputFolderNames ResponseCode = "ErrorDuplicateInputFolderNames"

	// ErrorDuplicateSOAPHeader indicates that there are duplicate SOAP headers.
	ErrorDuplicateSOAPHeader ResponseCode = "ErrorDuplicateSOAPHeader"

	// ErrorDuplicateUserIdsSpecified indicates that a duplicate user ID has
	// been found in a permission set, either Default or Anonymous are set more
	// than once, or there are duplicate SIDs or recipients.
	ErrorDuplicateUserIdsSpecified ResponseCode = "ErrorDuplicateUserIdsSpecified"

	// ErrorEmailAddressMismatch occurs when a request attempts to
	// create/update the search parameters of a search folder. For example,
	// this can occur when a search folder is created in the mailbox but the
	// search folder is directed to look in another mailbox.
	ErrorEmailAddressMismatch ResponseCode = "ErrorEmailAddressMismatch"

	// ErrorEventNotFound occurs when the event that is associated with a
	// watermark is deleted before the event is returned. When this error is
	// returned, the subscription is also deleted.
	ErrorEventNotFound ResponseCode = "ErrorEventNotFound"

	// ErrorExceededConnectionCount -iIndicates that there are more concurrent
	// requests against the server than are allowed by a user's policy.
	ErrorExceededConnectionCount ResponseCode = "ErrorExceededConnectionCount"

	// ErrorExceededSubscriptionCount indicates that a user's throttling policy
	// maximum subscription count has been exceeded.
	ErrorExceededSubscriptionCount ResponseCode = "ErrorExceededSubscriptionCount"

	// ErrorExceededFindCountLimit indicates that a search operation call has
	// exceeded the total number of items that can be returned.
	ErrorExceededFindCountLimit ResponseCode = "ErrorExceededFindCountLimit"

	// ErrorExpiredSubscription occurs if the GetEvents operation is called as
	// a subscription is being deleted because it has expired.
	ErrorExpiredSubscription ResponseCode = "ErrorExpiredSubscription"

	// ErrorExtensionNotFound indicates that the extension was not found.
	ErrorExtensionNotFound ResponseCode = "ErrorExtensionNotFound"

	// ErrorFolderCorrupt occurs when the folder is corrupted and cannot be
	// saved.
	ErrorFolderCorrupt ResponseCode = "ErrorFolderCorrupt"

	// ErrorFolderExists occurs when an attempt is made to create a folder that
	// has the same name as another folder in the same parent. Duplicate folder
	// names are not allowed.
	ErrorFolderExists ResponseCode = "ErrorFolderExists"

	// ErrorFolderNotFound indicates that the folder ID that was specified does
	// not correspond to a valid folder, or that the delegate does not have
	// permission to access the folder.
	ErrorFolderNotFound ResponseCode = "ErrorFolderNotFound"

	// ErrorFolderPropertRequestFailed indicates that the requested property
	// could not be retrieved. This does not indicate that the property does
	// not exist, but that the property was corrupted in some way so that the
	// retrieval failed.
	ErrorFolderPropertRequestFailed ResponseCode = "ErrorFolderPropertRequestFailed"

	// ErrorFolderSave indicates that the folder could not be created or
	// updated because of an invalid state.
	ErrorFolderSave ResponseCode = "ErrorFolderSave"

	// ErrorFolderSaveFailed indicates that the folder could not be created or
	// updated because of an invalid state.
	ErrorFolderSaveFailed ResponseCode = "ErrorFolderSaveFailed"

	// ErrorFolderSavePropertyError indicates that the folder could not be
	// created or updated because of invalid property values. The response code
	// lists which properties caused the problem.
	ErrorFolderSavePropertyError ResponseCode = "ErrorFolderSavePropertyError"

	// ErrorFreeBusyDLLimitReached indicates that the maximum group member
	// count has been reached for obtaining free/busy information for a
	// distribution list.
	ErrorFreeBusyDLLimitReached ResponseCode = "ErrorFreeBusyDLLimitReached"

	// ErrorFreeBusyGenerationFailed is returned when free/busy information
	// cannot be retrieved because of an intervening failure.
	ErrorFreeBusyGenerationFailed ResponseCode = "ErrorFreeBusyGenerationFailed"

	// ErrorImContactLimitReached is returned when new instant messaging (IM)
	// contacts cannot be added because the maximum number of contacts has been
	// reached. This error was introduced in Exchange Server 2013.
	ErrorImContactLimitReached ResponseCode = "ErrorImContactLimitReached"

	// ErrorImGroupDisplayNameAlreadyExists is returned when an attempt is made
	// to add a group display name when an existing group already has the same
	// display name. This error was introduced in Exchange 2013.
	ErrorImGroupDisplayNameAlreadyExists ResponseCode = "ErrorImGroupDisplayNameAlreadyExists"

	// ErrorImGroupLimitReached is returned when new IM groups cannot be added
	// because the maximum number of groups has been reached.
	// This error was introduced in Exchange 2013.
	ErrorImGroupLimitReached ResponseCode = "ErrorImGroupLimitReached"

	// ErrorImpersonateUserDenied is returned in the server-to-server
	// authorization case for Exchange Impersonation when the caller does not
	// have the proper rights to impersonate the specific user in question.
	// This error maps to the ms-Exch-EPI-May-Impersonate extended Active
	// Directory right.
	ErrorImpersonateUserDenied ResponseCode = "ErrorImpersonateUserDenied"

	// ErrorImpersonationDenied is returned in the server-to-server
	// authorization for Exchange Impersonation when the caller does not have
	// the proper rights to impersonate through the Client Access server that
	// they are making the request against. This maps to the
	// ms-Exch-EPI-Impersonation extended Active Directory right.
	ErrorImpersonationDenied ResponseCode = "ErrorImpersonationDenied"

	// ErrorImpersonationFailed indicates that there was an unexpected error
	// when an attempt was made to perform server-to-server authentication.
	// This response code typically indicates either that the service account
	// that is running the Exchange Web Services application pool is configured
	// incorrectly, that Exchange Web Services cannot talk to the directory, or
	// that a trust between forests is not correctly configured.
	ErrorImpersonationFailed ResponseCode = "ErrorImpersonationFailed"

	// ErrorIncorrectSchemaVersion indicates that the request was valid for the
	// current Exchange Server version but was invalid for the request server
	// version that was specified.
	ErrorIncorrectSchemaVersion ResponseCode = "ErrorIncorrectSchemaVersion"

	// ErrorIncorrectUpdatePropertyCount indicates that each change description
	// in the UpdateItem or UpdateFolder elements must list only one property
	// to update.
	ErrorIncorrectUpdatePropertyCount ResponseCode = "ErrorIncorrectUpdatePropertyCount"

	// ErrorIndividualMailboxLimitReached occurs when the request contains too
	// many attendees to resolve. By default, the maximum number of attendees
	// to resolve is 100.
	ErrorIndividualMailboxLimitReached ResponseCode = "ErrorIndividualMailboxLimitReached"

	// ErrorInsufficientResources occurs when the mailbox server is overloaded.
	// Try your request again later.
	ErrorInsufficientResources ResponseCode = "ErrorInsufficientResources"

	// ErrorInternalServerError indicates that Exchange Web Services
	// encountered an error that it could not recover from, and a more specific
	// response code that is associated with the error that occurred does not
	// exist.
	ErrorInternalServerError ResponseCode = "ErrorInternalServerError"

	// ErrorInternalServerTransientError indicates that an internal server
	// error occurred and that you should try your request again later.
	ErrorInternalServerTransientError ResponseCode = "ErrorInternalServerTransientError"

	// ErrorInvalidAccessLevel indicates that the level of access that the
	// caller has on the free/busy data is invalid.
	ErrorInvalidAccessLevel ResponseCode = "ErrorInvalidAccessLevel"

	// ErrorInvalidArgument indicates an error caused by all invalid arguments
	// passed to the GetMessageTrackingReport operation. This error is returned
	// in the following scenarios:
	//  - The user specified in the sending-as parameter does not exist in the
	//    directory.
	//  - The user specified in the sending-as parameter is not unique in the
	//    directory.
	//  - The sending-as address is empty.
	//  - The sending-as address is not a valid e-mail address.
	ErrorInvalidArgument ResponseCode = "ErrorInvalidArgument"

	// ErrorInvalidAttachmentId is returned by the GetAttachment operation or
	// the DeleteAttachment operation when an attachment that corresponds to
	// the specified ID is not found.
	ErrorInvalidAttachmentId ResponseCode = "ErrorInvalidAttachmentId"

	// ErrorInvalidAttachmentSubfilter occurs when you try to bind to an
	// existing search folder by using a complex attachment table restriction.
	// Exchange Web Services only supports simple contains filters against the
	// attachment table. If you try to bind to an existing search folder that
	// has a more complex attachment table restriction (a subfilter), Exchange
	// Web Services cannot render the XML for that filter and returns this
	// response code.
	// Note that you can still call the GetFolder operation on the folder, but
	// do not request the SearchParameters element.
	ErrorInvalidAttachmentSubfilter ResponseCode = "ErrorInvalidAttachmentSubfilter"

	// ErrorInvalidAttachmentSubfilterTextFilter occurs when you try to bind to
	// an existing search folder by using a complex attachment table
	// restriction. Exchange Web Services only supports simple contains filters
	// against the attachment table.
	// If you try to bind to an existing search folder that has a more complex
	// attachment table restriction, Exchange Web Services cannot render the
	// XML for that filter. In this case, the attachment subfilter contains a
	// text filter, but it is not looking at the attachment display name.
	// Note that you can still call the GetFolder operation on the folder, but
	// do not request the SearchParameters element.
	ErrorInvalidAttachmentSubfilterTextFilter ResponseCode = "ErrorInvalidAttachmentSubfilterTextFilter"

	// ErrorInvalidAuthorizationContext indicates that the authorization
	// procedure for the requestor failed.
	ErrorInvalidAuthorizationContext ResponseCode = "ErrorInvalidAuthorizationContext"

	// ErrorInvalidChangeKey occurs when a consumer passes in a folder or item
	// identifier with a change key that cannot be parsed. For example, this
	// could be invalid base64 content or an empty string.
	ErrorInvalidChangeKey ResponseCode = "ErrorInvalidChangeKey"

	// ErrorInvalidClientSecurityContext indicates that there was an internal
	// error when an attempt was made to resolve the identity of the caller.
	ErrorInvalidClientSecurityContext ResponseCode = "ErrorInvalidClientSecurityContext"

	// ErrorInvalidCompleteDate is returned when an attempt is made to set the
	// CompleteDate element value of a task to a time in the future. When it is
	// converted to the local time of the Client Access server, the
	// CompleteDate of a task cannot be set to a value that is later than the
	// local time on the Client Access server.
	ErrorInvalidCompleteDate ResponseCode = "ErrorInvalidCompleteDate"

	// ErrorInvalidContactEmailAddress indicates that an invalid e-mail address
	// was provided for a contact.
	ErrorInvalidContactEmailAddress ResponseCode = "ErrorInvalidContactEmailAddress"

	// ErrorInvalidContactEmailIndex indicates that an invalid e-mail index
	// value was provided for an e-mail entry.
	ErrorInvalidContactEmailIndex ResponseCode = "ErrorInvalidContactEmailIndex"

	// ErrorInvalidCrossForestCredentials occurs when the credentials that are
	// used to proxy a request to a different directory service forest fail
	// authentication.
	ErrorInvalidCrossForestCredentials ResponseCode = "ErrorInvalidCrossForestCredentials"

	// ErrorInvalidDelegatePermission indicates that the specified folder
	// permissions are invalid.
	ErrorInvalidDelegatePermission ResponseCode = "ErrorInvalidDelegatePermission"

	// ErrorInvalidDelegateUserId indicates that the specified delegate user ID
	// is invalid.
	ErrorInvalidDelegateUserId ResponseCode = "ErrorInvalidDelegateUserId"

	// ErrorInvalidExchangeImpersonationHeaderData occurs during Exchange
	// Impersonation when a caller does not specify a UPN, an e-mail address,
	// or a user SID. This will also occur if the caller specifies one or more
	// of those and the values are empty.
	ErrorInvalidExchangeImpersonationHeaderData ResponseCode = "ErrorInvalidExchangeImpersonationHeaderData"

	// ErrorInvalidExcludesRestriction occurs when the bitmask that was passed
	// into an Excludes element restriction is unable to be parsed.
	ErrorInvalidExcludesRestriction ResponseCode = "ErrorInvalidExcludesRestriction"

	// ErrorInvalidExtendedProperty occurs when the following events take place:
	//  - The caller tries to use an extended property that is not supported by
	//    Exchange Web Services.
	//  - The caller passes in an invalid combination of attribute values for
	//    an extended property. This also occurs if no attributes are passed.
	//    Only certain combinations are allowed.
	ErrorInvalidExtendedProperty ResponseCode = "ErrorInvalidExtendedProperty"

	// ErrorInvalidExtendedPropertyValue occurs when the value section of an
	// extended property does not match the type of the property.
	// For example, setting an extended property that has PropertyType="String"
	// to an array of integers will result in this error. Any string
	// representation that is not coercible into the type that is specified for
	// the extended property will give this error.
	ErrorInvalidExtendedPropertyValue ResponseCode = "ErrorInvalidExtendedPropertyValue"

	// ErrorInvalidExternalSharingSubscriber indicates that the sharing
	// invitation sender did not create the sharing invitation metadata.
	ErrorInvalidExternalSharingSubscriber ResponseCode = "ErrorInvalidExternalSharingSubscriber"

	// ErrorInvalidExternalSharingInitiator indicates that a sharing message is
	// not intended for the caller.
	// Specifies that the sharing invitation sender did not create the sharing
	// invitation metadata. This error code MUST be returned if the sharing
	// invitation sender did not create the sharing invitation metadata.
	ErrorInvalidExternalSharingInitiator ResponseCode = "ErrorInvalidExternalSharingInitiator"

	// ErrorInvalidFederatedOrganizationId indicates that the requestor's
	// organization federation objects are not correctly configured.
	ErrorInvalidFederatedOrganizationId ResponseCode = "ErrorInvalidFederatedOrganizationId"

	// ErrorInvalidFolderId occurs when the folder ID is corrupt.
	ErrorInvalidFolderId ResponseCode = "ErrorInvalidFolderId"

	// ErrorInvalidFolderTypeForOperation indicates that the specified folder
	// type is invalid for the current operation. For example, you cannot
	// create a Search folder in a public folder.
	ErrorInvalidFolderTypeForOperation ResponseCode = "ErrorInvalidFolderTypeForOperation"

	// ErrorInvalidFractionalPagingParameters occurs in fractional paging when
	// the user has specified one of the following:
	//  - A numerator that is greater than the denominator
	//  - A numerator that is less than zero
	//  - A denominator that is less than or equal to zero.
	ErrorInvalidFractionalPagingParameters ResponseCode = "ErrorInvalidFractionalPagingParameters"

	// ErrorInvalidGetSharingFolderRequest indicates that the DataType and
	// ShareFolderId elements are both present in a request.
	ErrorInvalidGetSharingFolderRequest ResponseCode = "ErrorInvalidGetSharingFolderRequest"

	// ErrorInvalidFreeBusyViewType occurs when the GetUserAvailability
	// operation is called with a FreeBusyViewType of None.
	ErrorInvalidFreeBusyViewType ResponseCode = "ErrorInvalidFreeBusyViewType"

	// ErrorInvalidId indicates that the ID and/or change key is malformed.
	ErrorInvalidId ResponseCode = "ErrorInvalidId"

	// ErrorInvalidIdEmpty occurs when the caller specifies an Id attribute
	// that is empty.
	ErrorInvalidIdEmpty ResponseCode = "ErrorInvalidIdEmpty"

	// ErrorInvalidLikeRequest occurs when the item can't be liked. Versions of
	// Exchange starting with build number 15.00.0913.09 include this value.
	ErrorInvalidLikeRequest ResponseCode = "ErrorInvalidLikeRequest"

	// ErrorInvalidIdMalformed occurs when the caller specifies an Id attribute
	// that is malformed.
	ErrorInvalidIdMalformed ResponseCode = "ErrorInvalidIdMalformed"

	// ErrorInvalidIdMalformedEwsLegacyIdFormat indicates that a folder or item
	// ID that is using the Exchange 2007 format was specified for a request
	// with a version of Exchange 2007 SP1 or later. You cannot use Exchange
	// 2007 IDs in Exchange 2007 SP1 or later requests. You have to use the
	// ConvertId operation to convert them first.
	ErrorInvalidIdMalformedEwsLegacyIdFormat ResponseCode = "ErrorInvalidIdMalformedEwsLegacyIdFormat"

	// ErrorInvalidIdMonikerTooLong occurs when the caller specifies an Id
	// attribute that is too long.
	ErrorInvalidIdMonikerTooLong ResponseCode = "ErrorInvalidIdMonikerTooLong"

	// ErrorInvalidIdNotAnItemAttachmentId is returned whenever an ID that is
	// not an item attachment ID is passed to a Web service method that expects
	// an attachment ID.
	ErrorInvalidIdNotAnItemAttachmentId ResponseCode = "ErrorInvalidIdNotAnItemAttachmentId"

	// ErrorInvalidIdReturnedByResolveNames occurs when a contact in your
	// mailbox is corrupt.
	ErrorInvalidIdReturnedByResolveNames ResponseCode = "ErrorInvalidIdReturnedByResolveNames"

	// ErrorInvalidIdStoreObjectIdTooLong occurs when the caller specifies an
	// Id attribute that is too long.
	ErrorInvalidIdStoreObjectIdTooLong ResponseCode = "ErrorInvalidIdStoreObjectIdTooLong"

	// ErrorInvalidIdTooManyAttachmentLevels is returned when the attachment
	// hierarchy on an item exceeds the maximum of 255 levels deep.
	ErrorInvalidIdTooManyAttachmentLevels ResponseCode = "ErrorInvalidIdTooManyAttachmentLevels"

	// ErrorInvalidImContactId is returned when the specified IM contact
	// identifier does not represent a valid identifier.
	// This error was introduced in Exchange 2013.
	ErrorInvalidImContactId ResponseCode = "ErrorInvalidImContactId"

	// ErrorInvalidImDistributionGroupSmtpAddress is returned when the
	// specified IM distribution group SMTP address identifier does not
	// represent a valid identifier.
	// This error was introduced in Exchange 2013.
	ErrorInvalidImDistributionGroupSmtpAddress ResponseCode = "ErrorInvalidImDistributionGroupSmtpAddress"

	// ErrorInvalidImGroupId is returned when the specified IM group identifier
	// does not represent a valid identifier.
	// This error was introduced in Exchange 2013.
	ErrorInvalidImGroupId ResponseCode = "ErrorInvalidImGroupId"

	// ErrorInvalidIndexedPagingParameters occurs if the offset for indexed
	// paging is negative.
	ErrorInvalidIndexedPagingParameters ResponseCode = "ErrorInvalidIndexedPagingParameters"

	// ErrorInvalidItemForOperationArchiveItem indicates that the item was
	// invalid for an ArchiveItem operation.
	ErrorInvalidItemForOperationArchiveItem ResponseCode = "ErrorInvalidItemForOperationArchiveItem"

	// ErrorInvalidItemForOperationAcceptItem occurs when an attempt is made to
	// use an AcceptItem response object for an item type other than a meeting
	// request or a calendar item, or when an attempt is made to accept a
	// calendar item occurrence that is in the Deleted Items folder.
	ErrorInvalidItemForOperationAcceptItem ResponseCode = "ErrorInvalidItemForOperationAcceptItem"

	// ErrorInvalidItemForOperationCancelItem occurs when an attempt is made to
	// use a CancelItem response object on an item type other than a calendar
	// item.
	ErrorInvalidItemForOperationCancelItem ResponseCode = "ErrorInvalidItemForOperationCancelItem"

	// ErrorInvalidItemForOperationCreateItemAttachment is returned when an
	// attempt is made to create an item attachment of an unsupported type.
	// Supported item types for item attachments include the following objects:
	//  - Item
	//  - Message
	//  - CalendarItem
	//  - Task
	//  - Contact
	// For example, if you try to create a MeetingMessage attachment, you'll
	// encounter this response code.
	ErrorInvalidItemForOperationCreateItemAttachment ResponseCode = "ErrorInvalidItemForOperationCreateItemAttachment"

	// ErrorInvalidItemForOperationCreateItem is returned from a CreateItem
	// operation if the request contains an unsupported item type.
	// Supported items include the following objects:
	//  - Item
	//  - Message
	//  - CalendarItem
	//  - Task
	//  - Contact
	// Certain types are created as a side effect of doing something else.
	// Meeting messages, for example, are created when you send a calendar
	// item to attendees; they are not explicitly created.
	ErrorInvalidItemForOperationCreateItem ResponseCode = "ErrorInvalidItemForOperationCreateItem"

	// ErrorInvalidItemForOperationDeclineItem occurs when an attempt is made
	// to use a DeclineItem response object for an item type other than a
	// meeting request or a calendar item, or when an attempt is made to
	// decline a calendar item occurrence that is in the Deleted Items folder.
	ErrorInvalidItemForOperationDeclineItem ResponseCode = "ErrorInvalidItemForOperationDeclineItem"

	// ErrorInvalidItemForOperationExpandDL indicates that the ExpandDL
	// operation is valid only for private distribution lists.
	ErrorInvalidItemForOperationExpandDL ResponseCode = "ErrorInvalidItemForOperationExpandDL"

	// ErrorInvalidItemForOperationRemoveItem is returned from a RemoveItem
	// response object if the request specifies an item that is not a meeting
	// cancellation item.
	ErrorInvalidItemForOperationRemoveItem ResponseCode = "ErrorInvalidItemForOperationRemoveItem"

	// ErrorInvalidItemForOperationSendItem is returned from a SendItem
	// operation if the request specifies an item that is not a message item.
	ErrorInvalidItemForOperationSendItem ResponseCode = "ErrorInvalidItemForOperationSendItem"

	// ErrorInvalidItemForOperationTentative occurs when an attempt is made to
	// use TentativelyAcceptItem for an item type other than a meeting request
	// or a calendar item, or when an attempt is made to tentatively accept a
	// calendar item occurrence that is in the Deleted Items folder.
	ErrorInvalidItemForOperationTentative ResponseCode = "ErrorInvalidItemForOperationTentative"

	// ErrorInvalidMailbox indicates that the CreateItem operation or the
	// UpdateItem operation failed while creating or updating a personal
	// distribution list.
	ErrorInvalidMailbox ResponseCode = "ErrorInvalidMailbox"

	// ErrorInvalidManagedFolderProperty occurs when the structure of the
	// managed folder is corrupted and cannot be rendered.
	ErrorInvalidManagedFolderProperty ResponseCode = "ErrorInvalidManagedFolderProperty"

	// ErrorInvalidManagedFolderQuota occurs when the quota that is set on the
	// managed folder is less than zero, which indicates a corrupted managed
	// folder.
	ErrorInvalidManagedFolderQuota ResponseCode = "ErrorInvalidManagedFolderQuota"

	// ErrorInvalidManagedFolderSize occurs when the size that is set on the
	// managed folder is less than zero, which indicates a corrupted managed
	// folder.
	ErrorInvalidManagedFolderSize ResponseCode = "ErrorInvalidManagedFolderSize"

	// ErrorInvalidMergedFreeBusyInterval occurs when the supplied merged
	// free/busy internal value is invalid. The default minimum value is
	// 5 minutes. The default maximum value is 1440 minutes.
	ErrorInvalidMergedFreeBusyInterval ResponseCode = "ErrorInvalidMergedFreeBusyInterval"

	// ErrorInvalidNameForNameResolution occurs when the name is invalid for
	// the ResolveNames operation. For example, a zero length string, a single
	// space, a comma, and a dash are all invalid names.
	ErrorInvalidNameForNameResolution ResponseCode = "ErrorInvalidNameForNameResolution"

	// ErrorInvalidNetworkServiceContext indicates an error in the Network
	// Service account on the Client Access server.
	ErrorInvalidNetworkServiceContext ResponseCode = "ErrorInvalidNetworkServiceContext"

	// ErrorInvalidOofParameter is not used.
	ErrorInvalidOofParameter ResponseCode = "ErrorInvalidOofParameter"

	// ErrorInvalidOperation is a general error that is used when the requested
	// operation is invalid. For example, you cannot do the following:
	//  - Perform a "Deep" traversal by using the FindFolder operation on a
	//    public folder.
	//  - Move or copy the public folder root.
	//  - Delete an associated item by using any mode except "Hard" delete.
	//  - Move or copy an associated item.
	ErrorInvalidOperation ResponseCode = "ErrorInvalidOperation"

	// ErrorInvalidOrganizationRelationshipForFreeBusy indicates that a caller
	// requested free/busy information for a user in another organization but
	// the organizational relationship does not have free/busy enabled.
	ErrorInvalidOrganizationRelationshipForFreeBusy ResponseCode = "ErrorInvalidOrganizationRelationshipForFreeBusy"

	// ErrorInvalidPagingMaxRows occurs when a consumer passes in a zero or a
	// negative value for the maximum rows to be returned.
	ErrorInvalidPagingMaxRows ResponseCode = "ErrorInvalidPagingMaxRows"

	// ErrorInvalidParentFolder occurs when a consumer passes in an invalid
	// parent folder for an operation. For example, this error is returned if
	// you try to create a folder within a search folder.
	ErrorInvalidParentFolder ResponseCode = "ErrorInvalidParentFolder"

	// ErrorInvalidPercentCompleteValue is returned when an attempt is made to
	// set a task completion percentage to an invalid value. The value must be
	// between 0 and 100 (inclusive).
	ErrorInvalidPercentCompleteValue ResponseCode = "ErrorInvalidPercentCompleteValue"

	// ErrorInvalidPermissionSettings indicates that the permission level is
	// inconsistent with the permission settings.
	ErrorInvalidPermissionSettings ResponseCode = "ErrorInvalidPermissionSettings"

	// ErrorInvalidPhoneCallId indicates that the caller identifier is not
	// valid.
	ErrorInvalidPhoneCallId ResponseCode = "ErrorInvalidPhoneCallId"

	// ErrorInvalidPhoneNumber indicates that the telephone number is not
	// correct or does not fit the dial plan rules.
	ErrorInvalidPhoneNumber ResponseCode = "ErrorInvalidPhoneNumber"

	// ErrorInvalidPropertyAppend occurs when the property that you are trying
	// to append to does not support appending. The following are the only
	// properties that support appending:
	//  - Recipient collections (ToRecipients, CcRecipients, BccRecipients)
	//  - Attendee collections (RequiredAttendees, OptionalAttendees, Resources)
	//  - Body
	//  - ReplyTo
	// In addition, this error occurs when a message body is appended if the
	// format specified in the request does not match the format of the item in
	// the store.
	ErrorInvalidPropertyAppend ResponseCode = "ErrorInvalidPropertyAppend"

	// ErrorInvalidPropertyDelete occurs if the delete operation is specified
	// in an UpdateItem operation or UpdateFolder operation call for a property
	// that does not support the delete operation. For example, you cannot
	// delete the ItemId element of the Item object.
	ErrorInvalidPropertyDelete ResponseCode = "ErrorInvalidPropertyDelete"

	// ErrorInvalidPropertyForExists occurs if the consumer passes in one of
	// the flag properties in an Exists filter. For example, this error occurs
	// if the IsRead or IsFromMe flags are specified in the Exists element. The
	// request should use the IsEqualTo element instead for these as they are
	// flags and therefore part of a single property.
	ErrorInvalidPropertyForExists ResponseCode = "ErrorInvalidPropertyForExists"

	// ErrorInvalidPropertyForOperation occurs when the property that you are
	// trying to manipulate does not support the operation that is being
	// performed on it.
	ErrorInvalidPropertyForOperation ResponseCode = "ErrorInvalidPropertyForOperation"

	// ErrorInvalidPropertyRequest occurs if a property that is specified in
	// the request is not available for the item type. For example, this error
	// is returned if a property that is only available on calendar items is
	// requested in a GetItem operation call for a message or is updated in an
	// UpdateItem operation call for a message. This occurs in the following
	// operations:
	//  - GetItem operation
	//  - GetFolder operation
	//  - UpdateItem operation
	//  - UpdateFolder operation
	ErrorInvalidPropertyRequest ResponseCode = "ErrorInvalidPropertyRequest"

	// ErrorInvalidPropertySet indicates that the property that you are trying
	// to manipulate does not support the operation that is being performed on
	// it. For example, this error is returned if the property that you are
	// trying to set is read-only.
	ErrorInvalidPropertySet ResponseCode = "ErrorInvalidPropertySet"

	// ErrorInvalidPropertyUpdateSentMessage occurs during an UpdateItem
	// operation when a client tries to update certain properties of a message
	// that has already been sent.
	// For example, the following properties cannot be updated on a sent
	// message:
	//  - IsReadReceiptRequested
	//  - IsDeliveryReceiptRequested
	ErrorInvalidPropertyUpdateSentMessage ResponseCode = "ErrorInvalidPropertyUpdateSentMessage"

	// ErrorInvalidPullSubscriptionId occurs if you call the GetEvents
	// operation or the Unsubscribe operation by using a push subscription ID.
	// To unsubscribe from a push subscription, you must respond to a push
	// request with an unsubscribe response, or disconnect your Web service and
	// wait for the push notifications to time out.
	ErrorInvalidPullSubscriptionId ResponseCode = "ErrorInvalidPullSubscriptionId"

	// ErrorInvalidPushSubscriptionUrl is returned by the Subscribe operation
	// when it creates a "push" subscription and indicates that the URL that is
	// included in the request is invalid. The following conditions must be met
	// for Exchange Web Services to accept the URL:
	//  - String length > 0 and < 2083.
	//  - Protocol is http or https.
	//  - The URL can be parsed by the URI Microsoft .NET Framework class.
	ErrorInvalidPushSubscriptionUrl ResponseCode = "ErrorInvalidPushSubscriptionUrl"

	// ErrorInvalidRecipients indicates that the recipient collection on your
	// message or the attendee collection on your calendar item is invalid.
	// For example, this error will be returned when an attempt is made to send
	// an item that has no recipients.
	ErrorInvalidRecipients ResponseCode = "ErrorInvalidRecipients"

	// ErrorInvalidRecipientSubfilter indicates that the search folder has a
	// recipient table filter that Exchange Web Services cannot represent.
	// To get around this error, retrieve the folder without requesting the
	// search parameters.
	ErrorInvalidRecipientSubfilter ResponseCode = "ErrorInvalidRecipientSubfilter"

	// ErrorInvalidRecipientSubfilterComparison indicates that the search
	// folder has a recipient table filter that Exchange Web Services cannot
	// represent. To get around this error, retrieve the folder without
	// requesting the search parameters.
	ErrorInvalidRecipientSubfilterComparison ResponseCode = "ErrorInvalidRecipientSubfilterComparison"

	// ErrorInvalidRecipientSubfilterOrder indicates that the search folder has
	// a recipient table filter that Exchange Web Services cannot represent.
	// To get around this error, retrieve the folder without requesting the
	// search parameters.
	ErrorInvalidRecipientSubfilterOrder ResponseCode = "ErrorInvalidRecipientSubfilterOrder"

	// ErrorInvalidRecipientSubfilterTextFilter indicates that the search
	// folder has a recipient table filter that Exchange Web Services cannot
	// represent. To get around this error, retrieve the folder without
	// requesting the search parameters.
	ErrorInvalidRecipientSubfilterTextFilter ResponseCode = "ErrorInvalidRecipientSubfilterTextFilter"

	// ErrorInvalidReferenceItem is returned from the CreateItem operation for
	// Forward and Reply response objects in the following scenarios:
	//  - The referenced item identifier is not a Message, a CalendarItem, or
	//    a descendant of a Message or CalendarItem.
	//  - The reference item identifier is for a CalendarItem and the organizer
	//    is trying to Reply or ReplyAll to himself.
	//  - The message is a draft and Reply or ReplyAll is selected.
	//  - The reference item, for SuppressReadReceipt, is not a Message or a
	//    descendant of a Message.
	ErrorInvalidReferenceItem ResponseCode = "ErrorInvalidReferenceItem"

	// ErrorInvalidRequest occurs when the SOAP request has a SOAP action
	// header, but nothing in the SOAP body. Note that the SOAP Action header
	// is not required as Exchange Web Services can determine the method to
	// call from the local name of the root element in the SOAP body.
	ErrorInvalidRequest ResponseCode = "ErrorInvalidRequest"

	// ErrorInvalidRetentionTagTypeMismatch is returned when the specified
	// retention tag has an incorrect action associated with it.
	// This error was introduced in Exchange 2013.
	ErrorInvalidRetentionTagTypeMismatch ResponseCode = "ErrorInvalidRetentionTagTypeMismatch"

	// ErrorInvalidRetentionTagInvisible is returned when an attempt is made to
	// set a nonexistent or invisible tag on a PolicyTag property.
	// This error was introduced in Exchange 2013.
	ErrorInvalidRetentionTagInvisible ResponseCode = "ErrorInvalidRetentionTagInvisible"

	// ErrorInvalidRetentionTagInheritance is returned when an attempt is made
	// to set an implicit tag on the PolicyTag property.
	// This error was introduced in Exchange 2013.
	ErrorInvalidRetentionTagInheritance ResponseCode = "ErrorInvalidRetentionTagInheritance"

	// ErrorInvalidRetentionTagIdGuid indicates that the retention tag GUID was
	// invalid.
	ErrorInvalidRetentionTagIdGuid ResponseCode = "ErrorInvalidRetentionTagIdGuid"

	// ErrorInvalidRoutingType occurs if the routing type that is passed for a
	// RoutingType (EmailAddressType) element is invalid. Typically, the
	// routing type is set to Simple Mail Transfer Protocol (SMTP).
	ErrorInvalidRoutingType ResponseCode = "ErrorInvalidRoutingType"

	// ErrorInvalidScheduledOofDuration occurs if the specified duration end
	// time is not greater than the start time, or if the end time does not
	// occur in the future.
	ErrorInvalidScheduledOofDuration ResponseCode = "ErrorInvalidScheduledOofDuration"

	// ErrorInvalidSchemaVersionForMailboxVersion indicates that a proxy
	// request that was sent to another server is not able to service the
	// request due to a versioning mismatch.
	ErrorInvalidSchemaVersionForMailboxVersion ResponseCode = "ErrorInvalidSchemaVersionForMailboxVersion"

	// ErrorInvalidSecurityDescriptor indicates that the Exchange security
	// descriptor on the Calendar folder in the store is corrupted.
	ErrorInvalidSecurityDescriptor ResponseCode = "ErrorInvalidSecurityDescriptor"

	// ErrorInvalidSendItemSaveSettings occurs during an attempt to send an
	// item where the SavedItemFolderId is specified in the request but the
	// SaveItemToFolder property is set to false.
	ErrorInvalidSendItemSaveSettings ResponseCode = "ErrorInvalidSendItemSaveSettings"

	// ErrorInvalidSerializedAccessToken indicates that the token that was
	// passed in the header is malformed, does not refer to a valid account in
	// the directory, or is missing the primary group ConnectingSID.
	ErrorInvalidSerializedAccessToken ResponseCode = "ErrorInvalidSerializedAccessToken"

	// ErrorInvalidSharingData indicates that the sharing metadata is not
	// valid. This can be caused by invalid XML.
	ErrorInvalidSharingData ResponseCode = "ErrorInvalidSharingData"

	// ErrorInvalidSharingMessage indicates that the sharing message is not
	// valid. This can be caused by a missing property.
	ErrorInvalidSharingMessage ResponseCode = "ErrorInvalidSharingMessage"

	// ErrorInvalidSid occurs when an invalid SID is passed in a request.
	ErrorInvalidSid ResponseCode = "ErrorInvalidSid"

	// ErrorInvalidSIPUri indicates that the SIP name, dial plan, or the phone
	// number are invalid SIP URIs.
	ErrorInvalidSIPUri ResponseCode = "ErrorInvalidSIPUri"

	// ErrorInvalidServerVersion indicates that an invalid request server
	// version was specified in the request.
	ErrorInvalidServerVersion ResponseCode = "ErrorInvalidServerVersion"

	// ErrorInvalidSmtpAddress occurs when the SMTP address cannot be parsed.
	ErrorInvalidSmtpAddress ResponseCode = "ErrorInvalidSmtpAddress"

	// ErrorInvalidSubscription indicates that the subscription is no longer
	// valid. This could be because the Client Access server is restarting or
	// because the subscription is expired.
	ErrorInvalidSubscription ResponseCode = "ErrorInvalidSubscription"

	// ErrorInvalidSubscriptionRequest indicates that the subscribe request
	// included multiple public folder IDs. A subscription can include multiple
	// folders from the same mailbox or one public folder ID.
	ErrorInvalidSubscriptionRequest ResponseCode = "ErrorInvalidSubscriptionRequest"

	// ErrorInvalidSyncStateData is returned by SyncFolderItems or
	// SyncFolderHierarchy if the SyncState data that is passed is invalid. To
	// fix this error, you must resynchronize without the sync state. Make sure
	// that if you are persisting sync state BLOBs, you are not accidentally
	// truncating the BLOB.
	ErrorInvalidSyncStateData ResponseCode = "ErrorInvalidSyncStateData"

	// ErrorInvalidTimeInterval indicates that the specified time interval is
	// invalid. The start time must be greater than or equal to the end time.
	ErrorInvalidTimeInterval ResponseCode = "ErrorInvalidTimeInterval"

	// ErrorInvalidUserInfo indicates that an internally inconsistent UserId
	// was specified for a permissions operation. For example, if a
	// distinguished user ID is specified (Default or Anonymous), this error is
	// returned if you also try to specify a SID, or primary SMTP address or
	// display name for this user.
	ErrorInvalidUserInfo ResponseCode = "ErrorInvalidUserInfo"

	// ErrorInvalidUserOofSettings indicates that the user Out of Office (OOF)
	// settings are invalid because of a missing internal or external reply.
	ErrorInvalidUserOofSettings ResponseCode = "ErrorInvalidUserOofSettings"

	// ErrorInvalidUserPrincipalName occurs during Exchange Impersonation. The
	// caller passed in an invalid UPN in the SOAP header that was not
	// accessible in the directory.
	ErrorInvalidUserPrincipalName ResponseCode = "ErrorInvalidUserPrincipalName"

	// ErrorInvalidUserSid occurs when an invalid SID is passed in a request.
	ErrorInvalidUserSid ResponseCode = "ErrorInvalidUserSid"

	// ErrorInvalidUserSidMissingUPN is not used.
	ErrorInvalidUserSidMissingUPN ResponseCode = "ErrorInvalidUserSidMissingUPN"

	// ErrorInvalidValueForProperty indicates that the comparison value in the
	// restriction is invalid for the property you are comparing against. For
	// example, the comparison value of DateTimeCreated > true would return
	// this response code. This response code is also returned if you specify
	// an enumeration property in the comparison, but the value that you are
	// comparing against is not a valid value for that enumeration.
	ErrorInvalidValueForProperty ResponseCode = "ErrorInvalidValueForProperty"

	// ErrorInvalidWatermark is caused by an invalid watermark.
	ErrorInvalidWatermark ResponseCode = "ErrorInvalidWatermark"

	// ErrorIPGatewayNotFound indicates that a valid VoIP gateway is not
	// available.
	ErrorIPGatewayNotFound ResponseCode = "ErrorIPGatewayNotFound"

	// ErrorIrresolvableConflict indicates that conflict resolution was unable
	// to resolve changes for the properties. The items in the store may have
	// been changed and have to be updated. Retrieve the updated change key and
	// try again.
	ErrorIrresolvableConflict ResponseCode = "ErrorIrresolvableConflict"

	// ErrorItemCorrupt indicates that the state of the object is corrupted and
	// cannot be retrieved. When you are retrieving an item, only certain
	// elements will be in this state, such as Body and MimeContent. Omit these
	// elements and retry the operation.
	ErrorItemCorrupt ResponseCode = "ErrorItemCorrupt"

	// ErrorItemNotFound occurs when the item was not found or you do not have
	// permission to access the item.
	ErrorItemNotFound ResponseCode = "ErrorItemNotFound"

	// ErrorItemPropertyRequestFailed occurs if a property request on an item
	// fails. The property may exist, but it could not be retrieved.
	ErrorItemPropertyRequestFailed ResponseCode = "ErrorItemPropertyRequestFailed"

	// ErrorItemSave occurs when attempts to save the item or folder fail.
	ErrorItemSave ResponseCode = "ErrorItemSave"

	// ErrorItemSavePropertyError occurs when attempts to save the item or
	// folder fail because of invalid property values. The response code
	// includes the path of the invalid properties.
	ErrorItemSavePropertyError ResponseCode = "ErrorItemSavePropertyError"

	// ErrorLogonAsNetworkServiceFailed indicates that the Availability service
	// was unable to log on as the network service to proxy requests to the
	// appropriate sites or forests. This response typically indicates a
	// configuration error.
	ErrorLogonAsNetworkServiceFailed ResponseCode = "ErrorLogonAsNetworkServiceFailed"

	// ErrorMailboxConfiguration indicates that the mailbox information in
	// AD DS is configured incorrectly.
	ErrorMailboxConfiguration ResponseCode = "ErrorMailboxConfiguration"

	// ErrorMailboxDataArrayEmpty indicates that the MailboxDataArray element
	// in the request is empty. You must supply at least one mailbox identifier.
	ErrorMailboxDataArrayEmpty ResponseCode = "ErrorMailboxDataArrayEmpty"

	// ErrorMailboxDataArrayTooBig occurs when more than 100 entries are
	// supplied in a MailboxDataArray element..
	ErrorMailboxDataArrayTooBig ResponseCode = "ErrorMailboxDataArrayTooBig"

	// ErrorMailboxFailover indicates that an attempt to access a mailbox
	// failed because the mailbox is in a failover process.
	ErrorMailboxFailover ResponseCode = "ErrorMailboxFailover"

	// ErrorMailboxHoldNotFound indicates that the mailbox hold was not found.
	ErrorMailboxHoldNotFound ResponseCode = "ErrorMailboxHoldNotFound"

	// ErrorMailboxLogonFailed  occurs when the connection to the mailbox to
	// get the calendar view information failed.
	ErrorMailboxLogonFailed ResponseCode = "ErrorMailboxLogonFailed"

	// ErrorMailboxMoveInProgress  indicates that the mailbox is being moved to
	// a different mailbox store or server. This error can also indicate that
	// the mailbox is on another server or mailbox database.
	ErrorMailboxMoveInProgress ResponseCode = "ErrorMailboxMoveInProgress"

	// ErrorMailboxStoreUnavailable indicates that one of the following error
	// conditions occurred:
	//  - The mailbox store is corrupt.
	//  - The mailbox store is being stopped.
	//  - The mailbox store is offline.
	//  - A network error occurred when an attempt was made to access the
	//    mailbox store.
	//  - The mailbox store is overloaded and cannot accept any more
	//    connections.
	//  - The mailbox store has been paused.
	ErrorMailboxStoreUnavailable ResponseCode = "ErrorMailboxStoreUnavailable"

	// ErrorMailRecipientNotFound occurs if the MailboxData element information
	// cannot be mapped to a valid mailbox account.
	ErrorMailRecipientNotFound ResponseCode = "ErrorMailRecipientNotFound"

	// ErrorMailTipsDisabled indicates that mail tips are disabled.
	ErrorMailTipsDisabled ResponseCode = "ErrorMailTipsDisabled"

	// ErrorManagedFolderAlreadyExists occurs if the managed folder that you
	// are trying to create already exists in a mailbox.
	ErrorManagedFolderAlreadyExists ResponseCode = "ErrorManagedFolderAlreadyExists"

	// ErrorManagedFolderNotFound occurs when the folder name that was
	// specified in the request does not map to a managed folder definition in
	// AD DS. You can only create instances of managed folders for folders that
	// are defined in AD DS. Check the name and try again.
	ErrorManagedFolderNotFound ResponseCode = "ErrorManagedFolderNotFound"

	// ErrorManagedFoldersRootFailure indicates that the managed folders root
	// was deleted from the mailbox or that a folder exists in the same parent
	// folder that has the name of the managed folder root. This will also
	// occur if the attempt to create the root managed folder fails.
	ErrorManagedFoldersRootFailure ResponseCode = "ErrorManagedFoldersRootFailure"

	// ErrorMeetingSuggestionGenerationFailed indicates that the suggestions
	// engine encountered a problem when it was trying to generate the
	// suggestions.
	ErrorMeetingSuggestionGenerationFailed ResponseCode = "ErrorMeetingSuggestionGenerationFailed"

	// ErrorMessageDispositionRequired occurs if the MessageDisposition
	// attribute is not set. This attribute is required for the following:
	//  - The CreateItem operation and the UpdateItem operation when the item
	//    being created or updated is a Message.
	//  - CancelCalendarItem, AcceptItem, DeclineItem, or TentativelyAcceptItem
	//    response objects.
	ErrorMessageDispositionRequired ResponseCode = "ErrorMessageDispositionRequired"

	// ErrorMessageSizeExceeded indicates that the message that you are trying
	// to send exceeds the allowed limits.
	ErrorMessageSizeExceeded ResponseCode = "ErrorMessageSizeExceeded"

	// ErrorMessageTrackingNoSuchDomain indicates that the given domain cannot
	// be found.
	ErrorMessageTrackingNoSuchDomain ResponseCode = "ErrorMessageTrackingNoSuchDomain"

	// ErrorMessageTrackingPermanentError indicates that the message tracking
	// service cannot track the message.
	ErrorMessageTrackingPermanentError ResponseCode = "ErrorMessageTrackingPermanentError"

	// ErrorMessageTrackingTransientError indicates that the message tracking
	// service is either down or busy. This error code indicates a transient
	// error. Clients can retry to connect to the server when this error is
	// received.
	ErrorMessageTrackingTransientError ResponseCode = "ErrorMessageTrackingTransientError"

	// ErrorMimeContentConversionFailed occurs when the MIME content is not a
	// valid iCal for a CreateItem operation. For a GetItem operation, this
	// response indicates that the MIME content could not be generated.
	ErrorMimeContentConversionFailed ResponseCode = "ErrorMimeContentConversionFailed"

	// ErrorMimeContentInvalid occurs when the MIME content is invalid.
	ErrorMimeContentInvalid ResponseCode = "ErrorMimeContentInvalid"

	// ErrorMimeContentInvalidBase64String occurs when the MIME content in the
	// request is not a valid base 64 string.
	ErrorMimeContentInvalidBase64String ResponseCode = "ErrorMimeContentInvalidBase64String"

	// ErrorMissingArgument indicates that a required argument was missing from
	// the request. The response message text indicates which argument to check.
	ErrorMissingArgument ResponseCode = "ErrorMissingArgument"

	// ErrorMissingEmailAddress indicates that you specified a distinguished
	// folder ID in the request, but the account that made the request does not
	// have a mailbox on the system. In that case, you must supply a Mailbox
	// sub-element under DistinguishedFolderId.
	ErrorMissingEmailAddress ResponseCode = "ErrorMissingEmailAddress"

	// ErrorMissingEmailAddressForManagedFolder indicates that you specified a
	// distinguished folder ID in the request, but the account that made the
	// request does not have a mailbox on the system. In that case, you must
	// supply a Mailbox sub-element under DistinguishedFolderId. This response
	// is returned from the CreateManagedFolder operation.
	ErrorMissingEmailAddressForManagedFolder ResponseCode = "ErrorMissingEmailAddressForManagedFolder"

	// ErrorMissingInformationEmailAddress occurs if the EmailAddress
	// (NonEmptyStringType) element is missing.
	ErrorMissingInformationEmailAddress ResponseCode = "ErrorMissingInformationEmailAddress"

	// ErrorMissingInformationReferenceItemId occurs if the ReferenceItemId is
	// missing.
	ErrorMissingInformationReferenceItemId ResponseCode = "ErrorMissingInformationReferenceItemId"

	// ErrorMissingItemForCreateItemAttachment is returned when an attempt is
	// made to not include the item element in the ItemAttachment element of a
	// CreateAttachment operation request.
	ErrorMissingItemForCreateItemAttachment ResponseCode = "ErrorMissingItemForCreateItemAttachment"

	// ErrorMissingManagedFolderId occurs when the policy IDs property,
	// property tag 0x6732, for the folder is missing. You should consider this
	// a corrupted folder.
	ErrorMissingManagedFolderId ResponseCode = "ErrorMissingManagedFolderId"

	// ErrorMissingRecipients indicates that you tried to send an item without
	// including recipients. Note that if you call the CreateItem operation
	// with a message disposition that causes the message to be sent, you will
	// get the following response code: ErrorInvalidRecipients.
	ErrorMissingRecipients ResponseCode = "ErrorMissingRecipients"

	// ErrorMissingUserIdInformation indicates that a UserId has not been fully
	// specified in a permissions set.
	ErrorMissingUserIdInformation ResponseCode = "ErrorMissingUserIdInformation"

	// ErrorMoreThanOneAccessModeSpecified indicates that you have specified
	// more than one ExchangeImpersonation element value within a request.
	ErrorMoreThanOneAccessModeSpecified ResponseCode = "ErrorMoreThanOneAccessModeSpecified"

	// ErrorMoveCopyFailed indicates that the move or copy operation failed.
	// Moving occurs in the CreateItem operation when you accept a meeting
	// request that is in the Deleted Items folder. In addition, if you decline
	// a meeting request, cancel a calendar item, or remove a meeting from your
	// calendar, it is moved to the Deleted Items folder.
	ErrorMoveCopyFailed ResponseCode = "ErrorMoveCopyFailed"

	// ErrorMoveDistinguishedFolder occurs if you try to move a distinguished
	// folder.
	ErrorMoveDistinguishedFolder ResponseCode = "ErrorMoveDistinguishedFolder"

	// ErrorMultiLegacyMailboxAccess occurs when a request attempts to access
	// multiple mailbox servers.
	// This error was introduced in Exchange 2013.
	ErrorMultiLegacyMailboxAccess ResponseCode = "ErrorMultiLegacyMailboxAccess"

	// ErrorNameResolutionMultipleResults occurs if the ResolveNames operation
	// returns more than one result or the ambiguous name that you specified
	// matches more than one object in the directory. The response code
	// includes the matched names in the response data.
	ErrorNameResolutionMultipleResults ResponseCode = "ErrorNameResolutionMultipleResults"

	// ErrorNameResolutionNoMailbox indicates that the caller does not have a
	// mailbox on the system. The ResolveNames operation or ExpandDL operation
	// is invalid for connecting a user without a mailbox.
	ErrorNameResolutionNoMailbox ResponseCode = "ErrorNameResolutionNoMailbox"

	// ErrorNameResolutionNoResults indicates that the ResolveNames operation
	// returns no results.
	ErrorNameResolutionNoResults ResponseCode = "ErrorNameResolutionNoResults"

	// ErrorNoApplicableProxyCASServersAvailable code MUST be returned when the
	// Web service cannot find a server to handle the request.
	ErrorNoApplicableProxyCASServersAvailable ResponseCode = "ErrorNoApplicableProxyCASServersAvailable"

	// ErrorNoCalendar occurs if there is no Calendar folder for the mailbox.
	ErrorNoCalendar ResponseCode = "ErrorNoCalendar"

	// ErrorNoDestinationCASDueToKerberosRequirements indicates that the
	// request referred to a mailbox in another Active Directory site, but no
	// Client Access servers in the destination site were configured for
	// Windows Authentication, and therefore the request could not be proxied.
	ErrorNoDestinationCASDueToKerberosRequirements ResponseCode = "ErrorNoDestinationCASDueToKerberosRequirements"

	// ErrorNoDestinationCASDueToSSLRequirements indicates that the request
	// referred to a mailbox in another Active Directory site, but no Client
	// Access servers in the destination site were configured for SSL
	// connections, and therefore the request could not be proxied.
	ErrorNoDestinationCASDueToSSLRequirements ResponseCode = "ErrorNoDestinationCASDueToSSLRequirements"

	// ErrorNoDestinationCASDueToVersionMismatch indicates that the request
	// referred to a mailbox in another Active Directory site, but no Client
	// Access servers in the destination site were of an acceptable product
	// version to receive the request, and therefore the request could not be
	// proxied.
	ErrorNoDestinationCASDueToVersionMismatch ResponseCode = "ErrorNoDestinationCASDueToVersionMismatch"

	// ErrorNoFolderClassOverride occurs if you set the FolderClass element
	// when you are creating an item other than a generic folder. For typed
	// folders such as CalendarFolder and TasksFolder, the folder class is
	// implied. Setting the folder class to a different folder type by using
	// the UpdateFolder operation results in the ErrorObjectTypeChanged
	// response. Instead, use a generic folder type but set the folder class
	// to the value that you require. Exchange Web Services will create the
	// correct strongly typed folder.
	ErrorNoFolderClassOverride ResponseCode = "ErrorNoFolderClassOverride"

	// ErrorNoFreeBusyAccess indicates that the caller does not have free/busy
	// viewing rights on the Calendar folder in question.
	ErrorNoFreeBusyAccess ResponseCode = "ErrorNoFreeBusyAccess"

	// ErrorNonExistentMailbox occurs in the following scenarios:
	//  - The e-mail address is empty in CreateManagedFolder.
	//  - The e-mail address does not refer to a valid account in a request
	//  that takes an e-mail address in the body or in the SOAP header, such as
	//  in an Exchange Impersonation call.
	ErrorNonExistentMailbox ResponseCode = "ErrorNonExistentMailbox"

	// ErrorNonPrimarySmtpAddress occurs when a caller passes in a non-primary
	// SMTP address. The response includes the correct SMTP address to use.
	ErrorNonPrimarySmtpAddress ResponseCode = "ErrorNonPrimarySmtpAddress"

	// ErrorNoPropertyTagForCustomProperties indicates that MAPI properties in
	// the custom range, 0x8000 and greater, cannot be referenced by property
	// tags. You must use the EWS Managed API PropertySetIdproperty or the EWS
	// ExtendedFieldURI element with the PropertySetId attribute.
	ErrorNoPropertyTagForCustomProperties ResponseCode = "ErrorNoPropertyTagForCustomProperties"

	// ErrorNoPublicFolderServerAvailable code MUST be returned if no public
	// folder server is available or if the caller does not have a home public
	// server.
	ErrorNoPublicFolderServerAvailable ResponseCode = "ErrorNoPublicFolderServerAvailable"

	// ErrorNoRespondingCASInDestinationSite indicates that the request
	// referred to a mailbox in another Active Directory site, but none of the
	// Client Access servers in that site responded, and therefore the request
	// could not be proxied.
	ErrorNoRespondingCASInDestinationSite ResponseCode = "ErrorNoRespondingCASInDestinationSite"

	// ErrorNotAllowedExternalSharingByPolicy indicates that the caller tried
	// to grant permissions in its calendar or contacts folder to a user in
	// another organization, and the attempt failed.
	ErrorNotAllowedExternalSharingByPolicy ResponseCode = "ErrorNotAllowedExternalSharingByPolicy"

	// ErrorNotDelegate indicates that the user is not a delegate for the
	// mailbox. It is returned by the GetDelegate operation, the RemoveDelegate
	// operation, and the UpdateDelegate operation when the specified delegate
	// user is not found in the list of delegates.
	ErrorNotDelegate ResponseCode = "ErrorNotDelegate"

	// ErrorNotEnoughMemory indicates that the operation could not be completed
	// because of insufficient memory.
	ErrorNotEnoughMemory ResponseCode = "ErrorNotEnoughMemory"

	// ErrorNotSupportedSharingMessage indicates that the sharing message is
	// not supported.
	ErrorNotSupportedSharingMessage ResponseCode = "ErrorNotSupportedSharingMessage"

	// ErrorObjectTypeChanged occurs if the object type changed.
	ErrorObjectTypeChanged ResponseCode = "ErrorObjectTypeChanged"

	// ErrorOccurrenceCrossingBoundary occurs when the Start or End time of an
	// occurrence is updated so that the occurrence is scheduled to happen
	// earlier or later than the corresponding previous or next occurrence.
	ErrorOccurrenceCrossingBoundary ResponseCode = "ErrorOccurrenceCrossingBoundary"

	// ErrorOccurrenceTimeSpanTooBig indicates that the time allotment for a
	// given occurrence overlaps with another occurrence of the same recurring
	// item. This response also occurs when the length in minutes of a given
	// occurrence is larger than Int32.MaxValue.
	ErrorOccurrenceTimeSpanTooBig ResponseCode = "ErrorOccurrenceTimeSpanTooBig"

	// ErrorOperationNotAllowedWithPublicFolderRoot indicates that the current
	// operation is not valid for the public folder root.
	ErrorOperationNotAllowedWithPublicFolderRoot ResponseCode = "ErrorOperationNotAllowedWithPublicFolderRoot"

	// ErrorOrganizationNotFederated indicates that the requester's
	// organization is not federated so the requester cannot create sharing
	// messages to send to an external user or cannot accept sharing messages
	// received from an external user.
	ErrorOrganizationNotFederated ResponseCode = "ErrorOrganizationNotFederated"

	// ErrorParentFolderNotFound occurs in the CreateFolder operation when the
	// parent folder is not found.
	ErrorParentFolderNotFound ResponseCode = "ErrorParentFolderNotFound"

	// ErrorPasswordChangeRequired indicates that you must change your password
	// before you can access this mailbox. This occurs when a new account has
	// been created and the administrator indicated that the user must change
	// the password at first logon. You cannot update the password by using
	// Exchange Web Services. You must use a tool such as Microsoft Office
	// Outlook Web App to change your password.
	ErrorPasswordChangeRequired ResponseCode = "ErrorPasswordChangeRequired"

	// ErrorPasswordExpired indicates that the password has expired. You cannot
	// change the password by using Exchange Web Services. You must use a tool
	// such as Outlook Web App to change your password.
	ErrorPasswordExpired ResponseCode = "ErrorPasswordExpired"

	// ErrorPermissionNotAllowedByPolicy indicates that the requester tried to
	// grant permissions in its calendar or contacts folder to an external user
	// but the sharing policy assigned to the requester indicates that the
	// requested permission level is higher than what the sharing policy allows.
	ErrorPermissionNotAllowedByPolicy ResponseCode = "ErrorPermissionNotAllowedByPolicy"

	// ErrorPhoneNumberNotDialable indicates that the telephone number was not
	// in the correct form.
	ErrorPhoneNumberNotDialable ResponseCode = "ErrorPhoneNumberNotDialable"

	// ErrorPropertyUpdate indicates that the update failed because of invalid
	// property values. The response message includes the invalid property
	// paths.
	ErrorPropertyUpdate ResponseCode = "ErrorPropertyUpdate"

	// ErrorPromptPublishingOperationFailed is intended for internal use only.
	// This error was introduced in Exchange 2013.
	ErrorPromptPublishingOperationFailed ResponseCode = "ErrorPromptPublishingOperationFailed"

	// ErrorProxiedSubscriptionCallFailure indicates that the request referred
	// to a subscription that exists on another Client Access server, but an
	// attempt to proxy the request to that Client Access server failed.
	ErrorProxiedSubscriptionCallFailure ResponseCode = "ErrorProxiedSubscriptionCallFailure"

	// ErrorProxyGroupSidLimitExceeded indicates that the request referred to a
	// mailbox in another Active Directory site, and the original caller is a
	// member of more than 3,000 groups.
	ErrorProxyGroupSidLimitExceeded ResponseCode = "ErrorProxyGroupSidLimitExceeded"

	// ErrorProxyRequestNotAllowed indicates that the request that Exchange Web
	// Services sent to another Client Access server when trying to fulfill a
	// GetUserAvailabilityRequest request was invalid. This response code
	// typically indicates that a configuration or rights error has occurred,
	// or that someone tried unsuccessfully to mimic an availability proxy
	// request.
	ErrorProxyRequestNotAllowed ResponseCode = "ErrorProxyRequestNotAllowed"

	// ErrorProxyRequestProcessingFailed indicates that Exchange Web Services
	// tried to proxy an availability request to another Client Access server
	// for fulfillment, but the request failed. This response can be caused by
	// network connectivity issues or request timeout issues.
	ErrorProxyRequestProcessingFailed ResponseCode = "ErrorProxyRequestProcessingFailed"

	// ErrorProxyServiceDiscoveryFailed code must be returned if the Web
	// service cannot determine whether the request is to run on the target
	// server or will be proxied to another server.
	ErrorProxyServiceDiscoveryFailed ResponseCode = "ErrorProxyServiceDiscoveryFailed"

	// ErrorPublicFolderMailboxDiscoveryFailed occurs when the public folder
	// mailbox URL cannot be found. This error is intended for internal use
	// only. This error was introduced in Exchange 2013.
	ErrorPublicFolderMailboxDiscoveryFailed ResponseCode = "ErrorPublicFolderMailboxDiscoveryFailed"

	// ErrorPublicFolderOperationFailed occurs when an attempt is made to
	// access a public folder and the attempt is unsuccessful.
	// This error was introduced in Exchange 2013.
	ErrorPublicFolderOperationFailed ResponseCode = "ErrorPublicFolderOperationFailed"

	// ErrorPublicFolderRequestProcessingFailed occurs when the recipient that
	// was passed to the GetUserAvailability operation is located on a computer
	// that is running a version of Exchange Server that is earlier than
	// Exchange 2007, and the request to retrieve free/busy information for the
	// recipient from the public folder server failed.
	ErrorPublicFolderRequestProcessingFailed ResponseCode = "ErrorPublicFolderRequestProcessingFailed"

	// ErrorPublicFolderServerNotFound occurs when the recipient that was
	// passed to the GetUserAvailability operation is located on a computer
	// that is running a version of Exchange Server that is earlier than
	// Exchange 2007, and the request to retrieve free/busy information for
	// the recipient from the public folder server failed because the
	// organizational unit did not have an associated public folder server.
	ErrorPublicFolderServerNotFound ResponseCode = "ErrorPublicFolderServerNotFound"

	// ErrorPublicFolderSyncException occurs when a synchronization operation
	// succeeds against the primary public folder mailbox but does not succeed
	// against the secondary public folder mailbox.
	// This error was introduced in Exchange 2013.
	ErrorPublicFolderSyncException ResponseCode = "ErrorPublicFolderSyncException"

	// ErrorQueryFilterTooLong indicates that the search folder restriction may
	// be valid, but it is not supported by EWS. Exchange Web Services limits
	// restrictions to contain a maximum of 255 filter expressions. If you try
	// to bind to an existing search folder that exceeds 255, this response
	// code is returned.
	ErrorQueryFilterTooLong ResponseCode = "ErrorQueryFilterTooLong"

	// ErrorQuotaExceeded occurs when the mailbox quota is exceeded.
	ErrorQuotaExceeded ResponseCode = "ErrorQuotaExceeded"

	// ErrorReadEventsFailed is returned by the GetEvents operation or push
	// notifications when a failure occurs while retrieving event information.
	// When this error is returned, the subscription is deleted. Re-create the
	// event synchronization based on a last known watermark.
	ErrorReadEventsFailed ResponseCode = "ErrorReadEventsFailed"

	// ErrorReadReceiptNotPending is returned by the CreateItem operation if an
	// attempt was made to suppress a read receipt when the message sender did
	// not request a read receipt on the message or if the message is in the
	// Junk E-mail folder.
	ErrorReadReceiptNotPending ResponseCode = "ErrorReadReceiptNotPending"

	// ErrorRecurrenceEndDateTooBig occurs when the end date for the recurrence
	// is after 9/1/4500.
	ErrorRecurrenceEndDateTooBig ResponseCode = "ErrorRecurrenceEndDateTooBig"

	// ErrorRecurrenceHasNoOccurrence occurs when the specified recurrence does
	// not have any occurrence instances in the specified range.
	ErrorRecurrenceHasNoOccurrence ResponseCode = "ErrorRecurrenceHasNoOccurrence"

	// ErrorRemoveDelegatesFailed indicates that the delegate list failed to be
	// saved after delegates were removed.
	ErrorRemoveDelegatesFailed ResponseCode = "ErrorRemoveDelegatesFailed"

	// ErrorRequestStreamTooBig occurs when the request stream is larger than
	// 400 KB.
	ErrorRequestStreamTooBig ResponseCode = "ErrorRequestStreamTooBig"

	// ErrorRequiredPropertyMissing is returned when a required property is
	// missing in a CreateAttachment operation request. The missing property
	// URI is included in the response.
	ErrorRequiredPropertyMissing ResponseCode = "ErrorRequiredPropertyMissing"

	// ErrorResolveNamesInvalidFolderType indicates that the caller has
	// specified a folder that is not a contacts folder to the ResolveNames
	// operation.
	ErrorResolveNamesInvalidFolderType ResponseCode = "ErrorResolveNamesInvalidFolderType"

	// ErrorResolveNamesOnlyOneContactsFolderAllowed indicates that the caller
	// has specified more than one contacts folder to the ResolveNames
	// operation.
	ErrorResolveNamesOnlyOneContactsFolderAllowed ResponseCode = "ErrorResolveNamesOnlyOneContactsFolderAllowed"

	// ErrorResponseSchemaValidation is not used.
	ErrorResponseSchemaValidation ResponseCode = "ErrorResponseSchemaValidation"

	// ErrorRestrictionTooLong occurs if the restriction contains more than
	// 255 nodes.
	ErrorRestrictionTooLong ResponseCode = "ErrorRestrictionTooLong"

	// ErrorRestrictionTooComplex occurs when the restriction cannot be
	// evaluated by Exchange Web Services.
	ErrorRestrictionTooComplex ResponseCode = "ErrorRestrictionTooComplex"

	// ErrorResultSetTooBig indicates that the number of calendar entries for
	// a given recipient exceeds the allowed limit of 1000. Reduce the window
	// and try again.
	ErrorResultSetTooBig ResponseCode = "ErrorResultSetTooBig"

	// ErrorSavedItemFolderNotFound occurs when the SavedItemFolderId is not
	// found.
	ErrorSavedItemFolderNotFound ResponseCode = "ErrorSavedItemFolderNotFound"

	// ErrorSchemaValidation occurs when the request cannot be validated
	// against the schema.
	ErrorSchemaValidation ResponseCode = "ErrorSchemaValidation"

	// ErrorSearchFolderNotInitialized indicates that the search folder was
	// created, but the search criteria were never set on the folder. This only
	// occurs when you access corrupted search folders that were created by
	// using another API or client. To fix this error, use the UpdateFolder
	// operation to set the SearchParameters element to include the restriction
	// that should be on the folder.
	ErrorSearchFolderNotInitialized ResponseCode = "ErrorSearchFolderNotInitialized"

	// ErrorSendAsDenied occurs when both of the following conditions occur:
	//  - A user has been granted CanActAsOwner permissions but is not granted
	//    delegate rights on the principal's mailbox.
	//  - The same user tries to create and send an e-mail message in the
	//    principal's mailbox by using the SendAndSaveCopy option.
	// The result is an ErrorSendAsDenied error and the creation of the e-mail
	// message in the principal's Drafts folder.
	ErrorSendAsDenied ResponseCode = "ErrorSendAsDenied"

	// ErrorSendMeetingCancellationsRequired is returned by the DeleteItem
	// operation if the SendMeetingCancellations attribute is missing from the
	// request and the item to delete is a calendar item.
	ErrorSendMeetingCancellationsRequired ResponseCode = "ErrorSendMeetingCancellationsRequired"

	// ErrorSendMeetingInvitationsOrCancellationsRequired is returned by the
	// UpdateItem operation if the SendMeetingInvitationsOrCancellations
	// attribute is missing from the request and the item to update is a
	// calendar item.
	ErrorSendMeetingInvitationsOrCancellationsRequired ResponseCode = "ErrorSendMeetingInvitationsOrCancellationsRequired"

	// ErrorSendMeetingInvitationsRequired is returned by the CreateItem
	// operation if the SendMeetingInvitations attribute is missing from the
	// request and the item to create is a calendar item.
	ErrorSendMeetingInvitationsRequired ResponseCode = "ErrorSendMeetingInvitationsRequired"

	// ErrorSentMeetingRequestUpdate indicates that after the organizer sends
	// a meeting request, the request cannot be updated. To modify the meeting,
	// modify the calendar item, not the meeting request.
	ErrorSentMeetingRequestUpdate ResponseCode = "ErrorSentMeetingRequestUpdate"

	// ErrorSentTaskRequestUpdate indicates that after the task initiator sends
	// a task request, that request cannot be updated.
	ErrorSentTaskRequestUpdate ResponseCode = "ErrorSentTaskRequestUpdate"

	// ErrorServerBusy occurs when the server is busy.
	ErrorServerBusy ResponseCode = "ErrorServerBusy"

	// ErrorServiceDiscoveryFailed indicates that Exchange Web Services tried
	// to proxy a user availability request to the appropriate forest for the
	// recipient, but it could not determine where to send the request because
	// of a service discovery failure.
	ErrorServiceDiscoveryFailed ResponseCode = "ErrorServiceDiscoveryFailed"

	// ErrorSharingNoExternalEwsAvailable indicates that the external URL
	// property has not been set in the Active Directory database.
	// It specifies that the external URL property has not been set in the
	// Active Directory database. This error code MUST be returned if the
	// external URL property has not been set in the Active Directory database.
	ErrorSharingNoExternalEwsAvailable ResponseCode = "ErrorSharingNoExternalEwsAvailable"

	// ErrorSharingSynchronizationFailed indicates that an attempt at
	// synchronizing a sharing folder failed. This error code is returned when
	// the following occurs:
	//  - The subscription for a sharing folder is not found.
	//  - The sharing folder is not found.
	//  - The corresponding directory user is not found.
	//  - The user no longer exists.
	//  - The appointment is invalid.
	//  - The contact item is invalid.
	//  - There is a communication failure with the remote server.
	ErrorSharingSynchronizationFailed ResponseCode = "ErrorSharingSynchronizationFailed"

	// ErrorStaleObject occurs in an UpdateItem operation or a SendItem
	// operation when the change key is not up-to-date or was not supplied.
	// Call the GetItem operation to retrieve an updated change key and then
	// try the operation again.
	ErrorStaleObject ResponseCode = "ErrorStaleObject"

	// ErrorSubmissionQuotaExceeded Indicates that a user cannot immediately
	// send more requests because the submission quota has been reached.
	ErrorSubmissionQuotaExceeded ResponseCode = "ErrorSubmissionQuotaExceeded"

	// ErrorSubscriptionAccessDenied occurs when you try to access a
	// subscription by using an account that did not create that subscription.
	// Each subscription can only be accessed by the creator of the
	// subscription.
	ErrorSubscriptionAccessDenied ResponseCode = "ErrorSubscriptionAccessDenied"

	// ErrorSubscriptionDelegateAccessNotSupported indicates that you cannot
	// create a subscription if you are not the owner or do not have owner
	// access to the mailbox.
	ErrorSubscriptionDelegateAccessNotSupported ResponseCode = "ErrorSubscriptionDelegateAccessNotSupported"

	// ErrorSubscriptionNotFound occurs if the subscription that corresponds to
	// the specified SubscriptionId (GetEvents) is not found. The subscription
	// may have expired, the Exchange Web Services process may have been
	// restarted, or an invalid subscription was passed in. If the subscription
	// was valid, re-create the subscription with the latest watermark. This is
	// returned by the Unsubscribe operation or the GetEvents operation
	// responses.
	ErrorSubscriptionNotFound ResponseCode = "ErrorSubscriptionNotFound"

	// ErrorSubscriptionUnsubsribed code must be returned when a request is
	// made for a subscription that has been unsubscribed.
	ErrorSubscriptionUnsubsribed ResponseCode = "ErrorSubscriptionUnsubsribed"

	// ErrorSyncFolderNotFound is returned by the SyncFolderItems operation if
	// the parent folder that is specified cannot be found.
	ErrorSyncFolderNotFound ResponseCode = "ErrorSyncFolderNotFound"

	// ErrorTeamMailboxNotFound indicates that a team mailbox was not found.
	// This error was introduced in Exchange 2013.
	ErrorTeamMailboxNotFound ResponseCode = "ErrorTeamMailboxNotFound"

	// ErrorTeamMailboxNotLinkedToSharePoint indicates that a team mailbox was
	// found but that it is not linked to a SharePoint Server.
	// This error was introduced in Exchange 2013.
	ErrorTeamMailboxNotLinkedToSharePoint ResponseCode = "ErrorTeamMailboxNotLinkedToSharePoint"

	// ErrorTeamMailboxUrlValidationFailed indicates that a team mailbox was
	// found but that the link to the SharePoint Server is not valid.
	// This error was introduced in Exchange 2013.
	ErrorTeamMailboxUrlValidationFailed ResponseCode = "ErrorTeamMailboxUrlValidationFailed"

	// ErrorTeamMailboxNotAuthorizedOwner code is not used.
	// This error was introduced in Exchange 2013.
	ErrorTeamMailboxNotAuthorizedOwner ResponseCode = "ErrorTeamMailboxNotAuthorizedOwner"

	// ErrorTeamMailboxActiveToPendingDelete code is not used.
	// This error was introduced in Exchange 2013.
	ErrorTeamMailboxActiveToPendingDelete ResponseCode = "ErrorTeamMailboxActiveToPendingDelete"

	// ErrorTeamMailboxFailedSendingNotifications indicates that an attempt to
	// send a notification to the team mailbox owners was unsuccessful.
	// This error was introduced in Exchange 2013.
	ErrorTeamMailboxFailedSendingNotifications ResponseCode = "ErrorTeamMailboxFailedSendingNotifications"

	// ErrorTeamMailboxErrorUnknown indicates a general error that can occur
	// when trying to access a team mailbox. Try submitting the request at a
	// later time. This error was introduced in Exchange 2013.
	ErrorTeamMailboxErrorUnknown ResponseCode = "ErrorTeamMailboxErrorUnknown"

	// ErrorTimeIntervalTooBig indicates that the time window that was
	// specified is larger than the allowed limit. By default, the allowed
	// limit is 42.
	ErrorTimeIntervalTooBig ResponseCode = "ErrorTimeIntervalTooBig"

	// ErrorTimeoutExpired occurs when there is not enough time to complete the
	// processing of the request.
	ErrorTimeoutExpired ResponseCode = "ErrorTimeoutExpired"

	// ErrorTimeZone indicates that there is a time zone error.
	ErrorTimeZone ResponseCode = "ErrorTimeZone"

	// ErrorToFolderNotFound indicates that the destination folder does not
	// exist.
	ErrorToFolderNotFound ResponseCode = "ErrorToFolderNotFound"

	// ErrorTokenSerializationDenied occurs if the caller tries to do a Token
	// serialization request but does not have the
	// ms-Exch-EPI-TokenSerialization right on the Client Access server.
	ErrorTokenSerializationDenied ResponseCode = "ErrorTokenSerializationDenied"

	// ErrorTooManyObjectsOpened occurs when the internal limit on open objects
	// has been exceeded.
	ErrorTooManyObjectsOpened ResponseCode = "ErrorTooManyObjectsOpened"

	// ErrorUnifiedMessagingDialPlanNotFound indicates that a user's dial plan
	// is not available.
	ErrorUnifiedMessagingDialPlanNotFound ResponseCode = "ErrorUnifiedMessagingDialPlanNotFound"

	// ErrorUnifiedMessagingReportDataNotFound is intended for internal use
	// only. This error was introduced in Exchange 2013.
	ErrorUnifiedMessagingReportDataNotFound ResponseCode = "ErrorUnifiedMessagingReportDataNotFound"

	// ErrorUnifiedMessagingPromptNotFound is intended for internal use only.
	// This error was introduced in Exchange 2013.
	ErrorUnifiedMessagingPromptNotFound ResponseCode = "ErrorUnifiedMessagingPromptNotFound"

	// ErrorUnifiedMessagingRequestFailed indicates that the user could not be
	// found.
	ErrorUnifiedMessagingRequestFailed ResponseCode = "ErrorUnifiedMessagingRequestFailed"

	// ErrorUnifiedMessagingServerNotFound indicates that a valid server for
	// the dial plan can be found to handle the request.
	ErrorUnifiedMessagingServerNotFound ResponseCode = "ErrorUnifiedMessagingServerNotFound"

	// ErrorUnableToRemoveImContactFromGroup occurs when an unsuccessful
	// attempt is made to remove an IM contact from a group.
	// This error was introduced in Exchange 2013.
	ErrorUnableToRemoveImContactFromGroup ResponseCode = "ErrorUnableToRemoveImContactFromGroup"

	// ErrorUnsupportedCulture occurs when you try to set the Culture property
	// to a value that is not parsable by the System.Globalization.CultureInfo
	// class.
	ErrorUnsupportedCulture ResponseCode = "ErrorUnsupportedCulture"

	// ErrorUnsupportedMapiPropertyType occurs when a caller tries to use
	// extended properties of types object, object array, error, or null.
	ErrorUnsupportedMapiPropertyType ResponseCode = "ErrorUnsupportedMapiPropertyType"

	// ErrorUnsupportedMimeConversion occurs when you are trying to retrieve or
	// set MIME content for an item other than a PostItem, Message, or
	// CalendarItem object.
	ErrorUnsupportedMimeConversion ResponseCode = "ErrorUnsupportedMimeConversion"

	// ErrorUnsupportedPathForQuery occurs when the caller passes a property
	// that is invalid for a query. This can occur when calculated properties
	// are used.
	ErrorUnsupportedPathForQuery ResponseCode = "ErrorUnsupportedPathForQuery"

	// ErrorUnsupportedPathForSortGroup occurs when the caller passes a
	// property that is invalid for a sort or group by property. This can occur
	// when calculated properties are used.
	ErrorUnsupportedPathForSortGroup ResponseCode = "ErrorUnsupportedPathForSortGroup"

	// ErrorUnsupportedPropertyDefinition is not used.
	ErrorUnsupportedPropertyDefinition ResponseCode = "ErrorUnsupportedPropertyDefinition"

	// ErrorUnsupportedQueryFilter indicates that the search folder restriction
	// may be valid, but it is not supported by EWS.
	ErrorUnsupportedQueryFilter ResponseCode = "ErrorUnsupportedQueryFilter"

	// ErrorUnsupportedRecurrence indicates that the specified recurrence is
	// not supported for tasks.
	ErrorUnsupportedRecurrence ResponseCode = "ErrorUnsupportedRecurrence"

	// ErrorUnsupportedTypeForConversion indicates that Exchange Web Services
	// found a property type in the store but it cannot generate XML for the
	// property type.
	ErrorUnsupportedTypeForConversion ResponseCode = "ErrorUnsupportedTypeForConversion"

	// ErrorUpdateDelegatesFailed indicates that the delegate list failed to be
	// saved after delegates were updated.
	ErrorUpdateDelegatesFailed ResponseCode = "ErrorUpdateDelegatesFailed"

	// ErrorUpdatePropertyMismatch occurs when the single property path that is
	// listed in a change description does not match the single property that
	// is being set within the actual Item or Folder object.
	ErrorUpdatePropertyMismatch ResponseCode = "ErrorUpdatePropertyMismatch"

	// ErrorUserNotUnifiedMessagingEnabled indicates that the requester is not
	// enabled.
	ErrorUserNotUnifiedMessagingEnabled ResponseCode = "ErrorUserNotUnifiedMessagingEnabled"

	// ErrorUserNotAllowedByPolicy indicates that the requester tried to grant
	// permissions in its calendar or contacts folder to an external user but
	// the sharing policy assigned to the requester indicates that the domain
	// of the external user is not listed in the policy.
	ErrorUserNotAllowedByPolicy ResponseCode = "ErrorUserNotAllowedByPolicy"

	// ErrorUserWithoutFederatedProxyAddress indicates that the requester's
	// organization has a set of federated domains but the requester's
	// organization does not have any SMTP proxy addresses with one of the
	// federated domains.
	ErrorUserWithoutFederatedProxyAddress ResponseCode = "ErrorUserWithoutFederatedProxyAddress"

	// ErrorValueOutOfRange indicates that a calendar view start date or end
	// date was set to 1/1/0001 12:00:00 AM or 12/31/9999 11:59:59 PM.
	ErrorValueOutOfRange ResponseCode = "ErrorValueOutOfRange"

	// ErrorVirusDetected indicates that the Exchange store detected a virus in
	// the message.
	ErrorVirusDetected ResponseCode = "ErrorVirusDetected"

	// ErrorVirusMessageDeleted indicates that the Exchange store detected a
	// virus in the message and deleted it.
	ErrorVirusMessageDeleted ResponseCode = "ErrorVirusMessageDeleted"

	// ErrorWin32InteropError indicates that there was an internal failure
	// during communication with unmanaged code.
	ErrorWin32InteropError ResponseCode = "ErrorWin32InteropError"

	// ErrorWrongServerVersion indicates that a request can only be made to a
	// server that is the same version as the mailbox server.
	ErrorWrongServerVersion ResponseCode = "ErrorWrongServerVersion"

	// ErrorWrongServerVersionDelegate indicates that a request was made by a
	// delegate that has a different server version than the principal's
	// mailbox server.
	ErrorWrongServerVersionDelegate ResponseCode = "ErrorWrongServerVersionDelegate"

	// ErrorApplyConversationActionFailed MUST be returned if an action cannot
	// be applied to one or more items in the conversation.
	ErrorApplyConversationActionFailed ResponseCode = "ErrorApplyConversationActionFailed"

	// ErrorInboxRulesValidationError MUST be returned if any rule does not
	// validate.
	ErrorInboxRulesValidationError ResponseCode = "ErrorInboxRulesValidationError"

	// ErrorOutlookRuleBlobExists MUST be returned when an attempt to manage
	// Inbox rules occurs after another client has accessed the Inbox rules.
	ErrorOutlookRuleBlobExists ResponseCode = "ErrorOutlookRuleBlobExists"

	// ErrorRulesOverQuota MUST be returned when a user's rule quota has been
	// exceeded.
	ErrorRulesOverQuota ResponseCode = "ErrorRulesOverQuota"

	// ErrorNewEventStreamConnectionOpened MUST be returned to the first
	// subscription connection if a second subscription connection is opened.
	ErrorNewEventStreamConnectionOpened ResponseCode = "ErrorNewEventStreamConnectionOpened"

	// ErrorMissedNotificationEvents MUST be returned when event notifications
	// are missed.
	ErrorMissedNotificationEvents ResponseCode = "ErrorMissedNotificationEvents"

	// ErrorDuplicateLegacyDistinguishedName is returned when there are
	// duplicate legacy distinguished names in Active Directory Domain
	// Services (AD DS). This error was introduced in Exchange 2013.
	ErrorDuplicateLegacyDistinguishedName ResponseCode = "ErrorDuplicateLegacyDistinguishedName"

	// ErrorInvalidClientAccessTokenRequest indicates that a request to get a
	// client access token was not valid.
	// This error was introduced in Exchange 2013.
	ErrorInvalidClientAccessTokenRequest ResponseCode = "ErrorInvalidClientAccessTokenRequest"

	// ErrorNoSpeechDetected is intended for internal use only.
	// This error was introduced in Exchange 2013.
	ErrorNoSpeechDetected ResponseCode = "ErrorNoSpeechDetected"

	// ErrorUMServerUnavailable is intended for internal use only.
	// This error was introduced in Exchange 2013.
	ErrorUMServerUnavailable ResponseCode = "ErrorUMServerUnavailable"

	// ErrorRecipientNotFound is intended for internal use only.
	// This error was introduced in Exchange 2013.
	ErrorRecipientNotFound ResponseCode = "ErrorRecipientNotFound"

	// ErrorRecognizerNotInstalled is intended for internal use only.
	// This error was introduced in Exchange 2013.
	ErrorRecognizerNotInstalled ResponseCode = "ErrorRecognizerNotInstalled"

	// ErrorSpeechGrammarError is intended for internal use only.
	// This error was introduced in Exchange 2013.
	ErrorSpeechGrammarError ResponseCode = "ErrorSpeechGrammarError"

	// ErrorInvalidManagementRoleHeader is returned if the ManagementRole
	// header in the SOAP header is incorrect.
	// This error was introduced in Exchange 2013.
	ErrorInvalidManagementRoleHeader ResponseCode = "ErrorInvalidManagementRoleHeader"

	// ErrorLocationServicesDisabled is intended for internal use only.
	// This error was introduced in Exchange 2013.
	ErrorLocationServicesDisabled ResponseCode = "ErrorLocationServicesDisabled"

	// ErrorLocationServicesRequestTimedOut is intended for internal use only.
	// This error was introduced in Exchange 2013.
	ErrorLocationServicesRequestTimedOut ResponseCode = "ErrorLocationServicesRequestTimedOut"

	// ErrorLocationServicesRequestFailed is intended for internal use only.
	// This error was introduced in Exchange 2013.
	ErrorLocationServicesRequestFailed ResponseCode = "ErrorLocationServicesRequestFailed"

	// ErrorLocationServicesInvalidRequest is intended for internal use only.
	// This error was introduced in Exchange 2013.
	ErrorLocationServicesInvalidRequest ResponseCode = "ErrorLocationServicesInvalidRequest"

	// ErrorWeatherServiceDisabled is intended for internal use only.
	ErrorWeatherServiceDisabled ResponseCode = "ErrorWeatherServiceDisabled"

	// ErrorMailboxScopeNotAllowedWithoutQueryString is returned when a scoped
	// search attempt is performed without using a QueryString (String) element
	// for a content indexing search. This is applicable to the SearchMailboxes
	// and FindConversation operations.
	// This error was introduced in Exchange 2013.
	ErrorMailboxScopeNotAllowedWithoutQueryString ResponseCode = "ErrorMailboxScopeNotAllowedWithoutQueryString"

	// ErrorArchiveMailboxSearchFailed is returned when an archive mailbox
	// search is unsuccessful.
	// This error was introduced in Exchange 2013.
	ErrorArchiveMailboxSearchFailed ResponseCode = "ErrorArchiveMailboxSearchFailed"

	// ErrorGetRemoteArchiveFolderFailed occurs when the operation to get the
	// remote archive mailbox folder failed.
	ErrorGetRemoteArchiveFolderFailed ResponseCode = "ErrorGetRemoteArchiveFolderFailed"

	// ErrorFindRemoteArchiveFolderFailed occurs when the operation to find the
	// remote archive mailbox folder failed.
	ErrorFindRemoteArchiveFolderFailed ResponseCode = "ErrorFindRemoteArchiveFolderFailed"

	// ErrorGetRemoteArchiveItemFailed occurs when the operation to get the
	// remote archive mailbox item failed.
	ErrorGetRemoteArchiveItemFailed ResponseCode = "ErrorGetRemoteArchiveItemFailed"

	// ErrorExportRemoteArchiveItemsFailed occurs when the operation to export
	// remote archive mailbox items failed.
	ErrorExportRemoteArchiveItemsFailed ResponseCode = "ErrorExportRemoteArchiveItemsFailed"

	// ErrorInvalidPhotoSize is returned if an invalid photo size is requested
	// from the server. This error was introduced in Exchange 2013.
	ErrorInvalidPhotoSize ResponseCode = "ErrorInvalidPhotoSize"

	// ErrorSearchQueryHasTooManyKeywords is returned when an unexpected photo
	// size is requested in a GetUserPhoto operation request.
	// This error was introduced in Exchange 2013.
	ErrorSearchQueryHasTooManyKeywords ResponseCode = "ErrorSearchQueryHasTooManyKeywords"

	// ErrorSearchTooManyMailboxes is returned when a SearchMailboxes operation
	// request contains too many mailboxes to search.
	// This error was introduced in Exchange 2013.
	ErrorSearchTooManyMailboxes ResponseCode = "ErrorSearchTooManyMailboxes"

	// ErrorInvalidRetentionTagNone indicates that no retention tags were found
	// for this user. This error was introduced in Exchange 2013.
	ErrorInvalidRetentionTagNone ResponseCode = "ErrorInvalidRetentionTagNone"

	// ErrorDiscoverySearchesDisabled is returned when discovery searches are
	// disabled on a tenant or server.
	// This error was introduced in Exchange 2013.
	ErrorDiscoverySearchesDisabled ResponseCode = "ErrorDiscoverySearchesDisabled"

	// ErrorCalendarSeekToConditionNotSupported occurs when attempting to
	// invoke the FindItem operation with a SeekToConditionPageItemView for
	// fetching calendar items, which is not supported.
	ErrorCalendarSeekToConditionNotSupported ResponseCode = "ErrorCalendarSeekToConditionNotSupported"

	// ErrorInvalidLicense indicates the user doesn't have a valid license.
	ErrorInvalidLicense ResponseCode = "ErrorInvalidLicense"

	// ErrorMessagePerFolderCountReceiveQuotaExceeded indicates the message per
	// folder receive quota has been exceeded.
	ErrorMessagePerFolderCountReceiveQuotaExceeded ResponseCode = "ErrorMessagePerFolderCountReceiveQuotaExceeded"
)

func (ResponseCode) String

func (r ResponseCode) String() string

type ResponseEnvelope

type ResponseEnvelope struct {
	XMLName xml.Name `xml:"Envelope"`
	Body    struct {
		Response []byte `xml:",innerxml"`
	} `xml:"Body"`
}

type ResponseObjects

type ResponseObjects struct {
	XMLName xml.Name `xml:"ResponseObjects"`

	AcceptItem              *AcceptItem
	TentativelyAcceptItem   *TentativelyAcceptItem
	DeclineItem             *DeclineItem
	ProposeNewTime          *ProposeNewTime
	ReplyToItem             *ReplyToItem
	ForwardItem             *ForwardItem
	ReplyAllToItem          *ReplyAllToItem
	CancelCalendarItem      *CancelCalendarItem
	RemoveItem              *RemoveItem
	PostReplyItem           *PostReplyItem
	SuppressReadReceipt     *SuppressReadReceipt
	AcceptSharingInvitation *AcceptSharingInvitation
}

type Restriction

type Restriction struct {
	XMLName                xml.Name `xml:"m:Restriction"`
	Exists                 *SearchExpresionExists
	Excludes               *SearchExpresionExcludes
	IsEqualTo              *SearchExpresionIsEqualTo
	IsNotEqualTo           *SearchExpresionIsNotEqualTo
	IsGreaterThan          *SearchExpresionIsGreaterThan
	IsGreaterThanOrEqualTo *SearchExpresionIsGreaterThanOrEqualTo
	IsLessThan             *SearchExpresionIsLessThan
	IsLessThanOrEqualTo    *SearchExpresionIsLessThanOrEqualTo
	Contains               *SearchExpresionContains
	Not                    *SearchExpresion `xml:"t:Not"`
	And                    *SearchExpresion `xml:"t:And"`
	Or                     *SearchExpresion `xml:"t:Or"`
}

type RootFolder

type RootFolder struct {
	XMLName                 xml.Name `xml:"RootFolder"`
	IndexedPagingOffset     int      `xml:"IndexedPagingOffset,attr"`
	NumeratorOffset         int      `xml:"NumeratorOffset,attr"`
	AbsoluteDenominator     int      `xml:"AbsoluteDenominator,attr"`
	IncludesLastItemInRange bool     `xml:"IncludesLastItemInRange,attr"`
	TotalItemsInView        int      `xml:"TotalItemsInView,attr"`
	Items                   Items
}

The RootFolder element contains the results of a search of a single root folder during a FindItem operation. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/rootfolder-finditemresponsemessage

type RoutingType

type RoutingType string

The RoutingType element represents the routing protocol for the recipient. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/routingtype-emailaddress

func (RoutingType) String

func (s RoutingType) String() string

type SavedItemFolderId

type SavedItemFolderId struct {
	XMLName               xml.Name `xml:"m:SavedItemFolderId"`
	FolderId              *SendFolderId
	DistinguishedFolderId *DistinguishedFolderId
}

The SavedItemFolderId element identifies the target folder for operations that update, send, and create items in a mailbox. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/saveditemfolderid

type SearchExpresion

type SearchExpresion struct {
	Exists                 []*SearchExpresionExists
	Excludes               []*SearchExpresionExcludes
	IsEqualTo              []*SearchExpresionIsEqualTo
	IsNotEqualTo           []*SearchExpresionIsNotEqualTo
	IsGreaterThan          []*SearchExpresionIsGreaterThan
	IsGreaterThanOrEqualTo []*SearchExpresionIsGreaterThanOrEqualTo
	IsLessThan             []*SearchExpresionIsLessThan
	IsLessThanOrEqualTo    []*SearchExpresionIsLessThanOrEqualTo
	Contains               []*SearchExpresionContains
	Not                    []*SearchExpresion `xml:"t:Not"`
	And                    []*SearchExpresion `xml:"t:And"`
	Or                     []*SearchExpresion `xml:"t:Or"`
}

type SearchExpresionContains

type SearchExpresionContains struct {
	XMLName               xml.Name `xml:"t:Contains"`
	FieldURI              *FieldURI
	IndexedFieldURI       *IndexedFieldURI
	ExtendedFieldURI      *ExtendedFieldURI
	ContainmentMode       ContainmentMode       `xml:"ContainmentMode,attr,omitempty"`
	ContainmentComparison ContainmentComparison `xml:"ContainmentComparison,attr,omitempty"`
	Constant              Constant
}

type SearchExpresionExcludes

type SearchExpresionExcludes struct {
	XMLName          xml.Name `xml:"t:Excludes"`
	FieldURI         *FieldURI
	IndexedFieldURI  *IndexedFieldURI
	ExtendedFieldURI *ExtendedFieldURI
	Bitmask          Bitmask
}

type SearchExpresionExists

type SearchExpresionExists struct {
	XMLName          xml.Name `xml:"t:Exists"`
	FieldURI         *FieldURI
	IndexedFieldURI  *IndexedFieldURI
	ExtendedFieldURI *ExtendedFieldURI
}

type SearchExpresionIsEqualTo

type SearchExpresionIsEqualTo struct {
	XMLName            xml.Name `xml:"t:IsEqualTo"`
	FieldURI           *FieldURI
	IndexedFieldURI    *IndexedFieldURI
	ExtendedFieldURI   *ExtendedFieldURI
	FieldURIOrConstant FieldURIOrConstant
}

type SearchExpresionIsGreaterThan

type SearchExpresionIsGreaterThan struct {
	XMLName            xml.Name `xml:"t:IsGreaterThan"`
	FieldURI           *FieldURI
	IndexedFieldURI    *IndexedFieldURI
	ExtendedFieldURI   *ExtendedFieldURI
	FieldURIOrConstant FieldURIOrConstant
}

type SearchExpresionIsGreaterThanOrEqualTo

type SearchExpresionIsGreaterThanOrEqualTo struct {
	XMLName            xml.Name `xml:"t:IsGreaterThanOrEqualTo"`
	FieldURI           *FieldURI
	IndexedFieldURI    *IndexedFieldURI
	ExtendedFieldURI   *ExtendedFieldURI
	FieldURIOrConstant FieldURIOrConstant
}

type SearchExpresionIsLessThan

type SearchExpresionIsLessThan struct {
	XMLName            xml.Name `xml:"t:IsLessThan"`
	FieldURI           *FieldURI
	IndexedFieldURI    *IndexedFieldURI
	ExtendedFieldURI   *ExtendedFieldURI
	FieldURIOrConstant FieldURIOrConstant
}

type SearchExpresionIsLessThanOrEqualTo

type SearchExpresionIsLessThanOrEqualTo struct {
	XMLName            xml.Name `xml:"t:IsLessThanOrEqualTo"`
	FieldURI           *FieldURI
	IndexedFieldURI    *IndexedFieldURI
	ExtendedFieldURI   *ExtendedFieldURI
	FieldURIOrConstant FieldURIOrConstant
}

type SearchExpresionIsNotEqualTo

type SearchExpresionIsNotEqualTo struct {
	XMLName            xml.Name `xml:"t:IsNotEqualTo"`
	FieldURI           *FieldURI
	IndexedFieldURI    *IndexedFieldURI
	ExtendedFieldURI   *ExtendedFieldURI
	FieldURIOrConstant FieldURIOrConstant
}

type SendAbsoluteMonthlyRecurrence

type SendAbsoluteMonthlyRecurrence struct {
	XMLName    xml.Name `xml:"t:AbsoluteMonthlyRecurrence"`
	DayOfMonth int      `xml:"t:DayOfMonth,omitempty"`
	Interval   int      `xml:"t:Interval,omitempty"`
}

type SendAbsoluteYearlyRecurrence

type SendAbsoluteYearlyRecurrence struct {
	XMLName    xml.Name `xml:"t:AbsoluteYearlyRecurrence"`
	DayOfMonth int      `xml:"t:DayOfMonth,omitempty"`
	Month      string   `xml:"t:Month,omitempty"`
}

type SendAcceptItem

type SendAcceptItem struct {
	XMLName         xml.Name `xml:"t:AcceptItem"`
	ReferenceItemId ReferenceItemId
}

type SendAttachmentId

type SendAttachmentId struct {
	XMLName xml.Name `xml:"t:AttachmentId"`
	Id      string   `xml:"Id,attr"`
}

type SendAttachments

type SendAttachments struct {
	XMLName        xml.Name `xml:"m:Attachments"`
	FileAttachment []SendFileAttachment
}

type SendAttendee

type SendAttendee struct {
	XMLName xml.Name `xml:"t:Attendee"`
	Mailbox SendMailbox
}

type SendBody

type SendBody struct {
	XMLName  xml.Name `xml:"t:Body"`
	BodyType BodyType `xml:"BodyType,attr"`
	Contents []byte   `xml:",chardata"`
}

type SendCalendarFolder

type SendCalendarFolder struct {
	XMLName     xml.Name `xml:"t:CalendarFolder"`
	DisplayName string   `xml:"t:DisplayName"`
}

type SendCalendarItem

type SendCalendarItem struct {
	XMLName                    xml.Name   `xml:"t:CalendarItem"`
	Subject                    *string    `xml:"t:Subject,omitempty"`
	Start                      *time.Time `xml:"t:Start,omitempty"`
	End                        *time.Time `xml:"t:End,omitempty"`
	StartTimeZone              *StartTimeZone
	EndTimeZone                *EndTimeZone
	IsAllDayEvent              *bool   `xml:"t:IsAllDayEvent,omitempty"`
	Location                   *string `xml:"t:Location,omitempty"`
	Body                       *SendBody
	RequiredAttendees          *SendRequiredAttendees
	OptionalAttendees          *SendOptionalAttendees
	Recurrence                 *SendRecurrence
	LegacyFreeBusyStatus       *string `xml:"t:LegacyFreeBusyStatus,omitempty"`
	Sensitivity                *string `xml:"t:Sensitivity,omitempty"`
	ReminderMinutesBeforeStart *int    `xml:"t:ReminderMinutesBeforeStart,omitempty"`
	ReminderIsSet              *bool   `xml:"t:ReminderIsSet,omitempty"`
	Categories                 *SendCategories
}

type SendCancelCalendarItem

type SendCancelCalendarItem struct {
	XMLName         xml.Name `xml:"t:CancelCalendarItem"`
	ReferenceItemId ReferenceItemId
}

https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/cancelcalendaritem

type SendCategories

type SendCategories struct {
	XMLName xml.Name `xml:"t:Categories"`
	String  []string `xml:"t:String,omitempty"`
}

type SendDailyRecurrence

type SendDailyRecurrence struct {
	XMLName  xml.Name `xml:"t:DailyRecurrence"`
	Interval int      `xml:"t:Interval"`
}

type SendDeclineItem

type SendDeclineItem struct {
	XMLName         xml.Name `xml:"t:DeclineItem"`
	ReferenceItemId ReferenceItemId
}

type SendDistinguishedFolderId

type SendDistinguishedFolderId struct {
	XMLName xml.Name    `xml:"t:DistinguishedFolderId"`
	Id      string      `xml:"Id,attr,omitempty"`
	Mailbox SendMailbox `xml:"t:Mailbox"`
}

type SendEndDateRecurrence

type SendEndDateRecurrence struct {
	XMLName   xml.Name  `xml:"t:EndDateRecurrence"`
	StartDate time.Time `xml:"t:StartDate"`
	EndDate   time.Time `xml:"t:EndDate"`
}

type SendFileAttachment

type SendFileAttachment struct {
	XMLName   xml.Name `xml:"t:FileAttachment"`
	Name      string   `xml:"t:Name"`
	Content   string   `xml:"t:Content"`
	IsInline  bool     `xml:"t:IsInline"`
	ContentId string   `xml:"t:ContentId,omitempty"`
}

type SendFolderId

type SendFolderId struct {
	XMLName   xml.Name `xml:"t:FolderId"`
	Id        string   `xml:"Id,attr"`
	ChangeKey string   `xml:"t:ChangeKey,attr,omitempty"`
}

type SendFolderIds

type SendFolderIds struct {
	XMLName               xml.Name `xml:"m:FolderIds"`
	FolderId              []SendFolderId
	DistinguishedFolderId []SendDistinguishedFolderId
}

type SendFolders

type SendFolders struct {
	XMLName xml.Name `xml:"m:Folders"`
	//Folder         []Folder
	CalendarFolder []SendCalendarFolder
}

type SendForwardItem

type SendForwardItem struct {
	XMLName                    xml.Name `xml:"t:ForwardItem"`
	Subject                    string   `xml:"t:Subject"`
	Body                       *SendBody
	ToRecipients               []Recepients  `xml:"t:ToRecipients,omitempty"`
	CcRecipients               []Recepients  `xml:"t:CcRecepients,omitempty"`
	BccRecipients              []Recepients  `xml:"t:BccRecepients,omitempty"`
	IsReadReceiptRequested     bool          `xml:"t:IsReadReceiptRequested"`
	IsDeliveryReceiptRequested bool          `xml:"t:IsDeliveryReceiptRequested"`
	From                       []SendMailbox `xml:"t:From"`
	ReferenceItemId            ReferenceItemId
	NewBodyContent             *NewBodyContent
}

The ForwardItem element contains an Exchange store item to forward to recipients. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/forwarditem https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/message-ex15websvcsotherref

type SendItem

type SendItem struct {
	XMLName          xml.Name `xml:"m:SendItem"`
	SaveItemToFolder bool     `xml:"SaveItemToFolder,attr"`

	ItemIds           ItemIds
	SavedItemFolderId SavedItemFolderId
}

type SendItemId

type SendItemId struct {
	XMLName   xml.Name `xml:"t:ItemId"`
	Id        string   `xml:"Id,attr"`
	ChangeKey string   `xml:"ChangeKey,attr,omitempty"`
}

type SendMailbox

type SendMailbox struct {
	XMLName      xml.Name     `xml:"t:Mailbox"`
	Name         string       `xml:"t:Name"`
	EmailAddress string       `xml:"t:EmailAddress"`
	RoutingType  *RoutingType `xml:"t:RoutingType,omitempty"`
	MailboxType  *MailboxType `xml:"t:MailboxType,omitempty"`
	ItemId       *ItemId      `xml:"t:ItemId,omitempty"`
}

type SendMeetingCancellations

type SendMeetingCancellations string

SendMeetingCancellations Describes whether a calendar item deletion is communicated to attendees. This attribute is required when calendar items are deleted. This attribute is optional if non-calendar items are deleted.

func (SendMeetingCancellations) String

func (s SendMeetingCancellations) String() string

type SendMeetingInvitations

type SendMeetingInvitations string

func (SendMeetingInvitations) String

func (s SendMeetingInvitations) String() string

type SendMeetingInvitationsOrCancellations

type SendMeetingInvitationsOrCancellations string

func (SendMeetingInvitationsOrCancellations) String

type SendNoEndRecurrence

type SendNoEndRecurrence struct {
	XMLName   xml.Name  `xml:"t:NoEndRecurrence"`
	StartDate time.Time `xml:"t:StartDate"`
}

type SendNotificationResponseMessage

type SendNotificationResponseMessage struct {
	Response
	Notification Notification
}

type SendNotificationResult

type SendNotificationResult struct {
	XMLName            xml.Name           `xml:"m:SendNotificationResult"`
	SubscriptionStatus SubscriptionStatus `xml:"m:SubscriptionStatus"`
}

The SendNotificationResult element contains the response of a client application to a push notification. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/sendnotificationresult

type SendNumberedRecurrence

type SendNumberedRecurrence struct {
	XMLName             xml.Name  `xml:"t:NumberedRecurrence"`
	StartDate           time.Time `xml:"t:StartDate"`
	NumberOfOccurrences int       `xml:"t:NumberOfOccurrences"`
}

type SendOptionalAttendees

type SendOptionalAttendees struct {
	XMLName  xml.Name `xml:"t:OptionalAttendees"`
	Attendee []SendAttendee
}

type SendParentFolderId

type SendParentFolderId struct {
	XMLName               xml.Name `xml:"m:ParentFolderId"`
	FolderId              *SendFolderId
	DistinguishedFolderId *SendDistinguishedFolderId
}

type SendParentFolderIds

type SendParentFolderIds struct {
	XMLName               xml.Name `xml:"m:ParentFolderIds"`
	FolderId              []SendFolderId
	DistinguishedFolderId []SendDistinguishedFolderId
}

type SendRecurrence

type SendRecurrence struct {
	XMLName xml.Name `xml:"t:Recurrence"`

	DailyRecurrence *SendDailyRecurrence

	WeeklyRecurrence *SendWeeklyRecurrence

	AbsoluteMonthlyRecurrence *SendAbsoluteMonthlyRecurrence
	RelativeMonthlyRecurrence *SendRelativeMonthlyRecurrence

	AbsoluteYearlyRecurrence *SendAbsoluteYearlyRecurrence
	RelativeYearlyRecurrence *SendRelativeYearlyRecurrence

	EndDateRecurrence  *SendEndDateRecurrence
	NoEndRecurrence    *SendNoEndRecurrence
	NumberedRecurrence *SendNumberedRecurrence
}

type SendRelativeMonthlyRecurrence

type SendRelativeMonthlyRecurrence struct {
	XMLName        xml.Name `xml:"t:RelativeMonthlyRecurrence"`
	DaysOfWeek     string   `xml:"t:DaysOfWeek,omitempty"`
	DayOfWeekIndex string   `xml:"t:DayOfWeekIndex"`
	Interval       int      `xml:"t:Interval,omitempty"`
}

type SendRelativeYearlyRecurrence

type SendRelativeYearlyRecurrence struct {
	XMLName        xml.Name `xml:"t:RelativeYearlyRecurrence"`
	DaysOfWeek     string   `xml:"t:DaysOfWeek,omitempty"`
	DayOfWeekIndex string   `xml:"t:DayOfWeekIndex"`
	Month          string   `xml:"t:Month,omitempty"`
}

type SendRequiredAttendees

type SendRequiredAttendees struct {
	XMLName  xml.Name `xml:"t:RequiredAttendees"`
	Attendee []SendAttendee
}

type SendTentativelyAcceptItem

type SendTentativelyAcceptItem struct {
	XMLName         xml.Name `xml:"t:TentativelyAcceptItem"`
	ReferenceItemId ReferenceItemId
}

type SendUserConfiguration

type SendUserConfiguration struct {
	XMLName               xml.Name `xml:"m:UserConfiguration"`
	UserConfigurationName struct {
		Name                  string `xml:"Name,attr"`
		DistinguishedFolderId DistinguishedFolderId
	} `xml:"t:UserConfigurationName"`
	XmlData *string `xml:"t:XmlData,omitempty"`
}

type SendUserConfigurationName

type SendUserConfigurationName struct {
	XMLName               xml.Name `xml:"m:UserConfigurationName"`
	Name                  string   `xml:"Name,attr"`
	DistinguishedFolderId DistinguishedFolderId
}

type SendWeeklyRecurrence

type SendWeeklyRecurrence struct {
	XMLName        xml.Name `xml:"t:WeeklyRecurrence"`
	Interval       int      `xml:"t:Interval"`
	DaysOfWeek     string   `xml:"t:DaysOfWeek,omitempty"`
	FirstDayOfWeek string   `xml:"t:FirstDayOfWeek,omitempty"`
}

type Sensitivity

type Sensitivity string

The Sensitivity element indicates the sensitivity level of an item. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/sensitivity

func (Sensitivity) CalendarItemType

func (s Sensitivity) CalendarItemType() string

func (Sensitivity) String

func (s Sensitivity) String() string

type SetFolderField

type SetFolderField struct {
	XMLName        xml.Name `xml:"t:SetFolderField"`
	FieldURI       FieldURI
	CalendarFolder *SendCalendarFolder
}

https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/setfolderfield

type SetItemField

type SetItemField struct {
	XMLName      xml.Name `xml:"t:SetItemField"`
	FieldURI     FieldURI
	CalendarItem *SendCalendarItem
}

https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/setitemfield

type SortOrder

type SortOrder struct {
	XMLName    xml.Name `xml:"m:SortOrder"`
	FieldOrder []FieldOrder
}

The SortOrder element defines how items are sorted in a FindItem or FindConversation request. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/sortorder

type StartTimeZone

type StartTimeZone struct {
	XMLName xml.Name `xml:"t:StartTimeZone"`
	Id      string   `xml:"Id,attr,omitempty"`
}

https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/starttimezone

type StringAttributedValue

type StringAttributedValue struct {
	Value string `json:"Value"`
}

type Subscribe

type Subscribe struct {
	XMLName xml.Name `xml:"m:Subscribe"`
	//PullSubscriptionRequest PullSubscriptionRequest
	PushSubscriptionRequest *PushSubscriptionRequest
}

The Subscribe element contains the properties used to create subscriptions. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/subscribe

type SubscribeResponseMessage

type SubscribeResponseMessage struct {
	XMLName xml.Name `xml:"SubscribeResponseMessage"`
	Response
	SubscriptionId string `xml:"SubscriptionId"`
	Watermark      string `xml:"Watermark"`
}

type SubscriptionStatus

type SubscriptionStatus string

The SubscriptionStatus element describes the status of a push subscription. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/subscriptionstatus

func (SubscriptionStatus) String

func (s SubscriptionStatus) String() string

type Suggestion

type Suggestion struct {
	XMLName           xml.Name `xml:"Suggestion"`
	MeetingTime       string
	IsWorkTime        bool
	SuggestionQuality MinimumSuggestionQuality
}

https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/suggestion The Suggestion element represents a single meeting suggestion.

type SuggestionDayResult

type SuggestionDayResult struct {
	XMLName         xml.Name `xml:"SuggestionDayResult"`
	Date            string
	DayQuality      MinimumSuggestionQuality
	SuggestionArray struct {
		Suggestion []Suggestion
	}
}

The SuggestionDayResult element represents a single day that contains suggested meeting times. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/suggestiondayresult

type SuggestionDayResultArray

type SuggestionDayResultArray struct {
	XMLName xml.Name `xml:"SuggestionDayResultArray"`
}

type SuggestionsResponse

type SuggestionsResponse struct {
	XMLName                  xml.Name `xml:"SuggestionsResponse"`
	SuggestionDayResultArray struct {
		SuggestionDayResult []SuggestionDayResult
	}
}

The SuggestionsResponse element contains response status information and suggestion data for requested meeting suggestions. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/suggestionsresponse

type SuggestionsViewOptions

type SuggestionsViewOptions struct {
	XMLName                        xml.Name                 `xml:"t:SuggestionsViewOptions"`
	GoodThreshold                  int                      `xml:"t:GoodThreshold"`
	MaximumResultsByDay            int                      `xml:"t:MaximumResultsByDay"`
	MaximumNonWorkHourResultsByDay int                      `xml:"t:MaximumNonWorkHourResultsByDay"`
	MeetingDurationInMinutes       int                      `xml:"t:MeetingDurationInMinutes"`
	MinimumSuggestionQuality       MinimumSuggestionQuality `xml:"t:MinimumSuggestionQuality"`
	DetailedSuggestionsWindow      TimeWindowStr            `xml:"t:DetailedSuggestionsWindow"`
}

The SuggestionsViewOptions element contains the options for obtaining meeting suggestion information. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/suggestionsviewoptions

type SuppressReadReceipt

type SuppressReadReceipt struct {
	XMLName xml.Name `xml:"SuppressReadReceipt"`
}

type SuppressReadReceipts

type SuppressReadReceipts bool

SuppressReadReceipts Indicates whether read receipts for the deleted item are suppressed. A text value of true, indicates that the read receipts are suppressed. A value of false indicates that the read receipts are sent to the sender. This attribute is optional.

type TentativelyAcceptItem

type TentativelyAcceptItem struct {
	XMLName xml.Name `xml:"TentativelyAcceptItem"`
}

type Time

type Time string

func (Time) ToTime

func (t Time) ToTime() (time.Time, error)

type TimeWindow

type TimeWindow struct {
	StartTime time.Time `xml:"t:StartTime"`
	EndTime   time.Time `xml:"t:EndTime"`
}

type TimeWindowStr

type TimeWindowStr struct {
	StartTime string `xml:"t:StartTime"`
	EndTime   string `xml:"t:EndTime"`
}

type TimeZone

type TimeZone struct {
	Bias         int          `xml:"Bias"`
	StandardTime TimeZoneTime `xml:"StandardTime"`
	DaylightTime TimeZoneTime `xml:"DaylightTime"`
}

type TimeZoneContext

type TimeZoneContext struct {
	XMLName            xml.Name `xml:"t:TimeZoneContext"`
	TimeZoneDefinition *TimeZoneDefinition
}

type TimeZoneDefinition

type TimeZoneDefinition struct {
	XMLName xml.Name `xml:"t:TimeZoneDefinition"`
	Id      string   `xml:"Id,attr,omitempty"`
}

type TimeZoneTime

type TimeZoneTime struct {
	Bias      int    `xml:"t:Bias"`
	Time      string `xml:"t:Time"`
	DayOrder  int16  `xml:"t:DayOrder"`
	Month     int16  `xml:"t:Month"`
	DayOfWeek string `xml:"t:DayOfWeek"`
	Year      string `xml:"Year,omitempty"`
}

type ToFolderId

type ToFolderId struct {
	XMLName               xml.Name `xml:"m:ToFolderId"`
	FolderId              []SendFolderId
	DistinguishedFolderId []SendDistinguishedFolderId
}

The ToFolderId element represents the destination folder for a copied or moved item or folder. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/tofolderid

type Traversal

type Traversal string

Traversal defines whether the search finds items in folders or the folders' dumpsters.

func (Traversal) String

func (s Traversal) String() string

type UpdateFolder

type UpdateFolder struct {
	XMLName       xml.Name `xml:"m:UpdateFolder"`
	FolderChanges FolderChanges
}

The UpdateFolder element represents the operation that is used to update properties for a specified folder. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/updatefolder

type UpdateFolderResponseMessage

type UpdateFolderResponseMessage struct {
	XMLName xml.Name `xml:"UpdateFolderResponseMessage"`
	Response
	Folders Folders
}

The UpdateFolderResponseMessage element contains the status and result of updates defined by the FolderChange element of an UpdateFolder operation request. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/updatefolderresponsemessage

type UpdateItem

type UpdateItem struct {
	XMLName                               xml.Name                              `xml:"m:UpdateItem"`
	ConflictResolution                    ConflictResolution                    `xml:"ConflictResolution,attr"`
	MessageDisposition                    MessageDisposition                    `xml:"MessageDisposition,attr"`
	SendMeetingInvitationsOrCancellations SendMeetingInvitationsOrCancellations `xml:"SendMeetingInvitationsOrCancellations,attr"`
	SuppressReadReceipts                  bool                                  `xml:"SuppressReadReceipts,attr"`

	SavedItemFolderId *SavedItemFolderId
	ItemChanges       *ItemChanges
}

The UpdateItem element defines a request to update an item in a mailbox. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/updateitem

type UpdateItemResponseMessage

type UpdateItemResponseMessage struct {
	XMLName xml.Name `xml:"UpdateItemResponseMessage"`
	Response
	Items Items
}

The UpdateItemResponseMessage element contains the status and result of a single UpdateItem operation request. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/updateitemresponsemessage

type UpdateUserConfiguration

type UpdateUserConfiguration struct {
	XMLName           xml.Name `xml:"m:UpdateUserConfiguration"`
	UserConfiguration SendUserConfiguration
}

type Updates

type Updates struct {
	XMLName         xml.Name `xml:"t:Updates"`
	SetItemField    []SetItemField
	DeleteItemField []DeleteItemField `xml:",omitempty"`
}

https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/updates-item

type UserConfiguration

type UserConfiguration struct {
	XMLName               xml.Name              `xml:"UserConfiguration"`
	UserConfigurationName UserConfigurationName `xml:"UserConfigurationName"`
	ItemId                ItemId
	XmlData               string
}

type UserConfigurationName

type UserConfigurationName struct {
	XMLName xml.Name `xml:"UserConfigurationName"`
	Name    string   `xml:"Name,attr"`
}

type UserConfigurationProperties

type UserConfigurationProperties string

The UserConfigurationProperties element specifies the property types to get in a GetUserConfiguration operation. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/userconfigurationproperties

const (
	UserConfigurationProperties_Id         UserConfigurationProperties = "Id"
	UserConfigurationProperties_Dictionary UserConfigurationProperties = "Dictionary"
	UserConfigurationProperties_XmlData    UserConfigurationProperties = "XmlData"
	UserConfigurationProperties_BinaryData UserConfigurationProperties = "BinaryData"
	UserConfigurationProperties_All        UserConfigurationProperties = "All"
)

func (UserConfigurationProperties) String

type Value

type Value struct {
	Number string `json:"Number"`
	Type   string `json:"Type"`
}

type Version

type Version string

func (Version) String

func (v Version) String() string

type WeeklyRecurrence

type WeeklyRecurrence struct {
	XMLName        xml.Name `xml:"WeeklyRecurrence"`
	Interval       int      `xml:"Interval"`
	DaysOfWeek     string   `xml:"DaysOfWeek,omitempty"`
	FirstDayOfWeek string   `xml:"FirstDayOfWeek,omitempty"`
}

type WorkingHours

type WorkingHours struct {
	XMLName            xml.Name `xml:"WorkingHours"`
	TimeZone           TimeZone
	WorkingPeriodArray struct {
		WorkingPeriod []WorkingPeriod
	}
}

The WorkingHours element represents the time zone settings and working hours for the requested mailbox user. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/workinghours-ex15websvcsotherref

type WorkingPeriod

type WorkingPeriod struct {
	DayOfWeek          string
	StartTimeInMinutes int
	EndTimeInMinutes   int
}

The WorkingPeriod element contains the work week days and hours of the mailbox user. https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/workingperiod

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL