req

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MaxEntries = 256

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalProperties

type AdditionalProperties struct {
	FieldURI []FieldURI `xml:"t:FieldURI,omitempty"`
}

type Attendee

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

type Attendees

type Attendees struct {
	Attendee []Attendee `xml:"t:Attendee"`
}

type BasePoint

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

type BaseShape

type BaseShape string
const (
	BaseShapeIdOnly        BaseShape = "IdOnly"
	BaseShapeDefault       BaseShape = "Default"
	BaseShapeAllProperties BaseShape = "AllProperties"
)

type CalendarItem

type CalendarItem struct {
	Subject                    string             `xml:"t:Subject"`
	Body                       common.MessageBody `xml:"t:Body"`
	ReminderIsSet              bool               `xml:"t:ReminderIsSet"`
	ReminderMinutesBeforeStart int                `xml:"t:ReminderMinutesBeforeStart"`
	Start                      time.Time          `xml:"t:Start"`
	End                        time.Time          `xml:"t:End"`
	IsAllDayEvent              bool               `xml:"t:IsAllDayEvent"`
	LegacyFreeBusyStatus       string             `xml:"t:LegacyFreeBusyStatus"`
	Location                   string             `xml:"t:Location"`
	RequiredAttendees          []Attendees        `xml:"t:RequiredAttendees"`
	OptionalAttendees          []Attendees        `xml:"t:OptionalAttendees"`
	Resources                  []Attendees        `xml:"t:Resources"`
}

type CreateItem

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

type FieldURI

type FieldURI struct {
	// List of possible values:
	// https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/fielduri
	FieldURI string `xml:"FieldURI,attr,omitempty"`
}

type FindFolderRequest

type FindFolderRequest struct {
	XMLName         xml.Name         `xml:"http://schemas.microsoft.com/exchange/services/2006/messages FindFolder"`
	Traversal       string           `xml:"Traversal,attr"`
	ParentFolderIds FolderIds        `xml:"ParentFolderIds"`
	FolderShape     FolderShape      `xml:"FolderShape"`
	FolderView      *IndexedPageView `xml:"IndexedPageFolderView,omitempty"`
}

type FindItemRequest

type FindItemRequest struct {
	XMLName        xml.Name         `xml:"http://schemas.microsoft.com/exchange/services/2006/messages FindItem"`
	Traversal      string           `xml:"Traversal,attr"`
	ParentFolderId FolderIds        `xml:"ParentFolderIds"`
	ItemShape      ItemShape        `xml:"ItemShape"`
	ItemView       *IndexedPageView `xml:"IndexedPageItemView,omitempty"`
}

type FolderIds

type FolderIds struct {
	DistinguishedFolderId *common.DistinguishedFolderId `xml:"t:DistinguishedFolderId,omitempty"`
	FolderId              *common.FolderId              `xml:"t:FolderId,omitempty"`
}

type FolderShape

type FolderShape struct {
	BaseShape BaseShape `xml:"t:BaseShape,omitempty"`
}

type GetFolderRequest

type GetFolderRequest struct {
	XMLName     xml.Name    `xml:"http://schemas.microsoft.com/exchange/services/2006/messages GetFolder"`
	FolderShape FolderShape `xml:"FolderShape"`
	FolderIds   FolderIds   `xml:"FolderIds"`
}

type GetItemRequest

type GetItemRequest struct {
	XMLName   xml.Name  `xml:"http://schemas.microsoft.com/exchange/services/2006/messages GetItem"`
	ItemShape ItemShape `xml:"ItemShape"`
	ItemIds   ItemIds   `xml:"ItemIds"`
}

type Ignore

type Ignore struct {
	ItemId common.ItemId
}

type IndexedPageView

type IndexedPageView struct {
	MaxEntries int       `xml:"MaxEntriesReturned,attr,omitempty"`
	Offset     int       `xml:"Offset,attr"`
	BasePoint  BasePoint `xml:"BasePoint,attr"`
}

type ItemIds

type ItemIds struct {
	ItemIds []common.ItemId `xml:"http://schemas.microsoft.com/exchange/services/2006/types ItemId"`
}

type ItemShape

type ItemShape struct {
	BaseShape          BaseShape `xml:"t:BaseShape,omitempty"`
	IncludeMimeContent bool      `xml:"t:IncludeMimeContent,omitempty"`
}

type Items

type Items struct {
	Message      []Message      `xml:"t:Message"`
	CalendarItem []CalendarItem `xml:"t:CalendarItem"`
}

type Mailbox

type Mailbox struct {
	EmailAddress string `xml:"t:EmailAddress"`
}

type Message

type Message struct {
	ItemClass     common.ItemClass    `xml:"t:ItemClass"`
	Subject       string              `xml:"t:Subject"`
	MimeContent   *common.MimeContent `xml:"t:MimeContent,omitempty"`
	Body          *common.MessageBody `xml:"t:Body,omitempty"`
	Sender        OneMailbox          `xml:"t:Sender"`
	ToRecipients  XMailbox            `xml:"t:ToRecipients"`
	CcRecipients  *XMailbox           `xml:"t:CcRecipients,omitempty"`
	BccRecipients *XMailbox           `xml:"t:BccRecipients,omitempty"`
}

type OneMailbox

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

type SavedItemFolderId

type SavedItemFolderId struct {
	DistinguishedFolderId common.DistinguishedFolderId `xml:"t:DistinguishedFolderId,omitempty"`
}

type SyncFolderHierarchyRequest

type SyncFolderHierarchyRequest struct {
	XMLName      xml.Name          `xml:"http://schemas.microsoft.com/exchange/services/2006/messages SyncFolderHierarchy"`
	FolderShape  FolderShape       `xml:"FolderShape"`
	SyncFolderId *FolderIds        `xml:"SyncFolderId,omitempty"`
	SyncState    *common.SyncState `xml:"SyncState,omitempty"`
}

type SyncFolderItemsRequest

type SyncFolderItemsRequest struct {
	XMLName            xml.Name          `xml:"http://schemas.microsoft.com/exchange/services/2006/messages SyncFolderItems"`
	ItemShape          ItemShape         `xml:"ItemShape"`
	SyncFolderId       FolderIds         `xml:"SyncFolderId"`
	SyncState          *common.SyncState `xml:"SyncState,omitempty"`
	SyncScope          *common.SyncScope `xml:"SyncScope,omitempty"`
	Ignore             *Ignore           `xml:"Ignore,omitempty"`
	MaxChangesReturned int               `xml:"MaxChangesReturned"` // required
}

type XMailbox

type XMailbox struct {
	Mailbox []Mailbox `xml:"t:Mailbox"`
}

Jump to

Keyboard shortcuts

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