Versions in this module Expand all Collapse all v0 v0.5.0 Nov 5, 2024 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 + 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 CreateItem struct + Items Items + MessageDisposition string + SavedItemFolderId SavedItemFolderId + SendMeetingInvitations string + XMLName struct{} + type CreateItemResponse struct + ResponseMessages ResponseMessages + type Departments struct + StringAttributedValue StringAttributedValue + type DistinguishedFolderId struct + Id string + type Email struct + Address string + Name string + RoutingType string + type EmailAddress struct + EmailAddress string + ItemId ItemId + MailboxType string + Name string + RoutingType string + type Fault struct + Detail detail + Faultcode string + Faultstring string + type FieldURI struct + FieldURI string + 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 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 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 IndexedPageItemView struct + BasePoint BasePoint + MaxEntriesReturned int + Offset int + type ItemId struct + ChangeKey string + Id string + 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 + 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 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 ResponseMessages struct + CreateItemResponseMessage Response + type RoomLists struct + Address []EmailAddress + type SavedItemFolderId struct + DistinguishedFolderId DistinguishedFolderId + 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 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