Versions in this module Expand all Collapse all v1 v1.0.16 Jan 5, 2023 Changes in this version + const BusyTypeBusy + const BusyTypeFree + const BusyTypeNoData + const BusyTypeOOF + const BusyTypeTentative + const RequestedViewDetailed + const RequestedViewDetailedMerged + const RequestedViewFreeBusy + const RequestedViewFreeBusyMerged + const RequestedViewMergedOnly + const RequestedViewNone + func CreateCalendarItem(c Client, ci ...CalendarItem) error + func CreateMessageItem(c Client, m ...Message) error + func NewError(resp *http.Response) error + type AdditionalProperties struct + ExtendedFieldURI []ExtendedFieldURI + FieldURI []FieldURI + type ArrayOfAttendeeConflictData struct + GroupAttendeeConflictData GroupAttendeeConflictData + IndividualAttendeeConflictData string + TooBigGroupAttendeeConflictData string + UnknownAttendeeConflictData string + type Attendee struct + Mailbox Mailbox + type AttendeeType string + const AttendeeTypeOptional + const AttendeeTypeOrganizer + const AttendeeTypeRequired + const AttendeeTypeResource + const AttendeeTypeRoom + type Attendees struct + Attendee []Attendee + type BasePoint string + const BasePointBeginning + const BasePointEnd + type BaseShape string + const BaseShapeAllProperties + const BaseShapeDefault + const BaseShapeIdOnly + type Body struct + Body []byte + BodyType string + type BusinessPhoneNumbers struct + PhoneNumberAttributedValue PhoneNumberAttributedValue + type BusyType string + type CalendarEvent struct + BusyType BusyType + CalendarEventDetails CalendarEventDetails + EndTime Time + StartTime Time + type CalendarEventArray struct + CalendarEvent []CalendarEvent + type CalendarEventDetails struct + ID string + IsException bool + IsMeeting bool + IsPrivate bool + IsRecurring bool + IsReminderSet bool + Location string + Subject string + type CalendarItem struct + Body Body + End time.Time + IsAllDayEvent bool + LegacyFreeBusyStatus string + Location string + OptionalAttendees []Attendees + ReminderIsSet bool + ReminderMinutesBeforeStart int + RequiredAttendees []Attendees + Resources []Attendees + Start time.Time + Subject string + type Client interface + GetEWSAddr func() string + GetUsername func() string + SendAndReceive func(body []byte) ([]byte, error) + func NewClient(ewsAddr, username, password string, config *Config) Client + type Config struct + Dump bool + NTLM bool + SkipTLS bool + type Contact struct + AssistantName string + CompanyName string + ContactSource string + Culture string + Department string + DisplayName string + EmailAddresses []ContactEntry + GivenName string + Initials string + JobTitle string + OfficeLocation string + PhoneNumbers []ContactEntry + PhysicalAddresses []ContactPhysicalAddressEntry + Surname string + type ContactEntry struct + Key string + Value string + type ContactPhysicalAddressEntry struct + City string + CountryOrRegion string + Key string + PostalCode string + State string + Street string + type CreateItem struct + Items Items + MessageDisposition string + SavedItemFolderId SavedItemFolderId + SendMeetingInvitations string + XMLName struct{} + type Departments struct + StringAttributedValue StringAttributedValue + type DistinguishedFolderId struct + Id string + Mailbox *Mailbox + type Email struct + Address string + Name string + RoutingType string + type EmailAddress struct + EmailAddress string + ItemId ItemId + MailboxType string + Name string + RoutingType string + type ExtendedFieldURI struct + PropertyTag string + PropertyType string + type ExtendedProperty struct + ExtendedFieldURI ExtendedFieldURI + Value string + type Fault struct + Detail detail + Faultcode string + Faultstring string + type FieldURI struct + FieldURI string + type FindFolderRequest struct + FolderShape FolderShape + IndexedPageFolderView IndexedPageFolderView + ParentFolderIds ParentFolderId + Traversal Traversal + XMLName xml.Name + type FindFolderResponse struct + RootFolder FindFolderRootfolder + func FindFolder(c Client, r *FindFolderRequest) (*FindFolderResponse, error) + type FindFolderRootfolder struct + ContactsFolder []Folder + Folders []Folder + type FindItemRequest struct + IndexedPageItemView IndexedPageItemView + ItemShape ItemShape + ParentFolderIds ParentFolderId + Traversal Traversal + XMLName xml.Name + type FindItemResponse struct + RootFolder FindItemRootfolder + func FindItem(c Client, r *FindItemRequest) (*FindItemResponse, error) + type FindItemRootfolder struct + Contacts []Contact + type FindPeopleRequest struct + IndexedPageItemView IndexedPageItemView + ParentFolderId ParentFolderId + PersonaShape *PersonaShape + QueryString string + XMLName struct{} + type FindPeopleResponse struct + FirstLoadedRowIndex int + FirstMatchingRowIndex int + People People + TotalNumberOfPeopleInView int + func FindPeople(c Client, r *FindPeopleRequest) (*FindPeopleResponse, error) + type Folder struct + ChildFolderCount int + DisplayName string + ExtendedProperty ExtendedProperty + FolderId FolderId + TotalCount int + type FolderId struct + ChangeKey string + Id string + type FolderShape struct + AdditionalProperties AdditionalProperties + BaseShape BaseShape + type FreeBusyResponse struct + FreeBusyView FreeBusyView + ResponseMessage ResponseMessage + type FreeBusyResponseArray struct + FreeBusyResponse []FreeBusyResponse + type FreeBusyView struct + CalendarEventArray CalendarEventArray + FreeBusyViewType string + MergedFreeBusy string + WorkingHours WorkingHours + type FreeBusyViewOptions struct + MergedFreeBusyIntervalInMinutes int + RequestedView string + TimeWindow TimeWindow + type GetPersonaRequest struct + PersonaId PersonaId + XMLName struct{} + type GetPersonaResponse struct + Persona Persona + func GetPersona(c Client, r *GetPersonaRequest) (*GetPersonaResponse, error) + type GetRoomListsRequest struct + XMLName struct{} + type GetRoomListsResponse struct + RoomLists RoomLists + func GetRoomLists(c Client) (*GetRoomListsResponse, error) + type GetSearchableMailboxResponse struct + SearchableMailboxes []SearchableMailbox + type GetSearchableMailboxesRequest struct + XMLName struct{} + type GetSearchableMailboxesResponse struct + AllSearchableMailboxes GetSearchableMailboxResponse + func GetSearchableMailboxes(c Client, r *GetSearchableMailboxesRequest) (*GetSearchableMailboxesResponse, error) + type GetUserAvailabilityRequest struct + FreeBusyViewOptions FreeBusyViewOptions + MailboxDataArray MailboxDataArray + TimeZone TimeZone + XMLName struct{} + type GetUserAvailabilityResponse struct + FreeBusyResponseArray FreeBusyResponseArray + SuggestionsResponse SuggestionsResponse + func GetUserAvailability(c Client, r *GetUserAvailabilityRequest) (*GetUserAvailabilityResponse, error) + type GetUserPhotoRequest struct + Email string + SizeRequested string + XMLName struct{} + type GetUserPhotoResponse struct + HasChanged bool + PictureData string + func GetUserPhoto(c Client, r *GetUserPhotoRequest) (*GetUserPhotoResponse, error) + type GroupAttendeeConflictData struct + NumberOfMembers int + NumberOfMembersAvailable int + NumberOfMembersWithConflict int + NumberOfMembersWithNoData int + type HTTPError struct + Status string + StatusCode int + func (s HTTPError) Error() string + type IndexedPageFolderView IndexedPageItemView + type IndexedPageItemView struct + BasePoint BasePoint + MaxEntriesReturned int + Offset int + type ItemId struct + ChangeKey string + Id string + type ItemShape struct + AdditionalProperties AdditionalProperties + BaseShape BaseShape + type Items struct + CalendarItem []CalendarItem + Message []Message + type Mailbox struct + EmailAddress string + type MailboxData struct + AttendeeType AttendeeType + Email Email + ExcludeConflicts bool + type MailboxDataArray struct + MailboxData []MailboxData + type Message struct + Body Body + ItemClass string + Sender OneMailbox + Subject string + ToRecipients XMailbox + type MessageXml struct + ExceptionCode string + ExceptionMessage string + ExceptionServerName string + ExceptionType string + type MobilePhones struct + PhoneNumberAttributedValue PhoneNumberAttributedValue + type OfficeLocations struct + StringAttributedValue StringAttributedValue + type OneMailbox struct + Mailbox Mailbox + type ParentFolderId struct + DistinguishedFolderId *DistinguishedFolderId + FolderId *FolderId + type People struct + Persona []Persona + type Persona struct + BusinessPhoneNumbers BusinessPhoneNumbers + Department string + Departments Departments + DisplayName string + EmailAddress EmailAddress + MobilePhones MobilePhones + OfficeLocations OfficeLocations + PersonaId PersonaId + RelevanceScore int + Title string + type PersonaId struct + Id string + type PersonaShape struct + AdditionalProperties AdditionalProperties + BaseShape BaseShape + type PhoneNumberAttributedValue struct + Value Value + type Resolution struct + Contact Contact + Mailbox ResolutionMailbox + type ResolutionMailbox struct + EmailAddress string + MailboxType string + Name string + RoutingType string + type ResolveNamesRequest struct + ReturnFullContactData bool + UnresolvedEntry string + XMLName xml.Name + type ResolveNamesResolutionSetResponse struct + Resolutions []Resolution + type ResolveNamesResponse struct + ResolutionSet ResolveNamesResolutionSetResponse + func ResolveNames(c Client, r *ResolveNamesRequest) (*ResolveNamesResponse, error) + type ResolveNamesResponseBody struct + ResolveNamesResponseMessage ResolveNamesResponse + type ResolveNamesResponseEnvelop struct + Body ResolveNamesResponseBody + XMLName struct{} + type ResolveNamesResponseResponse struct + ResponseMessages ResolveNamesResponse + type Response struct + MessageText string + MessageXml MessageXml + ResponseClass ResponseClass + ResponseCode string + type ResponseClass string + const ResponseClassError + const ResponseClassSuccess + const ResponseClassWarning + type ResponseMessage struct + DescriptiveLinkKey int + type ResultPagingInfo struct + IncludesLastItemInRange bool + IndexedPagingOffset int + TotalItemsInView int + type RoomLists struct + Address []EmailAddress + type SavedItemFolderId struct + DistinguishedFolderId DistinguishedFolderId + type SearchableMailbox struct + DisplayName string + ExternalEmailAddress string + Guid string + IsExternalMailbox bool + IsMembershipGroup bool + PrimarySmtpAddress string + ReferenceId string + type SoapError struct + Fault *Fault + func (s SoapError) Error() string + type StringAttributedValue struct + Value string + type Suggestion struct + ArrayOfAttendeeConflictData ArrayOfAttendeeConflictData + IsWorkTime bool + MeetingTime time.Time + SuggestionQuality string + type SuggestionArray struct + Suggestion []Suggestion + type SuggestionDayResult struct + Date time.Time + DayQuality string + SuggestionArray SuggestionArray + type SuggestionDayResultArray struct + SuggestionDayResult []SuggestionDayResult + type SuggestionsResponse struct + ResponseMessage ResponseMessage + SuggestionDayResultArray SuggestionDayResultArray + type Time string + func (t Time) ToTime() (time.Time, error) + type TimeWindow struct + EndTime time.Time + StartTime time.Time + type TimeZone struct + Bias int + DaylightTime TimeZoneTime + StandardTime TimeZoneTime + type TimeZoneTime struct + Bias int + DayOfWeek string + DayOrder int16 + Month int16 + Time string + Year string + type Traversal string + const TraversalAssociated + const TraversalShallow + const TraversalSoftDeleted + type Value struct + Number string + Type string + type WorkingHours struct + TimeZone TimeZone + WorkingPeriodArray WorkingPeriodArray + type WorkingPeriod struct + DayOfWeek string + EndTimeInMinutes int + StartTimeInMinutes int + type WorkingPeriodArray struct + WorkingPeriod []WorkingPeriod + type XMailbox struct + Mailbox []Mailbox